Index: KG9013/btkb/c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/c	(working copy)
@@ -0,0 +1,45 @@
+#!/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
+*)
+	gensched kb rf
+	sed '2 c define KEYBOARD' -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 
+
+if [[ $1 == "c" ]];then make clean -C ../c51;fi
+make -C ../c51;cp ../c51/output/fwram.rom .
+geneep $enckey
+
+if [[ $1 == "o" ]];then exit;fi
+if [ -f sched.rom ]; then
+	e h;e k
+	e ku; e hu ramcode.rom 0; e su sched.rom;e pu;e cu
+else
+	e ku;e hu
+fi
+
+cd ..
Index: KG9013/btkb/do.bat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/do.bat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/do.bat	(working copy)
@@ -0,0 +1,144 @@
+@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=hci
+@set device_option=kb
+@rem 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
+
+@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
+
+perl util/transform_memmap2btreg.pl output/memmap.format format/memblocks.format ..\c51\btreg.h
+
+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\kb.dat +  ..\sched\rf.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\patch.dat + ..\sched\rf.dat +  ..\sched\user.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\fpga.dat ..\output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy ..\sched\dongle.dat +  ..\sched\usb.dat +  ..\sched\fpga.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 (
+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
+cd ..\output
+
+echo eeprom.dat Generated......
+
+
+:gen_eep_end
+cd ..
+echo **********************************
+echo EEPROM Generated.
+echo The Device is %device_option%. 
+echo Use command "e ep" to download EEPROM.
+echo **********************************
+
+@copy .\output\ramcode.rom ..\c51\patch
+@copy .\output\sched.rom ..\c51\patch
+@copy .\output\memmap.format ..\c51\patch
+@copy .\format\keyboard.format ..\c51\patch
+@copy .\sched\*.*	..\c51\patch
+
+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: KG9013/btkb/format/Hid.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/Hid.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/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: KG9013/btkb/format/app.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/app.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/app.format	(working copy)
@@ -0,0 +1,234 @@
+
+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_sensor_id
+1 mem_reconnect_flag
+1 mem_switch_fail_master_count
+1 mem_app_evt_timer_count
+
+)
+
+xmemalloc(
+1 mem_app_state
+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_update_notify_value
+1 mem_device_nums
+
+
+
+
+
+2 mem_eeprom_base
+
+1 mem_unsniff2sniff_timer_count
+//lpm mode
+1 mem_wake_up_delay_timer
+
+1 mem_app_connection_options
+
+//
+2 mem_app_disconn_reason
+2 mem_app_disconn_reason_flag
+1 mem_at_using_flag
+4 mem_lpm_delay_after_sniff
+1 mem_xrecord_mode
+
+2 mem_eeprom_block_size
+
+)
+
+/* ir */
+omemalloc(
+2 mem_ir_ptr
+1 mem_ir_type
+1 mem_ir_cmd
+1 mem_ir_play_count
+2 mem_ir_report_len
+1 mem_ir_pulse_zero
+1 mem_ir_pulse_one
+28 mem_ir_pulses
+1 mem_ir_sequence_len
+128 mem_ir_sequence
+)
+
+0x0000 otp_ucode_flag
+0x07f0 otp_ucode_aeskey
+
+
+/* data stored in eeprom */
+(
+0	eeprom_bdaddr_list
+28	eeprom_last_record
+29	eeprom_le_reconn_local_addr
+35	eeprom_linkkey_list//64
+
+99	eeprom_module_bt_adss//6
+105	eeprom_module_le_adss//6
+111	eeprom_module_pincode_length//1
+112	eeprom_module_pincode//15
+127	eeprom_module_bt_name_length//1
+128	eeprom_module_bt_name//32
+160	eeprom_module_ble_name_length//1
+161	eeprom_module_ble_name//31
+192	eeprom_module_trans_baud//3
+195	eeprom_module_init_flag//2
+197	eeprom_module_end
+
+//dpi eeprom addr
+198 eeprom_mouse_dpi
+)
+
+/*mem_app_handshake_flag*/
+(
+0 APP_HANDSHAKE_NULL
+1 APP_HANDSHAKE_DONE
+
+)
+/*mem_device_option*/
+(
+1 dvc_op_hci
+3 dvc_op_kb
+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
+255 dvc_op_test
+
+7 dvc_op_kbd
+
+//device option hight 4
+6 dvc_op_mouse
+//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
+)
+
+(
+	0x01 IPC_TYPE_CMD
+	0x02 IPC_TYPE_EVT
+	0x03 IPC_TYPE_HID
+	0x04 IPC_TYPE_SPP
+	0x05 IPC_TYPE_BLE
+	0x06 IPC_TYPE_24G
+)
+
+(
+	0x01 SYC_TASK_LPM
+	0x02 SYC_TASK_TIMER
+	0x03 SYC_TASK_HIBERNATE
+)
Index: KG9013/btkb/format/at.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/at.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/at.format	(working copy)
@@ -0,0 +1,51 @@
+memalloc(
+
+	
+)
+
+omemalloc(
+
+)
+
+
+	(
+	0x2b UI_PLUS
+	0x3A UI_COLON
+	0x454c42 UI_BLE
+	0x3d AT_EQU
+	0x3f AT_QUES
+	0 AT_NULL
+	44 AT_COMMA
+	)
+	(
+	0x1A0 AT_baud_115200
+	0x4e2 AT_baud_38400
+	0x1388 AT_baud_9600
+	)
+	(
+		0 AT_FLAG_INQ
+		1 AT_FLAG_LEINQ
+		2 AT_FLAG_NAME
+	)
+	(
+		0 AT_STATE_SET30
+		1 AT_STATE_SET40
+		2 AT_STATE_CMODE
+		3 AT_STATE_ISCONN
+		4 AT_STATE_ROLE
+		5 AT_STATE_SNIFF
+		6 AT_STATE_LE
+	)
+	(
+		0 AT_TASK_UNSINFF
+		1 AT_TASK_SNIFF
+		2 AT_TASK_RECONN
+		3 AT_TASK_INQ
+		4 AT_TASK_SWITCH
+		7 AT_TASK_CMD_FLAG
+	)
+	
+	(
+		0x0A0D AT_CMD_END
+	)
+
Index: KG9013/btkb/format/bt.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/bt.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/bt.format	(working copy)
@@ -0,0 +1,1012 @@
+
+	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_nfreq_index_inq
+1 mem_nfreq_index_page
+1 mem_ninqy_index
+1 mem_fhs_misc
+1 mem_tx_lch
+2 mem_tx_len
+
+
+
+
+/* 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
+8 mem_pdatatemp
+
+
+//
+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
+36 mem_bdaddr_list_buff
+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  */
+240 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_seqi
+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
+3 mem_link_key_eeprom_head
+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
+
+)
+
+0x4c00 mem_savelist
+
+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
+3 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
+
+/* 6Mhz clock setting */
+ifdef CLK6M
+0x0721 param_tx_setup
+0x06e8 param_rx_setup
+0x04e8 param_rx_setup_earlier
+0x0300 param_rf_setup
+0x01d8 param_clke_cal
+0x0500 param_conn_access 
+0x0400 param_conn_access_wider
+200 param_pll_setup
+else
+/* 12Mhz clock setting */
+0x0e43 param_tx_setup
+0x09d0 param_rx_setup_earlier
+0x0600 param_rf_setup
+0x03bb param_clke_cal
+0x0600 param_conn_access 
+0x0800 param_conn_access_wider
+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
+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
+25 mark_bccmd_patch//for bcsp
+26 mark_temp //for bcsp
+27 mark_h5_reset // fo bcsp
+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
+35 mark_24g
+15 mark_24g_conext
+// REVAB:max 35, REVC:max 63
+
+)
+
+(
+1 reload_type_otp
+2 reload_type_spi
+3 reload_type_iic
+)
+
+
+/* ============== soft timers ============== */
+(
+0 h5_reinit_timer
+1 hci_retransmit_timer
+1 le_adv_interval_timer
+2 inquiry_length_timer
+3 le_scan_interval_timer
+4 page_length_timer
+5 iscan_interval_timer
+6 pscan_interval_timer
+7 lpo_delay_timer
+8 ui_hundred_millisecond_timer
+9 ui_led_blink
+10 switch_wait_timer
+11 enpt_delay_timer
+12 temp_timer
+13 page_interval_timer
+14 uart_rx_timer
+)
+(
+0 ui_led_stop
+1 ui_led_start
+2 ui_led_dark_time
+3 ui_led_light_time
+)
+(
+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
+)
+//mem_neogotiation_state
+(
+ 0 default_neogotiation_state
+ 1 prarm_neogotiation
+)
+
+//mem_lpm_wake_lock
+(
+
+2 wake_lock_hci_host
+3 wake_link_key_exists
+4 wake_lock_delay
+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
+)
+
+
+//sniff UART_TX UART_RX
+(
+6 UART_WAKEUP_TX
+7 UART_WAKEUP_RX
+)
+
+
Index: KG9013/btkb/format/command.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/command.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/command.format	(working copy)
@@ -0,0 +1,1385 @@
+
+/* 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
+  ! 0x0e hjam
+  % immediate
+  % addr
+  [5] opcode
+  [3] 0
+  [1] 1   /* msb */
+  [15] 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
+  ! 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: KG9013/btkb/format/dongle.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/dongle.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/dongle.format	(working copy)
@@ -0,0 +1,13 @@
+
+memalloc(
+1 mem_dongle_count
+6 mem_le_addr_slave1
+6 mem_le_addr_slave2
+1 mem_le_peer_state
+6 mem_app_peer_addr
+
+1 mem_dongle_peers
+1 mem_dongle_pairing_cnt
+2 mem_dongle_signature
+)
+160 context_3
Index: KG9013/btkb/format/hci.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/hci.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/hci.format	(working copy)
@@ -0,0 +1,649 @@
+
+
+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_ucode_id_local
+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_ucode_id_remote
+1 mem_check_sum
+1 mem_ucode_temp
+1 mem_ucode_temp1
+1 mem_lock_in_enc//boolean
+
+1 mem_hci_disconn_reason
+
+1 mem_hci_curr_len
+2 mem_hci_curr_target 
+) 
+
+xmemalloc(
+
+2 mem_baud
+1 mem_hci_lt_rx_state
+)
+
+omemalloc(
+
+2 mem_acl_credits
+1 mem_allow_switch
+4 mem_hci_acl_queue_start	/*param_acl_pktcnt+2 byte*/
+4 mem_hci_wake_clk
+
+)
+15 hci_flag_rp
+//mem_hci_options bit map
+(
+0 hci_option_bcsp
+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
+)
+
+//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
+)
+//HCI ErrorCodes
+(    
+0x00 HCI_SUCCESS
+0x01 HCI_ERROR_UNKNOWN_HCI_COMMAND
+0x02 HCI_ERROR_NO_CONNECTION
+0x03 HCI_ERROR_HARDWARE_FAILURE
+0x04 HCI_ERROR_PAGE_TIMEOUT
+0x05 HCI_ERROR_AUTHENTICATION_FAILURE
+0x06 HCI_ERROR_KEY_MISSING
+0x07 HCI_ERROR_MEMORY_FULL
+0x08 HCI_ERROR_CONNECTION_TIMEOUT
+0x09 HCI_ERROR_MAX_CONNECTIONS
+0x0A HCI_ERROR_MAX_SCO_CONNECTIONS
+0x0B HCI_ERROR_MAX_ACL_CONNECTIONS
+0x0C HCI_ERROR_COMMAND_DISALLOWED
+0x0D HCI_ERROR_HOST_REJECT_LIMITED_RESOURCES
+0x0E HCI_ERROR_HOST_REJECT_SECURITY_REASONS
+0x0F HCI_ERROR_HOST_REJECT_REMOTE_IS_ONLY_PERSONAL
+0x10 HCI_ERROR_HOST_TIMEOUT
+0x11 HCI_ERROR_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE
+0x12 HCI_ERROR_INVALID_HCI_COMMAND_PARAMETERS
+0x13 HCI_ERROR_REMOTE_USER_ENDED_CONNECTION
+0x14 HCI_ERROR_REMOTE_LOW_RESOURCES
+0x15 HCI_ERROR_REMOTE_POWERING_OFF
+0x16 HCI_ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST
+0x17 HCI_ERROR_REPEATED_ATTEMPTS
+0x18 HCI_ERROR_PAIRING_NOT_ALLOWED
+0x19 HCI_ERROR_UNKNOWN_LMP_PDU
+0x1A HCI_ERROR_UNSUPPORTED_REMOTE_FEATURE
+0x1B HCI_ERROR_SCO_OFFSET_REJECTED
+0x1C HCI_ERROR_SCO_INTERVAL_REJECTED
+0x1D HCI_ERROR_SCO_AIR_MODE_REJECTED
+0x1E HCI_ERROR_INVALID_LMP_PARAMETER
+0x1F HCI_ERROR_UNSPECIFIED_ERROR
+0x20 HCI_ERROR_UNSUPPORTED_LMP_PARAMETER_VALUE
+0x21 HCI_ERROR_ROLE_CHANGE_NOT_ALLOWD
+0x22 HCI_ERROR_LMP_RESPONSE_TIMEOUT
+0x23 HCI_ERROR_ERROR_TRANSACTION_COLLISION
+0x24 HCI_ERROR_LMP_PDU_NOT_ALLOWED
+0x25 HCI_ERROR_ENCRYPTION_MODE_NOT_ACCEPTABLE
+0x26 HCI_ERROR_UNIT_KEY_USED
+0x27 HCI_ERROR_QOS_NOT_SUPPORTED
+0x28 HCI_ERROR_INSTANT_PASSED
+0x29 HCI_ERROR_PAIRING_W_UNIT_KEY_NOT_SUPPORTED
+0x2a HCI_ERROR_DIFFERENT_TRANSACTION_COLLISION
+0x2c HCI_ERROR_QOS_UNACCEPTABLE_PARAMETER
+0x2d HIC_ERROR_QOS_REJECTED
+0x2e HIC_ERROR_CHANNEL_CLASSIFICATION_NOT_SUPPORTED
+0x2f HIC_ERROR_INSUFFICIENT_SECURITY
+0x30 HIC_ERROR_PARAMETER_OUT_OF_MANDATORY_PANGE
+0x32 HIC_ERROR_ROLE_SWITCH_PENDING
+0x34 HIC_ERROR_RESERVED_SLOT_VIOLATION
+0x35 HIC_ERROR_ROLE_SWITCH_FAILED
+0x36 HIC_ERROR_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE
+0x37 HIC_ERROR_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST
+0x38 HIC_ERROR_HOST_BUSY_PAIRING
+)
+
+(
+0x00 HCI_LPM_OFF
+0x01 HCI_LPM_ON
+)
+
+
+(
+33 HOST_WAKE_TIME
+)
+
+(
+1 HCI_RX_WAKE
+0 HCI_RX_READY
+)
+
Index: KG9013/btkb/format/keyboard.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/keyboard.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/keyboard.format	(working copy)
@@ -0,0 +1,334 @@
+
+omemalloc(
+//Keyboard Work Area
+2 mem_kb_state
+6 mem_kb_report_data
+1 mem_kb_keys
+1 mem_kb_rcv_led_data
+4 mem_kb_fast_wake_last
+//Keyboard Config Area
+1 mem_led_cap_gpio
+1 mem_led_num_gpio
+1 mem_led_scl_gpio
+0 mem_kb_map
+630 mem_kb_uuid_list
+
+// patch area
+10 mem_24g_paring_tx_power_param
+10 mem_5db_tx_power_param
+
+//c51
+1 mem_current_event
+1 mem_ipc_lock_rx_data_bt
+1 mem_ipc_lock_rx_data_c51
+1 mem_ipc_lock_tx_data_bt
+1 mem_ipc_lock_tx_data_c51
+
+
+150 mem_ipc_2bt_fifo_head
+0	mem_ipc_2bt_fifo_end
+100 mem_ipc_2C51_fifo_head
+0	mem_ipc_2C51_fifo_end
+2	mem_ipc_2bt_read_index
+2	mem_ipc_2bt_write_index
+2	mem_ipc_2C51_read_index
+2	mem_ipc_2C51_write_index
+
+2 mem_ipc_tx_evt_buff
+1 mem_ipc_tx_evt
+
+2 mem_ipc_bt_timer
+1 mem_ipc_rx_type
+
+0 mem_rfcomm_tx_buff
+
+1 mem_queue_ele_num
+2 mem_queue_write
+2 mem_queue_read
+0 mem_queue_start
+12 mem_uart_packet
+12 mem_data_ele0
+12 mem_data_ele1
+12 mem_data_ele2
+0 mem_queue_end
+2 mem_queue_temp
+
+
+// patch allocated
+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
+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_addr
+2 mem_24g_check_dongle_times
+4 mem_24g_device_addr
+1 mem_24g_no_ack
+3 mem_24g_sta_crc
+1 mem_24g_sta_pid
+1 mem_24g_max_retry
+1 mem_24g_mode
+1 mem_24g_hop_pac_retry
+1 mem_24g_idle_timeout
+1 mem_24g_idle_cnt
+1 mem_24g_auto_paring_switch
+1 mem_24g_enter_lpm_timer
+2 mem_24g_syncword
+1 mem_24g_syncword_crc8
+1 mem_24g_get_syncword_crc8
+2 mem_24g_discard_cnt
+2 mem_cb_24g_data
+9 mem_24g_lasttx
+
+1 mem_power_ctrl_pac_succ_cnt
+1 mem_power_ctrl_level
+
+1 mem_rssi_avg_received
+1 mem_rssi_hex_received
+8 mem_rssi_signal_buf
+8 mem_rssi_noise_buf
+1 mem_rssi_noise_index
+1 mem_rssi_signal_index
+
+1 mem_tx_power
+1 mem_tx_power_temp
+3 mem_cnt
+1 mem_last_txlch
+2 mem_last_txlen
+20 mem_last_txdata
+
+//le
+4 mem_ipc_last_check_timer
+1 mem_prepare_write_len
+2 mem_ipc_c51_timer
+1 mem_le_rx_window
+2 mem_le_find_type_value_start_handle
+2 mem_le_find_type_value_end_handle
+2 mem_le_cur_att_type
+1 mem_le_search_len
+1 mem_le_ll_unknown_type
+1 mem_le_pairing_state
+2 mem_le_local_mtu
+16 mem_le_connection_updata_param
+1 mem_ltk_states
+1 mem_pair_state
+1 mem_empty_count
+1 mem_shutter_find_type_value_flag
+
+1 mem_le51_payload_len
+1 mem_le51_cmd
+
+1 mem_le51_tx_length
+1 mem_le51_txbuff_inuse
+9 mem_le51_txbuf
+
+1 mem_ipc_bt_100ms_timer
+1 mem_ipc_c51_100ms_timer
+
+1 mem_adc_config_flag
+1 mem_adc_channel
+2 mem_adc_0v
+2 mem_adc_3v
+2 mem_adc_current_value
+
+1 mem_hibernate_flag
+2 mem_new_supervision_to
+1 mem_kb_wake_timer
+20 mem_kb_last_data
+1 mem_kb_keycount
+1 mem_led_cap_delay_timer
+3 mem_test
+1 mem_seq
+1 mem_recon_index
+1 mem_power_on_flag
+1 mem_caps_num_lock
+2 mem_att_report1
+2 mem_att_report2
+2 mem_att_report3
+1 mem_suspend_flag
+120 mem_32asm_data_end
+1 mem_store_ltk_timer
+1 mem_reconnect_continue
+4 mem_le_pin_code
+8 mem_24g_enter_hibernate
+1 mem_24g_txfail_cnt
+1 mem_mouse_retry_flag
+1 mem_24g_led_flag
+4 mem_ui_timer_last_btclk_temp
+4 mem_ui_check_timer_setup
+2 mem_customize_timer_setup
+1 mem_customize_timer
+4 mem_version_yy_mm_dd
+)
+
+//C51 synchronous task
+(
+3 START_C51_CORE
+)
+
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+(
+0 P24G_PAIRING_REQ_HEAD
+1 P24G_PAIRING_COMPLETE_HEAD
+)
+
+(
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+0x4e G24_PAIR_CH
+)
+
+(
+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
+)
+
+(//bluetooth tx power
+0 TX_POWER_0DB
+1 TX_POWER_3DB
+2 TX_POWER_5DB
+3 TX_POWER_f3DB
+4 TX_POWER_f5DB
+)
+
+/* 24g */
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+7 retry_24g
+0xaaf08e acc_24g
+0x15c4 crc_data_3byte
+0xbb81 crc_data_6byte
+0x4160 crc_ack
+41390 crc_ack_4byte
+)
+
+(
+1 NO_ACK_24g
+0 with_ack_24g
+)
+
+(
+0 disable_24g
+1 tx_24g
+2 rx_24g
+
+0 bit_ack_24g
+)
+
+
+//mem_24g_data_type
+(
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+// ble
+(
+0 FLAG_LE_PAIRING_NULL
+1 FLAG_LE_PAIRING_START
+2 FLAG_LE_PAIRING_AFTER_AUTH
+3 FLAG_LE_PAIRING_END
+)
+
+(
+0 PAIR_UNKNOWN
+1 PAIR_ING
+2 PAIR_DONE
+)
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+(
+3 QUEUE_ELE_COUNT
+12 QUEUE_ELE_LENGTH
+)
+
+
+8 KB_KSCAN_ROW 
+7 KB_KSCAN_ROW_1
+20 KB_KSCAN_COL
+19 KB_KSCAN_COL_1
+
+/* ks_ctrl */
+(
+0x01 KB_KSCAN_CTRL_ENABLE					
+0x02 KB_KSCAN_CTRL_FREEZE					
+0x04 KB_KSCAN_CTRL_GHOST					
+0x08 KB_KSCAN_CTRL_INT						
+0x10 KB_KSCAN_CTRL_CLKON					
+0x20 KB_KSCAN_CTRL_FIFO_CLR				
+                  
+0 KB_KSCAN_STAT_EMPTY
+1 KB_KSCAN_STAT_FULL 					
+2 KB_KSCAN_STAT_OVERFLOW				
+6 KB_KSCAN_STAT_GHOST 
+
+0 KB_KSCAN_KEY_EVENT_STAT
+0 KB_KSCAN_KEY_PRESS	
+1 KB_KSCAN_KEY_RELEASE
+
+)
+
+
+/* special key codes */
+(
+0x1d KB_KCODE_1_M1
+0x27 KB_KCODE_0
+0x28 KB_KCODE_ENTER
+0x2a KB_KCODE_BKSP
+)
+
+
+0x01 HID_REPORTID_1
+0x02 HID_REPORTID_2
+0x03 HID_REPORTID_3
+0x04 HID_REPORTID_4
+
+/*DATA OUTPUT report id = 1*/
+0 KB_NUM_LOCK_SELECTED
+1 KB_CAPS_LOCK_SELECTED
+2 KB_SCROLL_LOCK_SELECTED
+
+
+0x1f  KB_UI_BUTTON_GPIO
+
+
+
Index: KG9013/btkb/format/l2cap.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/l2cap.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/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: KG9013/btkb/format/le.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/le.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/le.format	(working copy)
@@ -0,0 +1,506 @@
+
+memalloc(
+56 mem_le_rxbuf
+
+
+/* security temp */
+4 mem_le_mic
+4 mem_le_peer_mic
+8 mem_le_skdm
+8 mem_le_skds
+16 mem_le_peer_ltk
+16 mem_le_my_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_conn_sm
+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
+
+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
+20 mem_le_adv_temp
+1 mem_24g_id
+)
+
+
+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_led
+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
+20 mem_le_name
+
+1 mem_le_led_on_time
+//37 mem_le_chmap
+
+
+5 mem_le_new_map
+0 mem_le_new_param
+1 mem_le_new_window
+2 mem_le_new_offset
+2 mem_le_new_interval
+2 mem_le_new_latency
+2 mem_le_new_timeout
+1 mem_le_temp
+
+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
+7 mem_le_preq
+7 mem_le_pres
+
+/* att related */
+2 mem_le_search_handle_start
+2 mem_le_search_handle_end
+0 mem_le_att_offset
+2 mem_le_search_att_type
+2 mem_le_notify_handle
+2 mem_le_uuid
+
+1 mem_le_handle_data_len
+16 mem_le_handle_data
+
+
+//START of LE adv parameter structure
+0 mem_le_adv_param
+2 mem_le_adv_interval_min
+2 mem_le_adv_interval_max
+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
+1 mem_le_adv_filter_policy
+//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_conn_interval_min
+2 mem_le_conn_interval_max
+2 mem_le_conn_latency
+2 mem_le_conn_superto
+//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
+1 mem_le_scan_filter_policy
+//END of LE scan parameter structure
+
+3 mem_le_lap
+1 mem_le_uap
+2 mem_le_nap
+5 mem_le_xtype_fifo
+
+
+//LE attribute list
+500 mem_le_att_list
+1 mem_le_switch_send_data
+4 mem_le_transmit_window
+
+)
+
+(
+20 notify_handle
+2 param_max_slaves
+1636 param_sifs
+0x000a06 param_le_version
+0x1d87 param_le_subversion
+0x000001 param_le_features
+23 param_le_mtu
+16 param_le_scan_interval
+16 param_le_scan_window
+0x1e0 param_clke_cal_le
+0x1000302 param_smp_paring_response		/* for mouse, noinputnooutput */
+0x010410 param_smp_key_dist	
+0x010010 param_smp_key_dist0
+0xa0 param_le_sca
+)
+
+(
+	0x2902  ATT_Configuration
+)
+
+/* mem_le_conn_sm */
+( 
+  0x21 CONN_SM_SEND_WRITE_REQ                      
+  0x25 CONN_SM_WAIT_WRITE_RES
+  0x26 CONN_SM_WAIT_WRITE_RES1
+) 
+/*LE MOUSE-KB*/
+(
+1 LE_CONTEXT_STATE_KB
+2 LE_CONTEXT_STATE_MOUSE
+
+3 USB_MOUSE_DATA_CMD
+
+1 SEND_MOUSE_DATA_CMD
+2 SEND_KB_DATA_CMD
+)
+
+
+  (
+  	0 LE_M_STATE_SLAVE1_STANDBY
+  	1 LE_M_STATE_SLAVE1_ADVERTISING
+  	2 LE_M_STATE_SLAVE1_SCANNING
+  	3 LE_M_STATE_SLAVE1_INITIATING
+  	4 LE_M_STATE_SLAVE1_CONNECTED
+  	5 LE_M_STATE_SLAVE1_RFU_1
+  	6 LE_M_STATE_SLAVE1_RFU_2
+  	7 LE_M_STATE_SLAVE1_RFU_3
+  )
+
+  (
+  	0 LE_M_STATE_SLAVE2_STANDBY
+  	1 LE_M_STATE_SLAVE2_ADVERTISING
+  	2 LE_M_STATE_SLAVE2_SCANNING
+  	3 LE_M_STATE_SLAVE2_INITIATING
+  	4 LE_M_STATE_SLAVE2_CONNECTED
+  	5 LE_M_STATE_SLAVE2_CONNECT_INIT
+  	6 LE_M_STATE_SLAVE2_RFU_2
+  	7 LE_M_STATE_SLAVE2_RFU_3
+  )
+
+  	(
+	0 LE_SM_IDLE
+	1 LE_SM_FBTV_1800
+	2 LE_SM_FBTV_1800_WAIT
+	3 LE_SM_RBT_DEVICE_NAME
+	4 LE_SM_RBT_DEVICE_NAME_WAIT
+	5 LE_SM_FBTV_1801
+	6 LE_SM_FBTV_1801_WAIT
+	7 LE_SM_RBT_DEVICE_CHARACTER
+	8 LE_SM_RBT_DEVICE_CHARACTER_WAIT
+	
+  	)
+
+/* 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
+)
+
+	/* tx packet type */
+	(
+	0x20 XT_LL_CONNECTION_UPDATE_REQ
+	0x21 XT_LL_CHANNEL_MAP_REQ
+	0x22 XT_LL_TERMINATE_IND
+	0x23 XT_LL_ENC_REQ
+	0x24 XT_LL_ENC_RSP
+	0x25 XT_LL_START_ENC_REQ
+	0x26 XT_LL_START_ENC_RSP
+	0x27 XT_LL_UNKNOWN_RSP
+	0x28 XT_LL_FEATURE_REQ
+	0x29 XT_LL_FEATURE_RSP
+	0x2A XT_LL_PAUSE_ENC_REQ
+	0x2B XT_LL_PAUSE_ENC_RSP
+	0x2C XT_LL_VERSION_IND
+	0x2D XT_LL_REJECT_IND
+	0x2E XT_LL_SLAVE_FEATURE_REQ
+	0x2F XT_LL_CONNECTION_PARAM_REQ
+	0x30 XT_LL_CONNECTION_PARAM_RSP
+	0x31 XT_LL_REJECT_IND_EXT
+	0x32 XT_LL_PING_REQ
+	0x33 XT_LL_PING_RSP
+	0x41 XT_SMP_PAIRING_REQUEST
+	0x42 XT_SMP_PAIRING_RESPONSE
+	0x43 XT_SMP_PAIRING_CONFIRM
+	0x44 XT_SMP_PAIRING_RANDOM
+	0x45 XT_SMP_PAIRING_FAILED
+	0x46 XT_SMP_ENCRYPTION_INFORMATION
+	0x47 XT_SMP_MASTER_IDENTIFICATION
+	0x48 XT_SMP_IDENTITY_INFORMATION
+	0x49 XT_SMP_IDENTITY_ADDRESS_INFORMATION
+	0x4A XT_SMP_SIGNING_INFORMATION
+	0x4B XT_SMP_SECURITY_REQUEST
+	0x51 XT_L2CAP_CONN_PARAM_UPDATE_REQ
+	)
+
+
+	/* 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
+	)
+
+	/* 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
+	0x9e EMPTY_LE_DATA_PRE
+	0x9f EMPTY_LE_DATA
+	0xc1 XT_L2CAP_CMD_REJECT
+	)
+
+	/* 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
+	0X2902 UUID_CLIENT_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
+	0X2A50 UUID_PNP_ID
+	)
+
+	//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 */
+	(
+	0x04 LE_L2CAP_CID_ATT
+	0x05 LE_L2CAP_CID_SIGNAL
+	0x06 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_state_map 0-2 is reserved for state_inconn,state_insniff and state_sco
+(
+3 lestate_got_first_packet
+4 lestate_encryption
+5 lestate_update_param
+6 lestate_update_map
+7 lestate_version_ind_sent
+)
+
+// 	le mode
+(
+0 lemode_idle
+1 lemode_slave
+3 lemode_master
+)
+
+0xfeff ATT_HANDLE_SPECIAL
+
+// 	sm state
+(
+0 smstate_wait_confirm
+
+)
+
Index: KG9013/btkb/format/lmp.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/lmp.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/lmp.format	(working copy)
@@ -0,0 +1,216 @@
+
+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
+)
+	(
+	//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: KG9013/btkb/format/memblocks.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/memblocks.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/memblocks.format	(working copy)
@@ -0,0 +1,61 @@
+//
+//
+//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
+)
+
+//uart buffer
+(
+0x1800 mem_h5rx_buf//0x400
+0x1bff mem_h5rx_buf_end
+0x1c00 mem_h5tx_buf
+0x1fff mem_h5tx_buf_end
+)
+
+(
+0x4a00 mem_module_rx_buf//0x400
+0x4fff mem_module_rx_buf_end
+0x1c00 mem_module_tx_buf
+0x1fff mem_module_tx_buf_end
+)
+
+(
+0x1800 mem_ir_record
+0x1c      mem_ir_record_max
+)
+
+ifndef REVD 
+(
+0x4b00 memk
+)
+
+
+endif
+
Index: KG9013/btkb/format/module.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/module.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/module.format	(working copy)
@@ -0,0 +1,67 @@
+memalloc(
+	2 mem_module_temp_len
+
+)
+omemalloc(	
+	1 mem_at_gpio
+	1 mem_module_wake_up_gpio
+	1 mem_module_state_gpio
+	1 mem_module_connect_state_gpio
+	6 mem_module_version
+
+	4 mem_last_uart_clock
+	2 mem_current_packet_length
+	2 mem_module_prepare_tx_len
+	1 mem_module_state
+	1 mem_module_task
+	6 mem_cmode_addr
+	2 mem_at_scan_time
+	4 mem_prarm_pswd
+	4 mem_prarm_uart
+	3 mem_prarm_blename
+	4 mem_prarm_name
+	3 mem_prarm_bleadss
+	4 mem_prarm_adss
+	4 mem_prarm_vers
+	5 mem_prarm_class
+	6 mem_prarm_clrflg
+	6 mem_prarm_reconn
+	2 mem_prarm_bledis
+	3 mem_prarm_dis
+	4 mem_prarm_stsn
+	3 mem_prarm_atp
+	4 mem_prarm_list
+	4 mem_prarm_role
+	5 mem_prarm_sniff
+	4 mem_prarm_ldev
+	4 mem_prarm_rssi
+	4 mem_prarm_cdev
+	3 mem_prarm_bleinqr
+	4 mem_prarm_inqr
+	5 mem_prarm_cmode
+	4 mem_prarm_mode	
+	7 mem_prarm_dmstate
+	6 mem_prarm_discov
+	3 mem_prarm_ota
+	2 mem_prarm_bleconn
+	4 mem_prarm_conn
+	7 mem_prarm_pageout
+	7 mem_prarm_recfail
+
+
+
+	//2 mem_rx_count
+	300 mem_module_uuid_list
+	
+)
+	(
+		110  DM_REFCOM_BUFF_LEN
+		20 DM_LE_BUFF_LEN
+	)
+	(
+		0x200 UART_AIR_CONTROL_THRESHOLD
+		0x150 UART_RX_CONTROL_THRESHOLD
+	)
+
+
+
Index: KG9013/btkb/format/mouse.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/mouse.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/mouse.format	(working copy)
@@ -0,0 +1,236 @@
+
+memalloc(
+2 mem_init_cnt
+)
+//dpi eeprom addr
+(
+198 mouse_dpi_eeprom_addr
+)
+(
+199 mouse_last_device
+)
+omemalloc(
+// Mouse Work Area
+2 mem_mouse_x
+2 mem_mouse_y
+1 mem_mouse_z
+1 mem_mouse_key
+1 mem_mouse_z_last
+1 mem_mouse_z_before
+1 mem_mouse_z_now
+1 mem_mouse_z_data
+1 mem_mouse_move_flag
+1 mem_reconnect_timeout
+2 mem_mouse_direct_timeout
+2 mem_mouse_no_data_timeout
+2 mem_mouse_blank_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_dpi
+1 mem_mouse_dpi_button_state
+1 mem_mouse_test_cnt
+2 mem_le_hibernate_timer
+1 mem_mouse_mode_state
+
+// Mouse Config Area
+1 mem_sensor_type
+1 mem_lbutton_gpio
+1 mem_rbutton_gpio
+1 mem_mbutton_gpio
+1 mem_dpi_button_gpio
+1 mem_sensor_data_gpio
+1 mem_whee_a_data_gpio
+1 mem_whee_b_data_gpio
+1 mem_conn_cnt
+650 mem_mouse_uuid_list
+
+
+)
+
+//Mouse sensor ID1
+(
+0x30 P3204_ID
+0x31 P3065_ID
+)
+//Mouse sensor ID2
+(
+0x00 P3212_ID2
+0x70 P3065_ID2
+)
+
+//Mouse Button
+(
+0x01 MOUSE_BUTTON_L
+0x02 MOUSE_BUTTON_R
+0x03 MOUSE_BUTTON_LR
+0x04 MOUSE_BUTTON_M
+0x05 MOUSE_BUTTON_LM
+0x06 MOUSE_BUTTON_RM
+0x07 MOUSE_BUTTON_LRM
+)
+
+//mem_24g_rx_packet_flag
+(
+0 FLAG_24G_NOT_RX_PACKET
+1 FLAG_24G_RX_PACKET
+)
+
+//mem_24g_mode
+(
+0 MODE_24G_OFF
+1 MODE_24G_TX
+2 MODE_24G_RX
+3 MODE_24G_PAIRING
+
+)
+// device_led_gpio
+(
+0X05 DEVICE1_LED_GPIO
+0X08 DEVICE2_LED_GPIO
+0X01 DEVICE3_LED_GPIO
+)
+
+//bt mode device number
+(
+0X01 MODE_BT_DEVICE1
+0X02 MODE_BT_DEVICE2
+0X03 MODE_BT_DEVICE3
+0X04 MODE_24G_DEVICE
+)
+
+//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
+)
+
+
+//mem_mouse_find_type_value_flag
+(
+0X00 LE_FIND_TYPE_VALUE_HID_BIT
+0X01 LE_FIND_TYPE_VALUE_BATTERY_BIT
+0X02 LE_FIND_TYPE_VALUE_DEVICE_INFO_BIT
+0x03 LE_FIND_TYPE_VALUE_GATT_BIT
+
+)
+
+(
+1 MOUSE_SHUTDOWN
+
+)
+//mem_mouse_flag
+(
+0 MOUSE_CPI_FLAG
+1 MOUSE_SELECT_RECONN_FLAG
+2 MOUSE_CANCEL_RECONN_FLAG
+3 MOUSE_SELECT_BUTTON_CANCEL_RECONN_FLAG
+4 MOUSE_BLE_RECON_FLAG
+)
+
+(
+194 MOUSE_SHUTDOWN_FLAG
+)
+(
+0x00 DPI_BUTTON_STATE_DOWN
+0x01 DPI_BUTTON_STATE_UP
+
+)
+(
+  0x8971 rf_adc_mode
+  0x8972 rf_adc_gc
+  0x8973 rf_adc_ch
+)
+(
+2 MOUSE_ADC_GC
+)
+
+(
+1 ONE_TRADITION_MOUSE
+2 ONE_BLE_MOUSE
+)
+
+
+(
+1 SENSOR_TYPE_A7530
+2 SENSOR_TYPE_P3204
+3 SENSOR_TYPE_P3610
+)
+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
+
+7 pan_bit_motion
+
+(
+1000 MOUSE_LPM_CLR_LOCK_TIME
+0x06 MOUSE_DPI_ADDRESS
+0x05 MOUSE_P3610_DPI_REG
+0x02 MOUSE_DPI_MAX_DECR
+)
+(
+80 MOUSE_SEND_BLANK_TIMER
+)
+
+
+//mem_mouse_mode_state
+(
+0x00 MOUSE_MODE_STATE_IDLE
+0x01 MOUSE_MODE_STATE_BT
+0x02 MOUSE_MODE_STATE_BLE
+)
+//ui led blink
+(
+200 FLAG_LED_RECONNECT_BLINK
+1000 FLAG_LED_BLINK_DISCOVERY
+)
+//rf param
+(
+0xFF RF_2M_IF 
+0x7F RF_1M_IF
+0x00 RF_0M_IF
+)
+(
+0 FLAG_ADC_CHANNEL1_GPIO5
+10 FLAG_MOUSE_CHECK_VDD_COUNT
+1 FLAG_VDD_LOW
+0 FLAG_VDD_NOT_LOW
+
+191 EEPROM_ADDR_VDD_FLAG
+193 EEPROM_ADDR_VDD_LOW_FLAG
+)
+
+//sniff param
+(
+0x000c   SNIFF_INTERVAL_7500US
+0x000e   SNIFF_INTERVAL_8750US
+0x0010	SNIFF_INTERVAL_10MS
+)
+
+//low vdd
+(
+33 FLAG_LOW_VDD_MULTIPLIER
+31 FLAG_LOW_VDD_DIVISOR
+)
+
+
Index: KG9013/btkb/format/patch.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/patch.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/patch.format	(working copy)
@@ -0,0 +1,523 @@
+
+(
+	  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
+
+)
+//ota
+(
+0x80 cmd_read_eep
+0x81 cmd_write_eep
+0x82 cmd_crc_eep
+0x83 cmd_size_eep
+)
Index: KG9013/btkb/format/prcp.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/prcp.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/prcp.format	(working copy)
@@ -0,0 +1,45 @@
+
+//prcp opcode
+(
+
+0x00 COMMON_RES
+0x01 READ_REGISTERS_REQ
+0x02 READ_REGISTERS_RES
+0x03 WRITE_REGISTERS_REQ
+0x04 I2C_CONFIG_REQ
+0x05 I2C_READ_REQ
+0x06 I2C_READ_RES
+0x07 I2C_WRITE_REQ
+0x08 SPI_CONFIG_REQ
+0x09 SPI_READ_REQ
+0x0a SPI_READ_RES
+0x0b SPI_WRITE_REQ
+0x0c PWM_CONFIG_REQ
+0x0d PWM_WRITE_REQ
+0x0e GPIO_CONFIG_REQ
+0x0f GPIO_READ_REQ
+0x10 GPIO_READ_RES
+0x11 GPIO_WRITE_REQ
+0x12 OTA_WRITE_REQ
+0X13 OTA_END_CMD
+
+)
+(
+1 PRCP_LE
+2 PRCP_SSP
+0x14 PRCP_TX_LE 
+0x17 PRCP_RX_LE
+20 PRCP_TX_DATA_LEN
+)
+memalloc(
+20 mem_prcp_data
+1 mem_prcp
+1 mem_prcp_tx_len
+//ota
+2 rx_buf_data_ptr
+)
+xmemalloc(
+//ota
+2 mem_eeprom_ota_base_addr  /*the start- writing addr in eeprom  */
+)
+
Index: KG9013/btkb/format/regs.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/regs.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/regs.format	(working copy)
@@ -0,0 +1,291 @@
+(
+  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_kscn_ksctrl
+  0x8064 core_kscn_rctc
+  0x8065 core_kscn_scancycle_timer_l
+  0x8066 core_kscn_scancycle_timer_h
+  0x8067 core_kscn_m_debounce          
+  0x8068 core_kscn_modkey
+  0x806f core_kscn_rowmask
+  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
+  0x80b0 core_enc_ctrl
+  0x80b1 core_cvsd_ctrl
+  0x80b2 core_codec_ctrl
+  0x80b3 core_dec_ctrl
+  0x80b4 core_bist_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
+  0x8907 rfen_mod
+  0x8912 rf_agc_ctrl
+  0x8914 rfen_ulp
+
+  0x894b rf_rx_vctrl_reg1
+  0x894c rf_rx_vctrl_reg2
+  0x894d 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
+  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
+  0x8972 rf_saradc_ctrl
+  0x8973 rfen_chgpump
+  0x8980 rf_rccal_result
+  0x8981 rf_afc_d2a
+  0x8982 rf_rssi
+
+
+0x8c00 core_usb_config		
+0x8c01 core_usb_int_mask	
+0x8c10 core_usb_trig	
+0x8c11 core_usb_stall		
+0x8c12 core_usb_clear		
+0x8c18 core_usb_ep
+0x8c18 core_usb_dfifo0 
+0x8c19 core_usb_dfifo1  
+0x8c1a core_usb_dfifo2 
+0x8c20 core_usb_ep_len
+0x8c26 core_usb_status		
+0x8c27 core_usb_fifo_empty
+0x8c28 core_usb_fifo_full
+
+
+ifdef FPGA
+0 rx_freq_offset
+else
+4 rx_freq_offset
+endif
+2 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
+
+(
+  7 cold_wake
+  3 gpio_latch
+  4 enable_retmem
+  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
+)
+
+0x8b uart_ctrl_default //BCSP
+0x81 uart_ctrl_h4 //H4
+0x81 uart_ctrl_normal
+0x81 uart_ctrl_57600
+2 uart_baud_len
+0x01 uartclk_dpll
+0x1a0 uart_baud_115200
+0xbb uart_baud_256000
+0x340 uart_baud_57600
+0x2dc6c00 uart_clk
+
+//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: KG9013/btkb/format/rfcomm.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/rfcomm.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/rfcomm.format	(working copy)
@@ -0,0 +1,375 @@
+/*****************************************************************************/
+/* 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
+
+)
+
+/************************************************************************/
+  
+
+ 
+/************/
+/* 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
+	0x71 UIH_MODEM_STATUS_CMD
+	0x70 UIH_MODEM_STATUS_RES
+	0x49 UIH_PARAM_CMD_REMOVE_PORT
+)
+
+/*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: KG9013/btkb/format/sdp.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/sdp.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/sdp.format	(working copy)
@@ -0,0 +1,62 @@
+
+memalloc(
+0 mem_sdp_mem_start
+4 mem_uuid_search_pat
+2 mem_sdp_continue_byte
+1 mem_sdp_pduid
+2 mem_sdp_transactionid
+2 mem_sdp_attribute_maxbyte
+2 mem_sdp_record_maxcnt
+8 mem_sdp_error_code
+4 mem_sdp_record_handle
+1 mem_sdp_search_failed
+1 mem_sdp_LACAP_found
+1 mem_sdp_RFCOMM_found
+24 mem_handle_list
+1 mem_handle_humber
+0 mem_sdp_mem_end
+)
+xmemalloc(
+2 memui_uuid_table
+22 mem_all_uuid_16bits
+34 mem_all_uuid_128bits
+)
+(
+0 AGORHS_SERVICE
+1 GENAUDIO_SERVICE
+2 HANDSFREE_SERVICE
+)
+
+(
+1 SDP_ERROR_RESPONSE
+2 SDP_SERVICE_SEARCH_REQUEST
+3 SDP_SERVICE_SEARCH_RESPONSE
+4 SDP_SERVICE_ATTRIBUTE_REQUEST
+5 SDP_SERVICE_ATTRIBUTE_RESPONSE
+6 SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST
+7 SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE
+)
+
+(
+0 ATTRIBUTEID_0000
+1 ATTRIBUTEID_0001
+2 ATTRIBUTEID_0004
+3 ATTRIBUTEID_0009
+4 ATTRIBUTEID_0100
+5 ATTRIBUTEID_0302
+6 ATTRIBUTEID_0006
+7 ATTRIBUTEID_0311
+)
+/* mem_sdp_search_profile */
+(
+1	SDP_SS_HEADSET
+2  	SDP_SS_HANDSFREE
+)
+(
+0x06 sdp_pduid_serviceSearchAttrib
+)
+0x2600 sdp_max_amount
+767 SDP_MALLOC_SIZE
+0x6e sdp_tid_spp //any number
+
+ 
Index: KG9013/btkb/format/security.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/security.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/security.format	(working copy)
@@ -0,0 +1,72 @@
+
+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
+1 mem_pin_length
+16 mem_pin
+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
+1 mem_ec_loopc
+
+0 memdat
+/* ecc calculation */
+
+
+24 mem_ax
+24 mem_ay
+24 mem_az
+24 mem_bx
+24 mem_by
+24 mem_bz
+24 mem_cx
+23 mem_cy
+1 mem_cy5
+24 mem_cz
+24 mem_k
+16 mem_align
+
+0 mem_tmp1
+24 memahbak
+8 mem_tmp5
+16 memahsave
+16  mem_tmp2
+0  memahsave_end 
+1  mem_addr_padding 
+7   mem_addr_value         /* 12 bytes     */ 
+0 mem_tmp3
+5 mem_t1
+3  mem_addr_value_end   
+16 mem_addr_iocap_end
+0 mem_tmp0
+8 mem_t0
+16 mem_tmp0a
+24 mem_t2
+24 mem_t3
+24 mem_t7
+24 mem_p		
+24 mem_a
+24 mem_b
+24 mem_gx
+24 mem_gy
+32 memh0
+
+
+
+)
+
+
Index: KG9013/btkb/format/shutter.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/shutter.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/shutter.format	(working copy)
@@ -0,0 +1,48 @@
+
+
+omemalloc(
+4 mem_shutter_send_data
+1 mem_shutter_key_temp
+1 mem_shutter_send_length
+4 mem_shutter_clkn_bt_last
+1 mem_shutter_key
+1 mem_shutter_flag
+1 mem_shutter_cable_unplug_conut
+1 mem_shutter_hid_disconn_count
+1 mem_shutter_1key_send_sm
+
+1 mem_shutter_iphonekey_gpio
+1 mem_shutter_androidkey_gpio
+1 mem_shutter_key_number
+650 mem_shutter_uuid_list
+)
+
+(
+0 FLAG_SHUTTER_DEFAULT
+1 FLAG_SHUTTER_IPHONEKEY_SEND
+2 FLAG_SHUTTER_ANDROIDKEY_SEND
+)
+
+(
+0 FLAG_SHUTTER_IPHONEKEY_PRESS
+1 FLAG_SHUTTER_ANDROIDKEY_PRESS
+)
+
+(
+1  FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+5 FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+)
+
+(
+1 FLAG_SHUTTER_1KEY
+2 FLAG_SHUTTER_2KEY
+)
+
+(
+0 FLAG_SHUTTER_1KEY_SEND_NULL
+1 FLAG_SHUTTER_1KEY_SEND_STEP1
+2 FLAG_SHUTTER_1KEY_SEND_STEP2
+3 FLAG_SHUTTER_1KEY_SEND_STEP3
+4 FLAG_SHUTTER_1KEY_SEND_STEP4
+)
+
Index: KG9013/btkb/format/simple_pairing.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/simple_pairing.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/simple_pairing.format	(working copy)
@@ -0,0 +1,132 @@
+/* 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
+
+3 mem_sp_iocap_local
+3 mem_sp_iocap_remote
+
+4 mem_sp_gkey
+
+0 mem_sp_pubkey_remote
+24 mem_sp_pubkey_remote_x
+0 mem_sp_pubkey_remote_x_end
+24 mem_sp_pubkey_remote_y
+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
+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
+)
+/* simple pairing status flag */
+(
+  0x00   SP_FLAG_STANDBY
+  0x01   SP_FLAG_COMMIT
+)
+
+/* simple pairing calc flag */
+(
+  0x00   SP_CALC_STANDBY
+  0x01   SP_CALC_PUBKEY
+  0x02   SP_CALC_DHKEY
+)
+
+/* 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
+)
+
+/* 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
+)
+  
Index: KG9013/btkb/format/ui.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/ui.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/ui.format	(working copy)
@@ -0,0 +1,434 @@
+/*****************************************************************************/
+/* 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
+5 mem_ipc_fifo_bt2c51
+5 mem_ipc_fifo_c512bt
+1 mem_led_switch
+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_led_gpio
+2 mem_led_dark_time
+2 mem_led_light_time
+1 mem_ui_button_timeout
+1 mem_ui_button_gpio
+2 mem_discovery_timeout
+
+)
+/************/
+/* 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
+13 UI_STATE_LED_BLINK
+14 UI_STATE_LED_ON
+)
+
+/* 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 */
+(
+0x00 BT_CMD_STANDBY
+0x01 BT_CMD_START_DISCOVERY
+0x02 BT_CMD_STOP_DISCOVERY
+0x03 BT_CMD_RECONNECT
+0x04 BT_CMD_DISCONNECT
+0x05 BT_CMD_ENTER_SNIFF
+0x06 BT_CMD_EXIT_SNIFF
+0x07 BT_CMD_ENTER_SNIFF_SUBRATING
+0x08 BT_CMD_EXIT_SNIFF_SUBRATING
+0x09 BT_CMD_SNIFF_TEST
+0x0a BT_CMD_SET_PIN_CODE
+0x0b BT_CMD_START_INQUIRY
+0x0c BT_CMD_STOP_INQUIRY
+0x0d BT_CMD_START_ADV
+0x0e BT_CMD_STOP_ADV
+0x0f BT_CMD_START_DIRECT_ADV
+0x10 BT_CMD_STOP_DIRECT_ADV
+0x11 BT_CMD_LE_DISCONNECT
+0x12 BT_CMD_LE_UPDATE_CONN
+0x13 BT_CMD_LED_OFF
+0x14 BT_CMD_LED_ON
+0x15 BT_CMD_LED_BLINK
+0x16 BT_CMD_LE_START_CONN
+0x17 BT_CMD_LE_START_SCAN
+0x18 BT_CMD_LE_STOP_SCAN
+0x19 BT_CMD_ENTER_HIBERNATE
+0x1b BT_CMD_LE_SMP_SECURITY_REQUEST
+0x1c BT_CMD_LE_START_WRITE
+0x1d BT_CMD_ROLE_SWITCH
+0x1e BT_CMD_BB_RECONN_CANCEL
+0x1f BT_CMD_STORE_RECONN_INFO_LE
+0x20 BT_CMD_STORE_RECONN_INFO_BT
+0x21 BT_CMD_START_24G
+0x22 BT_CMD_STOP_24G
+0x23 BT_CMD_PAIR_24G
+0x28 BT_CMD_UPDATE_SUPERVISION_TO
+0x29 BT_CMD_LE_SET_PINCODE
+0x2a BT_CMD_SET_RECONNECT_INIT
+0x2b BT_CMD_START_ADV_REC
+0x2c BT_CMD_START_ADV_DISCOVERY
+)
+
+(
+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
+0x2f BT_EVT_RESET
+0x30 BT_EVT_WAKEUP
+0x31 BT_EVT_24G_PAIRING_COMPLETE
+0x32 BT_EVT_24G_ATTEMPT_FAIL
+0x33 BT_EVT_HIBERNATE_WAKE
+0x34 BT_EVT_LE_PROTOCOL_CONNECTED
+0x35 BT_EVT_LE_PINCODE_REQ
+0x37 BT_EVT_RECONNECT_STANDY
+0x39 BT_EVT_CLEAR_LINKKEY
+0x3c BT_EVT_24G_ATTEMPT_SUCCESS
+0x50 BT_EVT_TIMER_INIT
+0xF0 BT_EVT_TIMER_MASK
+0x51 BT_EVT_TIMER_100MS
+0x52 BT_EVT_TIMER_200MS
+0x53 BT_EVT_TIMER_300MS
+0x54 BT_EVT_TIMER_400MS
+0x55 BT_EVT_TIMER_500MS
+0x56 BT_EVT_TIMER_600MS
+0x57 BT_EVT_TIMER_700MS
+0x58 BT_EVT_TIMER_800MS
+0x59 BT_EVT_TIMER_900MS
+0x5A BT_EVT_TIMER_1KMS
+0x5B BT_EVT_TIMER_1K1MS
+0x5C BT_EVT_TIMER_1K2MS
+0x5D BT_EVT_TIMER_1K3MS
+0x5E BT_EVT_TIMER_1K4MS
+0x5F BT_EVT_TIMER_1K5MS
+)
+//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
+)
+
Index: KG9013/btkb/format/usb.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/usb.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/usb.format	(working copy)
@@ -0,0 +1,141 @@
+
+memalloc(
+1 mem_usb_status
+1 mem_usb_fifo_empty
+1 mem_usb_read_len
+64 mem_usb_rxbuf
+2 mem_usb_cnt
+1 mem_usb_tx_enable
+1 mem_usb_tx_count
+1 mem_usb_set_protocol_count
+1 mem_usb_desc
+1 mem_usb_state
+2 mem_usb_idle_cnt
+2 mem_usb_idle_timeout
+2 mem_usb_trig_timeout
+
+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
+
+
+8 mem_usb0_setup
+2 mem_bufptr
+1 mem_remain
+20 mem_devicedesc
+200 mem_hidreportdesc_kb
+200 mem_hidreportdesc_m
+100 mem_confdesc
+5 mem_string0
+30 mem_string1
+30 mem_string2
+30 mem_string3
+)
+
+(
+0x20 HCI_CLASS_REQUEST_TYPE      // SetReport HID Request
+0x21 HID_CLASS_REQUEST_TYPE 
+0x00 ZERO_CLASS_REQUEST_TYPE 
+)
+//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
+(
+0x00 IN_DEVICE                // Request made to device,
+                              // direction is IN
+0x80 OUT_DEVICE               // Request made to device,
+                              // direction is OUT
+0x01 IN_INTERFACE             // Request made to interface,
+                              // direction is IN
+0x81 OUT_INTERFACE            // Request made to interface,
+                              // direction is OUT
+0x02 IN_ENDPOINT              // Request made to endpoint,
+                              // direction is IN
+0x82 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
+)
+
+
Index: KG9013/btkb/format/utility.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/utility.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/utility.format	(working copy)
@@ -0,0 +1,86 @@
+/**
+*  @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
+
+
+1 mem_c51_flag
+1 mem_c51_lpm_lock
+1 mem_c51_wait_lpm
+1 mem_wakup_from_power_flag
+1 mem_lmp_bb_disconnect_reason
+100 mem_c51_eeprom_buf
+100 mem_c51_ipc_txbuf
+100 mem_c51_ipc_rxbuf
+4 mem_c51_iicd_buf
+34 mem_24g_rxbuf
+32 mem_24g_txbuf
+34 mem_24g_txpayload
+32 mem_24g_rxpayload
+32 mem_24g_common_temp
+1 mem_packet_length_temp
+2 mem_le_cur_handle_start
+2 mem_le_cur_handle_end
+1 mem_le_search_res
+)
+
+
+
+
+
+
+(
+/*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
+(
+
+5 UTIL_FIFO_LEN
+-1 UTIL_FIFO_OFFSET
+)
+
+
+//power control
+(
+99  POWER_CTRL_MAX_PACKET_CNT
+
+10 POWER_CTRL_RETRANS_THRESH_UP0
+0 POWER_CTRL_RETRANS_THRESH_DOWN0
+
+20 POWER_CTRL_RETRANS_THRESH_UP1
+5 POWER_CTRL_RETRANS_THRESH_DOWN1
+
+100 POWER_CTRL_RETRANS_THRESH_UP2
+10 POWER_CTRL_RETRANS_THRESH_DOWN2
+)
+
+
Index: KG9013/btkb/format/var.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/format/var.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/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: KG9013/btkb/output/bt_format.meta
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_format.meta	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_format.meta	(working copy)
@@ -0,0 +1,7486 @@
+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
+0x4130 mem_current_amaddr
+0x4131 mem_lpm_mode
+0x4132 mem_device_option
+0x4133 mem_scan_mode
+0x4134 mem_last_clkn
+0x4138 mem_features
+0x4140 mem_lap
+0x4143 mem_uap
+0x4144 mem_nap
+0x4146 mem_npage
+0x4147 mem_glap
+0x414a mem_class
+0x414d mem_iscan_window
+0x414f mem_iscan_interval
+0x4151 mem_pscan_window
+0x4153 mem_pscan_interval
+0x4155 mem_page_interval
+0x4157 mem_page_window
+0x4159 mem_page_to
+0x415b mem_inq_window
+0x415d mem_fcomp_mul
+0x415e mem_fcomp_div
+0x415f mem_rx_window_init
+0x4161 mem_rx_window_sniff
+0x4163 mem_rf_init_ptr
+0x4165 mem_last_type
+0x4166 mem_last_type_esco
+0x4167 mem_last_type_saved
+0x4168 mem_retransmission_cnt
+0x416a mem_next_btclk
+0x416e mem_seqi
+0x416f mem_rf_rccal
+0x4170 mem_handle_num
+0x4171 mem_max_slot
+0x4172 mem_eir_enable
+0x4173 mem_afh_instant
+0x4177 mem_afh_error_total
+0x4179 mem_afh_cfg
+0x417a mem_afh_new_mod
+0x417b mem_afh_map_lo
+0x4180 mem_afh_map_hi
+0x4185 mem_afh_used
+0x4186 mem_afh_index
+0x4188 mem_afh_map_new
+0x4193 mem_afh_map
+0x41e3 mem_afh_timer
+0x41e7 mem_afh_classify_channel_map
+0x41f1 mem_chip_functions
+0x41f3 mem_lpm_wake_lock
+0x41f5 mem_lpm_interval
+0x41f7 mem_lpm_overhead
+0x41f8 mem_lpm_hibernate_switch
+0x41f9 mem_esco_addr
+0x41fa mem_sniff_unint_lost
+0x41fb mem_ptt
+0x41fc mem_sleep_counter//should be 0x41fc in REVC
+0x4200 mem_sleep_counter_all
+0x4204 mem_sleep_clkn
+0x420a mem_sniff_rcv
+0x420d mem_sniff_lost
+0x4210 mem_clks_per_lpo
+0x4213 mem_lpm_mult
+0x4214 mem_lpm_mult_timeout
+0x4215 mem_lpm_mult_cnt
+0x4216 mem_lpm_config
+0x4219 mem_lpm_xtalcnt
+0x421a mem_lpm_buckcnt
+0x421b mem_lpm_ldocnt
+0x421c mem_lpm_isogate
+0x421d mem_lpm_isogate_final
+0x421e mem_saved_gpio// should be 0x421e in REVC
+0x422e mem_saved_gsel
+0x4231 mem_saved_mark
+0x4239 mem_saved_spidctrl
+0x423a mem_patch_ptr
+0x423c mem_patch_len
+0x423e mem_timers
+0x425e mem_link_key_exists
+0x425f mem_link_key_eeprom_head
+0x4262 mem_link_key
+0x4272 mem_hci_cmd
+0x4273 mem_hci_conn_handle
+0x4274 mem_hci_plap
+0x4277 mem_hci_puap
+0x4278 mem_hci_pnap
+0x427a mem_uartd_rxitems_got_data
+0x427b mem_uartd_rxitems_threshold
+0x427c mem_uartd_rx_timeout
+0x427e mem_app_state
+0x427f mem_app_handshake_flag
+0x4280 mem_sniff_param_interval
+0x4282 mem_sniff_param_attempt
+0x4284 mem_sniff_param_timeout
+0x4286 mem_cb_check_wakelock
+0x4288 mem_cb_before_hibernate
+0x428a mem_cb_before_lpm
+0x428c mem_cb_le_process
+0x428e mem_cb_bt_process
+0x4290 mem_cb_idle_process
+0x4292 mem_cb_bb_event_process
+0x4294 mem_cb_discovry_timeout
+0x4296 mem_cb_att_write
+0x4298 mem_cb_update_notify_value
+0x429a mem_device_nums
+0x429b mem_eeprom_base
+0x429d mem_unsniff2sniff_timer_count
+0x429e mem_wake_up_delay_timer
+0x429f mem_app_connection_options
+0x42a0 mem_app_disconn_reason
+0x42a2 mem_app_disconn_reason_flag
+0x42a4 mem_at_using_flag
+0x42a5 mem_lpm_delay_after_sniff
+0x42a9 mem_xrecord_mode
+0x42aa mem_eeprom_block_size
+0x42ac mem_baud
+0x42ae mem_hci_lt_rx_state
+0x42af mem_l2cap_xmem_start
+0x42af mem_l2cap_tx_multi_offset//0 means single packet
+0x42b1 mem_sdp_remote_cid
+0x42b3 mem_rfcomm_remote_cid
+0x42b5 mem_hid_ctrl_remote_cid
+0x42b7 mem_hid_int_remote_cid
+0x42b9 mem_sdp_state
+0x42ba mem_rfcomm_state
+0x42bb mem_hid_control_state
+0x42bc mem_hid_interrupt_state
+0x42bd mem_spp_state
+0x42be mem_ML2CAP_comm_id
+0x42bf mem_used_map
+0x42c0 mem_tx_fifo0
+0x42c0 mem_tx_fifo0_map
+0x42c1 mem_tx_fifo0_ptr
+0x42c3 mem_tx_fifo1
+0x42c3 mem_tx_fifo1_map
+0x42c4 mem_tx_fifo1_ptr
+0x42c6 mem_tx_fifo2
+0x42c6 mem_tx_fifo2_map
+0x42c7 mem_tx_fifo2_ptr
+0x42c9 mem_tx_fifo3
+0x42c9 mem_tx_fifo3_map
+0x42ca mem_tx_fifo3_ptr
+0x42cc mem_tx_fifo_end
+0x42cc mem_l2cap_lpm_txbuf
+0x43cc mem_l2cap_flow_ctrl_flag
+0x43cd mem_l2cap_pending_item
+0x43ce mem_l2cap_xmem_end
+0x43ce mem_le_dsniff
+0x43d0 mem_le_conn_interval
+0x43d2 mem_le_scan_enable
+0x43d3 mem_le_scan_interval
+0x43d5 mem_le_scan_window
+0x43d7 mem_le_adv_led
+0x43d8 mem_le_adv_enable
+0x43d9 mem_le_adv_data_len
+0x43da mem_le_adv_data
+0x43f9 mem_le_scan_data_len
+0x43fa mem_le_scan_data
+0x4419 mem_le_name_len
+0x441a mem_le_name
+0x442e mem_le_led_on_time
+0x442f mem_le_new_map
+0x4434 mem_le_new_param
+0x4434 mem_le_new_window
+0x4435 mem_le_new_offset
+0x4437 mem_le_new_interval
+0x4439 mem_le_new_latency
+0x443b mem_le_new_timeout
+0x443d mem_le_temp
+0x443e mem_le_txheader
+0x443f mem_le_txlen
+0x4440 mem_le_txpayload
+0x4442 mem_le_txcid
+0x4444 mem_le_l2cap
+0x4445 mem_le_l2cap_response
+0x4446 mem_le_txbdy
+0x4465 mem_le_pcnt_tx
+0x446a mem_le_pcnt_rx
+0x446f mem_le_last_mic
+0x4473 mem_le_ivm
+0x4477 mem_le_ivs
+0x447b mem_le_ltk
+0x448b mem_ltk_exists
+0x448c mem_le_rconfirm
+0x449c mem_le_srand
+0x44ac mem_le_iat
+0x44ad mem_le_rat
+0x44ae mem_le_preq
+0x44b5 mem_le_pres
+0x44bc mem_le_search_handle_start
+0x44be mem_le_search_handle_end
+0x44c0 mem_le_att_offset
+0x44c0 mem_le_search_att_type
+0x44c2 mem_le_notify_handle
+0x44c4 mem_le_uuid
+0x44c6 mem_le_handle_data_len
+0x44c7 mem_le_handle_data
+0x44d7 mem_le_adv_param
+0x44d7 mem_le_adv_interval_min
+0x44d9 mem_le_adv_interval_max
+0x44db mem_le_adv_type
+0x44dc mem_le_adv_own_addr_type
+0x44dd mem_le_adv_direct_addr_type
+0x44de mem_le_adv_direct_addr
+0x44e4 mem_le_adv_channel_map
+0x44e5 mem_le_adv_filter_policy
+0x44e6 mem_le_conn_param
+0x44e6 mem_le_conn_peer_addr_type
+0x44e7 mem_le_conn_peer_addr
+0x44ed mem_le_conn_own_addr_type
+0x44ee mem_le_conn_interval_min
+0x44f0 mem_le_conn_interval_max
+0x44f2 mem_le_conn_latency
+0x44f4 mem_le_conn_superto
+0x44f6 mem_le_scan_params
+0x44f6 mem_le_scan_type
+0x44f7 mem_le_scan_own_addr_type
+0x44f8 mem_le_scan_filter_policy
+0x44f9 mem_le_lap
+0x44fc mem_le_uap
+0x44fd mem_le_nap
+0x44ff mem_le_xtype_fifo
+0x4504 mem_le_att_list
+0x46f8 mem_le_switch_send_data
+0x46f9 mem_le_transmit_window
+0x46fd mem_lmp_version
+0x4700 mem_lmp_subversion
+0x4702 mem_local_name_length
+0x4703 mem_local_name
+0x4706 mem_local_name2
+0x4746 mem_local_name_end
+0x4747 mem_unsniff2sniff_timer
+0x4748 mem_switch_flag
+0x4749 mem_eeprom_ota_base_addr/*the start- writing addr in eeprom  */
+0x474b mem_pn_dlci
+0x474c mem_pn_max_frame_size
+0x474e memFCStemp1
+0x474f memFCStemp2
+0x4750 memFCStemp3
+0x4751 mem_rfcomm_initiator
+0x4752 mem_remote_spp_channel
+0x4753 mem_HIUfcs_SPP
+0x4754 mem_HIUfcs_SPP_WCredits
+0x4755 mem_rfcomm_send_more_pkt
+0x4756 mem_remote_credits
+0x4757 mem_credit_given
+0x4758 mem_ms_channel
+0x4759 memui_uuid_table
+0x475b mem_all_uuid_16bits
+0x4771 mem_all_uuid_128bits
+0x4793 mem_sp_local_key_invalid
+0x4794 mem_sp_private_key
+0x47ac mem_sp_pubkey_local
+0x47ac mem_sp_pubkey_local_x
+0x47c4 mem_sp_pubkey_local_x_end
+0x47c4 mem_sp_pubkey_local_y
+0x47dc mem_ssp_enable
+0x47dd mem_ipc_lock_bt
+0x47de mem_ipc_lock_c51
+0x47df mem_ipc_fifo_bt2c51
+0x47e4 mem_ipc_fifo_c512bt
+0x47e9 mem_led_switch
+0x47ea mem_ui_button_timer
+0x47eb mem_ui_button_last_state
+0x47ec mem_ui_timer_last_btclk
+0x47f0 mem_discovery_timeout_timer_count
+0x47f2 mem_hid_handshake_timer_count
+0x47f3 memui_reconnect_mode
+0x47f4 mem_ui_state_map
+0x47f6 mem_ui_profile_supported
+0x47f7 mem_led_gpio
+0x47f8 mem_led_dark_time
+0x47fa mem_led_light_time
+0x47fc mem_ui_button_timeout
+0x47fd mem_ui_button_gpio
+0x47fe mem_discovery_timeout
+0x4800 mem_ir_ptr
+0x4802 mem_ir_type
+0x4803 mem_ir_cmd
+0x4804 mem_ir_play_count
+0x4805 mem_ir_report_len
+0x4807 mem_ir_pulse_zero
+0x4808 mem_ir_pulse_one
+0x4809 mem_ir_pulses
+0x4825 mem_ir_sequence_len
+0x4826 mem_ir_sequence
+0x4800 mem_acl_credits
+0x4802 mem_allow_switch
+0x4803 mem_hci_acl_queue_start/*param_acl_pktcnt+2 byte*/
+0x4807 mem_hci_wake_clk
+0x4800 mem_kb_state
+0x4802 mem_kb_report_data
+0x4808 mem_kb_keys
+0x4809 mem_kb_rcv_led_data
+0x480a mem_kb_fast_wake_last
+0x480e mem_led_cap_gpio
+0x480f mem_led_num_gpio
+0x4810 mem_led_scl_gpio
+0x4811 mem_kb_map
+0x4811 mem_kb_uuid_list
+0x4a87 mem_24g_paring_tx_power_param
+0x4a91 mem_5db_tx_power_param
+0x4a9b mem_current_event
+0x4a9c mem_ipc_lock_rx_data_bt
+0x4a9d mem_ipc_lock_rx_data_c51
+0x4a9e mem_ipc_lock_tx_data_bt
+0x4a9f mem_ipc_lock_tx_data_c51
+0x4aa0 mem_ipc_2bt_fifo_head
+0x4b36 mem_ipc_2bt_fifo_end
+0x4b36 mem_ipc_2C51_fifo_head
+0x4b9a mem_ipc_2C51_fifo_end
+0x4b9a mem_ipc_2bt_read_index
+0x4b9c mem_ipc_2bt_write_index
+0x4b9e mem_ipc_2C51_read_index
+0x4ba0 mem_ipc_2C51_write_index
+0x4ba2 mem_ipc_tx_evt_buff
+0x4ba4 mem_ipc_tx_evt
+0x4ba5 mem_ipc_bt_timer
+0x4ba7 mem_ipc_rx_type
+0x4ba8 mem_rfcomm_tx_buff
+0x4ba8 mem_queue_ele_num
+0x4ba9 mem_queue_write
+0x4bab mem_queue_read
+0x4bad mem_queue_start
+0x4bad mem_uart_packet
+0x4bb9 mem_data_ele0
+0x4bc5 mem_data_ele1
+0x4bd1 mem_data_ele2
+0x4bdd mem_queue_end
+0x4bdd mem_queue_temp
+0x4bdf mem_24g_rxdata_length
+0x4be0 mem_24g_pid
+0x4be1 mem_24g_datalen
+0x4be2 mem_24g_data_type
+0x4be3 mem_24g_txlen
+0x4be4 mem_24g_rx_window
+0x4be6 mem_24g_ensure
+0x4be7 mem_24g_get_ack_fail
+0x4be8 mem_24g_retry
+0x4be9 mem_24g_ch
+0x4bea mem_24g_current_ch_number
+0x4beb mem_24g_paring_addr
+0x4bef mem_24g_pairing_sm
+0x4bf0 mem_24g_ch_map1
+0x4bf4 mem_24g_ch_map2
+0x4bf8 mem_24g_ch_map3
+0x4bfc mem_24g_ch_map4
+0x4c00 mem_24g_addr
+0x4c04 mem_24g_check_dongle_times
+0x4c06 mem_24g_device_addr
+0x4c0a mem_24g_no_ack
+0x4c0b mem_24g_sta_crc
+0x4c0e mem_24g_sta_pid
+0x4c0f mem_24g_max_retry
+0x4c10 mem_24g_mode
+0x4c11 mem_24g_hop_pac_retry
+0x4c12 mem_24g_idle_timeout
+0x4c13 mem_24g_idle_cnt
+0x4c14 mem_24g_auto_paring_switch
+0x4c15 mem_24g_enter_lpm_timer
+0x4c16 mem_24g_syncword
+0x4c18 mem_24g_syncword_crc8
+0x4c19 mem_24g_get_syncword_crc8
+0x4c1a mem_24g_discard_cnt
+0x4c1c mem_cb_24g_data
+0x4c1e mem_24g_lasttx
+0x4c27 mem_power_ctrl_pac_succ_cnt
+0x4c28 mem_power_ctrl_level
+0x4c29 mem_rssi_avg_received
+0x4c2a mem_rssi_hex_received
+0x4c2b mem_rssi_signal_buf
+0x4c33 mem_rssi_noise_buf
+0x4c3b mem_rssi_noise_index
+0x4c3c mem_rssi_signal_index
+0x4c3d mem_tx_power
+0x4c3e mem_tx_power_temp
+0x4c3f mem_cnt
+0x4c42 mem_last_txlch
+0x4c43 mem_last_txlen
+0x4c45 mem_last_txdata
+0x4c59 mem_ipc_last_check_timer
+0x4c5d mem_prepare_write_len
+0x4c5e mem_ipc_c51_timer
+0x4c60 mem_le_rx_window
+0x4c61 mem_le_find_type_value_start_handle
+0x4c63 mem_le_find_type_value_end_handle
+0x4c65 mem_le_cur_att_type
+0x4c67 mem_le_search_len
+0x4c68 mem_le_ll_unknown_type
+0x4c69 mem_le_pairing_state
+0x4c6a mem_le_local_mtu
+0x4c6c mem_le_connection_updata_param
+0x4c7c mem_ltk_states
+0x4c7d mem_pair_state
+0x4c7e mem_empty_count
+0x4c7f mem_shutter_find_type_value_flag
+0x4c80 mem_le51_payload_len
+0x4c81 mem_le51_cmd
+0x4c82 mem_le51_tx_length
+0x4c83 mem_le51_txbuff_inuse
+0x4c84 mem_le51_txbuf
+0x4c8d mem_ipc_bt_100ms_timer
+0x4c8e mem_ipc_c51_100ms_timer
+0x4c8f mem_adc_config_flag
+0x4c90 mem_adc_channel
+0x4c91 mem_adc_0v
+0x4c93 mem_adc_3v
+0x4c95 mem_adc_current_value
+0x4c97 mem_hibernate_flag
+0x4c98 mem_new_supervision_to
+0x4c9a mem_kb_wake_timer
+0x4c9b mem_kb_last_data
+0x4caf mem_kb_keycount
+0x4cb0 mem_led_cap_delay_timer
+0x4cb1 mem_test
+0x4cb4 mem_seq
+0x4cb5 mem_recon_index
+0x4cb6 mem_power_on_flag
+0x4cb7 mem_caps_num_lock
+0x4cb8 mem_att_report1
+0x4cba mem_att_report2
+0x4cbc mem_att_report3
+0x4cbe mem_suspend_flag
+0x4cbf mem_32asm_data_end
+0x4d37 mem_store_ltk_timer
+0x4d38 mem_reconnect_continue
+0x4d39 mem_le_pin_code
+0x4d3d mem_24g_enter_hibernate
+0x4d45 mem_24g_txfail_cnt
+0x4d46 mem_mouse_retry_flag
+0x4d47 mem_24g_led_flag
+0x4d48 mem_ui_timer_last_btclk_temp
+0x4d4c mem_ui_check_timer_setup
+0x4d50 mem_customize_timer_setup
+0x4d52 mem_customize_timer
+0x4d53 mem_version_yy_mm_dd
+0x4800 mem_at_gpio
+0x4801 mem_module_wake_up_gpio
+0x4802 mem_module_state_gpio
+0x4803 mem_module_connect_state_gpio
+0x4804 mem_module_version
+0x480a mem_last_uart_clock
+0x480e mem_current_packet_length
+0x4810 mem_module_prepare_tx_len
+0x4812 mem_module_state
+0x4813 mem_module_task
+0x4814 mem_cmode_addr
+0x481a mem_at_scan_time
+0x481c mem_prarm_pswd
+0x4820 mem_prarm_uart
+0x4824 mem_prarm_blename
+0x4827 mem_prarm_name
+0x482b mem_prarm_bleadss
+0x482e mem_prarm_adss
+0x4832 mem_prarm_vers
+0x4836 mem_prarm_class
+0x483b mem_prarm_clrflg
+0x4841 mem_prarm_reconn
+0x4847 mem_prarm_bledis
+0x4849 mem_prarm_dis
+0x484c mem_prarm_stsn
+0x4850 mem_prarm_atp
+0x4853 mem_prarm_list
+0x4857 mem_prarm_role
+0x485b mem_prarm_sniff
+0x4860 mem_prarm_ldev
+0x4864 mem_prarm_rssi
+0x4868 mem_prarm_cdev
+0x486c mem_prarm_bleinqr
+0x486f mem_prarm_inqr
+0x4873 mem_prarm_cmode
+0x4878 mem_prarm_mode
+0x487c mem_prarm_dmstate
+0x4883 mem_prarm_discov
+0x4889 mem_prarm_ota
+0x488c mem_prarm_bleconn
+0x488e mem_prarm_conn
+0x4892 mem_prarm_pageout
+0x4899 mem_prarm_recfail
+0x48a0 mem_module_uuid_list
+0x4800 mem_mouse_x
+0x4802 mem_mouse_y
+0x4804 mem_mouse_z
+0x4805 mem_mouse_key
+0x4806 mem_mouse_z_last
+0x4807 mem_mouse_z_before
+0x4808 mem_mouse_z_now
+0x4809 mem_mouse_z_data
+0x480a mem_mouse_move_flag
+0x480b mem_reconnect_timeout
+0x480c mem_mouse_direct_timeout
+0x480e mem_mouse_no_data_timeout
+0x4810 mem_mouse_blank_data_timeout
+0x4812 mem_mouse_discovery_timer
+0x4814 mem_mouse_direct_timer
+0x4816 mem_mouse_no_data_timer
+0x4818 mem_mouse_blank_data_timer
+0x481a mem_mouse_send_blank_timer
+0x481b mem_mouse_dpi
+0x481c mem_mouse_dpi_button_state
+0x481d mem_mouse_test_cnt
+0x481e mem_le_hibernate_timer
+0x4820 mem_mouse_mode_state
+0x4821 mem_sensor_type
+0x4822 mem_lbutton_gpio
+0x4823 mem_rbutton_gpio
+0x4824 mem_mbutton_gpio
+0x4825 mem_dpi_button_gpio
+0x4826 mem_sensor_data_gpio
+0x4827 mem_whee_a_data_gpio
+0x4828 mem_whee_b_data_gpio
+0x4829 mem_conn_cnt
+0x482a mem_mouse_uuid_list
+0x4800 mem_shutter_send_data
+0x4804 mem_shutter_key_temp
+0x4805 mem_shutter_send_length
+0x4806 mem_shutter_clkn_bt_last
+0x480a mem_shutter_key
+0x480b mem_shutter_flag
+0x480c mem_shutter_cable_unplug_conut
+0x480d mem_shutter_hid_disconn_count
+0x480e mem_shutter_1key_send_sm
+0x480f mem_shutter_iphonekey_gpio
+0x4810 mem_shutter_androidkey_gpio
+0x4811 mem_shutter_key_number
+0x4812 mem_shutter_uuid_list
+
+	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_nfreq_index_inq
+0x008d mem_nfreq_index_page
+0x008e mem_ninqy_index
+0x008f mem_fhs_misc
+0x0090 mem_tx_lch
+0x0091 mem_tx_len
+0x0093 mem_subsniff_instant
+0x0097 mem_subsniff_rate
+0x0098 mem_subsniff_tcmax
+0x009a mem_subsniff_tsniff
+0x009b mem_lpm_adjust
+0x009c mem_sync_clke
+0x00a2 mem_lpm_current_mult
+0x00a3 mem_gpio_wakeup_low
+0x00a7 mem_gpio_wakeup_high
+0x00ab mem_air_mode
+0x00ac mem_sco_asso_handle
+0x00ad mem_sco_handle
+0x00af mem_esco_desco
+0x00b0 mem_esco_type
+0x00b1 mem_neogotiation_state
+0x00b2 mem_saved_amaddr
+0x00b3 mem_esco_arq
+0x00b4 mem_esco_saved_arq
+0x00b5 mem_sco_obuf
+0x00d3 mem_sco_ibuf
+0x00f1 mem_sco_poll
+0x00f2 mem_npage_index
+0x00f3 mem_page_mode
+0x00f4 mem_page_clk
+0x00f8 mem_tst_pktcnt_sync
+0x00fa mem_tst_pktcnt_hec
+0x00fc mem_tst_pktcnt_crc
+0x00fe mem_tst_pktcnt_dmh
+0x0100 mem_tmp_buffer_head
+0x0103 mem_tmp_buffer
+0x0153 mem_tester_emulate
+0x0154 mem_temp_payload
+0x0154 test_mode_scenario
+0x0155 test_mode_hopping_mode
+0x0156 test_mode_tx_freq
+0x0157 test_mode_rx_freq
+0x0158 test_mode_power_mode
+0x0159 test_mode_poll_period
+0x015a test_mode_packet_type
+0x015b test_mode_data_length
+0x015d mem_test_mode_old_debug_config
+0x015e mem_tester_cnt
+0x015f mem_temp_am_addr
+0x0160 mem_temp_arq
+0x0161 mem_pdatatemp
+0x0169 mem_len
+0x016b mem_clkn_bt
+0x016f mem_clke_bt
+0x0173 mem_dpll_clkn
+0x0177 mem_connection_options
+0x0178 mem_nameres_cnt
+0x0179 mem_txptr
+0x017b mem_slot_offset
+0x017d extm_fhs_misc
+0x017e extm_newconn_am_addr
+0x017f extm_class
+0x0182 extm_lap
+0x0185 extm_uap
+0x0186 extm_nap
+0x0189 mem_debug_config
+0x018a mem_lch_code
+0x018b mem_fhs_am_addr
+0x018c mem_dpll_error
+0x018e mem_bdaddr_list_buff
+0x01b2 mem_select_list_item
+0x01b3 mem_temp_reconn_record
+0x01b3 mem_record_bt_mode
+0x01b4 mem_temp_lap
+0x01ba mem_list_item_ptr
+0x01bc mem_eir
+
+
+
+0x4c00 mem_savelist
+
+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
+3 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
+
+/* 6Mhz clock setting */
+/* 12Mhz clock setting */
+0x0e43 param_tx_setup
+0x09d0 param_rx_setup_earlier
+0x0600 param_rf_setup
+0x03bb param_clke_cal
+0x0600 param_conn_access 
+0x0800 param_conn_access_wider
+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
+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
+25 mark_bccmd_patch//for bcsp
+26 mark_temp //for bcsp
+27 mark_h5_reset // fo bcsp
+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
+35 mark_24g
+15 mark_24g_conext
+// REVAB:max 35, REVC:max 63
+
+)
+
+(
+1 reload_type_otp
+2 reload_type_spi
+3 reload_type_iic
+)
+
+
+/* ============== soft timers ============== */
+(
+0 h5_reinit_timer
+1 hci_retransmit_timer
+1 le_adv_interval_timer
+2 inquiry_length_timer
+3 le_scan_interval_timer
+4 page_length_timer
+5 iscan_interval_timer
+6 pscan_interval_timer
+7 lpo_delay_timer
+8 ui_hundred_millisecond_timer
+9 ui_led_blink
+10 switch_wait_timer
+11 enpt_delay_timer
+12 temp_timer
+13 page_interval_timer
+14 uart_rx_timer
+)
+(
+0 ui_led_stop
+1 ui_led_start
+2 ui_led_dark_time
+3 ui_led_light_time
+)
+(
+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
+)
+//mem_neogotiation_state
+(
+ 0 default_neogotiation_state
+ 1 prarm_neogotiation
+)
+
+//mem_lpm_wake_lock
+(
+
+2 wake_lock_hci_host
+3 wake_link_key_exists
+4 wake_lock_delay
+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
+)
+
+
+//sniff UART_TX UART_RX
+(
+6 UART_WAKEUP_TX
+7 UART_WAKEUP_RX
+)
+
+
+
+0x0220 mem_ucode_status
+0x0221 mem_otp_ucode_flag
+0x0223 mem_spid_tbuf/* spid buf: 03 addr[23:16] addr[15:8] addr[7:0] */
+0x0224 mem_iicd_tbuf/* iicd buf: iic_adr addr[15:8] addr[7:0] iic_adr */
+0x0224 mem_addr_hi
+0x0225 mem_addr_mi
+0x0226 mem_addr_lo
+0x0227 mem_iicd_addr
+0x0228 mem_spid_rbuf
+0x022c mem_ucode_buf
+0x022e mem_ucode_len
+0x0230 mem_sched_addr
+0x0232 mem_ucode_ptr
+0x0234 mem_ucode_keybuf
+0x0244 mem_check_plap_temp
+0x0256 mem_sensor_id
+0x0257 mem_reconnect_flag
+0x0258 mem_switch_fail_master_count
+0x0259 mem_app_evt_timer_count
+
+
+/* ir */
+
+0x0000 otp_ucode_flag
+0x07f0 otp_ucode_aeskey
+
+
+/* data stored in eeprom */
+(
+0	eeprom_bdaddr_list
+28	eeprom_last_record
+29	eeprom_le_reconn_local_addr
+35	eeprom_linkkey_list//64
+
+99	eeprom_module_bt_adss//6
+105	eeprom_module_le_adss//6
+111	eeprom_module_pincode_length//1
+112	eeprom_module_pincode//15
+127	eeprom_module_bt_name_length//1
+128	eeprom_module_bt_name//32
+160	eeprom_module_ble_name_length//1
+161	eeprom_module_ble_name//31
+192	eeprom_module_trans_baud//3
+195	eeprom_module_init_flag//2
+197	eeprom_module_end
+
+//dpi eeprom addr
+198 eeprom_mouse_dpi
+)
+
+/*mem_app_handshake_flag*/
+(
+0 APP_HANDSHAKE_NULL
+1 APP_HANDSHAKE_DONE
+
+)
+/*mem_device_option*/
+(
+1 dvc_op_hci
+3 dvc_op_kb
+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
+255 dvc_op_test
+
+7 dvc_op_kbd
+
+//device option hight 4
+6 dvc_op_mouse
+//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
+)
+
+(
+	0x01 IPC_TYPE_CMD
+	0x02 IPC_TYPE_EVT
+	0x03 IPC_TYPE_HID
+	0x04 IPC_TYPE_SPP
+	0x05 IPC_TYPE_BLE
+	0x06 IPC_TYPE_24G
+)
+
+(
+	0x01 SYC_TASK_LPM
+	0x02 SYC_TASK_TIMER
+	0x03 SYC_TASK_HIBERNATE
+)
+
+
+
+	(
+	0x2b UI_PLUS
+	0x3A UI_COLON
+	0x454c42 UI_BLE
+	0x3d AT_EQU
+	0x3f AT_QUES
+	0 AT_NULL
+	44 AT_COMMA
+	)
+	(
+	0x1A0 AT_baud_115200
+	0x4e2 AT_baud_38400
+	0x1388 AT_baud_9600
+	)
+	(
+		0 AT_FLAG_INQ
+		1 AT_FLAG_LEINQ
+		2 AT_FLAG_NAME
+	)
+	(
+		0 AT_STATE_SET30
+		1 AT_STATE_SET40
+		2 AT_STATE_CMODE
+		3 AT_STATE_ISCONN
+		4 AT_STATE_ROLE
+		5 AT_STATE_SNIFF
+		6 AT_STATE_LE
+	)
+	(
+		0 AT_TASK_UNSINFF
+		1 AT_TASK_SNIFF
+		2 AT_TASK_RECONN
+		3 AT_TASK_INQ
+		4 AT_TASK_SWITCH
+		7 AT_TASK_CMD_FLAG
+	)
+	
+	(
+		0x0A0D AT_CMD_END
+	)
+
+
+0x025a mem_dongle_count
+0x025b mem_le_addr_slave1
+0x0261 mem_le_addr_slave2
+0x0267 mem_le_peer_state
+0x0268 mem_app_peer_addr
+0x026e mem_dongle_peers
+0x026f mem_dongle_pairing_cnt
+0x0270 mem_dongle_signature
+160 context_3
+
+
+0x0272 mem_h5rx_ackcnt
+0x0273 mem_check_err_acl_cont
+0x0274 mem_rp_packets
+0x0275 mem_packet_type
+0x0277 mem_hci_sniff_conn_handle
+0x0279 mem_hci_sniff_max_interval
+0x027b mem_hci_sniff_min_interval
+0x027d mem_hci_sniff_attempt
+0x027f mem_hci_sniff_timeout
+0x0281 mem_voice_setting
+0x0283 mem_retransmission_effort
+0x0284 mem_sco_ptype
+0x0286 mem_extm_uap_restore
+0x0289 mem_h5rx_rptr
+0x028b mem_h5rx_ack
+0x028c mem_h5tx_ack
+0x028d mem_h5tx_rptr
+0x028f mem_h5tx_wptr
+0x0291 mem_h5tx_free
+0x0293 mem_h5rx_tmp
+0x0294 mem_h5tx_seq
+0x0295 mem_hci_acl_queue_wptr
+0x0297 mem_hci_acl_queue_rptr
+0x0299 mem_hci_acl_queue_end
+0x029b mem_hci_acl_queue_wcnt
+0x029c mem_hci_acl_cnt
+0x029d mem_hci_acl_tx_trigger_wptr//tx via uart
+0x029f mem_ucode_id_local
+0x02a0 mem_temp//8 bytes
+0x02a8 mem_timeup// 4 bytes
+0x02ac mem_rega//4 bytes
+0x02b0 mem_regb//4 bytes
+0x02b4 mem_regc//3 bytes
+0x02b7 mem_contr//2 bytes
+0x02b9 mem_contw//2 bytes
+0x02bb mem_ucode_id_remote
+0x02bc mem_check_sum
+0x02bd mem_ucode_temp
+0x02be mem_ucode_temp1
+0x02bf mem_lock_in_enc//boolean
+0x02c0 mem_hci_disconn_reason
+0x02c1 mem_hci_curr_len
+0x02c2 mem_hci_curr_target
+
+
+15 hci_flag_rp
+//mem_hci_options bit map
+(
+0 hci_option_bcsp
+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
+)
+
+//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
+)
+//HCI ErrorCodes
+(    
+0x00 HCI_SUCCESS
+0x01 HCI_ERROR_UNKNOWN_HCI_COMMAND
+0x02 HCI_ERROR_NO_CONNECTION
+0x03 HCI_ERROR_HARDWARE_FAILURE
+0x04 HCI_ERROR_PAGE_TIMEOUT
+0x05 HCI_ERROR_AUTHENTICATION_FAILURE
+0x06 HCI_ERROR_KEY_MISSING
+0x07 HCI_ERROR_MEMORY_FULL
+0x08 HCI_ERROR_CONNECTION_TIMEOUT
+0x09 HCI_ERROR_MAX_CONNECTIONS
+0x0A HCI_ERROR_MAX_SCO_CONNECTIONS
+0x0B HCI_ERROR_MAX_ACL_CONNECTIONS
+0x0C HCI_ERROR_COMMAND_DISALLOWED
+0x0D HCI_ERROR_HOST_REJECT_LIMITED_RESOURCES
+0x0E HCI_ERROR_HOST_REJECT_SECURITY_REASONS
+0x0F HCI_ERROR_HOST_REJECT_REMOTE_IS_ONLY_PERSONAL
+0x10 HCI_ERROR_HOST_TIMEOUT
+0x11 HCI_ERROR_UNSUPPORTED_FEATURE_OR_PARAMETER_VALUE
+0x12 HCI_ERROR_INVALID_HCI_COMMAND_PARAMETERS
+0x13 HCI_ERROR_REMOTE_USER_ENDED_CONNECTION
+0x14 HCI_ERROR_REMOTE_LOW_RESOURCES
+0x15 HCI_ERROR_REMOTE_POWERING_OFF
+0x16 HCI_ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST
+0x17 HCI_ERROR_REPEATED_ATTEMPTS
+0x18 HCI_ERROR_PAIRING_NOT_ALLOWED
+0x19 HCI_ERROR_UNKNOWN_LMP_PDU
+0x1A HCI_ERROR_UNSUPPORTED_REMOTE_FEATURE
+0x1B HCI_ERROR_SCO_OFFSET_REJECTED
+0x1C HCI_ERROR_SCO_INTERVAL_REJECTED
+0x1D HCI_ERROR_SCO_AIR_MODE_REJECTED
+0x1E HCI_ERROR_INVALID_LMP_PARAMETER
+0x1F HCI_ERROR_UNSPECIFIED_ERROR
+0x20 HCI_ERROR_UNSUPPORTED_LMP_PARAMETER_VALUE
+0x21 HCI_ERROR_ROLE_CHANGE_NOT_ALLOWD
+0x22 HCI_ERROR_LMP_RESPONSE_TIMEOUT
+0x23 HCI_ERROR_ERROR_TRANSACTION_COLLISION
+0x24 HCI_ERROR_LMP_PDU_NOT_ALLOWED
+0x25 HCI_ERROR_ENCRYPTION_MODE_NOT_ACCEPTABLE
+0x26 HCI_ERROR_UNIT_KEY_USED
+0x27 HCI_ERROR_QOS_NOT_SUPPORTED
+0x28 HCI_ERROR_INSTANT_PASSED
+0x29 HCI_ERROR_PAIRING_W_UNIT_KEY_NOT_SUPPORTED
+0x2a HCI_ERROR_DIFFERENT_TRANSACTION_COLLISION
+0x2c HCI_ERROR_QOS_UNACCEPTABLE_PARAMETER
+0x2d HIC_ERROR_QOS_REJECTED
+0x2e HIC_ERROR_CHANNEL_CLASSIFICATION_NOT_SUPPORTED
+0x2f HIC_ERROR_INSUFFICIENT_SECURITY
+0x30 HIC_ERROR_PARAMETER_OUT_OF_MANDATORY_PANGE
+0x32 HIC_ERROR_ROLE_SWITCH_PENDING
+0x34 HIC_ERROR_RESERVED_SLOT_VIOLATION
+0x35 HIC_ERROR_ROLE_SWITCH_FAILED
+0x36 HIC_ERROR_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE
+0x37 HIC_ERROR_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST
+0x38 HIC_ERROR_HOST_BUSY_PAIRING
+)
+
+(
+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
+)
+
+
+
+
+//C51 synchronous task
+(
+3 START_C51_CORE
+)
+
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+(
+0 P24G_PAIRING_REQ_HEAD
+1 P24G_PAIRING_COMPLETE_HEAD
+)
+
+(
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+0x4e G24_PAIR_CH
+)
+
+(
+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
+)
+
+(//bluetooth tx power
+0 TX_POWER_0DB
+1 TX_POWER_3DB
+2 TX_POWER_5DB
+3 TX_POWER_f3DB
+4 TX_POWER_f5DB
+)
+
+/* 24g */
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+7 retry_24g
+0xaaf08e acc_24g
+0x15c4 crc_data_3byte
+0xbb81 crc_data_6byte
+0x4160 crc_ack
+41390 crc_ack_4byte
+)
+
+(
+1 NO_ACK_24g
+0 with_ack_24g
+)
+
+(
+0 disable_24g
+1 tx_24g
+2 rx_24g
+
+0 bit_ack_24g
+)
+
+
+//mem_24g_data_type
+(
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+// ble
+(
+0 FLAG_LE_PAIRING_NULL
+1 FLAG_LE_PAIRING_START
+2 FLAG_LE_PAIRING_AFTER_AUTH
+3 FLAG_LE_PAIRING_END
+)
+
+(
+0 PAIR_UNKNOWN
+1 PAIR_ING
+2 PAIR_DONE
+)
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+(
+3 QUEUE_ELE_COUNT
+12 QUEUE_ELE_LENGTH
+)
+
+
+8 KB_KSCAN_ROW 
+7 KB_KSCAN_ROW_1
+20 KB_KSCAN_COL
+19 KB_KSCAN_COL_1
+
+/* ks_ctrl */
+(
+0x01 KB_KSCAN_CTRL_ENABLE					
+0x02 KB_KSCAN_CTRL_FREEZE					
+0x04 KB_KSCAN_CTRL_GHOST					
+0x08 KB_KSCAN_CTRL_INT						
+0x10 KB_KSCAN_CTRL_CLKON					
+0x20 KB_KSCAN_CTRL_FIFO_CLR				
+                  
+0 KB_KSCAN_STAT_EMPTY
+1 KB_KSCAN_STAT_FULL 					
+2 KB_KSCAN_STAT_OVERFLOW				
+6 KB_KSCAN_STAT_GHOST 
+
+0 KB_KSCAN_KEY_EVENT_STAT
+0 KB_KSCAN_KEY_PRESS	
+1 KB_KSCAN_KEY_RELEASE
+
+)
+
+
+/* special key codes */
+(
+0x1d KB_KCODE_1_M1
+0x27 KB_KCODE_0
+0x28 KB_KCODE_ENTER
+0x2a KB_KCODE_BKSP
+)
+
+
+0x01 HID_REPORTID_1
+0x02 HID_REPORTID_2
+0x03 HID_REPORTID_3
+0x04 HID_REPORTID_4
+
+/*DATA OUTPUT report id = 1*/
+0 KB_NUM_LOCK_SELECTED
+1 KB_CAPS_LOCK_SELECTED
+2 KB_SCROLL_LOCK_SELECTED
+
+
+0x1f  KB_UI_BUTTON_GPIO
+
+
+
+
+0x02c4 mem_l2cap_mem_start
+0x02c4 mem_l2cap_rxbuff1_len
+0x02c6 mem_l2cap_rxbuff2_len
+0x02c8 mem_l2cap_rxbuff_new
+0x02ca mem_l2cap_rxbuff_inuse
+0x02cb mem_l2cap_payload_ptr
+0x02cd mem_l2cap_rx_pkt_length
+0x02cf mem_l2cap_rx_cid
+0x02d1 mem_l2cap_rx_done
+0x02d2 mem_l2cap_signal_tx_buff_ptr
+0x02d4 mem_l2cap_signal_tx_payload_ptr
+0x02d6 mem_l2cap_signal_tx_length
+0x02d8 mem_sdp_tx_buff_ptr
+0x02da mem_sdp_tx_payload_ptr
+0x02dc mem_sdp_tx_pkt_length
+0x02de mem_rfcomm_tx_buff_ptr
+0x02e0 mem_rfcomm_tx_payload_ptr
+0x02e2 mem_rfcomm_tx_pkt_length
+0x02e4 memL2CAP_T1
+0x02e6 mem_CONTROL_tasks
+0x02e7 mem_send_config_req
+0x02e8 mem_config_identifier
+0x02e9 mem_config_req_dest_CID
+0x02eb mem_rfcomm_malloc_fail_flag
+0x02ec mem_message_to_uppersm
+0x02ed mem_upper_sm_remote_page
+0x02ee mem_upper_sm_reconn
+0x02ef mem_upper_sm_ss
+0x02f0 mem_tx_malloc_log
+0x0330 mem_l2cap_mem_end
+0x0330 mem_scid
+0x0332 mem_cmd_length
+0x0334 mem_tt2
+0x0336 mem_tt3
+0x0338 mem_id
+0x033a mem_psm
+0x033c 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
+)
+
+
+0x0340 mem_le_rxbuf
+0x0378 mem_le_mic
+0x037c mem_le_peer_mic
+0x0380 mem_le_skdm
+0x0388 mem_le_skds
+0x0390 mem_le_peer_ltk
+0x03a0 mem_le_my_ltk
+0x03b0 mem_le_mrand
+0x03c0 mem_le_state
+0x03c1 mem_le_mode
+0x03c2 mem_le_tsniff
+0x03c4 mem_le_anchor
+0x03c8 mem_le_clk_offset
+0x03ce mem_le_receive_window
+0x03d0 mem_le_plap
+0x03d6 mem_le_conn_handle
+0x03d7 mem_le_arq
+0x03d8 mem_le_ch
+0x03d9 mem_le_hop
+0x03da mem_le_event_count
+0x03dc mem_le_supervision_timer
+0x03e0 mem_le_instant
+0x03e2 mem_le_channels
+0x03e3 mem_le_conn_sm
+0x03e4 mem_le_op
+0x03e5 mem_le_access
+0x03e9 mem_le_crcinit
+0x03ec mem_le_window_size
+0x03ed mem_le_slave_latency
+0x03ef mem_le_superto
+0x03f1 mem_le_channel_map
+0x03f6 mem_le_no_using
+0x03f8 mem_le_peer_sca
+0x03f9 mem_le_att_opcode
+0x03fa mem_le_att_handle
+0x03fc mem_le_err_code
+0x03fd mem_le_sk
+0x040d mem_le_testtype
+0x040e mem_le_test_sync
+0x0410 mem_le_test_pcnt
+0x0412 mem_le_rxon_ts
+0x0418 mem_le_rx_ll_opcode
+0x0419 mem_le_notify_attr_start
+0x041b mem_le_notify_len
+0x041c mem_cmd_le_create_conn
+0x041d mem_le_adv_temp
+0x0431 mem_24g_id
+
+
+
+(
+20 notify_handle
+2 param_max_slaves
+1636 param_sifs
+0x000a06 param_le_version
+0x1d87 param_le_subversion
+0x000001 param_le_features
+23 param_le_mtu
+16 param_le_scan_interval
+16 param_le_scan_window
+0x1e0 param_clke_cal_le
+0x1000302 param_smp_paring_response		/* for mouse, noinputnooutput */
+0x010410 param_smp_key_dist	
+0x010010 param_smp_key_dist0
+0xa0 param_le_sca
+)
+
+(
+	0x2902  ATT_Configuration
+)
+
+/* mem_le_conn_sm */
+( 
+  0x21 CONN_SM_SEND_WRITE_REQ                      
+  0x25 CONN_SM_WAIT_WRITE_RES
+  0x26 CONN_SM_WAIT_WRITE_RES1
+) 
+/*LE MOUSE-KB*/
+(
+1 LE_CONTEXT_STATE_KB
+2 LE_CONTEXT_STATE_MOUSE
+
+3 USB_MOUSE_DATA_CMD
+
+1 SEND_MOUSE_DATA_CMD
+2 SEND_KB_DATA_CMD
+)
+
+
+  (
+  	0 LE_M_STATE_SLAVE1_STANDBY
+  	1 LE_M_STATE_SLAVE1_ADVERTISING
+  	2 LE_M_STATE_SLAVE1_SCANNING
+  	3 LE_M_STATE_SLAVE1_INITIATING
+  	4 LE_M_STATE_SLAVE1_CONNECTED
+  	5 LE_M_STATE_SLAVE1_RFU_1
+  	6 LE_M_STATE_SLAVE1_RFU_2
+  	7 LE_M_STATE_SLAVE1_RFU_3
+  )
+
+  (
+  	0 LE_M_STATE_SLAVE2_STANDBY
+  	1 LE_M_STATE_SLAVE2_ADVERTISING
+  	2 LE_M_STATE_SLAVE2_SCANNING
+  	3 LE_M_STATE_SLAVE2_INITIATING
+  	4 LE_M_STATE_SLAVE2_CONNECTED
+  	5 LE_M_STATE_SLAVE2_CONNECT_INIT
+  	6 LE_M_STATE_SLAVE2_RFU_2
+  	7 LE_M_STATE_SLAVE2_RFU_3
+  )
+
+  	(
+	0 LE_SM_IDLE
+	1 LE_SM_FBTV_1800
+	2 LE_SM_FBTV_1800_WAIT
+	3 LE_SM_RBT_DEVICE_NAME
+	4 LE_SM_RBT_DEVICE_NAME_WAIT
+	5 LE_SM_FBTV_1801
+	6 LE_SM_FBTV_1801_WAIT
+	7 LE_SM_RBT_DEVICE_CHARACTER
+	8 LE_SM_RBT_DEVICE_CHARACTER_WAIT
+	
+  	)
+
+/* 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
+)
+
+	/* tx packet type */
+	(
+	0x20 XT_LL_CONNECTION_UPDATE_REQ
+	0x21 XT_LL_CHANNEL_MAP_REQ
+	0x22 XT_LL_TERMINATE_IND
+	0x23 XT_LL_ENC_REQ
+	0x24 XT_LL_ENC_RSP
+	0x25 XT_LL_START_ENC_REQ
+	0x26 XT_LL_START_ENC_RSP
+	0x27 XT_LL_UNKNOWN_RSP
+	0x28 XT_LL_FEATURE_REQ
+	0x29 XT_LL_FEATURE_RSP
+	0x2A XT_LL_PAUSE_ENC_REQ
+	0x2B XT_LL_PAUSE_ENC_RSP
+	0x2C XT_LL_VERSION_IND
+	0x2D XT_LL_REJECT_IND
+	0x2E XT_LL_SLAVE_FEATURE_REQ
+	0x2F XT_LL_CONNECTION_PARAM_REQ
+	0x30 XT_LL_CONNECTION_PARAM_RSP
+	0x31 XT_LL_REJECT_IND_EXT
+	0x32 XT_LL_PING_REQ
+	0x33 XT_LL_PING_RSP
+	0x41 XT_SMP_PAIRING_REQUEST
+	0x42 XT_SMP_PAIRING_RESPONSE
+	0x43 XT_SMP_PAIRING_CONFIRM
+	0x44 XT_SMP_PAIRING_RANDOM
+	0x45 XT_SMP_PAIRING_FAILED
+	0x46 XT_SMP_ENCRYPTION_INFORMATION
+	0x47 XT_SMP_MASTER_IDENTIFICATION
+	0x48 XT_SMP_IDENTITY_INFORMATION
+	0x49 XT_SMP_IDENTITY_ADDRESS_INFORMATION
+	0x4A XT_SMP_SIGNING_INFORMATION
+	0x4B XT_SMP_SECURITY_REQUEST
+	0x51 XT_L2CAP_CONN_PARAM_UPDATE_REQ
+	)
+
+
+	/* 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
+	)
+
+	/* 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
+	0x9e EMPTY_LE_DATA_PRE
+	0x9f EMPTY_LE_DATA
+	0xc1 XT_L2CAP_CMD_REJECT
+	)
+
+	/* 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
+	0X2902 UUID_CLIENT_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
+	0X2A50 UUID_PNP_ID
+	)
+
+	//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 */
+	(
+	0x04 LE_L2CAP_CID_ATT
+	0x05 LE_L2CAP_CID_SIGNAL
+	0x06 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_state_map 0-2 is reserved for state_inconn,state_insniff and state_sco
+(
+3 lestate_got_first_packet
+4 lestate_encryption
+5 lestate_update_param
+6 lestate_update_map
+7 lestate_version_ind_sent
+)
+
+// 	le mode
+(
+0 lemode_idle
+1 lemode_slave
+3 lemode_master
+)
+
+0xfeff ATT_HANDLE_SPECIAL
+
+// 	sm state
+(
+0 smstate_wait_confirm
+
+)
+
+
+0x0432 mem_lmo_header_length
+0x0433 mem_lmo_header_opcode
+0x0434 mem_lmo_payload
+0x0445 mem_lmi_accepted_opcode
+0x0446 mem_disconn_reason_send
+0x0447 mem_tx_fixed_freq
+0x0448 mem_rx_fixed_freq
+0x0449 mem_ext_features_page
+0x044a mem_lmpext_ssp_enable
+0x044c mem_remote_sppcap
+0x044d mem_lmp_conn_state
+0x044e mem_soft_timer
+0x0450 mem_pincode_state
+0x0451 mem_sres_tid
+0x0452 mem_accptsco_tid
+0x0453 mem_auth_enable
+0x0454 mem_wait_encryption
+0x0455 mem_sniff_payload
+0x0465 mem_aurand_send_delay_time
+
+	(
+	//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
+)
+
+//uart buffer
+(
+0x1800 mem_h5rx_buf//0x400
+0x1bff mem_h5rx_buf_end
+0x1c00 mem_h5tx_buf
+0x1fff mem_h5tx_buf_end
+)
+
+(
+0x4a00 mem_module_rx_buf//0x400
+0x4fff mem_module_rx_buf_end
+0x1c00 mem_module_tx_buf
+0x1fff mem_module_tx_buf_end
+)
+
+(
+0x1800 mem_ir_record
+0x1c      mem_ir_record_max
+)
+
+
+0x0469 mem_module_temp_len
+	(
+		110  DM_REFCOM_BUFF_LEN
+		20 DM_LE_BUFF_LEN
+	)
+	(
+		0x200 UART_AIR_CONTROL_THRESHOLD
+		0x150 UART_RX_CONTROL_THRESHOLD
+	)
+
+
+
+
+0x046b mem_init_cnt
+//dpi eeprom addr
+(
+198 mouse_dpi_eeprom_addr
+)
+(
+199 mouse_last_device
+)
+
+//Mouse sensor ID1
+(
+0x30 P3204_ID
+0x31 P3065_ID
+)
+//Mouse sensor ID2
+(
+0x00 P3212_ID2
+0x70 P3065_ID2
+)
+
+//Mouse Button
+(
+0x01 MOUSE_BUTTON_L
+0x02 MOUSE_BUTTON_R
+0x03 MOUSE_BUTTON_LR
+0x04 MOUSE_BUTTON_M
+0x05 MOUSE_BUTTON_LM
+0x06 MOUSE_BUTTON_RM
+0x07 MOUSE_BUTTON_LRM
+)
+
+//mem_24g_rx_packet_flag
+(
+0 FLAG_24G_NOT_RX_PACKET
+1 FLAG_24G_RX_PACKET
+)
+
+//mem_24g_mode
+(
+0 MODE_24G_OFF
+1 MODE_24G_TX
+2 MODE_24G_RX
+3 MODE_24G_PAIRING
+
+)
+// device_led_gpio
+(
+0X05 DEVICE1_LED_GPIO
+0X08 DEVICE2_LED_GPIO
+0X01 DEVICE3_LED_GPIO
+)
+
+//bt mode device number
+(
+0X01 MODE_BT_DEVICE1
+0X02 MODE_BT_DEVICE2
+0X03 MODE_BT_DEVICE3
+0X04 MODE_24G_DEVICE
+)
+
+//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
+)
+
+
+//mem_mouse_find_type_value_flag
+(
+0X00 LE_FIND_TYPE_VALUE_HID_BIT
+0X01 LE_FIND_TYPE_VALUE_BATTERY_BIT
+0X02 LE_FIND_TYPE_VALUE_DEVICE_INFO_BIT
+0x03 LE_FIND_TYPE_VALUE_GATT_BIT
+
+)
+
+(
+1 MOUSE_SHUTDOWN
+
+)
+//mem_mouse_flag
+(
+0 MOUSE_CPI_FLAG
+1 MOUSE_SELECT_RECONN_FLAG
+2 MOUSE_CANCEL_RECONN_FLAG
+3 MOUSE_SELECT_BUTTON_CANCEL_RECONN_FLAG
+4 MOUSE_BLE_RECON_FLAG
+)
+
+(
+194 MOUSE_SHUTDOWN_FLAG
+)
+(
+0x00 DPI_BUTTON_STATE_DOWN
+0x01 DPI_BUTTON_STATE_UP
+
+)
+(
+  0x8971 rf_adc_mode
+  0x8972 rf_adc_gc
+  0x8973 rf_adc_ch
+)
+(
+2 MOUSE_ADC_GC
+)
+
+(
+1 ONE_TRADITION_MOUSE
+2 ONE_BLE_MOUSE
+)
+
+
+(
+1 SENSOR_TYPE_A7530
+2 SENSOR_TYPE_P3204
+3 SENSOR_TYPE_P3610
+)
+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
+
+7 pan_bit_motion
+
+(
+1000 MOUSE_LPM_CLR_LOCK_TIME
+0x06 MOUSE_DPI_ADDRESS
+0x05 MOUSE_P3610_DPI_REG
+0x02 MOUSE_DPI_MAX_DECR
+)
+(
+80 MOUSE_SEND_BLANK_TIMER
+)
+
+
+//mem_mouse_mode_state
+(
+0x00 MOUSE_MODE_STATE_IDLE
+0x01 MOUSE_MODE_STATE_BT
+0x02 MOUSE_MODE_STATE_BLE
+)
+//ui led blink
+(
+200 FLAG_LED_RECONNECT_BLINK
+1000 FLAG_LED_BLINK_DISCOVERY
+)
+//rf param
+(
+0xFF RF_2M_IF 
+0x7F RF_1M_IF
+0x00 RF_0M_IF
+)
+(
+0 FLAG_ADC_CHANNEL1_GPIO5
+10 FLAG_MOUSE_CHECK_VDD_COUNT
+1 FLAG_VDD_LOW
+0 FLAG_VDD_NOT_LOW
+
+191 EEPROM_ADDR_VDD_FLAG
+193 EEPROM_ADDR_VDD_LOW_FLAG
+)
+
+//sniff param
+(
+0x000c   SNIFF_INTERVAL_7500US
+0x000e   SNIFF_INTERVAL_8750US
+0x0010	SNIFF_INTERVAL_10MS
+)
+
+//low vdd
+(
+33 FLAG_LOW_VDD_MULTIPLIER
+31 FLAG_LOW_VDD_DIVISOR
+)
+
+
+
+(
+	  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
+
+)
+//ota
+(
+0x80 cmd_read_eep
+0x81 cmd_write_eep
+0x82 cmd_crc_eep
+0x83 cmd_size_eep
+)
+
+//prcp opcode
+(
+
+0x00 COMMON_RES
+0x01 READ_REGISTERS_REQ
+0x02 READ_REGISTERS_RES
+0x03 WRITE_REGISTERS_REQ
+0x04 I2C_CONFIG_REQ
+0x05 I2C_READ_REQ
+0x06 I2C_READ_RES
+0x07 I2C_WRITE_REQ
+0x08 SPI_CONFIG_REQ
+0x09 SPI_READ_REQ
+0x0a SPI_READ_RES
+0x0b SPI_WRITE_REQ
+0x0c PWM_CONFIG_REQ
+0x0d PWM_WRITE_REQ
+0x0e GPIO_CONFIG_REQ
+0x0f GPIO_READ_REQ
+0x10 GPIO_READ_RES
+0x11 GPIO_WRITE_REQ
+0x12 OTA_WRITE_REQ
+0X13 OTA_END_CMD
+
+)
+(
+1 PRCP_LE
+2 PRCP_SSP
+0x14 PRCP_TX_LE 
+0x17 PRCP_RX_LE
+20 PRCP_TX_DATA_LEN
+)
+0x046d mem_prcp_data
+0x0481 mem_prcp
+0x0482 mem_prcp_tx_len
+0x0483 rx_buf_data_ptr
+
+(
+  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_kscn_ksctrl
+  0x8064 core_kscn_rctc
+  0x8065 core_kscn_scancycle_timer_l
+  0x8066 core_kscn_scancycle_timer_h
+  0x8067 core_kscn_m_debounce          
+  0x8068 core_kscn_modkey
+  0x806f core_kscn_rowmask
+  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
+  0x80b0 core_enc_ctrl
+  0x80b1 core_cvsd_ctrl
+  0x80b2 core_codec_ctrl
+  0x80b3 core_dec_ctrl
+  0x80b4 core_bist_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
+  0x8907 rfen_mod
+  0x8912 rf_agc_ctrl
+  0x8914 rfen_ulp
+
+  0x894b rf_rx_vctrl_reg1
+  0x894c rf_rx_vctrl_reg2
+  0x894d 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
+  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
+  0x8972 rf_saradc_ctrl
+  0x8973 rfen_chgpump
+  0x8980 rf_rccal_result
+  0x8981 rf_afc_d2a
+  0x8982 rf_rssi
+
+
+0x8c00 core_usb_config		
+0x8c01 core_usb_int_mask	
+0x8c10 core_usb_trig	
+0x8c11 core_usb_stall		
+0x8c12 core_usb_clear		
+0x8c18 core_usb_ep
+0x8c18 core_usb_dfifo0 
+0x8c19 core_usb_dfifo1  
+0x8c1a core_usb_dfifo2 
+0x8c20 core_usb_ep_len
+0x8c26 core_usb_status		
+0x8c27 core_usb_fifo_empty
+0x8c28 core_usb_fifo_full
+
+
+4 rx_freq_offset
+2 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
+
+(
+  7 cold_wake
+  3 gpio_latch
+  4 enable_retmem
+  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
+)
+
+0x8b uart_ctrl_default //BCSP
+0x81 uart_ctrl_h4 //H4
+0x81 uart_ctrl_normal
+0x81 uart_ctrl_57600
+2 uart_baud_len
+0x01 uartclk_dpll
+0x1a0 uart_baud_115200
+0xbb uart_baud_256000
+0x340 uart_baud_57600
+0x2dc6c00 uart_clk
+
+//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 */
+/**********/
+
+0x0485 memRemoteRPNBitRate
+0x0486 memRemotePRNDataBits
+0x0487 memRemotePRNStopBit
+0x0488 memRemotePRNParity
+0x0489 memRemotePRNFlowControl
+0x048a memRemotePRNXon
+0x048b memRemotePRNXoff
+0x048c mem_mod2div_temp
+0x048f mem_contw_temp
+0x0491 mem_attrib_list
+0x0493 mem_current_adss
+0x0494 mem_current_channel
+0x0495 mem_current_frame_type
+0x0496 mem_current_fcs
+0x0497 mem_current_length
+0x0499 mem_rfcomm_uih_payload_ptr
+0x049b mem_uih_cmd_type
+0x049c mem_uih_length
+0x049e mem_param_payload_ptr
+0x04a0 mem_ms_param
+0x04a1 mem_pn_credit_flow_type_info
+0x04a2 mem_pn_priority
+0x04a3 mem_pn_acknowledg_timer
+0x04a4 mem_pn_max_retrans
+0x04a5 mem_rfcomm_send_adss
+0x04a6 mem_rfcomm_send_frame_type
+0x04a7 mem_rfcomm_send_fcs
+0x04a8 mem_rfcomm_send_offset
+
+
+/************************************************************************/
+  
+
+ 
+/************/
+/* 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
+	0x71 UIH_MODEM_STATUS_CMD
+	0x70 UIH_MODEM_STATUS_RES
+	0x49 UIH_PARAM_CMD_REMOVE_PORT
+)
+
+/*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
+	)
+0x04a9 mem_sdp_mem_start
+0x04a9 mem_uuid_search_pat
+0x04ad mem_sdp_continue_byte
+0x04af mem_sdp_pduid
+0x04b0 mem_sdp_transactionid
+0x04b2 mem_sdp_attribute_maxbyte
+0x04b4 mem_sdp_record_maxcnt
+0x04b6 mem_sdp_error_code
+0x04be mem_sdp_record_handle
+0x04c2 mem_sdp_search_failed
+0x04c3 mem_sdp_LACAP_found
+0x04c4 mem_sdp_RFCOMM_found
+0x04c5 mem_handle_list
+0x04dd mem_handle_humber
+0x04de mem_sdp_mem_end
+(
+0 AGORHS_SERVICE
+1 GENAUDIO_SERVICE
+2 HANDSFREE_SERVICE
+)
+
+(
+1 SDP_ERROR_RESPONSE
+2 SDP_SERVICE_SEARCH_REQUEST
+3 SDP_SERVICE_SEARCH_RESPONSE
+4 SDP_SERVICE_ATTRIBUTE_REQUEST
+5 SDP_SERVICE_ATTRIBUTE_RESPONSE
+6 SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST
+7 SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE
+)
+
+(
+0 ATTRIBUTEID_0000
+1 ATTRIBUTEID_0001
+2 ATTRIBUTEID_0004
+3 ATTRIBUTEID_0009
+4 ATTRIBUTEID_0100
+5 ATTRIBUTEID_0302
+6 ATTRIBUTEID_0006
+7 ATTRIBUTEID_0311
+)
+/* mem_sdp_search_profile */
+(
+1	SDP_SS_HEADSET
+2  	SDP_SS_HANDSFREE
+)
+(
+0x06 sdp_pduid_serviceSearchAttrib
+)
+0x2600 sdp_max_amount
+767 SDP_MALLOC_SIZE
+0x6e sdp_tid_spp //any number
+
+ 
+
+0x04de mem_rxbuf
+0x04ef mem_random_number
+0x04ff mem_round_key
+0x050f mem_kinit
+0x051f mem_input_store
+0x052f mem_x
+0x053f mem_y
+0x054e mem_y15
+0x054f mem_pin_length
+0x0550 mem_pin
+0x0560 mem_key_store
+0x0571 mem_key_store_end
+0x0572 memp_ar_key
+0x0574 memp_ar_input
+0x0576 mem_ar_hround
+0x0580 mem_ec_infinite
+0x0581 mem_ec_loopc
+0x0582 memdat
+0x0582 mem_ax
+0x059a mem_ay
+0x05b2 mem_az
+0x05ca mem_bx
+0x05e2 mem_by
+0x05fa mem_bz
+0x0612 mem_cx
+0x062a mem_cy
+0x0641 mem_cy5
+0x0642 mem_cz
+0x065a mem_k
+0x0672 mem_align
+0x0682 mem_tmp1
+0x0682 memahbak
+0x069a mem_tmp5
+0x06a2 memahsave
+0x06b2 mem_tmp2
+0x06c2 memahsave_end
+0x06c2 mem_addr_padding
+0x06c3 mem_addr_value/* 12 bytes     */ 
+0x06ca mem_tmp3
+0x06ca mem_t1
+0x06cf mem_addr_value_end
+0x06d2 mem_addr_iocap_end
+0x06e2 mem_tmp0
+0x06e2 mem_t0
+0x06ea mem_tmp0a
+0x06fa mem_t2
+0x0712 mem_t3
+0x072a mem_t7
+0x0742 mem_p
+0x075a mem_a
+0x0772 mem_b
+0x078a mem_gx
+0x07a2 mem_gy
+0x07ba memh0
+
+
+
+
+
+(
+0 FLAG_SHUTTER_DEFAULT
+1 FLAG_SHUTTER_IPHONEKEY_SEND
+2 FLAG_SHUTTER_ANDROIDKEY_SEND
+)
+
+(
+0 FLAG_SHUTTER_IPHONEKEY_PRESS
+1 FLAG_SHUTTER_ANDROIDKEY_PRESS
+)
+
+(
+1  FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+5 FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+)
+
+(
+1 FLAG_SHUTTER_1KEY
+2 FLAG_SHUTTER_2KEY
+)
+
+(
+0 FLAG_SHUTTER_1KEY_SEND_NULL
+1 FLAG_SHUTTER_1KEY_SEND_STEP1
+2 FLAG_SHUTTER_1KEY_SEND_STEP2
+3 FLAG_SHUTTER_1KEY_SEND_STEP3
+4 FLAG_SHUTTER_1KEY_SEND_STEP4
+)
+
+/* simple pairing page */
+
+0x07da mem_sp_state_start
+0x07da mem_sp_state
+0x07db mem_master_sp_state
+0x07dc mem_sp_flag
+0x07dd mem_master_sp_flag
+0x07de mem_sp_calc
+0x07df mem_sp_dh_ready
+0x07e0 mem_sp_localsm
+0x07e1 mem_pairing_auth
+0x07e2 mem_sp_flag_start
+0x07e2 mem_sp_local_key_send_count
+0x07e3 mem_sp_remote_key_recv_count
+0x07e4 mem_sp_remote_key_invalid
+0x07e5 mem_sp_dhkey_invalid
+0x07e6 mem_sp_iocap_local
+0x07e9 mem_sp_iocap_remote
+0x07ec mem_sp_gkey
+0x07f0 mem_sp_pubkey_remote
+0x07f0 mem_sp_pubkey_remote_x
+0x0808 mem_sp_pubkey_remote_x_end
+0x0808 mem_sp_pubkey_remote_y
+0x0820 mem_sp_dhkey
+0x0838 mem_sp_dhkey_end
+0x0838 mem_sp_random_local
+0x0848 mem_sp_random_local_end
+0x0848 mem_sp_random_remote
+0x0858 mem_sp_random_remote_end
+0x0858 memresult
+0x0858 mem_sp_calc_result
+0x0858 memh
+0x085c memg
+0x0860 memf
+0x0864 meme
+0x0868 mem_sp_calc_result_high
+0x0868 memd
+0x086c memc
+0x0870 memb
+0x0874 mema
+0x0878 mem_sp_check_result
+0x0888 mem_sp_confirm_remote
+0x0898 mem_sp_prarm_stack
+
+/* simple pairing status flag */
+(
+  0x00   SP_FLAG_STANDBY
+  0x01   SP_FLAG_COMMIT
+)
+
+/* simple pairing calc flag */
+(
+  0x00   SP_CALC_STANDBY
+  0x01   SP_CALC_PUBKEY
+  0x02   SP_CALC_DHKEY
+)
+
+/* 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
+)
+
+/* 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
+)
+  
+/*****************************************************************************/
+/* RCS HEADER -- DO NOT ERASE                                                */
+/* $Author: Administrator $                                                           */
+/* $Id: bt_ui_format.upper,v 1.1 2009-09-28 04:06:17 Administrator Exp $     */
+/************************************************************************/
+
+
+	/* ========= memory ============== */
+0x08a8 mem_UI_data_txbuff_length
+0x08aa mem_ipc_skip_continue_proc
+0x08ab mem_ui_timer_temp//length 4
+0x08ab 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
+13 UI_STATE_LED_BLINK
+14 UI_STATE_LED_ON
+)
+
+/* 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 */
+(
+0x00 BT_CMD_STANDBY
+0x01 BT_CMD_START_DISCOVERY
+0x02 BT_CMD_STOP_DISCOVERY
+0x03 BT_CMD_RECONNECT
+0x04 BT_CMD_DISCONNECT
+0x05 BT_CMD_ENTER_SNIFF
+0x06 BT_CMD_EXIT_SNIFF
+0x07 BT_CMD_ENTER_SNIFF_SUBRATING
+0x08 BT_CMD_EXIT_SNIFF_SUBRATING
+0x09 BT_CMD_SNIFF_TEST
+0x0a BT_CMD_SET_PIN_CODE
+0x0b BT_CMD_START_INQUIRY
+0x0c BT_CMD_STOP_INQUIRY
+0x0d BT_CMD_START_ADV
+0x0e BT_CMD_STOP_ADV
+0x0f BT_CMD_START_DIRECT_ADV
+0x10 BT_CMD_STOP_DIRECT_ADV
+0x11 BT_CMD_LE_DISCONNECT
+0x12 BT_CMD_LE_UPDATE_CONN
+0x13 BT_CMD_LED_OFF
+0x14 BT_CMD_LED_ON
+0x15 BT_CMD_LED_BLINK
+0x16 BT_CMD_LE_START_CONN
+0x17 BT_CMD_LE_START_SCAN
+0x18 BT_CMD_LE_STOP_SCAN
+0x19 BT_CMD_ENTER_HIBERNATE
+0x1b BT_CMD_LE_SMP_SECURITY_REQUEST
+0x1c BT_CMD_LE_START_WRITE
+0x1d BT_CMD_ROLE_SWITCH
+0x1e BT_CMD_BB_RECONN_CANCEL
+0x1f BT_CMD_STORE_RECONN_INFO_LE
+0x20 BT_CMD_STORE_RECONN_INFO_BT
+0x21 BT_CMD_START_24G
+0x22 BT_CMD_STOP_24G
+0x23 BT_CMD_PAIR_24G
+0x28 BT_CMD_UPDATE_SUPERVISION_TO
+0x29 BT_CMD_LE_SET_PINCODE
+0x2a BT_CMD_SET_RECONNECT_INIT
+0x2b BT_CMD_START_ADV_REC
+0x2c BT_CMD_START_ADV_DISCOVERY
+)
+
+(
+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
+0x2f BT_EVT_RESET
+0x30 BT_EVT_WAKEUP
+0x31 BT_EVT_24G_PAIRING_COMPLETE
+0x32 BT_EVT_24G_ATTEMPT_FAIL
+0x33 BT_EVT_HIBERNATE_WAKE
+0x34 BT_EVT_LE_PROTOCOL_CONNECTED
+0x35 BT_EVT_LE_PINCODE_REQ
+0x37 BT_EVT_RECONNECT_STANDY
+0x39 BT_EVT_CLEAR_LINKKEY
+0x3c BT_EVT_24G_ATTEMPT_SUCCESS
+0x50 BT_EVT_TIMER_INIT
+0xF0 BT_EVT_TIMER_MASK
+0x51 BT_EVT_TIMER_100MS
+0x52 BT_EVT_TIMER_200MS
+0x53 BT_EVT_TIMER_300MS
+0x54 BT_EVT_TIMER_400MS
+0x55 BT_EVT_TIMER_500MS
+0x56 BT_EVT_TIMER_600MS
+0x57 BT_EVT_TIMER_700MS
+0x58 BT_EVT_TIMER_800MS
+0x59 BT_EVT_TIMER_900MS
+0x5A BT_EVT_TIMER_1KMS
+0x5B BT_EVT_TIMER_1K1MS
+0x5C BT_EVT_TIMER_1K2MS
+0x5D BT_EVT_TIMER_1K3MS
+0x5E BT_EVT_TIMER_1K4MS
+0x5F BT_EVT_TIMER_1K5MS
+)
+//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
+)
+
+
+0x08af mem_usb_status
+0x08b0 mem_usb_fifo_empty
+0x08b1 mem_usb_read_len
+0x08b2 mem_usb_rxbuf
+0x08f2 mem_usb_cnt
+0x08f4 mem_usb_tx_enable
+0x08f5 mem_usb_tx_count
+0x08f6 mem_usb_set_protocol_count
+0x08f7 mem_usb_desc
+0x08f8 mem_usb_state
+0x08f9 mem_usb_idle_cnt
+0x08fb mem_usb_idle_timeout
+0x08fd mem_usb_trig_timeout
+0x08ff mem_usb_setup
+0x08ff mem_usb_setup_bmRequestType
+0x0900 mem_usb_setup_bRequest
+0x0901 mem_usb_setup_bValue
+0x0902 mem_usb_setup_bValueH
+0x0903 mem_usb_setup_wIndex
+0x0905 mem_usb_setup_bLength
+0x0906 mem_usb_setup_bLengthH
+0x0907 mem_usb0_setup
+0x090f mem_bufptr
+0x0911 mem_remain
+0x0912 mem_devicedesc
+0x0926 mem_hidreportdesc_kb
+0x09ee mem_hidreportdesc_m
+0x0ab6 mem_confdesc
+0x0b1a mem_string0
+0x0b1f mem_string1
+0x0b3d mem_string2
+0x0b5b mem_string3
+
+(
+0x20 HCI_CLASS_REQUEST_TYPE      // SetReport HID Request
+0x21 HID_CLASS_REQUEST_TYPE 
+0x00 ZERO_CLASS_REQUEST_TYPE 
+)
+//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
+(
+0x00 IN_DEVICE                // Request made to device,
+                              // direction is IN
+0x80 OUT_DEVICE               // Request made to device,
+                              // direction is OUT
+0x01 IN_INTERFACE             // Request made to interface,
+                              // direction is IN
+0x81 OUT_INTERFACE            // Request made to interface,
+                              // direction is OUT
+0x02 IN_ENDPOINT              // Request made to endpoint,
+                              // direction is IN
+0x82 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
+)
+
+
+/**
+*  @file:bt_utility_format.upper
+*  @author: lei.zhu
+*  utility header file. inlcude timer
+*  Copyright:  (C)Hanlynn Technology    
+*/
+
+0x0b79 mem_hold_contr
+0x0b7b mem_hold_contw
+0x0b7d mem_fifo_temp
+0x0b7e mem_c51_flag
+0x0b7f mem_c51_lpm_lock
+0x0b80 mem_c51_wait_lpm
+0x0b81 mem_wakup_from_power_flag
+0x0b82 mem_lmp_bb_disconnect_reason
+0x0b83 mem_c51_eeprom_buf
+0x0be7 mem_c51_ipc_txbuf
+0x0c4b mem_c51_ipc_rxbuf
+0x0caf mem_c51_iicd_buf
+0x0cb3 mem_24g_rxbuf
+0x0cd5 mem_24g_txbuf
+0x0cf5 mem_24g_txpayload
+0x0d17 mem_24g_rxpayload
+0x0d37 mem_24g_common_temp
+0x0d57 mem_packet_length_temp
+0x0d58 mem_le_cur_handle_start
+0x0d5a mem_le_cur_handle_end
+0x0d5c mem_le_search_res
+
+
+
+
+
+
+(
+/*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
+(
+
+5 UTIL_FIFO_LEN
+-1 UTIL_FIFO_OFFSET
+)
+
+
+//power control
+(
+99  POWER_CTRL_MAX_PACKET_CNT
+
+10 POWER_CTRL_RETRANS_THRESH_UP0
+0 POWER_CTRL_RETRANS_THRESH_DOWN0
+
+20 POWER_CTRL_RETRANS_THRESH_UP1
+5 POWER_CTRL_RETRANS_THRESH_DOWN1
+
+100 POWER_CTRL_RETRANS_THRESH_UP2
+10 POWER_CTRL_RETRANS_THRESH_DOWN2
+)
+
+
+/************************************************************************/
+/* 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
+  ! 0x0e hjam
+  % immediate
+  % addr
+  [5] opcode
+  [3] 0
+  [1] 1   /* msb */
+  [15] 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
+  ! 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: KG9013/btkb/output/bt_program23.icode
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.icode	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.icode	(working copy)
@@ -0,0 +1,21322 @@
+ 00000000  0x00000023 bmark1  0x00000025 , 0x0000000f 
+ 00000001  0x00000024 beq  0x00000000 , 0x00000017 
+ 00000002  0x00000025 beq  0x00000003 , 0x0000001b 
+ 00000003  0x00000026 beq  0x00000005 , 0x0000001f 
+ 00000004  0x00000027 beq  0x00000090 , 0x0000015c 
+ 00000005  0x00000028 beq  0x00000092 , 0x00000126 
+ 00000006  0x00000029 beq  0x00000094 , 0x0000012c 
+ 00000007  0x0000002a beq  0x00000095 , 0x00000116 
+ 00000008  0x0000002b beq  0x000000b0 , 0x000000d8 
+ 00000009  0x0000002c beq  0x000000b1 , 0x000000da 
+ 00000010  0x0000002d beq  0x000000b2 , 0x000000ee 
+ 00000011  0x0000002e beq  0x000000b3 , 0x00000108 
+ 00000012  0x0000002f beq  0x000000b6 , 0x00000111 
+ 00000013  0x00000030 beq  0x000000b9 , 0x000000e2 
+ 00000014  0x00000031 branch  0x00003bf1 
+ 00000015  0x00000034 beq  0x0000003e , 0x000001cf 
+ 00000016  0x00000035 beq  0x0000003f , 0x000001d3 
+ 00000017  0x00000036 beq  0x00000087 , 0x000000b6 
+ 00000018  0x00000037 beq  0x0000008d , 0x000001e1 
+ 00000019  0x00000038 beq  0x0000008f , 0x000001d7 
+ 00000020  0x00000039 beq  0x000000cd , 0x00000166 
+ 00000021  0x0000003a beq  0x000000d0 , 0x000000c2 
+ 00000022  0x0000003c branch  0x00003bf1 
+ 00000023  0x00000040 hfetch  0x00000001 , 0x0000813b 
+ 00000024  0x00000041 store  0x00000001 , 0x00000b81 
+ 00000025  0x00000042 hjam  0x00000008 , 0x00008006 
+ 00000026  0x00000043 branch  0x00003003 
+ 00000027  0x00000046 call  0x00000051 
+ 00000028  0x00000047 call  0x00000043 
+ 00000029  0x00000048 call  0x00000024 
+ 00000030  0x00000049 branch  0x00003015 
+ 00000031  0x0000004d call  0x00003392 
+ 00000032  0x0000004e call  0x00003407 
+ 00000033  0x0000004f call  0x00003024 
+ 00000034  0x00000050 call  0x000001f4 
+ 00000035  0x00000051 branch  0x00003022 
+ 00000036  0x00000056 call  0x000000b1 
+ 00000037  0x00000057 rtn  0x00000028 
+ 00000038  0x00000058 byteswap  0x0000003f , 0x0000003f 
+ 00000039  0x00000059 copy  0x0000003f , 0x00000006 
+ 00000040  0x0000005a call  0x00000092 
+ 00000041  0x0000005b store  0x00000001 , 0x00004ba7 
+ 00000042  0x0000005c beq  0x00000001 , 0x00000037 
+ 00000043  0x0000005d beq  0x00000006 , 0x00000041 
+ 00000044  0x0000005e copy  0x0000003f , 0x00000002 
+ 00000045  0x0000005f copy  0x00000006 , 0x00000011 
+ 00000046  0x00000060 fetch  0x00000001 , 0x00004040 
+ 00000047  0x00000061 bbit0  0x00000000 , 0x00000034 
+ 00000048  0x00000062 copy  0x00000011 , 0x00000006 
+ 00000049  0x00000063 rtnmark0  0x00000009 
+ 00000050  0x00000064 copy  0x00000002 , 0x0000003f 
+ 00000051  0x00000065 rtn 
+ 00000052  0x00000068 copy  0x00000011 , 0x00000006 
+ 00000053  0x00000069 arg  0x000000f8 , 0x00000005 
+ 00000054  0x0000006a branch  0x0000008a 
+ 00000055  0x0000006d call  0x00000092 
+ 00000056  0x0000006e call  0x00000092 
+ 00000057  0x0000006f store  0x00000001 , 0x00000b7d 
+ 00000058  0x00000070 call  0x0000003c 
+ 00000059  0x00000071 branch  0x00007c33 
+ 00000060  0x00000073 call  0x00000095 
+ 00000061  0x00000074 copy  0x00000006 , 0x00000002 
+ 00000062  0x00000075 byteswap  0x00000002 , 0x00000002 
+ 00000063  0x00000076 storet  0x00000002 , 0x00004b9a 
+ 00000064  0x00000077 rtn 
+ 00000065  0x0000007a arg  0x00000cd5 , 0x00000005 
+ 00000066  0x0000007b branch  0x0000008a 
+ 00000067  0x0000007e fetcht  0x00000004 , 0x00004d4c 
+ 00000068  0x0000007f copy  0x00000022 , 0x0000003f 
+ 00000069  0x00000080 isub  0x00000002 , 0x0000003f 
+ 00000070  0x00000081 fetcht  0x00000002 , 0x00004d50 
+ 00000071  0x00000082 idiv  0x00000002 
+ 00000072  0x00000083 call  0x00007efd 
+ 00000073  0x00000084 quotient  0x0000003f 
+ 00000074  0x00000085 rtn  0x00000034 
+ 00000075  0x00000086 copy  0x00000022 , 0x00000002 
+ 00000076  0x00000087 storet  0x00000004 , 0x00004d4c 
+ 00000077  0x00000088 fetch  0x00000001 , 0x00004d52 
+ 00000078  0x00000089 increase  0x00000001 , 0x0000003f 
+ 00000079  0x0000008a store  0x00000001 , 0x00004d52 
+ 00000080  0x0000008b rtn 
+ 00000081  0x00000090 fetcht  0x00000004 , 0x00004c59 
+ 00000082  0x00000091 copy  0x00000022 , 0x0000003f 
+ 00000083  0x00000092 isub  0x00000002 , 0x0000003f 
+ 00000084  0x00000094 arg  0x00000640 , 0x00000002 
+ 00000085  0x00000095 idiv  0x00000002 
+ 00000086  0x00000096 call  0x00007efd 
+ 00000087  0x00000097 quotient  0x0000003f 
+ 00000088  0x00000098 rtn  0x00000034 
+ 00000089  0x00000099 copy  0x00000022 , 0x00000002 
+ 00000090  0x0000009a storet  0x00000004 , 0x00004c59 
+ 00000091  0x0000009b fetcht  0x00000002 , 0x00004ba5 
+ 00000092  0x0000009c byteswap  0x00000002 , 0x00000002 
+ 00000093  0x0000009d iadd  0x00000002 , 0x0000003f 
+ 00000094  0x0000009e byteswap  0x0000003f , 0x0000003f 
+ 00000095  0x0000009f store  0x00000002 , 0x00004ba5 
+ 00000096  0x000000a0 byteswap  0x0000003f , 0x0000003f 
+ 00000097  0x000000a1 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00000098  0x000000a2 rtnne  0x00000000 
+ 00000099  0x000000a3 fetch  0x00000001 , 0x00004c8f 
+ 00000100  0x000000a4 bbit1  0x00000000 , 0x0000006e 
+ 00000101  0x000000a5 bbit1  0x00000001 , 0x00000070 
+ 00000102  0x000000a7 arg  0x00000000 , 0x00000011 
+ 00000103  0x000000a8 call  0x00000081 
+ 00000104  0x000000a9 hjam  0x0000008f , 0x00008971 
+ 00000105  0x000000aa fetch  0x00000001 , 0x00004c90 
+ 00000106  0x000000ab hstore  0x00000001 , 0x00008973 
+ 00000107  0x000000ac call  0x00000071 
+ 00000108  0x000000ad arg  0x00000001 , 0x00000011 
+ 00000109  0x000000ae branch  0x00000081 
+ 00000110  0x000000b2 hjam  0x000000bf , 0x00008971 
+ 00000111  0x000000b3 branch  0x00000071 
+ 00000112  0x000000b6 hjam  0x000000af , 0x00008971 
+ 00000113  0x000000b8 hfetch  0x00000001 , 0x00008053 
+ 00000114  0x000000b9 set1  0x00000007 , 0x0000003f 
+ 00000115  0x000000ba hstore  0x00000001 , 0x00008053 
+ 00000116  0x000000bb hfetch  0x00000001 , 0x00008973 
+ 00000117  0x000000bc or_into  0x00000030 , 0x0000003f 
+ 00000118  0x000000bd hstore  0x00000001 , 0x00008973 
+ 00000119  0x000000be hjam  0x0000007c , 0x00008906 
+ 00000120  0x000000bf hjam  0x000000aa , 0x00008972 
+ 00000121  0x000000c0 nop  0x00001388 
+ 00000122  0x000000c1 hfetcht  0x00000002 , 0x00008150 
+ 00000123  0x000000c2 hfetch  0x00000001 , 0x00008053 
+ 00000124  0x000000c3 set0  0x00000007 , 0x0000003f 
+ 00000125  0x000000c4 hstore  0x00000001 , 0x00008053 
+ 00000126  0x000000c5 byteswap  0x00000002 , 0x00000002 
+ 00000127  0x000000c6 storet  0x00000002 , 0x00004c95 
+ 00000128  0x000000c7 rtn 
+ 00000129  0x000000cb arg  0x00000021 , 0x00000002 
+ 00000130  0x000000cc fetch  0x00000001 , 0x00004c90 
+ 00000131  0x000000cd isub  0x00000002 , 0x00000002 
+ 00000132  0x000000ce copy  0x00000011 , 0x0000003f 
+ 00000133  0x000000cf set1  0x00000007 , 0x00000002 
+ 00000134  0x000000d0 nbranch  0x00000088 , 0x00000034 
+ 00000135  0x000000d1 set0  0x00000007 , 0x00000002 
+ 00000136  0x000000d3 arg  0x00008078 , 0x00000005 
+ 00000137  0x000000d4 branch  0x000069f4 
+ 00000138  0x000000d9 call  0x00000092 
+ 00000139  0x000000da copy  0x0000003f , 0x00000039 
+ 00000140  0x000000dc call  0x0000008e 
+ 00000141  0x000000dd branch  0x0000003c 
+ 00000142  0x000000e0 call  0x00000092 
+ 00000143  0x000000e1 istore  0x00000001 , 0x00000005 
+ 00000144  0x000000e2 loop  0x0000008e 
+ 00000145  0x000000e3 rtn 
+ 00000146  0x000000e6 call  0x00000095 
+ 00000147  0x000000e7 ifetch  0x00000001 , 0x00000006 
+ 00000148  0x000000e8 rtn 
+ 00000149  0x000000eb setarg  0x00004b36 
+ 00000150  0x000000ec isub  0x00000006 , 0x0000003e 
+ 00000151  0x000000ed nrtn  0x00000005 
+ 00000152  0x000000ee arg  0x00004aa0 , 0x00000006 
+ 00000153  0x000000ef rtn 
+ 00000154  0x000000f2 arg  0x00000003 , 0x00000039 
+ 00000155  0x000000f3 arg  0x00004ba2 , 0x00000006 
+ 00000156  0x000000f5 copy  0x00000006 , 0x00000011 
+ 00000157  0x000000f6 fetch  0x00000002 , 0x00004ba0 
+ 00000158  0x000000f7 byteswap  0x0000003f , 0x0000003f 
+ 00000159  0x000000f8 copy  0x0000003f , 0x00000005 
+ 00000160  0x000000f9 copy  0x00000011 , 0x00000006 
+ 00000161  0x000000fb ifetch  0x00000001 , 0x00000006 
+ 00000162  0x000000fc istore  0x00000001 , 0x00000005 
+ 00000163  0x000000fd call  0x000000a9 
+ 00000164  0x000000fe loop  0x000000a1 
+ 00000165  0x000000ff copy  0x00000005 , 0x0000003f 
+ 00000166  0x00000100 byteswap  0x0000003f , 0x0000003f 
+ 00000167  0x00000101 store  0x00000002 , 0x00004ba0 
+ 00000168  0x00000102 rtn 
+ 00000169  0x00000104 setarg  0x00004b9a 
+ 00000170  0x00000105 isub  0x00000005 , 0x0000003e 
+ 00000171  0x00000106 nrtn  0x00000005 
+ 00000172  0x00000107 arg  0x00004b36 , 0x00000005 
+ 00000173  0x00000108 rtn 
+ 00000174  0x0000010c fetch  0x00000002 , 0x00004b9e 
+ 00000175  0x0000010d fetcht  0x00000002 , 0x00004ba0 
+ 00000176  0x0000010e branch  0x000000b3 
+ 00000177  0x00000110 fetch  0x00000002 , 0x00004b9a 
+ 00000178  0x00000111 fetcht  0x00000002 , 0x00004b9c 
+ 00000179  0x00000113 isub  0x00000002 , 0x0000003e 
+ 00000180  0x00000114 branch  0x000069b1 , 0x00000005 
+ 00000181  0x00000115 branch  0x0000320b 
+ 00000182  0x00000119 copy  0x00000022 , 0x0000003f 
+ 00000183  0x0000011a store  0x00000004 , 0x00004d48 
+ 00000184  0x0000011b fetcht  0x00000001 , 0x000047ef 
+ 00000185  0x0000011c fetch  0x00000001 , 0x00004d4b 
+ 00000186  0x0000011d isub  0x00000002 , 0x0000003e 
+ 00000187  0x0000011e ncall  0x000000bd , 0x00000002 
+ 00000188  0x0000011f branch  0x00007c06 
+ 00000189  0x00000122 fetcht  0x00000004 , 0x00004d48 
+ 00000190  0x00000123 storet  0x00000004 , 0x000047ec 
+ 00000191  0x00000124 storet  0x00000004 , 0x00004c59 
+ 00000192  0x00000125 storet  0x00000004 , 0x00004d4c 
+ 00000193  0x00000126 rtn 
+ 00000194  0x0000012b storet  0x00000001 , 0x00000259 
+ 00000195  0x0000012c fetch  0x00000001 , 0x00004c8d 
+ 00000196  0x0000012d increase  0x00000001 , 0x0000003f 
+ 00000197  0x0000012e store  0x00000001 , 0x00004c8d 
+ 00000198  0x00000130 fetch  0x00000001 , 0x00000259 
+ 00000199  0x00000131 rtn  0x00000034 
+ 00000200  0x00000132 increase  0xffffffff , 0x0000003f 
+ 00000201  0x00000133 store  0x00000001 , 0x00000259 
+ 00000202  0x00000135 call  0x000000cc 
+ 00000203  0x00000136 branch  0x000000c6 
+ 00000204  0x00000139 fetch  0x00000001 , 0x00004c15 
+ 00000205  0x0000013a rtn  0x00000034 
+ 00000206  0x0000013b increase  0xffffffff , 0x0000003f 
+ 00000207  0x0000013c store  0x00000001 , 0x00004c15 
+ 00000208  0x0000013d rtn 
+ 00000209  0x00000141 copy  0x00000013 , 0x0000003f 
+ 00000210  0x00000142 and_into  0x000000f0 , 0x0000003f 
+ 00000211  0x00000143 rtneq  0x00000050 
+ 00000212  0x00000144 copy  0x00000013 , 0x0000003f 
+ 00000213  0x00000145 rtn  0x00000034 
+ 00000214  0x00000146 store  0x00000001 , 0x00004ba4 
+ 00000215  0x00000147 branch  0x0000009a 
+ 00000216  0x00000150 call  0x00003b36 
+ 00000217  0x00000151 branch  0x00003cdc 
+ 00000218  0x00000154 jam  0x0000007f , 0x0000416e 
+ 00000219  0x00000155 call  0x00003cf3 
+ 00000220  0x00000156 fetch  0x00000001 , 0x00004c97 
+ 00000221  0x00000157 rtn  0x00000034 
+ 00000222  0x00000158 jam  0x00000000 , 0x00004c97 
+ 00000223  0x00000159 copy  0x00000022 , 0x0000003f 
+ 00000224  0x0000015a store  0x00000004 , 0x00004c59 
+ 00000225  0x0000015b rtn 
+ 00000226  0x00000160 fetch  0x00000001 , 0x00004219 
+ 00000227  0x00000161 nrtn  0x00000034 
+ 00000228  0x00000162 hjam  0x00000006 , 0x00008042 
+ 00000229  0x00000163 setarg  0x00000f0c 
+ 00000230  0x00000164 call  0x00003da7 
+ 00000231  0x00000165 setarg  0x00030d40 
+ 00000232  0x00000166 call  0x00003bf3 
+ 00000233  0x00000167 until  0x0000003e , 0x00000033 
+ 00000234  0x00000168 copy  0x00000031 , 0x00000030 
+ 00000235  0x00000169 call  0x00003b36 
+ 00000236  0x0000016a nop  0x00001388 
+ 00000237  0x0000016b branch  0x00003d9d 
+ 00000238  0x0000016f rtnmark1  0x00000023 
+ 00000239  0x00000170 fetch  0x00000002 , 0x000047f4 
+ 00000240  0x00000171 bbit1  0x00000009 , 0x00003d1e 
+ 00000241  0x00000172 call  0x00003cab 
+ 00000242  0x00000173 fetch  0x00000003 , 0x00004210 
+ 00000243  0x00000174 rtn  0x00000034 
+ 00000244  0x00000177 fetch  0x00000001 , 0x00004131 
+ 00000245  0x00000178 rtn  0x00000034 
+ 00000246  0x0000017a call  0x0000527e 
+ 00000247  0x0000017b nrtn  0x00000034 
+ 00000248  0x0000017c call  0x00003dca 
+ 00000249  0x0000017d nrtn  0x00000034 
+ 00000250  0x0000017e call  0x00003b36 
+ 00000251  0x0000017f fetch  0x00000001 , 0x000047dc 
+ 00000252  0x00000180 branch  0x00003d25 , 0x00000034 
+ 00000253  0x00000181 fetch  0x00000001 , 0x00004793 
+ 00000254  0x00000182 rtn  0x00000034 
+ 00000255  0x00000183 branch  0x00003d25 
+ 00000256  0x00000186 call  0x000000b1 
+ 00000257  0x00000187 nrtn  0x00000028 
+ 00000258  0x00000188 call  0x000000ae 
+ 00000259  0x00000189 nrtn  0x00000028 
+ 00000260  0x0000018a jam  0x00000001 , 0x00000b7f 
+ 00000261  0x0000018b jam  0x00000001 , 0x00000b7e 
+ 00000262  0x0000018c call  0x0000010d 
+ 00000263  0x0000018d branch  0x000000b1 
+ 00000264  0x00000190 call  0x00000100 
+ 00000265  0x00000191 nrtn  0x00000028 
+ 00000266  0x00000192 fetch  0x00000001 , 0x00000b7f 
+ 00000267  0x00000193 nrtn  0x00000034 
+ 00000268  0x00000194 branch  0x00003d2d 
+ 00000269  0x00000197 fetch  0x00000001 , 0x00000b7e 
+ 00000270  0x00000198 nop  0x0000000a 
+ 00000271  0x00000199 bne  0x00000000 , 0x0000010d 
+ 00000272  0x0000019a rtn 
+ 00000273  0x0000019e call  0x00000100 
+ 00000274  0x0000019f nrtn  0x00000028 
+ 00000275  0x000001a0 fetch  0x00000001 , 0x00000b7f 
+ 00000276  0x000001a1 nrtn  0x00000034 
+ 00000277  0x000001a2 branch  0x00003d4f 
+ 00000278  0x000001a7 call  0x00000118 
+ 00000279  0x000001a8 branch  0x00003aaf 
+ 00000280  0x000001aa fetch  0x00000001 , 0x00004219 
+ 00000281  0x000001ab nbranch  0x0000011e , 0x00000034 
+ 00000282  0x000001ac call  0x00003d91 
+ 00000283  0x000001ad nop  0x00007530 
+ 00000284  0x000001ae nop  0x00007530 
+ 00000285  0x000001af nop  0x00007530 
+ 00000286  0x000001b1 call  0x00003b0a 
+ 00000287  0x000001b2 hjam  0x00000004 , 0x00008042 
+ 00000288  0x000001b3 hfetch  0x00000001 , 0x0000896b 
+ 00000289  0x000001b4 and_into  0x000000cf , 0x0000003f 
+ 00000290  0x000001b5 hstore  0x00000001 , 0x0000896b 
+ 00000291  0x000001b6 or_into  0x00000030 , 0x0000003f 
+ 00000292  0x000001b7 hstore  0x00000001 , 0x0000896b 
+ 00000293  0x000001b8 rtn 
+ 00000294  0x000001bd storet  0x00000001 , 0x00000017 
+ 00000295  0x000001be add  0x00000002 , 0x00000004 , 0x00000011 
+ 00000296  0x000001bf branch  0x00003a86 
+ 00000297  0x000001c2 storet  0x00000001 , 0x00000017 
+ 00000298  0x000001c3 add  0x00000002 , 0x00000000 , 0x00000011 
+ 00000299  0x000001c4 branch  0x00003ab6 
+ 00000300  0x000001c7 call  0x00000129 
+ 00000301  0x000001c8 setarg  0x00000500 
+ 00000302  0x000001c9 call  0x00003bf3 
+ 00000303  0x000001cb hjam  0x00000001 , 0x00008906 
+ 00000304  0x000001cc hjam  0x0000003c , 0x00008900 
+ 00000305  0x000001cd hjam  0x000000e0 , 0x00008901 
+ 00000306  0x000001ce hjam  0x00000012 , 0x0000096d 
+ 00000307  0x000001cf nop  0x0000000a 
+ 00000308  0x000001d0 hjam  0x00000001 , 0x00008902 
+ 00000309  0x000001d1 hjam  0x0000003d , 0x00008902 
+ 00000310  0x000001d2 nop  0x0000000a 
+ 00000311  0x000001d3 hjam  0x000000b7 , 0x00008903 
+ 00000312  0x000001d4 nop  0x0000000a 
+ 00000313  0x000001d5 hjam  0x0000007d , 0x00008902 
+ 00000314  0x000001d6 fetch  0x00000001 , 0x00004bef 
+ 00000315  0x000001d7 bne  0x000000ff , 0x00000144 
+ 00000316  0x000001d8 fetch  0x00000005 , 0x00004a91 
+ 00000317  0x000001d9 istore  0x00000005 , 0x00000005 
+ 00000318  0x000001da ifetch  0x00000005 , 0x00000006 
+ 00000319  0x000001db istore  0x00000005 , 0x00000005 
+ 00000320  0x000001dc hjam  0x000000df , 0x00000956 
+ 00000321  0x000001dd call  0x0000014b 
+ 00000322  0x000001de hjam  0x000000df , 0x00000955 
+ 00000323  0x000001df rtn 
+ 00000324  0x000001e2 fetch  0x00000005 , 0x00004a87 
+ 00000325  0x000001e3 istore  0x00000005 , 0x00000005 
+ 00000326  0x000001e4 ifetch  0x00000005 , 0x00000006 
+ 00000327  0x000001e5 istore  0x00000005 , 0x00000005 
+ 00000328  0x000001e6 hjam  0x000000c2 , 0x00000956 
+ 00000329  0x000001e7 hjam  0x000000d0 , 0x00000955 
+ 00000330  0x000001e8 rtn 
+ 00000331  0x000001ef nop  0x00000004 
+ 00000332  0x000001f0 hjam  0x000000d1 , 0x00000955 
+ 00000333  0x000001f1 nop  0x00000004 
+ 00000334  0x000001f2 hjam  0x000000d2 , 0x00000955 
+ 00000335  0x000001f3 nop  0x00000004 
+ 00000336  0x000001f4 hjam  0x000000d4 , 0x00000955 
+ 00000337  0x000001f5 nop  0x00000004 
+ 00000338  0x000001f8 rtn 
+ 00000339  0x000001fb hjam  0x000000d4 , 0x00000955 
+ 00000340  0x000001fc nop  0x00000004 
+ 00000341  0x000001fd hjam  0x000000d2 , 0x00000955 
+ 00000342  0x000001fe nop  0x00000004 
+ 00000343  0x000001ff hjam  0x000000d1 , 0x00000955 
+ 00000344  0x00000200 nop  0x00000004 
+ 00000345  0x00000201 hjam  0x000000d0 , 0x00000955 
+ 00000346  0x00000202 hjam  0x000000c0 , 0x00000956 
+ 00000347  0x00000203 rtn 
+ 00000348  0x00000206 branch  0x00003a6f , 0x00000021 
+ 00000349  0x00000207 call  0x00000153 
+ 00000350  0x00000208 branch  0x00003a6f 
+ 00000351  0x0000020c enable  0x00000028 
+ 00000352  0x0000020d hfetch  0x00000004 , 0x00008138 
+ 00000353  0x0000020e setflag  0x00000028 , 0x0000001a , 0x0000003f 
+ 00000354  0x0000020f hstore  0x00000004 , 0x0000804c 
+ 00000355  0x00000210 call  0x00003db0 
+ 00000356  0x00000211 jam  0x00000001 , 0x000000a2 
+ 00000357  0x00000213 rtn 
+ 00000358  0x00000217 jam  0x00000000 , 0x00000b7e 
+ 00000359  0x00000218 jam  0x00000006 , 0x00000177 
+ 00000360  0x00000219 call  0x00003fa4 
+ 00000361  0x0000021a setarg  0x00000165 
+ 00000362  0x0000021b store  0x00000002 , 0x0000428a 
+ 00000363  0x0000021c setarg  0x000000d1 
+ 00000364  0x0000021d store  0x00000002 , 0x00004292 
+ 00000365  0x0000021e setarg  0x000001d6 
+ 00000366  0x0000021f store  0x00000002 , 0x00004290 
+ 00000367  0x00000220 setarg  0x00000024 
+ 00000368  0x00000221 store  0x00000002 , 0x0000428c 
+ 00000369  0x00000222 setarg  0x0000015f 
+ 00000370  0x00000223 store  0x00000002 , 0x00004288 
+ 00000371  0x00000224 setarg  0x00004aa0 
+ 00000372  0x00000225 byteswap  0x0000003f , 0x0000003f 
+ 00000373  0x00000226 store  0x00000002 , 0x00004b9a 
+ 00000374  0x00000227 store  0x00000002 , 0x00004b9c 
+ 00000375  0x00000228 call  0x00003e0b 
+ 00000376  0x00000229 setarg  0x00004b36 
+ 00000377  0x0000022a byteswap  0x0000003f , 0x0000003f 
+ 00000378  0x0000022b store  0x00000002 , 0x00004b9e 
+ 00000379  0x0000022c store  0x00000002 , 0x00004ba0 
+ 00000380  0x0000022d fetch  0x00000001 , 0x00004c97 
+ 00000381  0x0000022e beq  0x0000005a , 0x00000194 
+ 00000382  0x0000022f branch  0x00000192 , 0x0000002b 
+ 00000383  0x00000230 fetch  0x00000002 , 0x00004c91 
+ 00000384  0x00000231 byteswap  0x0000003f , 0x0000003f 
+ 00000385  0x00000232 store  0x00000002 , 0x00004c91 
+ 00000386  0x00000233 fetch  0x00000002 , 0x00004c93 
+ 00000387  0x00000234 byteswap  0x0000003f , 0x0000003f 
+ 00000388  0x00000235 store  0x00000002 , 0x00004c93 
+ 00000389  0x00000236 call  0x0000019f 
+ 00000390  0x00000237 fetch  0x00000008 , 0x000002a0 
+ 00000391  0x00000238 nbranch  0x0000018c , 0x00000034 
+ 00000392  0x00000239 fetch  0x00000002 , 0x00004ad4 
+ 00000393  0x0000023a byteswap  0x0000003f , 0x0000003f 
+ 00000394  0x0000023b branch  0x0000018c , 0x00000034 
+ 00000395  0x0000023c store  0x00000002 , 0x00004c93 
+ 00000396  0x0000023e call  0x000001f1 
+ 00000397  0x0000023f jam  0x0000002f , 0x00004ba4 
+ 00000398  0x00000241 call  0x0000009a 
+ 00000399  0x00000242 jam  0x00000000 , 0x00004c97 
+ 00000400  0x00000243 hjam  0x00000003 , 0x00008280 
+ 00000401  0x00000244 rtn 
+ 00000402  0x00000246 jam  0x00000030 , 0x00004ba4 
+ 00000403  0x00000247 branch  0x0000018e 
+ 00000404  0x00000249 copy  0x00000027 , 0x0000003f 
+ 00000405  0x0000024a branch  0x000001d9 , 0x00000034 
+ 00000406  0x0000024b call  0x00005b63 
+ 00000407  0x0000024c call  0x00004d99 
+ 00000408  0x0000024d setarg  0x00000000 
+ 00000409  0x0000024e store  0x00000008 , 0x00004040 
+ 00000410  0x0000024f store  0x00000002 , 0x000047f4 
+ 00000411  0x00000250 copy  0x00000022 , 0x0000003f 
+ 00000412  0x00000251 store  0x00000004 , 0x00004c59 
+ 00000413  0x00000252 jam  0x00000033 , 0x00004ba4 
+ 00000414  0x00000253 branch  0x0000018e 
+ 00000415  0x00000256 call  0x0000688a 
+ 00000416  0x00000257 setarg  0x000007e2 
+ 00000417  0x00000258 arg  0x000002a0 , 0x00000011 
+ 00000418  0x00000259 arg  0x0000000c , 0x00000002 
+ 00000419  0x0000025a call  0x000068d3 
+ 00000420  0x0000025b call  0x0000688d 
+ 00000421  0x0000025c fetch  0x00000008 , 0x000002a0 
+ 00000422  0x0000025d rtn  0x00000034 
+ 00000423  0x0000025e fetch  0x00000001 , 0x00004c8f 
+ 00000424  0x0000025f bbit1  0x00000000 , 0x000001b1 
+ 00000425  0x00000260 bbit1  0x00000001 , 0x000001bf 
+ 00000426  0x00000262 fetch  0x00000002 , 0x000002a0 
+ 00000427  0x00000263 byteswap  0x0000003f , 0x0000003f 
+ 00000428  0x00000264 store  0x00000002 , 0x00004c91 
+ 00000429  0x00000265 fetch  0x00000002 , 0x000002a6 
+ 00000430  0x00000266 byteswap  0x0000003f , 0x0000003f 
+ 00000431  0x00000267 store  0x00000002 , 0x00004c93 
+ 00000432  0x00000268 rtn 
+ 00000433  0x0000026a fetcht  0x00000002 , 0x000002a4 
+ 00000434  0x0000026b fetch  0x00000002 , 0x000002aa 
+ 00000435  0x0000026c copy  0x00000002 , 0x00000012 
+ 00000436  0x0000026d copy  0x0000003f , 0x00000011 
+ 00000437  0x0000026e byteswap  0x0000003f , 0x0000003f 
+ 00000438  0x0000026f store  0x00000002 , 0x00004c93 
+ 00000439  0x00000270 copy  0x00000011 , 0x0000003f 
+ 00000440  0x00000271 isub  0x00000002 , 0x00000013 
+ 00000441  0x00000272 lshift  0x00000013 , 0x00000013 
+ 00000442  0x00000273 copy  0x00000012 , 0x0000003f 
+ 00000443  0x00000274 isub  0x00000013 , 0x0000003f 
+ 00000444  0x00000275 byteswap  0x0000003f , 0x0000003f 
+ 00000445  0x00000276 store  0x00000002 , 0x00004c91 
+ 00000446  0x00000277 rtn 
+ 00000447  0x0000027a fetcht  0x00000002 , 0x000002a2 
+ 00000448  0x0000027b fetch  0x00000002 , 0x000002a8 
+ 00000449  0x0000027c copy  0x00000002 , 0x00000012 
+ 00000450  0x0000027d copy  0x0000003f , 0x00000011 
+ 00000451  0x0000027e isub  0x00000002 , 0x00000013 
+ 00000452  0x0000027f rshift2  0x00000013 , 0x00000013 
+ 00000453  0x00000280 copy  0x00000012 , 0x0000003f 
+ 00000454  0x00000281 isub  0x00000013 , 0x0000003f 
+ 00000455  0x00000282 byteswap  0x0000003f , 0x0000003f 
+ 00000456  0x00000283 store  0x00000002 , 0x00004c91 
+ 00000457  0x00000284 lshift  0x00000013 , 0x00000013 
+ 00000458  0x00000285 copy  0x00000011 , 0x0000003f 
+ 00000459  0x00000286 isub  0x00000013 , 0x0000003f 
+ 00000460  0x00000287 byteswap  0x0000003f , 0x0000003f 
+ 00000461  0x00000288 store  0x00000002 , 0x00004c93 
+ 00000462  0x00000289 rtn 
+ 00000463  0x0000028d jam  0x00000027 , 0x00000016 
+ 00000464  0x0000028e hjam  0x00000036 , 0x0000090f 
+ 00000465  0x0000028f hjam  0x0000005f , 0x0000090b 
+ 00000466  0x00000290 branch  0x000053d4 
+ 00000467  0x00000292 hjam  0x0000002e , 0x0000090f 
+ 00000468  0x00000293 hjam  0x000000ff , 0x0000090b 
+ 00000469  0x00000294 branch  0x000053d9 
+ 00000470  0x00000298 rtn 
+ 00000471  0x0000029a jam  0x00000003 , 0x00000b7e 
+ 00000472  0x0000029b call  0x0000010d 
+ 00000473  0x0000029e jam  0x0000005a , 0x00004c97 
+ 00000474  0x0000029f call  0x00003db8 
+ 00000475  0x000002a0 hfetch  0x00000004 , 0x00008138 
+ 00000476  0x000002a1 set0  0x0000000f , 0x0000003f 
+ 00000477  0x000002a2 hstore  0x00000004 , 0x0000804c 
+ 00000478  0x000002a3 call  0x00003db0 
+ 00000479  0x000002a4 arg  0xffffffff , 0x00000002 
+ 00000480  0x000002a5 branch  0x00003cda 
+ 00000481  0x000002a9 call  0x00007c20 
+ 00000482  0x000002aa arg  0x000047e4 , 0x00000011 
+ 00000483  0x000002ab call  0x00007f9f 
+ 00000484  0x000002ac copy  0x0000003f , 0x00000002 
+ 00000485  0x000002ad call  0x00007c24 
+ 00000486  0x000002ae copy  0x00000002 , 0x0000003f 
+ 00000487  0x000002af rtn  0x00000034 
+ 00000488  0x000002b0 beq  0x00000021 , 0x000001ec 
+ 00000489  0x000002b1 beq  0x00000022 , 0x000001ee 
+ 00000490  0x000002b2 beq  0x00000023 , 0x0000027c 
+ 00000491  0x000002b4 branch  0x00007c5a 
+ 00000492  0x000002b6 jam  0x000000ff , 0x00004bef 
+ 00000493  0x000002b7 branch  0x000002af 
+ 00000494  0x000002b9 set0  0x00000023 , 0x00000000 
+ 00000495  0x000002ba jam  0x000000ff , 0x00004bef 
+ 00000496  0x000002bb branch  0x0000026a 
+ 00000497  0x000002c4 setarg  0x00000000 
+ 00000498  0x000002c5 store  0x00000004 , 0x00004ba9 
+ 00000499  0x000002c6 rtn 
+ 00000500  0x000002ca rtnmark0  0x00000023 
+ 00000501  0x000002cb call  0x00000218 
+ 00000502  0x000002cc nbranch  0x0000020b , 0x00000028 
+ 00000503  0x000002cd jam  0x0000000a , 0x00004c15 
+ 00000504  0x000002ce call  0x00000235 
+ 00000505  0x000002cf fetch  0x00000001 , 0x00004bef 
+ 00000506  0x000002d0 rtnne  0x000000ff 
+ 00000507  0x000002d1 jam  0x00000002 , 0x00004c3d 
+ 00000508  0x000002d3 fetch  0x00000001 , 0x00004d46 
+ 00000509  0x000002d4 nrtn  0x00000034 
+ 00000510  0x000002d5 call  0x00000100 
+ 00000511  0x000002d6 nrtn  0x00000028 
+ 00000512  0x000002d7 fetch  0x00000001 , 0x00000b7f 
+ 00000513  0x000002d8 nrtn  0x00000034 
+ 00000514  0x000002d9 call  0x00003cab 
+ 00000515  0x000002da fetch  0x00000003 , 0x00004210 
+ 00000516  0x000002db rtn  0x00000034 
+ 00000517  0x000002dc fetch  0x00000001 , 0x00004131 
+ 00000518  0x000002dd rtn  0x00000034 
+ 00000519  0x000002df setarg  0x0000e290 
+ 00000520  0x000002e1 call  0x00007e8a 
+ 00000521  0x000002e2 storet  0x00000004 , 0x000041fc 
+ 00000522  0x000002e3 branch  0x00003cda 
+ 00000523  0x000002e6 call  0x00000100 
+ 00000524  0x000002e7 nrtn  0x00000028 
+ 00000525  0x000002e8 fetch  0x00000001 , 0x00000b7f 
+ 00000526  0x000002e9 nrtn  0x00000034 
+ 00000527  0x000002ea call  0x00003cab 
+ 00000528  0x000002eb fetch  0x00000003 , 0x00004210 
+ 00000529  0x000002ec rtn  0x00000034 
+ 00000530  0x000002ed fetch  0x00000001 , 0x00004131 
+ 00000531  0x000002ee rtn  0x00000034 
+ 00000532  0x000002ef fetch  0x00000001 , 0x00004c15 
+ 00000533  0x000002f0 nbranch  0x00000207 , 0x00000034 
+ 00000534  0x000002f1 fetch  0x00000008 , 0x00004d3d 
+ 00000535  0x000002f2 branch  0x00000208 
+ 00000536  0x000002f5 fetch  0x00000001 , 0x00004bef 
+ 00000537  0x000002f6 bne  0x000000ff , 0x00000285 
+ 00000538  0x000002f7 call  0x0000021e 
+ 00000539  0x000002f8 call  0x000002f4 
+ 00000540  0x000002fa jam  0x00000001 , 0x00004be6 
+ 00000541  0x000002fb rtn 
+ 00000542  0x000002fe disable  0x00000028 
+ 00000543  0x000002ff jam  0x00000002 , 0x00004be2 
+ 00000544  0x00000300 fetch  0x00000001 , 0x00000cd5 
+ 00000545  0x00000301 beq  0x00000001 , 0x00000228 
+ 00000546  0x00000302 beq  0x00000002 , 0x0000022b 
+ 00000547  0x00000303 beq  0x00000003 , 0x00000231 
+ 00000548  0x00000304 beq  0x00000006 , 0x0000022e 
+ 00000549  0x00000305 fetch  0x00000001 , 0x00004d46 
+ 00000550  0x00000306 ncall  0x000034df , 0x00000034 
+ 00000551  0x00000307 rtn 
+ 00000552  0x00000309 jam  0x00000000 , 0x00000cd5 
+ 00000553  0x0000030a jam  0x0000000a , 0x00004be1 
+ 00000554  0x0000030b branch  0x00000233 
+ 00000555  0x0000030d jam  0x00000003 , 0x00000cd5 
+ 00000556  0x0000030e jam  0x00000004 , 0x00004be1 
+ 00000557  0x0000030f branch  0x00000233 
+ 00000558  0x00000311 jam  0x00000002 , 0x00000cd5 
+ 00000559  0x00000312 jam  0x00000003 , 0x00004be1 
+ 00000560  0x00000313 branch  0x00000233 
+ 00000561  0x00000315 jam  0x00000001 , 0x00004be2 
+ 00000562  0x00000316 jam  0x00000008 , 0x00004be1 
+ 00000563  0x00000318 jam  0x00000000 , 0x00004be7 
+ 00000564  0x00000319 branch  0x000034df 
+ 00000565  0x0000031e jam  0x00000000 , 0x00004be8 
+ 00000566  0x00000320 arg  0x00000d00 , 0x0000000b 
+ 00000567  0x00000321 until  0x00000023 , 0x00000026 
+ 00000568  0x00000322 call  0x0000025e 
+ 00000569  0x00000323 nbranch  0x00000245 , 0x0000002f 
+ 00000570  0x00000324 call  0x0000026d 
+ 00000571  0x00000325 fetch  0x00000001 , 0x00004be0 
+ 00000572  0x00000326 increase  0x00000001 , 0x0000003f 
+ 00000573  0x00000327 store  0x00000001 , 0x00004be0 
+ 00000574  0x00000328 jam  0x00000000 , 0x00004d46 
+ 00000575  0x00000329 fetch  0x00000001 , 0x00004bef 
+ 00000576  0x0000032a bne  0x000000ff , 0x0000025d 
+ 00000577  0x0000032c call  0x00000257 
+ 00000578  0x0000032d jam  0x00000000 , 0x00004be7 
+ 00000579  0x0000032e jam  0x00000000 , 0x00004be6 
+ 00000580  0x0000032f rtn 
+ 00000581  0x00000333 jam  0x00000001 , 0x00004d46 
+ 00000582  0x00000334 fetch  0x00000001 , 0x00004be7 
+ 00000583  0x00000335 increase  0x00000001 , 0x0000003f 
+ 00000584  0x00000336 store  0x00000001 , 0x00004be7 
+ 00000585  0x00000337 fetch  0x00000001 , 0x00004bef 
+ 00000586  0x00000338 bne  0x000000ff , 0x00000269 
+ 00000587  0x00000339 fetch  0x00000001 , 0x00004be7 
+ 00000588  0x0000033a beq  0x000000ff , 0x0000026a 
+ 00000589  0x0000033b fetch  0x00000001 , 0x00004be7 
+ 00000590  0x0000033c arg  0x00000010 , 0x00000002 
+ 00000591  0x0000033d isub  0x00000002 , 0x0000003e 
+ 00000592  0x0000033e branch  0x00000313 , 0x00000002 
+ 00000593  0x0000033f fetch  0x00000001 , 0x00004be8 
+ 00000594  0x00000340 increase  0x00000001 , 0x0000003f 
+ 00000595  0x00000341 store  0x00000001 , 0x00004be8 
+ 00000596  0x00000342 nop  0x0000000a 
+ 00000597  0x00000343 bne  0x00000007 , 0x00000236 
+ 00000598  0x00000344 branch  0x00000313 
+ 00000599  0x00000348 setarg  0x00000000 
+ 00000600  0x00000349 store  0x00000009 , 0x00000cd5 
+ 00000601  0x0000034a rtn 
+ 00000602  0x0000034d bmark0  0x00000023 , 0x000072b9 
+ 00000603  0x0000034e fetch  0x00000008 , 0x00000cd5 
+ 00000604  0x0000034f rtn 
+ 00000605  0x00000353 branch  0x0000029f 
+ 00000606  0x00000356 disable  0x0000002f 
+ 00000607  0x00000357 call  0x0000036c 
+ 00000608  0x0000035a force  0x00000000 , 0x00000015 
+ 00000609  0x0000035b fetch  0x00000004 , 0x00004c00 
+ 00000610  0x0000035c iforce  0x00000009 
+ 00000611  0x0000035d fetcht  0x00000001 , 0x00000017 
+ 00000612  0x0000035e call  0x00003a82 
+ 00000613  0x0000035f call  0x00003a87 
+ 00000614  0x00000360 call  0x0000032b 
+ 00000615  0x00000361 call  0x00000366 , 0x0000002f 
+ 00000616  0x00000362 rtn 
+ 00000617  0x0000036a rtn 
+ 00000618  0x0000036f jam  0x00000000 , 0x00004d46 
+ 00000619  0x00000370 jam  0x00000032 , 0x00000b7d 
+ 00000620  0x00000371 branch  0x00007c27 
+ 00000621  0x00000375 call  0x000002d4 
+ 00000622  0x00000376 fetch  0x00000001 , 0x00004bdf 
+ 00000623  0x00000377 rtn  0x00000034 
+ 00000624  0x00000378 iforce  0x00000039 
+ 00000625  0x00000379 call  0x00000275 
+ 00000626  0x0000037a arg  0x00000cb5 , 0x00000006 
+ 00000627  0x0000037b arg  0x00000d17 , 0x00000005 
+ 00000628  0x0000037c branch  0x00007e45 
+ 00000629  0x0000037f fetch  0x00000001 , 0x00000cb4 
+ 00000630  0x00000380 compare  0x00000008 , 0x0000003f , 0x000000f8 
+ 00000631  0x00000381 nrtn  0x00000001 
+ 00000632  0x00000382 fetcht  0x00000001 , 0x00000cb5 
+ 00000633  0x00000383 storet  0x00000001 , 0x00004cb7 
+ 00000634  0x00000384 jam  0x00000000 , 0x00004d47 
+ 00000635  0x00000385 rtn 
+ 00000636  0x00000389 set1  0x00000023 , 0x00000000 
+ 00000637  0x0000038a call  0x00000281 
+ 00000638  0x0000038b call  0x00000241 
+ 00000639  0x0000038c jam  0x00000001 , 0x00004bef 
+ 00000640  0x0000038d rtn 
+ 00000641  0x00000390 jam  0x00000000 , 0x00004be0 
+ 00000642  0x00000391 jam  0x0000004e , 0x00004be9 
+ 00000643  0x00000392 fetch  0x00000004 , 0x00004beb 
+ 00000644  0x00000393 branch  0x000002e6 
+ 00000645  0x00000396 call  0x00000281 
+ 00000646  0x00000397 fetch  0x00000001 , 0x00004be6 
+ 00000647  0x00000398 beq  0x00000001 , 0x000034df 
+ 00000648  0x00000399 fetch  0x00000001 , 0x00004bef 
+ 00000649  0x0000039a beq  0x00000001 , 0x0000028d 
+ 00000650  0x0000039b beq  0x00000002 , 0x00000290 
+ 00000651  0x0000039c beq  0x00000003 , 0x00000293 
+ 00000652  0x0000039d branch  0x00003bf1 
+ 00000653  0x000003a0 jam  0x00000011 , 0x00004bef 
+ 00000654  0x000003a1 jam  0x000000aa , 0x00000d37 
+ 00000655  0x000003a2 branch  0x00000295 
+ 00000656  0x000003a4 jam  0x00000012 , 0x00004bef 
+ 00000657  0x000003a5 jam  0x00000055 , 0x00000d37 
+ 00000658  0x000003a6 branch  0x00000295 
+ 00000659  0x000003a8 jam  0x00000013 , 0x00004bef 
+ 00000660  0x000003a9 jam  0x00000022 , 0x00000d37 
+ 00000661  0x000003ae jam  0x00000002 , 0x00000d38 
+ 00000662  0x000003af fetch  0x00000004 , 0x00004c06 
+ 00000663  0x000003b0 store  0x00000004 , 0x00000d39 
+ 00000664  0x000003b1 jam  0x00000000 , 0x00000d3d 
+ 00000665  0x000003b2 arg  0x00000d37 , 0x00000011 
+ 00000666  0x000003b3 arg  0x00000007 , 0x00000002 
+ 00000667  0x000003b4 call  0x000002cf 
+ 00000668  0x000003b5 call  0x000002f4 
+ 00000669  0x000003b6 call  0x0000021c 
+ 00000670  0x000003b7 branch  0x000034df 
+ 00000671  0x000003ba fetch  0x00000001 , 0x00004bef 
+ 00000672  0x000003bb rtneq  0x000000ff 
+ 00000673  0x000003bc beq  0x00000011 , 0x000002a5 
+ 00000674  0x000003bd beq  0x00000012 , 0x000002a7 
+ 00000675  0x000003be beq  0x00000013 , 0x000002a9 
+ 00000676  0x000003bf rtn 
+ 00000677  0x000003c3 jam  0x00000002 , 0x00004bef 
+ 00000678  0x000003c4 branch  0x00000241 
+ 00000679  0x000003c6 jam  0x00000003 , 0x00004bef 
+ 00000680  0x000003c7 branch  0x00000241 
+ 00000681  0x000003c9 jam  0x000000ff , 0x00004bef 
+ 00000682  0x000003ca jam  0x00000031 , 0x00000b7d 
+ 00000683  0x000003cb call  0x00007c27 
+ 00000684  0x000003cc fetch  0x00000004 , 0x00000d19 
+ 00000685  0x000003cd call  0x000002e6 
+ 00000686  0x000003ce branch  0x00000241 
+ 00000687  0x000003d1 rtnmark1  0x00000023 
+ 00000688  0x000003d2 call  0x000002e7 
+ 00000689  0x000003d3 call  0x00000313 
+ 00000690  0x000003d4 fetch  0x00000001 , 0x00004bef 
+ 00000691  0x000003d5 rtnne  0x000000ff 
+ 00000692  0x000003d6 call  0x000002c1 
+ 00000693  0x000003d7 setarg  0x00000000 
+ 00000694  0x000003d8 store  0x00000002 , 0x00004c04 
+ 00000695  0x000003da call  0x00003cab 
+ 00000696  0x000003db nop  0x000007d0 
+ 00000697  0x000003dc fetch  0x00000001 , 0x00004c04 
+ 00000698  0x000003dd beq  0x000000ff , 0x0000026a 
+ 00000699  0x000003de call  0x0000025e 
+ 00000700  0x000003df nbranch  0x000002ca , 0x0000002f 
+ 00000701  0x000003e1 call  0x00000257 
+ 00000702  0x000003e2 set1  0x00000023 , 0x00000000 
+ 00000703  0x000003e3 jam  0x0000003c , 0x00000b7d 
+ 00000704  0x000003e4 branch  0x00007c27 
+ 00000705  0x000003e8 jam  0x000000ff , 0x00000d37 
+ 00000706  0x000003e9 fetch  0x00000001 , 0x00004be2 
+ 00000707  0x000003ea store  0x00000001 , 0x00000d38 
+ 00000708  0x000003eb fetch  0x00000004 , 0x00004c06 
+ 00000709  0x000003ec store  0x00000004 , 0x00000d39 
+ 00000710  0x000003ed arg  0x00000006 , 0x00000002 
+ 00000711  0x000003ee arg  0x00000d37 , 0x00000011 
+ 00000712  0x000003ef call  0x000002cf 
+ 00000713  0x000003f0 branch  0x000002f4 
+ 00000714  0x000003f3 fetch  0x00000002 , 0x00004c04 
+ 00000715  0x000003f4 increase  0x00000001 , 0x0000003f 
+ 00000716  0x000003f5 store  0x00000002 , 0x00004c04 
+ 00000717  0x000003f6 call  0x00000313 
+ 00000718  0x000003f7 branch  0x000002b7 
+ 00000719  0x000003fb storet  0x00000001 , 0x00004be1 
+ 00000720  0x000003fc copy  0x00000002 , 0x00000039 
+ 00000721  0x000003fd arg  0x00000cd5 , 0x00000005 
+ 00000722  0x000003fe copy  0x00000011 , 0x00000006 
+ 00000723  0x000003ff branch  0x00007e45 
+ 00000724  0x00000403 fetch  0x00000001 , 0x00000cb4 
+ 00000725  0x00000404 rshift3  0x0000003f , 0x0000003f 
+ 00000726  0x00000405 store  0x00000001 , 0x00004bdf 
+ 00000727  0x00000407 increase  0x00000001 , 0x0000003f 
+ 00000728  0x00000408 arg  0x00000cb4 , 0x00000006 
+ 00000729  0x00000409 iadd  0x00000006 , 0x00000006 
+ 00000730  0x0000040a ifetch  0x00000003 , 0x00000006 
+ 00000731  0x0000040b store  0x00000003 , 0x00004c0b 
+ 00000732  0x0000040c rtn 
+ 00000733  0x0000040f fetcht  0x00000001 , 0x00004c3c 
+ 00000734  0x00000410 setarg  0x00004c2b 
+ 00000735  0x00000411 iadd  0x00000002 , 0x00000005 
+ 00000736  0x00000412 copy  0x00000011 , 0x0000003f 
+ 00000737  0x00000413 istore  0x00000001 , 0x00000005 
+ 00000738  0x00000414 increase  0x00000001 , 0x00000002 
+ 00000739  0x00000415 and_into  0x00000007 , 0x00000002 
+ 00000740  0x00000416 storet  0x00000001 , 0x00004c3c 
+ 00000741  0x00000417 rtn 
+ 00000742  0x0000042c store  0x00000004 , 0x00004c00 
+ 00000743  0x00000430 arg  0x00000000 , 0x00000011 
+ 00000744  0x00000431 arg  0x00000004 , 0x00000039 
+ 00000745  0x00000432 arg  0x00004c00 , 0x00000006 
+ 00000746  0x00000434 ifetch  0x00000001 , 0x00000006 
+ 00000747  0x00000435 iadd  0x00000011 , 0x00000011 
+ 00000748  0x00000436 loop  0x000002ea 
+ 00000749  0x00000437 copy  0x00000011 , 0x0000003f 
+ 00000750  0x00000438 store  0x00000002 , 0x00004c16 
+ 00000751  0x00000439 fetch  0x00000001 , 0x00004c16 
+ 00000752  0x0000043a fetcht  0x00000001 , 0x00004c17 
+ 00000753  0x0000043b iadd  0x00000002 , 0x0000003f 
+ 00000754  0x0000043c store  0x00000001 , 0x00004c18 
+ 00000755  0x0000043d rtn 
+ 00000756  0x00000442 fetch  0x00000001 , 0x00004be1 
+ 00000757  0x00000443 increase  0x00000002 , 0x0000003f 
+ 00000758  0x00000444 store  0x00000001 , 0x00004be3 
+ 00000759  0x00000446 fetch  0x00000001 , 0x00004be2 
+ 00000760  0x00000447 store  0x00000001 , 0x00000cf5 
+ 00000761  0x00000449 fetch  0x00000001 , 0x00004be1 
+ 00000762  0x0000044a lshift3  0x0000003f , 0x0000003f 
+ 00000763  0x0000044b fetcht  0x00000001 , 0x00004be0 
+ 00000764  0x0000044c and  0x00000002 , 0x00000003 , 0x00000002 
+ 00000765  0x0000044d lshift  0x00000002 , 0x00000002 
+ 00000766  0x0000044e ior  0x00000002 , 0x0000003f 
+ 00000767  0x0000044f fetcht  0x00000001 , 0x00004c0a 
+ 00000768  0x00000450 iadd  0x00000002 , 0x0000003f 
+ 00000769  0x00000451 istore  0x00000001 , 0x00000005 
+ 00000770  0x00000453 fetch  0x00000001 , 0x00004bef 
+ 00000771  0x00000454 bne  0x000000ff , 0x00000306 
+ 00000772  0x00000455 fetch  0x00000001 , 0x00004be2 
+ 00000773  0x00000456 istore  0x00000001 , 0x00000005 
+ 00000774  0x00000458 fetch  0x00000001 , 0x00004be1 
+ 00000775  0x00000459 iforce  0x00000039 
+ 00000776  0x0000045a fetch  0x00000001 , 0x00004be2 
+ 00000777  0x0000045b beq  0x00000001 , 0x00000311 
+ 00000778  0x0000045c arg  0x00000cd5 , 0x00000006 
+ 00000779  0x0000045d call  0x00007e45 
+ 00000780  0x00000461 fetch  0x00000001 , 0x00000cd5 
+ 00000781  0x00000462 beq  0x00000003 , 0x0000030f 
+ 00000782  0x00000463 rtn 
+ 00000783  0x00000465 jam  0x00000002 , 0x00000cd5 
+ 00000784  0x00000466 rtn 
+ 00000785  0x0000046a arg  0x00000cd6 , 0x00000006 
+ 00000786  0x0000046b branch  0x00007e45 
+ 00000787  0x0000046e fetcht  0x00000001 , 0x00004bea 
+ 00000788  0x0000046f call  0x00000319 
+ 00000789  0x00000470 increase  0x00000001 , 0x00000002 
+ 00000790  0x00000471 and_into  0x00000003 , 0x00000002 
+ 00000791  0x00000472 storet  0x00000001 , 0x00004bea 
+ 00000792  0x00000473 rtn 
+ 00000793  0x00000476 fetch  0x00000001 , 0x00004c00 
+ 00000794  0x00000477 and_into  0x00000003 , 0x0000003f 
+ 00000795  0x00000478 mul32  0x0000003f , 0x00000004 , 0x00000011 
+ 00000796  0x00000479 setarg  0x00004bf0 
+ 00000797  0x0000047a iadd  0x00000011 , 0x0000003f 
+ 00000798  0x0000047b iadd  0x00000002 , 0x00000006 
+ 00000799  0x0000047c ifetch  0x00000001 , 0x00000006 
+ 00000800  0x0000047d store  0x00000001 , 0x00004be9 
+ 00000801  0x0000047e rtn 
+ 00000802  0x00000481 disable  0x00000009 
+ 00000803  0x00000482 disable  0x00000007 
+ 00000804  0x00000483 setarg  0x00555555 
+ 00000805  0x00000484 iforce  0x0000000f 
+ 00000806  0x00000485 fetch  0x00000001 , 0x00004be9 
+ 00000807  0x00000486 reverse  0x0000003f , 0x00000002 
+ 00000808  0x00000487 set1  0x00000001 , 0x00000002 
+ 00000809  0x00000488 rshift  0x00000002 , 0x0000000e 
+ 00000810  0x00000489 rtn 
+ 00000811  0x0000048c call  0x00000322 
+ 00000812  0x0000048d enable  0x0000000d 
+ 00000813  0x0000048e enable  0x00000021 
+ 00000814  0x0000048f disable  0x00000020 
+ 00000815  0x00000490 enable  0x00000010 
+ 00000816  0x00000491 fetch  0x00000002 , 0x00004be4 
+ 00000817  0x00000492 iforce  0x0000001b 
+ 00000818  0x00000493 correlate  0x0000003e , 0x00000003 
+ 00000819  0x00000494 nbranch  0x00000366 , 0x00000018 
+ 00000820  0x00000495 disable  0x0000000d 
+ 00000821  0x00000496 enable  0x0000000b 
+ 00000822  0x00000497 enable  0x00000007 
+ 00000823  0x00000498 enable  0x00000009 
+ 00000824  0x00000499 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00000825  0x0000049a rshift3  0x0000000c , 0x0000003f 
+ 00000826  0x0000049b store  0x00000001 , 0x00004c19 
+ 00000827  0x0000049c fetcht  0x00000001 , 0x00004c18 
+ 00000828  0x0000049d isub  0x00000002 , 0x0000003e 
+ 00000829  0x0000049e nbranch  0x00000366 , 0x00000005 
+ 00000830  0x0000049f parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00000831  0x000004a0 rshift3  0x0000000c , 0x0000003f 
+ 00000832  0x000004a1 store  0x00000001 , 0x00000cb3 
+ 00000833  0x000004a5 fetch  0x00000001 , 0x00000cb3 
+ 00000834  0x000004a6 fetcht  0x00000001 , 0x00004be2 
+ 00000835  0x000004a7 icompare  0x00000007 , 0x00000002 
+ 00000836  0x000004a8 nbranch  0x00000366 , 0x00000001 
+ 00000837  0x000004aa parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00000838  0x000004ab rshift3  0x0000000c , 0x0000003f 
+ 00000839  0x000004ac istore  0x00000001 , 0x00000005 
+ 00000840  0x000004ad rshift3  0x0000003f , 0x0000003f 
+ 00000841  0x000004ae and  0x0000003f , 0x0000001f , 0x00000039 
+ 00000842  0x000004af branch  0x0000034f , 0x00000005 
+ 00000843  0x000004b1 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00000844  0x000004b2 rshift3  0x0000000c , 0x0000003f 
+ 00000845  0x000004b3 istore  0x00000001 , 0x00000005 
+ 00000846  0x000004b4 loop  0x0000034b 
+ 00000847  0x000004b7 copy  0x00000005 , 0x00000011 
+ 00000848  0x000004b8 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00000849  0x000004b9 rshift3  0x0000000c , 0x0000003f 
+ 00000850  0x000004ba store  0x00000001 , 0x00004c2a 
+ 00000851  0x000004bb copy  0x00000011 , 0x00000005 
+ 00000852  0x000004bc parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00000853  0x000004bd enable  0x00000010 
+ 00000854  0x000004be arg  0x00000664 , 0x0000001b 
+ 00000855  0x000004bf rshift32  0x0000003f , 0x0000003f 
+ 00000856  0x000004c0 rshift16  0x0000003f , 0x0000003f 
+ 00000857  0x000004c1 istore  0x00000003 , 0x00000005 
+ 00000858  0x000004c2 disable  0x0000000b 
+ 00000859  0x000004c3 branch  0x00000366 , 0x00000006 
+ 00000860  0x000004c4 enable  0x0000002f 
+ 00000861  0x000004c5 fetch  0x00000001 , 0x00000017 
+ 00000862  0x000004c6 add  0x0000003f , 0x00000000 , 0x00000011 
+ 00000863  0x000004c7 call  0x00003ab6 
+ 00000864  0x000004c8 disable  0x0000000d 
+ 00000865  0x000004c9 call  0x00003a7a 
+ 00000866  0x000004ca fetch  0x00000001 , 0x00004c2a 
+ 00000867  0x000004cb copy  0x0000003f , 0x00000011 
+ 00000868  0x000004cc call  0x000002dd 
+ 00000869  0x000004cd rtn 
+ 00000870  0x000004d3 disable  0x0000001b 
+ 00000871  0x000004d4 disable  0x0000000b 
+ 00000872  0x000004d5 branch  0x0000375c 
+ 00000873  0x000004d8 call  0x00003a7a 
+ 00000874  0x000004d9 fetcht  0x00000001 , 0x00004be9 
+ 00000875  0x000004da branch  0x00003a91 
+ 00000876  0x000004dd call  0x000053d2 
+ 00000877  0x000004de fetch  0x00000004 , 0x00004c00 
+ 00000878  0x000004df iforce  0x00000009 
+ 00000879  0x000004e0 call  0x00000322 
+ 00000880  0x000004e1 call  0x00000369 
+ 00000881  0x000004e2 set1  0x00000000 , 0x00000015 
+ 00000882  0x000004e3 enable  0x0000001d 
+ 00000883  0x000004e4 enable  0x00000020 
+ 00000884  0x000004e5 disable  0x00000021 
+ 00000885  0x000004e6 rshift16  0x00000009 , 0x0000003f 
+ 00000886  0x000004e7 rshift8  0x0000003f , 0x0000003f 
+ 00000887  0x000004e8 rshift4  0x0000003f , 0x0000003f 
+ 00000888  0x000004e9 inject  0x00000003 , 0x00000028 
+ 00000889  0x000004ea disable  0x0000001d 
+ 00000890  0x000004eb enable  0x0000001b 
+ 00000891  0x000004ec enable  0x00000007 
+ 00000892  0x000004ed enable  0x00000009 
+ 00000893  0x000004ee fetch  0x00000001 , 0x00004c18 
+ 00000894  0x000004ef inject  0x00000003 , 0x00000008 
+ 00000895  0x000004f0 fetch  0x00000001 , 0x00004be3 
+ 00000896  0x000004f1 iforce  0x00000039 
+ 00000897  0x000004f2 arg  0x00000cf5 , 0x00000006 
+ 00000898  0x000004f4 ifetch  0x00000001 , 0x00000006 
+ 00000899  0x000004f5 inject  0x00000003 , 0x00000008 
+ 00000900  0x000004f6 loop  0x00000382 
+ 00000901  0x000004f7 enable  0x00000008 
+ 00000902  0x000004f8 inject  0x00000003 , 0x00000018 
+ 00000903  0x000004f9 disable  0x00000008 
+ 00000904  0x000004fa until  0x0000003e , 0x00000027 
+ 00000905  0x000004fb nop  0x00000064 
+ 00000906  0x000004fc disable  0x0000001d 
+ 00000907  0x000004fd disable  0x0000001b 
+ 00000908  0x000004fe rtn 
+ 00012288  0x0000050a call  0x00003c74 
+ 00012289  0x0000050e set0  0x00000025 , 0x00000000 
+ 00012290  0x0000050f bpatch  0x00000000 , 0x00004000 
+ 00012291  0x00000510 clear_stack 
+ 00012292  0x00000511 call  0x00003a9e 
+ 00012293  0x00000512 call  0x00006805 
+ 00012294  0x00000513 call  0x00003bfa 
+ 00012295  0x00000514 call  0x00004d98 
+ 00012296  0x00000515 set0  0x00000025 , 0x00000000 
+ 00012297  0x00000516 bpatch  0x00000001 , 0x00004000 
+ 00012298  0x00000517 call  0x00006b53 
+ 00012299  0x00000518 call  0x00005b62 
+ 00012300  0x00000519 call  0x00007b9d 
+ 00012301  0x0000051a call  0x00003e4f 
+ 00012302  0x0000051b set0  0x00000025 , 0x00000000 
+ 00012303  0x0000051c bpatch  0x00000002 , 0x00004000 
+ 00012304  0x0000051d call  0x00003e5f , 0x0000002b 
+ 00012305  0x0000051e call  0x00007719 
+ 00012306  0x0000051f call  0x00003cf1 , 0x0000002b 
+ 00012307  0x00000521 set0  0x00000025 , 0x00000000 
+ 00012308  0x00000522 bpatch  0x00000003 , 0x00004000 
+ 00012309  0x00000523 call  0x00007813 
+ 00012310  0x00000524 call  0x00005373 
+ 00012311  0x00000525 call  0x00004449 
+ 00012312  0x00000526 set0  0x00000025 , 0x00000000 
+ 00012313  0x00000527 bpatch  0x00000004 , 0x00004000 
+ 00012314  0x00000528 call  0x0000303e 
+ 00012315  0x00000529 call  0x00003e6a 
+ 00012316  0x0000052a call  0x000030a1 
+ 00012317  0x0000052b set0  0x00000025 , 0x00000000 
+ 00012318  0x0000052c bpatch  0x00000005 , 0x00004000 
+ 00012319  0x0000052d call  0x00003392 
+ 00012320  0x0000052e call  0x00003407 
+ 00012321  0x0000052f call  0x00003024 
+ 00012322  0x00000530 call  0x00003d1c 
+ 00012323  0x00000531 branch  0x00003013 
+ 00012324  0x00000534 call  0x00003029 
+ 00012325  0x00000535 rtnmark0  0x00000009 
+ 00012326  0x00000536 set0  0x00000009 , 0x00000000 
+ 00012327  0x00000537 call  0x000032bd 
+ 00012328  0x00000538 branch  0x000053d7 
+ 00012329  0x0000053b set0  0x00000025 , 0x00000000 
+ 00012330  0x0000053c bpatch  0x00000006 , 0x00004000 
+ 00012331  0x0000053d call  0x000032fe 
+ 00012332  0x0000053e nbranch  0x00003033 , 0x00000005 
+ 00012333  0x0000053f call  0x000032a3 
+ 00012334  0x00000540 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00012335  0x00000541 ifetch  0x00000001 , 0x00000006 
+ 00012336  0x00000542 bbit1  0x00000000 , 0x00005377 
+ 00012337  0x00000543 bbit1  0x00000001 , 0x000031a7 
+ 00012338  0x00000544 branch  0x00003473 
+ 00012339  0x00000546 set0  0x00000025 , 0x00000000 
+ 00012340  0x00000547 bpatch  0x00000007 , 0x00004000 
+ 00012341  0x00000548 call  0x000032c6 
+ 00012342  0x00000549 copy  0x00000039 , 0x0000003e 
+ 00012343  0x0000054a rtn  0x00000005 
+ 00012344  0x0000054b call  0x000032a3 
+ 00012345  0x0000054c fetch  0x00000001 , 0x00000030 
+ 00012346  0x0000054d bbit1  0x00000003 , 0x00003103 
+ 00012347  0x0000054e fetch  0x00000001 , 0x00000031 
+ 00012348  0x0000054f bbit1  0x00000001 , 0x000031a7 
+ 00012349  0x00000550 branch  0x00003473 
+ 00012350  0x00000559 fetch  0x00000001 , 0x00004272 
+ 00012351  0x0000055a rtn  0x00000034 
+ 00012352  0x0000055b beq  0x00000001 , 0x0000304e 
+ 00012353  0x0000055c beq  0x00000002 , 0x00003053 
+ 00012354  0x0000055d beq  0x00000003 , 0x00003056 
+ 00012355  0x0000055e beq  0x00000005 , 0x0000305b 
+ 00012356  0x0000055f beq  0x0000001b , 0x0000304b 
+ 00012357  0x00000560 call  0x000032f6 
+ 00012358  0x00000561 rtn  0x00000005 
+ 00012359  0x00000562 call  0x000032f9 
+ 00012360  0x00000563 rtn  0x00000005 
+ 00012361  0x00000565 jam  0x00000000 , 0x00004272 
+ 00012362  0x00000566 rtn 
+ 00012363  0x00000569 jam  0x0000001b , 0x0000041c 
+ 00012364  0x0000056a jam  0x00000000 , 0x00004272 
+ 00012365  0x0000056b rtn 
+ 00012366  0x0000056e set1  0x0000001c , 0x00000000 
+ 00012367  0x0000056f set0  0x0000001e , 0x00000000 
+ 00012368  0x00000570 jam  0x000000ff , 0x0000008e 
+ 00012369  0x00000571 jam  0x0000001f , 0x0000008c 
+ 00012370  0x00000572 branch  0x00003049 
+ 00012371  0x00000575 set0  0x0000001c , 0x00000000 
+ 00012372  0x00000576 force  0x00000000 , 0x0000001b 
+ 00012373  0x00000577 branch  0x00003049 
+ 00012374  0x0000057a call  0x000032f9 
+ 00012375  0x0000057b rtn  0x00000005 
+ 00012376  0x0000057c force  0x00000001 , 0x00000002 
+ 00012377  0x0000057d jam  0x00000005 , 0x00000178 
+ 00012378  0x0000057e branch  0x00003068 
+ 00012379  0x00000581 set0  0x00000025 , 0x00000000 
+ 00012380  0x00000582 bpatch  0x00000008 , 0x00004001 
+ 00012381  0x00000583 fetch  0x00000001 , 0x00004132 
+ 00012382  0x00000584 beq  0x00000001 , 0x00003064 
+ 00012383  0x00000586 fetch  0x00000006 , 0x00004274 
+ 00012384  0x00000587 branch  0x00003049 , 0x00000034 
+ 00012385  0x00000588 jam  0x00000001 , 0x000047f3 
+ 00012386  0x0000058a jam  0x00000003 , 0x00000055 
+ 00012387  0x0000058b branch  0x00003067 
+ 00012388  0x0000058e fetch  0x00000006 , 0x00004274 
+ 00012389  0x0000058f branch  0x00003049 , 0x00000034 
+ 00012390  0x00000590 store  0x00000006 , 0x00000040 
+ 00012391  0x00000592 force  0x00000025 , 0x00000002 
+ 00012392  0x00000594 set0  0x00000025 , 0x00000000 
+ 00012393  0x00000595 bpatch  0x00000009 , 0x00004001 
+ 00012394  0x00000596 fetch  0x00000001 , 0x000000f3 
+ 00012395  0x00000597 branch  0x0000306f , 0x00000034 
+ 00012396  0x00000598 lshift3  0x0000003f , 0x0000003f 
+ 00012397  0x00000599 lshift4  0x0000003f , 0x0000003f 
+ 00012398  0x0000059a increase  0xffffffff , 0x0000003f 
+ 00012399  0x0000059c store  0x00000001 , 0x00004146 
+ 00012400  0x0000059d store  0x00000001 , 0x000000f2 
+ 00012401  0x0000059e jam  0x0000001f , 0x0000008d 
+ 00012402  0x0000059f set0  0x0000000c , 0x00000000 
+ 00012403  0x000005a0 call  0x000032d6 
+ 00012404  0x000005a1 nbranch  0x00003090 , 0x00000005 
+ 00012405  0x000005a2 call  0x00003bd1 
+ 00012406  0x000005a3 store  0x00000001 , 0x00000077 
+ 00012407  0x000005a4 storet  0x00000001 , 0x0000007c 
+ 00012408  0x000005a5 fetch  0x00000006 , 0x00004274 
+ 00012409  0x000005a6 store  0x00000006 , 0x00000040 
+ 00012410  0x000005a7 set0  0x00000025 , 0x00000000 
+ 00012411  0x000005a8 bpatch  0x0000000a , 0x00004001 
+ 00012412  0x000005a9 force  0x00000000 , 0x0000003f 
+ 00012413  0x000005aa compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00012414  0x000005ab nsetflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00012415  0x000005ac set1  0x00000003 , 0x0000003f 
+ 00012416  0x000005ad store  0x00000001 , 0x00000030 
+ 00012417  0x000005ae jam  0x00000003 , 0x00000b7d 
+ 00012418  0x000005af call  0x00007c27 
+ 00012419  0x000005b0 force  0x00000000 , 0x0000003f 
+ 00012420  0x000005b1 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00012421  0x000005b2 store  0x00000001 , 0x0000004c 
+ 00012422  0x000005b3 setarg  0x00000000 
+ 00012423  0x000005b4 set1  0x00000001 , 0x0000003f 
+ 00012424  0x000005b5 store  0x00000001 , 0x00000031 
+ 00012425  0x000005b6 enable  0x00000029 
+ 00012426  0x000005b7 call  0x000032bd 
+ 00012427  0x000005b8 disable  0x00000029 
+ 00012428  0x000005b9 force  0x00000004 , 0x00000007 
+ 00012429  0x000005ba fetch  0x00000002 , 0x00004159 
+ 00012430  0x000005bb call  0x00007e4c 
+ 00012431  0x000005bc branch  0x00003049 
+ 00012432  0x000005be set0  0x00000025 , 0x00000000 
+ 00012433  0x000005bf bpatch  0x0000000b , 0x00004001 
+ 00012434  0x000005c0 fetch  0x00000006 , 0x00004274 
+ 00012435  0x000005c1 store  0x00000006 , 0x00000040 
+ 00012436  0x000005c2 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00012437  0x000005c3 branch  0x00003099 , 0x00000001 
+ 00012438  0x000005c4 force  0x00000007 , 0x00000002 
+ 00012439  0x000005c5 call  0x00004826 
+ 00012440  0x000005c6 branch  0x00003049 
+ 00012441  0x000005c8 arg  0x00000103 , 0x00000005 
+ 00012442  0x000005c9 arg  0x00000008 , 0x00000039 
+ 00012443  0x000005ca call  0x00007e3b 
+ 00012444  0x000005cb force  0x00000007 , 0x00000007 
+ 00012445  0x000005cc call  0x00004898 
+ 00012446  0x000005cd jam  0x00000004 , 0x00000b7d 
+ 00012447  0x000005ce call  0x00007c27 
+ 00012448  0x000005cf branch  0x00003049 
+ 00012449  0x000005d7 rtnmark0  0x0000001c 
+ 00012450  0x000005d8 force  0x00000002 , 0x00000007 
+ 00012451  0x000005d9 call  0x00007e53 
+ 00012452  0x000005da nsetflag  0x00000034 , 0x0000001c , 0x00000000 
+ 00012453  0x000005db nbranch  0x000030a7 , 0x00000034 
+ 00012454  0x000005dc rtn 
+ 00012455  0x000005e1 set0  0x00000025 , 0x00000000 
+ 00012456  0x000005e2 bpatch  0x0000000c , 0x00004001 
+ 00012457  0x000005e3 fetcht  0x00000002 , 0x0000415b 
+ 00012458  0x000005e4 force  0x00000004 , 0x00000007 
+ 00012459  0x000005e5 call  0x0000383d 
+ 00012460  0x000005e6 rtn  0x00000028 
+ 00012461  0x000005e7 call  0x00003a12 
+ 00012462  0x000005e8 force  0x00000000 , 0x00000024 
+ 00012463  0x000005ea rtn  0x00000003 
+ 00012464  0x000005eb set0  0x0000000b , 0x00000000 
+ 00012465  0x000005ec set0  0x00000000 , 0x00000000 
+ 00012466  0x000005ee add  0x00000022 , 0x00000001 , 0x00000021 
+ 00012467  0x000005ef isolate1  0x0000001e , 0x00000000 
+ 00012468  0x000005f0 setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00012469  0x000005f1 compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00012470  0x000005f2 nbranch  0x000030d3 , 0x00000001 
+ 00012471  0x000005f5 set0  0x00000025 , 0x00000000 
+ 00012472  0x000005f6 bpatch  0x0000000d , 0x00004001 
+ 00012473  0x000005f7 fetch  0x00000001 , 0x00000012 
+ 00012474  0x000005f8 increase  0x00000001 , 0x0000003f 
+ 00012475  0x000005f9 store  0x00000001 , 0x00000012 
+ 00012476  0x000005fa call  0x00003a49 
+ 00012477  0x000005fb call  0x00003a42 
+ 00012478  0x000005fc call  0x00003a66 
+ 00012479  0x000005fd call  0x00003bae 
+ 00012480  0x000005fe call  0x00003bb4 
+ 00012481  0x000005ff call  0x00003bc5 
+ 00012482  0x00000600 call  0x0000375c 
+ 00012483  0x00000601 call  0x000030c5 
+ 00012484  0x00000602 branch  0x000030af 
+ 00012485  0x00000605 set0  0x00000025 , 0x00000000 
+ 00012486  0x00000606 bpatch  0x0000000e , 0x00004001 
+ 00012487  0x00000607 fetch  0x00000001 , 0x0000008c 
+ 00012488  0x00000608 increase  0xffffffff , 0x0000003f 
+ 00012489  0x00000609 store  0x00000001 , 0x0000008c 
+ 00012490  0x0000060a rtn  0x00000002 
+ 00012491  0x0000060b jam  0x0000001f , 0x0000008c 
+ 00012492  0x0000060c fetch  0x00000001 , 0x0000008e 
+ 00012493  0x0000060d increase  0xffffffff , 0x0000003f 
+ 00012494  0x0000060e store  0x00000001 , 0x0000008e 
+ 00012495  0x0000060f rtn  0x00000002 
+ 00012496  0x00000610 setflip  0x0000001e , 0x00000000 
+ 00012497  0x00000611 jam  0x000000ff , 0x0000008e 
+ 00012498  0x00000612 rtn 
+ 00012499  0x00000615 set0  0x00000025 , 0x00000000 
+ 00012500  0x00000616 bpatch  0x0000000f , 0x00004001 
+ 00012501  0x00000617 call  0x00003a49 
+ 00012502  0x00000618 call  0x00003a3b 
+ 00012503  0x00000619 call  0x00003a66 
+ 00012504  0x0000061a call  0x00003bba 
+ 00012505  0x0000061b call  0x00003b3a 
+ 00012506  0x0000061c call  0x00003b63 
+ 00012507  0x0000061d branch  0x000030de , 0x00000018 
+ 00012508  0x0000061e call  0x000030c5 
+ 00012509  0x0000061f branch  0x000030b2 
+ 00012510  0x00000621 set0  0x00000025 , 0x00000000 
+ 00012511  0x00000622 bpatch  0x00000010 , 0x00004002 
+ 00012512  0x00000623 call  0x00003af3 
+ 00012513  0x00000624 call  0x00003bcd 
+ 00012514  0x00000625 call  0x000035e1 
+ 00012515  0x00000626 set0  0x00000001 , 0x00000000 
+ 00012516  0x00000627 rtnmark0  0x0000000b 
+ 00012517  0x00000629 set0  0x00000025 , 0x00000000 
+ 00012518  0x0000062a bpatch  0x00000011 , 0x00004002 
+ 00012519  0x0000062b fetch  0x00000001 , 0x000042a4 
+ 00012520  0x0000062c bbit1  0x00000000 , 0x00004221 
+ 00012521  0x0000062d call  0x0000477b 
+ 00012522  0x0000062f fetch  0x00000001 , 0x00000013 
+ 00012523  0x00000630 increase  0x00000001 , 0x0000003f 
+ 00012524  0x00000631 store  0x00000001 , 0x00000013 
+ 00012525  0x00000632 rtn 
+ 00012526  0x00000634 set0  0x0000000b , 0x00000000 
+ 00012527  0x00000635 call  0x000030fe 
+ 00012528  0x00000636 call  0x00003a49 
+ 00012529  0x00000637 call  0x00003a3b 
+ 00012530  0x00000638 call  0x000034e1 
+ 00012531  0x00000639 call  0x00003bba 
+ 00012532  0x0000063a call  0x00003b3a 
+ 00012533  0x0000063b call  0x00003b63 
+ 00012534  0x0000063c branch  0x000030f8 , 0x00000018 
+ 00012535  0x0000063d rtn 
+ 00012536  0x0000063f call  0x00003bcd 
+ 00012537  0x00000640 call  0x000035e1 
+ 00012538  0x00000641 set0  0x00000001 , 0x00000000 
+ 00012539  0x00000642 branch  0x000030e5 , 0x00000006 
+ 00012540  0x00000643 call  0x0000479b 
+ 00012541  0x00000644 branch  0x000030ea 
+ 00012542  0x00000647 arg  0x00000600 , 0x0000000b 
+ 00012543  0x00000649 until  0x00000023 , 0x00000026 
+ 00012544  0x0000064a and  0x00000022 , 0x00000003 , 0x0000003f 
+ 00012545  0x0000064b bne  0x00000001 , 0x000030ff 
+ 00012546  0x0000064c rtn 
+ 00012547  0x00000656 set0  0x00000025 , 0x00000000 
+ 00012548  0x00000657 bpatch  0x00000012 , 0x00004002 
+ 00012549  0x00000658 enable  0x00000029 
+ 00012550  0x00000659 enable  0x00000030 
+ 00012551  0x0000065a fetch  0x00000002 , 0x00004155 
+ 00012552  0x0000065b branch  0x0000310c , 0x00000034 
+ 00012553  0x0000065c force  0x0000000d , 0x00000007 
+ 00012554  0x0000065d call  0x00007e53 
+ 00012555  0x0000065e nrtn  0x00000034 
+ 00012556  0x00000660 set0  0x00000025 , 0x00000000 
+ 00012557  0x00000661 bpatch  0x00000013 , 0x00004002 
+ 00012558  0x00000662 fetcht  0x00000002 , 0x00004157 
+ 00012559  0x00000663 force  0x00000028 , 0x00000007 
+ 00012560  0x00000664 call  0x0000383d 
+ 00012561  0x00000665 branch  0x0000314e , 0x00000028 
+ 00012562  0x00000666 force  0x00000004 , 0x00000007 
+ 00012563  0x00000667 call  0x00007e53 
+ 00012564  0x00000668 nbranch  0x00003127 , 0x00000034 
+ 00012565  0x00000669 fetch  0x00000001 , 0x0000004c 
+ 00012566  0x0000066a bbit1  0x00000004 , 0x0000311a 
+ 00012567  0x0000066b force  0x00000004 , 0x00000002 
+ 00012568  0x0000066c call  0x00004826 
+ 00012569  0x0000066d branch  0x0000311f 
+ 00012570  0x0000066f arg  0x00000103 , 0x00000005 
+ 00012571  0x00000670 arg  0x00000008 , 0x00000039 
+ 00012572  0x00000671 call  0x00007e3b 
+ 00012573  0x00000672 force  0x00000004 , 0x00000007 
+ 00012574  0x00000673 call  0x00004898 
+ 00012575  0x00000675 set0  0x00000025 , 0x00000000 
+ 00012576  0x00000676 bpatch  0x00000014 , 0x00004002 
+ 00012577  0x00000677 jam  0x00000000 , 0x00000030 
+ 00012578  0x00000678 call  0x00005b63 
+ 00012579  0x00000679 jam  0x00000000 , 0x000047f3 
+ 00012580  0x0000067a jam  0x00000013 , 0x00000b7d 
+ 00012581  0x0000067b call  0x00007c27 
+ 00012582  0x0000067c branch  0x0000314e 
+ 00012583  0x0000067f set0  0x00000025 , 0x00000000 
+ 00012584  0x00000680 bpatch  0x00000015 , 0x00004002 
+ 00012585  0x00000681 force  0x00000000 , 0x0000000b 
+ 00012586  0x00000682 until  0x00000023 , 0x00000026 
+ 00012587  0x00000683 fetch  0x00000001 , 0x000000f4 
+ 00012588  0x00000684 increase  0xffffffff , 0x0000003f 
+ 00012589  0x00000685 ixor  0x00000022 , 0x0000003f 
+ 00012590  0x00000686 compare  0x00000000 , 0x0000003f , 0x00000003 
+ 00012591  0x00000687 nbranch  0x00003127 , 0x00000001 
+ 00012592  0x00000688 deposit  0x00000004 
+ 00012593  0x00000689 store  0x00000001 , 0x0000018b 
+ 00012594  0x0000068a force  0x00000000 , 0x00000026 
+ 00012595  0x0000068b force  0x00000000 , 0x00000024 
+ 00012596  0x0000068e set0  0x00000025 , 0x00000000 
+ 00012597  0x0000068f bpatch  0x00000016 , 0x00004002 
+ 00012598  0x00000690 branch  0x0000314e , 0x00000003 
+ 00012599  0x00000691 call  0x00003a4d 
+ 00012600  0x00000692 arg  0x00000600 , 0x0000000b 
+ 00012601  0x00000693 until  0x00000023 , 0x00000026 
+ 00012602  0x00000695 set0  0x00000025 , 0x00000000 
+ 00012603  0x00000696 bpatch  0x00000017 , 0x00004002 
+ 00012604  0x00000697 fetch  0x00000004 , 0x000000f4 
+ 00012605  0x00000698 iforce  0x00000021 
+ 00012606  0x00000699 increase  0x00000001 , 0x0000003f 
+ 00012607  0x0000069a store  0x00000004 , 0x000000f4 
+ 00012608  0x0000069b isolate1  0x0000000c , 0x00000000 
+ 00012609  0x0000069c setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00012610  0x0000069d compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00012611  0x0000069e nbranch  0x00003164 , 0x00000001 
+ 00012612  0x0000069f fetch  0x00000001 , 0x0000000c 
+ 00012613  0x000006a0 increase  0x00000001 , 0x0000003f 
+ 00012614  0x000006a1 store  0x00000001 , 0x0000000c 
+ 00012615  0x000006a2 call  0x00003a42 
+ 00012616  0x000006a3 call  0x00003bae 
+ 00012617  0x000006a4 call  0x00003bb4 
+ 00012618  0x000006a5 call  0x00003bc5 
+ 00012619  0x000006a6 call  0x0000375c 
+ 00012620  0x000006a7 call  0x00003155 
+ 00012621  0x000006a8 branch  0x00003134 
+ 00012622  0x000006ab set0  0x00000025 , 0x00000000 
+ 00012623  0x000006ac bpatch  0x00000018 , 0x00004003 
+ 00012624  0x000006ad disable  0x00000029 
+ 00012625  0x000006ae fetch  0x00000002 , 0x00004155 
+ 00012626  0x000006af rtn  0x00000034 
+ 00012627  0x000006b0 force  0x0000000d , 0x00000007 
+ 00012628  0x000006b1 branch  0x00007e4c 
+ 00012629  0x000006b4 set0  0x00000025 , 0x00000000 
+ 00012630  0x000006b5 bpatch  0x00000019 , 0x00004003 
+ 00012631  0x000006b6 fetch  0x00000001 , 0x0000008d 
+ 00012632  0x000006b7 increase  0xffffffff , 0x0000003f 
+ 00012633  0x000006b8 store  0x00000001 , 0x0000008d 
+ 00012634  0x000006b9 rtn  0x00000002 
+ 00012635  0x000006ba jam  0x0000001f , 0x0000008d 
+ 00012636  0x000006bb fetch  0x00000001 , 0x000000f2 
+ 00012637  0x000006bc increase  0xffffffff , 0x0000003f 
+ 00012638  0x000006bd store  0x00000001 , 0x000000f2 
+ 00012639  0x000006be rtn  0x00000002 
+ 00012640  0x000006bf setflip  0x0000000c , 0x00000000 
+ 00012641  0x000006c0 fetch  0x00000001 , 0x00004146 
+ 00012642  0x000006c1 store  0x00000001 , 0x000000f2 
+ 00012643  0x000006c2 rtn 
+ 00012644  0x000006c5 set0  0x00000025 , 0x00000000 
+ 00012645  0x000006c6 bpatch  0x0000001a , 0x00004003 
+ 00012646  0x000006c7 call  0x00003a3b 
+ 00012647  0x000006c8 call  0x00003bba 
+ 00012648  0x000006c9 call  0x00003b3a 
+ 00012649  0x000006ca call  0x00003b63 
+ 00012650  0x000006cb branch  0x0000316d , 0x00000018 
+ 00012651  0x000006cc call  0x00003155 
+ 00012652  0x000006cd branch  0x0000313a 
+ 00012653  0x000006cf call  0x0000375c 
+ 00012654  0x000006d0 fetch  0x00000001 , 0x0000000d 
+ 00012655  0x000006d1 increase  0x00000001 , 0x0000003f 
+ 00012656  0x000006d2 store  0x00000001 , 0x0000000d 
+ 00012657  0x000006d3 force  0x00000000 , 0x0000001b 
+ 00012658  0x000006d4 fetch  0x00000004 , 0x000000f4 
+ 00012659  0x000006d6 set0  0x00000025 , 0x00000000 
+ 00012660  0x000006d7 bpatch  0x0000001b , 0x00004003 
+ 00012661  0x000006d8 call  0x00003bac 
+ 00012662  0x000006d9 call  0x00003a4d 
+ 00012663  0x000006da increase  0x00000001 , 0x00000026 
+ 00012664  0x000006dc and_into  0x000001fd , 0x00000021 
+ 00012665  0x000006dd and_into  0x000001fc , 0x00000024 
+ 00012666  0x000006de call  0x00003a42 
+ 00012667  0x000006df call  0x00003bae 
+ 00012668  0x000006e0 call  0x00003bb4 
+ 00012669  0x000006e1 call  0x00003bc5 
+ 00012670  0x000006e2 deposit  0x00000022 
+ 00012671  0x000006e3 store  0x00000004 , 0x0000016b 
+ 00012672  0x000006e4 force  0x00000000 , 0x00000004 
+ 00012673  0x000006e5 force  0x00000002 , 0x00000001 
+ 00012674  0x000006e6 call  0x00003bcd 
+ 00012675  0x000006e7 call  0x000038c1 
+ 00012676  0x000006e9 set0  0x00000025 , 0x00000000 
+ 00012677  0x000006ea bpatch  0x0000001c , 0x00004003 
+ 00012678  0x000006eb call  0x00003baa 
+ 00012679  0x000006ec or_into  0x00000002 , 0x00000021 
+ 00012680  0x000006ed and_into  0x000001fc , 0x00000024 
+ 00012681  0x000006ee call  0x00003a3b 
+ 00012682  0x000006ef call  0x00003bba 
+ 00012683  0x000006f0 call  0x00003b3a 
+ 00012684  0x000006f1 call  0x00003b63 
+ 00012685  0x000006f2 call  0x0000375c , 0x00000018 
+ 00012686  0x000006f3 branch  0x00003194 , 0x00000018 
+ 00012687  0x000006f4 fetch  0x00000001 , 0x00000010 
+ 00012688  0x000006f5 branch  0x00003134 , 0x00000034 
+ 00012689  0x000006f6 increase  0xffffffff , 0x0000003f 
+ 00012690  0x000006f7 store  0x00000001 , 0x00000010 
+ 00012691  0x000006f8 branch  0x00003173 
+ 00012692  0x000006fb set0  0x00000025 , 0x00000000 
+ 00012693  0x000006fc bpatch  0x0000001d , 0x00004003 
+ 00012694  0x000006fd fetch  0x00000001 , 0x0000000e 
+ 00012695  0x000006fe increase  0x00000001 , 0x0000003f 
+ 00012696  0x000006ff store  0x00000001 , 0x0000000e 
+ 00012697  0x00000700 call  0x000034ed 
+ 00012698  0x00000702 call  0x0000338b 
+ 00012699  0x00000703 branch  0x0000319f , 0x00000018 
+ 00012700  0x00000704 call  0x0000350e 
+ 00012701  0x00000705 nbranch  0x0000319a , 0x00000034 
+ 00012702  0x00000706 branch  0x00003134 
+ 00012703  0x00000709 set0  0x00000025 , 0x00000000 
+ 00012704  0x0000070a bpatch  0x0000001e , 0x00004003 
+ 00012705  0x0000070b fetch  0x00000001 , 0x00000030 
+ 00012706  0x0000070c set0  0x00000003 , 0x0000003f 
+ 00012707  0x0000070d store  0x00000001 , 0x00000030 
+ 00012708  0x0000070e call  0x000034f9 
+ 00012709  0x0000070f disable  0x00000029 
+ 00012710  0x00000710 rtn 
+ 00012711  0x00000714 set0  0x00000025 , 0x00000000 
+ 00012712  0x00000715 bpatch  0x0000001f , 0x00004003 
+ 00012713  0x00000716 enable  0x00000029 
+ 00012714  0x00000717 enable  0x00000030 
+ 00012715  0x00000718 call  0x0000324e 
+ 00012716  0x00000719 rtn  0x00000028 
+ 00012717  0x0000071a call  0x00003e25 
+ 00012718  0x0000071b call  0x00003bac 
+ 00012719  0x0000071c add  0x00000022 , 0x00000001 , 0x00000021 
+ 00012720  0x0000071d call  0x00003a54 
+ 00012721  0x0000071e force  0x00000003 , 0x00000024 
+ 00012722  0x0000071f call  0x0000327c 
+ 00012723  0x00000720 call  0x00006a54 
+ 00012724  0x00000721 call  0x00006e10 
+ 00012725  0x00000722 call  0x00003547 
+ 00012726  0x00000723 call  0x00003a42 
+ 00012727  0x00000724 call  0x00003bae 
+ 00012728  0x00000725 call  0x00003bb4 
+ 00012729  0x00000726 call  0x00003bc5 
+ 00012730  0x00000727 call  0x000038bf 
+ 00012731  0x00000729 set0  0x00000025 , 0x00000000 
+ 00012732  0x0000072a bpatch  0x00000020 , 0x00004004 
+ 00012733  0x0000072b call  0x00005b78 
+ 00012734  0x0000072c call  0x00004995 
+ 00012735  0x0000072d call  0x000048a9 
+ 00012736  0x0000072e call  0x0000337c 
+ 00012737  0x0000072f nbranch  0x000031c7 , 0x0000002d 
+ 00012738  0x00000730 call  0x00003bec 
+ 00012739  0x00000731 call  0x00003870 
+ 00012740  0x00000732 fetch  0x00000001 , 0x0000000f 
+ 00012741  0x00000733 increase  0x00000001 , 0x0000003f 
+ 00012742  0x00000734 store  0x00000001 , 0x0000000f 
+ 00012743  0x00000736 set0  0x00000025 , 0x00000000 
+ 00012744  0x00000737 bpatch  0x00000021 , 0x00004004 
+ 00012745  0x00000738 call  0x00006dec 
+ 00012746  0x00000739 call  0x000031d5 
+ 00012747  0x0000073a nrtn  0x00000029 
+ 00012748  0x0000073b call  0x00003812 
+ 00012749  0x0000073c nbranch  0x000031d2 , 0x00000034 
+ 00012750  0x0000073e call  0x00006a5c 
+ 00012751  0x0000073f call  0x00003290 
+ 00012752  0x00000740 disable  0x00000029 
+ 00012753  0x00000741 rtn 
+ 00012754  0x00000744 call  0x00003547 
+ 00012755  0x00000745 call  0x00003371 
+ 00012756  0x00000746 branch  0x000031bb 
+ 00012757  0x0000074a branch  0x000031d8 , 0x0000002d 
+ 00012758  0x0000074b call  0x00003be2 
+ 00012759  0x0000074c branch  0x000031e6 , 0x00000002 
+ 00012760  0x0000074e call  0x00003204 
+ 00012761  0x0000074f nbranch  0x000031e6 , 0x00000028 
+ 00012762  0x00000750 fetch  0x00000001 , 0x0000004c 
+ 00012763  0x00000751 rtnbit0  0x00000004 
+ 00012764  0x00000752 rtnbit1  0x00000003 
+ 00012765  0x00000753 fetch  0x00000001 , 0x0000004b 
+ 00012766  0x00000754 rtnbit1  0x00000003 
+ 00012767  0x00000755 call  0x0000320d 
+ 00012768  0x00000756 nrtn  0x00000034 
+ 00012769  0x00000757 fetch  0x00000001 , 0x00000178 
+ 00012770  0x00000758 increase  0xffffffff , 0x0000003f 
+ 00012771  0x00000759 store  0x00000001 , 0x00000178 
+ 00012772  0x0000075a nrtn  0x00000034 
+ 00012773  0x0000075b branch  0x00005ed5 
+ 00012774  0x0000075e set0  0x00000025 , 0x00000000 
+ 00012775  0x0000075f bpatch  0x00000022 , 0x00004004 
+ 00012776  0x00000760 call  0x00003516 
+ 00012777  0x00000761 disable  0x00000029 
+ 00012778  0x00000762 fetch  0x00000001 , 0x0000004c 
+ 00012779  0x00000763 bbit1  0x00000004 , 0x000031f2 
+ 00012780  0x00000764 fetch  0x00000001 , 0x00000030 
+ 00012781  0x00000765 bbit0  0x00000004 , 0x000031f0 
+ 00012782  0x00000766 fetcht  0x00000001 , 0x00000046 
+ 00012783  0x00000767 branch  0x000048c4 
+ 00012784  0x00000769 force  0x00000008 , 0x00000002 
+ 00012785  0x0000076a branch  0x00004826 
+ 00012786  0x0000076c force  0x00000000 , 0x00000007 
+ 00012787  0x0000076d fetch  0x00000001 , 0x0000004c 
+ 00012788  0x0000076e bbit1  0x00000003 , 0x00004898 
+ 00012789  0x00000770 force  0x00000004 , 0x00000007 
+ 00012790  0x00000771 arg  0x00000103 , 0x00000005 
+ 00012791  0x00000772 arg  0x00000008 , 0x00000039 
+ 00012792  0x00000773 call  0x00007e3b 
+ 00012793  0x00000774 branch  0x00004898 
+ 00012794  0x00000777 set0  0x00000025 , 0x00000000 
+ 00012795  0x00000778 bpatch  0x00000023 , 0x00004004 
+ 00012796  0x00000779 fetch  0x00000001 , 0x00000030 
+ 00012797  0x0000077a rtnbit0  0x00000002 
+ 00012798  0x0000077b fetcht  0x00000001 , 0x00000046 
+ 00012799  0x0000077c fetch  0x00000001 , 0x000000ac 
+ 00012800  0x0000077d isub  0x00000002 , 0x0000003e 
+ 00012801  0x0000077e nrtn  0x00000005 
+ 00012802  0x0000077f call  0x00003869 
+ 00012803  0x00000780 branch  0x00003293 
+ 00012804  0x00000783 set0  0x00000025 , 0x00000000 
+ 00012805  0x00000784 bpatch  0x00000024 , 0x00004004 
+ 00012806  0x00000785 enable  0x00000028 
+ 00012807  0x00000786 fetch  0x00000001 , 0x0000004b 
+ 00012808  0x00000787 rtnbit0  0x00000003 
+ 00012809  0x00000788 call  0x0000320d 
+ 00012810  0x00000789 nrtn  0x00000034 
+ 00012811  0x0000078b disable  0x00000028 
+ 00012812  0x0000078c rtn 
+ 00012813  0x0000078f fetch  0x00000001 , 0x00000072 
+ 00012814  0x00000790 increase  0xffffffff , 0x0000003f 
+ 00012815  0x00000791 store  0x00000001 , 0x00000072 
+ 00012816  0x00000792 rtn 
+ 00012817  0x00000795 set0  0x00000025 , 0x00000000 
+ 00012818  0x00000796 bpatch  0x00000025 , 0x00004004 
+ 00012819  0x00000797 fetch  0x00000001 , 0x00000030 
+ 00012820  0x00000798 bbit1  0x00000007 , 0x0000321f 
+ 00012821  0x00000799 fetch  0x00000001 , 0x00004132 
+ 00012822  0x0000079a beq  0x00000001 , 0x0000321d 
+ 00012823  0x0000079b fetch  0x00000001 , 0x000007e1 
+ 00012824  0x0000079c branch  0x0000321f , 0x00000034 
+ 00012825  0x0000079d jam  0x00000000 , 0x000007e1 
+ 00012826  0x0000079e jam  0x00000018 , 0x00000b7d 
+ 00012827  0x0000079f call  0x00007c27 
+ 00012828  0x000007a0 branch  0x0000321f 
+ 00012829  0x000007a2 call  0x00006216 
+ 00012830  0x000007a3 ncall  0x00004852 , 0x00000001 
+ 00012831  0x000007a5 set0  0x00000025 , 0x00000000 
+ 00012832  0x000007a6 bpatch  0x00000026 , 0x00004004 
+ 00012833  0x000007a7 call  0x000032f0 
+ 00012834  0x000007a8 fetch  0x00000001 , 0x00000030 
+ 00012835  0x000007a9 set1  0x00000007 , 0x0000003f 
+ 00012836  0x000007aa store  0x00000001 , 0x00000030 
+ 00012837  0x000007ab jam  0x00000001 , 0x0000425e 
+ 00012838  0x000007ac fetch  0x00000001 , 0x00000055 
+ 00012839  0x000007ad bne  0x00000016 , 0x00003228 
+ 00012840  0x000007af rtn 
+ 00012841  0x000007b2 jam  0x00000001 , 0x000007e1 
+ 00012842  0x000007b4 fetch  0x00000001 , 0x00000030 
+ 00012843  0x000007b5 set0  0x00000007 , 0x0000003f 
+ 00012844  0x000007b6 store  0x00000001 , 0x00000030 
+ 00012845  0x000007b7 rtn 
+ 00012846  0x000007bc set0  0x00000025 , 0x00000000 
+ 00012847  0x000007bd bpatch  0x00000027 , 0x00004004 
+ 00012848  0x000007be disable  0x00000028 
+ 00012849  0x000007bf fetch  0x00000001 , 0x00000030 
+ 00012850  0x000007c0 rtnbit0  0x00000001 
+ 00012851  0x000007c1 fetch  0x00000002 , 0x00000032 
+ 00012852  0x000007c2 nrtn  0x00000034 
+ 00012853  0x000007c3 fetch  0x00000004 , 0x00000034 
+ 00012854  0x000007c4 branch  0x00003239 , 0x00000030 
+ 00012855  0x000007c5 isub  0x00000028 , 0x0000003f 
+ 00012856  0x000007c6 branch  0x0000323a 
+ 00012857  0x000007c8 isub  0x00000022 , 0x0000003f 
+ 00012858  0x000007ca sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00012859  0x000007cb nrtn  0x00000002 
+ 00012860  0x000007cc fetch  0x00000001 , 0x00000030 
+ 00012861  0x000007cd set0  0x00000001 , 0x0000003f 
+ 00012862  0x000007ce store  0x00000001 , 0x00000030 
+ 00012863  0x000007cf enable  0x00000028 
+ 00012864  0x000007d0 rtn 
+ 00012865  0x000007d4 copy  0x0000003f , 0x00000002 
+ 00012866  0x000007d5 set0  0x00000025 , 0x00000000 
+ 00012867  0x000007d6 bpatch  0x00000028 , 0x00004005 
+ 00012868  0x000007d7 store  0x00000004 , 0x00000034 
+ 00012869  0x000007d9 jam  0x00000001 , 0x00004748 
+ 00012870  0x000007da fetch  0x00000001 , 0x00000030 
+ 00012871  0x000007db set1  0x00000001 , 0x0000003f 
+ 00012872  0x000007dc store  0x00000001 , 0x00000030 
+ 00012873  0x000007dd force  0x00000000 , 0x0000003f 
+ 00012874  0x000007de store  0x00000002 , 0x00000032 
+ 00012875  0x000007df jam  0x0000000a , 0x0000008a 
+ 00012876  0x000007e0 jam  0x00000001 , 0x00000073 
+ 00012877  0x000007e1 rtn 
+ 00012878  0x000007e5 set0  0x00000025 , 0x00000000 
+ 00012879  0x000007e6 bpatch  0x00000029 , 0x00004005 
+ 00012880  0x000007e7 call  0x0000322e 
+ 00012881  0x000007e8 nrtn  0x00000028 
+ 00012882  0x000007e9 disable  0x00000028 
+ 00012883  0x000007ea jam  0x00000020 , 0x00000011 
+ 00012884  0x000007eb set0  0x0000000b , 0x00000000 
+ 00012885  0x000007ed call  0x00003bac 
+ 00012886  0x000007ee call  0x0000337f 
+ 00012887  0x000007ef bmark1  0x0000000b , 0x00003263 
+ 00012888  0x000007f0 call  0x0000350e 
+ 00012889  0x000007f1 nbranch  0x00003255 , 0x00000034 
+ 00012890  0x000007f3 set0  0x00000025 , 0x00000000 
+ 00012891  0x000007f4 bpatch  0x0000002a , 0x00004005 
+ 00012892  0x000007f5 disable  0x00000028 
+ 00012893  0x000007f6 deposit  0x00000022 
+ 00012894  0x000007f7 store  0x00000004 , 0x0000416a 
+ 00012895  0x000007f8 enable  0x00000030 
+ 00012896  0x000007f9 enable  0x00000029 
+ 00012897  0x000007fa jam  0x0000002a , 0x00000b7d 
+ 00012898  0x000007fb branch  0x00007c27 
+ 00012899  0x000007fe set0  0x00000025 , 0x00000000 
+ 00012900  0x000007ff bpatch  0x0000002b , 0x00004005 
+ 00012901  0x00000800 call  0x00003baa 
+ 00012902  0x00000801 call  0x00003374 
+ 00012903  0x00000802 disable  0x00000030 
+ 00012904  0x00000803 disable  0x00000029 
+ 00012905  0x00000804 call  0x00003982 
+ 00012906  0x00000805 call  0x000034ed 
+ 00012907  0x00000807 set0  0x00000025 , 0x00000000 
+ 00012908  0x00000808 bpatch  0x0000002c , 0x00004005 
+ 00012909  0x00000809 call  0x00003539 
+ 00012910  0x0000080a branch  0x00003272 , 0x0000002d 
+ 00012911  0x0000080b call  0x0000350e 
+ 00012912  0x0000080c nbranch  0x0000326b , 0x00000034 
+ 00012913  0x0000080d branch  0x0000325a 
+ 00012914  0x0000080f force  0x00000001 , 0x00000002 
+ 00012915  0x00000810 call  0x0000487f 
+ 00012916  0x00000811 fetch  0x00000001 , 0x00000031 
+ 00012917  0x00000812 set0  0x00000001 , 0x0000003f 
+ 00012918  0x00000813 store  0x00000001 , 0x00000031 
+ 00012919  0x00000814 call  0x00003bec 
+ 00012920  0x00000815 call  0x000039ac 
+ 00012921  0x00000816 enable  0x00000028 
+ 00012922  0x00000817 jam  0x0000002b , 0x00000b7d 
+ 00012923  0x00000818 branch  0x00007c27 
+ 00012924  0x0000081c set0  0x00000025 , 0x00000000 
+ 00012925  0x0000081d bpatch  0x0000002d , 0x00004005 
+ 00012926  0x0000081e rtnmark0  0x00000007 
+ 00012927  0x0000081f fetch  0x00000001 , 0x00000030 
+ 00012928  0x00000820 rtnbit0  0x00000002 
+ 00012929  0x00000822 call  0x00003c23 
+ 00012930  0x00000823 fetch  0x00000001 , 0x000000b3 
+ 00012931  0x00000824 fetcht  0x00000001 , 0x00000047 
+ 00012932  0x00000825 storet  0x00000001 , 0x000000b4 
+ 00012933  0x00000826 store  0x00000001 , 0x00000047 
+ 00012934  0x00000827 deposit  0x00000004 
+ 00012935  0x00000828 store  0x00000001 , 0x000000b2 
+ 00012936  0x00000829 fetch  0x00000001 , 0x000041f9 
+ 00012937  0x0000082a iforce  0x00000004 
+ 00012938  0x0000082b set0  0x00000008 , 0x00000000 
+ 00012939  0x0000082c fetch  0x00000001 , 0x00004165 
+ 00012940  0x0000082d store  0x00000001 , 0x00004167 
+ 00012941  0x0000082e fetch  0x00000001 , 0x00004166 
+ 00012942  0x0000082f store  0x00000001 , 0x00004165 
+ 00012943  0x00000830 rtn 
+ 00012944  0x00000833 set0  0x00000025 , 0x00000000 
+ 00012945  0x00000834 bpatch  0x0000002e , 0x00004005 
+ 00012946  0x00000835 rtnmark0  0x00000007 
+ 00012947  0x00000837 call  0x00003847 
+ 00012948  0x00000838 nrtn  0x00000001 
+ 00012949  0x0000083a call  0x00003799 
+ 00012950  0x0000083b fetch  0x00000001 , 0x000000b4 
+ 00012951  0x0000083c fetcht  0x00000001 , 0x00000047 
+ 00012952  0x0000083d store  0x00000001 , 0x00000047 
+ 00012953  0x0000083e storet  0x00000001 , 0x000000b3 
+ 00012954  0x0000083f fetch  0x00000001 , 0x000000b2 
+ 00012955  0x00000840 iforce  0x00000004 
+ 00012956  0x00000841 fetch  0x00000001 , 0x00004165 
+ 00012957  0x00000842 store  0x00000001 , 0x00004166 
+ 00012958  0x00000843 fetch  0x00000001 , 0x00004167 
+ 00012959  0x00000844 store  0x00000001 , 0x00004165 
+ 00012960  0x00000845 setarg  0x0000ffff 
+ 00012961  0x00000846 store  0x00000002 , 0x00004168 
+ 00012962  0x00000847 rtn 
+ 00012963  0x0000084d set0  0x00000025 , 0x00000000 
+ 00012964  0x0000084e bpatch  0x0000002f , 0x00004005 
+ 00012965  0x0000084f set1  0x00000009 , 0x00000000 
+ 00012966  0x00000850 deposit  0x00000011 
+ 00012967  0x00000851 store  0x00000002 , 0x0000001e 
+ 00012968  0x00000852 force  0x00000050 , 0x00000039 
+ 00012969  0x00000853 arg  0x000003c0 , 0x00000005 
+ 00012970  0x00000854 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00012971  0x00000855 ifetch  0x00000001 , 0x00000006 
+ 00012972  0x00000856 copy  0x00000011 , 0x00000006 
+ 00012973  0x00000857 bbit1  0x00000000 , 0x00007e45 
+ 00012974  0x00000858 arg  0x00000030 , 0x00000005 
+ 00012975  0x00000859 call  0x00007e45 
+ 00012976  0x0000085a disable  0x0000002e 
+ 00012977  0x0000085b fetch  0x00000001 , 0x00000077 
+ 00012978  0x0000085c iforce  0x00000004 
+ 00012979  0x0000085d jam  0x00000001 , 0x0000008a 
+ 00012980  0x0000085e branch  0x000032b6 , 0x00000029 
+ 00012981  0x0000085f jam  0x00000001 , 0x0000008a 
+ 00012982  0x00000861 fetch  0x00000001 , 0x00000030 
+ 00012983  0x00000862 rtnbit0  0x00000001 
+ 00012984  0x00000863 fetch  0x00000001 , 0x00000073 
+ 00012985  0x00000864 store  0x00000001 , 0x0000008a 
+ 00012986  0x00000865 fetch  0x00000001 , 0x00000074 
+ 00012987  0x00000866 store  0x00000001 , 0x0000008b 
+ 00012988  0x00000867 rtn 
+ 00012989  0x0000086a set0  0x00000025 , 0x00000000 
+ 00012990  0x0000086b bpatch  0x00000030 , 0x00004006 
+ 00012991  0x0000086c fetch  0x00000002 , 0x0000001e 
+ 00012992  0x0000086d iforce  0x00000005 
+ 00012993  0x0000086e force  0x00000050 , 0x00000039 
+ 00012994  0x0000086f arg  0x000003c0 , 0x00000006 
+ 00012995  0x00000870 branch  0x00007e45 , 0x00000036 
+ 00012996  0x00000871 arg  0x00000030 , 0x00000006 
+ 00012997  0x00000872 branch  0x00007e45 
+ 00012998  0x00000877 fetcht  0x00000001 , 0x00000015 
+ 00012999  0x00000878 arg  0x00000003 , 0x00000039 
+ 00013000  0x0000087a increase  0x00000001 , 0x00000002 
+ 00013001  0x0000087b compare  0x00000003 , 0x00000002 , 0x000000ff 
+ 00013002  0x0000087c nbranch  0x000032cc , 0x00000001 
+ 00013003  0x0000087d arg  0x00000000 , 0x00000002 
+ 00013004  0x0000087f storet  0x00000001 , 0x00000015 
+ 00013005  0x00000880 mul32  0x00000002 , 0x00000050 , 0x0000003f 
+ 00013006  0x00000881 arg  0x00004040 , 0x00000011 
+ 00013007  0x00000882 iadd  0x00000011 , 0x00000011 
+ 00013008  0x00000883 ifetch  0x00000001 , 0x00000011 
+ 00013009  0x00000884 bbit1  0x00000001 , 0x000032d4 
+ 00013010  0x00000885 rtnbit1  0x00000000 
+ 00013011  0x00000886 rtnbit1  0x00000003 
+ 00013012  0x00000888 loop  0x000032c8 
+ 00013013  0x00000889 rtn 
+ 00013014  0x0000088c set0  0x00000025 , 0x00000000 
+ 00013015  0x0000088d bpatch  0x00000031 , 0x00004006 
+ 00013016  0x0000088e arg  0x0000330b , 0x00000013 
+ 00013017  0x0000088f call  0x00003301 
+ 00013018  0x00000890 nrtn  0x00000005 
+ 00013019  0x00000891 deposit  0x00000011 
+ 00013020  0x00000892 store  0x00000002 , 0x0000001e 
+ 00013021  0x00000893 force  0x00000000 , 0x0000003e 
+ 00013022  0x00000894 rtn 
+ 00013023  0x00000899 call  0x00003847 
+ 00013024  0x0000089a branch  0x000032e7 , 0x00000001 
+ 00013025  0x0000089b fetch  0x00000002 , 0x0000001e 
+ 00013026  0x0000089c add  0x0000003f , 0x00000017 , 0x00000005 
+ 00013027  0x0000089d fetch  0x00000001 , 0x00000047 
+ 00013028  0x0000089e istore  0x00000001 , 0x00000005 
+ 00013029  0x0000089f arg  0x00003334 , 0x00000013 
+ 00013030  0x000008a0 branch  0x00003301 
+ 00013031  0x000008a3 fetch  0x00000001 , 0x00000047 
+ 00013032  0x000008a4 isolate1  0x00000003 , 0x0000003f 
+ 00013033  0x000008a5 branch  0x000032ec , 0x00000001 
+ 00013034  0x000008a6 force  0x00000001 , 0x0000003e 
+ 00013035  0x000008a7 rtn 
+ 00013036  0x000008a9 force  0x00000000 , 0x0000003e 
+ 00013037  0x000008aa rtn 
+ 00013038  0x000008ae arg  0x00003331 , 0x00000013 
+ 00013039  0x000008af branch  0x00003301 
+ 00013040  0x000008b2 fetcht  0x00000002 , 0x0000001e 
+ 00013041  0x000008b3 arg  0x00003366 , 0x00000013 
+ 00013042  0x000008b4 branch  0x00003301 
+ 00013043  0x000008b7 fetcht  0x00000002 , 0x0000001e 
+ 00013044  0x000008b8 arg  0x00003359 , 0x00000013 
+ 00013045  0x000008b9 branch  0x00003301 
+ 00013046  0x000008bd fetcht  0x00000001 , 0x00004273 
+ 00013047  0x000008bf arg  0x00003316 , 0x00000013 
+ 00013048  0x000008c0 branch  0x00003301 
+ 00013049  0x000008c3 set0  0x00000025 , 0x00000000 
+ 00013050  0x000008c4 bpatch  0x00000032 , 0x00004006 
+ 00013051  0x000008c5 fetcht  0x00000006 , 0x00004274 
+ 00013052  0x000008c7 arg  0x0000330f , 0x00000013 
+ 00013053  0x000008c8 branch  0x00003301 
+ 00013054  0x000008cb arg  0x0000331c , 0x00000013 
+ 00013055  0x000008cc branch  0x00003301 
+ 00013056  0x000008cf arg  0x00003350 , 0x00000013 
+ 00013057  0x000008d1 set0  0x00000025 , 0x00000000 
+ 00013058  0x000008d2 bpatch  0x00000033 , 0x00004006 
+ 00013059  0x000008d3 arg  0x00004040 , 0x00000011 
+ 00013060  0x000008d4 force  0x00000003 , 0x00000039 
+ 00013061  0x000008d6 ifetch  0x00000001 , 0x00000011 
+ 00013062  0x000008d7 copy  0x00000013 , 0x0000003d 
+ 00013063  0x000008d9 increase  0x00000050 , 0x00000011 
+ 00013064  0x000008da loop  0x00003305 
+ 00013065  0x000008db force  0x00000001 , 0x0000003e 
+ 00013066  0x000008dc rtn 
+ 00013067  0x000008df bbit1  0x00000000 , 0x00003307 
+ 00013068  0x000008e0 bbit1  0x00000003 , 0x00003307 
+ 00013069  0x000008e1 force  0x00000000 , 0x0000003e 
+ 00013070  0x000008e2 rtn 
+ 00013071  0x000008e5 bbit1  0x00000003 , 0x00003311 
+ 00013072  0x000008e6 bbit0  0x00000000 , 0x00003307 
+ 00013073  0x000008e8 add  0x00000011 , 0x00000010 , 0x00000006 
+ 00013074  0x000008e9 ifetch  0x00000006 , 0x00000006 
+ 00013075  0x000008ea isub  0x00000002 , 0x0000003e 
+ 00013076  0x000008eb rtn  0x00000005 
+ 00013077  0x000008ec branch  0x00003307 
+ 00013078  0x000008ef bbit0  0x00000000 , 0x00003307 
+ 00013079  0x000008f0 add  0x00000011 , 0x00000016 , 0x00000006 
+ 00013080  0x000008f1 ifetch  0x00000001 , 0x00000006 
+ 00013081  0x000008f2 isub  0x00000002 , 0x0000003e 
+ 00013082  0x000008f3 rtn  0x00000005 
+ 00013083  0x000008f4 branch  0x00003307 
+ 00013084  0x000008f7 bbit0  0x00000001 , 0x00003307 
+ 00013085  0x000008f9 call  0x0000333d 
+ 00013086  0x000008fa bbit1  0x0000001b , 0x00003322 
+ 00013087  0x000008fb isolate0  0x0000001b , 0x00000002 
+ 00013088  0x000008fc branch  0x00003322 , 0x00000001 
+ 00013089  0x000008fd set1  0x0000001c , 0x0000003f 
+ 00013090  0x000008ff isub  0x00000002 , 0x0000003f 
+ 00013091  0x00000900 increase  0x00000001 , 0x0000003f 
+ 00013092  0x00000901 branch  0x0000332b , 0x00000002 
+ 00013093  0x00000902 increase  0x00000005 , 0x0000003f 
+ 00013094  0x00000903 nbranch  0x00003307 , 0x00000002 
+ 00013095  0x00000905 copy  0x00000002 , 0x00000021 
+ 00013096  0x00000906 call  0x00003349 
+ 00013097  0x00000907 force  0x00000000 , 0x0000003e 
+ 00013098  0x00000908 rtn 
+ 00013099  0x0000090b iforce  0x00000012 
+ 00013100  0x0000090c add  0x00000011 , 0x00000002 , 0x00000006 
+ 00013101  0x0000090d ifetch  0x00000002 , 0x00000006 
+ 00013102  0x0000090e branch  0x00003327 , 0x00000034 
+ 00013103  0x0000090f call  0x00003349 
+ 00013104  0x00000910 branch  0x0000331d 
+ 00013105  0x00000913 bbit0  0x00000000 , 0x00003307 
+ 00013106  0x00000914 force  0x00000000 , 0x0000003e 
+ 00013107  0x00000915 rtn 
+ 00013108  0x00000918 bbit0  0x00000000 , 0x00003307 
+ 00013109  0x00000919 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013110  0x0000091a ifetch  0x00000001 , 0x00000006 
+ 00013111  0x0000091b bbit1  0x00000000 , 0x00003307 
+ 00013112  0x0000091c add  0x00000011 , 0x00000017 , 0x00000006 
+ 00013113  0x0000091d ifetch  0x00000001 , 0x00000006 
+ 00013114  0x0000091e bbit0  0x00000003 , 0x00003307 
+ 00013115  0x0000091f force  0x00000000 , 0x0000003e 
+ 00013116  0x00000920 rtn 
+ 00013117  0x00000923 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013118  0x00000924 ifetcht  0x00000001 , 0x00000006 
+ 00013119  0x00000925 deposit  0x00000022 
+ 00013120  0x00000926 isolate1  0x00000001 , 0x00000002 
+ 00013121  0x00000927 add  0x00000011 , 0x00000004 , 0x00000006 
+ 00013122  0x00000928 ifetcht  0x00000004 , 0x00000006 
+ 00013123  0x00000929 rtn  0x00000001 
+ 00013124  0x0000092a add  0x00000011 , 0x00000008 , 0x00000006 
+ 00013125  0x0000092b ifetch  0x00000006 , 0x00000006 
+ 00013126  0x0000092c call  0x000039c0 
+ 00013127  0x0000092d deposit  0x00000028 
+ 00013128  0x0000092e rtn 
+ 00013129  0x00000931 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00013130  0x00000932 add  0x00000011 , 0x00000004 , 0x00000005 
+ 00013131  0x00000933 ifetch  0x00000002 , 0x00000006 
+ 00013132  0x00000934 iadd  0x00000002 , 0x0000000b 
+ 00013133  0x00000935 deposit  0x0000000b 
+ 00013134  0x00000936 istore  0x00000004 , 0x00000005 
+ 00013135  0x00000937 branch  0x00005434 
+ 00013136  0x0000093b bbit0  0x00000001 , 0x00003307 
+ 00013137  0x0000093c call  0x0000333d 
+ 00013138  0x0000093d iadd  0x0000001b , 0x0000003f 
+ 00013139  0x0000093e iadd  0x0000001b , 0x0000003f 
+ 00013140  0x0000093f iadd  0x00000007 , 0x0000003f 
+ 00013141  0x00000940 isub  0x00000002 , 0x0000003e 
+ 00013142  0x00000941 nbranch  0x00003307 , 0x00000002 
+ 00013143  0x00000942 force  0x00000000 , 0x0000003e 
+ 00013144  0x00000943 rtn 
+ 00013145  0x00000946 bbit0  0x00000000 , 0x00003307 
+ 00013146  0x00000947 deposit  0x00000002 
+ 00013147  0x00000948 isub  0x00000011 , 0x0000003e 
+ 00013148  0x00000949 branch  0x00003307 , 0x0000003e 
+ 00013149  0x0000094a add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013150  0x0000094b ifetch  0x00000001 , 0x00000006 
+ 00013151  0x0000094c bbit1  0x00000000 , 0x00003307 
+ 00013152  0x0000094d add  0x00000011 , 0x00000018 , 0x00000005 
+ 00013153  0x0000094e ifetch  0x00000001 , 0x00000005 
+ 00013154  0x0000094f nbranch  0x00003307 , 0x00000034 
+ 00013155  0x00000950 force  0x0000002d , 0x0000003f 
+ 00013156  0x00000951 istore  0x00000001 , 0x00000005 
+ 00013157  0x00000952 branch  0x00003307 
+ 00013158  0x00000955 bbit0  0x00000000 , 0x00003307 
+ 00013159  0x00000956 deposit  0x00000002 
+ 00013160  0x00000957 isub  0x00000011 , 0x0000003e 
+ 00013161  0x00000958 branch  0x00003307 , 0x0000003e 
+ 00013162  0x00000959 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013163  0x0000095a ifetch  0x00000001 , 0x00000006 
+ 00013164  0x0000095b bbit1  0x00000000 , 0x00003307 
+ 00013165  0x0000095c ifetch  0x00000001 , 0x00000011 
+ 00013166  0x0000095d set0  0x00000007 , 0x0000003f 
+ 00013167  0x0000095e istore  0x00000001 , 0x00000011 
+ 00013168  0x0000095f branch  0x00003307 
+ 00013169  0x00000963 set0  0x00000025 , 0x00000000 
+ 00013170  0x00000964 bpatch  0x00000034 , 0x00004006 
+ 00013171  0x00000965 call  0x00003bac 
+ 00013172  0x00000967 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00013173  0x00000968 call  0x00003a54 
+ 00013174  0x00000969 force  0x00000003 , 0x00000024 
+ 00013175  0x0000096a call  0x00003a42 
+ 00013176  0x0000096b call  0x00003bae 
+ 00013177  0x0000096c call  0x00003bb4 
+ 00013178  0x0000096d call  0x00003bc5 
+ 00013179  0x0000096e branch  0x000038bf 
+ 00013180  0x00000971 set0  0x00000025 , 0x00000000 
+ 00013181  0x00000972 bpatch  0x00000035 , 0x00004006 
+ 00013182  0x00000973 call  0x00003baa 
+ 00013183  0x00000975 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00013184  0x00000976 call  0x00003a54 
+ 00013185  0x00000977 force  0x00000003 , 0x00000024 
+ 00013186  0x00000978 call  0x00003a3b 
+ 00013187  0x00000979 call  0x000034e1 
+ 00013188  0x0000097a call  0x00003b41 
+ 00013189  0x0000097b call  0x00003bba 
+ 00013190  0x0000097c call  0x00003b3a 
+ 00013191  0x0000097e call  0x00003b63 
+ 00013192  0x0000097f nrtn  0x00000018 
+ 00013193  0x00000980 call  0x00003af3 
+ 00013194  0x00000981 branch  0x000035df 
+ 00013195  0x00000986 set0  0x00000025 , 0x00000000 
+ 00013196  0x00000987 bpatch  0x00000036 , 0x00004006 
+ 00013197  0x00000988 fetch  0x00000001 , 0x0000018b 
+ 00013198  0x00000989 iforce  0x00000004 
+ 00013199  0x0000098a force  0x00000001 , 0x00000001 
+ 00013200  0x0000098b call  0x00003371 
+ 00013201  0x0000098c branch  0x0000337c 
+ 00013202  0x00000998 fetch  0x00000001 , 0x00004133 
+ 00013203  0x00000999 rtnbit0  0x00000000 
+ 00013204  0x0000099a force  0x00000005 , 0x00000007 
+ 00013205  0x0000099b call  0x00007e53 
+ 00013206  0x0000099c nrtn  0x00000034 
+ 00013207  0x0000099d fetcht  0x00000002 , 0x0000414d 
+ 00013208  0x0000099e force  0x00000004 , 0x00000007 
+ 00013209  0x0000099f call  0x0000383d 
+ 00013210  0x000009a0 rtn  0x00000028 
+ 00013211  0x000009a1 call  0x000033a2 
+ 00013212  0x000009a2 force  0x00000005 , 0x00000007 
+ 00013213  0x000009a3 fetch  0x00000002 , 0x0000414f 
+ 00013214  0x000009a4 nbranch  0x00007e4c , 0x00000018 
+ 00013215  0x000009a5 random  0x0000003f 
+ 00013216  0x000009a6 iand  0x00000035 , 0x0000003f 
+ 00013217  0x000009a7 branch  0x00007e4c 
+ 00013218  0x000009ab set0  0x00000025 , 0x00000000 
+ 00013219  0x000009ac bpatch  0x00000037 , 0x00004006 
+ 00013220  0x000009ad jam  0x00000000 , 0x0000018b 
+ 00013221  0x000009ae disable  0x00000030 
+ 00013222  0x000009af disable  0x0000002e 
+ 00013223  0x000009b0 call  0x00003a12 
+ 00013224  0x000009b1 and  0x00000022 , 0x000001fc , 0x00000021 
+ 00013225  0x000009b2 force  0x00000001 , 0x00000024 
+ 00013226  0x000009b3 call  0x00003a49 
+ 00013227  0x000009b4 call  0x00003a3b 
+ 00013228  0x000009b5 setflip  0x0000001d , 0x00000000 
+ 00013229  0x000009b6 fetch  0x00000001 , 0x00000006 
+ 00013230  0x000009b7 increase  0x00000001 , 0x0000003f 
+ 00013231  0x000009b8 store  0x00000001 , 0x00000006 
+ 00013232  0x000009b9 call  0x00003a66 
+ 00013233  0x000009ba call  0x00003b3a 
+ 00013234  0x000009bb call  0x00003b6b 
+ 00013235  0x000009bc nrtn  0x00000018 
+ 00013236  0x000009bd set0  0x00000025 , 0x00000000 
+ 00013237  0x000009be bpatch  0x00000038 , 0x00004007 
+ 00013238  0x000009bf force  0x00000000 , 0x0000001b 
+ 00013239  0x000009c0 call  0x00003a6d 
+ 00013240  0x000009c1 fetch  0x00000001 , 0x00000007 
+ 00013241  0x000009c2 increase  0x00000001 , 0x0000003f 
+ 00013242  0x000009c3 store  0x00000001 , 0x00000007 
+ 00013243  0x000009c4 call  0x00003a49 
+ 00013244  0x000009c5 call  0x00003baa 
+ 00013245  0x000009c6 or_into  0x00000002 , 0x00000021 
+ 00013246  0x000009c7 force  0x00000001 , 0x00000024 
+ 00013247  0x000009c8 call  0x00003a42 
+ 00013248  0x000009c9 call  0x00003a66 
+ 00013249  0x000009ca call  0x00003bae 
+ 00013250  0x000009cb call  0x00003bbf 
+ 00013251  0x000009cc deposit  0x00000022 
+ 00013252  0x000009cd store  0x00000004 , 0x0000016b 
+ 00013253  0x000009ce call  0x00003bc5 
+ 00013254  0x000009cf force  0x00000002 , 0x00000001 
+ 00013255  0x000009d0 force  0x00000000 , 0x00000004 
+ 00013256  0x000009d1 call  0x00003bcd 
+ 00013257  0x000009d2 call  0x000038c1 
+ 00013258  0x000009d3 call  0x000033ce 
+ 00013259  0x000009d4 and_into  0x000001fd , 0x00000021 
+ 00013260  0x000009d5 increase  0x00000001 , 0x00000026 
+ 00013261  0x000009d6 rtn 
+ 00013262  0x000009d9 set0  0x00000025 , 0x00000000 
+ 00013263  0x000009da bpatch  0x00000039 , 0x00004007 
+ 00013264  0x000009db fetch  0x00000001 , 0x00004172 
+ 00013265  0x000009dc rtn  0x00000034 
+ 00013266  0x000009dd arg  0x000001bc , 0x00000005 
+ 00013267  0x000009de fetch  0x00000001 , 0x00004702 
+ 00013268  0x000009df copy  0x0000003f , 0x00000039 
+ 00013269  0x000009e0 increase  0x00000001 , 0x0000003f 
+ 00013270  0x000009e1 istore  0x00000001 , 0x00000005 
+ 00013271  0x000009e2 copy  0x00000005 , 0x00000002 
+ 00013272  0x000009e3 increase  0x00000001 , 0x0000003f 
+ 00013273  0x000009e4 store  0x00000002 , 0x00000091 
+ 00013274  0x000009e5 copy  0x00000002 , 0x00000005 
+ 00013275  0x000009e6 setarg  0x00000009 
+ 00013276  0x000009e7 istore  0x00000001 , 0x00000005 
+ 00013277  0x000009e8 arg  0x00004703 , 0x00000006 
+ 00013278  0x000009e9 call  0x00007e45 
+ 00013279  0x000009ea arg  0x00004771 , 0x00000013 
+ 00013280  0x000009eb arg  0x00000004 , 0x00000039 
+ 00013281  0x000009ec call  0x000033f1 
+ 00013282  0x000009ed arg  0x0000475b , 0x00000013 
+ 00013283  0x000009ee arg  0x00000001 , 0x00000039 
+ 00013284  0x000009ef call  0x000033f1 
+ 00013285  0x000009f0 force  0x0000000a , 0x00000001 
+ 00013286  0x000009f1 jam  0x00000002 , 0x00000090 
+ 00013287  0x000009f2 setarg  0x000001bc 
+ 00013288  0x000009f3 store  0x00000002 , 0x00000179 
+ 00013289  0x000009f4 call  0x00003baa 
+ 00013290  0x000009f5 call  0x00003a42 
+ 00013291  0x000009f6 call  0x00003bae 
+ 00013292  0x000009f7 call  0x00003bbf 
+ 00013293  0x000009f8 call  0x00003bc5 
+ 00013294  0x000009f9 call  0x00003bcd 
+ 00013295  0x000009fa call  0x000038c1 
+ 00013296  0x000009fb rtn 
+ 00013297  0x000009ff copy  0x00000005 , 0x00000002 
+ 00013298  0x00000a00 copy  0x00000013 , 0x00000006 
+ 00013299  0x00000a01 ifetch  0x00000001 , 0x00000006 
+ 00013300  0x00000a02 rtn  0x00000034 
+ 00013301  0x00000a04 lshift  0x0000003f , 0x0000003f 
+ 00013302  0x00000a05 loop  0x000033f5 
+ 00013303  0x00000a06 copy  0x0000003f , 0x00000011 
+ 00013304  0x00000a07 increase  0x00000002 , 0x0000003f 
+ 00013305  0x00000a08 copy  0x0000003f , 0x00000007 
+ 00013306  0x00000a09 fetch  0x00000002 , 0x00000091 
+ 00013307  0x00000a0a iadd  0x00000007 , 0x0000003f 
+ 00013308  0x00000a0b store  0x00000002 , 0x00000091 
+ 00013309  0x00000a0c copy  0x00000002 , 0x00000005 
+ 00013310  0x00000a0d copy  0x00000011 , 0x0000003f 
+ 00013311  0x00000a0e increase  0x00000001 , 0x0000003f 
+ 00013312  0x00000a0f istore  0x00000001 , 0x00000005 
+ 00013313  0x00000a10 copy  0x00000013 , 0x00000006 
+ 00013314  0x00000a11 ifetch  0x00000001 , 0x00000006 
+ 00013315  0x00000a12 ifetch  0x00000001 , 0x00000006 
+ 00013316  0x00000a13 istore  0x00000001 , 0x00000005 
+ 00013317  0x00000a14 copy  0x00000011 , 0x00000039 
+ 00013318  0x00000a15 branch  0x00007e45 
+ 00013319  0x00000a1c fetch  0x00000001 , 0x00004133 
+ 00013320  0x00000a1d rtnbit0  0x00000001 
+ 00013321  0x00000a1e force  0x00000006 , 0x00000007 
+ 00013322  0x00000a1f call  0x00007e53 
+ 00013323  0x00000a20 nrtn  0x00000034 
+ 00013324  0x00000a21 fetcht  0x00000002 , 0x00004151 
+ 00013325  0x00000a22 force  0x00000028 , 0x00000007 
+ 00013326  0x00000a23 call  0x0000383d 
+ 00013327  0x00000a24 rtn  0x00000028 
+ 00013328  0x00000a25 force  0x00000000 , 0x00000004 
+ 00013329  0x00000a26 jam  0x00000008 , 0x00000010 
+ 00013330  0x00000a27 set0  0x0000000b , 0x00000000 
+ 00013331  0x00000a28 call  0x00003417 
+ 00013332  0x00000a29 force  0x00000006 , 0x00000007 
+ 00013333  0x00000a2a fetch  0x00000002 , 0x00004153 
+ 00013334  0x00000a2b branch  0x00007e4c 
+ 00013335  0x00000a2f set0  0x00000025 , 0x00000000 
+ 00013336  0x00000a30 bpatch  0x0000003a , 0x00004007 
+ 00013337  0x00000a31 disable  0x00000030 
+ 00013338  0x00000a32 call  0x00003a12 
+ 00013339  0x00000a33 fetch  0x00000001 , 0x00000008 
+ 00013340  0x00000a34 increase  0x00000001 , 0x0000003f 
+ 00013341  0x00000a35 store  0x00000001 , 0x00000008 
+ 00013342  0x00000a36 force  0x00000000 , 0x00000026 
+ 00013343  0x00000a37 call  0x00003a54 
+ 00013344  0x00000a38 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00013345  0x00000a39 force  0x00000002 , 0x00000024 
+ 00013346  0x00000a3a set0  0x00000025 , 0x00000000 
+ 00013347  0x00000a3b bpatch  0x0000003b , 0x00004007 
+ 00013348  0x00000a3c call  0x00003a3b 
+ 00013349  0x00000a3d call  0x00003b3a 
+ 00013350  0x00000a3e call  0x00003b6b 
+ 00013351  0x00000a3f nrtn  0x00000018 
+ 00013352  0x00000a40 call  0x00003a6d 
+ 00013353  0x00000a41 fetch  0x00000001 , 0x00000009 
+ 00013354  0x00000a42 increase  0x00000001 , 0x0000003f 
+ 00013355  0x00000a43 store  0x00000001 , 0x00000009 
+ 00013356  0x00000a44 force  0x00000000 , 0x0000001b 
+ 00013357  0x00000a45 call  0x00003baa 
+ 00013358  0x00000a46 or_into  0x00000002 , 0x00000021 
+ 00013359  0x00000a47 force  0x00000001 , 0x00000024 
+ 00013360  0x00000a48 call  0x00003a42 
+ 00013361  0x00000a49 call  0x00003bae 
+ 00013362  0x00000a4a call  0x00003bbf 
+ 00013363  0x00000a4b call  0x00003bc5 
+ 00013364  0x00000a4c call  0x0000375c 
+ 00013365  0x00000a4d force  0x00000000 , 0x00000004 
+ 00013366  0x00000a4e arg  0x00000600 , 0x0000000b 
+ 00013367  0x00000a4f until  0x00000029 , 0x00000026 
+ 00013368  0x00000a50 or_into  0x00000003 , 0x00000028 
+ 00013369  0x00000a51 and_into  0x000001fd , 0x00000021 
+ 00013370  0x00000a53 set0  0x00000025 , 0x00000000 
+ 00013371  0x00000a54 bpatch  0x0000003c , 0x00004007 
+ 00013372  0x00000a55 increase  0x00000001 , 0x00000026 
+ 00013373  0x00000a56 call  0x00003a3b 
+ 00013374  0x00000a57 call  0x00003b3a 
+ 00013375  0x00000a58 call  0x00003b5d 
+ 00013376  0x00000a59 nbranch  0x00003444 , 0x00000018 
+ 00013377  0x00000a5a call  0x00003bcd 
+ 00013378  0x00000a5b call  0x000035e1 
+ 00013379  0x00000a5c bmark1  0x0000000b , 0x0000344c 
+ 00013380  0x00000a5e set0  0x00000025 , 0x00000000 
+ 00013381  0x00000a5f bpatch  0x0000003d , 0x00004007 
+ 00013382  0x00000a60 fetch  0x00000001 , 0x00000010 
+ 00013383  0x00000a61 rtn  0x00000034 
+ 00013384  0x00000a62 increase  0xffffffff , 0x0000003f 
+ 00013385  0x00000a63 store  0x00000001 , 0x00000010 
+ 00013386  0x00000a64 call  0x00003bac 
+ 00013387  0x00000a65 branch  0x0000343a 
+ 00013388  0x00000a69 set0  0x00000025 , 0x00000000 
+ 00013389  0x00000a6a bpatch  0x0000003e , 0x00004007 
+ 00013390  0x00000a6b set0  0x00000001 , 0x00000028 
+ 00013391  0x00000a6c set1  0x00000000 , 0x00000028 
+ 00013392  0x00000a6d fetch  0x00000001 , 0x0000000a 
+ 00013393  0x00000a6e increase  0x00000001 , 0x0000003f 
+ 00013394  0x00000a6f store  0x00000001 , 0x0000000a 
+ 00013395  0x00000a70 call  0x00003baa 
+ 00013396  0x00000a71 or_into  0x00000002 , 0x00000021 
+ 00013397  0x00000a72 call  0x00003a42 
+ 00013398  0x00000a73 call  0x00003bae 
+ 00013399  0x00000a74 call  0x00003bbf 
+ 00013400  0x00000a75 call  0x00003bc5 
+ 00013401  0x00000a76 call  0x0000375c 
+ 00013402  0x00000a78 compare  0x00000003 , 0x00000028 , 0x00000003 
+ 00013403  0x00000a79 branch  0x0000345e , 0x00000001 
+ 00013404  0x00000a7a until  0x0000003e , 0x00000017 
+ 00013405  0x00000a7b branch  0x0000345a 
+ 00013406  0x00000a7d fetch  0x00000004 , 0x0000016f 
+ 00013407  0x00000a7e or_into  0x00000003 , 0x0000003f 
+ 00013408  0x00000a7f icopy  0x00000028 
+ 00013409  0x00000a82 set0  0x00000025 , 0x00000000 
+ 00013410  0x00000a83 bpatch  0x0000003f , 0x00004007 
+ 00013411  0x00000a84 fetch  0x00000006 , 0x00000182 
+ 00013412  0x00000a85 store  0x00000006 , 0x00000040 
+ 00013413  0x00000a86 call  0x000034ed 
+ 00013414  0x00000a88 call  0x00003539 
+ 00013415  0x00000a89 branch  0x0000346b , 0x0000002d 
+ 00013416  0x00000a8a call  0x0000350e 
+ 00013417  0x00000a8b nbranch  0x00003466 , 0x00000034 
+ 00013418  0x00000a8c rtn 
+ 00013419  0x00000a90 set0  0x00000025 , 0x00000000 
+ 00013420  0x00000a91 bpatch  0x00000040 , 0x00004008 
+ 00013421  0x00000a92 call  0x000034f9 
+ 00013422  0x00000a93 call  0x000032d6 
+ 00013423  0x00000a94 nrtn  0x00000005 
+ 00013424  0x00000a95 jam  0x00000000 , 0x00000031 
+ 00013425  0x00000a96 call  0x000039ac 
+ 00013426  0x00000a97 branch  0x000032bd 
+ 00013427  0x00000a9b set0  0x00000025 , 0x00000000 
+ 00013428  0x00000a9c bpatch  0x00000041 , 0x00004008 
+ 00013429  0x00000a9d call  0x000039bc 
+ 00013430  0x00000a9e call  0x000034a5 
+ 00013431  0x00000a9f rtn  0x00000028 
+ 00013432  0x00000aa0 call  0x0000327c 
+ 00013433  0x00000aa1 call  0x00006a54 
+ 00013434  0x00000aa3 set0  0x00000025 , 0x00000000 
+ 00013435  0x00000aa4 bpatch  0x00000042 , 0x00004008 
+ 00013436  0x00000aa5 call  0x00003e25 
+ 00013437  0x00000aa6 call  0x00006dec 
+ 00013438  0x00000aa7 call  0x000035d6 
+ 00013439  0x00000aa8 call  0x00007f39 
+ 00013440  0x00000aa9 nbranch  0x0000348d , 0x0000002d 
+ 00013441  0x00000aaa call  0x00003bec 
+ 00013442  0x00000aab call  0x00003870 
+ 00013443  0x00000aac call  0x00006e10 
+ 00013444  0x00000aad call  0x00003547 
+ 00013445  0x00000aae call  0x000038b1 
+ 00013446  0x00000aaf call  0x00005b78 
+ 00013447  0x00000ab0 call  0x00004995 
+ 00013448  0x00000ab1 call  0x000048a9 
+ 00013449  0x00000ab2 fetch  0x00000001 , 0x0000000b 
+ 00013450  0x00000ab3 increase  0x00000001 , 0x0000003f 
+ 00013451  0x00000ab4 store  0x00000001 , 0x0000000b 
+ 00013452  0x00000ab5 call  0x000039ac 
+ 00013453  0x00000ab7 set0  0x00000025 , 0x00000000 
+ 00013454  0x00000ab8 bpatch  0x00000043 , 0x00004008 
+ 00013455  0x00000ab9 call  0x00003d61 
+ 00013456  0x00000aba call  0x00003be2 
+ 00013457  0x00000abb branch  0x00003498 , 0x00000002 
+ 00013458  0x00000abc call  0x00003204 
+ 00013459  0x00000abd nbranch  0x00003498 , 0x00000028 
+ 00013460  0x00000abe call  0x00003812 
+ 00013461  0x00000abf nbranch  0x0000347a , 0x00000034 
+ 00013462  0x00000ac0 call  0x00006a5c 
+ 00013463  0x00000ac1 branch  0x00003290 
+ 00013464  0x00000ac5 set0  0x00000025 , 0x00000000 
+ 00013465  0x00000ac6 bpatch  0x00000044 , 0x00004008 
+ 00013466  0x00000ac7 jam  0x00000000 , 0x00000153 
+ 00013467  0x00000ac8 jam  0x00000000 , 0x00000189 
+ 00013468  0x00000ac9 call  0x00003516 
+ 00013469  0x00000aca set0  0x00000011 , 0x00000000 
+ 00013470  0x00000acb call  0x00007f8a 
+ 00013471  0x00000acc fetch  0x00000001 , 0x00000030 
+ 00013472  0x00000acd bbit0  0x00000004 , 0x000034a3 
+ 00013473  0x00000ace fetcht  0x00000001 , 0x00000046 
+ 00013474  0x00000acf branch  0x000048c4 
+ 00013475  0x00000ad2 force  0x00000006 , 0x00000002 
+ 00013476  0x00000ad3 branch  0x00004826 
+ 00013477  0x00000ad6 set0  0x00000025 , 0x00000000 
+ 00013478  0x00000ad7 bpatch  0x00000045 , 0x00004008 
+ 00013479  0x00000ad8 call  0x0000322e 
+ 00013480  0x00000ad9 nrtn  0x00000028 
+ 00013481  0x00000ada copy  0x00000004 , 0x00000002 
+ 00013482  0x00000adb call  0x00003bd1 
+ 00013483  0x00000adc store  0x00000001 , 0x0000018b 
+ 00013484  0x00000add copy  0x00000002 , 0x00000004 
+ 00013485  0x00000ade jam  0x00000020 , 0x00000011 
+ 00013486  0x00000ae0 set0  0x00000025 , 0x00000000 
+ 00013487  0x00000ae1 bpatch  0x00000046 , 0x00004008 
+ 00013488  0x00000ae2 call  0x00003bac 
+ 00013489  0x00000ae3 force  0x00000002 , 0x00000001 
+ 00013490  0x00000ae4 call  0x000038a8 
+ 00013491  0x00000ae5 deposit  0x00000022 
+ 00013492  0x00000ae6 store  0x00000004 , 0x0000016b 
+ 00013493  0x00000ae7 call  0x000038bf 
+ 00013494  0x00000ae8 call  0x00003baa 
+ 00013495  0x00000ae9 enable  0x0000002f 
+ 00013496  0x00000aea call  0x000035b7 
+ 00013497  0x00000aeb branch  0x000034c1 , 0x00000018 
+ 00013498  0x00000aec call  0x00003a6d 
+ 00013499  0x00000aed call  0x0000350e 
+ 00013500  0x00000aee nbranch  0x000034ae , 0x00000034 
+ 00013501  0x00000aef rtnmark0  0x00000004 
+ 00013502  0x00000af0 jam  0x00000034 , 0x0000007c 
+ 00013503  0x00000af1 set1  0x00000003 , 0x00000000 
+ 00013504  0x00000af2 rtn 
+ 00013505  0x00000af4 enable  0x00000030 
+ 00013506  0x00000af5 call  0x000034ed 
+ 00013507  0x00000af6 call  0x00003a12 
+ 00013508  0x00000af8 set0  0x00000025 , 0x00000000 
+ 00013509  0x00000af9 bpatch  0x00000047 , 0x00004008 
+ 00013510  0x00000afa call  0x0000338b 
+ 00013511  0x00000afb branch  0x000034ce , 0x00000018 
+ 00013512  0x00000afc call  0x0000350e 
+ 00013513  0x00000afd nbranch  0x000034c4 , 0x00000034 
+ 00013514  0x00000afe disable  0x00000030 
+ 00013515  0x00000aff deposit  0x00000028 
+ 00013516  0x00000b00 store  0x00000004 , 0x0000416a 
+ 00013517  0x00000b01 rtn 
+ 00013518  0x00000b03 force  0x00000000 , 0x00000002 
+ 00013519  0x00000b04 call  0x0000487f 
+ 00013520  0x00000b05 enable  0x00000029 
+ 00013521  0x00000b06 bmark0  0x00000004 , 0x000034d6 
+ 00013522  0x00000b07 set0  0x00000004 , 0x00000000 
+ 00013523  0x00000b08 jam  0x00000003 , 0x0000007c 
+ 00013524  0x00000b09 jam  0x00000033 , 0x0000007d 
+ 00013525  0x00000b0a call  0x00006212 
+ 00013526  0x00000b0c deposit  0x00000004 
+ 00013527  0x00000b0d store  0x00000001 , 0x00000077 
+ 00013528  0x00000b0e force  0x00000000 , 0x0000003f 
+ 00013529  0x00000b0f store  0x00000006 , 0x00000038 
+ 00013530  0x00000b10 fetch  0x00000001 , 0x00000031 
+ 00013531  0x00000b11 set1  0x00000001 , 0x0000003f 
+ 00013532  0x00000b12 store  0x00000001 , 0x00000031 
+ 00013533  0x00000b13 call  0x00003bec 
+ 00013534  0x00000b14 disable  0x00000029 
+ 00013535  0x00000b16 enable  0x00000028 
+ 00013536  0x00000b17 rtn 
+ 00013537  0x00000b1c set0  0x00000025 , 0x00000000 
+ 00013538  0x00000b1d bpatch  0x00000048 , 0x00004009 
+ 00013539  0x00000b1e disable  0x0000002d 
+ 00013540  0x00000b1f set0  0x00000005 , 0x00000000 
+ 00013541  0x00000b20 set0  0x0000000a , 0x00000000 
+ 00013542  0x00000b21 set0  0x00000010 , 0x00000000 
+ 00013543  0x00000b22 set0  0x0000000f , 0x00000000 
+ 00013544  0x00000b23 fetch  0x00000001 , 0x00000047 
+ 00013545  0x00000b24 set0  0x00000005 , 0x0000003f 
+ 00013546  0x00000b25 set1  0x00000004 , 0x0000003f 
+ 00013547  0x00000b26 store  0x00000001 , 0x00000047 
+ 00013548  0x00000b27 rtn 
+ 00013549  0x00000b2a set0  0x00000025 , 0x00000000 
+ 00013550  0x00000b2b bpatch  0x00000049 , 0x00004009 
+ 00013551  0x00000b2c jam  0x00000020 , 0x00000011 
+ 00013552  0x00000b2d jam  0x00000050 , 0x00000047 
+ 00013553  0x00000b2e fetch  0x00000002 , 0x0000415f 
+ 00013554  0x00000b2f store  0x00000002 , 0x0000003e 
+ 00013555  0x00000b30 deposit  0x00000022 
+ 00013556  0x00000b31 store  0x00000004 , 0x0000416a 
+ 00013557  0x00000b32 rtn  0x00000030 
+ 00013558  0x00000b33 deposit  0x00000028 
+ 00013559  0x00000b34 store  0x00000004 , 0x0000416a 
+ 00013560  0x00000b35 rtn 
+ 00013561  0x00000b38 set0  0x00000025 , 0x00000000 
+ 00013562  0x00000b39 bpatch  0x0000004a , 0x00004009 
+ 00013563  0x00000b3a call  0x00005b6f 
+ 00013564  0x00000b3b call  0x00003512 
+ 00013565  0x00000b3c store  0x00000001 , 0x00000046 
+ 00013566  0x00000b3d setarg  0x00001c80 
+ 00013567  0x00000b3e store  0x00000002 , 0x00000051 
+ 00013568  0x00000b3f fetch  0x00000001 , 0x00000030 
+ 00013569  0x00000b40 set1  0x00000000 , 0x0000003f 
+ 00013570  0x00000b41 store  0x00000001 , 0x00000030 
+ 00013571  0x00000b42 jam  0x00000000 , 0x0000004b 
+ 00013572  0x00000b43 jam  0x00000000 , 0x0000004c 
+ 00013573  0x00000b44 jam  0x00000000 , 0x000000a2 
+ 00013574  0x00000b45 branch  0x00003bec 
+ 00013575  0x00000b49 set0  0x00000025 , 0x00000000 
+ 00013576  0x00000b4a bpatch  0x0000004b , 0x00004009 
+ 00013577  0x00000b4b force  0x00000000 , 0x0000003f 
+ 00013578  0x00000b4c store  0x00000008 , 0x00004262 
+ 00013579  0x00000b4d istore  0x00000008 , 0x00000005 
+ 00013580  0x00000b4e call  0x0000322a 
+ 00013581  0x00000b4f branch  0x000032f0 
+ 00013582  0x00000b52 fetch  0x00000001 , 0x00000011 
+ 00013583  0x00000b53 increase  0xffffffff , 0x0000003f 
+ 00013584  0x00000b54 store  0x00000001 , 0x00000011 
+ 00013585  0x00000b55 rtn 
+ 00013586  0x00000b58 fetch  0x00000001 , 0x00004170 
+ 00013587  0x00000b59 increase  0x00000001 , 0x0000003f 
+ 00013588  0x00000b5a store  0x00000001 , 0x00004170 
+ 00013589  0x00000b5b rtn 
+ 00013590  0x00000b5f set0  0x00000025 , 0x00000000 
+ 00013591  0x00000b60 bpatch  0x0000004c , 0x00004009 
+ 00013592  0x00000b61 call  0x000031fa 
+ 00013593  0x00000b62 fetch  0x00000001 , 0x00004272 
+ 00013594  0x00000b63 beq  0x00000003 , 0x0000351d 
+ 00013595  0x00000b64 fetch  0x00000001 , 0x00000048 
+ 00013596  0x00000b65 bne  0x00000001 , 0x00003521 
+ 00013597  0x00000b67 call  0x000049be 
+ 00013598  0x00000b68 nbranch  0x00003521 , 0x00000005 
+ 00013599  0x00000b69 call  0x000031f5 
+ 00013600  0x00000b6a jam  0x00000000 , 0x00004272 
+ 00013601  0x00000b6c set0  0x00000025 , 0x00000000 
+ 00013602  0x00000b6d bpatch  0x0000004d , 0x00004009 
+ 00013603  0x00000b6e call  0x00003f18 
+ 00013604  0x00000b6f call  0x00004995 
+ 00013605  0x00000b70 call  0x00003806 
+ 00013606  0x00000b71 jam  0x00000002 , 0x00000b7d 
+ 00013607  0x00000b72 call  0x00007c27 
+ 00013608  0x00000b73 call  0x00005b63 
+ 00013609  0x00000b74 call  0x00004d99 
+ 00013610  0x00000b75 call  0x00007719 
+ 00013611  0x00000b76 fetch  0x00000001 , 0x00000030 
+ 00013612  0x00000b77 set0  0x00000000 
+ 00013613  0x00000b78 store  0x00000001 , 0x00000030 
+ 00013614  0x00000b79 jam  0x00000000 , 0x000047f3 
+ 00013615  0x00000b7b fetch  0x00000001 , 0x0000004c 
+ 00013616  0x00000b7c compare  0x00000000 , 0x0000003f , 0x000000c0 
+ 00013617  0x00000b7d branch  0x00003533 , 0x00000001 
+ 00013618  0x00000b7e set0  0x00000001 , 0x00000000 
+ 00013619  0x00000b80 fetch  0x00000001 , 0x00000047 
+ 00013620  0x00000b81 bbit0  0x00000003 , 0x00003535 
+ 00013621  0x00000b83 fetch  0x00000001 , 0x0000004b 
+ 00013622  0x00000b84 rtnbit0  0x00000006 
+ 00013623  0x00000b85 set0  0x00000002 , 0x00000000 
+ 00013624  0x00000b86 rtn 
+ 00013625  0x00000b89 set0  0x00000025 , 0x00000000 
+ 00013626  0x00000b8a bpatch  0x0000004e , 0x00004009 
+ 00013627  0x00000b8b fetch  0x00000001 , 0x0000017e 
+ 00013628  0x00000b8c rtn  0x00000034 
+ 00013629  0x00000b8d icopy  0x00000004 
+ 00013630  0x00000b8e call  0x000035d6 
+ 00013631  0x00000b8f nrtn  0x0000002d 
+ 00013632  0x00000b90 force  0x00000000 , 0x00000001 
+ 00013633  0x00000b91 call  0x000038b1 
+ 00013634  0x00000b92 deposit  0x00000004 
+ 00013635  0x00000b93 store  0x00000001 , 0x00000077 
+ 00013636  0x00000b94 force  0x00000000 , 0x0000003f 
+ 00013637  0x00000b95 store  0x00000001 , 0x0000017e 
+ 00013638  0x00000b96 rtn 
+ 00013639  0x00000b9d set0  0x00000025 , 0x00000000 
+ 00013640  0x00000b9e bpatch  0x0000004f , 0x00004009 
+ 00013641  0x00000b9f fetch  0x00000001 , 0x00000030 
+ 00013642  0x00000ba0 bbit0  0x00000002 , 0x00003555 
+ 00013643  0x00000ba1 force  0x00000007 , 0x00000001 
+ 00013644  0x00000ba2 bmark0  0x00000007 , 0x00003554 
+ 00013645  0x00000ba3 call  0x00003847 
+ 00013646  0x00000ba4 nbranch  0x00003555 , 0x00000001 
+ 00013647  0x00000ba5 branch  0x00003555 , 0x0000002e 
+ 00013648  0x00000ba6 call  0x00003583 
+ 00013649  0x00000ba7 setarg  0x00000002 
+ 00013650  0x00000ba8 store  0x00000002 , 0x00004168 
+ 00013651  0x00000ba9 rtn 
+ 00013652  0x00000bab nrtn  0x0000002e 
+ 00013653  0x00000bad set0  0x00000025 , 0x00000000 
+ 00013654  0x00000bae bpatch  0x00000050 , 0x0000400a 
+ 00013655  0x00000baf call  0x000032df 
+ 00013656  0x00000bb0 nbranch  0x00003568 , 0x00000005 
+ 00013657  0x00000bb1 fetch  0x00000001 , 0x00000047 
+ 00013658  0x00000bb2 bbit0  0x00000003 , 0x00003571 
+ 00013659  0x00000bb4 bmark1  0x00000005 , 0x00003575 
+ 00013660  0x00000bb5 fetch  0x00000001 , 0x00000189 
+ 00013661  0x00000bb6 bbit1  0x00000006 , 0x0000357c 
+ 00013662  0x00000bb7 fetch  0x00000002 , 0x00004168 
+ 00013663  0x00000bb8 increase  0xffffffff , 0x0000003f 
+ 00013664  0x00000bb9 store  0x00000002 , 0x00004168 
+ 00013665  0x00000bba branch  0x00003565 , 0x00000034 
+ 00013666  0x00000bbb fetch  0x00000001 , 0x00004165 
+ 00013667  0x00000bbc iforce  0x00000001 
+ 00013668  0x00000bbd rtn 
+ 00013669  0x00000bc0 set0  0x00000025 , 0x00000000 
+ 00013670  0x00000bc1 bpatch  0x00000051 , 0x0000400a 
+ 00013671  0x00000bc2 call  0x00003799 
+ 00013672  0x00000bc4 call  0x00003847 
+ 00013673  0x00000bc5 branch  0x00003571 , 0x00000001 
+ 00013674  0x00000bc6 call  0x00005ed9 
+ 00013675  0x00000bc7 branch  0x00003580 , 0x00000028 
+ 00013676  0x00000bc8 fetch  0x00000001 , 0x0000004b 
+ 00013677  0x00000bc9 bbit1  0x00000006 , 0x00003582 
+ 00013678  0x00000bca bmark1  0x00000005 , 0x00003575 
+ 00013679  0x00000bcb fetch  0x00000001 , 0x00000189 
+ 00013680  0x00000bcc bbit1  0x00000006 , 0x0000357c 
+ 00013681  0x00000bce force  0x00000001 , 0x00000001 
+ 00013682  0x00000bcf rtn  0x00000029 
+ 00013683  0x00000bd0 force  0x00000000 , 0x00000001 
+ 00013684  0x00000bd1 rtn 
+ 00013685  0x00000bd3 set0  0x00000025 , 0x00000000 
+ 00013686  0x00000bd4 bpatch  0x00000052 , 0x0000400a 
+ 00013687  0x00000bd5 fetch  0x00000001 , 0x00000019 
+ 00013688  0x00000bd6 iforce  0x00000001 
+ 00013689  0x00000bd7 rtnne  0x00000001 
+ 00013690  0x00000bd8 force  0x00000000 , 0x00000001 
+ 00013691  0x00000bd9 rtn 
+ 00013692  0x00000bdb fetch  0x00000001 , 0x0000015a 
+ 00013693  0x00000bdc and  0x0000003f , 0x0000000f , 0x00000001 
+ 00013694  0x00000bdd set1  0x00000005 , 0x00000000 
+ 00013695  0x00000bde rtn 
+ 00013696  0x00000be0 force  0x00000013 , 0x00000001 
+ 00013697  0x00000be1 branch  0x00003583 
+ 00013698  0x00000be3 call  0x0000358d 
+ 00013699  0x00000be6 set0  0x00000025 , 0x00000000 
+ 00013700  0x00000be7 bpatch  0x00000053 , 0x0000400a 
+ 00013701  0x00000be8 fetcht  0x00000001 , 0x00000047 
+ 00013702  0x00000be9 set1  0x00000003 , 0x00000002 
+ 00013703  0x00000bea storet  0x00000001 , 0x00000047 
+ 00013704  0x00000beb deposit  0x00000001 
+ 00013705  0x00000bec store  0x00000001 , 0x00004165 
+ 00013706  0x00000bed setarg  0x0000ffff 
+ 00013707  0x00000bee store  0x00000002 , 0x00004168 
+ 00013708  0x00000bef rtn 
+ 00013709  0x00000bf2 set0  0x00000025 , 0x00000000 
+ 00013710  0x00000bf3 bpatch  0x00000054 , 0x0000400a 
+ 00013711  0x00000bf4 fetch  0x00000001 , 0x0000004c 
+ 00013712  0x00000bf5 isolate1  0x00000005 , 0x0000003f 
+ 00013713  0x00000bf6 fetch  0x00000002 , 0x00000091 
+ 00013714  0x00000bf7 branch  0x000035a1 , 0x00000001 
+ 00013715  0x00000bf8 force  0x00000003 , 0x00000001 
+ 00013716  0x00000bf9 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00013717  0x00000bfa rtn  0x00000002 
+ 00013718  0x00000bfb force  0x00000004 , 0x00000001 
+ 00013719  0x00000bfc sub  0x0000003f , 0x0000001b , 0x0000003e 
+ 00013720  0x00000bfd rtn  0x00000002 
+ 00013721  0x00000bfe force  0x0000000a , 0x00000001 
+ 00013722  0x00000bff sub  0x0000003f , 0x00000079 , 0x0000003e 
+ 00013723  0x00000c00 rtn  0x00000002 
+ 00013724  0x00000c01 force  0x0000000e , 0x00000001 
+ 00013725  0x00000c02 sub  0x0000003f , 0x000000e0 , 0x0000003e 
+ 00013726  0x00000c03 rtn  0x00000002 
+ 00013727  0x00000c04 force  0x0000000f , 0x00000001 
+ 00013728  0x00000c05 rtn 
+ 00013729  0x00000c07 force  0x00000003 , 0x00000001 
+ 00013730  0x00000c08 sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00013731  0x00000c09 rtn  0x00000002 
+ 00013732  0x00000c0a force  0x00000004 , 0x00000001 
+ 00013733  0x00000c0b sub  0x0000003f , 0x00000036 , 0x0000003e 
+ 00013734  0x00000c0c rtn  0x00000002 
+ 00013735  0x00000c0d force  0x0000000a , 0x00000001 
+ 00013736  0x00000c0e arg  0x0000016f , 0x00000002 
+ 00013737  0x00000c0f isub  0x00000002 , 0x0000003e 
+ 00013738  0x00000c10 nrtn  0x00000002 
+ 00013739  0x00000c11 force  0x0000000e , 0x00000001 
+ 00013740  0x00000c12 arg  0x000002a7 , 0x00000002 
+ 00013741  0x00000c13 isub  0x00000002 , 0x0000003e 
+ 00013742  0x00000c14 nrtn  0x00000002 
+ 00013743  0x00000c15 force  0x0000000f , 0x00000001 
+ 00013744  0x00000c16 rtn 
+ 00013745  0x00000c20 fetch  0x00000001 , 0x00000030 
+ 00013746  0x00000c21 bbit0  0x00000001 , 0x000035b6 
+ 00013747  0x00000c22 fetch  0x00000002 , 0x00000032 
+ 00013748  0x00000c23 branch  0x000035b6 , 0x00000034 
+ 00013749  0x00000c24 nbranch  0x000035b8 , 0x0000002e 
+ 00013750  0x00000c26 call  0x00003bac 
+ 00013751  0x00000c28 add  0x00000028 , 0x00000001 , 0x00000021 
+ 00013752  0x00000c2a enable  0x00000010 
+ 00013753  0x00000c2b fetch  0x00000002 , 0x0000003e 
+ 00013754  0x00000c2c rshift  0x0000003f , 0x0000003f 
+ 00013755  0x00000c2d arg  0x00000500 , 0x00000002 
+ 00013756  0x00000c2e iadd  0x00000002 , 0x0000003f 
+ 00013757  0x00000c2f call  0x00003b7d 
+ 00013758  0x00000c30 call  0x00003a5d 
+ 00013759  0x00000c31 force  0x00000003 , 0x00000024 
+ 00013760  0x00000c32 call  0x00003a3b 
+ 00013761  0x00000c33 call  0x000034e1 
+ 00013762  0x00000c34 call  0x00003b41 
+ 00013763  0x00000c35 set0  0x00000025 , 0x00000000 
+ 00013764  0x00000c36 bpatch  0x00000055 , 0x0000400a 
+ 00013765  0x00000c37 fetch  0x00000002 , 0x0000003e 
+ 00013766  0x00000c38 rshift  0x0000003f , 0x0000003f 
+ 00013767  0x00000c39 call  0x00003b7d 
+ 00013768  0x00000c3a call  0x00003b3a 
+ 00013769  0x00000c3b enable  0x0000000d 
+ 00013770  0x00000c3c fetch  0x00000002 , 0x0000003e 
+ 00013771  0x00000c3d arg  0x000003bb , 0x00000002 
+ 00013772  0x00000c3e iadd  0x00000002 , 0x0000001b 
+ 00013773  0x00000c3f correlate  0x0000003e , 0x00000003 
+ 00013774  0x00000c40 copy  0x0000001a , 0x00000002 
+ 00013775  0x00000c41 storet  0x00000006 , 0x0000009c 
+ 00013776  0x00000c42 disable  0x0000000d 
+ 00013777  0x00000c43 nrtn  0x00000018 
+ 00013778  0x00000c44 arg  0x000003bb , 0x00000029 
+ 00013779  0x00000c45 copy  0x00000021 , 0x00000028 
+ 00013780  0x00000c46 branch  0x00003cb6 , 0x0000002b 
+ 00013781  0x00000c47 rtn 
+ 00013782  0x00000c4b set0  0x00000025 , 0x00000000 
+ 00013783  0x00000c4c bpatch  0x00000056 , 0x0000400a 
+ 00013784  0x00000c4d call  0x000035b1 
+ 00013785  0x00000c4e nbranch  0x00003a6d , 0x00000018 
+ 00013786  0x00000c4f call  0x00003af3 
+ 00013787  0x00000c50 bmark0  0x00000011 , 0x000035df 
+ 00013788  0x00000c51 fetch  0x00000002 , 0x000000f8 
+ 00013789  0x00000c52 increase  0x00000001 , 0x0000003f 
+ 00013790  0x00000c53 store  0x00000002 , 0x000000f8 
+ 00013791  0x00000c55 rshift  0x00000021 , 0x00000002 
+ 00013792  0x00000c56 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00013793  0x00000c58 set0  0x00000025 , 0x00000000 
+ 00013794  0x00000c59 bpatch  0x00000057 , 0x0000400a 
+ 00013795  0x00000c5a enable  0x00000007 
+ 00013796  0x00000c5b enable  0x0000000a 
+ 00013797  0x00000c5c enable  0x0000000b 
+ 00013798  0x00000c5d parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013799  0x00000c5e rshift8  0x0000000c , 0x0000003f 
+ 00013800  0x00000c5f store  0x00000001 , 0x0000015f 
+ 00013801  0x00000c60 parse  0x00000003 , 0x00000000 , 0x00000004 
+ 00013802  0x00000c61 inject  0x00000000 , 0x00000007 
+ 00013803  0x00000c62 copy  0x0000000c , 0x0000003f 
+ 00013804  0x00000c63 store  0x00000001 , 0x00000019 
+ 00013805  0x00000c64 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013806  0x00000c65 rshift8  0x0000000c , 0x0000003f 
+ 00013807  0x00000c66 store  0x00000001 , 0x00000160 
+ 00013808  0x00000c67 fetch  0x00000001 , 0x00000019 
+ 00013809  0x00000c68 sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00013810  0x00000c69 branch  0x000035f7 , 0x00000002 
+ 00013811  0x00000c6a beq  0x00000007 , 0x000035f7 
+ 00013812  0x00000c6b fetch  0x00000001 , 0x0000004c 
+ 00013813  0x00000c6c isolate1  0x00000005 , 0x0000003f 
+ 00013814  0x00000c6d setflag  0x00000001 , 0x00000001 , 0x00000015 
+ 00013815  0x00000c6f set0  0x00000025 , 0x00000000 
+ 00013816  0x00000c70 bpatch  0x00000058 , 0x0000400b 
+ 00013817  0x00000c71 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00013818  0x00000c72 disable  0x0000000b 
+ 00013819  0x00000c73 disable  0x0000000a 
+ 00013820  0x00000c74 branch  0x0000373e , 0x00000006 
+ 00013821  0x00000c75 bmark0  0x00000011 , 0x00003601 
+ 00013822  0x00000c76 fetch  0x00000002 , 0x000000fa 
+ 00013823  0x00000c77 increase  0x00000001 , 0x0000003f 
+ 00013824  0x00000c78 store  0x00000002 , 0x000000fa 
+ 00013825  0x00000c7a set0  0x00000025 , 0x00000000 
+ 00013826  0x00000c7b bpatch  0x00000059 , 0x0000400b 
+ 00013827  0x00000c7c fetch  0x00000001 , 0x0000015f 
+ 00013828  0x00000c7d compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00013829  0x00000c7e setflag  0x00000001 , 0x0000000a , 0x00000000 
+ 00013830  0x00000c7f branch  0x00003613 , 0x00000001 
+ 00013831  0x00000c80 icompare  0x00000007 , 0x00000004 
+ 00013832  0x00000c81 branch  0x00003612 , 0x00000001 
+ 00013833  0x00000c82 bmark0  0x00000007 , 0x0000375c 
+ 00013834  0x00000c83 fetcht  0x00000001 , 0x000000b2 
+ 00013835  0x00000c84 icompare  0x00000007 , 0x00000002 
+ 00013836  0x00000c85 nbranch  0x0000375c , 0x00000001 
+ 00013837  0x00000c86 call  0x00003290 
+ 00013838  0x00000c87 fetch  0x00000001 , 0x00000047 
+ 00013839  0x00000c88 set0  0x00000005 , 0x0000003f 
+ 00013840  0x00000c89 set1  0x00000004 , 0x0000003f 
+ 00013841  0x00000c8a store  0x00000001 , 0x00000047 
+ 00013842  0x00000c8c enable  0x0000002d 
+ 00013843  0x00000c8e set0  0x00000025 , 0x00000000 
+ 00013844  0x00000c8f bpatch  0x0000005a , 0x0000400b 
+ 00013845  0x00000c90 fetch  0x00000001 , 0x00000019 
+ 00013846  0x00000c91 icopy  0x00000001 
+ 00013847  0x00000c92 bmark1  0x0000000a , 0x00003623 
+ 00013848  0x00000c93 fetcht  0x00000001 , 0x00000160 
+ 00013849  0x00000c94 fetch  0x00000001 , 0x00000047 
+ 00013850  0x00000c95 set0  0x00000000 , 0x0000003f 
+ 00013851  0x00000c96 isolate1  0x00000000 , 0x00000002 
+ 00013852  0x00000c97 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00013853  0x00000c98 isolate1  0x00000001 , 0x00000002 
+ 00013854  0x00000c99 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00013855  0x00000c9a store  0x00000001 , 0x00000047 
+ 00013856  0x00000c9b isolate0  0x00000001 , 0x00000002 
+ 00013857  0x00000c9c branch  0x00003623 , 0x00000001 
+ 00013858  0x00000c9d call  0x00003799 
+ 00013859  0x00000c9f set0  0x00000025 , 0x00000000 
+ 00013860  0x00000ca0 bpatch  0x0000005b , 0x0000400b 
+ 00013861  0x00000ca1 arg  0x00000000 , 0x00000002 
+ 00013862  0x00000ca2 call  0x00003b74 
+ 00013863  0x00000ca3 and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00013864  0x00000ca4 beq  0x00000001 , 0x00003656 
+ 00013865  0x00000ca5 beq  0x00000000 , 0x0000375c 
+ 00013866  0x00000ca6 beq  0x00000002 , 0x00003769 
+ 00013867  0x00000ca7 fetcht  0x00000001 , 0x00000160 
+ 00013868  0x00000ca8 fetch  0x00000001 , 0x00000047 
+ 00013869  0x00000ca9 icompare  0x00000004 , 0x00000002 
+ 00013870  0x00000caa nbranch  0x00003632 , 0x00000001 
+ 00013871  0x00000cab bmark0  0x0000000a , 0x00003631 
+ 00013872  0x00000cac bbit0  0x00000007 , 0x00003632 
+ 00013873  0x00000cae set1  0x0000000f , 0x00000000 
+ 00013874  0x00000cb0 set0  0x00000025 , 0x00000000 
+ 00013875  0x00000cb1 bpatch  0x0000005c , 0x0000400b 
+ 00013876  0x00000cb2 deposit  0x00000001 
+ 00013877  0x00000cb3 beq  0x00000003 , 0x00003658 
+ 00013878  0x00000cb4 beq  0x00000004 , 0x0000365c 
+ 00013879  0x00000cb5 beq  0x00000007 , 0x00003642 
+ 00013880  0x00000cb6 beq  0x00000008 , 0x0000365b 
+ 00013881  0x00000cb7 arg  0x00000004 , 0x00000002 
+ 00013882  0x00000cb8 call  0x00003b74 
+ 00013883  0x00000cb9 beq  0x0000000a , 0x00003657 
+ 00013884  0x00000cba beq  0x0000000b , 0x0000365a 
+ 00013885  0x00000cbb arg  0x00000008 , 0x00000002 
+ 00013886  0x00000cbc call  0x00003b74 
+ 00013887  0x00000cbd beq  0x0000000e , 0x00003657 
+ 00013888  0x00000cbe beq  0x0000000f , 0x0000365a 
+ 00013889  0x00000cbf rtn 
+ 00013890  0x00000cc3 set0  0x00000025 , 0x00000000 
+ 00013891  0x00000cc4 bpatch  0x0000005d , 0x0000400b 
+ 00013892  0x00000cc5 enable  0x0000000d 
+ 00013893  0x00000cc6 enable  0x00000009 
+ 00013894  0x00000cc7 enable  0x0000000e 
+ 00013895  0x00000cc8 arg  0x000000d3 , 0x00000005 
+ 00013896  0x00000cc9 force  0x0000001e , 0x00000039 
+ 00013897  0x00000ccb parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00013898  0x00000ccc rshift3  0x0000000c , 0x0000003f 
+ 00013899  0x00000ccd istore  0x00000001 , 0x00000005 
+ 00013900  0x00000cce loop  0x00003649 
+ 00013901  0x00000ccf bmark0  0x00000007 , 0x0000375c 
+ 00013902  0x00000cd0 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00013903  0x00000cd1 nsetflag  0x00000006 , 0x00000008 , 0x00000000 
+ 00013904  0x00000cd2 call  0x00003653 , 0x00000006 
+ 00013905  0x00000cd3 branch  0x0000374b , 0x00000006 
+ 00013906  0x00000cd4 branch  0x0000372c 
+ 00013907  0x00000cd7 deposit  0x0000001a 
+ 00013908  0x00000cd8 store  0x00000006 , 0x00000020 
+ 00013909  0x00000cd9 rtn 
+ 00013910  0x00000cdc branch  0x0000375c 
+ 00013911  0x00000ce0 set1  0x00000010 , 0x00000000 
+ 00013912  0x00000ce2 enable  0x0000000c 
+ 00013913  0x00000ce3 branch  0x0000365d 
+ 00013914  0x00000ce7 set1  0x00000010 , 0x00000000 
+ 00013915  0x00000ce9 set1  0x00000002 , 0x00000015 
+ 00013916  0x00000ceb enable  0x0000000d 
+ 00013917  0x00000ced set0  0x00000025 , 0x00000000 
+ 00013918  0x00000cee bpatch  0x0000005e , 0x0000400b 
+ 00013919  0x00000cef bmark1  0x00000001 , 0x0000375c 
+ 00013920  0x00000cf0 isolate0  0x00000001 , 0x00000015 
+ 00013921  0x00000cf1 branch  0x0000366a , 0x00000001 
+ 00013922  0x00000cf2 disable  0x00000007 
+ 00013923  0x00000cf3 enable  0x0000000d 
+ 00013924  0x00000cf4 disable  0x0000000c 
+ 00013925  0x00000cf5 add  0x00000022 , 0x00000002 , 0x0000000b 
+ 00013926  0x00000cf6 correlate  0x00000022 , 0x00000026 
+ 00013927  0x00000cf7 nbranch  0x0000374b , 0x00000018 
+ 00013928  0x00000cf8 set1  0x00000010 , 0x00000000 
+ 00013929  0x00000cf9 enable  0x00000007 
+ 00013930  0x00000cfb set0  0x00000025 , 0x00000000 
+ 00013931  0x00000cfc bpatch  0x0000005f , 0x0000400b 
+ 00013932  0x00000cfd enable  0x0000000e 
+ 00013933  0x00000cfe enable  0x00000009 
+ 00013934  0x00000cff parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013935  0x00000d00 rshift8  0x0000000c , 0x0000003f 
+ 00013936  0x00000d01 store  0x00000001 , 0x0000018a 
+ 00013937  0x00000d02 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00013938  0x00000d03 bmark1  0x00000010 , 0x00003676 
+ 00013939  0x00000d04 rshift3  0x0000000c , 0x00000039 
+ 00013940  0x00000d05 rshift3  0x00000039 , 0x00000039 
+ 00013941  0x00000d06 branch  0x00003679 
+ 00013942  0x00000d08 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00013943  0x00000d09 rshift  0x0000000c , 0x00000039 
+ 00013944  0x00000d0a parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013945  0x00000d0c set0  0x00000025 , 0x00000000 
+ 00013946  0x00000d0d bpatch  0x00000060 , 0x0000400c 
+ 00013947  0x00000d0e deposit  0x00000039 
+ 00013948  0x00000d0f store  0x00000002 , 0x00000169 
+ 00013949  0x00000d10 branch  0x000036ee , 0x00000034 
+ 00013950  0x00000d11 isub  0x00000035 , 0x0000003e 
+ 00013951  0x00000d12 branch  0x0000374b , 0x00000002 
+ 00013952  0x00000d13 set0  0x00000025 , 0x00000000 
+ 00013953  0x00000d14 bpatch  0x00000061 , 0x0000400c 
+ 00013954  0x00000d15 set0  0x00000000 , 0x00000000 
+ 00013955  0x00000d16 fetch  0x00000001 , 0x0000018a 
+ 00013956  0x00000d17 and_into  0x00000003 , 0x0000003f 
+ 00013957  0x00000d18 arg  0x000004de , 0x00000005 
+ 00013958  0x00000d19 beq  0x00000003 , 0x0000368f 
+ 00013959  0x00000d1a bmark1  0x00000011 , 0x000036ea 
+ 00013960  0x00000d1b fetch  0x00000001 , 0x00004132 
+ 00013961  0x00000d1c beq  0x00000001 , 0x00003694 
+ 00013962  0x00000d1e fetch  0x00000001 , 0x0000018a 
+ 00013963  0x00000d1f and_into  0x00000003 , 0x0000003f 
+ 00013964  0x00000d20 beq  0x00000002 , 0x000036c3 
+ 00013965  0x00000d21 beq  0x00000001 , 0x000036d8 
+ 00013966  0x00000d22 branch  0x0000374b 
+ 00013967  0x00000d25 fetch  0x00000002 , 0x00000169 
+ 00013968  0x00000d26 sub  0x0000003f , 0x00000070 , 0x0000003e 
+ 00013969  0x00000d27 nbranch  0x0000374b , 0x00000002 
+ 00013970  0x00000d28 bmark1  0x0000000f , 0x0000372c 
+ 00013971  0x00000d29 branch  0x000036ea 
+ 00013972  0x00000d2c set0  0x00000025 , 0x00000000 
+ 00013973  0x00000d2d bpatch  0x00000062 , 0x0000400c 
+ 00013974  0x00000d2e bmark1  0x0000000f , 0x0000372c 
+ 00013975  0x00000d2f fetch  0x00000002 , 0x00000169 
+ 00013976  0x00000d30 branch  0x0000374b , 0x00000034 
+ 00013977  0x00000d31 call  0x00004494 
+ 00013978  0x00000d32 nbranch  0x000036a1 , 0x00000001 
+ 00013979  0x00000d34 fetcht  0x00000002 , 0x00000291 
+ 00013980  0x00000d35 increase  0x0000000a , 0x0000003f 
+ 00013981  0x00000d36 isub  0x00000002 , 0x0000003e 
+ 00013982  0x00000d37 nbranch  0x000036a7 , 0x00000002 
+ 00013983  0x00000d38 call  0x00004449 
+ 00013984  0x00000d39 branch  0x0000369b 
+ 00013985  0x00000d3b hfetch  0x00000002 , 0x0000810e 
+ 00013986  0x00000d3c arg  0x0000012c , 0x00000002 
+ 00013987  0x00000d3d isub  0x00000002 , 0x0000003e 
+ 00013988  0x00000d3e branch  0x0000374b , 0x00000002 
+ 00013989  0x00000d3f fetch  0x00000002 , 0x00004800 
+ 00013990  0x00000d40 branch  0x0000374b , 0x00000034 
+ 00013991  0x00000d42 set0  0x00000025 , 0x00000000 
+ 00013992  0x00000d43 bpatch  0x00000063 , 0x0000400c 
+ 00013993  0x00000d44 call  0x00004972 
+ 00013994  0x00000d45 fetch  0x00000001 , 0x00000046 
+ 00013995  0x00000d46 fetcht  0x00000001 , 0x0000018a 
+ 00013996  0x00000d47 and_into  0x00000003 , 0x00000002 
+ 00013997  0x00000d48 lshift8  0x00000002 , 0x00000002 
+ 00013998  0x00000d49 lshift4  0x00000002 , 0x00000002 
+ 00013999  0x00000d4a ior  0x00000002 , 0x0000003f 
+ 00014000  0x00000d4b istore  0x00000002 , 0x0000000a 
+ 00014001  0x00000d4c fetcht  0x00000002 , 0x00000169 
+ 00014002  0x00000d4d copy  0x00000002 , 0x00000039 
+ 00014003  0x00000d4e istoret  0x00000002 , 0x0000000a 
+ 00014004  0x00000d50 set0  0x00000025 , 0x00000000 
+ 00014005  0x00000d51 bpatch  0x00000064 , 0x0000400c 
+ 00014006  0x00000d52 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00014007  0x00000d53 rshift3  0x0000000c , 0x0000003f 
+ 00014008  0x00000d54 istore  0x00000001 , 0x0000000a 
+ 00014009  0x00000d55 loop  0x000036b4 
+ 00014010  0x00000d56 add  0x00000002 , 0x00000004 , 0x00000039 
+ 00014011  0x00000d57 call  0x00004494 
+ 00014012  0x00000d58 nbranch  0x000036c1 , 0x00000001 
+ 00014013  0x00000d59 set1  0x00000013 , 0x00000000 
+ 00014014  0x00000d5a force  0x00000006 , 0x00000007 
+ 00014015  0x00000d5b call  0x00004378 
+ 00014016  0x00000d5c branch  0x000036ee 
+ 00014017  0x00000d5e call  0x00004424 
+ 00014018  0x00000d5f branch  0x000036ee 
+ 00014019  0x00000d62 set0  0x00000025 , 0x00000000 
+ 00014020  0x00000d63 bpatch  0x00000065 , 0x0000400c 
+ 00014021  0x00000d64 bmark1  0x0000000f , 0x0000372c 
+ 00014022  0x00000d65 fetch  0x00000002 , 0x00000169 
+ 00014023  0x00000d66 arg  0x000002e0 , 0x00000002 
+ 00014024  0x00000d67 isub  0x00000002 , 0x0000003e 
+ 00014025  0x00000d68 branch  0x0000374b , 0x00000002 
+ 00014026  0x00000d69 fetch  0x00000001 , 0x000002ca 
+ 00014027  0x00000d6a bbit0  0x00000000 , 0x000036ce 
+ 00014028  0x00000d6b bbit0  0x00000001 , 0x000036d3 
+ 00014029  0x00000d6c branch  0x0000375c 
+ 00014030  0x00000d6e jam  0x00000001 , 0x000002c8 
+ 00014031  0x00000d6f fetch  0x00000002 , 0x000002c4 
+ 00014032  0x00000d70 bne  0x00000000 , 0x0000375c 
+ 00014033  0x00000d71 arg  0x00001000 , 0x00000005 
+ 00014034  0x00000d72 branch  0x000036ea 
+ 00014035  0x00000d74 jam  0x00000002 , 0x000002c8 
+ 00014036  0x00000d75 fetch  0x00000002 , 0x000002c6 
+ 00014037  0x00000d76 bne  0x00000000 , 0x0000375c 
+ 00014038  0x00000d77 arg  0x00001400 , 0x00000005 
+ 00014039  0x00000d78 branch  0x000036ea 
+ 00014040  0x00000d7b set0  0x00000025 , 0x00000000 
+ 00014041  0x00000d7c bpatch  0x00000066 , 0x0000400c 
+ 00014042  0x00000d7d bmark1  0x0000000f , 0x0000372c 
+ 00014043  0x00000d7e fetch  0x00000002 , 0x00000169 
+ 00014044  0x00000d7f arg  0x000002e0 , 0x00000002 
+ 00014045  0x00000d80 isub  0x00000002 , 0x0000003e 
+ 00014046  0x00000d81 branch  0x0000374b , 0x00000002 
+ 00014047  0x00000d82 fetch  0x00000001 , 0x000002c8 
+ 00014048  0x00000d83 beq  0x00000001 , 0x000036e3 
+ 00014049  0x00000d84 beq  0x00000002 , 0x000036e7 
+ 00014050  0x00000d85 branch  0x0000375c 
+ 00014051  0x00000d87 arg  0x00001000 , 0x00000005 
+ 00014052  0x00000d88 fetch  0x00000002 , 0x000002c4 
+ 00014053  0x00000d89 iadd  0x00000005 , 0x00000005 
+ 00014054  0x00000d8a branch  0x000036ea 
+ 00014055  0x00000d8c arg  0x00001400 , 0x00000005 
+ 00014056  0x00000d8d fetch  0x00000002 , 0x000002c6 
+ 00014057  0x00000d8e iadd  0x00000005 , 0x00000005 
+ 00014058  0x00000d90 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00014059  0x00000d91 rshift3  0x0000000c , 0x0000003f 
+ 00014060  0x00000d92 istore  0x00000001 , 0x00000005 
+ 00014061  0x00000d93 loop  0x000036ea 
+ 00014062  0x00000d95 set0  0x00000025 , 0x00000000 
+ 00014063  0x00000d96 bpatch  0x00000067 , 0x0000400c 
+ 00014064  0x00000d97 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00014065  0x00000d98 branch  0x00003745 , 0x00000006 
+ 00014066  0x00000d99 call  0x00003e0f 
+ 00014067  0x00000d9a fetch  0x00000001 , 0x000043cc 
+ 00014068  0x00000d9b beq  0x00000001 , 0x0000375c 
+ 00014069  0x00000d9c bmark1  0x00000011 , 0x00003718 
+ 00014070  0x00000d9d bmark1  0x0000000f , 0x00003759 
+ 00014071  0x00000d9e fetch  0x00000001 , 0x0000018a 
+ 00014072  0x00000d9f compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00014073  0x00000da0 branch  0x00003718 , 0x00000001 
+ 00014074  0x00000da1 fetch  0x00000002 , 0x00000169 
+ 00014075  0x00000da2 branch  0x00003718 , 0x00000034 
+ 00014076  0x00000da3 fetch  0x00000001 , 0x00004132 
+ 00014077  0x00000da4 beq  0x00000001 , 0x00003718 
+ 00014078  0x00000da5 set0  0x00000025 , 0x00000000 
+ 00014079  0x00000da6 bpatch  0x00000068 , 0x0000400d 
+ 00014080  0x00000da7 fetch  0x00000001 , 0x000002c8 
+ 00014081  0x00000da8 beq  0x00000001 , 0x00003704 
+ 00014082  0x00000da9 beq  0x00000002 , 0x0000370e 
+ 00014083  0x00000daa branch  0x00003bf1 
+ 00014084  0x00000dac fetch  0x00000002 , 0x000002c4 
+ 00014085  0x00000dad fetcht  0x00000002 , 0x00000169 
+ 00014086  0x00000dae iadd  0x00000002 , 0x0000003f 
+ 00014087  0x00000daf store  0x00000002 , 0x000002c4 
+ 00014088  0x00000db0 beq  0x00000000 , 0x00003bf1 
+ 00014089  0x00000db1 fetcht  0x00000002 , 0x00001000 
+ 00014090  0x00000db2 increase  0x00000004 , 0x00000002 
+ 00014091  0x00000db3 isub  0x00000002 , 0x0000003e 
+ 00014092  0x00000db4 call  0x000038a0 , 0x00000005 
+ 00014093  0x00000db5 branch  0x00003718 
+ 00014094  0x00000db7 fetch  0x00000002 , 0x000002c6 
+ 00014095  0x00000db8 fetcht  0x00000002 , 0x00000169 
+ 00014096  0x00000db9 iadd  0x00000002 , 0x0000003f 
+ 00014097  0x00000dba store  0x00000002 , 0x000002c6 
+ 00014098  0x00000dbb beq  0x00000000 , 0x00003bf1 
+ 00014099  0x00000dbc fetcht  0x00000002 , 0x00001400 
+ 00014100  0x00000dbd add  0x00000002 , 0x00000004 , 0x00000002 
+ 00014101  0x00000dbe isub  0x00000002 , 0x0000003e 
+ 00014102  0x00000dbf call  0x000038a4 , 0x00000005 
+ 00014103  0x00000dc0 branch  0x00003718 
+ 00014104  0x00000dc2 set0  0x00000025 , 0x00000000 
+ 00014105  0x00000dc3 bpatch  0x00000069 , 0x0000400d 
+ 00014106  0x00000dc4 fetcht  0x00000001 , 0x0000004c 
+ 00014107  0x00000dc5 fetch  0x00000001 , 0x0000018a 
+ 00014108  0x00000dc6 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00014109  0x00000dc7 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00014110  0x00000dc8 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00014111  0x00000dc9 storet  0x00000001 , 0x0000004c 
+ 00014112  0x00000dca nbranch  0x00003722 , 0x00000001 
+ 00014113  0x00000dcb set1  0x00000001 , 0x00000000 
+ 00014114  0x00000dcd bmark0  0x00000011 , 0x0000372c 
+ 00014115  0x00000dce isolate1  0x00000006 , 0x00000002 
+ 00014116  0x00000dcf branch  0x0000372c , 0x00000001 
+ 00014117  0x00000dd0 fetch  0x00000002 , 0x000000fc 
+ 00014118  0x00000dd1 increase  0x00000001 , 0x0000003f 
+ 00014119  0x00000dd2 store  0x00000002 , 0x000000fc 
+ 00014120  0x00000dd3 set1  0x00000005 , 0x00000000 
+ 00014121  0x00000dd4 set0  0x00000007 , 0x00000002 
+ 00014122  0x00000dd5 set0  0x00000001 , 0x00000000 
+ 00014123  0x00000dd6 storet  0x00000001 , 0x0000004c 
+ 00014124  0x00000dd8 set0  0x00000025 , 0x00000000 
+ 00014125  0x00000dd9 bpatch  0x0000006a , 0x0000400d 
+ 00014126  0x00000dda fetcht  0x00000001 , 0x00000160 
+ 00014127  0x00000ddb fetch  0x00000001 , 0x00000047 
+ 00014128  0x00000ddc set1  0x00000005 , 0x0000003f 
+ 00014129  0x00000ddd isolate1  0x00000002 , 0x00000002 
+ 00014130  0x00000dde setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00014131  0x00000ddf isolate1  0x0000000a , 0x00000000 
+ 00014132  0x00000de0 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00014133  0x00000de1 store  0x00000001 , 0x00000047 
+ 00014134  0x00000de2 fetch  0x00000002 , 0x00000169 
+ 00014135  0x00000de3 nbranch  0x0000375c , 0x00000034 
+ 00014136  0x00000de4 fetch  0x00000001 , 0x0000004c 
+ 00014137  0x00000de5 set0  0x00000007 , 0x0000003f 
+ 00014138  0x00000de6 store  0x00000001 , 0x0000004c 
+ 00014139  0x00000de7 fetch  0x00000001 , 0x0000018a 
+ 00014140  0x00000de8 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00014141  0x00000dea branch  0x0000375c 
+ 00014142  0x00000ded set0  0x00000025 , 0x00000000 
+ 00014143  0x00000dee bpatch  0x0000006b , 0x0000400d 
+ 00014144  0x00000def disable  0x0000002d 
+ 00014145  0x00000df0 fetch  0x00000002 , 0x0000001a 
+ 00014146  0x00000df1 increase  0x00000001 , 0x0000003f 
+ 00014147  0x00000df2 store  0x00000002 , 0x0000001a 
+ 00014148  0x00000df3 branch  0x0000375c 
+ 00014149  0x00000df5 fetch  0x00000002 , 0x0000001c 
+ 00014150  0x00000df6 increase  0x00000001 , 0x0000003f 
+ 00014151  0x00000df7 store  0x00000002 , 0x0000001c 
+ 00014152  0x00000df8 call  0x0000374c 
+ 00014153  0x00000df9 bmark0  0x00000011 , 0x0000374b 
+ 00014154  0x00000dfa set1  0x00000005 , 0x00000000 
+ 00014155  0x00000dfc branch  0x0000375c 
+ 00014156  0x00000dff set0  0x00000025 , 0x00000000 
+ 00014157  0x00000e00 bpatch  0x0000006c , 0x0000400d 
+ 00014158  0x00000e01 fetch  0x00000001 , 0x0000018a 
+ 00014159  0x00000e02 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00014160  0x00000e03 nbranch  0x00003755 , 0x00000001 
+ 00014161  0x00000e05 fetcht  0x00000001 , 0x0000004c 
+ 00014162  0x00000e06 set0  0x00000006 , 0x00000002 
+ 00014163  0x00000e07 storet  0x00000001 , 0x0000004c 
+ 00014164  0x00000e08 rtn 
+ 00014165  0x00000e0c fetcht  0x00000001 , 0x0000004c 
+ 00014166  0x00000e0d set0  0x00000007 , 0x00000002 
+ 00014167  0x00000e0e storet  0x00000001 , 0x0000004c 
+ 00014168  0x00000e0f branch  0x0000443b 
+ 00014169  0x00000e12 fetch  0x00000001 , 0x00000047 
+ 00014170  0x00000e13 set1  0x00000005 , 0x0000003f 
+ 00014171  0x00000e14 store  0x00000001 , 0x00000047 
+ 00014172  0x00000e16 set0  0x00000025 , 0x00000000 
+ 00014173  0x00000e17 bpatch  0x0000006d , 0x0000400d 
+ 00014174  0x00000e18 disable  0x0000001d 
+ 00014175  0x00000e19 disable  0x0000001c 
+ 00014176  0x00000e1a disable  0x0000000d 
+ 00014177  0x00000e1b disable  0x0000000c 
+ 00014178  0x00000e1c disable  0x00000009 
+ 00014179  0x00000e1d disable  0x0000000e 
+ 00014180  0x00000e1e disable  0x00000007 
+ 00014181  0x00000e1f branch  0x00003a6d , 0x00000021 
+ 00014182  0x00000e20 until  0x0000003e , 0x00000027 
+ 00014183  0x00000e21 nop  0x00000064 
+ 00014184  0x00000e22 branch  0x00003a6d 
+ 00014185  0x00000e25 set0  0x00000025 , 0x00000000 
+ 00014186  0x00000e26 bpatch  0x0000006e , 0x0000400d 
+ 00014187  0x00000e27 enable  0x00000009 
+ 00014188  0x00000e28 enable  0x0000000c 
+ 00014189  0x00000e29 parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00014190  0x00000e2a isolate1  0x0000003a , 0x0000003f 
+ 00014191  0x00000e2b setflag  0x00000001 , 0x00000000 , 0x00000000 
+ 00014192  0x00000e2c copy  0x00000020 , 0x00000002 
+ 00014193  0x00000e2d ialigned  0x00000020 
+ 00014194  0x00000e2e ialigned  0x0000001e 
+ 00014195  0x00000e2f pulse  0x00000015 
+ 00014196  0x00000e30 setsect  0x00000002 , 0x000fffff 
+ 00014197  0x00000e31 setsect  0x00000003 , 0x0000ffff 
+ 00014198  0x00000e32 nop  0x00000020 
+ 00014199  0x00000e33 iverify  0x0000000d 
+ 00014200  0x00000e34 deposit  0x0000002c 
+ 00014201  0x00000e35 store  0x00000003 , 0x00000182 
+ 00014202  0x00000e36 deposit  0x0000002d 
+ 00014203  0x00000e37 store  0x00000001 , 0x00000185 
+ 00014204  0x00000e38 copy  0x00000002 , 0x00000020 
+ 00014205  0x00000e39 branch  0x0000377f , 0x00000001 
+ 00014206  0x00000e3a branch  0x0000374b 
+ 00014207  0x00000e3c set0  0x00000025 , 0x00000000 
+ 00014208  0x00000e3d bpatch  0x0000006f , 0x0000400d 
+ 00014209  0x00000e3e parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00014210  0x00000e3f ialigned  0x0000001f 
+ 00014211  0x00000e40 ialigned  0x00000004 
+ 00014212  0x00000e41 ialigned  0x0000002e 
+ 00014213  0x00000e42 ialigned  0x00000012 
+ 00014214  0x00000e43 force  0x00000000 , 0x0000003f 
+ 00014215  0x00000e44 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00014216  0x00000e45 branch  0x0000374b , 0x00000006 
+ 00014217  0x00000e46 setarg  0x0ffffffc 
+ 00014218  0x00000e47 iand  0x00000012 , 0x0000003f 
+ 00014219  0x00000e48 store  0x00000004 , 0x0000016f 
+ 00014220  0x00000e49 deposit  0x0000001d 
+ 00014221  0x00000e4a store  0x00000003 , 0x0000017f 
+ 00014222  0x00000e4b deposit  0x0000001c 
+ 00014223  0x00000e4c store  0x00000001 , 0x0000017d 
+ 00014224  0x00000e4d deposit  0x00000004 
+ 00014225  0x00000e4e store  0x00000001 , 0x0000017e 
+ 00014226  0x00000e4f deposit  0x0000002e 
+ 00014227  0x00000e50 store  0x00000002 , 0x00000186 
+ 00014228  0x00000e51 deposit  0x00000021 
+ 00014229  0x00000e52 inject  0x00000001 , 0x00000020 
+ 00014230  0x00000e53 compare  0x00000002 , 0x00000001 , 0x0000000f 
+ 00014231  0x00000e54 setflag  0x00000001 , 0x0000000b , 0x00000000 
+ 00014232  0x00000e55 branch  0x0000375c 
+ 00014233  0x00000e58 set0  0x00000025 , 0x00000000 
+ 00014234  0x00000e59 bpatch  0x00000070 , 0x0000400e 
+ 00014235  0x00000e5a fetch  0x00000001 , 0x00000047 
+ 00014236  0x00000e5b rtnbit0  0x00000003 
+ 00014237  0x00000e5c set0  0x00000003 , 0x0000003f 
+ 00014238  0x00000e5d setflip  0x00000006 , 0x0000003f 
+ 00014239  0x00000e5e store  0x00000001 , 0x00000047 
+ 00014240  0x00000e5f fetch  0x00000001 , 0x00004165 
+ 00014241  0x00000e60 beq  0x00000013 , 0x000037b1 
+ 00014242  0x00000e61 rtneq  0x00000007 
+ 00014243  0x00000e62 fetch  0x00000001 , 0x0000004b 
+ 00014244  0x00000e63 rtnbit0  0x00000006 , 0x0000003f 
+ 00014245  0x00000e64 set0  0x00000006 , 0x0000003f 
+ 00014246  0x00000e65 set1  0x00000007 , 0x0000003f 
+ 00014247  0x00000e66 store  0x00000001 , 0x0000004b 
+ 00014248  0x00000e67 set0  0x00000002 , 0x00000000 
+ 00014249  0x00000e68 fetch  0x00000001 , 0x00004132 
+ 00014250  0x00000e69 rtneq  0x00000001 
+ 00014251  0x00000e6a fetch  0x00000002 , 0x000042af 
+ 00014252  0x00000e6b nrtn  0x00000034 
+ 00014253  0x00000e6c fetch  0x00000001 , 0x0000004b 
+ 00014254  0x00000e6d set0  0x00000007 , 0x0000003f 
+ 00014255  0x00000e6e store  0x00000001 , 0x0000004b 
+ 00014256  0x00000e6f branch  0x00005267 
+ 00014257  0x00000e72 set0  0x00000025 , 0x00000000 
+ 00014258  0x00000e73 bpatch  0x00000071 , 0x0000400e 
+ 00014259  0x00000e74 fetch  0x00000001 , 0x00000433 
+ 00014260  0x00000e75 rshift  0x0000003f , 0x0000003f 
+ 00014261  0x00000e76 beq  0x00000011 , 0x000037d0 
+ 00014262  0x00000e77 beq  0x00000012 , 0x000037da 
+ 00014263  0x00000e78 beq  0x00000018 , 0x00003806 
+ 00014264  0x00000e79 beq  0x0000007f , 0x000037bf 
+ 00014265  0x00000e7a beq  0x0000002c , 0x0000385e 
+ 00014266  0x00000e7b rtnne  0x00000003 
+ 00014267  0x00000e7c fetch  0x00000001 , 0x00000434 
+ 00014268  0x00000e7d beq  0x0000002b , 0x000037c8 
+ 00014269  0x00000e7e beq  0x00000011 , 0x000037c3 
+ 00014270  0x00000e7f rtn 
+ 00014271  0x00000e82 fetch  0x00000001 , 0x00000434 
+ 00014272  0x00000e83 set1  0x00000007 , 0x0000003f 
+ 00014273  0x00000e84 beq  0x0000008d , 0x0000385e 
+ 00014274  0x00000e85 rtn 
+ 00014275  0x00000e87 rtn  0x00000029 
+ 00014276  0x00000e88 fetch  0x00000001 , 0x00000030 
+ 00014277  0x00000e89 rtnbit1  0x00000004 
+ 00014278  0x00000e8a jam  0x00000031 , 0x0000007c 
+ 00014279  0x00000e8b rtn 
+ 00014280  0x00000e8f rtn  0x00000029 
+ 00014281  0x00000e90 fetch  0x00000001 , 0x00000031 
+ 00014282  0x00000e91 isolate1  0x00000004 , 0x0000003f 
+ 00014283  0x00000e92 branch  0x000037cd , 0x00000001 
+ 00014284  0x00000e94 rtn 
+ 00014285  0x00000e96 set0  0x00000004 , 0x0000003f 
+ 00014286  0x00000e97 store  0x00000001 , 0x00000031 
+ 00014287  0x00000e98 rtn 
+ 00014288  0x00000e9b set0  0x00000025 , 0x00000000 
+ 00014289  0x00000e9c bpatch  0x00000072 , 0x0000400e 
+ 00014290  0x00000e9d fetch  0x00000001 , 0x0000004c 
+ 00014291  0x00000e9e set1  0x00000002 , 0x0000003f 
+ 00014292  0x00000e9f store  0x00000001 , 0x0000004c 
+ 00014293  0x00000ea0 hjam  0x00000001 , 0x00008011 
+ 00014294  0x00000ea1 fetch  0x00000001 , 0x00000030 
+ 00014295  0x00000ea2 isolate1  0x00000004 , 0x0000003f 
+ 00014296  0x00000ea3 branch  0x00004845 , 0x00000001 
+ 00014297  0x00000ea4 rtn 
+ 00014298  0x00000ea7 set0  0x00000025 , 0x00000000 
+ 00014299  0x00000ea8 bpatch  0x00000073 , 0x0000400e 
+ 00014300  0x00000ea9 fetch  0x00000001 , 0x0000004c 
+ 00014301  0x00000eaa set0  0x00000002 , 0x0000003f 
+ 00014302  0x00000eab store  0x00000001 , 0x0000004c 
+ 00014303  0x00000eac hjam  0x00000000 , 0x00008011 
+ 00014304  0x00000ead rtn 
+ 00014305  0x00000eb1 set0  0x00000025 , 0x00000000 
+ 00014306  0x00000eb2 bpatch  0x00000074 , 0x0000400e 
+ 00014307  0x00000eb3 copy  0x00000022 , 0x0000003f 
+ 00014308  0x00000eb4 store  0x00000004 , 0x000042a5 
+ 00014309  0x00000eb5 add  0x00000022 , 0x00000003 , 0x00000011 
+ 00014310  0x00000eb6 branch  0x000037e8 , 0x00000029 
+ 00014311  0x00000eb7 add  0x00000028 , 0x00000003 , 0x00000011 
+ 00014312  0x00000eb9 fetcht  0x00000002 , 0x00000032 
+ 00014313  0x00000eba deposit  0x00000011 
+ 00014314  0x00000ebb set0  0x0000001b , 0x0000003f 
+ 00014315  0x00000ebc idiv  0x00000002 
+ 00014316  0x00000ebd fetch  0x00000002 , 0x00000075 
+ 00014317  0x00000ebe call  0x00007efd 
+ 00014318  0x00000ebf remainder  0x00000013 
+ 00014319  0x00000ec0 isub  0x00000013 , 0x0000003f 
+ 00014320  0x00000ec1 branch  0x000037f2 , 0x00000002 
+ 00014321  0x00000ec2 iadd  0x00000002 , 0x0000003f 
+ 00014322  0x00000ec4 iadd  0x00000011 , 0x0000003f 
+ 00014323  0x00000ec5 store  0x00000004 , 0x00000034 
+ 00014324  0x00000ec6 jam  0x00000000 , 0x00004748 
+ 00014325  0x00000ec7 fetch  0x00000001 , 0x00000030 
+ 00014326  0x00000ec8 set1  0x00000001 , 0x0000003f 
+ 00014327  0x00000ec9 store  0x00000001 , 0x00000030 
+ 00014328  0x00000eca fetch  0x00000001 , 0x00000073 
+ 00014329  0x00000ecb store  0x00000001 , 0x0000008a 
+ 00014330  0x00000ecc jam  0x00000080 , 0x0000416e 
+ 00014331  0x00000ecd setarg  0x00000000 
+ 00014332  0x00000ece store  0x00000003 , 0x0000420a 
+ 00014333  0x00000ecf store  0x00000003 , 0x0000420d 
+ 00014334  0x00000ed0 store  0x00000001 , 0x000041fa 
+ 00014335  0x00000ed1 jam  0x0000000b , 0x00000b7d 
+ 00014336  0x00000ed2 call  0x00007c27 
+ 00014337  0x00000ed3 fetch  0x00000002 , 0x00004161 
+ 00014338  0x00000ed4 store  0x00000002 , 0x0000003e 
+ 00014339  0x00000ed5 nrtn  0x00000029 
+ 00014340  0x00000ed6 add  0x00000004 , 0xffffffff , 0x00000007 
+ 00014341  0x00000ed7 rtn 
+ 00014342  0x00000eda set0  0x00000025 , 0x00000000 
+ 00014343  0x00000edb bpatch  0x00000075 , 0x0000400e 
+ 00014344  0x00000edc fetch  0x00000001 , 0x00000030 
+ 00014345  0x00000edd rtnbit0  0x00000001 
+ 00014346  0x00000ede set0  0x00000001 , 0x0000003f 
+ 00014347  0x00000edf store  0x00000001 , 0x00000030 
+ 00014348  0x00000ee0 jam  0x0000007f , 0x0000416e 
+ 00014349  0x00000ee1 fetch  0x00000002 , 0x0000415f 
+ 00014350  0x00000ee2 store  0x00000002 , 0x0000003e 
+ 00014351  0x00000ee3 disable  0x0000002b 
+ 00014352  0x00000ee4 jam  0x0000000c , 0x00000b7d 
+ 00014353  0x00000ee5 branch  0x00007c27 
+ 00014354  0x00000ee9 set0  0x00000025 , 0x00000000 
+ 00014355  0x00000eea bpatch  0x00000076 , 0x0000400e 
+ 00014356  0x00000eeb enable  0x0000002e 
+ 00014357  0x00000eec fetch  0x00000001 , 0x00000030 
+ 00014358  0x00000eed bbit1  0x00000001 , 0x00003820 
+ 00014359  0x00000eee rtnmark1  0x00000011 
+ 00014360  0x00000eef fetch  0x00000001 , 0x00000047 
+ 00014361  0x00000ef0 rtnbit1  0x00000003 
+ 00014362  0x00000ef1 fetch  0x00000001 , 0x00000048 
+ 00014363  0x00000ef2 nrtn  0x00000034 
+ 00014364  0x00000ef3 fetch  0x00000001 , 0x0000004b 
+ 00014365  0x00000ef4 rtnbit1  0x00000006 
+ 00014366  0x00000ef6 force  0x00000000 , 0x0000003f 
+ 00014367  0x00000ef7 rtn 
+ 00014368  0x00000efa bbit0  0x00000002 , 0x00003830 
+ 00014369  0x00000efb fetch  0x00000001 , 0x0000008a 
+ 00014370  0x00000efc beq  0x00000002 , 0x00003826 
+ 00014371  0x00000efd fetch  0x00000001 , 0x00000047 
+ 00014372  0x00000efe bbit1  0x00000003 , 0x00003839 
+ 00014373  0x00000eff bmark0  0x00000008 , 0x00003839 
+ 00014374  0x00000f01 call  0x00003290 
+ 00014375  0x00000f02 nbranch  0x00003839 , 0x00000029 
+ 00014376  0x00000f03 fetch  0x00000001 , 0x00000048 
+ 00014377  0x00000f04 nbranch  0x00003839 , 0x00000034 
+ 00014378  0x00000f06 fetch  0x00000001 , 0x000000f1 
+ 00014379  0x00000f07 increase  0xffffffff , 0x0000003f 
+ 00014380  0x00000f08 store  0x00000001 , 0x000000f1 
+ 00014381  0x00000f09 nbranch  0x0000381e , 0x00000034 
+ 00014382  0x00000f0a jam  0x00000010 , 0x000000f1 
+ 00014383  0x00000f0b branch  0x00003839 
+ 00014384  0x00000f0e fetch  0x00000001 , 0x0000008a 
+ 00014385  0x00000f0f bne  0x00000001 , 0x00003839 
+ 00014386  0x00000f10 fetch  0x00000001 , 0x0000008b 
+ 00014387  0x00000f11 branch  0x00003839 , 0x00000034 
+ 00014388  0x00000f12 increase  0xffffffff , 0x0000003f 
+ 00014389  0x00000f13 store  0x00000001 , 0x0000008b 
+ 00014390  0x00000f14 fetch  0x00000001 , 0x00000047 
+ 00014391  0x00000f15 rtnbit1  0x00000003 
+ 00014392  0x00000f16 nrtn  0x0000002d 
+ 00014393  0x00000f18 fetch  0x00000001 , 0x0000008a 
+ 00014394  0x00000f19 increase  0xffffffff , 0x0000003f 
+ 00014395  0x00000f1a store  0x00000001 , 0x0000008a 
+ 00014396  0x00000f1b rtn 
+ 00014397  0x00000f1f set0  0x00000025 , 0x00000000 
+ 00014398  0x00000f20 bpatch  0x00000077 , 0x0000400e 
+ 00014399  0x00000f21 disable  0x00000010 
+ 00014400  0x00000f22 copy  0x00000002 , 0x0000001b 
+ 00014401  0x00000f23 call  0x00003300 
+ 00014402  0x00000f24 disable  0x00000028 
+ 00014403  0x00000f25 nrtn  0x00000005 
+ 00014404  0x00000f26 force  0x00000000 , 0x0000001b 
+ 00014405  0x00000f27 enable  0x00000028 
+ 00014406  0x00000f28 rtn 
+ 00014407  0x00000f2c fetch  0x00000001 , 0x000041f9 
+ 00014408  0x00000f2d icompare  0x000000ff , 0x00000004 
+ 00014409  0x00000f2e rtn 
+ 00014410  0x00000f31 set0  0x00000025 , 0x00000000 
+ 00014411  0x00000f32 bpatch  0x00000078 , 0x0000400f 
+ 00014412  0x00000f33 jam  0x00000001 , 0x00004171 
+ 00014413  0x00000f35 call  0x00006a40 
+ 00014414  0x00000f36 force  0x0000000c , 0x0000003f 
+ 00014415  0x00000f37 store  0x00000002 , 0x00000032 
+ 00014416  0x00000f38 fetch  0x00000001 , 0x000000af 
+ 00014417  0x00000f39 lshift  0x0000003f , 0x0000003f 
+ 00014418  0x00000f3a store  0x00000002 , 0x00000075 
+ 00014419  0x00000f3b fetch  0x00000001 , 0x00000030 
+ 00014420  0x00000f3c set1  0x00000002 , 0x0000003f 
+ 00014421  0x00000f3d store  0x00000001 , 0x00000030 
+ 00014422  0x00000f3e jam  0x00000003 , 0x00000073 
+ 00014423  0x00000f3f jam  0x00000003 , 0x0000008a 
+ 00014424  0x00000f40 call  0x000037e1 
+ 00014425  0x00000f41 force  0x00000000 , 0x00000002 
+ 00014426  0x00000f42 call  0x00004914 
+ 00014427  0x00000f43 jam  0x00000050 , 0x000000b3 
+ 00014428  0x00000f44 jam  0x00000010 , 0x000000f1 
+ 00014429  0x00000f45 rtn 
+ 00014430  0x00000f48 set0  0x00000025 , 0x00000000 
+ 00014431  0x00000f49 bpatch  0x00000079 , 0x0000400f 
+ 00014432  0x00000f4a call  0x00003806 
+ 00014433  0x00000f4b jam  0x00000005 , 0x00004171 
+ 00014434  0x00000f4d call  0x00006a4a 
+ 00014435  0x00000f4e fetch  0x00000001 , 0x00000030 
+ 00014436  0x00000f4f set0  0x00000002 , 0x0000003f 
+ 00014437  0x00000f50 store  0x00000001 , 0x00000030 
+ 00014438  0x00000f52 arg  0x00000e00 , 0x00000002 
+ 00014439  0x00000f53 jam  0x00000013 , 0x000002c0 
+ 00014440  0x00000f54 branch  0x000048c4 
+ 00014441  0x00000f57 set0  0x00000025 , 0x00000000 
+ 00014442  0x00000f58 bpatch  0x0000007a , 0x0000400f 
+ 00014443  0x00000f59 jam  0x00000000 , 0x000000b1 
+ 00014444  0x00000f5a call  0x0000385e 
+ 00014445  0x00000f5b call  0x00003290 
+ 00014446  0x00000f5c set0  0x00000007 , 0x00000000 
+ 00014447  0x00000f5d rtn 
+ 00014448  0x00000f60 set0  0x00000025 , 0x00000000 
+ 00014449  0x00000f61 bpatch  0x0000007b , 0x0000400f 
+ 00014450  0x00000f62 fetch  0x00000001 , 0x00004132 
+ 00014451  0x00000f63 beq  0x00000001 , 0x00003898 
+ 00014452  0x00000f64 set0  0x00000001 , 0x00000000 
+ 00014453  0x00000f66 jam  0x00000000 , 0x000002d1 
+ 00014454  0x00000f67 fetch  0x00000001 , 0x000002ca 
+ 00014455  0x00000f68 rtn  0x00000034 
+ 00014456  0x00000f69 isolate1  0x00000000 , 0x0000003f 
+ 00014457  0x00000f6a arg  0x00001000 , 0x00000006 
+ 00014458  0x00000f6b call  0x00004da8 , 0x00000001 
+ 00014459  0x00000f6c set0  0x00000025 , 0x00000000 
+ 00014460  0x00000f6d bpatch  0x0000007c , 0x0000400f 
+ 00014461  0x00000f6e fetch  0x00000001 , 0x000002d1 
+ 00014462  0x00000f6f beq  0x00000001 , 0x0000388c 
+ 00014463  0x00000f71 jam  0x00000000 , 0x000002d1 
+ 00014464  0x00000f72 fetch  0x00000001 , 0x000002ca 
+ 00014465  0x00000f73 rtnbit0  0x00000001 
+ 00014466  0x00000f74 arg  0x00001400 , 0x00000006 
+ 00014467  0x00000f75 call  0x00004da8 
+ 00014468  0x00000f76 fetch  0x00000001 , 0x000002d1 
+ 00014469  0x00000f77 beq  0x00000001 , 0x00003892 
+ 00014470  0x00000f78 rtn 
+ 00014471  0x00000f7b fetch  0x00000001 , 0x0000004c 
+ 00014472  0x00000f7c set0  0x00000007 , 0x0000003f 
+ 00014473  0x00000f7d store  0x00000001 , 0x0000004c 
+ 00014474  0x00000f7e set0  0x00000001 , 0x00000000 
+ 00014475  0x00000f7f branch  0x0000443b 
+ 00014476  0x00000f82 fetch  0x00000001 , 0x000002ca 
+ 00014477  0x00000f83 set0  0x00000000 , 0x0000003f 
+ 00014478  0x00000f84 store  0x00000001 , 0x000002ca 
+ 00014479  0x00000f85 setarg  0x00000000 
+ 00014480  0x00000f86 store  0x00000002 , 0x000002c4 
+ 00014481  0x00000f87 rtn 
+ 00014482  0x00000f89 fetch  0x00000001 , 0x000002ca 
+ 00014483  0x00000f8a set0  0x00000001 , 0x0000003f 
+ 00014484  0x00000f8b store  0x00000001 , 0x000002ca 
+ 00014485  0x00000f8c setarg  0x00000000 
+ 00014486  0x00000f8d store  0x00000002 , 0x000002c6 
+ 00014487  0x00000f8e rtn 
+ 00014488  0x00000f91 fetch  0x00000001 , 0x0000004c 
+ 00014489  0x00000f92 rtnbit0  0x00000007 , 0x0000003f 
+ 00014490  0x00000f93 call  0x00004435 
+ 00014491  0x00000f94 fetch  0x00000002 , 0x00004800 
+ 00014492  0x00000f95 branch  0x00003bf1 , 0x00000034 
+ 00014493  0x00000f96 increase  0xffffffff , 0x0000003f 
+ 00014494  0x00000f97 store  0x00000002 , 0x00004800 
+ 00014495  0x00000f98 branch  0x00003887 
+ 00014496  0x00000f9b fetch  0x00000001 , 0x000002ca 
+ 00014497  0x00000f9c set1  0x00000000 , 0x0000003f 
+ 00014498  0x00000f9d store  0x00000001 , 0x000002ca 
+ 00014499  0x00000f9e rtn 
+ 00014500  0x00000fa1 fetch  0x00000001 , 0x000002ca 
+ 00014501  0x00000fa2 set1  0x00000001 , 0x0000003f 
+ 00014502  0x00000fa3 store  0x00000001 , 0x000002ca 
+ 00014503  0x00000fa4 rtn 
+ 00014504  0x00000fab set0  0x00000025 , 0x00000000 
+ 00014505  0x00000fac bpatch  0x0000007d , 0x0000400f 
+ 00014506  0x00000fad add  0x00000028 , 0x00000001 , 0x00000021 
+ 00014507  0x00000fae call  0x00003a5d 
+ 00014508  0x00000faf force  0x00000003 , 0x00000024 
+ 00014509  0x00000fb0 call  0x00003a42 
+ 00014510  0x00000fb1 call  0x00003bae 
+ 00014511  0x00000fb2 call  0x00003bbf 
+ 00014512  0x00000fb3 branch  0x00003bc5 
+ 00014513  0x00000fb7 set0  0x00000025 , 0x00000000 
+ 00014514  0x00000fb8 bpatch  0x0000007e , 0x0000400f 
+ 00014515  0x00000fb9 call  0x00003baa 
+ 00014516  0x00000fba deposit  0x00000028 
+ 00014517  0x00000fbb fetcht  0x00000004 , 0x0000416a 
+ 00014518  0x00000fbc isub  0x00000002 , 0x0000003f 
+ 00014519  0x00000fbd rtnne  0x00000001 
+ 00014520  0x00000fbe compare  0x00000000 , 0x00000001 , 0x0000001f 
+ 00014521  0x00000fbf nbranch  0x000038bc , 0x00000001 
+ 00014522  0x00000fc0 fetch  0x00000001 , 0x00000019 
+ 00014523  0x00000fc1 rtn  0x00000034 
+ 00014524  0x00000fc3 call  0x000038a8 
+ 00014525  0x00000fc4 compare  0x00000010 , 0x00000001 , 0x0000001f 
+ 00014526  0x00000fc5 branch  0x0000375c , 0x00000001 
+ 00014527  0x00000fc7 rshift  0x00000021 , 0x00000002 
+ 00014528  0x00000fc8 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00014529  0x00000fca set0  0x00000025 , 0x00000000 
+ 00014530  0x00000fcb bpatch  0x0000007f , 0x0000400f 
+ 00014531  0x00000fcc enable  0x00000007 
+ 00014532  0x00000fcd enable  0x0000000a 
+ 00014533  0x00000fce enable  0x0000001b 
+ 00014534  0x00000fcf set0  0x00000010 , 0x00000000 
+ 00014535  0x00000fd0 deposit  0x00000004 
+ 00014536  0x00000fd1 inject  0x00000003 , 0x00000003 
+ 00014537  0x00000fd2 deposit  0x00000001 
+ 00014538  0x00000fd3 inject  0x00000003 , 0x00000004 
+ 00014539  0x00000fd4 fetch  0x00000001 , 0x00000047 
+ 00014540  0x00000fd5 inject  0x00000000 , 0x00000004 
+ 00014541  0x00000fd6 inject  0x00000003 , 0x00000003 
+ 00014542  0x00000fd7 enable  0x00000008 
+ 00014543  0x00000fd8 inject  0x00000003 , 0x00000008 
+ 00014544  0x00000fd9 disable  0x0000001b 
+ 00014545  0x00000fda disable  0x00000008 
+ 00014546  0x00000fdb disable  0x0000000a 
+ 00014547  0x00000fdc set0  0x00000002 , 0x00000015 
+ 00014548  0x00000fdd arg  0x00000000 , 0x00000002 
+ 00014549  0x00000fde call  0x00003b74 
+ 00014550  0x00000fdf set0  0x00000025 , 0x00000000 
+ 00014551  0x00000fe0 bpatch  0x00000080 , 0x00004010 
+ 00014552  0x00000fe1 and  0x00000001 , 0x0000001f , 0x0000003f 
+ 00014553  0x00000fe2 beq  0x00000013 , 0x00003913 
+ 00014554  0x00000fe3 beq  0x00000000 , 0x0000375c 
+ 00014555  0x00000fe4 beq  0x00000001 , 0x0000375c 
+ 00014556  0x00000fe5 beq  0x00000002 , 0x000038f5 
+ 00014557  0x00000fe6 beq  0x00000003 , 0x00003925 
+ 00014558  0x00000fe7 beq  0x00000004 , 0x0000392b 
+ 00014559  0x00000fe8 beq  0x00000007 , 0x000038e9 
+ 00014560  0x00000fe9 beq  0x00000008 , 0x0000392a 
+ 00014561  0x00000fea arg  0x00000004 , 0x00000002 
+ 00014562  0x00000feb call  0x00003b74 
+ 00014563  0x00000fec beq  0x0000000a , 0x00003927 
+ 00014564  0x00000fed beq  0x0000000b , 0x0000392d 
+ 00014565  0x00000fee arg  0x00000008 , 0x00000002 
+ 00014566  0x00000fef call  0x00003b74 
+ 00014567  0x00000ff0 beq  0x0000000f , 0x0000392d 
+ 00014568  0x00000ff1 branch  0x00003927 
+ 00014569  0x00000ff5 set0  0x00000025 , 0x00000000 
+ 00014570  0x00000ff6 bpatch  0x00000081 , 0x00004010 
+ 00014571  0x00000ff7 enable  0x0000001d 
+ 00014572  0x00000ff8 enable  0x00000009 
+ 00014573  0x00000ff9 enable  0x0000000e 
+ 00014574  0x00000ffa force  0x0000001e , 0x00000039 
+ 00014575  0x00000ffb arg  0x000000b5 , 0x00000006 
+ 00014576  0x00000ffd ifetch  0x00000001 , 0x00000006 
+ 00014577  0x00000ffe inject  0x00000003 , 0x00000008 
+ 00014578  0x00000fff loop  0x000038f0 
+ 00014579  0x00001000 bmark1  0x00000007 , 0x00003960 
+ 00014580  0x00001001 branch  0x0000375c 
+ 00014581  0x00001004 set0  0x00000025 , 0x00000000 
+ 00014582  0x00001005 bpatch  0x00000082 , 0x00004010 
+ 00014583  0x00001006 fetch  0x00000001 , 0x0000018b 
+ 00014584  0x00001007 icopy  0x00000004 
+ 00014585  0x00001008 fetch  0x00000001 , 0x0000008f 
+ 00014586  0x00001009 icopy  0x0000001c 
+ 00014587  0x0000100a fetch  0x00000003 , 0x0000414a 
+ 00014588  0x0000100b icopy  0x0000001d 
+ 00014589  0x0000100c fetch  0x00000002 , 0x00004144 
+ 00014590  0x0000100d icopy  0x0000002e 
+ 00014591  0x0000100e enable  0x00000009 
+ 00014592  0x0000100f enable  0x0000001c 
+ 00014593  0x00001010 copy  0x00000020 , 0x00000011 
+ 00014594  0x00001011 call  0x00003a54 
+ 00014595  0x00001012 pulse  0x00000015 
+ 00014596  0x00001013 nop  0x00000020 
+ 00014597  0x00001014 copy  0x00000021 , 0x0000000b 
+ 00014598  0x00001015 fetch  0x00000004 , 0x0000016b 
+ 00014599  0x00001016 icopy  0x00000021 
+ 00014600  0x00001017 preload  0x0000001e 
+ 00014601  0x00001018 set1  0x0000003a , 0x0000003f 
+ 00014602  0x00001019 inject  0x00000003 , 0x00000048 
+ 00014603  0x0000101a preload  0x0000001f 
+ 00014604  0x0000101b inject  0x00000003 , 0x00000048 
+ 00014605  0x0000101c copy  0x0000000b , 0x00000021 
+ 00014606  0x0000101d copy  0x00000011 , 0x00000020 
+ 00014607  0x0000101e enable  0x00000008 
+ 00014608  0x0000101f inject  0x00000003 , 0x00000010 
+ 00014609  0x00001020 disable  0x00000008 
+ 00014610  0x00001021 branch  0x0000375c 
+ 00014611  0x00001024 set0  0x00000025 , 0x00000000 
+ 00014612  0x00001025 bpatch  0x00000083 , 0x00004010 
+ 00014613  0x00001026 enable  0x0000000e 
+ 00014614  0x00001027 enable  0x00000009 
+ 00014615  0x00001028 enable  0x0000001c 
+ 00014616  0x00001029 fetch  0x00000001 , 0x00000432 
+ 00014617  0x0000102a and  0x0000003f , 0x000001f8 , 0x00000002 
+ 00014618  0x0000102b arg  0x00000432 , 0x00000006 
+ 00014619  0x0000102c increase  0x00000008 , 0x00000002 
+ 00014620  0x0000102e add  0x00000002 , 0xffffffb8 , 0x00000013 
+ 00014621  0x0000102f nbranch  0x00003922 , 0x00000002 
+ 00014622  0x00001030 ifetch  0x00000009 , 0x00000006 
+ 00014623  0x00001031 inject  0x00000003 , 0x00000048 
+ 00014624  0x00001032 copy  0x00000013 , 0x00000002 
+ 00014625  0x00001033 branch  0x0000391c 
+ 00014626  0x00001035 ifetch  0x00000009 , 0x00000006 
+ 00014627  0x00001036 iinject  0x00000003 , 0x00000002 
+ 00014628  0x00001037 branch  0x00003960 
+ 00014629  0x0000103a enable  0x0000001c 
+ 00014630  0x0000103b branch  0x00003930 
+ 00014631  0x0000103e enable  0x0000001c 
+ 00014632  0x0000103f set1  0x00000010 , 0x00000000 
+ 00014633  0x00001040 branch  0x00003930 
+ 00014634  0x00001043 set1  0x00000002 , 0x00000015 
+ 00014635  0x00001045 enable  0x0000001d 
+ 00014636  0x00001046 branch  0x00003930 
+ 00014637  0x0000104a set1  0x00000002 , 0x00000015 
+ 00014638  0x0000104b enable  0x0000001d 
+ 00014639  0x0000104c set1  0x00000010 , 0x00000000 
+ 00014640  0x0000104f set0  0x00000025 , 0x00000000 
+ 00014641  0x00001050 bpatch  0x00000084 , 0x00004010 
+ 00014642  0x00001051 fetch  0x00000001 , 0x0000004c 
+ 00014643  0x00001052 bbit0  0x00000005 , 0x00003946 
+ 00014644  0x00001053 sub  0x00000001 , 0x00000003 , 0x0000003e 
+ 00014645  0x00001054 branch  0x00003946 , 0x00000002 
+ 00014646  0x00001055 disable  0x0000000e 
+ 00014647  0x00001056 disable  0x0000001c 
+ 00014648  0x00001057 enable  0x0000001d 
+ 00014649  0x00001058 disable  0x00000007 
+ 00014650  0x00001059 set1  0x00000001 , 0x00000015 
+ 00014651  0x0000105a isolate1  0x00000002 , 0x00000015 
+ 00014652  0x0000105b branch  0x00003940 , 0x00000001 
+ 00014653  0x0000105c setarg  0x000abeee 
+ 00014654  0x0000105d inject  0x00000003 , 0x00000014 
+ 00014655  0x0000105e branch  0x00003944 
+ 00014656  0x00001060 setarg  0x005faeba 
+ 00014657  0x00001061 inject  0x00000003 , 0x00000018 
+ 00014658  0x00001062 setarg  0x00000012 
+ 00014659  0x00001063 inject  0x00000003 , 0x00000006 
+ 00014660  0x00001065 enable  0x00000007 
+ 00014661  0x00001066 set1  0x00000010 , 0x00000000 
+ 00014662  0x00001068 enable  0x0000000e 
+ 00014663  0x00001069 enable  0x00000009 
+ 00014664  0x0000106a bmark1  0x00000005 , 0x00003969 
+ 00014665  0x0000106b fetch  0x00000001 , 0x00000090 
+ 00014666  0x0000106c inject  0x00000003 , 0x00000003 
+ 00014667  0x0000106d fetch  0x00000002 , 0x00000091 
+ 00014668  0x0000106e iforce  0x00000039 
+ 00014669  0x0000106f bmark1  0x00000010 , 0x00003950 
+ 00014670  0x00001070 inject  0x00000003 , 0x00000005 
+ 00014671  0x00001071 branch  0x00003951 
+ 00014672  0x00001073 inject  0x00000003 , 0x0000000d 
+ 00014673  0x00001075 fetch  0x00000001 , 0x00004132 
+ 00014674  0x00001076 beq  0x00000001 , 0x0000395b 
+ 00014675  0x00001077 deposit  0x00000039 
+ 00014676  0x00001078 branch  0x00003960 , 0x00000034 
+ 00014677  0x00001079 fetch  0x00000002 , 0x00000179 
+ 00014678  0x0000107a iforce  0x00000006 
+ 00014679  0x0000107c ifetch  0x00000001 , 0x00000006 
+ 00014680  0x0000107d inject  0x00000003 , 0x00000008 
+ 00014681  0x0000107e loop  0x00003957 
+ 00014682  0x0000107f branch  0x00003960 
+ 00014683  0x00001081 fetch  0x00000002 , 0x00000179 
+ 00014684  0x00001082 iforce  0x00000003 
+ 00014685  0x00001084 ifetch  0x00000001 , 0x00000003 
+ 00014686  0x00001085 inject  0x00000003 , 0x00000008 
+ 00014687  0x00001086 loop  0x0000395d 
+ 00014688  0x00001088 enable  0x00000008 
+ 00014689  0x00001089 inject  0x00000003 , 0x00000010 
+ 00014690  0x0000108a disable  0x00000008 
+ 00014691  0x0000108b call  0x00003583 
+ 00014692  0x0000108c fetch  0x00000001 , 0x0000004c 
+ 00014693  0x0000108d bbit0  0x00000005 , 0x0000375c 
+ 00014694  0x0000108e force  0x00000000 , 0x0000003f 
+ 00014695  0x0000108f inject  0x00000003 , 0x00000006 
+ 00014696  0x00001090 branch  0x0000375c 
+ 00014697  0x00001094 set0  0x00000025 , 0x00000000 
+ 00014698  0x00001095 bpatch  0x00000085 , 0x00004010 
+ 00014699  0x00001096 bmark1  0x00000010 , 0x00003972 
+ 00014700  0x00001098 fetch  0x00000001 , 0x0000018a 
+ 00014701  0x00001099 inject  0x00000003 , 0x00000003 
+ 00014702  0x0000109a fetch  0x00000001 , 0x00000169 
+ 00014703  0x0000109b iforce  0x00000013 
+ 00014704  0x0000109c inject  0x00000003 , 0x00000005 
+ 00014705  0x0000109d branch  0x00003977 
+ 00014706  0x0000109f fetch  0x00000001 , 0x0000018a 
+ 00014707  0x000010a0 inject  0x00000003 , 0x00000003 
+ 00014708  0x000010a1 fetch  0x00000002 , 0x00000169 
+ 00014709  0x000010a2 iforce  0x00000013 
+ 00014710  0x000010a3 inject  0x00000003 , 0x0000000d 
+ 00014711  0x000010a5 arg  0x000004de , 0x00000006 
+ 00014712  0x000010a7 copy  0x00000013 , 0x0000003e 
+ 00014713  0x000010a8 branch  0x0000397e , 0x00000005 
+ 00014714  0x000010a9 ifetch  0x00000001 , 0x00000006 
+ 00014715  0x000010aa inject  0x00000003 , 0x00000008 
+ 00014716  0x000010ab increase  0xffffffff , 0x00000013 
+ 00014717  0x000010ac branch  0x00003978 
+ 00014718  0x000010ae fetch  0x00000002 , 0x000000fe 
+ 00014719  0x000010af increase  0x00000001 , 0x0000003f 
+ 00014720  0x000010b0 store  0x00000002 , 0x000000fe 
+ 00014721  0x000010b1 branch  0x00003960 
+ 00014722  0x000010b5 fetch  0x00000004 , 0x0000016f 
+ 00014723  0x000010b6 add  0x0000003f , 0x00000007 , 0x00000011 
+ 00014724  0x000010b7 fetch  0x00000002 , 0x0000017b 
+ 00014725  0x000010b8 nbranch  0x00003988 , 0x00000034 
+ 00014726  0x000010b9 increase  0xfffffffd , 0x00000011 
+ 00014727  0x000010ba branch  0x00003990 
+ 00014728  0x000010bc mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00014729  0x000010bd hfetcht  0x00000002 , 0x00008040 
+ 00014730  0x000010be increase  0x00000001 , 0x00000002 
+ 00014731  0x000010c0 isub  0x00000002 , 0x0000003f 
+ 00014732  0x000010c1 nbranch  0x0000398f , 0x00000002 
+ 00014733  0x000010c2 increase  0xffffffff , 0x00000011 
+ 00014734  0x000010c3 branch  0x0000398b 
+ 00014735  0x000010c5 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00014736  0x000010c7 until  0x0000003e , 0x00000023 
+ 00014737  0x000010c8 compare  0x00000000 , 0x00000022 , 0x00000003 
+ 00014738  0x000010c9 nbranch  0x00003990 , 0x00000001 
+ 00014739  0x000010ca iforce  0x00000029 
+ 00014740  0x000010cb copy  0x00000011 , 0x00000028 
+ 00014741  0x000010cc iforce  0x00000029 
+ 00014742  0x000010cd rtn 
+ 00014743  0x000010d1 set0  0x00000025 , 0x00000000 
+ 00014744  0x000010d2 bpatch  0x00000086 , 0x00004010 
+ 00014745  0x000010d3 until  0x0000003e , 0x00000022 
+ 00014746  0x000010d4 deposit  0x0000001a 
+ 00014747  0x000010d5 iforce  0x00000006 
+ 00014748  0x000010d6 rshift16 , 0x0000003f , 0x0000003f 
+ 00014749  0x000010d7 isub  0x00000022 , 0x00000039 
+ 00014750  0x000010d8 and_into  0x00000003 , 0x00000039 
+ 00014751  0x000010d9 nbranch  0x000039a2 , 0x00000005 
+ 00014752  0x000010da force  0x00000000 , 0x0000003f 
+ 00014753  0x000010db branch  0x000039a6 
+ 00014754  0x000010dd arg  0x00000ea6 , 0x00000002 
+ 00014755  0x000010de force  0x00000000 , 0x0000003f 
+ 00014756  0x000010e0 iadd  0x00000002 , 0x0000003f 
+ 00014757  0x000010e1 loop  0x000039a4 
+ 00014758  0x000010e3 iadd  0x00000006 , 0x0000003f 
+ 00014759  0x000010e4 div  0x0000003f , 0x0000000c 
+ 00014760  0x000010e5 call  0x00007efd 
+ 00014761  0x000010e6 quotient  0x0000003f 
+ 00014762  0x000010e7 store  0x00000002 , 0x0000017b 
+ 00014763  0x000010e8 rtn 
+ 00014764  0x000010eb set0  0x00000025 , 0x00000000 
+ 00014765  0x000010ec bpatch  0x00000087 , 0x00004010 
+ 00014766  0x000010ed deposit  0x0000001a 
+ 00014767  0x000010ee copy  0x00000019 , 0x00000002 
+ 00014768  0x000010ef isub  0x00000002 , 0x0000003e 
+ 00014769  0x000010f0 nsetflag  0x00000002 , 0x0000002c , 0x0000003f 
+ 00014770  0x000010f1 isub  0x00000002 , 0x00000002 
+ 00014771  0x000010f2 setarg  0x00000ea6 
+ 00014772  0x000010f3 isolate0  0x0000000f , 0x00000002 
+ 00014773  0x000010f4 branch  0x000039b8 , 0x00000001 
+ 00014774  0x000010f5 setarg  0xffff0ea6 
+ 00014775  0x000010f6 iadd  0x00000002 , 0x00000002 
+ 00014776  0x000010f8 storet  0x00000006 , 0x000003c8 
+ 00014777  0x000010f9 rtn  0x00000036 
+ 00014778  0x000010fa storet  0x00000006 , 0x00000038 
+ 00014779  0x000010fb rtn 
+ 00014780  0x000010fe disable  0x00000030 
+ 00014781  0x000010ff fetch  0x00000006 , 0x000003c8 
+ 00014782  0x00001100 branch  0x000039c0 , 0x00000036 
+ 00014783  0x00001101 fetch  0x00000006 , 0x00000038 
+ 00014784  0x00001103 iadd  0x00000019 , 0x00000030 
+ 00014785  0x00001104 increase  0x0000000a , 0x00000030 
+ 00014786  0x00001105 setarg  0x00000ea6 
+ 00014787  0x00001106 isub  0x00000030 , 0x0000003f 
+ 00014788  0x00001107 isolate0  0x0000000f , 0x0000003f 
+ 00014789  0x00001108 branch  0x000039ca , 0x00000001 
+ 00014790  0x00001109 setarg  0x0000f15a 
+ 00014791  0x0000110a iadd  0x00000030 , 0x00000030 
+ 00014792  0x0000110c copy  0x00000030 , 0x0000001a 
+ 00014793  0x0000110d rtn 
+ 00014794  0x0000110f force  0x00000000 , 0x0000003e 
+ 00014795  0x00001110 branch  0x000039c8 
+ 00014796  0x00001118 set0  0x00000025 , 0x00000000 
+ 00014797  0x00001119 bpatch  0x00000088 , 0x00004011 
+ 00014798  0x0000111a call  0x00003a7a 
+ 00014799  0x0000111b copy  0x00000021 , 0x0000003f 
+ 00014800  0x0000111c and_into  0x00000180 , 0x0000003f 
+ 00014801  0x0000111d compare  0x00000003 , 0x00000024 , 0x00000007 
+ 00014802  0x0000111e nbranch  0x000039d6 , 0x00000001 
+ 00014803  0x0000111f rshift3  0x0000003f , 0x0000003f 
+ 00014804  0x00001120 iadd  0x00000017 , 0x0000003f 
+ 00014805  0x00001121 branch  0x000039d7 
+ 00014806  0x00001123 copy  0x00000017 , 0x0000003f 
+ 00014807  0x00001125 div  0x0000003f , 0x0000004f 
+ 00014808  0x00001126 pulse  0x00000015 
+ 00014809  0x00001127 call  0x00007efd 
+ 00014810  0x00001128 remainder  0x00000011 
+ 00014811  0x00001129 add  0x00000011 , 0xffffffd8 , 0x00000002 
+ 00014812  0x0000112a branch  0x000039df , 0x00000002 
+ 00014813  0x0000112b lshift  0x00000011 , 0x00000002 
+ 00014814  0x0000112c branch  0x000039e1 
+ 00014815  0x0000112e lshift  0x00000002 , 0x00000002 
+ 00014816  0x0000112f increase  0x00000001 , 0x00000002 
+ 00014817  0x00001131 set0  0x00000025 , 0x00000000 
+ 00014818  0x00001132 bpatch  0x00000089 , 0x00004011 
+ 00014819  0x00001133 fetch  0x00000001 , 0x00000031 
+ 00014820  0x00001134 bbit0  0x00000003 , 0x000039f3 
+ 00014821  0x00001136 fetch  0x00000004 , 0x00004173 
+ 00014822  0x00001137 isub  0x00000021 , 0x0000003e 
+ 00014823  0x00001138 branch  0x000039f3 , 0x00000002 
+ 00014824  0x00001139 call  0x00003a12 
+ 00014825  0x0000113a fetch  0x00000001 , 0x0000417a 
+ 00014826  0x0000113b rtn  0x00000034 
+ 00014827  0x0000113c fetch  0x00000001 , 0x00000031 
+ 00014828  0x0000113d set1  0x00000002 , 0x0000003f 
+ 00014829  0x0000113e store  0x00000001 , 0x00000031 
+ 00014830  0x0000113f fetch  0x00000005 , 0x00004188 
+ 00014831  0x00001140 store  0x00000005 , 0x0000417b 
+ 00014832  0x00001141 ifetch  0x00000005 , 0x00000006 
+ 00014833  0x00001142 store  0x00000005 , 0x00004180 
+ 00014834  0x00001143 call  0x00003a17 
+ 00014835  0x00001145 fetch  0x00000001 , 0x00000031 
+ 00014836  0x00001146 rtnbit0  0x00000002 
+ 00014837  0x00001147 isolate1  0x00000001 , 0x00000021 
+ 00014838  0x00001148 branch  0x00003a0f , 0x00000001 
+ 00014839  0x00001149 rshift3  0x00000002 , 0x00000011 
+ 00014840  0x0000114a and  0x00000002 , 0x00000007 , 0x00000007 
+ 00014841  0x0000114b setarg  0x0000417b 
+ 00014842  0x0000114c iadd  0x00000011 , 0x00000011 
+ 00014843  0x0000114d ifetch  0x00000001 , 0x00000011 
+ 00014844  0x0000114e qisolate0  0x0000003f 
+ 00014845  0x0000114f branch  0x00003a00 , 0x00000001 
+ 00014846  0x00001150 deposit  0x00000002 
+ 00014847  0x00001151 branch  0x00003a0c 
+ 00014848  0x00001153 fetch  0x00000001 , 0x00004185 
+ 00014849  0x00001154 iforce  0x00000012 
+ 00014850  0x00001155 deposit  0x00000021 
+ 00014851  0x00001156 and_into  0x00000180 , 0x0000003f 
+ 00014852  0x00001157 rshift3  0x0000003f , 0x0000003f 
+ 00014853  0x00001158 iadd  0x00000017 , 0x0000003f 
+ 00014854  0x00001159 idiv  0x00000012 
+ 00014855  0x0000115a setarg  0x00004193 
+ 00014856  0x0000115b call  0x00007efd 
+ 00014857  0x0000115c remainder  0x00000011 
+ 00014858  0x0000115d iadd  0x00000011 , 0x00000006 
+ 00014859  0x0000115e ifetch  0x00000001 , 0x00000006 
+ 00014860  0x00001160 store  0x00000001 , 0x00004186 
+ 00014861  0x00001161 iforce  0x00000002 
+ 00014862  0x00001162 rtn 
+ 00014863  0x00001165 fetch  0x00000001 , 0x00004186 
+ 00014864  0x00001166 iforce  0x00000002 
+ 00014865  0x00001167 rtn 
+ 00014866  0x0000116a fetch  0x00000001 , 0x00000031 
+ 00014867  0x0000116b set0  0x00000002 , 0x0000003f 
+ 00014868  0x0000116c set0  0x00000003 , 0x0000003f 
+ 00014869  0x0000116d store  0x00000001 , 0x00000031 
+ 00014870  0x0000116e rtn 
+ 00014871  0x00001175 set0  0x00000025 , 0x00000000 
+ 00014872  0x00001176 bpatch  0x0000008a , 0x00004011 
+ 00014873  0x00001177 arg  0x00004193 , 0x00000005 
+ 00014874  0x00001178 force  0x0000000a , 0x00000039 
+ 00014875  0x00001179 call  0x00007e3b 
+ 00014876  0x0000117a arg  0x00004193 , 0x00000005 
+ 00014877  0x0000117b force  0x00000000 , 0x00000013 
+ 00014878  0x0000117c force  0x00000002 , 0x00000007 
+ 00014879  0x0000117e fetch  0x00000005 , 0x0000417b 
+ 00014880  0x0000117f iforce  0x00000002 
+ 00014881  0x00001180 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00014882  0x00001181 branch  0x00003a24 , 0x00000001 
+ 00014883  0x00001182 rshift  0x00000002 , 0x00000002 
+ 00014884  0x00001184 isolate0  0x00000000 , 0x00000002 
+ 00014885  0x00001185 branch  0x00003a28 , 0x00000001 
+ 00014886  0x00001186 deposit  0x00000013 
+ 00014887  0x00001187 istore  0x00000001 , 0x00000005 
+ 00014888  0x00001189 rshift2  0x00000002 , 0x00000002 
+ 00014889  0x0000118a increase  0x00000002 , 0x00000013 
+ 00014890  0x0000118b compare  0x00000028 , 0x00000013 , 0x000000fe 
+ 00014891  0x0000118c nbranch  0x00003a31 , 0x00000001 
+ 00014892  0x0000118d fetch  0x00000005 , 0x00004180 
+ 00014893  0x0000118e iforce  0x00000002 
+ 00014894  0x0000118f compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00014895  0x00001190 branch  0x00003a31 , 0x00000001 
+ 00014896  0x00001191 rshift  0x00000002 , 0x00000002 
+ 00014897  0x00001193 sub  0x00000013 , 0x0000004e , 0x0000003e 
+ 00014898  0x00001194 branch  0x00003a24 , 0x00000002 
+ 00014899  0x00001195 force  0x00000001 , 0x00000013 
+ 00014900  0x00001196 increase  0xffffffff , 0x00000007 
+ 00014901  0x00001197 nbranch  0x00003a1f , 0x00000005 
+ 00014902  0x00001198 arg  0x00004193 , 0x00000011 
+ 00014903  0x00001199 deposit  0x00000005 
+ 00014904  0x0000119a isub  0x00000011 , 0x0000003f 
+ 00014905  0x0000119b store  0x00000001 , 0x00004185 
+ 00014906  0x0000119c rtn 
+ 00014907  0x0000119f set0  0x00000025 , 0x00000000 
+ 00014908  0x000011a0 bpatch  0x0000008b , 0x00004011 
+ 00014909  0x000011a1 call  0x000039cc 
+ 00014910  0x000011a2 fetch  0x00000001 , 0x00000189 
+ 00014911  0x000011a3 bbit0  0x00000005 , 0x00003a41 
+ 00014912  0x000011a4 fetcht  0x00000001 , 0x00000448 
+ 00014913  0x000011a6 branch  0x00003a82 
+ 00014914  0x000011aa set0  0x00000025 , 0x00000000 
+ 00014915  0x000011ab bpatch  0x0000008c , 0x00004011 
+ 00014916  0x000011ac call  0x000039cc 
+ 00014917  0x000011ad fetch  0x00000001 , 0x00000189 
+ 00014918  0x000011ae bbit0  0x00000004 , 0x00003a48 
+ 00014919  0x000011af fetcht  0x00000001 , 0x00000447 
+ 00014920  0x000011b1 branch  0x00003a91 
+ 00014921  0x000011b5 force  0x00000000 , 0x0000002d 
+ 00014922  0x000011b6 fetch  0x00000003 , 0x00004147 
+ 00014923  0x000011b7 iforce  0x0000002c 
+ 00014924  0x000011b8 rtn 
+ 00014925  0x000011bb set0  0x00000025 , 0x00000000 
+ 00014926  0x000011bc bpatch  0x0000008d , 0x00004011 
+ 00014927  0x000011bd fetch  0x00000001 , 0x00004277 
+ 00014928  0x000011be icopy  0x0000002d 
+ 00014929  0x000011bf fetch  0x00000003 , 0x00004274 
+ 00014930  0x000011c0 icopy  0x0000002c 
+ 00014931  0x000011c1 rtn 
+ 00014932  0x000011c4 set0  0x00000025 , 0x00000000 
+ 00014933  0x000011c5 bpatch  0x0000008e , 0x00004011 
+ 00014934  0x000011c6 fetch  0x00000002 , 0x00004144 
+ 00014935  0x000011c7 icopy  0x0000002e 
+ 00014936  0x000011c8 fetch  0x00000001 , 0x00004143 
+ 00014937  0x000011c9 icopy  0x0000002d 
+ 00014938  0x000011ca fetch  0x00000003 , 0x00004140 
+ 00014939  0x000011cb icopy  0x0000002c 
+ 00014940  0x000011cc rtn 
+ 00014941  0x000011cf set0  0x00000025 , 0x00000000 
+ 00014942  0x000011d0 bpatch  0x0000008f , 0x00004011 
+ 00014943  0x000011d1 fetch  0x00000002 , 0x00000044 
+ 00014944  0x000011d2 icopy  0x0000002e 
+ 00014945  0x000011d3 fetch  0x00000001 , 0x00000043 
+ 00014946  0x000011d4 icopy  0x0000002d 
+ 00014947  0x000011d5 fetch  0x00000003 , 0x00000040 
+ 00014948  0x000011d6 icopy  0x0000002c 
+ 00014949  0x000011d7 rtn 
+ 00014950  0x000011db bmark1  0x00000020 , 0x00003a69 
+ 00014951  0x000011dc rtnmark0  0x0000001d 
+ 00014952  0x000011dd rtnmark0  0x0000001f 
+ 00014953  0x000011df and_into  0xffffff00 , 0x0000002c 
+ 00014954  0x000011e0 pulse  0x00000015 
+ 00014955  0x000011e1 nop  0x00000020 
+ 00014956  0x000011e2 rtn 
+ 00014957  0x000011e6 set0  0x00000025 , 0x00000000 
+ 00014958  0x000011e7 bpatch  0x00000090 , 0x00004012 
+ 00014959  0x000011e8 force  0x00000000 , 0x00000015 
+ 00014960  0x000011e9 disable  0x00000021 
+ 00014961  0x000011ea disable  0x00000020 
+ 00014962  0x000011eb pulse  0x0000001e 
+ 00014963  0x000011ec hjam  0x00000000 , 0x00008902 
+ 00014964  0x000011ed hjam  0x00000000 , 0x00008901 
+ 00014965  0x000011ee hjam  0x00000000 , 0x00008900 
+ 00014966  0x000011ef hjam  0x00000000 , 0x00008903 
+ 00014967  0x000011f0 hjam  0x00000070 , 0x00008904 
+ 00014968  0x000011f1 hjam  0x00000000 , 0x00008906 
+ 00014969  0x000011f2 rtn 
+ 00014970  0x000011f5 set0  0x00000025 , 0x00000000 
+ 00014971  0x000011f6 bpatch  0x00000091 , 0x00004012 
+ 00014972  0x000011f7 hjam  0x00000000 , 0x00008902 
+ 00014973  0x000011f8 hjam  0x00000000 , 0x00008901 
+ 00014974  0x000011f9 hjam  0x00000018 , 0x00008900 
+ 00014975  0x000011fa hjam  0x000000a7 , 0x00008903 
+ 00014976  0x000011fb hjam  0x0000007f , 0x00008904 
+ 00014977  0x000011fc rtn 
+ 00014978  0x00001200 set0  0x00000025 , 0x00000000 
+ 00014979  0x00001201 bpatch  0x00000092 , 0x00004012 
+ 00014980  0x00001203 storet  0x00000001 , 0x00000017 
+ 00014981  0x00001204 add  0x00000002 , 0x00000004 , 0x00000011 
+ 00014982  0x00001205 branch  0x00003ab6 
+ 00014983  0x00001207 set0  0x00000025 , 0x00000000 
+ 00014984  0x00001208 bpatch  0x00000093 , 0x00004012 
+ 00014985  0x00001209 hjam  0x000000cf , 0x00008901 
+ 00014986  0x0000120a nop  0x0000000a 
+ 00014987  0x0000120b hjam  0x000000ff , 0x00008900 
+ 00014988  0x0000120c hjam  0x000000af , 0x00008903 
+ 00014989  0x0000120d hjam  0x000000ff , 0x00008904 
+ 00014990  0x0000120e nop  0x0000000a 
+ 00014991  0x0000120f hjam  0x000000a0 , 0x00008902 
+ 00014992  0x00001210 rtn 
+ 00014993  0x00001214 set0  0x00000025 , 0x00000000 
+ 00014994  0x00001215 bpatch  0x00000094 , 0x00004012 
+ 00014995  0x00001216 storet  0x00000001 , 0x00000017 
+ 00014996  0x00001217 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00014997  0x00001218 call  0x00003ab6 
+ 00014998  0x00001219 setarg  0x00000500 
+ 00014999  0x0000121a call  0x00003bf3 
+ 00015000  0x0000121c hjam  0x00000001 , 0x00008906 
+ 00015001  0x0000121d hjam  0x0000003c , 0x00008900 
+ 00015002  0x0000121e hjam  0x000000e0 , 0x00008901 
+ 00015003  0x0000121f hjam  0x000000b7 , 0x00008903 
+ 00015004  0x00001220 hjam  0x0000007f , 0x00008902 
+ 00015005  0x00001221 rtn 
+ 00015006  0x00001224 hjam  0x00000006 , 0x00008042 
+ 00015007  0x00001225 call  0x00003c29 
+ 00015008  0x00001226 call  0x00003c3a 
+ 00015009  0x00001228 fetch  0x00000002 , 0x00004163 
+ 00015010  0x00001229 bbit0  0x0000000e , 0x00003aa1 
+ 00015011  0x0000122a iforce  0x00000006 
+ 00015012  0x0000122b arg  0x00008900 , 0x00000002 
+ 00015013  0x0000122d ifetch  0x00000001 , 0x00000006 
+ 00015014  0x0000122e beq  0x000000ff , 0x00003aab 
+ 00015015  0x0000122f ior  0x00000002 , 0x00000005 
+ 00015016  0x00001230 ifetch  0x00000001 , 0x00000006 
+ 00015017  0x00001231 istore  0x00000001 , 0x00000005 
+ 00015018  0x00001232 branch  0x00003aa5 
+ 00015019  0x00001234 set0  0x00000025 , 0x00000000 
+ 00015020  0x00001235 bpatch  0x00000095 , 0x00004012 
+ 00015021  0x00001236 call  0x00003d91 
+ 00015022  0x00001237 call  0x00003b0a 
+ 00015023  0x00001239 setarg  0x000007d0 
+ 00015024  0x0000123a iadd  0x00000022 , 0x0000003f 
+ 00015025  0x0000123b store  0x00000004 , 0x00000173 
+ 00015026  0x0000123c set1  0x00000003 , 0x00000015 
+ 00015027  0x0000123d force  0x00000000 , 0x00000015 
+ 00015028  0x0000123e ncall  0x00003ace , 0x0000002b 
+ 00015029  0x0000123f branch  0x00003ae2 
+ 00015030  0x00001243 set0  0x00000025 , 0x00000000 
+ 00015031  0x00001244 bpatch  0x00000096 , 0x00004012 
+ 00015032  0x00001245 setarg  0x00000960 
+ 00015033  0x00001246 iadd  0x00000011 , 0x00000002 
+ 00015034  0x00001247 fetch  0x00000001 , 0x0000415d 
+ 00015035  0x00001248 hjam  0x00000004 , 0x0000895f 
+ 00015036  0x00001249 imul32  0x00000002 , 0x0000003f 
+ 00015037  0x0000124a fetcht  0x00000001 , 0x0000415e 
+ 00015038  0x0000124b idiv  0x00000002 
+ 00015039  0x0000124c call  0x00007efd 
+ 00015040  0x0000124d quotient  0x00000011 
+ 00015041  0x0000124e remainder  0x0000003f 
+ 00015042  0x0000124f lshift16  0x0000003f , 0x0000003f 
+ 00015043  0x00001250 lshift4  0x0000003f , 0x0000003f 
+ 00015044  0x00001251 idiv  0x00000002 
+ 00015045  0x00001252 call  0x00007efd 
+ 00015046  0x00001253 quotient  0x0000003f 
+ 00015047  0x00001254 lshift8  0x0000003f , 0x0000003f 
+ 00015048  0x00001255 lshift  0x0000003f , 0x0000003f 
+ 00015049  0x00001256 ior  0x00000011 , 0x0000003f 
+ 00015050  0x00001257 hstore  0x00000004 , 0x00008960 
+ 00015051  0x00001258 hjam  0x00000044 , 0x0000895f 
+ 00015052  0x00001259 hjam  0x000000c4 , 0x0000895f 
+ 00015053  0x0000125a rtn 
+ 00015054  0x0000125e set0  0x00000025 , 0x00000000 
+ 00015055  0x0000125f bpatch  0x00000097 , 0x00004012 
+ 00015056  0x00001260 hjam  0x00000002 , 0x00008906 
+ 00015057  0x00001261 setarg  0x0003d090 
+ 00015058  0x00001262 call  0x00003bf3 
+ 00015059  0x00001263 hjam  0x0000007f , 0x00008900 
+ 00015060  0x00001264 nop  0x00000082 
+ 00015061  0x00001265 hjam  0x00000030 , 0x00008952 
+ 00015062  0x00001266 hjam  0x000000d0 , 0x00008901 
+ 00015063  0x00001267 hjam  0x00000070 , 0x00008952 
+ 00015064  0x00001268 hjam  0x000000f0 , 0x00008952 
+ 00015065  0x00001269 force  0x00000032 , 0x00000039 
+ 00015066  0x0000126b hfetch  0x00000001 , 0x00008980 
+ 00015067  0x0000126c bbit1  0x00000005 , 0x00003add 
+ 00015068  0x0000126d loop  0x00003ada 
+ 00015069  0x0000126f store  0x00000001 , 0x0000416f 
+ 00015070  0x00001270 hjam  0x00000000 , 0x00008901 
+ 00015071  0x00001271 hjam  0x00000000 , 0x00008900 
+ 00015072  0x00001272 hjam  0x00000000 , 0x00008906 
+ 00015073  0x00001273 rtn 
+ 00015074  0x00001276 set0  0x00000025 , 0x00000000 
+ 00015075  0x00001277 bpatch  0x00000098 , 0x00004013 
+ 00015076  0x00001278 fetch  0x00000001 , 0x0000416f 
+ 00015077  0x00001279 set1  0x00000005 , 0x0000003f 
+ 00015078  0x0000127a hstore  0x00000001 , 0x00008952 
+ 00015079  0x0000127b hfetcht  0x00000001 , 0x00008950 
+ 00015080  0x0000127c and_into  0x00000007 , 0x00000002 
+ 00015081  0x0000127d lshift3  0x0000003f , 0x0000003f 
+ 00015082  0x0000127e ior  0x00000002 , 0x0000003f 
+ 00015083  0x0000127f hstore  0x00000001 , 0x00008950 
+ 00015084  0x00001280 hfetch  0x00000001 , 0x00008951 
+ 00015085  0x00001281 set0  0x00000000 , 0x0000003f 
+ 00015086  0x00001282 hstore  0x00000001 , 0x00008951 
+ 00015087  0x00001283 hfetch  0x00000001 , 0x00008952 
+ 00015088  0x00001284 set0  0x00000005 , 0x0000003f 
+ 00015089  0x00001285 hstore  0x00000001 , 0x00008952 
+ 00015090  0x00001286 rtn 
+ 00015091  0x00001289 set0  0x00000025 , 0x00000000 
+ 00015092  0x0000128a bpatch  0x00000099 , 0x00004013 
+ 00015093  0x0000128b hfetch  0x00000002 , 0x00008981 
+ 00015094  0x0000128c rshift4  0x0000003f , 0x0000003f 
+ 00015095  0x0000128d rshift3  0x0000003f , 0x0000003f 
+ 00015096  0x0000128e sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00015097  0x0000128f and_into  0x000000ff , 0x0000003f 
+ 00015098  0x00001290 div  0x0000003f , 0x0000000a 
+ 00015099  0x00001291 call  0x00007efd 
+ 00015100  0x00001292 quotient  0x0000003f 
+ 00015101  0x00001293 lshift4  0x0000003f , 0x0000003f 
+ 00015102  0x00001294 remainder  0x00000002 
+ 00015103  0x00001295 ior  0x00000002 , 0x0000003f 
+ 00015104  0x00001296 store  0x00000001 , 0x00000018 
+ 00015105  0x00001297 rtn 
+ 00015106  0x0000129a hjam  0x0000000a , 0x00008042 
+ 00015107  0x0000129b hjam  0x00000000 , 0x00008905 
+ 00015108  0x0000129c hfetch  0x00000003 , 0x00008138 
+ 00015109  0x0000129d hstore  0x00000003 , 0x0000804c 
+ 00015110  0x0000129e hjam  0x000000fc , 0x0000804c 
+ 00015111  0x0000129f call  0x00003db0 
+ 00015112  0x000012a0 nop  0x000003e8 
+ 00015113  0x000012a1 rtn 
+ 00015114  0x000012a4 hjam  0x00000006 , 0x00008042 
+ 00015115  0x000012a5 hfetch  0x00000001 , 0x0000896b 
+ 00015116  0x000012a6 set0  0x00000004 , 0x0000003f 
+ 00015117  0x000012a7 set0  0x00000005 , 0x0000003f 
+ 00015118  0x000012a8 hstore  0x00000001 , 0x0000896b 
+ 00015119  0x000012a9 hjam  0x00000000 , 0x00008905 
+ 00015120  0x000012aa hjam  0x00000000 , 0x00008904 
+ 00015121  0x000012ab hjam  0x00000070 , 0x00008904 
+ 00015122  0x000012ac hjam  0x000000ff , 0x00008905 
+ 00015123  0x000012ad hfetch  0x00000001 , 0x0000896b 
+ 00015124  0x000012ae set1  0x00000004 , 0x0000003f 
+ 00015125  0x000012af set1  0x00000005 , 0x0000003f 
+ 00015126  0x000012b0 hstore  0x00000001 , 0x0000896b 
+ 00015127  0x000012b1 call  0x00003b38 
+ 00015128  0x000012b2 hfetch  0x00000001 , 0x00008968 
+ 00015129  0x000012b3 set1  0x00000007 , 0x0000003f 
+ 00015130  0x000012b4 hstore  0x00000001 , 0x00008968 
+ 00015131  0x000012b5 set0  0x00000007 , 0x0000003f 
+ 00015132  0x000012b6 hstore  0x00000001 , 0x00008968 
+ 00015133  0x000012b7 set1  0x00000007 , 0x0000003f 
+ 00015134  0x000012b8 hstore  0x00000001 , 0x00008968 
+ 00015135  0x000012b9 hjam  0x00000005 , 0x00008042 
+ 00015136  0x000012ba rtn 
+ 00015137  0x000012bd nop  0x000003e8 
+ 00015138  0x000012be hjam  0x00000004 , 0x00008042 
+ 00015139  0x000012bf nop  0x0000000a 
+ 00015140  0x000012c0 hjam  0x00000000 , 0x000080b4 
+ 00015141  0x000012c1 hjam  0x00000080 , 0x00008006 
+ 00015142  0x000012c3 hfetch  0x00000001 , 0x0000812d 
+ 00015143  0x000012c4 bbit0  0x00000001 , 0x00003b26 
+ 00015144  0x000012c5 hfetcht  0x00000003 , 0x00008149 
+ 00015145  0x000012c6 hjam  0x00000005 , 0x00008042 
+ 00015146  0x000012c7 nop  0x0000000a 
+ 00015147  0x000012c8 hjam  0x00000080 , 0x00008006 
+ 00015148  0x000012ca hfetch  0x00000001 , 0x0000812d 
+ 00015149  0x000012cb bbit0  0x00000001 , 0x00003b2c 
+ 00015150  0x000012cc hfetch  0x00000003 , 0x00008149 
+ 00015151  0x000012cd isub  0x00000002 , 0x0000003f 
+ 00015152  0x000012ce branch  0x00003b32 , 0x00000002 
+ 00015153  0x000012cf sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00015154  0x000012d1 store  0x00000002 , 0x0000018c 
+ 00015155  0x000012d2 sub  0x0000003f , 0x00000046 , 0x0000003e 
+ 00015156  0x000012d4 nbranch  0x00003b34 , 0x00000002 
+ 00015157  0x000012d5 rtn 
+ 00015158  0x000012d8 setarg  0x00000f0f 
+ 00015159  0x000012d9 branch  0x00003da7 
+ 00015160  0x000012dc setarg  0x0000080f 
+ 00015161  0x000012dd branch  0x00003da7 
+ 00015162  0x000012e2 set0  0x00000025 , 0x00000000 
+ 00015163  0x000012e3 bpatch  0x0000009a , 0x00004013 
+ 00015164  0x000012e4 call  0x00003a87 
+ 00015165  0x000012e5 disable  0x00000020 
+ 00015166  0x000012e6 enable  0x00000021 
+ 00015167  0x000012e7 pulse  0x00000016 
+ 00015168  0x000012e8 rtn 
+ 00015169  0x000012eb set0  0x00000025 , 0x00000000 
+ 00015170  0x000012ec bpatch  0x0000009b , 0x00004013 
+ 00015171  0x000012ed fetch  0x00000001 , 0x0000004c 
+ 00015172  0x000012ee isolate1  0x00000002 , 0x0000003f 
+ 00015173  0x000012ef setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00015174  0x000012f0 hstore  0x00000001 , 0x00008011 
+ 00015175  0x000012f1 arg  0x00000062 , 0x00000006 
+ 00015176  0x000012f2 ifetch  0x00000009 , 0x00000006 
+ 00015177  0x000012f3 iforce  0x00000032 
+ 00015178  0x000012f4 ifetch  0x00000007 , 0x00000006 
+ 00015179  0x000012f5 iforce  0x00000033 
+ 00015180  0x000012f6 fetch  0x00000001 , 0x00000054 
+ 00015181  0x000012f7 add  0x0000003f , 0xffffffff , 0x00000034 
+ 00015182  0x000012f8 pulse  0x0000001a 
+ 00015183  0x000012f9 rtn 
+ 00015184  0x000012fc set0  0x00000025 , 0x00000000 
+ 00015185  0x000012fd bpatch  0x0000009c , 0x00004013 
+ 00015186  0x000012fe enable  0x0000000d 
+ 00015187  0x000012ff arg  0x00000600 , 0x0000000b 
+ 00015188  0x00001300 correlate  0x00000029 , 0x00000026 
+ 00015189  0x00001302 deposit  0x0000001a 
+ 00015190  0x00001303 store  0x00000006 , 0x0000009c 
+ 00015191  0x00001304 disable  0x0000000d 
+ 00015192  0x00001305 nbranch  0x00003a6d , 0x00000018 
+ 00015193  0x00001306 arg  0x000003bb , 0x00000029 
+ 00015194  0x00001307 increase  0x00000001 , 0x00000028 
+ 00015195  0x00001308 and_into  0x000001fc , 0x00000028 
+ 00015196  0x00001309 rtn 
+ 00015197  0x0000130e enable  0x0000000d 
+ 00015198  0x00001310 correlate  0x0000003e , 0x00000017 
+ 00015199  0x00001311 branch  0x00003b55 , 0x00000018 
+ 00015200  0x00001312 compare  0x00000002 , 0x00000028 , 0x00000002 
+ 00015201  0x00001313 nbranch  0x00003b5e , 0x00000001 
+ 00015202  0x00001314 branch  0x00003b55 
+ 00015203  0x00001317 set0  0x00000025 , 0x00000000 
+ 00015204  0x00001318 bpatch  0x0000009d , 0x00004013 
+ 00015205  0x00001319 arg  0x00000600 , 0x0000000b 
+ 00015206  0x0000131a enable  0x0000000d 
+ 00015207  0x0000131b correlate  0x00000023 , 0x00000026 
+ 00015208  0x0000131c disable  0x0000000d 
+ 00015209  0x0000131d nbranch  0x00003a6d , 0x00000018 
+ 00015210  0x0000131e rtn 
+ 00015211  0x00001321 set0  0x00000025 , 0x00000000 
+ 00015212  0x00001322 bpatch  0x0000009e , 0x00004013 
+ 00015213  0x00001323 enable  0x0000000d 
+ 00015214  0x00001324 correlate  0x0000003e , 0x00000003 
+ 00015215  0x00001325 disable  0x0000000d 
+ 00015216  0x00001326 nbranch  0x00003a6d , 0x00000018 
+ 00015217  0x00001327 arg  0x000003bb , 0x00000029 
+ 00015218  0x00001328 and_into  0x000001fc , 0x00000028 
+ 00015219  0x00001329 rtn 
+ 00015220  0x0000132d set0  0x00000025 , 0x00000000 
+ 00015221  0x0000132e bpatch  0x0000009f , 0x00004013 
+ 00015222  0x0000132f iforce  0x00000011 
+ 00015223  0x00001330 deposit  0x00000021 
+ 00015224  0x00001331 iadd  0x00000002 , 0x0000000b 
+ 00015225  0x00001332 copy  0x0000000b , 0x0000003f 
+ 00015226  0x00001333 store  0x00000004 , 0x0000416a 
+ 00015227  0x00001334 deposit  0x00000011 
+ 00015228  0x00001335 rtn 
+ 00015229  0x00001339 copy  0x0000003f , 0x00000002 
+ 00015230  0x0000133a set0  0x00000025 , 0x00000000 
+ 00015231  0x0000133b bpatch  0x000000a0 , 0x00004014 
+ 00015232  0x0000133c copy  0x00000002 , 0x0000003f 
+ 00015233  0x0000133d call  0x00007e91 
+ 00015234  0x0000133e lshift16  0x00000021 , 0x0000003f 
+ 00015235  0x0000133f set1  0x0000002c , 0x0000003f 
+ 00015236  0x00001340 call  0x00007e7a 
+ 00015237  0x00001341 set0  0x0000002c , 0x0000003f 
+ 00015238  0x00001342 call  0x00003bda 
+ 00015239  0x00001343 call  0x00007e7a 
+ 00015240  0x00001344 rtn  0x00000028 
+ 00015241  0x00001345 call  0x00007e84 
+ 00015242  0x00001346 iforce  0x0000001b 
+ 00015243  0x00001347 until  0x0000003e , 0x00000003 
+ 00015244  0x00001348 rtn 
+ 00015245  0x0000134c set0  0x00000025 , 0x00000000 
+ 00015246  0x0000134d bpatch  0x000000a1 , 0x00004014 
+ 00015247  0x0000134e branch  0x00003b93 , 0x00000030 
+ 00015248  0x0000134f until  0x00000029 , 0x00000026 
+ 00015249  0x00001351 copy  0x00000028 , 0x00000002 
+ 00015250  0x00001352 branch  0x00003b96 
+ 00015251  0x00001354 branch  0x00003b95 , 0x0000002e 
+ 00015252  0x00001355 until  0x00000023 , 0x00000026 
+ 00015253  0x00001357 copy  0x00000022 , 0x00000002 
+ 00015254  0x00001359 branch  0x00003ba3 , 0x00000028 
+ 00015255  0x0000135a compare  0x00000001 , 0x00000002 , 0x00000003 
+ 00015256  0x0000135b nbranch  0x00003b8d , 0x00000001 
+ 00015257  0x0000135d set0  0x00000025 , 0x00000000 
+ 00015258  0x0000135e bpatch  0x000000a2 , 0x00004014 
+ 00015259  0x0000135f fetch  0x00000001 , 0x00000030 
+ 00015260  0x00001360 rtnbit0  0x00000000 
+ 00015261  0x00001361 fetch  0x00000004 , 0x0000416a 
+ 00015262  0x00001362 isub  0x00000002 , 0x0000003f 
+ 00015263  0x00001363 nrtn  0x00000002 
+ 00015264  0x00001364 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00015265  0x00001365 branch  0x00003b8d , 0x00000002 
+ 00015266  0x00001366 rtn 
+ 00015267  0x00001368 compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00015268  0x00001369 nbranch  0x00003b8d , 0x00000001 
+ 00015269  0x0000136a branch  0x00003b99 
+ 00015270  0x0000136d set0  0x00000025 , 0x00000000 
+ 00015271  0x0000136e bpatch  0x000000a3 , 0x00004014 
+ 00015272  0x0000136f arg  0x00000600 , 0x0000000b 
+ 00015273  0x00001370 branch  0x00003b8d 
+ 00015274  0x00001373 disable  0x00000028 
+ 00015275  0x00001374 branch  0x00003ba6 
+ 00015276  0x00001377 enable  0x00000028 
+ 00015277  0x00001378 branch  0x00003ba6 
+ 00015278  0x0000137b set0  0x00000025 , 0x00000000 
+ 00015279  0x0000137c bpatch  0x000000a4 , 0x00004014 
+ 00015280  0x0000137d call  0x00003b41 
+ 00015281  0x0000137e disable  0x00000021 
+ 00015282  0x0000137f enable  0x00000020 
+ 00015283  0x00001380 rtn 
+ 00015284  0x00001385 set0  0x00000025 , 0x00000000 
+ 00015285  0x00001386 bpatch  0x000000a5 , 0x00004014 
+ 00015286  0x00001387 arg  0x00000e43 , 0x0000000b 
+ 00015287  0x00001388 until  0x00000023 , 0x00000026 
+ 00015288  0x00001389 pulse  0x00000016 
+ 00015289  0x0000138a rtn 
+ 00015290  0x0000138d set0  0x00000025 , 0x00000000 
+ 00015291  0x0000138e bpatch  0x000000a6 , 0x00004014 
+ 00015292  0x0000138f arg  0x00000d00 , 0x0000000b 
+ 00015293  0x00001390 until  0x00000023 , 0x00000026 
+ 00015294  0x00001391 rtn 
+ 00015295  0x00001395 set0  0x00000025 , 0x00000000 
+ 00015296  0x00001396 bpatch  0x000000a7 , 0x00004014 
+ 00015297  0x00001397 arg  0x00000e43 , 0x0000000b 
+ 00015298  0x00001398 until  0x00000029 , 0x00000026 
+ 00015299  0x00001399 pulse  0x00000016 
+ 00015300  0x0000139a rtn 
+ 00015301  0x0000139d set0  0x00000025 , 0x00000000 
+ 00015302  0x0000139e bpatch  0x000000a8 , 0x00004015 
+ 00015303  0x0000139f preload  0x00000009 
+ 00015304  0x000013a0 enable  0x0000001d 
+ 00015305  0x000013a1 set1  0x00000000 , 0x00000015 
+ 00015306  0x000013a2 inject  0x00000003 , 0x00000048 
+ 00015307  0x000013a3 disable  0x0000001d 
+ 00015308  0x000013a4 rtn 
+ 00015309  0x000013a8 copy  0x00000025 , 0x00000002 
+ 00015310  0x000013a9 or_into  0x00000060 , 0x00000002 
+ 00015311  0x000013aa copy  0x00000002 , 0x0000000e 
+ 00015312  0x000013ab rtn 
+ 00015313  0x000013b1 set0  0x00000025 , 0x00000000 
+ 00015314  0x000013b2 bpatch  0x000000a9 , 0x00004015 
+ 00015315  0x000013b3 fetch  0x00000001 , 0x00004130 
+ 00015316  0x000013b4 increase  0x00000001 , 0x0000003f 
+ 00015317  0x000013b5 bne  0x00000007 , 0x00003bd7 
+ 00015318  0x000013b6 force  0x00000001 , 0x0000003f 
+ 00015319  0x000013b8 store  0x00000001 , 0x00004130 
+ 00015320  0x000013b9 iforce  0x00000004 
+ 00015321  0x000013ba rtn 
+ 00015322  0x000013bd copy  0x00000019 , 0x00000002 
+ 00015323  0x000013be rtn  0x00000029 
+ 00015324  0x000013bf copy  0x0000001a , 0x00000002 
+ 00015325  0x000013c0 rtn 
+ 00015326  0x000013c3 deposit  0x00000022 
+ 00015327  0x000013c4 rtn  0x00000029 
+ 00015328  0x000013c5 deposit  0x00000028 
+ 00015329  0x000013c6 rtn 
+ 00015330  0x000013ca set0  0x00000025 , 0x00000000 
+ 00015331  0x000013cb bpatch  0x000000aa , 0x00004015 
+ 00015332  0x000013cc fetcht  0x00000004 , 0x0000004d 
+ 00015333  0x000013cd call  0x00003bde 
+ 00015334  0x000013ce isub  0x00000002 , 0x0000000b 
+ 00015335  0x000013cf deposit  0x0000000b 
+ 00015336  0x000013d0 fetcht  0x00000002 , 0x00000051 
+ 00015337  0x000013d1 lshift  0x00000002 , 0x00000002 
+ 00015338  0x000013d2 isub  0x00000002 , 0x0000003f 
+ 00015339  0x000013d3 rtn 
+ 00015340  0x000013d6 set0  0x00000025 , 0x00000000 
+ 00015341  0x000013d7 bpatch  0x000000ab , 0x00004015 
+ 00015342  0x000013d8 call  0x00003bde 
+ 00015343  0x000013d9 store  0x00000004 , 0x0000004d 
+ 00015344  0x000013da rtn 
+ 00015345  0x000013dd branch  0x00003bf1 
+ 00015346  0x000013e0 branch  0x00003bf2 
+ 00015347  0x000013e3 rtn  0x00000034 
+ 00015348  0x000013e5 rshift  0x0000003f , 0x0000003f 
+ 00015349  0x000013e6 increase  0xfffffffd , 0x0000003f 
+ 00015350  0x000013e8 increase  0xffffffff , 0x0000003f 
+ 00015351  0x000013e9 nbranch  0x00003bf6 , 0x00000005 
+ 00015352  0x000013ea force  0x00000000 , 0x0000003f 
+ 00015353  0x000013eb rtn 
+ 00015354  0x000013f1 arg  0x00000010 , 0x00000039 
+ 00015355  0x000013f2 arg  0x00000000 , 0x00000005 
+ 00015356  0x000013f3 call  0x00007e3b 
+ 00015357  0x000013f4 arg  0x000003c0 , 0x00000005 
+ 00015358  0x000013f5 arg  0x0000000a , 0x00000039 
+ 00015359  0x000013f6 call  0x00007e3b 
+ 00015360  0x000013f7 jam  0x00000000 , 0x000007de 
+ 00015361  0x000013f8 jam  0x00000000 , 0x00000b7d 
+ 00015362  0x000013f9 jam  0x00000000 , 0x0000040d 
+ 00015363  0x000013fa jam  0x00000000 , 0x00000189 
+ 00015364  0x000013fb jam  0x00000000 , 0x0000044d 
+ 00015365  0x000013fc set0  0x00000025 , 0x00000000 
+ 00015366  0x000013fd bpatch  0x000000ac , 0x00004015 
+ 00015367  0x000013fe jam  0x00000000 , 0x00000177 
+ 00015368  0x000013ff jam  0x00000000 , 0x00000153 
+ 00015369  0x00001400 jam  0x00000000 , 0x0000015e 
+ 00015370  0x00001401 setarg  0x009e8b33 
+ 00015371  0x00001402 store  0x00000003 , 0x00004147 
+ 00015372  0x00001403 setarg  0x00000153 
+ 00015373  0x00001404 store  0x00000002 , 0x00000083 
+ 00015374  0x00001405 jam  0x0000001e , 0x00000085 
+ 00015375  0x00001406 jam  0x00000001 , 0x00000086 
+ 00015376  0x00001407 jam  0x00000007 , 0x00000088 
+ 00015377  0x00001408 setarg  0x0012e904 
+ 00015378  0x00001409 store  0x00000003 , 0x00000080 
+ 00015379  0x0000140a setarg  0x00000a04 
+ 00015380  0x0000140b store  0x00000003 , 0x000046fd 
+ 00015381  0x0000140c setarg  0x000012e9 
+ 00015382  0x0000140d store  0x00000002 , 0x00004700 
+ 00015383  0x0000140e jam  0x00000060 , 0x0000008f 
+ 00015384  0x0000140f jam  0x00000005 , 0x00004171 
+ 00015385  0x00001410 jam  0x00000002 , 0x00000014 
+ 00015386  0x00001411 call  0x000075cd 
+ 00015387  0x00001412 set0  0x00000025 , 0x00000000 
+ 00015388  0x00001413 bpatch  0x000000ad , 0x00004015 
+ 00015389  0x00001414 rtn  0x0000002b 
+ 00015390  0x00001415 setarg  0x00000000 
+ 00015391  0x00001416 store  0x00000002 , 0x00000091 
+ 00015392  0x00001417 rshift  0x00000022 , 0x0000003f 
+ 00015393  0x00001418 store  0x00000004 , 0x00004134 
+ 00015394  0x00001419 rtn 
+ 00015395  0x0000141e setarg  0x000000aa , 0x0000003f 
+ 00015396  0x0000141f arg  0x000000d3 , 0x00000005 
+ 00015397  0x00001420 force  0x0000001e , 0x00000039 
+ 00015398  0x00001422 istore  0x00000001 , 0x00000005 
+ 00015399  0x00001423 loop  0x00003c26 
+ 00015400  0x00001424 rtn 
+ 00015401  0x00001427 hjam  0x00000002 , 0x00000907 
+ 00015402  0x00001428 hjam  0x0000001f , 0x00000908 
+ 00015403  0x00001429 hjam  0x0000001f , 0x00000909 
+ 00015404  0x0000142a hjam  0x000000e0 , 0x0000090a 
+ 00015405  0x0000142b hjam  0x0000004e , 0x0000090b 
+ 00015406  0x0000142c hjam  0x00000045 , 0x00008912 
+ 00015407  0x0000142d hjam  0x00000000 , 0x00000953 
+ 00015408  0x0000142f hjam  0x000000fb , 0x0000094c 
+ 00015409  0x00001430 hjam  0x000000ef , 0x0000094d 
+ 00015410  0x00001431 hjam  0x0000000c , 0x0000094e 
+ 00015411  0x00001433 hjam  0x00000088 , 0x0000096f 
+ 00015412  0x00001434 hjam  0x00000030 , 0x00000973 
+ 00015413  0x00001437 hjam  0x00000000 , 0x00000953 
+ 00015414  0x00001438 hjam  0x000000c9 , 0x00000956 
+ 00015415  0x00001439 hjam  0x0000006c , 0x00000958 
+ 00015416  0x0000143a hjam  0x00000050 , 0x00000959 
+ 00015417  0x0000143b rtn 
+ 00015418  0x0000143f hjam  0x000000a9 , 0x00000930 
+ 00015419  0x00001440 hjam  0x000000b1 , 0x0000092f 
+ 00015420  0x00001441 hjam  0x000000b9 , 0x0000092e 
+ 00015421  0x00001442 hjam  0x000000ad , 0x0000092d 
+ 00015422  0x00001443 hjam  0x000000b1 , 0x0000092c 
+ 00015423  0x00001444 hjam  0x000000b5 , 0x0000092b 
+ 00015424  0x00001445 hjam  0x000000ba , 0x0000092a 
+ 00015425  0x00001446 hjam  0x000000be , 0x00000929 
+ 00015426  0x00001447 hjam  0x000000c2 , 0x00000928 
+ 00015427  0x00001448 hjam  0x000000c6 , 0x00000927 
+ 00015428  0x00001449 hjam  0x000000ca , 0x00000926 
+ 00015429  0x0000144a hjam  0x000000ce , 0x00000925 
+ 00015430  0x0000144b hjam  0x000000d2 , 0x00000924 
+ 00015431  0x0000144c hjam  0x000000d6 , 0x00000923 
+ 00015432  0x0000144d hjam  0x000000da , 0x00000922 
+ 00015433  0x0000144e hjam  0x000000de , 0x00000921 
+ 00015434  0x0000144f hjam  0x000000e2 , 0x00000920 
+ 00015435  0x00001450 hjam  0x000000e6 , 0x0000091f 
+ 00015436  0x00001451 hjam  0x000000ea , 0x0000091e 
+ 00015437  0x00001452 hjam  0x000000ee , 0x0000091d 
+ 00015438  0x00001453 hjam  0x000000f2 , 0x0000091c 
+ 00015439  0x00001454 hjam  0x000000f6 , 0x0000091b 
+ 00015440  0x00001455 hjam  0x000000fb , 0x0000091a 
+ 00015441  0x00001457 hjam  0x000000f5 , 0x00000947 
+ 00015442  0x00001458 hjam  0x000000e5 , 0x00000946 
+ 00015443  0x00001459 hjam  0x000000d5 , 0x00000945 
+ 00015444  0x0000145a hjam  0x000000d8 , 0x00000944 
+ 00015445  0x0000145b hjam  0x000000c9 , 0x00000943 
+ 00015446  0x0000145c hjam  0x000000c8 , 0x00000942 
+ 00015447  0x0000145d hjam  0x00000089 , 0x00000941 
+ 00015448  0x0000145e hjam  0x00000088 , 0x00000940 
+ 00015449  0x0000145f hjam  0x00000087 , 0x0000093f 
+ 00015450  0x00001460 hjam  0x00000048 , 0x0000093e 
+ 00015451  0x00001461 hjam  0x00000009 , 0x0000093d 
+ 00015452  0x00001462 hjam  0x00000008 , 0x0000093c 
+ 00015453  0x00001463 hjam  0x000000c9 , 0x0000093b 
+ 00015454  0x00001464 hjam  0x000000c8 , 0x0000093a 
+ 00015455  0x00001465 hjam  0x000000c7 , 0x00000939 
+ 00015456  0x00001466 hjam  0x000000c6 , 0x00000938 
+ 00015457  0x00001467 hjam  0x000000c5 , 0x00000937 
+ 00015458  0x00001468 hjam  0x000000c4 , 0x00000936 
+ 00015459  0x00001469 hjam  0x000000c3 , 0x00000935 
+ 00015460  0x0000146a hjam  0x000000c2 , 0x00000934 
+ 00015461  0x0000146b hjam  0x000000c1 , 0x00000933 
+ 00015462  0x0000146c hjam  0x000000c0 , 0x00000932 
+ 00015463  0x0000146d hjam  0x00000080 , 0x00000931 
+ 00015464  0x0000146e rtn 
+ 00015465  0x00001473 enable  0x00000036 
+ 00015466  0x00001474 setarg  0x008e89be 
+ 00015467  0x00001475 lshift8  0x0000003f , 0x0000003f 
+ 00015468  0x00001476 or_into  0x000000d6 , 0x0000003f 
+ 00015469  0x00001477 iforce  0x00000009 
+ 00015470  0x00001478 hjam  0x00000007 , 0x00000914 
+ 00015471  0x00001479 hjam  0x000000a0 , 0x0000090a 
+ 00015472  0x0000147a hjam  0x0000008f , 0x0000090d 
+ 00015473  0x0000147b hjam  0x0000000f , 0x00000911 
+ 00015474  0x0000147c hjam  0x00000087 , 0x00000912 
+ 00015475  0x0000147d rtn 
+ 00015476  0x00001483 setarg  0x0000ee21 
+ 00015477  0x00001484 hstore  0x00000002 , 0x00008050 
+ 00015478  0x00001485 hfetch  0x00000001 , 0x0000813e 
+ 00015479  0x00001486 bbit0  0x00000003 , 0x00006725 
+ 00015480  0x00001487 enable  0x0000002b 
+ 00015481  0x00001488 bbit0  0x00000007 , 0x00003c7f 
+ 00015482  0x00001489 disable  0x0000002b 
+ 00015483  0x0000148a deposit  0x00000027 
+ 00015484  0x0000148b nbranch  0x00003c7f , 0x00000034 
+ 00015485  0x0000148c arg  0xffffffff , 0x00000002 
+ 00015486  0x0000148d branch  0x00003cec 
+ 00015487  0x0000148f hfetch  0x00000003 , 0x0000813c 
+ 00015488  0x00001490 hstore  0x00000003 , 0x0000804c 
+ 00015489  0x00001491 ifetch  0x00000001 , 0x00000006 
+ 00015490  0x00001492 or_into  0x000000ef , 0x0000003f 
+ 00015491  0x00001493 istore  0x00000001 , 0x00000005 
+ 00015492  0x00001494 call  0x00003db2 
+ 00015493  0x00001495 hfetch  0x00000001 , 0x0000804f 
+ 00015494  0x00001496 set1  0x00000004 , 0x0000003f 
+ 00015495  0x00001497 hstore  0x00000001 , 0x0000804f 
+ 00015496  0x00001498 call  0x00003db2 
+ 00015497  0x00001499 call  0x00003c90 , 0x0000002b 
+ 00015498  0x0000149a hfetch  0x00000001 , 0x0000804e 
+ 00015499  0x0000149b set0  0x00000003 , 0x0000003f 
+ 00015500  0x0000149c hstore  0x00000001 , 0x0000804e 
+ 00015501  0x0000149d call  0x00003db2 
+ 00015502  0x0000149e rtn  0x0000002b 
+ 00015503  0x0000149f branch  0x00006725 
+ 00015504  0x000014a2 fetch  0x00000001 , 0x00004239 
+ 00015505  0x000014a3 hstore  0x00000001 , 0x00008086 
+ 00015506  0x000014a4 fetch  0x00000003 , 0x0000422e 
+ 00015507  0x000014a5 hstore  0x00000003 , 0x00008080 
+ 00015508  0x000014a6 fetch  0x00000004 , 0x00004222 
+ 00015509  0x000014a7 hstore  0x00000004 , 0x00008074 
+ 00015510  0x000014a8 fetch  0x00000004 , 0x0000421e 
+ 00015511  0x000014a9 hstore  0x00000004 , 0x00008070 
+ 00015512  0x000014aa fetch  0x00000008 , 0x00004226 
+ 00015513  0x000014ab hstore  0x00000008 , 0x00008078 
+ 00015514  0x000014ac fetch  0x00000008 , 0x00004231 
+ 00015515  0x000014ad iforce  0x00000000 
+ 00015516  0x000014ae hfetch  0x00000008 , 0x00008140 
+ 00015517  0x000014af store  0x00000008 , 0x000000a3 
+ 00015518  0x000014b0 call  0x00006781 
+ 00015519  0x000014b1 rtn 
+ 00015520  0x000014b4 deposit  0x00000000 
+ 00015521  0x000014b5 store  0x00000008 , 0x00004231 
+ 00015522  0x000014b6 hfetch  0x00000008 , 0x00008070 
+ 00015523  0x000014b7 store  0x00000008 , 0x0000421e 
+ 00015524  0x000014b8 ifetch  0x00000008 , 0x00000006 
+ 00015525  0x000014b9 istore  0x00000008 , 0x00000005 
+ 00015526  0x000014ba hfetch  0x00000003 , 0x00008080 
+ 00015527  0x000014bb store  0x00000003 , 0x0000422e 
+ 00015528  0x000014bc hfetch  0x00000001 , 0x00008086 
+ 00015529  0x000014bd store  0x00000001 , 0x00004239 
+ 00015530  0x000014be branch  0x00003db8 
+ 00015531  0x000014c1 hfetch  0x00000001 , 0x000080b4 
+ 00015532  0x000014c2 nbranch  0x00003cb1 , 0x00000034 
+ 00015533  0x000014c3 fetch  0x00000003 , 0x00004210 
+ 00015534  0x000014c4 nrtn  0x00000034 
+ 00015535  0x000014c5 hjam  0x000000c0 , 0x000080b4 
+ 00015536  0x000014c6 hjam  0x00000080 , 0x00008006 
+ 00015537  0x000014c8 hfetch  0x00000001 , 0x0000812d 
+ 00015538  0x000014c9 rtnbit0  0x00000001 
+ 00015539  0x000014ca hfetch  0x00000003 , 0x00008149 
+ 00015540  0x000014cb store  0x00000003 , 0x00004210 
+ 00015541  0x000014cc rtn 
+ 00015542  0x000014d1 set0  0x00000025 , 0x00000000 
+ 00015543  0x000014d2 bpatch  0x000000ae , 0x00004015 
+ 00015544  0x000014d3 deposit  0x0000001a 
+ 00015545  0x000014d4 call  0x00007e78 
+ 00015546  0x000014d5 fetcht  0x00000004 , 0x00004200 
+ 00015547  0x000014d6 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00015548  0x000014d7 rtn  0x00000002 
+ 00015549  0x000014d8 lshift8  0x0000003f , 0x0000003f 
+ 00015550  0x000014d9 lshift4  0x0000003f , 0x0000003f 
+ 00015551  0x000014da idiv  0x00000002 
+ 00015552  0x000014db call  0x00007efd 
+ 00015553  0x000014dc quotient  0x0000003f 
+ 00015554  0x000014dd arg  0x000000c8 , 0x00000002 
+ 00015555  0x000014de call  0x00007f2e 
+ 00015556  0x000014df store  0x00000001 , 0x0000009b 
+ 00015557  0x000014e0 nbranch  0x00003cc7 , 0x00000028 
+ 00015558  0x000014e1 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00015559  0x000014e3 fetcht  0x00000003 , 0x00004210 
+ 00015560  0x000014e4 iadd  0x00000002 , 0x0000003f 
+ 00015561  0x000014e5 store  0x00000003 , 0x00004210 
+ 00015562  0x000014e7 setarg  0x00000000 
+ 00015563  0x000014e8 store  0x00000004 , 0x00004200 
+ 00015564  0x000014e9 rtn 
+ 00015565  0x000014ed set0  0x00000025 , 0x00000000 
+ 00015566  0x000014ee bpatch  0x000000af , 0x00004015 
+ 00015567  0x000014ef call  0x00003db8 
+ 00015568  0x000014f0 hfetch  0x00000004 , 0x00008138 
+ 00015569  0x000014f1 set0  0x0000000f , 0x0000003f 
+ 00015570  0x000014f2 hstore  0x00000004 , 0x0000804c 
+ 00015571  0x000014f3 call  0x00003db0 
+ 00015572  0x000014f5 arg  0xffffffff , 0x00000002 
+ 00015573  0x000014f6 fetch  0x00000001 , 0x000041f8 
+ 00015574  0x000014f7 store  0x00000001 , 0x0000421d 
+ 00015575  0x000014f8 fetch  0x00000001 , 0x0000421b 
+ 00015576  0x000014f9 set1  0x00000007 , 0x0000003f 
+ 00015577  0x000014fa store  0x00000001 , 0x0000421b 
+ 00015578  0x000014fe set0  0x00000025 , 0x00000000 
+ 00015579  0x000014ff bpatch  0x000000b0 , 0x00004016 
+ 00015580  0x00001500 fetch  0x00000004 , 0x00004200 
+ 00015581  0x00001501 iadd  0x00000002 , 0x0000003f 
+ 00015582  0x00001502 store  0x00000004 , 0x00004200 
+ 00015583  0x00001503 call  0x00003ca0 
+ 00015584  0x00001504 fetch  0x00000005 , 0x00004219 
+ 00015585  0x00001505 hstore  0x00000004 , 0x0000804c 
+ 00015586  0x00001506 rshift32  0x0000003f , 0x00000011 
+ 00015587  0x00001507 until  0x0000003e , 0x00000033 
+ 00015588  0x00001508 deposit  0x00000019 
+ 00015589  0x00001509 store  0x00000006 , 0x00004204 
+ 00015590  0x0000150a hjam  0x00000002 , 0x00008005 
+ 00015591  0x0000150b until  0x0000003e , 0x00000033 
+ 00015592  0x0000150c until  0x0000003e , 0x00000033 
+ 00015593  0x0000150d deposit  0x00000011 
+ 00015594  0x0000150e hstore  0x00000001 , 0x0000804f 
+ 00015595  0x0000150f hjam  0x00000002 , 0x00008005 
+ 00015596  0x00001511 until  0x0000003e , 0x00000033 
+ 00015597  0x00001512 until  0x0000003e , 0x00000033 
+ 00015598  0x00001513 hstoret  0x00000004 , 0x0000804c 
+ 00015599  0x00001514 hjam  0x00000010 , 0x00008005 
+ 00015600  0x00001515 until  0x0000003e , 0x0000003f 
+ 00015601  0x0000151b set0  0x00000025 , 0x00000000 
+ 00015602  0x0000151c bpatch  0x000000b1 , 0x00004016 
+ 00015603  0x0000151d setarg  0x00000000 
+ 00015604  0x0000151e copy  0x00000027 , 0x0000003e 
+ 00015605  0x0000151f branch  0x00003cfd , 0x00000005 
+ 00015606  0x00001520 hfetch  0x00000001 , 0x0000813c 
+ 00015607  0x00001521 hfetcht  0x00000001 , 0x0000813d 
+ 00015608  0x00001522 isub  0x00000002 , 0x0000003e 
+ 00015609  0x00001523 branch  0x00003cfb , 0x00000002 
+ 00015610  0x00001524 deposit  0x00000002 
+ 00015611  0x00001526 isub  0x00000027 , 0x0000003f 
+ 00015612  0x00001527 increase  0x00000001 , 0x0000003f 
+ 00015613  0x00001529 increase  0x00000008 , 0x0000003f 
+ 00015614  0x0000152a until  0x0000003e , 0x00000033 
+ 00015615  0x0000152b iadd  0x00000031 , 0x0000003f 
+ 00015616  0x0000152c fetcht  0x00000004 , 0x000041fc 
+ 00015617  0x0000152d iadd  0x00000002 , 0x0000003f 
+ 00015618  0x0000152e fetcht  0x00000003 , 0x00004210 
+ 00015619  0x0000152f imul32  0x00000002 , 0x0000003f 
+ 00015620  0x00001530 rshift8  0x0000003f , 0x0000003f 
+ 00015621  0x00001531 rshift4  0x0000003f , 0x0000003f 
+ 00015622  0x00001532 increase  0x0000006e , 0x0000003f 
+ 00015623  0x00001533 arg  0x00000ea6 , 0x00000002 
+ 00015624  0x00001534 idiv  0x00000002 
+ 00015625  0x00001535 call  0x00007efd 
+ 00015626  0x00001536 quotient  0x0000003f 
+ 00015627  0x00001537 lshift16  0x0000003f , 0x0000003f 
+ 00015628  0x00001538 remainder  0x00000002 
+ 00015629  0x00001539 ior  0x00000002 , 0x0000003f 
+ 00015630  0x0000153a fetcht  0x00000006 , 0x00004204 
+ 00015631  0x0000153b call  0x00007e6d 
+ 00015632  0x0000153c copy  0x00000002 , 0x00000019 
+ 00015633  0x0000153d fetch  0x00000006 , 0x00004048 
+ 00015634  0x0000153e call  0x000039c0 
+ 00015635  0x0000153f deposit  0x0000001a 
+ 00015636  0x00001540 store  0x00000006 , 0x00000161 
+ 00015637  0x00001541 deposit  0x00000027 
+ 00015638  0x00001542 istore  0x00000001 , 0x00000005 
+ 00015639  0x00001543 hfetch  0x00000001 , 0x0000811d 
+ 00015640  0x00001544 or_into  0x000000f0 , 0x0000003f 
+ 00015641  0x00001545 istore  0x00000001 , 0x00000005 
+ 00015642  0x00001546 call  0x00007f52 
+ 00015643  0x00001547 rtn 
+ 00015644  0x0000154a set0  0x00000025 , 0x00000000 
+ 00015645  0x0000154b bpatch  0x000000b2 , 0x00004016 
+ 00015646  0x0000154c call  0x00003cab 
+ 00015647  0x0000154d fetch  0x00000003 , 0x00004210 
+ 00015648  0x0000154e rtn  0x00000034 
+ 00015649  0x0000154f fetch  0x00000001 , 0x00004131 
+ 00015650  0x00001550 rtn  0x00000034 
+ 00015651  0x00001551 call  0x00003dca 
+ 00015652  0x00001552 nrtn  0x00000034 
+ 00015653  0x00001554 fetch  0x00000001 , 0x00004040 
+ 00015654  0x00001555 compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00015655  0x00001556 nbranch  0x00003d4d , 0x00000001 
+ 00015656  0x00001557 fetch  0x00000002 , 0x00004042 
+ 00015657  0x00001558 rtn  0x00000034 
+ 00015658  0x00001559 rtn  0x0000002b 
+ 00015659  0x0000155a set0  0x00000025 , 0x00000000 
+ 00015660  0x0000155b bpatch  0x000000b3 , 0x00004016 
+ 00015661  0x0000155d fetcht  0x00000001 , 0x000000a2 
+ 00015662  0x0000155e fetch  0x00000002 , 0x00004042 
+ 00015663  0x0000155f imul32  0x00000002 , 0x0000003f 
+ 00015664  0x00001560 rshift4  0x00000002 , 0x00000002 
+ 00015665  0x00001561 rshift2  0x00000002 , 0x00000002 
+ 00015666  0x00001562 isub  0x00000002 , 0x0000003f 
+ 00015667  0x00001563 fetcht  0x00000004 , 0x00004044 
+ 00015668  0x00001564 iadd  0x00000002 , 0x0000003f 
+ 00015669  0x00001565 fetcht  0x00000001 , 0x000041f7 
+ 00015670  0x00001566 isub  0x00000002 , 0x0000003f 
+ 00015671  0x00001567 lshift16  0x0000003f , 0x00000030 
+ 00015672  0x00001568 set0  0x00000025 , 0x00000000 
+ 00015673  0x00001569 bpatch  0x000000b4 , 0x00004016 
+ 00015674  0x0000156a fetch  0x00000002 , 0x0000404e 
+ 00015675  0x0000156b rshift  0x0000003f , 0x0000003f 
+ 00015676  0x0000156c call  0x00007e91 
+ 00015677  0x0000156d deposit  0x00000030 
+ 00015678  0x0000156e call  0x00007e7a 
+ 00015679  0x0000156f copy  0x0000001a , 0x00000002 
+ 00015680  0x00001570 call  0x00007e78 
+ 00015681  0x00001571 rtn  0x00000028 
+ 00015682  0x00001573 call  0x00007e8a 
+ 00015683  0x00001575 set0  0x00000025 , 0x00000000 
+ 00015684  0x00001576 bpatch  0x000000b5 , 0x00004016 
+ 00015685  0x00001577 fetch  0x00000001 , 0x00004219 
+ 00015686  0x00001578 isub  0x00000002 , 0x0000003e 
+ 00015687  0x00001579 branch  0x00003cca , 0x00000002 
+ 00015688  0x0000157a storet  0x00000004 , 0x000041fc 
+ 00015689  0x0000157b call  0x00003ea9 
+ 00015690  0x0000157c call  0x0000530c 
+ 00015691  0x0000157d fetcht  0x00000004 , 0x000041fc 
+ 00015692  0x0000157e branch  0x00003cda 
+ 00015693  0x00001581 set0  0x00000025 , 0x00000000 
+ 00015694  0x00001582 bpatch  0x000000b6 , 0x00004016 
+ 00015695  0x00001583 fetch  0x00000001 , 0x00004040 
+ 00015696  0x00001584 rtnbit1  0x00000000 
+ 00015697  0x00001585 rtnbit1  0x00000003 
+ 00015698  0x00001586 fetch  0x00000001 , 0x000047dc 
+ 00015699  0x00001587 branch  0x00003d56 , 0x00000034 
+ 00015700  0x00001588 fetch  0x00000001 , 0x00004793 
+ 00015701  0x00001589 rtn  0x00000034 
+ 00015702  0x0000158b fetch  0x00000001 , 0x000043d8 
+ 00015703  0x0000158c nbranch  0x00003d5a , 0x00000034 
+ 00015704  0x0000158d fetch  0x00000001 , 0x00004133 
+ 00015705  0x0000158e rtn  0x00000034 
+ 00015706  0x00001590 fetch  0x00000002 , 0x000041f5 
+ 00015707  0x00001591 rtn  0x00000034 
+ 00015708  0x00001593 fetcht  0x00000001 , 0x000041f7 
+ 00015709  0x00001594 isub  0x00000002 , 0x0000003f 
+ 00015710  0x00001595 arg  0x00001d4c , 0x00000002 
+ 00015711  0x00001596 imul32  0x00000002 , 0x0000003f 
+ 00015712  0x00001597 branch  0x00003d42 
+ 00015713  0x0000159a set0  0x00000025 , 0x00000000 
+ 00015714  0x0000159b bpatch  0x000000b7 , 0x00004016 
+ 00015715  0x0000159c disable  0x0000002b 
+ 00015716  0x0000159d fetch  0x00000001 , 0x00000030 
+ 00015717  0x0000159e rtnbit0  0x00000001 
+ 00015718  0x0000159f nbranch  0x00003d7b , 0x0000002d 
+ 00015719  0x000015a0 call  0x00003d76 
+ 00015720  0x000015a1 fetch  0x00000002 , 0x00004161 
+ 00015721  0x000015a2 store  0x00000002 , 0x0000003e 
+ 00015722  0x000015a3 fetch  0x00000001 , 0x00000047 
+ 00015723  0x000015a4 bbit1  0x00000003 , 0x00003d8a 
+ 00015724  0x000015a5 bmark0  0x0000000d , 0x00003d8a 
+ 00015725  0x000015a6 call  0x0000527e 
+ 00015726  0x000015a7 nbranch  0x00003d8a , 0x00000034 
+ 00015727  0x000015a9 jam  0x00000000 , 0x000000a2 
+ 00015728  0x000015aa bmark0  0x0000000d , 0x00003d8a 
+ 00015729  0x000015ab fetch  0x00000001 , 0x00004215 
+ 00015730  0x000015ac branch  0x00003d8e , 0x00000034 
+ 00015731  0x000015ad increase  0xffffffff , 0x0000003f 
+ 00015732  0x000015ae store  0x00000001 , 0x00004215 
+ 00015733  0x000015af rtn 
+ 00015734  0x000015b2 jam  0x00000000 , 0x000041fa 
+ 00015735  0x000015b3 fetch  0x00000003 , 0x0000420a 
+ 00015736  0x000015b4 increase  0x00000001 , 0x0000003f 
+ 00015737  0x000015b5 store  0x00000003 , 0x0000420a 
+ 00015738  0x000015b6 rtn 
+ 00015739  0x000015b9 set0  0x00000025 , 0x00000000 
+ 00015740  0x000015ba bpatch  0x000000b8 , 0x00004017 
+ 00015741  0x000015bb fetcht  0x00000002 , 0x00004161 
+ 00015742  0x000015bc rshift  0x00000002 , 0x00000002 
+ 00015743  0x000015bd fetch  0x00000002 , 0x0000003e 
+ 00015744  0x000015be iadd  0x00000002 , 0x0000003f 
+ 00015745  0x000015bf store  0x00000002 , 0x0000003e 
+ 00015746  0x000015c1 jam  0x00000000 , 0x000000a2 
+ 00015747  0x000015c2 fetch  0x00000003 , 0x0000420d 
+ 00015748  0x000015c3 increase  0x00000001 , 0x0000003f 
+ 00015749  0x000015c4 store  0x00000003 , 0x0000420d 
+ 00015750  0x000015c5 fetch  0x00000001 , 0x000041fa 
+ 00015751  0x000015c6 increase  0x00000001 , 0x0000003f 
+ 00015752  0x000015c7 store  0x00000001 , 0x000041fa 
+ 00015753  0x000015c8 rtn 
+ 00015754  0x000015cb jam  0x00000000 , 0x000000a2 
+ 00015755  0x000015cc fetch  0x00000001 , 0x00004214 
+ 00015756  0x000015cd store  0x00000001 , 0x00004215 
+ 00015757  0x000015ce rtn 
+ 00015758  0x000015d1 fetcht  0x00000001 , 0x00004213 
+ 00015759  0x000015d2 storet  0x00000001 , 0x000000a2 
+ 00015760  0x000015d3 rtn 
+ 00015761  0x000015d6 set0  0x00000025 , 0x00000000 
+ 00015762  0x000015d7 bpatch  0x000000b9 , 0x00004017 
+ 00015763  0x000015d8 fetch  0x00000001 , 0x00004219 
+ 00015764  0x000015d9 nrtn  0x00000034 
+ 00015765  0x000015da hjam  0x00000006 , 0x00008042 
+ 00015766  0x000015db setarg  0x00000f0c 
+ 00015767  0x000015dc call  0x00003da7 
+ 00015768  0x000015dd setarg  0x00030d40 
+ 00015769  0x000015de call  0x00003bf3 
+ 00015770  0x000015df until  0x0000003e , 0x00000033 
+ 00015771  0x000015e0 copy  0x00000031 , 0x00000030 
+ 00015772  0x000015e1 call  0x00003b36 
+ 00015773  0x000015e2 hjam  0x00000004 , 0x00008042 
+ 00015774  0x000015e3 nop  0x0000000a 
+ 00015775  0x000015e4 until  0x0000003e , 0x00000033 
+ 00015776  0x000015e5 deposit  0x00000031 
+ 00015777  0x000015e6 isub  0x00000030 , 0x0000003f 
+ 00015778  0x000015e7 increase  0x00000030 , 0x0000003f 
+ 00015779  0x000015e8 arg  0x000000ff , 0x00000002 
+ 00015780  0x000015e9 call  0x00007f2e 
+ 00015781  0x000015ea store  0x00000001 , 0x00004219 
+ 00015782  0x000015eb rtn 
+ 00015783  0x000015f1 arg  0x00000fff , 0x00000005 
+ 00015784  0x000015f2 iand  0x00000005 , 0x00000005 
+ 00015785  0x000015f3 fetch  0x00000001 , 0x00004216 
+ 00015786  0x000015f4 and_into  0x000000f0 , 0x0000003f 
+ 00015787  0x000015f5 lshift8  0x0000003f , 0x0000003f 
+ 00015788  0x000015f6 ior  0x00000005 , 0x0000003f 
+ 00015789  0x000015f7 hstore  0x00000002 , 0x0000804c 
+ 00015790  0x000015f8 ifetch  0x00000002 , 0x00000006 
+ 00015791  0x000015f9 istore  0x00000002 , 0x00000005 
+ 00015792  0x000015fc setarg  0x00000001 
+ 00015793  0x000015fd branch  0x00003db3 
+ 00015794  0x00001600 setarg  0x00000002 
+ 00015795  0x00001602 until  0x0000003e , 0x00000033 
+ 00015796  0x00001603 hstore  0x00000001 , 0x00008005 
+ 00015797  0x00001604 until  0x0000003e , 0x00000033 
+ 00015798  0x00001605 until  0x0000003e , 0x00000033 
+ 00015799  0x00001606 rtn 
+ 00015800  0x0000160a set0  0x00000025 , 0x00000000 
+ 00015801  0x0000160b bpatch  0x000000ba , 0x00004017 
+ 00015802  0x0000160c fetch  0x00000004 , 0x000000a3 
+ 00015803  0x0000160d hstore  0x00000004 , 0x0000804c 
+ 00015804  0x0000160e setarg  0x00000004 
+ 00015805  0x0000160f call  0x00003db3 
+ 00015806  0x00001610 fetch  0x00000004 , 0x000000a7 
+ 00015807  0x00001611 hstore  0x00000004 , 0x0000804c 
+ 00015808  0x00001612 setarg  0x00000008 
+ 00015809  0x00001613 branch  0x00003db3 
+ 00015810  0x00001616 fetch  0x00000002 , 0x000041f3 
+ 00015811  0x00001617 qset1  0x0000003f 
+ 00015812  0x00001618 store  0x00000002 , 0x000041f3 
+ 00015813  0x00001619 rtn 
+ 00015814  0x0000161c fetch  0x00000002 , 0x000041f3 
+ 00015815  0x0000161d qset0  0x0000003f 
+ 00015816  0x0000161e store  0x00000002 , 0x000041f3 
+ 00015817  0x0000161f rtn 
+ 00015818  0x00001624 set0  0x00000025 , 0x00000000 
+ 00015819  0x00001625 bpatch  0x000000bb , 0x00004017 
+ 00015820  0x00001626 call  0x00003ea7 
+ 00015821  0x00001627 fetch  0x00000002 , 0x000041f3 
+ 00015822  0x00001628 copy  0x0000003f , 0x00000011 
+ 00015823  0x00001629 fetch  0x00000001 , 0x0000004c 
+ 00015824  0x0000162a isolate1  0x00000006 , 0x0000003f 
+ 00015825  0x0000162b setflag  0x00000001 , 0x0000000b , 0x00000011 
+ 00015826  0x0000162c fetch  0x00000001 , 0x00000078 
+ 00015827  0x0000162d fetcht  0x00000001 , 0x0000007c 
+ 00015828  0x0000162e iadd  0x00000002 , 0x0000003f 
+ 00015829  0x0000162f fetcht  0x00000001 , 0x00000048 
+ 00015830  0x00001630 iadd  0x00000002 , 0x0000003f 
+ 00015831  0x00001631 nsetflag  0x00000034 , 0x0000000a , 0x00000011 
+ 00015832  0x00001632 set0  0x00000025 , 0x00000000 
+ 00015833  0x00001633 bpatch  0x000000bc , 0x00004017 
+ 00015834  0x00001634 fetch  0x00000002 , 0x000002c4 
+ 00015835  0x00001635 fetcht  0x00000002 , 0x000002c6 
+ 00015836  0x00001636 iadd  0x00000002 , 0x0000003f 
+ 00015837  0x00001637 nsetflag  0x00000034 , 0x0000000d , 0x00000011 
+ 00015838  0x00001638 fetch  0x00000005 , 0x000047df 
+ 00015839  0x00001639 nsetflag  0x00000034 , 0x0000000f , 0x00000011 
+ 00015840  0x0000163a fetch  0x00000005 , 0x000047e4 
+ 00015841  0x0000163b nsetflag  0x00000034 , 0x0000000e , 0x00000011 
+ 00015842  0x0000163c fetch  0x00000001 , 0x00004272 
+ 00015843  0x0000163d nsetflag  0x00000034 , 0x00000008 , 0x00000011 
+ 00015844  0x0000163e fetch  0x00000001 , 0x00004132 
+ 00015845  0x0000163f compare  0x0000000a , 0x0000003f , 0x000000ff 
+ 00015846  0x00001640 call  0x00003df5 , 0x00000001 
+ 00015847  0x00001641 set0  0x00000025 , 0x00000000 
+ 00015848  0x00001642 bpatch  0x000000bd , 0x00004017 
+ 00015849  0x00001643 fetch  0x00000001 , 0x00004132 
+ 00015850  0x00001644 bne  0x00000001 , 0x00003dfa 
+ 00015851  0x00001645 call  0x00003df5 
+ 00015852  0x00001646 fetch  0x00000001 , 0x0000425e 
+ 00015853  0x00001647 setflag  0x00000034 , 0x00000003 , 0x00000011 
+ 00015854  0x00001648 fetch  0x00000004 , 0x000042a5 
+ 00015855  0x00001649 arg  0x00001710 , 0x00000002 
+ 00015856  0x0000164a iadd  0x00000002 , 0x00000002 
+ 00015857  0x0000164b copy  0x00000022 , 0x0000003f 
+ 00015858  0x0000164c isub  0x00000002 , 0x0000003e 
+ 00015859  0x0000164d nsetflag  0x00000002 , 0x00000004 , 0x00000011 
+ 00015860  0x0000164e branch  0x00003dfc 
+ 00015861  0x00001651 hfetch  0x00000002 , 0x00008112 
+ 00015862  0x00001652 nsetflag  0x00000034 , 0x00000006 , 0x00000011 
+ 00015863  0x00001653 hfetch  0x00000002 , 0x0000810e 
+ 00015864  0x00001654 nsetflag  0x00000034 , 0x00000005 , 0x00000011 
+ 00015865  0x00001655 rtn 
+ 00015866  0x00001658 setarg  0xfffffff8 
+ 00015867  0x00001659 iand  0x00000011 , 0x00000011 
+ 00015868  0x0000165b copy  0x00000011 , 0x0000003f 
+ 00015869  0x0000165c store  0x00000002 , 0x000041f3 
+ 00015870  0x0000165d rtn  0x00000034 
+ 00015871  0x0000165e rtn  0x0000002d 
+ 00015872  0x0000165f enable  0x0000002b 
+ 00015873  0x00001660 rtn 
+ 00015874  0x00001663 hfetch  0x00000004 , 0x00008138 
+ 00015875  0x00001664 set0  0x0000001b , 0x0000003f 
+ 00015876  0x00001665 hstore  0x00000004 , 0x0000804c 
+ 00015877  0x00001666 call  0x00003db0 
+ 00015878  0x00001667 branch  0x00003bf1 
+ 00015879  0x0000166a hfetch  0x00000004 , 0x0000813c 
+ 00015880  0x0000166b set1  0x00000014 , 0x0000003f 
+ 00015881  0x0000166c hstore  0x00000004 , 0x0000804c 
+ 00015882  0x0000166d branch  0x00003db2 
+ 00015883  0x00001670 hfetch  0x00000004 , 0x0000813c 
+ 00015884  0x00001671 set0  0x00000014 , 0x0000003f 
+ 00015885  0x00001672 hstore  0x00000004 , 0x0000804c 
+ 00015886  0x00001673 branch  0x00003db2 
+ 00015887  0x00001676 set0  0x00000025 , 0x00000000 
+ 00015888  0x00001677 bpatch  0x000000be , 0x00004017 
+ 00015889  0x00001678 fetch  0x00000001 , 0x00004132 
+ 00015890  0x00001679 rtnne  0x00000001 
+ 00015891  0x0000167a call  0x00006a8b 
+ 00015892  0x0000167b rtn  0x00000001 
+ 00015893  0x0000167c fetch  0x00000004 , 0x00004807 
+ 00015894  0x0000167d nbranch  0x00003e1a , 0x00000034 
+ 00015895  0x0000167e copy  0x00000022 , 0x0000003f 
+ 00015896  0x0000167f store  0x00000004 , 0x00004807 
+ 00015897  0x00001680 branch  0x00006a6b 
+ 00015898  0x00001682 set0  0x00000025 , 0x00000000 
+ 00015899  0x00001683 bpatch  0x000000bf , 0x00004017 
+ 00015900  0x00001684 copy  0x00000022 , 0x0000003f 
+ 00015901  0x00001685 fetcht  0x00000004 , 0x00004807 
+ 00015902  0x00001686 isub  0x00000002 , 0x0000003f 
+ 00015903  0x00001687 arg  0x00000021 , 0x00000002 
+ 00015904  0x00001688 isub  0x00000002 , 0x0000003e 
+ 00015905  0x00001689 nrtn  0x00000002 
+ 00015906  0x0000168a setarg  0x00000000 
+ 00015907  0x0000168b store  0x00000004 , 0x00004807 
+ 00015908  0x0000168c branch  0x00004599 
+ 00015909  0x0000168f fetch  0x00000002 , 0x000041f1 
+ 00015910  0x00001690 bbit1  0x00000000 , 0x00003bf1 
+ 00015911  0x00001691 rtn 
+ 00015912  0x00001693 fetch  0x00000002 , 0x000041f1 
+ 00015913  0x00001694 bbit1  0x00000001 , 0x00003bf1 
+ 00015914  0x00001695 rtn 
+ 00015915  0x00001697 fetch  0x00000002 , 0x000041f1 
+ 00015916  0x00001698 bbit1  0x00000002 , 0x00003bf1 
+ 00015917  0x00001699 rtn 
+ 00015918  0x0000169c setarg  0x00003e37 
+ 00015919  0x0000169d store  0x00000002 , 0x0000428e 
+ 00015920  0x0000169e setarg  0x00003e3d 
+ 00015921  0x0000169f store  0x00000002 , 0x00004292 
+ 00015922  0x000016a0 setarg  0x00003e37 
+ 00015923  0x000016a1 store  0x00000002 , 0x00004290 
+ 00015924  0x000016a2 rtn  0x0000002b 
+ 00015925  0x000016a3 jam  0x00000001 , 0x000047e9 
+ 00015926  0x000016a4 rtn 
+ 00015927  0x000016a7 fetch  0x00000001 , 0x00000030 
+ 00015928  0x000016a8 bbit0  0x00000001 , 0x00005e9f 
+ 00015929  0x000016a9 set1  0x0000000d , 0x00000000 
+ 00015930  0x000016aa fetch  0x00000006 , 0x0000420a 
+ 00015931  0x000016ab store  0x00000006 , 0x00004703 
+ 00015932  0x000016ac branch  0x00007bde 
+ 00015933  0x000016b0 deposit  0x00000013 
+ 00015934  0x000016b1 rtnne  0x00000010 
+ 00015935  0x000016b3 call  0x00007bb1 
+ 00015936  0x000016b4 fetch  0x00000001 , 0x000047eb 
+ 00015937  0x000016b5 beq  0x00000001 , 0x00003e3f 
+ 00015938  0x000016b6 call  0x00007be2 
+ 00015939  0x000016b7 branch  0x00003ccd 
+ 00015940  0x000016bb force  0x00000002 , 0x00000002 
+ 00015941  0x000016bc increase  0xfffffffe , 0x00000002 
+ 00015942  0x000016bd call  0x00003a7a 
+ 00015943  0x000016be call  0x00003a91 
+ 00015944  0x000016bf disable  0x00000007 
+ 00015945  0x000016c0 enable  0x0000001d 
+ 00015946  0x000016c1 set1  0x00000000 , 0x00000015 
+ 00015947  0x000016c2 call  0x00003bae 
+ 00015948  0x000016c4 fetch  0x00000001 , 0x00000000 
+ 00015949  0x000016c5 inject  0x00000003 , 0x00000008 
+ 00015950  0x000016c6 branch  0x00003e4c 
+ 00015951  0x000016cd set1  0x00000025 , 0x00000000 
+ 00015952  0x000016ce bpatch  0x000000cd , 0x00004039 
+ 00015953  0x000016cf fetch  0x00000001 , 0x00004132 
+ 00015954  0x000016d0 branch  0x00003e4f , 0x00000034 
+ 00015955  0x000016d1 beq  0x00000006 , 0x00005aa2 
+ 00015956  0x000016d2 beq  0x00000007 , 0x00004b33 
+ 00015957  0x000016d3 beq  0x00000004 , 0x00004293 
+ 00015958  0x000016d4 beq  0x00000003 , 0x00004c09 
+ 00015959  0x000016d5 beq  0x00000001 , 0x00004461 
+ 00015960  0x000016d6 beq  0x00000009 , 0x00007624 
+ 00015961  0x000016d7 beq  0x0000000a , 0x000062ef 
+ 00015962  0x000016d8 beq  0x0000000c , 0x00004bf3 
+ 00015963  0x000016d9 beq  0x0000000d , 0x00006a8e 
+ 00015964  0x000016da beq  0x000000ff , 0x00003e2e 
+ 00015965  0x000016db bbit1  0x00000006 , 0x00006486 
+ 00015966  0x000016dc rtn 
+ 00015967  0x000016df set1  0x00000025 , 0x00000000 
+ 00015968  0x000016e0 bpatch  0x000000ce , 0x00004039 
+ 00015969  0x000016e1 jam  0x00000000 , 0x00000153 
+ 00015970  0x000016e2 jam  0x00000000 , 0x00000189 
+ 00015971  0x000016e3 jam  0x00000000 , 0x0000018a 
+ 00015972  0x000016e4 setarg  0x00000000 
+ 00015973  0x000016e5 store  0x00000005 , 0x000007da 
+ 00015974  0x000016e6 fetch  0x00000001 , 0x00004132 
+ 00015975  0x000016e7 branch  0x00003e5f , 0x00000034 
+ 00015976  0x000016e8 beq  0x0000000a , 0x0000631f 
+ 00015977  0x000016e9 rtn 
+ 00015978  0x000016ed call  0x00007ba1 
+ 00015979  0x000016ee call  0x00007c45 
+ 00015980  0x000016ef call  0x00003e73 
+ 00015981  0x000016f0 fetch  0x00000002 , 0x00004290 
+ 00015982  0x000016f1 branch  0x00007f66 
+ 00015983  0x000016f4 fetch  0x00000002 , 0x0000428e 
+ 00015984  0x000016f5 branch  0x00007f66 
+ 00015985  0x000016f8 fetch  0x00000002 , 0x0000428c 
+ 00015986  0x000016f9 branch  0x00007f66 
+ 00015987  0x000016fc set1  0x00000025 , 0x00000000 
+ 00015988  0x000016fd bpatch  0x000000cf , 0x00004039 
+ 00015989  0x000016ff arg  0x000047df , 0x00000011 
+ 00015990  0x00001700 call  0x00007f9f 
+ 00015991  0x00001701 rtn  0x00000034 
+ 00015992  0x00001703 copy  0x0000003f , 0x00000013 
+ 00015993  0x00001704 call  0x00003e7d 
+ 00015994  0x00001705 branch  0x00003ea5 
+ 00015995  0x00001708 arg  0x00000000 , 0x00000013 
+ 00015996  0x00001709 rtn 
+ 00015997  0x0000170f beq  0x00000001 , 0x00003e92 
+ 00015998  0x00001710 beq  0x00000010 , 0x00003ed9 
+ 00015999  0x00001711 beq  0x00000005 , 0x00003eb6 
+ 00016000  0x00001712 beq  0x00000012 , 0x00003ebd 
+ 00016001  0x00001713 beq  0x00000006 , 0x00003ed5 
+ 00016002  0x00001714 beq  0x00000004 , 0x00003efe 
+ 00016003  0x00001715 beq  0x00000002 , 0x00003f03 
+ 00016004  0x00001716 beq  0x00000013 , 0x00003efe 
+ 00016005  0x00001717 beq  0x00000014 , 0x00003ecc 
+ 00016006  0x00001718 beq  0x00000015 , 0x00003ed0 
+ 00016007  0x00001719 beq  0x00000003 , 0x00003eaf 
+ 00016008  0x0000171a beq  0x0000000b , 0x00003ec1 
+ 00016009  0x0000171b beq  0x0000000c , 0x00003ec8 
+ 00016010  0x0000171d beq  0x00000016 , 0x00003edd 
+ 00016011  0x0000171e beq  0x00000018 , 0x00003eab 
+ 00016012  0x0000171f beq  0x0000002a , 0x00003e9b 
+ 00016013  0x00001720 beq  0x0000002b , 0x00003e99 
+ 00016014  0x00001722 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00016015  0x00001723 and_into  0x000000f0 , 0x0000003f 
+ 00016016  0x00001724 beq  0x00000050 , 0x00003ee1 
+ 00016017  0x00001725 rtn 
+ 00016018  0x00001728 fetch  0x00000002 , 0x000047f4 
+ 00016019  0x00001729 set1  0x00000000 , 0x0000003f 
+ 00016020  0x0000172a store  0x00000002 , 0x000047f4 
+ 00016021  0x0000172b fetch  0x00000002 , 0x000042a2 
+ 00016022  0x0000172c set0  0x00000000 , 0x0000003f 
+ 00016023  0x0000172d store  0x00000002 , 0x000042a2 
+ 00016024  0x0000172e rtn 
+ 00016025  0x00001730 jam  0x00000000 , 0x00000258 
+ 00016026  0x00001731 rtn 
+ 00016027  0x00001734 fetch  0x00000001 , 0x00000258 
+ 00016028  0x00001735 increase  0x00000001 , 0x0000003f 
+ 00016029  0x00001736 store  0x00000001 , 0x00000258 
+ 00016030  0x00001737 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00016031  0x00001738 branch  0x00003f6c , 0x00000002 
+ 00016032  0x00001739 jam  0x00000000 , 0x00000258 
+ 00016033  0x0000173a fetch  0x00000002 , 0x000042a2 
+ 00016034  0x0000173b set1  0x00000009 , 0x0000003f 
+ 00016035  0x0000173c store  0x00000002 , 0x000042a2 
+ 00016036  0x0000173d branch  0x00003f77 
+ 00016037  0x00001740 fetch  0x00000002 , 0x00004292 
+ 00016038  0x00001741 branch  0x00007f66 
+ 00016039  0x00001744 fetch  0x00000002 , 0x00004286 
+ 00016040  0x00001745 branch  0x00007f66 
+ 00016041  0x00001748 fetch  0x00000002 , 0x0000428a 
+ 00016042  0x00001749 branch  0x00007f66 
+ 00016043  0x0000174c fetch  0x00000002 , 0x000042a2 
+ 00016044  0x0000174d set1  0x00000001 , 0x0000003f 
+ 00016045  0x0000174e store  0x00000002 , 0x000042a2 
+ 00016046  0x0000174f branch  0x00003fa2 
+ 00016047  0x00001752 fetch  0x00000002 , 0x000047f4 
+ 00016048  0x00001753 set1  0x00000007 , 0x0000003f 
+ 00016049  0x00001754 store  0x00000002 , 0x000047f4 
+ 00016050  0x00001755 fetch  0x00000002 , 0x000042a2 
+ 00016051  0x00001756 set1  0x00000002 , 0x0000003f 
+ 00016052  0x00001757 store  0x00000002 , 0x000042a2 
+ 00016053  0x00001758 rtn 
+ 00016054  0x0000175b fetch  0x00000002 , 0x000047f4 
+ 00016055  0x0000175c set1  0x00000001 , 0x0000003f 
+ 00016056  0x0000175d store  0x00000002 , 0x000047f4 
+ 00016057  0x0000175e fetch  0x00000002 , 0x000042a2 
+ 00016058  0x0000175f set1  0x00000004 , 0x0000003f 
+ 00016059  0x00001760 store  0x00000002 , 0x000042a2 
+ 00016060  0x00001761 rtn 
+ 00016061  0x00001764 fetch  0x00000002 , 0x000047f4 
+ 00016062  0x00001765 set1  0x00000003 , 0x0000003f 
+ 00016063  0x00001766 store  0x00000002 , 0x000047f4 
+ 00016064  0x00001767 rtn 
+ 00016065  0x0000176a fetch  0x00000002 , 0x000047f4 
+ 00016066  0x0000176b set1  0x00000005 , 0x0000003f 
+ 00016067  0x0000176c store  0x00000002 , 0x000047f4 
+ 00016068  0x0000176d fetch  0x00000002 , 0x000042a2 
+ 00016069  0x0000176e set1  0x00000003 , 0x0000003f 
+ 00016070  0x0000176f store  0x00000002 , 0x000042a2 
+ 00016071  0x00001770 rtn 
+ 00016072  0x00001773 fetch  0x00000002 , 0x000047f4 
+ 00016073  0x00001774 set0  0x00000005 , 0x0000003f 
+ 00016074  0x00001775 store  0x00000002 , 0x000047f4 
+ 00016075  0x00001776 rtn 
+ 00016076  0x00001779 fetch  0x00000002 , 0x000047f4 
+ 00016077  0x0000177a set1  0x00000009 , 0x0000003f 
+ 00016078  0x0000177b store  0x00000002 , 0x000047f4 
+ 00016079  0x0000177c rtn 
+ 00016080  0x0000177f fetch  0x00000002 , 0x000047f4 
+ 00016081  0x00001780 set0  0x00000009 , 0x0000003f 
+ 00016082  0x00001781 store  0x00000002 , 0x000047f4 
+ 00016083  0x00001782 jam  0x00000000 , 0x000046f8 
+ 00016084  0x00001783 branch  0x00003fa6 
+ 00016085  0x00001786 fetch  0x00000002 , 0x000047f4 
+ 00016086  0x00001787 set1  0x00000002 , 0x0000003f 
+ 00016087  0x00001788 store  0x00000002 , 0x000047f4 
+ 00016088  0x00001789 rtn 
+ 00016089  0x0000178c fetch  0x00000002 , 0x000042a2 
+ 00016090  0x0000178d set1  0x00000000 , 0x0000003f 
+ 00016091  0x0000178e store  0x00000002 , 0x000042a2 
+ 00016092  0x0000178f rtn 
+ 00016093  0x00001792 fetch  0x00000002 , 0x000042a2 
+ 00016094  0x00001793 set1  0x00000008 , 0x0000003f 
+ 00016095  0x00001794 store  0x00000002 , 0x000042a2 
+ 00016096  0x00001795 branch  0x00003f77 
+ 00016097  0x00001799 set1  0x00000025 , 0x00000000 
+ 00016098  0x0000179a bpatch  0x000000d0 , 0x0000403a 
+ 00016099  0x0000179b storet  0x00000001 , 0x00000259 
+ 00016100  0x0000179d fetch  0x00000001 , 0x00000259 
+ 00016101  0x0000179e rtn  0x00000034 
+ 00016102  0x0000179f increase  0xffffffff , 0x0000003f 
+ 00016103  0x000017a0 store  0x00000001 , 0x00000259 
+ 00016104  0x000017a1 call  0x00007bb1 
+ 00016105  0x000017a2 call  0x00003f60 
+ 00016106  0x000017a3 call  0x00003eed 
+ 00016107  0x000017a4 call  0x00003ef5 
+ 00016108  0x000017a5 branch  0x00003ee4 
+ 00016109  0x000017a8 fetch  0x00000001 , 0x0000429d 
+ 00016110  0x000017a9 rtn  0x00000034 
+ 00016111  0x000017aa increase  0xffffffff , 0x0000003f 
+ 00016112  0x000017ab store  0x00000001 , 0x0000429d 
+ 00016113  0x000017ac nrtn  0x00000034 
+ 00016114  0x000017ad call  0x000032ee 
+ 00016115  0x000017ae branch  0x00003f9e , 0x00000005 
+ 00016116  0x000017af rtn 
+ 00016117  0x000017b1 fetch  0x00000002 , 0x000047f0 
+ 00016118  0x000017b2 rtn  0x00000034 
+ 00016119  0x000017b3 increase  0xffffffff , 0x0000003f 
+ 00016120  0x000017b4 store  0x00000002 , 0x000047f0 
+ 00016121  0x000017b5 nrtn  0x00000034 
+ 00016122  0x000017b6 call  0x00003f7e 
+ 00016123  0x000017b7 call  0x00003f98 
+ 00016124  0x000017b8 fetch  0x00000002 , 0x00004294 
+ 00016125  0x000017b9 branch  0x00007f66 
+ 00016126  0x000017bc call  0x00003f15 
+ 00016127  0x000017be fetch  0x00000002 , 0x000047f4 
+ 00016128  0x000017bf set0  0x00000007 , 0x0000003f 
+ 00016129  0x000017c0 store  0x00000002 , 0x000047f4 
+ 00016130  0x000017c1 rtn 
+ 00016131  0x000017c4 jam  0x00000000 , 0x0000429d 
+ 00016132  0x000017c5 fetch  0x00000002 , 0x000047f4 
+ 00016133  0x000017c6 bbit1  0x00000007 , 0x00003f08 
+ 00016134  0x000017c7 isolate0  0x00000001 , 0x0000003f 
+ 00016135  0x000017c8 call  0x00003e7b , 0x00000001 
+ 00016136  0x000017ca fetch  0x00000002 , 0x000047f4 
+ 00016137  0x000017cb set0  0x00000000 , 0x0000003f 
+ 00016138  0x000017cc set0  0x00000001 , 0x0000003f 
+ 00016139  0x000017cd set0  0x00000002 , 0x0000003f 
+ 00016140  0x000017ce set0  0x00000003 , 0x0000003f 
+ 00016141  0x000017cf set0  0x00000004 , 0x0000003f 
+ 00016142  0x000017d0 store  0x00000002 , 0x000047f4 
+ 00016143  0x000017d1 branch  0x00003fa6 
+ 00016144  0x000017d4 call  0x00003f12 
+ 00016145  0x000017d5 branch  0x00003f9a 
+ 00016146  0x000017da setarg  0x00000000 
+ 00016147  0x000017db store  0x00000002 , 0x000042a0 
+ 00016148  0x000017dc rtn 
+ 00016149  0x000017de setarg  0x00000000 
+ 00016150  0x000017df store  0x00000002 , 0x000042a2 
+ 00016151  0x000017e0 rtn 
+ 00016152  0x000017e4 fetch  0x00000002 , 0x000042a2 
+ 00016153  0x000017e5 store  0x00000002 , 0x000042a0 
+ 00016154  0x000017e6 setarg  0x00000000 
+ 00016155  0x000017e7 store  0x00000002 , 0x000042a2 
+ 00016156  0x000017e8 rtn 
+ 00016157  0x000017eb fetch  0x00000002 , 0x000042a2 
+ 00016158  0x000017ec set1  0x00000007 , 0x0000003f 
+ 00016159  0x000017ed store  0x00000002 , 0x000042a0 
+ 00016160  0x000017ee setarg  0x00000000 
+ 00016161  0x000017ef store  0x00000002 , 0x000042a2 
+ 00016162  0x000017f0 rtn 
+ 00016163  0x000017f7 call  0x0000691d 
+ 00016164  0x000017f8 fetch  0x00000006 , 0x00004274 
+ 00016165  0x000017f9 rtn 
+ 00016166  0x000017fc fetch  0x00000001 , 0x0000448b 
+ 00016167  0x000017fd branch  0x00003f2a , 0x00000034 
+ 00016168  0x000017fe call  0x00003f96 
+ 00016169  0x000017ff branch  0x00003f82 
+ 00016170  0x00001801 call  0x00003f94 
+ 00016171  0x00001802 branch  0x00003f88 
+ 00016172  0x00001805 set1  0x00000025 , 0x00000000 
+ 00016173  0x00001806 bpatch  0x000000d1 , 0x0000403a 
+ 00016174  0x00001807 arg  0x00000244 , 0x00000012 
+ 00016175  0x00001808 arg  0x00003f31 , 0x00000013 
+ 00016176  0x00001809 branch  0x00003301 
+ 00016177  0x0000180c arg  0x00000000 , 0x00000002 
+ 00016178  0x0000180d bbit0  0x00000000 , 0x00003f35 
+ 00016179  0x0000180e add  0x00000011 , 0x00000010 , 0x00000006 
+ 00016180  0x0000180f ifetcht  0x00000006 , 0x00000006 
+ 00016181  0x00001811 copy  0x00000002 , 0x0000003f 
+ 00016182  0x00001812 ncall  0x00003f3a , 0x00000034 
+ 00016183  0x00001813 istoret  0x00000006 , 0x00000012 
+ 00016184  0x00001814 increase  0x00000006 , 0x00000012 
+ 00016185  0x00001815 branch  0x00003307 
+ 00016186  0x00001817 fetch  0x00000001 , 0x0000429a 
+ 00016187  0x00001818 increase  0x00000001 , 0x0000003f 
+ 00016188  0x00001819 store  0x00000001 , 0x0000429a 
+ 00016189  0x0000181a rtn 
+ 00016190  0x0000181d jam  0x00000000 , 0x0000429a 
+ 00016191  0x0000181e branch  0x00003f2c 
+ 00016192  0x00001821 fetch  0x00000001 , 0x000047f4 
+ 00016193  0x00001822 isolate1  0x00000005 , 0x0000003f 
+ 00016194  0x00001823 rtn 
+ 00016195  0x00001829 setarg  0x00000000 
+ 00016196  0x0000182a branch  0x00003f46 
+ 00016197  0x0000182c setarg  0x0000aa55 
+ 00016198  0x0000182e store  0x00000002 , 0x000002a8 
+ 00016199  0x0000182f set1  0x00000025 , 0x00000000 
+ 00016200  0x00001830 bpatch  0x000000d2 , 0x0000403a 
+ 00016201  0x00001831 arg  0x00000002 , 0x00000002 
+ 00016202  0x00001832 arg  0x000002a8 , 0x00000011 
+ 00016203  0x00001833 arg  0x000000c3 , 0x00000012 
+ 00016204  0x00001834 branch  0x0000683e 
+ 00016205  0x00001838 set1  0x00000025 , 0x00000000 
+ 00016206  0x00001839 bpatch  0x000000d3 , 0x0000403a 
+ 00016207  0x0000183a arg  0x00000002 , 0x00000002 
+ 00016208  0x0000183b arg  0x00000161 , 0x00000011 
+ 00016209  0x0000183c arg  0x000000c3 , 0x00000012 
+ 00016210  0x0000183d call  0x0000681d 
+ 00016211  0x0000183e fetch  0x00000002 , 0x00000161 
+ 00016212  0x0000183f arg  0x0000aa55 , 0x00000002 
+ 00016213  0x00001840 isub  0x00000002 , 0x0000003e 
+ 00016214  0x00001841 rtn 
+ 00016215  0x00001845 fetch  0x00000001 , 0x00004747 
+ 00016216  0x00001846 store  0x00000001 , 0x0000429d 
+ 00016217  0x00001847 rtn 
+ 00016218  0x0000184a arg  0x00000009 , 0x00000007 
+ 00016219  0x0000184b branch  0x00003dc2 
+ 00016220  0x0000184e arg  0x00000009 , 0x00000007 
+ 00016221  0x0000184f branch  0x00003dc6 
+ 00016222  0x00001852 jam  0x00000005 , 0x0000429e 
+ 00016223  0x00001853 branch  0x00003f5a 
+ 00016224  0x00001855 fetch  0x00000001 , 0x0000429e 
+ 00016225  0x00001856 rtn  0x00000034 
+ 00016226  0x00001857 increase  0xffffffff , 0x0000003f 
+ 00016227  0x00001858 store  0x00000001 , 0x0000429e 
+ 00016228  0x00001859 nrtn  0x00000034 
+ 00016229  0x0000185a branch  0x00003f5c 
+ 00016230  0x0000185d jam  0x00000001 , 0x000043cc 
+ 00016231  0x0000185e rtn 
+ 00016232  0x00001861 jam  0x00000000 , 0x000043cc 
+ 00016233  0x00001862 rtn 
+ 00016234  0x00001865 jam  0x0000000a , 0x00000b7d 
+ 00016235  0x00001866 branch  0x00007c33 
+ 00016236  0x00001869 jam  0x0000001d , 0x00000b7d 
+ 00016237  0x0000186a branch  0x00007c33 
+ 00016238  0x0000186d set1  0x00000025 , 0x00000000 
+ 00016239  0x0000186e bpatch  0x000000d4 , 0x0000403a 
+ 00016240  0x0000186f fetch  0x00000001 , 0x0000429f 
+ 00016241  0x00001870 store  0x00000001 , 0x00000177 
+ 00016242  0x00001871 jam  0x00000001 , 0x00000257 
+ 00016243  0x00001872 jam  0x00000003 , 0x00000b7d 
+ 00016244  0x00001873 branch  0x00007c33 
+ 00016245  0x00001876 jam  0x0000001e , 0x00000b7d 
+ 00016246  0x00001877 branch  0x00007c33 
+ 00016247  0x0000187a jam  0x00000004 , 0x00000b7d 
+ 00016248  0x0000187b branch  0x00007c33 
+ 00016249  0x0000187e fetch  0x00000002 , 0x000047fe 
+ 00016250  0x0000187f store  0x00000002 , 0x000047f0 
+ 00016251  0x00001881 call  0x00003f94 
+ 00016252  0x00001883 jam  0x00000001 , 0x00000b7d 
+ 00016253  0x00001884 branch  0x00007c33 
+ 00016254  0x00001887 setarg  0x00000000 
+ 00016255  0x00001888 store  0x00000002 , 0x000047f0 
+ 00016256  0x00001889 jam  0x00000002 , 0x00000b7d 
+ 00016257  0x0000188a branch  0x00007c33 
+ 00016258  0x0000188d jam  0x0000000f , 0x00000b7d 
+ 00016259  0x0000188e branch  0x00007c33 
+ 00016260  0x00001891 jam  0x00000010 , 0x00000b7d 
+ 00016261  0x00001892 branch  0x00007c33 
+ 00016262  0x00001895 jam  0x0000000e , 0x00000b7d 
+ 00016263  0x00001896 branch  0x00007c33 
+ 00016264  0x00001899 jam  0x0000000d , 0x00000b7d 
+ 00016265  0x0000189a branch  0x00007c33 
+ 00016266  0x0000189d jam  0x00000017 , 0x00000b7d 
+ 00016267  0x0000189e branch  0x00007c33 
+ 00016268  0x000018a1 jam  0x00000018 , 0x00000b7d 
+ 00016269  0x000018a2 branch  0x00007c33 
+ 00016270  0x000018a5 jam  0x00000016 , 0x00000b7d 
+ 00016271  0x000018a6 branch  0x00007c33 
+ 00016272  0x000018a9 jam  0x00000011 , 0x00000b7d 
+ 00016273  0x000018aa branch  0x00007c33 
+ 00016274  0x000018ad jam  0x0000001c , 0x00000b7d 
+ 00016275  0x000018ae branch  0x00007c33 
+ 00016276  0x000018b1 jam  0x00000015 , 0x00000b7d 
+ 00016277  0x000018b2 branch  0x00007c33 
+ 00016278  0x000018b5 jam  0x00000014 , 0x00000b7d 
+ 00016279  0x000018b6 branch  0x00007c33 
+ 00016280  0x000018ba jam  0x00000013 , 0x00000b7d 
+ 00016281  0x000018bb branch  0x00007c33 
+ 00016282  0x000018be jam  0x00000019 , 0x00000b7d 
+ 00016283  0x000018bf branch  0x00007c33 
+ 00016284  0x000018c2 jam  0x00000006 , 0x00000b7d 
+ 00016285  0x000018c3 branch  0x00007c33 
+ 00016286  0x000018c6 jam  0x00000005 , 0x00000b7d 
+ 00016287  0x000018c7 branch  0x00007c33 
+ 00016288  0x000018ca jam  0x0000001f , 0x00000b7d 
+ 00016289  0x000018cb branch  0x00007c33 
+ 00016290  0x000018ce jam  0x00000020 , 0x00000b7d 
+ 00016291  0x000018cf branch  0x00007c33 
+ 00016292  0x000018d2 set1  0x0000000d , 0x00000000 
+ 00016293  0x000018d3 rtn 
+ 00016294  0x000018d6 set0  0x0000000d , 0x00000000 
+ 00016295  0x000018d7 rtn 
+ 00016296  0x000018dc set1  0x00000025 , 0x00000000 
+ 00016297  0x000018dd bpatch  0x00000090 , 0x00004032 
+ 00016298  0x000018de arg  0x00000020 , 0x00000002 
+ 00016299  0x000018df arg  0x00004419 , 0x00000011 
+ 00016300  0x000018e0 arg  0x000000a0 , 0x00000012 
+ 00016301  0x000018e1 call  0x0000681d 
+ 00016302  0x000018e4 arg  0x00000020 , 0x00000002 
+ 00016303  0x000018e5 arg  0x00004702 , 0x00000011 
+ 00016304  0x000018e6 arg  0x0000007f , 0x00000012 
+ 00016305  0x000018e7 call  0x0000681d 
+ 00016306  0x000018e9 arg  0x00000006 , 0x00000002 
+ 00016307  0x000018ea arg  0x00004140 , 0x00000011 
+ 00016308  0x000018eb arg  0x00000063 , 0x00000012 
+ 00016309  0x000018ec call  0x0000681d 
+ 00016310  0x000018ee arg  0x00000006 , 0x00000002 
+ 00016311  0x000018ef arg  0x000044f9 , 0x00000011 
+ 00016312  0x000018f0 arg  0x00000069 , 0x00000012 
+ 00016313  0x000018f1 call  0x0000681d 
+ 00016314  0x000018f2 call  0x00005adb 
+ 00016315  0x000018f4 arg  0x00000002 , 0x00000002 
+ 00016316  0x000018f5 arg  0x000042ac , 0x00000011 
+ 00016317  0x000018f6 arg  0x000000c0 , 0x00000012 
+ 00016318  0x000018f7 call  0x0000681d 
+ 00016319  0x000018f8 call  0x00006909 
+ 00016320  0x000018fa branch  0x00003fc1 
+ 00016321  0x000018fd arg  0x0000000e , 0x00000002 
+ 00016322  0x000018fe arg  0x0000054f , 0x00000011 
+ 00016323  0x000018ff arg  0x0000006f , 0x00000012 
+ 00016324  0x00001900 branch  0x0000681d 
+ 00016325  0x00001903 set1  0x00000025 , 0x00000000 
+ 00016326  0x00001904 bpatch  0x00000091 , 0x00004032 
+ 00016327  0x00001905 call  0x00003f4d 
+ 00016328  0x00001906 branch  0x00003fa8 , 0x00000005 
+ 00016329  0x00001908 call  0x00003fd2 
+ 00016330  0x00001909 call  0x00003fd7 
+ 00016331  0x0000190a call  0x00005adb 
+ 00016332  0x0000190b call  0x00003fdc 
+ 00016333  0x0000190c call  0x00003fe0 
+ 00016334  0x0000190d call  0x000062e9 
+ 00016335  0x0000190e call  0x00003fe4 
+ 00016336  0x0000190f call  0x00003fe9 
+ 00016337  0x00001910 branch  0x00003f45 
+ 00016338  0x00001913 fetcht  0x00000001 , 0x00004702 
+ 00016339  0x00001914 increase  0x00000001 , 0x00000002 
+ 00016340  0x00001915 arg  0x00004702 , 0x00000011 
+ 00016341  0x00001916 arg  0x0000007f , 0x00000012 
+ 00016342  0x00001917 branch  0x0000683e 
+ 00016343  0x0000191a fetcht  0x00000001 , 0x00004419 
+ 00016344  0x0000191b increase  0x00000001 , 0x00000002 
+ 00016345  0x0000191c arg  0x00004419 , 0x00000011 
+ 00016346  0x0000191d arg  0x000000a0 , 0x00000012 
+ 00016347  0x0000191e branch  0x0000683e 
+ 00016348  0x00001921 arg  0x00000006 , 0x00000002 
+ 00016349  0x00001922 arg  0x000044f9 , 0x00000011 
+ 00016350  0x00001923 arg  0x00000069 , 0x00000012 
+ 00016351  0x00001924 branch  0x0000683e 
+ 00016352  0x00001927 arg  0x00000006 , 0x00000002 
+ 00016353  0x00001928 arg  0x00004140 , 0x00000011 
+ 00016354  0x00001929 arg  0x00000063 , 0x00000012 
+ 00016355  0x0000192a branch  0x0000683e 
+ 00016356  0x0000192d fetcht  0x00000001 , 0x0000054f 
+ 00016357  0x0000192e increase  0x00000001 , 0x00000002 
+ 00016358  0x0000192f arg  0x0000054f , 0x00000011 
+ 00016359  0x00001930 arg  0x0000006f , 0x00000012 
+ 00016360  0x00001931 branch  0x0000683e 
+ 00016361  0x00001934 setarg  0x000001a0 
+ 00016362  0x00001935 store  0x00000002 , 0x000002a8 
+ 00016363  0x00001937 arg  0x00000002 , 0x00000002 
+ 00016364  0x00001938 arg  0x000002a8 , 0x00000011 
+ 00016365  0x00001939 arg  0x000000c0 , 0x00000012 
+ 00016366  0x0000193a branch  0x0000683e 
+ 00016367  0x0000193e set1  0x00000025 , 0x00000000 
+ 00016368  0x0000193f bpatch  0x00000092 , 0x00004032 
+ 00016369  0x00001940 fetch  0x00000002 , 0x0000480e 
+ 00016370  0x00001941 arg  0x0000012c , 0x00000002 
+ 00016371  0x00001942 isub  0x00000002 , 0x0000003e 
+ 00016372  0x00001943 branch  0x0000427f , 0x00000002 
+ 00016373  0x00001944 call  0x00003e2b 
+ 00016374  0x00001945 call  0x00007f6b 
+ 00016375  0x00001946 copy  0x00000003 , 0x00000011 
+ 00016376  0x00001947 fetch  0x00000002 , 0x0000480e 
+ 00016377  0x00001948 increase  0xfffffffe , 0x0000003f 
+ 00016378  0x00001949 iadd  0x00000003 , 0x00000003 
+ 00016379  0x0000194a ifetch  0x00000002 , 0x00000003 
+ 00016380  0x0000194b arg  0x00000a0d , 0x00000002 
+ 00016381  0x0000194c isub  0x00000002 , 0x0000003e 
+ 00016382  0x0000194d nrtn  0x00000005 
+ 00016383  0x0000194e copy  0x00000011 , 0x00000003 
+ 00016384  0x0000194f arg  0x00004850 , 0x00000012 
+ 00016385  0x00001950 arg  0x00000003 , 0x00000039 
+ 00016386  0x00001951 call  0x00004237 
+ 00016387  0x00001952 nbranch  0x0000427f , 0x00000001 
+ 00016388  0x00001953 branch  0x00004005 
+ 00016389  0x00001956 set1  0x00000025 , 0x00000000 
+ 00016390  0x00001957 bpatch  0x00000093 , 0x00004032 
+ 00016391  0x00001959 copy  0x00000003 , 0x00000011 
+ 00016392  0x0000195a arg  0x00004827 , 0x00000012 
+ 00016393  0x0000195b force  0x00000004 , 0x00000039 
+ 00016394  0x0000195c call  0x00004237 
+ 00016395  0x0000195d branch  0x0000406d , 0x00000001 
+ 00016396  0x0000195f arg  0x00004824 , 0x00000012 
+ 00016397  0x00001960 force  0x00000007 , 0x00000039 
+ 00016398  0x00001961 call  0x00004237 
+ 00016399  0x00001962 branch  0x00004074 , 0x00000001 
+ 00016400  0x00001964 arg  0x0000482e , 0x00000012 
+ 00016401  0x00001965 force  0x00000004 , 0x00000039 
+ 00016402  0x00001966 call  0x00004237 
+ 00016403  0x00001967 branch  0x0000407b , 0x00000001 
+ 00016404  0x00001969 arg  0x0000482b , 0x00000012 
+ 00016405  0x0000196a force  0x00000007 , 0x00000039 
+ 00016406  0x0000196b call  0x00004237 
+ 00016407  0x0000196c branch  0x00004081 , 0x00000001 
+ 00016408  0x0000196e arg  0x00004832 , 0x00000012 
+ 00016409  0x0000196f force  0x00000004 , 0x00000039 
+ 00016410  0x00001970 call  0x00004237 
+ 00016411  0x00001971 branch  0x00004087 , 0x00000001 
+ 00016412  0x00001973 arg  0x00004820 , 0x00000012 
+ 00016413  0x00001974 force  0x00000004 , 0x00000039 
+ 00016414  0x00001975 call  0x00004237 
+ 00016415  0x00001976 branch  0x0000408c , 0x00000001 
+ 00016416  0x00001978 arg  0x0000481c , 0x00000012 
+ 00016417  0x00001979 force  0x00000004 , 0x00000039 
+ 00016418  0x0000197a call  0x00004237 
+ 00016419  0x0000197b branch  0x0000408f , 0x00000001 
+ 00016420  0x0000197d arg  0x00004836 , 0x00000012 
+ 00016421  0x0000197e force  0x00000005 , 0x00000039 
+ 00016422  0x0000197f call  0x00004237 
+ 00016423  0x00001980 branch  0x00004095 , 0x00000001 
+ 00016424  0x00001982 arg  0x00004853 , 0x00000012 
+ 00016425  0x00001983 force  0x00000004 , 0x00000039 
+ 00016426  0x00001984 call  0x00004237 
+ 00016427  0x00001985 branch  0x0000409b , 0x00000001 
+ 00016428  0x00001987 arg  0x00004857 , 0x00000012 
+ 00016429  0x00001988 force  0x00000004 , 0x00000039 
+ 00016430  0x00001989 call  0x00004237 
+ 00016431  0x0000198a branch  0x000040a1 , 0x00000001 
+ 00016432  0x0000198c arg  0x0000485b , 0x00000012 
+ 00016433  0x0000198d force  0x00000005 , 0x00000039 
+ 00016434  0x0000198e call  0x00004237 
+ 00016435  0x0000198f branch  0x000040a5 , 0x00000001 
+ 00016436  0x00001991 arg  0x00004860 , 0x00000012 
+ 00016437  0x00001992 force  0x00000004 , 0x00000039 
+ 00016438  0x00001993 call  0x00004237 
+ 00016439  0x00001994 branch  0x000040ab , 0x00000001 
+ 00016440  0x00001996 arg  0x00004864 , 0x00000012 
+ 00016441  0x00001997 force  0x00000004 , 0x00000039 
+ 00016442  0x00001998 call  0x00004237 
+ 00016443  0x00001999 branch  0x000040b0 , 0x00000001 
+ 00016444  0x0000199b arg  0x00004868 , 0x00000012 
+ 00016445  0x0000199c force  0x00000004 , 0x00000039 
+ 00016446  0x0000199d call  0x00004237 
+ 00016447  0x0000199e branch  0x000040b7 , 0x00000001 
+ 00016448  0x000019a0 arg  0x0000486f , 0x00000012 
+ 00016449  0x000019a1 force  0x00000004 , 0x00000039 
+ 00016450  0x000019a2 call  0x00004237 
+ 00016451  0x000019a3 branch  0x000040d6 , 0x00000001 
+ 00016452  0x000019a5 arg  0x0000486c , 0x00000012 
+ 00016453  0x000019a6 force  0x00000007 , 0x00000039 
+ 00016454  0x000019a7 call  0x00004237 
+ 00016455  0x000019a8 branch  0x000040dd , 0x00000001 
+ 00016456  0x000019aa arg  0x00004873 , 0x00000012 
+ 00016457  0x000019ab force  0x00000005 , 0x00000039 
+ 00016458  0x000019ac call  0x00004237 
+ 00016459  0x000019ad branch  0x000040f2 , 0x00000001 
+ 00016460  0x000019af arg  0x00004878 , 0x00000012 
+ 00016461  0x000019b0 force  0x00000004 , 0x00000039 
+ 00016462  0x000019b1 call  0x00004237 
+ 00016463  0x000019b2 branch  0x000040f8 , 0x00000001 
+ 00016464  0x000019b4 arg  0x0000487c , 0x00000012 
+ 00016465  0x000019b5 force  0x00000007 , 0x00000039 
+ 00016466  0x000019b6 call  0x00004237 
+ 00016467  0x000019b7 branch  0x000040fb , 0x00000001 
+ 00016468  0x000019b9 arg  0x00004841 , 0x00000012 
+ 00016469  0x000019ba force  0x00000006 , 0x00000039 
+ 00016470  0x000019bb call  0x00004237 
+ 00016471  0x000019bc branch  0x00004100 , 0x00000001 
+ 00016472  0x000019be arg  0x00004883 , 0x00000012 
+ 00016473  0x000019bf force  0x00000006 , 0x00000039 
+ 00016474  0x000019c0 call  0x00004237 
+ 00016475  0x000019c1 branch  0x0000412c , 0x00000001 
+ 00016476  0x000019c3 arg  0x00004849 , 0x00000012 
+ 00016477  0x000019c4 force  0x00000003 , 0x00000039 
+ 00016478  0x000019c5 call  0x00004237 
+ 00016479  0x000019c6 branch  0x0000410e , 0x00000001 
+ 00016480  0x000019c8 arg  0x0000484c , 0x00000012 
+ 00016481  0x000019c9 force  0x00000004 , 0x00000039 
+ 00016482  0x000019ca call  0x00004237 
+ 00016483  0x000019cb branch  0x00004117 , 0x00000001 
+ 00016484  0x000019cd arg  0x0000483b , 0x00000012 
+ 00016485  0x000019ce force  0x00000006 , 0x00000039 
+ 00016486  0x000019cf call  0x00004237 
+ 00016487  0x000019d0 branch  0x00004127 , 0x00000001 
+ 00016488  0x000019d2 arg  0x00004889 , 0x00000012 
+ 00016489  0x000019d3 force  0x00000003 , 0x00000039 
+ 00016490  0x000019d4 call  0x00004237 
+ 00016491  0x000019d5 branch  0x00004129 , 0x00000001 
+ 00016492  0x000019d6 branch  0x0000427f 
+ 00016493  0x000019da ifetch  0x00000001 , 0x00000003 
+ 00016494  0x000019db beq  0x0000003f , 0x00004071 
+ 00016495  0x000019dc beq  0x0000003d , 0x00004131 
+ 00016496  0x000019dd branch  0x0000427f 
+ 00016497  0x000019df call  0x00007f6e 
+ 00016498  0x000019e0 call  0x00004194 
+ 00016499  0x000019e1 branch  0x00004286 
+ 00016500  0x000019e5 ifetch  0x00000001 , 0x00000003 
+ 00016501  0x000019e6 beq  0x0000003f , 0x00004078 
+ 00016502  0x000019e7 beq  0x0000003d , 0x00004136 
+ 00016503  0x000019e8 branch  0x0000427f 
+ 00016504  0x000019ea call  0x00007f6e 
+ 00016505  0x000019eb call  0x0000419b 
+ 00016506  0x000019ec branch  0x00004286 
+ 00016507  0x000019ef ifetch  0x00000001 , 0x00000003 
+ 00016508  0x000019f0 beq  0x0000003f , 0x0000407f 
+ 00016509  0x000019f1 beq  0x0000003d , 0x0000413c 
+ 00016510  0x000019f2 branch  0x0000427f 
+ 00016511  0x000019f4 call  0x000041a2 
+ 00016512  0x000019f5 branch  0x00004286 
+ 00016513  0x000019f8 ifetch  0x00000001 , 0x00000003 
+ 00016514  0x000019f9 beq  0x0000003f , 0x00004085 
+ 00016515  0x000019fa beq  0x0000003d , 0x00004140 
+ 00016516  0x000019fb branch  0x0000427f 
+ 00016517  0x000019fe call  0x000041a8 
+ 00016518  0x000019ff branch  0x00004286 
+ 00016519  0x00001a02 ifetch  0x00000001 , 0x00000003 
+ 00016520  0x00001a03 beq  0x0000003f , 0x0000408a 
+ 00016521  0x00001a04 branch  0x0000427f 
+ 00016522  0x00001a06 call  0x000041ae 
+ 00016523  0x00001a07 branch  0x00004286 
+ 00016524  0x00001a0b ifetch  0x00000001 , 0x00000003 
+ 00016525  0x00001a0c beq  0x0000003d , 0x00004149 
+ 00016526  0x00001a0d branch  0x0000427f 
+ 00016527  0x00001a11 ifetch  0x00000001 , 0x00000003 
+ 00016528  0x00001a12 beq  0x0000003f , 0x00004093 
+ 00016529  0x00001a13 beq  0x0000003d , 0x00004144 
+ 00016530  0x00001a14 branch  0x0000427f 
+ 00016531  0x00001a16 call  0x00004204 
+ 00016532  0x00001a17 branch  0x00004286 
+ 00016533  0x00001a1a ifetch  0x00000001 , 0x00000003 
+ 00016534  0x00001a1b beq  0x0000003f , 0x00004099 
+ 00016535  0x00001a1c beq  0x0000003d , 0x00004157 
+ 00016536  0x00001a1d branch  0x0000427f 
+ 00016537  0x00001a1f call  0x000041b4 
+ 00016538  0x00001a20 branch  0x00004286 
+ 00016539  0x00001a23 ifetch  0x00000001 , 0x00000003 
+ 00016540  0x00001a24 beq  0x0000003f , 0x0000409f 
+ 00016541  0x00001a25 beq  0x0000003d , 0x00004172 
+ 00016542  0x00001a26 branch  0x0000427f 
+ 00016543  0x00001a28 call  0x000041ba 
+ 00016544  0x00001a29 branch  0x00004286 
+ 00016545  0x00001a2c ifetch  0x00000001 , 0x00000003 
+ 00016546  0x00001a2d beq  0x0000003f , 0x000040e1 
+ 00016547  0x00001a2e beq  0x0000003d , 0x0000415a 
+ 00016548  0x00001a2f branch  0x0000427f 
+ 00016549  0x00001a33 ifetch  0x00000001 , 0x00000003 
+ 00016550  0x00001a34 beq  0x0000003f , 0x000040a9 
+ 00016551  0x00001a35 beq  0x0000003d , 0x0000416b 
+ 00016552  0x00001a36 branch  0x0000427f 
+ 00016553  0x00001a38 call  0x0000420b 
+ 00016554  0x00001a39 branch  0x00004286 
+ 00016555  0x00001a3c ifetch  0x00000001 , 0x00000003 
+ 00016556  0x00001a3d beq  0x0000003f , 0x000040ae 
+ 00016557  0x00001a3e branch  0x0000427f 
+ 00016558  0x00001a40 call  0x000041c0 
+ 00016559  0x00001a41 branch  0x00004286 
+ 00016560  0x00001a44 ifetch  0x00000001 , 0x00000003 
+ 00016561  0x00001a45 beq  0x0000003f , 0x000040b3 
+ 00016562  0x00001a46 branch  0x00004286 
+ 00016563  0x00001a48 call  0x000032ee 
+ 00016564  0x00001a49 nbranch  0x0000427f , 0x00000005 
+ 00016565  0x00001a4a call  0x000041cd 
+ 00016566  0x00001a4b branch  0x00004286 
+ 00016567  0x00001a4e ifetch  0x00000001 , 0x00000003 
+ 00016568  0x00001a4f beq  0x0000003f , 0x000040ba 
+ 00016569  0x00001a50 branch  0x0000427f 
+ 00016570  0x00001a52 fetch  0x00000001 , 0x00004040 
+ 00016571  0x00001a53 bbit0  0x00000000 , 0x0000427f 
+ 00016572  0x00001a54 call  0x00007f6e 
+ 00016573  0x00001a55 fetch  0x00000001 , 0x00004041 
+ 00016574  0x00001a56 bbit1  0x00000000 , 0x000040c0 
+ 00016575  0x00001a57 branch  0x000040cb 
+ 00016576  0x00001a59 arg  0x00004868 , 0x00000011 
+ 00016577  0x00001a5a arg  0x00000004 , 0x00000039 
+ 00016578  0x00001a5b call  0x00004232 
+ 00016579  0x00001a5c call  0x00004247 
+ 00016580  0x00001a5d setarg  0x00000034 
+ 00016581  0x00001a5e istore  0x00000001 , 0x0000000a 
+ 00016582  0x00001a5f call  0x0000424e 
+ 00016583  0x00001a60 arg  0x000003d0 , 0x00000011 
+ 00016584  0x00001a61 call  0x00007e9d 
+ 00016585  0x00001a62 call  0x000068fa 
+ 00016586  0x00001a63 branch  0x00004286 
+ 00016587  0x00001a65 arg  0x00004868 , 0x00000011 
+ 00016588  0x00001a66 arg  0x00000004 , 0x00000039 
+ 00016589  0x00001a67 call  0x00004232 
+ 00016590  0x00001a68 call  0x00004247 
+ 00016591  0x00001a69 setarg  0x00000033 
+ 00016592  0x00001a6a istore  0x00000001 , 0x0000000a 
+ 00016593  0x00001a6b call  0x0000424e 
+ 00016594  0x00001a6c arg  0x00000040 , 0x00000011 
+ 00016595  0x00001a6d call  0x00007e9d 
+ 00016596  0x00001a6e call  0x000068fa 
+ 00016597  0x00001a6f branch  0x00004286 
+ 00016598  0x00001a73 set1  0x00000025 , 0x00000000 
+ 00016599  0x00001a74 bpatch  0x00000094 , 0x00004032 
+ 00016600  0x00001a75 call  0x00003f3e 
+ 00016601  0x00001a76 fetch  0x00000001 , 0x0000429a 
+ 00016602  0x00001a77 bne  0x00000000 , 0x0000427f 
+ 00016603  0x00001a78 call  0x000041f0 
+ 00016604  0x00001a79 branch  0x00004286 
+ 00016605  0x00001a7c set1  0x00000025 , 0x00000000 
+ 00016606  0x00001a7d bpatch  0x00000095 , 0x00004032 
+ 00016607  0x00001a7e call  0x000041f6 
+ 00016608  0x00001a7f branch  0x00004286 
+ 00016609  0x00001a82 arg  0x00004857 , 0x00000011 
+ 00016610  0x00001a83 arg  0x00000004 , 0x00000039 
+ 00016611  0x00001a84 call  0x00004232 
+ 00016612  0x00001a85 call  0x000032ee 
+ 00016613  0x00001a86 nbranch  0x0000424a , 0x00000005 
+ 00016614  0x00001a87 fetch  0x00000001 , 0x00004041 
+ 00016615  0x00001a88 bbit1  0x00000001 , 0x000040eb 
+ 00016616  0x00001a89 call  0x000040ef 
+ 00016617  0x00001a8a call  0x000068fa 
+ 00016618  0x00001a8b branch  0x00004286 
+ 00016619  0x00001a8d setarg  0x0000004d 
+ 00016620  0x00001a8e istore  0x00000001 , 0x0000000a 
+ 00016621  0x00001a8f call  0x000068fa 
+ 00016622  0x00001a90 branch  0x00004286 
+ 00016623  0x00001a92 setarg  0x00000053 
+ 00016624  0x00001a93 istore  0x00000001 , 0x0000000a 
+ 00016625  0x00001a94 rtn 
+ 00016626  0x00001a97 ifetch  0x00000001 , 0x00000003 
+ 00016627  0x00001a98 beq  0x0000003f , 0x000040f6 
+ 00016628  0x00001a99 beq  0x0000003d , 0x0000417e 
+ 00016629  0x00001a9a branch  0x0000427f 
+ 00016630  0x00001a9c call  0x000041d8 
+ 00016631  0x00001a9d branch  0x00004286 
+ 00016632  0x00001aa0 ifetch  0x00000001 , 0x00000003 
+ 00016633  0x00001aa1 beq  0x0000003d , 0x00004151 
+ 00016634  0x00001aa2 branch  0x0000427f 
+ 00016635  0x00001aa5 ifetch  0x00000001 , 0x00000003 
+ 00016636  0x00001aa6 beq  0x0000003f , 0x000040fe 
+ 00016637  0x00001aa7 branch  0x0000427f 
+ 00016638  0x00001aa9 call  0x000041de 
+ 00016639  0x00001aaa branch  0x00004286 
+ 00016640  0x00001aad fetch  0x00000001 , 0x0000429f 
+ 00016641  0x00001aae store  0x00000001 , 0x00000177 
+ 00016642  0x00001aaf call  0x0000691d 
+ 00016643  0x00001ab0 call  0x00003f3e 
+ 00016644  0x00001ab1 fetch  0x00000001 , 0x0000429a 
+ 00016645  0x00001ab2 bne  0x00000000 , 0x0000427f 
+ 00016646  0x00001ab3 fetch  0x00000001 , 0x000042a9 
+ 00016647  0x00001ab4 beq  0x00000033 , 0x0000410c 
+ 00016648  0x00001ab5 beq  0x00000034 , 0x0000410a 
+ 00016649  0x00001ab6 branch  0x0000427f 
+ 00016650  0x00001ab9 call  0x00003f82 
+ 00016651  0x00001aba branch  0x00004286 
+ 00016652  0x00001abc call  0x00003f6e 
+ 00016653  0x00001abd branch  0x00004286 
+ 00016654  0x00001ac0 call  0x00003f3e 
+ 00016655  0x00001ac1 fetch  0x00000001 , 0x0000429a 
+ 00016656  0x00001ac2 bne  0x00000001 , 0x0000427f 
+ 00016657  0x00001ac3 fetch  0x00000001 , 0x00004041 
+ 00016658  0x00001ac4 bbit1  0x00000000 , 0x00004115 
+ 00016659  0x00001ac5 call  0x00003f77 
+ 00016660  0x00001ac6 branch  0x00004286 
+ 00016661  0x00001aca call  0x00003f90 
+ 00016662  0x00001acb branch  0x00004286 
+ 00016663  0x00001acf ifetch  0x00000001 , 0x00000003 
+ 00016664  0x00001ad0 beq  0x0000003d , 0x0000411a 
+ 00016665  0x00001ad1 branch  0x0000427f 
+ 00016666  0x00001ad3 ifetch  0x00000001 , 0x00000003 
+ 00016667  0x00001ad4 beq  0x00000031 , 0x00004122 
+ 00016668  0x00001ad5 beq  0x00000030 , 0x0000411e 
+ 00016669  0x00001ad6 branch  0x0000427f 
+ 00016670  0x00001ad8 call  0x00003f40 
+ 00016671  0x00001ad9 branch  0x00004286 , 0x00000001 
+ 00016672  0x00001ada call  0x00003f9e 
+ 00016673  0x00001adb branch  0x00004286 
+ 00016674  0x00001add call  0x00003f40 
+ 00016675  0x00001ade nbranch  0x00004286 , 0x00000001 
+ 00016676  0x00001adf call  0x000063ab 
+ 00016677  0x00001ae0 call  0x00006414 
+ 00016678  0x00001ae1 branch  0x00004286 
+ 00016679  0x00001ae5 call  0x00003f43 
+ 00016680  0x00001ae6 branch  0x00004286 
+ 00016681  0x00001ae9 ifetch  0x00000001 , 0x00000003 
+ 00016682  0x00001aea beq  0x0000003d , 0x00004187 
+ 00016683  0x00001aeb branch  0x0000427f 
+ 00016684  0x00001aee call  0x00003f3e 
+ 00016685  0x00001aef fetch  0x00000001 , 0x0000429a 
+ 00016686  0x00001af0 bne  0x00000000 , 0x0000427f 
+ 00016687  0x00001af1 call  0x0000638a 
+ 00016688  0x00001af2 branch  0x00004286 
+ 00016689  0x00001af9 arg  0x00004703 , 0x00000011 
+ 00016690  0x00001afa call  0x0000422b 
+ 00016691  0x00001afb storet  0x00000001 , 0x00004702 
+ 00016692  0x00001afc call  0x00003fd2 
+ 00016693  0x00001afd branch  0x00004286 
+ 00016694  0x00001b00 arg  0x0000441a , 0x00000011 
+ 00016695  0x00001b01 call  0x0000422b 
+ 00016696  0x00001b02 storet  0x00000001 , 0x00004419 
+ 00016697  0x00001b03 call  0x00003fd7 
+ 00016698  0x00001b04 call  0x00005adb 
+ 00016699  0x00001b05 branch  0x00004286 
+ 00016700  0x00001b08 arg  0x00004140 , 0x00000005 
+ 00016701  0x00001b09 call  0x00007ebf 
+ 00016702  0x00001b0a call  0x00003fe0 
+ 00016703  0x00001b0b branch  0x00004286 
+ 00016704  0x00001b0e arg  0x000044f9 , 0x00000005 
+ 00016705  0x00001b0f call  0x00007ebf 
+ 00016706  0x00001b10 call  0x00003fdc 
+ 00016707  0x00001b11 branch  0x00004286 
+ 00016708  0x00001b14 arg  0x00000550 , 0x00000011 
+ 00016709  0x00001b15 call  0x0000422b 
+ 00016710  0x00001b16 storet  0x00000001 , 0x0000054f 
+ 00016711  0x00001b17 call  0x00003fe4 
+ 00016712  0x00001b18 branch  0x00004286 
+ 00016713  0x00001b1b call  0x00007eb0 
+ 00016714  0x00001b1c setarg  0x02dc6c00 
+ 00016715  0x00001b1d idiv  0x00000002 
+ 00016716  0x00001b1e call  0x00007efd 
+ 00016717  0x00001b1f quotient  0x0000003f 
+ 00016718  0x00001b20 store  0x00000002 , 0x000002a8 
+ 00016719  0x00001b21 call  0x00003feb 
+ 00016720  0x00001b22 branch  0x00004286 
+ 00016721  0x00001b25 ifetch  0x00000001 , 0x00000003 
+ 00016722  0x00001b26 sub  0x0000003f , 0x00000033 , 0x0000003e 
+ 00016723  0x00001b27 nbranch  0x0000427f , 0x00000002 
+ 00016724  0x00001b28 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00016725  0x00001b29 store  0x00000001 , 0x00004812 
+ 00016726  0x00001b2a branch  0x00004286 
+ 00016727  0x00001b2d ifetch  0x00000003 , 0x00000003 
+ 00016728  0x00001b2e store  0x00000003 , 0x0000414a 
+ 00016729  0x00001b2f branch  0x00004286 
+ 00016730  0x00001b32 call  0x000032ee 
+ 00016731  0x00001b33 nbranch  0x0000427f , 0x00000005 
+ 00016732  0x00001b34 ifetch  0x00000001 , 0x00000003 
+ 00016733  0x00001b35 beq  0x00000053 , 0x00004160 
+ 00016734  0x00001b36 beq  0x0000004d , 0x00004163 
+ 00016735  0x00001b37 branch  0x0000427f 
+ 00016736  0x00001b3a fetch  0x00000001 , 0x00004041 
+ 00016737  0x00001b3b bbit1  0x00000001 , 0x00004166 
+ 00016738  0x00001b3c branch  0x0000427f 
+ 00016739  0x00001b3f fetch  0x00000001 , 0x00004041 
+ 00016740  0x00001b40 bbit0  0x00000001 , 0x00004166 
+ 00016741  0x00001b41 branch  0x0000427f 
+ 00016742  0x00001b44 fetch  0x00000001 , 0x00004813 
+ 00016743  0x00001b45 set1  0x00000004 , 0x0000003f 
+ 00016744  0x00001b46 store  0x00000001 , 0x00004813 
+ 00016745  0x00001b47 jam  0x00000018 , 0x00004272 
+ 00016746  0x00001b48 branch  0x0000428c 
+ 00016747  0x00001b4b arg  0x00004280 , 0x00000005 
+ 00016748  0x00001b4c call  0x00007ebd 
+ 00016749  0x00001b4d arg  0x00004282 , 0x00000005 
+ 00016750  0x00001b4e call  0x00007ebd 
+ 00016751  0x00001b4f arg  0x00004284 , 0x00000005 
+ 00016752  0x00001b50 call  0x00007ebd 
+ 00016753  0x00001b51 branch  0x00004286 
+ 00016754  0x00001b54 ifetch  0x00000001 , 0x00000003 
+ 00016755  0x00001b55 beq  0x00000031 , 0x00004176 
+ 00016756  0x00001b56 beq  0x00000032 , 0x0000417c 
+ 00016757  0x00001b57 branch  0x0000427f 
+ 00016758  0x00001b59 ifetch  0x00000001 , 0x00000003 
+ 00016759  0x00001b5a arg  0x000001b4 , 0x00000005 
+ 00016760  0x00001b5b call  0x00007ebf 
+ 00016761  0x00001b5c call  0x00006931 
+ 00016762  0x00001b5d nrtn  0x00000028 
+ 00016763  0x00001b5e branch  0x00004286 
+ 00016764  0x00001b60 call  0x0000693d 
+ 00016765  0x00001b61 branch  0x00004286 
+ 00016766  0x00001b64 ifetch  0x00000001 , 0x00000003 
+ 00016767  0x00001b65 fetcht  0x00000001 , 0x00004812 
+ 00016768  0x00001b66 nsetflag  0x00000034 , 0x00000002 , 0x00000002 
+ 00016769  0x00001b67 storet  0x00000001 , 0x00004812 
+ 00016770  0x00001b68 branch  0x00004286 , 0x00000034 
+ 00016771  0x00001b69 ifetch  0x00000001 , 0x00000003 
+ 00016772  0x00001b6a arg  0x00004814 , 0x00000005 
+ 00016773  0x00001b6b call  0x00007ebf 
+ 00016774  0x00001b6c branch  0x00004286 
+ 00016775  0x00001b6f set1  0x00000025 , 0x00000000 
+ 00016776  0x00001b70 bpatch  0x00000096 , 0x00004032 
+ 00016777  0x00001b71 arg  0x00000014 , 0x00000039 
+ 00016778  0x00001b72 arg  0x00001000 , 0x00000005 
+ 00016779  0x00001b73 call  0x0000497c 
+ 00016780  0x00001b74 arg  0x00001000 , 0x00000011 
+ 00016781  0x00001b75 fetch  0x00000001 , 0x00001000 
+ 00016782  0x00001b76 compare  0x00000012 , 0x0000003f , 0x000000ff 
+ 00016783  0x00001b77 call  0x00006b19 , 0x00000001 
+ 00016784  0x00001b78 fetch  0x00000001 , 0x00001000 
+ 00016785  0x00001b79 compare  0x00000013 , 0x0000003f , 0x000000ff 
+ 00016786  0x00001b7a call  0x00006b45 , 0x00000001 
+ 00016787  0x00001b7b branch  0x00004286 
+ 00016788  0x00001b81 arg  0x00004827 , 0x00000011 
+ 00016789  0x00001b82 arg  0x00000004 , 0x00000039 
+ 00016790  0x00001b83 call  0x00004232 
+ 00016791  0x00001b84 fetch  0x00000001 , 0x00004702 
+ 00016792  0x00001b85 copy  0x0000003f , 0x00000039 
+ 00016793  0x00001b86 arg  0x00004703 , 0x00000006 
+ 00016794  0x00001b87 branch  0x00007f74 
+ 00016795  0x00001b89 arg  0x00004824 , 0x00000011 
+ 00016796  0x00001b8a force  0x00000007 , 0x00000039 
+ 00016797  0x00001b8b call  0x00004232 
+ 00016798  0x00001b8c call  0x00005b08 
+ 00016799  0x00001b8d ifetch  0x00000001 , 0x00000006 
+ 00016800  0x00001b8e copy  0x0000003f , 0x00000039 
+ 00016801  0x00001b8f branch  0x00007f74 
+ 00016802  0x00001b93 arg  0x0000482e , 0x00000011 
+ 00016803  0x00001b94 arg  0x00000004 , 0x00000039 
+ 00016804  0x00001b95 call  0x00004232 
+ 00016805  0x00001b96 arg  0x00004140 , 0x00000011 
+ 00016806  0x00001b97 call  0x00007e9d 
+ 00016807  0x00001b98 branch  0x000068fa 
+ 00016808  0x00001b9a arg  0x0000482b , 0x00000011 
+ 00016809  0x00001b9b arg  0x00000007 , 0x00000039 
+ 00016810  0x00001b9c call  0x00004232 
+ 00016811  0x00001b9d arg  0x000044f9 , 0x00000011 
+ 00016812  0x00001b9e call  0x00007e9d 
+ 00016813  0x00001b9f branch  0x000068fa 
+ 00016814  0x00001ba3 arg  0x00004832 , 0x00000011 
+ 00016815  0x00001ba4 arg  0x00000004 , 0x00000039 
+ 00016816  0x00001ba5 call  0x00004232 
+ 00016817  0x00001ba6 arg  0x00000006 , 0x00000039 
+ 00016818  0x00001ba7 arg  0x00004804 , 0x00000006 
+ 00016819  0x00001ba8 branch  0x00007f74 
+ 00016820  0x00001bab arg  0x00004836 , 0x00000011 
+ 00016821  0x00001bac arg  0x00000005 , 0x00000039 
+ 00016822  0x00001bad call  0x00004232 
+ 00016823  0x00001bae arg  0x00000003 , 0x00000039 
+ 00016824  0x00001baf arg  0x0000414a , 0x00000006 
+ 00016825  0x00001bb0 branch  0x00007f74 
+ 00016826  0x00001bb3 arg  0x00004853 , 0x00000011 
+ 00016827  0x00001bb4 arg  0x00000004 , 0x00000039 
+ 00016828  0x00001bb5 call  0x00004232 
+ 00016829  0x00001bb6 call  0x00006988 
+ 00016830  0x00001bb7 call  0x00004253 
+ 00016831  0x00001bb8 branch  0x000068fa 
+ 00016832  0x00001bbc call  0x00006929 
+ 00016833  0x00001bbd arg  0x00004860 , 0x00000011 
+ 00016834  0x00001bbe arg  0x00000004 , 0x00000039 
+ 00016835  0x00001bbf call  0x00004232 
+ 00016836  0x00001bc0 fetch  0x00000001 , 0x000001b3 
+ 00016837  0x00001bc1 beq  0x00000033 , 0x000041c8 
+ 00016838  0x00001bc2 beq  0x00000034 , 0x000041c8 
+ 00016839  0x00001bc3 branch  0x000068fa 
+ 00016840  0x00001bc5 istore  0x00000001 , 0x0000000a 
+ 00016841  0x00001bc6 call  0x0000424e 
+ 00016842  0x00001bc7 arg  0x000001b4 , 0x00000011 
+ 00016843  0x00001bc8 call  0x00007e9d 
+ 00016844  0x00001bc9 branch  0x000068fa 
+ 00016845  0x00001bcc set1  0x00000025 , 0x00000000 
+ 00016846  0x00001bcd bpatch  0x00000097 , 0x00004032 
+ 00016847  0x00001bce arg  0x00004864 , 0x00000011 
+ 00016848  0x00001bcf arg  0x00000004 , 0x00000039 
+ 00016849  0x00001bd0 call  0x00004232 
+ 00016850  0x00001bd1 call  0x000041d4 
+ 00016851  0x00001bd2 branch  0x000068fa 
+ 00016852  0x00001bd4 arg  0x00000018 , 0x00000011 
+ 00016853  0x00001bd5 arg  0x00000001 , 0x00000039 
+ 00016854  0x00001bd6 branch  0x00007e9e 
+ 00016855  0x00001bd9 rtn 
+ 00016856  0x00001bdd arg  0x00004873 , 0x00000011 
+ 00016857  0x00001bde arg  0x00000005 , 0x00000039 
+ 00016858  0x00001bdf call  0x00004232 
+ 00016859  0x00001be0 arg  0x00004814 , 0x00000011 
+ 00016860  0x00001be1 call  0x00007e9d 
+ 00016861  0x00001be2 branch  0x000068fa 
+ 00016862  0x00001be6 arg  0x0000487c , 0x00000011 
+ 00016863  0x00001be7 arg  0x00000007 , 0x00000039 
+ 00016864  0x00001be8 call  0x00004232 
+ 00016865  0x00001be9 fetch  0x00000001 , 0x00004812 
+ 00016866  0x00001bea copy  0x0000003f , 0x00000011 
+ 00016867  0x00001beb fetch  0x00000001 , 0x00004040 
+ 00016868  0x00001bec isolate1  0x00000000 , 0x0000003f 
+ 00016869  0x00001bed setflag  0x00000001 , 0x00000003 , 0x00000011 
+ 00016870  0x00001bee isolate1  0x00000001 , 0x0000003f 
+ 00016871  0x00001bef setflag  0x00000001 , 0x00000005 , 0x00000011 
+ 00016872  0x00001bf0 fetch  0x00000001 , 0x00004041 
+ 00016873  0x00001bf1 isolate1  0x00000001 , 0x0000003f 
+ 00016874  0x00001bf2 setflag  0x00000001 , 0x00000004 , 0x00000011 
+ 00016875  0x00001bf3 isolate1  0x00000000 , 0x0000003f 
+ 00016876  0x00001bf4 setflag  0x00000001 , 0x00000006 , 0x00000011 
+ 00016877  0x00001bf5 copy  0x00000011 , 0x0000003f 
+ 00016878  0x00001bf6 istore  0x00000001 , 0x0000000a 
+ 00016879  0x00001bf7 branch  0x000068fa 
+ 00016880  0x00001bfa setarg  0x009e8b33 
+ 00016881  0x00001bfb store  0x00000003 , 0x00004147 
+ 00016882  0x00001bfc fetch  0x00000001 , 0x000042a4 
+ 00016883  0x00001bfd set1  0x00000000 , 0x0000003f 
+ 00016884  0x00001bfe store  0x00000001 , 0x000042a4 
+ 00016885  0x00001bff branch  0x00004636 
+ 00016886  0x00001c02 call  0x00003f3e 
+ 00016887  0x00001c03 fetch  0x00000001 , 0x0000429a 
+ 00016888  0x00001c04 bne  0x00000000 , 0x0000427f 
+ 00016889  0x00001c05 call  0x00003f8a 
+ 00016890  0x00001c06 fetch  0x00000001 , 0x000042a4 
+ 00016891  0x00001c07 set1  0x00000001 , 0x0000003f 
+ 00016892  0x00001c08 store  0x00000001 , 0x000042a4 
+ 00016893  0x00001c09 setarg  0x00000200 
+ 00016894  0x00001c0a store  0x00000002 , 0x0000481a 
+ 00016895  0x00001c0b arg  0x0000486c , 0x00000011 
+ 00016896  0x00001c0c arg  0x00000006 , 0x00000039 
+ 00016897  0x00001c0d call  0x00004232 
+ 00016898  0x00001c0e call  0x00007f74 
+ 00016899  0x00001c0f branch  0x0000428c 
+ 00016900  0x00001c14 arg  0x0000481c , 0x00000011 
+ 00016901  0x00001c15 arg  0x00000004 , 0x00000039 
+ 00016902  0x00001c16 call  0x00004232 
+ 00016903  0x00001c17 fetch  0x00000001 , 0x0000054f 
+ 00016904  0x00001c18 copy  0x0000003f , 0x00000039 
+ 00016905  0x00001c19 arg  0x00000550 , 0x00000006 
+ 00016906  0x00001c1a branch  0x00007f74 
+ 00016907  0x00001c1f arg  0x0000485b , 0x00000011 
+ 00016908  0x00001c20 arg  0x00000005 , 0x00000039 
+ 00016909  0x00001c21 call  0x00004232 
+ 00016910  0x00001c22 call  0x00004247 
+ 00016911  0x00001c23 setarg  0x00000054 
+ 00016912  0x00001c24 istore  0x00000001 , 0x0000000a 
+ 00016913  0x00001c25 call  0x00004244 
+ 00016914  0x00001c26 arg  0x00004280 , 0x00000011 
+ 00016915  0x00001c27 call  0x00007e9b 
+ 00016916  0x00001c28 call  0x00004247 
+ 00016917  0x00001c29 setarg  0x00000041 
+ 00016918  0x00001c2a istore  0x00000001 , 0x0000000a 
+ 00016919  0x00001c2b call  0x00004244 
+ 00016920  0x00001c2c arg  0x00004282 , 0x00000011 
+ 00016921  0x00001c2d call  0x00007e9b 
+ 00016922  0x00001c2e call  0x00004247 
+ 00016923  0x00001c2f setarg  0x0000004f 
+ 00016924  0x00001c30 istore  0x00000001 , 0x0000000a 
+ 00016925  0x00001c31 call  0x00004244 
+ 00016926  0x00001c32 arg  0x00004284 , 0x00000011 
+ 00016927  0x00001c33 call  0x00007e9b 
+ 00016928  0x00001c34 branch  0x00007f74 
+ 00016929  0x00001c36 call  0x00007f6e 
+ 00016930  0x00001c37 call  0x00004247 
+ 00016931  0x00001c38 arg  0x00000182 , 0x00000011 
+ 00016932  0x00001c39 call  0x00007e9d 
+ 00016933  0x00001c3a call  0x0000424e 
+ 00016934  0x00001c3b arg  0x0000017f , 0x00000011 
+ 00016935  0x00001c3c call  0x00007e99 
+ 00016936  0x00001c3d call  0x0000424e 
+ 00016937  0x00001c3e call  0x000041d4 
+ 00016938  0x00001c3f branch  0x000068fa 
+ 00016939  0x00001c4b call  0x0000422d 
+ 00016940  0x00001c4c branch  0x0000497c 
+ 00016941  0x00001c4e call  0x00004269 
+ 00016942  0x00001c4f copy  0x0000003f , 0x00000002 
+ 00016943  0x00001c50 copy  0x0000003f , 0x00000039 
+ 00016944  0x00001c51 copy  0x00000011 , 0x00000005 
+ 00016945  0x00001c52 rtn 
+ 00016946  0x00001c56 call  0x00007f6e 
+ 00016947  0x00001c57 call  0x00004241 
+ 00016948  0x00001c59 copy  0x00000011 , 0x00000006 
+ 00016949  0x00001c5a call  0x00004976 
+ 00016950  0x00001c5b branch  0x00004244 
+ 00016951  0x00001c5f ifetch  0x00000001 , 0x00000003 
+ 00016952  0x00001c60 ifetcht  0x00000001 , 0x00000012 
+ 00016953  0x00001c61 isub  0x00000002 , 0x0000003e 
+ 00016954  0x00001c62 disable  0x00000001 
+ 00016955  0x00001c63 nbranch  0x00004240 , 0x00000005 
+ 00016956  0x00001c64 increase  0x00000001 , 0x00000012 
+ 00016957  0x00001c65 loop  0x00004237 
+ 00016958  0x00001c66 enable  0x00000001 
+ 00016959  0x00001c67 rtn 
+ 00016960  0x00001c69 branch  0x00004251 
+ 00016961  0x00001c6d setarg  0x0000002b 
+ 00016962  0x00001c6e istore  0x00000001 , 0x0000000a 
+ 00016963  0x00001c6f rtn 
+ 00016964  0x00001c72 setarg  0x0000003a 
+ 00016965  0x00001c73 istore  0x00000001 , 0x0000000a 
+ 00016966  0x00001c74 rtn 
+ 00016967  0x00001c78 setarg  0x0000003e 
+ 00016968  0x00001c79 istore  0x00000001 , 0x0000000a 
+ 00016969  0x00001c7a rtn 
+ 00016970  0x00001c7c setarg  0x0000004e 
+ 00016971  0x00001c7d istore  0x00000001 , 0x0000000a 
+ 00016972  0x00001c7e call  0x000068fa 
+ 00016973  0x00001c7f branch  0x00004286 
+ 00016974  0x00001c84 setarg  0x0000002c 
+ 00016975  0x00001c85 istore  0x00000001 , 0x0000000a 
+ 00016976  0x00001c86 rtn 
+ 00016977  0x00001c89 copy  0x00000011 , 0x00000003 
+ 00016978  0x00001c8a rtn 
+ 00016979  0x00001c8d arg  0x00000195 , 0x00000013 
+ 00016980  0x00001c8e arg  0x00000004 , 0x00000039 
+ 00016981  0x00001c90 copy  0x00000039 , 0x0000003f 
+ 00016982  0x00001c91 store  0x00000001 , 0x00000161 
+ 00016983  0x00001c92 ifetch  0x00000001 , 0x00000013 
+ 00016984  0x00001c93 beq  0x00000033 , 0x0000425b 
+ 00016985  0x00001c94 beq  0x00000034 , 0x0000425b 
+ 00016986  0x00001c95 branch  0x00004267 
+ 00016987  0x00001c97 call  0x00004247 
+ 00016988  0x00001c98 ifetch  0x00000001 , 0x00000013 
+ 00016989  0x00001c99 istore  0x00000001 , 0x0000000a 
+ 00016990  0x00001c9a increase  0x00000001 , 0x00000013 
+ 00016991  0x00001c9b call  0x0000424e 
+ 00016992  0x00001c9c copy  0x00000013 , 0x00000011 
+ 00016993  0x00001c9d call  0x00007e9d 
+ 00016994  0x00001c9f increase  0x00000006 , 0x00000013 
+ 00016995  0x00001ca0 fetch  0x00000001 , 0x00000161 
+ 00016996  0x00001ca1 copy  0x0000003f , 0x00000039 
+ 00016997  0x00001ca2 loop  0x00004255 
+ 00016998  0x00001ca3 rtn 
+ 00016999  0x00001ca5 increase  0x00000001 , 0x00000013 
+ 00017000  0x00001ca6 branch  0x00004262 
+ 00017001  0x00001cab set1  0x00000025 , 0x00000000 
+ 00017002  0x00001cac bpatch  0x00000098 , 0x00004033 
+ 00017003  0x00001cad hfetch  0x00000002 , 0x00008058 
+ 00017004  0x00001cae isub  0x00000003 , 0x0000003f 
+ 00017005  0x00001caf rtn  0x00000005 
+ 00017006  0x00001cb0 branch  0x00004273 , 0x00000002 
+ 00017007  0x00001cb2 fetcht  0x00000002 , 0x0000480e 
+ 00017008  0x00001cb3 iadd  0x00000002 , 0x0000003f 
+ 00017009  0x00001cb4 increase  0xfffffffe , 0x0000003f 
+ 00017010  0x00001cb5 rtn 
+ 00017011  0x00001cb7 call  0x00004278 
+ 00017012  0x00001cb8 iadd  0x00000003 , 0x00000002 
+ 00017013  0x00001cb9 hfetch  0x00000002 , 0x00008058 
+ 00017014  0x00001cba isub  0x00000002 , 0x0000003f 
+ 00017015  0x00001cbb branch  0x0000426f 
+ 00017016  0x00001cbe arg  0x00004fff , 0x0000003f 
+ 00017017  0x00001cbf increase  0x00000001 , 0x0000003f 
+ 00017018  0x00001cc0 arg  0x00004a00 , 0x00000002 
+ 00017019  0x00001cc1 isub  0x00000002 , 0x0000003f 
+ 00017020  0x00001cc2 rtn 
+ 00017021  0x00001cc5 fetcht  0x00000002 , 0x0000480e 
+ 00017022  0x00001cc6 branch  0x00006903 
+ 00017023  0x00001ccc set1  0x00000025 , 0x00000000 
+ 00017024  0x00001ccd bpatch  0x00000099 , 0x00004033 
+ 00017025  0x00001cce call  0x00007f6e 
+ 00017026  0x00001ccf setarg  0x00525245 
+ 00017027  0x00001cd0 istore  0x00000003 , 0x0000000a 
+ 00017028  0x00001cd1 call  0x000068fa 
+ 00017029  0x00001cd2 branch  0x0000428c 
+ 00017030  0x00001cd5 set1  0x00000025 , 0x00000000 
+ 00017031  0x00001cd6 bpatch  0x0000009a , 0x00004033 
+ 00017032  0x00001cd7 call  0x00007f6e 
+ 00017033  0x00001cd8 setarg  0x00004b4f 
+ 00017034  0x00001cd9 istore  0x00000002 , 0x0000000a 
+ 00017035  0x00001cda call  0x000068fa 
+ 00017036  0x00001cdd set1  0x00000025 , 0x00000000 
+ 00017037  0x00001cde bpatch  0x0000009b , 0x00004033 
+ 00017038  0x00001cdf call  0x0000427d 
+ 00017039  0x00001ce1 setarg  0x00000000 
+ 00017040  0x00001ce2 store  0x00000002 , 0x0000480e 
+ 00017041  0x00001ce3 store  0x00000004 , 0x0000480a 
+ 00017042  0x00001ce4 rtn 
+ 00017043  0x00001ce8 call  0x00007db2 
+ 00017044  0x00001ce9 call  0x00003f94 
+ 00017045  0x00001cea setarg  0x0000429f 
+ 00017046  0x00001ceb store  0x00000002 , 0x0000428c 
+ 00017047  0x00001cec setarg  0x000042be 
+ 00017048  0x00001ced store  0x00000002 , 0x00004292 
+ 00017049  0x00001cee setarg  0x00007cdb 
+ 00017050  0x00001cef store  0x00000002 , 0x00004290 
+ 00017051  0x00001cf0 jam  0x00000005 , 0x0000025a 
+ 00017052  0x00001cf1 jam  0x00000000 , 0x0000026e 
+ 00017053  0x00001cf2 jam  0x0000001b , 0x00004272 
+ 00017054  0x00001cf3 rtn 
+ 00017055  0x00001cf7 disable  0x00000001 
+ 00017056  0x00001cf8 call  0x00003f3e 
+ 00017057  0x00001cfa jam  0x0000001b , 0x0000041c 
+ 00017058  0x00001cfb fetch  0x00000001 , 0x0000429a 
+ 00017059  0x00001cfc compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00017060  0x00001cfd nrtn  0x00000001 
+ 00017061  0x00001cfe jam  0x00000000 , 0x000043d2 
+ 00017062  0x00001cff rtn 
+ 00017063  0x00001d02 fetch  0x00000001 , 0x00000340 
+ 00017064  0x00001d03 bbit0  0x00000000 , 0x000042b0 
+ 00017065  0x00001d04 fetch  0x00000006 , 0x00000342 
+ 00017066  0x00001d05 fetcht  0x00000006 , 0x000003d0 
+ 00017067  0x00001d06 isub  0x00000002 , 0x0000003e 
+ 00017068  0x00001d07 nrtn  0x00000005 
+ 00017069  0x00001d09 fetch  0x00000006 , 0x000003d0 
+ 00017070  0x00001d0a store  0x00000006 , 0x000044e7 
+ 00017071  0x00001d0b rtn 
+ 00017072  0x00001d0e arg  0x000000ff , 0x00000011 
+ 00017073  0x00001d0f call  0x00005b52 
+ 00017074  0x00001d10 nrtn  0x00000005 
+ 00017075  0x00001d11 ifetch  0x00000002 , 0x00000006 
+ 00017076  0x00001d12 fetcht  0x00000002 , 0x00000270 
+ 00017077  0x00001d13 isub  0x00000002 , 0x0000003e 
+ 00017078  0x00001d14 nrtn  0x00000005 
+ 00017079  0x00001d15 fetch  0x00000001 , 0x0000026e 
+ 00017080  0x00001d16 increase  0x00000001 , 0x0000003f 
+ 00017081  0x00001d17 store  0x00000001 , 0x0000026e 
+ 00017082  0x00001d18 fetcht  0x00000001 , 0x0000026f 
+ 00017083  0x00001d19 isub  0x00000002 , 0x0000003e 
+ 00017084  0x00001d1a branch  0x000042ad , 0x00000002 
+ 00017085  0x00001d1b rtn 
+ 00017086  0x00001d1e copy  0x00000013 , 0x0000003f 
+ 00017087  0x00001d1f beq  0x00000015 , 0x000042c5 
+ 00017088  0x00001d20 beq  0x00000014 , 0x000042d7 
+ 00017089  0x00001d21 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00017090  0x00001d22 and_into  0x000000f0 , 0x0000003f 
+ 00017091  0x00001d23 beq  0x00000050 , 0x000042cd 
+ 00017092  0x00001d24 rtn 
+ 00017093  0x00001d27 setarg  0x00000000 
+ 00017094  0x00001d28 store  0x00000006 , 0x000044e7 
+ 00017095  0x00001d29 jam  0x00000000 , 0x0000026e 
+ 00017096  0x00001d2a setarg  0x00000000 
+ 00017097  0x00001d2b store  0x00000005 , 0x00000ff1 
+ 00017098  0x00001d2c jam  0x00000001 , 0x00000ff0 
+ 00017099  0x00001d2d call  0x00007cdb 
+ 00017100  0x00001d2e branch  0x00003f8a 
+ 00017101  0x00001d31 rtn 
+ 00017102  0x00001d32 fetch  0x00000001 , 0x000043d2 
+ 00017103  0x00001d33 rtn  0x00000034 
+ 00017104  0x00001d34 fetch  0x00000001 , 0x0000025a 
+ 00017105  0x00001d35 rtn  0x00000034 
+ 00017106  0x00001d36 increase  0xffffffff , 0x0000003f 
+ 00017107  0x00001d37 store  0x00000001 , 0x0000025a 
+ 00017108  0x00001d38 nrtn  0x00000034 
+ 00017109  0x00001d39 call  0x000042d8 
+ 00017110  0x00001d3a branch  0x00003f8e 
+ 00017111  0x00001d3e branch  0x00003f8c 
+ 00017112  0x00001d42 jam  0x00000005 , 0x0000025a 
+ 00017113  0x00001d43 fetch  0x00000001 , 0x00000267 
+ 00017114  0x00001d44 beq  0x00000001 , 0x000042e1 
+ 00017115  0x00001d45 beq  0x00000002 , 0x000042dd 
+ 00017116  0x00001d46 rtn 
+ 00017117  0x00001d48 fetch  0x00000006 , 0x0000025b 
+ 00017118  0x00001d49 store  0x00000006 , 0x00000268 
+ 00017119  0x00001d4a jam  0x00000001 , 0x00000267 
+ 00017120  0x00001d4b rtn 
+ 00017121  0x00001d4d fetch  0x00000006 , 0x00000261 
+ 00017122  0x00001d4e store  0x00000006 , 0x00000268 
+ 00017123  0x00001d4f jam  0x00000002 , 0x00000267 
+ 00017124  0x00001d50 rtn 
+ 00017125  0x00001d54 ifetch  0x00000002 , 0x00000003 
+ 00017126  0x00001d55 branch  0x00004490 , 0x00000034 
+ 00017127  0x00001d56 iforce  0x00000013 
+ 00017128  0x00001d57 ifetch  0x00000001 , 0x00000003 
+ 00017129  0x00001d58 store  0x00000001 , 0x00000293 
+ 00017130  0x00001d59 iforce  0x00000011 
+ 00017131  0x00001d5a bbit0  0x00000006 , 0x000042ed 
+ 00017132  0x00001d5b increase  0xfffffffe , 0x00000013 
+ 00017133  0x00001d5d ifetch  0x00000002 , 0x00000003 
+ 00017134  0x00001d5e rshift4  0x0000003f , 0x00000039 
+ 00017135  0x00001d5f and  0x0000003f , 0x0000000f , 0x00000008 
+ 00017136  0x00001d60 iadd  0x00000011 , 0x00000011 
+ 00017137  0x00001d61 rshift8  0x0000003f , 0x0000003f 
+ 00017138  0x00001d62 iadd  0x00000011 , 0x00000011 
+ 00017139  0x00001d63 ifetch  0x00000001 , 0x00000003 
+ 00017140  0x00001d64 iadd  0x00000011 , 0x0000003f 
+ 00017141  0x00001d65 bne  0x000000ff , 0x00004319 
+ 00017142  0x00001d66 add  0x00000013 , 0xfffffffc , 0x0000003f 
+ 00017143  0x00001d67 isub  0x00000039 , 0x0000003e 
+ 00017144  0x00001d68 nbranch  0x00004316 , 0x00000005 
+ 00017145  0x00001d69 fetch  0x00000001 , 0x00000293 
+ 00017146  0x00001d6a isolate0  0x00000007 , 0x0000003f 
+ 00017147  0x00001d6b branch  0x00004302 , 0x00000001 
+ 00017148  0x00001d6c set0  0x0000001b , 0x00000000 
+ 00017149  0x00001d6d bmark1  0x0000001b , 0x00004302 
+ 00017150  0x00001d6e and_into  0x00000007 , 0x0000003f 
+ 00017151  0x00001d6f fetcht  0x00000001 , 0x0000028c 
+ 00017152  0x00001d70 isub  0x00000002 , 0x0000003e 
+ 00017153  0x00001d71 nbranch  0x00004316 , 0x00000005 
+ 00017154  0x00001d73 setarg  0x00000640 
+ 00017155  0x00001d74 force  0x00000007 , 0x00000007 
+ 00017156  0x00001d75 call  0x00007e4c 
+ 00017157  0x00001d76 deposit  0x00000008 
+ 00017158  0x00001d77 call  0x00004320 
+ 00017159  0x00001d78 rtn  0x00000028 
+ 00017160  0x00001d79 fetch  0x00000001 , 0x00000293 
+ 00017161  0x00001d7a iforce  0x00000011 
+ 00017162  0x00001d7b rshift3  0x0000003f , 0x00000002 
+ 00017163  0x00001d7c and_into  0x00000007 , 0x00000002 
+ 00017164  0x00001d7d fetch  0x00000001 , 0x0000028b 
+ 00017165  0x00001d7e isub  0x00000002 , 0x0000003f 
+ 00017166  0x00001d7f sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017167  0x00001d80 and_into  0x00000007 , 0x0000003f 
+ 00017168  0x00001d81 bne  0x00000001 , 0x00004316 
+ 00017169  0x00001d82 storet  0x00000001 , 0x0000028b 
+ 00017170  0x00001d83 fetch  0x00000001 , 0x00000272 
+ 00017171  0x00001d84 increase  0x00000001 , 0x0000003f 
+ 00017172  0x00001d85 store  0x00000001 , 0x00000272 
+ 00017173  0x00001d86 branch  0x00004319 
+ 00017174  0x00001d89 fetch  0x00000001 , 0x00000273 
+ 00017175  0x00001d8a increase  0x00000001 , 0x0000003f 
+ 00017176  0x00001d8b store  0x00000001 , 0x00000273 
+ 00017177  0x00001d8d hfetch  0x00000002 , 0x00008058 
+ 00017178  0x00001d8e iforce  0x00000003 
+ 00017179  0x00001d8f ifetch  0x00000002 , 0x00000003 
+ 00017180  0x00001d90 iadd  0x00000003 , 0x00000003 
+ 00017181  0x00001d91 deposit  0x00000003 
+ 00017182  0x00001d92 hstore  0x00000002 , 0x00008058 
+ 00017183  0x00001d93 rtn 
+ 00017184  0x00001d96 disable  0x00000028 
+ 00017185  0x00001d97 rtn  0x00000034 
+ 00017186  0x00001d98 beq  0x00000001 , 0x00004328 
+ 00017187  0x00001d99 beq  0x00000002 , 0x00004346 
+ 00017188  0x00001d9a beq  0x00000005 , 0x00004507 
+ 00017189  0x00001d9b beq  0x00000006 , 0x000044dd 
+ 00017190  0x00001d9c beq  0x00000008 , 0x00004a56 
+ 00017191  0x00001d9d rtn 
+ 00017192  0x00001da0 set0  0x00000018 , 0x00000000 
+ 00017193  0x00001da1 ifetch  0x00000001 , 0x00000003 
+ 00017194  0x00001da2 beq  0x000000da , 0x0000432f 
+ 00017195  0x00001da3 beq  0x000000ac , 0x00004336 
+ 00017196  0x00001da4 beq  0x000000ad , 0x0000433a 
+ 00017197  0x00001da5 beq  0x000000de , 0x00004344 
+ 00017198  0x00001da6 rtn 
+ 00017199  0x00001da8 bmark1  0x00000017 , 0x00004333 
+ 00017200  0x00001da9 force  0x000000da , 0x00000002 
+ 00017201  0x00001daa setarg  0x00ededdc 
+ 00017202  0x00001dab call  0x0000433c 
+ 00017203  0x00001dad force  0x000000ac , 0x00000002 
+ 00017204  0x00001dae setarg  0x00eeefaf 
+ 00017205  0x00001daf branch  0x0000433c 
+ 00017206  0x00001db1 set1  0x00000017 , 0x00000000 
+ 00017207  0x00001db2 force  0x000000ad , 0x00000002 
+ 00017208  0x00001db3 setarg  0x00edacef 
+ 00017209  0x00001db4 branch  0x0000433c 
+ 00017210  0x00001db6 force  0x000000de , 0x00000002 
+ 00017211  0x00001db7 setarg  0x00d0d0ad 
+ 00017212  0x00001db9 lshift8  0x0000003f , 0x0000003f 
+ 00017213  0x00001dba ior  0x00000002 , 0x00000002 
+ 00017214  0x00001dbb call  0x00004972 
+ 00017215  0x00001dbc istoret  0x00000004 , 0x0000000a 
+ 00017216  0x00001dbd force  0x00000001 , 0x00000007 
+ 00017217  0x00001dbe force  0x00000004 , 0x00000039 
+ 00017218  0x00001dbf set0  0x00000013 , 0x00000000 
+ 00017219  0x00001dc0 branch  0x00004378 
+ 00017220  0x00001dc2 force  0x00000000 , 0x00000030 
+ 00017221  0x00001dc3 branch  0x00004933 
+ 00017222  0x00001dc6 copy  0x00000039 , 0x00000030 
+ 00017223  0x00001dc7 call  0x00004371 
+ 00017224  0x00001dc8 force  0x00000000 , 0x00000012 
+ 00017225  0x00001dc9 call  0x00004972 
+ 00017226  0x00001dca copy  0x00000030 , 0x00000039 
+ 00017227  0x00001dcb ifetch  0x00000001 , 0x00000003 
+ 00017228  0x00001dcc setarg  0x00000001 
+ 00017229  0x00001dcd istore  0x00000001 , 0x0000000a 
+ 00017230  0x00001dce set0  0x0000001a , 0x00000000 
+ 00017231  0x00001dd0 ifetch  0x00000001 , 0x00000003 
+ 00017232  0x00001dd1 increase  0x00000001 , 0x00000012 
+ 00017233  0x00001dd2 beq  0x0000001c , 0x0000435b 
+ 00017234  0x00001dd3 compare  0x00000004 , 0x00000012 , 0x000000ff 
+ 00017235  0x00001dd4 nbranch  0x0000435d , 0x00000001 
+ 00017236  0x00001dd5 setflag  0x00000034 , 0x0000001a , 0x00000000 
+ 00017237  0x00001dd6 bne  0x0000003a , 0x0000435d 
+ 00017238  0x00001dd7 setarg  0x000007d0 
+ 00017239  0x00001dd8 force  0x00000000 , 0x00000007 
+ 00017240  0x00001dd9 call  0x00007e4c 
+ 00017241  0x00001dda set1  0x00000018 , 0x00000000 
+ 00017242  0x00001ddb rtn 
+ 00017243  0x00001dde compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00017244  0x00001ddf branch  0x00004366 , 0x00000001 
+ 00017245  0x00001de1 isolate1  0x0000001a , 0x00000000 
+ 00017246  0x00001de2 call  0x00004368 , 0x00000001 
+ 00017247  0x00001de3 istore  0x00000001 , 0x0000000a 
+ 00017248  0x00001de4 loop  0x0000434f 
+ 00017249  0x00001de5 set0  0x00000019 , 0x00000000 
+ 00017250  0x00001de6 copy  0x00000030 , 0x00000039 
+ 00017251  0x00001de7 set1  0x00000013 , 0x00000000 
+ 00017252  0x00001de8 force  0x00000002 , 0x00000007 
+ 00017253  0x00001de9 branch  0x00004378 
+ 00017254  0x00001deb set1  0x00000019 , 0x00000000 
+ 00017255  0x00001dec branch  0x0000435d 
+ 00017256  0x00001def rtnmark1  0x00000019 
+ 00017257  0x00001df0 compare  0x0000000a , 0x00000012 , 0x000000ff 
+ 00017258  0x00001df1 branch  0x0000436f , 0x00000001 
+ 00017259  0x00001df2 compare  0x0000000b , 0x00000012 , 0x000000ff 
+ 00017260  0x00001df3 nrtn  0x00000001 
+ 00017261  0x00001df4 setarg  0x00000012 
+ 00017262  0x00001df5 rtn 
+ 00017263  0x00001df7 setarg  0x000000e9 
+ 00017264  0x00001df8 rtn 
+ 00017265  0x00001dfb fetch  0x00000001 , 0x00000293 
+ 00017266  0x00001dfc increase  0x00000001 , 0x0000003f 
+ 00017267  0x00001dfd and_into  0x00000007 , 0x0000003f 
+ 00017268  0x00001dfe store  0x00000001 , 0x0000028c 
+ 00017269  0x00001dff force  0x00000000 , 0x00000039 
+ 00017270  0x00001e00 force  0x00000000 , 0x00000007 
+ 00017271  0x00001e01 set0  0x00000013 , 0x00000000 
+ 00017272  0x00001e04 add  0x00000039 , 0x00000004 , 0x00000012 
+ 00017273  0x00001e05 fetch  0x00000001 , 0x0000028c 
+ 00017274  0x00001e06 lshift3  0x0000003f , 0x00000013 
+ 00017275  0x00001e07 isolate0  0x00000014 , 0x00000000 
+ 00017276  0x00001e08 nsetflag  0x00000001 , 0x00000006 , 0x00000013 
+ 00017277  0x00001e09 branch  0x0000437f , 0x00000001 
+ 00017278  0x00001e0a increase  0x00000002 , 0x00000012 
+ 00017279  0x00001e0c bmark0  0x00000013 , 0x00004389 
+ 00017280  0x00001e0d set1  0x00000007 , 0x00000013 
+ 00017281  0x00001e0e fetch  0x00000001 , 0x00000294 
+ 00017282  0x00001e0f ior  0x00000013 , 0x00000013 
+ 00017283  0x00001e10 increase  0x00000001 , 0x0000003f 
+ 00017284  0x00001e11 and_into  0x00000007 , 0x0000003f 
+ 00017285  0x00001e12 store  0x00000001 , 0x00000294 
+ 00017286  0x00001e13 fetch  0x00000001 , 0x00000274 
+ 00017287  0x00001e14 increase  0x00000001 , 0x0000003f 
+ 00017288  0x00001e15 store  0x00000001 , 0x00000274 
+ 00017289  0x00001e17 fetch  0x00000002 , 0x0000028f 
+ 00017290  0x00001e18 iforce  0x0000000a 
+ 00017291  0x00001e19 deposit  0x00000012 
+ 00017292  0x00001e1a isolate1  0x00000013 , 0x00000000 
+ 00017293  0x00001e1b setflag  0x00000001 , 0x0000000f , 0x0000003f 
+ 00017294  0x00001e1c istore  0x00000002 , 0x0000000a 
+ 00017295  0x00001e1d copy  0x0000000a , 0x00000011 
+ 00017296  0x00001e1e deposit  0x00000013 
+ 00017297  0x00001e1f istore  0x00000001 , 0x0000000a 
+ 00017298  0x00001e20 lshift4  0x00000039 , 0x0000003f 
+ 00017299  0x00001e21 ior  0x00000007 , 0x0000003f 
+ 00017300  0x00001e22 iadd  0x00000013 , 0x00000013 
+ 00017301  0x00001e23 istore  0x00000002 , 0x0000000a 
+ 00017302  0x00001e24 rshift8  0x0000003f , 0x0000003f 
+ 00017303  0x00001e25 iadd  0x00000013 , 0x0000003f 
+ 00017304  0x00001e26 sub  0x0000003f , 0x000000ff , 0x0000003f 
+ 00017305  0x00001e27 istore  0x00000001 , 0x0000000a 
+ 00017306  0x00001e28 bmark0  0x00000014 , 0x0000439f 
+ 00017307  0x00001e29 increase  0x00000004 , 0x00000039 
+ 00017308  0x00001e2a copy  0x00000011 , 0x0000000a 
+ 00017309  0x00001e2b call  0x00004986 
+ 00017310  0x00001e2c istore  0x00000002 , 0x0000000a 
+ 00017311  0x00001e2e fetch  0x00000002 , 0x0000028f 
+ 00017312  0x00001e2f iadd  0x00000012 , 0x0000000a 
+ 00017313  0x00001e30 increase  0x00000002 , 0x0000000a 
+ 00017314  0x00001e31 deposit  0x0000000a 
+ 00017315  0x00001e32 store  0x00000002 , 0x0000028f 
+ 00017316  0x00001e33 hstore  0x00000002 , 0x0000805e 
+ 00017317  0x00001e34 fetcht  0x00000002 , 0x0000028d 
+ 00017318  0x00001e35 call  0x000043d8 
+ 00017319  0x00001e36 call  0x000043ab 
+ 00017320  0x00001e37 setarg  0x00000640 
+ 00017321  0x00001e38 force  0x00000007 , 0x00000007 
+ 00017322  0x00001e39 branch  0x00007e4c 
+ 00017323  0x00001e3c setarg  0x00000190 
+ 00017324  0x00001e3d force  0x00000001 , 0x00000007 
+ 00017325  0x00001e3e call  0x00007e4c 
+ 00017326  0x00001e3f set1  0x00000015 , 0x00000000 
+ 00017327  0x00001e40 rtn 
+ 00017328  0x00001e43 rtnmark0  0x00000015 
+ 00017329  0x00001e44 force  0x00000001 , 0x00000007 
+ 00017330  0x00001e45 call  0x00007e53 
+ 00017331  0x00001e46 nrtn  0x00000034 
+ 00017332  0x00001e47 fetch  0x00000002 , 0x0000028d 
+ 00017333  0x00001e48 hstore  0x00000002 , 0x00008060 
+ 00017334  0x00001e49 branch  0x000043ab 
+ 00017335  0x00001e4c fetch  0x00000002 , 0x0000028f 
+ 00017336  0x00001e4d fetcht  0x00000002 , 0x0000028d 
+ 00017337  0x00001e4e isub  0x00000002 , 0x0000003e 
+ 00017338  0x00001e4f branch  0x000043d6 , 0x00000005 
+ 00017339  0x00001e50 copy  0x00000002 , 0x0000000a 
+ 00017340  0x00001e51 ifetch  0x00000002 , 0x0000000a 
+ 00017341  0x00001e52 iforce  0x00000011 
+ 00017342  0x00001e53 iand  0x00000035 , 0x0000003f 
+ 00017343  0x00001e54 iadd  0x0000000a , 0x0000000a 
+ 00017344  0x00001e55 hfetch  0x00000002 , 0x00008110 
+ 00017345  0x00001e56 isub  0x0000000a , 0x0000003f 
+ 00017346  0x00001e57 iand  0x00000035 , 0x00000012 
+ 00017347  0x00001e58 fetch  0x00000002 , 0x0000028f 
+ 00017348  0x00001e59 isub  0x0000000a , 0x0000003f 
+ 00017349  0x00001e5a iand  0x00000035 , 0x0000003f 
+ 00017350  0x00001e5b isub  0x00000012 , 0x0000003f 
+ 00017351  0x00001e5c nrtn  0x00000002 
+ 00017352  0x00001e5d isolate0  0x0000000f , 0x00000011 
+ 00017353  0x00001e5e branch  0x000043d1 , 0x00000001 
+ 00017354  0x00001e5f fetch  0x00000001 , 0x00000272 
+ 00017355  0x00001e60 rtn  0x00000034 
+ 00017356  0x00001e61 increase  0xffffffff , 0x0000003f 
+ 00017357  0x00001e62 store  0x00000001 , 0x00000272 
+ 00017358  0x00001e63 fetch  0x00000001 , 0x00000274 
+ 00017359  0x00001e64 increase  0xffffffff , 0x0000003f 
+ 00017360  0x00001e65 store  0x00000001 , 0x00000274 
+ 00017361  0x00001e67 copy  0x0000000a , 0x00000002 
+ 00017362  0x00001e68 storet  0x00000002 , 0x0000028d 
+ 00017363  0x00001e69 fetch  0x00000002 , 0x0000028f 
+ 00017364  0x00001e6a call  0x000043d8 
+ 00017365  0x00001e6b branch  0x000043b7 
+ 00017366  0x00001e6d set0  0x00000015 , 0x00000000 
+ 00017367  0x00001e6e rtn 
+ 00017368  0x00001e71 isub  0x00000002 , 0x0000003f 
+ 00017369  0x00001e72 iand  0x00000035 , 0x0000003f 
+ 00017370  0x00001e73 isub  0x00000035 , 0x0000003f 
+ 00017371  0x00001e74 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017372  0x00001e75 store  0x00000002 , 0x00000291 
+ 00017373  0x00001e76 rtn 
+ 00017374  0x00001e79 fetch  0x00000002 , 0x0000028f 
+ 00017375  0x00001e7a iadd  0x0000000a , 0x0000000a 
+ 00017376  0x00001e7b rtn 
+ 00017377  0x00001e80 rtn 
+ 00017378  0x00001e83 set1  0x00000025 , 0x00000000 
+ 00017379  0x00001e84 bpatch  0x000000ec , 0x0000403d 
+ 00017380  0x00001e85 fetch  0x00000001 , 0x00004272 
+ 00017381  0x00001e86 nrtn  0x00000034 
+ 00017382  0x00001e88 call  0x000043e9 
+ 00017383  0x00001e89 ncall  0x0000440e , 0x00000028 
+ 00017384  0x00001e8a rtn 
+ 00017385  0x00001e8d set1  0x00000025 , 0x00000000 
+ 00017386  0x00001e8e bpatch  0x000000ed , 0x0000403d 
+ 00017387  0x00001e8f copy  0x00000003 , 0x00000011 
+ 00017388  0x00001e90 arg  0x00000004 , 0x00000002 
+ 00017389  0x00001e91 ifetch  0x00000001 , 0x00000003 
+ 00017390  0x00001e92 beq  0x00000001 , 0x000043f4 
+ 00017391  0x00001e93 increase  0x00000001 , 0x00000002 
+ 00017392  0x00001e94 beq  0x00000002 , 0x000043f4 
+ 00017393  0x00001e95 copy  0x00000003 , 0x0000003f 
+ 00017394  0x00001e96 hstore  0x00000002 , 0x00008058 
+ 00017395  0x00001e97 rtn 
+ 00017396  0x00001e99 hfetch  0x00000002 , 0x00008112 
+ 00017397  0x00001e9a isub  0x00000002 , 0x0000003e 
+ 00017398  0x00001e9b nbranch  0x000043f4 , 0x00000002 
+ 00017399  0x00001e9d disable  0x00000028 
+ 00017400  0x00001e9e copy  0x00000011 , 0x00000003 
+ 00017401  0x00001e9f call  0x00004417 
+ 00017402  0x00001ea0 iadd  0x00000002 , 0x00000002 
+ 00017403  0x00001ea2 hfetch  0x00000002 , 0x00008112 
+ 00017404  0x00001ea3 isub  0x00000002 , 0x0000003e 
+ 00017405  0x00001ea4 nbranch  0x000043fb , 0x00000002 
+ 00017406  0x00001ea5 copy  0x00000011 , 0x00000003 
+ 00017407  0x00001ea6 ifetch  0x00000001 , 0x00000003 
+ 00017408  0x00001ea7 beq  0x00000001 , 0x00004507 
+ 00017409  0x00001ea8 beq  0x00000002 , 0x00004403 
+ 00017410  0x00001ea9 branch  0x00003bf1 
+ 00017411  0x00001eab set1  0x00000025 , 0x00000000 
+ 00017412  0x00001eac bpatch  0x000000ee , 0x0000403d 
+ 00017413  0x00001ead copy  0x00000003 , 0x00000011 
+ 00017414  0x00001eae ifetch  0x00000002 , 0x00000003 
+ 00017415  0x00001eaf copy  0x00000011 , 0x00000003 
+ 00017416  0x00001eb0 fetcht  0x00000001 , 0x00000046 
+ 00017417  0x00001eb1 icompare  0x000000ff , 0x00000002 
+ 00017418  0x00001eb2 branch  0x000044dd , 0x00000001 
+ 00017419  0x00001eb3 branch  0x000058ea , 0x00000036 
+ 00017420  0x00001eb4 enable  0x00000028 
+ 00017421  0x00001eb5 rtn 
+ 00017422  0x00001eb7 set1  0x00000025 , 0x00000000 
+ 00017423  0x00001eb8 bpatch  0x000000ef , 0x0000403d 
+ 00017424  0x00001eb9 hfetch  0x00000002 , 0x00008058 
+ 00017425  0x00001eba iforce  0x00000003 
+ 00017426  0x00001ebb call  0x00004417 
+ 00017427  0x00001ebc iadd  0x00000003 , 0x00000003 
+ 00017428  0x00001ebd deposit  0x00000003 
+ 00017429  0x00001ebe hstore  0x00000002 , 0x00008058 
+ 00017430  0x00001ebf rtn 
+ 00017431  0x00001ec5 ifetch  0x00000001 , 0x00000003 
+ 00017432  0x00001ec6 increase  0x00000002 , 0x00000003 
+ 00017433  0x00001ec7 beq  0x00000002 , 0x0000441c 
+ 00017434  0x00001ec8 ifetch  0x00000001 , 0x00000003 
+ 00017435  0x00001ec9 rtn 
+ 00017436  0x00001ecb ifetch  0x00000002 , 0x00000003 
+ 00017437  0x00001ecc rtn 
+ 00017438  0x00001ecf hfetch  0x00000002 , 0x0000805e 
+ 00017439  0x00001ed0 increase  0xfffffffb , 0x0000000a 
+ 00017440  0x00001ed1 iadd  0x0000000a , 0x0000000a 
+ 00017441  0x00001ed2 rtn 
+ 00017442  0x00001ed5 arg  0x00000004 , 0x00000002 
+ 00017443  0x00001ed6 branch  0x00004425 
+ 00017444  0x00001ed8 arg  0x00000002 , 0x00000002 
+ 00017445  0x00001eda set1  0x00000025 , 0x00000000 
+ 00017446  0x00001edb bpatch  0x000000f0 , 0x0000403e 
+ 00017447  0x00001edc increase  0x00000001 , 0x00000039 
+ 00017448  0x00001edd hfetch  0x00000002 , 0x0000805e 
+ 00017449  0x00001ede copy  0x0000003f , 0x0000000a 
+ 00017450  0x00001edf copy  0x00000039 , 0x0000003f 
+ 00017451  0x00001ee0 istoret  0x00000001 , 0x0000000a 
+ 00017452  0x00001ee1 increase  0xffffffff , 0x0000003f 
+ 00017453  0x00001ee2 iadd  0x0000000a , 0x0000000a 
+ 00017454  0x00001ee3 copy  0x0000000a , 0x0000003f 
+ 00017455  0x00001ee4 store  0x00000002 , 0x0000029d 
+ 00017456  0x00001ee5 copy  0x00000002 , 0x0000003f 
+ 00017457  0x00001ee6 rtneq  0x00000002 
+ 00017458  0x00001ee7 fetch  0x00000002 , 0x0000029d 
+ 00017459  0x00001ee8 hstore  0x00000002 , 0x0000805e 
+ 00017460  0x00001ee9 branch  0x0000443b 
+ 00017461  0x00001eec set1  0x00000025 , 0x00000000 
+ 00017462  0x00001eed bpatch  0x000000f1 , 0x0000403e 
+ 00017463  0x00001eee fetch  0x00000002 , 0x0000029d 
+ 00017464  0x00001eef branch  0x00003bf1 , 0x00000034 
+ 00017465  0x00001ef0 hstore  0x00000002 , 0x0000805e 
+ 00017466  0x00001ef1 branch  0x0000443b 
+ 00017467  0x00001ef4 setarg  0x00000000 
+ 00017468  0x00001ef5 store  0x00000002 , 0x0000029d 
+ 00017469  0x00001ef6 rtn 
+ 00017470  0x00001ef9 hfetcht  0x00000002 , 0x00008110 
+ 00017471  0x00001efa hfetch  0x00000002 , 0x0000805e 
+ 00017472  0x00001efb isub  0x00000002 , 0x00000011 
+ 00017473  0x00001efc nbranch  0x00004447 , 0x00000002 
+ 00017474  0x00001efd hfetcht  0x00000002 , 0x0000805a 
+ 00017475  0x00001efe hfetch  0x00000002 , 0x0000805c 
+ 00017476  0x00001eff isub  0x00000002 , 0x0000003f 
+ 00017477  0x00001f00 isub  0x00000011 , 0x00000002 
+ 00017478  0x00001f01 rtn 
+ 00017479  0x00001f03 sub  0x00000011 , 0xffffffff , 0x00000002 
+ 00017480  0x00001f04 rtn 
+ 00017481  0x00001f0a set0  0x00000025 , 0x00000000 
+ 00017482  0x00001f0b bpatch  0x000000cd , 0x00004019 
+ 00017483  0x00001f0c fetch  0x00000001 , 0x00004132 
+ 00017484  0x00001f0d rtnne  0x00000001 
+ 00017485  0x00001f0e call  0x000044a3 
+ 00017486  0x00001f0f call  0x00004494 
+ 00017487  0x00001f10 call  0x000043b0 , 0x00000001 
+ 00017488  0x00001f11 call  0x00004494 
+ 00017489  0x00001f12 call  0x000043b7 , 0x00000001 
+ 00017490  0x00001f13 branch  0x000044e6 
+ 00017491  0x00001f14 rtnmark0  0x00000018 
+ 00017492  0x00001f15 force  0x00000000 , 0x00000007 
+ 00017493  0x00001f16 call  0x00007e53 
+ 00017494  0x00001f17 nrtn  0x00000034 
+ 00017495  0x00001f18 call  0x00004472 
+ 00017496  0x00001f19 call  0x00004494 
+ 00017497  0x00001f1a nrtn  0x00000001 
+ 00017498  0x00001f1b set0  0x00000017 , 0x00000000 
+ 00017499  0x00001f1c force  0x000000da , 0x00000002 
+ 00017500  0x00001f1d setarg  0x00ededdc 
+ 00017501  0x00001f1e call  0x0000433c 
+ 00017502  0x00001f1f setarg  0x000007d0 
+ 00017503  0x00001f20 force  0x00000000 , 0x00000007 
+ 00017504  0x00001f21 branch  0x00007e4c 
+ 00017505  0x00001f25 set0  0x00000025 , 0x00000000 
+ 00017506  0x00001f26 bpatch  0x000000ce , 0x00004019 
+ 00017507  0x00001f27 rtn  0x0000002b 
+ 00017508  0x00001f28 setarg  0x00004aed 
+ 00017509  0x00001f29 store  0x00000002 , 0x00004290 
+ 00017510  0x00001f2b setarg  0x000001a0 
+ 00017511  0x00001f2c store  0x00000002 , 0x000042ac 
+ 00017512  0x00001f2e set0  0x00000025 , 0x00000000 
+ 00017513  0x00001f2f bpatch  0x000000cf , 0x00004019 
+ 00017514  0x00001f30 call  0x00006a0d 
+ 00017515  0x00001f31 setarg  0x00001800 
+ 00017516  0x00001f32 hstore  0x00000002 , 0x00008054 
+ 00017517  0x00001f33 setarg  0x00001bff 
+ 00017518  0x00001f34 hstore  0x00000002 , 0x00008056 
+ 00017519  0x00001f35 setarg  0x00001c00 
+ 00017520  0x00001f36 hstore  0x00000002 , 0x0000805a 
+ 00017521  0x00001f37 call  0x00004489 
+ 00017522  0x00001f39 set0  0x00000025 , 0x00000000 
+ 00017523  0x00001f3a bpatch  0x000000d0 , 0x0000401a 
+ 00017524  0x00001f3b hjam  0x00000000 , 0x00008062 
+ 00017525  0x00001f3c jam  0x00000000 , 0x0000028b 
+ 00017526  0x00001f3d jam  0x00000000 , 0x0000028c 
+ 00017527  0x00001f3e jam  0x00000000 , 0x00000294 
+ 00017528  0x00001f3f setarg  0x00001c00 
+ 00017529  0x00001f40 store  0x00000002 , 0x0000028f 
+ 00017530  0x00001f41 store  0x00000002 , 0x0000028d 
+ 00017531  0x00001f42 hstore  0x00000002 , 0x0000805e 
+ 00017532  0x00001f43 hstore  0x00000002 , 0x00008060 
+ 00017533  0x00001f44 setarg  0x00001800 
+ 00017534  0x00001f45 hstore  0x00000002 , 0x00008058 
+ 00017535  0x00001f46 store  0x00000002 , 0x00000289 
+ 00017536  0x00001f48 set0  0x00000025 , 0x00000000 
+ 00017537  0x00001f49 bpatch  0x000000d1 , 0x0000401a 
+ 00017538  0x00001f4a hfetch  0x00000002 , 0x00008050 
+ 00017539  0x00001f4b set0  0x0000000f , 0x0000003f 
+ 00017540  0x00001f4c hstore  0x00000002 , 0x00008050 
+ 00017541  0x00001f4d call  0x00006909 
+ 00017542  0x00001f4e hjam  0x00000001 , 0x00008043 
+ 00017543  0x00001f4f hjam  0x00000081 , 0x00008062 
+ 00017544  0x00001f50 branch  0x00004497 
+ 00017545  0x00001f53 setarg  0x00001fff 
+ 00017546  0x00001f54 hstore  0x00000002 , 0x0000805c 
+ 00017547  0x00001f55 hfetch  0x00000001 , 0x00008081 
+ 00017548  0x00001f56 or_into  0x00000007 , 0x0000003f 
+ 00017549  0x00001f57 hstore  0x00000001 , 0x00008081 
+ 00017550  0x00001f58 jam  0x000000ff , 0x0000029f 
+ 00017551  0x00001f59 rtn 
+ 00017552  0x00001f5c hfetch  0x00000002 , 0x00008116 
+ 00017553  0x00001f5d hstore  0x00000002 , 0x00008058 
+ 00017554  0x00001f5e set1  0x0000001b , 0x00000000 
+ 00017555  0x00001f5f rtn 
+ 00017556  0x00001f63 hfetch  0x00000001 , 0x00008062 
+ 00017557  0x00001f64 isolate1  0x00000003 , 0x0000003f 
+ 00017558  0x00001f65 rtn 
+ 00017559  0x00001f68 setarg  0x00004803 
+ 00017560  0x00001f69 store  0x00000002 , 0x00000295 
+ 00017561  0x00001f6a store  0x00000002 , 0x00000297 
+ 00017562  0x00001f6b force  0x00000001 , 0x00000002 
+ 00017563  0x00001f6c iadd  0x00000002 , 0x0000003f 
+ 00017564  0x00001f6d iadd  0x00000002 , 0x0000003f 
+ 00017565  0x00001f6e increase  0x00000002 , 0x0000003f 
+ 00017566  0x00001f6f store  0x00000002 , 0x00000299 
+ 00017567  0x00001f70 setarg  0x00000000 
+ 00017568  0x00001f71 store  0x00000001 , 0x0000029c 
+ 00017569  0x00001f72 store  0x00000001 , 0x0000029b 
+ 00017570  0x00001f73 rtn 
+ 00017571  0x00001f76 set0  0x00000025 , 0x00000000 
+ 00017572  0x00001f77 bpatch  0x000000d2 , 0x0000401a 
+ 00017573  0x00001f78 hfetch  0x00000001 , 0x0000810c 
+ 00017574  0x00001f79 iforce  0x00000012 
+ 00017575  0x00001f7a bbit0  0x00000003 , 0x000044ad 
+ 00017576  0x00001f7b hfetch  0x00000002 , 0x00008112 
+ 00017577  0x00001f7c iforce  0x00000013 
+ 00017578  0x00001f7d arg  0x0000044f , 0x00000002 
+ 00017579  0x00001f7e isub  0x00000002 , 0x0000003e 
+ 00017580  0x00001f7f nrtn  0x00000005 
+ 00017581  0x00001f81 hfetch  0x00000002 , 0x00008058 
+ 00017582  0x00001f82 iforce  0x00000003 
+ 00017583  0x00001f83 call  0x00004494 
+ 00017584  0x00001f84 branch  0x000042e5 , 0x00000001 
+ 00017585  0x00001f85 branch  0x000043e2 
+ 00017586  0x00001f88 call  0x00004494 
+ 00017587  0x00001f89 branch  0x00004371 , 0x00000001 
+ 00017588  0x00001f8a rtn 
+ 00017589  0x00001f8d hfetcht  0x00000001 , 0x0000810c 
+ 00017590  0x00001f8e isolate1  0x00000006 , 0x00000002 
+ 00017591  0x00001f8f branch  0x000044b5 , 0x00000001 
+ 00017592  0x00001f90 hstore  0x00000001 , 0x00008015 
+ 00017593  0x00001f91 rtn 
+ 00017594  0x00001f95 fetcht  0x00000002 , 0x00000299 
+ 00017595  0x00001f96 fetch  0x00000002 , 0x00000295 
+ 00017596  0x00001f97 iforce  0x00000005 
+ 00017597  0x00001f98 deposit  0x00000003 
+ 00017598  0x00001f99 istore  0x00000002 , 0x00000005 
+ 00017599  0x00001f9a deposit  0x00000005 
+ 00017600  0x00001f9b store  0x00000002 , 0x00000295 
+ 00017601  0x00001f9c icompare  0x000000ff , 0x00000002 
+ 00017602  0x00001f9d call  0x000044c7 , 0x00000001 
+ 00017603  0x00001f9e fetch  0x00000001 , 0x0000029b 
+ 00017604  0x00001f9f increase  0x00000001 , 0x0000003f 
+ 00017605  0x00001fa0 store  0x00000001 , 0x0000029b 
+ 00017606  0x00001fa1 rtn 
+ 00017607  0x00001fa3 setarg  0x00004803 
+ 00017608  0x00001fa4 store  0x00000002 , 0x00000295 
+ 00017609  0x00001fa5 rtn 
+ 00017610  0x00001fa9 fetch  0x00000001 , 0x0000029b 
+ 00017611  0x00001faa rtn  0x00000034 
+ 00017612  0x00001fab fetcht  0x00000002 , 0x00000299 
+ 00017613  0x00001fac fetch  0x00000002 , 0x00000297 
+ 00017614  0x00001fad iforce  0x00000006 
+ 00017615  0x00001fae ifetch  0x00000002 , 0x00000006 
+ 00017616  0x00001faf iforce  0x00000003 
+ 00017617  0x00001fb0 deposit  0x00000006 
+ 00017618  0x00001fb1 store  0x00000002 , 0x00000297 
+ 00017619  0x00001fb2 icompare  0x000000ff , 0x00000002 
+ 00017620  0x00001fb3 call  0x000044da , 0x00000001 
+ 00017621  0x00001fb4 fetch  0x00000001 , 0x0000029b 
+ 00017622  0x00001fb5 increase  0xffffffff , 0x0000003f 
+ 00017623  0x00001fb6 store  0x00000001 , 0x0000029b 
+ 00017624  0x00001fb7 force  0x00000001 , 0x0000003f 
+ 00017625  0x00001fb8 rtn 
+ 00017626  0x00001fba setarg  0x00004803 
+ 00017627  0x00001fbb store  0x00000002 , 0x00000297 
+ 00017628  0x00001fbc rtn 
+ 00017629  0x00001fbf set0  0x00000025 , 0x00000000 
+ 00017630  0x00001fc0 bpatch  0x000000d3 , 0x0000401a 
+ 00017631  0x00001fc1 fetch  0x00000001 , 0x0000029b 
+ 00017632  0x00001fc2 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00017633  0x00001fc3 branch  0x000044e4 , 0x00000002 
+ 00017634  0x00001fc4 enable  0x00000028 
+ 00017635  0x00001fc5 branch  0x000044e6 
+ 00017636  0x00001fc7 call  0x000044b2 
+ 00017637  0x00001fc8 call  0x000044ba 
+ 00017638  0x00001fca set0  0x00000025 , 0x00000000 
+ 00017639  0x00001fcb bpatch  0x000000d4 , 0x0000401a 
+ 00017640  0x00001fcc rtnmark1  0x00000002 
+ 00017641  0x00001fcd call  0x000044ca 
+ 00017642  0x00001fce rtn  0x00000034 
+ 00017643  0x00001fcf ifetcht  0x00000001 , 0x00000003 
+ 00017644  0x00001fd0 call  0x000032f7 
+ 00017645  0x00001fd1 nrtn  0x00000005 
+ 00017646  0x00001fd2 ifetch  0x00000001 , 0x00000003 
+ 00017647  0x00001fd3 rshift4  0x0000003f , 0x0000003f 
+ 00017648  0x00001fd4 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00017649  0x00001fd5 nbranch  0x000044f3 , 0x00000034 
+ 00017650  0x00001fd6 set1  0x00000001 , 0x0000003f 
+ 00017651  0x00001fd8 set1  0x00000002 , 0x0000003f 
+ 00017652  0x00001fd9 store  0x00000001 , 0x00000090 
+ 00017653  0x00001fda ifetch  0x00000002 , 0x00000003 
+ 00017654  0x00001fdb store  0x00000002 , 0x00000091 
+ 00017655  0x00001fdc deposit  0x00000003 
+ 00017656  0x00001fdd store  0x00000002 , 0x00000179 
+ 00017657  0x00001fde set1  0x00000002 , 0x00000000 
+ 00017658  0x00001fdf bmark0  0x00000009 , 0x00004502 
+ 00017659  0x00001fe0 fetch  0x00000001 , 0x00000046 
+ 00017660  0x00001fe1 isub  0x00000002 , 0x0000003e 
+ 00017661  0x00001fe2 nbranch  0x00004502 , 0x00000005 
+ 00017662  0x00001fe3 fetch  0x00000001 , 0x0000004b 
+ 00017663  0x00001fe4 set1  0x00000006 , 0x0000003f 
+ 00017664  0x00001fe5 store  0x00000001 , 0x0000004b 
+ 00017665  0x00001fe6 rtn 
+ 00017666  0x00001fe9 increase  0x0000001b , 0x00000011 
+ 00017667  0x00001fea ifetch  0x00000001 , 0x00000011 
+ 00017668  0x00001feb set1  0x00000006 , 0x0000003f 
+ 00017669  0x00001fec istore  0x00000001 , 0x00000011 
+ 00017670  0x00001fed rtn 
+ 00017671  0x00001ff3 set0  0x00000025 , 0x00000000 
+ 00017672  0x00001ff4 bpatch  0x000000d5 , 0x0000401a 
+ 00017673  0x00001ff5 fetch  0x00000001 , 0x00004272 
+ 00017674  0x00001ff6 branch  0x0000450d , 0x00000034 
+ 00017675  0x00001ff7 enable  0x00000028 
+ 00017676  0x00001ff8 rtn 
+ 00017677  0x00001ffa call  0x000044b2 
+ 00017678  0x00001ffb ifetch  0x00000002 , 0x00000003 
+ 00017679  0x00001ffc iforce  0x00000030 
+ 00017680  0x00001ffd iforce  0x00000007 
+ 00017681  0x00001ffe ifetch  0x00000001 , 0x00000003 
+ 00017682  0x00001fff iforce  0x00000002 
+ 00017683  0x00002000 rshift2  0x00000030 , 0x0000003f 
+ 00017684  0x00002001 rshift8  0x0000003f , 0x0000003f 
+ 00017685  0x00002002 beq  0x00000001 , 0x0000451e 
+ 00017686  0x00002003 beq  0x00000002 , 0x0000453d 
+ 00017687  0x00002004 beq  0x00000003 , 0x0000454f 
+ 00017688  0x00002005 beq  0x00000004 , 0x00004569 
+ 00017689  0x00002006 beq  0x00000005 , 0x00004572 
+ 00017690  0x00002007 beq  0x00000006 , 0x0000457c 
+ 00017691  0x00002008 beq  0x0000003f , 0x00004585 
+ 00017692  0x00002009 beq  0x00000008 , 0x000045e0 
+ 00017693  0x0000200a rtn 
+ 00017694  0x0000200e set0  0x00000025 , 0x00000000 
+ 00017695  0x0000200f bpatch  0x000000d6 , 0x0000401a 
+ 00017696  0x00002010 deposit  0x00000007 
+ 00017697  0x00002011 beq  0x00000001 , 0x00004634 
+ 00017698  0x00002012 beq  0x00000002 , 0x00004643 
+ 00017699  0x00002013 beq  0x00000003 , 0x00004949 
+ 00017700  0x00002014 beq  0x00000004 , 0x00004949 
+ 00017701  0x00002015 beq  0x00000005 , 0x00004645 
+ 00017702  0x00002016 beq  0x00000006 , 0x0000464f 
+ 00017703  0x00002017 beq  0x00000007 , 0x00004949 
+ 00017704  0x00002018 beq  0x00000008 , 0x0000465d 
+ 00017705  0x00002019 beq  0x00000009 , 0x00004739 
+ 00017706  0x0000201a beq  0x0000000a , 0x0000473f 
+ 00017707  0x0000201b beq  0x0000000b , 0x00004664 
+ 00017708  0x0000201c beq  0x0000000c , 0x0000466a 
+ 00017709  0x0000201d beq  0x0000000d , 0x0000466d 
+ 00017710  0x0000201e beq  0x0000000e , 0x00004675 
+ 00017711  0x0000201f beq  0x0000000f , 0x00004743 
+ 00017712  0x00002020 beq  0x00000011 , 0x00004688 
+ 00017713  0x00002021 beq  0x00000013 , 0x0000468b 
+ 00017714  0x00002022 beq  0x00000015 , 0x00004949 
+ 00017715  0x00002023 beq  0x00000017 , 0x00004949 
+ 00017716  0x00002024 beq  0x00000019 , 0x00004690 
+ 00017717  0x00002025 beq  0x0000001b , 0x0000469b 
+ 00017718  0x00002026 beq  0x0000001c , 0x00004696 
+ 00017719  0x00002027 beq  0x0000001d , 0x000046a1 
+ 00017720  0x00002028 beq  0x0000001f , 0x000046a7 
+ 00017721  0x00002029 beq  0x00000028 , 0x000046ab 
+ 00017722  0x0000202a beq  0x00000029 , 0x000046b6 
+ 00017723  0x0000202b beq  0x0000002b , 0x0000467b 
+ 00017724  0x0000202c branch  0x0000474d 
+ 00017725  0x00002030 set0  0x00000025 , 0x00000000 
+ 00017726  0x00002031 bpatch  0x000000d7 , 0x0000401a 
+ 00017727  0x00002032 deposit  0x00000007 
+ 00017728  0x00002033 beq  0x00000009 , 0x000046cc 
+ 00017729  0x00002034 beq  0x0000000d , 0x000046d7 
+ 00017730  0x00002035 beq  0x00000001 , 0x00004949 
+ 00017731  0x00002036 beq  0x00000003 , 0x0000474f 
+ 00017732  0x00002037 beq  0x00000004 , 0x0000475a 
+ 00017733  0x00002038 beq  0x00000005 , 0x00004949 
+ 00017734  0x00002039 beq  0x00000006 , 0x00004949 
+ 00017735  0x0000203a beq  0x00000007 , 0x00004949 
+ 00017736  0x0000203b beq  0x0000000b , 0x00004760 
+ 00017737  0x0000203c beq  0x0000000c , 0x00004949 
+ 00017738  0x0000203d beq  0x0000000e , 0x00004949 
+ 00017739  0x0000203e beq  0x0000000f , 0x00004949 
+ 00017740  0x0000203f beq  0x00000010 , 0x00004949 
+ 00017741  0x00002040 beq  0x00000011 , 0x0000475f 
+ 00017742  0x00002041 branch  0x0000474d 
+ 00017743  0x00002044 set0  0x00000025 , 0x00000000 
+ 00017744  0x00002045 bpatch  0x000000d8 , 0x0000401b 
+ 00017745  0x00002046 deposit  0x00000007 
+ 00017746  0x00002047 beq  0x00000001 , 0x00004725 
+ 00017747  0x00002048 beq  0x00000003 , 0x00004949 
+ 00017748  0x00002049 beq  0x00000012 , 0x000046da 
+ 00017749  0x0000204a beq  0x00000013 , 0x000046c2 
+ 00017750  0x0000204b beq  0x00000014 , 0x000046b8 
+ 00017751  0x0000204c beq  0x00000018 , 0x000046db 
+ 00017752  0x0000204d beq  0x00000019 , 0x00004705 
+ 00017753  0x0000204e beq  0x0000001a , 0x000046de 
+ 00017754  0x0000204f beq  0x0000001c , 0x000046e1 
+ 00017755  0x00002050 beq  0x0000001e , 0x000046e6 
+ 00017756  0x00002051 beq  0x00000020 , 0x000046ec 
+ 00017757  0x00002052 beq  0x00000022 , 0x000046eb 
+ 00017758  0x00002053 beq  0x00000024 , 0x000046ef 
+ 00017759  0x00002054 beq  0x00000026 , 0x00004949 
+ 00017760  0x00002055 beq  0x00000031 , 0x00004949 
+ 00017761  0x00002056 beq  0x00000033 , 0x00004949 
+ 00017762  0x00002057 beq  0x00000035 , 0x0000462e 
+ 00017763  0x00002058 beq  0x00000043 , 0x00004949 
+ 00017764  0x00002059 beq  0x00000045 , 0x00004949 
+ 00017765  0x0000205a beq  0x00000047 , 0x00004949 
+ 00017766  0x0000205b beq  0x00000051 , 0x000046f2 
+ 00017767  0x0000205c beq  0x00000056 , 0x00004701 
+ 00017768  0x0000205d branch  0x0000474d 
+ 00017769  0x00002060 set0  0x00000025 , 0x00000000 
+ 00017770  0x00002061 bpatch  0x000000d9 , 0x0000401b 
+ 00017771  0x00002062 deposit  0x00000007 
+ 00017772  0x00002063 beq  0x00000001 , 0x0000470a 
+ 00017773  0x00002064 beq  0x00000003 , 0x0000470f 
+ 00017774  0x00002065 beq  0x00000004 , 0x00004714 
+ 00017775  0x00002066 beq  0x00000005 , 0x0000471b 
+ 00017776  0x00002067 beq  0x00000009 , 0x00004720 
+ 00017777  0x00002068 branch  0x0000474d 
+ 00017778  0x0000206b set0  0x00000025 , 0x00000000 
+ 00017779  0x0000206c bpatch  0x000000da , 0x0000401b 
+ 00017780  0x0000206d deposit  0x00000007 
+ 00017781  0x0000206e beq  0x00000001 , 0x00004949 
+ 00017782  0x0000206f beq  0x00000002 , 0x00004726 
+ 00017783  0x00002070 beq  0x00000003 , 0x00004727 
+ 00017784  0x00002071 beq  0x00000005 , 0x0000472d 
+ 00017785  0x00002072 beq  0x00000006 , 0x00004733 
+ 00017786  0x00002073 beq  0x00000007 , 0x00004736 
+ 00017787  0x00002074 branch  0x0000474d 
+ 00017788  0x00002077 set0  0x00000025 , 0x00000000 
+ 00017789  0x00002078 bpatch  0x000000db , 0x0000401b 
+ 00017790  0x00002079 deposit  0x00000007 
+ 00017791  0x0000207a beq  0x00000001 , 0x00004949 
+ 00017792  0x0000207b beq  0x00000002 , 0x00004949 
+ 00017793  0x0000207c beq  0x00000003 , 0x00004949 
+ 00017794  0x0000207d beq  0x00000004 , 0x00004949 
+ 00017795  0x0000207e branch  0x0000474d 
+ 00017796  0x0000207f rtn 
+ 00017797  0x00002082 set0  0x00000025 , 0x00000000 
+ 00017798  0x00002083 bpatch  0x000000dc , 0x0000401b 
+ 00017799  0x00002084 deposit  0x00000007 
+ 00017800  0x00002085 beq  0x00000000 , 0x00004949 
+ 00017801  0x00002086 beq  0x00000001 , 0x0000459d 
+ 00017802  0x00002087 beq  0x00000002 , 0x000045a2 
+ 00017803  0x00002088 beq  0x00000003 , 0x000045a6 
+ 00017804  0x00002089 beq  0x00000004 , 0x000045b9 
+ 00017805  0x0000208a beq  0x00000005 , 0x00004949 
+ 00017806  0x0000208b beq  0x00000006 , 0x000045ca 
+ 00017807  0x0000208c beq  0x00000007 , 0x00004593 
+ 00017808  0x0000208e beq  0x00000010 , 0x000045cd 
+ 00017809  0x0000208f beq  0x00000011 , 0x000045d5 
+ 00017810  0x00002090 branch  0x00004949 
+ 00017811  0x00002093 call  0x00004949 
+ 00017812  0x00002094 call  0x00007f68 
+ 00017813  0x00002095 call  0x00006a68 
+ 00017814  0x00002097 call  0x00003f5c 
+ 00017815  0x00002098 call  0x00003f66 
+ 00017816  0x00002099 branch  0x00006a7d 
+ 00017817  0x0000209c jam  0x00000000 , 0x000042ae 
+ 00017818  0x0000209d call  0x00003f5a 
+ 00017819  0x0000209e call  0x00004468 
+ 00017820  0x0000209f branch  0x00003f68 
+ 00017821  0x000020a2 call  0x0000496e 
+ 00017822  0x000020a3 hfetch  0x00000002 , 0x00008000 
+ 00017823  0x000020a4 istore  0x00000002 , 0x0000000a 
+ 00017824  0x000020a5 force  0x00000006 , 0x00000039 
+ 00017825  0x000020a6 branch  0x0000494c 
+ 00017826  0x000020a9 ifetch  0x00000002 , 0x00000003 
+ 00017827  0x000020aa store  0x00000002 , 0x000042ac 
+ 00017828  0x000020ab hstore  0x00000002 , 0x00008052 
+ 00017829  0x000020ac rtn 
+ 00017830  0x000020b0 ifetch  0x00000001 , 0x00000003 
+ 00017831  0x000020b1 copy  0x0000003f , 0x00000002 
+ 00017832  0x000020b2 hstore  0x00000001 , 0x00008024 
+ 00017833  0x000020b3 ifetch  0x00000001 , 0x00000003 
+ 00017834  0x000020b4 iadd  0x00000002 , 0x00000002 
+ 00017835  0x000020b5 set1  0x00000007 , 0x0000003f 
+ 00017836  0x000020b6 hstore  0x00000001 , 0x00008023 
+ 00017837  0x000020b7 ifetch  0x00000001 , 0x00000003 
+ 00017838  0x000020b8 iadd  0x00000002 , 0x00000002 
+ 00017839  0x000020b9 copy  0x0000003f , 0x00000039 
+ 00017840  0x000020bb ifetch  0x00000001 , 0x00000003 
+ 00017841  0x000020bc hstore  0x00000001 , 0x00008025 
+ 00017842  0x000020bd iadd  0x00000002 , 0x00000002 
+ 00017843  0x000020be loop  0x000045b0 
+ 00017844  0x000020bf and  0x00000002 , 0x000000ff , 0x00000002 
+ 00017845  0x000020c0 ifetch  0x00000001 , 0x00000003 
+ 00017846  0x000020c1 isub  0x00000002 , 0x0000003e 
+ 00017847  0x000020c2 nbranch  0x000045c8 , 0x00000005 
+ 00017848  0x000020c3 branch  0x00004949 
+ 00017849  0x000020c6 arg  0x00000020 , 0x00000039 
+ 00017850  0x000020c7 arg  0x00004000 , 0x00000005 
+ 00017851  0x000020c8 arg  0x00000000 , 0x00000002 
+ 00017852  0x000020ca ifetch  0x00000001 , 0x00000003 
+ 00017853  0x000020cb istore  0x00000001 , 0x00000005 
+ 00017854  0x000020cc iadd  0x00000002 , 0x00000002 
+ 00017855  0x000020cd loop  0x000045bc 
+ 00017856  0x000020ce and  0x00000002 , 0x000000ff , 0x00000002 
+ 00017857  0x000020cf ifetch  0x00000001 , 0x00000003 
+ 00017858  0x000020d0 isub  0x00000002 , 0x0000003e 
+ 00017859  0x000020d1 nbranch  0x000045c8 , 0x00000005 
+ 00017860  0x000020d2 hjam  0x00000000 , 0x00008023 
+ 00017861  0x000020d3 call  0x00004949 
+ 00017862  0x000020d4 call  0x0000440e 
+ 00017863  0x000020d5 branch  0x00003001 
+ 00017864  0x000020d8 hjam  0x00000000 , 0x00008023 
+ 00017865  0x000020d9 branch  0x00003000 
+ 00017866  0x000020dc ifetch  0x00000006 , 0x00000003 
+ 00017867  0x000020dd store  0x00000006 , 0x00004140 
+ 00017868  0x000020de branch  0x00004949 
+ 00017869  0x000020e2 ifetch  0x00000001 , 0x00000003 
+ 00017870  0x000020e3 store  0x00000001 , 0x000002c1 
+ 00017871  0x000020e4 copy  0x0000003f , 0x00000039 
+ 00017872  0x000020e5 ifetch  0x00000002 , 0x00000003 
+ 00017873  0x000020e6 store  0x00000002 , 0x000002c2 
+ 00017874  0x000020e7 copy  0x0000003f , 0x00000005 
+ 00017875  0x000020e8 call  0x0000497c 
+ 00017876  0x000020e9 branch  0x00004949 
+ 00017877  0x000020ed ifetch  0x00000001 , 0x00000003 
+ 00017878  0x000020ee store  0x00000001 , 0x000002c1 
+ 00017879  0x000020ef copy  0x0000003f , 0x00000039 
+ 00017880  0x000020f0 ifetch  0x00000002 , 0x00000003 
+ 00017881  0x000020f1 store  0x00000002 , 0x000002c2 
+ 00017882  0x000020f2 arg  0x00001000 , 0x00000005 
+ 00017883  0x000020f3 call  0x0000497c 
+ 00017884  0x000020f4 fetcht  0x00000001 , 0x000002c1 
+ 00017885  0x000020f5 arg  0x00001000 , 0x00000011 
+ 00017886  0x000020f6 fetch  0x00000002 , 0x000002c2 
+ 00017887  0x000020f7 branch  0x00006842 
+ 00017888  0x000020fe set0  0x00000025 , 0x00000000 
+ 00017889  0x000020ff bpatch  0x000000dd , 0x0000401b 
+ 00017890  0x00002100 deposit  0x00000007 
+ 00017891  0x00002101 beq  0x00000001 , 0x00004949 
+ 00017892  0x00002102 beq  0x00000002 , 0x000045f3 
+ 00017893  0x00002103 beq  0x00000003 , 0x000045f8 
+ 00017894  0x00002104 beq  0x00000006 , 0x000045ff 
+ 00017895  0x00002105 beq  0x00000008 , 0x00004603 
+ 00017896  0x00002106 beq  0x00000009 , 0x00004607 
+ 00017897  0x00002107 beq  0x0000000a , 0x0000460b 
+ 00017898  0x00002108 beq  0x0000000b , 0x0000460e 
+ 00017899  0x00002109 beq  0x0000000c , 0x00004611 
+ 00017900  0x0000210a beq  0x0000000d , 0x00004614 
+ 00017901  0x0000210b beq  0x0000000e , 0x00004626 
+ 00017902  0x0000210c beq  0x00000015 , 0x00004627 
+ 00017903  0x0000210d beq  0x00000016 , 0x00004933 
+ 00017904  0x0000210e beq  0x00000013 , 0x00004949 
+ 00017905  0x0000210f branch  0x0000474d 
+ 00017906  0x00002110 rtn 
+ 00017907  0x00002112 call  0x0000496e 
+ 00017908  0x00002113 setarg  0x00000000 
+ 00017909  0x00002114 istore  0x00000003 , 0x0000000a 
+ 00017910  0x00002115 force  0x00000007 , 0x00000039 
+ 00017911  0x00002116 branch  0x0000494c 
+ 00017912  0x00002119 call  0x0000496e 
+ 00017913  0x0000211a setarg  0x00000001 
+ 00017914  0x0000211b istore  0x00000002 , 0x0000000a 
+ 00017915  0x0000211c setarg  0x00000000 
+ 00017916  0x0000211d istore  0x00000006 , 0x0000000a 
+ 00017917  0x0000211e force  0x0000000c , 0x00000039 
+ 00017918  0x0000211f branch  0x0000494c 
+ 00017919  0x00002122 arg  0x0000000f , 0x00000039 
+ 00017920  0x00002123 arg  0x000044d7 , 0x00000005 
+ 00017921  0x00002124 call  0x0000497c 
+ 00017922  0x00002125 branch  0x00004949 
+ 00017923  0x00002128 arg  0x00000020 , 0x00000039 
+ 00017924  0x00002129 arg  0x000043d9 , 0x00000005 
+ 00017925  0x0000212a call  0x0000497c 
+ 00017926  0x0000212b branch  0x00004949 
+ 00017927  0x0000212e arg  0x00000020 , 0x00000039 
+ 00017928  0x0000212f arg  0x000043f9 , 0x00000005 
+ 00017929  0x00002130 call  0x0000497c 
+ 00017930  0x00002131 branch  0x00004949 
+ 00017931  0x00002134 ifetch  0x00000001 , 0x00000003 
+ 00017932  0x00002135 store  0x00000001 , 0x000043d8 
+ 00017933  0x00002136 branch  0x00004949 
+ 00017934  0x00002139 ifetch  0x00000007 , 0x00000003 
+ 00017935  0x0000213a store  0x00000007 , 0x000044f6 
+ 00017936  0x0000213b branch  0x00004949 
+ 00017937  0x0000213e ifetch  0x00000001 , 0x00000003 
+ 00017938  0x0000213f store  0x00000001 , 0x000043d2 
+ 00017939  0x00002140 branch  0x00004949 
+ 00017940  0x00002143 ifetch  0x00000004 , 0x00000003 
+ 00017941  0x00002144 store  0x00000004 , 0x000043d3 
+ 00017942  0x00002145 ifetch  0x00000001 , 0x00000003 
+ 00017943  0x00002146 store  0x00000001 , 0x000044f8 
+ 00017944  0x00002147 arg  0x00000014 , 0x00000039 
+ 00017945  0x00002148 arg  0x000044e6 , 0x00000005 
+ 00017946  0x00002149 call  0x0000497c 
+ 00017947  0x0000214a jam  0x00000001 , 0x000043d2 
+ 00017948  0x0000214b fetch  0x00000001 , 0x000044ed 
+ 00017949  0x0000214c store  0x00000001 , 0x000044f7 
+ 00017950  0x0000214d fetch  0x00000002 , 0x000044f0 
+ 00017951  0x0000214e store  0x00000002 , 0x000043d0 
+ 00017952  0x0000214f fetch  0x00000002 , 0x000044f2 
+ 00017953  0x00002150 store  0x00000002 , 0x000003ed 
+ 00017954  0x00002151 fetch  0x00000002 , 0x000044f4 
+ 00017955  0x00002152 store  0x00000002 , 0x000003ef 
+ 00017956  0x00002153 jam  0x0000001b , 0x00004272 
+ 00017957  0x00002154 branch  0x00004933 
+ 00017958  0x00002158 branch  0x00004949 
+ 00017959  0x0000215b call  0x0000496e 
+ 00017960  0x0000215c ifetch  0x00000002 , 0x00000003 
+ 00017961  0x0000215d istore  0x00000002 , 0x0000000a 
+ 00017962  0x0000215e setarg  0x001fffff 
+ 00017963  0x0000215f istore  0x00000005 , 0x0000000a 
+ 00017964  0x00002160 force  0x0000000b , 0x00000039 
+ 00017965  0x00002161 branch  0x0000494c 
+ 00017966  0x00002167 ifetch  0x00000003 , 0x00000003 
+ 00017967  0x00002168 ifetcht  0x00000003 , 0x00000003 
+ 00017968  0x00002169 fetch  0x00000002 , 0x00004800 
+ 00017969  0x0000216a iadd  0x00000002 , 0x0000003f 
+ 00017970  0x0000216b store  0x00000002 , 0x00004800 
+ 00017971  0x0000216c rtn 
+ 00017972  0x0000216f ifetch  0x00000003 , 0x00000003 
+ 00017973  0x00002170 store  0x00000003 , 0x00004147 
+ 00017974  0x00002172 jam  0x00000001 , 0x00004272 
+ 00017975  0x00002173 ifetch  0x00000001 , 0x00000003 
+ 00017976  0x00002174 arg  0x00000640 , 0x00000002 
+ 00017977  0x00002175 imul32  0x00000002 , 0x0000003f 
+ 00017978  0x00002176 arg  0x0000ffff , 0x00000002 
+ 00017979  0x00002177 isub  0x00000002 , 0x0000003e 
+ 00017980  0x00002178 nbranch  0x0000463e , 0x00000002 
+ 00017981  0x00002179 deposit  0x00000002 
+ 00017982  0x0000217b force  0x00000002 , 0x00000007 
+ 00017983  0x0000217c call  0x00007e4c 
+ 00017984  0x0000217d fetch  0x00000001 , 0x000042a4 
+ 00017985  0x0000217e bbit1  0x00000000 , 0x0000428c 
+ 00017986  0x0000217f branch  0x00004933 
+ 00017987  0x00002183 jam  0x00000002 , 0x00004272 
+ 00017988  0x00002184 branch  0x00004949 
+ 00017989  0x00002187 call  0x00004763 
+ 00017990  0x00002188 ifetch  0x00000002 , 0x00000003 
+ 00017991  0x00002189 store  0x00000002 , 0x00000275 
+ 00017992  0x0000218a ifetch  0x00000002 , 0x00000003 
+ 00017993  0x0000218b store  0x00000001 , 0x000000f3 
+ 00017994  0x0000218c call  0x00004776 
+ 00017995  0x0000218d ifetch  0x00000001 , 0x00000003 
+ 00017996  0x0000218e store  0x00000001 , 0x00004802 
+ 00017997  0x0000218f jam  0x00000005 , 0x00004272 
+ 00017998  0x00002190 branch  0x00004933 
+ 00017999  0x00002194 jam  0x00000006 , 0x00004272 
+ 00018000  0x00002195 ifetch  0x00000002 , 0x00000003 
+ 00018001  0x00002196 store  0x00000001 , 0x00004273 
+ 00018002  0x00002197 ifetch  0x00000001 , 0x00000003 
+ 00018003  0x00002198 store  0x00000001 , 0x00000446 
+ 00018004  0x00002199 jam  0x00000016 , 0x000002c0 
+ 00018005  0x0000219a fetch  0x00000001 , 0x00004273 
+ 00018006  0x0000219b fetcht  0x00000001 , 0x000000ad 
+ 00018007  0x0000219c isub  0x00000002 , 0x0000003e 
+ 00018008  0x0000219d nbranch  0x00004933 , 0x00000005 
+ 00018009  0x0000219e jam  0x00000011 , 0x00004272 
+ 00018010  0x0000219f fetch  0x00000001 , 0x000000ac 
+ 00018011  0x000021a0 store  0x00000001 , 0x00004273 
+ 00018012  0x000021a1 branch  0x00004933 
+ 00018013  0x000021a4 call  0x0000496e 
+ 00018014  0x000021a5 call  0x00004965 
+ 00018015  0x000021a6 force  0x0000000a , 0x00000039 
+ 00018016  0x000021a7 call  0x0000494c 
+ 00018017  0x000021a9 jam  0x0000001a , 0x00004272 
+ 00018018  0x000021aa force  0x00000002 , 0x00000002 
+ 00018019  0x000021ab branch  0x00004826 
+ 00018020  0x000021ae call  0x00004763 
+ 00018021  0x000021af arg  0x00004262 , 0x00000005 
+ 00018022  0x000021b0 force  0x00000010 , 0x00000039 
+ 00018023  0x000021b1 call  0x0000497c 
+ 00018024  0x000021b2 jam  0x0000000b , 0x00004272 
+ 00018025  0x000021b3 branch  0x00004677 
+ 00018026  0x000021b6 call  0x00004763 
+ 00018027  0x000021b7 jam  0x0000000c , 0x00004272 
+ 00018028  0x000021b8 branch  0x00004677 
+ 00018029  0x000021bb call  0x00004763 
+ 00018030  0x000021bc ifetch  0x00000001 , 0x00000003 
+ 00018031  0x000021bd store  0x00000001 , 0x0000054f 
+ 00018032  0x000021be iforce  0x00000039 
+ 00018033  0x000021bf arg  0x00000550 , 0x00000005 
+ 00018034  0x000021c0 call  0x0000497c 
+ 00018035  0x000021c1 jam  0x00000009 , 0x00004272 
+ 00018036  0x000021c2 branch  0x00004677 
+ 00018037  0x000021c5 call  0x00004763 
+ 00018038  0x000021c6 jam  0x0000000a , 0x00004272 
+ 00018039  0x000021c8 call  0x0000496e 
+ 00018040  0x000021c9 call  0x00004965 
+ 00018041  0x000021ca force  0x0000000a , 0x00000039 
+ 00018042  0x000021cb branch  0x0000494c 
+ 00018043  0x000021cf increase  0x00000006 , 0x00000003 
+ 00018044  0x000021d0 ifetch  0x00000003 , 0x00000003 
+ 00018045  0x000021d1 store  0x00000003 , 0x000007e6 
+ 00018046  0x000021d2 fetch  0x00000001 , 0x000007db 
+ 00018047  0x000021d3 beq  0x00000013 , 0x00004683 
+ 00018048  0x000021d4 beq  0x00000003 , 0x00004683 
+ 00018049  0x000021d5 jam  0x00000016 , 0x00004272 
+ 00018050  0x000021d6 branch  0x00004684 
+ 00018051  0x000021d8 jam  0x00000001 , 0x000007dd 
+ 00018052  0x000021da call  0x0000496e 
+ 00018053  0x000021db call  0x00004965 
+ 00018054  0x000021dc force  0x0000000a , 0x00000039 
+ 00018055  0x000021dd branch  0x0000494c 
+ 00018056  0x000021e1 call  0x00004766 
+ 00018057  0x000021e2 jam  0x0000000d , 0x00004272 
+ 00018058  0x000021e3 branch  0x00004933 
+ 00018059  0x000021e6 call  0x00004766 
+ 00018060  0x000021e7 ifetch  0x00000001 , 0x00000003 
+ 00018061  0x000021e8 increase  0x0000000e , 0x0000003f 
+ 00018062  0x000021e9 store  0x00000001 , 0x00004272 
+ 00018063  0x000021ea branch  0x00004933 
+ 00018064  0x000021ed call  0x00004763 
+ 00018065  0x000021ee ifetch  0x00000002 , 0x00000003 
+ 00018066  0x000021ef store  0x00000001 , 0x000000f3 
+ 00018067  0x000021f0 call  0x00004776 
+ 00018068  0x000021f1 jam  0x00000003 , 0x00004272 
+ 00018069  0x000021f2 branch  0x00004933 
+ 00018070  0x000021f5 ifetch  0x00000002 , 0x00000003 
+ 00018071  0x000021f6 ifetch  0x00000001 , 0x00000003 
+ 00018072  0x000021f7 store  0x00000001 , 0x00000449 
+ 00018073  0x000021f8 jam  0x00000015 , 0x00004272 
+ 00018074  0x000021f9 branch  0x00004933 
+ 00018075  0x000021fd fetch  0x00000001 , 0x00000046 
+ 00018076  0x000021fe force  0x00000002 , 0x00000011 
+ 00018077  0x000021ff branch  0x0000493d , 0x00000034 
+ 00018078  0x00002200 call  0x00004766 
+ 00018079  0x00002201 jam  0x00000004 , 0x00004272 
+ 00018080  0x00002202 branch  0x00004933 
+ 00018081  0x00002207 fetch  0x00000001 , 0x00000046 
+ 00018082  0x00002208 force  0x00000002 , 0x00000011 
+ 00018083  0x00002209 branch  0x0000493d , 0x00000034 
+ 00018084  0x0000220a call  0x00004766 
+ 00018085  0x0000220b jam  0x00000014 , 0x00004272 
+ 00018086  0x0000220c branch  0x00004933 
+ 00018087  0x00002210 call  0x0000476e 
+ 00018088  0x00002211 force  0x0000001c , 0x00000007 
+ 00018089  0x00002212 force  0x00000005 , 0x00000039 
+ 00018090  0x00002213 branch  0x00004952 
+ 00018091  0x00002216 call  0x00004766 
+ 00018092  0x00002217 increase  0x0000000a , 0x00000003 
+ 00018093  0x00002218 ifetch  0x00000002 , 0x00000003 
+ 00018094  0x00002219 store  0x00000002 , 0x00000281 
+ 00018095  0x0000221a ifetch  0x00000001 , 0x00000003 
+ 00018096  0x0000221b store  0x00000001 , 0x00000283 
+ 00018097  0x0000221c ifetch  0x00000002 , 0x00000003 
+ 00018098  0x0000221d store  0x00000002 , 0x00000284 
+ 00018099  0x0000221e jam  0x00000002 , 0x000000ab 
+ 00018100  0x0000221f jam  0x00000010 , 0x00004272 
+ 00018101  0x00002220 branch  0x00004933 
+ 00018102  0x00002223 jam  0x0000001c , 0x00004272 
+ 00018103  0x00002224 branch  0x00004933 
+ 00018104  0x00002229 call  0x0000496e 
+ 00018105  0x0000222a arg  0x00004703 , 0x00000006 
+ 00018106  0x0000222b sub  0x00000006 , 0x000000ff , 0x00000039 
+ 00018107  0x0000222c call  0x00004976 
+ 00018108  0x0000222d force  0x00000000 , 0x0000003f 
+ 00018109  0x0000222e sub  0x00000006 , 0x00004703 , 0x00000039 
+ 00018110  0x0000222f increase  0x000000f8 , 0x00000039 
+ 00018111  0x00002230 call  0x00004982 
+ 00018112  0x00002231 force  0x000000fc , 0x00000039 
+ 00018113  0x00002232 branch  0x0000494c 
+ 00018114  0x00002235 arg  0x00004703 , 0x00000005 
+ 00018115  0x00002236 sub  0x00000005 , 0x000000ff , 0x00000039 
+ 00018116  0x00002238 ifetch  0x00000001 , 0x00000003 
+ 00018117  0x00002239 istore  0x00000001 , 0x00000005 
+ 00018118  0x0000223a branch  0x000046c8 , 0x00000034 
+ 00018119  0x0000223b loop  0x000046c4 
+ 00018120  0x0000223d sub  0x00000005 , 0x00004703 , 0x0000003f 
+ 00018121  0x0000223e sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018122  0x0000223f store  0x00000001 , 0x00004702 
+ 00018123  0x00002240 branch  0x00004949 
+ 00018124  0x00002243 call  0x0000496e 
+ 00018125  0x00002244 call  0x0000496b 
+ 00018126  0x00002245 force  0x00000000 , 0x0000003f 
+ 00018127  0x00002246 nsetflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00018128  0x00002247 istore  0x00000001 , 0x0000000a 
+ 00018129  0x00002248 force  0x00000007 , 0x00000039 
+ 00018130  0x00002249 arg  0x00000809 , 0x00000030 
+ 00018131  0x0000224a call  0x0000494c 
+ 00018132  0x0000224b branch  0x000049bc 
+ 00018133  0x0000224c jam  0x00000017 , 0x00004272 
+ 00018134  0x0000224d rtn 
+ 00018135  0x00002251 call  0x00004769 
+ 00018136  0x00002252 force  0x00000006 , 0x00000039 
+ 00018137  0x00002253 branch  0x0000494c 
+ 00018138  0x00002257 branch  0x00004949 
+ 00018139  0x0000225a ifetch  0x00000002 , 0x00000003 
+ 00018140  0x0000225b store  0x00000002 , 0x00004159 
+ 00018141  0x0000225c branch  0x00004949 
+ 00018142  0x00002260 ifetch  0x00000001 , 0x00000003 
+ 00018143  0x00002261 store  0x00000001 , 0x00004133 
+ 00018144  0x00002262 branch  0x00004949 
+ 00018145  0x00002265 ifetch  0x00000002 , 0x00000003 
+ 00018146  0x00002266 store  0x00000002 , 0x00004153 
+ 00018147  0x00002267 ifetch  0x00000002 , 0x00000003 
+ 00018148  0x00002268 store  0x00000002 , 0x00004151 
+ 00018149  0x00002269 branch  0x00004949 
+ 00018150  0x0000226c ifetch  0x00000002 , 0x00000003 
+ 00018151  0x0000226d store  0x00000002 , 0x0000414f 
+ 00018152  0x0000226e ifetch  0x00000002 , 0x00000003 
+ 00018153  0x0000226f store  0x00000002 , 0x0000414d 
+ 00018154  0x00002270 branch  0x00004949 
+ 00018155  0x00002273 branch  0x00004949 
+ 00018156  0x00002277 ifetch  0x00000001 , 0x00000003 
+ 00018157  0x00002278 store  0x00000001 , 0x00000453 
+ 00018158  0x00002279 branch  0x00004949 
+ 00018159  0x0000227c ifetch  0x00000003 , 0x00000003 
+ 00018160  0x0000227d store  0x00000003 , 0x0000414a 
+ 00018161  0x0000227e branch  0x00004949 
+ 00018162  0x00002284 deposit  0x00000002 
+ 00018163  0x00002285 branch  0x00004949 , 0x00000034 
+ 00018164  0x00002286 call  0x00004970 
+ 00018165  0x00002287 force  0x00000001 , 0x0000003f 
+ 00018166  0x00002288 istore  0x00000001 , 0x0000000a 
+ 00018167  0x00002289 deposit  0x00000030 
+ 00018168  0x0000228a istore  0x00000002 , 0x0000000a 
+ 00018169  0x0000228b force  0x00000012 , 0x0000003f 
+ 00018170  0x0000228c istore  0x00000001 , 0x0000000a 
+ 00018171  0x0000228d setarg  0x00000000 
+ 00018172  0x0000228e increase  0x000000f1 , 0x00000039 
+ 00018173  0x0000228f call  0x00004982 
+ 00018174  0x00002291 force  0x0000000e , 0x00000007 
+ 00018175  0x00002292 force  0x000000f5 , 0x00000039 
+ 00018176  0x00002293 branch  0x00004952 
+ 00018177  0x00002298 ifetch  0x00000001 , 0x00000003 
+ 00018178  0x00002299 ncall  0x00006003 , 0x00000034 
+ 00018179  0x0000229a call  0x00006009 , 0x00000034 
+ 00018180  0x0000229b branch  0x00004949 
+ 00018181  0x0000229e call  0x0000496e 
+ 00018182  0x0000229f fetch  0x00000001 , 0x00004133 
+ 00018183  0x000022a0 istore  0x00000001 , 0x0000000a 
+ 00018184  0x000022a1 force  0x00000005 , 0x00000039 
+ 00018185  0x000022a2 branch  0x0000494c 
+ 00018186  0x000022a5 call  0x0000496e 
+ 00018187  0x000022a6 fetch  0x00000008 , 0x00000080 
+ 00018188  0x000022a7 istore  0x00000008 , 0x0000000a 
+ 00018189  0x000022a8 force  0x0000000c , 0x00000039 
+ 00018190  0x000022a9 branch  0x0000494c 
+ 00018191  0x000022ac call  0x0000496e 
+ 00018192  0x000022ad fetch  0x00000008 , 0x00004138 
+ 00018193  0x000022ae istore  0x00000008 , 0x0000000a 
+ 00018194  0x000022af force  0x0000000c , 0x00000039 
+ 00018195  0x000022b0 branch  0x0000494c 
+ 00018196  0x000022b3 call  0x0000496e 
+ 00018197  0x000022b4 setarg  0x00000101 
+ 00018198  0x000022b5 istore  0x00000002 , 0x0000000a 
+ 00018199  0x000022b6 setarg  0x00000001 
+ 00018200  0x000022b7 istore  0x00000008 , 0x0000000a 
+ 00018201  0x000022b8 force  0x0000000e , 0x00000039 
+ 00018202  0x000022b9 branch  0x0000494c 
+ 00018203  0x000022bc call  0x0000496e 
+ 00018204  0x000022bd fetch  0x00000007 , 0x00000083 
+ 00018205  0x000022be istore  0x00000007 , 0x0000000a 
+ 00018206  0x000022bf force  0x0000000b , 0x00000039 
+ 00018207  0x000022c0 branch  0x0000494c 
+ 00018208  0x000022c3 call  0x0000496e 
+ 00018209  0x000022c4 fetch  0x00000006 , 0x00004140 
+ 00018210  0x000022c5 istore  0x00000006 , 0x0000000a 
+ 00018211  0x000022c6 force  0x0000000a , 0x00000039 
+ 00018212  0x000022c7 branch  0x0000494c 
+ 00018213  0x000022ca branch  0x00004949 
+ 00018214  0x000022ce branch  0x00004949 
+ 00018215  0x000022d0 call  0x0000496e 
+ 00018216  0x000022d1 call  0x0000496b 
+ 00018217  0x000022d2 setarg  0x000000ff 
+ 00018218  0x000022d3 istore  0x00000001 , 0x0000000a 
+ 00018219  0x000022d4 force  0x00000007 , 0x00000039 
+ 00018220  0x000022d5 branch  0x0000494c 
+ 00018221  0x000022d8 call  0x0000496e 
+ 00018222  0x000022d9 call  0x0000496b 
+ 00018223  0x000022da setarg  0x00000000 
+ 00018224  0x000022db istore  0x00000001 , 0x0000000a 
+ 00018225  0x000022dc force  0x00000007 , 0x00000039 
+ 00018226  0x000022dd branch  0x0000494c 
+ 00018227  0x000022e0 set0  0x00000025 , 0x00000000 
+ 00018228  0x000022e1 bpatch  0x000000de , 0x0000401b 
+ 00018229  0x000022e2 branch  0x00004949 
+ 00018230  0x000022e4 set0  0x00000025 , 0x00000000 
+ 00018231  0x000022e5 bpatch  0x000000df , 0x0000401b 
+ 00018232  0x000022e6 branch  0x00004949 
+ 00018233  0x000022ec call  0x00004763 
+ 00018234  0x000022ed jam  0x00000007 , 0x00004272 
+ 00018235  0x000022ee ifetch  0x00000001 , 0x00000003 
+ 00018236  0x000022ef beq  0x00000001 , 0x00004933 
+ 00018237  0x000022f0 jam  0x00000019 , 0x00004272 
+ 00018238  0x000022f1 branch  0x00004933 
+ 00018239  0x000022f4 branch  0x00004739 
+ 00018240  0x000022f5 call  0x00004763 
+ 00018241  0x000022f6 jam  0x00000008 , 0x00004272 
+ 00018242  0x000022f7 branch  0x00004949 
+ 00018243  0x000022fa call  0x00004933 
+ 00018244  0x000022fb call  0x00004970 
+ 00018245  0x000022fc setarg  0x00000000 
+ 00018246  0x000022fd istore  0x00000001 , 0x0000000a 
+ 00018247  0x000022fe ifetch  0x00000004 , 0x00000003 
+ 00018248  0x000022ff istore  0x00000004 , 0x0000000a 
+ 00018249  0x00002300 force  0x00000008 , 0x00000039 
+ 00018250  0x00002301 arg  0x0000001d , 0x00000007 
+ 00018251  0x00002302 arg  0x00000005 , 0x00000039 
+ 00018252  0x00002303 branch  0x00004952 
+ 00018253  0x00002306 force  0x00000001 , 0x00000011 
+ 00018254  0x00002307 branch  0x0000493d 
+ 00018255  0x0000230c call  0x00004766 
+ 00018256  0x0000230d ifetch  0x00000002 , 0x00000003 
+ 00018257  0x0000230e store  0x00000002 , 0x00004280 
+ 00018258  0x0000230f ifetch  0x00000002 , 0x00000003 
+ 00018259  0x00002310 store  0x00000002 , 0x0000027b 
+ 00018260  0x00002311 ifetch  0x00000002 , 0x00000003 
+ 00018261  0x00002312 store  0x00000002 , 0x00004282 
+ 00018262  0x00002313 ifetch  0x00000002 , 0x00000003 
+ 00018263  0x00002314 store  0x00000002 , 0x00004284 
+ 00018264  0x00002315 jam  0x00000012 , 0x00004272 
+ 00018265  0x00002316 branch  0x00004933 
+ 00018266  0x00002319 call  0x00004766 
+ 00018267  0x0000231a call  0x0000475d 
+ 00018268  0x0000231b branch  0x00004933 
+ 00018269  0x0000231e jam  0x00000013 , 0x00004272 
+ 00018270  0x0000231f rtn 
+ 00018271  0x00002322 branch  0x00004949 
+ 00018272  0x00002325 call  0x00004763 
+ 00018273  0x00002326 jam  0x00000018 , 0x00004272 
+ 00018274  0x00002327 branch  0x00004933 
+ 00018275  0x0000232a ifetch  0x00000006 , 0x00000003 
+ 00018276  0x0000232b store  0x00000006 , 0x00004274 
+ 00018277  0x0000232c rtn 
+ 00018278  0x0000232f ifetch  0x00000002 , 0x00000003 
+ 00018279  0x00002330 store  0x00000001 , 0x00004273 
+ 00018280  0x00002331 rtn 
+ 00018281  0x00002334 call  0x00004766 
+ 00018282  0x00002335 call  0x0000496e 
+ 00018283  0x00002336 fetch  0x00000001 , 0x00004273 
+ 00018284  0x00002337 istore  0x00000002 , 0x0000000a 
+ 00018285  0x00002338 rtn 
+ 00018286  0x0000233d call  0x00004766 
+ 00018287  0x0000233e call  0x00004933 
+ 00018288  0x0000233f call  0x00004970 
+ 00018289  0x00002340 force  0x00000000 , 0x0000003f 
+ 00018290  0x00002341 istore  0x00000001 , 0x0000000a 
+ 00018291  0x00002342 fetch  0x00000001 , 0x00004273 
+ 00018292  0x00002343 istore  0x00000002 , 0x0000000a 
+ 00018293  0x00002344 rtn 
+ 00018294  0x00002347 ifetch  0x00000002 , 0x00000003 
+ 00018295  0x00002348 iadd  0x00000022 , 0x0000003f 
+ 00018296  0x00002349 and_into  0x000001fc , 0x0000003f 
+ 00018297  0x0000234a store  0x00000004 , 0x000000f4 
+ 00018298  0x0000234b rtn 
+ 00018299  0x0000234e set0  0x00000025 , 0x00000000 
+ 00018300  0x0000234f bpatch  0x000000e0 , 0x0000401c 
+ 00018301  0x00002350 fetch  0x00000001 , 0x00000274 
+ 00018302  0x00002351 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00018303  0x00002352 nrtn  0x00000002 
+ 00018304  0x00002353 fetcht  0x00000006 , 0x00000182 
+ 00018305  0x00002354 call  0x000032fc 
+ 00018306  0x00002355 rtn  0x00000005 
+ 00018307  0x00002356 call  0x00004972 
+ 00018308  0x00002357 setarg  0x00010f22 
+ 00018309  0x00002358 istore  0x00000003 , 0x0000000a 
+ 00018310  0x00002359 fetch  0x00000006 , 0x00000182 
+ 00018311  0x0000235a istore  0x00000006 , 0x0000000a 
+ 00018312  0x0000235b fetch  0x00000001 , 0x0000017d 
+ 00018313  0x0000235c copy  0x0000003f , 0x00000002 
+ 00018314  0x0000235d rshift3  0x0000003f , 0x0000003f 
+ 00018315  0x0000235e rshift3  0x0000003f , 0x0000003f 
+ 00018316  0x0000235f istore  0x00000001 , 0x0000000a 
+ 00018317  0x00002360 copy  0x00000002 , 0x0000003f 
+ 00018318  0x00002361 and  0x0000003f , 0x00000030 , 0x0000003f 
+ 00018319  0x00002362 rshift3  0x0000003f , 0x0000003f 
+ 00018320  0x00002363 rshift  0x0000003f , 0x0000003f 
+ 00018321  0x00002364 istore  0x00000001 , 0x0000000a 
+ 00018322  0x00002365 fetch  0x00000003 , 0x0000017f 
+ 00018323  0x00002366 istore  0x00000003 , 0x0000000a 
+ 00018324  0x00002367 fetch  0x00000004 , 0x0000016f 
+ 00018325  0x00002368 isub  0x00000022 , 0x0000003f 
+ 00018326  0x00002369 istore  0x00000002 , 0x0000000a 
+ 00018327  0x0000236a setarg  0x000000c8 
+ 00018328  0x0000236b istore  0x00000001 , 0x0000000a 
+ 00018329  0x0000236c force  0x0000000f , 0x00000039 
+ 00018330  0x0000236d branch  0x00004959 
+ 00018331  0x00002370 set0  0x00000025 , 0x00000000 
+ 00018332  0x00002371 bpatch  0x000000e1 , 0x0000401c 
+ 00018333  0x00002372 force  0x0000021c , 0x00000002 
+ 00018334  0x00002373 fetch  0x00000002 , 0x00000291 
+ 00018335  0x00002374 isub  0x00000002 , 0x0000003e 
+ 00018336  0x00002375 nrtn  0x00000002 
+ 00018337  0x00002376 fetcht  0x00000003 , 0x00000286 
+ 00018338  0x00002377 fetch  0x00000003 , 0x00000185 
+ 00018339  0x00002378 isub  0x00000002 , 0x0000003e 
+ 00018340  0x00002379 rtn  0x00000005 
+ 00018341  0x0000237a rtn  0x00000034 
+ 00018342  0x0000237b store  0x00000003 , 0x00000286 
+ 00018343  0x0000237c fetch  0x00000001 , 0x00000274 
+ 00018344  0x0000237d sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00018345  0x0000237e nrtn  0x00000002 
+ 00018346  0x0000237f fetcht  0x00000006 , 0x00000182 
+ 00018347  0x00002380 call  0x000032fc 
+ 00018348  0x00002381 rtn  0x00000005 
+ 00018349  0x00002382 call  0x000047cc 
+ 00018350  0x00002383 force  0x0000000f , 0x00000002 
+ 00018351  0x00002384 fetch  0x00000001 , 0x000004df 
+ 00018352  0x00002385 bne  0x00000009 , 0x000047c5 
+ 00018353  0x00002386 fetch  0x00000001 , 0x000004de 
+ 00018354  0x00002387 branch  0x000047c5 , 0x00000034 
+ 00018355  0x00002388 iforce  0x00000039 
+ 00018356  0x00002389 istore  0x00000001 , 0x0000000a 
+ 00018357  0x0000238a iadd  0x00000002 , 0x00000002 
+ 00018358  0x0000238b increase  0x00000001 , 0x00000002 
+ 00018359  0x0000238c arg  0x000004df , 0x00000006 
+ 00018360  0x0000238f ifetch  0x00000001 , 0x00000006 
+ 00018361  0x00002390 istore  0x00000001 , 0x0000000a 
+ 00018362  0x00002391 loop  0x000047b8 
+ 00018363  0x00002393 ifetch  0x00000001 , 0x00000006 
+ 00018364  0x00002394 branch  0x000047c5 , 0x00000034 
+ 00018365  0x00002395 iforce  0x00000039 
+ 00018366  0x00002396 istore  0x00000001 , 0x0000000a 
+ 00018367  0x00002397 iadd  0x00000002 , 0x00000002 
+ 00018368  0x00002398 increase  0x00000001 , 0x00000002 
+ 00018369  0x0000239a ifetch  0x00000001 , 0x00000006 
+ 00018370  0x0000239b istore  0x00000001 , 0x0000000a 
+ 00018371  0x0000239c loop  0x000047c1 
+ 00018372  0x0000239d branch  0x000047bb 
+ 00018373  0x0000239f sub  0x00000002 , 0x000000ff , 0x0000003f 
+ 00018374  0x000023a0 iforce  0x00000039 
+ 00018375  0x000023a2 setarg  0x00000000 
+ 00018376  0x000023a3 istore  0x00000001 , 0x0000000a 
+ 00018377  0x000023a4 loop  0x000047c7 
+ 00018378  0x000023a5 force  0x000000ff , 0x00000039 
+ 00018379  0x000023a6 branch  0x00004959 
+ 00018380  0x000023a9 set0  0x00000025 , 0x00000000 
+ 00018381  0x000023aa bpatch  0x000000e2 , 0x0000401c 
+ 00018382  0x000023ab call  0x00004972 
+ 00018383  0x000023ac setarg  0x0001ff2f 
+ 00018384  0x000023ad istore  0x00000003 , 0x0000000a 
+ 00018385  0x000023ae fetch  0x00000006 , 0x00000182 
+ 00018386  0x000023af istore  0x00000006 , 0x0000000a 
+ 00018387  0x000023b0 fetch  0x00000001 , 0x0000017d 
+ 00018388  0x000023b1 copy  0x0000003f , 0x00000002 
+ 00018389  0x000023b2 rshift3  0x0000003f , 0x0000003f 
+ 00018390  0x000023b3 rshift3  0x0000003f , 0x0000003f 
+ 00018391  0x000023b4 istore  0x00000001 , 0x0000000a 
+ 00018392  0x000023b5 copy  0x00000002 , 0x0000003f 
+ 00018393  0x000023b6 and  0x0000003f , 0x00000030 , 0x0000003f 
+ 00018394  0x000023b7 rshift3  0x0000003f , 0x0000003f 
+ 00018395  0x000023b8 rshift  0x0000003f , 0x0000003f 
+ 00018396  0x000023b9 istore  0x00000001 , 0x0000000a 
+ 00018397  0x000023ba fetch  0x00000003 , 0x0000017f 
+ 00018398  0x000023bb istore  0x00000003 , 0x0000000a 
+ 00018399  0x000023bc fetch  0x00000004 , 0x0000016f 
+ 00018400  0x000023bd isub  0x00000022 , 0x0000003f 
+ 00018401  0x000023be istore  0x00000002 , 0x0000000a 
+ 00018402  0x000023bf setarg  0x000000c8 
+ 00018403  0x000023c0 istore  0x00000001 , 0x0000000a 
+ 00018404  0x000023c1 rtn 
+ 00018405  0x000023c4 set0  0x00000025 , 0x00000000 
+ 00018406  0x000023c5 bpatch  0x000000e3 , 0x0000401c 
+ 00018407  0x000023c6 fetch  0x00000001 , 0x00004132 
+ 00018408  0x000023c7 rtnne  0x00000001 
+ 00018409  0x000023c8 call  0x00004968 
+ 00018410  0x000023c9 istoret  0x00000008 , 0x0000000a 
+ 00018411  0x000023ca force  0x0000000b , 0x00000039 
+ 00018412  0x000023cb force  0x0000000b , 0x00000007 
+ 00018413  0x000023cc branch  0x00004952 
+ 00018414  0x000023cf set0  0x00000025 , 0x00000000 
+ 00018415  0x000023d0 bpatch  0x000000e4 , 0x0000401c 
+ 00018416  0x000023d1 fetch  0x00000001 , 0x00004132 
+ 00018417  0x000023d2 rtnne  0x00000001 
+ 00018418  0x000023d4 call  0x00004970 
+ 00018419  0x000023d5 fetch  0x00000006 , 0x00000040 
+ 00018420  0x000023d6 istore  0x00000006 , 0x0000000a 
+ 00018421  0x000023d7 istoret  0x00000008 , 0x0000000a 
+ 00018422  0x000023d8 force  0x0000000e , 0x00000039 
+ 00018423  0x000023d9 force  0x0000003d , 0x00000007 
+ 00018424  0x000023da branch  0x00004952 
+ 00018425  0x000023dd set0  0x00000025 , 0x00000000 
+ 00018426  0x000023de bpatch  0x000000e5 , 0x0000401c 
+ 00018427  0x000023df fetch  0x00000001 , 0x00004132 
+ 00018428  0x000023e0 rtnne  0x00000001 
+ 00018429  0x000023e2 call  0x00004968 
+ 00018430  0x000023e3 fetch  0x00000001 , 0x00000449 
+ 00018431  0x000023e4 istore  0x00000001 , 0x0000000a 
+ 00018432  0x000023e5 setarg  0x00000001 
+ 00018433  0x000023e6 istore  0x00000001 , 0x0000000a 
+ 00018434  0x000023e7 istoret  0x00000008 , 0x0000000a 
+ 00018435  0x000023e8 force  0x0000000d , 0x00000039 
+ 00018436  0x000023e9 force  0x00000023 , 0x00000007 
+ 00018437  0x000023ea branch  0x00004952 
+ 00018438  0x000023ee set0  0x00000025 , 0x00000000 
+ 00018439  0x000023ef bpatch  0x000000e6 , 0x0000401c 
+ 00018440  0x000023f0 fetch  0x00000001 , 0x00004132 
+ 00018441  0x000023f1 rtnne  0x00000001 
+ 00018442  0x000023f2 call  0x00004968 
+ 00018443  0x000023f3 istoret  0x00000005 , 0x0000000a 
+ 00018444  0x000023f4 force  0x00000008 , 0x00000039 
+ 00018445  0x000023f5 force  0x0000000c , 0x00000007 
+ 00018446  0x000023f6 branch  0x00004952 
+ 00018447  0x000023f9 set0  0x00000025 , 0x00000000 
+ 00018448  0x000023fa bpatch  0x000000e7 , 0x0000401c 
+ 00018449  0x000023fb fetch  0x00000001 , 0x00004132 
+ 00018450  0x000023fc rtnne  0x00000001 
+ 00018451  0x000023fe call  0x00004970 
+ 00018452  0x000023ff fetch  0x00000006 , 0x00000040 
+ 00018453  0x00002400 istore  0x00000006 , 0x0000000a 
+ 00018454  0x00002401 fetch  0x00000003 , 0x000007e9 
+ 00018455  0x00002402 istore  0x00000003 , 0x0000000a 
+ 00018456  0x00002403 force  0x00000009 , 0x00000039 
+ 00018457  0x00002404 force  0x00000032 , 0x00000007 
+ 00018458  0x00002405 branch  0x00004952 
+ 00018459  0x00002408 set0  0x00000025 , 0x00000000 
+ 00018460  0x00002409 bpatch  0x000000e8 , 0x0000401d 
+ 00018461  0x0000240a fetch  0x00000001 , 0x00004132 
+ 00018462  0x0000240b rtnne  0x00000001 
+ 00018463  0x0000240d call  0x00004970 
+ 00018464  0x0000240e fetch  0x00000006 , 0x00000040 
+ 00018465  0x0000240f istore  0x00000006 , 0x0000000a 
+ 00018466  0x00002410 force  0x00000006 , 0x00000039 
+ 00018467  0x00002411 force  0x00000031 , 0x00000007 
+ 00018468  0x00002412 branch  0x00004952 
+ 00018469  0x00002416 force  0x00000000 , 0x00000002 
+ 00018470  0x00002418 set0  0x00000025 , 0x00000000 
+ 00018471  0x00002419 bpatch  0x000000e9 , 0x0000401d 
+ 00018472  0x0000241a fetch  0x00000001 , 0x00004132 
+ 00018473  0x0000241b rtnne  0x00000001 
+ 00018474  0x0000241c force  0x00000003 , 0x00000007 
+ 00018475  0x0000241d jam  0x00000005 , 0x00004800 
+ 00018476  0x0000241e call  0x00004970 
+ 00018477  0x0000241f istoret  0x00000001 , 0x0000000a 
+ 00018478  0x00002420 call  0x0000496b 
+ 00018479  0x00002421 call  0x00004965 
+ 00018480  0x00002422 force  0x00000001 , 0x0000003f 
+ 00018481  0x00002423 istore  0x00000001 , 0x0000000a 
+ 00018482  0x00002424 force  0x00000000 , 0x0000003f 
+ 00018483  0x00002425 fetcht  0x00000001 , 0x0000004c 
+ 00018484  0x00002426 isolate1  0x00000002 , 0x00000002 
+ 00018485  0x00002427 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00018486  0x00002428 istore  0x00000001 , 0x0000000a 
+ 00018487  0x00002429 force  0x0000000b , 0x00000039 
+ 00018488  0x0000242a branch  0x00004952 
+ 00018489  0x0000242e set0  0x00000025 , 0x00000000 
+ 00018490  0x0000242f bpatch  0x000000ea , 0x0000401d 
+ 00018491  0x00002430 fetch  0x00000001 , 0x00004132 
+ 00018492  0x00002431 rtnne  0x00000001 
+ 00018493  0x00002432 force  0x00000004 , 0x00000007 
+ 00018494  0x00002433 call  0x00004970 
+ 00018495  0x00002434 call  0x00004965 
+ 00018496  0x00002436 fetch  0x00000003 , 0x0000017f 
+ 00018497  0x00002437 istore  0x00000003 , 0x0000000a 
+ 00018498  0x00002438 istoret  0x00000001 , 0x0000000a 
+ 00018499  0x00002439 force  0x0000000a , 0x00000039 
+ 00018500  0x0000243a branch  0x00004952 
+ 00018501  0x0000243d set0  0x00000025 , 0x00000000 
+ 00018502  0x0000243e bpatch  0x000000eb , 0x0000401d 
+ 00018503  0x0000243f fetch  0x00000001 , 0x00004132 
+ 00018504  0x00002440 rtnne  0x00000001 
+ 00018505  0x00002441 call  0x00004968 
+ 00018506  0x00002442 force  0x00000000 , 0x0000003f 
+ 00018507  0x00002443 fetcht  0x00000001 , 0x0000004c 
+ 00018508  0x00002444 isolate1  0x00000002 , 0x00000002 
+ 00018509  0x00002445 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00018510  0x00002446 istore  0x00000001 , 0x0000000a 
+ 00018511  0x00002447 force  0x00000008 , 0x00000007 
+ 00018512  0x00002448 force  0x00000004 , 0x00000039 
+ 00018513  0x00002449 branch  0x00004952 
+ 00018514  0x0000244d set0  0x00000025 , 0x00000000 
+ 00018515  0x0000244e bpatch  0x000000ec , 0x0000401d 
+ 00018516  0x0000244f fetch  0x00000001 , 0x00004132 
+ 00018517  0x00002450 rtnne  0x00000001 
+ 00018518  0x00002451 force  0x00000018 , 0x00000007 
+ 00018519  0x00002452 call  0x00004970 
+ 00018520  0x00002453 call  0x00004965 
+ 00018521  0x00002454 arg  0x00004262 , 0x00000006 
+ 00018522  0x00002455 force  0x00000010 , 0x00000039 
+ 00018523  0x00002456 call  0x00004976 
+ 00018524  0x00002457 force  0x00000005 , 0x0000003f 
+ 00018525  0x00002458 istore  0x00000001 , 0x0000000a 
+ 00018526  0x00002459 force  0x00000017 , 0x00000039 
+ 00018527  0x0000245a branch  0x00004952 
+ 00018528  0x0000245d fetch  0x00000001 , 0x00004132 
+ 00018529  0x0000245e rtnne  0x00000001 
+ 00018530  0x0000245f force  0x00000033 , 0x00000007 
+ 00018531  0x00002460 call  0x00004970 
+ 00018532  0x00002461 call  0x00004965 
+ 00018533  0x00002462 fetch  0x00000004 , 0x000007ec 
+ 00018534  0x00002463 istore  0x00000004 , 0x0000000a 
+ 00018535  0x00002464 force  0x0000000a , 0x00000039 
+ 00018536  0x00002465 branch  0x00004952 
+ 00018537  0x00002468 fetch  0x00000001 , 0x00004132 
+ 00018538  0x00002469 rtnne  0x00000001 
+ 00018539  0x0000246a force  0x00000036 , 0x00000007 
+ 00018540  0x0000246b call  0x00004970 
+ 00018541  0x0000246c setarg  0x00000000 
+ 00018542  0x0000246d istore  0x00000001 , 0x0000000a 
+ 00018543  0x0000246e call  0x00004965 
+ 00018544  0x0000246f force  0x00000007 , 0x00000039 
+ 00018545  0x00002470 branch  0x00004952 
+ 00018546  0x00002474 set0  0x00000025 , 0x00000000 
+ 00018547  0x00002475 bpatch  0x000000ed , 0x0000401d 
+ 00018548  0x00002476 force  0x00000017 , 0x00000007 
+ 00018549  0x00002478 fetch  0x00000001 , 0x00004132 
+ 00018550  0x00002479 rtnne  0x00000001 
+ 00018551  0x0000247a call  0x00004970 
+ 00018552  0x0000247b call  0x00004965 
+ 00018553  0x0000247c force  0x00000006 , 0x00000039 
+ 00018554  0x0000247d branch  0x00004952 
+ 00018555  0x00002480 fetch  0x00000001 , 0x00004132 
+ 00018556  0x00002481 rtnne  0x00000001 
+ 00018557  0x00002482 force  0x00000016 , 0x00000007 
+ 00018558  0x00002483 branch  0x00004875 
+ 00018559  0x00002487 fetch  0x00000001 , 0x00004132 
+ 00018560  0x00002488 rtnne  0x00000001 
+ 00018561  0x00002489 force  0x00000012 , 0x00000007 
+ 00018562  0x0000248a call  0x00004970 
+ 00018563  0x0000248b force  0x00000000 , 0x0000003f 
+ 00018564  0x0000248c istore  0x00000001 , 0x0000000a 
+ 00018565  0x0000248d call  0x00004965 
+ 00018566  0x0000248e istoret  0x00000001 , 0x0000000a 
+ 00018567  0x0000248f force  0x00000008 , 0x00000039 
+ 00018568  0x00002490 branch  0x00004952 
+ 00018569  0x00002493 fetch  0x00000001 , 0x00004132 
+ 00018570  0x00002494 rtnne  0x00000001 
+ 00018571  0x00002495 force  0x00000000 , 0x00000002 
+ 00018572  0x00002496 nbranch  0x0000488e , 0x00000029 
+ 00018573  0x00002497 force  0x00000001 , 0x00000002 
+ 00018574  0x00002499 fetch  0x00000001 , 0x00004132 
+ 00018575  0x0000249a rtnne  0x00000001 
+ 00018576  0x0000249b force  0x00000012 , 0x00000007 
+ 00018577  0x0000249c call  0x00004970 
+ 00018578  0x0000249d force  0x00000035 , 0x0000003f 
+ 00018579  0x0000249e istore  0x00000001 , 0x0000000a 
+ 00018580  0x0000249f call  0x00004965 
+ 00018581  0x000024a0 istoret  0x00000001 , 0x0000000a 
+ 00018582  0x000024a1 force  0x00000008 , 0x00000039 
+ 00018583  0x000024a2 branch  0x00004952 
+ 00018584  0x000024a5 set0  0x00000025 , 0x00000000 
+ 00018585  0x000024a6 bpatch  0x000000ee , 0x0000401d 
+ 00018586  0x000024a7 fetch  0x00000001 , 0x00004132 
+ 00018587  0x000024a8 rtnne  0x00000001 
+ 00018588  0x000024a9 call  0x00004972 
+ 00018589  0x000024aa setarg  0x0000ff07 
+ 00018590  0x000024ab istore  0x00000002 , 0x0000000a 
+ 00018591  0x000024ac deposit  0x00000007 
+ 00018592  0x000024ad istore  0x00000001 , 0x0000000a 
+ 00018593  0x000024ae call  0x00004965 
+ 00018594  0x000024af arg  0x00000103 , 0x00000006 
+ 00018595  0x000024b0 force  0x000000f8 , 0x00000039 
+ 00018596  0x000024b2 ifetch  0x00000001 , 0x00000006 
+ 00018597  0x000024b3 istore  0x00000001 , 0x0000000a 
+ 00018598  0x000024b4 loop  0x000048a4 
+ 00018599  0x000024b5 force  0x000000ff , 0x00000039 
+ 00018600  0x000024b6 branch  0x00004959 
+ 00018601  0x000024b9 set0  0x00000025 , 0x00000000 
+ 00018602  0x000024ba bpatch  0x000000ef , 0x0000401d 
+ 00018603  0x000024bb fetch  0x00000001 , 0x00004132 
+ 00018604  0x000024bc rtnne  0x00000001 
+ 00018605  0x000024bd hfetch  0x00000001 , 0x0000810e 
+ 00018606  0x000024be nrtn  0x00000034 
+ 00018607  0x000024bf fetch  0x00000001 , 0x0000004b 
+ 00018608  0x000024c0 rtnbit0  0x00000007 
+ 00018609  0x000024c1 set0  0x00000007 , 0x0000003f 
+ 00018610  0x000024c2 store  0x00000001 , 0x0000004b 
+ 00018611  0x000024c3 call  0x00004970 
+ 00018612  0x000024c4 force  0x00000001 , 0x0000003f 
+ 00018613  0x000024c5 istore  0x00000001 , 0x0000000a 
+ 00018614  0x000024c6 call  0x0000496b 
+ 00018615  0x000024c7 force  0x00000001 , 0x0000003f 
+ 00018616  0x000024c8 istore  0x00000002 , 0x0000000a 
+ 00018617  0x000024c9 force  0x00000013 , 0x00000007 
+ 00018618  0x000024ca force  0x00000005 , 0x00000039 
+ 00018619  0x000024cb branch  0x00004952 
+ 00018620  0x000024d0 set0  0x00000025 , 0x00000000 
+ 00018621  0x000024d1 bpatch  0x000000f0 , 0x0000401e 
+ 00018622  0x000024d2 fetch  0x00000001 , 0x00004132 
+ 00018623  0x000024d3 rtnne  0x00000001 
+ 00018624  0x000024d4 call  0x00004968 
+ 00018625  0x000024d5 force  0x00000006 , 0x00000007 
+ 00018626  0x000024d6 force  0x00000003 , 0x00000039 
+ 00018627  0x000024d7 branch  0x00004952 
+ 00018628  0x000024dc set0  0x00000025 , 0x00000000 
+ 00018629  0x000024dd bpatch  0x000000f1 , 0x0000401e 
+ 00018630  0x000024de fetch  0x00000001 , 0x00004132 
+ 00018631  0x000024df rtnne  0x00000001 
+ 00018632  0x000024e0 call  0x00004970 
+ 00018633  0x000024e1 force  0x00000000 , 0x0000003f 
+ 00018634  0x000024e2 istore  0x00000001 , 0x0000000a 
+ 00018635  0x000024e3 istoret  0x00000002 , 0x0000000a 
+ 00018636  0x000024e4 fetch  0x00000001 , 0x000002c0 
+ 00018637  0x000024e5 istore  0x00000001 , 0x0000000a 
+ 00018638  0x000024e6 force  0x00000005 , 0x00000007 
+ 00018639  0x000024e7 force  0x00000004 , 0x00000039 
+ 00018640  0x000024e8 branch  0x00004952 
+ 00018641  0x000024ec set0  0x00000025 , 0x00000000 
+ 00018642  0x000024ed bpatch  0x000000f2 , 0x0000401e 
+ 00018643  0x000024ee fetch  0x00000001 , 0x00004132 
+ 00018644  0x000024ef rtnne  0x00000001 , 0x0000003f 
+ 00018645  0x000024f0 call  0x00004970 
+ 00018646  0x000024f1 setarg  0x00000102 
+ 00018647  0x000024f2 istore  0x00000002 , 0x0000000a 
+ 00018648  0x000024f3 fetcht  0x00000001 , 0x00000340 
+ 00018649  0x000024f4 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00018650  0x000024f5 istore  0x00000001 , 0x0000000a 
+ 00018651  0x000024f6 copy  0x00000011 , 0x0000003f 
+ 00018652  0x000024f7 istore  0x00000001 , 0x0000000a 
+ 00018653  0x000024f8 fetcht  0x00000001 , 0x00000341 
+ 00018654  0x000024f9 increase  0xfffffffa , 0x00000002 
+ 00018655  0x000024fa fetch  0x00000006 , 0x00000342 
+ 00018656  0x000024fb istore  0x00000006 , 0x0000000a 
+ 00018657  0x000024fc istoret  0x00000001 , 0x0000000a 
+ 00018658  0x000024fd copy  0x00000002 , 0x00000039 
+ 00018659  0x000024fe call  0x00004976 
+ 00018660  0x000024ff setarg  0x0000007f 
+ 00018661  0x00002500 istore  0x00000001 , 0x0000000a 
+ 00018662  0x00002501 copy  0x00000002 , 0x00000039 
+ 00018663  0x00002502 add  0x00000039 , 0x0000000c , 0x00000039 
+ 00018664  0x00002503 force  0x0000003e , 0x00000007 
+ 00018665  0x00002504 branch  0x00004952 
+ 00018666  0x00002507 set0  0x00000025 , 0x00000000 
+ 00018667  0x00002508 bpatch  0x000000f3 , 0x0000401e 
+ 00018668  0x00002509 fetch  0x00000001 , 0x00004132 
+ 00018669  0x0000250a rtnne  0x00000001 , 0x0000003f 
+ 00018670  0x0000250b call  0x00004970 
+ 00018671  0x0000250c setarg  0x00000001 
+ 00018672  0x0000250d istore  0x00000001 , 0x0000000a 
+ 00018673  0x0000250e istoret  0x00000001 , 0x0000000a 
+ 00018674  0x0000250f fetch  0x00000001 , 0x000003d6 
+ 00018675  0x00002510 istore  0x00000002 , 0x0000000a 
+ 00018676  0x00002511 fetch  0x00000001 , 0x000003c1 
+ 00018677  0x00002512 rshift  0x0000003f , 0x0000003f 
+ 00018678  0x00002513 setflip  0x00000000 , 0x0000003f 
+ 00018679  0x00002514 istore  0x00000001 , 0x0000000a 
+ 00018680  0x00002515 fetch  0x00000001 , 0x000044e6 
+ 00018681  0x00002516 istore  0x00000001 , 0x0000000a 
+ 00018682  0x00002517 fetch  0x00000006 , 0x000003d0 
+ 00018683  0x00002518 istore  0x00000006 , 0x0000000a 
+ 00018684  0x00002519 fetch  0x00000002 , 0x000043d0 
+ 00018685  0x0000251a istore  0x00000002 , 0x0000000a 
+ 00018686  0x0000251b fetch  0x00000002 , 0x000003ed 
+ 00018687  0x0000251c istore  0x00000002 , 0x0000000a 
+ 00018688  0x0000251d fetch  0x00000002 , 0x000003ef 
+ 00018689  0x0000251e istore  0x00000002 , 0x0000000a 
+ 00018690  0x0000251f fetch  0x00000001 , 0x000003f8 
+ 00018691  0x00002520 istore  0x00000001 , 0x0000000a 
+ 00018692  0x00002521 force  0x0000003e , 0x00000007 
+ 00018693  0x00002522 arg  0x00000013 , 0x00000039 
+ 00018694  0x00002523 branch  0x00004952 
+ 00018695  0x00002528 set0  0x00000025 , 0x00000000 
+ 00018696  0x00002529 bpatch  0x000000f4 , 0x0000401e 
+ 00018697  0x0000252a fetch  0x00000001 , 0x00004132 
+ 00018698  0x0000252b rtnne  0x00000001 
+ 00018699  0x0000252d call  0x00004970 
+ 00018700  0x0000252e call  0x00004968 
+ 00018701  0x0000252f istoret  0x00000001 , 0x0000000a 
+ 00018702  0x00002530 fetch  0x00000002 , 0x00000032 
+ 00018703  0x00002531 rshift  0x0000003f , 0x0000003f 
+ 00018704  0x00002532 istore  0x00000002 , 0x0000000a 
+ 00018705  0x00002533 force  0x00000006 , 0x00000039 
+ 00018706  0x00002534 force  0x00000014 , 0x00000007 
+ 00018707  0x00002535 branch  0x00004952 
+ 00018708  0x00002539 set0  0x00000025 , 0x00000000 
+ 00018709  0x0000253a bpatch  0x000000f5 , 0x0000401e 
+ 00018710  0x0000253b fetch  0x00000001 , 0x00004132 
+ 00018711  0x0000253c rtnne  0x00000001 
+ 00018712  0x0000253d set0  0x00000025 , 0x00000000 
+ 00018713  0x0000253e bpatch  0x000000f6 , 0x0000401e 
+ 00018714  0x0000253f call  0x00004970 
+ 00018715  0x00002540 istoret  0x00000001 , 0x0000000a 
+ 00018716  0x00002541 setarg  0x00000e00 
+ 00018717  0x00002542 istore  0x00000002 , 0x0000000a 
+ 00018718  0x00002543 call  0x00004965 
+ 00018719  0x00002544 force  0x00000000 , 0x0000003f 
+ 00018720  0x00002545 bmark1  0x00000007 , 0x00004924 
+ 00018721  0x00002546 force  0x00000000 , 0x0000003f 
+ 00018722  0x00002547 istore  0x00000007 , 0x0000000a 
+ 00018723  0x00002548 branch  0x0000492c 
+ 00018724  0x0000254a fetch  0x00000001 , 0x00004132 
+ 00018725  0x0000254b rtnne  0x00000001 
+ 00018726  0x0000254c setarg  0x00020602 
+ 00018727  0x0000254d istore  0x00000003 , 0x0000000a 
+ 00018728  0x0000254e setarg  0x0000001e 
+ 00018729  0x0000254f istore  0x00000002 , 0x0000000a 
+ 00018730  0x00002550 setarg  0x0000001e 
+ 00018731  0x00002551 istore  0x00000002 , 0x0000000a 
+ 00018732  0x00002553 fetch  0x00000001 , 0x00004132 
+ 00018733  0x00002554 rtnne  0x00000001 
+ 00018734  0x00002555 fetch  0x00000001 , 0x000000ab 
+ 00018735  0x00002556 istore  0x00000001 , 0x0000000a 
+ 00018736  0x00002557 force  0x0000002c , 0x00000007 
+ 00018737  0x00002558 force  0x00000011 , 0x00000039 
+ 00018738  0x00002559 branch  0x00004952 
+ 00018739  0x0000255d set0  0x00000025 , 0x00000000 
+ 00018740  0x0000255e bpatch  0x000000f7 , 0x0000401e 
+ 00018741  0x0000255f call  0x00004970 
+ 00018742  0x00002560 setarg  0x00000100 
+ 00018743  0x00002561 istore  0x00000002 , 0x0000000a 
+ 00018744  0x00002562 deposit  0x00000030 
+ 00018745  0x00002563 istore  0x00000002 , 0x0000000a 
+ 00018746  0x00002564 force  0x00000004 , 0x00000039 
+ 00018747  0x00002565 force  0x0000000f , 0x00000007 
+ 00018748  0x00002566 branch  0x00004952 
+ 00018749  0x00002569 set0  0x00000025 , 0x00000000 
+ 00018750  0x0000256a bpatch  0x000000f8 , 0x0000401f 
+ 00018751  0x0000256b call  0x00004970 
+ 00018752  0x0000256c deposit  0x00000011 
+ 00018753  0x0000256d istore  0x00000001 , 0x0000000a 
+ 00018754  0x0000256e setarg  0x00000001 
+ 00018755  0x0000256f istore  0x00000001 , 0x0000000a 
+ 00018756  0x00002570 deposit  0x00000030 
+ 00018757  0x00002571 istore  0x00000002 , 0x0000000a 
+ 00018758  0x00002572 force  0x00000004 , 0x00000039 
+ 00018759  0x00002573 force  0x0000000f , 0x00000007 
+ 00018760  0x00002574 branch  0x00004952 
+ 00018761  0x00002577 set0  0x00000025 , 0x00000000 
+ 00018762  0x00002578 bpatch  0x000000f9 , 0x0000401f 
+ 00018763  0x00002579 force  0x00000004 , 0x00000039 
+ 00018764  0x0000257b call  0x00004970 
+ 00018765  0x0000257c force  0x00000001 , 0x0000003f 
+ 00018766  0x0000257d istore  0x00000001 , 0x0000000a 
+ 00018767  0x0000257e deposit  0x00000030 
+ 00018768  0x0000257f istore  0x00000003 , 0x0000000a 
+ 00018769  0x00002580 force  0x0000000e , 0x00000007 
+ 00018770  0x00002582 set0  0x00000025 , 0x00000000 
+ 00018771  0x00002583 bpatch  0x000000fa , 0x0000401f 
+ 00018772  0x00002584 call  0x00004972 
+ 00018773  0x00002585 deposit  0x00000007 
+ 00018774  0x00002586 istore  0x00000001 , 0x0000000a 
+ 00018775  0x00002587 deposit  0x00000039 
+ 00018776  0x00002588 istore  0x00000001 , 0x0000000a 
+ 00018777  0x0000258a set1  0x00000013 , 0x00000000 
+ 00018778  0x0000258b force  0x00000005 , 0x00000007 
+ 00018779  0x0000258c increase  0x00000002 , 0x00000039 
+ 00018780  0x0000258e call  0x00004494 
+ 00018781  0x0000258f branch  0x00004378 , 0x00000001 
+ 00018782  0x00002590 branch  0x00004422 
+ 00018783  0x00002593 force  0x000000ff , 0x00000007 
+ 00018784  0x00002594 call  0x00004970 
+ 00018785  0x00002595 setarg  0x00000001 
+ 00018786  0x00002596 istore  0x00000001 , 0x0000000a 
+ 00018787  0x00002597 force  0x00000001 , 0x00000039 
+ 00018788  0x00002598 branch  0x00004952 
+ 00018789  0x0000259c fetch  0x00000006 , 0x00000040 
+ 00018790  0x0000259d istore  0x00000006 , 0x0000000a 
+ 00018791  0x0000259e rtn 
+ 00018792  0x000025a1 call  0x00004970 
+ 00018793  0x000025a2 force  0x00000000 , 0x0000003f 
+ 00018794  0x000025a3 istore  0x00000001 , 0x0000000a 
+ 00018795  0x000025a5 fetch  0x00000001 , 0x00000046 
+ 00018796  0x000025a6 istore  0x00000002 , 0x0000000a 
+ 00018797  0x000025a7 rtn 
+ 00018798  0x000025aa force  0x0000000c , 0x0000000a 
+ 00018799  0x000025ab branch  0x00004973 
+ 00018800  0x000025ae force  0x00000008 , 0x0000000a 
+ 00018801  0x000025af branch  0x00004973 
+ 00018802  0x000025b2 force  0x00000006 , 0x0000000a 
+ 00018803  0x000025b4 call  0x00004494 
+ 00018804  0x000025b5 branch  0x000043de , 0x00000001 
+ 00018805  0x000025b6 branch  0x0000441e 
+ 00018806  0x000025b9 deposit  0x00000039 
+ 00018807  0x000025ba rtn  0x00000034 
+ 00018808  0x000025bc ifetch  0x00000001 , 0x00000006 
+ 00018809  0x000025bd istore  0x00000001 , 0x0000000a 
+ 00018810  0x000025be loop  0x00004978 
+ 00018811  0x000025bf rtn 
+ 00018812  0x000025c2 deposit  0x00000039 
+ 00018813  0x000025c3 rtn  0x00000034 
+ 00018814  0x000025c5 ifetch  0x00000001 , 0x00000003 
+ 00018815  0x000025c6 istore  0x00000001 , 0x00000005 
+ 00018816  0x000025c7 loop  0x0000497e 
+ 00018817  0x000025c8 rtn 
+ 00018818  0x000025cb istore  0x00000001 , 0x0000000a 
+ 00018819  0x000025cc rshift8  0x0000003f , 0x0000003f 
+ 00018820  0x000025cd loop  0x00004982 
+ 00018821  0x000025ce rtn 
+ 00018822  0x000025d2 pulse  0x0000000f 
+ 00018823  0x000025d3 enable  0x00000009 
+ 00018824  0x000025d5 ifetch  0x00000001 , 0x0000000a 
+ 00018825  0x000025d6 inject  0x00000000 , 0x00000008 
+ 00018826  0x000025d7 loop  0x00004988 
+ 00018827  0x000025d8 enable  0x00000008 
+ 00018828  0x000025d9 inject  0x00000000 , 0x00000010 
+ 00018829  0x000025da disable  0x00000008 
+ 00018830  0x000025db disable  0x00000009 
+ 00018831  0x000025dc disable  0x0000000f 
+ 00018832  0x000025dd byteswap  0x0000003f , 0x0000003f 
+ 00018833  0x000025de rtn 
+ 00018834  0x000025e1 nop  0x00000001 
+ 00018835  0x000025e2 hjam  0x00000001 , 0x00008203 
+ 00018836  0x000025e3 branch  0x00004992 
+ 00018837  0x000025e8 set0  0x00000025 , 0x00000000 
+ 00018838  0x000025e9 bpatch  0x000000fb , 0x0000401f 
+ 00018839  0x000025ea fetch  0x00000001 , 0x00004272 
+ 00018840  0x000025eb rtn  0x00000034 
+ 00018841  0x000025ec fetch  0x00000001 , 0x0000007c 
+ 00018842  0x000025ed nrtn  0x00000034 
+ 00018843  0x000025ee call  0x000049be 
+ 00018844  0x000025ef nbranch  0x000049aa , 0x00000005 
+ 00018845  0x000025f0 fetch  0x00000001 , 0x00004272 
+ 00018846  0x000025f1 beq  0x00000003 , 0x000049d4 
+ 00018847  0x000025f2 beq  0x00000009 , 0x000049da 
+ 00018848  0x000025f3 beq  0x0000000a , 0x000049e6 
+ 00018849  0x000025f4 beq  0x0000000b , 0x000049ed 
+ 00018850  0x000025f5 beq  0x0000000c , 0x000049f7 
+ 00018851  0x000025f6 beq  0x00000008 , 0x00004a32 
+ 00018852  0x000025f7 beq  0x00000018 , 0x000049cc 
+ 00018853  0x000025f8 beq  0x00000007 , 0x000049c6 
+ 00018854  0x000025f9 beq  0x00000019 , 0x000049ca 
+ 00018855  0x000025fa beq  0x0000001a , 0x00004a53 
+ 00018856  0x000025fb beq  0x00000012 , 0x00004a19 
+ 00018857  0x000025fc beq  0x00000013 , 0x00004a28 
+ 00018858  0x000025fe set0  0x00000025 , 0x00000000 
+ 00018859  0x000025ff bpatch  0x000000fc , 0x0000401f 
+ 00018860  0x00002600 call  0x000049c2 
+ 00018861  0x00002601 nrtn  0x00000034 
+ 00018862  0x00002602 fetch  0x00000001 , 0x00004272 
+ 00018863  0x00002603 beq  0x0000000d , 0x00004a01 
+ 00018864  0x00002604 beq  0x0000000f , 0x00004a0b 
+ 00018865  0x00002605 beq  0x0000000e , 0x00004a0d 
+ 00018866  0x00002606 beq  0x00000010 , 0x00004a2a 
+ 00018867  0x00002607 beq  0x00000011 , 0x00004a34 
+ 00018868  0x00002608 beq  0x0000001c , 0x00004a38 
+ 00018869  0x00002609 beq  0x00000004 , 0x00004a0f 
+ 00018870  0x0000260a beq  0x00000015 , 0x00004a14 
+ 00018871  0x0000260b beq  0x00000014 , 0x00004a17 
+ 00018872  0x0000260c beq  0x00000017 , 0x00004a48 
+ 00018873  0x0000260d beq  0x00000016 , 0x00004a51 
+ 00018874  0x0000260e rtnne  0x00000006 
+ 00018875  0x0000260f call  0x00005ed5 
+ 00018876  0x00002611 jam  0x00000000 , 0x00004272 
+ 00018877  0x00002612 rtn 
+ 00018878  0x00002615 fetch  0x00000006 , 0x00004274 
+ 00018879  0x00002616 fetcht  0x00000006 , 0x00000040 
+ 00018880  0x00002617 isub  0x00000002 , 0x0000003e 
+ 00018881  0x00002618 rtn 
+ 00018882  0x0000261c fetch  0x00000001 , 0x00004273 
+ 00018883  0x0000261d fetcht  0x00000001 , 0x00000046 
+ 00018884  0x0000261e isub  0x00000002 , 0x0000003f 
+ 00018885  0x0000261f rtn 
+ 00018886  0x00002622 jam  0x00000003 , 0x0000007c 
+ 00018887  0x00002623 jam  0x00000033 , 0x0000007d 
+ 00018888  0x00002624 call  0x00006212 
+ 00018889  0x00002625 branch  0x000049bc 
+ 00018890  0x00002628 branch  0x00004a38 , 0x00000029 
+ 00018891  0x00002629 set1  0x00000004 , 0x00000000 
+ 00018892  0x0000262b jam  0x00000034 , 0x0000007c 
+ 00018893  0x0000262c set1  0x00000003 , 0x00000000 
+ 00018894  0x0000262d nbranch  0x000049bc , 0x00000029 
+ 00018895  0x0000262e jam  0x00000013 , 0x0000007c 
+ 00018896  0x0000262f fetch  0x00000001 , 0x00000177 
+ 00018897  0x00002630 set0  0x00000002 , 0x0000003f 
+ 00018898  0x00002631 store  0x00000001 , 0x00000177 
+ 00018899  0x00002632 branch  0x000049bc 
+ 00018900  0x00002636 jam  0x00000001 , 0x0000007c 
+ 00018901  0x00002637 jam  0x00000000 , 0x00000053 
+ 00018902  0x00002638 branch  0x000049bc 
+ 00018903  0x0000263c jam  0x00000001 , 0x000007dd 
+ 00018904  0x0000263d jam  0x00000012 , 0x000007db 
+ 00018905  0x0000263e branch  0x000049bc 
+ 00018906  0x00002641 fetch  0x00000001 , 0x0000004b 
+ 00018907  0x00002642 bbit1  0x00000002 , 0x000049df 
+ 00018908  0x00002643 call  0x00006209 
+ 00018909  0x00002644 jam  0x00000008 , 0x0000007c 
+ 00018910  0x00002645 branch  0x000049bc 
+ 00018911  0x00002647 set0  0x00000002 , 0x0000003f 
+ 00018912  0x00002648 store  0x00000001 , 0x0000004b 
+ 00018913  0x00002649 call  0x00005ed0 
+ 00018914  0x0000264a setarg  0x00000000 
+ 00018915  0x0000264b setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00018916  0x0000264c store  0x00000001 , 0x0000007f 
+ 00018917  0x0000264d branch  0x000049bc 
+ 00018918  0x00002650 jam  0x00000018 , 0x00000446 
+ 00018919  0x00002651 jam  0x00000007 , 0x0000007c 
+ 00018920  0x00002652 fetch  0x00000001 , 0x00000030 
+ 00018921  0x00002653 bbit1  0x00000000 , 0x000049bc 
+ 00018922  0x00002654 force  0x00000018 , 0x00000002 
+ 00018923  0x00002655 call  0x00004826 
+ 00018924  0x00002656 branch  0x000049bc 
+ 00018925  0x0000265a call  0x0000321f 
+ 00018926  0x0000265b fetch  0x00000001 , 0x0000004b 
+ 00018927  0x0000265c bbit1  0x00000001 , 0x00004a08 
+ 00018928  0x0000265d bbit1  0x00000000 , 0x000049f3 
+ 00018929  0x0000265e bbit1  0x00000002 , 0x000049df 
+ 00018930  0x0000265f branch  0x000049bc 
+ 00018931  0x00002661 set0  0x00000000 , 0x0000003f 
+ 00018932  0x00002662 store  0x00000001 , 0x0000004b 
+ 00018933  0x00002663 jam  0x0000000c , 0x0000007c 
+ 00018934  0x00002664 branch  0x000049bc 
+ 00018935  0x00002667 fetch  0x00000001 , 0x0000004b 
+ 00018936  0x00002668 bbit1  0x00000000 , 0x000049fb 
+ 00018937  0x00002669 call  0x0000487b 
+ 00018938  0x0000266a branch  0x000049bc 
+ 00018939  0x0000266c set0  0x00000000 , 0x0000003f 
+ 00018940  0x0000266d store  0x00000001 , 0x0000004b 
+ 00018941  0x0000266e jam  0x00000004 , 0x0000007c 
+ 00018942  0x0000266f jam  0x0000000b , 0x0000007d 
+ 00018943  0x00002670 jam  0x00000006 , 0x0000007e 
+ 00018944  0x00002671 branch  0x000049bc 
+ 00018945  0x00002675 fetch  0x00000001 , 0x0000004b 
+ 00018946  0x00002676 set1  0x00000001 , 0x0000003f 
+ 00018947  0x00002677 store  0x00000001 , 0x0000004b 
+ 00018948  0x00002678 fetch  0x00000001 , 0x00000030 
+ 00018949  0x00002679 bbit1  0x00000007 , 0x00004a08 
+ 00018950  0x0000267a call  0x00004872 
+ 00018951  0x0000267b branch  0x000049bc 
+ 00018952  0x0000267f call  0x00006209 
+ 00018953  0x00002680 jam  0x0000000b , 0x0000007c 
+ 00018954  0x00002681 branch  0x000049bc 
+ 00018955  0x00002684 jam  0x0000000f , 0x0000007c 
+ 00018956  0x00002685 branch  0x000049bc 
+ 00018957  0x00002688 jam  0x0000000f , 0x0000007c 
+ 00018958  0x00002689 branch  0x000049bc 
+ 00018959  0x0000268c set0  0x00000025 , 0x00000000 
+ 00018960  0x0000268d bpatch  0x000000fd , 0x0000401f 
+ 00018961  0x0000268e jam  0x00000027 , 0x0000007c 
+ 00018962  0x0000268f jam  0x00000050 , 0x00004272 
+ 00018963  0x00002690 rtn 
+ 00018964  0x00002693 jam  0x00000083 , 0x0000007c 
+ 00018965  0x00002694 jam  0x00000051 , 0x00004272 
+ 00018966  0x00002695 rtn 
+ 00018967  0x00002698 jam  0x00000025 , 0x0000007c 
+ 00018968  0x00002699 branch  0x000049bc 
+ 00018969  0x0000269c jam  0x00000017 , 0x0000007c 
+ 00018970  0x0000269d arg  0x00000455 , 0x00000005 
+ 00018971  0x0000269e setarg  0x00000000 
+ 00018972  0x0000269f isolate1  0x0000001b , 0x00000028 
+ 00018973  0x000026a0 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00018974  0x000026a1 istore  0x00000001 , 0x00000005 
+ 00018975  0x000026a2 setarg  0x00000000 
+ 00018976  0x000026a3 istore  0x00000002 , 0x00000005 
+ 00018977  0x000026a4 fetch  0x00000002 , 0x00004280 
+ 00018978  0x000026a5 istore  0x00000002 , 0x00000005 
+ 00018979  0x000026a6 fetch  0x00000001 , 0x00004282 
+ 00018980  0x000026a7 istore  0x00000002 , 0x00000005 
+ 00018981  0x000026a8 fetch  0x00000001 , 0x00004284 
+ 00018982  0x000026a9 istore  0x00000002 , 0x00000005 
+ 00018983  0x000026aa branch  0x000049bc 
+ 00018984  0x000026ad jam  0x00000018 , 0x0000007c 
+ 00018985  0x000026ae branch  0x000049bc 
+ 00018986  0x000026b1 call  0x00003512 
+ 00018987  0x000026b2 store  0x00000001 , 0x000000ad 
+ 00018988  0x000026b3 fetch  0x00000001 , 0x00000046 
+ 00018989  0x000026b4 store  0x00000001 , 0x000000ac 
+ 00018990  0x000026b5 jam  0x0000002b , 0x0000007c 
+ 00018991  0x000026b6 set1  0x00000007 , 0x00000000 
+ 00018992  0x000026b7 jam  0x0000008c , 0x0000007c 
+ 00018993  0x000026b8 branch  0x000049bc 
+ 00018994  0x000026bb call  0x00005ed5 
+ 00018995  0x000026bc branch  0x000049bc 
+ 00018996  0x000026bf jam  0x0000002c , 0x0000007c 
+ 00018997  0x000026c0 bmark0  0x00000007 , 0x000049bc 
+ 00018998  0x000026c1 jam  0x0000008d , 0x0000007c 
+ 00018999  0x000026c2 branch  0x000049bc 
+ 00019000  0x000026c5 branch  0x00004a41 , 0x00000029 
+ 00019001  0x000026c6 jam  0x00000003 , 0x0000007c 
+ 00019002  0x000026c7 jam  0x0000002b , 0x0000007d 
+ 00019003  0x000026c8 bmark0  0x00000007 , 0x000049bc 
+ 00019004  0x000026c9 fetch  0x00000001 , 0x000000b0 
+ 00019005  0x000026ca bne  0x00000007 , 0x00005c04 
+ 00019006  0x000026cb jam  0x00000081 , 0x0000007c 
+ 00019007  0x000026cc jam  0x0000008c , 0x0000007d 
+ 00019008  0x000026cd branch  0x000049bc 
+ 00019009  0x000026cf call  0x00003512 
+ 00019010  0x000026d0 store  0x00000001 , 0x000000ad 
+ 00019011  0x000026d1 fetch  0x00000001 , 0x00000046 
+ 00019012  0x000026d2 store  0x00000001 , 0x000000ac 
+ 00019013  0x000026d3 jam  0x0000002b , 0x0000007c 
+ 00019014  0x000026d4 bmark0  0x00000007 , 0x000049bc 
+ 00019015  0x000026d5 branch  0x00005c04 
+ 00019016  0x000026d9 call  0x0000496e 
+ 00019017  0x000026da call  0x0000496b 
+ 00019018  0x000026db force  0x00000000 , 0x0000003f 
+ 00019019  0x000026dc nsetflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00019020  0x000026dd istore  0x00000001 , 0x0000000a 
+ 00019021  0x000026de force  0x00000007 , 0x00000039 
+ 00019022  0x000026df arg  0x00000809 , 0x00000030 
+ 00019023  0x000026e0 call  0x0000494c 
+ 00019024  0x000026e1 branch  0x000049bc 
+ 00019025  0x000026e4 jam  0x0000009a , 0x0000007c 
+ 00019026  0x000026e5 branch  0x000049bc 
+ 00019027  0x000026e8 jam  0x00000007 , 0x0000007c 
+ 00019028  0x000026e9 jam  0x00000013 , 0x00000446 
+ 00019029  0x000026ea branch  0x000049bc 
+ 00019030  0x000026f0 jam  0x00000000 , 0x000002bc 
+ 00019031  0x000026f3 ifetch  0x00000001 , 0x00000003 
+ 00019032  0x000026f4 store  0x00000001 , 0x000002bb 
+ 00019033  0x000026f5 call  0x00004a6d 
+ 00019034  0x000026f7 call  0x00007e00 
+ 00019035  0x000026f8 fetch  0x00000001 , 0x000002bb 
+ 00019036  0x000026f9 copy  0x0000003f , 0x00000002 
+ 00019037  0x000026fa fetch  0x00000001 , 0x0000029f 
+ 00019038  0x000026fb increase  0x00000001 , 0x0000003f 
+ 00019039  0x000026fc icompare  0x000000ff , 0x00000002 
+ 00019040  0x000026fd nbranch  0x00004a77 , 0x00000001 
+ 00019041  0x000026fe store  0x00000001 , 0x0000029f 
+ 00019042  0x000026ff call  0x00007e0e 
+ 00019043  0x00002701 ifetch  0x00000001 , 0x00000003 
+ 00019044  0x00002702 beq  0x00000001 , 0x00004ad8 
+ 00019045  0x00002703 beq  0x00000002 , 0x00004aae 
+ 00019046  0x00002704 beq  0x00000003 , 0x00004adf 
+ 00019047  0x00002705 beq  0x00000005 , 0x00004ac3 
+ 00019048  0x00002706 beq  0x00000006 , 0x00004a80 
+ 00019049  0x00002707 beq  0x00000007 , 0x00004a91 
+ 00019050  0x00002708 beq  0x00000008 , 0x00004aa8 
+ 00019051  0x00002709 beq  0x00000009 , 0x00004ae6 
+ 00019052  0x0000270a rtn 
+ 00019053  0x0000270c copy  0x0000003f , 0x00000002 
+ 00019054  0x0000270d call  0x00007e00 
+ 00019055  0x0000270e fetch  0x00000001 , 0x000002bc 
+ 00019056  0x0000270f iadd  0x00000002 , 0x0000003f 
+ 00019057  0x00002710 store  0x00000001 , 0x000002bc 
+ 00019058  0x00002711 branch  0x00007e0e 
+ 00019059  0x00002715 force  0x00000001 , 0x0000003f 
+ 00019060  0x00002716 call  0x000044b5 
+ 00019061  0x00002717 fetch  0x00000001 , 0x0000029f 
+ 00019062  0x00002718 branch  0x000044b5 
+ 00019063  0x0000271b call  0x00007e0e 
+ 00019064  0x0000271c branch  0x00004a7c 
+ 00019065  0x0000271e fetch  0x00000001 , 0x0000029f 
+ 00019066  0x0000271f increase  0xffffffff , 0x0000003f 
+ 00019067  0x00002720 store  0x00000001 , 0x0000029f 
+ 00019068  0x00002722 force  0x00000000 , 0x0000003f 
+ 00019069  0x00002723 call  0x000044b5 
+ 00019070  0x00002724 fetch  0x00000001 , 0x0000029f 
+ 00019071  0x00002725 branch  0x000044b5 
+ 00019072  0x00002728 call  0x00004a6d 
+ 00019073  0x00002729 ifetch  0x00000001 , 0x00000003 
+ 00019074  0x0000272a store  0x00000001 , 0x000002bd 
+ 00019075  0x0000272b call  0x00004a6d 
+ 00019076  0x0000272c ifetch  0x00000001 , 0x00000003 
+ 00019077  0x0000272d lshift8  0x0000003f , 0x00000005 
+ 00019078  0x0000272e call  0x00004a6d 
+ 00019079  0x0000272f fetch  0x00000001 , 0x000002bd 
+ 00019080  0x00002730 iadd  0x00000005 , 0x00000005 
+ 00019081  0x00002731 ifetch  0x00000001 , 0x00000003 
+ 00019082  0x00002732 istore  0x00000001 , 0x00000005 
+ 00019083  0x00002733 call  0x00004a6d 
+ 00019084  0x00002734 ifetch  0x00000001 , 0x00000003 
+ 00019085  0x00002735 call  0x00004a6d 
+ 00019086  0x00002736 fetch  0x00000001 , 0x000002bc 
+ 00019087  0x00002737 bne  0x000000ff , 0x00004a79 
+ 00019088  0x00002738 branch  0x00004a73 
+ 00019089  0x0000273b call  0x00004a6d 
+ 00019090  0x0000273c ifetch  0x00000001 , 0x00000003 
+ 00019091  0x0000273d store  0x00000001 , 0x000002bd 
+ 00019092  0x0000273e call  0x00004a6d 
+ 00019093  0x0000273f ifetch  0x00000001 , 0x00000003 
+ 00019094  0x00002740 store  0x00000001 , 0x000002be 
+ 00019095  0x00002741 call  0x00004a6d 
+ 00019096  0x00002742 ifetch  0x00000001 , 0x00000003 
+ 00019097  0x00002743 call  0x00004a6d 
+ 00019098  0x00002744 fetch  0x00000001 , 0x000002bc 
+ 00019099  0x00002745 bne  0x000000ff , 0x00004a79 
+ 00019100  0x00002747 fetch  0x00000001 , 0x000002be 
+ 00019101  0x00002748 lshift8  0x0000003f , 0x00000002 
+ 00019102  0x00002749 fetch  0x00000001 , 0x000002bd 
+ 00019103  0x0000274a iadd  0x00000002 , 0x00000003 
+ 00019104  0x0000274b ifetch  0x00000001 , 0x00000003 
+ 00019105  0x0000274c store  0x00000001 , 0x000002bd 
+ 00019106  0x0000274e force  0x00000001 , 0x0000003f 
+ 00019107  0x0000274f call  0x000044b5 
+ 00019108  0x00002750 fetch  0x00000001 , 0x000002bd 
+ 00019109  0x00002751 call  0x000044b5 
+ 00019110  0x00002752 jam  0x000000ff , 0x0000029f 
+ 00019111  0x00002753 rtn 
+ 00019112  0x00002756 call  0x00004a6d 
+ 00019113  0x00002757 ifetch  0x00000001 , 0x00000003 
+ 00019114  0x00002758 call  0x00004a6d 
+ 00019115  0x00002759 fetch  0x00000001 , 0x000002bc 
+ 00019116  0x0000275a bne  0x000000ff , 0x00004a79 
+ 00019117  0x0000275b branch  0x00004a73 
+ 00019118  0x0000275e call  0x00004a6d 
+ 00019119  0x0000275f ifetch  0x00000001 , 0x00000003 
+ 00019120  0x00002760 hstore  0x00000001 , 0x00008024 
+ 00019121  0x00002761 call  0x00004a6d 
+ 00019122  0x00002762 ifetch  0x00000001 , 0x00000003 
+ 00019123  0x00002763 set1  0x00000007 , 0x0000003f 
+ 00019124  0x00002764 hstore  0x00000001 , 0x00008023 
+ 00019125  0x00002765 set0  0x00000007 , 0x0000003f 
+ 00019126  0x00002766 call  0x00004a6d 
+ 00019127  0x00002767 ifetch  0x00000001 , 0x00000003 
+ 00019128  0x00002768 copy  0x0000003f , 0x00000039 
+ 00019129  0x00002769 call  0x00004a6d 
+ 00019130  0x0000276b ifetch  0x00000001 , 0x00000003 
+ 00019131  0x0000276c hstore  0x00000001 , 0x00008025 
+ 00019132  0x0000276d call  0x00004a6d 
+ 00019133  0x0000276e loop  0x00004aba 
+ 00019134  0x0000276f ifetch  0x00000001 , 0x00000003 
+ 00019135  0x00002770 call  0x00004a6d 
+ 00019136  0x00002771 fetch  0x00000001 , 0x000002bc 
+ 00019137  0x00002772 bne  0x000000ff , 0x00004a79 
+ 00019138  0x00002773 branch  0x00004a73 
+ 00019139  0x00002776 call  0x00004a6d 
+ 00019140  0x00002777 ifetch  0x00000001 , 0x00000003 
+ 00019141  0x00002778 store  0x00000001 , 0x000002bd 
+ 00019142  0x00002779 call  0x00004a6d 
+ 00019143  0x0000277a ifetch  0x00000001 , 0x00000003 
+ 00019144  0x0000277b lshift8  0x0000003f , 0x00000005 
+ 00019145  0x0000277c call  0x00004a6d 
+ 00019146  0x0000277d fetch  0x00000001 , 0x000002bd 
+ 00019147  0x0000277e iadd  0x00000005 , 0x00000005 
+ 00019148  0x0000277f ifetch  0x00000001 , 0x00000003 
+ 00019149  0x00002780 iforce  0x00000039 
+ 00019150  0x00002781 call  0x00004a6d 
+ 00019151  0x00002783 ifetch  0x00000001 , 0x00000003 
+ 00019152  0x00002784 istore  0x00000001 , 0x00000005 
+ 00019153  0x00002785 call  0x00004a6d 
+ 00019154  0x00002786 loop  0x00004acf 
+ 00019155  0x00002787 ifetch  0x00000001 , 0x00000003 
+ 00019156  0x00002788 call  0x00004a6d 
+ 00019157  0x00002789 fetch  0x00000001 , 0x000002bc 
+ 00019158  0x0000278a bne  0x000000ff , 0x00004a79 
+ 00019159  0x0000278b branch  0x00004a73 
+ 00019160  0x00002790 call  0x00004a6d 
+ 00019161  0x00002791 ifetch  0x00000001 , 0x00000003 
+ 00019162  0x00002792 call  0x00004a6d 
+ 00019163  0x00002793 fetch  0x00000001 , 0x000002bc 
+ 00019164  0x00002794 bne  0x000000ff , 0x00004a79 
+ 00019165  0x00002795 hjam  0x00000080 , 0x00008023 
+ 00019166  0x00002796 branch  0x00004a73 
+ 00019167  0x00002799 call  0x00004a6d 
+ 00019168  0x0000279a ifetch  0x00000001 , 0x00000003 
+ 00019169  0x0000279b call  0x00004a6d 
+ 00019170  0x0000279c fetch  0x00000001 , 0x000002bc 
+ 00019171  0x0000279d bne  0x000000ff , 0x00004a79 
+ 00019172  0x0000279e hjam  0x00000000 , 0x00008023 
+ 00019173  0x0000279f branch  0x00004a73 
+ 00019174  0x000027a2 call  0x00004a6d 
+ 00019175  0x000027a3 ifetch  0x00000001 , 0x00000003 
+ 00019176  0x000027a4 call  0x00004a6d 
+ 00019177  0x000027a5 fetch  0x00000001 , 0x000002bc 
+ 00019178  0x000027a6 bne  0x000000ff , 0x00004a79 
+ 00019179  0x000027a7 call  0x00004a73 
+ 00019180  0x000027a8 branch  0x00003001 
+ 00019181  0x000027ac call  0x00006a8b 
+ 00019182  0x000027ad rtn  0x00000001 
+ 00019183  0x000027ae arg  0x00000007 , 0x00000002 
+ 00019184  0x000027af call  0x000069e5 
+ 00019185  0x000027b0 nbranch  0x00004af4 , 0x00000001 
+ 00019186  0x000027b1 jam  0x00000001 , 0x000042ae 
+ 00019187  0x000027b2 rtn 
+ 00019188  0x000027b4 fetch  0x00000001 , 0x000042ae 
+ 00019189  0x000027b5 rtnne  0x00000001 
+ 00019190  0x000027b6 call  0x00004599 
+ 00019191  0x000027b7 branch  0x0000495f 
+ 00019192  0x000027c6 set1  0x00000025 , 0x00000000 
+ 00019193  0x000027c7 bpatch  0x0000009c , 0x00004033 
+ 00019194  0x000027c8 fetch  0x00000002 , 0x000002cb 
+ 00019195  0x000027c9 copy  0x0000003f , 0x00000006 
+ 00019196  0x000027ca ifetch  0x00000001 , 0x00000006 
+ 00019197  0x000027cb and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019198  0x000027cc rshift4  0x0000003f , 0x0000003f 
+ 00019199  0x000027cd beq  0x00000009 , 0x00004b18 
+ 00019200  0x000027ce beq  0x00000007 , 0x00004b18 
+ 00019201  0x000027cf beq  0x0000000a , 0x00004b24 
+ 00019202  0x000027d0 beq  0x00000005 , 0x00004b11 
+ 00019203  0x000027d1 beq  0x00000001 , 0x00004b05 
+ 00019204  0x000027d2 rtn 
+ 00019205  0x000027d5 copy  0x00000002 , 0x0000003f 
+ 00019206  0x000027d6 beq  0x00000005 , 0x00004b09 
+ 00019207  0x000027d7 beq  0x00000003 , 0x00004b10 
+ 00019208  0x000027d8 rtn 
+ 00019209  0x000027db jam  0x00000027 , 0x00000b7d 
+ 00019210  0x000027dc call  0x00007c27 
+ 00019211  0x000027dd fetch  0x00000001 , 0x00004132 
+ 00019212  0x000027de rtnne  0x00000006 , 0x0000003f 
+ 00019213  0x000027df copy  0x00000002 , 0x0000003f 
+ 00019214  0x000027e0 beq  0x00000005 , 0x00006946 
+ 00019215  0x000027e1 rtn 
+ 00019216  0x000027e3 rtn 
+ 00019217  0x000027e6 arg  0x00000001 , 0x00000011 
+ 00019218  0x000027e7 call  0x00004b2c 
+ 00019219  0x000027e8 fetch  0x00000002 , 0x000042b5 
+ 00019220  0x000027e9 istore  0x00000002 , 0x00000005 
+ 00019221  0x000027ea setarg  0x00000000 
+ 00019222  0x000027eb istore  0x00000001 , 0x00000005 
+ 00019223  0x000027ec rtn 
+ 00019224  0x000027ef arg  0x00000001 , 0x00000011 
+ 00019225  0x000027f0 call  0x00004b2c 
+ 00019226  0x000027f1 fetch  0x00000002 , 0x000042b5 
+ 00019227  0x000027f2 istore  0x00000002 , 0x00000005 
+ 00019228  0x000027f3 setarg  0x00000000 
+ 00019229  0x000027f4 istore  0x00000001 , 0x00000005 
+ 00019230  0x000027f5 jam  0x00000001 , 0x000008a8 
+ 00019231  0x000027f6 fetch  0x00000001 , 0x000042bb 
+ 00019232  0x000027f7 set1  0x00000006 
+ 00019233  0x000027f8 store  0x00000001 , 0x000042bb 
+ 00019234  0x000027fa jam  0x00000012 , 0x00000b7d 
+ 00019235  0x000027fb branch  0x00007c27 
+ 00019236  0x000027fe ifetch  0x00000001 , 0x00000006 
+ 00019237  0x000027ff beq  0x00000001 , 0x00004b27 
+ 00019238  0x00002800 rtn 
+ 00019239  0x00002803 copy  0x00000006 , 0x00000011 
+ 00019240  0x00002804 fetch  0x00000001 , 0x00004132 
+ 00019241  0x00002805 rtnne  0x00000003 , 0x0000003f 
+ 00019242  0x00002806 copy  0x00000011 , 0x00000006 
+ 00019243  0x00002807 branch  0x00004c4a 
+ 00019244  0x0000280a call  0x00005248 
+ 00019245  0x0000280b copy  0x00000011 , 0x00000002 
+ 00019246  0x0000280c storet  0x00000001 , 0x000008a8 
+ 00019247  0x0000280d copy  0x0000003f , 0x00000005 
+ 00019248  0x0000280e copy  0x00000011 , 0x0000003f 
+ 00019249  0x0000280f istore  0x00000002 , 0x00000005 
+ 00019250  0x00002810 rtn 
+ 00019251  0x00002814 setarg  0x00004b5b 
+ 00019252  0x00002815 store  0x00000002 , 0x0000428c 
+ 00019253  0x00002816 setarg  0x00004b44 
+ 00019254  0x00002817 store  0x00000002 , 0x00004296 
+ 00019255  0x00002818 call  0x0000691d 
+ 00019256  0x00002819 call  0x00005347 
+ 00019257  0x0000281a hjam  0x0000009e , 0x000080a2 
+ 00019258  0x0000281b hjam  0x00000008 , 0x00008081 
+ 00019259  0x0000281c hjam  0x00000005 , 0x00008075 
+ 00019260  0x0000281d setarg  0xffffffff 
+ 00019261  0x0000281e set0  0x00000001 , 0x0000003f 
+ 00019262  0x0000281f set0  0x00000015 , 0x0000003f 
+ 00019263  0x00002820 hstore  0x00000004 , 0x00008070 
+ 00019264  0x00002821 hjam  0x00000002 , 0x00008078 
+ 00019265  0x00002822 rtn  0x0000002b 
+ 00019266  0x00002823 jam  0x00000001 , 0x000043d8 
+ 00019267  0x00002824 rtn 
+ 00019268  0x00002828 ifetch  0x00000001 , 0x00000011 
+ 00019269  0x00002829 store  0x00000001 , 0x00004803 
+ 00019270  0x0000282a beq  0x00000003 , 0x00004b4f 
+ 00019271  0x0000282b beq  0x00000004 , 0x00004b51 
+ 00019272  0x0000282c beq  0x00000005 , 0x00004b53 
+ 00019273  0x0000282d beq  0x00000014 , 0x00004b64 
+ 00019274  0x0000282e beq  0x00000015 , 0x00004b67 
+ 00019275  0x0000282f rtnne  0x00000002 
+ 00019276  0x00002830 ifetch  0x00000001 , 0x00000006 
+ 00019277  0x00002831 store  0x00000001 , 0x00004804 
+ 00019278  0x00002832 rtn 
+ 00019279  0x00002835 arg  0x00004807 , 0x00000005 
+ 00019280  0x00002836 branch  0x00004b55 
+ 00019281  0x00002839 arg  0x00004825 , 0x00000005 
+ 00019282  0x0000283a branch  0x00004b55 
+ 00019283  0x0000283d fetch  0x00000002 , 0x00004800 
+ 00019284  0x0000283e iforce  0x00000005 
+ 00019285  0x00002841 arg  0x00000013 , 0x00000039 
+ 00019286  0x00002842 call  0x00007e45 
+ 00019287  0x00002843 deposit  0x00000005 
+ 00019288  0x00002844 store  0x00000002 , 0x00004800 
+ 00019289  0x00002845 jam  0x00000000 , 0x00004803 
+ 00019290  0x00002846 rtn 
+ 00019291  0x0000284b fetch  0x00000001 , 0x00004803 
+ 00019292  0x0000284c beq  0x00000001 , 0x00004b71 
+ 00019293  0x0000284d beq  0x00000002 , 0x00004b8d 
+ 00019294  0x0000284e beq  0x0000000a , 0x00004b7a 
+ 00019295  0x0000284f beq  0x0000000b , 0x00004b7a 
+ 00019296  0x00002850 beq  0x0000000c , 0x00004b7a 
+ 00019297  0x00002851 beq  0x00000008 , 0x00004b8d 
+ 00019298  0x00002852 beq  0x00000009 , 0x00004b6a 
+ 00019299  0x00002853 rtn 
+ 00019300  0x00002856 jam  0x00000000 , 0x00004213 
+ 00019301  0x00002857 jam  0x00000000 , 0x00004803 
+ 00019302  0x00002858 rtn 
+ 00019303  0x0000285a jam  0x0000001e , 0x00004213 
+ 00019304  0x0000285b jam  0x00000000 , 0x00004803 
+ 00019305  0x0000285c rtn 
+ 00019306  0x00002861 jam  0x00000000 , 0x00004803 
+ 00019307  0x00002862 arg  0x000fffff , 0x0000001b 
+ 00019308  0x00002863 call  0x00004b91 
+ 00019309  0x00002864 rtn 
+ 00019310  0x00002867 fetcht  0x00000002 , 0x000003c2 
+ 00019311  0x00002868 iadd  0x00000002 , 0x0000003f 
+ 00019312  0x00002869 store  0x00000004 , 0x000003c4 
+ 00019313  0x0000286b fetch  0x00000004 , 0x000003c4 
+ 00019314  0x0000286c isub  0x00000028 , 0x0000003f 
+ 00019315  0x0000286d nbranch  0x00004b6e , 0x00000002 
+ 00019316  0x0000286e rshift  0x0000003f , 0x0000001b 
+ 00019317  0x0000286f call  0x00004b91 
+ 00019318  0x00002870 rtn  0x00000034 
+ 00019319  0x00002871 jam  0x0000000c , 0x00004803 
+ 00019320  0x00002872 arg  0x00001800 , 0x00000002 
+ 00019321  0x00002873 storet  0x00000002 , 0x00004800 
+ 00019322  0x00002876 call  0x0000561c 
+ 00019323  0x00002877 nrtn  0x00000034 
+ 00019324  0x00002878 jam  0x00000014 , 0x000044c2 
+ 00019325  0x00002879 jam  0x0000001b , 0x00000b7d 
+ 00019326  0x0000287a call  0x00005620 
+ 00019327  0x0000287b fetch  0x00000002 , 0x00000419 
+ 00019328  0x0000287c iforce  0x00000005 
+ 00019329  0x0000287d fetch  0x00000002 , 0x00004800 
+ 00019330  0x0000287e iforce  0x00000006 
+ 00019331  0x0000287f arg  0x00000014 , 0x00000039 
+ 00019332  0x00002880 call  0x00007e45 
+ 00019333  0x00002881 deposit  0x00000006 
+ 00019334  0x00002882 store  0x00000002 , 0x00004800 
+ 00019335  0x00002883 fetch  0x00000002 , 0x00004805 
+ 00019336  0x00002884 increase  0xffffffec , 0x0000003f 
+ 00019337  0x00002885 store  0x00000002 , 0x00004805 
+ 00019338  0x00002886 rtn  0x00000002 
+ 00019339  0x00002887 jam  0x00000000 , 0x00004803 
+ 00019340  0x00002888 rtn 
+ 00019341  0x0000288c fetch  0x00000001 , 0x00004804 
+ 00019342  0x0000288d call  0x00004be2 
+ 00019343  0x0000288e jam  0x00000000 , 0x00004803 
+ 00019344  0x0000288f rtn 
+ 00019345  0x00002893 call  0x00004b97 
+ 00019346  0x00002894 setarg  0x00001800 
+ 00019347  0x00002895 isub  0x00000005 , 0x0000003f 
+ 00019348  0x00002896 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00019349  0x00002897 store  0x00000002 , 0x00004805 
+ 00019350  0x00002898 rtn 
+ 00019351  0x0000289d disable  0x00000010 
+ 00019352  0x0000289e arg  0x00001800 , 0x00000005 
+ 00019353  0x000028a0 rtn  0x00000003 
+ 00019354  0x000028a1 hfetch  0x00000001 , 0x0000811e 
+ 00019355  0x000028a2 bbit0  0x00000005 , 0x00004b99 
+ 00019356  0x000028a3 copy  0x00000019 , 0x00000002 
+ 00019357  0x000028a4 arg  0x00000080 , 0x00000039 
+ 00019358  0x000028a5 call  0x00007e3b 
+ 00019359  0x000028a6 arg  0x00001800 , 0x00000005 
+ 00019360  0x000028a7 arg  0x00000000 , 0x00000013 
+ 00019361  0x000028a9 arg  0x000000b4 , 0x0000001b 
+ 00019362  0x000028ab rtn  0x00000003 
+ 00019363  0x000028ac hfetch  0x00000001 , 0x0000811e 
+ 00019364  0x000028ad ixor  0x00000013 , 0x0000003f 
+ 00019365  0x000028ae bbit1  0x00000005 , 0x00004ba2 
+ 00019366  0x000028af copy  0x00000019 , 0x0000003f 
+ 00019367  0x000028b0 iforce  0x00000030 
+ 00019368  0x000028b1 call  0x00007e78 
+ 00019369  0x000028b2 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00019370  0x000028b3 branch  0x00004ba2 , 0x00000002 
+ 00019371  0x000028b4 isolate0  0x00000005 , 0x00000013 
+ 00019372  0x000028b5 setflag  0x00000001 , 0x00000017 , 0x0000003f 
+ 00019373  0x000028b6 istore  0x00000003 , 0x00000005 
+ 00019374  0x000028b7 rshift8  0x00000005 , 0x0000003f 
+ 00019375  0x000028b8 rtneq  0x0000001c 
+ 00019376  0x000028b9 copy  0x00000030 , 0x00000002 
+ 00019377  0x000028ba xor_into  0x00000020 , 0x00000013 
+ 00019378  0x000028bb branch  0x00004ba1 
+ 00019379  0x000028c0 branch  0x00004bc7 , 0x00000028 
+ 00019380  0x000028c1 branch  0x00004bca , 0x0000002c 
+ 00019381  0x000028c3 arg  0x00004826 , 0x00000002 
+ 00019382  0x000028c4 fetch  0x00000001 , 0x00004825 
+ 00019383  0x000028c5 iadd  0x00000002 , 0x0000003f 
+ 00019384  0x000028c6 isub  0x00000011 , 0x0000003e 
+ 00019385  0x000028c7 branch  0x00004bda , 0x00000005 
+ 00019386  0x000028c8 ifetch  0x00000001 , 0x00000011 
+ 00019387  0x000028c9 copy  0x00000006 , 0x00000011 
+ 00019388  0x000028ca bbit0  0x00000007 , 0x00004bc1 
+ 00019389  0x000028cb enable  0x0000002c 
+ 00019390  0x000028cc and  0x0000003f , 0x0000007f , 0x00000012 
+ 00019391  0x000028cd lshift3  0x00000011 , 0x00000011 
+ 00019392  0x000028ce branch  0x00004bca 
+ 00019393  0x000028d0 rshift4  0x0000003f , 0x00000008 
+ 00019394  0x000028d1 and_into  0x0000000f , 0x0000003f 
+ 00019395  0x000028d2 isub  0x00000008 , 0x0000003e 
+ 00019396  0x000028d3 rtn  0x00000005 
+ 00019397  0x000028d4 enable  0x00000028 
+ 00019398  0x000028d5 rtn 
+ 00019399  0x000028d7 deposit  0x00000008 
+ 00019400  0x000028d8 disable  0x00000028 
+ 00019401  0x000028d9 rtn 
+ 00019402  0x000028db deposit  0x00000012 
+ 00019403  0x000028dc branch  0x00004bd6 , 0x00000034 
+ 00019404  0x000028dd and  0x00000011 , 0x00000007 , 0x00000007 
+ 00019405  0x000028de rshift3  0x00000011 , 0x00000006 
+ 00019406  0x000028df ifetch  0x00000001 , 0x00000006 
+ 00019407  0x000028e0 increase  0x00000001 , 0x00000011 
+ 00019408  0x000028e1 increase  0xffffffff , 0x00000012 
+ 00019409  0x000028e2 qisolate0  0x0000003f 
+ 00019410  0x000028e3 fetch  0x00000001 , 0x00004807 
+ 00019411  0x000028e4 branch  0x00004bc1 , 0x00000001 
+ 00019412  0x000028e5 fetch  0x00000001 , 0x00004808 
+ 00019413  0x000028e6 branch  0x00004bc1 
+ 00019414  0x000028e8 disable  0x0000002c 
+ 00019415  0x000028e9 increase  0x00000007 , 0x00000011 
+ 00019416  0x000028ea rshift3  0x00000011 , 0x00000011 
+ 00019417  0x000028eb branch  0x00004bb5 
+ 00019418  0x000028ed setarg  0x000000ff 
+ 00019419  0x000028ee rtn 
+ 00019420  0x000028f2 lshift  0x0000003f , 0x00000006 
+ 00019421  0x000028f3 iadd  0x00000006 , 0x0000003f 
+ 00019422  0x000028f4 arg  0x00004809 , 0x00000006 
+ 00019423  0x000028f5 iadd  0x00000006 , 0x00000006 
+ 00019424  0x000028f6 ifetch  0x00000003 , 0x00000006 
+ 00019425  0x000028f7 rtn 
+ 00019426  0x000028fb enable  0x00000010 
+ 00019427  0x000028fc iforce  0x00000039 
+ 00019428  0x000028fe disable  0x00000028 
+ 00019429  0x000028ff disable  0x0000002c 
+ 00019430  0x00002900 arg  0x00004826 , 0x00000011 
+ 00019431  0x00002902 call  0x00004bb3 
+ 00019432  0x00002903 beq  0x000000ff , 0x00004bf1 
+ 00019433  0x00002904 call  0x00004bdc 
+ 00019434  0x00002905 bbit0  0x00000017 , 0x00004bed 
+ 00019435  0x00002906 set0  0x00000017 , 0x0000003f 
+ 00019436  0x00002907 hjam  0x0000009e , 0x000080a0 
+ 00019437  0x00002909 iforce  0x0000001b 
+ 00019438  0x0000290a until  0x0000003e , 0x00000003 
+ 00019439  0x0000290b hjam  0x00000000 , 0x000080a0 
+ 00019440  0x0000290c branch  0x00004be7 
+ 00019441  0x0000290e loop  0x00004be4 
+ 00019442  0x0000290f rtn 
+ 00019443  0x00002916 call  0x00004c21 
+ 00019444  0x00002917 setarg  0x00004d21 
+ 00019445  0x00002918 store  0x00000002 , 0x00004290 
+ 00019446  0x00002919 setarg  0x00004c59 
+ 00019447  0x0000291a store  0x00000002 , 0x0000428e 
+ 00019448  0x0000291b setarg  0x00004d37 
+ 00019449  0x0000291c store  0x00000002 , 0x00004292 
+ 00019450  0x0000291d setarg  0x00004d7e 
+ 00019451  0x0000291e store  0x00000002 , 0x0000428a 
+ 00019452  0x0000291f setarg  0x00004d7b 
+ 00019453  0x00002920 store  0x00000002 , 0x00004294 
+ 00019454  0x00002921 setarg  0x00004d7e 
+ 00019455  0x00002922 store  0x00000002 , 0x00004288 
+ 00019456  0x00002923 setarg  0x00004d22 
+ 00019457  0x00002924 store  0x00000002 , 0x00004286 
+ 00019458  0x00002925 rtn  0x0000002b 
+ 00019459  0x00002927 fetch  0x00000002 , 0x000047f4 
+ 00019460  0x00002928 bbit1  0x0000000c , 0x00003f79 
+ 00019461  0x00002929 call  0x00003f23 
+ 00019462  0x0000292a branch  0x00004d79 , 0x00000034 
+ 00019463  0x0000292b call  0x00003f7e 
+ 00019464  0x0000292c branch  0x00003f6e 
+ 00019465  0x00002930 call  0x00004c21 
+ 00019466  0x00002931 setarg  0x00004d21 
+ 00019467  0x00002932 store  0x00000002 , 0x00004290 
+ 00019468  0x00002933 setarg  0x00004c59 
+ 00019469  0x00002934 store  0x00000002 , 0x0000428e 
+ 00019470  0x00002935 setarg  0x00004d37 
+ 00019471  0x00002936 store  0x00000002 , 0x00004292 
+ 00019472  0x00002937 setarg  0x00004d7e 
+ 00019473  0x00002938 store  0x00000002 , 0x0000428a 
+ 00019474  0x00002939 setarg  0x00004d7b 
+ 00019475  0x0000293a store  0x00000002 , 0x00004294 
+ 00019476  0x0000293b setarg  0x00004d7e 
+ 00019477  0x0000293c store  0x00000002 , 0x00004288 
+ 00019478  0x0000293d setarg  0x00004d22 
+ 00019479  0x0000293e store  0x00000002 , 0x00004286 
+ 00019480  0x0000293f rtn  0x0000002b 
+ 00019481  0x00002941 jam  0x00000000 , 0x000007dc 
+ 00019482  0x00002942 jam  0x00000000 , 0x000007dd 
+ 00019483  0x00002944 fetch  0x00000002 , 0x000047f4 
+ 00019484  0x00002945 bbit1  0x0000000c , 0x00003f79 
+ 00019485  0x00002946 call  0x00003f23 
+ 00019486  0x00002947 branch  0x00004d79 , 0x00000034 
+ 00019487  0x00002948 call  0x00003f7e 
+ 00019488  0x00002949 branch  0x00003f6e 
+ 00019489  0x0000294e set1  0x00000025 , 0x00000000 
+ 00019490  0x0000294f bpatch  0x000000b6 , 0x00004036 
+ 00019491  0x00002951 fetch  0x00000001 , 0x00008140 
+ 00019492  0x00002952 branch  0x00003bf1 , 0x00000034 
+ 00019493  0x00002953 hjam  0x00000000 , 0x00008070 
+ 00019494  0x00002954 hjam  0x000000ff , 0x00008078 
+ 00019495  0x00002956 hjam  0x000000ff , 0x00008071 
+ 00019496  0x00002957 hjam  0x000000ff , 0x00008072 
+ 00019497  0x00002958 hfetch  0x00000001 , 0x00008073 
+ 00019498  0x00002959 or_into  0x0000000f , 0x0000003f 
+ 00019499  0x0000295a hstore  0x00000001 , 0x00008073 
+ 00019500  0x0000295c hjam  0x00000000 , 0x00008080 
+ 00019501  0x0000295d hjam  0x00000000 , 0x00008081 
+ 00019502  0x0000295e hjam  0x000000ff , 0x00008083 
+ 00019503  0x0000295f hjam  0x000000ff , 0x00008084 
+ 00019504  0x00002960 hfetch  0x00000001 , 0x00008085 
+ 00019505  0x00002961 or_into  0x00000003 , 0x0000003f 
+ 00019506  0x00002962 hstore  0x00000001 , 0x00008085 
+ 00019507  0x00002963 hjam  0x00000000 , 0x0000806f 
+ 00019508  0x00002964 setarg  0x00000013 
+ 00019509  0x00002965 lshift3  0x0000003f , 0x0000003f 
+ 00019510  0x00002966 add  0x0000003f , 0x00000007 , 0x0000003f 
+ 00019511  0x00002967 hstore  0x00000001 , 0x00008064 
+ 00019512  0x00002969 hfetch  0x00000001 , 0x00008043 
+ 00019513  0x0000296a set1  0x00000002 , 0x0000003f 
+ 00019514  0x0000296b hstore  0x00000001 , 0x00008043 
+ 00019515  0x0000296c hfetch  0x00000001 , 0x00008051 
+ 00019516  0x0000296d set0  0x00000001 , 0x0000003f 
+ 00019517  0x0000296e hstore  0x00000001 , 0x00008051 
+ 00019518  0x0000296f hjam  0x0000000d , 0x00008063 
+ 00019519  0x00002970 hjam  0x000000d3 , 0x00008067 
+ 00019520  0x00002971 hjam  0x00000000 , 0x00008065 
+ 00019521  0x00002972 hjam  0x00000031 , 0x00008066 
+ 00019522  0x00002973 call  0x00003e0b 
+ 00019523  0x00002974 fetcht  0x00000001 , 0x0000480e 
+ 00019524  0x00002975 call  0x000069da 
+ 00019525  0x00002976 fetcht  0x00000001 , 0x0000480f 
+ 00019526  0x00002977 call  0x000069da 
+ 00019527  0x00002978 fetcht  0x00000001 , 0x00004810 
+ 00019528  0x00002979 call  0x000069da 
+ 00019529  0x0000297a rtn 
+ 00019530  0x0000297d set1  0x00000025 , 0x00000000 
+ 00019531  0x0000297e bpatch  0x000000b7 , 0x00004036 
+ 00019532  0x0000297f ifetch  0x00000001 , 0x00000006 
+ 00019533  0x00002980 copy  0x0000003f , 0x00000011 
+ 00019534  0x00002981 fetcht  0x00000001 , 0x0000480f 
+ 00019535  0x00002982 isolate1  0x00000000 , 0x00000011 
+ 00019536  0x00002983 call  0x000069f0 
+ 00019537  0x00002984 fetcht  0x00000001 , 0x0000480e 
+ 00019538  0x00002985 isolate1  0x00000001 , 0x00000011 
+ 00019539  0x00002986 call  0x000069f0 
+ 00019540  0x00002987 fetcht  0x00000001 , 0x00004810 
+ 00019541  0x00002988 isolate1  0x00000002 , 0x00000011 
+ 00019542  0x00002989 call  0x000069f0 
+ 00019543  0x0000298a jam  0x00000001 , 0x00004809 
+ 00019544  0x0000298b rtn 
+ 00019545  0x00002990 call  0x00004c99 
+ 00019546  0x00002991 nrtn  0x00000028 
+ 00019547  0x00002992 nrtn  0x0000002c 
+ 00019548  0x00002994 fetch  0x00000001 , 0x00000450 
+ 00019549  0x00002995 beq  0x00000001 , 0x00004c69 
+ 00019550  0x00002996 fetch  0x00000001 , 0x000042bc 
+ 00019551  0x00002997 rtnne  0x0000003f 
+ 00019552  0x00002999 arg  0x0000000a , 0x00000011 
+ 00019553  0x0000299a call  0x00004b2c 
+ 00019554  0x0000299b fetch  0x00000002 , 0x000042b7 
+ 00019555  0x0000299c istore  0x00000002 , 0x00000005 
+ 00019556  0x0000299d setarg  0x000001a1 
+ 00019557  0x0000299e istore  0x00000002 , 0x00000005 
+ 00019558  0x0000299f fetch  0x00000008 , 0x00004800 
+ 00019559  0x000029a0 istore  0x00000008 , 0x00000005 
+ 00019560  0x000029a1 rtn 
+ 00019561  0x000029a4 fetcht  0x00000001 , 0x0000054f 
+ 00019562  0x000029a5 setarg  0x00000550 
+ 00019563  0x000029a6 iadd  0x00000002 , 0x00000005 
+ 00019564  0x000029a7 fetch  0x00000001 , 0x00004802 
+ 00019565  0x000029a8 branch  0x00004c72 , 0x00000034 
+ 00019566  0x000029a9 beq  0x0000002a , 0x00004c74 
+ 00019567  0x000029aa bne  0x00000028 , 0x00004c7e 
+ 00019568  0x000029ab storet  0x00000001 , 0x0000054f 
+ 00019569  0x000029ac branch  0x00003f6a 
+ 00019570  0x000029af storet  0x00000001 , 0x0000054f 
+ 00019571  0x000029b0 rtn 
+ 00019572  0x000029b2 fetch  0x00000001 , 0x0000054f 
+ 00019573  0x000029b3 rtn  0x00000034 
+ 00019574  0x000029b4 increase  0xffffffff , 0x0000003f 
+ 00019575  0x000029b5 store  0x00000001 , 0x0000054f 
+ 00019576  0x000029b6 arg  0x00000550 , 0x00000005 
+ 00019577  0x000029b7 iadd  0x00000005 , 0x00000005 
+ 00019578  0x000029b8 setarg  0x00000000 
+ 00019579  0x000029b9 istore  0x00000001 , 0x00000005 
+ 00019580  0x000029ba enable  0x0000002c 
+ 00019581  0x000029bb branch  0x00004c8d 
+ 00019582  0x000029bd sub  0x0000003f , 0x0000001d , 0x0000003e 
+ 00019583  0x000029be rtn  0x00000002 
+ 00019584  0x000029bf arg  0x00000030 , 0x00000002 
+ 00019585  0x000029c0 sub  0x0000003f , 0x00000027 , 0x0000003e 
+ 00019586  0x000029c1 nrtn  0x00000002 
+ 00019587  0x000029c2 branch  0x00004c87 , 0x00000005 
+ 00019588  0x000029c3 arg  0x0000001d , 0x00000002 
+ 00019589  0x000029c4 isub  0x00000002 , 0x00000002 
+ 00019590  0x000029c5 or_into  0x00000030 , 0x00000002 
+ 00019591  0x000029c7 istoret  0x00000001 , 0x00000005 
+ 00019592  0x000029c8 fetch  0x00000001 , 0x0000054f 
+ 00019593  0x000029c9 increase  0x00000001 , 0x0000003f 
+ 00019594  0x000029ca store  0x00000001 , 0x0000054f 
+ 00019595  0x000029cb disable  0x0000002c 
+ 00019596  0x000029cc branch  0x00004c8d 
+ 00019597  0x000029cf fetch  0x00000002 , 0x000042b7 
+ 00019598  0x000029d0 rtn  0x00000034 
+ 00019599  0x000029d1 arg  0x00000003 , 0x00000011 
+ 00019600  0x000029d2 call  0x00004b2c 
+ 00019601  0x000029d3 fetch  0x00000002 , 0x000042b7 
+ 00019602  0x000029d4 istore  0x00000002 , 0x00000005 
+ 00019603  0x000029d5 setarg  0x0000ffa1 
+ 00019604  0x000029d6 istore  0x00000002 , 0x00000005 
+ 00019605  0x000029d7 setarg  0x00000000 
+ 00019606  0x000029d8 setflag  0x0000002c , 0x00000000 , 0x0000003f 
+ 00019607  0x000029d9 istore  0x00000001 , 0x00000005 
+ 00019608  0x000029da rtn 
+ 00019609  0x000029df disable  0x00000028 
+ 00019610  0x000029e0 disable  0x0000002c 
+ 00019611  0x000029e1 hfetch  0x00000001 , 0x00008119 
+ 00019612  0x000029e2 rtnbit1  0x00000000 
+ 00019613  0x000029e5 hfetch  0x00000001 , 0x0000811b 
+ 00019614  0x000029e6 bbit1  0x00000000 , 0x00004ca3 
+ 00019615  0x000029e7 hfetch  0x00000001 , 0x00008119 
+ 00019616  0x000029e8 bbit0  0x00000006 , 0x00004ca3 
+ 00019617  0x000029e9 hfetch  0x00000001 , 0x0000811a 
+ 00019618  0x000029ea branch  0x00004c99 
+ 00019619  0x000029ed enable  0x00000028 
+ 00019620  0x000029ee enable  0x0000002c 
+ 00019621  0x000029ef hfetch  0x00000001 , 0x0000811b 
+ 00019622  0x000029f0 isolate0  0x00000000 , 0x0000003f 
+ 00019623  0x000029f1 hfetch  0x00000001 , 0x0000811a 
+ 00019624  0x000029f2 arg  0x00004811 , 0x00000006 
+ 00019625  0x000029f3 iadd  0x00000006 , 0x00000006 
+ 00019626  0x000029f4 ifetch  0x00000001 , 0x00000006 
+ 00019627  0x000029f5 bbit1  0x00000007 , 0x00004ce4 
+ 00019628  0x000029f6 nbranch  0x00004ccc , 0x00000001 
+ 00019629  0x000029f7 disable  0x0000002c 
+ 00019630  0x000029f8 iforce  0x00000002 
+ 00019631  0x000029f9 fetch  0x00000001 , 0x00004808 
+ 00019632  0x000029fa sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00019633  0x000029fb nrtn  0x00000002 
+ 00019634  0x000029fc copy  0x0000003f , 0x00000011 
+ 00019635  0x000029fd arg  0x00000003 , 0x00000039 
+ 00019636  0x000029fe arg  0x00004802 , 0x00000006 
+ 00019637  0x00002a00 ifetch  0x00000001 , 0x00000006 
+ 00019638  0x00002a01 isub  0x00000002 , 0x0000003e 
+ 00019639  0x00002a02 branch  0x00004c99 , 0x00000005 
+ 00019640  0x00002a03 loop  0x00004cb5 
+ 00019641  0x00002a05 copy  0x00000011 , 0x0000003f 
+ 00019642  0x00002a06 arg  0x00004802 , 0x00000005 
+ 00019643  0x00002a07 iadd  0x00000005 , 0x00000005 
+ 00019644  0x00002a08 istoret  0x00000001 , 0x00000005 
+ 00019645  0x00002a09 increase  0x00000001 , 0x0000003f 
+ 00019646  0x00002a0a store  0x00000001 , 0x00004808 
+ 00019647  0x00002a0b hfetch  0x00000001 , 0x0000811b 
+ 00019648  0x00002a0c rshift3  0x0000003f , 0x0000003f 
+ 00019649  0x00002a0d nbranch  0x00004cc3 , 0x00000034 
+ 00019650  0x00002a0e branch  0x00004cca 
+ 00019651  0x00002a11 increase  0xffffffff , 0x0000003f 
+ 00019652  0x00002a12 branch  0x00004cca , 0x00000005 
+ 00019653  0x00002a13 hfetch  0x00000001 , 0x0000811b 
+ 00019654  0x00002a14 and_into  0x00000001 , 0x0000003f 
+ 00019655  0x00002a15 beq  0x00000000 , 0x00004c99 
+ 00019656  0x00002a16 beq  0x00000001 , 0x00004cca 
+ 00019657  0x00002a17 rtn 
+ 00019658  0x00002a19 enable  0x0000002c 
+ 00019659  0x00002a1a rtn 
+ 00019660  0x00002a1d and  0x0000003f , 0x000000ff , 0x00000002 
+ 00019661  0x00002a1e fetch  0x00000001 , 0x00004808 
+ 00019662  0x00002a1f rtn  0x00000034 
+ 00019663  0x00002a20 iforce  0x00000039 
+ 00019664  0x00002a21 arg  0x00004802 , 0x00000006 
+ 00019665  0x00002a23 ifetch  0x00000001 , 0x00000006 
+ 00019666  0x00002a24 isub  0x00000002 , 0x0000003e 
+ 00019667  0x00002a25 branch  0x00004cd6 , 0x00000005 
+ 00019668  0x00002a26 loop  0x00004cd1 
+ 00019669  0x00002a27 rtn 
+ 00019670  0x00002a29 add  0x00000006 , 0xffffffff , 0x00000005 
+ 00019671  0x00002a2a call  0x00007e45 
+ 00019672  0x00002a2b fetch  0x00000001 , 0x00004808 
+ 00019673  0x00002a2c increase  0xffffffff , 0x0000003f 
+ 00019674  0x00002a2d store  0x00000001 , 0x00004808 
+ 00019675  0x00002a2e hfetch  0x00000001 , 0x0000811b 
+ 00019676  0x00002a2f rshift3  0x0000003f , 0x0000003f 
+ 00019677  0x00002a30 nbranch  0x00004cdf , 0x00000034 
+ 00019678  0x00002a31 rtn 
+ 00019679  0x00002a34 hfetch  0x00000001 , 0x0000811b 
+ 00019680  0x00002a35 and_into  0x00000001 , 0x0000003f 
+ 00019681  0x00002a36 beq  0x00000000 , 0x00004cca 
+ 00019682  0x00002a37 beq  0x00000001 , 0x00004c99 
+ 00019683  0x00002a38 rtn 
+ 00019684  0x00002a3b and  0x0000003f , 0x00000007 , 0x00000007 
+ 00019685  0x00002a3c fetch  0x00000001 , 0x00004800 
+ 00019686  0x00002a3d qsetflag  0x00000001 , 0x0000003f 
+ 00019687  0x00002a3e store  0x00000001 , 0x00004800 
+ 00019688  0x00002a3f rtn 
+ 00019689  0x00002a42 setarg  0x00000000 
+ 00019690  0x00002a43 store  0x00000008 , 0x00004800 
+ 00019691  0x00002a44 store  0x00000001 , 0x00004808 
+ 00019692  0x00002a45 rtn 
+ 00019693  0x00002a48 hfetch  0x00000001 , 0x0000811b 
+ 00019694  0x00002a49 hfetch  0x00000001 , 0x0000811a 
+ 00019695  0x00002a4a hfetch  0x00000001 , 0x00008119 
+ 00019696  0x00002a4b bbit0  0x00000000 , 0x00004ced 
+ 00019697  0x00002a4c setarg  0x000000ff 
+ 00019698  0x00002a4d enable  0x00000028 
+ 00019699  0x00002a4e rtn 
+ 00019700  0x00002a51 fetcht  0x00000002 , 0x000044c2 
+ 00019701  0x00002a52 call  0x00005866 
+ 00019702  0x00002a53 rtnbit0  0x00000000 
+ 00019703  0x00002a54 fetch  0x00000001 , 0x000046f8 
+ 00019704  0x00002a55 rtnbit0  0x00000000 
+ 00019705  0x00002a56 call  0x0000561c 
+ 00019706  0x00002a57 nrtn  0x00000034 
+ 00019707  0x00002a58 call  0x00004c99 
+ 00019708  0x00002a59 nrtn  0x00000028 
+ 00019709  0x00002a5a nrtn  0x0000002c 
+ 00019710  0x00002a5c call  0x00003f5e 
+ 00019711  0x00002a5d jam  0x00000002 , 0x00004213 
+ 00019712  0x00002a5e fetcht  0x00000002 , 0x000044c2 
+ 00019713  0x00002a5f call  0x00005a88 
+ 00019714  0x00002a60 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00019715  0x00002a61 fetch  0x00000008 , 0x00004800 
+ 00019716  0x00002a62 istore  0x00000008 , 0x00000005 
+ 00019717  0x00002a63 jam  0x0000001b , 0x00000b7d 
+ 00019718  0x00002a64 call  0x00005620 
+ 00019719  0x00002a65 fetch  0x00000001 , 0x000003e4 
+ 00019720  0x00002a66 bbit1  0x00000003 , 0x00003bf2 
+ 00019721  0x00002a67 rtn 
+ 00019722  0x00002a69 copy  0x00000013 , 0x0000003f 
+ 00019723  0x00002a6a beq  0x00000010 , 0x00004d15 
+ 00019724  0x00002a6c beq  0x00000014 , 0x00004d13 
+ 00019725  0x00002a6d beq  0x00000028 , 0x00004d11 
+ 00019726  0x00002a6e beq  0x00000029 , 0x00004d11 
+ 00019727  0x00002a6f beq  0x0000002e , 0x00003f57 
+ 00019728  0x00002a70 rtn 
+ 00019729  0x00002a73 call  0x00003fa4 
+ 00019730  0x00002a74 branch  0x00003f92 
+ 00019731  0x00002a76 call  0x00004ced 
+ 00019732  0x00002a77 branch  0x00004ce9 
+ 00019733  0x00002a7a call  0x00005b30 
+ 00019734  0x00002a7b call  0x00003f90 
+ 00019735  0x00002a7c call  0x00003f88 
+ 00019736  0x00002a7d branch  0x00003f94 
+ 00019737  0x00002a80 fetch  0x00000001 , 0x0000442e 
+ 00019738  0x00002a81 rtn  0x00000034 
+ 00019739  0x00002a82 increase  0xffffffff , 0x0000003f 
+ 00019740  0x00002a83 store  0x00000001 , 0x0000442e 
+ 00019741  0x00002a84 nrtn  0x00000034 
+ 00019742  0x00002a85 fetch  0x00000001 , 0x000044db 
+ 00019743  0x00002a86 rtn  0x00000034 
+ 00019744  0x00002a87 branch  0x00003f98 
+ 00019745  0x00002a8b branch  0x00004d2e 
+ 00019746  0x00002a8f hfetch  0x00000003 , 0x0000811c 
+ 00019747  0x00002a90 copy  0x0000003f , 0x00000012 
+ 00019748  0x00002a91 hfetch  0x00000001 , 0x0000811f 
+ 00019749  0x00002a92 and_into  0x0000000f , 0x0000003f 
+ 00019750  0x00002a93 lshift16  0x0000003f , 0x0000003f 
+ 00019751  0x00002a94 lshift8  0x0000003f , 0x0000003f 
+ 00019752  0x00002a95 ior  0x00000012 , 0x0000003f 
+ 00019753  0x00002a96 fetcht  0x00000004 , 0x0000480a 
+ 00019754  0x00002a97 isub  0x00000002 , 0x0000003f 
+ 00019755  0x00002a98 rtn  0x00000034 
+ 00019756  0x00002a99 arg  0x000000bb , 0x00000012 
+ 00019757  0x00002a9a branch  0x00003f5e 
+ 00019758  0x00002a9e fetch  0x00000001 , 0x00004133 
+ 00019759  0x00002a9f nrtn  0x00000034 
+ 00019760  0x00002aa0 fetch  0x00000001 , 0x0000427f 
+ 00019761  0x00002aa1 nrtn  0x00000034 
+ 00019762  0x00002aa2 fetch  0x00000001 , 0x000047ea 
+ 00019763  0x00002aa3 rtn  0x00000034 
+ 00019764  0x00002aa4 fetch  0x00000001 , 0x000047eb 
+ 00019765  0x00002aa5 nrtn  0x00000034 
+ 00019766  0x00002aa6 branch  0x00003f9a 
+ 00019767  0x00002aa9 copy  0x00000013 , 0x0000003f 
+ 00019768  0x00002aaa beq  0x00000006 , 0x00004d8b 
+ 00019769  0x00002aab beq  0x0000000a , 0x00004d7c 
+ 00019770  0x00002aac beq  0x00000006 , 0x00004d8f 
+ 00019771  0x00002aad beq  0x00000010 , 0x00004d68 
+ 00019772  0x00002aae beq  0x0000002e , 0x00003f57 
+ 00019773  0x00002aaf beq  0x00000001 , 0x00004d77 
+ 00019774  0x00002ab0 beq  0x00000002 , 0x00004d51 
+ 00019775  0x00002ab2 beq  0x00000004 , 0x00004d4e 
+ 00019776  0x00002ab3 beq  0x00000013 , 0x00004d4e 
+ 00019777  0x00002ab4 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019778  0x00002ab5 and_into  0x000000f0 , 0x0000003f 
+ 00019779  0x00002ab6 beq  0x00000050 , 0x00004d45 
+ 00019780  0x00002ab7 rtn 
+ 00019781  0x00002aba set1  0x00000025 , 0x00000000 
+ 00019782  0x00002abb bpatch  0x000000b8 , 0x00004037 
+ 00019783  0x00002abc storet  0x00000001 , 0x00000259 
+ 00019784  0x00002abe fetch  0x00000001 , 0x00000259 
+ 00019785  0x00002abf rtn  0x00000034 
+ 00019786  0x00002ac0 increase  0xffffffff , 0x0000003f 
+ 00019787  0x00002ac1 store  0x00000001 , 0x00000259 
+ 00019788  0x00002ac3 call  0x00004d62 
+ 00019789  0x00002ac4 branch  0x00004d48 
+ 00019790  0x00002ac7 fetch  0x00000002 , 0x000047f4 
+ 00019791  0x00002ac8 bbit1  0x0000000c , 0x00004d79 
+ 00019792  0x00002ac9 branch  0x00003f10 
+ 00019793  0x00002acd set1  0x00000025 , 0x00000000 
+ 00019794  0x00002ace bpatch  0x000000b9 , 0x00004037 
+ 00019795  0x00002acf call  0x00004d59 
+ 00019796  0x00002ad0 fetch  0x00000002 , 0x000042a0 
+ 00019797  0x00002ad2 bbit1  0x00000000 , 0x00003f12 
+ 00019798  0x00002ad3 bbit1  0x00000001 , 0x00004d5c 
+ 00019799  0x00002ad4 bbit1  0x00000002 , 0x00004d5f 
+ 00019800  0x00002ad5 branch  0x00004d79 
+ 00019801  0x00002ad7 jam  0x00000000 , 0x0000425e 
+ 00019802  0x00002ad8 jam  0x00000000 , 0x0000448b 
+ 00019803  0x00002ad9 rtn 
+ 00019804  0x00002adc bbit1  0x00000005 , 0x00003f10 
+ 00019805  0x00002add bbit1  0x00000003 , 0x00003f10 
+ 00019806  0x00002ade branch  0x00004d79 
+ 00019807  0x00002ae0 fetch  0x00000002 , 0x000047f4 
+ 00019808  0x00002ae1 bbit1  0x0000000c , 0x00004d79 
+ 00019809  0x00002ae2 branch  0x00003f10 
+ 00019810  0x00002ae7 fetch  0x00000001 , 0x000047f2 
+ 00019811  0x00002ae8 rtn  0x00000034 
+ 00019812  0x00002ae9 increase  0xffffffff , 0x0000003f 
+ 00019813  0x00002aea store  0x00000001 , 0x000047f2 
+ 00019814  0x00002aeb nrtn  0x00000034 
+ 00019815  0x00002aec branch  0x00004d8f 
+ 00019816  0x00002af0 call  0x00004d6a 
+ 00019817  0x00002af1 branch  0x00004d79 
+ 00019818  0x00002af4 set1  0x00000025 , 0x00000000 
+ 00019819  0x00002af5 bpatch  0x000000ba , 0x00004037 
+ 00019820  0x00002af6 fetch  0x00000002 , 0x000047f4 
+ 00019821  0x00002af7 isolate1  0x00000007 , 0x0000003f 
+ 00019822  0x00002af8 call  0x00003f75 , 0x00000001 
+ 00019823  0x00002af9 fetch  0x00000002 , 0x000047fe 
+ 00019824  0x00002afa store  0x00000002 , 0x000047f0 
+ 00019825  0x00002afb fetch  0x00000002 , 0x000042a2 
+ 00019826  0x00002afc set1  0x00000000 , 0x0000003f 
+ 00019827  0x00002afd store  0x00000002 , 0x000042a2 
+ 00019828  0x00002afe fetch  0x00000002 , 0x000047f4 
+ 00019829  0x00002aff bbit1  0x00000000 , 0x00003f77 
+ 00019830  0x00002b00 rtn 
+ 00019831  0x00002b04 call  0x00003f7e 
+ 00019832  0x00002b05 branch  0x00003f98 
+ 00019833  0x00002b08 call  0x00003f7c 
+ 00019834  0x00002b09 branch  0x00003f94 
+ 00019835  0x00002b0c branch  0x00003f9a 
+ 00019836  0x00002b0f jam  0x00000000 , 0x0000054f 
+ 00019837  0x00002b10 rtn 
+ 00019838  0x00002b16 hjam  0x00000000 , 0x00008083 
+ 00019839  0x00002b17 hjam  0x00000000 , 0x00008084 
+ 00019840  0x00002b18 hfetch  0x00000001 , 0x00008085 
+ 00019841  0x00002b19 and_into  0x000000f0 , 0x0000003f 
+ 00019842  0x00002b1a hstore  0x00000001 , 0x00008085 
+ 00019843  0x00002b1b setarg  0x00000000 
+ 00019844  0x00002b1c store  0x00000004 , 0x000000a7 
+ 00019845  0x00002b1d setarg  0x000000ff 
+ 00019846  0x00002b1e fetcht  0x00000001 , 0x000047fd 
+ 00019847  0x00002b1f copy  0x00000002 , 0x00000007 
+ 00019848  0x00002b20 qset1  0x0000003f 
+ 00019849  0x00002b21 store  0x00000004 , 0x000000a3 
+ 00019850  0x00002b22 rtn 
+ 00019851  0x00002b25 setarg  0x00000002 
+ 00019852  0x00002b26 store  0x00000001 , 0x000047f2 
+ 00019853  0x00002b27 call  0x00004ced 
+ 00019854  0x00002b2b branch  0x00004ce9 
+ 00019855  0x00002b2d set1  0x00000025 , 0x00000000 
+ 00019856  0x00002b2e bpatch  0x000000bb , 0x00004037 
+ 00019857  0x00002b2f jam  0x00000001 , 0x0000427f 
+ 00019858  0x00002b30 call  0x00003fa4 
+ 00019859  0x00002b31 call  0x00003fa2 
+ 00019860  0x00002b33 setarg  0x00000000 
+ 00019861  0x00002b34 store  0x00000002 , 0x000047f0 
+ 00019862  0x00002b35 store  0x00000001 , 0x000047f2 
+ 00019863  0x00002b36 branch  0x00003f9e 
+ 00019864  0x00002b3e branch  0x00004d9d , 0x0000002b 
+ 00019865  0x00002b40 setarg  0x000043ce 
+ 00019866  0x00002b41 arg  0x000042af , 0x00000005 
+ 00019867  0x00002b42 isub  0x00000005 , 0x00000039 
+ 00019868  0x00002b43 call  0x00007e3f 
+ 00019869  0x00002b45 set1  0x00000025 , 0x00000000 
+ 00019870  0x00002b46 bpatch  0x00000016 , 0x00004022 
+ 00019871  0x00002b47 setarg  0x000004de 
+ 00019872  0x00002b48 arg  0x000004a9 , 0x00000005 
+ 00019873  0x00002b49 isub  0x00000005 , 0x00000039 
+ 00019874  0x00002b4a call  0x00007e3f 
+ 00019875  0x00002b4b setarg  0x00000330 
+ 00019876  0x00002b4c arg  0x000002c4 , 0x00000005 
+ 00019877  0x00002b4d isub  0x00000005 , 0x00000039 
+ 00019878  0x00002b4e call  0x00007e3f 
+ 00019879  0x00002b4f branch  0x0000532a 
+ 00019880  0x00002b52 set1  0x00000025 , 0x00000000 
+ 00019881  0x00002b53 bpatch  0x00000017 , 0x00004022 
+ 00019882  0x00002b54 copy  0x00000006 , 0x00000002 
+ 00019883  0x00002b57 copy  0x00000002 , 0x00000006 
+ 00019884  0x00002b58 ifetch  0x00000002 , 0x00000006 
+ 00019885  0x00002b59 store  0x00000002 , 0x000002cd 
+ 00019886  0x00002b5a ifetch  0x00000002 , 0x00000006 
+ 00019887  0x00002b5b store  0x00000002 , 0x000002cf 
+ 00019888  0x00002b5c deposit  0x00000006 
+ 00019889  0x00002b5d store  0x00000002 , 0x000002cb 
+ 00019890  0x00002b5e fetch  0x00000001 , 0x000047f3 
+ 00019891  0x00002b5f beq  0x00000000 , 0x00004db5 
+ 00019892  0x00002b60 branch  0x000050fa 
+ 00019893  0x00002b63 set1  0x00000025 , 0x00000000 
+ 00019894  0x00002b64 bpatch  0x00000018 , 0x00004023 
+ 00019895  0x00002b65 fetch  0x00000002 , 0x000002cd 
+ 00019896  0x00002b66 branch  0x00004dfc , 0x00000034 
+ 00019897  0x00002b67 fetch  0x00000001 , 0x000002cf 
+ 00019898  0x00002b68 beq  0x00000001 , 0x00004dc0 
+ 00019899  0x00002b6a beq  0x00000050 , 0x00004de7 
+ 00019900  0x00002b6b beq  0x00000051 , 0x00004df4 
+ 00019901  0x00002b6c beq  0x00000052 , 0x00004df2 
+ 00019902  0x00002b6d beq  0x00000053 , 0x00004df2 
+ 00019903  0x00002b6e branch  0x00004dfc 
+ 00019904  0x00002b71 call  0x0000527a 
+ 00019905  0x00002b72 nrtn  0x00000034 
+ 00019906  0x00002b73 jam  0x00000000 , 0x000043cd 
+ 00019907  0x00002b75 call  0x000052c4 
+ 00019908  0x00002b76 call  0x00004e01 
+ 00019909  0x00002b77 fetcht  0x00000002 , 0x000002d6 
+ 00019910  0x00002b78 branch  0x00004dfb , 0x00000034 
+ 00019911  0x00002b79 call  0x000052ce 
+ 00019912  0x00002b7a fetch  0x00000002 , 0x000002d6 
+ 00019913  0x00002b7b istore  0x00000002 , 0x00000005 
+ 00019914  0x00002b7c force  0x00000001 , 0x0000003f 
+ 00019915  0x00002b7d istore  0x00000002 , 0x00000005 
+ 00019916  0x00002b7e branch  0x00004dfc 
+ 00019917  0x00002b81 fetch  0x00000001 , 0x00004132 
+ 00019918  0x00002b82 rtneq  0x00000001 
+ 00019919  0x00002b83 fetch  0x00000001 , 0x000043cd 
+ 00019920  0x00002b84 rtn  0x00000034 
+ 00019921  0x00002b85 copy  0x0000003f , 0x00000011 
+ 00019922  0x00002b86 fetch  0x00000004 , 0x0000033c 
+ 00019923  0x00002b87 arg  0x00000100 , 0x00000002 
+ 00019924  0x00002b88 iadd  0x00000002 , 0x00000002 
+ 00019925  0x00002b89 copy  0x00000022 , 0x0000003f 
+ 00019926  0x00002b8a isub  0x00000002 , 0x0000003e 
+ 00019927  0x00002b8b nrtn  0x00000002 
+ 00019928  0x00002b8c jam  0x00000000 , 0x000043cd 
+ 00019929  0x00002b8d copy  0x00000011 , 0x0000003f 
+ 00019930  0x00002b8e beq  0x00000050 , 0x00004ddc 
+ 00019931  0x00002b8f branch  0x00003bf1 
+ 00019932  0x00002b91 call  0x000052c4 
+ 00019933  0x00002b92 call  0x00004e84 
+ 00019934  0x00002b93 call  0x000052d0 
+ 00019935  0x00002b94 call  0x00007e1c 
+ 00019936  0x00002b95 call  0x00004eb7 
+ 00019937  0x00002b96 call  0x000052ce 
+ 00019938  0x00002b98 setarg  0x0000000c 
+ 00019939  0x00002b99 istore  0x00000002 , 0x00000005 
+ 00019940  0x00002b9a force  0x00000001 , 0x0000003f 
+ 00019941  0x00002b9b istore  0x00000002 , 0x00000005 
+ 00019942  0x00002b9c branch  0x00004dfc 
+ 00019943  0x00002b9f call  0x0000527e 
+ 00019944  0x00002ba0 nrtn  0x00000034 
+ 00019945  0x00002ba1 call  0x000052d2 
+ 00019946  0x00002ba2 call  0x00006f72 
+ 00019947  0x00002ba3 call  0x000052dc 
+ 00019948  0x00002ba4 fetch  0x00000002 , 0x000002dc 
+ 00019949  0x00002ba5 branch  0x00004dfb , 0x00000034 
+ 00019950  0x00002ba6 istore  0x00000002 , 0x00000005 
+ 00019951  0x00002ba7 fetch  0x00000002 , 0x000042b1 
+ 00019952  0x00002ba8 istore  0x00000002 , 0x00000005 
+ 00019953  0x00002ba9 branch  0x00004dfc 
+ 00019954  0x00002bac call  0x00004af8 
+ 00019955  0x00002bad branch  0x00004dfc 
+ 00019956  0x00002bb0 set1  0x00000025 , 0x00000000 
+ 00019957  0x00002bb1 bpatch  0x00000019 , 0x00004023 
+ 00019958  0x00002bb2 jam  0x00000000 , 0x000002eb 
+ 00019959  0x00002bb3 call  0x00006bdc 
+ 00019960  0x00002bb4 fetch  0x00000001 , 0x000002eb 
+ 00019961  0x00002bb5 rtneq  0x00000001 
+ 00019962  0x00002bb6 branch  0x00004dfc 
+ 00019963  0x00002bb8 call  0x0000526f 
+ 00019964  0x00002bbb setarg  0x00000000 
+ 00019965  0x00002bbc store  0x00000002 , 0x000002cd 
+ 00019966  0x00002bbd store  0x00000002 , 0x000002cf 
+ 00019967  0x00002bbe jam  0x00000001 , 0x000002d1 
+ 00019968  0x00002bbf rtn 
+ 00019969  0x00002bc2 set1  0x00000025 , 0x00000000 
+ 00019970  0x00002bc3 bpatch  0x0000001a , 0x00004023 
+ 00019971  0x00002bc4 call  0x000052d0 
+ 00019972  0x00002bc5 force  0x00000000 , 0x00000012 
+ 00019973  0x00002bc6 fetch  0x00000002 , 0x000002cd 
+ 00019974  0x00002bc7 copy  0x0000003f , 0x00000013 
+ 00019975  0x00002bc8 fetch  0x00000002 , 0x000002cb 
+ 00019976  0x00002bc9 iforce  0x00000006 
+ 00019977  0x00002bcb call  0x00004e11 
+ 00019978  0x00002bcc deposit  0x00000013 
+ 00019979  0x00002bcd increase  0xfffffffc , 0x00000013 
+ 00019980  0x00002bce increase  0xfffffffc , 0x0000003f 
+ 00019981  0x00002bcf nbranch  0x00004e09 , 0x00000034 
+ 00019982  0x00002bd0 copy  0x00000012 , 0x0000003f 
+ 00019983  0x00002bd1 store  0x00000002 , 0x000002d6 
+ 00019984  0x00002bd2 rtn 
+ 00019985  0x00002bd5 set1  0x00000025 , 0x00000000 
+ 00019986  0x00002bd6 bpatch  0x0000001b , 0x00004023 
+ 00019987  0x00002bd7 ifetch  0x00000001 , 0x00000006 
+ 00019988  0x00002bd8 beq  0x00000001 , 0x00004e54 
+ 00019989  0x00002bd9 beq  0x00000002 , 0x00004e5c 
+ 00019990  0x00002bda beq  0x00000003 , 0x00004ee0 
+ 00019991  0x00002bdb beq  0x00000004 , 0x00004f0f 
+ 00019992  0x00002bdc beq  0x00000005 , 0x00004fad 
+ 00019993  0x00002bdd beq  0x00000006 , 0x00004fd5 
+ 00019994  0x00002bde beq  0x00000007 , 0x00005024 
+ 00019995  0x00002bdf beq  0x00000008 , 0x00005058 
+ 00019996  0x00002be0 beq  0x00000009 , 0x00005068 
+ 00019997  0x00002be1 beq  0x0000000a , 0x00004e21 
+ 00019998  0x00002be2 beq  0x0000000b , 0x00005069 
+ 00019999  0x00002be3 call  0x0000506a 
+ 00020000  0x00002be5 rtn 
+ 00020001  0x00002be8 ifetch  0x00000001 , 0x00000006 
+ 00020002  0x00002be9 copy  0x0000003f , 0x00000007 
+ 00020003  0x00002bea ifetch  0x00000002 , 0x00000006 
+ 00020004  0x00002beb copy  0x0000003f , 0x00000011 
+ 00020005  0x00002bec copy  0x00000013 , 0x0000003f 
+ 00020006  0x00002bed isub  0x00000011 , 0x00000013 
+ 00020007  0x00002bee copy  0x00000011 , 0x0000003f 
+ 00020008  0x00002bef iadd  0x00000006 , 0x00000006 
+ 00020009  0x00002bf0 setarg  0x0000000b 
+ 00020010  0x00002bf1 istore  0x00000001 , 0x00000005 
+ 00020011  0x00002bf2 copy  0x00000007 , 0x0000003f 
+ 00020012  0x00002bf3 istore  0x00000001 , 0x00000005 
+ 00020013  0x00002bf4 force  0x00000008 , 0x0000003f 
+ 00020014  0x00002bf5 istore  0x00000002 , 0x00000005 
+ 00020015  0x00002bf6 force  0x00000002 , 0x0000003f 
+ 00020016  0x00002bf7 istore  0x00000002 , 0x00000005 
+ 00020017  0x00002bf8 force  0x00000000 , 0x0000003f 
+ 00020018  0x00002bf9 istore  0x00000002 , 0x00000005 
+ 00020019  0x00002bfa force  0x00000400 , 0x0000003f 
+ 00020020  0x00002bfb istore  0x00000002 , 0x00000005 
+ 00020021  0x00002bfc force  0x00000000 , 0x0000003f 
+ 00020022  0x00002bfd istore  0x00000002 , 0x00000005 
+ 00020023  0x00002bfe force  0x0000000c , 0x0000003f 
+ 00020024  0x00002bff iadd  0x00000012 , 0x00000012 
+ 00020025  0x00002c00 branch  0x00004e20 
+ 00020026  0x00002c03 ifetch  0x00000001 , 0x00000006 
+ 00020027  0x00002c04 copy  0x0000003f , 0x00000007 
+ 00020028  0x00002c05 ifetch  0x00000002 , 0x00000006 
+ 00020029  0x00002c06 copy  0x0000003f , 0x00000011 
+ 00020030  0x00002c07 copy  0x00000013 , 0x0000003f 
+ 00020031  0x00002c08 isub  0x00000011 , 0x00000013 
+ 00020032  0x00002c09 copy  0x00000011 , 0x0000003f 
+ 00020033  0x00002c0a iadd  0x00000006 , 0x00000006 
+ 00020034  0x00002c0b call  0x000052d0 
+ 00020035  0x00002c0c setarg  0x0000000b 
+ 00020036  0x00002c0d istore  0x00000001 , 0x00000005 
+ 00020037  0x00002c0e copy  0x00000007 , 0x0000003f 
+ 00020038  0x00002c0f istore  0x00000001 , 0x00000005 
+ 00020039  0x00002c10 force  0x00000008 , 0x0000003f 
+ 00020040  0x00002c11 istore  0x00000002 , 0x00000005 
+ 00020041  0x00002c12 force  0x00000002 , 0x0000003f 
+ 00020042  0x00002c13 istore  0x00000002 , 0x00000005 
+ 00020043  0x00002c14 force  0x00000000 , 0x0000003f 
+ 00020044  0x00002c15 istore  0x00000002 , 0x00000005 
+ 00020045  0x00002c16 force  0x00000400 , 0x0000003f 
+ 00020046  0x00002c17 istore  0x00000002 , 0x00000005 
+ 00020047  0x00002c18 force  0x00000000 , 0x0000003f 
+ 00020048  0x00002c19 istore  0x00000002 , 0x00000005 
+ 00020049  0x00002c1a force  0x0000000c , 0x0000003f 
+ 00020050  0x00002c1b iadd  0x00000012 , 0x00000012 
+ 00020051  0x00002c1d branch  0x00004e20 
+ 00020052  0x00002c22 ifetch  0x00000001 , 0x00000006 
+ 00020053  0x00002c23 copy  0x0000003f , 0x00000007 
+ 00020054  0x00002c24 ifetch  0x00000002 , 0x00000006 
+ 00020055  0x00002c25 copy  0x0000003f , 0x00000011 
+ 00020056  0x00002c26 iadd  0x00000006 , 0x00000006 
+ 00020057  0x00002c27 copy  0x00000013 , 0x0000003f 
+ 00020058  0x00002c28 isub  0x00000011 , 0x00000013 
+ 00020059  0x00002c2a branch  0x00004e20 
+ 00020060  0x00002c2d call  0x00007e1c 
+ 00020061  0x00002c30 call  0x00007e21 
+ 00020062  0x00002c31 arg  0x00000000 , 0x00000008 
+ 00020063  0x00002c32 ifetch  0x00000001 , 0x00000006 
+ 00020064  0x00002c33 copy  0x0000003f , 0x00000007 
+ 00020065  0x00002c34 ifetch  0x00000002 , 0x00000006 
+ 00020066  0x00002c35 copy  0x0000003f , 0x00000011 
+ 00020067  0x00002c36 ifetch  0x00000002 , 0x00000006 
+ 00020068  0x00002c37 copy  0x0000003f , 0x00000002 
+ 00020069  0x00002c38 ifetch  0x00000002 , 0x00000006 
+ 00020070  0x00002c39 copy  0x0000003f , 0x0000000b 
+ 00020071  0x00002c3a copy  0x00000002 , 0x0000003f 
+ 00020072  0x00002c3b beq  0x00000001 , 0x00004e6e 
+ 00020073  0x00002c3c beq  0x00000003 , 0x00004e90 
+ 00020074  0x00002c3d beq  0x00000011 , 0x00004e9c 
+ 00020075  0x00002c3e beq  0x00000013 , 0x00004ea7 
+ 00020076  0x00002c3f call  0x0000506a 
+ 00020077  0x00002c40 branch  0x00004edf 
+ 00020078  0x00002c43 call  0x00007e1c 
+ 00020079  0x00002c44 arg  0x00000050 , 0x00000002 
+ 00020080  0x00002c45 fetch  0x00000002 , 0x000042b1 
+ 00020081  0x00002c46 nbranch  0x00004ed9 , 0x00000034 
+ 00020082  0x00002c47 copy  0x0000000b , 0x0000003f 
+ 00020083  0x00002c48 store  0x00000002 , 0x000042b1 
+ 00020084  0x00002c49 copy  0x00000022 , 0x0000003f 
+ 00020085  0x00002c4a store  0x00000004 , 0x0000033c 
+ 00020086  0x00002c4b call  0x00004e78 
+ 00020087  0x00002c4c branch  0x00004eb3 
+ 00020088  0x00002c4f storet  0x00000002 , 0x0000033a 
+ 00020089  0x00002c50 deposit  0x0000000b 
+ 00020090  0x00002c51 store  0x00000002 , 0x00000330 
+ 00020091  0x00002c52 deposit  0x00000011 
+ 00020092  0x00002c53 store  0x00000002 , 0x00000332 
+ 00020093  0x00002c54 deposit  0x00000012 
+ 00020094  0x00002c55 store  0x00000002 , 0x00000334 
+ 00020095  0x00002c56 deposit  0x00000013 
+ 00020096  0x00002c57 store  0x00000002 , 0x00000336 
+ 00020097  0x00002c58 deposit  0x00000007 
+ 00020098  0x00002c59 store  0x00000002 , 0x00000338 
+ 00020099  0x00002c5a rtn 
+ 00020100  0x00002c5d fetcht  0x00000002 , 0x0000033a 
+ 00020101  0x00002c5e fetch  0x00000002 , 0x00000330 
+ 00020102  0x00002c5f copy  0x0000003f , 0x0000000b 
+ 00020103  0x00002c60 fetch  0x00000002 , 0x00000332 
+ 00020104  0x00002c61 copy  0x0000003f , 0x00000011 
+ 00020105  0x00002c62 fetch  0x00000002 , 0x00000334 
+ 00020106  0x00002c63 copy  0x0000003f , 0x00000012 
+ 00020107  0x00002c64 fetch  0x00000002 , 0x00000336 
+ 00020108  0x00002c65 copy  0x0000003f , 0x00000013 
+ 00020109  0x00002c66 fetch  0x00000002 , 0x00000338 
+ 00020110  0x00002c67 copy  0x0000003f , 0x00000007 
+ 00020111  0x00002c68 rtn 
+ 00020112  0x00002c6b call  0x00007e1c 
+ 00020113  0x00002c6c setarg  0x00000051 
+ 00020114  0x00002c6d arg  0x00000051 , 0x00000002 
+ 00020115  0x00002c6e fetch  0x00000002 , 0x000042b3 
+ 00020116  0x00002c6f nbranch  0x00004ed9 , 0x00000034 
+ 00020117  0x00002c70 copy  0x0000000b , 0x0000003f 
+ 00020118  0x00002c71 store  0x00000002 , 0x000042b3 
+ 00020119  0x00002c72 fetch  0x00000001 , 0x000042ba 
+ 00020120  0x00002c73 set1  0x00000000 , 0x0000003f 
+ 00020121  0x00002c74 set1  0x00000001 , 0x0000003f 
+ 00020122  0x00002c75 store  0x00000001 , 0x000042ba 
+ 00020123  0x00002c76 branch  0x00004ebb 
+ 00020124  0x00002c78 call  0x00007e1c 
+ 00020125  0x00002c79 arg  0x00000052 , 0x00000002 
+ 00020126  0x00002c7a fetch  0x00000002 , 0x000042b5 
+ 00020127  0x00002c7b nbranch  0x00004ed9 , 0x00000034 
+ 00020128  0x00002c7c copy  0x0000000b , 0x0000003f 
+ 00020129  0x00002c7d store  0x00000002 , 0x000042b5 
+ 00020130  0x00002c7e fetch  0x00000001 , 0x000042bb 
+ 00020131  0x00002c7f set1  0x00000000 , 0x0000003f 
+ 00020132  0x00002c80 set1  0x00000001 , 0x0000003f 
+ 00020133  0x00002c81 store  0x00000001 , 0x000042bb 
+ 00020134  0x00002c82 branch  0x00004ebb 
+ 00020135  0x00002c84 call  0x00007e1c 
+ 00020136  0x00002c85 deposit  0x0000001a 
+ 00020137  0x00002c86 arg  0x00000053 , 0x00000002 
+ 00020138  0x00002c87 fetch  0x00000002 , 0x000042b7 
+ 00020139  0x00002c88 nbranch  0x00004ed9 , 0x00000034 
+ 00020140  0x00002c89 copy  0x0000000b , 0x0000003f 
+ 00020141  0x00002c8a store  0x00000002 , 0x000042b7 
+ 00020142  0x00002c8b fetch  0x00000001 , 0x000042bc 
+ 00020143  0x00002c8c set1  0x00000000 , 0x0000003f 
+ 00020144  0x00002c8d set1  0x00000001 , 0x0000003f 
+ 00020145  0x00002c8e store  0x00000001 , 0x000042bc 
+ 00020146  0x00002c8f branch  0x00004ebb 
+ 00020147  0x00002c92 setarg  0x00000001 
+ 00020148  0x00002c93 store  0x00000002 , 0x000002e4 
+ 00020149  0x00002c94 jam  0x00000050 , 0x000043cd 
+ 00020150  0x00002c95 branch  0x00004ebd 
+ 00020151  0x00002c97 fetch  0x00000001 , 0x000042b9 
+ 00020152  0x00002c98 set1  0x00000000 , 0x0000003f 
+ 00020153  0x00002c99 set1  0x00000001 , 0x0000003f 
+ 00020154  0x00002c9a store  0x00000001 , 0x000042b9 
+ 00020155  0x00002c9c setarg  0x00000000 
+ 00020156  0x00002c9d store  0x00000002 , 0x000002e4 
+ 00020157  0x00002c9f set1  0x00000025 , 0x00000000 
+ 00020158  0x00002ca0 bpatch  0x0000001c , 0x00004023 
+ 00020159  0x00002ca1 call  0x00007e21 
+ 00020160  0x00002ca2 setarg  0x00000003 
+ 00020161  0x00002ca3 istore  0x00000001 , 0x00000005 
+ 00020162  0x00002ca4 copy  0x00000007 , 0x0000003f 
+ 00020163  0x00002ca5 istore  0x00000001 , 0x00000005 
+ 00020164  0x00002ca6 setarg  0x00000008 
+ 00020165  0x00002ca7 istore  0x00000002 , 0x00000005 
+ 00020166  0x00002ca8 copy  0x00000002 , 0x0000003f 
+ 00020167  0x00002ca9 istore  0x00000002 , 0x00000005 
+ 00020168  0x00002caa copy  0x0000000b , 0x0000003f 
+ 00020169  0x00002cab istore  0x00000002 , 0x00000005 
+ 00020170  0x00002cac fetch  0x00000002 , 0x000002e4 
+ 00020171  0x00002cad beq  0x00000001 , 0x00004ed4 
+ 00020172  0x00002cae isolate0  0x00000000 , 0x00000008 
+ 00020173  0x00002caf branch  0x00004ecf , 0x00000001 
+ 00020174  0x00002cb0 setarg  0x00000004 
+ 00020175  0x00002cb2 istore  0x00000002 , 0x00000005 
+ 00020176  0x00002cb3 force  0x00000000 , 0x0000003f 
+ 00020177  0x00002cb4 istore  0x00000002 , 0x00000005 
+ 00020178  0x00002cb5 setarg  0x0000000c 
+ 00020179  0x00002cb6 branch  0x00004edb 
+ 00020180  0x00002cb8 istore  0x00000002 , 0x00000005 
+ 00020181  0x00002cb9 force  0x00000002 , 0x0000003f 
+ 00020182  0x00002cba istore  0x00000002 , 0x00000005 
+ 00020183  0x00002cbb setarg  0x0000000c 
+ 00020184  0x00002cbc branch  0x00004edb 
+ 00020185  0x00002cbf set1  0x00000000 , 0x00000008 
+ 00020186  0x00002cc0 branch  0x00004ebb 
+ 00020187  0x00002cc2 iadd  0x00000012 , 0x00000012 
+ 00020188  0x00002cc3 copy  0x00000013 , 0x0000003f 
+ 00020189  0x00002cc4 isub  0x00000011 , 0x00000013 
+ 00020190  0x00002cc5 branch  0x00004edf 
+ 00020191  0x00002cc7 branch  0x00004e20 
+ 00020192  0x00002cca ifetch  0x00000001 , 0x00000006 
+ 00020193  0x00002ccb copy  0x0000003f , 0x00000007 
+ 00020194  0x00002ccc ifetch  0x00000002 , 0x00000006 
+ 00020195  0x00002ccd copy  0x0000003f , 0x00000011 
+ 00020196  0x00002cce copy  0x00000013 , 0x0000003f 
+ 00020197  0x00002ccf isub  0x00000011 , 0x00000013 
+ 00020198  0x00002cd0 ifetch  0x00000002 , 0x00000006 
+ 00020199  0x00002cd1 copy  0x0000003f , 0x0000000b 
+ 00020200  0x00002cd2 ifetch  0x00000002 , 0x00000006 
+ 00020201  0x00002cd3 copy  0x0000003f , 0x00000002 
+ 00020202  0x00002cd4 setarg  0x00000050 
+ 00020203  0x00002cd5 isub  0x00000002 , 0x0000003e 
+ 00020204  0x00002cd6 branch  0x00004ef7 , 0x00000005 
+ 00020205  0x00002cd7 setarg  0x00000051 
+ 00020206  0x00002cd8 isub  0x00000002 , 0x0000003e 
+ 00020207  0x00002cd9 branch  0x00004efd , 0x00000005 
+ 00020208  0x00002cda setarg  0x00000052 
+ 00020209  0x00002cdb isub  0x00000002 , 0x0000003e 
+ 00020210  0x00002cdc branch  0x00004f09 , 0x00000005 
+ 00020211  0x00002cdd setarg  0x00000053 
+ 00020212  0x00002cde isub  0x00000002 , 0x0000003e 
+ 00020213  0x00002cdf branch  0x00004f03 , 0x00000005 
+ 00020214  0x00002ce0 rtn 
+ 00020215  0x00002ce3 copy  0x0000000b , 0x0000003f 
+ 00020216  0x00002ce4 store  0x00000002 , 0x000042b1 
+ 00020217  0x00002ce5 fetch  0x00000001 , 0x000042b9 
+ 00020218  0x00002ce6 set1  0x00000001 , 0x0000003f 
+ 00020219  0x00002ce7 store  0x00000001 , 0x000042b9 
+ 00020220  0x00002ce8 branch  0x00004e20 
+ 00020221  0x00002cea copy  0x0000000b , 0x0000003f 
+ 00020222  0x00002ceb store  0x00000002 , 0x000042b3 
+ 00020223  0x00002cec fetch  0x00000001 , 0x000042ba 
+ 00020224  0x00002ced set1  0x00000001 , 0x0000003f 
+ 00020225  0x00002cee store  0x00000001 , 0x000042ba 
+ 00020226  0x00002cef rtn 
+ 00020227  0x00002cf1 copy  0x0000000b , 0x0000003f 
+ 00020228  0x00002cf2 store  0x00000002 , 0x000042b5 
+ 00020229  0x00002cf3 fetch  0x00000001 , 0x000042bc 
+ 00020230  0x00002cf4 set1  0x00000001 , 0x0000003f 
+ 00020231  0x00002cf5 store  0x00000001 , 0x000042bc 
+ 00020232  0x00002cf6 rtn 
+ 00020233  0x00002cf8 copy  0x0000000b , 0x0000003f 
+ 00020234  0x00002cf9 store  0x00000002 , 0x000042b7 
+ 00020235  0x00002cfa fetch  0x00000001 , 0x000042bb 
+ 00020236  0x00002cfb set1  0x00000001 , 0x0000003f 
+ 00020237  0x00002cfc store  0x00000001 , 0x000042bb 
+ 00020238  0x00002cfd rtn 
+ 00020239  0x00002d00 ifetch  0x00000001 , 0x00000006 
+ 00020240  0x00002d01 copy  0x0000003f , 0x00000007 
+ 00020241  0x00002d02 ifetch  0x00000002 , 0x00000006 
+ 00020242  0x00002d03 copy  0x0000003f , 0x00000011 
+ 00020243  0x00002d04 copy  0x00000013 , 0x0000003f 
+ 00020244  0x00002d05 isub  0x00000011 , 0x00000013 
+ 00020245  0x00002d06 ifetch  0x00000002 , 0x00000006 
+ 00020246  0x00002d07 copy  0x0000003f , 0x00000002 
+ 00020247  0x00002d08 copy  0x00000002 , 0x00000011 
+ 00020248  0x00002d09 setarg  0x00000050 
+ 00020249  0x00002d0a isub  0x00000002 , 0x0000003e 
+ 00020250  0x00002d0b branch  0x00004f25 , 0x00000005 
+ 00020251  0x00002d0c setarg  0x00000051 
+ 00020252  0x00002d0d isub  0x00000002 , 0x0000003e 
+ 00020253  0x00002d0e branch  0x00004f43 , 0x00000005 
+ 00020254  0x00002d0f setarg  0x00000052 
+ 00020255  0x00002d10 isub  0x00000002 , 0x0000003e 
+ 00020256  0x00002d11 branch  0x00004f2f , 0x00000005 
+ 00020257  0x00002d12 setarg  0x00000053 
+ 00020258  0x00002d13 isub  0x00000002 , 0x0000003e 
+ 00020259  0x00002d14 branch  0x00004f39 , 0x00000005 
+ 00020260  0x00002d15 branch  0x0000506a 
+ 00020261  0x00002d18 copy  0x00000005 , 0x0000000b 
+ 00020262  0x00002d19 fetch  0x00000001 , 0x000042b9 
+ 00020263  0x00002d1a set1  0x00000004 , 0x0000003f 
+ 00020264  0x00002d1b set1  0x00000003 , 0x0000003f 
+ 00020265  0x00002d1d store  0x00000001 , 0x000042b9 
+ 00020266  0x00002d1e copy  0x0000000b , 0x00000005 
+ 00020267  0x00002d1f arg  0x00000050 , 0x0000000b 
+ 00020268  0x00002d20 fetch  0x00000002 , 0x000042b1 
+ 00020269  0x00002d21 copy  0x0000003f , 0x00000002 
+ 00020270  0x00002d22 branch  0x00004f4c 
+ 00020271  0x00002d24 copy  0x00000005 , 0x0000000b 
+ 00020272  0x00002d25 fetch  0x00000001 , 0x000042bb 
+ 00020273  0x00002d26 set1  0x00000004 , 0x0000003f 
+ 00020274  0x00002d27 set1  0x00000003 , 0x0000003f 
+ 00020275  0x00002d29 store  0x00000001 , 0x000042bb 
+ 00020276  0x00002d2a copy  0x0000000b , 0x00000005 
+ 00020277  0x00002d2b arg  0x00000052 , 0x0000000b 
+ 00020278  0x00002d2c fetch  0x00000002 , 0x000042b5 
+ 00020279  0x00002d2d copy  0x0000003f , 0x00000002 
+ 00020280  0x00002d2e branch  0x00004f4c 
+ 00020281  0x00002d30 copy  0x00000005 , 0x0000000b 
+ 00020282  0x00002d31 fetch  0x00000001 , 0x000042bc 
+ 00020283  0x00002d32 set1  0x00000004 , 0x0000003f 
+ 00020284  0x00002d33 set1  0x00000003 , 0x0000003f 
+ 00020285  0x00002d35 store  0x00000001 , 0x000042bc 
+ 00020286  0x00002d36 copy  0x0000000b , 0x00000005 
+ 00020287  0x00002d37 arg  0x00000053 , 0x0000000b 
+ 00020288  0x00002d38 fetch  0x00000002 , 0x000042b7 
+ 00020289  0x00002d39 copy  0x0000003f , 0x00000002 
+ 00020290  0x00002d3a branch  0x00004f4c 
+ 00020291  0x00002d3c copy  0x00000005 , 0x0000000b 
+ 00020292  0x00002d3d fetch  0x00000001 , 0x000042ba 
+ 00020293  0x00002d3e set1  0x00000004 , 0x0000003f 
+ 00020294  0x00002d3f set1  0x00000003 , 0x0000003f 
+ 00020295  0x00002d41 store  0x00000001 , 0x000042ba 
+ 00020296  0x00002d43 copy  0x0000000b , 0x00000005 
+ 00020297  0x00002d44 arg  0x00000051 , 0x0000000b 
+ 00020298  0x00002d45 fetch  0x00000002 , 0x000042b3 
+ 00020299  0x00002d46 copy  0x0000003f , 0x00000002 
+ 00020300  0x00002d48 set1  0x00000025 , 0x00000000 
+ 00020301  0x00002d49 bpatch  0x0000001d , 0x00004023 
+ 00020302  0x00002d4a setarg  0x00000005 
+ 00020303  0x00002d4b istore  0x00000001 , 0x00000005 
+ 00020304  0x00002d4c copy  0x00000007 , 0x0000003f 
+ 00020305  0x00002d4d istore  0x00000001 , 0x00000005 
+ 00020306  0x00002d4e setarg  0x00000006 
+ 00020307  0x00002d4f istore  0x00000002 , 0x00000005 
+ 00020308  0x00002d50 copy  0x00000002 , 0x0000003f 
+ 00020309  0x00002d51 istore  0x00000002 , 0x00000005 
+ 00020310  0x00002d52 force  0x00000000 , 0x0000003f 
+ 00020311  0x00002d53 istore  0x00000002 , 0x00000005 
+ 00020312  0x00002d54 force  0x00000000 , 0x0000003f 
+ 00020313  0x00002d55 istore  0x00000002 , 0x00000005 
+ 00020314  0x00002d56 force  0x0000000a , 0x0000003f 
+ 00020315  0x00002d57 iadd  0x00000012 , 0x00000012 
+ 00020316  0x00002d59 storet  0x00000002 , 0x000002e9 
+ 00020317  0x00002d5a copy  0x00000007 , 0x0000003f 
+ 00020318  0x00002d5b store  0x00000001 , 0x000002e8 
+ 00020319  0x00002d5c force  0x00000050 , 0x0000003f 
+ 00020320  0x00002d5d icompare  0x000000ff , 0x0000000b 
+ 00020321  0x00002d5e branch  0x00004f63 , 0x00000001 
+ 00020322  0x00002d5f increase  0x00000001 , 0x0000003f 
+ 00020323  0x00002d62 rtn 
+ 00020324  0x00002d64 disable  0x00000028 
+ 00020325  0x00002d65 rtnbit1  0x00000002 , 0x0000003f 
+ 00020326  0x00002d66 rtnbit0  0x00000000 , 0x0000003f 
+ 00020327  0x00002d67 rtnbit0  0x00000001 , 0x0000003f 
+ 00020328  0x00002d68 set1  0x00000002 , 0x0000003f 
+ 00020329  0x00002d69 copy  0x00000006 , 0x00000005 
+ 00020330  0x00002d6a increase  0xffffffff , 0x00000005 
+ 00020331  0x00002d6b istore  0x00000001 , 0x00000005 
+ 00020332  0x00002d6c enable  0x00000028 
+ 00020333  0x00002d6d rtn 
+ 00020334  0x00002d70 fetch  0x00000001 , 0x000042b9 
+ 00020335  0x00002d71 call  0x00004f64 
+ 00020336  0x00002d72 nbranch  0x00004f75 , 0x00000028 
+ 00020337  0x00002d73 jam  0x00000050 , 0x000002e7 
+ 00020338  0x00002d74 fetch  0x00000002 , 0x000042b1 
+ 00020339  0x00002d75 store  0x00000002 , 0x000002e9 
+ 00020340  0x00002d76 branch  0x00004f89 
+ 00020341  0x00002d78 fetch  0x00000001 , 0x000042ba 
+ 00020342  0x00002d79 call  0x00004f64 
+ 00020343  0x00002d7a nbranch  0x00004f7c , 0x00000028 
+ 00020344  0x00002d7b jam  0x00000051 , 0x000002e7 
+ 00020345  0x00002d7c fetch  0x00000002 , 0x000042b3 
+ 00020346  0x00002d7d store  0x00000002 , 0x000002e9 
+ 00020347  0x00002d7e branch  0x00004f89 
+ 00020348  0x00002d80 fetch  0x00000001 , 0x000042bb 
+ 00020349  0x00002d81 call  0x00004f64 
+ 00020350  0x00002d82 nbranch  0x00004f83 , 0x00000028 
+ 00020351  0x00002d83 jam  0x00000052 , 0x000002e7 
+ 00020352  0x00002d84 fetch  0x00000002 , 0x000042b5 
+ 00020353  0x00002d85 store  0x00000002 , 0x000002e9 
+ 00020354  0x00002d86 branch  0x00004f89 
+ 00020355  0x00002d88 fetch  0x00000001 , 0x000042bc 
+ 00020356  0x00002d89 call  0x00004f64 
+ 00020357  0x00002d8a nrtn  0x00000028 
+ 00020358  0x00002d8b jam  0x00000053 , 0x000002e7 
+ 00020359  0x00002d8c fetch  0x00000002 , 0x000042b7 
+ 00020360  0x00002d8d store  0x00000002 , 0x000002e9 
+ 00020361  0x00002d91 set1  0x00000025 , 0x00000000 
+ 00020362  0x00002d92 bpatch  0x0000001e , 0x00004023 
+ 00020363  0x00002d93 call  0x00005242 
+ 00020364  0x00002d94 call  0x000052c4 
+ 00020365  0x00002d95 force  0x00000000 , 0x00000012 
+ 00020366  0x00002d96 call  0x000052d0 
+ 00020367  0x00002d97 force  0x00000004 , 0x0000003f 
+ 00020368  0x00002d98 istore  0x00000001 , 0x00000005 
+ 00020369  0x00002d99 fetch  0x00000001 , 0x000042be 
+ 00020370  0x00002d9a istore  0x00000001 , 0x00000005 
+ 00020371  0x00002d9b setarg  0x00000008 
+ 00020372  0x00002d9c istore  0x00000002 , 0x00000005 
+ 00020373  0x00002d9d fetch  0x00000002 , 0x000002e9 
+ 00020374  0x00002d9e istore  0x00000002 , 0x00000005 
+ 00020375  0x00002d9f setarg  0x00000000 
+ 00020376  0x00002da0 istore  0x00000002 , 0x00000005 
+ 00020377  0x00002da1 force  0x00000001 , 0x0000003f 
+ 00020378  0x00002da2 istore  0x00000001 , 0x00000005 
+ 00020379  0x00002da3 force  0x00000002 , 0x0000003f 
+ 00020380  0x00002da4 istore  0x00000001 , 0x00000005 
+ 00020381  0x00002da5 fetch  0x00000001 , 0x000002e7 
+ 00020382  0x00002da6 beq  0x00000051 , 0x00004fa2 
+ 00020383  0x00002da7 setarg  0x00000030 
+ 00020384  0x00002da8 istore  0x00000002 , 0x00000005 
+ 00020385  0x00002da9 branch  0x00004fa4 
+ 00020386  0x00002dab setarg  0x000003e3 
+ 00020387  0x00002dac istore  0x00000002 , 0x00000005 
+ 00020388  0x00002dae arg  0x0000000c , 0x00000002 
+ 00020389  0x00002daf storet  0x00000002 , 0x000002d6 
+ 00020390  0x00002db0 call  0x000052ce 
+ 00020391  0x00002db1 fetch  0x00000002 , 0x000002d6 
+ 00020392  0x00002db2 istore  0x00000002 , 0x00000005 
+ 00020393  0x00002db3 force  0x00000001 , 0x0000003f 
+ 00020394  0x00002db4 istore  0x00000002 , 0x00000005 
+ 00020395  0x00002db5 jam  0x00000000 , 0x000002e7 
+ 00020396  0x00002db7 branch  0x00004e20 
+ 00020397  0x00002dba increase  0x00000001 , 0x00000006 
+ 00020398  0x00002dbb ifetch  0x00000002 , 0x00000006 
+ 00020399  0x00002dbc copy  0x0000003f , 0x00000011 
+ 00020400  0x00002dbd copy  0x00000013 , 0x0000003f 
+ 00020401  0x00002dbe isub  0x00000011 , 0x00000013 
+ 00020402  0x00002dbf ifetch  0x00000002 , 0x00000006 
+ 00020403  0x00002dc0 copy  0x0000003f , 0x00000011 
+ 00020404  0x00002dc1 setarg  0x00000050 
+ 00020405  0x00002dc2 isub  0x00000011 , 0x0000003e 
+ 00020406  0x00002dc3 branch  0x00004fc4 , 0x00000005 
+ 00020407  0x00002dc4 setarg  0x00000051 
+ 00020408  0x00002dc5 isub  0x00000011 , 0x0000003e 
+ 00020409  0x00002dc6 branch  0x00004fc8 , 0x00000005 
+ 00020410  0x00002dc7 setarg  0x00000052 
+ 00020411  0x00002dc8 isub  0x00000011 , 0x0000003e 
+ 00020412  0x00002dc9 branch  0x00004fcc , 0x00000005 
+ 00020413  0x00002dca setarg  0x00000053 
+ 00020414  0x00002dcb isub  0x00000011 , 0x0000003e 
+ 00020415  0x00002dcc branch  0x00004fd0 , 0x00000005 
+ 00020416  0x00002dcd increase  0x00000002 , 0x00000006 
+ 00020417  0x00002dce ifetch  0x00000002 , 0x00000006 
+ 00020418  0x00002dcf iforce  0x0000003e 
+ 00020419  0x00002dd0 branch  0x00004e20 
+ 00020420  0x00002dd2 fetch  0x00000001 , 0x000042b9 
+ 00020421  0x00002dd3 set1  0x00000005 , 0x0000003f 
+ 00020422  0x00002dd4 store  0x00000001 , 0x000042b9 
+ 00020423  0x00002dd5 branch  0x00004e20 
+ 00020424  0x00002dd7 fetch  0x00000001 , 0x000042ba 
+ 00020425  0x00002dd8 set1  0x00000005 , 0x0000003f 
+ 00020426  0x00002dd9 store  0x00000001 , 0x000042ba 
+ 00020427  0x00002dda branch  0x00004e20 
+ 00020428  0x00002ddc fetch  0x00000001 , 0x000042bb 
+ 00020429  0x00002ddd set1  0x00000005 , 0x0000003f 
+ 00020430  0x00002dde store  0x00000001 , 0x000042bb 
+ 00020431  0x00002ddf branch  0x00004e20 
+ 00020432  0x00002de1 fetch  0x00000001 , 0x000042bc 
+ 00020433  0x00002de2 set1  0x00000005 , 0x0000003f 
+ 00020434  0x00002de3 store  0x00000001 , 0x000042bc 
+ 00020435  0x00002de4 jam  0x00000006 , 0x00000b7d 
+ 00020436  0x00002de5 branch  0x00007c27 
+ 00020437  0x00002dea ifetch  0x00000001 , 0x00000006 
+ 00020438  0x00002deb copy  0x0000003f , 0x00000007 
+ 00020439  0x00002dec ifetch  0x00000002 , 0x00000006 
+ 00020440  0x00002ded copy  0x0000003f , 0x00000011 
+ 00020441  0x00002dee copy  0x00000013 , 0x0000003f 
+ 00020442  0x00002def isub  0x00000011 , 0x00000013 
+ 00020443  0x00002df0 ifetch  0x00000002 , 0x00000006 
+ 00020444  0x00002df1 copy  0x0000003f , 0x00000011 
+ 00020445  0x00002df2 ifetch  0x00000002 , 0x00000006 
+ 00020446  0x00002df3 copy  0x0000003f , 0x0000000b 
+ 00020447  0x00002df4 copy  0x00000011 , 0x00000002 
+ 00020448  0x00002df5 call  0x00007e1c 
+ 00020449  0x00002df6 setarg  0x00000050 
+ 00020450  0x00002df7 isub  0x00000002 , 0x0000003e 
+ 00020451  0x00002df8 branch  0x00004ffb , 0x00000005 
+ 00020452  0x00002df9 setarg  0x00000051 
+ 00020453  0x00002dfa isub  0x00000002 , 0x0000003e 
+ 00020454  0x00002dfb branch  0x0000500b , 0x00000005 
+ 00020455  0x00002dfc setarg  0x00000052 
+ 00020456  0x00002dfd isub  0x00000002 , 0x0000003e 
+ 00020457  0x00002dfe branch  0x00004fef , 0x00000005 
+ 00020458  0x00002dff setarg  0x00000053 
+ 00020459  0x00002e00 isub  0x00000002 , 0x0000003e 
+ 00020460  0x00002e01 branch  0x00004ff5 , 0x00000005 
+ 00020461  0x00002e02 call  0x0000506a 
+ 00020462  0x00002e03 branch  0x00005020 
+ 00020463  0x00002e05 copy  0x0000000b , 0x00000002 
+ 00020464  0x00002e06 fetch  0x00000002 , 0x000042b5 
+ 00020465  0x00002e07 isub  0x00000002 , 0x0000003e 
+ 00020466  0x00002e08 branch  0x00005001 , 0x00000005 
+ 00020467  0x00002e09 call  0x0000506a 
+ 00020468  0x00002e0a branch  0x00005020 
+ 00020469  0x00002e0c copy  0x0000000b , 0x00000002 
+ 00020470  0x00002e0d fetch  0x00000002 , 0x000042b7 
+ 00020471  0x00002e0e isub  0x00000002 , 0x0000003e 
+ 00020472  0x00002e0f branch  0x00005003 , 0x00000005 
+ 00020473  0x00002e10 call  0x0000506a 
+ 00020474  0x00002e11 branch  0x00005020 
+ 00020475  0x00002e14 copy  0x0000000b , 0x00000002 
+ 00020476  0x00002e15 fetch  0x00000002 , 0x000042b1 
+ 00020477  0x00002e16 isub  0x00000002 , 0x0000003e 
+ 00020478  0x00002e17 branch  0x00005007 , 0x00000005 
+ 00020479  0x00002e18 call  0x0000506a 
+ 00020480  0x00002e19 branch  0x00005020 
+ 00020481  0x00002e1b call  0x00005081 
+ 00020482  0x00002e1c branch  0x00005013 
+ 00020483  0x00002e1e call  0x00005087 
+ 00020484  0x00002e1f fetch  0x00000002 , 0x000042b5 
+ 00020485  0x00002e20 branch  0x00005013 , 0x00000034 
+ 00020486  0x00002e28 branch  0x00005013 
+ 00020487  0x00002e2b call  0x0000507c 
+ 00020488  0x00002e2c fetch  0x00000001 , 0x000002ef 
+ 00020489  0x00002e2d nbranch  0x00005013 , 0x00000034 
+ 00020490  0x00002e30 branch  0x00005013 
+ 00020491  0x00002e32 copy  0x0000000b , 0x00000002 
+ 00020492  0x00002e33 fetch  0x00000002 , 0x000042b3 
+ 00020493  0x00002e34 isub  0x00000002 , 0x0000003e 
+ 00020494  0x00002e35 branch  0x00005011 , 0x00000005 
+ 00020495  0x00002e36 call  0x0000506a 
+ 00020496  0x00002e37 branch  0x00005020 
+ 00020497  0x00002e39 call  0x00005077 
+ 00020498  0x00002e3a branch  0x00005013 
+ 00020499  0x00002e3c call  0x00007e21 
+ 00020500  0x00002e3d setarg  0x00000007 
+ 00020501  0x00002e3e istore  0x00000001 , 0x00000005 
+ 00020502  0x00002e3f copy  0x00000007 , 0x0000003f 
+ 00020503  0x00002e40 istore  0x00000001 , 0x00000005 
+ 00020504  0x00002e41 setarg  0x00000004 
+ 00020505  0x00002e42 istore  0x00000002 , 0x00000005 
+ 00020506  0x00002e43 copy  0x00000011 , 0x0000003f 
+ 00020507  0x00002e44 istore  0x00000002 , 0x00000005 
+ 00020508  0x00002e45 copy  0x0000000b , 0x0000003f 
+ 00020509  0x00002e46 istore  0x00000002 , 0x00000005 
+ 00020510  0x00002e47 force  0x00000008 , 0x0000003f 
+ 00020511  0x00002e48 branch  0x00005022 
+ 00020512  0x00002e4a call  0x00007e21 
+ 00020513  0x00002e4b branch  0x00005022 
+ 00020514  0x00002e4d iadd  0x00000012 , 0x00000012 
+ 00020515  0x00002e4e branch  0x00004e20 
+ 00020516  0x00002e50 ifetch  0x00000001 , 0x00000006 
+ 00020517  0x00002e51 copy  0x0000003f , 0x00000007 
+ 00020518  0x00002e52 ifetch  0x00000002 , 0x00000006 
+ 00020519  0x00002e53 copy  0x0000003f , 0x00000011 
+ 00020520  0x00002e54 copy  0x00000013 , 0x0000003f 
+ 00020521  0x00002e55 isub  0x00000011 , 0x00000013 
+ 00020522  0x00002e56 ifetch  0x00000002 , 0x00000006 
+ 00020523  0x00002e57 copy  0x0000003f , 0x0000000b 
+ 00020524  0x00002e58 ifetch  0x00000002 , 0x00000006 
+ 00020525  0x00002e59 copy  0x0000003f , 0x00000002 
+ 00020526  0x00002e5a call  0x00007e1c 
+ 00020527  0x00002e5b setarg  0x00000050 
+ 00020528  0x00002e5c isub  0x00000002 , 0x0000003e 
+ 00020529  0x00002e5d branch  0x0000503d , 0x00000005 
+ 00020530  0x00002e5e setarg  0x00000051 
+ 00020531  0x00002e5f isub  0x00000002 , 0x0000003e 
+ 00020532  0x00002e60 branch  0x00005043 , 0x00000005 
+ 00020533  0x00002e61 setarg  0x00000052 
+ 00020534  0x00002e62 isub  0x00000002 , 0x0000003e 
+ 00020535  0x00002e63 branch  0x00005049 , 0x00000005 
+ 00020536  0x00002e64 setarg  0x00000053 
+ 00020537  0x00002e65 isub  0x00000002 , 0x0000003e 
+ 00020538  0x00002e66 branch  0x0000504f , 0x00000005 
+ 00020539  0x00002e67 call  0x0000506a 
+ 00020540  0x00002e68 branch  0x00005057 
+ 00020541  0x00002e6a copy  0x00000002 , 0x00000011 
+ 00020542  0x00002e6b copy  0x0000000b , 0x00000002 
+ 00020543  0x00002e6c fetch  0x00000002 , 0x000042b1 
+ 00020544  0x00002e6d isub  0x00000002 , 0x0000003e 
+ 00020545  0x00002e6e call  0x0000507c , 0x00000005 
+ 00020546  0x00002e6f branch  0x00005055 
+ 00020547  0x00002e71 copy  0x00000002 , 0x00000011 
+ 00020548  0x00002e72 copy  0x0000000b , 0x00000002 
+ 00020549  0x00002e73 fetch  0x00000002 , 0x000042b3 
+ 00020550  0x00002e74 isub  0x00000002 , 0x0000003e 
+ 00020551  0x00002e75 call  0x00005077 , 0x00000005 
+ 00020552  0x00002e76 branch  0x00005055 
+ 00020553  0x00002e78 copy  0x00000002 , 0x00000011 
+ 00020554  0x00002e79 copy  0x0000000b , 0x00000002 
+ 00020555  0x00002e7a fetch  0x00000002 , 0x000042b5 
+ 00020556  0x00002e7b isub  0x00000002 , 0x0000003e 
+ 00020557  0x00002e7c call  0x00005081 , 0x00000005 
+ 00020558  0x00002e7d branch  0x00005055 
+ 00020559  0x00002e7f copy  0x00000002 , 0x00000011 
+ 00020560  0x00002e80 copy  0x0000000b , 0x00000002 
+ 00020561  0x00002e81 fetch  0x00000002 , 0x000042b7 
+ 00020562  0x00002e82 isub  0x00000002 , 0x0000003e 
+ 00020563  0x00002e83 call  0x00005087 , 0x00000005 
+ 00020564  0x00002e84 branch  0x00005055 
+ 00020565  0x00002e86 call  0x00007e21 
+ 00020566  0x00002e87 branch  0x00004e20 
+ 00020567  0x00002e89 branch  0x00004e20 
+ 00020568  0x00002e8d ifetch  0x00000001 , 0x00000006 
+ 00020569  0x00002e8e copy  0x0000003f , 0x00000007 
+ 00020570  0x00002e8f ifetch  0x00000002 , 0x00000006 
+ 00020571  0x00002e90 copy  0x0000003f , 0x00000011 
+ 00020572  0x00002e91 iadd  0x00000006 , 0x00000006 
+ 00020573  0x00002e92 setarg  0x00000009 
+ 00020574  0x00002e93 istore  0x00000001 , 0x00000005 
+ 00020575  0x00002e94 copy  0x00000007 , 0x0000003f 
+ 00020576  0x00002e95 istore  0x00000001 , 0x00000005 
+ 00020577  0x00002e96 force  0x00000000 , 0x0000003f 
+ 00020578  0x00002e97 istore  0x00000002 , 0x00000005 
+ 00020579  0x00002e98 force  0x00000004 , 0x0000003f 
+ 00020580  0x00002e99 iadd  0x00000012 , 0x00000012 
+ 00020581  0x00002e9a copy  0x00000013 , 0x0000003f 
+ 00020582  0x00002e9b isub  0x00000011 , 0x00000013 
+ 00020583  0x00002e9c branch  0x00004e20 
+ 00020584  0x00002e9e branch  0x00004e20 
+ 00020585  0x00002ea1 branch  0x00004e20 
+ 00020586  0x00002ea3 force  0x00000000 , 0x00000012 
+ 00020587  0x00002ea4 call  0x000052d0 
+ 00020588  0x00002ea5 setarg  0x00000001 
+ 00020589  0x00002ea6 istore  0x00000001 , 0x00000005 
+ 00020590  0x00002ea7 copy  0x00000007 , 0x0000003f 
+ 00020591  0x00002ea8 istore  0x00000001 , 0x00000005 
+ 00020592  0x00002ea9 setarg  0x00000002 
+ 00020593  0x00002eaa istore  0x00000002 , 0x00000005 
+ 00020594  0x00002eab setarg  0x00000000 
+ 00020595  0x00002eac istore  0x00000002 , 0x00000005 
+ 00020596  0x00002ead increase  0x00000006 , 0x00000012 
+ 00020597  0x00002eae arg  0x00000004 , 0x00000013 
+ 00020598  0x00002eaf branch  0x00004e20 
+ 00020599  0x00002eb4 setarg  0x00000000 
+ 00020600  0x00002eb5 store  0x00000002 , 0x000002e2 
+ 00020601  0x00002eb6 store  0x00000002 , 0x000042b3 
+ 00020602  0x00002eb7 jam  0x00000000 , 0x000042ba 
+ 00020603  0x00002eb8 rtn 
+ 00020604  0x00002eba setarg  0x00000000 
+ 00020605  0x00002ebb store  0x00000002 , 0x000002dc 
+ 00020606  0x00002ebc store  0x00000002 , 0x000042b1 
+ 00020607  0x00002ebd jam  0x00000000 , 0x000042b9 
+ 00020608  0x00002ebe rtn 
+ 00020609  0x00002ec0 setarg  0x00000000 
+ 00020610  0x00002ec1 store  0x00000002 , 0x000042b5 
+ 00020611  0x00002ec2 jam  0x00000000 , 0x000042bb 
+ 00020612  0x00002ec3 fetch  0x00000001 , 0x000042bc 
+ 00020613  0x00002ec4 beq  0x00000000 , 0x0000508d 
+ 00020614  0x00002ec5 rtn 
+ 00020615  0x00002ec8 setarg  0x00000000 
+ 00020616  0x00002ec9 store  0x00000002 , 0x000042b7 
+ 00020617  0x00002eca jam  0x00000000 , 0x000042bc 
+ 00020618  0x00002ecb fetch  0x00000001 , 0x000042bb 
+ 00020619  0x00002ecc beq  0x00000000 , 0x0000508d 
+ 00020620  0x00002ecd rtn 
+ 00020621  0x00002ed0 jam  0x00000007 , 0x00000b7d 
+ 00020622  0x00002ed1 branch  0x00007c27 
+ 00020623  0x00002ed4 fetch  0x00000001 , 0x000002e6 
+ 00020624  0x00002ed5 set0  0x00000000 , 0x0000003f 
+ 00020625  0x00002ed6 store  0x00000001 , 0x000002e6 
+ 00020626  0x00002ed7 fetch  0x00000002 , 0x000042b7 
+ 00020627  0x00002ed8 rtn  0x00000034 
+ 00020628  0x00002ed9 call  0x000052c4 
+ 00020629  0x00002eda fetch  0x00000002 , 0x000042b7 
+ 00020630  0x00002edb copy  0x0000003f , 0x00000011 
+ 00020631  0x00002edc force  0x00000053 , 0x00000012 
+ 00020632  0x00002edd branch  0x000050a2 
+ 00020633  0x00002edf fetch  0x00000001 , 0x000002e6 
+ 00020634  0x00002ee0 set0  0x00000007 , 0x0000003f 
+ 00020635  0x00002ee1 store  0x00000001 , 0x000002e6 
+ 00020636  0x00002ee2 fetch  0x00000002 , 0x000042b5 
+ 00020637  0x00002ee3 rtn  0x00000034 
+ 00020638  0x00002ee4 call  0x000052c4 
+ 00020639  0x00002ee5 fetch  0x00000002 , 0x000042b5 
+ 00020640  0x00002ee6 copy  0x0000003f , 0x00000011 
+ 00020641  0x00002ee7 force  0x00000052 , 0x00000012 
+ 00020642  0x00002ee9 call  0x00005242 
+ 00020643  0x00002eea call  0x000052d0 
+ 00020644  0x00002eeb force  0x00000006 , 0x0000003f 
+ 00020645  0x00002eec istore  0x00000001 , 0x00000005 
+ 00020646  0x00002eed fetch  0x00000001 , 0x000042be 
+ 00020647  0x00002eee istore  0x00000001 , 0x00000005 
+ 00020648  0x00002eef setarg  0x00000004 
+ 00020649  0x00002ef0 istore  0x00000002 , 0x00000005 
+ 00020650  0x00002ef1 copy  0x00000011 , 0x0000003f 
+ 00020651  0x00002ef2 istore  0x00000002 , 0x00000005 
+ 00020652  0x00002ef3 copy  0x00000012 , 0x0000003f 
+ 00020653  0x00002ef4 istore  0x00000002 , 0x00000005 
+ 00020654  0x00002ef5 force  0x00000008 , 0x00000002 
+ 00020655  0x00002ef6 branch  0x000050e9 
+ 00020656  0x00002ef9 set1  0x00000025 , 0x00000000 
+ 00020657  0x00002efa bpatch  0x0000001f , 0x00004023 
+ 00020658  0x00002efb call  0x00005242 
+ 00020659  0x00002efc call  0x000052d0 
+ 00020660  0x00002efd setarg  0x00000002 
+ 00020661  0x00002efe istore  0x00000001 , 0x00000005 
+ 00020662  0x00002eff fetch  0x00000001 , 0x000042be 
+ 00020663  0x00002f00 istore  0x00000001 , 0x00000005 
+ 00020664  0x00002f01 setarg  0x00000004 
+ 00020665  0x00002f02 istore  0x00000002 , 0x00000005 
+ 00020666  0x00002f03 copy  0x00000002 , 0x0000003f 
+ 00020667  0x00002f04 istore  0x00000002 , 0x00000005 
+ 00020668  0x00002f05 copy  0x0000000b , 0x0000003f 
+ 00020669  0x00002f06 istore  0x00000002 , 0x00000005 
+ 00020670  0x00002f07 arg  0x00000008 , 0x00000002 
+ 00020671  0x00002f08 branch  0x000050e9 
+ 00020672  0x00002f0a set1  0x00000025 , 0x00000000 
+ 00020673  0x00002f0b bpatch  0x00000020 , 0x00004024 
+ 00020674  0x00002f0c call  0x00005242 
+ 00020675  0x00002f0d call  0x000052d0 
+ 00020676  0x00002f0e setarg  0x00000004 
+ 00020677  0x00002f0f istore  0x00000001 , 0x00000005 
+ 00020678  0x00002f10 fetch  0x00000001 , 0x000042be 
+ 00020679  0x00002f11 istore  0x00000001 , 0x00000005 
+ 00020680  0x00002f12 setarg  0x00000008 
+ 00020681  0x00002f13 istore  0x00000002 , 0x00000005 
+ 00020682  0x00002f15 copy  0x00000002 , 0x0000003f 
+ 00020683  0x00002f17 istore  0x00000002 , 0x00000005 
+ 00020684  0x00002f18 setarg  0x00000000 
+ 00020685  0x00002f19 istore  0x00000002 , 0x00000005 
+ 00020686  0x00002f1a setarg  0x00000001 
+ 00020687  0x00002f1b istore  0x00000001 , 0x00000005 
+ 00020688  0x00002f1c setarg  0x00000002 
+ 00020689  0x00002f1d istore  0x00000001 , 0x00000005 
+ 00020690  0x00002f1e setarg  0x000003e3 
+ 00020691  0x00002f1f istore  0x00000002 , 0x00000005 
+ 00020692  0x00002f20 arg  0x0000000c , 0x00000002 
+ 00020693  0x00002f21 branch  0x000050e9 
+ 00020694  0x00002f23 set1  0x00000025 , 0x00000000 
+ 00020695  0x00002f24 bpatch  0x00000021 , 0x00004024 
+ 00020696  0x00002f25 call  0x00005242 
+ 00020697  0x00002f26 call  0x000052d0 
+ 00020698  0x00002f27 setarg  0x00000006 
+ 00020699  0x00002f28 istore  0x00000001 , 0x00000005 
+ 00020700  0x00002f29 fetch  0x00000001 , 0x000042be 
+ 00020701  0x00002f2a increase  0x00000001 , 0x0000003f 
+ 00020702  0x00002f2b copy  0x00000005 , 0x00000011 
+ 00020703  0x00002f2c store  0x00000001 , 0x000042be 
+ 00020704  0x00002f2d copy  0x00000011 , 0x00000005 
+ 00020705  0x00002f2e istore  0x00000001 , 0x00000005 
+ 00020706  0x00002f2f setarg  0x00000004 
+ 00020707  0x00002f30 istore  0x00000002 , 0x00000005 
+ 00020708  0x00002f31 copy  0x00000002 , 0x0000003f 
+ 00020709  0x00002f32 istore  0x00000002 , 0x00000005 
+ 00020710  0x00002f33 copy  0x0000000b , 0x0000003f 
+ 00020711  0x00002f34 istore  0x00000002 , 0x00000005 
+ 00020712  0x00002f35 arg  0x00000008 , 0x00000002 
+ 00020713  0x00002f39 storet  0x00000002 , 0x000002d6 
+ 00020714  0x00002f3a copy  0x00000002 , 0x0000003f 
+ 00020715  0x00002f3b branch  0x0000526f , 0x00000034 
+ 00020716  0x00002f3c call  0x000052ce 
+ 00020717  0x00002f3d fetch  0x00000002 , 0x000002d6 
+ 00020718  0x00002f3e istore  0x00000002 , 0x00000005 
+ 00020719  0x00002f3f force  0x00000001 , 0x0000003f 
+ 00020720  0x00002f40 istore  0x00000002 , 0x00000005 
+ 00020721  0x00002f41 rtn 
+ 00020722  0x00002f44 fetch  0x00000002 , 0x000002dc 
+ 00020723  0x00002f45 branch  0x00003bf1 , 0x00000034 
+ 00020724  0x00002f46 call  0x000052dc 
+ 00020725  0x00002f47 fetch  0x00000002 , 0x000002dc 
+ 00020726  0x00002f48 istore  0x00000002 , 0x00000005 
+ 00020727  0x00002f49 fetch  0x00000002 , 0x000042b1 
+ 00020728  0x00002f4a istore  0x00000002 , 0x00000005 
+ 00020729  0x00002f4b rtn 
+ 00020730  0x00002f4d set1  0x00000025 , 0x00000000 
+ 00020731  0x00002f4e bpatch  0x00000022 , 0x00004024 
+ 00020732  0x00002f4f fetch  0x00000002 , 0x000002cd 
+ 00020733  0x00002f50 branch  0x00004dfc , 0x00000034 
+ 00020734  0x00002f51 fetch  0x00000001 , 0x000002cf 
+ 00020735  0x00002f52 beq  0x00000001 , 0x00005105 
+ 00020736  0x00002f53 beq  0x00000050 , 0x00004de7 
+ 00020737  0x00002f54 beq  0x00000051 , 0x00004df4 
+ 00020738  0x00002f55 beq  0x00000052 , 0x00004df2 
+ 00020739  0x00002f56 beq  0x00000053 , 0x00004df2 
+ 00020740  0x00002f57 branch  0x00004dfc 
+ 00020741  0x00002f5a set1  0x00000025 , 0x00000000 
+ 00020742  0x00002f5b bpatch  0x00000023 , 0x00004024 
+ 00020743  0x00002f5c call  0x000052c4 
+ 00020744  0x00002f5d force  0x00000000 , 0x00000012 
+ 00020745  0x00002f5e call  0x000052d0 
+ 00020746  0x00002f5f copy  0x0000003f , 0x00000005 
+ 00020747  0x00002f60 fetch  0x00000002 , 0x000002cd 
+ 00020748  0x00002f61 copy  0x0000003f , 0x00000013 
+ 00020749  0x00002f62 fetch  0x00000002 , 0x000002cb 
+ 00020750  0x00002f63 iforce  0x00000006 
+ 00020751  0x00002f65 call  0x00005115 
+ 00020752  0x00002f66 increase  0xfffffffc , 0x00000013 
+ 00020753  0x00002f67 nbranch  0x0000510f , 0x00000005 
+ 00020754  0x00002f68 copy  0x00000012 , 0x00000002 
+ 00020755  0x00002f69 call  0x000050e9 
+ 00020756  0x00002f6a branch  0x00004dfc 
+ 00020757  0x00002f6d ifetch  0x00000001 , 0x00000006 
+ 00020758  0x00002f6e beq  0x00000002 , 0x00005120 
+ 00020759  0x00002f6f beq  0x00000001 , 0x00005123 
+ 00020760  0x00002f70 beq  0x00000003 , 0x0000512d 
+ 00020761  0x00002f71 beq  0x00000005 , 0x00005168 
+ 00020762  0x00002f72 beq  0x00000004 , 0x00005199 
+ 00020763  0x00002f73 beq  0x00000007 , 0x0000521c 
+ 00020764  0x00002f74 beq  0x00000006 , 0x000051eb 
+ 00020765  0x00002f75 beq  0x00000008 , 0x00005058 
+ 00020766  0x00002f76 beq  0x0000000a , 0x00004e3a 
+ 00020767  0x00002f77 branch  0x00005236 
+ 00020768  0x00002f7a call  0x00007e1c 
+ 00020769  0x00002f7c call  0x00007e21 
+ 00020770  0x00002f7d branch  0x00004e5c 
+ 00020771  0x00002f7f ifetch  0x00000001 , 0x00000006 
+ 00020772  0x00002f80 copy  0x0000003f , 0x00000007 
+ 00020773  0x00002f81 ifetch  0x00000002 , 0x00000006 
+ 00020774  0x00002f82 copy  0x0000003f , 0x00000011 
+ 00020775  0x00002f83 copy  0x00000013 , 0x0000003f 
+ 00020776  0x00002f84 isub  0x00000011 , 0x00000013 
+ 00020777  0x00002f86 ifetch  0x00000001 , 0x00000006 
+ 00020778  0x00002f87 increase  0xffffffff , 0x00000011 
+ 00020779  0x00002f88 nbranch  0x00005129 , 0x00000005 
+ 00020780  0x00002f89 rtn 
+ 00020781  0x00002f8b ifetch  0x00000001 , 0x00000006 
+ 00020782  0x00002f8c copy  0x0000003f , 0x00000007 
+ 00020783  0x00002f8d ifetch  0x00000002 , 0x00000006 
+ 00020784  0x00002f8e copy  0x0000003f , 0x00000011 
+ 00020785  0x00002f8f ifetch  0x00000002 , 0x00000006 
+ 00020786  0x00002f90 copy  0x0000003f , 0x0000000b 
+ 00020787  0x00002f91 ifetch  0x00000002 , 0x00000006 
+ 00020788  0x00002f92 copy  0x0000003f , 0x00000002 
+ 00020789  0x00002f93 ifetch  0x00000002 , 0x00000006 
+ 00020790  0x00002f94 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00020791  0x00002f95 branch  0x0000513f , 0x00000005 
+ 00020792  0x00002f96 beq  0x00000002 , 0x0000513b 
+ 00020793  0x00002f97 beq  0x00000004 , 0x0000513b 
+ 00020794  0x00002f98 branch  0x0000513d 
+ 00020795  0x00002f9a jam  0x00000016 , 0x00000b7d 
+ 00020796  0x00002f9b call  0x00007c27 
+ 00020797  0x00002f9d ifetch  0x00000002 , 0x00000006 
+ 00020798  0x00002f9e branch  0x00005165 
+ 00020799  0x00002fa0 call  0x00007e1c 
+ 00020800  0x00002fa4 setarg  0x00000050 
+ 00020801  0x00002fa5 isub  0x00000002 , 0x0000003e 
+ 00020802  0x00002fa6 branch  0x0000514d , 0x00000005 
+ 00020803  0x00002fa7 setarg  0x00000051 
+ 00020804  0x00002fa8 isub  0x00000002 , 0x0000003e 
+ 00020805  0x00002fa9 branch  0x00005153 , 0x00000005 
+ 00020806  0x00002faa setarg  0x00000053 
+ 00020807  0x00002fab isub  0x00000002 , 0x0000003e 
+ 00020808  0x00002fac branch  0x0000515f , 0x00000005 
+ 00020809  0x00002fad setarg  0x00000052 
+ 00020810  0x00002fae isub  0x00000002 , 0x0000003e 
+ 00020811  0x00002faf branch  0x00005159 , 0x00000005 
+ 00020812  0x00002fb0 branch  0x00005165 
+ 00020813  0x00002fb2 copy  0x0000000b , 0x0000003f 
+ 00020814  0x00002fb3 store  0x00000002 , 0x000042b1 
+ 00020815  0x00002fb4 fetch  0x00000001 , 0x000042b9 
+ 00020816  0x00002fb5 set1  0x00000001 
+ 00020817  0x00002fb6 store  0x00000001 , 0x000042b9 
+ 00020818  0x00002fb7 branch  0x00005164 
+ 00020819  0x00002fb9 copy  0x0000000b , 0x0000003f 
+ 00020820  0x00002fba store  0x00000002 , 0x000042b3 
+ 00020821  0x00002fbb fetch  0x00000001 , 0x000042ba 
+ 00020822  0x00002fbc set1  0x00000001 
+ 00020823  0x00002fbd store  0x00000001 , 0x000042ba 
+ 00020824  0x00002fbe branch  0x00005164 
+ 00020825  0x00002fc0 copy  0x0000000b , 0x0000003f 
+ 00020826  0x00002fc1 store  0x00000002 , 0x000042b5 
+ 00020827  0x00002fc2 fetch  0x00000001 , 0x000042bb 
+ 00020828  0x00002fc3 set1  0x00000001 
+ 00020829  0x00002fc4 store  0x00000001 , 0x000042bb 
+ 00020830  0x00002fc5 branch  0x00005164 
+ 00020831  0x00002fc7 copy  0x0000000b , 0x0000003f 
+ 00020832  0x00002fc8 store  0x00000002 , 0x000042b7 
+ 00020833  0x00002fc9 fetch  0x00000001 , 0x000042bc 
+ 00020834  0x00002fca set1  0x00000001 
+ 00020835  0x00002fcb store  0x00000001 , 0x000042bc 
+ 00020836  0x00002fcf call  0x00007e21 
+ 00020837  0x00002fd1 copy  0x00000013 , 0x0000003f 
+ 00020838  0x00002fd2 isub  0x00000011 , 0x00000013 
+ 00020839  0x00002fd3 rtn 
+ 00020840  0x00002fd6 ifetch  0x00000001 , 0x00000006 
+ 00020841  0x00002fd7 copy  0x0000003f , 0x00000007 
+ 00020842  0x00002fd8 ifetch  0x00000002 , 0x00000006 
+ 00020843  0x00002fd9 copy  0x0000003f , 0x00000011 
+ 00020844  0x00002fda copy  0x00000013 , 0x0000003f 
+ 00020845  0x00002fdb isub  0x00000011 , 0x00000013 
+ 00020846  0x00002fdc ifetch  0x00000002 , 0x00000006 
+ 00020847  0x00002fdd copy  0x0000003f , 0x0000000b 
+ 00020848  0x00002fde ifetch  0x00000002 , 0x00000006 
+ 00020849  0x00002fdf ifetch  0x00000002 , 0x00000006 
+ 00020850  0x00002fe0 nbranch  0x00005193 , 0x00000034 
+ 00020851  0x00002fe1 call  0x00007e1c 
+ 00020852  0x00002fe5 copy  0x0000000b , 0x00000002 
+ 00020853  0x00002fe6 setarg  0x00000050 
+ 00020854  0x00002fe7 isub  0x00000002 , 0x0000003e 
+ 00020855  0x00002fe8 branch  0x00005181 , 0x00000005 
+ 00020856  0x00002fe9 setarg  0x00000051 
+ 00020857  0x00002fea isub  0x00000002 , 0x0000003e 
+ 00020858  0x00002feb branch  0x00005185 , 0x00000005 
+ 00020859  0x00002fec setarg  0x00000052 
+ 00020860  0x00002fed isub  0x00000002 , 0x0000003e 
+ 00020861  0x00002fee branch  0x00005189 , 0x00000005 
+ 00020862  0x00002fef setarg  0x00000053 
+ 00020863  0x00002ff0 isub  0x00000002 , 0x0000003e 
+ 00020864  0x00002ff1 branch  0x0000518d , 0x00000005 
+ 00020865  0x00002ff3 fetch  0x00000001 , 0x000042b9 
+ 00020866  0x00002ff4 set1  0x00000005 
+ 00020867  0x00002ff5 store  0x00000001 , 0x000042b9 
+ 00020868  0x00002ff6 rtn 
+ 00020869  0x00002ff8 fetch  0x00000001 , 0x000042ba 
+ 00020870  0x00002ff9 set1  0x00000005 
+ 00020871  0x00002ffa store  0x00000001 , 0x000042ba 
+ 00020872  0x00002ffb rtn 
+ 00020873  0x00002ffd fetch  0x00000001 , 0x000042bb 
+ 00020874  0x00002ffe set1  0x00000005 
+ 00020875  0x00002fff store  0x00000001 , 0x000042bb 
+ 00020876  0x00003000 rtn 
+ 00020877  0x00003002 fetch  0x00000001 , 0x000042bc 
+ 00020878  0x00003003 set1  0x00000005 
+ 00020879  0x00003004 store  0x00000001 , 0x000042bc 
+ 00020880  0x00003005 jam  0x00000006 , 0x00000b7d 
+ 00020881  0x00003006 branch  0x00007c27 
+ 00020882  0x0000300a call  0x00007e21 
+ 00020883  0x0000300c increase  0xfffffffa , 0x00000011 
+ 00020884  0x0000300e branch  0x00005198 , 0x00000005 
+ 00020885  0x0000300f increase  0x00000001 , 0x00000006 
+ 00020886  0x00003010 increase  0xffffffff , 0x00000011 
+ 00020887  0x00003011 branch  0x00005194 
+ 00020888  0x00003013 rtn 
+ 00020889  0x00003015 ifetch  0x00000001 , 0x00000006 
+ 00020890  0x00003016 copy  0x0000003f , 0x00000007 
+ 00020891  0x00003017 ifetch  0x00000002 , 0x00000006 
+ 00020892  0x00003018 copy  0x0000003f , 0x00000011 
+ 00020893  0x00003019 copy  0x00000013 , 0x0000003f 
+ 00020894  0x0000301a isub  0x00000011 , 0x00000013 
+ 00020895  0x0000301b ifetch  0x00000002 , 0x00000006 
+ 00020896  0x0000301c increase  0x00000002 , 0x00000006 
+ 00020897  0x0000301d copy  0x0000003f , 0x00000002 
+ 00020898  0x0000301e setarg  0x00000005 
+ 00020899  0x0000301f istore  0x00000001 , 0x00000005 
+ 00020900  0x00003020 copy  0x00000007 , 0x0000003f 
+ 00020901  0x00003021 istore  0x00000001 , 0x00000005 
+ 00020902  0x00003022 increase  0x00000002 , 0x00000011 
+ 00020903  0x00003023 copy  0x00000011 , 0x0000003f 
+ 00020904  0x00003024 istore  0x00000002 , 0x00000005 
+ 00020905  0x00003025 call  0x00007e1c 
+ 00020906  0x00003026 setarg  0x00000050 
+ 00020907  0x00003027 isub  0x00000002 , 0x0000003e 
+ 00020908  0x00003028 branch  0x000051b7 , 0x00000005 
+ 00020909  0x00003029 setarg  0x00000051 
+ 00020910  0x0000302a isub  0x00000002 , 0x0000003e 
+ 00020911  0x0000302b branch  0x000051c8 , 0x00000005 
+ 00020912  0x0000302c setarg  0x00000052 
+ 00020913  0x0000302d isub  0x00000002 , 0x0000003e 
+ 00020914  0x0000302e branch  0x000051ce , 0x00000005 
+ 00020915  0x0000302f setarg  0x00000053 
+ 00020916  0x00003030 isub  0x00000002 , 0x0000003e 
+ 00020917  0x00003031 branch  0x000051d4 , 0x00000005 
+ 00020918  0x00003032 branch  0x000051d9 
+ 00020919  0x00003034 fetch  0x00000001 , 0x000042b9 
+ 00020920  0x00003035 set1  0x00000004 , 0x0000003f 
+ 00020921  0x00003036 set1  0x00000003 , 0x0000003f 
+ 00020922  0x00003037 store  0x00000001 , 0x000042b9 
+ 00020923  0x00003038 bbit1  0x00000002 , 0x000051c5 
+ 00020924  0x00003039 fetcht  0x00000001 , 0x000002e6 
+ 00020925  0x0000303a set1  0x00000006 , 0x00000002 
+ 00020926  0x0000303b storet  0x00000001 , 0x000002e6 
+ 00020927  0x0000303c copy  0x00000007 , 0x0000003f 
+ 00020928  0x0000303d increase  0x00000001 , 0x0000003f 
+ 00020929  0x0000303e store  0x00000001 , 0x000002e8 
+ 00020930  0x0000303f fetch  0x00000001 , 0x000042b9 
+ 00020931  0x00003040 set1  0x00000002 , 0x0000003f 
+ 00020932  0x00003041 store  0x00000001 , 0x000042b9 
+ 00020933  0x00003043 fetch  0x00000002 , 0x000042b1 
+ 00020934  0x00003044 store  0x00000002 , 0x000002e9 
+ 00020935  0x00003045 branch  0x000051d9 
+ 00020936  0x00003047 fetch  0x00000001 , 0x000042ba 
+ 00020937  0x00003048 set1  0x00000004 , 0x0000003f 
+ 00020938  0x00003049 set1  0x00000003 , 0x0000003f 
+ 00020939  0x0000304a store  0x00000001 , 0x000042ba 
+ 00020940  0x0000304b fetch  0x00000002 , 0x000042b3 
+ 00020941  0x0000304c branch  0x000051d9 
+ 00020942  0x0000304e fetch  0x00000001 , 0x000042bb 
+ 00020943  0x0000304f set1  0x00000004 , 0x0000003f 
+ 00020944  0x00003050 set1  0x00000003 , 0x0000003f 
+ 00020945  0x00003051 store  0x00000001 , 0x000042bb 
+ 00020946  0x00003052 fetch  0x00000002 , 0x000042b5 
+ 00020947  0x00003053 branch  0x000051d9 
+ 00020948  0x00003055 fetch  0x00000001 , 0x000042bc 
+ 00020949  0x00003056 set1  0x00000004 , 0x0000003f 
+ 00020950  0x00003057 set1  0x00000003 , 0x0000003f 
+ 00020951  0x00003058 store  0x00000001 , 0x000042bc 
+ 00020952  0x00003059 fetch  0x00000002 , 0x000042b7 
+ 00020953  0x0000305d copy  0x0000003f , 0x0000000b 
+ 00020954  0x0000305e call  0x00007e21 
+ 00020955  0x00003060 copy  0x0000000b , 0x0000003f 
+ 00020956  0x00003062 istore  0x00000002 , 0x00000005 
+ 00020957  0x00003063 force  0x00000000 , 0x0000003f 
+ 00020958  0x00003064 istore  0x00000002 , 0x00000005 
+ 00020959  0x00003065 force  0x00000000 , 0x0000003f 
+ 00020960  0x00003066 istore  0x00000002 , 0x00000005 
+ 00020961  0x00003067 force  0x0000000a , 0x0000003f 
+ 00020962  0x00003068 iadd  0x00000012 , 0x00000012 
+ 00020963  0x00003069 increase  0xfffffffa , 0x00000011 
+ 00020964  0x0000306b branch  0x000051ea , 0x00000005 
+ 00020965  0x0000306c ifetch  0x00000001 , 0x00000006 
+ 00020966  0x0000306d istore  0x00000001 , 0x00000005 
+ 00020967  0x0000306e increase  0x00000001 , 0x00000012 
+ 00020968  0x0000306f increase  0xffffffff , 0x00000011 
+ 00020969  0x00003070 branch  0x000051e4 
+ 00020970  0x00003072 rtn 
+ 00020971  0x00003074 ifetch  0x00000001 , 0x00000006 
+ 00020972  0x00003075 copy  0x0000003f , 0x00000007 
+ 00020973  0x00003076 ifetch  0x00000002 , 0x00000006 
+ 00020974  0x00003077 copy  0x0000003f , 0x00000011 
+ 00020975  0x00003078 copy  0x00000013 , 0x0000003f 
+ 00020976  0x00003079 isub  0x00000011 , 0x00000013 
+ 00020977  0x0000307b ifetch  0x00000002 , 0x00000006 
+ 00020978  0x0000307c copy  0x0000003f , 0x00000011 
+ 00020979  0x0000307d ifetch  0x00000002 , 0x00000006 
+ 00020980  0x0000307e copy  0x0000003f , 0x0000000b 
+ 00020981  0x0000307f call  0x00007e1c 
+ 00020982  0x00003080 setarg  0x00000050 
+ 00020983  0x00003081 copy  0x00000011 , 0x00000002 
+ 00020984  0x00003082 isub  0x00000002 , 0x0000003e 
+ 00020985  0x00003083 branch  0x00005203 , 0x00000005 
+ 00020986  0x00003084 setarg  0x00000052 
+ 00020987  0x00003085 copy  0x00000011 , 0x00000002 
+ 00020988  0x00003086 isub  0x00000002 , 0x0000003e 
+ 00020989  0x00003087 branch  0x00005208 , 0x00000005 
+ 00020990  0x00003088 setarg  0x00000053 
+ 00020991  0x00003089 copy  0x00000011 , 0x00000002 
+ 00020992  0x0000308a isub  0x00000002 , 0x0000003e 
+ 00020993  0x0000308b branch  0x0000520a , 0x00000005 
+ 00020994  0x0000308c branch  0x0000520c 
+ 00020995  0x0000308e setarg  0x00000000 
+ 00020996  0x0000308f store  0x00000002 , 0x000002dc 
+ 00020997  0x00003090 store  0x00000002 , 0x000042b1 
+ 00020998  0x00003091 store  0x00000001 , 0x000042b9 
+ 00020999  0x00003092 branch  0x0000520e 
+ 00021000  0x00003094 call  0x00005081 
+ 00021001  0x00003095 branch  0x0000520e 
+ 00021002  0x00003097 call  0x00005087 
+ 00021003  0x0000309d branch  0x0000520e 
+ 00021004  0x0000309f setarg  0x00000000 
+ 00021005  0x000030a0 store  0x00000002 , 0x000002e2 
+ 00021006  0x000030a2 call  0x00007e21 
+ 00021007  0x000030a3 setarg  0x00000007 
+ 00021008  0x000030a4 istore  0x00000001 , 0x00000005 
+ 00021009  0x000030a5 copy  0x00000007 , 0x0000003f 
+ 00021010  0x000030a6 istore  0x00000001 , 0x00000005 
+ 00021011  0x000030a7 setarg  0x00000004 
+ 00021012  0x000030a8 istore  0x00000002 , 0x00000005 
+ 00021013  0x000030a9 copy  0x00000011 , 0x0000003f 
+ 00021014  0x000030aa istore  0x00000002 , 0x00000005 
+ 00021015  0x000030ab copy  0x0000000b , 0x0000003f 
+ 00021016  0x000030ac istore  0x00000002 , 0x00000005 
+ 00021017  0x000030ad force  0x00000008 , 0x0000003f 
+ 00021018  0x000030ae iadd  0x00000012 , 0x00000012 
+ 00021019  0x000030af rtn 
+ 00021020  0x000030b2 ifetch  0x00000001 , 0x00000006 
+ 00021021  0x000030b3 copy  0x0000003f , 0x00000007 
+ 00021022  0x000030b4 ifetch  0x00000002 , 0x00000006 
+ 00021023  0x000030b5 copy  0x0000003f , 0x00000011 
+ 00021024  0x000030b6 ifetch  0x00000002 , 0x00000006 
+ 00021025  0x000030b7 copy  0x0000003f , 0x0000000b 
+ 00021026  0x000030b8 ifetch  0x00000002 , 0x00000006 
+ 00021027  0x000030b9 copy  0x0000003f , 0x00000002 
+ 00021028  0x000030ba call  0x00007e1c 
+ 00021029  0x000030bb fetch  0x00000001 , 0x000042be 
+ 00021030  0x000030bc icompare  0x000000ff , 0x00000007 
+ 00021031  0x000030bd nbranch  0x00005232 , 0x00000001 
+ 00021032  0x000030be setarg  0x00000050 
+ 00021033  0x000030bf isub  0x00000002 , 0x0000003e 
+ 00021034  0x000030c0 branch  0x0000522f , 0x00000005 
+ 00021035  0x000030c1 setarg  0x00000051 
+ 00021036  0x000030c2 isub  0x00000002 , 0x0000003e 
+ 00021037  0x000030c3 branch  0x00005232 , 0x00000005 
+ 00021038  0x000030c4 branch  0x00005232 
+ 00021039  0x000030c6 jam  0x00000000 , 0x000042b1 
+ 00021040  0x000030c7 jam  0x00000000 , 0x000042b9 
+ 00021041  0x000030c8 branch  0x00005232 
+ 00021042  0x000030cd call  0x00007e21 
+ 00021043  0x000030ce copy  0x00000013 , 0x0000003f 
+ 00021044  0x000030cf isub  0x00000011 , 0x00000013 
+ 00021045  0x000030d0 rtn 
+ 00021046  0x000030d3 setarg  0x00000001 
+ 00021047  0x000030d4 istore  0x00000001 , 0x00000005 
+ 00021048  0x000030d5 ifetch  0x00000001 , 0x00000006 
+ 00021049  0x000030d6 istore  0x00000001 , 0x00000005 
+ 00021050  0x000030d7 setarg  0x00000002 
+ 00021051  0x000030d8 istore  0x00000002 , 0x00000005 
+ 00021052  0x000030d9 setarg  0x00000000 
+ 00021053  0x000030da istore  0x00000002 , 0x00000005 
+ 00021054  0x000030db setarg  0x00000006 
+ 00021055  0x000030dc iadd  0x00000012 , 0x00000012 
+ 00021056  0x000030dd force  0x00000004 , 0x00000013 
+ 00021057  0x000030de rtn 
+ 00021058  0x000030e2 fetch  0x00000001 , 0x000042be 
+ 00021059  0x000030e3 increase  0x00000001 , 0x0000003f 
+ 00021060  0x000030e4 bne  0x00000000 , 0x00005246 
+ 00021061  0x000030e5 increase  0x00000001 , 0x0000003f 
+ 00021062  0x000030e7 store  0x00000001 , 0x000042be 
+ 00021063  0x000030e8 rtn 
+ 00021064  0x000030f3 set1  0x00000025 , 0x00000000 
+ 00021065  0x000030f4 bpatch  0x00000024 , 0x00004024 
+ 00021066  0x000030f5 arg  0x00000000 , 0x00000012 
+ 00021067  0x000030f6 call  0x0000527a 
+ 00021068  0x000030f7 nbranch  0x00003bf1 , 0x00000034 
+ 00021069  0x000030f8 call  0x00005287 
+ 00021070  0x000030f9 arg  0x00001800 , 0x00000012 
+ 00021071  0x000030fa arg  0x00000000 , 0x00000007 
+ 00021072  0x000030fc fetcht  0x00000001 , 0x000042bf 
+ 00021073  0x000030fd qisolate1  0x00000002 
+ 00021074  0x000030fe branch  0x00005258 , 0x00000001 
+ 00021075  0x000030ff call  0x000052ab 
+ 00021076  0x00003100 sub  0x0000000b , 0x00000000 , 0x0000003e 
+ 00021077  0x00003101 branch  0x00005258 , 0x00000002 
+ 00021078  0x00003102 call  0x00005292 
+ 00021079  0x00003103 branch  0x0000525e 
+ 00021080  0x00003105 increase  0x00000080 , 0x00000012 
+ 00021081  0x00003106 increase  0x00000001 , 0x00000007 
+ 00021082  0x00003107 setarg  0x00000008 
+ 00021083  0x00003108 isub  0x00000007 , 0x0000003e 
+ 00021084  0x00003109 branch  0x00005250 , 0x00000002 
+ 00021085  0x0000310a arg  0x00000000 , 0x00000012 
+ 00021086  0x0000310c copy  0x00000012 , 0x0000003f 
+ 00021087  0x0000310d branch  0x00003bf1 , 0x00000034 
+ 00021088  0x0000310e rtn 
+ 00021089  0x00003117 set1  0x00000025 , 0x00000000 
+ 00021090  0x00003118 bpatch  0x00000025 , 0x00004024 
+ 00021091  0x00003119 call  0x00005280 
+ 00021092  0x0000311a increase  0x00000001 , 0x00000006 
+ 00021093  0x0000311b ifetch  0x00000002 , 0x00000006 
+ 00021094  0x0000311c rtn 
+ 00021095  0x00003123 set1  0x00000025 , 0x00000000 
+ 00021096  0x00003124 bpatch  0x00000026 , 0x00004024 
+ 00021097  0x00003125 call  0x00005280 
+ 00021098  0x00003126 copy  0x00000006 , 0x00000005 
+ 00021099  0x00003127 copy  0x00000006 , 0x00000002 
+ 00021100  0x00003128 setarg  0x00000000 
+ 00021101  0x00003129 istore  0x00000003 , 0x00000005 
+ 00021102  0x0000312a rtn 
+ 00021103  0x00003130 set1  0x00000025 , 0x00000000 
+ 00021104  0x00003131 bpatch  0x00000027 , 0x00004024 
+ 00021105  0x00003132 call  0x0000527e 
+ 00021106  0x00003133 branch  0x00003bf1 , 0x00000034 
+ 00021107  0x00003134 fetch  0x00000003 , 0x000042c6 
+ 00021108  0x00003135 store  0x00000003 , 0x000042c9 
+ 00021109  0x00003136 fetch  0x00000003 , 0x000042c3 
+ 00021110  0x00003137 store  0x00000003 , 0x000042c6 
+ 00021111  0x00003138 fetch  0x00000003 , 0x000042c0 
+ 00021112  0x00003139 store  0x00000003 , 0x000042c3 
+ 00021113  0x0000313a rtn 
+ 00021114  0x00003141 fetch  0x00000003 , 0x000042c0 
+ 00021115  0x00003142 rtn 
+ 00021116  0x00003149 fetch  0x00000003 , 0x000042c3 
+ 00021117  0x0000314a rtn 
+ 00021118  0x00003151 fetch  0x00000003 , 0x000042c9 
+ 00021119  0x00003152 rtn 
+ 00021120  0x00003158 call  0x0000527e 
+ 00021121  0x00003159 branch  0x00003bf1 , 0x00000034 
+ 00021122  0x0000315a arg  0x000042c0 , 0x00000006 
+ 00021123  0x0000315c ifetch  0x00000003 , 0x00000006 
+ 00021124  0x0000315d branch  0x00005283 , 0x00000034 
+ 00021125  0x0000315e increase  0xfffffffd , 0x00000006 
+ 00021126  0x0000315f rtn 
+ 00021127  0x00003167 set1  0x00000025 , 0x00000000 
+ 00021128  0x00003168 bpatch  0x00000028 , 0x00004025 
+ 00021129  0x00003169 arg  0x00000004 , 0x00000039 
+ 00021130  0x0000316a arg  0x000042c0 , 0x00000006 
+ 00021131  0x0000316b arg  0x00000000 , 0x00000002 
+ 00021132  0x0000316d ifetch  0x00000003 , 0x00000006 
+ 00021133  0x0000316e and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00021134  0x0000316f ior  0x00000002 , 0x00000002 
+ 00021135  0x00003170 loop  0x0000528c 
+ 00021136  0x00003171 storet  0x00000001 , 0x000042bf 
+ 00021137  0x00003172 rtn 
+ 00021138  0x0000317b set1  0x00000025 , 0x00000000 
+ 00021139  0x0000317c bpatch  0x00000029 , 0x00004025 
+ 00021140  0x0000317d call  0x0000527a 
+ 00021141  0x0000317e nbranch  0x00003bf1 , 0x00000034 
+ 00021142  0x0000317f call  0x0000527e 
+ 00021143  0x00003180 branch  0x000052a0 , 0x00000034 
+ 00021144  0x00003181 fetch  0x00000003 , 0x000042c3 
+ 00021145  0x00003182 store  0x00000003 , 0x000042c0 
+ 00021146  0x00003183 ifetch  0x00000003 , 0x00000006 
+ 00021147  0x00003184 istore  0x00000003 , 0x00000005 
+ 00021148  0x00003185 ifetch  0x00000003 , 0x00000006 
+ 00021149  0x00003186 istore  0x00000003 , 0x00000005 
+ 00021150  0x00003187 setarg  0x00000000 
+ 00021151  0x00003188 istore  0x00000003 , 0x00000005 
+ 00021152  0x0000318a arg  0x00000000 , 0x00000002 
+ 00021153  0x0000318b copy  0x0000000b , 0x0000003f 
+ 00021154  0x0000318c iadd  0x00000007 , 0x0000003f 
+ 00021155  0x0000318e qset1  0x00000002 
+ 00021156  0x0000318f increase  0x00000001 , 0x00000007 
+ 00021157  0x00003190 isub  0x00000007 , 0x0000003e 
+ 00021158  0x00003191 nbranch  0x000052a3 , 0x00000005 
+ 00021159  0x00003193 lshift8  0x00000012 , 0x0000003f 
+ 00021160  0x00003194 ior  0x00000002 , 0x0000003f 
+ 00021161  0x00003195 store  0x00000003 , 0x000042c9 
+ 00021162  0x00003196 rtn 
+ 00021163  0x000031a1 set1  0x00000025 , 0x00000000 
+ 00021164  0x000031a2 bpatch  0x0000002a , 0x00004025 
+ 00021165  0x000031a3 call  0x00005287 
+ 00021166  0x000031a4 copy  0x00000007 , 0x00000013 
+ 00021167  0x000031a5 arg  0x00000000 , 0x00000002 
+ 00021168  0x000031a6 arg  0x00000000 , 0x0000000b 
+ 00021169  0x000031a9 copy  0x00000007 , 0x0000003f 
+ 00021170  0x000031aa beq  0x00000008 , 0x000052bc 
+ 00021171  0x000031ab fetch  0x00000001 , 0x000042bf 
+ 00021172  0x000031ac qisolate1  0x0000003f 
+ 00021173  0x000031ad branch  0x000052bc , 0x00000001 
+ 00021174  0x000031ae increase  0x00000080 , 0x00000002 
+ 00021175  0x000031af increase  0x00000001 , 0x00000007 
+ 00021176  0x000031b0 copy  0x00000011 , 0x0000003f 
+ 00021177  0x000031b1 isub  0x00000002 , 0x0000003e 
+ 00021178  0x000031b2 branch  0x000052bc , 0x00000005 
+ 00021179  0x000031b3 branch  0x000052b1 , 0x00000002 
+ 00021180  0x000031b5 copy  0x00000002 , 0x0000003f 
+ 00021181  0x000031b6 isub  0x00000011 , 0x0000003e 
+ 00021182  0x000031b7 nbranch  0x000052c2 , 0x00000002 
+ 00021183  0x000031b8 copy  0x00000007 , 0x0000003f 
+ 00021184  0x000031b9 copy  0x00000013 , 0x00000002 
+ 00021185  0x000031ba isub  0x00000002 , 0x0000000b 
+ 00021186  0x000031bc copy  0x00000013 , 0x00000007 
+ 00021187  0x000031bd rtn 
+ 00021188  0x000031c1 set1  0x00000025 , 0x00000000 
+ 00021189  0x000031c2 bpatch  0x0000002b , 0x00004025 
+ 00021190  0x000031c3 arg  0x0000007f , 0x00000011 
+ 00021191  0x000031c4 call  0x00005248 
+ 00021192  0x000031c5 store  0x00000002 , 0x000002d2 
+ 00021193  0x000031c6 increase  0x00000004 , 0x0000003f 
+ 00021194  0x000031c7 store  0x00000002 , 0x000002d4 
+ 00021195  0x000031c8 setarg  0x00000000 
+ 00021196  0x000031c9 store  0x00000002 , 0x000002d6 
+ 00021197  0x000031ca rtn 
+ 00021198  0x000031cd fetch  0x00000002 , 0x000002d2 
+ 00021199  0x000031ce branch  0x000052f2 
+ 00021200  0x000031d1 fetch  0x00000002 , 0x000002d4 
+ 00021201  0x000031d2 branch  0x000052f2 
+ 00021202  0x000031d6 set1  0x00000025 , 0x00000000 
+ 00021203  0x000031d7 bpatch  0x0000002c , 0x00004025 
+ 00021204  0x000031d8 arg  0x000002ff , 0x00000011 
+ 00021205  0x000031d9 call  0x00005248 
+ 00021206  0x000031da store  0x00000002 , 0x000002d8 
+ 00021207  0x000031db increase  0x00000004 , 0x0000003f 
+ 00021208  0x000031dc store  0x00000002 , 0x000002da 
+ 00021209  0x000031dd setarg  0x00000000 
+ 00021210  0x000031de store  0x00000002 , 0x000002dc 
+ 00021211  0x000031df rtn 
+ 00021212  0x000031e2 fetch  0x00000002 , 0x000002d8 
+ 00021213  0x000031e3 branch  0x000052f2 
+ 00021214  0x000031e6 fetch  0x00000002 , 0x000002da 
+ 00021215  0x000031e7 branch  0x000052f2 
+ 00021216  0x000031eb set1  0x00000025 , 0x00000000 
+ 00021217  0x000031ec bpatch  0x0000002d , 0x00004025 
+ 00021218  0x000031ed call  0x00007e00 
+ 00021219  0x000031ee jam  0x00000001 , 0x000002eb 
+ 00021220  0x000031ef call  0x0000527a 
+ 00021221  0x000031f0 nrtn  0x00000034 
+ 00021222  0x000031f1 arg  0x0000007f , 0x00000011 
+ 00021223  0x000031f2 call  0x00005248 
+ 00021224  0x000031f3 store  0x00000002 , 0x000002de 
+ 00021225  0x000031f4 increase  0x00000004 , 0x0000003f 
+ 00021226  0x000031f5 store  0x00000002 , 0x000002e0 
+ 00021227  0x000031f6 setarg  0x00000000 
+ 00021228  0x000031f7 store  0x00000002 , 0x000002e2 
+ 00021229  0x000031f8 jam  0x00000000 , 0x000002eb 
+ 00021230  0x000031f9 branch  0x00007e0e 
+ 00021231  0x000031fc fetch  0x00000002 , 0x000002de 
+ 00021232  0x000031fd branch  0x000052f2 
+ 00021233  0x00003200 fetch  0x00000002 , 0x000002e0 
+ 00021234  0x00003203 branch  0x00003bf1 , 0x00000034 
+ 00021235  0x00003204 copy  0x0000003f , 0x00000005 
+ 00021236  0x00003205 rtn 
+ 00021237  0x00003209 set1  0x00000025 , 0x00000000 
+ 00021238  0x0000320a bpatch  0x0000002e , 0x00004025 
+ 00021239  0x0000320b arg  0x00000000 , 0x00000012 
+ 00021240  0x0000320c arg  0x000042c0 , 0x00000011 
+ 00021241  0x0000320d increase  0xfffffffe , 0x00000011 
+ 00021242  0x0000320f increase  0x00000002 , 0x00000011 
+ 00021243  0x00003210 setarg  0x000042cc 
+ 00021244  0x00003211 isub  0x00000011 , 0x0000003e 
+ 00021245  0x00003212 branch  0x00005306 , 0x00000005 
+ 00021246  0x00003213 ifetch  0x00000001 , 0x00000011 
+ 00021247  0x00003214 increase  0x00000001 , 0x00000011 
+ 00021248  0x00003215 branch  0x000052fa , 0x00000034 
+ 00021249  0x00003216 ifetcht  0x00000002 , 0x00000011 
+ 00021250  0x00003217 ifetch  0x00000002 , 0x00000002 
+ 00021251  0x00003218 iadd  0x00000012 , 0x00000012 
+ 00021252  0x00003219 increase  0x00000004 , 0x00000012 
+ 00021253  0x0000321a branch  0x000052fa 
+ 00021254  0x0000321c copy  0x00000012 , 0x0000003f 
+ 00021255  0x0000321d rtn 
+ 00021256  0x00003221 arg  0x0000000c , 0x00000007 
+ 00021257  0x00003222 branch  0x00003dc2 
+ 00021258  0x00003225 arg  0x0000000c , 0x00000007 
+ 00021259  0x00003226 branch  0x00003dc6 
+ 00021260  0x00003229 set1  0x00000025 , 0x00000000 
+ 00021261  0x0000322a bpatch  0x0000002f , 0x00004025 
+ 00021262  0x0000322b call  0x00005287 
+ 00021263  0x0000322c fetch  0x00000001 , 0x000042bf 
+ 00021264  0x0000322d rtn  0x00000034 
+ 00021265  0x0000322e call  0x000052f5 
+ 00021266  0x0000322f arg  0x00000100 , 0x00000002 
+ 00021267  0x00003230 isub  0x00000002 , 0x0000003e 
+ 00021268  0x00003231 branch  0x00005308 , 0x00000002 
+ 00021269  0x00003232 call  0x0000530a 
+ 00021270  0x00003233 arg  0x000042cc , 0x00000005 
+ 00021271  0x00003234 arg  0x000042c0 , 0x00000011 
+ 00021272  0x00003236 setarg  0x000042cc 
+ 00021273  0x00003237 isub  0x00000011 , 0x0000003e 
+ 00021274  0x00003238 rtn  0x00000005 
+ 00021275  0x00003239 ifetch  0x00000001 , 0x00000011 
+ 00021276  0x0000323a increase  0x00000001 , 0x00000011 
+ 00021277  0x0000323b nbranch  0x00005321 , 0x00000034 
+ 00021278  0x0000323c istore  0x00000002 , 0x00000005 
+ 00021279  0x0000323d increase  0x00000002 , 0x00000011 
+ 00021280  0x0000323e branch  0x00005318 
+ 00021281  0x00003240 ifetch  0x00000002 , 0x00000011 
+ 00021282  0x00003241 increase  0x00000002 , 0x00000011 
+ 00021283  0x00003242 copy  0x0000003f , 0x00000006 
+ 00021284  0x00003243 ifetch  0x00000002 , 0x00000006 
+ 00021285  0x00003244 istore  0x00000002 , 0x00000005 
+ 00021286  0x00003245 copy  0x0000003f , 0x00000039 
+ 00021287  0x00003246 increase  0x00000002 , 0x00000039 
+ 00021288  0x00003247 call  0x00007e45 
+ 00021289  0x00003248 branch  0x00005318 
+ 00021290  0x0000324b set1  0x00000025 , 0x00000000 
+ 00021291  0x0000324c bpatch  0x00000030 , 0x00004026 
+ 00021292  0x0000324d call  0x00005287 
+ 00021293  0x0000324e fetch  0x00000001 , 0x000042bf 
+ 00021294  0x0000324f rtn  0x00000034 
+ 00021295  0x00003250 arg  0x000042c1 , 0x00000011 
+ 00021296  0x00003251 increase  0xfffffffd , 0x00000011 
+ 00021297  0x00003252 arg  0x000042cc , 0x00000006 
+ 00021298  0x00003254 increase  0x00000003 , 0x00000011 
+ 00021299  0x00003255 setarg  0x000042cd 
+ 00021300  0x00003256 isub  0x00000011 , 0x0000003e 
+ 00021301  0x00003257 rtn  0x00000005 
+ 00021302  0x00003258 ifetch  0x00000002 , 0x00000006 
+ 00021303  0x00003259 branch  0x00005332 , 0x00000034 
+ 00021304  0x0000325a increase  0x00000004 , 0x0000003f 
+ 00021305  0x0000325b copy  0x0000003f , 0x00000039 
+ 00021306  0x0000325c copy  0x00000006 , 0x00000012 
+ 00021307  0x0000325d ifetch  0x00000002 , 0x00000011 
+ 00021308  0x0000325e copy  0x0000003f , 0x00000005 
+ 00021309  0x0000325f copy  0x00000012 , 0x00000006 
+ 00021310  0x00003260 increase  0xfffffffe , 0x00000006 
+ 00021311  0x00003261 call  0x00007e45 
+ 00021312  0x00003262 branch  0x00005332 
+ 00021313  0x0000326b rtn  0x0000002b 
+ 00021314  0x0000326c setarg  0x00000010 
+ 00021315  0x0000326d store  0x00000002 , 0x000043d3 
+ 00021316  0x0000326e setarg  0x00000010 
+ 00021317  0x0000326f store  0x00000002 , 0x000043d5 
+ 00021318  0x00003270 rtn 
+ 00021319  0x00003273 arg  0x00000014 , 0x00000002 
+ 00021320  0x00003274 call  0x00005a88 
+ 00021321  0x00003275 add  0x00000006 , 0x00000001 , 0x0000003f 
+ 00021322  0x00003276 store  0x00000002 , 0x00000419 
+ 00021323  0x00003277 rtn 
+ 00021324  0x0000327a set1  0x00000025 , 0x00000000 
+ 00021325  0x0000327b bpatch  0x00000032 , 0x00004026 
+ 00021326  0x0000327c disable  0x0000002b 
+ 00021327  0x0000327d jam  0x00000001 , 0x0000427e 
+ 00021328  0x0000327e jam  0x00000001 , 0x000003d6 
+ 00021329  0x0000327f jam  0x00000003 , 0x000003c0 
+ 00021330  0x00003280 jam  0x00000001 , 0x000003d7 
+ 00021331  0x00003281 setarg  0xffffffff 
+ 00021332  0x00003282 store  0x00000002 , 0x000003da 
+ 00021333  0x00003283 force  0x00000000 , 0x0000003f 
+ 00021334  0x00003284 store  0x00000001 , 0x000003e3 
+ 00021335  0x00003285 store  0x00000001 , 0x000003d8 
+ 00021336  0x00003286 store  0x00000001 , 0x000003e4 
+ 00021337  0x00003287 store  0x00000003 , 0x0000420a 
+ 00021338  0x00003288 store  0x00000003 , 0x0000420d 
+ 00021339  0x00003289 store  0x00000005 , 0x00004465 
+ 00021340  0x0000328a set1  0x00000027 , 0x0000003f 
+ 00021341  0x0000328b store  0x00000005 , 0x0000446a 
+ 00021342  0x0000328c branch  0x00005a0b 
+ 00021343  0x0000328f set1  0x00000025 , 0x00000000 
+ 00021344  0x00003290 bpatch  0x00000033 , 0x00004026 
+ 00021345  0x00003291 enable  0x00000029 
+ 00021346  0x00003292 jam  0x00000003 , 0x000003c1 
+ 00021347  0x00003293 jam  0x00000001 , 0x000003fa 
+ 00021348  0x00003294 jam  0x00000001 , 0x000044bc 
+ 00021349  0x00003295 setarg  0x0000ffff 
+ 00021350  0x00003296 store  0x00000002 , 0x000044be 
+ 00021351  0x00003297 force  0x00000000 , 0x0000003f 
+ 00021352  0x00003298 store  0x00000005 , 0x0000446a 
+ 00021353  0x00003299 set1  0x00000027 , 0x0000003f 
+ 00021354  0x0000329a store  0x00000005 , 0x00004465 
+ 00021355  0x0000329b branch  0x0000534c 
+ 00021356  0x0000329f set1  0x00000025 , 0x00000000 
+ 00021357  0x000032a0 bpatch  0x00000034 , 0x00004026 
+ 00021358  0x000032a1 disable  0x00000029 
+ 00021359  0x000032a2 jam  0x00000001 , 0x000003c1 
+ 00021360  0x000032a3 jam  0x00000000 , 0x000043d8 
+ 00021361  0x000032a4 jam  0x00000000 , 0x000000a2 
+ 00021362  0x000032a5 branch  0x0000534c 
+ 00021363  0x000032ac call  0x000053d2 
+ 00021364  0x000032ad call  0x000055d3 
+ 00021365  0x000032ae call  0x00005a0e 
+ 00021366  0x000032af branch  0x000053d7 
+ 00021367  0x000032b2 set1  0x00000025 , 0x00000000 
+ 00021368  0x000032b3 bpatch  0x00000035 , 0x00004026 
+ 00021369  0x000032b4 call  0x000053d2 
+ 00021370  0x000032b5 call  0x00003e71 
+ 00021371  0x000032b6 fetch  0x00000001 , 0x000003c1 
+ 00021372  0x000032b7 beq  0x00000003 , 0x0000537e 
+ 00021373  0x000032b8 branch  0x00005395 
+ 00021374  0x000032bf set1  0x00000025 , 0x00000000 
+ 00021375  0x000032c0 bpatch  0x00000036 , 0x00004026 
+ 00021376  0x000032c1 enable  0x00000029 
+ 00021377  0x000032c2 call  0x00005a02 
+ 00021378  0x000032c3 branch  0x00005392 , 0x00000002 
+ 00021379  0x000032c4 call  0x00003e28 
+ 00021380  0x000032c5 call  0x0000541c 
+ 00021381  0x000032c6 call  0x00005622 
+ 00021382  0x000032c7 disable  0x0000002d 
+ 00021383  0x000032c8 call  0x000054b2 
+ 00021384  0x000032c9 nrtn  0x0000002d 
+ 00021385  0x000032ca set1  0x00000025 , 0x00000000 
+ 00021386  0x000032cb bpatch  0x00000037 , 0x00004026 
+ 00021387  0x000032cc fetch  0x00000001 , 0x00000005 
+ 00021388  0x000032cd increase  0x00000001 , 0x0000003f 
+ 00021389  0x000032ce store  0x00000001 , 0x00000005 
+ 00021390  0x000032cf call  0x000055a2 
+ 00021391  0x000032d0 call  0x00005a99 
+ 00021392  0x000032d1 disable  0x00000029 
+ 00021393  0x000032d2 rtn 
+ 00021394  0x000032d5 call  0x000053ba 
+ 00021395  0x000032d6 disable  0x00000029 
+ 00021396  0x000032d7 rtn 
+ 00021397  0x000032dd set1  0x00000025 , 0x00000000 
+ 00021398  0x000032de bpatch  0x00000038 , 0x00004027 
+ 00021399  0x000032df disable  0x0000002e 
+ 00021400  0x000032e0 call  0x00005a02 
+ 00021401  0x000032e1 branch  0x000053ba , 0x00000002 
+ 00021402  0x000032e2 call  0x00003e28 
+ 00021403  0x000032e3 call  0x0000541c 
+ 00021404  0x000032e4 call  0x00005478 
+ 00021405  0x000032e5 nbranch  0x000053ad , 0x0000002d 
+ 00021406  0x000032e7 set1  0x00000025 , 0x00000000 
+ 00021407  0x000032e8 bpatch  0x00000039 , 0x00004027 
+ 00021408  0x000032e9 call  0x000053c8 
+ 00021409  0x000032ea call  0x000055a2 
+ 00021410  0x000032eb call  0x00005622 
+ 00021411  0x000032ec fetch  0x00000001 , 0x00000340 
+ 00021412  0x000032ed bbit1  0x00000004 , 0x000053b4 
+ 00021413  0x000032ee call  0x0000561a 
+ 00021414  0x000032ef nbranch  0x000053b4 , 0x00000034 
+ 00021415  0x000032f1 set1  0x00000025 , 0x00000000 
+ 00021416  0x000032f2 bpatch  0x0000003a , 0x00004027 
+ 00021417  0x000032f3 call  0x000054bb 
+ 00021418  0x000032f5 call  0x00007c45 
+ 00021419  0x000032f6 fetch  0x00000001 , 0x000003e4 
+ 00021420  0x000032f7 bbit1  0x00000003 , 0x000053ba 
+ 00021421  0x000032f9 set1  0x00000025 , 0x00000000 
+ 00021422  0x000032fa bpatch  0x0000003b , 0x00004027 
+ 00021423  0x000032fb call  0x00007f44 
+ 00021424  0x000032fc call  0x00005b19 
+ 00021425  0x000032fd call  0x00005594 
+ 00021426  0x000032fe call  0x00005576 
+ 00021427  0x000032ff branch  0x000039ac 
+ 00021428  0x00003302 set1  0x00000025 , 0x00000000 
+ 00021429  0x00003303 bpatch  0x0000003c , 0x00004027 
+ 00021430  0x00003304 enable  0x0000002e 
+ 00021431  0x00003305 call  0x000054b2 
+ 00021432  0x00003306 branch  0x0000539e , 0x0000002d 
+ 00021433  0x00003307 branch  0x000053aa 
+ 00021434  0x0000330d set1  0x00000025 , 0x00000000 
+ 00021435  0x0000330e bpatch  0x0000003d , 0x00004027 
+ 00021436  0x0000330f call  0x000053c0 
+ 00021437  0x00003310 call  0x00003f1d 
+ 00021438  0x00003311 jam  0x00000015 , 0x00000b7d 
+ 00021439  0x00003312 branch  0x00007c27 
+ 00021440  0x00003315 fetcht  0x00000001 , 0x000003d6 
+ 00021441  0x00003316 jam  0x00000008 , 0x000002c0 
+ 00021442  0x00003317 call  0x000048c4 
+ 00021443  0x00003318 jam  0x00000000 , 0x000003d6 
+ 00021444  0x00003319 jam  0x00000000 , 0x000003c1 
+ 00021445  0x0000331a jam  0x00000000 , 0x000003c0 
+ 00021446  0x0000331b jam  0x00000000 , 0x0000427e 
+ 00021447  0x0000331c rtn 
+ 00021448  0x0000331f fetch  0x00000001 , 0x00000005 
+ 00021449  0x00003320 increase  0x00000001 , 0x0000003f 
+ 00021450  0x00003321 store  0x00000001 , 0x00000005 
+ 00021451  0x00003322 fetch  0x00000001 , 0x000003c0 
+ 00021452  0x00003323 rtnbit1  0x00000003 
+ 00021453  0x00003324 set1  0x00000003 
+ 00021454  0x00003325 store  0x00000001 , 0x000003c0 
+ 00021455  0x00003326 setarg  0x00000000 
+ 00021456  0x00003327 store  0x00000004 , 0x000046f9 
+ 00021457  0x00003328 rtn 
+ 00021458  0x0000332e set1  0x00000025 , 0x00000000 
+ 00021459  0x0000332f bpatch  0x0000003e , 0x00004027 
+ 00021460  0x00003330 enable  0x00000036 
+ 00021461  0x00003331 hjam  0x00000007 , 0x00008914 
+ 00021462  0x00003332 branch  0x00003e28 
+ 00021463  0x00003335 set1  0x00000025 , 0x00000000 
+ 00021464  0x00003336 bpatch  0x0000003f , 0x00004027 
+ 00021465  0x00003337 disable  0x00000036 
+ 00021466  0x00003338 hjam  0x00000003 , 0x00008914 
+ 00021467  0x00003339 arg  0x00000000 , 0x0000001b 
+ 00021468  0x0000333a rtn 
+ 00021469  0x0000333d disable  0x00000009 
+ 00021470  0x0000333e disable  0x00000007 
+ 00021471  0x0000333f fetch  0x00000003 , 0x000003e9 
+ 00021472  0x00003340 iforce  0x0000000f 
+ 00021473  0x00003341 fetch  0x00000001 , 0x00000016 
+ 00021474  0x00003342 reverse  0x0000003f , 0x00000002 
+ 00021475  0x00003343 set1  0x00000001 , 0x00000002 
+ 00021476  0x00003344 rshift  0x00000002 , 0x0000000e 
+ 00021477  0x00003345 rtn 
+ 00021478  0x00003349 call  0x000053ee 
+ 00021479  0x0000334a call  0x00003a82 
+ 00021480  0x0000334b setarg  0x00000500 
+ 00021481  0x0000334c call  0x00003bf3 
+ 00021482  0x0000334d branch  0x00003a87 
+ 00021483  0x00003350 branch  0x00003a98 , 0x0000002d 
+ 00021484  0x00003351 call  0x000053ee 
+ 00021485  0x00003352 branch  0x00003a91 
+ 00021486  0x00003354 set1  0x00000025 , 0x00000000 
+ 00021487  0x00003355 bpatch  0x00000040 , 0x00004028 
+ 00021488  0x00003356 call  0x00003a7a 
+ 00021489  0x00003357 fetch  0x00000001 , 0x0000040d 
+ 00021490  0x00003358 nbranch  0x00005402 , 0x00000034 
+ 00021491  0x00003359 fetch  0x00000001 , 0x00000016 
+ 00021492  0x0000335a sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00021493  0x0000335b branch  0x000053fc , 0x00000002 
+ 00021494  0x0000335c force  0x00000000 , 0x00000002 
+ 00021495  0x0000335d rtneq  0x00000025 
+ 00021496  0x0000335e force  0x00000018 , 0x00000002 
+ 00021497  0x0000335f rtneq  0x00000026 
+ 00021498  0x00003360 force  0x0000004e , 0x00000002 
+ 00021499  0x00003361 rtn 
+ 00021500  0x00003364 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00021501  0x00003365 branch  0x000053ff , 0x00000002 
+ 00021502  0x00003366 increase  0x00000001 , 0x0000003f 
+ 00021503  0x00003369 lshift  0x0000003f , 0x0000003f 
+ 00021504  0x0000336a add  0x0000003f , 0x00000002 , 0x00000002 
+ 00021505  0x0000336b rtn 
+ 00021506  0x0000336e fetch  0x00000001 , 0x00000016 
+ 00021507  0x0000336f lshift  0x0000003f , 0x00000002 
+ 00021508  0x00003370 rtn 
+ 00021509  0x00003373 arg  0x000001f4 , 0x00000002 
+ 00021510  0x00003374 rtn  0x00000034 
+ 00021511  0x00003375 arg  0x000000fa , 0x00000002 
+ 00021512  0x00003376 rtneq  0x00000001 
+ 00021513  0x00003377 arg  0x00000096 , 0x00000002 
+ 00021514  0x00003378 rtneq  0x00000002 
+ 00021515  0x00003379 arg  0x00000064 , 0x00000002 
+ 00021516  0x0000337a rtneq  0x00000003 
+ 00021517  0x0000337b arg  0x0000004b , 0x00000002 
+ 00021518  0x0000337c rtneq  0x00000004 
+ 00021519  0x0000337d arg  0x00000032 , 0x00000002 
+ 00021520  0x0000337e rtneq  0x00000005 
+ 00021521  0x0000337f arg  0x00000028 , 0x00000002 
+ 00021522  0x00003380 rtneq  0x00000006 
+ 00021523  0x00003381 arg  0x00000014 , 0x00000002 
+ 00021524  0x00003382 rtn 
+ 00021525  0x00003387 setarg  0x008e89be 
+ 00021526  0x00003388 lshift8  0x0000003f , 0x0000003f 
+ 00021527  0x00003389 or_into  0x000000d6 , 0x0000003f 
+ 00021528  0x0000338a iforce  0x00000009 
+ 00021529  0x0000338b setarg  0x00555555 
+ 00021530  0x0000338c store  0x00000003 , 0x000003e9 
+ 00021531  0x0000338d rtn 
+ 00021532  0x00003390 set1  0x00000025 , 0x00000000 
+ 00021533  0x00003391 bpatch  0x00000041 , 0x00004028 
+ 00021534  0x00003392 enable  0x00000010 
+ 00021535  0x00003393 fetch  0x00000004 , 0x000003e5 
+ 00021536  0x00003394 iforce  0x00000009 
+ 00021537  0x00003395 call  0x00005453 
+ 00021538  0x00003396 setarg  0x00000200 
+ 00021539  0x00003397 branch  0x00005426 , 0x00000029 
+ 00021540  0x00003398 fetch  0x00000002 , 0x000003ce 
+ 00021541  0x00003399 rshift  0x0000003f , 0x0000003f 
+ 00021542  0x0000339b arg  0x00000500 , 0x00000002 
+ 00021543  0x0000339c iadd  0x00000002 , 0x0000003f 
+ 00021544  0x0000339d call  0x00003b7d 
+ 00021545  0x0000339e deposit  0x0000001a 
+ 00021546  0x0000339f store  0x00000006 , 0x00000412 
+ 00021547  0x000033a0 rtn 
+ 00021548  0x000033a3 set1  0x00000025 , 0x00000000 
+ 00021549  0x000033a4 bpatch  0x00000042 , 0x00004028 
+ 00021550  0x000033a5 fetch  0x00000001 , 0x00000016 
+ 00021551  0x000033a6 increase  0x00000001 , 0x0000003f 
+ 00021552  0x000033a7 store  0x00000001 , 0x00000016 
+ 00021553  0x000033a8 rtnne  0x00000028 
+ 00021554  0x000033a9 jam  0x00000025 , 0x00000016 
+ 00021555  0x000033aa rtn 
+ 00021556  0x000033ad set1  0x00000025 , 0x00000000 
+ 00021557  0x000033ae bpatch  0x00000043 , 0x00004028 
+ 00021558  0x000033af add  0x00000011 , 0x00000001 , 0x00000006 
+ 00021559  0x000033b0 ifetch  0x00000001 , 0x00000006 
+ 00021560  0x000033b1 rtnbit0  0x00000000 
+ 00021561  0x000033b2 add  0x00000011 , 0x0000001a , 0x00000005 
+ 00021562  0x000033b3 ifetch  0x00000002 , 0x00000005 
+ 00021563  0x000033b4 increase  0x00000001 , 0x0000003f 
+ 00021564  0x000033b5 istore  0x00000002 , 0x00000005 
+ 00021565  0x000033b6 add  0x00000011 , 0x00000019 , 0x00000006 
+ 00021566  0x000033b7 ifetch  0x00000001 , 0x00000006 
+ 00021567  0x000033b8 add  0x00000011 , 0x00000018 , 0x00000005 
+ 00021568  0x000033b9 ifetcht  0x00000001 , 0x00000005 
+ 00021569  0x000033ba iadd  0x00000002 , 0x0000003f 
+ 00021570  0x000033bb sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00021571  0x000033bc branch  0x00005445 , 0x00000002 
+ 00021572  0x000033bd increase  0xffffffdb , 0x0000003f 
+ 00021573  0x000033bf istore  0x00000001 , 0x00000005 
+ 00021574  0x000033c0 rtn 
+ 00021575  0x000033c4 set1  0x00000025 , 0x00000000 
+ 00021576  0x000033c5 bpatch  0x00000044 , 0x00004028 
+ 00021577  0x000033c6 fetch  0x00000005 , 0x000003f1 
+ 00021578  0x000033c7 force  0x00000000 , 0x00000002 
+ 00021579  0x000033c8 force  0x00000025 , 0x00000039 
+ 00021580  0x000033ca bbit0  0x00000000 , 0x0000544e 
+ 00021581  0x000033cb increase  0x00000001 , 0x00000002 
+ 00021582  0x000033cd rshift  0x0000003f , 0x0000003f 
+ 00021583  0x000033ce loop  0x0000544c 
+ 00021584  0x000033cf add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00021585  0x000033d0 store  0x00000001 , 0x000003e2 
+ 00021586  0x000033d1 rtn 
+ 00021587  0x000033d4 set1  0x00000025 , 0x00000000 
+ 00021588  0x000033d5 bpatch  0x00000045 , 0x00004028 
+ 00021589  0x000033d6 fetch  0x00000001 , 0x000003d8 
+ 00021590  0x000033d7 iforce  0x00000007 
+ 00021591  0x000033d8 fetcht  0x00000005 , 0x000003f1 
+ 00021592  0x000033d9 qisolate1  0x00000002 
+ 00021593  0x000033da branch  0x0000546b , 0x00000001 
+ 00021594  0x000033dc set1  0x00000025 , 0x00000000 
+ 00021595  0x000033dd bpatch  0x00000046 , 0x00004028 
+ 00021596  0x000033de fetch  0x00000001 , 0x000003e2 
+ 00021597  0x000033df isub  0x00000007 , 0x0000003f 
+ 00021598  0x000033e0 branch  0x00005461 , 0x00000002 
+ 00021599  0x000033e1 sub  0x0000003f , 0xffffffff , 0x00000007 
+ 00021600  0x000033e2 branch  0x0000545a 
+ 00021601  0x000033e4 copy  0x00000007 , 0x00000039 
+ 00021602  0x000033e5 force  0x00000000 , 0x00000007 
+ 00021603  0x000033e7 qisolate1  0x00000002 
+ 00021604  0x000033e8 branch  0x00005466 , 0x00000001 
+ 00021605  0x000033e9 increase  0x00000001 , 0x00000039 
+ 00021606  0x000033eb deposit  0x00000039 
+ 00021607  0x000033ec branch  0x0000546b , 0x00000034 
+ 00021608  0x000033ed increase  0x00000001 , 0x00000007 
+ 00021609  0x000033ee increase  0xffffffff , 0x00000039 
+ 00021610  0x000033ef branch  0x00005463 
+ 00021611  0x000033f1 deposit  0x00000007 
+ 00021612  0x000033f2 store  0x00000001 , 0x00000016 
+ 00021613  0x000033f3 rtn 
+ 00021614  0x000033f7 branch  0x00005471 , 0x00000029 
+ 00021615  0x000033f8 until  0x0000003e , 0x00000003 
+ 00021616  0x000033f9 rtn 
+ 00021617  0x000033fc arg  0x00000ea0 , 0x0000000b 
+ 00021618  0x000033fd until  0x00000023 , 0x00000026 
+ 00021619  0x000033fe rtn 
+ 00021620  0x00003401 disable  0x00000010 
+ 00021621  0x00003402 fetch  0x00000002 , 0x000043d5 
+ 00021622  0x00003403 copy  0x0000003f , 0x0000000b 
+ 00021623  0x00003404 branch  0x0000547e 
+ 00021624  0x00003408 set1  0x00000025 , 0x00000000 
+ 00021625  0x00003409 bpatch  0x00000047 , 0x00004028 
+ 00021626  0x0000340a enable  0x00000010 
+ 00021627  0x0000340b fetch  0x00000002 , 0x000003ce 
+ 00021628  0x0000340c fetcht  0x00000004 , 0x000046f9 
+ 00021629  0x0000340d iadd  0x00000002 , 0x0000000b 
+ 00021630  0x0000340f call  0x000053e6 
+ 00021631  0x00003411 set1  0x00000025 , 0x00000000 
+ 00021632  0x00003412 bpatch  0x00000048 , 0x00004029 
+ 00021633  0x00003413 call  0x000053dd 
+ 00021634  0x00003414 disable  0x0000002d 
+ 00021635  0x00003415 enable  0x0000000d 
+ 00021636  0x00003416 enable  0x00000021 
+ 00021637  0x00003417 disable  0x00000020 
+ 00021638  0x00003418 copy  0x0000000b , 0x0000001b 
+ 00021639  0x00003419 correlate  0x0000003e , 0x00000003 
+ 00021640  0x0000341a branch  0x0000548b , 0x0000002e 
+ 00021641  0x0000341b copy  0x0000001a , 0x00000002 
+ 00021642  0x0000341c storet  0x00000006 , 0x0000009c 
+ 00021643  0x0000341e nbranch  0x0000375c , 0x00000018 
+ 00021644  0x0000341f branch  0x00005492 , 0x0000002e 
+ 00021645  0x00003420 arg  0x000001e0 , 0x00000029 
+ 00021646  0x00003421 copy  0x00000021 , 0x00000028 
+ 00021647  0x00003422 fetch  0x00000001 , 0x000003c0 
+ 00021648  0x00003423 bbit0  0x00000003 , 0x00005492 
+ 00021649  0x00003424 call  0x00003cb6 , 0x0000002b 
+ 00021650  0x00003426 set1  0x00000025 , 0x00000000 
+ 00021651  0x00003427 bpatch  0x00000049 , 0x00004029 
+ 00021652  0x00003428 call  0x00003af3 
+ 00021653  0x00003429 enable  0x00000007 
+ 00021654  0x0000342a enable  0x00000009 
+ 00021655  0x0000342b parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021656  0x0000342c rshift3  0x0000000c , 0x0000003f 
+ 00021657  0x0000342d store  0x00000001 , 0x00000340 
+ 00021658  0x0000342e parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021659  0x0000342f rshift3  0x0000000c , 0x0000003f 
+ 00021660  0x00003430 istore  0x00000001 , 0x00000005 
+ 00021661  0x00003431 and  0x0000003f , 0x0000003f , 0x00000039 
+ 00021662  0x00003432 branch  0x000054a3 , 0x00000005 
+ 00021663  0x00003435 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021664  0x00003436 rshift3  0x0000000c , 0x0000003f 
+ 00021665  0x00003437 istore  0x00000001 , 0x00000005 
+ 00021666  0x00003438 loop  0x0000549f 
+ 00021667  0x0000343b set1  0x00000025 , 0x00000000 
+ 00021668  0x0000343c bpatch  0x0000004a , 0x00004029 
+ 00021669  0x0000343d parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00021670  0x0000343e enable  0x00000010 
+ 00021671  0x0000343f arg  0x00000664 , 0x0000001b 
+ 00021672  0x00003440 rshift32  0x0000003f , 0x0000003f 
+ 00021673  0x00003441 rshift16  0x0000003f , 0x0000003f 
+ 00021674  0x00003442 istore  0x00000003 , 0x00000005 
+ 00021675  0x00003443 branch  0x0000375c , 0x00000006 
+ 00021676  0x00003444 enable  0x0000002d 
+ 00021677  0x00003445 fetch  0x00000001 , 0x00000017 
+ 00021678  0x00003446 add  0x0000003f , 0x00000002 , 0x00000011 
+ 00021679  0x00003447 call  0x00003ab6 
+ 00021680  0x00003448 disable  0x0000000d 
+ 00021681  0x00003449 branch  0x00003a7a 
+ 00021682  0x0000344c set1  0x00000025 , 0x00000000 
+ 00021683  0x0000344d bpatch  0x0000004b , 0x00004029 
+ 00021684  0x0000344e call  0x000054bd 
+ 00021685  0x0000344f fetcht  0x00000001 , 0x00000017 
+ 00021686  0x00003450 call  0x00003a82 
+ 00021687  0x00003451 call  0x00003a87 
+ 00021688  0x00003452 enable  0x00000010 
+ 00021689  0x00003453 arg  0x00001388 , 0x0000000b 
+ 00021690  0x00003454 branch  0x0000547f 
+ 00021691  0x00003457 call  0x000054bd 
+ 00021692  0x00003458 branch  0x0000375c 
+ 00021693  0x0000345b set1  0x00000025 , 0x00000000 
+ 00021694  0x0000345c bpatch  0x0000004c , 0x00004029 
+ 00021695  0x0000345d call  0x000053dd 
+ 00021696  0x0000345e call  0x000053eb 
+ 00021697  0x0000345f set1  0x00000000 , 0x00000015 
+ 00021698  0x00003460 enable  0x0000001d 
+ 00021699  0x00003461 enable  0x00000020 
+ 00021700  0x00003462 disable  0x00000021 
+ 00021701  0x00003463 call  0x0000546e 
+ 00021702  0x00003464 rshift16  0x00000009 , 0x0000003f 
+ 00021703  0x00003465 rshift8  0x0000003f , 0x0000003f 
+ 00021704  0x00003466 rshift4  0x0000003f , 0x0000003f 
+ 00021705  0x00003467 inject  0x00000003 , 0x00000028 
+ 00021706  0x00003468 enable  0x00000007 
+ 00021707  0x00003469 enable  0x00000009 
+ 00021708  0x0000346a set1  0x00000025 , 0x00000000 
+ 00021709  0x0000346b bpatch  0x0000004d , 0x00004029 
+ 00021710  0x0000346c fetch  0x00000001 , 0x0000443e 
+ 00021711  0x0000346d inject  0x00000003 , 0x00000008 
+ 00021712  0x0000346e ifetch  0x00000001 , 0x00000006 
+ 00021713  0x0000346f and  0x0000003f , 0x0000003f , 0x00000039 
+ 00021714  0x00003470 inject  0x00000003 , 0x00000008 
+ 00021715  0x00003471 branch  0x000054d7 , 0x00000005 
+ 00021716  0x00003473 ifetch  0x00000001 , 0x00000006 
+ 00021717  0x00003474 inject  0x00000003 , 0x00000008 
+ 00021718  0x00003475 loop  0x000054d4 
+ 00021719  0x00003478 enable  0x00000008 
+ 00021720  0x00003479 inject  0x00000003 , 0x00000018 
+ 00021721  0x0000347a disable  0x00000008 
+ 00021722  0x0000347b until  0x0000003e , 0x00000027 
+ 00021723  0x0000347c nop  0x00000064 
+ 00021724  0x0000347d disable  0x0000001d 
+ 00021725  0x0000347e rtn 
+ 00021726  0x00003481 set1  0x00000025 , 0x00000000 
+ 00021727  0x00003482 bpatch  0x0000004e , 0x00004029 
+ 00021728  0x00003483 fetch  0x00000001 , 0x000044db 
+ 00021729  0x00003484 beq  0x00000001 , 0x000054ef 
+ 00021730  0x00003485 fetch  0x00000001 , 0x000044dc 
+ 00021731  0x00003486 lshift4  0x0000003f , 0x0000003f 
+ 00021732  0x00003487 lshift2  0x0000003f , 0x0000003f 
+ 00021733  0x00003488 store  0x00000001 , 0x0000443e 
+ 00021734  0x00003489 fetcht  0x00000001 , 0x000043d9 
+ 00021735  0x0000348a add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00021736  0x0000348b store  0x00000001 , 0x0000443f 
+ 00021737  0x0000348c fetch  0x00000006 , 0x000044f9 
+ 00021738  0x0000348d store  0x00000006 , 0x00004440 
+ 00021739  0x0000348e copy  0x00000002 , 0x00000039 
+ 00021740  0x0000348f arg  0x000043da , 0x00000006 
+ 00021741  0x00003490 call  0x00007e45 
+ 00021742  0x00003491 branch  0x000054ff 
+ 00021743  0x00003493 fetcht  0x00000002 , 0x000044c2 
+ 00021744  0x00003494 call  0x00005866 
+ 00021745  0x00003495 copy  0x00000011 , 0x00000005 
+ 00021746  0x00003496 setarg  0x00000001 
+ 00021747  0x00003497 istore  0x00000001 , 0x00000005 
+ 00021748  0x00003498 fetch  0x00000001 , 0x000044dd 
+ 00021749  0x00003499 lshift4  0x0000003f , 0x0000003f 
+ 00021750  0x0000349a lshift2  0x0000003f , 0x0000003f 
+ 00021751  0x0000349b increase  0x00000001 , 0x0000003f 
+ 00021752  0x0000349c store  0x00000001 , 0x0000443e 
+ 00021753  0x0000349d setarg  0x0000000c 
+ 00021754  0x0000349e store  0x00000001 , 0x0000443f 
+ 00021755  0x0000349f fetch  0x00000006 , 0x000044f9 
+ 00021756  0x000034a0 store  0x00000006 , 0x00004440 
+ 00021757  0x000034a1 fetch  0x00000006 , 0x00004274 
+ 00021758  0x000034a2 istore  0x00000006 , 0x00000005 
+ 00021759  0x000034a4 set1  0x00000025 , 0x00000000 
+ 00021760  0x000034a5 bpatch  0x0000004f , 0x00004029 
+ 00021761  0x000034a6 fetch  0x00000001 , 0x00000000 
+ 00021762  0x000034a7 increase  0x00000001 , 0x0000003f 
+ 00021763  0x000034a8 store  0x00000001 , 0x00000000 
+ 00021764  0x000034a9 arg  0x00000708 , 0x0000001b 
+ 00021765  0x000034aa disable  0x0000002d 
+ 00021766  0x000034ab branch  0x000054b2 
+ 00021767  0x000034ae set1  0x00000025 , 0x00000000 
+ 00021768  0x000034af bpatch  0x00000050 , 0x0000402a 
+ 00021769  0x000034b0 fetch  0x00000001 , 0x000044f6 
+ 00021770  0x000034b1 rtnne  0x00000001 , 0x0000003f 
+ 00021771  0x000034b2 fetch  0x00000001 , 0x00000000 
+ 00021772  0x000034b3 increase  0x00000001 , 0x0000003f 
+ 00021773  0x000034b4 store  0x00000001 , 0x00000000 
+ 00021774  0x000034b5 arg  0x00000c03 , 0x00000002 
+ 00021775  0x000034b6 fetch  0x00000001 , 0x000044f7 
+ 00021776  0x000034b7 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00021777  0x000034b8 copy  0x00000011 , 0x0000003f 
+ 00021778  0x000034b9 nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00021779  0x000034ba storet  0x00000002 , 0x0000443e 
+ 00021780  0x000034bb fetch  0x00000006 , 0x000044f9 
+ 00021781  0x000034bc istore  0x00000006 , 0x00000005 
+ 00021782  0x000034bd fetch  0x00000006 , 0x000003d0 
+ 00021783  0x000034be istore  0x00000006 , 0x00000005 
+ 00021784  0x000034bf branch  0x000054b2 
+ 00021785  0x000034c3 set1  0x00000025 , 0x00000000 
+ 00021786  0x000034c4 bpatch  0x00000051 , 0x0000402a 
+ 00021787  0x000034c5 arg  0x00000004 , 0x00000002 
+ 00021788  0x000034c6 fetch  0x00000001 , 0x000044dc 
+ 00021789  0x000034c7 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00021790  0x000034c8 storet  0x00000001 , 0x0000443e 
+ 00021791  0x000034c9 fetcht  0x00000001 , 0x000043f9 
+ 00021792  0x000034ca add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00021793  0x000034cb store  0x00000001 , 0x0000443f 
+ 00021794  0x000034cc fetch  0x00000006 , 0x000044f9 
+ 00021795  0x000034cd store  0x00000006 , 0x00004440 
+ 00021796  0x000034ce arg  0x000043fa , 0x00000006 
+ 00021797  0x000034cf copy  0x00000002 , 0x00000039 
+ 00021798  0x000034d0 call  0x00007e45 
+ 00021799  0x000034d1 branch  0x000054bb 
+ 00021800  0x000034d5 set1  0x00000025 , 0x00000000 
+ 00021801  0x000034d6 bpatch  0x00000052 , 0x0000402a 
+ 00021802  0x000034d7 force  0xffffffff , 0x0000003f 
+ 00021803  0x000034d8 setsect  0x00000002 , 0x00000001 
+ 00021804  0x000034d9 store  0x00000005 , 0x000003f1 
+ 00021805  0x000034da call  0x00005447 
+ 00021806  0x000034db force  0x00000004 , 0x00000039 
+ 00021807  0x000034dc arg  0x000003e5 , 0x00000005 
+ 00021808  0x000034dd call  0x00006227 
+ 00021809  0x000034de fetch  0x00000002 , 0x000044f4 
+ 00021810  0x000034df store  0x00000002 , 0x000003ef 
+ 00021811  0x000034e1 random  0x0000003f 
+ 00021812  0x000034e2 and_into  0x0000000f , 0x0000003f 
+ 00021813  0x000034e3 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00021814  0x000034e4 branch  0x00005533 , 0x00000002 
+ 00021815  0x000034e5 store  0x00000001 , 0x000003d9 
+ 00021816  0x000034e6 store  0x00000001 , 0x00000682 
+ 00021817  0x000034e7 set1  0x00000025 , 0x00000000 
+ 00021818  0x000034e8 bpatch  0x00000053 , 0x0000402a 
+ 00021819  0x000034e9 fetcht  0x00000002 , 0x000043d0 
+ 00021820  0x000034ea storet  0x00000002 , 0x000003c2 
+ 00021821  0x000034eb copy  0x00000002 , 0x00000013 
+ 00021822  0x000034ec add  0x00000022 , 0x00000007 , 0x0000003f 
+ 00021823  0x000034ed idiv  0x00000013 
+ 00021824  0x000034ee call  0x00007efd 
+ 00021825  0x000034ef remainder  0x00000011 
+ 00021826  0x000034f0 isub  0x00000011 , 0x0000003f 
+ 00021827  0x000034f1 iadd  0x00000013 , 0x0000003f 
+ 00021828  0x000034f2 fetcht  0x00000002 , 0x000043ce 
+ 00021829  0x000034f3 iadd  0x00000002 , 0x0000003f 
+ 00021830  0x000034f4 store  0x00000004 , 0x000003c4 
+ 00021831  0x000034f5 isub  0x00000022 , 0x00000011 
+ 00021832  0x000034f6 increase  0xfffffffa , 0x00000011 
+ 00021833  0x000034f7 arg  0x00002205 , 0x00000012 
+ 00021834  0x000034f8 fetch  0x00000001 , 0x000044ed 
+ 00021835  0x000034f9 nsetflag  0x00000034 , 0x00000006 , 0x00000012 
+ 00021836  0x000034fa fetch  0x00000001 , 0x000044e6 
+ 00021837  0x000034fb nsetflag  0x00000034 , 0x00000007 , 0x00000012 
+ 00021838  0x000034fc copy  0x00000012 , 0x0000003f 
+ 00021839  0x000034fd store  0x00000002 , 0x0000443e 
+ 00021840  0x000034fe fetch  0x00000006 , 0x000044f9 
+ 00021841  0x000034ff istore  0x00000006 , 0x00000005 
+ 00021842  0x00003500 fetch  0x00000006 , 0x000003d0 
+ 00021843  0x00003501 istore  0x00000006 , 0x00000005 
+ 00021844  0x00003502 fetch  0x00000004 , 0x000003e5 
+ 00021845  0x00003503 istore  0x00000004 , 0x00000005 
+ 00021846  0x00003504 random  0x0000003f 
+ 00021847  0x00003505 istore  0x00000002 , 0x00000005 
+ 00021848  0x00003506 random  0x0000003f 
+ 00021849  0x00003507 istore  0x00000001 , 0x00000005 
+ 00021850  0x00003508 force  0x00000002 , 0x0000003f 
+ 00021851  0x00003509 istore  0x00000001 , 0x00000005 
+ 00021852  0x0000350a rshift2  0x00000011 , 0x0000003f 
+ 00021853  0x0000350b istore  0x00000002 , 0x00000005 
+ 00021854  0x0000350c rshift2  0x00000013 , 0x0000003f 
+ 00021855  0x0000350d istore  0x00000002 , 0x00000005 
+ 00021856  0x0000350e set1  0x00000025 , 0x00000000 
+ 00021857  0x0000350f bpatch  0x00000054 , 0x0000402a 
+ 00021858  0x00003510 fetch  0x00000002 , 0x000044f2 
+ 00021859  0x00003511 istore  0x00000002 , 0x00000005 
+ 00021860  0x00003512 fetch  0x00000002 , 0x000044f4 
+ 00021861  0x00003513 istore  0x00000002 , 0x00000005 
+ 00021862  0x00003514 fetch  0x00000005 , 0x000003f1 
+ 00021863  0x00003515 istore  0x00000005 , 0x00000005 
+ 00021864  0x00003516 fetch  0x00000001 , 0x000003d9 
+ 00021865  0x00003517 arg  0x000000a0 , 0x00000002 
+ 00021866  0x00003518 ior  0x00000002 , 0x0000003f 
+ 00021867  0x00003519 istore  0x00000001 , 0x00000005 
+ 00021868  0x0000351a call  0x000054bb 
+ 00021869  0x0000351b setarg  0x0000443e 
+ 00021870  0x0000351c add  0x0000003f , 0x00000012 , 0x00000006 
+ 00021871  0x0000351d ifetch  0x00000003 , 0x00000006 
+ 00021872  0x0000351e store  0x00000003 , 0x000003e9 
+ 00021873  0x0000351f rtn 
+ 00021874  0x00003522 set1  0x00000025 , 0x00000000 
+ 00021875  0x00003523 bpatch  0x00000055 , 0x0000402a 
+ 00021876  0x00003524 disable  0x00000029 
+ 00021877  0x00003525 branch  0x00005415 
+ 00021878  0x0000352a set1  0x00000025 , 0x00000000 
+ 00021879  0x0000352b bpatch  0x00000056 , 0x0000402a 
+ 00021880  0x0000352c fetch  0x00000001 , 0x000003c0 
+ 00021881  0x0000352d rtnbit0  0x00000005 
+ 00021882  0x0000352e fetch  0x00000002 , 0x000003da 
+ 00021883  0x0000352f fetcht  0x00000002 , 0x000003e0 
+ 00021884  0x00003530 isub  0x00000002 , 0x0000003f 
+ 00021885  0x00003531 nrtn  0x00000002 
+ 00021886  0x00003532 fetch  0x00000001 , 0x000003c0 
+ 00021887  0x00003533 set0  0x00000005 , 0x0000003f 
+ 00021888  0x00003534 set0  0x00000003 , 0x0000003f 
+ 00021889  0x00003535 store  0x00000001 , 0x000003c0 
+ 00021890  0x00003536 fetch  0x00000004 , 0x000003c4 
+ 00021891  0x00003537 fetcht  0x00000002 , 0x000003c2 
+ 00021892  0x00003538 isub  0x00000002 , 0x00000011 
+ 00021893  0x00003539 set1  0x00000025 , 0x00000000 
+ 00021894  0x0000353a bpatch  0x00000057 , 0x0000402a 
+ 00021895  0x0000353b fetch  0x00000001 , 0x00004434 
+ 00021896  0x0000353c store  0x00000001 , 0x000003ec 
+ 00021897  0x0000353d ifetcht  0x00000002 , 0x00000006 
+ 00021898  0x0000353e ifetch  0x00000002 , 0x00000006 
+ 00021899  0x0000353f lshift2  0x0000003f , 0x0000003f 
+ 00021900  0x00003540 store  0x00000002 , 0x000003c2 
+ 00021901  0x00003541 lshift2  0x00000002 , 0x00000002 
+ 00021902  0x00003542 iadd  0x00000002 , 0x0000003f 
+ 00021903  0x00003543 ifetcht  0x00000004 , 0x00000006 
+ 00021904  0x00003544 storet  0x00000004 , 0x000003ed 
+ 00021905  0x00003545 iadd  0x00000011 , 0x0000003f 
+ 00021906  0x00003546 store  0x00000004 , 0x000003c4 
+ 00021907  0x00003547 branch  0x00005a2b 
+ 00021908  0x0000354a set1  0x00000025 , 0x00000000 
+ 00021909  0x0000354b bpatch  0x00000058 , 0x0000402b 
+ 00021910  0x0000354c fetch  0x00000001 , 0x000003c0 
+ 00021911  0x0000354d rtnbit0  0x00000006 
+ 00021912  0x0000354e fetch  0x00000002 , 0x000003da 
+ 00021913  0x0000354f fetcht  0x00000002 , 0x000003e0 
+ 00021914  0x00003550 isub  0x00000002 , 0x0000003f 
+ 00021915  0x00003551 nrtn  0x00000002 
+ 00021916  0x00003552 fetch  0x00000001 , 0x000003c0 
+ 00021917  0x00003553 set0  0x00000006 , 0x0000003f 
+ 00021918  0x00003554 store  0x00000001 , 0x000003c0 
+ 00021919  0x00003555 fetch  0x00000005 , 0x0000442f 
+ 00021920  0x00003556 store  0x00000005 , 0x000003f1 
+ 00021921  0x00003557 branch  0x00005447 
+ 00021922  0x0000355b set1  0x00000025 , 0x00000000 
+ 00021923  0x0000355c bpatch  0x00000059 , 0x0000402b 
+ 00021924  0x0000355d call  0x00005a0b 
+ 00021925  0x0000355e call  0x000055b7 
+ 00021926  0x0000355f fetch  0x00000001 , 0x00000340 
+ 00021927  0x00003560 rshift  0x0000003f , 0x0000003f 
+ 00021928  0x00003561 ixor  0x00000002 , 0x0000003f 
+ 00021929  0x00003562 isolate1  0x00000002 , 0x0000003f 
+ 00021930  0x00003563 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00021931  0x00003564 fetch  0x00000001 , 0x00000341 
+ 00021932  0x00003565 branch  0x000055b2 , 0x00000034 
+ 00021933  0x00003566 fetch  0x00000001 , 0x000003c0 
+ 00021934  0x00003567 bbit0  0x00000004 , 0x000055b2 
+ 00021935  0x00003568 call  0x00007599 
+ 00021936  0x00003569 call  0x0000750e 
+ 00021937  0x0000356a nrtn  0x00000034 
+ 00021938  0x0000356c rtnmark1  0x0000000f 
+ 00021939  0x0000356d fetcht  0x00000001 , 0x000003d7 
+ 00021940  0x0000356e setflip  0x00000002 , 0x00000002 
+ 00021941  0x0000356f storet  0x00000001 , 0x000003d7 
+ 00021942  0x00003570 branch  0x000058ac 
+ 00021943  0x00003573 set1  0x00000025 , 0x00000000 
+ 00021944  0x00003574 bpatch  0x0000005a , 0x0000402b 
+ 00021945  0x00003575 fetcht  0x00000001 , 0x000003d7 
+ 00021946  0x00003576 isolate0  0x00000005 , 0x00000002 
+ 00021947  0x00003577 rtn  0x00000001 
+ 00021948  0x00003578 fetch  0x00000001 , 0x00000340 
+ 00021949  0x00003579 lshift  0x0000003f , 0x0000003f 
+ 00021950  0x0000357a ixor  0x00000002 , 0x0000003f 
+ 00021951  0x0000357b rtnbit0  0x00000003 
+ 00021952  0x0000357c set0  0x00000005 , 0x00000002 
+ 00021953  0x0000357d setflip  0x00000003 , 0x00000002 
+ 00021954  0x0000357e storet  0x00000001 , 0x000003d7 
+ 00021955  0x0000357f compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00021956  0x00003580 nrtn  0x00000001 
+ 00021957  0x00003581 fetch  0x00000001 , 0x00004440 
+ 00021958  0x00003582 rtnne  0x00000005 
+ 00021959  0x00003583 fetch  0x00000001 , 0x000003c0 
+ 00021960  0x00003584 set1  0x00000004 , 0x0000003f 
+ 00021961  0x00003585 store  0x00000001 , 0x000003c0 
+ 00021962  0x00003586 rtn 
+ 00021963  0x00003589 set1  0x00000025 , 0x00000000 
+ 00021964  0x0000358a bpatch  0x0000005b , 0x0000402b 
+ 00021965  0x0000358b call  0x0000542c 
+ 00021966  0x0000358c call  0x00005474 
+ 00021967  0x0000358d fetch  0x00000001 , 0x00000001 
+ 00021968  0x0000358e increase  0x00000001 , 0x0000003f 
+ 00021969  0x0000358f store  0x00000001 , 0x00000001 
+ 00021970  0x00003590 rtn 
+ 00021971  0x00003593 set1  0x00000025 , 0x00000000 
+ 00021972  0x00003594 bpatch  0x0000005c , 0x0000402b 
+ 00021973  0x00003595 fetch  0x00000001 , 0x000043d2 
+ 00021974  0x00003596 rtnne  0x00000001 
+ 00021975  0x00003597 arg  0x00000003 , 0x00000007 
+ 00021976  0x00003598 call  0x00007e53 
+ 00021977  0x00003599 nrtn  0x00000034 
+ 00021978  0x0000359a fetch  0x00000002 , 0x000043d3 
+ 00021979  0x0000359b fetcht  0x00000002 , 0x000043d5 
+ 00021980  0x0000359c isub  0x00000002 , 0x0000003f 
+ 00021981  0x0000359d arg  0x00000003 , 0x00000007 
+ 00021982  0x0000359e call  0x00007e4c 
+ 00021983  0x0000359f disable  0x00000029 
+ 00021984  0x000035a0 call  0x00005572 
+ 00021985  0x000035a1 call  0x000055cb 
+ 00021986  0x000035a2 nrtn  0x0000002d 
+ 00021987  0x000035a3 set1  0x00000025 , 0x00000000 
+ 00021988  0x000035a4 bpatch  0x0000005d , 0x0000402b 
+ 00021989  0x000035a5 fetch  0x00000006 , 0x00000342 
+ 00021990  0x000035a6 store  0x00000006 , 0x000003d0 
+ 00021991  0x000035a7 call  0x000042a7 
+ 00021992  0x000035a8 call  0x00005b39 
+ 00021993  0x000035aa fetch  0x00000001 , 0x00000002 
+ 00021994  0x000035ab increase  0x00000001 , 0x0000003f 
+ 00021995  0x000035ac store  0x00000001 , 0x00000002 
+ 00021996  0x000035ad call  0x000055f9 
+ 00021997  0x000035ae rtn  0x00000029 
+ 00021998  0x000035af call  0x000048d1 
+ 00021999  0x000035b0 call  0x00005507 
+ 00022000  0x000035b1 nrtn  0x0000002d 
+ 00022001  0x000035b2 set1  0x00000025 , 0x00000000 
+ 00022002  0x000035b3 bpatch  0x0000005e , 0x0000402b 
+ 00022003  0x000035b4 fetch  0x00000001 , 0x00000004 
+ 00022004  0x000035b5 increase  0x00000001 , 0x0000003f 
+ 00022005  0x000035b6 store  0x00000001 , 0x00000004 
+ 00022006  0x000035b7 fetch  0x00000009 , 0x00000348 
+ 00022007  0x000035b8 store  0x00000009 , 0x00000103 
+ 00022008  0x000035b9 branch  0x000048d1 
+ 00022009  0x000035bc set1  0x00000025 , 0x00000000 
+ 00022010  0x000035bd bpatch  0x0000005f , 0x0000402b 
+ 00022011  0x000035be fetch  0x00000001 , 0x0000041c 
+ 00022012  0x000035bf rtnne  0x0000001b , 0x0000003f 
+ 00022013  0x000035c0 fetch  0x00000006 , 0x000003d0 
+ 00022014  0x000035c1 fetcht  0x00000006 , 0x000044e7 
+ 00022015  0x000035c2 isub  0x00000002 , 0x0000003e 
+ 00022016  0x000035c3 nrtn  0x00000005 
+ 00022017  0x000035c4 call  0x000032d6 
+ 00022018  0x000035c5 nrtn  0x00000005 
+ 00022019  0x000035c6 call  0x00005528 
+ 00022020  0x000035c7 call  0x0000535f 
+ 00022021  0x000035c8 set1  0x00000025 , 0x00000000 
+ 00022022  0x000035c9 bpatch  0x00000060 , 0x0000402c 
+ 00022023  0x000035ca jam  0x00000000 , 0x00004272 
+ 00022024  0x000035cb jam  0x00000000 , 0x000003f8 
+ 00022025  0x000035cc fetch  0x00000001 , 0x00004132 
+ 00022026  0x000035cd bne  0x00000004 , 0x0000560c 
+ 00022027  0x000035ce jam  0x00000021 , 0x000003e3 
+ 00022028  0x000035d0 arg  0x00000000 , 0x00000002 
+ 00022029  0x000035d1 call  0x000048ea 
+ 00022030  0x000035d2 jam  0x00000000 , 0x000043d2 
+ 00022031  0x000035d3 jam  0x00000000 , 0x0000041c 
+ 00022032  0x000035d4 jam  0x0000002c , 0x00000b7d 
+ 00022033  0x000035d5 call  0x00005620 
+ 00022034  0x000035d6 branch  0x000032bd 
+ 00022035  0x000035d9 arg  0x00000001 , 0x00000011 
+ 00022036  0x000035da fetch  0x00000001 , 0x00000340 
+ 00022037  0x000035db rtnbit1  0x00000006 
+ 00022038  0x000035dc arg  0x00000000 , 0x00000011 
+ 00022039  0x000035dd rtn 
+ 00022040  0x000035e0 arg  0x000044ff , 0x00000006 
+ 00022041  0x000035e1 branch  0x00007fb2 
+ 00022042  0x000035e4 arg  0x000044ff , 0x00000011 
+ 00022043  0x000035e5 branch  0x00007fac 
+ 00022044  0x000035e8 arg  0x000044ff , 0x00000011 
+ 00022045  0x000035e9 branch  0x00007fae 
+ 00022046  0x000035ec arg  0x000044ff , 0x00000011 
+ 00022047  0x000035ed branch  0x00007fb0 
+ 00022048  0x000035f0 arg  0x000044ff , 0x00000011 
+ 00022049  0x000035f1 branch  0x00007f92 
+ 00022050  0x000035f4 set1  0x00000025 , 0x00000000 
+ 00022051  0x000035f5 bpatch  0x00000061 , 0x0000402c 
+ 00022052  0x000035f6 fetch  0x00000001 , 0x000003d7 
+ 00022053  0x000035f7 rtnbit1  0x00000005 
+ 00022054  0x000035f8 arg  0x000044ff , 0x00000011 
+ 00022055  0x000035f9 call  0x00007f9f 
+ 00022056  0x000035fa nbranch  0x00005630 , 0x00000034 
+ 00022057  0x000035fb fetch  0x00000001 , 0x00004132 
+ 00022058  0x000035fc bne  0x00000001 , 0x00005890 
+ 00022059  0x000035fd arg  0x00000000 , 0x00000001 
+ 00022060  0x000035fe call  0x000044a3 
+ 00022061  0x000035ff copy  0x00000001 , 0x0000003f 
+ 00022062  0x00003600 nrtn  0x00000034 
+ 00022063  0x00003601 branch  0x00005890 
+ 00022064  0x00003603 copy  0x0000003f , 0x00000002 
+ 00022065  0x00003604 set1  0x00000025 , 0x00000000 
+ 00022066  0x00003605 bpatch  0x00000062 , 0x0000402c 
+ 00022067  0x00003606 copy  0x00000002 , 0x0000003f 
+ 00022068  0x00003607 bbit0  0x00000005 , 0x0000564b 
+ 00022069  0x00003608 force  0x00000003 , 0x00000001 
+ 00022070  0x00003609 set0  0x00000005 , 0x0000003f 
+ 00022071  0x0000360a store  0x00000001 , 0x00004440 
+ 00022072  0x0000360b set1  0x00000025 , 0x00000000 
+ 00022073  0x0000360c bpatch  0x00000063 , 0x0000402c 
+ 00022074  0x0000360d fetch  0x00000001 , 0x00004440 
+ 00022075  0x0000360e beq  0x00000000 , 0x0000568f 
+ 00022076  0x0000360f beq  0x00000001 , 0x00005691 
+ 00022077  0x00003610 beq  0x00000002 , 0x00005693 
+ 00022078  0x00003611 beq  0x00000003 , 0x00005695 
+ 00022079  0x00003612 beq  0x00000004 , 0x000056a6 
+ 00022080  0x00003613 beq  0x00000005 , 0x000056b7 
+ 00022081  0x00003614 beq  0x00000006 , 0x000056b9 
+ 00022082  0x00003615 beq  0x00000007 , 0x000056bf 
+ 00022083  0x00003616 beq  0x00000008 , 0x000056c1 
+ 00022084  0x00003617 beq  0x00000009 , 0x000056c1 
+ 00022085  0x00003618 beq  0x0000000a , 0x000056c5 
+ 00022086  0x00003619 beq  0x0000000b , 0x000056c7 
+ 00022087  0x0000361a beq  0x0000000c , 0x000056c9 
+ 00022088  0x0000361b beq  0x0000000d , 0x000056cf 
+ 00022089  0x0000361c beq  0x0000000f , 0x000056d1 
+ 00022090  0x0000361d branch  0x00003bf1 
+ 00022091  0x00003620 jam  0x00000000 , 0x00004443 
+ 00022092  0x00003621 force  0x00000002 , 0x00000001 
+ 00022093  0x00003622 bbit0  0x00000006 , 0x00005662 
+ 00022094  0x00003623 beq  0x00000052 , 0x00005662 
+ 00022095  0x00003624 beq  0x000000d2 , 0x00005662 
+ 00022096  0x00003625 jam  0x00000006 , 0x00004442 
+ 00022097  0x00003626 set0  0x00000006 , 0x0000003f 
+ 00022098  0x00003627 store  0x00000001 , 0x00004444 
+ 00022099  0x00003629 set1  0x00000025 , 0x00000000 
+ 00022100  0x0000362a bpatch  0x00000064 , 0x0000402c 
+ 00022101  0x0000362b fetch  0x00000001 , 0x00004444 
+ 00022102  0x0000362d beq  0x00000001 , 0x000056e5 
+ 00022103  0x0000362e beq  0x00000002 , 0x000056ed 
+ 00022104  0x0000362f beq  0x00000003 , 0x000056f5 
+ 00022105  0x00003630 beq  0x00000004 , 0x000056fa 
+ 00022106  0x00003631 beq  0x00000005 , 0x000056ff 
+ 00022107  0x00003632 beq  0x00000006 , 0x00005701 
+ 00022108  0x00003633 beq  0x00000007 , 0x0000570b 
+ 00022109  0x00003634 beq  0x00000008 , 0x00005712 
+ 00022110  0x00003635 beq  0x00000009 , 0x00005717 
+ 00022111  0x00003636 beq  0x0000000a , 0x0000571e 
+ 00022112  0x00003637 beq  0x0000000b , 0x00005721 
+ 00022113  0x00003638 branch  0x00003bf1 
+ 00022114  0x0000363b jam  0x00000004 , 0x00004442 
+ 00022115  0x0000363c store  0x00000001 , 0x00004444 
+ 00022116  0x0000363d set1  0x00000025 , 0x00000000 
+ 00022117  0x0000363e bpatch  0x00000065 , 0x0000402c 
+ 00022118  0x00003640 fetch  0x00000001 , 0x00004444 
+ 00022119  0x00003641 beq  0x00000001 , 0x00005729 
+ 00022120  0x00003642 beq  0x00000002 , 0x0000572f 
+ 00022121  0x00003643 beq  0x00000003 , 0x0000572f 
+ 00022122  0x00003644 beq  0x00000004 , 0x00005732 
+ 00022123  0x00003645 beq  0x00000005 , 0x00005737 
+ 00022124  0x00003646 beq  0x00000006 , 0x00005748 
+ 00022125  0x00003647 beq  0x00000007 , 0x00005752 
+ 00022126  0x00003648 beq  0x00000008 , 0x00005793 
+ 00022127  0x00003649 beq  0x00000009 , 0x0000579b 
+ 00022128  0x0000364a beq  0x0000000a , 0x000057be 
+ 00022129  0x0000364b beq  0x0000000b , 0x000057c6 
+ 00022130  0x0000364c beq  0x0000000c , 0x000057d1 
+ 00022131  0x0000364d beq  0x0000000d , 0x000057d6 
+ 00022132  0x0000364e beq  0x0000000e , 0x000057e5 
+ 00022133  0x0000364f beq  0x0000000f , 0x000057ec 
+ 00022134  0x00003650 beq  0x00000010 , 0x00005812 
+ 00022135  0x00003651 beq  0x00000011 , 0x0000581a 
+ 00022136  0x00003652 beq  0x00000012 , 0x0000583e 
+ 00022137  0x00003653 beq  0x00000013 , 0x00005845 
+ 00022138  0x00003654 beq  0x00000016 , 0x0000585e 
+ 00022139  0x00003655 beq  0x00000017 , 0x00005860 
+ 00022140  0x00003656 beq  0x00000018 , 0x00005862 
+ 00022141  0x00003657 beq  0x00000019 , 0x00005864 
+ 00022142  0x00003658 beq  0x0000001b , 0x00005873 
+ 00022143  0x00003659 beq  0x0000001d , 0x00005882 
+ 00022144  0x0000365a beq  0x0000001e , 0x00005884 
+ 00022145  0x0000365b beq  0x00000052 , 0x00005886 
+ 00022146  0x0000365c beq  0x000000d2 , 0x00005888 
+ 00022147  0x0000365d beq  0x0000009e , 0x00005686 
+ 00022148  0x0000365e beq  0x0000009f , 0x00005688 
+ 00022149  0x0000365f branch  0x00003bf1 
+ 00022150  0x00003662 jam  0x00000010 , 0x00000b7d 
+ 00022151  0x00003663 call  0x00005620 
+ 00022152  0x00003666 setarg  0x00000011 
+ 00022153  0x00003667 store  0x00000002 , 0x0000443e 
+ 00022154  0x00003668 fetch  0x00000001 , 0x000003d7 
+ 00022155  0x00003669 set1  0x00000005 , 0x0000003f 
+ 00022156  0x0000366a store  0x00000001 , 0x000003d7 
+ 00022157  0x0000366b jam  0x00000012 , 0x00000b7d 
+ 00022158  0x0000366c branch  0x00005620 
+ 00022159  0x0000366f force  0x0000000c , 0x00000002 
+ 00022160  0x00003670 branch  0x00005892 
+ 00022161  0x00003673 force  0x00000008 , 0x00000002 
+ 00022162  0x00003674 branch  0x00005892 
+ 00022163  0x00003677 force  0x00000002 , 0x00000002 
+ 00022164  0x00003678 branch  0x00005892 
+ 00022165  0x0000367b force  0x00000000 , 0x0000003f 
+ 00022166  0x0000367c istore  0x00000008 , 0x00000005 
+ 00022167  0x0000367d istore  0x00000002 , 0x00000005 
+ 00022168  0x0000367e copy  0x00000005 , 0x00000002 
+ 00022169  0x0000367f arg  0x00000380 , 0x00000005 
+ 00022170  0x00003680 force  0x00000008 , 0x00000039 
+ 00022171  0x00003681 call  0x00006227 
+ 00022172  0x00003682 fetch  0x00000008 , 0x00000380 
+ 00022173  0x00003683 istore  0x00000008 , 0x00000002 
+ 00022174  0x00003684 copy  0x00000005 , 0x00000002 
+ 00022175  0x00003685 arg  0x00004473 , 0x00000005 
+ 00022176  0x00003686 force  0x00000004 , 0x00000039 
+ 00022177  0x00003687 call  0x00006227 
+ 00022178  0x00003688 fetch  0x00000004 , 0x00004473 
+ 00022179  0x00003689 istore  0x00000004 , 0x00000002 
+ 00022180  0x0000368a force  0x00000017 , 0x00000002 
+ 00022181  0x0000368b branch  0x00005892 
+ 00022182  0x0000368e copy  0x00000005 , 0x00000002 
+ 00022183  0x0000368f arg  0x00000388 , 0x00000005 
+ 00022184  0x00003690 force  0x00000008 , 0x00000039 
+ 00022185  0x00003691 call  0x00006227 
+ 00022186  0x00003692 fetch  0x00000008 , 0x00000388 
+ 00022187  0x00003693 istore  0x00000008 , 0x00000002 
+ 00022188  0x00003694 copy  0x00000005 , 0x00000002 
+ 00022189  0x00003695 arg  0x00004477 , 0x00000005 
+ 00022190  0x00003696 force  0x00000004 , 0x00000039 
+ 00022191  0x00003697 call  0x00006227 
+ 00022192  0x00003698 fetch  0x00000004 , 0x00004477 
+ 00022193  0x00003699 istore  0x00000004 , 0x00000002 
+ 00022194  0x0000369a call  0x000074b6 
+ 00022195  0x0000369b jam  0x00000025 , 0x00000b7d 
+ 00022196  0x0000369c call  0x00005620 
+ 00022197  0x0000369d force  0x0000000d , 0x00000002 
+ 00022198  0x0000369e branch  0x00005892 
+ 00022199  0x000036a1 force  0x00000001 , 0x00000002 
+ 00022200  0x000036a2 branch  0x00005892 
+ 00022201  0x000036a5 force  0x00000001 , 0x00000002 
+ 00022202  0x000036a6 branch  0x00005892 , 0x00000029 
+ 00022203  0x000036a7 jam  0x00000046 , 0x00000b7d 
+ 00022204  0x000036a8 call  0x00005620 
+ 00022205  0x000036a9 force  0x00000001 , 0x00000002 
+ 00022206  0x000036aa branch  0x00005892 
+ 00022207  0x000036ad force  0x00000002 , 0x00000002 
+ 00022208  0x000036ae branch  0x00005892 
+ 00022209  0x000036b1 setarg  0x00000001 
+ 00022210  0x000036b2 istore  0x00000008 , 0x00000005 
+ 00022211  0x000036b3 force  0x00000009 , 0x00000002 
+ 00022212  0x000036b4 branch  0x00005892 
+ 00022213  0x000036b7 force  0x00000006 , 0x00000002 
+ 00022214  0x000036b8 branch  0x00005892 
+ 00022215  0x000036bb force  0x00000006 , 0x00000002 
+ 00022216  0x000036bc branch  0x00005892 
+ 00022217  0x000036bf setarg  0x00000a06 
+ 00022218  0x000036c0 istore  0x00000003 , 0x00000005 
+ 00022219  0x000036c1 setarg  0x00001d87 
+ 00022220  0x000036c2 istore  0x00000002 , 0x00000005 
+ 00022221  0x000036c3 force  0x00000006 , 0x00000002 
+ 00022222  0x000036c4 branch  0x00005892 
+ 00022223  0x000036c7 force  0x00000002 , 0x00000002 
+ 00022224  0x000036c8 branch  0x00005892 
+ 00022225  0x000036cb increase  0xffffffff , 0x00000005 
+ 00022226  0x000036cc setarg  0x0000000c 
+ 00022227  0x000036cd istore  0x00000002 , 0x00000005 
+ 00022228  0x000036ce setarg  0x00000005 
+ 00022229  0x000036cf istore  0x00000002 , 0x00000005 
+ 00022230  0x000036d0 setarg  0x0000b412 
+ 00022231  0x000036d1 istore  0x00000002 , 0x00000005 
+ 00022232  0x000036d2 setarg  0x00000008 
+ 00022233  0x000036d3 istore  0x00000002 , 0x00000005 
+ 00022234  0x000036d4 setarg  0x00000008 
+ 00022235  0x000036d5 istore  0x00000002 , 0x00000005 
+ 00022236  0x000036d6 setarg  0x00000010 
+ 00022237  0x000036d7 istore  0x00000002 , 0x00000005 
+ 00022238  0x000036d8 setarg  0x00000000 
+ 00022239  0x000036d9 istore  0x00000002 , 0x00000005 
+ 00022240  0x000036da setarg  0x0000012c 
+ 00022241  0x000036db istore  0x00000002 , 0x00000005 
+ 00022242  0x000036dc call  0x0000588a 
+ 00022243  0x000036dd force  0x00000002 , 0x00000001 
+ 00022244  0x000036de branch  0x00005892 
+ 00022245  0x000036e1 setarg  0x01000401 
+ 00022246  0x000036e2 store  0x00000004 , 0x000044ae 
+ 00022247  0x000036e3 setarg  0x00070710 
+ 00022248  0x000036e4 istore  0x00000003 , 0x00000005 
+ 00022249  0x000036e5 fetch  0x00000006 , 0x000044af 
+ 00022250  0x000036e6 store  0x00000006 , 0x00004445 
+ 00022251  0x000036e7 force  0x0000000b , 0x00000002 
+ 00022252  0x000036e8 branch  0x00005892 
+ 00022253  0x000036eb setarg  0x01000302 
+ 00022254  0x000036ec store  0x00000004 , 0x000044b5 
+ 00022255  0x000036ed setarg  0x00010410 
+ 00022256  0x000036ee istore  0x00000003 , 0x00000005 
+ 00022257  0x000036ef fetch  0x00000006 , 0x000044b6 
+ 00022258  0x000036f0 store  0x00000006 , 0x00004445 
+ 00022259  0x000036f1 force  0x0000000b , 0x00000002 
+ 00022260  0x000036f2 branch  0x00005892 
+ 00022261  0x000036f5 call  0x000074b0 
+ 00022262  0x000036f6 arg  0x00004445 , 0x00000005 
+ 00022263  0x000036f7 call  0x000075a3 
+ 00022264  0x000036f8 force  0x00000015 , 0x00000002 
+ 00022265  0x000036f9 branch  0x00005892 
+ 00022266  0x000036fc fetch  0x00000008 , 0x000003b0 
+ 00022267  0x000036fd branch  0x000056fd , 0x00000029 
+ 00022268  0x000036fe fetch  0x00000008 , 0x0000449c 
+ 00022269  0x00003701 call  0x00005723 
+ 00022270  0x00003702 branch  0x00005892 
+ 00022271  0x00003705 force  0x00000006 , 0x00000002 
+ 00022272  0x00003706 branch  0x00005892 
+ 00022273  0x00003709 jam  0x00000029 , 0x00000b7d 
+ 00022274  0x0000370a call  0x00007c27 
+ 00022275  0x0000370b jam  0x00000047 , 0x00000b7d 
+ 00022276  0x0000370c call  0x00005620 
+ 00022277  0x0000370d arg  0x000003a0 , 0x00000005 
+ 00022278  0x0000370e call  0x00006226 
+ 00022279  0x0000370f fetch  0x00000008 , 0x000003a0 
+ 00022280  0x00003710 fetch  0x00000008 , 0x0000447b 
+ 00022281  0x00003711 call  0x00005723 
+ 00022282  0x00003712 branch  0x00005892 
+ 00022283  0x00003715 jam  0x00000048 , 0x00000b7d 
+ 00022284  0x00003716 call  0x00005620 
+ 00022285  0x00003717 arg  0x00004445 , 0x00000005 
+ 00022286  0x00003718 force  0x00000008 , 0x00000039 
+ 00022287  0x00003719 call  0x00006227 
+ 00022288  0x0000371a force  0x0000000f , 0x00000002 
+ 00022289  0x0000371b branch  0x00005892 
+ 00022290  0x0000371e jam  0x00000049 , 0x00000b7d 
+ 00022291  0x0000371f call  0x00005620 
+ 00022292  0x00003720 arg  0x00004445 , 0x00000005 
+ 00022293  0x00003721 call  0x00006226 
+ 00022294  0x00003722 branch  0x0000588a 
+ 00022295  0x00003725 jam  0x0000004a , 0x00000b7d 
+ 00022296  0x00003726 call  0x00005620 
+ 00022297  0x00003727 force  0x00000000 , 0x0000003f 
+ 00022298  0x00003728 store  0x00000001 , 0x00004445 
+ 00022299  0x00003729 fetch  0x00000006 , 0x000044f9 
+ 00022300  0x0000372a istore  0x00000006 , 0x00000005 
+ 00022301  0x0000372b branch  0x0000588a 
+ 00022302  0x0000372e arg  0x00004445 , 0x00000005 
+ 00022303  0x0000372f call  0x00006226 
+ 00022304  0x00003730 branch  0x0000588a 
+ 00022305  0x00003733 force  0x00000006 , 0x00000002 
+ 00022306  0x00003734 branch  0x00005892 
+ 00022307  0x00003737 store  0x00000008 , 0x00004445 
+ 00022308  0x00003738 ifetch  0x00000008 , 0x00000006 
+ 00022309  0x00003739 istore  0x00000008 , 0x00000005 
+ 00022310  0x0000373a force  0x00000015 , 0x00000002 
+ 00022311  0x0000373b rtn 
+ 00022312  0x0000373e jam  0x0000000a , 0x000003fc 
+ 00022313  0x00003740 jam  0x00000001 , 0x00004444 
+ 00022314  0x00003741 fetch  0x00000003 , 0x000003f9 
+ 00022315  0x00003742 store  0x00000003 , 0x00004445 
+ 00022316  0x00003743 fetch  0x00000001 , 0x000003fc 
+ 00022317  0x00003744 istore  0x00000001 , 0x00000005 
+ 00022318  0x00003745 branch  0x0000588a 
+ 00022319  0x00003748 setarg  0x00000017 
+ 00022320  0x00003749 istore  0x00000002 , 0x00000005 
+ 00022321  0x0000374a branch  0x0000588a 
+ 00022322  0x0000374d fetch  0x00000002 , 0x000044bc 
+ 00022323  0x0000374e store  0x00000002 , 0x00004445 
+ 00022324  0x0000374f fetch  0x00000002 , 0x000044be 
+ 00022325  0x00003750 istore  0x00000002 , 0x00000005 
+ 00022326  0x00003751 branch  0x0000588a 
+ 00022327  0x00003756 force  0x00000001 , 0x0000003f 
+ 00022328  0x00003757 store  0x00000001 , 0x00004445 
+ 00022329  0x00003758 call  0x00005a74 
+ 00022330  0x0000375a call  0x00005a7d 
+ 00022331  0x0000375b branch  0x00005746 , 0x00000034 
+ 00022332  0x0000375c nbranch  0x00005744 , 0x00000002 
+ 00022333  0x0000375d disable  0x00000028 
+ 00022334  0x0000375e istore  0x00000002 , 0x00000005 
+ 00022335  0x0000375f ifetch  0x00000002 , 0x00000006 
+ 00022336  0x00003760 istore  0x00000002 , 0x00000005 
+ 00022337  0x00003762 ifetch  0x00000001 , 0x00000006 
+ 00022338  0x00003763 iadd  0x00000006 , 0x00000006 
+ 00022339  0x00003764 branch  0x0000573a 
+ 00022340  0x00003766 increase  0x00000002 , 0x00000006 
+ 00022341  0x00003767 branch  0x00005741 
+ 00022342  0x00003769 branch  0x00005728 , 0x00000028 
+ 00022343  0x0000376a branch  0x0000588a 
+ 00022344  0x0000376e fetch  0x00000002 , 0x000044bc 
+ 00022345  0x0000376f branch  0x00005688 , 0x00000034 
+ 00022346  0x00003770 store  0x00000002 , 0x00004445 
+ 00022347  0x00003771 fetch  0x00000002 , 0x000044be 
+ 00022348  0x00003773 istore  0x00000002 , 0x00000005 
+ 00022349  0x00003774 fetch  0x00000002 , 0x000044c4 
+ 00022350  0x00003776 istore  0x00000002 , 0x00000005 
+ 00022351  0x00003777 fetch  0x00000002 , 0x000044c0 
+ 00022352  0x00003779 istore  0x00000002 , 0x00000005 
+ 00022353  0x0000377a branch  0x0000588a 
+ 00022354  0x0000377e call  0x0000577b 
+ 00022355  0x0000377f rtn  0x00000028 
+ 00022356  0x00003780 fetcht  0x00000002 , 0x000044c4 
+ 00022357  0x00003781 setarg  0x00002800 
+ 00022358  0x00003782 isub  0x00000002 , 0x0000003e 
+ 00022359  0x00003783 branch  0x00005762 , 0x00000005 
+ 00022360  0x00003784 setarg  0x00002801 
+ 00022361  0x00003785 isub  0x00000002 , 0x0000003e 
+ 00022362  0x00003786 branch  0x00005728 , 0x00000005 
+ 00022363  0x00003787 setarg  0x00002802 
+ 00022364  0x00003788 isub  0x00000002 , 0x0000003e 
+ 00022365  0x00003789 branch  0x00005728 , 0x00000005 
+ 00022366  0x0000378a setarg  0x00002803 
+ 00022367  0x0000378b isub  0x00000002 , 0x0000003e 
+ 00022368  0x0000378c branch  0x00005728 , 0x00000005 
+ 00022369  0x0000378d branch  0x00005728 
+ 00022370  0x00003790 fetcht  0x00000002 , 0x000044c0 
+ 00022371  0x00003791 increase  0x00000002 , 0x00000006 
+ 00022372  0x00003792 ifetch  0x00000001 , 0x00000006 
+ 00022373  0x00003793 icopy  0x00000013 
+ 00022374  0x00003794 increase  0x00000001 , 0x00000013 
+ 00022375  0x00003797 increase  0xffffffff , 0x00000013 
+ 00022376  0x00003798 branch  0x00005728 , 0x00000005 
+ 00022377  0x00003799 ifetch  0x00000002 , 0x00000006 
+ 00022378  0x0000379a isub  0x00000002 , 0x0000003e 
+ 00022379  0x0000379b branch  0x0000576e , 0x00000005 
+ 00022380  0x0000379c increase  0x00000004 , 0x00000006 
+ 00022381  0x0000379d branch  0x00005767 
+ 00022382  0x000037a0 ifetch  0x00000002 , 0x00000006 
+ 00022383  0x000037a1 icopy  0x00000011 
+ 00022384  0x000037a2 ifetch  0x00000002 , 0x00000006 
+ 00022385  0x000037a3 icopy  0x00000012 
+ 00022386  0x000037a4 call  0x00005785 
+ 00022387  0x000037a5 rtn  0x00000028 
+ 00022388  0x000037a6 jam  0x00000007 , 0x00004444 
+ 00022389  0x000037a7 deposit  0x00000011 
+ 00022390  0x000037a8 store  0x00000002 , 0x00004445 
+ 00022391  0x000037a9 deposit  0x00000012 
+ 00022392  0x000037aa istore  0x00000002 , 0x00000005 
+ 00022393  0x000037ab force  0x00000009 , 0x00000002 
+ 00022394  0x000037ac branch  0x00005892 
+ 00022395  0x000037b2 disable  0x00000028 
+ 00022396  0x000037b3 fetcht  0x00000002 , 0x000044bc 
+ 00022397  0x000037b4 fetch  0x00000002 , 0x000044be 
+ 00022398  0x000037b5 isub  0x00000002 , 0x0000003e 
+ 00022399  0x000037b6 nbranch  0x00005782 , 0x00000002 
+ 00022400  0x000037b7 deposit  0x00000002 
+ 00022401  0x000037b8 rtnne  0x00000000 
+ 00022402  0x000037bb enable  0x00000028 
+ 00022403  0x000037bd jam  0x00000001 , 0x000003fc 
+ 00022404  0x000037be branch  0x00005729 
+ 00022405  0x000037c1 disable  0x00000028 
+ 00022406  0x000037c2 fetcht  0x00000002 , 0x000044bc 
+ 00022407  0x000037c3 deposit  0x00000011 
+ 00022408  0x000037c4 isub  0x00000002 , 0x0000003e 
+ 00022409  0x000037c5 nbranch  0x00005791 , 0x00000002 
+ 00022410  0x000037c6 fetch  0x00000002 , 0x000044be 
+ 00022411  0x000037c7 isub  0x00000012 , 0x0000003e 
+ 00022412  0x000037c8 nbranch  0x00005791 , 0x00000002 
+ 00022413  0x000037c9 deposit  0x00000012 
+ 00022414  0x000037ca isub  0x00000011 , 0x0000003e 
+ 00022415  0x000037cb nbranch  0x00005791 , 0x00000002 
+ 00022416  0x000037cc rtn 
+ 00022417  0x000037cf enable  0x00000028 
+ 00022418  0x000037d0 branch  0x00005728 
+ 00022419  0x000037d4 fetch  0x00000002 , 0x000044bc 
+ 00022420  0x000037d6 istore  0x00000002 , 0x00000005 
+ 00022421  0x000037d7 fetch  0x00000002 , 0x000044be 
+ 00022422  0x000037d9 istore  0x00000002 , 0x00000005 
+ 00022423  0x000037da fetch  0x00000002 , 0x000044c0 
+ 00022424  0x000037db istore  0x00000002 , 0x00000005 
+ 00022425  0x000037dc force  0x0000000b , 0x00000002 
+ 00022426  0x000037dd branch  0x00005892 
+ 00022427  0x000037e1 fetcht  0x00000002 , 0x000044c0 
+ 00022428  0x000037e2 setarg  0x00002803 
+ 00022429  0x000037e3 isub  0x00000002 , 0x0000003e 
+ 00022430  0x000037e4 setarg  0x00000007 
+ 00022431  0x000037e5 branch  0x000057a5 , 0x00000005 
+ 00022432  0x000037e6 setarg  0x00002800 
+ 00022433  0x000037e7 isub  0x00000002 , 0x0000003e 
+ 00022434  0x000037e8 setarg  0x00000006 
+ 00022435  0x000037e9 branch  0x000057a5 , 0x00000005 
+ 00022436  0x000037ea branch  0x00005728 
+ 00022437  0x000037ec store  0x00000001 , 0x00004445 
+ 00022438  0x000037ed call  0x00005a74 
+ 00022439  0x000037ee force  0x00000003 , 0x00000030 
+ 00022440  0x000037f0 call  0x00005a7d 
+ 00022441  0x000037f1 branch  0x000057bc , 0x00000034 
+ 00022442  0x000037f2 nbranch  0x000057b8 , 0x00000002 
+ 00022443  0x000037f3 iforce  0x00000011 
+ 00022444  0x000037f4 ifetch  0x00000002 , 0x00000006 
+ 00022445  0x000037f5 isub  0x00000002 , 0x0000003e 
+ 00022446  0x000037f6 nbranch  0x000057b9 , 0x00000005 
+ 00022447  0x000037f7 disable  0x00000028 
+ 00022448  0x000037f8 deposit  0x00000011 
+ 00022449  0x000037f9 istore  0x00000002 , 0x00000005 
+ 00022450  0x000037fa ifetch  0x00000001 , 0x00000006 
+ 00022451  0x000037fb add  0x0000003f , 0x00000004 , 0x00000039 
+ 00022452  0x000037fc call  0x00007e45 
+ 00022453  0x000037fd increase  0xffffffff , 0x00000030 
+ 00022454  0x000037fe branch  0x000057bc , 0x00000005 
+ 00022455  0x000037ff branch  0x000057b9 
+ 00022456  0x00003801 increase  0x00000002 , 0x00000006 
+ 00022457  0x00003803 ifetch  0x00000001 , 0x00000006 
+ 00022458  0x00003804 iadd  0x00000006 , 0x00000006 
+ 00022459  0x00003805 branch  0x000057a8 
+ 00022460  0x00003807 branch  0x00005728 , 0x00000028 
+ 00022461  0x00003808 branch  0x0000588a 
+ 00022462  0x0000380c fetch  0x00000001 , 0x0000443d 
+ 00022463  0x0000380e increase  0xffffffff , 0x0000003f 
+ 00022464  0x0000380f store  0x00000001 , 0x0000443d 
+ 00022465  0x00003810 lshift  0x0000003f , 0x0000003f 
+ 00022466  0x00003812 iadd  0x00000006 , 0x00000006 
+ 00022467  0x00003813 ifetcht  0x00000002 , 0x00000006 
+ 00022468  0x00003814 storet  0x00000002 , 0x00004445 
+ 00022469  0x00003815 branch  0x0000588a 
+ 00022470  0x00003818 fetcht  0x00000002 , 0x000003fa 
+ 00022471  0x00003819 call  0x00005a88 
+ 00022472  0x0000381a branch  0x00005728 , 0x00000034 
+ 00022473  0x0000381b ifetch  0x00000001 , 0x00000006 
+ 00022474  0x0000381c branch  0x0000588a , 0x00000034 
+ 00022475  0x0000381d sub  0x0000003f , 0x00000016 , 0x0000003e 
+ 00022476  0x0000381e branch  0x000057ce , 0x00000002 
+ 00022477  0x0000381f force  0x00000016 , 0x0000003f 
+ 00022478  0x00003821 icopy  0x00000039 
+ 00022479  0x00003822 call  0x00007e45 
+ 00022480  0x00003823 branch  0x0000588a 
+ 00022481  0x00003827 setarg  0x00000003 
+ 00022482  0x00003828 store  0x00000002 , 0x00004445 
+ 00022483  0x00003829 setarg  0x00000008 
+ 00022484  0x0000382a istore  0x00000002 , 0x00000005 
+ 00022485  0x0000382b branch  0x0000588a 
+ 00022486  0x0000382e fetch  0x00000002 , 0x000044c0 
+ 00022487  0x0000382f iforce  0x00000011 
+ 00022488  0x00003830 fetcht  0x00000002 , 0x000003fa 
+ 00022489  0x00003831 call  0x00005a88 
+ 00022490  0x00003832 branch  0x00005728 , 0x00000034 
+ 00022491  0x00003833 ifetch  0x00000001 , 0x00000006 
+ 00022492  0x00003834 isub  0x00000011 , 0x00000039 
+ 00022493  0x00003835 nbranch  0x00005728 , 0x00000002 
+ 00022494  0x00003836 sub  0x00000039 , 0x00000016 , 0x0000003e 
+ 00022495  0x00003837 branch  0x000057e1 , 0x00000002 
+ 00022496  0x00003838 force  0x00000016 , 0x00000039 
+ 00022497  0x0000383a deposit  0x00000011 
+ 00022498  0x0000383b iadd  0x00000006 , 0x00000006 
+ 00022499  0x0000383c call  0x00007e45 
+ 00022500  0x0000383d branch  0x0000588a 
+ 00022501  0x00003840 setarg  0x00000003 
+ 00022502  0x00003841 istore  0x00000002 , 0x00000005 
+ 00022503  0x00003842 setarg  0x00000007 
+ 00022504  0x00003843 istore  0x00000002 , 0x00000005 
+ 00022505  0x00003844 setarg  0x00000009 
+ 00022506  0x00003845 istore  0x00000002 , 0x00000005 
+ 00022507  0x00003846 branch  0x0000588a 
+ 00022508  0x00003849 fetch  0x00000001 , 0x0000443d 
+ 00022509  0x0000384a icopy  0x00000013 
+ 00022510  0x0000384b arg  0x00000347 , 0x00000011 
+ 00022511  0x0000384c arg  0x00004445 , 0x00000012 
+ 00022512  0x0000384d arg  0x00000000 , 0x0000000b 
+ 00022513  0x0000384e disable  0x00000031 
+ 00022514  0x00003851 copy  0x00000011 , 0x00000006 
+ 00022515  0x00003852 ifetcht  0x00000002 , 0x00000006 
+ 00022516  0x00003853 copy  0x00000006 , 0x00000011 
+ 00022517  0x00003854 call  0x00005a88 
+ 00022518  0x00003855 branch  0x00005805 , 0x00000034 
+ 00022519  0x00003856 ifetch  0x00000001 , 0x00000006 
+ 00022520  0x00003857 icopy  0x00000039 
+ 00022521  0x00003858 iadd  0x0000000b , 0x0000000b 
+ 00022522  0x0000385c sub  0x0000000b , 0x00000018 , 0x0000003e 
+ 00022523  0x0000385d nbranch  0x0000580a , 0x00000002 
+ 00022524  0x0000385e copy  0x00000012 , 0x00000005 
+ 00022525  0x00003861 ifetch  0x00000001 , 0x00000006 
+ 00022526  0x00003862 istore  0x00000001 , 0x00000005 
+ 00022527  0x00003863 loop  0x000057fd 
+ 00022528  0x00003864 copy  0x00000005 , 0x00000012 
+ 00022529  0x00003865 enable  0x00000031 
+ 00022530  0x00003866 increase  0xffffffff , 0x00000013 
+ 00022531  0x00003867 branch  0x00005805 , 0x00000005 
+ 00022532  0x00003868 branch  0x000057f2 
+ 00022533  0x0000386b nbranch  0x00005810 , 0x00000031 
+ 00022534  0x0000386c disable  0x00000031 
+ 00022535  0x0000386d copy  0x0000000b , 0x00000002 
+ 00022536  0x0000386e increase  0x00000005 , 0x00000002 
+ 00022537  0x0000386f branch  0x00005892 
+ 00022538  0x00003872 nbranch  0x00005810 , 0x00000031 
+ 00022539  0x00003873 disable  0x00000031 
+ 00022540  0x00003874 deposit  0x0000000b 
+ 00022541  0x00003875 isub  0x00000039 , 0x00000002 
+ 00022542  0x00003876 increase  0x00000005 , 0x00000002 
+ 00022543  0x00003877 branch  0x00005892 
+ 00022544  0x0000387a jam  0x00000010 , 0x000003fc 
+ 00022545  0x0000387b branch  0x00005729 
+ 00022546  0x0000387f fetch  0x00000002 , 0x000003fa 
+ 00022547  0x00003880 branch  0x00005688 , 0x00000034 
+ 00022548  0x00003881 istore  0x00000002 , 0x00000005 
+ 00022549  0x00003882 setarg  0x0000ffff 
+ 00022550  0x00003883 istore  0x00000002 , 0x00000005 
+ 00022551  0x00003884 setarg  0x00002800 
+ 00022552  0x00003885 istore  0x00000002 , 0x00000005 
+ 00022553  0x00003886 branch  0x0000588a 
+ 00022554  0x0000388a setarg  0x00000006 
+ 00022555  0x0000388b store  0x00000001 , 0x00004445 
+ 00022556  0x0000388c fetch  0x00000002 , 0x000044c0 
+ 00022557  0x0000388d iforce  0x00000011 
+ 00022558  0x0000388e call  0x00005a74 
+ 00022559  0x0000388f force  0x00000003 , 0x00000039 
+ 00022560  0x00003891 call  0x00005a7d 
+ 00022561  0x00003892 branch  0x00005835 , 0x00000034 
+ 00022562  0x00003893 nbranch  0x0000583a , 0x00000002 
+ 00022563  0x00003894 iforce  0x00000030 
+ 00022564  0x00003895 ifetch  0x00000002 , 0x00000006 
+ 00022565  0x00003896 isub  0x00000011 , 0x0000003e 
+ 00022566  0x00003897 nbranch  0x0000583b , 0x00000005 
+ 00022567  0x00003898 deposit  0x00000030 
+ 00022568  0x00003899 branch  0x0000582f , 0x00000028 
+ 00022569  0x0000389a increase  0xffffffff , 0x0000003f 
+ 00022570  0x0000389b istore  0x00000002 , 0x00000005 
+ 00022571  0x0000389c istoret  0x00000002 , 0x00000005 
+ 00022572  0x0000389d increase  0x00000001 , 0x0000003f 
+ 00022573  0x0000389e increase  0xffffffff , 0x00000039 
+ 00022574  0x0000389f branch  0x0000588a , 0x00000005 
+ 00022575  0x000038a1 disable  0x00000028 
+ 00022576  0x000038a2 istore  0x00000002 , 0x00000005 
+ 00022577  0x000038a3 increase  0x00000001 , 0x00000006 
+ 00022578  0x000038a4 ifetcht  0x00000002 , 0x00000006 
+ 00022579  0x000038a5 increase  0xfffffffd , 0x00000006 
+ 00022580  0x000038a6 branch  0x0000583b 
+ 00022581  0x000038a8 branch  0x00005728 , 0x00000028 
+ 00022582  0x000038a9 force  0xffffffff , 0x0000003f 
+ 00022583  0x000038aa istore  0x00000002 , 0x00000005 
+ 00022584  0x000038ab istoret  0x00000002 , 0x00000005 
+ 00022585  0x000038ac branch  0x0000588a 
+ 00022586  0x000038ae increase  0x00000002 , 0x00000006 
+ 00022587  0x000038b0 ifetch  0x00000001 , 0x00000006 
+ 00022588  0x000038b1 iadd  0x00000006 , 0x00000006 
+ 00022589  0x000038b2 branch  0x00005820 
+ 00022590  0x000038b7 fetch  0x00000002 , 0x000044c2 
+ 00022591  0x000038b8 store  0x00000002 , 0x00004445 
+ 00022592  0x000038b9 fetch  0x00000001 , 0x000044c6 
+ 00022593  0x000038ba copy  0x0000003f , 0x00000039 
+ 00022594  0x000038bb arg  0x000044c7 , 0x00000006 
+ 00022595  0x000038bc call  0x00007e45 
+ 00022596  0x000038bd branch  0x0000588a 
+ 00022597  0x000038c0 fetcht  0x00000002 , 0x000003fa 
+ 00022598  0x000038c1 call  0x00005a88 
+ 00022599  0x000038c2 branch  0x0000585c , 0x00000034 
+ 00022600  0x000038c3 increase  0xfffffffe , 0x00000006 
+ 00022601  0x000038c4 ifetcht  0x00000002 , 0x00000006 
+ 00022602  0x000038c5 setarg  0x00002902 
+ 00022603  0x000038c6 isub  0x00000002 , 0x0000003e 
+ 00022604  0x000038c7 nbranch  0x0000585c , 0x00000005 
+ 00022605  0x000038c8 increase  0x00000001 , 0x00000006 
+ 00022606  0x000038c9 ifetcht  0x00000002 , 0x00000006 
+ 00022607  0x000038ca setarg  0x00000001 
+ 00022608  0x000038cb isub  0x00000002 , 0x0000003e 
+ 00022609  0x000038cc branch  0x00005856 , 0x00000005 
+ 00022610  0x000038cd setarg  0x00000000 
+ 00022611  0x000038ce isub  0x00000002 , 0x0000003e 
+ 00022612  0x000038cf nbranch  0x0000585c , 0x00000005 
+ 00022613  0x000038d0 branch  0x0000585c 
+ 00022614  0x000038d3 increase  0xfffffff9 , 0x00000006 
+ 00022615  0x000038d4 ifetch  0x00000002 , 0x00000006 
+ 00022616  0x000038d5 increase  0xffffffff , 0x0000003f 
+ 00022617  0x000038d6 store  0x00000002 , 0x000044c2 
+ 00022618  0x000038d7 jam  0x0000001b , 0x00000b7d 
+ 00022619  0x000038d8 call  0x00005620 
+ 00022620  0x000038dc force  0x00000005 , 0x00000002 
+ 00022621  0x000038dd branch  0x00005892 
+ 00022622  0x000038e0 force  0x00000006 , 0x00000002 
+ 00022623  0x000038e1 branch  0x00005892 
+ 00022624  0x000038e4 force  0x00000006 , 0x00000002 
+ 00022625  0x000038e5 branch  0x00005892 
+ 00022626  0x000038e8 force  0x00000006 , 0x00000002 
+ 00022627  0x000038e9 branch  0x00005892 
+ 00022628  0x000038ec force  0x00000006 , 0x00000002 
+ 00022629  0x000038ed branch  0x00005892 
+ 00022630  0x000038f0 set1  0x00000025 , 0x00000000 
+ 00022631  0x000038f1 bpatch  0x00000066 , 0x0000402c 
+ 00022632  0x000038f2 increase  0x00000001 , 0x00000002 
+ 00022633  0x000038f3 call  0x00005a88 
+ 00022634  0x000038f4 increase  0xfffffffe , 0x00000006 
+ 00022635  0x000038f5 ifetch  0x00000002 , 0x00000006 
+ 00022636  0x000038f6 arg  0x00002902 , 0x00000002 
+ 00022637  0x000038f7 isub  0x00000002 , 0x0000003e 
+ 00022638  0x000038f8 nrtn  0x00000005 
+ 00022639  0x000038f9 increase  0x00000001 , 0x00000006 
+ 00022640  0x000038fa copy  0x00000006 , 0x00000011 
+ 00022641  0x000038fb ifetch  0x00000001 , 0x00000006 
+ 00022642  0x000038fc rtn 
+ 00022643  0x000038ff jam  0x00000000 , 0x0000041b 
+ 00022644  0x00003900 fetch  0x00000002 , 0x00004298 
+ 00022645  0x00003901 call  0x00007f66 
+ 00022646  0x00003902 arg  0x00004444 , 0x00000005 
+ 00022647  0x00003903 increase  0x00000001 , 0x00000005 
+ 00022648  0x00003904 fetcht  0x00000002 , 0x000044c2 
+ 00022649  0x00003905 istoret  0x00000002 , 0x00000005 
+ 00022650  0x00003906 call  0x00005a88 
+ 00022651  0x00003907 ifetch  0x00000001 , 0x00000006 
+ 00022652  0x00003908 icopy  0x00000039 
+ 00022653  0x00003909 call  0x00007e45 
+ 00022654  0x0000390a fetcht  0x00000001 , 0x0000041b 
+ 00022655  0x0000390b increase  0x00000007 , 0x00000002 
+ 00022656  0x0000390c call  0x00005892 
+ 00022657  0x0000390d branch  0x00005ace 
+ 00022658  0x00003910 force  0x00000006 , 0x00000002 
+ 00022659  0x00003911 branch  0x00005892 
+ 00022660  0x00003914 force  0x00000006 , 0x00000002 
+ 00022661  0x00003915 branch  0x00005892 
+ 00022662  0x00003918 force  0x00000006 , 0x00000002 
+ 00022663  0x00003919 branch  0x00005892 
+ 00022664  0x0000391c force  0x00000006 , 0x00000002 
+ 00022665  0x0000391d branch  0x00005892 
+ 00022666  0x00003921 set1  0x00000025 , 0x00000000 
+ 00022667  0x00003922 bpatch  0x00000067 , 0x0000402c 
+ 00022668  0x00003923 setarg  0x00004440 
+ 00022669  0x00003924 isub  0x00000005 , 0x0000003f 
+ 00022670  0x00003925 sub  0x0000003f , 0x00000000 , 0x00000002 
+ 00022671  0x00003926 branch  0x00005892 
+ 00022672  0x0000392a force  0x00000000 , 0x00000002 
+ 00022673  0x0000392b force  0x00000001 , 0x00000001 
+ 00022674  0x0000392e set1  0x00000025 , 0x00000000 
+ 00022675  0x0000392f bpatch  0x00000068 , 0x0000402d 
+ 00022676  0x00003930 storet  0x00000001 , 0x0000443f 
+ 00022677  0x00003931 compare  0x00000002 , 0x00000001 , 0x00000003 
+ 00022678  0x00003932 nbranch  0x00005899 , 0x00000001 
+ 00022679  0x00003933 add  0x00000002 , 0xfffffffc , 0x0000003f 
+ 00022680  0x00003934 store  0x00000002 , 0x00004440 
+ 00022681  0x00003937 fetcht  0x00000001 , 0x000003d7 
+ 00022682  0x00003938 call  0x0000561a 
+ 00022683  0x00003939 nsetflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00022684  0x0000393a set1  0x00000005 , 0x00000002 
+ 00022685  0x0000393b and  0x00000002 , 0x000000fc , 0x0000003f 
+ 00022686  0x0000393c ior  0x00000001 , 0x0000003f 
+ 00022687  0x0000393d store  0x00000001 , 0x000003d7 
+ 00022688  0x0000393e and_into  0x0000001f , 0x0000003f 
+ 00022689  0x0000393f store  0x00000001 , 0x0000443e 
+ 00022690  0x00003940 set1  0x00000025 , 0x00000000 
+ 00022691  0x00003941 bpatch  0x00000069 , 0x0000402d 
+ 00022692  0x00003942 fetch  0x00000001 , 0x0000443e 
+ 00022693  0x00003943 compare  0x00000001 , 0x00000001 , 0x00000003 
+ 00022694  0x00003944 rtn  0x00000001 
+ 00022695  0x00003945 fetch  0x00000007 , 0x0000443f 
+ 00022696  0x00003946 fetch  0x00000001 , 0x000003c0 
+ 00022697  0x00003947 rtnbit0  0x00000004 
+ 00022698  0x00003948 call  0x00007599 
+ 00022699  0x00003949 branch  0x000074f7 
+ 00022700  0x0000394c set1  0x00000025 , 0x00000000 
+ 00022701  0x0000394d bpatch  0x0000006a , 0x0000402d 
+ 00022702  0x0000394e call  0x0000561c 
+ 00022703  0x0000394f nbranch  0x00003bf1 , 0x00000034 
+ 00022704  0x00003950 nrtn  0x00000034 
+ 00022705  0x00003951 fetch  0x00000001 , 0x00000341 
+ 00022706  0x00003952 rtn  0x00000034 
+ 00022707  0x00003953 fetch  0x00000001 , 0x00000340 
+ 00022708  0x00003954 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00022709  0x00003955 branch  0x000058cf , 0x00000001 
+ 00022710  0x00003956 fetch  0x00000007 , 0x00000341 
+ 00022711  0x00003957 fetch  0x00000001 , 0x00000340 
+ 00022712  0x00003958 compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00022713  0x00003959 branch  0x000058cf , 0x00000001 
+ 00022714  0x0000395a fetch  0x00000001 , 0x00000342 
+ 00022715  0x0000395b store  0x00000001 , 0x00000418 
+ 00022716  0x0000395c copy  0x0000003f , 0x00000013 
+ 00022717  0x0000395d set1  0x00000025 , 0x00000000 
+ 00022718  0x0000395e bpatch  0x0000006b , 0x0000402d 
+ 00022719  0x0000395f copy  0x00000013 , 0x0000003f 
+ 00022720  0x00003960 beq  0x00000000 , 0x00005924 
+ 00022721  0x00003961 beq  0x00000001 , 0x0000592c 
+ 00022722  0x00003962 beq  0x00000002 , 0x00005934 
+ 00022723  0x00003963 beq  0x00000003 , 0x00005938 
+ 00022724  0x00003964 beq  0x00000004 , 0x0000593f 
+ 00022725  0x00003965 beq  0x00000005 , 0x00005944 
+ 00022726  0x00003966 beq  0x00000006 , 0x00005949 
+ 00022727  0x00003967 beq  0x00000007 , 0x0000594c 
+ 00022728  0x00003968 beq  0x00000008 , 0x0000594d 
+ 00022729  0x00003969 beq  0x00000009 , 0x0000594f 
+ 00022730  0x0000396a beq  0x0000000a , 0x00005950 
+ 00022731  0x0000396b beq  0x0000000b , 0x00005951 
+ 00022732  0x0000396c beq  0x0000000c , 0x00005952 
+ 00022733  0x0000396d beq  0x0000000d , 0x00005955 
+ 00022734  0x0000396e branch  0x00003bf1 
+ 00022735  0x00003971 fetch  0x00000001 , 0x00000341 
+ 00022736  0x00003972 and  0x0000003f , 0x0000001f , 0x0000003f 
+ 00022737  0x00003973 rtn  0x00000034 
+ 00022738  0x00003974 fetch  0x00000001 , 0x00004132 
+ 00022739  0x00003975 beq  0x00000001 , 0x000058d8 
+ 00022740  0x00003976 fetch  0x00000002 , 0x00000344 
+ 00022741  0x00003977 beq  0x00000004 , 0x00005903 
+ 00022742  0x00003978 beq  0x00000006 , 0x000058f4 
+ 00022743  0x00003979 rtn 
+ 00022744  0x0000397c set1  0x00000025 , 0x00000000 
+ 00022745  0x0000397d bpatch  0x0000006c , 0x0000402d 
+ 00022746  0x0000397e call  0x00004972 
+ 00022747  0x0000397f fetch  0x00000001 , 0x000003d6 
+ 00022748  0x00003980 fetcht  0x00000001 , 0x00000340 
+ 00022749  0x00003981 and_into  0x00000003 , 0x00000002 
+ 00022750  0x00003982 lshift8  0x00000002 , 0x00000002 
+ 00022751  0x00003983 lshift4  0x00000002 , 0x00000002 
+ 00022752  0x00003984 ior  0x00000002 , 0x0000003f 
+ 00022753  0x00003985 istore  0x00000002 , 0x0000000a 
+ 00022754  0x00003986 fetcht  0x00000001 , 0x00000341 
+ 00022755  0x00003987 and  0x00000002 , 0x0000001f , 0x00000002 
+ 00022756  0x00003988 istoret  0x00000002 , 0x0000000a 
+ 00022757  0x00003989 copy  0x00000002 , 0x00000039 
+ 00022758  0x0000398a call  0x00004976 
+ 00022759  0x0000398b add  0x00000002 , 0x00000004 , 0x00000039 
+ 00022760  0x0000398c call  0x00004424 
+ 00022761  0x0000398d branch  0x00004435 
+ 00022762  0x00003990 set1  0x00000025 , 0x00000000 
+ 00022763  0x00003991 bpatch  0x0000006d , 0x0000402d 
+ 00022764  0x00003992 arg  0x00000002 , 0x00000001 
+ 00022765  0x00003993 ifetch  0x00000002 , 0x00000003 
+ 00022766  0x00003994 ifetch  0x00000002 , 0x00000003 
+ 00022767  0x00003995 branch  0x00003bf1 , 0x00000034 
+ 00022768  0x00003996 copy  0x0000003f , 0x00000039 
+ 00022769  0x00003997 arg  0x00004440 , 0x00000005 
+ 00022770  0x00003998 call  0x0000497c 
+ 00022771  0x00003999 branch  0x0000588a 
+ 00022772  0x0000399c set1  0x00000025 , 0x00000000 
+ 00022773  0x0000399d bpatch  0x0000006e , 0x0000402d 
+ 00022774  0x0000399e ifetch  0x00000001 , 0x00000006 
+ 00022775  0x0000399f beq  0x00000001 , 0x00005956 
+ 00022776  0x000039a0 beq  0x00000002 , 0x0000595b 
+ 00022777  0x000039a1 beq  0x00000003 , 0x00005960 
+ 00022778  0x000039a2 beq  0x00000004 , 0x00005966 
+ 00022779  0x000039a3 beq  0x00000005 , 0x0000596f 
+ 00022780  0x000039a4 beq  0x00000006 , 0x00005970 
+ 00022781  0x000039a5 beq  0x00000007 , 0x00005972 
+ 00022782  0x000039a6 beq  0x00000008 , 0x00005973 
+ 00022783  0x000039a7 beq  0x00000009 , 0x00005974 
+ 00022784  0x000039a8 beq  0x0000000a , 0x00005975 
+ 00022785  0x000039a9 beq  0x0000000b , 0x00005976 
+ 00022786  0x000039aa branch  0x00003bf1 
+ 00022787  0x000039ad set1  0x00000025 , 0x00000000 
+ 00022788  0x000039ae bpatch  0x0000006f , 0x0000402d 
+ 00022789  0x000039af ifetch  0x00000003 , 0x00000006 
+ 00022790  0x000039b0 store  0x00000003 , 0x000003f9 
+ 00022791  0x000039b2 beq  0x00000001 , 0x00005977 
+ 00022792  0x000039b3 beq  0x00000002 , 0x0000598e 
+ 00022793  0x000039b4 beq  0x00000003 , 0x00005990 
+ 00022794  0x000039b5 beq  0x00000004 , 0x00005991 
+ 00022795  0x000039b6 beq  0x00000005 , 0x00005997 
+ 00022796  0x000039b7 beq  0x00000006 , 0x0000599a 
+ 00022797  0x000039b8 beq  0x00000007 , 0x000059a4 
+ 00022798  0x000039b9 beq  0x00000008 , 0x000059a5 
+ 00022799  0x000039ba beq  0x00000009 , 0x000059ad 
+ 00022800  0x000039bb beq  0x0000000a , 0x000059ae 
+ 00022801  0x000039bc beq  0x0000000b , 0x000059b2 
+ 00022802  0x000039bd beq  0x0000000c , 0x000059b5 
+ 00022803  0x000039be beq  0x0000000d , 0x000059b9 
+ 00022804  0x000039bf beq  0x0000000e , 0x000059ba 
+ 00022805  0x000039c0 beq  0x0000000f , 0x000059c0 
+ 00022806  0x000039c1 beq  0x00000010 , 0x000059c1 
+ 00022807  0x000039c2 beq  0x00000011 , 0x000059c9 
+ 00022808  0x000039c3 beq  0x00000012 , 0x000059ca 
+ 00022809  0x000039c4 beq  0x00000013 , 0x000059da 
+ 00022810  0x000039c5 beq  0x00000016 , 0x000059dc 
+ 00022811  0x000039c6 beq  0x00000017 , 0x000059dd 
+ 00022812  0x000039c7 beq  0x00000018 , 0x000059de 
+ 00022813  0x000039c8 beq  0x00000019 , 0x000059df 
+ 00022814  0x000039c9 beq  0x0000001b , 0x000059e0 
+ 00022815  0x000039ca beq  0x0000001d , 0x000059eb 
+ 00022816  0x000039cb beq  0x0000001e , 0x000059ec 
+ 00022817  0x000039cc beq  0x00000052 , 0x000059ed 
+ 00022818  0x000039cd beq  0x000000d2 , 0x00005a01 
+ 00022819  0x000039ce branch  0x00003bf1 
+ 00022820  0x000039d2 ifetch  0x00000009 , 0x00000006 
+ 00022821  0x000039d3 store  0x00000009 , 0x00004434 
+ 00022822  0x000039d4 ifetch  0x00000002 , 0x00000006 
+ 00022823  0x000039d5 store  0x00000002 , 0x000003e0 
+ 00022824  0x000039d6 fetch  0x00000001 , 0x000003c0 
+ 00022825  0x000039d7 set1  0x00000005 , 0x0000003f 
+ 00022826  0x000039d8 store  0x00000001 , 0x000003c0 
+ 00022827  0x000039d9 rtn 
+ 00022828  0x000039dc ifetch  0x00000005 , 0x00000006 
+ 00022829  0x000039dd store  0x00000005 , 0x0000442f 
+ 00022830  0x000039de ifetch  0x00000002 , 0x00000006 
+ 00022831  0x000039df store  0x00000002 , 0x000003e0 
+ 00022832  0x000039e0 fetch  0x00000001 , 0x000003c0 
+ 00022833  0x000039e1 set1  0x00000006 , 0x0000003f 
+ 00022834  0x000039e2 store  0x00000001 , 0x000003c0 
+ 00022835  0x000039e3 rtn 
+ 00022836  0x000039e6 fetch  0x00000001 , 0x000003e4 
+ 00022837  0x000039e7 set1  0x00000003 , 0x0000003f 
+ 00022838  0x000039e8 store  0x00000001 , 0x000003e4 
+ 00022839  0x000039e9 rtn 
+ 00022840  0x000039ec increase  0x0000000a , 0x00000006 
+ 00022841  0x000039ed ifetch  0x00000008 , 0x00000006 
+ 00022842  0x000039ee store  0x00000008 , 0x00000380 
+ 00022843  0x000039ef ifetch  0x00000004 , 0x00000006 
+ 00022844  0x000039f0 store  0x00000004 , 0x00004473 
+ 00022845  0x000039f1 jam  0x00000024 , 0x00000b7d 
+ 00022846  0x000039f2 branch  0x00005620 
+ 00022847  0x000039f5 ifetch  0x00000008 , 0x00000006 
+ 00022848  0x000039f6 store  0x00000008 , 0x00000388 
+ 00022849  0x000039f7 ifetch  0x00000004 , 0x00000006 
+ 00022850  0x000039f8 store  0x00000004 , 0x00004477 
+ 00022851  0x000039f9 branch  0x000074b6 
+ 00022852  0x000039fc fetch  0x00000001 , 0x000003c0 
+ 00022853  0x000039fd set1  0x00000004 , 0x0000003f 
+ 00022854  0x000039fe store  0x00000001 , 0x000003c0 
+ 00022855  0x000039ff jam  0x00000026 , 0x00000b7d 
+ 00022856  0x00003a00 branch  0x00005620 
+ 00022857  0x00003a03 rtn  0x00000029 
+ 00022858  0x00003a04 jam  0x00000026 , 0x00000b7d 
+ 00022859  0x00003a05 branch  0x00005620 
+ 00022860  0x00003a08 rtn 
+ 00022861  0x00003a0b jam  0x00000029 , 0x00000b7d 
+ 00022862  0x00003a0c branch  0x00005620 
+ 00022863  0x00003a0f rtn 
+ 00022864  0x00003a12 rtn 
+ 00022865  0x00003a15 rtn 
+ 00022866  0x00003a18 rtn  0x00000029 
+ 00022867  0x00003a19 jam  0x0000002c , 0x00000b7d 
+ 00022868  0x00003a1a branch  0x00005620 
+ 00022869  0x00003a1d rtn 
+ 00022870  0x00003a21 store  0x00000001 , 0x000044ae 
+ 00022871  0x00003a22 ifetch  0x00000006 , 0x00000006 
+ 00022872  0x00003a23 istore  0x00000006 , 0x00000005 
+ 00022873  0x00003a24 jam  0x00000042 , 0x00000b7d 
+ 00022874  0x00003a25 branch  0x00005620 
+ 00022875  0x00003a28 store  0x00000001 , 0x000044b5 
+ 00022876  0x00003a29 ifetch  0x00000006 , 0x00000006 
+ 00022877  0x00003a2a istore  0x00000006 , 0x00000005 
+ 00022878  0x00003a2b jam  0x00000043 , 0x00000b7d 
+ 00022879  0x00003a2c branch  0x00005620 
+ 00022880  0x00003a2f arg  0x0000448c , 0x00000005 
+ 00022881  0x00003a30 call  0x00007e35 
+ 00022882  0x00003a31 jam  0x00000044 , 0x00000b7d 
+ 00022883  0x00003a32 branch  0x00005620 , 0x00000029 
+ 00022884  0x00003a33 jam  0x00000043 , 0x00000b7d 
+ 00022885  0x00003a34 branch  0x00005620 
+ 00022886  0x00003a37 call  0x000074a8 
+ 00022887  0x00003a38 branch  0x0000596a , 0x00000005 
+ 00022888  0x00003a39 jam  0x00000045 , 0x00000b7d 
+ 00022889  0x00003a3a branch  0x00005620 
+ 00022890  0x00003a3d call  0x000074a5 
+ 00022891  0x00003a3e jam  0x00000023 , 0x00000b7d 
+ 00022892  0x00003a3f branch  0x00005620 , 0x00000029 
+ 00022893  0x00003a40 jam  0x00000044 , 0x00000b7d 
+ 00022894  0x00003a41 branch  0x00005620 
+ 00022895  0x00003a44 rtn 
+ 00022896  0x00003a47 arg  0x00000390 , 0x00000005 
+ 00022897  0x00003a48 branch  0x00007e35 
+ 00022898  0x00003a4b rtn 
+ 00022899  0x00003a4e rtn 
+ 00022900  0x00003a51 rtn 
+ 00022901  0x00003a54 rtn 
+ 00022902  0x00003a57 rtn 
+ 00022903  0x00003a5a increase  0xfffffffe , 0x00000006 
+ 00022904  0x00003a5b ifetcht  0x00000001 , 0x00000006 
+ 00022905  0x00003a5c setarg  0x00000006 
+ 00022906  0x00003a5d isub  0x00000002 , 0x0000003e 
+ 00022907  0x00003a5e branch  0x00005989 , 0x00000005 
+ 00022908  0x00003a5f setarg  0x00000004 
+ 00022909  0x00003a60 isub  0x00000002 , 0x0000003e 
+ 00022910  0x00003a61 branch  0x0000598a , 0x00000005 
+ 00022911  0x00003a62 setarg  0x00000008 
+ 00022912  0x00003a63 isub  0x00000002 , 0x0000003e 
+ 00022913  0x00003a64 branch  0x0000598b , 0x00000005 
+ 00022914  0x00003a65 setarg  0x0000000c 
+ 00022915  0x00003a66 isub  0x00000002 , 0x0000003e 
+ 00022916  0x00003a67 branch  0x0000598c , 0x00000005 
+ 00022917  0x00003a68 setarg  0x0000000e 
+ 00022918  0x00003a69 isub  0x00000002 , 0x0000003e 
+ 00022919  0x00003a6a branch  0x0000598d , 0x00000005 
+ 00022920  0x00003a6b rtn 
+ 00022921  0x00003a6e rtn 
+ 00022922  0x00003a71 rtn 
+ 00022923  0x00003a74 rtn 
+ 00022924  0x00003a77 rtn 
+ 00022925  0x00003a7a rtn 
+ 00022926  0x00003a7e jam  0x00000003 , 0x00000b7d 
+ 00022927  0x00003a7f branch  0x00005620 
+ 00022928  0x00003a82 rtn 
+ 00022929  0x00003a85 rshift8  0x0000003f , 0x0000003f 
+ 00022930  0x00003a86 store  0x00000002 , 0x000044bc 
+ 00022931  0x00003a87 ifetch  0x00000002 , 0x00000006 
+ 00022932  0x00003a88 store  0x00000002 , 0x000044be 
+ 00022933  0x00003a89 jam  0x00000005 , 0x00000b7d 
+ 00022934  0x00003a8a branch  0x00005620 
+ 00022935  0x00003a8d rtn 
+ 00022936  0x00003a90 rtn 
+ 00022937  0x00003a93 rtn 
+ 00022938  0x00003a96 rshift8  0x0000003f , 0x0000003f 
+ 00022939  0x00003a97 store  0x00000002 , 0x000044bc 
+ 00022940  0x00003a98 ifetch  0x00000002 , 0x00000006 
+ 00022941  0x00003a99 store  0x00000002 , 0x000044be 
+ 00022942  0x00003a9a ifetch  0x00000002 , 0x00000006 
+ 00022943  0x00003a9b store  0x00000002 , 0x000044c4 
+ 00022944  0x00003a9c ifetch  0x00000002 , 0x00000006 
+ 00022945  0x00003a9d store  0x00000002 , 0x000044c0 
+ 00022946  0x00003a9e jam  0x00000007 , 0x00000b7d 
+ 00022947  0x00003a9f branch  0x00005620 
+ 00022948  0x00003aa3 rtn 
+ 00022949  0x00003aa6 rshift8  0x0000003f , 0x0000003f 
+ 00022950  0x00003aa7 store  0x00000002 , 0x000044bc 
+ 00022951  0x00003aa8 ifetch  0x00000002 , 0x00000006 
+ 00022952  0x00003aa9 store  0x00000002 , 0x000044be 
+ 00022953  0x00003aaa ifetch  0x00000002 , 0x00000006 
+ 00022954  0x00003aab store  0x00000002 , 0x000044c0 
+ 00022955  0x00003aac jam  0x00000009 , 0x00000b7d 
+ 00022956  0x00003aad branch  0x00005620 
+ 00022957  0x00003ab0 rtn 
+ 00022958  0x00003ab3 fetch  0x00000002 , 0x00000347 
+ 00022959  0x00003ab4 store  0x00000002 , 0x000003fa 
+ 00022960  0x00003ab5 jam  0x0000000b , 0x00000b7d 
+ 00022961  0x00003ab6 branch  0x00005620 
+ 00022962  0x00003ab9 rtn 
+ 00022963  0x00003abc rtn 
+ 00022964  0x00003abf rtn 
+ 00022965  0x00003ac3 ifetch  0x00000002 , 0x00000006 
+ 00022966  0x00003ac4 store  0x00000002 , 0x000044c0 
+ 00022967  0x00003ac5 jam  0x0000000d , 0x00000b7d 
+ 00022968  0x00003ac6 branch  0x00005620 
+ 00022969  0x00003ac9 rtn 
+ 00022970  0x00003acc fetch  0x00000001 , 0x00000341 
+ 00022971  0x00003acd increase  0xfffffffb , 0x0000003f 
+ 00022972  0x00003ace rshift  0x0000003f , 0x0000003f 
+ 00022973  0x00003acf store  0x00000001 , 0x0000443d 
+ 00022974  0x00003ad0 jam  0x0000000f , 0x00000b7d 
+ 00022975  0x00003ad1 branch  0x00005620 
+ 00022976  0x00003ad4 rtn 
+ 00022977  0x00003ad7 rshift8  0x0000003f , 0x0000003f 
+ 00022978  0x00003ad8 store  0x00000002 , 0x000044bc 
+ 00022979  0x00003ad9 ifetch  0x00000002 , 0x00000006 
+ 00022980  0x00003ada store  0x00000002 , 0x000044be 
+ 00022981  0x00003adb ifetch  0x00000002 , 0x00000006 
+ 00022982  0x00003adc store  0x00000002 , 0x000044c0 
+ 00022983  0x00003add jam  0x00000011 , 0x00000b7d 
+ 00022984  0x00003ade branch  0x00005620 
+ 00022985  0x00003ae1 rtn 
+ 00022986  0x00003ae4 fetch  0x00000001 , 0x00000341 
+ 00022987  0x00003ae5 increase  0xfffffff9 , 0x0000003f 
+ 00022988  0x00003ae6 icopy  0x00000039 
+ 00022989  0x00003ae7 fetcht  0x00000002 , 0x000003fa 
+ 00022990  0x00003ae8 call  0x00005a88 
+ 00022991  0x00003ae9 branch  0x000059d8 , 0x00000034 
+ 00022992  0x00003aea ifetch  0x00000001 , 0x00000006 
+ 00022993  0x00003aeb isub  0x00000039 , 0x0000003e 
+ 00022994  0x00003aec nbranch  0x000059d8 , 0x00000002 
+ 00022995  0x00003aed copy  0x00000006 , 0x00000005 
+ 00022996  0x00003aef arg  0x00000349 , 0x00000006 
+ 00022997  0x00003af0 call  0x00007e45 
+ 00022998  0x00003af1 jam  0x00000028 , 0x00000b7d 
+ 00022999  0x00003af2 call  0x00007c27 
+ 00023000  0x00003af4 jam  0x00000013 , 0x00000b7d 
+ 00023001  0x00003af5 branch  0x00005620 
+ 00023002  0x00003af8 fetch  0x00000001 , 0x000003e3 
+ 00023003  0x00003af9 rtn 
+ 00023004  0x00003afc rtn 
+ 00023005  0x00003aff rtn 
+ 00023006  0x00003b02 rtn 
+ 00023007  0x00003b05 rtn 
+ 00023008  0x00003b0e ifetch  0x00000005 , 0x00000006 
+ 00023009  0x00003b0f store  0x00000005 , 0x00000ff1 
+ 00023010  0x00003b10 jam  0x00000001 , 0x00000ff0 
+ 00023011  0x00003b12 call  0x00007cdb 
+ 00023012  0x00003b13 rtn 
+ 00023013  0x00003b15 copy  0x00000011 , 0x00000006 
+ 00023014  0x00003b16 ifetch  0x00000008 , 0x00000006 
+ 00023015  0x00003b17 store  0x00000008 , 0x00000ff1 
+ 00023016  0x00003b18 jam  0x00000002 , 0x00000ff0 
+ 00023017  0x00003b19 call  0x00007cdb 
+ 00023018  0x00003b1a rtn 
+ 00023019  0x00003b1d rtn 
+ 00023020  0x00003b20 rtn 
+ 00023021  0x00003b23 fetch  0x00000001 , 0x00000341 
+ 00023022  0x00003b24 increase  0xfffffff9 , 0x0000003f 
+ 00023023  0x00003b25 icopy  0x00000039 
+ 00023024  0x00003b26 fetcht  0x00000002 , 0x000003fa 
+ 00023025  0x00003b27 call  0x00005a88 
+ 00023026  0x00003b28 branch  0x000059fd , 0x00000034 
+ 00023027  0x00003b29 ifetch  0x00000001 , 0x00000006 
+ 00023028  0x00003b2a isub  0x00000039 , 0x0000003e 
+ 00023029  0x00003b2b nbranch  0x000059fd , 0x00000002 
+ 00023030  0x00003b2c copy  0x00000006 , 0x00000005 
+ 00023031  0x00003b2d copy  0x00000006 , 0x00000011 
+ 00023032  0x00003b2e copy  0x00000039 , 0x00000012 
+ 00023033  0x00003b2f arg  0x00000349 , 0x00000006 
+ 00023034  0x00003b30 call  0x00007e45 
+ 00023035  0x00003b31 jam  0x00000001 , 0x00000481 
+ 00023036  0x00003b32 call  0x000059fe 
+ 00023037  0x00003b34 rtn 
+ 00023038  0x00003b38 fetch  0x00000002 , 0x00004296 
+ 00023039  0x00003b39 rtn  0x00000034 
+ 00023040  0x00003b3a iforce  0x0000003d 
+ 00023041  0x00003b3e rtn 
+ 00023042  0x00003b41 fetcht  0x00000004 , 0x000003dc 
+ 00023043  0x00003b42 call  0x00003bde 
+ 00023044  0x00003b43 isub  0x00000002 , 0x0000000b 
+ 00023045  0x00003b44 deposit  0x0000000b 
+ 00023046  0x00003b45 fetcht  0x00000002 , 0x000003ef 
+ 00023047  0x00003b46 lshift4  0x00000002 , 0x00000002 
+ 00023048  0x00003b47 lshift  0x00000002 , 0x00000002 
+ 00023049  0x00003b48 isub  0x00000002 , 0x0000003f 
+ 00023050  0x00003b49 rtn 
+ 00023051  0x00003b4c call  0x00003bde 
+ 00023052  0x00003b4d store  0x00000004 , 0x000003dc 
+ 00023053  0x00003b4e rtn 
+ 00023054  0x00003b53 set1  0x00000025 , 0x00000000 
+ 00023055  0x00003b54 bpatch  0x00000070 , 0x0000402e 
+ 00023056  0x00003b55 fetch  0x00000001 , 0x000043d8 
+ 00023057  0x00003b56 rtn  0x00000034 
+ 00023058  0x00003b57 arg  0x00000001 , 0x00000007 
+ 00023059  0x00003b58 call  0x00007e53 
+ 00023060  0x00003b59 nrtn  0x00000034 
+ 00023061  0x00003b5a disable  0x00000029 
+ 00023062  0x00003b5b enable  0x00000010 
+ 00023063  0x00003b5c call  0x00005572 
+ 00023064  0x00003b5d call  0x0000542c 
+ 00023065  0x00003b5e call  0x000054de 
+ 00023066  0x00003b5f nbranch  0x00005a24 , 0x0000002d 
+ 00023067  0x00003b60 set1  0x00000025 , 0x00000000 
+ 00023068  0x00003b61 bpatch  0x00000071 , 0x0000402e 
+ 00023069  0x00003b62 fetch  0x00000001 , 0x00000003 
+ 00023070  0x00003b63 increase  0x00000001 , 0x0000003f 
+ 00023071  0x00003b64 store  0x00000001 , 0x00000003 
+ 00023072  0x00003b65 fetch  0x00000001 , 0x00000340 
+ 00023073  0x00003b66 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023074  0x00003b67 beq  0x00000003 , 0x00005519 
+ 00023075  0x00003b68 beq  0x00000005 , 0x00005a41 
+ 00023076  0x00003b6a nop  0x00002710 
+ 00023077  0x00003b6b fetch  0x00000001 , 0x00000016 
+ 00023078  0x00003b6c bne  0x00000027 , 0x00005a0e 
+ 00023079  0x00003b6d call  0x00005ad8 
+ 00023080  0x00003b6e arg  0x00000001 , 0x00000007 
+ 00023081  0x00003b6f fetch  0x00000002 , 0x000044d9 
+ 00023082  0x00003b70 branch  0x00007e4c 
+ 00023083  0x00003b74 set1  0x00000025 , 0x00000000 
+ 00023084  0x00003b75 bpatch  0x00000072 , 0x0000402e 
+ 00023085  0x00003b76 fetch  0x00000001 , 0x000003f8 
+ 00023086  0x00003b77 call  0x00005405 
+ 00023087  0x00003b78 fetch  0x00000002 , 0x000003c2 
+ 00023088  0x00003b79 imul32  0x00000002 , 0x0000003f 
+ 00023089  0x00003b7a arg  0x00000177 , 0x00000002 
+ 00023090  0x00003b7b imul32  0x00000002 , 0x0000003f 
+ 00023091  0x00003b7c arg  0x000186a0 , 0x00000002 
+ 00023092  0x00003b7d idiv  0x00000002 
+ 00023093  0x00003b7e fetch  0x00000001 , 0x000003ec 
+ 00023094  0x00003b7f arg  0x00004e20 , 0x00000002 
+ 00023095  0x00003b80 imul32  0x00000002 , 0x0000003f 
+ 00023096  0x00003b81 store  0x00000004 , 0x000046f9 
+ 00023097  0x00003b82 set1  0x00000025 , 0x00000000 
+ 00023098  0x00003b83 bpatch  0x00000073 , 0x0000402e 
+ 00023099  0x00003b84 fetch  0x00000002 , 0x00004161 
+ 00023100  0x00003b85 call  0x00007efd 
+ 00023101  0x00003b86 quotient  0x00000002 
+ 00023102  0x00003b87 iadd  0x00000002 , 0x0000003f 
+ 00023103  0x00003b88 store  0x00000002 , 0x000003ce 
+ 00023104  0x00003b89 rtn 
+ 00023105  0x00003b8c set1  0x00000025 , 0x00000000 
+ 00023106  0x00003b8d bpatch  0x00000074 , 0x0000402e 
+ 00023107  0x00003b8e fetch  0x00000006 , 0x00000348 
+ 00023108  0x00003b8f fetcht  0x00000006 , 0x000044f9 
+ 00023109  0x00003b90 isub  0x00000002 , 0x0000003e 
+ 00023110  0x00003b91 nrtn  0x00000005 
+ 00023111  0x00003b92 call  0x00005613 
+ 00023112  0x00003b93 copy  0x00000011 , 0x0000003f 
+ 00023113  0x00003b94 store  0x00000001 , 0x000044e6 
+ 00023114  0x00003b95 fetch  0x00000007 , 0x00000355 
+ 00023115  0x00003b96 store  0x00000007 , 0x00000103 
+ 00023116  0x00003b97 ifetch  0x00000008 , 0x00000006 
+ 00023117  0x00003b98 istore  0x00000008 , 0x00000005 
+ 00023118  0x00003b99 fetch  0x00000006 , 0x00000342 
+ 00023119  0x00003b9a store  0x00000006 , 0x000003d0 
+ 00023120  0x00003b9b set1  0x00000025 , 0x00000000 
+ 00023121  0x00003b9c bpatch  0x00000075 , 0x0000402e 
+ 00023122  0x00003b9d increase  0x00000006 , 0x00000006 
+ 00023123  0x00003b9e ifetch  0x00000008 , 0x00000006 
+ 00023124  0x00003b9f store  0x00000008 , 0x000003e5 
+ 00023125  0x00003ba0 ifetcht  0x00000002 , 0x00000006 
+ 00023126  0x00003ba1 lshift2  0x00000002 , 0x00000002 
+ 00023127  0x00003ba2 ifetch  0x00000002 , 0x00000006 
+ 00023128  0x00003ba3 lshift2  0x0000003f , 0x0000003f 
+ 00023129  0x00003ba4 store  0x00000002 , 0x000003c2 
+ 00023130  0x00003ba5 store  0x00000004 , 0x000003c4 
+ 00023131  0x00003ba6 isub  0x00000002 , 0x0000003f 
+ 00023132  0x00003ba7 add  0x0000003f , 0xfffffffe , 0x00000028 
+ 00023133  0x00003ba8 ifetch  0x00000009 , 0x00000006 
+ 00023134  0x00003ba9 store  0x00000009 , 0x000003ed 
+ 00023135  0x00003baa set1  0x00000025 , 0x00000000 
+ 00023136  0x00003bab bpatch  0x00000076 , 0x0000402e 
+ 00023137  0x00003bac ifetch  0x00000001 , 0x00000006 
+ 00023138  0x00003bad rshift4  0x0000003f , 0x00000002 
+ 00023139  0x00003bae rshift  0x00000002 , 0x00000002 
+ 00023140  0x00003baf storet  0x00000001 , 0x000003f8 
+ 00023141  0x00003bb0 and_into  0x0000001f , 0x0000003f 
+ 00023142  0x00003bb1 store  0x00000001 , 0x000003d9 
+ 00023143  0x00003bb2 call  0x00005a2b 
+ 00023144  0x00003bb3 call  0x00005447 
+ 00023145  0x00003bb4 call  0x0000536c 
+ 00023146  0x00003bb5 call  0x000032d6 
+ 00023147  0x00003bb6 nrtn  0x00000005 
+ 00023148  0x00003bb7 set1  0x00000025 , 0x00000000 
+ 00023149  0x00003bb8 bpatch  0x00000077 , 0x0000402e 
+ 00023150  0x00003bb9 arg  0x00000000 , 0x00000002 
+ 00023151  0x00003bba call  0x000048ea 
+ 00023152  0x00003bbb call  0x000039ac 
+ 00023153  0x00003bbc jam  0x00000014 , 0x00000b7d 
+ 00023154  0x00003bbd call  0x00007c27 
+ 00023155  0x00003bbf branch  0x000032bd 
+ 00023156  0x00003bc3 set1  0x00000025 , 0x00000000 
+ 00023157  0x00003bc4 bpatch  0x00000078 , 0x0000402f 
+ 00023158  0x00003bc5 fetch  0x00000002 , 0x000044bc 
+ 00023159  0x00003bc6 iforce  0x00000012 
+ 00023160  0x00003bc7 fetch  0x00000002 , 0x000044be 
+ 00023161  0x00003bc8 iforce  0x00000013 
+ 00023162  0x00003bc9 arg  0x00004504 , 0x00000006 
+ 00023163  0x00003bca enable  0x00000028 
+ 00023164  0x00003bcb rtn 
+ 00023165  0x00003bcf ifetch  0x00000002 , 0x00000006 
+ 00023166  0x00003bd0 rtn  0x00000034 
+ 00023167  0x00003bd1 isub  0x00000012 , 0x0000003e 
+ 00023168  0x00003bd2 nrtn  0x00000002 
+ 00023169  0x00003bd3 isub  0x00000013 , 0x0000003e 
+ 00023170  0x00003bd4 rtn  0x00000005 
+ 00023171  0x00003bd5 branch  0x00005a86 , 0x00000002 
+ 00023172  0x00003bd6 force  0x00000001 , 0x0000003e 
+ 00023173  0x00003bd7 rtn 
+ 00023174  0x00003bd9 force  0x00000000 , 0x0000003f 
+ 00023175  0x00003bda rtn 
+ 00023176  0x00003bde arg  0x00004504 , 0x00000006 
+ 00023177  0x00003be0 ifetch  0x00000002 , 0x00000006 
+ 00023178  0x00003be1 rtn  0x00000034 
+ 00023179  0x00003be2 increase  0x00000002 , 0x00000006 
+ 00023180  0x00003be3 isub  0x00000002 , 0x0000003e 
+ 00023181  0x00003be4 rtn  0x00000005 
+ 00023182  0x00003be5 ifetch  0x00000001 , 0x00000006 
+ 00023183  0x00003be6 iadd  0x00000006 , 0x00000006 
+ 00023184  0x00003be7 branch  0x00005a89 
+ 00023185  0x00003bea jam  0x00000002 , 0x000044c6 
+ 00023186  0x00003beb setarg  0x00000001 
+ 00023187  0x00003bec store  0x00000002 , 0x000044c7 
+ 00023188  0x00003bed jam  0x00000025 , 0x000003e3 
+ 00023189  0x00003bee jam  0x00000012 , 0x00000b7d 
+ 00023190  0x00003bef branch  0x00005620 
+ 00023191  0x00003bf2 rtn 
+ 00023192  0x00003bf4 rtn 
+ 00023193  0x00003bf6 set1  0x00000025 , 0x00000000 
+ 00023194  0x00003bf7 bpatch  0x00000079 , 0x0000402f 
+ 00023195  0x00003bf8 fetch  0x00000001 , 0x00004132 
+ 00023196  0x00003bf9 rtnne  0x00000004 
+ 00023197  0x00003bfa fetch  0x00000001 , 0x000003e3 
+ 00023198  0x00003bfb beq  0x00000021 , 0x00005a91 
+ 00023199  0x00003bfc beq  0x00000025 , 0x00005a97 
+ 00023200  0x00003bfd beq  0x00000026 , 0x00005a98 
+ 00023201  0x00003bfe rtn 
+ 00023202  0x00003c01 setarg  0x00005aae 
+ 00023203  0x00003c02 store  0x00000002 , 0x0000428c 
+ 00023204  0x00003c03 hjam  0x00000081 , 0x00008062 
+ 00023205  0x00003c04 setarg  0x000001a0 
+ 00023206  0x00003c05 hstore  0x00000002 , 0x00008052 
+ 00023207  0x00003c06 hjam  0x00000001 , 0x00008043 
+ 00023208  0x00003c07 hjam  0x00000004 , 0x00008081 
+ 00023209  0x00003c08 setarg  0x00005ac6 
+ 00023210  0x00003c09 store  0x00000002 , 0x00004296 
+ 00023211  0x00003c0a call  0x00005347 
+ 00023212  0x00003c0b rtn  0x0000002b 
+ 00023213  0x00003c0c branch  0x0000691d 
+ 00023214  0x00003c10 fetch  0x00000001 , 0x000003c1 
+ 00023215  0x00003c11 compare  0x00000001 , 0x0000003f , 0x000000ff 
+ 00023216  0x00003c12 setarg  0x00000005 
+ 00023217  0x00003c13 call  0x00006a04 , 0x00000001 
+ 00023218  0x00003c14 ncall  0x000069ff , 0x00000001 
+ 00023219  0x00003c15 call  0x000068fd 
+ 00023220  0x00003c16 branch  0x00005abe , 0x00000034 
+ 00023221  0x00003c17 fetch  0x00000002 , 0x00000419 
+ 00023222  0x00003c18 iforce  0x00000005 
+ 00023223  0x00003c19 sub  0x00000039 , 0x00000014 , 0x0000003e 
+ 00023224  0x00003c1a branch  0x00005aba , 0x00000002 
+ 00023225  0x00003c1b force  0x00000014 , 0x00000039 
+ 00023226  0x00003c1d ifetch  0x00000001 , 0x00000003 
+ 00023227  0x00003c1e istore  0x00000001 , 0x00000005 
+ 00023228  0x00003c1f loop  0x00005aba 
+ 00023229  0x00003c20 call  0x00006906 
+ 00023230  0x00003c22 jam  0x00000014 , 0x000044c2 
+ 00023231  0x00003c23 fetcht  0x00000002 , 0x00000419 
+ 00023232  0x00003c24 ifetch  0x00000001 , 0x00000002 
+ 00023233  0x00003c25 rtn  0x00000034 
+ 00023234  0x00003c26 call  0x0000561c 
+ 00023235  0x00003c27 nrtn  0x00000034 
+ 00023236  0x00003c28 jam  0x0000001b , 0x00000b7d 
+ 00023237  0x00003c29 branch  0x00005620 
+ 00023238  0x00003c2c copy  0x00000012 , 0x00000002 
+ 00023239  0x00003c2d call  0x000068f7 
+ 00023240  0x00003c2e copy  0x00000011 , 0x00000006 
+ 00023241  0x00003c2f copy  0x00000012 , 0x00000039 
+ 00023242  0x00003c31 ifetch  0x00000001 , 0x00000006 
+ 00023243  0x00003c32 istore  0x00000001 , 0x0000000a 
+ 00023244  0x00003c33 loop  0x00005aca 
+ 00023245  0x00003c34 branch  0x000068fa 
+ 00023246  0x00003c37 fetch  0x00000001 , 0x00004132 
+ 00023247  0x00003c38 rtnne  0x00000006 
+ 00023248  0x00003c39 fetch  0x00000002 , 0x000044c2 
+ 00023249  0x00003c3a rtnne  0x00000014 
+ 00023250  0x00003c3b fetcht  0x00000002 , 0x00000419 
+ 00023251  0x00003c3c setarg  0x00000000 
+ 00023252  0x00003c3d istore  0x00000009 , 0x00000002 
+ 00023253  0x00003c3e istore  0x00000009 , 0x00000005 
+ 00023254  0x00003c3f istore  0x00000002 , 0x00000005 
+ 00023255  0x00003c40 rtn 
+ 00023256  0x00003c44 fetcht  0x00000001 , 0x000043d7 
+ 00023257  0x00003c45 setflip  0x00000007 , 0x00000002 
+ 00023258  0x00003c46 branch  0x000069f3 
+ 00023259  0x00003c4a set1  0x00000025 , 0x00000000 
+ 00023260  0x00003c4b bpatch  0x0000007a , 0x0000402f 
+ 00023261  0x00003c4c call  0x00005adf 
+ 00023262  0x00003c4d branch  0x00005aed 
+ 00023263  0x00003c50 fetch  0x00000001 , 0x00004419 
+ 00023264  0x00003c51 copy  0x0000003f , 0x00000039 
+ 00023265  0x00003c52 arg  0x00002a00 , 0x00000002 
+ 00023266  0x00003c53 call  0x00005b0c 
+ 00023267  0x00003c54 increase  0x00000001 , 0x00000006 
+ 00023268  0x00003c55 copy  0x00000006 , 0x00000005 
+ 00023269  0x00003c56 arg  0x0000441a , 0x00000006 
+ 00023270  0x00003c57 call  0x00007e45 
+ 00023271  0x00003c58 fetch  0x00000001 , 0x00004419 
+ 00023272  0x00003c59 sub  0x0000003f , 0x00000014 , 0x00000039 
+ 00023273  0x00003c5a copy  0x00000039 , 0x00000002 
+ 00023274  0x00003c5b copy  0x00000039 , 0x0000003f 
+ 00023275  0x00003c5c ncall  0x00005b15 , 0x00000034 
+ 00023276  0x00003c5d rtn 
+ 00023277  0x00003c60 fetch  0x00000001 , 0x000043d9 
+ 00023278  0x00003c61 fetcht  0x00000001 , 0x000043da 
+ 00023279  0x00003c62 isub  0x00000002 , 0x0000003f 
+ 00023280  0x00003c63 copy  0x0000003f , 0x00000039 
+ 00023281  0x00003c64 copy  0x0000003f , 0x00000011 
+ 00023282  0x00003c65 fetch  0x00000001 , 0x000043da 
+ 00023283  0x00003c66 increase  0x00000001 , 0x0000003f 
+ 00023284  0x00003c67 arg  0x000043da , 0x00000006 
+ 00023285  0x00003c68 iadd  0x00000006 , 0x00000006 
+ 00023286  0x00003c69 arg  0x0000041d , 0x00000005 
+ 00023287  0x00003c6a call  0x00007e45 
+ 00023288  0x00003c6b set1  0x00000025 , 0x00000000 
+ 00023289  0x00003c6c bpatch  0x0000007b , 0x0000402f 
+ 00023290  0x00003c6d fetch  0x00000001 , 0x00004419 
+ 00023291  0x00003c6e copy  0x0000003f , 0x00000039 
+ 00023292  0x00003c6f increase  0x00000001 , 0x0000003f 
+ 00023293  0x00003c70 store  0x00000001 , 0x000043da 
+ 00023294  0x00003c71 arg  0x000043dc , 0x00000005 
+ 00023295  0x00003c72 arg  0x0000441a , 0x00000006 
+ 00023296  0x00003c73 call  0x00007e45 
+ 00023297  0x00003c74 copy  0x00000011 , 0x00000039 
+ 00023298  0x00003c75 arg  0x0000041d , 0x00000006 
+ 00023299  0x00003c76 call  0x00007e45 
+ 00023300  0x00003c77 fetch  0x00000001 , 0x000043da 
+ 00023301  0x00003c78 iadd  0x00000011 , 0x0000003f 
+ 00023302  0x00003c79 store  0x00000001 , 0x000043d9 
+ 00023303  0x00003c7a rtn 
+ 00023304  0x00003c7e set1  0x00000025 , 0x00000000 
+ 00023305  0x00003c7f bpatch  0x0000007c , 0x0000402f 
+ 00023306  0x00003c80 arg  0x00002a00 , 0x00000002 
+ 00023307  0x00003c81 branch  0x00005b0c 
+ 00023308  0x00003c85 arg  0x00004504 , 0x00000006 
+ 00023309  0x00003c87 ifetch  0x00000002 , 0x00000006 
+ 00023310  0x00003c88 branch  0x00003bf1 , 0x00000034 
+ 00023311  0x00003c89 ifetch  0x00000002 , 0x00000006 
+ 00023312  0x00003c8a isub  0x00000002 , 0x0000003e 
+ 00023313  0x00003c8b rtn  0x00000005 
+ 00023314  0x00003c8c ifetch  0x00000001 , 0x00000006 
+ 00023315  0x00003c8d iadd  0x00000006 , 0x00000006 
+ 00023316  0x00003c8e branch  0x00005b0d 
+ 00023317  0x00003c92 setarg  0x00000020 
+ 00023318  0x00003c93 istore  0x00000001 , 0x00000005 
+ 00023319  0x00003c94 loop  0x00005b15 
+ 00023320  0x00003c95 rtn 
+ 00023321  0x00003c99 set1  0x00000025 , 0x00000000 
+ 00023322  0x00003c9a bpatch  0x0000007d , 0x0000402f 
+ 00023323  0x00003c9b disable  0x0000002b 
+ 00023324  0x00003c9c branch  0x00005b1e , 0x0000002e 
+ 00023325  0x00003c9d nbranch  0x00005b2a , 0x0000002d 
+ 00023326  0x00003c9f call  0x00003d76 
+ 00023327  0x00003ca0 fetch  0x00000002 , 0x00004161 
+ 00023328  0x00003ca1 store  0x00000002 , 0x000003ce 
+ 00023329  0x00003ca2 fetch  0x00000001 , 0x00000340 
+ 00023330  0x00003ca3 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00023331  0x00003ca4 nbranch  0x00003d8a , 0x00000001 
+ 00023332  0x00003ca5 fetch  0x00000001 , 0x0000443e 
+ 00023333  0x00003ca6 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00023334  0x00003ca7 nbranch  0x00003d8a , 0x00000001 
+ 00023335  0x00003ca8 fetch  0x00000001 , 0x000003c0 
+ 00023336  0x00003ca9 bbit1  0x00000005 , 0x00003d8a 
+ 00023337  0x00003caa branch  0x00003d6f 
+ 00023338  0x00003cad fetcht  0x00000002 , 0x00004161 
+ 00023339  0x00003cae rshift  0x00000002 , 0x00000002 
+ 00023340  0x00003caf fetch  0x00000002 , 0x000003ce 
+ 00023341  0x00003cb0 iadd  0x00000002 , 0x0000003f 
+ 00023342  0x00003cb1 store  0x00000002 , 0x000003ce 
+ 00023343  0x00003cb2 branch  0x00003d82 
+ 00023344  0x00003cb5 set1  0x00000025 , 0x00000000 
+ 00023345  0x00003cb6 bpatch  0x0000007e , 0x0000402f 
+ 00023346  0x00003cb7 jam  0x00000000 , 0x000046f8 
+ 00023347  0x00003cb8 fetcht  0x00000002 , 0x000044c2 
+ 00023348  0x00003cb9 call  0x00005866 
+ 00023349  0x00003cba copy  0x00000011 , 0x00000005 
+ 00023350  0x00003cbb setarg  0x00000000 
+ 00023351  0x00003cbc istore  0x00000001 , 0x00000005 
+ 00023352  0x00003cbd rtn 
+ 00023353  0x00003cbf fetch  0x00000001 , 0x00004132 
+ 00023354  0x00003cc0 rtnne  0x0000000a 
+ 00023355  0x00003cc1 call  0x00007f6e 
+ 00023356  0x00003cc2 arg  0x000003d0 , 0x00000011 
+ 00023357  0x00003cc3 call  0x00007e9d 
+ 00023358  0x00003cc4 setarg  0x0000002c 
+ 00023359  0x00003cc5 istore  0x00000001 , 0x0000000a 
+ 00023360  0x00003cc6 call  0x000041d4 
+ 00023361  0x00003cc7 branch  0x000068fa 
+ 00023362  0x00003ccb arg  0x00000014 , 0x00000002 
+ 00023363  0x00003ccc call  0x00005866 
+ 00023364  0x00003ccd rtnbit0  0x00000000 
+ 00023365  0x00003cce call  0x0000561c 
+ 00023366  0x00003ccf nrtn  0x00000034 
+ 00023367  0x00003cd0 arg  0x00000014 , 0x00000002 
+ 00023368  0x00003cd1 storet  0x00000002 , 0x000044c2 
+ 00023369  0x00003cd2 call  0x00005a88 
+ 00023370  0x00003cd3 branch  0x00003bf1 , 0x00000034 
+ 00023371  0x00003cd4 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00023372  0x00003cd5 arg  0x00000014 , 0x00000039 
+ 00023373  0x00003cd6 arg  0x0000046d , 0x00000006 
+ 00023374  0x00003cd7 call  0x00007e45 
+ 00023375  0x00003cd8 jam  0x0000001b , 0x00000b7d 
+ 00023376  0x00003cd9 branch  0x00005620 
+ 00023377  0x00003cdb rtn 
+ 00023378  0x00003cdf set1  0x00000025 , 0x00000000 
+ 00023379  0x00003ce0 bpatch  0x0000007f , 0x0000402f 
+ 00023380  0x00003ce1 fetch  0x00000001 , 0x00000341 
+ 00023381  0x00003ce2 arg  0x00000348 , 0x00000006 
+ 00023382  0x00003ce3 iadd  0x00000006 , 0x00000039 
+ 00023383  0x00003ce5 ifetcht  0x00000001 , 0x00000006 
+ 00023384  0x00003ce6 ifetch  0x00000001 , 0x00000006 
+ 00023385  0x00003ce7 isub  0x00000011 , 0x0000003e 
+ 00023386  0x00003ce8 rtn  0x00000005 
+ 00023387  0x00003ce9 add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00023388  0x00003cea iadd  0x00000006 , 0x00000006 
+ 00023389  0x00003ceb deposit  0x00000039 
+ 00023390  0x00003cec isub  0x00000006 , 0x0000003e 
+ 00023391  0x00003ced branch  0x00005b57 , 0x00000002 
+ 00023392  0x00003cee force  0x00000001 , 0x0000003e 
+ 00023393  0x00003cef rtn 
+ 00023394  0x00003cf7 rtn  0x0000002b 
+ 00023395  0x00003cf9 setarg  0x00000000 
+ 00023396  0x00003cfa store  0x00000001 , 0x00000048 
+ 00023397  0x00003cfb store  0x00000001 , 0x00000055 
+ 00023398  0x00003cfc store  0x00000001 , 0x00000078 
+ 00023399  0x00003cfd store  0x00000001 , 0x0000007c 
+ 00023400  0x00003cfe store  0x00000001 , 0x000041f9 
+ 00023401  0x00003cff store  0x00000001 , 0x00000453 
+ 00023402  0x00003d00 store  0x00000001 , 0x00000177 
+ 00023403  0x00003d01 store  0x00000001 , 0x000007e1 
+ 00023404  0x00003d02 jam  0x00000000 , 0x00004748 
+ 00023405  0x00003d03 jam  0x00000000 , 0x00000258 
+ 00023406  0x00003d04 jam  0x00000000 , 0x00000454 
+ 00023407  0x00003d06 set1  0x00000025 , 0x00000000 
+ 00023408  0x00003d07 bpatch  0x000000e0 , 0x0000403c 
+ 00023409  0x00003d08 jam  0x00000000 , 0x000007e1 
+ 00023410  0x00003d09 jam  0x00000000 , 0x000007e0 
+ 00023411  0x00003d0a jam  0x00000000 , 0x0000044d 
+ 00023412  0x00003d0b fetch  0x00000001 , 0x00004132 
+ 00023413  0x00003d0c rtnne  0x00000001 , 0x0000003f 
+ 00023414  0x00003d0d jam  0x00000000 , 0x0000425e 
+ 00023415  0x00003d10 rtn 
+ 00023416  0x00003d13 set1  0x00000025 , 0x00000000 
+ 00023417  0x00003d14 bpatch  0x000000e1 , 0x0000403c 
+ 00023418  0x00003d15 call  0x00006219 , 0x00000029 
+ 00023419  0x00003d16 ncall  0x0000621d , 0x00000029 
+ 00023420  0x00003d17 fetch  0x00000001 , 0x0000007c 
+ 00023421  0x00003d18 ncall  0x000061d9 , 0x00000034 
+ 00023422  0x00003d19 fetch  0x00000001 , 0x0000007c 
+ 00023423  0x00003d1a nrtn  0x00000034 
+ 00023424  0x00003d1b fetch  0x00000001 , 0x0000004c 
+ 00023425  0x00003d1c rtnbit0  0x00000006 
+ 00023426  0x00003d1d set0  0x00000006 , 0x0000003f 
+ 00023427  0x00003d1e set0  0x00000001 , 0x00000000 
+ 00023428  0x00003d1f store  0x00000001 , 0x0000004c 
+ 00023429  0x00003d20 fetch  0x00000001 , 0x000004de 
+ 00023430  0x00003d21 fetcht  0x00000001 , 0x0000004c 
+ 00023431  0x00003d22 isolate1  0x00000000 , 0x0000003f 
+ 00023432  0x00003d23 setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00023433  0x00003d24 storet  0x00000001 , 0x0000004c 
+ 00023434  0x00003d25 and_into  0x00000002 , 0x00000002 
+ 00023435  0x00003d26 storet  0x00000001 , 0x0000007f 
+ 00023436  0x00003d27 fetcht  0x00000001 , 0x0000004c 
+ 00023437  0x00003d28 rshift  0x0000003f , 0x0000003f 
+ 00023438  0x00003d29 store  0x00000001 , 0x0000007d 
+ 00023439  0x00003d2a set1  0x00000025 , 0x00000000 
+ 00023440  0x00003d2b bpatch  0x000000e2 , 0x0000403c 
+ 00023441  0x00003d2c fetch  0x00000001 , 0x0000007d 
+ 00023442  0x00003d2d beq  0x0000007f , 0x00005bdc 
+ 00023443  0x00003d2e beq  0x00000003 , 0x00005c56 
+ 00023444  0x00003d2f beq  0x00000004 , 0x00005c67 
+ 00023445  0x00003d30 beq  0x0000003c , 0x00005bcf 
+ 00023446  0x00003d31 beq  0x00000005 , 0x00005bcb 
+ 00023447  0x00003d32 beq  0x0000000f , 0x00005e48 
+ 00023448  0x00003d33 beq  0x00000010 , 0x00005ce1 
+ 00023449  0x00003d34 beq  0x00000023 , 0x00005cff 
+ 00023450  0x00003d35 beq  0x00000039 , 0x00005e67 
+ 00023451  0x00003d36 beq  0x00000038 , 0x00005e62 
+ 00023452  0x00003d37 beq  0x00000031 , 0x00005ce4 
+ 00023453  0x00003d38 beq  0x00000037 , 0x00005d72 
+ 00023454  0x00003d39 beq  0x00000027 , 0x00005d6e 
+ 00023455  0x00003d3a beq  0x00000033 , 0x00005d68 
+ 00023456  0x00003d3b beq  0x00000025 , 0x00005d70 
+ 00023457  0x00003d3c beq  0x00000026 , 0x00005cfb 
+ 00023458  0x00003d3d beq  0x00000007 , 0x00005cf3 
+ 00023459  0x00003d3e beq  0x0000002d , 0x00005cea 
+ 00023460  0x00003d3f beq  0x0000002e , 0x00005ceb 
+ 00023461  0x00003d40 beq  0x00000001 , 0x00005d64 
+ 00023462  0x00003d41 beq  0x00000002 , 0x00005d4f 
+ 00023463  0x00003d42 beq  0x00000028 , 0x00005e53 
+ 00023464  0x00003d43 beq  0x00000009 , 0x00005d45 
+ 00023465  0x00003d44 beq  0x0000000b , 0x00005d1a 
+ 00023466  0x00003d45 beq  0x00000008 , 0x00005d00 
+ 00023467  0x00003d46 beq  0x0000000c , 0x00005d2c 
+ 00023468  0x00003d47 beq  0x0000001f , 0x00005cf7 
+ 00023469  0x00003d48 beq  0x00000020 , 0x00005cf9 
+ 00023470  0x00003d49 beq  0x00000021 , 0x00005d8d 
+ 00023471  0x00003d4a beq  0x00000022 , 0x00005d8e 
+ 00023472  0x00003d4b beq  0x00000035 , 0x00005d8f 
+ 00023473  0x00003d4c beq  0x00000036 , 0x00005d90 
+ 00023474  0x00003d4d beq  0x00000024 , 0x00005d91 
+ 00023475  0x00003d4e beq  0x0000002c , 0x00005d92 
+ 00023476  0x00003d4f beq  0x0000002b , 0x00005d95 
+ 00023477  0x00003d50 beq  0x00000034 , 0x00005d9f 
+ 00023478  0x00003d51 beq  0x00000017 , 0x00005da2 
+ 00023479  0x00003d52 beq  0x00000011 , 0x00005db7 
+ 00023480  0x00003d53 beq  0x00000012 , 0x00005dbb 
+ 00023481  0x00003d54 beq  0x00000013 , 0x00005dbd 
+ 00023482  0x00003d55 beq  0x0000000d , 0x00005dcf 
+ 00023483  0x00003d56 beq  0x0000000e , 0x00005dd0 
+ 00023484  0x00003d57 beq  0x0000002f , 0x00005d6c 
+ 00023485  0x00003d58 beq  0x00000030 , 0x00005dd1 
+ 00023486  0x00003d59 beq  0x0000000a , 0x00005dd2 
+ 00023487  0x00003d5a beq  0x00000018 , 0x00005dd3 
+ 00023488  0x00003d5b beq  0x00000032 , 0x00005dda 
+ 00023489  0x00003d5c beq  0x0000003d , 0x00005ddb 
+ 00023490  0x00003d5d beq  0x0000003e , 0x00005dff 
+ 00023491  0x00003d5e beq  0x0000003f , 0x00005df9 
+ 00023492  0x00003d5f beq  0x00000040 , 0x00005e22 
+ 00023493  0x00003d60 beq  0x00000041 , 0x00005e34 
+ 00023494  0x00003d61 beq  0x00000006 , 0x00005e47 
+ 00023495  0x00003d62 beq  0x0000003a , 0x00005bcd 
+ 00023496  0x00003d66 jam  0x00000019 , 0x0000007e 
+ 00023497  0x00003d68 jam  0x00000004 , 0x0000007c 
+ 00023498  0x00003d69 rtn 
+ 00023499  0x00003d6c jam  0x00000006 , 0x0000007c 
+ 00023500  0x00003d6d rtn 
+ 00023501  0x00003d70 jam  0x0000003b , 0x0000007c 
+ 00023502  0x00003d71 rtn 
+ 00023503  0x00003d74 fetch  0x00000004 , 0x000004df 
+ 00023504  0x00003d75 lshift  0x0000003f , 0x0000003f 
+ 00023505  0x00003d76 store  0x00000004 , 0x00004173 
+ 00023506  0x00003d77 fetch  0x00000001 , 0x000004e3 
+ 00023507  0x00003d78 store  0x00000001 , 0x0000417a 
+ 00023508  0x00003d79 fetch  0x00000005 , 0x000004e4 
+ 00023509  0x00003d7a store  0x00000005 , 0x00004188 
+ 00023510  0x00003d7b fetch  0x00000005 , 0x000004e9 
+ 00023511  0x00003d7c istore  0x00000005 , 0x00000005 
+ 00023512  0x00003d7d fetch  0x00000001 , 0x00000031 
+ 00023513  0x00003d7e set1  0x00000003 , 0x0000003f 
+ 00023514  0x00003d7f store  0x00000001 , 0x00000031 
+ 00023515  0x00003d80 rtn 
+ 00023516  0x00003d82 fetch  0x00000001 , 0x000004df 
+ 00023517  0x00003d83 set1  0x00000007 , 0x0000003f 
+ 00023518  0x00003d84 store  0x00000001 , 0x0000007d 
+ 00023519  0x00003d85 beq  0x00000081 , 0x00005c26 
+ 00023520  0x00003d86 beq  0x00000082 , 0x00005c2e 
+ 00023521  0x00003d87 beq  0x00000095 , 0x00005d73 
+ 00023522  0x00003d88 beq  0x00000096 , 0x00005d8c 
+ 00023523  0x00003d89 beq  0x0000008b , 0x00005d81 
+ 00023524  0x00003d8a beq  0x00000083 , 0x00005c49 
+ 00023525  0x00003d8b beq  0x00000084 , 0x00005c4b 
+ 00023526  0x00003d8c beq  0x00000090 , 0x00005bf1 
+ 00023527  0x00003d8d beq  0x00000097 , 0x00005c42 
+ 00023528  0x00003d8e beq  0x00000098 , 0x00005c47 
+ 00023529  0x00003d8f beq  0x00000099 , 0x00005c14 
+ 00023530  0x00003d90 beq  0x0000009a , 0x00005c19 
+ 00023531  0x00003d91 beq  0x0000008d , 0x00005c11 
+ 00023532  0x00003d92 beq  0x0000008c , 0x00005bf4 
+ 00023533  0x00003d93 rtneq  0x00000084 
+ 00023534  0x00003d97 jam  0x00000082 , 0x0000007c 
+ 00023535  0x00003d98 jam  0x00000019 , 0x0000007e 
+ 00023536  0x00003d9a rtn 
+ 00023537  0x00003d9c jam  0x00000082 , 0x0000007c 
+ 00023538  0x00003d9d jam  0x0000002e , 0x0000007e 
+ 00023539  0x00003d9e rtn 
+ 00023540  0x00003da1 fetch  0x00000001 , 0x000004e0 
+ 00023541  0x00003da2 store  0x00000001 , 0x000000ad 
+ 00023542  0x00003da3 fetch  0x00000001 , 0x000004e1 
+ 00023543  0x00003da4 store  0x00000001 , 0x000041f9 
+ 00023544  0x00003da5 fetch  0x00000001 , 0x000004e3 
+ 00023545  0x00003da6 store  0x00000001 , 0x000000af 
+ 00023546  0x00003da7 fetch  0x00000001 , 0x000004e7 
+ 00023547  0x00003da8 store  0x00000001 , 0x000000b0 
+ 00023548  0x00003da9 fetch  0x00000001 , 0x000004ec 
+ 00023549  0x00003daa store  0x00000001 , 0x000000ab 
+ 00023550  0x00003dab bmark1  0x00000007 , 0x00005c07 
+ 00023551  0x00003dac set1  0x00000007 , 0x00000000 
+ 00023552  0x00003dad call  0x00005d16 
+ 00023553  0x00003dae store  0x00000001 , 0x00000452 
+ 00023554  0x00003daf force  0x00000000 , 0x00000002 
+ 00023555  0x00003db0 branch  0x00004839 
+ 00023556  0x00003db3 jam  0x0000008c , 0x0000007c 
+ 00023557  0x00003db4 jam  0x00000001 , 0x000000b1 
+ 00023558  0x00003db5 branch  0x000049bc 
+ 00023559  0x00003db8 fetch  0x00000001 , 0x000000b0 
+ 00023560  0x00003db9 bne  0x00000007 , 0x00005c0b 
+ 00023561  0x00003dba jam  0x00000081 , 0x0000007c 
+ 00023562  0x00003dbb branch  0x00005c0f 
+ 00023563  0x00003dbd set0  0x00000007 , 0x00000000 
+ 00023564  0x00003dbe jam  0x00000082 , 0x0000007c 
+ 00023565  0x00003dbf force  0x00000001 , 0x00000002 
+ 00023566  0x00003dc0 call  0x00004914 
+ 00023567  0x00003dc2 jam  0x0000008c , 0x0000007d 
+ 00023568  0x00003dc3 rtn 
+ 00023569  0x00003dc7 jam  0x00000081 , 0x0000007c 
+ 00023570  0x00003dc8 jam  0x0000008d , 0x0000007d 
+ 00023571  0x00003dc9 branch  0x00003869 
+ 00023572  0x00003dcc call  0x00005c1d 
+ 00023573  0x00003dcd fetch  0x00000001 , 0x00004132 
+ 00023574  0x00003dce beq  0x00000001 , 0x00005c21 
+ 00023575  0x00003dcf jam  0x0000009a , 0x0000007c 
+ 00023576  0x00003dd0 rtn 
+ 00023577  0x00003dd3 call  0x00005c1d 
+ 00023578  0x00003dd4 fetch  0x00000001 , 0x00004132 
+ 00023579  0x00003dd5 beq  0x00000001 , 0x00005c21 
+ 00023580  0x00003dd6 branch  0x00005c22 
+ 00023581  0x00003dd9 arg  0x000007e9 , 0x00000005 
+ 00023582  0x00003dda fetch  0x00000003 , 0x000004e0 
+ 00023583  0x00003ddb istore  0x00000003 , 0x00000005 
+ 00023584  0x00003ddc rtn 
+ 00023585  0x00003ddf call  0x0000480f 
+ 00023586  0x00003de1 call  0x00006216 
+ 00023587  0x00003de2 ncall  0x0000481b , 0x00000001 
+ 00023588  0x00003de3 branch  0x0000780f , 0x00000001 
+ 00023589  0x00003de4 rtn 
+ 00023590  0x00003de6 fetch  0x00000001 , 0x000004e1 
+ 00023591  0x00003de7 set1  0x00000007 , 0x0000003f 
+ 00023592  0x00003de8 store  0x00000001 , 0x00000445 
+ 00023593  0x00003de9 beq  0x0000008b , 0x00005c36 
+ 00023594  0x00003dea beq  0x0000008c , 0x0000384a 
+ 00023595  0x00003deb beq  0x0000008d , 0x00005c2d 
+ 00023596  0x00003dec rtn 
+ 00023597  0x00003def branch  0x00003869 
+ 00023598  0x00003df2 fetch  0x00000001 , 0x000004e1 
+ 00023599  0x00003df3 set1  0x00000007 , 0x0000003f 
+ 00023600  0x00003df4 store  0x00000001 , 0x00000445 
+ 00023601  0x00003df5 beq  0x0000008b , 0x00005c3a 
+ 00023602  0x00003df6 beq  0x0000008c , 0x00005c34 
+ 00023603  0x00003df7 rtn 
+ 00023604  0x00003dfa set0  0x00000007 , 0x00000000 
+ 00023605  0x00003dfb rtn 
+ 00023606  0x00003dfe fetch  0x00000001 , 0x000041fb 
+ 00023607  0x00003dff fetcht  0x00000001 , 0x0000004c 
+ 00023608  0x00003e00 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00023609  0x00003e01 storet  0x00000001 , 0x0000004c 
+ 00023610  0x00003e03 fetch  0x00000001 , 0x00000030 
+ 00023611  0x00003e04 rtnbit0  0x00000005 
+ 00023612  0x00003e05 set0  0x00000005 , 0x0000003f 
+ 00023613  0x00003e06 store  0x00000001 , 0x00000030 
+ 00023614  0x00003e07 fetch  0x00000001 , 0x00000453 
+ 00023615  0x00003e08 nbranch  0x00004872 , 0x00000034 
+ 00023616  0x00003e09 jam  0x00000031 , 0x0000007c 
+ 00023617  0x00003e0a rtn 
+ 00023618  0x00003e0d nbranch  0x00005c45 , 0x00000029 
+ 00023619  0x00003e0e jam  0x00000012 , 0x0000007c 
+ 00023620  0x00003e0f branch  0x00006205 
+ 00023621  0x00003e12 jam  0x00000097 , 0x0000007c 
+ 00023622  0x00003e13 rtn 
+ 00023623  0x00003e18 call  0x00006205 
+ 00023624  0x00003e19 branch  0x00005ecd 
+ 00023625  0x00003e1c jam  0x00000084 , 0x0000007c 
+ 00023626  0x00003e1d rtn 
+ 00023627  0x00003e20 fetcht  0x00000001 , 0x000004e2 
+ 00023628  0x00003e21 and  0x00000002 , 0x00000001 , 0x00000002 
+ 00023629  0x00003e22 storet  0x00000001 , 0x0000044c 
+ 00023630  0x00003e23 fetch  0x00000001 , 0x00004272 
+ 00023631  0x00003e24 bne  0x00000051 , 0x00005c52 
+ 00023632  0x00003e25 jam  0x00000000 , 0x00004272 
+ 00023633  0x00003e26 call  0x000047f9 
+ 00023634  0x00003e28 fetch  0x00000001 , 0x00000055 
+ 00023635  0x00003e29 rtnne  0x00000015 
+ 00023636  0x00003e2a jam  0x00000004 , 0x00000055 
+ 00023637  0x00003e2b branch  0x00006235 
+ 00023638  0x00003e2e fetch  0x00000001 , 0x000004df 
+ 00023639  0x00003e2f store  0x00000001 , 0x00000445 
+ 00023640  0x00003e30 beq  0x00000033 , 0x00005c7d 
+ 00023641  0x00003e31 beq  0x00000008 , 0x00005c90 
+ 00023642  0x00003e32 beq  0x0000000f , 0x00005c97 
+ 00023643  0x00003e33 beq  0x00000010 , 0x00005c9d 
+ 00023644  0x00003e34 beq  0x00000011 , 0x00005c9e 
+ 00023645  0x00003e35 beq  0x00000012 , 0x00005ca6 
+ 00023646  0x00003e36 beq  0x00000018 , 0x00005ccc 
+ 00023647  0x00003e37 beq  0x00000017 , 0x00005cd1 
+ 00023648  0x00003e38 beq  0x0000002b , 0x0000384a 
+ 00023649  0x00003e3a beq  0x00000013 , 0x00005c74 
+ 00023650  0x00003e3c beq  0x0000003d , 0x00005de9 
+ 00023651  0x00003e3d beq  0x0000003e , 0x00005e18 
+ 00023652  0x00003e3e beq  0x00000040 , 0x00005deb 
+ 00023653  0x00003e3f beq  0x00000041 , 0x00005def 
+ 00023654  0x00003e40 rtn 
+ 00023655  0x00003e43 fetch  0x00000001 , 0x000004df 
+ 00023656  0x00003e44 store  0x00000001 , 0x00000445 
+ 00023657  0x00003e45 beq  0x00000001 , 0x00005cc3 
+ 00023658  0x00003e46 beq  0x00000033 , 0x00005c87 
+ 00023659  0x00003e47 beq  0x0000000b , 0x00005ca7 
+ 00023660  0x00003e48 beq  0x0000002b , 0x00005c8e 
+ 00023661  0x00003e49 beq  0x00000008 , 0x00005cba 
+ 00023662  0x00003e4a beq  0x00000013 , 0x00005c77 
+ 00023663  0x00003e4c beq  0x00000040 , 0x00005cc4 
+ 00023664  0x00003e4d beq  0x00000041 , 0x00005cc7 
+ 00023665  0x00003e4e beq  0x00000018 , 0x00005cca 
+ 00023666  0x00003e4f beq  0x00000017 , 0x00005cdf 
+ 00023667  0x00003e50 rtn 
+ 00023668  0x00003e53 jam  0x00000020 , 0x00000b7d 
+ 00023669  0x00003e54 call  0x00007c27 
+ 00023670  0x00003e55 branch  0x00003245 
+ 00023671  0x00003e57 jam  0x00000019 , 0x00000b7d 
+ 00023672  0x00003e58 call  0x00007c27 
+ 00023673  0x00003e59 jam  0x00000002 , 0x00004748 
+ 00023674  0x00003e5a setarg  0x00000050 
+ 00023675  0x00003e5b arg  0x0000000a , 0x00000007 
+ 00023676  0x00003e5c branch  0x00007e4c 
+ 00023677  0x00003e62 fetch  0x00000001 , 0x0000044d 
+ 00023678  0x00003e63 set1  0x00000000 , 0x0000003f 
+ 00023679  0x00003e64 store  0x00000001 , 0x0000044d 
+ 00023680  0x00003e65 jam  0x00000001 , 0x00000b7d 
+ 00023681  0x00003e66 call  0x00007c27 
+ 00023682  0x00003e67 jam  0x0000008b , 0x0000007c 
+ 00023683  0x00003e6b fetch  0x00000001 , 0x00000055 
+ 00023684  0x00003e6c bne  0x00000005 , 0x00005b77 
+ 00023685  0x00003e6f jam  0x00000006 , 0x00000055 
+ 00023686  0x00003e70 rtn 
+ 00023687  0x00003e79 jam  0x0000000b , 0x00000446 
+ 00023688  0x00003e7a jam  0x00000007 , 0x0000007c 
+ 00023689  0x00003e7b force  0x00000010 , 0x00000002 
+ 00023690  0x00003e7c call  0x00004826 
+ 00023691  0x00003e7e jam  0x00000000 , 0x00000055 
+ 00023692  0x00003e80 branch  0x00005b77 , 0x00000001 
+ 00023693  0x00003e81 rtn 
+ 00023694  0x00003e84 jam  0x0000002b , 0x0000007c 
+ 00023695  0x00003e85 rtn 
+ 00023696  0x00003e89 fetch  0x00000001 , 0x0000425e 
+ 00023697  0x00003e8a nrtn  0x00000034 
+ 00023698  0x00003e8b call  0x00003507 
+ 00023699  0x00003e8c call  0x00005ecb 
+ 00023700  0x00003e8d rtn  0x00000029 
+ 00023701  0x00003e8e set1  0x00000021 , 0x00000000 
+ 00023702  0x00003e8f rtn 
+ 00023703  0x00003e92 nrtn  0x00000029 
+ 00023704  0x00003e93 jam  0x00000010 , 0x0000007c 
+ 00023705  0x00003e94 fetch  0x00000001 , 0x0000004c 
+ 00023706  0x00003e95 rtnbit0  0x00000002 
+ 00023707  0x00003e96 jam  0x00000012 , 0x0000007c 
+ 00023708  0x00003e97 rtn 
+ 00023709  0x00003e9a branch  0x00005ecd 
+ 00023710  0x00003e9d call  0x00005f2d 
+ 00023711  0x00003e9e fetch  0x00000001 , 0x00000030 
+ 00023712  0x00003e9f rtnbit1  0x00000004 
+ 00023713  0x00003ea0 jam  0x00000031 , 0x0000007c 
+ 00023714  0x00003ea1 fetch  0x00000001 , 0x00000055 
+ 00023715  0x00003ea2 rtnne  0x0000000a 
+ 00023716  0x00003ea3 jam  0x0000000b , 0x00000055 
+ 00023717  0x00003ea4 rtn 
+ 00023718  0x00003eae rtn 
+ 00023719  0x00003eb1 fetch  0x00000001 , 0x00004132 
+ 00023720  0x00003eb2 bne  0x00000001 , 0x00005cb7 
+ 00023721  0x00003eb3 fetch  0x00000001 , 0x0000425e 
+ 00023722  0x00003eb4 rtn  0x00000034 
+ 00023723  0x00003eb5 fetcht  0x00000001 , 0x00000055 
+ 00023724  0x00003eb6 jam  0x00000000 , 0x00000055 
+ 00023725  0x00003eb7 jam  0x00000000 , 0x0000425e 
+ 00023726  0x00003eb8 fetch  0x00000001 , 0x000004e0 
+ 00023727  0x00003eb9 rtnne  0x00000006 
+ 00023728  0x00003eba storet  0x00000001 , 0x00000055 
+ 00023729  0x00003ebb jam  0x00000001 , 0x000007e0 
+ 00023730  0x00003ebc fetch  0x00000002 , 0x0000044a 
+ 00023731  0x00003ebd fetcht  0x00000001 , 0x0000044c 
+ 00023732  0x00003ebe iand  0x00000002 , 0x0000003f 
+ 00023733  0x00003ebf branch  0x000049da , 0x00000034 
+ 00023734  0x00003ec0 branch  0x000049d7 
+ 00023735  0x00003ec3 jam  0x00000007 , 0x0000007c 
+ 00023736  0x00003ec4 jam  0x00000013 , 0x00000446 
+ 00023737  0x00003ec5 rtn 
+ 00023738  0x00003ec8 fetch  0x00000001 , 0x000004e0 
+ 00023739  0x00003ec9 beq  0x00000006 , 0x00005cc0 
+ 00023740  0x00003eca rtnne  0x00000018 
+ 00023741  0x00003ecb jam  0x00000018 , 0x00000446 
+ 00023742  0x00003ecc jam  0x00000007 , 0x0000007c 
+ 00023743  0x00003ecd rtn 
+ 00023744  0x00003ecf jam  0x00000006 , 0x00000446 
+ 00023745  0x00003ed0 jam  0x00000007 , 0x0000007c 
+ 00023746  0x00003ed1 rtn 
+ 00023747  0x00003ed4 rtn 
+ 00023748  0x00003ed7 jam  0x00000000 , 0x000007da 
+ 00023749  0x00003ed8 jam  0x00000007 , 0x0000007c 
+ 00023750  0x00003ed9 branch  0x00005b77 
+ 00023751  0x00003edc jam  0x00000000 , 0x000007da 
+ 00023752  0x00003edd jam  0x00000007 , 0x0000007c 
+ 00023753  0x00003ede branch  0x00005b77 
+ 00023754  0x00003ee0 jam  0x00000024 , 0x00000b7d 
+ 00023755  0x00003ee1 branch  0x00007c27 
+ 00023756  0x00003ee4 jam  0x00000023 , 0x00000b7d 
+ 00023757  0x00003ee5 call  0x00007c27 
+ 00023758  0x00003ee6 call  0x00003806 
+ 00023759  0x00003ee7 force  0x00000000 , 0x00000002 
+ 00023760  0x00003ee8 branch  0x00004907 
+ 00023761  0x00003eeb jam  0x00000022 , 0x00000b7d 
+ 00023762  0x00003eec call  0x00007c27 
+ 00023763  0x00003eed force  0x00000002 , 0x00000002 
+ 00023764  0x00003eee call  0x00004907 
+ 00023765  0x00003eef setarg  0x00000000 
+ 00023766  0x00003ef0 store  0x00000002 , 0x00000075 
+ 00023767  0x00003ef1 fetch  0x00000002 , 0x00004280 
+ 00023768  0x00003ef2 lshift  0x0000003f , 0x0000003f 
+ 00023769  0x00003ef3 store  0x00000002 , 0x00000032 
+ 00023770  0x00003ef4 fetch  0x00000001 , 0x00004282 
+ 00023771  0x00003ef5 store  0x00000001 , 0x00000073 
+ 00023772  0x00003ef6 fetch  0x00000001 , 0x00004284 
+ 00023773  0x00003ef7 store  0x00000001 , 0x00000074 
+ 00023774  0x00003ef8 branch  0x000037e1 
+ 00023775  0x00003efb jam  0x00000021 , 0x00000b7d 
+ 00023776  0x00003efc branch  0x00007c27 
+ 00023777  0x00003eff fetcht  0x00000001 , 0x000004df 
+ 00023778  0x00003f00 storet  0x00000001 , 0x00000054 
+ 00023779  0x00003f01 branch  0x00005cf5 
+ 00023780  0x00003f04 fetch  0x00000001 , 0x0000044d 
+ 00023781  0x00003f05 set1  0x00000002 , 0x0000003f 
+ 00023782  0x00003f06 store  0x00000001 , 0x0000044d 
+ 00023783  0x00003f07 rtnbit1  0x00000003 
+ 00023784  0x00003f08 jam  0x00000031 , 0x0000007c 
+ 00023785  0x00003f09 branch  0x00005b77 
+ 00023786  0x00003f0e rtn 
+ 00023787  0x00003f11 fetch  0x00000001 , 0x00004171 
+ 00023788  0x00003f12 fetcht  0x00000001 , 0x000004df 
+ 00023789  0x00003f13 isub  0x00000002 , 0x0000003e 
+ 00023790  0x00003f15 branch  0x00005cf5 , 0x00000002 
+ 00023791  0x00003f16 jam  0x00000004 , 0x0000007c 
+ 00023792  0x00003f17 jam  0x0000001f , 0x0000007e 
+ 00023793  0x00003f18 jam  0x0000002e , 0x0000007d 
+ 00023794  0x00003f19 rtn 
+ 00023795  0x00003f1c call  0x0000605a 
+ 00023796  0x00003f1d branch  0x00005cf5 
+ 00023797  0x00003f20 jam  0x00000003 , 0x0000007c 
+ 00023798  0x00003f21 rtn 
+ 00023799  0x00003f24 jam  0x00000021 , 0x0000007c 
+ 00023800  0x00003f25 rtn 
+ 00023801  0x00003f28 jam  0x00000022 , 0x0000007c 
+ 00023802  0x00003f29 rtn 
+ 00023803  0x00003f2c fetch  0x00000001 , 0x00000055 
+ 00023804  0x00003f2d rtneq  0x00000013 
+ 00023805  0x00003f2f jam  0x00000002 , 0x00000055 
+ 00023806  0x00003f31 rtn 
+ 00023807  0x00003f35 rtn 
+ 00023808  0x00003f38 call  0x00005ec8 
+ 00023809  0x00003f39 jam  0x00000001 , 0x00000450 
+ 00023810  0x00003f3a fetch  0x00000001 , 0x00004132 
+ 00023811  0x00003f3b beq  0x00000001 , 0x00005d06 
+ 00023812  0x00003f3c jam  0x0000000a , 0x00000b7d 
+ 00023813  0x00003f3d call  0x00007c27 
+ 00023814  0x00003f3f call  0x0000487b 
+ 00023815  0x00003f40 call  0x0000620d 
+ 00023816  0x00003f41 nbranch  0x00005ed0 , 0x00000001 
+ 00023817  0x00003f42 nbranch  0x00005d0e , 0x00000029 
+ 00023818  0x00003f43 jam  0x00000004 , 0x0000007c 
+ 00023819  0x00003f44 jam  0x00000008 , 0x0000007d 
+ 00023820  0x00003f45 jam  0x00000023 , 0x0000007e 
+ 00023821  0x00003f46 rtn 
+ 00023822  0x00003f48 fetch  0x00000001 , 0x0000004b 
+ 00023823  0x00003f49 set1  0x00000002 , 0x0000003f 
+ 00023824  0x00003f4a store  0x00000001 , 0x0000004b 
+ 00023825  0x00003f4b rtn 
+ 00023826  0x00003f4f fetcht  0x00000001 , 0x0000004c 
+ 00023827  0x00003f50 nsetflag  0x00000034 , 0x00000001 , 0x00000002 
+ 00023828  0x00003f51 storet  0x00000001 , 0x0000004c 
+ 00023829  0x00003f52 rtn 
+ 00023830  0x00003f56 fetch  0x00000001 , 0x0000007f 
+ 00023831  0x00003f57 rshift  0x0000003f , 0x0000003f 
+ 00023832  0x00003f58 and_into  0x00000001 , 0x0000003f 
+ 00023833  0x00003f59 rtn 
+ 00023834  0x00003f5c call  0x00005d16 
+ 00023835  0x00003f5d store  0x00000001 , 0x00000451 
+ 00023836  0x00003f5e call  0x00005ec8 
+ 00023837  0x00003f5f jam  0x0000000c , 0x0000007c 
+ 00023838  0x00003f60 fetch  0x00000001 , 0x0000425e 
+ 00023839  0x00003f61 nrtn  0x00000034 
+ 00023840  0x00003f62 fetch  0x00000001 , 0x00000030 
+ 00023841  0x00003f63 rtnbit1  0x00000006 
+ 00023842  0x00003f64 jam  0x00000006 , 0x0000007e 
+ 00023843  0x00003f65 fetch  0x00000001 , 0x00004132 
+ 00023844  0x00003f66 bne  0x00000001 , 0x00005bc9 
+ 00023845  0x00003f67 fetch  0x00000001 , 0x00000453 
+ 00023846  0x00003f68 nbranch  0x00005bc9 , 0x00000034 
+ 00023847  0x00003f69 jam  0x00000000 , 0x0000007c 
+ 00023848  0x00003f6b fetch  0x00000001 , 0x0000004b 
+ 00023849  0x00003f6c set1  0x00000000 , 0x0000003f 
+ 00023850  0x00003f6d store  0x00000001 , 0x0000004b 
+ 00023851  0x00003f6e branch  0x00004872 
+ 00023852  0x00003f71 arg  0x00000040 , 0x00000011 
+ 00023853  0x00003f72 call  0x0000739d 
+ 00023854  0x00003f73 fetch  0x00000004 , 0x000004df 
+ 00023855  0x00003f74 fetcht  0x00000004 , 0x0000051f 
+ 00023856  0x00003f75 isub  0x00000002 , 0x0000003e 
+ 00023857  0x00003f76 branch  0x00005d35 , 0x00000005 
+ 00023858  0x00003f77 jam  0x00000007 , 0x0000007c 
+ 00023859  0x00003f78 jam  0x00000005 , 0x00000446 
+ 00023860  0x00003f79 rtn 
+ 00023861  0x00003f7b call  0x0000749b 
+ 00023862  0x00003f7c call  0x00003211 
+ 00023863  0x00003f7d fetch  0x00000001 , 0x0000004b 
+ 00023864  0x00003f7e isolate1  0x00000001 , 0x0000003f 
+ 00023865  0x00003f7f set0  0x00000001 , 0x0000003f 
+ 00023866  0x00003f80 store  0x00000001 , 0x0000004b 
+ 00023867  0x00003f81 call  0x000048bc , 0x00000001 
+ 00023868  0x00003f82 fetch  0x00000001 , 0x00000055 
+ 00023869  0x00003f83 beq  0x00000019 , 0x00005d40 
+ 00023870  0x00003f84 beq  0x00000018 , 0x00005d40 
+ 00023871  0x00003f85 rtn 
+ 00023872  0x00003f87 fetch  0x00000001 , 0x000007e1 
+ 00023873  0x00003f88 rtnne  0x00000000 
+ 00023874  0x00003f89 fetch  0x00000001 , 0x0000004c 
+ 00023875  0x00003f8a rtnbit1  0x00000002 
+ 00023876  0x00003f8b branch  0x000062cf 
+ 00023877  0x00003f8e arg  0x000004df , 0x00000011 
+ 00023878  0x00003f8f arg  0x0000050f , 0x00000012 
+ 00023879  0x00003f90 arg  0x000004ef , 0x00000005 
+ 00023880  0x00003f91 call  0x00007467 
+ 00023881  0x00003f92 arg  0x00000040 , 0x00000011 
+ 00023882  0x00003f93 call  0x0000622b 
+ 00023883  0x00003f94 jam  0x0000000b , 0x0000007c 
+ 00023884  0x00003f95 fetch  0x00000001 , 0x00000030 
+ 00023885  0x00003f96 bbit0  0x00000006 , 0x00005ecb 
+ 00023886  0x00003f97 rtn 
+ 00023887  0x00003f9a fetch  0x00000002 , 0x00000169 
+ 00023888  0x00003f9b add  0x0000003f , 0xfffffffd , 0x00000039 
+ 00023889  0x00003f9c fetcht  0x00000001 , 0x000004df 
+ 00023890  0x00003f9d setarg  0x00000103 
+ 00023891  0x00003f9e iadd  0x00000002 , 0x00000005 
+ 00023892  0x00003f9f arg  0x000004e1 , 0x00000006 
+ 00023893  0x00003fa0 call  0x00007e45 
+ 00023894  0x00003fa1 fetcht  0x00000001 , 0x00000053 
+ 00023895  0x00003fa2 fetch  0x00000001 , 0x000004e0 
+ 00023896  0x00003fa3 isub  0x00000002 , 0x0000003f 
+ 00023897  0x00003fa4 sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00023898  0x00003fa5 branch  0x00005d5f , 0x00000002 
+ 00023899  0x00003fa6 add  0x00000002 , 0x0000000e , 0x0000003f 
+ 00023900  0x00003fa7 store  0x00000001 , 0x00000053 
+ 00023901  0x00003fa8 jam  0x00000001 , 0x0000007c 
+ 00023902  0x00003fa9 rtn 
+ 00023903  0x00003fab fetch  0x00000001 , 0x0000004c 
+ 00023904  0x00003fac set1  0x00000003 , 0x0000003f 
+ 00023905  0x00003fad store  0x00000001 , 0x0000004c 
+ 00023906  0x00003fae bbit1  0x00000004 , 0x00005ed5 
+ 00023907  0x00003fb1 rtn 
+ 00023908  0x00003fb3 fetch  0x00000001 , 0x000004df 
+ 00023909  0x00003fb4 store  0x00000001 , 0x0000007d 
+ 00023910  0x00003fb5 jam  0x00000002 , 0x0000007c 
+ 00023911  0x00003fb6 rtn 
+ 00023912  0x00003fb9 fetch  0x00000001 , 0x00004132 
+ 00023913  0x00003fba bne  0x00000001 , 0x00005cf5 
+ 00023914  0x00003fbb force  0x00000001 , 0x00000002 
+ 00023915  0x00003fbc branch  0x00004839 
+ 00023916  0x00003fbf jam  0x00000030 , 0x0000007c 
+ 00023917  0x00003fc0 rtn 
+ 00023918  0x00003fc3 jam  0x00000028 , 0x0000007c 
+ 00023919  0x00003fc4 rtn 
+ 00023920  0x00003fc7 jam  0x00000026 , 0x0000007c 
+ 00023921  0x00003fc8 rtn 
+ 00023922  0x00003fcd rtn 
+ 00023923  0x00003fd2 fetch  0x00000002 , 0x00000032 
+ 00023924  0x00003fd3 iforce  0x00000002 
+ 00023925  0x00003fd4 fetch  0x00000001 , 0x000004e0 
+ 00023926  0x00003fd5 store  0x00000001 , 0x00000097 
+ 00023927  0x00003fd6 imul32  0x00000002 , 0x00000002 
+ 00023928  0x00003fd7 fetch  0x00000002 , 0x000004e1 
+ 00023929  0x00003fd8 lshift  0x0000003f , 0x0000003f 
+ 00023930  0x00003fd9 store  0x00000002 , 0x00000098 
+ 00023931  0x00003fda fetch  0x00000004 , 0x000004e3 
+ 00023932  0x00003fdb lshift  0x0000003f , 0x0000003f 
+ 00023933  0x00003fdc store  0x00000004 , 0x00000093 
+ 00023934  0x00003fde deposit  0x00000002 
+ 00023935  0x00003fdf store  0x00000002 , 0x0000009a 
+ 00023936  0x00003fe0 rtn 
+ 00023937  0x00003fe2 fetcht  0x00000001 , 0x000041fb 
+ 00023938  0x00003fe3 fetch  0x00000001 , 0x000004e0 
+ 00023939  0x00003fe4 ixor  0x00000002 , 0x0000003e 
+ 00023940  0x00003fe5 nbranch  0x00005bee , 0x00000005 
+ 00023941  0x00003fe6 isolate1  0x00000000 , 0x0000003f 
+ 00023942  0x00003fe7 fetch  0x00000001 , 0x0000004c 
+ 00023943  0x00003fe8 setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00023944  0x00003fe9 store  0x00000001 , 0x0000004c 
+ 00023945  0x00003fea jam  0x00000081 , 0x0000007c 
+ 00023946  0x00003feb jam  0x0000008b , 0x0000007d 
+ 00023947  0x00003fec rtn 
+ 00023948  0x00003ff0 rtn 
+ 00023949  0x00003ff3 rtn 
+ 00023950  0x00003ff5 rtn 
+ 00023951  0x00003ff8 branch  0x00005cf5 
+ 00023952  0x00003ffc branch  0x00005cf5 
+ 00023953  0x00003ffe rtn 
+ 00023954  0x00004000 call  0x0000385e 
+ 00023955  0x00004001 jam  0x0000002c , 0x0000007d 
+ 00023956  0x00004002 branch  0x00005cf5 
+ 00023957  0x00004006 fetch  0x00000001 , 0x000004df 
+ 00023958  0x00004007 store  0x00000001 , 0x000000ad 
+ 00023959  0x00004008 fetch  0x00000001 , 0x000004e1 
+ 00023960  0x00004009 store  0x00000001 , 0x000000af 
+ 00023961  0x0000400a fetch  0x00000001 , 0x000004e4 
+ 00023962  0x0000400b store  0x00000001 , 0x000000ab 
+ 00023963  0x0000400c call  0x00005d16 
+ 00023964  0x0000400d store  0x00000001 , 0x00000452 
+ 00023965  0x0000400e force  0x00000000 , 0x00000002 
+ 00023966  0x0000400f branch  0x00004839 
+ 00023967  0x00004012 fetch  0x00000002 , 0x000004df 
+ 00023968  0x00004013 store  0x00000002 , 0x0000017b 
+ 00023969  0x00004014 rtn 
+ 00023970  0x00004017 fetch  0x00000001 , 0x00000030 
+ 00023971  0x00004018 bbit1  0x00000001 , 0x00005db5 
+ 00023972  0x00004019 fetch  0x00000002 , 0x000004e0 
+ 00023973  0x0000401a lshift  0x0000003f , 0x0000003f 
+ 00023974  0x0000401b store  0x00000002 , 0x00000075 
+ 00023975  0x0000401c fetch  0x00000002 , 0x000004e2 
+ 00023976  0x0000401d lshift  0x0000003f , 0x0000003f 
+ 00023977  0x0000401e store  0x00000002 , 0x00000032 
+ 00023978  0x0000401f fetch  0x00000002 , 0x000004e4 
+ 00023979  0x00004020 store  0x00000001 , 0x00000073 
+ 00023980  0x00004021 iforce  0x00000002 
+ 00023981  0x00004022 fetch  0x00000002 , 0x000004e6 
+ 00023982  0x00004023 store  0x00000001 , 0x00000074 
+ 00023983  0x00004024 isub  0x00000002 , 0x0000003e 
+ 00023984  0x00004025 nbranch  0x00005db2 , 0x00000002 
+ 00023985  0x00004026 store  0x00000001 , 0x00000073 
+ 00023986  0x00004029 jam  0x00000003 , 0x0000007c 
+ 00023987  0x0000402a jam  0x00000017 , 0x0000007d 
+ 00023988  0x0000402b rtn 
+ 00023989  0x0000402e jam  0x00000024 , 0x0000007e 
+ 00023990  0x0000402f branch  0x00005bc9 
+ 00023991  0x00004032 call  0x00005cf5 
+ 00023992  0x00004033 call  0x00005ec8 
+ 00023993  0x00004034 call  0x000073a0 
+ 00023994  0x00004035 branch  0x000037d0 
+ 00023995  0x00004038 call  0x00005cf5 
+ 00023996  0x00004039 branch  0x000037da 
+ 00023997  0x0000403d fetch  0x00000004 , 0x000004df 
+ 00023998  0x0000403e lshift  0x0000003f , 0x0000003f 
+ 00023999  0x00004040 branch  0x00005dc9 , 0x00000029 
+ 00024000  0x00004041 fetcht  0x00000001 , 0x0000425e 
+ 00024001  0x00004042 nbranch  0x00005dc6 , 0x00000034 
+ 00024002  0x00004044 jam  0x00000004 , 0x0000007c 
+ 00024003  0x00004045 jam  0x00000013 , 0x0000007d 
+ 00024004  0x00004046 jam  0x00000024 , 0x0000007e 
+ 00024005  0x00004047 rtn 
+ 00024006  0x00004049 jam  0x00000034 , 0x0000007c 
+ 00024007  0x0000404a jam  0x00000000 , 0x00000055 
+ 00024008  0x0000404b branch  0x00003241 
+ 00024009  0x0000404e call  0x00003241 
+ 00024010  0x0000404f set1  0x00000022 , 0x00000000 
+ 00024011  0x00004050 fetch  0x00000001 , 0x00000177 
+ 00024012  0x00004051 set0  0x00000002 , 0x0000003f 
+ 00024013  0x00004052 store  0x00000001 , 0x00000177 
+ 00024014  0x00004053 branch  0x00005cf5 
+ 00024015  0x00004058 rtn 
+ 00024016  0x0000405a rtn 
+ 00024017  0x0000405c rtn 
+ 00024018  0x00004060 rtn 
+ 00024019  0x00004064 jam  0x00000003 , 0x0000007c 
+ 00024020  0x00004065 jam  0x00000018 , 0x0000007d 
+ 00024021  0x00004066 jam  0x0000002e , 0x00000b7d 
+ 00024022  0x00004067 call  0x00007c27 
+ 00024023  0x00004068 force  0x00000000 , 0x00000002 
+ 00024024  0x00004069 call  0x00004907 
+ 00024025  0x0000406a branch  0x00003806 
+ 00024026  0x0000406c rtn 
+ 00024027  0x0000406f fetch  0x00000001 , 0x000004df 
+ 00024028  0x00004070 bne  0x00000001 , 0x00005de7 
+ 00024029  0x00004071 fetch  0x00000001 , 0x000004e0 
+ 00024030  0x00004072 bne  0x00000001 , 0x00005de7 
+ 00024031  0x00004073 fetch  0x00000001 , 0x000004e1 
+ 00024032  0x00004074 bne  0x00000030 , 0x00005de7 
+ 00024033  0x00004075 call  0x00006216 
+ 00024034  0x00004076 branch  0x00005de4 , 0x00000001 
+ 00024035  0x00004077 jam  0x00000001 , 0x000007da 
+ 00024036  0x00004079 jam  0x00000003 , 0x0000007c 
+ 00024037  0x0000407a jam  0x0000003d , 0x0000007d 
+ 00024038  0x0000407b branch  0x00005b77 
+ 00024039  0x0000407e jam  0x00000024 , 0x0000007e 
+ 00024040  0x0000407f branch  0x00005bc9 
+ 00024041  0x00004084 jam  0x0000003e , 0x0000007c 
+ 00024042  0x00004086 rtn 
+ 00024043  0x00004088 call  0x00006216 
+ 00024044  0x00004089 rtn  0x00000001 
+ 00024045  0x0000408a jam  0x00000008 , 0x000007da 
+ 00024046  0x0000408b rtn 
+ 00024047  0x0000408f call  0x00006216 
+ 00024048  0x00004090 ncall  0x00007a9d , 0x00000001 
+ 00024049  0x00004091 call  0x00007aab , 0x00000001 
+ 00024050  0x00004092 call  0x00004860 
+ 00024051  0x00004093 call  0x00004869 
+ 00024052  0x00004094 call  0x00006216 
+ 00024053  0x00004095 rtn  0x00000001 
+ 00024054  0x00004096 jam  0x0000000c , 0x000007da 
+ 00024055  0x00004097 jam  0x00000001 , 0x000007dc 
+ 00024056  0x00004098 rtn 
+ 00024057  0x0000409b arg  0x00000888 , 0x00000005 
+ 00024058  0x0000409c fetch  0x00000008 , 0x000004df 
+ 00024059  0x0000409d istore  0x00000008 , 0x00000005 
+ 00024060  0x0000409e fetch  0x00000008 , 0x000004e7 
+ 00024061  0x0000409f istore  0x00000008 , 0x00000005 
+ 00024062  0x000040a0 branch  0x0000780f 
+ 00024063  0x000040a3 fetch  0x00000001 , 0x000007db 
+ 00024064  0x000040a4 beq  0x00000007 , 0x00005e03 
+ 00024065  0x000040a5 fetch  0x00000001 , 0x000007da 
+ 00024066  0x000040a6 bne  0x00000001 , 0x00005e16 
+ 00024067  0x000040a8 fetch  0x00000001 , 0x000007e3 
+ 00024068  0x000040a9 sub  0x0000003f , 0x00000020 , 0x00000005 
+ 00024069  0x000040aa nbranch  0x00005e16 , 0x00000002 
+ 00024070  0x000040ab arg  0x000007f0 , 0x00000005 
+ 00024071  0x000040ac iadd  0x00000005 , 0x00000005 
+ 00024072  0x000040ad fetch  0x00000008 , 0x000004df 
+ 00024073  0x000040ae istore  0x00000008 , 0x00000005 
+ 00024074  0x000040af fetch  0x00000008 , 0x000004e7 
+ 00024075  0x000040b0 istore  0x00000008 , 0x00000005 
+ 00024076  0x000040b1 fetch  0x00000001 , 0x000007e3 
+ 00024077  0x000040b2 increase  0x00000010 , 0x0000003f 
+ 00024078  0x000040b3 store  0x00000001 , 0x000007e3 
+ 00024079  0x000040b4 bne  0x00000030 , 0x00005cf5 
+ 00024080  0x000040b6 call  0x00006216 
+ 00024081  0x000040b7 branch  0x00005cf5 , 0x00000001 
+ 00024082  0x000040b8 jam  0x00000001 , 0x000007e4 
+ 00024083  0x000040b9 jam  0x00000002 , 0x000007da 
+ 00024084  0x000040ba jam  0x00000001 , 0x000007dc 
+ 00024085  0x000040bb branch  0x00005cf5 
+ 00024086  0x000040bd jam  0x00000024 , 0x0000007e 
+ 00024087  0x000040be branch  0x00005bc9 
+ 00024088  0x000040c0 fetch  0x00000001 , 0x000007e2 
+ 00024089  0x000040c1 beq  0x00000030 , 0x00005e1c 
+ 00024090  0x000040c2 jam  0x0000003e , 0x0000007c 
+ 00024091  0x000040c3 branch  0x00005b77 
+ 00024092  0x000040c5 call  0x00006216 
+ 00024093  0x000040c6 branch  0x00005e21 , 0x00000001 
+ 00024094  0x000040c7 jam  0x00000001 , 0x000007dc 
+ 00024095  0x000040c8 jam  0x00000004 , 0x000007da 
+ 00024096  0x000040c9 branch  0x00005b77 
+ 00024097  0x000040cc branch  0x00005b77 
+ 00024098  0x000040cf fetch  0x00000001 , 0x000007db 
+ 00024099  0x000040d0 beq  0x00000007 , 0x00005e26 
+ 00024100  0x000040d1 fetch  0x00000001 , 0x000007da 
+ 00024101  0x000040d2 bne  0x00000006 , 0x00005e32 
+ 00024102  0x000040d4 arg  0x00000848 , 0x00000005 
+ 00024103  0x000040d5 fetch  0x00000008 , 0x000004df 
+ 00024104  0x000040d6 istore  0x00000008 , 0x00000005 
+ 00024105  0x000040d7 fetch  0x00000008 , 0x000004e7 
+ 00024106  0x000040d8 istore  0x00000008 , 0x00000005 
+ 00024107  0x000040d9 call  0x00006216 
+ 00024108  0x000040da branch  0x00005e30 , 0x00000001 
+ 00024109  0x000040db jam  0x00000007 , 0x000007da 
+ 00024110  0x000040dc jam  0x00000001 , 0x000007dc 
+ 00024111  0x000040dd branch  0x00005cf5 
+ 00024112  0x000040df jam  0x00000004 , 0x000007db 
+ 00024113  0x000040e0 branch  0x0000780f 
+ 00024114  0x000040e4 jam  0x00000024 , 0x0000007e 
+ 00024115  0x000040e5 branch  0x00005bc9 
+ 00024116  0x000040e8 fetch  0x00000001 , 0x000007db 
+ 00024117  0x000040e9 beq  0x0000000b , 0x00005e38 
+ 00024118  0x000040ea fetch  0x00000001 , 0x000007da 
+ 00024119  0x000040eb bne  0x00000008 , 0x00005e45 
+ 00024120  0x000040ed arg  0x00000878 , 0x00000005 
+ 00024121  0x000040ee fetch  0x00000008 , 0x000004df 
+ 00024122  0x000040ef istore  0x00000008 , 0x00000005 
+ 00024123  0x000040f0 fetch  0x00000008 , 0x000004e7 
+ 00024124  0x000040f1 istore  0x00000008 , 0x00000005 
+ 00024125  0x000040f2 call  0x00006216 
+ 00024126  0x000040f3 branch  0x00005e42 , 0x00000001 
+ 00024127  0x000040f4 jam  0x00000009 , 0x000007da 
+ 00024128  0x000040f5 jam  0x00000001 , 0x000007dc 
+ 00024129  0x000040f6 branch  0x00005b77 
+ 00024130  0x000040f8 jam  0x00000009 , 0x000007db 
+ 00024131  0x000040f9 jam  0x00000001 , 0x000007dd 
+ 00024132  0x000040fa branch  0x00005b77 
+ 00024133  0x000040fc jam  0x00000024 , 0x0000007e 
+ 00024134  0x000040fd branch  0x00005bc9 
+ 00024135  0x00004100 branch  0x00005b77 
+ 00024136  0x00004103 fetch  0x00000001 , 0x00000177 
+ 00024137  0x00004104 set0  0x00000001 
+ 00024138  0x00004105 store  0x00000001 , 0x00000177 
+ 00024139  0x00004106 call  0x00005cf5 
+ 00024140  0x00004107 nrtn  0x00000029 
+ 00024141  0x00004108 fetch  0x00000001 , 0x000004df 
+ 00024142  0x00004109 fetcht  0x00000001 , 0x0000004b 
+ 00024143  0x0000410a setflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00024144  0x0000410b nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00024145  0x0000410c storet  0x00000001 , 0x0000004b 
+ 00024146  0x0000410d rtn 
+ 00024147  0x00004110 fetcht  0x00000008 , 0x000004df 
+ 00024148  0x00004111 fetch  0x00000001 , 0x00004272 
+ 00024149  0x00004112 bne  0x00000050 , 0x00005e58 
+ 00024150  0x00004113 jam  0x00000000 , 0x00004272 
+ 00024151  0x00004114 call  0x000047e5 
+ 00024152  0x00004116 fetch  0x00000001 , 0x00000055 
+ 00024153  0x00004117 rtnne  0x00000003 
+ 00024154  0x00004118 fetch  0x00000001 , 0x00004132 
+ 00024155  0x00004119 beq  0x00000001 , 0x00005e5e 
+ 00024156  0x0000411a fetch  0x00000001 , 0x00000177 
+ 00024157  0x0000411b bbit0  0x00000004 , 0x00005e60 
+ 00024158  0x0000411d jam  0x00000014 , 0x00000055 
+ 00024159  0x0000411e rtn 
+ 00024160  0x00004120 jam  0x00000004 , 0x00000055 
+ 00024161  0x00004121 rtn 
+ 00024162  0x00004123 fetch  0x00000001 , 0x00000189 
+ 00024163  0x00004124 store  0x00000001 , 0x0000015d 
+ 00024164  0x00004125 jam  0x00000003 , 0x0000007c 
+ 00024165  0x00004126 jam  0x00000038 , 0x0000007d 
+ 00024166  0x00004127 rtn 
+ 00024167  0x0000412b jam  0x00000003 , 0x0000007c 
+ 00024168  0x0000412c jam  0x00000039 , 0x0000007d 
+ 00024169  0x0000412d force  0x00000009 , 0x00000039 
+ 00024170  0x0000412e arg  0x000004df , 0x00000006 
+ 00024171  0x0000412f arg  0x00000154 , 0x00000005 
+ 00024172  0x00004131 ifetch  0x00000001 , 0x00000006 
+ 00024173  0x00004132 xor_into  0x00000055 , 0x0000003f 
+ 00024174  0x00004133 istore  0x00000001 , 0x00000005 
+ 00024175  0x00004134 loop  0x00005e6c 
+ 00024176  0x00004135 fetch  0x00000001 , 0x00000154 
+ 00024177  0x00004136 fetcht  0x00000001 , 0x00000153 
+ 00024178  0x00004137 set0  0x00000007 , 0x00000002 
+ 00024179  0x00004138 set0  0x00000004 , 0x00000002 
+ 00024180  0x00004139 beq  0x000000ff , 0x00005e80 
+ 00024181  0x0000413a beq  0x00000000 , 0x00005e99 
+ 00024182  0x0000413b beq  0x00000005 , 0x00005e8d 
+ 00024183  0x0000413c beq  0x00000007 , 0x00005e8c 
+ 00024184  0x0000413d beq  0x00000006 , 0x00005e8d 
+ 00024185  0x0000413e beq  0x00000008 , 0x00005e8c 
+ 00024186  0x0000413f beq  0x00000001 , 0x00005e85 
+ 00024187  0x00004140 beq  0x00000002 , 0x00005e85 
+ 00024188  0x00004141 beq  0x00000003 , 0x00005e85 
+ 00024189  0x00004142 beq  0x00000009 , 0x00005e85 
+ 00024190  0x00004143 beq  0x00000004 , 0x00005e85 
+ 00024191  0x00004144 rtn 
+ 00024192  0x00004147 fetch  0x00000001 , 0x00000153 
+ 00024193  0x00004148 set1  0x00000003 , 0x0000003f 
+ 00024194  0x00004149 set1  0x00000002 , 0x0000003f 
+ 00024195  0x0000414a store  0x00000001 , 0x00000153 
+ 00024196  0x0000414b rtn 
+ 00024197  0x0000414d set1  0x00000004 , 0x00000002 
+ 00024198  0x0000414e jam  0x00000005 , 0x0000018a 
+ 00024199  0x0000414f fetch  0x00000002 , 0x0000015b 
+ 00024200  0x00004150 iforce  0x00000039 
+ 00024201  0x00004151 store  0x00000002 , 0x00000169 
+ 00024202  0x00004152 arg  0x000004de , 0x00000005 
+ 00024203  0x00004153 call  0x00007ed8 
+ 00024204  0x00004155 set1  0x00000007 , 0x00000002 
+ 00024205  0x00004157 set1  0x00000002 , 0x00000002 
+ 00024206  0x00004158 force  0x00000000 , 0x0000003f 
+ 00024207  0x00004159 store  0x00000001 , 0x0000000b 
+ 00024208  0x0000415a store  0x00000002 , 0x000000fc 
+ 00024209  0x0000415b store  0x00000002 , 0x000000fe 
+ 00024210  0x0000415c store  0x00000002 , 0x000000fa 
+ 00024211  0x0000415d store  0x00000002 , 0x000000f8 
+ 00024212  0x0000415e fetch  0x00000001 , 0x00000155 
+ 00024213  0x0000415f compare  0x00000000 , 0x0000003f , 0x000000ff 
+ 00024214  0x00004160 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00024215  0x00004161 storet  0x00000001 , 0x00000153 
+ 00024216  0x00004162 rtn 
+ 00024217  0x00004165 set0  0x00000011 , 0x00000000 
+ 00024218  0x00004166 jam  0x00000000 , 0x00000153 
+ 00024219  0x00004167 fetch  0x00000001 , 0x00000189 
+ 00024220  0x00004168 set0  0x00000006 , 0x0000003f 
+ 00024221  0x00004169 store  0x00000001 , 0x00000189 
+ 00024222  0x0000416a rtn 
+ 00024223  0x0000416d fetch  0x00000001 , 0x00000153 
+ 00024224  0x0000416e rtnbit0  0x00000002 
+ 00024225  0x0000416f fetch  0x00000001 , 0x0000015e 
+ 00024226  0x00004170 increase  0x00000001 , 0x0000003f 
+ 00024227  0x00004171 store  0x00000001 , 0x0000015e 
+ 00024228  0x00004172 rtnne  0x00000005 
+ 00024229  0x00004173 jam  0x00000000 , 0x0000015e 
+ 00024230  0x00004174 fetch  0x00000001 , 0x00000153 
+ 00024231  0x00004175 set0  0x00000002 , 0x0000003f 
+ 00024232  0x00004176 store  0x00000001 , 0x00000153 
+ 00024233  0x00004177 bbit1  0x00000003 , 0x00005ec0 
+ 00024234  0x00004178 isolate1  0x00000007 , 0x0000003f 
+ 00024235  0x00004179 call  0x00007f86 , 0x00000001 
+ 00024236  0x0000417a ncall  0x00007f8a , 0x00000001 
+ 00024237  0x0000417b fetch  0x00000001 , 0x0000015a 
+ 00024238  0x0000417c compare  0x00000020 , 0x0000003f , 0x00000030 
+ 00024239  0x0000417d fetch  0x00000001 , 0x0000004c 
+ 00024240  0x0000417e setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00024241  0x0000417f store  0x00000001 , 0x0000004c 
+ 00024242  0x00004180 fetch  0x00000001 , 0x00000153 
+ 00024243  0x00004181 fetcht  0x00000001 , 0x00000189 
+ 00024244  0x00004182 isolate1  0x00000004 , 0x0000003f 
+ 00024245  0x00004183 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00024246  0x00004184 isolate1  0x00000006 , 0x0000003f 
+ 00024247  0x00004185 setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00024248  0x00004186 setflag  0x00000001 , 0x00000005 , 0x00000002 
+ 00024249  0x00004187 storet  0x00000001 , 0x00000189 
+ 00024250  0x00004188 fetch  0x00000001 , 0x00000156 
+ 00024251  0x00004189 store  0x00000001 , 0x00000447 
+ 00024252  0x0000418a fetch  0x00000001 , 0x00000157 
+ 00024253  0x0000418b store  0x00000001 , 0x00000448 
+ 00024254  0x0000418c set1  0x00000011 , 0x00000000 
+ 00024255  0x0000418d rtn 
+ 00024256  0x00004190 set0  0x00000011 , 0x00000000 
+ 00024257  0x00004191 jam  0x00000000 , 0x00000153 
+ 00024258  0x00004192 fetch  0x00000001 , 0x0000015d 
+ 00024259  0x00004193 store  0x00000001 , 0x00000189 
+ 00024260  0x00004194 hfetch  0x00000001 , 0x00008043 
+ 00024261  0x00004195 and_into  0x000000fb , 0x0000003f 
+ 00024262  0x00004196 hstore  0x00000001 , 0x00008043 
+ 00024263  0x00004197 rtn 
+ 00024264  0x0000419b arg  0x000004df , 0x00000006 
+ 00024265  0x0000419c arg  0x000004ef , 0x00000005 
+ 00024266  0x0000419d branch  0x00007e35 
+ 00024267  0x000041a0 jam  0x00000009 , 0x0000007c 
+ 00024268  0x000041a1 rtn 
+ 00024269  0x000041a4 nrtn  0x00000029 
+ 00024270  0x000041a5 jam  0x00000011 , 0x0000007c 
+ 00024271  0x000041a6 rtn 
+ 00024272  0x000041a9 arg  0x00004140 , 0x00000011 
+ 00024273  0x000041aa call  0x0000736a 
+ 00024274  0x000041ab jam  0x00000003 , 0x0000007c 
+ 00024275  0x000041ac jam  0x00000008 , 0x0000007d 
+ 00024276  0x000041ad rtn 
+ 00024277  0x000041b0 jam  0x0000000a , 0x00000072 
+ 00024278  0x000041b1 jam  0x00000007 , 0x0000007c 
+ 00024279  0x000041b2 jam  0x00000016 , 0x00000446 
+ 00024280  0x000041b3 rtn 
+ 00024281  0x000041ba set1  0x00000025 , 0x00000000 
+ 00024282  0x000041bb bpatch  0x000000e3 , 0x0000403c 
+ 00024283  0x000041bc disable  0x00000028 
+ 00024284  0x000041bd call  0x000061d9 
+ 00024285  0x000041be fetch  0x00000001 , 0x00000048 
+ 00024286  0x000041bf rtn  0x00000034 
+ 00024287  0x000041c4 bbit1  0x00000007 , 0x00005f10 
+ 00024288  0x000041c5 beq  0x00000001 , 0x00006072 
+ 00024289  0x000041c6 beq  0x00000002 , 0x00005f9b 
+ 00024290  0x000041c7 beq  0x00000003 , 0x00005f1d 
+ 00024291  0x000041c8 beq  0x00000004 , 0x00005f36 
+ 00024292  0x000041c9 beq  0x00000027 , 0x000060f2 
+ 00024293  0x000041ca beq  0x00000028 , 0x00005fbf 
+ 00024294  0x000041cb beq  0x00000030 , 0x00005fab 
+ 00024295  0x000041cc beq  0x00000025 , 0x000060ed 
+ 00024296  0x000041cd beq  0x00000026 , 0x00005fba 
+ 00024297  0x000041ce beq  0x00000031 , 0x000060dc 
+ 00024298  0x000041cf beq  0x00000037 , 0x0000606d 
+ 00024299  0x000041d0 beq  0x00000033 , 0x0000605f 
+ 00024300  0x000041d1 beq  0x00000008 , 0x00006174 
+ 00024301  0x000041d2 beq  0x00000009 , 0x0000616a 
+ 00024302  0x000041d3 beq  0x0000000b , 0x0000617f 
+ 00024303  0x000041d4 beq  0x0000000c , 0x00006188 
+ 00024304  0x000041d5 beq  0x0000000f , 0x00006065 
+ 00024305  0x000041d6 beq  0x00000010 , 0x000061af 
+ 00024306  0x000041d7 beq  0x00000011 , 0x000061a5 
+ 00024307  0x000041d8 beq  0x00000007 , 0x00006055 
+ 00024308  0x000041d9 beq  0x0000002a , 0x00006081 
+ 00024309  0x000041da beq  0x0000000a , 0x00006082 
+ 00024310  0x000041dc beq  0x0000002b , 0x000060b5 
+ 00024311  0x000041dd beq  0x00000006 , 0x00005fb0 
+ 00024312  0x000041de beq  0x00000021 , 0x00006062 
+ 00024313  0x000041df beq  0x0000002d , 0x000060d2 
+ 00024314  0x000041e0 beq  0x0000002e , 0x000060d7 
+ 00024315  0x000041e1 beq  0x00000022 , 0x00006062 
+ 00024316  0x000041e2 beq  0x0000002c , 0x000060cb 
+ 00024317  0x000041e3 beq  0x00000034 , 0x00006083 
+ 00024318  0x000041e4 beq  0x00000013 , 0x00006098 
+ 00024319  0x000041e5 beq  0x00000017 , 0x000060a7 
+ 00024320  0x000041e6 beq  0x00000012 , 0x000061ac 
+ 00024321  0x000041e7 beq  0x0000002f , 0x000060ad 
+ 00024322  0x000041e8 beq  0x00000018 , 0x000060b2 
+ 00024323  0x000041e9 beq  0x0000003d , 0x00006119 
+ 00024324  0x000041ea beq  0x0000003e , 0x00006125 
+ 00024325  0x000041eb beq  0x0000003f , 0x00006137 
+ 00024326  0x000041ec beq  0x00000040 , 0x00006142 
+ 00024327  0x000041ed beq  0x00000041 , 0x00006157 
+ 00024328  0x000041ee beq  0x00000023 , 0x00006166 
+ 00024329  0x000041ef beq  0x0000003b , 0x00006161 
+ 00024330  0x000041f1 beq  0x00000005 , 0x00006167 
+ 00024331  0x000041f2 beq  0x00000029 , 0x00006168 
+ 00024332  0x000041f3 beq  0x00000038 , 0x00006169 
+ 00024333  0x000041f4 beq  0x00000039 , 0x00006078 
+ 00024334  0x000041f6 branch  0x00003bf1 
+ 00024335  0x000041f7 rtn 
+ 00024336  0x000041f9 beq  0x0000008c , 0x00005fc4 
+ 00024337  0x000041fa beq  0x0000008d , 0x00005fe3 
+ 00024338  0x000041fb beq  0x00000081 , 0x00005f43 
+ 00024339  0x000041fc beq  0x00000084 , 0x00005f76 
+ 00024340  0x000041fd beq  0x00000082 , 0x00005f50 
+ 00024341  0x000041fe beq  0x00000083 , 0x00005fec 
+ 00024342  0x000041ff beq  0x0000008b , 0x00005ff7 
+ 00024343  0x00004200 beq  0x00000097 , 0x00006051 
+ 00024344  0x00004201 beq  0x00000099 , 0x00005f8c 
+ 00024345  0x00004202 beq  0x0000009a , 0x00005f81 
+ 00024346  0x00004203 beq  0x00000095 , 0x00005f91 
+ 00024347  0x00004204 beq  0x00000096 , 0x00005f92 
+ 00024348  0x00004205 branch  0x00003bf1 
+ 00024349  0x0000420c force  0x00000002 , 0x0000003f 
+ 00024350  0x0000420d call  0x000061b5 
+ 00024351  0x0000420e fetch  0x00000001 , 0x00000049 
+ 00024352  0x0000420f istore  0x00000001 , 0x00000005 
+ 00024353  0x00004210 beq  0x0000002b , 0x00005f5a 
+ 00024354  0x00004211 call  0x000061c4 
+ 00024355  0x00004212 fetch  0x00000001 , 0x00000049 
+ 00024356  0x00004213 beq  0x00000008 , 0x00005f5d 
+ 00024357  0x00004214 beq  0x0000000f , 0x00005f61 
+ 00024358  0x00004215 beq  0x00000010 , 0x00005f6c 
+ 00024359  0x00004216 beq  0x00000017 , 0x00005f33 
+ 00024360  0x00004217 beq  0x00000033 , 0x00005f6f 
+ 00024361  0x00004218 beq  0x0000002c , 0x00005f74 
+ 00024362  0x00004219 beq  0x00000041 , 0x00005f75 
+ 00024363  0x0000421a beq  0x00000011 , 0x00005f2d 
+ 00024364  0x0000421b rtn 
+ 00024365  0x0000421e fetch  0x00000001 , 0x00000055 
+ 00024366  0x0000421f rtn  0x00000034 
+ 00024367  0x00004220 jam  0x0000001b , 0x00000055 
+ 00024368  0x00004221 setarg  0x0000000c 
+ 00024369  0x00004222 arg  0x0000000b , 0x00000007 
+ 00024370  0x00004223 branch  0x00007e4c 
+ 00024371  0x00004226 force  0x00000002 , 0x00000002 
+ 00024372  0x00004227 call  0x00004907 
+ 00024373  0x00004228 branch  0x000037e1 
+ 00024374  0x0000422a force  0x00000003 , 0x0000003f 
+ 00024375  0x0000422b call  0x000061b5 
+ 00024376  0x0000422c fetch  0x00000001 , 0x00000049 
+ 00024377  0x0000422d beq  0x0000000b , 0x00005f3e 
+ 00024378  0x0000422e istore  0x00000001 , 0x00000005 
+ 00024379  0x0000422f fetch  0x00000001 , 0x0000004a 
+ 00024380  0x00004230 istore  0x00000001 , 0x00000005 
+ 00024381  0x00004231 branch  0x000061c4 
+ 00024382  0x00004234 istore  0x00000001 , 0x00000005 
+ 00024383  0x00004235 fetch  0x00000001 , 0x0000004a 
+ 00024384  0x00004236 istore  0x00000001 , 0x00000005 
+ 00024385  0x00004237 arg  0x00000451 , 0x00000002 
+ 00024386  0x00004238 branch  0x000061fb 
+ 00024387  0x0000423b force  0x00000004 , 0x00000007 
+ 00024388  0x0000423c call  0x000061bd 
+ 00024389  0x0000423d setarg  0x0000007f 
+ 00024390  0x0000423e istore  0x00000001 , 0x00000005 
+ 00024391  0x0000423f fetch  0x00000001 , 0x00000049 
+ 00024392  0x00004240 set0  0x00000007 , 0x0000003f 
+ 00024393  0x00004241 istore  0x00000001 , 0x00000005 
+ 00024394  0x00004242 fetch  0x00000001 , 0x00000049 
+ 00024395  0x00004243 beq  0x0000008c , 0x00005f5a 
+ 00024396  0x00004244 call  0x000061c4 
+ 00024397  0x00004245 fetch  0x00000001 , 0x00000049 
+ 00024398  0x00004246 beq  0x0000008d , 0x00005f74 
+ 00024399  0x00004247 rtn 
+ 00024400  0x0000424a force  0x00000005 , 0x00000007 
+ 00024401  0x0000424b call  0x000061bd 
+ 00024402  0x0000424c setarg  0x0000007f 
+ 00024403  0x0000424d istore  0x00000001 , 0x00000005 
+ 00024404  0x0000424e fetch  0x00000001 , 0x00000049 
+ 00024405  0x0000424f set0  0x00000007 , 0x0000003f 
+ 00024406  0x00004250 istore  0x00000001 , 0x00000005 
+ 00024407  0x00004251 fetch  0x00000001 , 0x0000004a 
+ 00024408  0x00004252 istore  0x00000001 , 0x00000005 
+ 00024409  0x00004253 branch  0x000061c4 
+ 00024410  0x00004256 call  0x0000384a 
+ 00024411  0x00004257 arg  0x00000452 , 0x00000002 
+ 00024412  0x00004258 branch  0x000061fb 
+ 00024413  0x0000425c call  0x00003507 
+ 00024414  0x0000425d call  0x0000620d 
+ 00024415  0x0000425e rtn  0x00000001 
+ 00024416  0x0000425f branch  0x00005ecb 
+ 00024417  0x00004262 fetch  0x00000001 , 0x0000004b 
+ 00024418  0x00004263 bbit1  0x00000005 , 0x00005f68 
+ 00024419  0x00004264 rtnbit0  0x00000004 
+ 00024420  0x00004265 jam  0x00000012 , 0x0000007c 
+ 00024421  0x00004266 set0  0x00000004 , 0x0000003f 
+ 00024422  0x00004267 call  0x00006205 
+ 00024423  0x00004268 branch  0x00005f6a 
+ 00024424  0x0000426a jam  0x00000010 , 0x0000007c 
+ 00024425  0x0000426b set0  0x00000005 , 0x0000003f 
+ 00024426  0x0000426d store  0x00000001 , 0x0000004b 
+ 00024427  0x0000426e rtn 
+ 00024428  0x00004271 call  0x00006216 
+ 00024429  0x00004272 branch  0x00005ecd , 0x00000001 
+ 00024430  0x00004273 rtn 
+ 00024431  0x00004277 fetch  0x00000001 , 0x0000044d 
+ 00024432  0x00004278 set1  0x00000000 , 0x0000003f 
+ 00024433  0x00004279 store  0x00000001 , 0x0000044d 
+ 00024434  0x0000427a jam  0x00000001 , 0x00000b7d 
+ 00024435  0x0000427b branch  0x00007c27 
+ 00024436  0x0000427f rtn 
+ 00024437  0x00004282 rtn 
+ 00024438  0x00004287 force  0x0000000c , 0x00000007 
+ 00024439  0x00004288 call  0x000061bd 
+ 00024440  0x00004289 setarg  0x00000001 
+ 00024441  0x0000428a istore  0x00000001 , 0x00000005 
+ 00024442  0x0000428b fetch  0x00000002 , 0x0000044a 
+ 00024443  0x0000428c istore  0x00000002 , 0x00000005 
+ 00024444  0x0000428d setarg  0x00000000 
+ 00024445  0x0000428e istore  0x00000003 , 0x00000005 
+ 00024446  0x0000428f setarg  0x00000000 
+ 00024447  0x00004290 istore  0x00000004 , 0x00000005 
+ 00024448  0x00004291 branch  0x000061cd 
+ 00024449  0x00004294 force  0x00000005 , 0x00000007 
+ 00024450  0x00004295 call  0x000061bd 
+ 00024451  0x00004296 fetch  0x00000001 , 0x00004132 
+ 00024452  0x00004297 beq  0x00000001 , 0x00005f89 
+ 00024453  0x00004298 setarg  0x00040003 
+ 00024454  0x00004299 istore  0x00000003 , 0x00000005 
+ 00024455  0x0000429a store  0x00000003 , 0x000007e6 
+ 00024456  0x0000429b branch  0x000061cd 
+ 00024457  0x0000429d fetch  0x00000003 , 0x000007e6 
+ 00024458  0x0000429e istore  0x00000003 , 0x00000005 
+ 00024459  0x0000429f branch  0x000061cd 
+ 00024460  0x000042a2 force  0x00000005 , 0x00000007 
+ 00024461  0x000042a3 call  0x000061bd 
+ 00024462  0x000042a4 fetch  0x00000003 , 0x000007e6 
+ 00024463  0x000042a5 istore  0x00000003 , 0x00000005 
+ 00024464  0x000042a6 branch  0x000061cf 
+ 00024465  0x000042ab rtn 
+ 00024466  0x000042ad force  0x00000009 , 0x00000007 
+ 00024467  0x000042ae call  0x000061bd 
+ 00024468  0x000042af fetch  0x00000001 , 0x00000097 
+ 00024469  0x000042b0 istore  0x00000001 , 0x00000005 
+ 00024470  0x000042b1 fetch  0x00000002 , 0x00000098 
+ 00024471  0x000042b2 istore  0x00000002 , 0x00000005 
+ 00024472  0x000042b3 fetch  0x00000004 , 0x00000093 
+ 00024473  0x000042b4 istore  0x00000004 , 0x00000005 
+ 00024474  0x000042b5 branch  0x000061cd 
+ 00024475  0x000042b8 force  0x00000011 , 0x0000003f 
+ 00024476  0x000042b9 call  0x000061b5 
+ 00024477  0x000042ba fetch  0x00000001 , 0x00000049 
+ 00024478  0x000042bb copy  0x0000003f , 0x00000002 
+ 00024479  0x000042bc beq  0x00000000 , 0x00005fa3 
+ 00024480  0x000042bd beq  0x0000000e , 0x00005fa3 
+ 00024481  0x000042be beq  0x0000001c , 0x00005fa3 
+ 00024482  0x000042bf rtn 
+ 00024483  0x000042c1 istore  0x00000001 , 0x00000005 
+ 00024484  0x000042c2 fetch  0x00000001 , 0x00004702 
+ 00024485  0x000042c3 istore  0x00000001 , 0x00000005 
+ 00024486  0x000042c4 copy  0x0000003f , 0x00000039 
+ 00024487  0x000042c5 setarg  0x00004703 
+ 00024488  0x000042c6 iadd  0x00000002 , 0x00000006 
+ 00024489  0x000042c7 call  0x00007e45 
+ 00024490  0x000042c8 branch  0x000061cd 
+ 00024491  0x000042cc force  0x00000003 , 0x0000003f 
+ 00024492  0x000042cd call  0x000061b5 
+ 00024493  0x000042ce setarg  0x00000114 
+ 00024494  0x000042cf istore  0x00000002 , 0x00000005 
+ 00024495  0x000042d0 branch  0x000061cd 
+ 00024496  0x000042d4 force  0x00000003 , 0x0000003f 
+ 00024497  0x000042d5 call  0x000061b5 
+ 00024498  0x000042d6 fetch  0x00000004 , 0x0000016f 
+ 00024499  0x000042d7 isub  0x00000022 , 0x0000003f 
+ 00024500  0x000042d8 branch  0x00005fb6 , 0x00000029 
+ 00024501  0x000042d9 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00024502  0x000042dc rshift2  0x0000003f , 0x0000003f 
+ 00024503  0x000042dd set0  0x0000000f , 0x0000003f 
+ 00024504  0x000042de istore  0x00000002 , 0x00000005 
+ 00024505  0x000042df branch  0x000061cd 
+ 00024506  0x000042e2 force  0x00000006 , 0x0000003f 
+ 00024507  0x000042e3 call  0x000061b5 
+ 00024508  0x000042e4 fetch  0x00000005 , 0x000046fd 
+ 00024509  0x000042e5 istore  0x00000005 , 0x00000005 
+ 00024510  0x000042e6 branch  0x000061cd 
+ 00024511  0x000042e9 force  0x00000009 , 0x0000003f 
+ 00024512  0x000042ea call  0x000061b5 
+ 00024513  0x000042eb fetch  0x00000008 , 0x00004138 
+ 00024514  0x000042ec istore  0x00000008 , 0x00000005 
+ 00024515  0x000042ed branch  0x000061cd 
+ 00024516  0x000042f4 branch  0x00005fc6 , 0x00000029 
+ 00024517  0x000042f7 branch  0x00005fc7 
+ 00024518  0x000042f9 jam  0x00000007 , 0x000041f9 
+ 00024519  0x000042fb jam  0x00000000 , 0x000000af 
+ 00024520  0x000042fc force  0x00000010 , 0x00000007 
+ 00024521  0x000042fd call  0x000061bd 
+ 00024522  0x000042fe fetch  0x00000001 , 0x000000ad 
+ 00024523  0x000042ff istore  0x00000001 , 0x00000005 
+ 00024524  0x00004300 fetch  0x00000001 , 0x000041f9 
+ 00024525  0x00004301 istore  0x00000001 , 0x00000005 
+ 00024526  0x00004302 setarg  0x00000000 
+ 00024527  0x00004303 istore  0x00000001 , 0x00000005 
+ 00024528  0x00004304 fetch  0x00000001 , 0x000000af 
+ 00024529  0x00004305 istore  0x00000001 , 0x00000005 
+ 00024530  0x00004306 setarg  0x00000006 
+ 00024531  0x00004307 istore  0x00000001 , 0x00000005 
+ 00024532  0x00004308 setarg  0x00000002 
+ 00024533  0x00004309 istore  0x00000001 , 0x00000005 
+ 00024534  0x0000430a setarg  0x00000007 
+ 00024535  0x0000430b istore  0x00000001 , 0x00000005 
+ 00024536  0x0000430c istore  0x00000001 , 0x00000005 
+ 00024537  0x0000430d setarg  0x0000001e 
+ 00024538  0x0000430e istore  0x00000002 , 0x00000005 
+ 00024539  0x0000430f istore  0x00000002 , 0x00000005 
+ 00024540  0x00004310 fetch  0x00000001 , 0x000000ab 
+ 00024541  0x00004311 istore  0x00000001 , 0x00000005 
+ 00024542  0x00004312 fetch  0x00000001 , 0x000000b1 
+ 00024543  0x00004313 istore  0x00000001 , 0x00000005 
+ 00024544  0x00004314 nbranch  0x000061cd , 0x00000034 
+ 00024545  0x00004315 branch  0x000061cd , 0x00000029 
+ 00024546  0x00004316 branch  0x000061cf 
+ 00024547  0x00004319 force  0x00000004 , 0x00000007 
+ 00024548  0x0000431a call  0x000061bd 
+ 00024549  0x0000431b fetch  0x00000001 , 0x000000ad 
+ 00024550  0x0000431c istore  0x00000001 , 0x00000005 
+ 00024551  0x0000431d fetch  0x00000001 , 0x00000446 
+ 00024552  0x0000431e istore  0x00000001 , 0x00000005 
+ 00024553  0x0000431f fetch  0x00000001 , 0x000000b4 
+ 00024554  0x00004320 store  0x00000001 , 0x00000047 
+ 00024555  0x00004321 branch  0x000061cf 
+ 00024556  0x00004325 force  0x0000000c , 0x00000007 
+ 00024557  0x00004326 call  0x000061bd 
+ 00024558  0x00004327 setarg  0x00000001 
+ 00024559  0x00004328 istore  0x00000001 , 0x00000005 
+ 00024560  0x00004329 fetch  0x00000002 , 0x0000044a 
+ 00024561  0x0000432a istore  0x00000002 , 0x00000005 
+ 00024562  0x0000432b setarg  0x00000000 
+ 00024563  0x0000432c istore  0x00000003 , 0x00000005 
+ 00024564  0x0000432d setarg  0x00000000 
+ 00024565  0x0000432e istore  0x00000004 , 0x00000005 
+ 00024566  0x0000432f branch  0x000061cf 
+ 00024567  0x00004332 force  0x00000003 , 0x00000007 
+ 00024568  0x00004333 call  0x000061bd 
+ 00024569  0x00004334 fetch  0x00000001 , 0x000041fb 
+ 00024570  0x00004335 istore  0x00000001 , 0x00000005 
+ 00024571  0x00004336 disable  0x00000028 
+ 00024572  0x00004337 call  0x000061cf 
+ 00024573  0x00004338 nrtn  0x00000028 
+ 00024574  0x00004339 nrtn  0x00000029 
+ 00024575  0x0000433a fetch  0x00000001 , 0x00004179 
+ 00024576  0x0000433b rtnbit0  0x00000000 
+ 00024577  0x0000433c call  0x0000600f 
+ 00024578  0x0000433d branch  0x00006019 
+ 00024579  0x00004341 fetch  0x00000001 , 0x0000413e 
+ 00024580  0x00004342 set1  0x00000003 , 0x0000003f 
+ 00024581  0x00004343 store  0x00000001 , 0x0000413e 
+ 00024582  0x00004344 setarg  0x00000101 
+ 00024583  0x00004345 store  0x00000002 , 0x0000044a 
+ 00024584  0x00004346 rtn 
+ 00024585  0x00004349 fetch  0x00000001 , 0x0000413e 
+ 00024586  0x0000434a set0  0x00000003 , 0x0000003f 
+ 00024587  0x0000434b store  0x00000001 , 0x0000413e 
+ 00024588  0x0000434c setarg  0x00000000 
+ 00024589  0x0000434d store  0x00000002 , 0x0000044a 
+ 00024590  0x0000434e rtn 
+ 00024591  0x00004351 jam  0x00000003 , 0x00004179 
+ 00024592  0x00004352 setarg  0x00000000 
+ 00024593  0x00004353 store  0x00000004 , 0x000041e3 
+ 00024594  0x00004354 arg  0x0000417b , 0x00000005 
+ 00024595  0x00004355 call  0x00006023 
+ 00024596  0x00004356 arg  0x00004188 , 0x00000005 
+ 00024597  0x00004357 call  0x00006023 
+ 00024598  0x00004358 arg  0x000041e7 , 0x00000005 
+ 00024599  0x00004359 call  0x00006023 
+ 00024600  0x0000435a branch  0x0000602a 
+ 00024601  0x0000435c arg  0x00004188 , 0x00000005 
+ 00024602  0x0000435d call  0x00006023 
+ 00024603  0x0000435e call  0x0000602a 
+ 00024604  0x0000435f branch  0x0000602d 
+ 00024605  0x00004363 fetch  0x00000005 , 0x000041e7 
+ 00024606  0x00004364 store  0x00000005 , 0x00004188 
+ 00024607  0x00004365 ifetch  0x00000005 , 0x00000006 
+ 00024608  0x00004366 istore  0x00000005 , 0x00000005 
+ 00024609  0x00004367 call  0x0000602a 
+ 00024610  0x00004368 branch  0x0000602d 
+ 00024611  0x0000436b setarg  0x00ffffff 
+ 00024612  0x0000436c istore  0x00000003 , 0x00000005 
+ 00024613  0x0000436d istore  0x00000003 , 0x00000005 
+ 00024614  0x0000436e istore  0x00000003 , 0x00000005 
+ 00024615  0x0000436f setarg  0x0000007f 
+ 00024616  0x00004370 istore  0x00000001 , 0x00000005 
+ 00024617  0x00004371 rtn 
+ 00024618  0x00004373 setarg  0x00000000 
+ 00024619  0x00004374 store  0x00000002 , 0x00004177 
+ 00024620  0x00004375 rtn 
+ 00024621  0x00004377 fetch  0x00000001 , 0x00004179 
+ 00024622  0x00004378 set1  0x00000002 , 0x0000003f 
+ 00024623  0x00004379 store  0x00000001 , 0x00004179 
+ 00024624  0x0000437a rtn 
+ 00024625  0x0000437c nrtn  0x00000029 
+ 00024626  0x0000437d force  0x00000010 , 0x0000003f 
+ 00024627  0x0000437e call  0x000061b5 
+ 00024628  0x0000437f deposit  0x00000022 
+ 00024629  0x00004380 arg  0x000001dc , 0x00000002 
+ 00024630  0x00004381 iadd  0x00000002 , 0x0000003f 
+ 00024631  0x00004382 rshift  0x0000003f , 0x0000003f 
+ 00024632  0x00004383 increase  0x00000001 , 0x0000003f 
+ 00024633  0x00004384 set0  0x00000000 , 0x0000003f 
+ 00024634  0x00004385 istore  0x00000004 , 0x00000005 
+ 00024635  0x00004386 copy  0x0000003f , 0x00000002 
+ 00024636  0x00004387 setarg  0x00000001 
+ 00024637  0x00004388 istore  0x00000001 , 0x00000005 
+ 00024638  0x00004389 fetch  0x00000005 , 0x00004188 
+ 00024639  0x0000438a istore  0x00000005 , 0x00000005 
+ 00024640  0x0000438b ifetch  0x00000005 , 0x00000006 
+ 00024641  0x0000438c istore  0x00000005 , 0x00000005 
+ 00024642  0x0000438d lshift  0x00000002 , 0x00000002 
+ 00024643  0x0000438e storet  0x00000004 , 0x00004173 
+ 00024644  0x0000438f call  0x000061cf 
+ 00024645  0x00004390 fetch  0x00000001 , 0x00000031 
+ 00024646  0x00004391 set1  0x00000003 , 0x0000003f 
+ 00024647  0x00004392 store  0x00000001 , 0x00000031 
+ 00024648  0x00004393 jam  0x00000001 , 0x0000417a 
+ 00024649  0x00004394 fetch  0x00000004 , 0x00004173 
+ 00024650  0x00004395 arg  0x0002ee00 , 0x00000002 
+ 00024651  0x00004396 iadd  0x00000002 , 0x0000003f 
+ 00024652  0x00004397 store  0x00000004 , 0x000041e3 
+ 00024653  0x00004398 fetch  0x00000001 , 0x00004179 
+ 00024654  0x00004399 rtnbit1  0x00000004 
+ 00024655  0x0000439a jam  0x00000090 , 0x0000007c 
+ 00024656  0x0000439b rtn 
+ 00024657  0x0000439f force  0x00000002 , 0x00000007 
+ 00024658  0x000043a0 call  0x000061bd 
+ 00024659  0x000043a1 nbranch  0x000061cd , 0x00000029 
+ 00024660  0x000043a3 branch  0x000061cf 
+ 00024661  0x000043a8 force  0x00000002 , 0x0000003f 
+ 00024662  0x000043a9 call  0x000061b5 
+ 00024663  0x000043aa fetch  0x00000001 , 0x00000446 
+ 00024664  0x000043ab istore  0x00000001 , 0x00000005 
+ 00024665  0x000043ac call  0x000061cf 
+ 00024666  0x000043ae fetch  0x00000001 , 0x0000004b 
+ 00024667  0x000043af set1  0x00000003 , 0x0000003f 
+ 00024668  0x000043b0 store  0x00000001 , 0x0000004b 
+ 00024669  0x000043b1 jam  0x00000032 , 0x00000072 
+ 00024670  0x000043b2 rtn 
+ 00024671  0x000043b6 force  0x00000001 , 0x0000003f 
+ 00024672  0x000043b7 call  0x000061b5 
+ 00024673  0x000043b8 branch  0x000061cf 
+ 00024674  0x000043ba force  0x00000001 , 0x0000003f 
+ 00024675  0x000043bb call  0x000061b5 
+ 00024676  0x000043bc branch  0x000061cd 
+ 00024677  0x000043c0 force  0x00000002 , 0x0000003f 
+ 00024678  0x000043c1 call  0x000061b5 
+ 00024679  0x000043c2 fetch  0x00000001 , 0x0000004c 
+ 00024680  0x000043c3 isolate0  0x00000002 , 0x0000003f 
+ 00024681  0x000043c4 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024682  0x000043c5 and_into  0x00000001 , 0x0000003f 
+ 00024683  0x000043c6 istore  0x00000001 , 0x00000005 
+ 00024684  0x000043c7 branch  0x000061cf 
+ 00024685  0x000043cb force  0x00000003 , 0x0000003f 
+ 00024686  0x000043cc call  0x000061b5 
+ 00024687  0x000043cd fetch  0x00000002 , 0x00000051 
+ 00024688  0x000043ce istore  0x00000002 , 0x00000005 
+ 00024689  0x000043cf branch  0x000061cf 
+ 00024690  0x000043d2 jam  0x000000fa , 0x00000072 
+ 00024691  0x000043d3 force  0x00000002 , 0x0000003f 
+ 00024692  0x000043d4 call  0x000061b5 
+ 00024693  0x000043d5 fetch  0x00000001 , 0x00000053 
+ 00024694  0x000043d6 istore  0x00000001 , 0x00000005 
+ 00024695  0x000043d7 branch  0x000061cf 
+ 00024696  0x000043da force  0x0000000a , 0x0000003f 
+ 00024697  0x000043db call  0x000061b5 
+ 00024698  0x000043dc arg  0x00000154 , 0x00000006 
+ 00024699  0x000043dd force  0x00000009 , 0x00000039 
+ 00024700  0x000043df ifetch  0x00000001 , 0x00000006 
+ 00024701  0x000043e0 xor_into  0x00000055 , 0x0000003f 
+ 00024702  0x000043e1 istore  0x00000001 , 0x00000005 
+ 00024703  0x000043e2 loop  0x0000607c 
+ 00024704  0x000043e3 branch  0x000061cf 
+ 00024705  0x000043e6 branch  0x000061cf 
+ 00024706  0x000043e8 branch  0x000061cf 
+ 00024707  0x000043eb rtn  0x00000029 
+ 00024708  0x000043ec call  0x00003997 
+ 00024709  0x000043ed force  0x00000009 , 0x0000003f 
+ 00024710  0x000043ee call  0x000061b5 
+ 00024711  0x000043ef fetch  0x00000002 , 0x0000017b 
+ 00024712  0x000043f0 istore  0x00000002 , 0x00000005 
+ 00024713  0x000043f1 fetch  0x00000003 , 0x00004140 
+ 00024714  0x000043f2 istore  0x00000003 , 0x00000005 
+ 00024715  0x000043f3 fetch  0x00000001 , 0x00004143 
+ 00024716  0x000043f4 istore  0x00000001 , 0x00000005 
+ 00024717  0x000043f5 fetch  0x00000002 , 0x00004144 
+ 00024718  0x000043f6 istore  0x00000002 , 0x00000005 
+ 00024719  0x000043f7 bmark0  0x00000003 , 0x00006094 
+ 00024720  0x000043f8 set0  0x00000003 , 0x00000000 
+ 00024721  0x000043f9 call  0x000061cf 
+ 00024722  0x000043fa jam  0x00000013 , 0x0000007c 
+ 00024723  0x000043fb rtn 
+ 00024724  0x000043fd call  0x000061cd 
+ 00024725  0x000043fe jam  0x00000003 , 0x0000007c 
+ 00024726  0x000043ff jam  0x00000013 , 0x0000007d 
+ 00024727  0x00004400 rtn 
+ 00024728  0x00004403 arg  0x00000200 , 0x00000002 
+ 00024729  0x00004404 branch  0x0000609c , 0x00000029 
+ 00024730  0x00004405 deposit  0x00000028 
+ 00024731  0x00004406 branch  0x0000609d 
+ 00024732  0x00004408 deposit  0x00000022 
+ 00024733  0x0000440a deposit  0x00000021 
+ 00024734  0x0000440b iadd  0x00000002 , 0x0000003f 
+ 00024735  0x0000440c and_into  0x000001fc , 0x0000003f 
+ 00024736  0x0000440d store  0x00000004 , 0x00000034 
+ 00024737  0x0000440e force  0x00000005 , 0x0000003f 
+ 00024738  0x0000440f call  0x000061b5 
+ 00024739  0x00004410 fetch  0x00000004 , 0x00000034 
+ 00024740  0x00004411 rshift  0x0000003f , 0x0000003f 
+ 00024741  0x00004412 istore  0x00000004 , 0x00000005 
+ 00024742  0x00004413 branch  0x000061cf 
+ 00024743  0x00004416 force  0x0000000a , 0x0000003f 
+ 00024744  0x00004417 call  0x000061b5 
+ 00024745  0x00004418 arg  0x00000455 , 0x00000006 
+ 00024746  0x00004419 ifetch  0x00000009 , 0x00000006 
+ 00024747  0x0000441a istore  0x00000009 , 0x00000005 
+ 00024748  0x0000441b branch  0x000061cf 
+ 00024749  0x00004420 force  0x00000003 , 0x0000003f 
+ 00024750  0x00004421 call  0x000061b5 
+ 00024751  0x00004422 setarg  0x00000114 
+ 00024752  0x00004423 istore  0x00000002 , 0x00000005 
+ 00024753  0x00004424 branch  0x000061cf 
+ 00024754  0x00004428 force  0x00000001 , 0x0000003f 
+ 00024755  0x00004429 call  0x000061b5 
+ 00024756  0x00004432 branch  0x000061cf 
+ 00024757  0x00004435 branch  0x000060ba , 0x00000029 
+ 00024758  0x00004436 jam  0x00000000 , 0x000000ad 
+ 00024759  0x00004437 fetch  0x00000001 , 0x00000031 
+ 00024760  0x00004438 set1  0x00000004 , 0x0000003f 
+ 00024761  0x00004439 store  0x00000001 , 0x00000031 
+ 00024762  0x0000443b jam  0x00000000 , 0x000000af 
+ 00024763  0x0000443c force  0x00000007 , 0x0000003f 
+ 00024764  0x0000443d call  0x000061b5 
+ 00024765  0x0000443e fetch  0x00000001 , 0x000000ad 
+ 00024766  0x0000443f istore  0x00000001 , 0x00000005 
+ 00024767  0x00004440 setarg  0x00000000 
+ 00024768  0x00004441 istore  0x00000001 , 0x00000005 
+ 00024769  0x00004442 fetch  0x00000001 , 0x000000af 
+ 00024770  0x00004443 istore  0x00000001 , 0x00000005 
+ 00024771  0x00004444 setarg  0x00000006 
+ 00024772  0x00004445 istore  0x00000001 , 0x00000005 
+ 00024773  0x00004446 setarg  0x00000002 
+ 00024774  0x00004447 istore  0x00000001 , 0x00000005 
+ 00024775  0x00004448 fetch  0x00000001 , 0x000000ab 
+ 00024776  0x00004449 istore  0x00000001 , 0x00000005 
+ 00024777  0x0000444a branch  0x000061cd , 0x00000029 
+ 00024778  0x0000444b branch  0x000061ca 
+ 00024779  0x0000444f force  0x00000003 , 0x0000003f 
+ 00024780  0x00004450 call  0x000061b5 
+ 00024781  0x00004451 fetch  0x00000001 , 0x000000ad 
+ 00024782  0x00004452 istore  0x00000001 , 0x00000005 
+ 00024783  0x00004453 force  0x00000013 , 0x0000003f 
+ 00024784  0x00004454 istore  0x00000001 , 0x00000005 
+ 00024785  0x00004455 branch  0x000061cf 
+ 00024786  0x00004458 force  0x00000002 , 0x0000003f 
+ 00024787  0x00004459 call  0x000061b5 
+ 00024788  0x0000445a fetch  0x00000001 , 0x00004171 
+ 00024789  0x0000445b istore  0x00000001 , 0x00000005 
+ 00024790  0x0000445c branch  0x000061cf 
+ 00024791  0x00004460 force  0x00000002 , 0x0000003f 
+ 00024792  0x00004461 call  0x000061b5 
+ 00024793  0x00004462 setarg  0x00000005 
+ 00024794  0x00004463 istore  0x00000001 , 0x00000005 
+ 00024795  0x00004464 branch  0x000061cf 
+ 00024796  0x00004467 fetch  0x00000001 , 0x00000030 
+ 00024797  0x00004468 set1  0x00000004 , 0x0000003f 
+ 00024798  0x00004469 store  0x00000001 , 0x00000030 
+ 00024799  0x0000446a copy  0x00000022 , 0x0000003f 
+ 00024800  0x0000446b store  0x00000004 , 0x00000465 
+ 00024801  0x0000446c fetch  0x00000001 , 0x0000044d 
+ 00024802  0x0000446d bbit1  0x00000003 , 0x000060eb 
+ 00024803  0x0000446e set1  0x00000003 , 0x0000003f 
+ 00024804  0x0000446f store  0x00000001 , 0x0000044d 
+ 00024805  0x00004470 jam  0x00000005 , 0x00000b7d 
+ 00024806  0x00004471 call  0x00007c27 
+ 00024807  0x00004472 call  0x00004825 
+ 00024808  0x00004473 force  0x00000001 , 0x0000003f 
+ 00024809  0x00004474 call  0x000061b5 
+ 00024810  0x00004475 branch  0x000061cf 
+ 00024811  0x00004477 jam  0x00000000 , 0x00000048 
+ 00024812  0x00004478 rtn 
+ 00024813  0x0000447b force  0x00000006 , 0x0000003f 
+ 00024814  0x0000447c call  0x000061b5 
+ 00024815  0x0000447d fetch  0x00000005 , 0x000046fd 
+ 00024816  0x0000447e istore  0x00000005 , 0x00000005 
+ 00024817  0x0000447f branch  0x000061cf 
+ 00024818  0x00004482 force  0x00000009 , 0x0000003f 
+ 00024819  0x00004483 call  0x000061b5 
+ 00024820  0x00004484 fetch  0x00000008 , 0x00004138 
+ 00024821  0x00004485 istore  0x00000008 , 0x00000005 
+ 00024822  0x00004486 branch  0x000061cf 
+ 00024823  0x00004489 call  0x0000481b 
+ 00024824  0x0000448a fetch  0x00000001 , 0x00004132 
+ 00024825  0x0000448b beq  0x00000001 , 0x000060fd 
+ 00024826  0x0000448c jam  0x00000001 , 0x000007dd 
+ 00024827  0x0000448d fetch  0x00000001 , 0x00004793 
+ 00024828  0x0000448e rtnne  0x00000001 
+ 00024829  0x00004490 jam  0x00000013 , 0x000007db 
+ 00024830  0x00004491 rtn 
+ 00024831  0x00004494 call  0x00006209 
+ 00024832  0x00004495 jam  0x00000099 , 0x0000007c 
+ 00024833  0x00004496 jam  0x00000003 , 0x000007db 
+ 00024834  0x00004497 rtn 
+ 00024835  0x0000449b call  0x00006209 
+ 00024836  0x0000449c jam  0x0000003d , 0x0000007c 
+ 00024837  0x0000449d jam  0x00000007 , 0x000007db 
+ 00024838  0x0000449e rtn 
+ 00024839  0x000044a1 arg  0x00000868 , 0x00000011 
+ 00024840  0x000044a2 arg  0x00000888 , 0x00000012 
+ 00024841  0x000044a3 arg  0x00000010 , 0x00000039 
+ 00024842  0x000044a4 call  0x00007f25 
+ 00024843  0x000044a5 branch  0x00006111 , 0x00000005 
+ 00024844  0x000044a6 jam  0x00000000 , 0x000007db 
+ 00024845  0x000044a7 call  0x00007811 
+ 00024846  0x000044a8 jam  0x00000024 , 0x0000007e 
+ 00024847  0x000044a9 jam  0x00000040 , 0x0000007d 
+ 00024848  0x000044aa branch  0x00005bc9 
+ 00024849  0x000044ac jam  0x0000000a , 0x000007db 
+ 00024850  0x000044ad call  0x0000780f 
+ 00024851  0x000044ae jam  0x00000040 , 0x0000007d 
+ 00024852  0x000044af branch  0x00005cf5 
+ 00024853  0x000044b4 jam  0x00000040 , 0x0000007c 
+ 00024854  0x000044b5 rtn 
+ 00024855  0x000044bc jam  0x0000003d , 0x0000007c 
+ 00024856  0x000044be rtn 
+ 00024857  0x000044c5 jam  0x00000000 , 0x000007e2 
+ 00024858  0x000044c6 force  0x00000004 , 0x0000003f 
+ 00024859  0x000044c7 call  0x000061b5 
+ 00024860  0x000044c8 force  0x00000001 , 0x0000003f 
+ 00024861  0x000044c9 istore  0x00000001 , 0x00000005 
+ 00024862  0x000044ca force  0x00000001 , 0x0000003f 
+ 00024863  0x000044cb istore  0x00000001 , 0x00000005 
+ 00024864  0x000044cc force  0x00000030 , 0x0000003f 
+ 00024865  0x000044cd istore  0x00000001 , 0x00000005 
+ 00024866  0x000044ce call  0x00006216 
+ 00024867  0x000044cf branch  0x000061cf , 0x00000001 
+ 00024868  0x000044d0 branch  0x000061cd 
+ 00024869  0x000044d4 force  0x00000011 , 0x0000003f 
+ 00024870  0x000044d5 call  0x000061b5 
+ 00024871  0x000044d6 fetch  0x00000001 , 0x000007e2 
+ 00024872  0x000044d7 arg  0x000047ac , 0x00000006 
+ 00024873  0x000044d8 iadd  0x00000006 , 0x00000006 
+ 00024874  0x000044d9 ifetch  0x00000008 , 0x00000006 
+ 00024875  0x000044da istore  0x00000008 , 0x00000005 
+ 00024876  0x000044db ifetch  0x00000008 , 0x00000006 
+ 00024877  0x000044dc istore  0x00000008 , 0x00000005 
+ 00024878  0x000044dd fetch  0x00000001 , 0x000007e2 
+ 00024879  0x000044de increase  0x00000010 , 0x0000003f 
+ 00024880  0x000044df store  0x00000001 , 0x000007e2 
+ 00024881  0x000044e0 call  0x00006216 
+ 00024882  0x000044e1 branch  0x000061cf , 0x00000001 
+ 00024883  0x000044e2 branch  0x000061cd 
+ 00024884  0x000044e6 jam  0x00000006 , 0x000007da 
+ 00024885  0x000044e7 jam  0x0000003f , 0x0000007c 
+ 00024886  0x000044e8 rtn 
+ 00024887  0x000044ec force  0x00000011 , 0x0000003f 
+ 00024888  0x000044ed call  0x000061b5 
+ 00024889  0x000044ee arg  0x00000868 , 0x00000006 
+ 00024890  0x000044ef ifetch  0x00000008 , 0x00000006 
+ 00024891  0x000044f0 istore  0x00000008 , 0x00000005 
+ 00024892  0x000044f1 ifetch  0x00000008 , 0x00000006 
+ 00024893  0x000044f2 istore  0x00000008 , 0x00000005 
+ 00024894  0x000044f3 branch  0x000061cd 
+ 00024895  0x000044f6 call  0x000061d9 
+ 00024896  0x000044f8 jam  0x00000040 , 0x0000007c 
+ 00024897  0x000044f9 rtn 
+ 00024898  0x000044fd call  0x00006216 
+ 00024899  0x000044fe call  0x0000774d , 0x00000001 
+ 00024900  0x000044ff force  0x00000011 , 0x0000003f 
+ 00024901  0x00004500 call  0x000061b5 
+ 00024902  0x00004501 arg  0x00000838 , 0x00000006 
+ 00024903  0x00004502 ifetch  0x00000008 , 0x00000006 
+ 00024904  0x00004503 istore  0x00000008 , 0x00000005 
+ 00024905  0x00004504 ifetch  0x00000008 , 0x00000006 
+ 00024906  0x00004505 istore  0x00000008 , 0x00000005 
+ 00024907  0x00004506 call  0x00006216 
+ 00024908  0x00004507 nbranch  0x000061cd , 0x00000001 
+ 00024909  0x00004508 branch  0x000061cf , 0x00000001 
+ 00024910  0x0000450c jam  0x0000000f , 0x000007db 
+ 00024911  0x0000450e call  0x00006209 
+ 00024912  0x0000450f jam  0x0000000b , 0x0000007c 
+ 00024913  0x00004510 call  0x00006221 
+ 00024914  0x00004511 branch  0x00007785 , 0x00000001 
+ 00024915  0x00004512 branch  0x0000778f 
+ 00024916  0x00004514 call  0x00006205 
+ 00024917  0x00004516 jam  0x00000041 , 0x0000007c 
+ 00024918  0x00004517 rtn 
+ 00024919  0x0000451a force  0x00000011 , 0x0000003f 
+ 00024920  0x0000451b call  0x000061b5 
+ 00024921  0x0000451c arg  0x00000868 , 0x00000006 
+ 00024922  0x0000451d ifetch  0x00000008 , 0x00000006 
+ 00024923  0x0000451e istore  0x00000008 , 0x00000005 
+ 00024924  0x0000451f ifetch  0x00000008 , 0x00000006 
+ 00024925  0x00004520 istore  0x00000008 , 0x00000005 
+ 00024926  0x00004521 call  0x00006216 
+ 00024927  0x00004522 nbranch  0x000061cd , 0x00000001 
+ 00024928  0x00004523 branch  0x000061cf , 0x00000001 
+ 00024929  0x00004526 force  0x00000003 , 0x0000003f 
+ 00024930  0x00004527 call  0x000061b5 
+ 00024931  0x00004528 setarg  0x0000fffe 
+ 00024932  0x00004529 istore  0x00000002 , 0x00000005 
+ 00024933  0x0000452a branch  0x000061cd 
+ 00024934  0x0000452d branch  0x000061cf 
+ 00024935  0x0000452f branch  0x000061cf 
+ 00024936  0x00004531 branch  0x000061cf 
+ 00024937  0x00004533 branch  0x000061cf 
+ 00024938  0x00004539 call  0x00006225 
+ 00024939  0x0000453a arg  0x00004140 , 0x00000011 
+ 00024940  0x0000453b call  0x0000622b 
+ 00024941  0x0000453c force  0x00000011 , 0x0000003f 
+ 00024942  0x0000453d call  0x000061b5 
+ 00024943  0x0000453e arg  0x0000050f , 0x00000011 
+ 00024944  0x0000453f arg  0x000004ef , 0x00000012 
+ 00024945  0x00004540 call  0x00007467 
+ 00024946  0x00004541 nbranch  0x000061c4 , 0x00000029 
+ 00024947  0x00004542 branch  0x000061ca 
+ 00024948  0x00004545 call  0x00006225 
+ 00024949  0x00004546 arg  0x00000040 , 0x00000011 
+ 00024950  0x00004547 call  0x0000736a 
+ 00024951  0x00004549 force  0x00000011 , 0x0000003f 
+ 00024952  0x0000454a call  0x000061b5 
+ 00024953  0x0000454b arg  0x000004ef , 0x00000006 
+ 00024954  0x0000454c call  0x00007e35 
+ 00024955  0x0000454d fetch  0x00000001 , 0x00000055 
+ 00024956  0x0000454e beq  0x00000019 , 0x000061cf 
+ 00024957  0x0000454f beq  0x00000018 , 0x000061cf 
+ 00024958  0x00004550 branch  0x000061ca 
+ 00024959  0x00004553 fetch  0x00000001 , 0x000007e1 
+ 00024960  0x00004554 branch  0x00006185 , 0x00000034 
+ 00024961  0x00004555 call  0x00006216 
+ 00024962  0x00004556 call  0x00006209 , 0x00000001 
+ 00024963  0x00004557 ncall  0x00006205 , 0x00000001 
+ 00024964  0x00004558 branch  0x00006186 
+ 00024965  0x0000455a call  0x00006209 
+ 00024966  0x0000455c call  0x00006225 
+ 00024967  0x0000455d branch  0x00006177 
+ 00024968  0x00004560 arg  0x00004140 , 0x00000011 
+ 00024969  0x00004561 call  0x0000739d 
+ 00024970  0x00004562 force  0x00000005 , 0x0000003f 
+ 00024971  0x00004563 call  0x000061b5 
+ 00024972  0x00004564 fetch  0x00000004 , 0x0000051f 
+ 00024973  0x00004565 istore  0x00000004 , 0x00000005 
+ 00024974  0x00004566 arg  0x00000451 , 0x00000002 
+ 00024975  0x00004567 call  0x000061fb 
+ 00024976  0x00004568 call  0x0000749b 
+ 00024977  0x00004569 call  0x00006216 
+ 00024978  0x0000456a branch  0x00006197 , 0x00000001 
+ 00024979  0x0000456b jam  0x00000001 , 0x00000454 
+ 00024980  0x0000456c fetch  0x00000001 , 0x000007e1 
+ 00024981  0x0000456d rtn  0x00000034 
+ 00024982  0x0000456e jam  0x0000000b , 0x0000007c 
+ 00024983  0x00004570 fetch  0x00000001 , 0x0000425e 
+ 00024984  0x00004571 rtn  0x00000034 
+ 00024985  0x00004572 call  0x00006216 
+ 00024986  0x00004573 call  0x00004852 , 0x00000001 
+ 00024987  0x00004575 call  0x00006216 
+ 00024988  0x00004576 nbranch  0x000061a1 , 0x00000001 
+ 00024989  0x00004577 fetch  0x00000001 , 0x00000453 
+ 00024990  0x00004578 rtn  0x00000034 
+ 00024991  0x00004579 jam  0x0000000f , 0x0000007c 
+ 00024992  0x0000457a rtn 
+ 00024993  0x0000457c rtnmark0  0x00000021 
+ 00024994  0x0000457d set0  0x00000021 , 0x00000000 
+ 00024995  0x0000457e jam  0x0000000f , 0x0000007c 
+ 00024996  0x0000457f rtn 
+ 00024997  0x00004584 call  0x00006225 
+ 00024998  0x00004585 call  0x000073a0 
+ 00024999  0x00004586 force  0x00000011 , 0x0000003f 
+ 00025000  0x00004587 call  0x000061b5 
+ 00025001  0x00004588 arg  0x000004ef , 0x00000006 
+ 00025002  0x00004589 call  0x00007e35 
+ 00025003  0x0000458a branch  0x000061ca 
+ 00025004  0x0000458d force  0x00000001 , 0x0000003f 
+ 00025005  0x0000458e call  0x000061b5 
+ 00025006  0x0000458f branch  0x000061ca 
+ 00025007  0x00004592 force  0x00000002 , 0x0000003f 
+ 00025008  0x00004593 call  0x000061b5 
+ 00025009  0x00004594 force  0x00000010 , 0x0000003f 
+ 00025010  0x00004595 istore  0x00000001 , 0x00000005 
+ 00025011  0x00004596 store  0x00000001 , 0x00000054 
+ 00025012  0x00004597 branch  0x000061ca 
+ 00025013  0x0000459b lshift3  0x0000003f , 0x0000003f 
+ 00025014  0x0000459c or_into  0x00000007 , 0x0000003f 
+ 00025015  0x0000459d store  0x00000001 , 0x00000432 
+ 00025016  0x0000459e arg  0x00000011 , 0x00000039 
+ 00025017  0x0000459f arg  0x00000434 , 0x00000005 
+ 00025018  0x000045a0 call  0x00007e3f 
+ 00025019  0x000045a1 arg  0x00000434 , 0x00000005 
+ 00025020  0x000045a2 rtn 
+ 00025021  0x000045a5 and  0x0000003f , 0x0000007f , 0x00000011 
+ 00025022  0x000045a6 jam  0x0000007f , 0x00000048 
+ 00025023  0x000045a7 deposit  0x00000007 
+ 00025024  0x000045a8 call  0x000061b5 
+ 00025025  0x000045a9 deposit  0x00000011 
+ 00025026  0x000045aa istore  0x00000001 , 0x00000005 
+ 00025027  0x000045ab rtn 
+ 00025028  0x000045ae fetch  0x00000001 , 0x00000048 
+ 00025029  0x000045af lshift  0x0000003f , 0x0000003f 
+ 00025030  0x000045b0 fetcht  0x00000001 , 0x0000004c 
+ 00025031  0x000045b1 isolate1  0x00000001 , 0x00000002 
+ 00025032  0x000045b2 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00025033  0x000045b3 branch  0x000061d4 
+ 00025034  0x000045b7 fetcht  0x00000001 , 0x0000004c 
+ 00025035  0x000045b8 and_into  0x00000001 , 0x00000002 
+ 00025036  0x000045b9 branch  0x000061d0 
+ 00025037  0x000045bc force  0x00000000 , 0x00000002 
+ 00025038  0x000045bd branch  0x000061d0 
+ 00025039  0x000045c0 force  0x00000001 , 0x00000002 
+ 00025040  0x000045c2 fetch  0x00000001 , 0x00000048 
+ 00025041  0x000045c3 lshift  0x0000003f , 0x0000003f 
+ 00025042  0x000045c4 setflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00025043  0x000045c5 ixor  0x00000002 , 0x0000003f 
+ 00025044  0x000045c7 store  0x00000001 , 0x00000433 
+ 00025045  0x000045c8 jam  0x00000000 , 0x00000048 
+ 00025046  0x000045c9 call  0x000061e0 
+ 00025047  0x000045ca enable  0x00000028 
+ 00025048  0x000045cb rtn 
+ 00025049  0x000045ce set1  0x00000025 , 0x00000000 
+ 00025050  0x000045cf bpatch  0x000000e4 , 0x0000403c 
+ 00025051  0x000045d0 fetch  0x00000001 , 0x00000048 
+ 00025052  0x000045d1 branch  0x000061e0 , 0x00000034 
+ 00025053  0x000045d2 fetch  0x00000001 , 0x00000078 
+ 00025054  0x000045d3 nrtn  0x00000034 
+ 00025055  0x000045d4 branch  0x000061ea 
+ 00025056  0x000045d6 fetch  0x00000001 , 0x00000078 
+ 00025057  0x000045d7 branch  0x000061f0 , 0x00000034 
+ 00025058  0x000045d8 fetch  0x00000003 , 0x00000078 
+ 00025059  0x000045d9 store  0x00000003 , 0x00000048 
+ 00025060  0x000045da fetcht  0x00000001 , 0x0000007b 
+ 00025061  0x000045db fetch  0x00000001 , 0x0000004c 
+ 00025062  0x000045dc set0  0x00000001 , 0x0000003f 
+ 00025063  0x000045dd ior  0x00000002 , 0x0000003f 
+ 00025064  0x000045de store  0x00000001 , 0x0000004c 
+ 00025065  0x000045df jam  0x00000000 , 0x00000078 
+ 00025066  0x000045e1 fetch  0x00000001 , 0x0000007c 
+ 00025067  0x000045e2 rtn  0x00000034 
+ 00025068  0x000045e3 fetch  0x00000004 , 0x0000007c 
+ 00025069  0x000045e4 store  0x00000004 , 0x00000078 
+ 00025070  0x000045e5 jam  0x00000000 , 0x0000007c 
+ 00025071  0x000045e6 rtn 
+ 00025072  0x000045e8 fetch  0x00000001 , 0x0000007c 
+ 00025073  0x000045e9 rtn  0x00000034 
+ 00025074  0x000045ea fetch  0x00000003 , 0x0000007c 
+ 00025075  0x000045eb store  0x00000003 , 0x00000048 
+ 00025076  0x000045ec fetcht  0x00000001 , 0x0000007f 
+ 00025077  0x000045ed fetch  0x00000001 , 0x0000004c 
+ 00025078  0x000045ee set0  0x00000001 , 0x0000003f 
+ 00025079  0x000045ef ior  0x00000002 , 0x0000003f 
+ 00025080  0x000045f0 store  0x00000001 , 0x0000004c 
+ 00025081  0x000045f1 jam  0x00000000 , 0x0000007c 
+ 00025082  0x000045f2 rtn 
+ 00025083  0x000045f6 set1  0x00000025 , 0x00000000 
+ 00025084  0x000045f7 bpatch  0x000000e5 , 0x0000403c 
+ 00025085  0x000045f8 fetch  0x00000001 , 0x0000004c 
+ 00025086  0x000045f9 copy  0x0000003f , 0x00000013 
+ 00025087  0x000045fa ifetch  0x00000001 , 0x00000002 
+ 00025088  0x000045fb call  0x00005d12 
+ 00025089  0x000045fc call  0x000061c4 
+ 00025090  0x000045fd copy  0x00000013 , 0x0000003f 
+ 00025091  0x000045fe store  0x00000001 , 0x0000004c 
+ 00025092  0x000045ff rtn 
+ 00025093  0x00004602 fetcht  0x00000001 , 0x0000004c 
+ 00025094  0x00004603 set0  0x00000000 , 0x00000002 
+ 00025095  0x00004604 storet  0x00000001 , 0x0000004c 
+ 00025096  0x00004605 rtn 
+ 00025097  0x00004608 fetcht  0x00000001 , 0x0000004c 
+ 00025098  0x00004609 set1  0x00000000 , 0x00000002 
+ 00025099  0x0000460a storet  0x00000001 , 0x0000004c 
+ 00025100  0x0000460b rtn 
+ 00025101  0x0000460f nsetflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00025102  0x00004610 fetcht  0x00000001 , 0x0000004c 
+ 00025103  0x00004611 ixor  0x00000002 , 0x0000003f 
+ 00025104  0x00004612 isolate1  0x00000001 , 0x0000003f 
+ 00025105  0x00004613 rtn 
+ 00025106  0x00004617 fetch  0x00000001 , 0x0000004c 
+ 00025107  0x00004618 setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00025108  0x00004619 store  0x00000001 , 0x0000004c 
+ 00025109  0x0000461a rtn 
+ 00025110  0x0000461e fetch  0x00000001 , 0x000007e0 
+ 00025111  0x0000461f compare  0x00000001 , 0x0000003f , 0x0000007f 
+ 00025112  0x00004620 rtn 
+ 00025113  0x00004622 fetch  0x00000001 , 0x000007e0 
+ 00025114  0x00004623 set1  0x00000007 , 0x0000003f 
+ 00025115  0x00004624 store  0x00000001 , 0x000007e0 
+ 00025116  0x00004625 rtn 
+ 00025117  0x00004627 fetch  0x00000001 , 0x000007e0 
+ 00025118  0x00004628 set0  0x00000007 , 0x0000003f 
+ 00025119  0x00004629 store  0x00000001 , 0x000007e0 
+ 00025120  0x0000462a rtn 
+ 00025121  0x0000462c fetch  0x00000001 , 0x000007e0 
+ 00025122  0x0000462d isolate1  0x00000007 , 0x0000003f 
+ 00025123  0x0000462e store  0x00000001 , 0x000007e0 
+ 00025124  0x0000462f rtn 
+ 00025125  0x00004633 arg  0x000004ef , 0x00000005 
+ 00025126  0x00004635 force  0x00000010 , 0x00000039 
+ 00025127  0x00004638 random  0x0000003f 
+ 00025128  0x00004639 istore  0x00000001 , 0x00000005 
+ 00025129  0x0000463a loop  0x00006227 
+ 00025130  0x0000463b rtn 
+ 00025131  0x0000463e call  0x0000736e 
+ 00025132  0x0000463f arg  0x00004262 , 0x00000011 
+ 00025133  0x00004640 arg  0x0000051f , 0x00000012 
+ 00025134  0x00004641 ifetch  0x00000008 , 0x00000011 
+ 00025135  0x00004642 fetcht  0x00000001 , 0x00000030 
+ 00025136  0x00004643 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00025137  0x00004644 storet  0x00000001 , 0x00000030 
+ 00025138  0x00004645 copy  0x00000011 , 0x00000005 
+ 00025139  0x00004646 call  0x00007467 
+ 00025140  0x00004647 branch  0x00003229 
+ 00025141  0x0000464f set1  0x00000025 , 0x00000000 
+ 00025142  0x00004650 bpatch  0x000000e6 , 0x0000403c 
+ 00025143  0x00004651 fetch  0x00000001 , 0x0000007c 
+ 00025144  0x00004652 branch  0x0000623c , 0x00000034 
+ 00025145  0x00004653 call  0x000061d9 
+ 00025146  0x00004654 fetch  0x00000001 , 0x0000007c 
+ 00025147  0x00004655 nrtn  0x00000034 
+ 00025148  0x00004657 fetch  0x00000001 , 0x00000055 
+ 00025149  0x00004658 rtn  0x00000034 
+ 00025150  0x0000465c beq  0x00000004 , 0x0000628d 
+ 00025151  0x0000465d beq  0x00000005 , 0x00006292 
+ 00025152  0x0000465e beq  0x00000002 , 0x00006284 
+ 00025153  0x0000465f beq  0x00000003 , 0x0000629a 
+ 00025154  0x00004660 beq  0x0000000e , 0x00006287 
+ 00025155  0x00004661 beq  0x00000006 , 0x000062b6 
+ 00025156  0x00004662 beq  0x00000007 , 0x000062ce 
+ 00025157  0x00004663 beq  0x00000009 , 0x000062cf 
+ 00025158  0x00004664 beq  0x0000000a , 0x000062d8 
+ 00025159  0x00004665 beq  0x0000000b , 0x000062dc 
+ 00025160  0x00004666 beq  0x0000000c , 0x000062a4 
+ 00025161  0x00004667 beq  0x0000000d , 0x000062a7 
+ 00025162  0x00004668 beq  0x0000000f , 0x000062ad 
+ 00025163  0x00004669 beq  0x00000012 , 0x00006277 
+ 00025164  0x0000466a beq  0x00000013 , 0x0000629a 
+ 00025165  0x0000466b beq  0x00000010 , 0x0000627a 
+ 00025166  0x0000466c beq  0x00000014 , 0x00006274 
+ 00025167  0x0000466d beq  0x00000015 , 0x0000629a 
+ 00025168  0x0000466e beq  0x00000016 , 0x0000626e 
+ 00025169  0x0000466f beq  0x00000018 , 0x00006273 
+ 00025170  0x00004670 beq  0x00000017 , 0x00006267 
+ 00025171  0x00004671 beq  0x00000019 , 0x0000626d 
+ 00025172  0x00004672 beq  0x0000001a , 0x00006258 
+ 00025173  0x00004673 beq  0x0000001b , 0x00006262 
+ 00025174  0x00004674 jam  0x00000000 , 0x00000055 
+ 00025175  0x00004676 rtn 
+ 00025176  0x00004678 fetch  0x00000001 , 0x0000044d 
+ 00025177  0x00004679 rtnbit0  0x00000002 
+ 00025178  0x0000467a rtnbit0  0x00000003 
+ 00025179  0x0000467b jam  0x00000000 , 0x00000055 
+ 00025180  0x0000467c call  0x0000625e 
+ 00025181  0x0000467d branch  0x00006e41 
+ 00025182  0x00004680 fetch  0x00000001 , 0x00000177 
+ 00025183  0x00004681 rtnbit0  0x00000001 
+ 00025184  0x00004682 jam  0x0000000a , 0x00000055 
+ 00025185  0x00004683 rtn 
+ 00025186  0x00004686 arg  0x0000000b , 0x00000007 
+ 00025187  0x00004687 call  0x00007e53 
+ 00025188  0x00004688 nrtn  0x00000034 
+ 00025189  0x00004689 jam  0x0000001a , 0x00000055 
+ 00025190  0x0000468a rtn 
+ 00025191  0x0000468d fetch  0x00000001 , 0x00000177 
+ 00025192  0x0000468e set0  0x00000000 , 0x0000003f 
+ 00025193  0x0000468f store  0x00000001 , 0x00000177 
+ 00025194  0x00004690 jam  0x00000019 , 0x00000055 
+ 00025195  0x00004691 jam  0x0000000b , 0x0000007c 
+ 00025196  0x00004692 rtn 
+ 00025197  0x00004694 rtn 
+ 00025198  0x00004696 fetch  0x00000001 , 0x00000450 
+ 00025199  0x00004697 rtnne  0x00000002 
+ 00025200  0x00004698 call  0x000062de 
+ 00025201  0x00004699 jam  0x00000018 , 0x00000055 
+ 00025202  0x0000469a rtn 
+ 00025203  0x0000469d rtn 
+ 00025204  0x0000469f jam  0x00000015 , 0x00000055 
+ 00025205  0x000046a0 jam  0x00000083 , 0x0000007c 
+ 00025206  0x000046a1 rtn 
+ 00025207  0x000046a3 jam  0x00000013 , 0x00000055 
+ 00025208  0x000046a4 jam  0x00000025 , 0x0000007c 
+ 00025209  0x000046a5 rtn 
+ 00025210  0x000046a8 fetch  0x00000001 , 0x00004748 
+ 00025211  0x000046a9 rtneq  0x00000000 
+ 00025212  0x000046aa beq  0x00000001 , 0x00006282 
+ 00025213  0x000046ab arg  0x0000000a , 0x00000007 
+ 00025214  0x000046ac call  0x00007e53 
+ 00025215  0x000046ad nrtn  0x00000034 
+ 00025216  0x000046ae jam  0x00000000 , 0x00004748 
+ 00025217  0x000046af branch  0x0000629b 
+ 00025218  0x000046b1 rtn  0x00000029 
+ 00025219  0x000046b2 branch  0x000062b6 
+ 00025220  0x000046b5 jam  0x00000003 , 0x00000055 
+ 00025221  0x000046b6 jam  0x00000027 , 0x0000007c 
+ 00025222  0x000046b7 rtn 
+ 00025223  0x000046b9 jam  0x00000013 , 0x0000007c 
+ 00025224  0x000046ba set1  0x00000003 , 0x00000000 
+ 00025225  0x000046bb jam  0x00000005 , 0x00000055 
+ 00025226  0x000046bc setarg  0x000001ff 
+ 00025227  0x000046bd store  0x00000002 , 0x0000044e 
+ 00025228  0x000046be rtn 
+ 00025229  0x000046c0 jam  0x00000005 , 0x00000055 
+ 00025230  0x000046c1 jam  0x000000ff , 0x0000044e 
+ 00025231  0x000046c2 set0  0x00000022 , 0x00000000 
+ 00025232  0x000046c3 jam  0x00000033 , 0x0000007c 
+ 00025233  0x000046c4 branch  0x00005b6f 
+ 00025234  0x000046c6 rtnmark1  0x00000022 
+ 00025235  0x000046c7 fetch  0x00000002 , 0x0000044e 
+ 00025236  0x000046c8 sub  0x0000003f , 0x00000001 , 0x0000003f 
+ 00025237  0x000046c9 branch  0x00006298 , 0x00000005 
+ 00025238  0x000046ca store  0x00000002 , 0x0000044e 
+ 00025239  0x000046cb rtn 
+ 00025240  0x000046cd jam  0x0000000e , 0x00000055 
+ 00025241  0x000046ce rtn 
+ 00025242  0x000046d1 rtn 
+ 00025243  0x000046d4 fetch  0x00000001 , 0x0000044d 
+ 00025244  0x000046d5 rtnbit0  0x00000003 
+ 00025245  0x000046d6 rtnbit0  0x00000002 
+ 00025246  0x000046d7 fetch  0x00000001 , 0x00000177 
+ 00025247  0x000046d8 set0  0x00000002 , 0x0000003f 
+ 00025248  0x000046d9 store  0x00000001 , 0x00000177 
+ 00025249  0x000046da jam  0x00000013 , 0x0000007c 
+ 00025250  0x000046db jam  0x00000010 , 0x00000055 
+ 00025251  0x000046dc rtn 
+ 00025252  0x000046df jam  0x0000000d , 0x00000055 
+ 00025253  0x000046e0 jam  0x00000031 , 0x0000007c 
+ 00025254  0x000046e1 rtn 
+ 00025255  0x000046e4 fetch  0x00000001 , 0x0000044d 
+ 00025256  0x000046e5 rtnbit0  0x00000002 
+ 00025257  0x000046e6 jam  0x00000000 , 0x00000055 
+ 00025258  0x000046e8 rtn 
+ 00025259  0x000046ea jam  0x00000006 , 0x00000055 
+ 00025260  0x000046eb rtn 
+ 00025261  0x000046ee fetch  0x00000001 , 0x0000044e 
+ 00025262  0x000046ef increase  0xffffffff , 0x0000003f 
+ 00025263  0x000046f0 branch  0x000062b2 , 0x00000034 
+ 00025264  0x000046f1 store  0x00000001 , 0x0000044e 
+ 00025265  0x000046f2 rtn 
+ 00025266  0x000046f4 jam  0x00000007 , 0x0000007c 
+ 00025267  0x000046f5 jam  0x00000016 , 0x00000446 
+ 00025268  0x000046f6 jam  0x00000000 , 0x00000055 
+ 00025269  0x000046f7 rtn 
+ 00025270  0x000046fa fetch  0x00000001 , 0x00000177 
+ 00025271  0x000046fb bbit1  0x00000002 , 0x0000629b 
+ 00025272  0x000046fc bbit1  0x00000000 , 0x000062bb 
+ 00025273  0x000046fe jam  0x0000001a , 0x00000055 
+ 00025274  0x000046ff rtn 
+ 00025275  0x00004701 fetch  0x00000001 , 0x0000425e 
+ 00025276  0x00004702 branch  0x000062c7 , 0x00000034 
+ 00025277  0x00004703 fetch  0x00000001 , 0x0000044d 
+ 00025278  0x00004704 rtnbit0  0x00000003 
+ 00025279  0x00004705 rtnbit0  0x00000002 
+ 00025280  0x00004706 fetch  0x00000004 , 0x00000465 
+ 00025281  0x00004707 arg  0x00000064 , 0x00000002 
+ 00025282  0x00004708 iadd  0x00000002 , 0x00000002 
+ 00025283  0x00004709 copy  0x00000022 , 0x0000003f 
+ 00025284  0x0000470a isub  0x00000002 , 0x0000003e 
+ 00025285  0x0000470b nrtn  0x00000002 
+ 00025286  0x0000470c branch  0x00006267 
+ 00025287  0x00004711 jam  0x00000016 , 0x00000055 
+ 00025288  0x00004712 jam  0x00000004 , 0x0000054f 
+ 00025289  0x00004713 setarg  0x00003030 
+ 00025290  0x00004714 store  0x00000002 , 0x00000550 
+ 00025291  0x00004715 istore  0x00000002 , 0x00000005 
+ 00025292  0x00004716 jam  0x00000002 , 0x00000450 
+ 00025293  0x00004717 branch  0x0000626e 
+ 00025294  0x0000471a rtn 
+ 00025295  0x0000471c fetch  0x00000001 , 0x00000177 
+ 00025296  0x0000471d bbit1  0x00000001 , 0x000062d3 
+ 00025297  0x0000471e jam  0x0000001a , 0x00000055 
+ 00025298  0x0000471f rtn 
+ 00025299  0x00004722 fetch  0x00000001 , 0x00000177 
+ 00025300  0x00004723 set0  0x00000001 , 0x0000003f 
+ 00025301  0x00004724 store  0x00000001 , 0x00000177 
+ 00025302  0x00004725 jam  0x0000000f , 0x0000007c 
+ 00025303  0x00004726 rtn 
+ 00025304  0x00004729 fetch  0x00000001 , 0x00000454 
+ 00025305  0x0000472a rtn  0x00000034 
+ 00025306  0x0000472b jam  0x00000000 , 0x00000055 
+ 00025307  0x0000472c branch  0x000062d3 
+ 00025308  0x0000472f jam  0x0000000c , 0x00000055 
+ 00025309  0x00004730 rtn 
+ 00025310  0x00004733 fetch  0x00000001 , 0x0000004b 
+ 00025311  0x00004734 bbit1  0x00000002 , 0x000062e3 
+ 00025312  0x00004735 call  0x00006209 
+ 00025313  0x00004736 jam  0x00000008 , 0x0000007c 
+ 00025314  0x00004737 branch  0x000049bc 
+ 00025315  0x00004739 fetch  0x00000001 , 0x0000004b 
+ 00025316  0x0000473a set0  0x00000002 , 0x0000003f 
+ 00025317  0x0000473b store  0x00000001 , 0x0000004b 
+ 00025318  0x0000473c call  0x00005ed0 
+ 00025319  0x0000473d call  0x00006212 
+ 00025320  0x0000473e branch  0x000049bc 
+ 00025321  0x00004741 setarg  0x00000004 
+ 00025322  0x00004742 store  0x00000001 , 0x0000054f 
+ 00025323  0x00004743 setarg  0x00003030 
+ 00025324  0x00004744 istore  0x00000002 , 0x00000005 
+ 00025325  0x00004745 istore  0x00000002 , 0x00000005 
+ 00025326  0x00004746 rtn 
+ 00025327  0x0000474f rtn  0x0000002b 
+ 00025328  0x00004750 jam  0x00000000 , 0x00004813 
+ 00025329  0x00004751 call  0x00006321 
+ 00025330  0x00004752 call  0x00006438 
+ 00025331  0x00004753 setarg  0x0000632e 
+ 00025332  0x00004754 store  0x00000002 , 0x00004290 
+ 00025333  0x00004755 setarg  0x0000632f 
+ 00025334  0x00004756 store  0x00000002 , 0x0000428e 
+ 00025335  0x00004757 setarg  0x00006337 
+ 00025336  0x00004758 store  0x00000002 , 0x00004292 
+ 00025337  0x00004759 setarg  0x000063b6 
+ 00025338  0x0000475a store  0x00000002 , 0x00004296 
+ 00025339  0x0000475b setarg  0x0000632f 
+ 00025340  0x0000475c store  0x00000002 , 0x0000428c 
+ 00025341  0x0000475d set1  0x00000025 , 0x00000000 
+ 00025342  0x0000475e bpatch  0x00000080 , 0x00004030 
+ 00025343  0x0000475f setarg  0x0000632a 
+ 00025344  0x00004760 store  0x00000002 , 0x00004286 
+ 00025345  0x00004761 setarg  0x000063be 
+ 00025346  0x00004762 store  0x00000002 , 0x00004298 
+ 00025347  0x00004763 setarg  0x00000000 
+ 00025348  0x00004764 store  0x00000004 , 0x0000480a 
+ 00025349  0x00004765 store  0x00000002 , 0x00004810 
+ 00025350  0x00004766 call  0x0000630a 
+ 00025351  0x00004767 call  0x00003fc5 
+ 00025352  0x00004768 call  0x00003e2b 
+ 00025353  0x00004769 branch  0x0000691d 
+ 00025354  0x0000476c rtn  0x0000002b 
+ 00025355  0x0000476d setarg  0x000001a0 
+ 00025356  0x0000476e store  0x00000002 , 0x000042ac 
+ 00025357  0x00004770 call  0x00006a0d 
+ 00025358  0x00004771 setarg  0x00004a00 
+ 00025359  0x00004772 hstore  0x00000002 , 0x00008054 
+ 00025360  0x00004773 setarg  0x00004fff 
+ 00025361  0x00004774 hstore  0x00000002 , 0x00008056 
+ 00025362  0x00004775 setarg  0x00001c00 
+ 00025363  0x00004776 hstore  0x00000002 , 0x0000805a 
+ 00025364  0x00004777 setarg  0x00001fff 
+ 00025365  0x00004778 hstore  0x00000002 , 0x0000805c 
+ 00025366  0x00004779 hjam  0x00000004 , 0x00008081 
+ 00025367  0x0000477a jam  0x000000ff , 0x0000029f 
+ 00025368  0x0000477b hjam  0x00000000 , 0x00008062 
+ 00025369  0x0000477c setarg  0x00001c00 
+ 00025370  0x0000477d hstore  0x00000002 , 0x0000805e 
+ 00025371  0x0000477e hstore  0x00000002 , 0x00008060 
+ 00025372  0x0000477f setarg  0x00004a00 
+ 00025373  0x00004780 hstore  0x00000002 , 0x00008058 
+ 00025374  0x00004781 branch  0x00004480 
+ 00025375  0x00004785 call  0x0000630d 
+ 00025376  0x00004786 branch  0x00006321 
+ 00025377  0x0000478a call  0x00007bd9 
+ 00025378  0x0000478b call  0x00003f94 
+ 00025379  0x0000478d fetcht  0x00000001 , 0x00004803 
+ 00025380  0x0000478e call  0x000069da 
+ 00025381  0x0000478f call  0x0000639e 
+ 00025382  0x00004791 fetcht  0x00000001 , 0x00004801 
+ 00025383  0x00004792 call  0x000069d1 
+ 00025384  0x00004793 fetcht  0x00000001 , 0x00004800 
+ 00025385  0x00004794 branch  0x000069d2 
+ 00025386  0x00004797 fetcht  0x00000001 , 0x00004801 
+ 00025387  0x00004798 call  0x000069e5 
+ 00025388  0x00004799 nbranch  0x00003f5c , 0x00000001 
+ 00025389  0x0000479a branch  0x00003f5a 
+ 00025390  0x0000479f branch  0x00006330 
+ 00025391  0x000047a1 branch  0x00006330 
+ 00025392  0x000047a3 set1  0x00000025 , 0x00000000 
+ 00025393  0x000047a4 bpatch  0x00000081 , 0x00004030 
+ 00025394  0x000047a5 call  0x0000641c 
+ 00025395  0x000047a6 call  0x00006421 
+ 00025396  0x000047a7 call  0x0000527a 
+ 00025397  0x000047a8 nrtn  0x00000034 
+ 00025398  0x000047a9 branch  0x000063a0 
+ 00025399  0x000047ab copy  0x00000013 , 0x0000003f 
+ 00025400  0x000047ac beq  0x0000000a , 0x00006368 
+ 00025401  0x000047ad beq  0x00000004 , 0x00006383 
+ 00025402  0x000047ae beq  0x00000013 , 0x00006387 
+ 00025403  0x000047af beq  0x00000002 , 0x0000634c 
+ 00025404  0x000047b0 beq  0x00000019 , 0x0000636a 
+ 00025405  0x000047b1 beq  0x00000020 , 0x0000636f 
+ 00025406  0x000047b2 beq  0x00000022 , 0x00006374 
+ 00025407  0x000047b3 beq  0x00000021 , 0x00006375 
+ 00025408  0x000047b4 beq  0x00000023 , 0x00006376 
+ 00025409  0x000047b5 beq  0x00000024 , 0x00006379 
+ 00025410  0x000047b6 beq  0x00000014 , 0x0000637a 
+ 00025411  0x000047b7 beq  0x00000001 , 0x00006382 
+ 00025412  0x000047b8 beq  0x00000015 , 0x00006364 
+ 00025413  0x000047b9 beq  0x00000005 , 0x0000635d 
+ 00025414  0x000047ba beq  0x0000000b , 0x00006352 
+ 00025415  0x000047bb beq  0x0000000c , 0x00003fa6 
+ 00025416  0x000047bc and  0x0000003f , 0x0000000f , 0x00000002 
+ 00025417  0x000047bd and_into  0x000000f0 , 0x0000003f 
+ 00025418  0x000047be beq  0x00000050 , 0x000063ec 
+ 00025419  0x000047bf rtn 
+ 00025420  0x000047c2 call  0x0000638a 
+ 00025421  0x000047c3 fetch  0x00000002 , 0x000042a0 
+ 00025422  0x000047c4 rtnbit0  0x00000004 
+ 00025423  0x000047c5 arg  0x00000003 , 0x00000039 
+ 00025424  0x000047c6 arg  0x00004849 , 0x00000006 
+ 00025425  0x000047c7 branch  0x00007f71 
+ 00025426  0x000047cc fetch  0x00000002 , 0x00004042 
+ 00025427  0x000047cd rshift  0x0000003f , 0x0000003f 
+ 00025428  0x000047ce fetcht  0x00000002 , 0x00004280 
+ 00025429  0x000047cf isub  0x00000002 , 0x0000003e 
+ 00025430  0x000047d0 nbranch  0x00006358 , 0x00000005 
+ 00025431  0x000047d1 branch  0x00003fa4 
+ 00025432  0x000047d3 fetch  0x00000001 , 0x00004813 
+ 00025433  0x000047d4 rtnbit1  0x00000000 
+ 00025434  0x000047d5 hfetch  0x00000002 , 0x00008112 
+ 00025435  0x000047d6 ncall  0x0000640c , 0x00000034 
+ 00025436  0x000047d7 branch  0x00003f9c 
+ 00025437  0x000047da call  0x00006395 
+ 00025438  0x000047db call  0x0000642e 
+ 00025439  0x000047dc branch  0x00006361 , 0x00000005 
+ 00025440  0x000047dd branch  0x00003f77 
+ 00025441  0x000047df arg  0x00000004 , 0x00000039 
+ 00025442  0x000047e0 arg  0x0000488e , 0x00000006 
+ 00025443  0x000047e1 branch  0x00007f71 
+ 00025444  0x000047e4 call  0x0000638a 
+ 00025445  0x000047e5 arg  0x00000005 , 0x00000039 
+ 00025446  0x000047e6 arg  0x00004847 , 0x00000006 
+ 00025447  0x000047e7 branch  0x00007f71 
+ 00025448  0x000047ea call  0x00003fc1 
+ 00025449  0x000047eb branch  0x00003f6a 
+ 00025450  0x000047ed fetch  0x00000001 , 0x00004813 
+ 00025451  0x000047ee rtnbit0  0x00000004 
+ 00025452  0x000047ef set0  0x00000004 , 0x0000003f 
+ 00025453  0x000047f0 store  0x00000001 , 0x00004813 
+ 00025454  0x000047f1 branch  0x0000427f 
+ 00025455  0x000047f4 fetch  0x00000001 , 0x00004813 
+ 00025456  0x000047f5 rtnbit0  0x00000004 
+ 00025457  0x000047f6 set0  0x00000004 , 0x0000003f 
+ 00025458  0x000047f7 store  0x00000001 , 0x00004813 
+ 00025459  0x000047f8 branch  0x00004286 
+ 00025460  0x000047fb rtn 
+ 00025461  0x000047fe rtn 
+ 00025462  0x00004801 fetch  0x00000001 , 0x00004813 
+ 00025463  0x00004802 bbit0  0x00000000 , 0x00003f9e 
+ 00025464  0x00004803 branch  0x00006410 
+ 00025465  0x00004806 rtn 
+ 00025466  0x00004809 call  0x00006395 
+ 00025467  0x0000480a arg  0x000003d0 , 0x00000012 
+ 00025468  0x0000480b call  0x0000642e 
+ 00025469  0x0000480c branch  0x0000637f , 0x00000005 
+ 00025470  0x0000480d branch  0x00003f90 
+ 00025471  0x0000480f arg  0x00000006 , 0x00000039 
+ 00025472  0x00004810 arg  0x0000488c , 0x00000006 
+ 00025473  0x00004811 branch  0x00007f71 
+ 00025474  0x00004814 rtn 
+ 00025475  0x00004818 arg  0x00000007 , 0x00000039 
+ 00025476  0x00004819 arg  0x00004899 , 0x00000006 
+ 00025477  0x0000481a call  0x00007f71 
+ 00025478  0x0000481b branch  0x0000638a 
+ 00025479  0x0000481d arg  0x00000007 , 0x00000039 
+ 00025480  0x0000481e arg  0x00004892 , 0x00000006 
+ 00025481  0x0000481f call  0x00007f71 
+ 00025482  0x00004821 call  0x0000638c 
+ 00025483  0x00004822 branch  0x00006393 
+ 00025484  0x00004825 fetch  0x00000001 , 0x00004812 
+ 00025485  0x00004826 isolate1  0x00000000 , 0x0000003f 
+ 00025486  0x00004827 call  0x00003f7c , 0x00000001 
+ 00025487  0x00004828 fetch  0x00000001 , 0x00004812 
+ 00025488  0x00004829 isolate1  0x00000001 , 0x0000003f 
+ 00025489  0x0000482a call  0x00003f88 , 0x00000001 
+ 00025490  0x0000482b rtn 
+ 00025491  0x0000482d fetcht  0x00000001 , 0x00004803 
+ 00025492  0x0000482e branch  0x000069ef 
+ 00025493  0x00004831 call  0x00006397 
+ 00025494  0x00004832 branch  0x0000639e 
+ 00025495  0x00004835 fetch  0x00000001 , 0x00004812 
+ 00025496  0x00004836 isolate1  0x00000000 , 0x0000003f 
+ 00025497  0x00004837 call  0x00003f7e , 0x00000001 
+ 00025498  0x00004838 fetch  0x00000001 , 0x00004812 
+ 00025499  0x00004839 isolate1  0x00000001 , 0x0000003f 
+ 00025500  0x0000483a call  0x00003f86 , 0x00000001 
+ 00025501  0x0000483b rtn 
+ 00025502  0x0000483d fetcht  0x00000001 , 0x00004803 
+ 00025503  0x0000483e branch  0x000069ed 
+ 00025504  0x00004844 fetch  0x00000001 , 0x00004132 
+ 00025505  0x00004845 rtnne  0x0000000a 
+ 00025506  0x00004846 hfetch  0x00000002 , 0x00008112 
+ 00025507  0x00004847 rtn  0x00000034 
+ 00025508  0x00004848 store  0x00000002 , 0x0000480e 
+ 00025509  0x0000484a call  0x000063a9 
+ 00025510  0x0000484b branch  0x00003fef , 0x00000001 
+ 00025511  0x0000484c call  0x00006400 
+ 00025512  0x0000484d branch  0x000063af 
+ 00025513  0x00004851 fetcht  0x00000001 , 0x00004800 
+ 00025514  0x00004852 branch  0x000069e5 
+ 00025515  0x00004856 fetch  0x00000001 , 0x00004813 
+ 00025516  0x00004857 rtnbit1  0x00000000 
+ 00025517  0x00004858 call  0x0000640c 
+ 00025518  0x00004859 branch  0x00003f9c 
+ 00025519  0x0000485c fetch  0x00000001 , 0x00004040 
+ 00025520  0x0000485d bbit0  0x00000000 , 0x0000428c 
+ 00025521  0x0000485e fetch  0x00000001 , 0x00004041 
+ 00025522  0x0000485f bbit1  0x00000000 , 0x000063d5 
+ 00025523  0x00004860 call  0x00003f40 
+ 00025524  0x00004861 branch  0x000063ab , 0x00000001 
+ 00025525  0x00004862 branch  0x00006d97 
+ 00025526  0x00004865 call  0x00005a88 
+ 00025527  0x00004866 ifetch  0x00000001 , 0x00000006 
+ 00025528  0x00004867 copy  0x00000006 , 0x00000011 
+ 00025529  0x00004868 call  0x00007f6e 
+ 00025530  0x00004869 copy  0x00000012 , 0x00000039 
+ 00025531  0x0000486a copy  0x00000011 , 0x00000006 
+ 00025532  0x0000486b call  0x00004976 
+ 00025533  0x0000486c branch  0x000068fa 
+ 00025534  0x00004871 fetch  0x00000002 , 0x00004810 
+ 00025535  0x00004872 rtn  0x00000034 
+ 00025536  0x00004873 arg  0x00000014 , 0x00000002 
+ 00025537  0x00004874 call  0x00007fb9 
+ 00025538  0x00004875 store  0x00000002 , 0x00000469 
+ 00025539  0x00004877 copy  0x0000003f , 0x00000002 
+ 00025540  0x00004878 fetch  0x00000002 , 0x00004810 
+ 00025541  0x00004879 isub  0x00000002 , 0x0000003f 
+ 00025542  0x0000487a store  0x00000002 , 0x00004810 
+ 00025543  0x0000487b nbranch  0x00003bf1 , 0x00000002 
+ 00025544  0x0000487d arg  0x00000014 , 0x00000002 
+ 00025545  0x0000487e storet  0x00000002 , 0x000044c2 
+ 00025546  0x0000487f call  0x00005a88 
+ 00025547  0x00004880 branch  0x00003bf1 , 0x00000034 
+ 00025548  0x00004881 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00025549  0x00004883 fetch  0x00000002 , 0x00000469 
+ 00025550  0x00004884 copy  0x0000003f , 0x00000039 
+ 00025551  0x00004886 call  0x00007f6b 
+ 00025552  0x00004888 call  0x0000497c 
+ 00025553  0x0000488a fetch  0x00000002 , 0x00000469 
+ 00025554  0x0000488b store  0x00000002 , 0x0000480e 
+ 00025555  0x0000488c store  0x00000002 , 0x0000041b 
+ 00025556  0x0000488d branch  0x0000428c 
+ 00025557  0x00004891 rtnmark0  0x00000009 
+ 00025558  0x00004892 call  0x000063d8 
+ 00025559  0x00004893 call  0x000063d8 
+ 00025560  0x00004895 call  0x0000561e 
+ 00025561  0x00004896 nrtn  0x00000034 
+ 00025562  0x00004897 hfetch  0x00000002 , 0x00008112 
+ 00025563  0x00004898 rtn  0x00000034 
+ 00025564  0x00004899 fetcht  0x00000002 , 0x00004810 
+ 00025565  0x0000489a isub  0x00000002 , 0x0000003f 
+ 00025566  0x0000489b nbranch  0x00003bf1 , 0x00000002 
+ 00025567  0x0000489c store  0x00000002 , 0x0000480e 
+ 00025568  0x0000489d rtn  0x00000034 
+ 00025569  0x0000489e call  0x00006407 
+ 00025570  0x0000489f fetch  0x00000002 , 0x00004810 
+ 00025571  0x000048a0 fetcht  0x00000002 , 0x0000480e 
+ 00025572  0x000048a1 iadd  0x00000002 , 0x0000003f 
+ 00025573  0x000048a2 store  0x00000002 , 0x00004810 
+ 00025574  0x000048a3 fetcht  0x00000002 , 0x00004810 
+ 00025575  0x000048a4 hfetch  0x00000002 , 0x00008112 
+ 00025576  0x000048a5 isub  0x00000002 , 0x00000011 
+ 00025577  0x000048a6 nbranch  0x00003bf1 , 0x00000002 
+ 00025578  0x000048a7 jam  0x0000001b , 0x00000b7d 
+ 00025579  0x000048a8 branch  0x00005620 
+ 00025580  0x000048ab storet  0x00000001 , 0x00000259 
+ 00025581  0x000048ad fetch  0x00000001 , 0x00000259 
+ 00025582  0x000048ae rtn  0x00000034 
+ 00025583  0x000048af increase  0xffffffff , 0x0000003f 
+ 00025584  0x000048b0 store  0x00000001 , 0x00000259 
+ 00025585  0x000048b1 call  0x000063f3 
+ 00025586  0x000048b2 branch  0x000063ed 
+ 00025587  0x000048b5 fetch  0x00000002 , 0x0000481a 
+ 00025588  0x000048b6 rtn  0x00000034 
+ 00025589  0x000048b7 increase  0xffffffff , 0x0000003f 
+ 00025590  0x000048b8 store  0x00000002 , 0x0000481a 
+ 00025591  0x000048b9 nrtn  0x00000034 
+ 00025592  0x000048ba fetch  0x00000001 , 0x000042a4 
+ 00025593  0x000048bb jam  0x00000000 , 0x000042a4 
+ 00025594  0x000048bc bbit1  0x00000001 , 0x000063fd 
+ 00025595  0x000048bd bbit1  0x00000000 , 0x000063fe 
+ 00025596  0x000048be branch  0x00003bf1 
+ 00025597  0x000048c0 branch  0x00003f8c 
+ 00025598  0x000048c2 jam  0x00000002 , 0x00004272 
+ 00025599  0x000048c3 rtn 
+ 00025600  0x000048c6 fetch  0x00000001 , 0x00004041 
+ 00025601  0x000048c7 bbit1  0x00000000 , 0x00006407 
+ 00025602  0x000048c8 fetch  0x00000002 , 0x0000480e 
+ 00025603  0x000048c9 arg  0x0000006e , 0x00000002 
+ 00025604  0x000048cb call  0x00007fb9 
+ 00025605  0x000048cc store  0x00000002 , 0x0000480e 
+ 00025606  0x000048cd rtn 
+ 00025607  0x000048cf fetch  0x00000002 , 0x0000480e 
+ 00025608  0x000048d0 arg  0x00000014 , 0x00000002 
+ 00025609  0x000048d1 call  0x00007fb9 
+ 00025610  0x000048d2 store  0x00000002 , 0x0000480e 
+ 00025611  0x000048d3 rtn 
+ 00025612  0x000048d6 fetch  0x00000001 , 0x00004813 
+ 00025613  0x000048d7 set1  0x00000000 , 0x0000003f 
+ 00025614  0x000048d8 store  0x00000001 , 0x00004813 
+ 00025615  0x000048d9 rtn 
+ 00025616  0x000048dc fetch  0x00000001 , 0x00004813 
+ 00025617  0x000048dd set0  0x00000000 , 0x0000003f 
+ 00025618  0x000048de store  0x00000001 , 0x00004813 
+ 00025619  0x000048df rtn 
+ 00025620  0x000048e2 fetch  0x00000001 , 0x00004813 
+ 00025621  0x000048e3 set1  0x00000007 , 0x0000003f 
+ 00025622  0x000048e4 store  0x00000001 , 0x00004813 
+ 00025623  0x000048e5 rtn 
+ 00025624  0x000048e8 fetch  0x00000001 , 0x00004813 
+ 00025625  0x000048e9 set0  0x00000007 , 0x0000003f 
+ 00025626  0x000048ea store  0x00000001 , 0x00004813 
+ 00025627  0x000048eb rtn 
+ 00025628  0x000048ee set1  0x00000025 , 0x00000000 
+ 00025629  0x000048ef bpatch  0x00000082 , 0x00004030 
+ 00025630  0x000048f0 call  0x00007f8e 
+ 00025631  0x000048f1 branch  0x00003f66 , 0x00000002 
+ 00025632  0x000048f2 branch  0x00003f68 
+ 00025633  0x000048f5 call  0x000063a9 
+ 00025634  0x000048f6 branch  0x00006428 , 0x00000001 
+ 00025635  0x000048f7 hfetcht  0x00000002 , 0x00008052 
+ 00025636  0x000048f8 fetch  0x00000002 , 0x000042ac 
+ 00025637  0x000048f9 isub  0x00000002 , 0x0000003e 
+ 00025638  0x000048fa rtn  0x00000005 
+ 00025639  0x000048fb branch  0x00006909 
+ 00025640  0x000048ff hfetcht  0x00000002 , 0x00008052 
+ 00025641  0x00004900 setarg  0x000001a0 
+ 00025642  0x00004901 isub  0x00000002 , 0x0000003e 
+ 00025643  0x00004902 rtn  0x00000005 
+ 00025644  0x00004903 hstore  0x00000002 , 0x00008052 
+ 00025645  0x00004904 rtn 
+ 00025646  0x00004907 set1  0x00000025 , 0x00000000 
+ 00025647  0x00004908 bpatch  0x00000083 , 0x00004030 
+ 00025648  0x00004909 fetch  0x00000001 , 0x00004812 
+ 00025649  0x0000490a isolate0  0x00000002 , 0x0000003f 
+ 00025650  0x0000490b branch  0x00006436 , 0x00000001 
+ 00025651  0x0000490c arg  0x00004814 , 0x00000011 
+ 00025652  0x0000490d arg  0x00000006 , 0x00000039 
+ 00025653  0x0000490e branch  0x00007f25 
+ 00025654  0x00004910 force  0x00000000 , 0x0000003e 
+ 00025655  0x00004911 rtn 
+ 00025656  0x00004914 set1  0x00000025 , 0x00000000 
+ 00025657  0x00004915 bpatch  0x00000084 , 0x00004030 
+ 00025658  0x00004916 arg  0x0000481c , 0x00000005 
+ 00025659  0x00004917 setsect  0x00000000 , 0x00035350 
+ 00025660  0x00004918 setsect  0x00000001 , 0x00015115 
+ 00025661  0x00004919 setsect  0x00000002 , 0x00012415 
+ 00025662  0x0000491a setsect  0x00000003 , 0x00010951 
+ 00025663  0x0000491b istore  0x00000009 , 0x00000005 
+ 00025664  0x0000491c setsect  0x00000000 , 0x0002454c 
+ 00025665  0x0000491d setsect  0x00000001 , 0x00035053 
+ 00025666  0x0000491e setsect  0x00000002 , 0x00002454 
+ 00025667  0x0000491f setsect  0x00000003 , 0x00011531 
+ 00025668  0x00004920 istore  0x00000009 , 0x00000005 
+ 00025669  0x00004921 setsect  0x00000000 , 0x00034441 
+ 00025670  0x00004922 setsect  0x00000001 , 0x000194d4 
+ 00025671  0x00004923 setsect  0x00000002 , 0x00012455 
+ 00025672  0x00004924 setsect  0x00000003 , 0x00010d4d 
+ 00025673  0x00004925 istore  0x00000009 , 0x00000005 
+ 00025674  0x00004926 setsect  0x00000000 , 0x0003414c 
+ 00025675  0x00004927 setsect  0x00000001 , 0x0000d4d4 
+ 00025676  0x00004928 setsect  0x00000002 , 0x000124c4 
+ 00025677  0x00004929 setsect  0x00000003 , 0x00013119 
+ 00025678  0x0000492a istore  0x00000009 , 0x00000005 
+ 00025679  0x0000492b setsect  0x00000000 , 0x00015247 
+ 00025680  0x0000492c setsect  0x00000001 , 0x0003d0d1 
+ 00025681  0x0000492d setsect  0x00000002 , 0x0000e4e4 
+ 00025682  0x0000492e setsect  0x00000003 , 0x00011531 
+ 00025683  0x0000492f istore  0x00000009 , 0x00000005 
+ 00025684  0x00004930 setsect  0x00000000 , 0x00034944 
+ 00025685  0x00004931 setsect  0x00000001 , 0x000114d4 
+ 00025686  0x00004932 setsect  0x00000002 , 0x0000e535 
+ 00025687  0x00004933 setsect  0x00000003 , 0x00015105 
+ 00025688  0x00004934 istore  0x00000009 , 0x00000005 
+ 00025689  0x00004935 setsect  0x00000000 , 0x00014c2b 
+ 00025690  0x00004936 setsect  0x00000001 , 0x000114d2 
+ 00025691  0x00004937 setsect  0x00000002 , 0x0000f525 
+ 00025692  0x00004938 setsect  0x00000003 , 0x00011531 
+ 00025693  0x00004939 istore  0x00000009 , 0x00000005 
+ 00025694  0x0000493a setsect  0x00000000 , 0x00014e53 
+ 00025695  0x0000493b setsect  0x00000001 , 0x00019192 
+ 00025696  0x0000493c setsect  0x00000002 , 0x000044c4 
+ 00025697  0x0000493d setsect  0x00000003 , 0x00015915 
+ 00025698  0x0000493e istore  0x00000009 , 0x00000005 
+ 00025699  0x0000493f setsect  0x00000000 , 0x00035352 
+ 00025700  0x00004940 setsect  0x00000001 , 0x0000d254 
+ 00025701  0x00004941 setsect  0x00000002 , 0x00005444 
+ 00025702  0x00004942 setsect  0x00000003 , 0x00010959 
+ 00025703  0x00004943 istore  0x00000009 , 0x00000005 
+ 00025704  0x00004944 setsect  0x00000000 , 0x0001454c 
+ 00025705  0x00004945 setsect  0x00000001 , 0x00005392 
+ 00025706  0x00004946 setsect  0x00000002 , 0x00003525 
+ 00025707  0x00004947 setsect  0x00000003 , 0x00013d35 
+ 00025708  0x00004948 istore  0x00000009 , 0x00000005 
+ 00025709  0x00004949 setsect  0x00000000 , 0x00014544 
+ 00025710  0x0000494a setsect  0x00000001 , 0x000113d3 
+ 00025711  0x0000494b setsect  0x00000002 , 0x00004454 
+ 00025712  0x0000494c setsect  0x00000003 , 0x00014d35 
+ 00025713  0x0000494d istore  0x00000009 , 0x00000005 
+ 00025714  0x0000494e setsect  0x00000000 , 0x00004154 
+ 00025715  0x0000494f setsect  0x00000001 , 0x00011155 
+ 00025716  0x00004950 setsect  0x00000002 , 0x00013494 
+ 00025717  0x00004951 setsect  0x00000003 , 0x00013d0d 
+ 00025718  0x00004952 istore  0x00000009 , 0x00000005 
+ 00025719  0x00004953 setsect  0x00000000 , 0x00004f56 
+ 00025720  0x00004954 setsect  0x00000001 , 0x00031055 
+ 00025721  0x00004955 setsect  0x00000002 , 0x00003454 
+ 00025722  0x00004956 setsect  0x00000003 , 0x0001393d 
+ 00025723  0x00004957 istore  0x00000009 , 0x00000005 
+ 00025724  0x00004958 setsect  0x00000000 , 0x0001504e 
+ 00025725  0x00004959 setsect  0x00000001 , 0x000151d0 
+ 00025726  0x0000495a setsect  0x00000002 , 0x000154f4 
+ 00025727  0x0000495b setsect  0x00000003 , 0x00014951 
+ 00025728  0x0000495c istore  0x00000009 , 0x00000005 
+ 00025729  0x0000495d setsect  0x00000000 , 0x00024345 
+ 00025730  0x0000495e setsect  0x00000001 , 0x00025051 
+ 00025731  0x0000495f setsect  0x00000002 , 0x000004c4 
+ 00025732  0x00004960 istore  0x00000006 , 0x00000005 
+ 00025733  0x00004961 rtn 
+ 00025734  0x00004966 setarg  0x000065d7 
+ 00025735  0x00004967 store  0x00000002 , 0x0000428c 
+ 00025736  0x00004968 setarg  0x0000652e 
+ 00025737  0x00004969 store  0x00000002 , 0x0000428e 
+ 00025738  0x0000496a setarg  0x000064e3 
+ 00025739  0x0000496b store  0x00000002 , 0x0000428a 
+ 00025740  0x0000496c setarg  0x000065f3 
+ 00025741  0x0000496d store  0x00000002 , 0x00004292 
+ 00025742  0x0000496e setarg  0x000064a9 
+ 00025743  0x0000496f store  0x00000002 , 0x00004290 
+ 00025744  0x00004970 setarg  0x00006561 
+ 00025745  0x00004971 store  0x00000002 , 0x00004298 
+ 00025746  0x00004972 jam  0x00000000 , 0x000007dc 
+ 00025747  0x00004973 jam  0x00000000 , 0x000007dd 
+ 00025748  0x00004974 set0  0x00000025 , 0x00000000 
+ 00025749  0x00004975 bpatch  0x000000c0 , 0x00004018 
+ 00025750  0x00004976 call  0x000064c4 
+ 00025751  0x00004977 rtn  0x0000002b 
+ 00025752  0x00004978 call  0x0000649f 
+ 00025753  0x00004979 call  0x000064a7 
+ 00025754  0x0000497a setarg  0x000064e0 
+ 00025755  0x0000497b store  0x00000002 , 0x00004288 
+ 00025756  0x0000497c fetch  0x00000002 , 0x000047f4 
+ 00025757  0x0000497d bbit1  0x0000000c , 0x00006697 
+ 00025758  0x0000497e branch  0x00006693 
+ 00025759  0x00004981 call  0x00003f4d 
+ 00025760  0x00004982 branch  0x000064a4 , 0x00000005 
+ 00025761  0x00004983 call  0x00006963 
+ 00025762  0x00004984 call  0x000066ba 
+ 00025763  0x00004985 branch  0x00003f45 
+ 00025764  0x00004987 call  0x0000691d 
+ 00025765  0x00004988 call  0x00006967 
+ 00025766  0x00004989 branch  0x000066c0 
+ 00025767  0x0000498c jam  0x00000001 , 0x0000481c 
+ 00025768  0x0000498d branch  0x000064bb 
+ 00025769  0x00004990 call  0x00007cd7 
+ 00025770  0x00004991 call  0x000064ac 
+ 00025771  0x00004992 branch  0x000064f6 
+ 00025772  0x00004995 fetcht  0x00000001 , 0x00004825 
+ 00025773  0x00004996 call  0x000069e5 
+ 00025774  0x00004997 nbranch  0x000064b3 , 0x00000001 
+ 00025775  0x00004999 fetch  0x00000001 , 0x0000481c 
+ 00025776  0x0000499a rtneq  0x00000000 
+ 00025777  0x0000499b jam  0x00000000 , 0x0000481c 
+ 00025778  0x0000499c rtn 
+ 00025779  0x0000499e fetch  0x00000001 , 0x0000481c 
+ 00025780  0x0000499f rtneq  0x00000001 
+ 00025781  0x000049a0 jam  0x00000001 , 0x0000481c 
+ 00025782  0x000049a1 fetch  0x00000001 , 0x0000481b 
+ 00025783  0x000049a2 increase  0x00000001 , 0x0000003f 
+ 00025784  0x000049a3 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00025785  0x000049a4 store  0x00000001 , 0x0000481b 
+ 00025786  0x000049a5 branch  0x000064bb 
+ 00025787  0x000049a7 setarg  0x00000006 
+ 00025788  0x000049a8 call  0x000066d8 
+ 00025789  0x000049a9 and  0x0000003f , 0x000000fc , 0x00000002 
+ 00025790  0x000049aa fetch  0x00000001 , 0x0000481b 
+ 00025791  0x000049ab iadd  0x00000002 , 0x0000003f 
+ 00025792  0x000049ac lshift8  0x0000003f , 0x0000003f 
+ 00025793  0x000049ad add  0x0000003f , 0x00000006 , 0x0000003f 
+ 00025794  0x000049ae call  0x000066d7 
+ 00025795  0x000049af branch  0x000066ba 
+ 00025796  0x000049b2 call  0x000065c5 
+ 00025797  0x000049b3 call  0x000064ca 
+ 00025798  0x000049b4 hfetch  0x00000002 , 0x00008050 
+ 00025799  0x000049b5 set0  0x0000000b , 0x0000003f 
+ 00025800  0x000049b6 hstore  0x00000002 , 0x00008050 
+ 00025801  0x000049b7 rtn 
+ 00025802  0x000049ba call  0x00003e0b 
+ 00025803  0x000049bb fetcht  0x00000001 , 0x00004827 
+ 00025804  0x000049bc call  0x000069d1 
+ 00025805  0x000049bd fetcht  0x00000001 , 0x00004828 
+ 00025806  0x000049be call  0x000069d1 
+ 00025807  0x000049bf fetcht  0x00000001 , 0x00004822 
+ 00025808  0x000049c0 call  0x000069d1 
+ 00025809  0x000049c1 fetcht  0x00000001 , 0x00004823 
+ 00025810  0x000049c2 call  0x000069d1 
+ 00025811  0x000049c3 fetcht  0x00000001 , 0x00004824 
+ 00025812  0x000049c4 call  0x000069d1 
+ 00025813  0x000049c5 fetcht  0x00000001 , 0x00004826 
+ 00025814  0x000049c6 call  0x000069d1 
+ 00025815  0x000049c7 fetcht  0x00000001 , 0x00004825 
+ 00025816  0x000049c8 call  0x000069d1 
+ 00025817  0x000049c9 hfetch  0x00000001 , 0x0000807b 
+ 00025818  0x000049ca or_into  0x00000018 , 0x0000003f 
+ 00025819  0x000049cb hstore  0x00000001 , 0x0000807b 
+ 00025820  0x000049cc hfetch  0x00000001 , 0x0000807f 
+ 00025821  0x000049cd and_into  0x000000e7 , 0x0000003f 
+ 00025822  0x000049ce hstore  0x00000001 , 0x0000807f 
+ 00025823  0x000049cf rtn 
+ 00025824  0x000049d3 setarg  0x0000bc05 
+ 00025825  0x000049d4 call  0x000066d7 
+ 00025826  0x000049d5 jam  0x00000001 , 0x000000a2 
+ 00025827  0x000049d8 call  0x000064f6 
+ 00025828  0x000049d9 arg  0x00000019 , 0x00000002 
+ 00025829  0x000049da call  0x000069da 
+ 00025830  0x000049db hjam  0x00000000 , 0x00008081 
+ 00025831  0x000049dc fetcht  0x00000001 , 0x00004827 
+ 00025832  0x000049dd call  0x000069b4 
+ 00025833  0x000049de fetcht  0x00000001 , 0x00004828 
+ 00025834  0x000049df call  0x000069b4 
+ 00025835  0x000049e0 fetcht  0x00000001 , 0x00004822 
+ 00025836  0x000049e1 call  0x000069b4 
+ 00025837  0x000049e2 fetcht  0x00000001 , 0x00004823 
+ 00025838  0x000049e3 call  0x000069b4 
+ 00025839  0x000049e4 fetcht  0x00000001 , 0x00004824 
+ 00025840  0x000049e5 call  0x000069b4 
+ 00025841  0x000049e6 fetcht  0x00000001 , 0x00004826 
+ 00025842  0x000049e7 call  0x000069b9 
+ 00025843  0x000049e8 fetch  0x00000001 , 0x000000a2 
+ 00025844  0x000049e9 nrtn  0x00000034 
+ 00025845  0x000049ea branch  0x000069c4 
+ 00025846  0x000049ed set0  0x00000025 , 0x00000000 
+ 00025847  0x000049ee bpatch  0x000000c1 , 0x00004018 
+ 00025848  0x000049ef arg  0x00000000 , 0x00000011 
+ 00025849  0x000049f0 fetcht  0x00000001 , 0x00004827 
+ 00025850  0x000049f1 call  0x000069e5 
+ 00025851  0x000049f2 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00025852  0x000049f3 fetcht  0x00000001 , 0x00004828 
+ 00025853  0x000049f4 call  0x000069e5 
+ 00025854  0x000049f5 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00025855  0x000049f6 copy  0x00000011 , 0x0000003f 
+ 00025856  0x000049f8 and_into  0x00000003 , 0x0000003f 
+ 00025857  0x000049f9 fetcht  0x00000001 , 0x00004808 
+ 00025858  0x000049fa store  0x00000001 , 0x00004808 
+ 00025859  0x000049fb isub  0x00000002 , 0x0000003e 
+ 00025860  0x000049fc branch  0x00006514 , 0x00000005 
+ 00025861  0x000049fd fetch  0x00000001 , 0x00004807 
+ 00025862  0x000049fe store  0x00000001 , 0x00004806 
+ 00025863  0x000049ff storet  0x00000001 , 0x00004807 
+ 00025864  0x00004a00 fetch  0x00000001 , 0x00004808 
+ 00025865  0x00004a01 lshift4  0x0000003f , 0x0000003f 
+ 00025866  0x00004a02 fetcht  0x00000001 , 0x00004807 
+ 00025867  0x00004a03 lshift2  0x00000002 , 0x00000002 
+ 00025868  0x00004a04 iadd  0x00000002 , 0x0000003f 
+ 00025869  0x00004a05 fetcht  0x00000001 , 0x00004806 
+ 00025870  0x00004a06 iadd  0x00000002 , 0x0000003f 
+ 00025871  0x00004a07 beq  0x00000038 , 0x00006515 
+ 00025872  0x00004a08 beq  0x00000034 , 0x00006519 
+ 00025873  0x00004a09 beq  0x0000000b , 0x00006519 
+ 00025874  0x00004a0a beq  0x00000007 , 0x00006515 
+ 00025875  0x00004a0b rtn 
+ 00025876  0x00004a0e rtn 
+ 00025877  0x00004a11 fetch  0x00000001 , 0x00004809 
+ 00025878  0x00004a12 increase  0x00000001 , 0x0000003f 
+ 00025879  0x00004a13 store  0x00000001 , 0x00004809 
+ 00025880  0x00004a14 rtn 
+ 00025881  0x00004a17 fetch  0x00000001 , 0x00004809 
+ 00025882  0x00004a18 increase  0xffffffff , 0x0000003f 
+ 00025883  0x00004a19 store  0x00000001 , 0x00004809 
+ 00025884  0x00004a1a rtn 
+ 00025885  0x00004a1e rtn 
+ 00025886  0x00004a20 setarg  0x0000b805 
+ 00025887  0x00004a21 branch  0x000066d7 
+ 00025888  0x00004a24 rtn 
+ 00025889  0x00004a27 call  0x00003fa0 
+ 00025890  0x00004a28 jam  0x00000002 , 0x00004820 
+ 00025891  0x00004a29 call  0x00003fa4 
+ 00025892  0x00004a2b branch  0x00003f92 
+ 00025893  0x00004a2e fetch  0x00000002 , 0x0000481e 
+ 00025894  0x00004a2f rtn  0x00000034 
+ 00025895  0x00004a30 increase  0xffffffff , 0x0000003f 
+ 00025896  0x00004a31 store  0x00000002 , 0x0000481e 
+ 00025897  0x00004a32 nrtn  0x00000034 
+ 00025898  0x00004a33 branch  0x00003f9a 
+ 00025899  0x00004a36 setarg  0x00000002 
+ 00025900  0x00004a37 store  0x00000001 , 0x000047f2 
+ 00025901  0x00004a38 rtn 
+ 00025902  0x00004a3b fetch  0x00000001 , 0x0000427f 
+ 00025903  0x00004a3c rtn  0x00000034 
+ 00025904  0x00004a3d call  0x0000527c 
+ 00025905  0x00004a3e nrtn  0x00000034 
+ 00025906  0x00004a3f call  0x00006578 
+ 00025907  0x00004a40 nrtn  0x00000028 
+ 00025908  0x00004a41 call  0x0000655e 
+ 00025909  0x00004a42 call  0x0000655a 
+ 00025910  0x00004a44 arg  0x00000008 , 0x00000011 
+ 00025911  0x00004a45 call  0x00004b2c 
+ 00025912  0x00004a46 fetch  0x00000002 , 0x000042b7 
+ 00025913  0x00004a47 istore  0x00000002 , 0x00000005 
+ 00025914  0x00004a48 setarg  0x000002a1 
+ 00025915  0x00004a49 istore  0x00000002 , 0x00000005 
+ 00025916  0x00004a4a fetch  0x00000001 , 0x00004805 
+ 00025917  0x00004a4b istore  0x00000001 , 0x00000005 
+ 00025918  0x00004a4c fetch  0x00000002 , 0x00004800 
+ 00025919  0x00004a4d arg  0x00000fff , 0x00000002 
+ 00025920  0x00004a4e iand  0x00000002 , 0x0000003f 
+ 00025921  0x00004a4f fetcht  0x00000002 , 0x00004802 
+ 00025922  0x00004a50 lshift4  0x00000002 , 0x00000002 
+ 00025923  0x00004a51 lshift8  0x00000002 , 0x00000002 
+ 00025924  0x00004a52 ior  0x00000002 , 0x0000003f 
+ 00025925  0x00004a53 istore  0x00000003 , 0x00000005 
+ 00025926  0x00004a54 fetch  0x00000001 , 0x00004804 
+ 00025927  0x00004a55 istore  0x00000001 , 0x00000005 
+ 00025928  0x00004a56 setarg  0x00000000 
+ 00025929  0x00004a57 istore  0x00000001 , 0x00000005 
+ 00025930  0x00004a58 jam  0x00000008 , 0x000008a8 
+ 00025931  0x00004a59 rtn 
+ 00025932  0x00004a5d set0  0x00000025 , 0x00000000 
+ 00025933  0x00004a5e bpatch  0x000000c2 , 0x00004018 
+ 00025934  0x00004a5f fetch  0x00000001 , 0x0000481a 
+ 00025935  0x00004a60 rtn  0x00000034 
+ 00025936  0x00004a61 increase  0xffffffff , 0x0000003f 
+ 00025937  0x00004a62 store  0x00000001 , 0x0000481a 
+ 00025938  0x00004a63 nrtn  0x00000034 
+ 00025939  0x00004a64 call  0x0000527e 
+ 00025940  0x00004a65 nrtn  0x00000034 
+ 00025941  0x00004a66 setarg  0x00000000 
+ 00025942  0x00004a67 store  0x00000005 , 0x00004800 
+ 00025943  0x00004a68 call  0x00006536 
+ 00025944  0x00004a69 jam  0x00000050 , 0x0000481a 
+ 00025945  0x00004a6a rtn 
+ 00025946  0x00004a6c fetch  0x00000002 , 0x00004810 
+ 00025947  0x00004a6d store  0x00000002 , 0x00004818 
+ 00025948  0x00004a6e jam  0x00000050 , 0x0000481a 
+ 00025949  0x00004a6f rtn 
+ 00025950  0x00004a72 fetch  0x00000002 , 0x0000480e 
+ 00025951  0x00004a73 store  0x00000002 , 0x00004816 
+ 00025952  0x00004a74 rtn 
+ 00025953  0x00004a78 fetcht  0x00000002 , 0x000044c2 
+ 00025954  0x00004a79 call  0x00005a88 
+ 00025955  0x00004a7a ifetch  0x00000001 , 0x00000006 
+ 00025956  0x00004a7b store  0x00000001 , 0x0000041b 
+ 00025957  0x00004a7c rtn 
+ 00025958  0x00004a80 set0  0x00000025 , 0x00000000 
+ 00025959  0x00004a81 bpatch  0x000000c3 , 0x00004018 
+ 00025960  0x00004a82 fetcht  0x00000002 , 0x000044c2 
+ 00025961  0x00004a83 call  0x00005a88 
+ 00025962  0x00004a84 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00025963  0x00004a86 fetch  0x00000001 , 0x00004805 
+ 00025964  0x00004a87 istore  0x00000001 , 0x00000005 
+ 00025965  0x00004a88 fetch  0x00000002 , 0x00004800 
+ 00025966  0x00004a89 arg  0x00000fff , 0x00000002 
+ 00025967  0x00004a8a iand  0x00000002 , 0x0000003f 
+ 00025968  0x00004a8b fetcht  0x00000002 , 0x00004802 
+ 00025969  0x00004a8c lshift4  0x00000002 , 0x00000002 
+ 00025970  0x00004a8d lshift8  0x00000002 , 0x00000002 
+ 00025971  0x00004a8e ior  0x00000002 , 0x0000003f 
+ 00025972  0x00004a8f istore  0x00000003 , 0x00000005 
+ 00025973  0x00004a90 fetch  0x00000001 , 0x00004804 
+ 00025974  0x00004a91 istore  0x00000001 , 0x00000005 
+ 00025975  0x00004a92 rtn 
+ 00025976  0x00004a95 set0  0x00000025 , 0x00000000 
+ 00025977  0x00004a96 bpatch  0x000000c4 , 0x00004018 
+ 00025978  0x00004a97 disable  0x00000028 
+ 00025979  0x00004a98 setarg  0x00000000 
+ 00025980  0x00004a99 store  0x00000005 , 0x00004800 
+ 00025981  0x00004a9a call  0x00006581 
+ 00025982  0x00004a9b call  0x000065b4 
+ 00025983  0x00004a9c call  0x0000659c 
+ 00025984  0x00004a9d branch  0x000065a2 
+ 00025985  0x00004aa0 fetch  0x00000001 , 0x00004821 
+ 00025986  0x00004aa1 rtnne  0x00000002 
+ 00025987  0x00004aa2 fetch  0x00000001 , 0x0000480a 
+ 00025988  0x00004aa3 call  0x000065ba , 0x00000034 
+ 00025989  0x00004aa4 jam  0x00000001 , 0x0000480a 
+ 00025990  0x00004aa5 disable  0x00000028 
+ 00025991  0x00004aa6 fetcht  0x00000001 , 0x00004826 
+ 00025992  0x00004aa7 call  0x000069e5 
+ 00025993  0x00004aa8 nrtn  0x00000001 
+ 00025994  0x00004aa9 setarg  0x00000000 
+ 00025995  0x00004aaa call  0x000066d8 
+ 00025996  0x00004aab bne  0x00000030 , 0x000066c6 
+ 00025997  0x00004aac setarg  0x00000002 
+ 00025998  0x00004aad call  0x000066d8 
+ 00025999  0x00004aae rtnbit0  0x00000007 
+ 00026000  0x00004aaf setarg  0x00000003 
+ 00026001  0x00004ab0 call  0x000066d8 
+ 00026002  0x00004ab1 call  0x000065d3 
+ 00026003  0x00004ab2 store  0x00000002 , 0x00004800 
+ 00026004  0x00004ab3 setarg  0x00000004 
+ 00026005  0x00004ab4 call  0x000066d8 
+ 00026006  0x00004ab5 call  0x000065d3 
+ 00026007  0x00004ab6 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00026008  0x00004ab7 store  0x00000002 , 0x00004802 
+ 00026009  0x00004ab8 fetch  0x00000004 , 0x00004800 
+ 00026010  0x00004ab9 enable  0x00000028 
+ 00026011  0x00004aba rtn 
+ 00026012  0x00004abc fetch  0x00000001 , 0x00004809 
+ 00026013  0x00004abd rtn  0x00000034 
+ 00026014  0x00004abe store  0x00000001 , 0x00004804 
+ 00026015  0x00004abf jam  0x00000000 , 0x00004809 
+ 00026016  0x00004ac0 enable  0x00000028 
+ 00026017  0x00004ac1 rtn 
+ 00026018  0x00004ac3 arg  0x00000000 , 0x00000011 
+ 00026019  0x00004ac4 fetcht  0x00000001 , 0x00004822 
+ 00026020  0x00004ac5 call  0x000069e5 
+ 00026021  0x00004ac6 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00026022  0x00004ac7 fetcht  0x00000001 , 0x00004823 
+ 00026023  0x00004ac8 call  0x000069e5 
+ 00026024  0x00004ac9 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00026025  0x00004aca fetcht  0x00000001 , 0x00004824 
+ 00026026  0x00004acb call  0x000069e5 
+ 00026027  0x00004acc setflag  0x00000001 , 0x00000002 , 0x00000011 
+ 00026028  0x00004acd deposit  0x00000011 
+ 00026029  0x00004ace fetcht  0x00000001 , 0x00004805 
+ 00026030  0x00004acf store  0x00000001 , 0x00004805 
+ 00026031  0x00004ad0 ixor  0x00000002 , 0x0000003f 
+ 00026032  0x00004ad1 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00026033  0x00004ad2 rtn  0x00000005 
+ 00026034  0x00004ad3 enable  0x00000028 
+ 00026035  0x00004ad4 rtn 
+ 00026036  0x00004ada arg  0x0000001a , 0x00000002 
+ 00026037  0x00004adb call  0x000069e5 
+ 00026038  0x00004adc rtn  0x00000001 
+ 00026039  0x00004add setarg  0x00000000 
+ 00026040  0x00004ade call  0x000066d8 
+ 00026041  0x00004adf branch  0x000065b4 
+ 00026042  0x00004ae2 arg  0x00000000 , 0x00000039 
+ 00026043  0x00004ae4 setarg  0x00000002 
+ 00026044  0x00004ae5 call  0x000066d8 
+ 00026045  0x00004ae6 nop  0x00000064 
+ 00026046  0x00004ae7 increase  0x00000001 , 0x00000039 
+ 00026047  0x00004ae8 fetcht  0x00000001 , 0x00004826 
+ 00026048  0x00004ae9 call  0x000069e5 
+ 00026049  0x00004aea branch  0x000065bb , 0x00000001 
+ 00026050  0x00004aeb deposit  0x00000039 
+ 00026051  0x00004aec store  0x00000002 , 0x0000046b 
+ 00026052  0x00004aed rtn 
+ 00026053  0x00004aef call  0x0000678e 
+ 00026054  0x00004af0 rtn  0x0000002b 
+ 00026055  0x00004af3 setarg  0x00000000 
+ 00026056  0x00004af4 call  0x000066d8 
+ 00026057  0x00004af5 store  0x00000001 , 0x00000256 
+ 00026058  0x00004af6 beq  0x00000030 , 0x000065ce 
+ 00026059  0x00004af7 call  0x000066c6 
+ 00026060  0x00004af8 nop  0x00002710 
+ 00026061  0x00004af9 branch  0x000065c7 
+ 00026062  0x00004afb setarg  0x00008006 
+ 00026063  0x00004afc call  0x000066d7 
+ 00026064  0x00004afd nop  0x000003e8 
+ 00026065  0x00004afe jam  0x00000002 , 0x00004821 
+ 00026066  0x00004aff rtn 
+ 00026067  0x00004b04 rtnbit0  0x00000007 
+ 00026068  0x00004b05 arg  0x0000ff00 , 0x00000002 
+ 00026069  0x00004b06 ior  0x00000002 , 0x0000003f 
+ 00026070  0x00004b07 rtn 
+ 00026071  0x00004b0c call  0x0000561e 
+ 00026072  0x00004b0d nrtn  0x00000034 
+ 00026073  0x00004b0e fetcht  0x00000002 , 0x000044c2 
+ 00026074  0x00004b0f call  0x00005866 
+ 00026075  0x00004b10 rtnbit0  0x00000000 
+ 00026076  0x00004b11 fetch  0x00000001 , 0x000046f8 
+ 00026077  0x00004b12 rtnbit0  0x00000000 
+ 00026078  0x00004b13 call  0x00006578 
+ 00026079  0x00004b15 nrtn  0x00000028 
+ 00026080  0x00004b16 call  0x0000655e 
+ 00026081  0x00004b18 jam  0x0000001b , 0x00000b7d 
+ 00026082  0x00004b19 call  0x00005620 
+ 00026083  0x00004b1a branch  0x00006566 
+ 00026084  0x00004b1d rtn  0x00000028 
+ 00026085  0x00004b1e fetch  0x00000001 , 0x0000481d 
+ 00026086  0x00004b1f increase  0x00000001 , 0x0000003f 
+ 00026087  0x00004b20 store  0x00000001 , 0x0000481d 
+ 00026088  0x00004b21 arg  0x00000001 , 0x00000002 
+ 00026089  0x00004b22 bbit0  0x00000007 , 0x000065eb 
+ 00026090  0x00004b23 arg  0x0000ffff , 0x00000002 
+ 00026091  0x00004b25 storet  0x00000005 , 0x00004800 
+ 00026092  0x00004b26 enable  0x00000028 
+ 00026093  0x00004b27 rtn 
+ 00026094  0x00004b2a disable  0x00000028 
+ 00026095  0x00004b2b fetch  0x00000001 , 0x00004820 
+ 00026096  0x00004b2c rtneq  0x00000002 
+ 00026097  0x00004b2d enable  0x00000028 
+ 00026098  0x00004b2e rtn 
+ 00026099  0x00004b31 copy  0x00000013 , 0x0000003f 
+ 00026100  0x00004b32 beq  0x00000014 , 0x00006606 
+ 00026101  0x00004b33 beq  0x00000001 , 0x000066a6 
+ 00026102  0x00004b34 beq  0x00000015 , 0x00006617 
+ 00026103  0x00004b35 beq  0x00000002 , 0x00006617 
+ 00026104  0x00004b36 beq  0x00000005 , 0x00006616 
+ 00026105  0x00004b37 beq  0x00000010 , 0x0000666a 
+ 00026106  0x00004b38 beq  0x00000012 , 0x0000668a 
+ 00026107  0x00004b39 beq  0x00000006 , 0x00006614 
+ 00026108  0x00004b3a beq  0x00000028 , 0x00006521 
+ 00026109  0x00004b3b beq  0x00000029 , 0x00006524 
+ 00026110  0x00004b3c beq  0x00000004 , 0x00006611 
+ 00026111  0x00004b3d beq  0x00000013 , 0x00006611 
+ 00026112  0x00004b3e beq  0x0000000a , 0x0000660f 
+ 00026113  0x00004b3f beq  0x0000002e , 0x00003f57 
+ 00026114  0x00004b40 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00026115  0x00004b41 and_into  0x000000f0 , 0x0000003f 
+ 00026116  0x00004b42 beq  0x00000050 , 0x00006634 
+ 00026117  0x00004b43 rtn 
+ 00026118  0x00004b46 fetch  0x00000002 , 0x000042a2 
+ 00026119  0x00004b47 set0  0x00000000 , 0x0000003f 
+ 00026120  0x00004b48 store  0x00000002 , 0x000042a2 
+ 00026121  0x00004b49 setarg  0x00000000 
+ 00026122  0x00004b4a store  0x00000002 , 0x00004814 
+ 00026123  0x00004b4b fetch  0x00000001 , 0x00004829 
+ 00026124  0x00004b4c increase  0x00000001 , 0x0000003f 
+ 00026125  0x00004b4d store  0x00000001 , 0x00004829 
+ 00026126  0x00004b4e branch  0x000066a6 
+ 00026127  0x00004b51 call  0x000062e9 
+ 00026128  0x00004b52 branch  0x00003f6a 
+ 00026129  0x00004b55 fetch  0x00000002 , 0x000047f4 
+ 00026130  0x00004b56 bbit1  0x0000000c , 0x00006697 
+ 00026131  0x00004b57 branch  0x00003f10 
+ 00026132  0x00004b5b call  0x0000652b 
+ 00026133  0x00004b5c rtn 
+ 00026134  0x00004b5e rtn 
+ 00026135  0x00004b61 set0  0x00000025 , 0x00000000 
+ 00026136  0x00004b62 bpatch  0x000000c5 , 0x00004018 
+ 00026137  0x00004b63 call  0x00006621 
+ 00026138  0x00004b64 fetch  0x00000002 , 0x000042a0 
+ 00026139  0x00004b65 bbit1  0x00000007 , 0x00006630 
+ 00026140  0x00004b66 bbit1  0x00000000 , 0x00003f12 
+ 00026141  0x00004b67 bbit1  0x00000001 , 0x0000662a 
+ 00026142  0x00004b68 bbit1  0x00000002 , 0x0000662d 
+ 00026143  0x00004b69 bbit1  0x00000003 , 0x0000662d 
+ 00026144  0x00004b6a branch  0x00006697 
+ 00026145  0x00004b6c setarg  0x00000000 
+ 00026146  0x00004b6d store  0x00000004 , 0x00004806 
+ 00026147  0x00004b6e jam  0x00000000 , 0x0000481a 
+ 00026148  0x00004b6f jam  0x00000000 , 0x0000480a 
+ 00026149  0x00004b70 jam  0x00000000 , 0x0000427f 
+ 00026150  0x00004b71 jam  0x00000000 , 0x0000448b 
+ 00026151  0x00004b72 jam  0x00000000 , 0x00004820 
+ 00026152  0x00004b73 jam  0x00000000 , 0x0000480b 
+ 00026153  0x00004b74 rtn 
+ 00026154  0x00004b77 bbit1  0x00000005 , 0x0000662d 
+ 00026155  0x00004b78 bbit1  0x00000003 , 0x0000662d 
+ 00026156  0x00004b79 branch  0x00006697 
+ 00026157  0x00004b7b fetch  0x00000002 , 0x000047f4 
+ 00026158  0x00004b7c bbit1  0x0000000c , 0x00006697 
+ 00026159  0x00004b7d branch  0x00003f10 
+ 00026160  0x00004b80 call  0x00005b30 
+ 00026161  0x00004b81 fetch  0x00000002 , 0x000042a0 
+ 00026162  0x00004b82 bbit1  0x00000000 , 0x00003f12 
+ 00026163  0x00004b83 branch  0x00003f10 
+ 00026164  0x00004b86 set0  0x00000025 , 0x00000000 
+ 00026165  0x00004b87 bpatch  0x000000c6 , 0x00004018 
+ 00026166  0x00004b88 storet  0x00000001 , 0x00000259 
+ 00026167  0x00004b8a fetch  0x00000001 , 0x00000259 
+ 00026168  0x00004b8b rtn  0x00000034 
+ 00026169  0x00004b8c increase  0xffffffff , 0x0000003f 
+ 00026170  0x00004b8d store  0x00000001 , 0x00000259 
+ 00026171  0x00004b90 call  0x00006649 
+ 00026172  0x00004b91 call  0x0000664f 
+ 00026173  0x00004b92 call  0x00006656 
+ 00026174  0x00004b93 call  0x00006664 
+ 00026175  0x00004b95 fetch  0x00000001 , 0x00004820 
+ 00026176  0x00004b96 compare  0x00000002 , 0x0000003f , 0x000000ff 
+ 00026177  0x00004b97 call  0x00006648 , 0x00000001 
+ 00026178  0x00004b98 fetch  0x00000001 , 0x00004820 
+ 00026179  0x00004b99 compare  0x00000001 , 0x0000003f , 0x000000ff 
+ 00026180  0x00004b9a call  0x00006646 , 0x00000001 
+ 00026181  0x00004b9b branch  0x00006637 
+ 00026182  0x00004b9f call  0x0000665d 
+ 00026183  0x00004ba0 branch  0x0000654c 
+ 00026184  0x00004ba4 rtn 
+ 00026185  0x00004ba7 fetch  0x00000001 , 0x000047f2 
+ 00026186  0x00004ba8 rtn  0x00000034 
+ 00026187  0x00004ba9 increase  0xffffffff , 0x0000003f 
+ 00026188  0x00004baa store  0x00000001 , 0x000047f2 
+ 00026189  0x00004bab nrtn  0x00000034 
+ 00026190  0x00004bac branch  0x0000668a 
+ 00026191  0x00004baf fetch  0x00000002 , 0x00004812 
+ 00026192  0x00004bb0 rtn  0x00000034 
+ 00026193  0x00004bb1 increase  0xffffffff , 0x0000003f 
+ 00026194  0x00004bb2 store  0x00000002 , 0x00004812 
+ 00026195  0x00004bb3 nrtn  0x00000034 
+ 00026196  0x00004bb4 call  0x000066a6 
+ 00026197  0x00004bb5 branch  0x00003f9a 
+ 00026198  0x00004bb8 fetch  0x00000002 , 0x00004814 
+ 00026199  0x00004bb9 rtn  0x00000034 
+ 00026200  0x00004bba increase  0xffffffff , 0x0000003f 
+ 00026201  0x00004bbb store  0x00000002 , 0x00004814 
+ 00026202  0x00004bbc nrtn  0x00000034 
+ 00026203  0x00004bbd call  0x00003f84 
+ 00026204  0x00004bbe branch  0x00003f9a 
+ 00026205  0x00004bc1 fetch  0x00000002 , 0x00004818 
+ 00026206  0x00004bc2 rtn  0x00000034 
+ 00026207  0x00004bc3 increase  0xffffffff , 0x0000003f 
+ 00026208  0x00004bc4 store  0x00000002 , 0x00004818 
+ 00026209  0x00004bc5 nrtn  0x00000034 
+ 00026210  0x00004bc6 jam  0x00000000 , 0x0000481a 
+ 00026211  0x00004bc7 rtn 
+ 00026212  0x00004bca fetch  0x00000002 , 0x00004816 
+ 00026213  0x00004bcb rtn  0x00000034 
+ 00026214  0x00004bcc increase  0xffffffff , 0x0000003f 
+ 00026215  0x00004bcd store  0x00000002 , 0x00004816 
+ 00026216  0x00004bce nrtn  0x00000034 
+ 00026217  0x00004bcf branch  0x000066b1 
+ 00026218  0x00004bd2 set0  0x00000025 , 0x00000000 
+ 00026219  0x00004bd3 bpatch  0x000000c7 , 0x00004018 
+ 00026220  0x00004bd4 jam  0x00000000 , 0x0000481a 
+ 00026221  0x00004bd5 jam  0x00000001 , 0x0000480b 
+ 00026222  0x00004bd6 setarg  0x00000000 
+ 00026223  0x00004bd7 store  0x00000002 , 0x00004814 
+ 00026224  0x00004bd8 call  0x000066b1 
+ 00026225  0x00004bd9 fetch  0x00000001 , 0x00004132 
+ 00026226  0x00004bda isolate1  0x00000001 , 0x0000003f 
+ 00026227  0x00004bdb call  0x00006688 , 0x00000001 
+ 00026228  0x00004bdc fetch  0x00000001 , 0x00004132 
+ 00026229  0x00004bdd isolate1  0x00000000 , 0x0000003f 
+ 00026230  0x00004bde call  0x00006684 , 0x00000001 
+ 00026231  0x00004bdf call  0x00003fa6 
+ 00026232  0x00004be0 branch  0x00006697 
+ 00026233  0x00004be5 fetch  0x00000006 , 0x00004274 
+ 00026234  0x00004be6 branch  0x00003f79 , 0x00000034 
+ 00026235  0x00004be7 branch  0x00003f6e 
+ 00026236  0x00004bea fetch  0x00000006 , 0x00004274 
+ 00026237  0x00004beb branch  0x00006682 , 0x00000034 
+ 00026238  0x00004bec fetch  0x00000002 , 0x0000480c 
+ 00026239  0x00004bed store  0x00000002 , 0x00004814 
+ 00026240  0x00004bee call  0x00003fa4 
+ 00026241  0x00004bef branch  0x00003f82 
+ 00026242  0x00004bf1 call  0x00003f94 
+ 00026243  0x00004bf2 branch  0x00003f88 
+ 00026244  0x00004bf5 fetch  0x00000002 , 0x000047f4 
+ 00026245  0x00004bf6 isolate1  0x00000007 , 0x0000003f 
+ 00026246  0x00004bf7 call  0x00003f75 , 0x00000001 
+ 00026247  0x00004bf8 rtn 
+ 00026248  0x00004bfa call  0x00005b30 
+ 00026249  0x00004bfb rtn 
+ 00026250  0x00004bfe jam  0x00000001 , 0x0000427f 
+ 00026251  0x00004bff call  0x00003fa4 
+ 00026252  0x00004c00 call  0x00003fa2 
+ 00026253  0x00004c01 jam  0x00000001 , 0x00004820 
+ 00026254  0x00004c02 setarg  0x00000000 
+ 00026255  0x00004c03 store  0x00000002 , 0x000047f0 
+ 00026256  0x00004c04 store  0x00000001 , 0x000047f2 
+ 00026257  0x00004c05 call  0x00003f9e 
+ 00026258  0x00004c06 branch  0x0000655a 
+ 00026259  0x00004c09 fetch  0x00000001 , 0x000042a9 
+ 00026260  0x00004c0a beq  0x00000033 , 0x00006679 
+ 00026261  0x00004c0b beq  0x00000034 , 0x0000667c 
+ 00026262  0x00004c0c branch  0x00006697 
+ 00026263  0x00004c0f set0  0x00000025 , 0x00000000 
+ 00026264  0x00004c10 bpatch  0x000000c8 , 0x00004019 
+ 00026265  0x00004c11 fetch  0x00000001 , 0x000044f9 
+ 00026266  0x00004c12 increase  0x00000001 , 0x0000003f 
+ 00026267  0x00004c13 store  0x00000001 , 0x000044f9 
+ 00026268  0x00004c14 call  0x00003fa6 
+ 00026269  0x00004c15 fetch  0x00000002 , 0x000047fe 
+ 00026270  0x00004c16 store  0x00000002 , 0x00004812 
+ 00026271  0x00004c17 fetch  0x00000001 , 0x00004132 
+ 00026272  0x00004c18 isolate1  0x00000001 , 0x0000003f 
+ 00026273  0x00004c19 call  0x00003f88 , 0x00000001 
+ 00026274  0x00004c1a fetch  0x00000001 , 0x00004132 
+ 00026275  0x00004c1b isolate1  0x00000000 , 0x0000003f 
+ 00026276  0x00004c1c call  0x00003f7c , 0x00000001 
+ 00026277  0x00004c1d branch  0x00003f94 
+ 00026278  0x00004c20 set0  0x00000025 , 0x00000000 
+ 00026279  0x00004c21 bpatch  0x000000c9 , 0x00004019 
+ 00026280  0x00004c22 setarg  0x00000000 
+ 00026281  0x00004c23 store  0x00000002 , 0x00004812 
+ 00026282  0x00004c24 fetch  0x00000001 , 0x00004132 
+ 00026283  0x00004c25 isolate1  0x00000001 , 0x0000003f 
+ 00026284  0x00004c26 call  0x00003f86 , 0x00000001 
+ 00026285  0x00004c27 fetch  0x00000001 , 0x00004132 
+ 00026286  0x00004c28 isolate1  0x00000000 , 0x0000003f 
+ 00026287  0x00004c29 call  0x00003f7e , 0x00000001 
+ 00026288  0x00004c2a branch  0x00003f98 
+ 00026289  0x00004c2d set0  0x00000025 , 0x00000000 
+ 00026290  0x00004c2e bpatch  0x000000ca , 0x00004019 
+ 00026291  0x00004c2f setarg  0x00000000 
+ 00026292  0x00004c30 store  0x00000002 , 0x00004816 
+ 00026293  0x00004c31 fetch  0x00000002 , 0x000047f4 
+ 00026294  0x00004c32 bbit1  0x00000009 , 0x00003f90 
+ 00026295  0x00004c33 fetch  0x00000002 , 0x000047f4 
+ 00026296  0x00004c34 bbit1  0x00000000 , 0x00003f77 
+ 00026297  0x00004c35 rtn 
+ 00026298  0x00004c38 set0  0x00000025 , 0x00000000 
+ 00026299  0x00004c39 bpatch  0x000000cb , 0x00004019 
+ 00026300  0x00004c3a arg  0x00000001 , 0x00000002 
+ 00026301  0x00004c3b arg  0x0000481b , 0x00000011 
+ 00026302  0x00004c3c arg  0x000000c6 , 0x00000012 
+ 00026303  0x00004c3d branch  0x0000683e 
+ 00026304  0x00004c40 set0  0x00000025 , 0x00000000 
+ 00026305  0x00004c41 bpatch  0x000000cc , 0x00004019 
+ 00026306  0x00004c42 arg  0x00000001 , 0x00000002 
+ 00026307  0x00004c43 arg  0x0000481b , 0x00000011 
+ 00026308  0x00004c44 arg  0x000000c6 , 0x00000012 
+ 00026309  0x00004c45 branch  0x0000681d 
+ 00026310  0x00004c4e set0  0x00000025 , 0x00000000 
+ 00026311  0x00004c4f bpatch  0x000000fe , 0x0000401f 
+ 00026312  0x00004c50 hfetch  0x00000001 , 0x00008073 
+ 00026313  0x00004c51 arg  0x00000006 , 0x00000002 
+ 00026314  0x00004c52 ior  0x00000002 , 0x0000003f 
+ 00026315  0x00004c53 hstore  0x00000001 , 0x00008073 
+ 00026316  0x00004c54 hfetch  0x00000001 , 0x00008077 
+ 00026317  0x00004c55 ior  0x00000002 , 0x0000003f 
+ 00026318  0x00004c56 hstore  0x00000001 , 0x00008077 
+ 00026319  0x00004c57 hjam  0x00000000 , 0x00008081 
+ 00026320  0x00004c58 hfetch  0x00000001 , 0x00008077 
+ 00026321  0x00004c59 set0  0x00000001 , 0x0000003f 
+ 00026322  0x00004c5a set0  0x00000002 , 0x0000003f 
+ 00026323  0x00004c5b hstore  0x00000001 , 0x00008077 
+ 00026324  0x00004c5c nop  0x0000001e 
+ 00026325  0x00004c5d hjam  0x00000001 , 0x00008081 
+ 00026326  0x00004c5e rtn 
+ 00026327  0x00004c60 branch  0x000067a1 
+ 00026328  0x00004c63 branch  0x000067a9 
+ 00026329  0x00004c6b nbranch  0x000066dd , 0x00000028 
+ 00026330  0x00004c6c hfetch  0x00000001 , 0x00008085 
+ 00026331  0x00004c6d or_into  0x00000020 , 0x0000003f 
+ 00026332  0x00004c6e hstore  0x00000001 , 0x00008085 
+ 00026333  0x00004c70 copy  0x00000002 , 0x0000003e 
+ 00026334  0x00004c71 branch  0x000066e0 , 0x00000005 
+ 00026335  0x00004c72 copy  0x00000013 , 0x0000003d 
+ 00026336  0x00004c74 isolate0  0x00000000 , 0x0000003e 
+ 00026337  0x00004c75 branch  0x00006763 
+ 00026338  0x00004c79 force  0x00000004 , 0x00000002 
+ 00026339  0x00004c7b arg  0x0000022c , 0x00000011 
+ 00026340  0x00004c7c hfetch  0x00000001 , 0x00008085 
+ 00026341  0x00004c7d and_into  0x000000df , 0x0000003f 
+ 00026342  0x00004c7e hstore  0x00000001 , 0x00008085 
+ 00026343  0x00004c7f call  0x000066dd 
+ 00026344  0x00004c80 arg  0x000055aa , 0x00000011 
+ 00026345  0x00004c81 fetch  0x00000002 , 0x0000022c 
+ 00026346  0x00004c82 ifetcht  0x00000002 , 0x00000006 
+ 00026347  0x00004c83 isub  0x00000011 , 0x0000003e 
+ 00026348  0x00004c84 rtn 
+ 00026349  0x00004c87 arg  0x00000002 , 0x00000002 
+ 00026350  0x00004c88 arg  0x00000232 , 0x00000011 
+ 00026351  0x00004c89 call  0x000066dd 
+ 00026352  0x00004c8a fetch  0x00000002 , 0x00000232 
+ 00026353  0x00004c8b store  0x00000002 , 0x00000225 
+ 00026354  0x00004c8c call  0x000066f4 , 0x00000028 
+ 00026355  0x00004c8d rtn 
+ 00026356  0x00004c90 arg  0x00000010 , 0x00000002 
+ 00026357  0x00004c91 arg  0x00000234 , 0x00000011 
+ 00026358  0x00004c92 hfetch  0x00000001 , 0x00008085 
+ 00026359  0x00004c93 and_into  0x000000df , 0x0000003f 
+ 00026360  0x00004c94 hstore  0x00000001 , 0x00008085 
+ 00026361  0x00004c95 call  0x000066dd 
+ 00026362  0x00004c96 arg  0x00000234 , 0x00000006 
+ 00026363  0x00004c97 arg  0x00000010 , 0x00000039 
+ 00026364  0x00004c98 call  0x00007584 
+ 00026365  0x00004c99 call  0x0000753d 
+ 00026366  0x00004c9a call  0x0000759d 
+ 00026367  0x00004c9b branch  0x00007534 
+ 00026368  0x00004c9e disable  0x0000002d 
+ 00026369  0x00004c9f call  0x000066e2 
+ 00026370  0x00004ca0 nrtn  0x00000005 
+ 00026371  0x00004ca1 enable  0x0000002d 
+ 00026372  0x00004ca2 hjam  0x00000080 , 0x00008023 
+ 00026373  0x00004ca3 hjam  0x00000000 , 0x00008022 
+ 00026374  0x00004ca4 hjam  0x00000000 , 0x00008024 
+ 00026375  0x00004ca5 arg  0x00008025 , 0x00000011 
+ 00026376  0x00004ca6 call  0x000066d9 
+ 00026377  0x00004ca7 hjam  0x00000000 , 0x00008023 
+ 00026378  0x00004ca8 call  0x000066e2 
+ 00026379  0x00004ca9 nrtn  0x00000005 
+ 00026380  0x00004caa force  0x00000000 , 0x0000003f 
+ 00026381  0x00004cab hstore  0x00000002 , 0x00008288 
+ 00026382  0x00004cac arg  0x0000828a , 0x00000011 
+ 00026383  0x00004cad call  0x000066d9 
+ 00026384  0x00004caf arg  0x00000006 , 0x00000002 
+ 00026385  0x00004cb0 call  0x000066e3 
+ 00026386  0x00004cb1 nrtn  0x00000005 
+ 00026387  0x00004cb2 ifetch  0x00000002 , 0x00000006 
+ 00026388  0x00004cb3 iforce  0x00000011 
+ 00026389  0x00004cb4 call  0x000066dd 
+ 00026390  0x00004cb5 branch  0x00006710 
+ 00026391  0x00004cbc call  0x00007f36 
+ 00026392  0x00004cbd setarg  0x00001000 
+ 00026393  0x00004cbe store  0x00000002 , 0x00000225 
+ 00026394  0x00004cbf arg  0x00006823 , 0x00000013 
+ 00026395  0x00004cc0 arg  0x00000002 , 0x00000039 
+ 00026396  0x00004cc2 call  0x000066e2 
+ 00026397  0x00004cc3 nrtn  0x00000005 
+ 00026398  0x00004cc4 fetch  0x00000002 , 0x00000225 
+ 00026399  0x00004cc5 byteswap  0x0000003f , 0x0000003f 
+ 00026400  0x00004cc6 iadd  0x00000002 , 0x0000003f 
+ 00026401  0x00004cc7 byteswap  0x0000003f , 0x0000003f 
+ 00026402  0x00004cc8 store  0x00000002 , 0x00000225 
+ 00026403  0x00004cc9 loop  0x0000671c 
+ 00026404  0x00004cca branch  0x00006710 
+ 00026405  0x00004ccd hjam  0x00000025 , 0x00008050 
+ 00026406  0x00004cce hjam  0x00000005 , 0x00008280 
+ 00026407  0x00004ccf call  0x00007f36 
+ 00026408  0x00004cd1 disable  0x00000028 
+ 00026409  0x00004cd2 call  0x0000688a 
+ 00026410  0x00004cd3 setarg  0x00000000 
+ 00026411  0x00004cd4 arg  0x00000221 , 0x00000011 
+ 00026412  0x00004cd5 arg  0x00000002 , 0x00000002 
+ 00026413  0x00004cd6 call  0x000068d3 
+ 00026414  0x00004cd7 fetch  0x00000002 , 0x00000221 
+ 00026415  0x00004cd8 bbit0  0x00000007 , 0x00006738 
+ 00026416  0x00004cd9 setarg  0x000007f0 
+ 00026417  0x00004cda arg  0x00000234 , 0x00000011 
+ 00026418  0x00004cdb arg  0x00000010 , 0x00000002 
+ 00026419  0x00004cdc call  0x000068d3 
+ 00026420  0x00004cdd hjam  0x00000008 , 0x00008006 
+ 00026421  0x00004cde arg  0x00000234 , 0x00000006 
+ 00026422  0x00004cdf call  0x00007590 
+ 00026423  0x00004ce0 enable  0x00000028 
+ 00026424  0x00004ce2 fetch  0x00000002 , 0x00000221 
+ 00026425  0x00004ce3 byteswap  0x0000003f , 0x0000003f 
+ 00026426  0x00004ce4 arg  0x000007ff , 0x00000002 
+ 00026427  0x00004ce5 iand  0x00000002 , 0x0000003f 
+ 00026428  0x00004ce6 branch  0x00006744 , 0x00000005 
+ 00026429  0x00004ce7 call  0x0000688f 
+ 00026430  0x00004ce8 arg  0x000068d8 , 0x00000013 
+ 00026431  0x00004ce9 call  0x000066f4 , 0x00000028 
+ 00026432  0x00004cea call  0x00006700 
+ 00026433  0x00004ceb fetch  0x00000001 , 0x00000220 
+ 00026434  0x00004cec compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026435  0x00004ced nbranch  0x00006738 , 0x00000001 
+ 00026436  0x00004cef call  0x0000688d 
+ 00026437  0x00004cf0 fetch  0x00000001 , 0x00000221 
+ 00026438  0x00004cf1 bbit1  0x00000005 , 0x00006751 
+ 00026439  0x00004cf2 setarg  0x00000000 
+ 00026440  0x00004cf3 store  0x00000003 , 0x00000224 
+ 00026441  0x00004cf4 call  0x000067b9 
+ 00026442  0x00004cf5 arg  0x000067db , 0x00000013 
+ 00026443  0x00004cf6 call  0x000066ed 
+ 00026444  0x00004cf7 call  0x00006700 
+ 00026445  0x00004cf8 nbranch  0x00006751 , 0x0000002d 
+ 00026446  0x00004cf9 fetch  0x00000001 , 0x00000220 
+ 00026447  0x00004cfa compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026448  0x00004cfb nbranch  0x00006744 , 0x00000001 
+ 00026449  0x00004cfd fetch  0x00000001 , 0x00000221 
+ 00026450  0x00004cfe bbit1  0x00000006 , 0x0000675d 
+ 00026451  0x00004cff setarg  0x00000000 
+ 00026452  0x00004d00 store  0x00000002 , 0x00000225 
+ 00026453  0x00004d01 arg  0x00006823 , 0x00000013 
+ 00026454  0x00004d02 call  0x00006805 
+ 00026455  0x00004d03 call  0x000066ed 
+ 00026456  0x00004d04 call  0x00006700 
+ 00026457  0x00004d05 nbranch  0x0000675d , 0x0000002d 
+ 00026458  0x00004d06 fetch  0x00000001 , 0x00000220 
+ 00026459  0x00004d07 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026460  0x00004d08 nbranch  0x00006751 , 0x00000001 
+ 00026461  0x00004d0a hjam  0x00000021 , 0x00008050 
+ 00026462  0x00004d0b fetch  0x00000001 , 0x00000221 
+ 00026463  0x00004d0c rtnbit0  0x00000004 
+ 00026464  0x00004d0d call  0x00004461 
+ 00026465  0x00004d0f call  0x000044a3 
+ 00026466  0x00004d10 branch  0x00006761 
+ 00026467  0x00004d14 fetch  0x00000001 , 0x00000220 
+ 00026468  0x00004d15 lshift  0x0000003f , 0x0000003f 
+ 00026469  0x00004d16 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00026470  0x00004d17 isolate0  0x0000000f , 0x00000011 
+ 00026471  0x00004d18 rtn  0x00000001 
+ 00026472  0x00004d19 store  0x00000001 , 0x00000220 
+ 00026473  0x00004d1a rtn 
+ 00026474  0x00004d1e hfetch  0x00000001 , 0x00008085 
+ 00026475  0x00004d1f rtnbit0  0x00000005 
+ 00026476  0x00004d20 branch  0x00006770 
+ 00026477  0x00004d22 hfetch  0x00000001 , 0x0000812c 
+ 00026478  0x00004d23 qisolate1  0x0000003f 
+ 00026479  0x00004d24 rtn  0x00000001 
+ 00026480  0x00004d26 hfetch  0x00000001 , 0x00008108 
+ 00026481  0x00004d27 bbit0  0x00000001 , 0x0000676d 
+ 00026482  0x00004d28 call  0x00007534 
+ 00026483  0x00004d29 branch  0x0000676d 
+ 00026484  0x00004d2e copy  0x00000039 , 0x00000002 
+ 00026485  0x00004d2f storet  0x00000002 , 0x0000423c 
+ 00026486  0x00004d30 hjam  0x00000080 , 0x00008023 
+ 00026487  0x00004d31 hjam  0x00000000 , 0x00008022 
+ 00026488  0x00004d32 hjam  0x00000000 , 0x00008024 
+ 00026489  0x00004d33 store  0x00000002 , 0x0000423a 
+ 00026490  0x00004d34 iforce  0x00000005 
+ 00026491  0x00004d35 lshift2  0x00000039 , 0x00000039 
+ 00026492  0x00004d37 hfetch  0x00000001 , 0x00008025 
+ 00026493  0x00004d38 istore  0x00000001 , 0x00000005 
+ 00026494  0x00004d39 loop  0x0000677c 
+ 00026495  0x00004d3a hjam  0x00000000 , 0x00008023 
+ 00026496  0x00004d3b rtn 
+ 00026497  0x00004d3e fetch  0x00000002 , 0x0000423a 
+ 00026498  0x00004d3f rtn  0x00000034 
+ 00026499  0x00004d40 hjam  0x00000080 , 0x00008023 
+ 00026500  0x00004d41 hjam  0x00000000 , 0x00008022 
+ 00026501  0x00004d42 hjam  0x00000000 , 0x00008024 
+ 00026502  0x00004d43 fetcht  0x00000002 , 0x0000423c 
+ 00026503  0x00004d44 lshift2  0x00000002 , 0x00000039 
+ 00026504  0x00004d45 iforce  0x00000006 
+ 00026505  0x00004d47 ifetch  0x00000001 , 0x00000006 
+ 00026506  0x00004d48 hstore  0x00000001 , 0x00008025 
+ 00026507  0x00004d49 loop  0x00006789 
+ 00026508  0x00004d4a hjam  0x00000000 , 0x00008023 
+ 00026509  0x00004d4b rtn 
+ 00026510  0x00004d51 set0  0x00000025 , 0x00000000 
+ 00026511  0x00004d52 bpatch  0x000000ff , 0x0000401f 
+ 00026512  0x00004d53 hjam  0x00000075 , 0x00008086 
+ 00026513  0x00004d54 hjam  0x0000000a , 0x00008087 
+ 00026514  0x00004d55 setarg  0x00000223 
+ 00026515  0x00004d56 hstore  0x00000002 , 0x0000808a 
+ 00026516  0x00004d57 setarg  0x00000228 
+ 00026517  0x00004d58 hstore  0x00000002 , 0x0000808c 
+ 00026518  0x00004d59 hfetch  0x00000001 , 0x00008081 
+ 00026519  0x00004d5a set1  0x00000000 , 0x0000003f 
+ 00026520  0x00004d5b set0  0x00000001 , 0x0000003f 
+ 00026521  0x00004d5c hstore  0x00000001 , 0x00008081 
+ 00026522  0x00004d5d rtn 
+ 00026523  0x00004d60 hfetch  0x00000001 , 0x00008086 
+ 00026524  0x00004d61 set1  0x00000007 , 0x0000003f 
+ 00026525  0x00004d62 hstore  0x00000001 , 0x00008086 
+ 00026526  0x00004d63 set0  0x00000007 , 0x0000003f 
+ 00026527  0x00004d64 hstore  0x00000001 , 0x00008086 
+ 00026528  0x00004d65 rtn 
+ 00026529  0x00004d6a set1  0x00000007 , 0x0000003f 
+ 00026530  0x00004d6b store  0x00000002 , 0x00000223 
+ 00026531  0x00004d6c set1  0x00000025 , 0x00000000 
+ 00026532  0x00004d6d bpatch  0x00000000 , 0x00004020 
+ 00026533  0x00004d6e hjam  0x00000002 , 0x00008088 
+ 00026534  0x00004d6f hjam  0x00000000 , 0x0000808e 
+ 00026535  0x00004d70 hjam  0x00000002 , 0x00008006 
+ 00026536  0x00004d71 branch  0x000067b3 
+ 00026537  0x00004d75 force  0x00000001 , 0x00000002 
+ 00026538  0x00004d79 store  0x00000001 , 0x00000223 
+ 00026539  0x00004d7a set1  0x00000025 , 0x00000000 
+ 00026540  0x00004d7b bpatch  0x00000001 , 0x00004020 
+ 00026541  0x00004d7c hjam  0x00000001 , 0x00008088 
+ 00026542  0x00004d7d hstoret  0x00000002 , 0x0000808e 
+ 00026543  0x00004d7e hjam  0x00000002 , 0x00008006 
+ 00026544  0x00004d7f call  0x000067b3 
+ 00026545  0x00004d80 fetch  0x00000001 , 0x00000228 
+ 00026546  0x00004d81 rtn 
+ 00026547  0x00004d84 fetch  0x00000002 , 0x00004177 
+ 00026548  0x00004d85 increase  0x00000001 , 0x0000003f 
+ 00026549  0x00004d86 store  0x00000002 , 0x00004177 
+ 00026550  0x00004d87 hfetch  0x00000001 , 0x0000812c 
+ 00026551  0x00004d88 bbit0  0x00000003 , 0x000067b3 
+ 00026552  0x00004d89 rtn 
+ 00026553  0x00004d8c hjam  0x00000040 , 0x00008086 
+ 00026554  0x00004d8d hjam  0x00000000 , 0x00008087 
+ 00026555  0x00004d8e hfetch  0x00000001 , 0x00008081 
+ 00026556  0x00004d8f set0  0x00000000 , 0x0000003f 
+ 00026557  0x00004d90 set1  0x00000001 , 0x0000003f 
+ 00026558  0x00004d91 hstore  0x00000001 , 0x00008081 
+ 00026559  0x00004d92 setarg  0x00000000 
+ 00026560  0x00004d93 store  0x00000004 , 0x00000223 
+ 00026561  0x00004d94 rtn 
+ 00026562  0x00004d97 setarg  0x00000000 
+ 00026563  0x00004d98 hstore  0x00000002 , 0x0000808e 
+ 00026564  0x00004d99 setarg  0x00000001 
+ 00026565  0x00004d9a hstore  0x00000001 , 0x00008088 
+ 00026566  0x00004d9b setarg  0x00000223 
+ 00026567  0x00004d9c hstore  0x00000002 , 0x0000808a 
+ 00026568  0x00004d9d jam  0x00000006 , 0x00000223 
+ 00026569  0x00004d9e hjam  0x00000002 , 0x00008006 
+ 00026570  0x00004d9f branch  0x000067b3 
+ 00026571  0x00004da4 increase  0x00000004 , 0x00000002 
+ 00026572  0x00004da5 hstoret  0x00000002 , 0x00008088 
+ 00026573  0x00004da6 increase  0xfffffffc , 0x00000011 
+ 00026574  0x00004da7 arg  0x00000002 , 0x00000002 
+ 00026575  0x00004da8 istoret  0x00000001 , 0x00000011 
+ 00026576  0x00004da9 rshift16  0x0000003f , 0x00000002 
+ 00026577  0x00004daa istoret  0x00000001 , 0x00000005 
+ 00026578  0x00004dab rshift8  0x0000003f , 0x00000002 
+ 00026579  0x00004dac istoret  0x00000001 , 0x00000005 
+ 00026580  0x00004dad istore  0x00000001 , 0x00000005 
+ 00026581  0x00004dae deposit  0x00000011 
+ 00026582  0x00004daf hstore  0x00000002 , 0x0000808a 
+ 00026583  0x00004db0 setarg  0x00000000 
+ 00026584  0x00004db1 hstore  0x00000002 , 0x0000808e 
+ 00026585  0x00004db2 hjam  0x00000002 , 0x00008006 
+ 00026586  0x00004db3 branch  0x000067b3 
+ 00026587  0x00004db8 hstoret  0x00000002 , 0x0000808e 
+ 00026588  0x00004db9 setarg  0x00000004 
+ 00026589  0x00004dba hstore  0x00000002 , 0x00008088 
+ 00026590  0x00004dbb jam  0x00000003 , 0x00000223 
+ 00026591  0x00004dbc setarg  0x00000223 
+ 00026592  0x00004dbd hstore  0x00000002 , 0x0000808a 
+ 00026593  0x00004dbe deposit  0x00000011 
+ 00026594  0x00004dbf hstore  0x00000002 , 0x0000808c 
+ 00026595  0x00004dc0 hfetch  0x00000001 , 0x00008086 
+ 00026596  0x00004dc1 isolate0  0x0000000f , 0x00000011 
+ 00026597  0x00004dc2 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00026598  0x00004dc3 hstore  0x00000001 , 0x00008086 
+ 00026599  0x00004dc4 hjam  0x00000002 , 0x00008006 
+ 00026600  0x00004dc6 hfetch  0x00000001 , 0x0000812c 
+ 00026601  0x00004dc7 bbit1  0x00000007 , 0x000067e8 
+ 00026602  0x00004dc8 arg  0x00000003 , 0x00000007 
+ 00026603  0x00004dc9 call  0x0000676a 
+ 00026604  0x00004dca call  0x000067b3 
+ 00026605  0x00004dcb isolate1  0x00000002 , 0x0000003f 
+ 00026606  0x00004dcc call  0x00006763 
+ 00026607  0x00004dcd fetch  0x00000001 , 0x00000224 
+ 00026608  0x00004dce lshift16  0x0000003f , 0x00000012 
+ 00026609  0x00004dcf fetch  0x00000001 , 0x00000225 
+ 00026610  0x00004dd0 lshift8  0x0000003f , 0x0000003f 
+ 00026611  0x00004dd1 ior  0x00000012 , 0x00000012 
+ 00026612  0x00004dd2 fetch  0x00000001 , 0x00000226 
+ 00026613  0x00004dd3 ior  0x00000012 , 0x0000003f 
+ 00026614  0x00004dd4 iadd  0x00000002 , 0x0000003f 
+ 00026615  0x00004dd5 store  0x00000001 , 0x00000226 
+ 00026616  0x00004dd6 rshift8  0x0000003f , 0x0000003f 
+ 00026617  0x00004dd7 store  0x00000001 , 0x00000225 
+ 00026618  0x00004dd8 rshift8  0x0000003f , 0x0000003f 
+ 00026619  0x00004dd9 store  0x00000001 , 0x00000224 
+ 00026620  0x00004dda rtn 
+ 00026621  0x00004ddf hjam  0x0000000a , 0x00008042 
+ 00026622  0x00004de0 hjam  0x00000002 , 0x00008091 
+ 00026623  0x00004de1 hjam  0x00000003 , 0x00008092 
+ 00026624  0x00004de2 hjam  0x00000003 , 0x00008093 
+ 00026625  0x00004de3 hjam  0x00000003 , 0x00008094 
+ 00026626  0x00004de4 hjam  0x00000003 , 0x00008095 
+ 00026627  0x00004de5 hjam  0x00000002 , 0x00008096 
+ 00026628  0x00004de6 rtn 
+ 00026629  0x00004de9 hjam  0x00000005 , 0x00008091 
+ 00026630  0x00004dea hjam  0x00000007 , 0x00008092 
+ 00026631  0x00004deb hjam  0x00000007 , 0x00008093 
+ 00026632  0x00004dec hjam  0x00000007 , 0x00008094 
+ 00026633  0x00004ded hjam  0x00000007 , 0x00008095 
+ 00026634  0x00004dee hjam  0x00000005 , 0x00008096 
+ 00026635  0x00004def rtn 
+ 00026636  0x00004df4 hfetch  0x00000001 , 0x0000812c 
+ 00026637  0x00004df5 bbit0  0x00000005 , 0x0000680c 
+ 00026638  0x00004df6 rtn 
+ 00026639  0x00004dfa store  0x00000001 , 0x00000224 
+ 00026640  0x00004dfb setarg  0x00000224 
+ 00026641  0x00004dfc hstore  0x00000002 , 0x0000809a 
+ 00026642  0x00004dfd setarg  0x00000001 
+ 00026643  0x00004dfe hstore  0x00000002 , 0x00008098 
+ 00026644  0x00004dff hstoret  0x00000002 , 0x0000809e 
+ 00026645  0x00004e00 deposit  0x00000011 
+ 00026646  0x00004e01 hstore  0x00000002 , 0x0000809c 
+ 00026647  0x00004e02 hjam  0x00000001 , 0x00008090 
+ 00026648  0x00004e03 hjam  0x00000004 , 0x00008006 
+ 00026649  0x00004e04 branch  0x0000680c 
+ 00026650  0x00004e07 byteswap  0x0000003f , 0x0000003f 
+ 00026651  0x00004e08 store  0x00000002 , 0x00000225 
+ 00026652  0x00004e09 rtn 
+ 00026653  0x00004e10 set1  0x00000025 , 0x00000000 
+ 00026654  0x00004e11 bpatch  0x00000002 , 0x00004020 
+ 00026655  0x00004e12 fetch  0x00000002 , 0x0000429b 
+ 00026656  0x00004e13 iadd  0x00000012 , 0x0000003f 
+ 00026657  0x00004e17 byteswap  0x0000003f , 0x0000003f 
+ 00026658  0x00004e18 store  0x00000002 , 0x00000225 
+ 00026659  0x00004e1c set1  0x00000025 , 0x00000000 
+ 00026660  0x00004e1d bpatch  0x00000003 , 0x00004020 
+ 00026661  0x00004e1e setarg  0x00000004 
+ 00026662  0x00004e1f hstore  0x00000002 , 0x00008098 
+ 00026663  0x00004e20 jam  0x000000a0 , 0x00000224 
+ 00026664  0x00004e21 jam  0x000000a1 , 0x00000227 
+ 00026665  0x00004e22 setarg  0x00000224 
+ 00026666  0x00004e23 hstore  0x00000002 , 0x0000809a 
+ 00026667  0x00004e24 hstoret  0x00000002 , 0x0000809e 
+ 00026668  0x00004e25 deposit  0x00000011 
+ 00026669  0x00004e26 hstore  0x00000002 , 0x0000809c 
+ 00026670  0x00004e27 setarg  0x00000002 
+ 00026671  0x00004e28 isolate0  0x0000000f , 0x00000011 
+ 00026672  0x00004e29 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00026673  0x00004e2a hstore  0x00000001 , 0x00008090 
+ 00026674  0x00004e2b hjam  0x00000004 , 0x00008006 
+ 00026675  0x00004e2c arg  0x00000005 , 0x00000007 
+ 00026676  0x00004e2d call  0x0000676a 
+ 00026677  0x00004e2e call  0x0000680c 
+ 00026678  0x00004e2f isolate1  0x00000004 , 0x0000003f 
+ 00026679  0x00004e30 call  0x00006763 
+ 00026680  0x00004e31 fetch  0x00000002 , 0x00000225 
+ 00026681  0x00004e32 byteswap  0x0000003f , 0x0000003f 
+ 00026682  0x00004e33 iadd  0x00000002 , 0x0000003f 
+ 00026683  0x00004e34 byteswap  0x0000003f , 0x0000003f 
+ 00026684  0x00004e35 store  0x00000002 , 0x00000225 
+ 00026685  0x00004e36 rtn 
+ 00026686  0x00004e3d set1  0x00000025 , 0x00000000 
+ 00026687  0x00004e3e bpatch  0x00000004 , 0x00004020 
+ 00026688  0x00004e3f fetch  0x00000002 , 0x0000429b 
+ 00026689  0x00004e40 iadd  0x00000012 , 0x0000003f 
+ 00026690  0x00004e44 store  0x00000002 , 0x00000161 
+ 00026691  0x00004e45 set1  0x00000025 , 0x00000000 
+ 00026692  0x00004e46 bpatch  0x00000005 , 0x00004020 
+ 00026693  0x00004e47 storet  0x00000002 , 0x000002a0 
+ 00026694  0x00004e48 copy  0x00000011 , 0x0000003f 
+ 00026695  0x00004e49 store  0x00000002 , 0x000002b7 
+ 00026696  0x00004e4b call  0x00006858 
+ 00026697  0x00004e4d fetcht  0x00000002 , 0x000002b0 
+ 00026698  0x00004e4e fetch  0x00000002 , 0x000002b7 
+ 00026699  0x00004e4f copy  0x0000003f , 0x00000011 
+ 00026700  0x00004e50 fetch  0x00000002 , 0x00000161 
+ 00026701  0x00004e52 call  0x00006870 
+ 00026702  0x00004e54 fetch  0x00000002 , 0x000002b0 
+ 00026703  0x00004e55 fetcht  0x00000002 , 0x000002b7 
+ 00026704  0x00004e56 iadd  0x00000002 , 0x00000002 
+ 00026705  0x00004e57 storet  0x00000002 , 0x000002b7 
+ 00026706  0x00004e58 fetcht  0x00000002 , 0x00000161 
+ 00026707  0x00004e59 iadd  0x00000002 , 0x00000002 
+ 00026708  0x00004e5a storet  0x00000002 , 0x00000161 
+ 00026709  0x00004e5b fetch  0x00000002 , 0x000002a0 
+ 00026710  0x00004e5c nbranch  0x00006848 , 0x00000034 
+ 00026711  0x00004e5d rtn 
+ 00026712  0x00004e66 set1  0x00000025 , 0x00000000 
+ 00026713  0x00004e67 bpatch  0x00000006 , 0x00004020 
+ 00026714  0x00004e68 fetch  0x00000002 , 0x000042aa 
+ 00026715  0x00004e69 increase  0xffffffff , 0x0000003f 
+ 00026716  0x00004e6a fetcht  0x00000002 , 0x00000161 
+ 00026717  0x00004e6b ior  0x00000002 , 0x0000003f 
+ 00026718  0x00004e6c increase  0x00000001 , 0x0000003f 
+ 00026719  0x00004e6d store  0x00000003 , 0x000002b4 
+ 00026720  0x00004e6f fetch  0x00000002 , 0x000002a0 
+ 00026721  0x00004e70 iadd  0x00000002 , 0x0000003f 
+ 00026722  0x00004e72 fetcht  0x00000003 , 0x000002b4 
+ 00026723  0x00004e73 isub  0x00000002 , 0x0000003f 
+ 00026724  0x00004e74 nbranch  0x0000686b , 0x00000002 
+ 00026725  0x00004e75 store  0x00000002 , 0x000002a0 
+ 00026726  0x00004e76 fetch  0x00000003 , 0x000002b4 
+ 00026727  0x00004e77 fetcht  0x00000002 , 0x00000161 
+ 00026728  0x00004e78 isub  0x00000002 , 0x0000003f 
+ 00026729  0x00004e79 store  0x00000002 , 0x000002b0 
+ 00026730  0x00004e7a rtn 
+ 00026731  0x00004e7c fetch  0x00000002 , 0x000002a0 
+ 00026732  0x00004e7d store  0x00000002 , 0x000002b0 
+ 00026733  0x00004e7e setarg  0x00000000 
+ 00026734  0x00004e7f store  0x00000002 , 0x000002a0 
+ 00026735  0x00004e80 rtn 
+ 00026736  0x00004e86 copy  0x0000003f , 0x00000012 
+ 00026737  0x00004e87 set1  0x00000025 , 0x00000000 
+ 00026738  0x00004e88 bpatch  0x00000007 , 0x00004020 
+ 00026739  0x00004e89 copy  0x00000012 , 0x0000003f 
+ 00026740  0x00004e8a increase  0x00000003 , 0x00000002 
+ 00026741  0x00004e8b hstoret  0x00000002 , 0x00008098 
+ 00026742  0x00004e8c increase  0xfffffffd , 0x00000011 
+ 00026743  0x00004e8d ifetcht  0x00000003 , 0x00000011 
+ 00026744  0x00004e8e copy  0x00000002 , 0x00000012 
+ 00026745  0x00004e8f arg  0x000000a0 , 0x00000002 
+ 00026746  0x00004e90 istoret  0x00000001 , 0x00000011 
+ 00026747  0x00004e91 byteswap  0x0000003f , 0x0000003f 
+ 00026748  0x00004e92 istore  0x00000002 , 0x00000005 
+ 00026749  0x00004e93 deposit  0x00000011 
+ 00026750  0x00004e94 hstore  0x00000002 , 0x0000809a 
+ 00026751  0x00004e95 setarg  0x00000000 
+ 00026752  0x00004e96 hstore  0x00000002 , 0x0000809e 
+ 00026753  0x00004e97 hjam  0x00000001 , 0x00008090 
+ 00026754  0x00004e98 hjam  0x00000004 , 0x00008006 
+ 00026755  0x00004e99 call  0x0000680c 
+ 00026756  0x00004e9a copy  0x00000012 , 0x0000003f 
+ 00026757  0x00004e9b istore  0x00000003 , 0x00000011 
+ 00026758  0x00004e9c nop  0x00002710 
+ 00026759  0x00004e9d nop  0x00002710 
+ 00026760  0x00004e9e nop  0x00002710 
+ 00026761  0x00004e9f rtn 
+ 00026762  0x00004ea4 hjam  0x00000070 , 0x00008973 
+ 00026763  0x00004ea5 nop  0x00000bb8 
+ 00026764  0x00004ea6 rtn 
+ 00026765  0x00004ea9 hjam  0x00000030 , 0x00008973 
+ 00026766  0x00004eaa rtn 
+ 00026767  0x00004ead lshift3  0x0000003f , 0x0000003f 
+ 00026768  0x00004eae hstore  0x00000002 , 0x00008045 
+ 00026769  0x00004eaf hjam  0x00000000 , 0x0000804b 
+ 00026770  0x00004eb0 rtn 
+ 00026771  0x00004eb4 call  0x0000688f 
+ 00026772  0x00004eb5 call  0x000068c0 
+ 00026773  0x00004eb7 ifetcht  0x00000001 , 0x00000011 
+ 00026774  0x00004eb8 increase  0x00000001 , 0x00000011 
+ 00026775  0x00004eb9 force  0x00000000 , 0x00000007 
+ 00026776  0x00004ebb qisolate0  0x00000002 
+ 00026777  0x00004ebc branch  0x000068b7 , 0x00000001 
+ 00026778  0x00004ebd hfetch  0x00000001 , 0x00008046 
+ 00026779  0x00004ebe set1  0x00000006 , 0x0000003f 
+ 00026780  0x00004ebf set1  0x00000007 , 0x0000003f 
+ 00026781  0x00004ec0 hstore  0x00000001 , 0x00008046 
+ 00026782  0x00004ec1 hjam  0x00000002 , 0x00008047 
+ 00026783  0x00004ec2 hjam  0x00000082 , 0x00008047 
+ 00026784  0x00004ec3 set0  0x00000007 , 0x0000003f 
+ 00026785  0x00004ec4 hstore  0x00000001 , 0x00008046 
+ 00026786  0x00004ec5 hjam  0x0000008a , 0x00008047 
+ 00026787  0x00004ec6 nop  0x0000000b 
+ 00026788  0x00004ec7 hjam  0x000000ca , 0x00008047 
+ 00026789  0x00004ec8 nop  0x00000021 
+ 00026790  0x00004ec9 hjam  0x0000004a , 0x00008047 
+ 00026791  0x00004eca nop  0x0000002c 
+ 00026792  0x00004ecb hjam  0x000000ca , 0x00008047 
+ 00026793  0x00004ecc nop  0x00000016 
+ 00026794  0x00004ecd hjam  0x0000008a , 0x00008047 
+ 00026795  0x00004ece nop  0x00000021 
+ 00026796  0x00004ecf hjam  0x00000082 , 0x00008047 
+ 00026797  0x00004ed0 nop  0x00000001 
+ 00026798  0x00004ed1 hjam  0x00000092 , 0x00008047 
+ 00026799  0x00004ed2 nop  0x0000000a 
+ 00026800  0x00004ed3 hjam  0x000000b2 , 0x00008047 
+ 00026801  0x00004ed4 hfetch  0x00000001 , 0x00008007 
+ 00026802  0x00004ed5 hjam  0x00000092 , 0x00008047 
+ 00026803  0x00004ed6 nop  0x00000001 
+ 00026804  0x00004ed7 hjam  0x00000082 , 0x00008047 
+ 00026805  0x00004ed8 qisolate0  0x0000003f 
+ 00026806  0x00004ed9 branch  0x00006898 , 0x00000001 
+ 00026807  0x00004edb hfetch  0x00000002 , 0x00008045 
+ 00026808  0x00004edc increase  0x00000001 , 0x0000003f 
+ 00026809  0x00004edd hstore  0x00000002 , 0x00008045 
+ 00026810  0x00004ede increase  0x00000001 , 0x00000007 
+ 00026811  0x00004edf compare  0x00000008 , 0x00000007 , 0x0000000f 
+ 00026812  0x00004ee0 nbranch  0x00006898 , 0x00000001 
+ 00026813  0x00004ee1 loop  0x00006895 
+ 00026814  0x00004ee2 hjam  0x00000083 , 0x00008047 
+ 00026815  0x00004ee3 rtn 
+ 00026816  0x00004ee6 hjam  0x00000082 , 0x00008047 
+ 00026817  0x00004ee7 nop  0x0000000c 
+ 00026818  0x00004ee8 hjam  0x00000080 , 0x00008047 
+ 00026819  0x00004ee9 hjam  0x00000082 , 0x00008047 
+ 00026820  0x00004eea nop  0x00000096 
+ 00026821  0x00004eeb rtn 
+ 00026822  0x00004eef call  0x000068c0 
+ 00026823  0x00004ef1 hjam  0x000000a2 , 0x00008047 
+ 00026824  0x00004ef2 deposit  0x00000011 
+ 00026825  0x00004ef3 hstore  0x00000002 , 0x00008048 
+ 00026826  0x00004ef4 set1  0x0000000b , 0x00000002 
+ 00026827  0x00004ef5 isolate0  0x0000000f , 0x0000003f 
+ 00026828  0x00004ef6 setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00026829  0x00004ef7 hstoret  0x00000002 , 0x0000804a 
+ 00026830  0x00004ef8 hjam  0x00000001 , 0x00008006 
+ 00026831  0x00004ef9 rtn 
+ 00026832  0x00004efc hfetch  0x00000001 , 0x0000812c 
+ 00026833  0x00004efd bbit0  0x00000001 , 0x000068d0 
+ 00026834  0x00004efe rtn 
+ 00026835  0x00004f02 call  0x0000688f 
+ 00026836  0x00004f03 call  0x000068c6 
+ 00026837  0x00004f04 call  0x000068d0 
+ 00026838  0x00004f05 hjam  0x00000083 , 0x00008047 
+ 00026839  0x00004f06 rtn 
+ 00026840  0x00004f0c hfetch  0x00000002 , 0x00008124 
+ 00026841  0x00004f0d hstore  0x00000002 , 0x00008045 
+ 00026842  0x00004f0e call  0x000068c6 
+ 00026843  0x00004f0f arg  0x00000001 , 0x00000007 
+ 00026844  0x00004f10 call  0x0000676a 
+ 00026845  0x00004f11 call  0x000068d0 
+ 00026846  0x00004f12 isolate1  0x00000000 , 0x0000003f 
+ 00026847  0x00004f13 call  0x00006763 
+ 00026848  0x00004f14 hjam  0x00000083 , 0x00008047 
+ 00026849  0x00004f15 rtn 
+ 00026850  0x00004f19 jam  0x00000001 , 0x0000427a 
+ 00026851  0x00004f1a force  0x0000000e , 0x00000007 
+ 00026852  0x00004f1b fetch  0x00000002 , 0x0000427c 
+ 00026853  0x00004f1c branch  0x00007e4c 
+ 00026854  0x00004f1e hfetch  0x00000002 , 0x00008112 
+ 00026855  0x00004f1f rtn  0x00000034 
+ 00026856  0x00004f20 fetcht  0x00000001 , 0x0000427b 
+ 00026857  0x00004f21 isub  0x00000002 , 0x0000003e 
+ 00026858  0x00004f22 branch  0x000068f2 , 0x00000002 
+ 00026859  0x00004f23 fetch  0x00000001 , 0x0000427a 
+ 00026860  0x00004f24 branch  0x000068e2 , 0x00000034 
+ 00026861  0x00004f25 arg  0x0000000e , 0x00000007 
+ 00026862  0x00004f26 call  0x00007e53 
+ 00026863  0x00004f27 branch  0x000068f2 , 0x00000034 
+ 00026864  0x00004f28 setarg  0x00000000 
+ 00026865  0x00004f29 rtn 
+ 00026866  0x00004f2b force  0x0000000e , 0x00000007 
+ 00026867  0x00004f2c call  0x00007e4b 
+ 00026868  0x00004f2d jam  0x00000000 , 0x0000427a 
+ 00026869  0x00004f2e hfetch  0x00000002 , 0x00008112 
+ 00026870  0x00004f2f rtn 
+ 00026871  0x00004f37 hfetch  0x00000002 , 0x0000805e 
+ 00026872  0x00004f38 iforce  0x0000000a 
+ 00026873  0x00004f39 rtn 
+ 00026874  0x00004f3c deposit  0x0000000a 
+ 00026875  0x00004f3d hstore  0x00000002 , 0x0000805e 
+ 00026876  0x00004f3e rtn 
+ 00026877  0x00004f41 hfetch  0x00000002 , 0x00008112 
+ 00026878  0x00004f42 rtn  0x00000034 
+ 00026879  0x00004f43 iforce  0x00000039 
+ 00026880  0x00004f44 hfetch  0x00000002 , 0x00008058 
+ 00026881  0x00004f45 iforce  0x00000003 
+ 00026882  0x00004f46 rtn 
+ 00026883  0x00004f4a hfetch  0x00000002 , 0x00008058 
+ 00026884  0x00004f4b iadd  0x00000002 , 0x0000003f 
+ 00026885  0x00004f4c copy  0x0000003f , 0x00000003 
+ 00026886  0x00004f4e deposit  0x00000003 
+ 00026887  0x00004f4f hstore  0x00000002 , 0x00008058 
+ 00026888  0x00004f50 rtn 
+ 00026889  0x00004f53 fetch  0x00000002 , 0x000042ac 
+ 00026890  0x00004f54 hstore  0x00000002 , 0x00008052 
+ 00026891  0x00004f55 rtn 
+ 00026892  0x00004f5a fetch  0x00000006 , 0x000003d0 
+ 00026893  0x00004f5b store  0x00000006 , 0x000001b4 
+ 00026894  0x00004f5c jam  0x00000034 , 0x000001b3 
+ 00026895  0x00004f5d branch  0x00006913 
+ 00026896  0x00004f5f fetch  0x00000006 , 0x00000040 
+ 00026897  0x00004f60 store  0x00000006 , 0x000001b4 
+ 00026898  0x00004f61 jam  0x00000033 , 0x000001b3 
+ 00026899  0x00004f63 set1  0x00000025 , 0x00000000 
+ 00026900  0x00004f64 bpatch  0x00000008 , 0x00004021 
+ 00026901  0x00004f65 call  0x00006954 
+ 00026902  0x00004f66 call  0x00006950 
+ 00026903  0x00004f67 fetch  0x00000001 , 0x000001b3 
+ 00026904  0x00004f68 beq  0x00000034 , 0x0000691b 
+ 00026905  0x00004f69 beq  0x00000033 , 0x0000697c 
+ 00026906  0x00004f6a rtn 
+ 00026907  0x00004f6c call  0x0000697a 
+ 00026908  0x00004f6d branch  0x00006963 
+ 00026909  0x00004f71 set1  0x00000025 , 0x00000000 
+ 00026910  0x00004f72 bpatch  0x00000009 , 0x00004021 
+ 00026911  0x00004f73 call  0x00006929 
+ 00026912  0x00004f74 fetch  0x00000001 , 0x000001b2 
+ 00026913  0x00004f75 rtneq  0x000000ff 
+ 00026914  0x00004f76 fetch  0x00000006 , 0x000001b4 
+ 00026915  0x00004f77 store  0x00000006 , 0x00004274 
+ 00026916  0x00004f78 fetch  0x00000001 , 0x000001b3 
+ 00026917  0x00004f79 store  0x00000001 , 0x000042a9 
+ 00026918  0x00004f7a beq  0x00000033 , 0x0000692d 
+ 00026919  0x00004f7b beq  0x00000034 , 0x0000692f 
+ 00026920  0x00004f7c rtn 
+ 00026921  0x00004f7e call  0x0000694c 
+ 00026922  0x00004f7f fetch  0x00000001 , 0x000001b2 
+ 00026923  0x00004f80 rtneq  0x000000ff 
+ 00026924  0x00004f81 branch  0x0000696b 
+ 00026925  0x00004f83 call  0x00006983 
+ 00026926  0x00004f84 branch  0x000069a2 
+ 00026927  0x00004f86 call  0x00006981 
+ 00026928  0x00004f87 branch  0x000069a8 
+ 00026929  0x00004f89 call  0x00006988 
+ 00026930  0x00004f8a disable  0x00000028 
+ 00026931  0x00004f8b call  0x0000698c 
+ 00026932  0x00004f8c nbranch  0x0000427f , 0x00000028 
+ 00026933  0x00004f8e fetcht  0x00000002 , 0x000001ba 
+ 00026934  0x00004f8f increase  0xffffffff , 0x00000002 
+ 00026935  0x00004f90 setarg  0x00000000 
+ 00026936  0x00004f91 istore  0x00000007 , 0x00000002 
+ 00026937  0x00004f92 arg  0x0000001c , 0x00000002 
+ 00026938  0x00004f93 arg  0x00000195 , 0x00000011 
+ 00026939  0x00004f94 arg  0x00000000 , 0x00000012 
+ 00026940  0x00004f95 branch  0x0000683e 
+ 00026941  0x00004f98 set1  0x00000025 , 0x00000000 
+ 00026942  0x00004f99 bpatch  0x0000000a , 0x00004021 
+ 00026943  0x00004f9a arg  0x0000018e , 0x00000005 
+ 00026944  0x00004f9b force  0x00000004 , 0x00000039 
+ 00026945  0x00004f9c call  0x00007e3b 
+ 00026946  0x00004f9d arg  0x0000001c , 0x00000002 
+ 00026947  0x00004f9e arg  0x0000018e , 0x00000011 
+ 00026948  0x00004f9f arg  0x00000000 , 0x00000012 
+ 00026949  0x00004fa0 branch  0x0000683e 
+ 00026950  0x00004fa3 set1  0x00000025 , 0x00000000 
+ 00026951  0x00004fa4 bpatch  0x0000000b , 0x00004021 
+ 00026952  0x00004fa5 setarg  0x00000000 
+ 00026953  0x00004fa6 store  0x00000003 , 0x00000040 
+ 00026954  0x00004fa7 istore  0x00000003 , 0x00000005 
+ 00026955  0x00004fa8 branch  0x00006954 
+ 00026956  0x00004fab arg  0x00000001 , 0x00000002 
+ 00026957  0x00004fac arg  0x000001b2 , 0x00000011 
+ 00026958  0x00004fad arg  0x0000001c , 0x00000012 
+ 00026959  0x00004fae branch  0x0000681d 
+ 00026960  0x00004fb1 arg  0x00000001 , 0x00000002 
+ 00026961  0x00004fb2 arg  0x000001b2 , 0x00000011 
+ 00026962  0x00004fb3 arg  0x0000001c , 0x00000012 
+ 00026963  0x00004fb4 branch  0x0000683e 
+ 00026964  0x00004fb8 set1  0x00000025 , 0x00000000 
+ 00026965  0x00004fb9 bpatch  0x0000000c , 0x00004021 
+ 00026966  0x00004fba call  0x00006988 
+ 00026967  0x00004fbb disable  0x00000028 
+ 00026968  0x00004fbc call  0x0000698c 
+ 00026969  0x00004fbd rtn  0x00000028 
+ 00026970  0x00004fbf jam  0x00000000 , 0x000001b2 
+ 00026971  0x00004fc0 fetch  0x00000006 , 0x000001b4 
+ 00026972  0x00004fc1 store  0x00000006 , 0x0000018f 
+ 00026973  0x00004fc2 fetch  0x00000001 , 0x000001b3 
+ 00026974  0x00004fc3 store  0x00000001 , 0x0000018e 
+ 00026975  0x00004fc4 arg  0x0000001c , 0x00000002 
+ 00026976  0x00004fc5 arg  0x0000018e , 0x00000011 
+ 00026977  0x00004fc6 arg  0x00000000 , 0x00000012 
+ 00026978  0x00004fc7 branch  0x0000683e 
+ 00026979  0x00004fcb arg  0x00000006 , 0x00000002 
+ 00026980  0x00004fcc arg  0x000044f9 , 0x00000011 
+ 00026981  0x00004fcd arg  0x0000001d , 0x00000012 
+ 00026982  0x00004fce branch  0x0000683e 
+ 00026983  0x00004fd1 arg  0x00000006 , 0x00000002 
+ 00026984  0x00004fd2 arg  0x000044f9 , 0x00000011 
+ 00026985  0x00004fd3 arg  0x0000001d , 0x00000012 
+ 00026986  0x00004fd4 branch  0x0000681d 
+ 00026987  0x00004fd8 set1  0x00000025 , 0x00000000 
+ 00026988  0x00004fd9 bpatch  0x0000000d , 0x00004021 
+ 00026989  0x00004fda arg  0x00000007 , 0x00000002 
+ 00026990  0x00004fdb arg  0x000001b3 , 0x00000011 
+ 00026991  0x00004fdc arg  0x00000000 , 0x00000012 
+ 00026992  0x00004fdd fetch  0x00000001 , 0x000001b2 
+ 00026993  0x00004fde mul32  0x0000003f , 0x00000007 , 0x0000003f 
+ 00026994  0x00004fdf iadd  0x00000012 , 0x00000012 
+ 00026995  0x00004fe0 branch  0x0000681d 
+ 00026996  0x00004fe3 arg  0x00000010 , 0x00000002 
+ 00026997  0x00004fe4 arg  0x00000023 , 0x00000012 
+ 00026998  0x00004fe5 fetch  0x00000001 , 0x000001b2 
+ 00026999  0x00004fe6 lshift4  0x0000003f , 0x0000003f 
+ 00027000  0x00004fe7 iadd  0x00000012 , 0x00000012 
+ 00027001  0x00004fe8 rtn 
+ 00027002  0x00004feb arg  0x0000447b , 0x00000011 
+ 00027003  0x00004fec branch  0x0000697d 
+ 00027004  0x00004fee arg  0x00004262 , 0x00000011 
+ 00027005  0x00004ff0 set1  0x00000025 , 0x00000000 
+ 00027006  0x00004ff1 bpatch  0x0000000e , 0x00004021 
+ 00027007  0x00004ff2 call  0x00006974 
+ 00027008  0x00004ff3 branch  0x0000683e 
+ 00027009  0x00004ff6 arg  0x0000447b , 0x00000011 
+ 00027010  0x00004ff7 branch  0x00006984 
+ 00027011  0x00004ff9 arg  0x00004262 , 0x00000011 
+ 00027012  0x00004ffb set1  0x00000025 , 0x00000000 
+ 00027013  0x00004ffc bpatch  0x0000000f , 0x00004021 
+ 00027014  0x00004ffd call  0x00006974 
+ 00027015  0x00004ffe branch  0x0000681d 
+ 00027016  0x00005003 arg  0x0000001c , 0x00000002 
+ 00027017  0x00005004 arg  0x00000195 , 0x00000011 
+ 00027018  0x00005005 arg  0x00000000 , 0x00000012 
+ 00027019  0x00005006 branch  0x0000681d 
+ 00027020  0x00005009 set1  0x00000025 , 0x00000000 
+ 00027021  0x0000500a bpatch  0x00000010 , 0x00004022 
+ 00027022  0x0000500b setarg  0x00000195 
+ 00027023  0x0000500c store  0x00000002 , 0x000001ba 
+ 00027024  0x0000500d jam  0x00000000 , 0x000001b2 
+ 00027025  0x0000500e arg  0x00000004 , 0x00000039 
+ 00027026  0x00005010 copy  0x00000039 , 0x0000003f 
+ 00027027  0x00005011 store  0x00000001 , 0x00000161 
+ 00027028  0x00005012 fetch  0x00000002 , 0x000001ba 
+ 00027029  0x00005013 copy  0x0000003f , 0x00000011 
+ 00027030  0x00005014 call  0x000069ac 
+ 00027031  0x00005015 rtn  0x00000028 
+ 00027032  0x00005016 fetch  0x00000002 , 0x000001ba 
+ 00027033  0x00005017 increase  0x00000007 , 0x0000003f 
+ 00027034  0x00005018 store  0x00000002 , 0x000001ba 
+ 00027035  0x00005019 fetch  0x00000001 , 0x000001b2 
+ 00027036  0x0000501a increase  0x00000001 , 0x0000003f 
+ 00027037  0x0000501b store  0x00000001 , 0x000001b2 
+ 00027038  0x0000501c fetch  0x00000001 , 0x00000161 
+ 00027039  0x0000501d copy  0x0000003f , 0x00000039 
+ 00027040  0x0000501e loop  0x00006992 
+ 00027041  0x0000501f rtn 
+ 00027042  0x00005022 fetch  0x00000008 , 0x00004262 
+ 00027043  0x00005023 fetcht  0x00000008 , 0x0000426a 
+ 00027044  0x00005024 ior  0x00000002 , 0x0000003f 
+ 00027045  0x00005025 rtn  0x00000034 
+ 00027046  0x00005026 jam  0x00000001 , 0x0000425e 
+ 00027047  0x00005027 rtn 
+ 00027048  0x00005029 fetch  0x00000006 , 0x00004274 
+ 00027049  0x0000502a rtn  0x00000034 
+ 00027050  0x0000502b jam  0x00000001 , 0x0000448b 
+ 00027051  0x0000502c rtn 
+ 00027052  0x0000502f arg  0x000001b3 , 0x00000012 
+ 00027053  0x00005030 arg  0x00000007 , 0x00000039 
+ 00027054  0x00005031 call  0x00007f25 
+ 00027055  0x00005032 branch  0x000069b1 , 0x00000005 
+ 00027056  0x00005033 rtn 
+ 00027057  0x00005035 enable  0x00000028 
+ 00027058  0x00005036 rtn 
+ 00027059  0x00005038 branch  0x00003bf1 
+ 00027060  0x00005040 set1  0x00000025 , 0x00000000 
+ 00027061  0x00005041 bpatch  0x00000011 , 0x00004022 
+ 00027062  0x00005042 set1  0x00000007 , 0x00000002 
+ 00027063  0x00005043 call  0x000069e5 
+ 00027064  0x00005044 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00027065  0x0000504a set1  0x00000025 , 0x00000000 
+ 00027066  0x0000504b bpatch  0x00000012 , 0x00004022 
+ 00027067  0x0000504c isolate0  0x00000007 , 0x00000002 
+ 00027068  0x0000504d and  0x00000002 , 0x0000001f , 0x00000007 
+ 00027069  0x0000504e fetch  0x00000004 , 0x000000a3 
+ 00027070  0x0000504f qsetflag  0x00000001 , 0x0000003f 
+ 00027071  0x00005050 store  0x00000004 , 0x000000a3 
+ 00027072  0x00005051 fetch  0x00000004 , 0x000000a7 
+ 00027073  0x00005052 nqsetflag  0x00000001 , 0x0000003f 
+ 00027074  0x00005053 store  0x00000004 , 0x000000a7 
+ 00027075  0x00005054 rtn 
+ 00027076  0x00005058 set1  0x00000025 , 0x00000000 
+ 00027077  0x00005059 bpatch  0x00000013 , 0x00004022 
+ 00027078  0x0000505a isolate0  0x00000007 , 0x00000002 
+ 00027079  0x0000505b and  0x00000002 , 0x0000001f , 0x00000007 
+ 00027080  0x0000505c fetch  0x00000004 , 0x000000a3 
+ 00027081  0x0000505d qset0  0x0000003f 
+ 00027082  0x0000505e store  0x00000004 , 0x000000a3 
+ 00027083  0x0000505f fetch  0x00000004 , 0x000000a7 
+ 00027084  0x00005060 qset0  0x0000003f 
+ 00027085  0x00005061 store  0x00000004 , 0x000000a7 
+ 00027086  0x00005062 rtn 
+ 00027087  0x00005066 call  0x000069c4 
+ 00027088  0x00005067 branch  0x000069d2 
+ 00027089  0x0000506b ncall  0x000069b9 , 0x0000002b 
+ 00027090  0x0000506e arg  0x0000807c , 0x00000005 
+ 00027091  0x0000506f call  0x000069f4 
+ 00027092  0x00005070 setflip  0x00000007 , 0x00000002 
+ 00027093  0x00005071 arg  0x00008078 , 0x00000005 
+ 00027094  0x00005072 call  0x000069f4 
+ 00027095  0x00005073 set0  0x00000007 , 0x00000002 
+ 00027096  0x00005074 arg  0x00008070 , 0x00000005 
+ 00027097  0x00005075 branch  0x000069f4 
+ 00027098  0x00005079 setflip  0x00000007 , 0x00000002 
+ 00027099  0x0000507a call  0x000069f3 
+ 00027100  0x0000507b set1  0x00000007 , 0x00000002 
+ 00027101  0x0000507c arg  0x00008070 , 0x00000005 
+ 00027102  0x0000507d branch  0x000069f4 
+ 00027103  0x00005080 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00027104  0x00005081 rshift3  0x00000002 , 0x0000003f 
+ 00027105  0x00005082 and_into  0x00000003 , 0x0000003f 
+ 00027106  0x00005083 iadd  0x00000005 , 0x00000005 
+ 00027107  0x00005084 ifetch  0x00000001 , 0x00000005 
+ 00027108  0x00005085 rtn 
+ 00027109  0x0000508a arg  0x0000811c , 0x00000005 
+ 00027110  0x0000508b call  0x000069df 
+ 00027111  0x0000508c isolate1  0x00000007 , 0x00000002 
+ 00027112  0x0000508d branch  0x000069eb , 0x00000001 
+ 00027113  0x0000508e qisolate0  0x0000003f 
+ 00027114  0x0000508f rtn 
+ 00027115  0x00005091 qisolate1  0x0000003f 
+ 00027116  0x00005092 rtn 
+ 00027117  0x00005095 isolate1  0x00000007 , 0x0000003e 
+ 00027118  0x00005096 branch  0x000069f0 
+ 00027119  0x00005099 isolate0  0x00000007 , 0x0000003e 
+ 00027120  0x0000509d setarg  0x00000000 
+ 00027121  0x0000509e nsetflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00027122  0x0000509f ixor  0x00000002 , 0x00000002 
+ 00027123  0x000050a3 arg  0x00008074 , 0x00000005 
+ 00027124  0x000050a7 call  0x000069df 
+ 00027125  0x000050a8 isolate1  0x00000007 , 0x00000002 
+ 00027126  0x000050a9 qsetflag  0x00000001 , 0x0000003f 
+ 00027127  0x000050aa istore  0x00000001 , 0x00000005 
+ 00027128  0x000050ab rtn 
+ 00027129  0x000050ae fetch  0x00000001 , 0x0000416e 
+ 00027130  0x000050af rtneq  0x0000007f 
+ 00027131  0x000050b0 hjam  0x00000000 , 0x00008077 
+ 00027132  0x000050b1 nop  0x0000001e 
+ 00027133  0x000050b2 hjam  0x00000008 , 0x00008077 
+ 00027134  0x000050b3 rtn 
+ 00027135  0x000050b9 lshift8  0x0000003f , 0x0000003f 
+ 00027136  0x000050ba lshift4  0x0000003f , 0x0000003f 
+ 00027137  0x000050bb hstore  0x00000002 , 0x000080a2 
+ 00027138  0x000050bc hstore  0x00000002 , 0x000080a0 
+ 00027139  0x000050bd rtn 
+ 00027140  0x000050c0 setarg  0x00000000 
+ 00027141  0x000050c1 hstore  0x00000002 , 0x000080a2 
+ 00027142  0x000050c2 setarg  0x00000001 
+ 00027143  0x000050c3 hstore  0x00000002 , 0x000080a0 
+ 00027144  0x000050c4 rtn 
+ 00027145  0x000050c7 setarg  0x00000000 
+ 00027146  0x000050c8 hstore  0x00000002 , 0x000080a2 
+ 00027147  0x000050c9 hstore  0x00000002 , 0x000080a0 
+ 00027148  0x000050ca rtn 
+ 00027149  0x000050d0 arg  0x00008800 , 0x00000005 
+ 00027150  0x000050d1 arg  0x00000020 , 0x00000039 
+ 00027151  0x000050d2 call  0x00007e3b 
+ 00027152  0x000050d3 setarg  0x000004f9 
+ 00027153  0x000050d4 hstore  0x00000002 , 0x00008848 
+ 00027154  0x000050d5 hstore  0x00000002 , 0x0000884a 
+ 00027155  0x000050d6 hstore  0x00000002 , 0x0000884c 
+ 00027156  0x000050d7 hstore  0x00000002 , 0x0000886c 
+ 00027157  0x000050d8 hstore  0x00000002 , 0x0000888c 
+ 00027158  0x000050d9 hstore  0x00000002 , 0x000088ac 
+ 00027159  0x000050da setarg  0x00000204 
+ 00027160  0x000050db hstore  0x00000002 , 0x000088ae 
+ 00027161  0x000050dc setarg  0x00000506 
+ 00027162  0x000050dd hstore  0x00000002 , 0x000088b0 
+ 00027163  0x000050de setarg  0x00000504 
+ 00027164  0x000050df hstore  0x00000002 , 0x000088b2 
+ 00027165  0x000050e0 setarg  0x00000200 
+ 00027166  0x000050e1 hstore  0x00000002 , 0x000088b4 
+ 00027167  0x000050e2 setarg  0x0000fefb 
+ 00027168  0x000050e3 hstore  0x00000002 , 0x000088b6 
+ 00027169  0x000050e4 setarg  0x0000faf9 
+ 00027170  0x000050e5 hstore  0x00000002 , 0x000088b8 
+ 00027171  0x000050e6 setarg  0x0000fafb 
+ 00027172  0x000050e7 hstore  0x00000002 , 0x000088ba 
+ 00027173  0x000050e8 setarg  0x0000fd00 
+ 00027174  0x000050e9 hstore  0x00000002 , 0x000088bc 
+ 00027175  0x000050ea setarg  0x00000408 
+ 00027176  0x000050eb hstore  0x00000002 , 0x000088be 
+ 00027177  0x000050ec setarg  0x00000a0c 
+ 00027178  0x000050ed hstore  0x00000002 , 0x000088c0 
+ 00027179  0x000050ee setarg  0x00000b09 
+ 00027180  0x000050ef hstore  0x00000002 , 0x000088c2 
+ 00027181  0x000050f0 setarg  0x00000500 
+ 00027182  0x000050f1 hstore  0x00000002 , 0x000088c4 
+ 00027183  0x000050f2 setarg  0x0000f8f1 
+ 00027184  0x000050f3 hstore  0x00000002 , 0x000088c6 
+ 00027185  0x000050f4 setarg  0x0000ece8 
+ 00027186  0x000050f5 hstore  0x00000002 , 0x000088c8 
+ 00027187  0x000050f6 setarg  0x0000e9eb 
+ 00027188  0x000050f7 hstore  0x00000002 , 0x000088ca 
+ 00027189  0x000050f8 setarg  0x0000f500 
+ 00027190  0x000050f9 hstore  0x00000002 , 0x000088cc 
+ 00027191  0x000050fa setarg  0x00001223 
+ 00027192  0x000050fb hstore  0x00000002 , 0x000088ce 
+ 00027193  0x000050fc setarg  0x0000374b 
+ 00027194  0x000050fd hstore  0x00000002 , 0x000088d0 
+ 00027195  0x000050fe setarg  0x00005e71 
+ 00027196  0x000050ff hstore  0x00000002 , 0x000088d2 
+ 00027197  0x00005100 setarg  0x0000787f 
+ 00027198  0x00005101 hstore  0x00000002 , 0x000088d4 
+ 00027199  0x00005102 rtn 
+ 00027200  0x00005105 set1  0x00000025 , 0x00000000 
+ 00027201  0x00005106 bpatch  0x00000014 , 0x00004022 
+ 00027202  0x00005107 hfetch  0x00000002 , 0x00008050 
+ 00027203  0x00005108 set0  0x0000000e , 0x0000003f 
+ 00027204  0x00005109 hstore  0x00000002 , 0x00008050 
+ 00027205  0x0000510a hjam  0x00000011 , 0x000080b0 
+ 00027206  0x0000510b hjam  0x00000001 , 0x000080b1 
+ 00027207  0x0000510c hjam  0x00000001 , 0x000080b2 
+ 00027208  0x0000510d hjam  0x00000011 , 0x000080b3 
+ 00027209  0x0000510e rtn 
+ 00027210  0x00005111 set1  0x00000025 , 0x00000000 
+ 00027211  0x00005112 bpatch  0x00000015 , 0x00004022 
+ 00027212  0x00005113 hfetch  0x00000002 , 0x00008050 
+ 00027213  0x00005114 set1  0x0000000e , 0x0000003f 
+ 00027214  0x00005115 hstore  0x00000002 , 0x00008050 
+ 00027215  0x00005116 hjam  0x00000004 , 0x000080b0 
+ 00027216  0x00005117 hjam  0x00000004 , 0x000080b3 
+ 00027217  0x00005118 hjam  0x00000000 , 0x000080b1 
+ 00027218  0x00005119 hjam  0x00000000 , 0x000080b2 
+ 00027219  0x0000511a rtn 
+ 00027220  0x0000511f fetch  0x00000001 , 0x00000030 
+ 00027221  0x00005120 rtnbit0  0x00000002 
+ 00027222  0x00005121 arg  0x000000b5 , 0x00000005 
+ 00027223  0x00005122 arg  0x0000001e , 0x00000039 
+ 00027224  0x00005124 hfetch  0x00000001 , 0x00008134 
+ 00027225  0x00005125 istore  0x00000001 , 0x00000005 
+ 00027226  0x00005126 loop  0x00006a58 
+ 00027227  0x00005127 rtn 
+ 00027228  0x0000512b fetch  0x00000001 , 0x00000030 
+ 00027229  0x0000512c rtnbit0  0x00000002 
+ 00027230  0x0000512d arg  0x000000d3 , 0x00000006 
+ 00027231  0x0000512e force  0x0000001e , 0x00000039 
+ 00027232  0x00005130 ifetch  0x00000001 , 0x00000006 
+ 00027233  0x00005131 hstore  0x00000001 , 0x00008009 
+ 00027234  0x00005132 loop  0x00006a60 
+ 00027235  0x00005133 rtn 
+ 00027236  0x00005136 rtn 
+ 00027237  0x0000513c call  0x00006a87 
+ 00027238  0x0000513d arg  0x00000006 , 0x00000002 
+ 00027239  0x0000513e branch  0x000069da 
+ 00027240  0x00005141 call  0x00006a65 
+ 00027241  0x00005142 arg  0x00000006 , 0x00000002 
+ 00027242  0x00005143 branch  0x000069ed 
+ 00027243  0x00005146 call  0x00006a65 
+ 00027244  0x00005147 arg  0x00000006 , 0x00000002 
+ 00027245  0x00005148 branch  0x000069ef 
+ 00027246  0x0000514b call  0x00006a87 
+ 00027247  0x0000514c arg  0x00000007 , 0x00000002 
+ 00027248  0x0000514d branch  0x000069da 
+ 00027249  0x00005150 call  0x00006a6e 
+ 00027250  0x00005151 arg  0x00000007 , 0x00000002 
+ 00027251  0x00005152 branch  0x000069ed 
+ 00027252  0x00005155 call  0x00006a6e 
+ 00027253  0x00005156 arg  0x00000007 , 0x00000002 
+ 00027254  0x00005157 branch  0x000069ef 
+ 00027255  0x0000515a call  0x00006a87 
+ 00027256  0x0000515b hfetch  0x00000001 , 0x00008078 
+ 00027257  0x0000515c set1  0x00000006 , 0x0000003f 
+ 00027258  0x0000515d hstore  0x00000001 , 0x00008078 
+ 00027259  0x0000515e arg  0x00000006 , 0x00000002 
+ 00027260  0x0000515f branch  0x000069d1 
+ 00027261  0x00005162 call  0x00006a87 
+ 00027262  0x00005163 hfetch  0x00000001 , 0x00008078 
+ 00027263  0x00005164 set1  0x00000007 , 0x0000003f 
+ 00027264  0x00005165 hstore  0x00000001 , 0x00008078 
+ 00027265  0x00005166 arg  0x00000007 , 0x00000002 
+ 00027266  0x00005167 branch  0x000069d1 
+ 00027267  0x0000516a hfetch  0x00000001 , 0x00008081 
+ 00027268  0x0000516b or_into  0x00000004 , 0x0000003f 
+ 00027269  0x0000516c hstore  0x00000001 , 0x00008081 
+ 00027270  0x0000516d rtn 
+ 00027271  0x00005170 hfetch  0x00000001 , 0x00008081 
+ 00027272  0x00005171 and_into  0x000000fb , 0x0000003f 
+ 00027273  0x00005172 hstore  0x00000001 , 0x00008081 
+ 00027274  0x00005173 rtn 
+ 00027275  0x00005176 hfetch  0x00000001 , 0x00008081 
+ 00027276  0x00005177 isolate1  0x00000002 , 0x0000003f 
+ 00027277  0x00005178 rtn 
+ 00027278  0x0000517c setarg  0x00006a91 
+ 00027279  0x0000517d store  0x00000002 , 0x00004296 
+ 00027280  0x0000517e rtn 
+ 00027281  0x00005180 call  0x00006b14 
+ 00027282  0x00005181 fetch  0x00000001 , 0x00000481 
+ 00027283  0x00005182 beq  0x00000001 , 0x00006a96 
+ 00027284  0x00005183 beq  0x00000002 , 0x00006a9c 
+ 00027285  0x00005184 branch  0x00003bf1 
+ 00027286  0x00005186 arg  0x00000017 , 0x00000002 
+ 00027287  0x00005187 storet  0x00000002 , 0x000044c2 
+ 00027288  0x00005188 call  0x00005a88 
+ 00027289  0x00005189 ifetch  0x00000001 , 0x00000006 
+ 00027290  0x0000518a call  0x00006a9e 
+ 00027291  0x0000518b branch  0x00005b42 
+ 00027292  0x0000518d call  0x00006a9e 
+ 00027293  0x0000518e branch  0x00005b51 
+ 00027294  0x00005190 copy  0x00000006 , 0x00000011 
+ 00027295  0x00005191 set1  0x00000025 , 0x00000000 
+ 00027296  0x00005192 bpatch  0x00000031 , 0x00004026 
+ 00027297  0x00005193 ifetch  0x00000001 , 0x00000006 
+ 00027298  0x00005194 beq  0x00000000 , 0x00006ab7 
+ 00027299  0x00005195 beq  0x00000001 , 0x00006abc 
+ 00027300  0x00005196 beq  0x00000002 , 0x00006abd 
+ 00027301  0x00005197 beq  0x00000003 , 0x00006abe 
+ 00027302  0x00005198 beq  0x00000004 , 0x00006b50 
+ 00027303  0x00005199 beq  0x00000005 , 0x00006aff 
+ 00027304  0x0000519a beq  0x00000006 , 0x00006b51 
+ 00027305  0x0000519b beq  0x00000007 , 0x00006b52 
+ 00027306  0x0000519c beq  0x00000008 , 0x00006abf 
+ 00027307  0x0000519d beq  0x00000009 , 0x00006ac0 
+ 00027308  0x0000519e beq  0x0000000a , 0x00006ac1 
+ 00027309  0x0000519f beq  0x0000000b , 0x00006ac2 
+ 00027310  0x000051a0 beq  0x0000000c , 0x00006ac3 
+ 00027311  0x000051a1 beq  0x0000000d , 0x00006ad5 
+ 00027312  0x000051a2 beq  0x0000000e , 0x00006ae3 
+ 00027313  0x000051a3 beq  0x0000000f , 0x00006af0 
+ 00027314  0x000051a4 beq  0x00000010 , 0x00006af1 
+ 00027315  0x000051a5 beq  0x00000011 , 0x00006af8 
+ 00027316  0x000051a6 beq  0x00000012 , 0x00006b19 
+ 00027317  0x000051a7 beq  0x00000013 , 0x00006b45 
+ 00027318  0x000051a8 rtn 
+ 00027319  0x000051ac copy  0x00000011 , 0x00000006 
+ 00027320  0x000051ad ifetch  0x00000001 , 0x00000006 
+ 00027321  0x000051ae lshift8  0x0000003f , 0x0000003f 
+ 00027322  0x000051af store  0x00000003 , 0x0000046d 
+ 00027323  0x000051b0 rtn 
+ 00027324  0x000051b2 rtn 
+ 00027325  0x000051b4 rtn 
+ 00027326  0x000051b6 rtn 
+ 00027327  0x000051bb rtn 
+ 00027328  0x000051bd rtn 
+ 00027329  0x000051bf rtn 
+ 00027330  0x000051c1 rtn 
+ 00027331  0x000051c6 ifetch  0x00000004 , 0x00000006 
+ 00027332  0x000051c7 hstore  0x00000001 , 0x00008082 
+ 00027333  0x000051c8 rshift8  0x0000003f , 0x0000003f 
+ 00027334  0x000051c9 hfetcht  0x00000001 , 0x00008081 
+ 00027335  0x000051ca and_into  0x0000007f , 0x00000002 
+ 00027336  0x000051cb ior  0x00000002 , 0x00000002 
+ 00027337  0x000051cc hstoret  0x00000001 , 0x00008081 
+ 00027338  0x000051cd rshift8  0x0000003f , 0x0000003f 
+ 00027339  0x000051ce hfetcht  0x00000001 , 0x00008051 
+ 00027340  0x000051cf and_into  0x000000df , 0x00000002 
+ 00027341  0x000051d0 ior  0x00000002 , 0x00000002 
+ 00027342  0x000051d1 hstoret  0x00000001 , 0x00008051 
+ 00027343  0x000051d2 rshift8  0x0000003f , 0x0000003f 
+ 00027344  0x000051d3 hfetcht  0x00000001 , 0x00008042 
+ 00027345  0x000051d4 and_into  0x0000003f , 0x00000002 
+ 00027346  0x000051d5 ior  0x00000002 , 0x00000002 
+ 00027347  0x000051d6 hstoret  0x00000001 , 0x00008042 
+ 00027348  0x000051d7 branch  0x00006ab7 
+ 00027349  0x000051d9 ifetch  0x00000009 , 0x00000006 
+ 00027350  0x000051da hfetcht  0x00000001 , 0x00008085 
+ 00027351  0x000051db and_into  0x0000003f , 0x00000002 
+ 00027352  0x000051dc ior  0x00000002 , 0x00000002 
+ 00027353  0x000051dd hstoret  0x00000001 , 0x00008085 
+ 00027354  0x000051de rshift8  0x0000003f , 0x0000003f 
+ 00027355  0x000051df hstore  0x00000002 , 0x000080a0 
+ 00027356  0x000051e0 rshift16  0x0000003f , 0x0000003f 
+ 00027357  0x000051e1 hstore  0x00000002 , 0x000080a2 
+ 00027358  0x000051e2 rshift16  0x0000003f , 0x0000003f 
+ 00027359  0x000051e3 hstore  0x00000002 , 0x000080a4 
+ 00027360  0x000051e4 rshift16  0x0000003f , 0x0000003f 
+ 00027361  0x000051e5 hstore  0x00000002 , 0x000080a6 
+ 00027362  0x000051e6 branch  0x00006ab7 
+ 00027363  0x000051eb ifetch  0x00000004 , 0x00000006 
+ 00027364  0x000051ec hstore  0x00000004 , 0x00008070 
+ 00027365  0x000051ed ifetch  0x00000004 , 0x00000006 
+ 00027366  0x000051ee hstore  0x00000004 , 0x00008078 
+ 00027367  0x000051ef ifetch  0x00000004 , 0x00000006 
+ 00027368  0x000051f0 hstore  0x00000004 , 0x0000807c 
+ 00027369  0x000051f1 ifetch  0x00000001 , 0x00000006 
+ 00027370  0x000051f2 hstore  0x00000001 , 0x00008080 
+ 00027371  0x000051f3 ifetch  0x00000001 , 0x00000006 
+ 00027372  0x000051f4 hstore  0x00000001 , 0x00008081 
+ 00027373  0x000051f5 ifetch  0x00000001 , 0x00000006 
+ 00027374  0x000051f6 hstore  0x00000001 , 0x00008082 
+ 00027375  0x000051f7 branch  0x00006ab7 
+ 00027376  0x000051f9 branch  0x00006af1 
+ 00027377  0x000051fb jam  0x00000010 , 0x0000046d 
+ 00027378  0x000051fc arg  0x0000046e , 0x00000005 
+ 00027379  0x000051fd hfetch  0x00000004 , 0x00008074 
+ 00027380  0x000051fe istore  0x00000004 , 0x00000005 
+ 00027381  0x000051ff hfetch  0x00000004 , 0x0000811c 
+ 00027382  0x00005200 istore  0x00000004 , 0x00000005 
+ 00027383  0x00005201 rtn 
+ 00027384  0x00005203 ifetcht  0x00000001 , 0x00000006 
+ 00027385  0x00005204 ifetch  0x00000001 , 0x00000006 
+ 00027386  0x00005205 lshift3  0x0000003f , 0x0000003f 
+ 00027387  0x00005206 lshift4  0x0000003f , 0x0000003f 
+ 00027388  0x00005207 ior  0x00000002 , 0x00000002 
+ 00027389  0x00005208 call  0x000069f3 
+ 00027390  0x00005209 branch  0x00006ab7 
+ 00027391  0x0000520f ifetcht  0x00000001 , 0x00000006 
+ 00027392  0x00005210 hstoret  0x00000001 , 0x00008301 
+ 00027393  0x00005211 ifetch  0x00000001 , 0x00000006 
+ 00027394  0x00005212 compare  0x00000001 , 0x0000003f , 0x000000ff 
+ 00027395  0x00005213 ifetch  0x00000001 , 0x00000006 
+ 00027396  0x00005214 hstore  0x00000001 , 0x00008307 
+ 00027397  0x00005215 branch  0x00006b08 , 0x00000001 
+ 00027398  0x00005216 ifetch  0x00000001 , 0x00000006 
+ 00027399  0x00005217 hstore  0x00000001 , 0x00008307 
+ 00027400  0x00005219 ifetch  0x00000001 , 0x00000006 
+ 00027401  0x0000521a copy  0x0000003f , 0x00000039 
+ 00027402  0x0000521b increase  0xffffffff , 0x0000003f 
+ 00027403  0x0000521c or_into  0x00000090 , 0x0000003f 
+ 00027404  0x0000521d hstore  0x00000001 , 0x00008302 
+ 00027405  0x0000521e hjam  0x00000002 , 0x00008303 
+ 00027406  0x0000521f nop  0x00000001 
+ 00027407  0x00005221 arg  0x0000046d , 0x00000005 
+ 00027408  0x00005223 hfetch  0x00000001 , 0x00008307 
+ 00027409  0x00005224 istore  0x00000001 , 0x00000005 
+ 00027410  0x00005225 loop  0x00006b10 
+ 00027411  0x00005226 rtn 
+ 00027412  0x00005229 setarg  0x00000000 
+ 00027413  0x0000522a store  0x00000004 , 0x0000046d 
+ 00027414  0x0000522b istore  0x00000008 , 0x00000005 
+ 00027415  0x0000522c istore  0x00000008 , 0x00000005 
+ 00027416  0x0000522d rtn 
+ 00027417  0x00005234 copy  0x00000011 , 0x0000003f 
+ 00027418  0x00005235 increase  0x00000001 , 0x0000003f 
+ 00027419  0x00005236 store  0x00000002 , 0x00000483 
+ 00027420  0x00005237 fetch  0x00000002 , 0x00004749 
+ 00027421  0x00005238 beq  0x00000000 , 0x00006b28 
+ 00027422  0x0000523a fetch  0x00000002 , 0x00004749 
+ 00027423  0x0000523b fetcht  0x00000002 , 0x00000483 
+ 00027424  0x0000523c ifetcht  0x00000002 , 0x00000002 
+ 00027425  0x0000523d iadd  0x00000002 , 0x0000003f 
+ 00027426  0x0000523e fetcht  0x00000002 , 0x00000483 
+ 00027427  0x0000523f increase  0x00000002 , 0x00000002 
+ 00027428  0x00005240 copy  0x00000002 , 0x00000006 
+ 00027429  0x00005241 ifetcht  0x00000001 , 0x00000006 
+ 00027430  0x00005242 copy  0x00000006 , 0x00000011 
+ 00027431  0x00005243 branch  0x00006842 
+ 00027432  0x00005246 setarg  0x00000002 
+ 00027433  0x00005247 byteswap  0x0000003f , 0x0000003f 
+ 00027434  0x00005248 store  0x00000002 , 0x00000225 
+ 00027435  0x00005249 arg  0x00006823 , 0x00000013 
+ 00027436  0x0000524a arg  0x00000002 , 0x00000039 
+ 00027437  0x0000524c call  0x000066e2 
+ 00027438  0x0000524d nbranch  0x00006b36 , 0x00000005 
+ 00027439  0x0000524e fetch  0x00000002 , 0x00000225 
+ 00027440  0x0000524f byteswap  0x0000003f , 0x0000003f 
+ 00027441  0x00005250 iadd  0x00000002 , 0x0000003f 
+ 00027442  0x00005251 store  0x00000002 , 0x00004749 
+ 00027443  0x00005252 byteswap  0x0000003f , 0x0000003f 
+ 00027444  0x00005253 store  0x00000002 , 0x00000225 
+ 00027445  0x00005254 loop  0x00006b2d 
+ 00027446  0x00005256 fetch  0x00000002 , 0x00004749 
+ 00027447  0x00005257 byteswap  0x0000003f , 0x0000003f 
+ 00027448  0x00005258 store  0x00000002 , 0x00000225 
+ 00027449  0x00005259 arg  0x00006823 , 0x00000013 
+ 00027450  0x0000525a arg  0x0000ffff , 0x00000039 
+ 00027451  0x0000525c call  0x000066e2 
+ 00027452  0x0000525d nbranch  0x00006b1e , 0x00000005 
+ 00027453  0x0000525e fetch  0x00000002 , 0x00000225 
+ 00027454  0x0000525f byteswap  0x0000003f , 0x0000003f 
+ 00027455  0x00005260 iadd  0x00000002 , 0x0000003f 
+ 00027456  0x00005261 increase  0x00000002 , 0x0000003f 
+ 00027457  0x00005262 store  0x00000002 , 0x00004749 
+ 00027458  0x00005263 byteswap  0x0000003f , 0x0000003f 
+ 00027459  0x00005264 store  0x00000002 , 0x00000225 
+ 00027460  0x00005265 loop  0x00006b3b 
+ 00027461  0x00005268 fetch  0x00000002 , 0x00004749 
+ 00027462  0x00005269 increase  0x00000002 , 0x0000003f 
+ 00027463  0x0000526a byteswap  0x0000003f , 0x0000003f 
+ 00027464  0x0000526b store  0x00000002 , 0x00004749 
+ 00027465  0x0000526c arg  0x00004749 , 0x00000011 
+ 00027466  0x0000526d arg  0x00000002 , 0x00000002 
+ 00027467  0x0000526e arg  0x00000000 , 0x0000003f 
+ 00027468  0x0000526f call  0x00006842 
+ 00027469  0x00005270 setarg  0x00000000 
+ 00027470  0x00005271 store  0x00000002 , 0x00004749 
+ 00027471  0x00005272 rtn 
+ 00027472  0x00005275 rtn 
+ 00027473  0x00005277 rtn 
+ 00027474  0x00005279 rtn 
+ 00027475  0x0000527f rtn  0x0000002b 
+ 00027476  0x00005280 jam  0x00000000 , 0x00004755 
+ 00027477  0x00005281 jam  0x00000003 , 0x00000485 
+ 00027478  0x00005282 jam  0x00000003 , 0x00000486 
+ 00027479  0x00005283 jam  0x00000011 , 0x0000048a 
+ 00027480  0x00005284 jam  0x00000013 , 0x0000048b 
+ 00027481  0x00005285 setarg  0x00000000 
+ 00027482  0x00005286 store  0x00000003 , 0x00000487 
+ 00027483  0x00005287 store  0x00000001 , 0x000042bd 
+ 00027484  0x00005288 jam  0x00000000 , 0x000047f3 
+ 00027485  0x0000528b set1  0x00000025 , 0x00000000 
+ 00027486  0x0000528c bpatch  0x000000bf , 0x00004037 
+ 00027487  0x0000528d setarg  0x00000000 
+ 00027488  0x0000528e store  0x00000001 , 0x000042bd 
+ 00027489  0x0000528f store  0x00000001 , 0x00004752 
+ 00027490  0x00005290 store  0x00000001 , 0x0000474b 
+ 00027491  0x00005291 jam  0x00000050 , 0x00004757 
+ 00027492  0x00005292 rtn 
+ 00027493  0x00005295 or_into  0x00000002 , 0x00000002 
+ 00027494  0x00005296 rtn 
+ 00027495  0x000052a3 copy  0x00000002 , 0x0000003f 
+ 00027496  0x000052a4 reverse  0x0000003f , 0x0000003f 
+ 00027497  0x000052a5 store  0x00000001 , 0x00004750 
+ 00027498  0x000052a6 force  0x0000003f , 0x0000003f 
+ 00027499  0x000052a7 reverse  0x0000003f , 0x0000003f 
+ 00027500  0x000052a8 store  0x00000001 , 0x0000474f 
+ 00027501  0x000052a9 force  0x00000001 , 0x0000003f 
+ 00027502  0x000052aa reverse  0x0000003f , 0x0000003f 
+ 00027503  0x000052ab store  0x00000001 , 0x0000474e 
+ 00027504  0x000052ac call  0x00006b9d 
+ 00027505  0x000052ad copy  0x00000002 , 0x0000003f 
+ 00027506  0x000052ae rtn 
+ 00027507  0x000052b0 reverse  0x0000003f , 0x0000003f 
+ 00027508  0x000052b1 store  0x00000001 , 0x00004750 
+ 00027509  0x000052b2 force  0x00000073 , 0x0000003f 
+ 00027510  0x000052b3 reverse  0x0000003f , 0x0000003f 
+ 00027511  0x000052b4 store  0x00000001 , 0x0000474f 
+ 00027512  0x000052b5 force  0x00000001 , 0x0000003f 
+ 00027513  0x000052b6 reverse  0x0000003f , 0x0000003f 
+ 00027514  0x000052b7 store  0x00000001 , 0x0000474e 
+ 00027515  0x000052b8 branch  0x00006b9d 
+ 00027516  0x000052bb fetch  0x00000001 , 0x00004751 
+ 00027517  0x000052bc branch  0x00006b80 , 0x00000034 
+ 00027518  0x000052bd setarg  0x00000070 
+ 00027519  0x000052be rtn 
+ 00027520  0x000052c0 setarg  0x000000aa 
+ 00027521  0x000052c1 rtn 
+ 00027522  0x000052c4 reverse  0x0000003f , 0x0000003f 
+ 00027523  0x000052c5 store  0x00000001 , 0x00004750 
+ 00027524  0x000052c6 force  0x000000ef , 0x0000003f 
+ 00027525  0x000052c7 call  0x00006b91 
+ 00027526  0x000052c8 fetcht  0x00000002 , 0x0000048f 
+ 00027527  0x000052c9 copy  0x00000002 , 0x00000005 
+ 00027528  0x000052ca istore  0x00000001 , 0x00000005 
+ 00027529  0x000052cb copy  0x00000005 , 0x00000002 
+ 00027530  0x000052cc storet  0x00000002 , 0x0000048f 
+ 00027531  0x000052cd force  0x000000ff , 0x0000003f 
+ 00027532  0x000052ce call  0x00006b91 
+ 00027533  0x000052cf fetcht  0x00000002 , 0x0000048f 
+ 00027534  0x000052d0 copy  0x00000002 , 0x00000005 
+ 00027535  0x000052d1 istore  0x00000001 , 0x00000005 
+ 00027536  0x000052d2 rtn 
+ 00027537  0x000052dc reverse  0x0000003f , 0x0000003f 
+ 00027538  0x000052dd store  0x00000001 , 0x0000474f 
+ 00027539  0x000052de fetch  0x00000002 , 0x0000474f 
+ 00027540  0x000052df lshift8  0x0000003f , 0x0000003f 
+ 00027541  0x000052e0 store  0x00000003 , 0x0000048c 
+ 00027542  0x000052e1 arg  0x00000107 , 0x00000011 
+ 00027543  0x000052e2 arg  0x0000000f , 0x00000012 
+ 00027544  0x000052e3 call  0x00006baa 
+ 00027545  0x000052e4 xor_into  0x000000d7 , 0x0000003f 
+ 00027546  0x000052e5 invert  0x0000003f , 0x0000003f 
+ 00027547  0x000052e6 reverse  0x0000003f , 0x0000003f 
+ 00027548  0x000052e7 rtn 
+ 00027549  0x000052f2 fetch  0x00000003 , 0x0000474e 
+ 00027550  0x000052f3 store  0x00000003 , 0x0000048c 
+ 00027551  0x000052f4 arg  0x00000107 , 0x00000011 
+ 00027552  0x000052f5 arg  0x0000000f , 0x00000012 
+ 00027553  0x000052f6 call  0x00006baa 
+ 00027554  0x000052f7 lshift8  0x0000003f , 0x0000003f 
+ 00027555  0x000052f8 arg  0x00000007 , 0x00000012 
+ 00027556  0x000052f9 call  0x00006baa 
+ 00027557  0x000052fa xor_into  0x0000002b , 0x0000003f 
+ 00027558  0x000052fb invert  0x0000003f , 0x0000003f 
+ 00027559  0x000052fc reverse  0x0000003f , 0x0000003f 
+ 00027560  0x000052fd copy  0x0000003f , 0x00000002 
+ 00027561  0x000052fe rtn 
+ 00027562  0x00005301 arg  0x00000000 , 0x00000013 
+ 00027563  0x00005302 copy  0x00000012 , 0x00000039 
+ 00027564  0x00005303 call  0x00007dfb 
+ 00027565  0x00005304 icopy  0x00000002 
+ 00027566  0x0000530a copy  0x00000002 , 0x0000003f 
+ 00027567  0x0000530b lshift  0x00000013 , 0x00000013 
+ 00027568  0x0000530c bbit0  0x00000008 , 0x00006bb3 
+ 00027569  0x0000530d ixor  0x00000011 , 0x00000002 
+ 00027570  0x0000530e increase  0x00000001 , 0x00000013 
+ 00027571  0x00005310 lshift  0x00000002 , 0x00000002 
+ 00027572  0x00005311 fetch  0x00000003 , 0x0000048c 
+ 00027573  0x00005312 increase  0xffffffff , 0x00000012 
+ 00027574  0x00005313 compare  0x000000ff , 0x00000012 , 0x000000ff 
+ 00027575  0x00005314 branch  0x00006bbd , 0x00000001 
+ 00027576  0x00005315 copy  0x00000012 , 0x00000039 
+ 00027577  0x00005316 call  0x00007dfb 
+ 00027578  0x00005317 isolate1  0x00000000 , 0x0000003f 
+ 00027579  0x00005318 setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00027580  0x00005319 branch  0x00006bae 
+ 00027581  0x0000531c rshift  0x00000002 , 0x0000003f 
+ 00027582  0x0000531d rtn 
+ 00027583  0x00005320 fetcht  0x00000001 , 0x0000474b 
+ 00027584  0x00005323 lshift2  0x00000002 , 0x00000002 
+ 00027585  0x00005324 set1  0x00000000 , 0x00000002 
+ 00027586  0x00005325 fetch  0x00000001 , 0x00004751 
+ 00027587  0x00005326 ncall  0x00006b65 , 0x00000034 
+ 00027588  0x00005327 storet  0x00000001 , 0x000004a5 
+ 00027589  0x00005328 rtn 
+ 00027590  0x0000532c lshift2  0x00000002 , 0x00000002 
+ 00027591  0x0000532d set1  0x00000000 , 0x00000002 
+ 00027592  0x0000532e fetch  0x00000001 , 0x00004751 
+ 00027593  0x0000532f call  0x00006b65 , 0x00000034 
+ 00027594  0x00005330 rtn 
+ 00027595  0x00005333 lshift  0x00000002 , 0x00000002 
+ 00027596  0x00005334 fetch  0x00000001 , 0x00004751 
+ 00027597  0x00005335 setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00027598  0x00005337 rtn 
+ 00027599  0x00005339 fetcht  0x00000001 , 0x00000494 
+ 00027600  0x0000533a jam  0x000000d7 , 0x00000496 
+ 00027601  0x0000533b call  0x00006cf6 
+ 00027602  0x0000533c fetch  0x00000001 , 0x000042ba 
+ 00027603  0x0000533d set1  0x00000006 , 0x0000003f 
+ 00027604  0x0000533e set1  0x00000007 , 0x0000003f 
+ 00027605  0x0000533f store  0x00000001 , 0x000042ba 
+ 00027606  0x00005340 jam  0x00000000 , 0x00004751 
+ 00027607  0x00005341 branch  0x00006cd7 
+ 00027608  0x00005343 fetch  0x00000001 , 0x000042ba 
+ 00027609  0x00005344 set1  0x00000007 , 0x0000003f 
+ 00027610  0x00005345 store  0x00000001 , 0x000042ba 
+ 00027611  0x00005346 branch  0x00006cd7 
+ 00027612  0x0000534a set1  0x00000025 , 0x00000000 
+ 00027613  0x0000534b bpatch  0x000000c0 , 0x00004038 
+ 00027614  0x0000534c fetch  0x00000001 , 0x000047f3 
+ 00027615  0x0000534d beq  0x00000000 , 0x00006be1 
+ 00027616  0x0000534e branch  0x00006c8b 
+ 00027617  0x00005351 fetch  0x00000002 , 0x000002cb 
+ 00027618  0x00005352 copy  0x0000003f , 0x00000006 
+ 00027619  0x00005353 call  0x00006c0f 
+ 00027620  0x00005354 fetch  0x00000001 , 0x00000494 
+ 00027621  0x00005355 beq  0x00000000 , 0x00006be7 
+ 00027622  0x00005356 branch  0x00006c57 
+ 00027623  0x00005358 set1  0x00000025 , 0x00000000 
+ 00027624  0x00005359 bpatch  0x000000c1 , 0x00004038 
+ 00027625  0x0000535a fetch  0x00000001 , 0x00000495 
+ 00027626  0x0000535b beq  0x0000003f , 0x00006bcf 
+ 00027627  0x0000535c beq  0x00000073 , 0x00006bd8 
+ 00027628  0x0000535d beq  0x000000ef , 0x00006bef 
+ 00027629  0x0000535e rtneq  0x00000053 
+ 00027630  0x0000535f branch  0x00003bf1 
+ 00027631  0x00005363 fetch  0x00000002 , 0x00000499 
+ 00027632  0x00005364 copy  0x0000003f , 0x00000006 
+ 00027633  0x00005365 call  0x00006c1a 
+ 00027634  0x00005366 fetch  0x00000001 , 0x0000049b 
+ 00027635  0x00005367 beq  0x00000041 , 0x00006bf8 
+ 00027636  0x00005368 beq  0x00000040 , 0x00006c04 
+ 00027637  0x00005369 beq  0x00000071 , 0x00006c3f 
+ 00027638  0x0000536a beq  0x00000070 , 0x00006c4e 
+ 00027639  0x0000536b branch  0x00006cd7 
+ 00027640  0x0000536e call  0x00006c06 
+ 00027641  0x0000536f fetch  0x00000001 , 0x0000474b 
+ 00027642  0x00005370 rshift  0x0000003f , 0x0000003f 
+ 00027643  0x00005371 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027644  0x00005372 branch  0x00006bfe , 0x00000005 
+ 00027645  0x00005373 branch  0x00003bf1 
+ 00027646  0x00005375 fetch  0x00000001 , 0x000042bd 
+ 00027647  0x00005376 set1  0x00000000 , 0x0000003f 
+ 00027648  0x00005377 set1  0x00000001 , 0x0000003f 
+ 00027649  0x00005378 store  0x00000001 , 0x000042bd 
+ 00027650  0x00005379 call  0x00006d22 
+ 00027651  0x0000537a branch  0x00006cd7 
+ 00027652  0x0000537d call  0x00006c06 
+ 00027653  0x0000537e branch  0x00006cd7 
+ 00027654  0x00005381 call  0x00006c22 
+ 00027655  0x00005382 branch  0x00006c30 
+ 00027656  0x00005385 call  0x00006c22 
+ 00027657  0x00005386 ifetch  0x00000001 , 0x00000006 
+ 00027658  0x00005387 rshift3  0x0000003f , 0x0000003f 
+ 00027659  0x00005388 store  0x00000001 , 0x00004758 
+ 00027660  0x00005389 ifetch  0x00000001 , 0x00000006 
+ 00027661  0x0000538a store  0x00000001 , 0x000004a0 
+ 00027662  0x0000538b rtn 
+ 00027663  0x0000538f ifetch  0x00000001 , 0x00000006 
+ 00027664  0x00005390 store  0x00000001 , 0x00000493 
+ 00027665  0x00005391 rshift3  0x0000003f , 0x0000003f 
+ 00027666  0x00005392 store  0x00000001 , 0x00000494 
+ 00027667  0x00005393 ifetch  0x00000001 , 0x00000006 
+ 00027668  0x00005394 store  0x00000001 , 0x00000495 
+ 00027669  0x00005396 call  0x00006c27 
+ 00027670  0x00005397 storet  0x00000002 , 0x00000497 
+ 00027671  0x00005398 copy  0x00000006 , 0x0000003f 
+ 00027672  0x00005399 store  0x00000002 , 0x00000499 
+ 00027673  0x0000539a rtn 
+ 00027674  0x0000539d ifetch  0x00000001 , 0x00000006 
+ 00027675  0x0000539e rshift  0x0000003f , 0x0000003f 
+ 00027676  0x0000539f store  0x00000001 , 0x0000049b 
+ 00027677  0x000053a0 call  0x00006c27 
+ 00027678  0x000053a1 storet  0x00000002 , 0x0000049c 
+ 00027679  0x000053a2 copy  0x00000006 , 0x0000003f 
+ 00027680  0x000053a3 store  0x00000002 , 0x0000049e 
+ 00027681  0x000053a4 rtn 
+ 00027682  0x000053a8 fetch  0x00000002 , 0x0000049e 
+ 00027683  0x000053a9 copy  0x0000003f , 0x00000006 
+ 00027684  0x000053aa rtn 
+ 00027685  0x000053ad fetch  0x00000002 , 0x0000049e 
+ 00027686  0x000053ae copy  0x0000003f , 0x00000006 
+ 00027687  0x000053b0 ifetch  0x00000001 , 0x00000006 
+ 00027688  0x000053b1 copy  0x0000003f , 0x00000002 
+ 00027689  0x000053b2 rshift  0x00000002 , 0x00000002 
+ 00027690  0x000053b3 rtnbit1  0x00000000 
+ 00027691  0x000053b4 ifetch  0x00000001 , 0x00000006 
+ 00027692  0x000053b5 lshift3  0x0000003f , 0x0000003f 
+ 00027693  0x000053b6 lshift4  0x0000003f , 0x0000003f 
+ 00027694  0x000053b7 iadd  0x00000002 , 0x00000002 
+ 00027695  0x000053b8 rtn 
+ 00027696  0x000053bb ifetch  0x00000001 , 0x00000006 
+ 00027697  0x000053bc store  0x00000001 , 0x0000474b 
+ 00027698  0x000053bd ifetch  0x00000001 , 0x00000006 
+ 00027699  0x000053be store  0x00000001 , 0x000004a1 
+ 00027700  0x000053bf ifetch  0x00000001 , 0x00000006 
+ 00027701  0x000053c0 store  0x00000001 , 0x000004a2 
+ 00027702  0x000053c1 ifetch  0x00000001 , 0x00000006 
+ 00027703  0x000053c2 store  0x00000001 , 0x000004a3 
+ 00027704  0x000053c3 ifetch  0x00000002 , 0x00000006 
+ 00027705  0x000053c4 store  0x00000002 , 0x0000474c 
+ 00027706  0x000053c5 ifetch  0x00000001 , 0x00000006 
+ 00027707  0x000053c6 store  0x00000001 , 0x000004a4 
+ 00027708  0x000053c7 ifetch  0x00000001 , 0x00000006 
+ 00027709  0x000053c8 store  0x00000001 , 0x00004756 
+ 00027710  0x000053c9 rtn 
+ 00027711  0x000053cd call  0x00006c08 
+ 00027712  0x000053ce fetch  0x00000001 , 0x00004758 
+ 00027713  0x000053cf sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027714  0x000053d0 branch  0x00006c44 , 0x00000005 
+ 00027715  0x000053d1 branch  0x00003bf1 
+ 00027716  0x000053d3 fetch  0x00000001 , 0x000042bd 
+ 00027717  0x000053d4 set1  0x00000005 , 0x0000003f 
+ 00027718  0x000053d5 set1  0x00000006 , 0x0000003f 
+ 00027719  0x000053d6 store  0x00000001 , 0x000042bd 
+ 00027720  0x000053d7 fetcht  0x00000001 , 0x0000474b 
+ 00027721  0x000053d8 lshift2  0x00000002 , 0x00000002 
+ 00027722  0x000053d9 or_into  0x00000003 , 0x00000002 
+ 00027723  0x000053da call  0x00006d55 
+ 00027724  0x000053db jam  0x00000003 , 0x00004755 
+ 00027725  0x000053dc branch  0x00006cd7 
+ 00027726  0x000053df call  0x00006c08 
+ 00027727  0x000053e0 fetch  0x00000001 , 0x00004758 
+ 00027728  0x000053e1 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027729  0x000053e2 branch  0x00006c53 , 0x00000005 
+ 00027730  0x000053e3 branch  0x00003bf1 
+ 00027731  0x000053e5 fetch  0x00000001 , 0x000042bd 
+ 00027732  0x000053e6 set1  0x00000007 , 0x0000003f 
+ 00027733  0x000053e7 store  0x00000001 , 0x000042bd 
+ 00027734  0x000053e8 branch  0x00006cd7 
+ 00027735  0x000053eb fetch  0x00000001 , 0x00000494 
+ 00027736  0x000053ec sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027737  0x000053ed branch  0x00006c5b , 0x00000005 
+ 00027738  0x000053ee branch  0x00003bf1 
+ 00027739  0x000053f0 fetch  0x00000001 , 0x00000495 
+ 00027740  0x000053f1 beq  0x00000073 , 0x00006c62 
+ 00027741  0x000053f2 beq  0x0000003f , 0x00006c66 
+ 00027742  0x000053f3 beq  0x000000ef , 0x00006c80 
+ 00027743  0x000053f4 beq  0x000000ff , 0x00006c78 
+ 00027744  0x000053f5 beq  0x00000053 , 0x00006c85 
+ 00027745  0x000053f6 branch  0x00003bf1 
+ 00027746  0x000053f8 fetch  0x00000001 , 0x000042bd 
+ 00027747  0x000053f9 set1  0x00000003 , 0x0000003f 
+ 00027748  0x000053fa store  0x00000001 , 0x000042bd 
+ 00027749  0x000053fb branch  0x00006cd7 
+ 00027750  0x000053fd fetch  0x00000001 , 0x000042bd 
+ 00027751  0x000053fe set1  0x00000003 , 0x0000003f 
+ 00027752  0x000053ff set1  0x00000002 , 0x0000003f 
+ 00027753  0x00005400 store  0x00000001 , 0x000042bd 
+ 00027754  0x00005401 fetch  0x00000001 , 0x00000493 
+ 00027755  0x00005402 call  0x00006b73 
+ 00027756  0x00005403 store  0x00000001 , 0x00000496 
+ 00027757  0x00005404 call  0x00006cf6 
+ 00027758  0x00005405 fetch  0x00000001 , 0x00000493 
+ 00027759  0x00005406 rshift2  0x0000003f , 0x0000003f 
+ 00027760  0x00005407 store  0x00000001 , 0x0000474b 
+ 00027761  0x00005408 lshift2  0x0000003f , 0x0000003f 
+ 00027762  0x00005409 set0  0x00000001 , 0x0000003f 
+ 00027763  0x0000540a set1  0x00000000 , 0x0000003f 
+ 00027764  0x0000540b arg  0x00004753 , 0x00000002 
+ 00027765  0x0000540c storet  0x00000002 , 0x0000048f 
+ 00027766  0x0000540d call  0x00006b82 
+ 00027767  0x0000540e branch  0x00006cd7 
+ 00027768  0x00005411 fetch  0x00000002 , 0x00000499 
+ 00027769  0x00005412 copy  0x0000003f , 0x00000006 
+ 00027770  0x00005413 increase  0x00000001 , 0x0000003f 
+ 00027771  0x00005414 store  0x00000002 , 0x00000499 
+ 00027772  0x00005415 ifetch  0x00000001 , 0x00000006 
+ 00027773  0x00005416 fetcht  0x00000001 , 0x00004756 
+ 00027774  0x00005417 iadd  0x00000002 , 0x0000003f 
+ 00027775  0x00005418 store  0x00000001 , 0x00004756 
+ 00027776  0x0000541a call  0x00006d88 
+ 00027777  0x0000541c call  0x00006bbf 
+ 00027778  0x0000541d call  0x00006d6d 
+ 00027779  0x0000541e call  0x00006d8e 
+ 00027780  0x0000541f branch  0x00006cd7 
+ 00027781  0x00005422 call  0x00006b5d 
+ 00027782  0x00005423 fetch  0x00000001 , 0x00000493 
+ 00027783  0x00005424 call  0x00006b73 
+ 00027784  0x00005425 store  0x00000001 , 0x00000496 
+ 00027785  0x00005426 call  0x00006cf6 
+ 00027786  0x00005427 branch  0x00006cd7 
+ 00027787  0x0000542d fetch  0x00000002 , 0x000002cb 
+ 00027788  0x0000542e copy  0x0000003f , 0x00000006 
+ 00027789  0x0000542f call  0x00006c0f 
+ 00027790  0x00005430 fetch  0x00000001 , 0x00000494 
+ 00027791  0x00005431 beq  0x00000000 , 0x00006c91 
+ 00027792  0x00005432 branch  0x00006cc6 
+ 00027793  0x00005435 set1  0x00000025 , 0x00000000 
+ 00027794  0x00005436 bpatch  0x000000c2 , 0x00004038 
+ 00027795  0x00005437 fetch  0x00000001 , 0x00000495 
+ 00027796  0x00005438 beq  0x0000003f , 0x00006bcf 
+ 00027797  0x00005439 beq  0x00000073 , 0x00006bd8 
+ 00027798  0x0000543a beq  0x000000ef , 0x00006c98 
+ 00027799  0x0000543b branch  0x00006cd7 
+ 00027800  0x0000543d fetch  0x00000002 , 0x00000499 
+ 00027801  0x0000543e copy  0x0000003f , 0x00000006 
+ 00027802  0x0000543f call  0x00006c1a 
+ 00027803  0x00005440 fetch  0x00000001 , 0x0000049b 
+ 00027804  0x00005441 beq  0x00000041 , 0x00006ca1 
+ 00027805  0x00005442 beq  0x00000040 , 0x00006ca1 
+ 00027806  0x00005443 beq  0x00000071 , 0x00006cac 
+ 00027807  0x00005444 beq  0x00000070 , 0x00006cbc 
+ 00027808  0x00005445 branch  0x00006cd7 
+ 00027809  0x00005448 call  0x00006c06 
+ 00027810  0x00005449 fetch  0x00000001 , 0x0000474b 
+ 00027811  0x0000544a rshift  0x0000003f , 0x0000003f 
+ 00027812  0x0000544b fetcht  0x00000001 , 0x00004752 
+ 00027813  0x0000544c isub  0x00000002 , 0x0000003e 
+ 00027814  0x0000544d branch  0x00006ca8 , 0x00000005 
+ 00027815  0x0000544e branch  0x00003bf1 
+ 00027816  0x00005450 fetch  0x00000001 , 0x000042bd 
+ 00027817  0x00005451 set1  0x00000001 , 0x0000003f 
+ 00027818  0x00005452 store  0x00000001 , 0x000042bd 
+ 00027819  0x00005453 branch  0x00006cd7 
+ 00027820  0x00005456 call  0x00006c08 
+ 00027821  0x00005457 fetch  0x00000001 , 0x00004758 
+ 00027822  0x00005458 fetcht  0x00000001 , 0x00004752 
+ 00027823  0x00005459 isub  0x00000002 , 0x0000003e 
+ 00027824  0x0000545a branch  0x00006cb3 , 0x00000005 
+ 00027825  0x0000545b branch  0x00003bf1 
+ 00027826  0x0000545c branch  0x00006cd7 
+ 00027827  0x0000545e fetch  0x00000001 , 0x000042bd 
+ 00027828  0x0000545f set1  0x00000005 , 0x0000003f 
+ 00027829  0x00005460 set1  0x00000006 , 0x0000003f 
+ 00027830  0x00005461 store  0x00000001 , 0x000042bd 
+ 00027831  0x00005462 fetcht  0x00000001 , 0x0000474b 
+ 00027832  0x00005463 lshift2  0x00000002 , 0x00000002 
+ 00027833  0x00005464 or_into  0x00000003 , 0x00000002 
+ 00027834  0x00005465 call  0x00006d55 
+ 00027835  0x00005466 branch  0x00006cd7 
+ 00027836  0x00005469 call  0x00006c08 
+ 00027837  0x0000546a fetch  0x00000001 , 0x00004758 
+ 00027838  0x0000546b fetcht  0x00000001 , 0x00004752 
+ 00027839  0x0000546c isub  0x00000002 , 0x0000003e 
+ 00027840  0x0000546d branch  0x00006cc2 , 0x00000005 
+ 00027841  0x0000546e branch  0x00003bf1 
+ 00027842  0x00005470 fetch  0x00000001 , 0x000042bd 
+ 00027843  0x00005471 set1  0x00000007 , 0x0000003f 
+ 00027844  0x00005472 store  0x00000001 , 0x000042bd 
+ 00027845  0x00005473 branch  0x00006cd7 
+ 00027846  0x00005476 fetch  0x00000001 , 0x00000494 
+ 00027847  0x00005477 fetcht  0x00000001 , 0x00004752 
+ 00027848  0x00005478 isub  0x00000002 , 0x0000003e 
+ 00027849  0x00005479 branch  0x00006ccc , 0x00000005 
+ 00027850  0x0000547a branch  0x00003bf1 
+ 00027851  0x0000547b branch  0x00006cd7 
+ 00027852  0x0000547e fetch  0x00000001 , 0x00000495 
+ 00027853  0x0000547f beq  0x00000073 , 0x00006cd1 
+ 00027854  0x00005480 beq  0x000000ef , 0x00006c80 
+ 00027855  0x00005481 beq  0x000000ff , 0x00006c78 
+ 00027856  0x00005482 beq  0x00000053 , 0x00006cd6 
+ 00027857  0x00005484 fetch  0x00000001 , 0x000042bd 
+ 00027858  0x00005485 set1  0x00000003 , 0x0000003f 
+ 00027859  0x00005486 store  0x00000001 , 0x000042bd 
+ 00027860  0x00005487 branch  0x00006cd7 
+ 00027861  0x00005489 branch  0x00006cd5 
+ 00027862  0x0000548b branch  0x00006c85 
+ 00027863  0x0000548d rtn 
+ 00027864  0x00005490 fetch  0x00000001 , 0x00004755 
+ 00027865  0x00005491 rtn  0x00000034 
+ 00027866  0x00005492 beq  0x00000003 , 0x00006cdc 
+ 00027867  0x00005493 branch  0x00003bf1 
+ 00027868  0x00005496 jam  0x00000000 , 0x00004755 
+ 00027869  0x00005497 call  0x000052e0 
+ 00027870  0x00005498 arg  0x00000001 , 0x00000002 
+ 00027871  0x00005499 lshift3  0x00000002 , 0x00000002 
+ 00027872  0x0000549b or_into  0x00000003 , 0x00000002 
+ 00027873  0x0000549c arg  0x000000aa , 0x00000011 
+ 00027874  0x0000549d call  0x00006d3f 
+ 00027875  0x0000549e call  0x000052ef 
+ 00027876  0x0000549f copy  0x00000005 , 0x00000006 
+ 00027877  0x000054a0 ifetch  0x00000002 , 0x00000006 
+ 00027878  0x000054a1 branch  0x00003bf1 , 0x00000034 
+ 00027879  0x000054a2 rtn 
+ 00027880  0x000054a5 set1  0x00000025 , 0x00000000 
+ 00027881  0x000054a6 bpatch  0x000000c3 , 0x00004038 
+ 00027882  0x000054a7 call  0x000052ef 
+ 00027883  0x000054a8 setarg  0x00000004 
+ 00027884  0x000054a9 istore  0x00000002 , 0x00000005 
+ 00027885  0x000054aa fetch  0x00000002 , 0x000042b3 
+ 00027886  0x000054ab istore  0x00000002 , 0x00000005 
+ 00027887  0x000054ac fetch  0x00000001 , 0x00000493 
+ 00027888  0x000054ad istore  0x00000001 , 0x00000005 
+ 00027889  0x000054ae setarg  0x0000013f 
+ 00027890  0x000054af istore  0x00000002 , 0x00000005 
+ 00027891  0x000054b0 fetch  0x00000001 , 0x00000496 
+ 00027892  0x000054b1 istore  0x00000001 , 0x00000005 
+ 00027893  0x000054b2 rtn 
+ 00027894  0x000054b4 set1  0x00000025 , 0x00000000 
+ 00027895  0x000054b5 bpatch  0x000000c4 , 0x00004038 
+ 00027896  0x000054b6 call  0x000052e0 
+ 00027897  0x000054b7 call  0x000052ef 
+ 00027898  0x000054b8 setarg  0x00000004 
+ 00027899  0x000054b9 istore  0x00000002 , 0x00000005 
+ 00027900  0x000054ba fetch  0x00000002 , 0x000042b3 
+ 00027901  0x000054bb istore  0x00000002 , 0x00000005 
+ 00027902  0x000054bc fetch  0x00000001 , 0x00000493 
+ 00027903  0x000054bd istore  0x00000001 , 0x00000005 
+ 00027904  0x000054be setarg  0x00000173 
+ 00027905  0x000054bf istore  0x00000002 , 0x00000005 
+ 00027906  0x000054c0 fetch  0x00000001 , 0x00000496 
+ 00027907  0x000054c1 istore  0x00000001 , 0x00000005 
+ 00027908  0x000054c2 rtn 
+ 00027909  0x000054c4 set1  0x00000025 , 0x00000000 
+ 00027910  0x000054c5 bpatch  0x000000c5 , 0x00004038 
+ 00027911  0x000054c6 call  0x000052ef 
+ 00027912  0x000054c7 setarg  0x0000000e 
+ 00027913  0x000054c8 istore  0x00000002 , 0x00000005 
+ 00027914  0x000054c9 fetch  0x00000002 , 0x000042b3 
+ 00027915  0x000054ca istore  0x00000002 , 0x00000005 
+ 00027916  0x000054cb fetch  0x00000001 , 0x00004751 
+ 00027917  0x000054cc lshift  0x0000003f , 0x0000003f 
+ 00027918  0x000054cd set1  0x00000000 , 0x0000003f 
+ 00027919  0x000054ce istore  0x00000001 , 0x00000005 
+ 00027920  0x000054cf setarg  0x000015ef 
+ 00027921  0x000054d0 istore  0x00000002 , 0x00000005 
+ 00027922  0x000054d1 setarg  0x00001183 
+ 00027923  0x000054d2 istore  0x00000002 , 0x00000005 
+ 00027924  0x000054d3 copy  0x00000002 , 0x0000003f 
+ 00027925  0x000054d4 istore  0x00000001 , 0x00000005 
+ 00027926  0x000054d5 setarg  0x000000f0 
+ 00027927  0x000054d6 istore  0x00000003 , 0x00000005 
+ 00027928  0x000054d7 setarg  0x0000007f 
+ 00027929  0x000054d8 istore  0x00000002 , 0x00000005 
+ 00027930  0x000054d9 setarg  0x00000000 
+ 00027931  0x000054da istore  0x00000001 , 0x00000005 
+ 00027932  0x000054db setarg  0x00000001 
+ 00027933  0x000054dc istore  0x00000001 , 0x00000005 
+ 00027934  0x000054dd call  0x00006b7c 
+ 00027935  0x000054de istore  0x00000001 , 0x00000005 
+ 00027936  0x000054df jam  0x00000010 , 0x00004757 
+ 00027937  0x000054e0 rtn 
+ 00027938  0x000054e2 set1  0x00000025 , 0x00000000 
+ 00027939  0x000054e3 bpatch  0x000000c6 , 0x00004038 
+ 00027940  0x000054e4 call  0x000052e0 
+ 00027941  0x000054e5 call  0x000052ef 
+ 00027942  0x000054e6 setarg  0x0000000e 
+ 00027943  0x000054e7 istore  0x00000002 , 0x00000005 
+ 00027944  0x000054e8 fetch  0x00000002 , 0x000042b3 
+ 00027945  0x000054e9 istore  0x00000002 , 0x00000005 
+ 00027946  0x000054ea fetch  0x00000001 , 0x00004751 
+ 00027947  0x000054eb lshift  0x0000003f , 0x0000003f 
+ 00027948  0x000054ec set1  0x00000000 , 0x0000003f 
+ 00027949  0x000054ed istore  0x00000001 , 0x00000005 
+ 00027950  0x000054ee setarg  0x000015ef 
+ 00027951  0x000054ef istore  0x00000002 , 0x00000005 
+ 00027952  0x000054f0 setarg  0x00001181 
+ 00027953  0x000054f1 istore  0x00000002 , 0x00000005 
+ 00027954  0x000054f2 fetch  0x00000001 , 0x0000474b 
+ 00027955  0x000054f3 istore  0x00000001 , 0x00000005 
+ 00027956  0x000054f4 setarg  0x000000e0 
+ 00027957  0x000054f5 istore  0x00000003 , 0x00000005 
+ 00027958  0x000054f6 setarg  0x0000007f 
+ 00027959  0x000054f7 istore  0x00000002 , 0x00000005 
+ 00027960  0x000054f8 setarg  0x00000000 
+ 00027961  0x000054f9 istore  0x00000001 , 0x00000005 
+ 00027962  0x000054fa setarg  0x00000007 
+ 00027963  0x000054fb istore  0x00000001 , 0x00000005 
+ 00027964  0x000054fc call  0x00006b7c 
+ 00027965  0x000054fd istore  0x00000001 , 0x00000005 
+ 00027966  0x000054fe rtn 
+ 00027967  0x00005500 set1  0x00000025 , 0x00000000 
+ 00027968  0x00005501 bpatch  0x000000c7 , 0x00004038 
+ 00027969  0x00005502 call  0x000052ef 
+ 00027970  0x00005503 setarg  0x00000008 
+ 00027971  0x00005504 istore  0x00000002 , 0x00000005 
+ 00027972  0x00005505 fetch  0x00000002 , 0x000042b3 
+ 00027973  0x00005506 istore  0x00000002 , 0x00000005 
+ 00027974  0x00005507 fetch  0x00000001 , 0x00004751 
+ 00027975  0x00005508 lshift  0x0000003f , 0x0000003f 
+ 00027976  0x00005509 set1  0x00000000 , 0x0000003f 
+ 00027977  0x0000550a istore  0x00000001 , 0x00000005 
+ 00027978  0x0000550b setarg  0x000009ef 
+ 00027979  0x0000550c istore  0x00000002 , 0x00000005 
+ 00027980  0x0000550d setarg  0x000005e3 
+ 00027981  0x0000550e istore  0x00000002 , 0x00000005 
+ 00027982  0x0000550f copy  0x00000002 , 0x0000003f 
+ 00027983  0x00005510 istore  0x00000001 , 0x00000005 
+ 00027984  0x00005511 setarg  0x0000008d 
+ 00027985  0x00005512 istore  0x00000001 , 0x00000005 
+ 00027986  0x00005513 call  0x00006b7c 
+ 00027987  0x00005514 istore  0x00000001 , 0x00000005 
+ 00027988  0x00005515 rtn 
+ 00027989  0x00005518 set1  0x00000025 , 0x00000000 
+ 00027990  0x00005519 bpatch  0x000000c8 , 0x00004039 
+ 00027991  0x0000551a call  0x000052e0 
+ 00027992  0x0000551b call  0x000052ef 
+ 00027993  0x0000551c setarg  0x00000008 
+ 00027994  0x0000551d istore  0x00000002 , 0x00000005 
+ 00027995  0x0000551e fetch  0x00000002 , 0x000042b3 
+ 00027996  0x0000551f istore  0x00000002 , 0x00000005 
+ 00027997  0x00005520 copy  0x00000002 , 0x0000000b 
+ 00027998  0x00005521 fetch  0x00000001 , 0x00004751 
+ 00027999  0x00005522 lshift  0x0000003f , 0x0000003f 
+ 00028000  0x00005523 set1  0x00000000 , 0x0000003f 
+ 00028001  0x00005524 istore  0x00000001 , 0x00000005 
+ 00028002  0x00005525 setarg  0x000009ef 
+ 00028003  0x00005526 istore  0x00000002 , 0x00000005 
+ 00028004  0x00005527 setarg  0x000005e1 
+ 00028005  0x00005528 istore  0x00000002 , 0x00000005 
+ 00028006  0x00005529 copy  0x0000000b , 0x0000003f 
+ 00028007  0x0000552a istore  0x00000001 , 0x00000005 
+ 00028008  0x0000552b setarg  0x0000008d 
+ 00028009  0x0000552c istore  0x00000001 , 0x00000005 
+ 00028010  0x0000552d call  0x00006b7c 
+ 00028011  0x0000552e istore  0x00000001 , 0x00000005 
+ 00028012  0x0000552f rtn 
+ 00028013  0x00005532 set1  0x00000025 , 0x00000000 
+ 00028014  0x00005533 bpatch  0x000000c9 , 0x00004039 
+ 00028015  0x00005534 fetch  0x00000001 , 0x00004757 
+ 00028016  0x00005535 rtn  0x00000034 
+ 00028017  0x00005536 hfetch  0x00000002 , 0x00008112 
+ 00028018  0x00005537 nrtn  0x00000034 
+ 00028019  0x00005538 copy  0x00000011 , 0x0000003f 
+ 00028020  0x00005539 store  0x00000001 , 0x00000162 
+ 00028021  0x0000553a storet  0x00000001 , 0x00000161 
+ 00028022  0x0000553b call  0x0000527a 
+ 00028023  0x0000553c nrtn  0x00000034 
+ 00028024  0x0000553d call  0x000052e0 
+ 00028025  0x0000553e call  0x000052ef 
+ 00028026  0x0000553f setarg  0x00000005 
+ 00028027  0x00005540 istore  0x00000002 , 0x00000005 
+ 00028028  0x00005541 fetch  0x00000002 , 0x000042b3 
+ 00028029  0x00005542 istore  0x00000002 , 0x00000005 
+ 00028030  0x00005543 fetch  0x00000001 , 0x000004a5 
+ 00028031  0x00005544 istore  0x00000001 , 0x00000005 
+ 00028032  0x00005545 setarg  0x000001ff 
+ 00028033  0x00005546 istore  0x00000002 , 0x00000005 
+ 00028034  0x00005547 fetch  0x00000001 , 0x00004757 
+ 00028035  0x00005548 istore  0x00000001 , 0x00000005 
+ 00028036  0x00005549 fetch  0x00000001 , 0x00004754 
+ 00028037  0x0000554a istore  0x00000001 , 0x00000005 
+ 00028038  0x0000554b jam  0x00000000 , 0x00004757 
+ 00028039  0x0000554c rtn 
+ 00028040  0x0000554f fetch  0x00000002 , 0x00000497 
+ 00028041  0x00005550 rtn  0x00000034 
+ 00028042  0x00005551 fetch  0x00000001 , 0x00004757 
+ 00028043  0x00005552 increase  0x00000001 , 0x0000003f 
+ 00028044  0x00005553 store  0x00000001 , 0x00004757 
+ 00028045  0x00005554 rtn 
+ 00028046  0x00005557 set1  0x00000025 , 0x00000000 
+ 00028047  0x00005558 bpatch  0x000000ca , 0x00004039 
+ 00028048  0x00005559 fetch  0x00000002 , 0x00000497 
+ 00028049  0x0000555a copy  0x0000003f , 0x00000039 
+ 00028050  0x0000555b call  0x000068f7 
+ 00028051  0x0000555c fetch  0x00000002 , 0x00000499 
+ 00028052  0x0000555d copy  0x0000003f , 0x00000006 
+ 00028053  0x0000555e call  0x00004976 
+ 00028054  0x0000555f branch  0x000068fa 
+ 00028055  0x00005562 set1  0x00000025 , 0x00000000 
+ 00028056  0x00005563 bpatch  0x000000cb , 0x00004039 
+ 00028057  0x00005565 fetch  0x00000001 , 0x00004756 
+ 00028058  0x00005566 rtn  0x00000034 
+ 00028059  0x00005567 increase  0xffffffff , 0x0000003f 
+ 00028060  0x00005568 store  0x00000001 , 0x00004756 
+ 00028061  0x00005569 fetch  0x00000002 , 0x0000474c 
+ 00028062  0x0000556a fetcht  0x00000002 , 0x0000480e 
+ 00028063  0x0000556b isub  0x00000002 , 0x0000003e 
+ 00028064  0x0000556c branch  0x00006da2 , 0x00000002 
+ 00028065  0x0000556d store  0x00000002 , 0x0000480e 
+ 00028066  0x0000556f fetch  0x00000001 , 0x00004757 
+ 00028067  0x00005570 branch  0x00006daa , 0x00000034 
+ 00028068  0x00005571 jam  0x00000001 , 0x000004a8 
+ 00028069  0x00005572 fetch  0x00000001 , 0x00004754 
+ 00028070  0x00005573 store  0x00000001 , 0x000004a7 
+ 00028071  0x00005574 setarg  0x000000ff 
+ 00028072  0x00005575 store  0x00000001 , 0x000004a6 
+ 00028073  0x00005576 branch  0x00006daf 
+ 00028074  0x00005578 jam  0x00000000 , 0x000004a8 
+ 00028075  0x00005579 fetch  0x00000001 , 0x00004753 
+ 00028076  0x0000557a store  0x00000001 , 0x000004a7 
+ 00028077  0x0000557b setarg  0x000000ef 
+ 00028078  0x0000557c store  0x00000001 , 0x000004a6 
+ 00028079  0x0000557e set1  0x00000025 , 0x00000000 
+ 00028080  0x0000557f bpatch  0x000000cc , 0x00004039 
+ 00028081  0x00005580 fetch  0x00000001 , 0x0000480e 
+ 00028082  0x00005581 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00028083  0x00005582 branch  0x00006db7 , 0x00000002 
+ 00028084  0x00005583 fetch  0x00000001 , 0x000004a8 
+ 00028085  0x00005584 increase  0x00000001 , 0x0000003f 
+ 00028086  0x00005585 store  0x00000001 , 0x000004a8 
+ 00028087  0x00005587 call  0x00006bbf 
+ 00028088  0x00005588 fetch  0x00000002 , 0x0000480e 
+ 00028089  0x00005589 increase  0x00000008 , 0x0000003f 
+ 00028090  0x0000558a fetcht  0x00000001 , 0x000004a8 
+ 00028091  0x0000558b iadd  0x00000002 , 0x00000011 
+ 00028092  0x0000558d call  0x00005248 
+ 00028093  0x0000558e store  0x00000002 , 0x000002de 
+ 00028094  0x0000558f increase  0x00000004 , 0x0000003f 
+ 00028095  0x00005590 store  0x00000002 , 0x000002e0 
+ 00028096  0x00005591 copy  0x0000003f , 0x00000005 
+ 00028097  0x00005592 fetch  0x00000001 , 0x000004a5 
+ 00028098  0x00005593 istore  0x00000001 , 0x00000005 
+ 00028099  0x00005594 fetch  0x00000001 , 0x000004a6 
+ 00028100  0x00005595 istore  0x00000001 , 0x00000005 
+ 00028101  0x00005596 call  0x00006dd8 
+ 00028102  0x00005597 call  0x00006de8 
+ 00028103  0x00005598 call  0x00007f6b 
+ 00028104  0x00005599 fetch  0x00000001 , 0x0000480e 
+ 00028105  0x0000559a copy  0x0000003f , 0x00000039 
+ 00028106  0x0000559b call  0x0000497c 
+ 00028107  0x0000559c fetch  0x00000001 , 0x000004a7 
+ 00028108  0x0000559d istore  0x00000001 , 0x00000005 
+ 00028109  0x0000559e fetch  0x00000002 , 0x000002de 
+ 00028110  0x0000559f copy  0x0000003f , 0x00000005 
+ 00028111  0x000055a0 fetch  0x00000002 , 0x0000480e 
+ 00028112  0x000055a1 fetcht  0x00000001 , 0x000004a8 
+ 00028113  0x000055a2 iadd  0x00000002 , 0x0000003f 
+ 00028114  0x000055a3 increase  0x00000004 , 0x0000003f 
+ 00028115  0x000055a4 istore  0x00000002 , 0x00000005 
+ 00028116  0x000055a5 fetch  0x00000002 , 0x000042b3 
+ 00028117  0x000055a6 istore  0x00000002 , 0x00000005 
+ 00028118  0x000055a7 jam  0x00000000 , 0x00004757 
+ 00028119  0x000055a8 branch  0x0000428c 
+ 00028120  0x000055ab fetch  0x00000002 , 0x0000480e 
+ 00028121  0x000055ac sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00028122  0x000055ad nbranch  0x00006ddf , 0x00000002 
+ 00028123  0x000055ae lshift  0x0000003f , 0x0000003f 
+ 00028124  0x000055af set1  0x00000000 , 0x0000003f 
+ 00028125  0x000055b0 istore  0x00000001 , 0x00000005 
+ 00028126  0x000055b1 rtn 
+ 00028127  0x000055b3 fetch  0x00000002 , 0x0000480e 
+ 00028128  0x000055b4 rshift3  0x0000003f , 0x0000003f 
+ 00028129  0x000055b5 rshift4  0x0000003f , 0x00000002 
+ 00028130  0x000055b6 and_into  0x0000007f , 0x0000003f 
+ 00028131  0x000055b7 lshift  0x0000003f , 0x0000003f 
+ 00028132  0x000055b8 set0  0x00000000 , 0x0000003f 
+ 00028133  0x000055b9 istore  0x00000001 , 0x00000005 
+ 00028134  0x000055ba istoret  0x00000001 , 0x00000005 
+ 00028135  0x000055bb rtn 
+ 00028136  0x000055bd fetch  0x00000001 , 0x00004757 
+ 00028137  0x000055be rtn  0x00000034 
+ 00028138  0x000055bf istore  0x00000001 , 0x00000005 
+ 00028139  0x000055c0 rtn 
+ 00028140  0x000055c6 set1  0x00000025 , 0x00000000 
+ 00028141  0x000055c7 bpatch  0x0000009d , 0x00004033 
+ 00028142  0x000055c8 call  0x00007c45 
+ 00028143  0x000055c9 call  0x00003e73 
+ 00028144  0x000055ca call  0x00006235 
+ 00028145  0x000055cc set1  0x00000025 , 0x00000000 
+ 00028146  0x000055cd bpatch  0x0000009e , 0x00004033 
+ 00028147  0x000055ce call  0x00007813 
+ 00028148  0x000055cf call  0x000077ee 
+ 00028149  0x000055d0 call  0x000077fe 
+ 00028150  0x000055d2 set1  0x00000025 , 0x00000000 
+ 00028151  0x000055d3 bpatch  0x0000009f , 0x00004033 
+ 00028152  0x000055d4 fetch  0x00000001 , 0x00004132 
+ 00028153  0x000055d5 rtneq  0x00000001 
+ 00028154  0x000055d7 call  0x0000527a 
+ 00028155  0x000055d8 nrtn  0x00000034 
+ 00028156  0x000055da call  0x00004dcd 
+ 00028157  0x000055dc call  0x0000527a 
+ 00028158  0x000055dd nrtn  0x00000034 
+ 00028159  0x000055de set1  0x00000025 , 0x00000000 
+ 00028160  0x000055df bpatch  0x000000a0 , 0x00004034 
+ 00028161  0x000055e1 call  0x00006e47 
+ 00028162  0x000055e2 call  0x00004f6e 
+ 00028163  0x000055e3 call  0x00006cd8 
+ 00028164  0x000055e5 call  0x00006e0a 
+ 00028165  0x000055e6 set1  0x00000025 , 0x00000000 
+ 00028166  0x000055e7 bpatch  0x000000a1 , 0x00004034 
+ 00028167  0x000055e8 call  0x0000527a 
+ 00028168  0x000055e9 nrtn  0x00000034 
+ 00028169  0x000055ea branch  0x00003e6f 
+ 00028170  0x000055ed set1  0x00000025 , 0x00000000 
+ 00028171  0x000055ee bpatch  0x000000a2 , 0x00004034 
+ 00028172  0x000055ef fetch  0x00000001 , 0x000002e6 
+ 00028173  0x000055f0 bbit1  0x00000000 , 0x0000508f 
+ 00028174  0x000055f1 bbit1  0x00000007 , 0x00005099 
+ 00028175  0x000055f2 rtn 
+ 00028176  0x000055f5 set1  0x00000025 , 0x00000000 
+ 00028177  0x000055f6 bpatch  0x000000a3 , 0x00004034 
+ 00028178  0x000055f7 call  0x0000527e 
+ 00028179  0x000055f8 rtn  0x00000034 
+ 00028180  0x000055f9 fetch  0x00000001 , 0x0000004b 
+ 00028181  0x000055fa rtnbit1  0x00000006 
+ 00028182  0x000055fb call  0x00005261 
+ 00028183  0x000055fc store  0x00000002 , 0x00000179 
+ 00028184  0x000055fd copy  0x0000003f , 0x00000006 
+ 00028185  0x000055fe ifetch  0x00000002 , 0x00000006 
+ 00028186  0x000055ff increase  0x00000004 , 0x0000003f 
+ 00028187  0x00005600 store  0x00000002 , 0x00000091 
+ 00028188  0x00005601 jam  0x00000006 , 0x00000090 
+ 00028189  0x00005602 set1  0x00000025 , 0x00000000 
+ 00028190  0x00005603 bpatch  0x000000a4 , 0x00004034 
+ 00028191  0x00005604 fetch  0x00000002 , 0x000042af 
+ 00028192  0x00005605 branch  0x00006e2d , 0x00000034 
+ 00028193  0x00005606 fetch  0x00000001 , 0x0000004b 
+ 00028194  0x00005607 rtnbit0  0x00000007 
+ 00028195  0x00005608 set0  0x00000007 , 0x0000003f 
+ 00028196  0x00005609 store  0x00000001 , 0x0000004b 
+ 00028197  0x0000560a jam  0x00000005 , 0x00000090 
+ 00028198  0x0000560b fetcht  0x00000002 , 0x000042af 
+ 00028199  0x0000560c fetch  0x00000002 , 0x00000179 
+ 00028200  0x0000560d iadd  0x00000002 , 0x0000003f 
+ 00028201  0x0000560e store  0x00000002 , 0x00000179 
+ 00028202  0x0000560f fetch  0x00000002 , 0x00000091 
+ 00028203  0x00005610 isub  0x00000002 , 0x0000003f 
+ 00028204  0x00005611 store  0x00000002 , 0x00000091 
+ 00028205  0x00005613 set1  0x00000025 , 0x00000000 
+ 00028206  0x00005614 bpatch  0x000000a5 , 0x00004034 
+ 00028207  0x00005615 fetch  0x00000002 , 0x00000091 
+ 00028208  0x00005616 branch  0x00003bf1 , 0x00000034 
+ 00028209  0x00005617 arg  0x00000104 , 0x00000002 
+ 00028210  0x00005618 isub  0x00000002 , 0x0000003f 
+ 00028211  0x00005619 nbranch  0x00006e3b , 0x00000002 
+ 00028212  0x0000561a set1  0x00000025 , 0x00000000 
+ 00028213  0x0000561b bpatch  0x000000a6 , 0x00004034 
+ 00028214  0x0000561c storet  0x00000002 , 0x00000091 
+ 00028215  0x0000561d fetch  0x00000002 , 0x000042af 
+ 00028216  0x0000561e iadd  0x00000002 , 0x0000003f 
+ 00028217  0x0000561f store  0x00000002 , 0x000042af 
+ 00028218  0x00005620 branch  0x00006e3d 
+ 00028219  0x00005622 setarg  0x00000000 
+ 00028220  0x00005623 store  0x00000002 , 0x000042af 
+ 00028221  0x00005625 fetch  0x00000001 , 0x0000004b 
+ 00028222  0x00005626 set1  0x00000006 , 0x0000003f 
+ 00028223  0x00005627 store  0x00000001 , 0x0000004b 
+ 00028224  0x00005628 rtn 
+ 00028225  0x0000562b fetch  0x00000001 , 0x000047f6 
+ 00028226  0x0000562c bbit1  0x00000000 , 0x00006e45 
+ 00028227  0x0000562d jam  0x00000001 , 0x000002ee 
+ 00028228  0x0000562e rtn 
+ 00028229  0x00005630 jam  0x0000000f , 0x000002ee 
+ 00028230  0x00005631 rtn 
+ 00028231  0x00005634 fetch  0x00000001 , 0x000047f3 
+ 00028232  0x00005635 nbranch  0x00006e4d , 0x00000034 
+ 00028233  0x00005637 fetch  0x00000001 , 0x000002ed 
+ 00028234  0x00005639 rtn  0x00000034 
+ 00028235  0x0000563b jam  0x00000000 , 0x000002ed 
+ 00028236  0x0000563d rtn 
+ 00028237  0x00005641 set1  0x00000025 , 0x00000000 
+ 00028238  0x00005642 bpatch  0x000000a7 , 0x00004034 
+ 00028239  0x00005643 fetch  0x00000001 , 0x000002ee 
+ 00028240  0x00005644 rtn  0x00000034 
+ 00028241  0x00005645 beq  0x00000001 , 0x00006e6e 
+ 00028242  0x00005646 beq  0x00000002 , 0x00006ec7 
+ 00028243  0x00005647 beq  0x00000003 , 0x00006e74 
+ 00028244  0x00005648 beq  0x00000004 , 0x00006ecb 
+ 00028245  0x00005649 beq  0x0000003b , 0x00006e7e 
+ 00028246  0x0000564a beq  0x0000003c , 0x00006ece 
+ 00028247  0x0000564b beq  0x0000000d , 0x00006e83 
+ 00028248  0x0000564c beq  0x0000000e , 0x00006ed3 
+ 00028249  0x0000564d beq  0x0000000f , 0x00006e86 
+ 00028250  0x0000564e beq  0x00000010 , 0x00006ed9 
+ 00028251  0x0000564f beq  0x00000011 , 0x00006e8c 
+ 00028252  0x00005650 beq  0x00000012 , 0x00006edd 
+ 00028253  0x00005651 beq  0x00000013 , 0x00006e92 
+ 00028254  0x00005652 beq  0x00000014 , 0x00006ee1 
+ 00028255  0x00005653 beq  0x00000015 , 0x00006e98 
+ 00028256  0x00005654 beq  0x00000016 , 0x00006ee5 
+ 00028257  0x00005655 beq  0x00000017 , 0x00006e9e 
+ 00028258  0x00005656 beq  0x00000018 , 0x00006eea 
+ 00028259  0x00005657 beq  0x00000019 , 0x00006ea4 
+ 00028260  0x00005658 beq  0x0000001a , 0x00006eee 
+ 00028261  0x00005659 beq  0x0000001b , 0x00006eaa 
+ 00028262  0x0000565a beq  0x0000001c , 0x00006ef2 
+ 00028263  0x0000565b beq  0x0000001d , 0x00006eb0 
+ 00028264  0x0000565c beq  0x0000001e , 0x00006ef7 
+ 00028265  0x0000565d beq  0x0000001f , 0x00006eb6 
+ 00028266  0x0000565e beq  0x00000020 , 0x00006efb 
+ 00028267  0x0000565f beq  0x00000021 , 0x00006ec1 
+ 00028268  0x00005660 beq  0x00000022 , 0x00006eff 
+ 00028269  0x00005662 rtn 
+ 00028270  0x00005664 call  0x00006f0a 
+ 00028271  0x00005665 jam  0x00000002 , 0x000002ee 
+ 00028272  0x00005666 fetch  0x00000001 , 0x000042b9 
+ 00028273  0x00005667 set1  0x00000000 , 0x0000003f 
+ 00028274  0x00005668 store  0x00000001 , 0x000042b9 
+ 00028275  0x00005669 rtn 
+ 00028276  0x0000566b jam  0x00000004 , 0x000002ee 
+ 00028277  0x0000566c fetch  0x00000001 , 0x000042b9 
+ 00028278  0x0000566d rtnbit1  0x00000002 
+ 00028279  0x0000566e jam  0x00000003 , 0x000002ee 
+ 00028280  0x0000566f call  0x00006f12 
+ 00028281  0x00005670 jam  0x00000004 , 0x000002ee 
+ 00028282  0x00005671 fetch  0x00000001 , 0x000042b9 
+ 00028283  0x00005672 set1  0x00000002 , 0x0000003f 
+ 00028284  0x00005673 store  0x00000001 , 0x000042b9 
+ 00028285  0x00005674 rtn 
+ 00028286  0x00005676 call  0x0000527e 
+ 00028287  0x00005677 nrtn  0x00000034 
+ 00028288  0x00005678 call  0x00006f23 
+ 00028289  0x00005679 jam  0x0000003c , 0x000002ee 
+ 00028290  0x0000567a rtn 
+ 00028291  0x0000567c call  0x00006f18 
+ 00028292  0x0000567d jam  0x0000000e , 0x000002ee 
+ 00028293  0x0000567e rtn 
+ 00028294  0x00005680 call  0x00006f36 
+ 00028295  0x00005681 jam  0x00000010 , 0x000002ee 
+ 00028296  0x00005682 fetch  0x00000001 , 0x000042bb 
+ 00028297  0x00005683 set1  0x00000000 , 0x0000003f 
+ 00028298  0x00005684 store  0x00000001 , 0x000042bb 
+ 00028299  0x00005685 rtn 
+ 00028300  0x00005687 call  0x00006f3e 
+ 00028301  0x00005688 jam  0x00000012 , 0x000002ee 
+ 00028302  0x00005689 fetch  0x00000001 , 0x000042bb 
+ 00028303  0x0000568a set1  0x00000002 , 0x0000003f 
+ 00028304  0x0000568b store  0x00000001 , 0x000042bb 
+ 00028305  0x0000568c rtn 
+ 00028306  0x0000568e call  0x00006f44 
+ 00028307  0x0000568f jam  0x00000014 , 0x000002ee 
+ 00028308  0x00005690 fetch  0x00000001 , 0x000042bc 
+ 00028309  0x00005691 set1  0x00000000 , 0x0000003f 
+ 00028310  0x00005692 store  0x00000001 , 0x000042bc 
+ 00028311  0x00005693 rtn 
+ 00028312  0x00005695 call  0x00006f4c 
+ 00028313  0x00005696 jam  0x00000016 , 0x000002ee 
+ 00028314  0x00005697 fetch  0x00000001 , 0x000042bc 
+ 00028315  0x00005698 set1  0x00000002 , 0x0000003f 
+ 00028316  0x00005699 store  0x00000001 , 0x000042bc 
+ 00028317  0x0000569a rtn 
+ 00028318  0x0000569c call  0x00006f28 
+ 00028319  0x0000569d jam  0x00000018 , 0x000002ee 
+ 00028320  0x0000569e fetch  0x00000001 , 0x000042ba 
+ 00028321  0x0000569f set1  0x00000000 , 0x0000003f 
+ 00028322  0x000056a0 store  0x00000001 , 0x000042ba 
+ 00028323  0x000056a1 rtn 
+ 00028324  0x000056a3 call  0x00006f30 
+ 00028325  0x000056a4 jam  0x0000001a , 0x000002ee 
+ 00028326  0x000056a5 fetch  0x00000001 , 0x000042ba 
+ 00028327  0x000056a6 set1  0x00000002 , 0x0000003f 
+ 00028328  0x000056a7 store  0x00000001 , 0x000042ba 
+ 00028329  0x000056a8 rtn 
+ 00028330  0x000056aa call  0x00006f52 
+ 00028331  0x000056ab jam  0x0000001c , 0x000002ee 
+ 00028332  0x000056ac fetch  0x00000001 , 0x000042ba 
+ 00028333  0x000056ad set1  0x00000006 , 0x0000003f 
+ 00028334  0x000056ae store  0x00000001 , 0x000042ba 
+ 00028335  0x000056af rtn 
+ 00028336  0x000056b1 call  0x00006f5a 
+ 00028337  0x000056b2 fetch  0x00000001 , 0x000042bd 
+ 00028338  0x000056b3 set1  0x00000000 
+ 00028339  0x000056b4 store  0x00000001 , 0x000042bd 
+ 00028340  0x000056b5 jam  0x0000001e , 0x000002ee 
+ 00028341  0x000056b6 rtn 
+ 00028342  0x000056b8 call  0x00006f61 
+ 00028343  0x000056b9 fetch  0x00000001 , 0x000042bd 
+ 00028344  0x000056ba set1  0x00000002 
+ 00028345  0x000056bb store  0x00000001 , 0x000042bd 
+ 00028346  0x000056bc jam  0x00000020 , 0x000002ee 
+ 00028347  0x000056bd fetch  0x00000001 , 0x00004752 
+ 00028348  0x000056be lshift3  0x0000003f , 0x0000003f 
+ 00028349  0x000056bf or_into  0x00000003 , 0x0000003f 
+ 00028350  0x000056c0 arg  0x00004753 , 0x00000002 
+ 00028351  0x000056c1 storet  0x00000002 , 0x0000048f 
+ 00028352  0x000056c2 branch  0x00006b82 
+ 00028353  0x000056c4 call  0x00006f6c 
+ 00028354  0x000056c5 fetch  0x00000001 , 0x000042bd 
+ 00028355  0x000056c6 set1  0x00000004 
+ 00028356  0x000056c7 store  0x00000001 , 0x000042bd 
+ 00028357  0x000056c8 jam  0x00000022 , 0x000002ee 
+ 00028358  0x000056c9 rtn 
+ 00028359  0x000056cc fetch  0x00000001 , 0x000042b9 
+ 00028360  0x000056cd rtnbit0  0x00000001 
+ 00028361  0x000056ce jam  0x00000003 , 0x000002ee 
+ 00028362  0x000056cf branch  0x00006e4d 
+ 00028363  0x000056d1 fetch  0x00000001 , 0x000042b9 
+ 00028364  0x000056d2 rtnne  0x0000003f 
+ 00028365  0x000056d3 jam  0x0000003b , 0x000002ee 
+ 00028366  0x000056d5 fetch  0x00000001 , 0x000002ec 
+ 00028367  0x000056d6 rtnne  0x00000017 
+ 00028368  0x000056d7 jam  0x00000000 , 0x000002ec 
+ 00028369  0x000056d8 jam  0x0000000d , 0x000002ee 
+ 00028370  0x000056d9 branch  0x00006e4d 
+ 00028371  0x000056db fetch  0x00000001 , 0x000042b9 
+ 00028372  0x000056dc nrtn  0x00000034 
+ 00028373  0x000056dd fetch  0x00000001 , 0x000047f6 
+ 00028374  0x000056de bbit1  0x00000000 , 0x00006f02 
+ 00028375  0x000056df bbit1  0x00000006 , 0x00006f04 
+ 00028376  0x000056e0 branch  0x00006f08 
+ 00028377  0x000056e2 fetch  0x00000001 , 0x000042bb 
+ 00028378  0x000056e3 rtnbit0  0x00000001 
+ 00028379  0x000056e4 jam  0x00000011 , 0x000002ee 
+ 00028380  0x000056e5 branch  0x00006e4d 
+ 00028381  0x000056e7 fetch  0x00000001 , 0x000042bb 
+ 00028382  0x000056e8 rtnne  0x0000003f 
+ 00028383  0x000056e9 jam  0x00000013 , 0x000002ee 
+ 00028384  0x000056ea branch  0x00006e4d 
+ 00028385  0x000056ec fetch  0x00000001 , 0x000042bc 
+ 00028386  0x000056ed rtnbit0  0x00000001 
+ 00028387  0x000056ee jam  0x00000015 , 0x000002ee 
+ 00028388  0x000056ef branch  0x00006e4d 
+ 00028389  0x000056f1 fetch  0x00000001 , 0x000042bc 
+ 00028390  0x000056f2 rtnne  0x0000003f 
+ 00028391  0x000056f3 fetch  0x00000001 , 0x000047f6 
+ 00028392  0x000056f4 bbit1  0x00000006 , 0x00006f04 
+ 00028393  0x000056f5 branch  0x00006f08 
+ 00028394  0x000056f7 fetch  0x00000001 , 0x000042ba 
+ 00028395  0x000056f8 rtnbit0  0x00000001 
+ 00028396  0x000056f9 jam  0x00000019 , 0x000002ee 
+ 00028397  0x000056fa branch  0x00006e4d 
+ 00028398  0x000056fc fetch  0x00000001 , 0x000042ba 
+ 00028399  0x000056fd rtnne  0x0000003f 
+ 00028400  0x000056fe jam  0x0000001b , 0x000002ee 
+ 00028401  0x000056ff branch  0x00006e4d 
+ 00028402  0x00005701 fetch  0x00000001 , 0x000042ba 
+ 00028403  0x00005702 rtnne  0x000000ff 
+ 00028404  0x00005703 fetch  0x00000001 , 0x000047f6 
+ 00028405  0x00005704 bbit1  0x00000006 , 0x00006f06 
+ 00028406  0x00005705 branch  0x00006f08 
+ 00028407  0x00005707 fetch  0x00000001 , 0x000042bd 
+ 00028408  0x00005708 rtnbit0  0x00000001 
+ 00028409  0x00005709 jam  0x0000001f , 0x000002ee 
+ 00028410  0x0000570a branch  0x00006e4d 
+ 00028411  0x0000570c fetch  0x00000001 , 0x000042bd 
+ 00028412  0x0000570d rtnbit0  0x00000003 
+ 00028413  0x0000570e jam  0x00000021 , 0x000002ee 
+ 00028414  0x0000570f branch  0x00006e4d 
+ 00028415  0x00005711 fetch  0x00000001 , 0x000042bd 
+ 00028416  0x00005712 rtnne  0x000000ff 
+ 00028417  0x00005713 branch  0x00006f08 
+ 00028418  0x00005716 jam  0x0000000f , 0x000002ee 
+ 00028419  0x00005717 branch  0x00006e4d 
+ 00028420  0x0000571a jam  0x00000017 , 0x000002ee 
+ 00028421  0x0000571b branch  0x00006e4d 
+ 00028422  0x0000571d jam  0x0000001d , 0x000002ee 
+ 00028423  0x0000571e branch  0x00006e4d 
+ 00028424  0x00005723 jam  0x00000000 , 0x000002ee 
+ 00028425  0x00005724 rtn 
+ 00028426  0x00005726 set1  0x00000025 , 0x00000000 
+ 00028427  0x00005727 bpatch  0x000000a8 , 0x00004035 
+ 00028428  0x00005728 call  0x000052c4 
+ 00028429  0x00005729 setarg  0x00000001 
+ 00028430  0x0000572a copy  0x0000003f , 0x00000002 
+ 00028431  0x0000572b setarg  0x00000050 
+ 00028432  0x0000572c copy  0x0000003f , 0x0000000b 
+ 00028433  0x0000572d branch  0x000050b0 
+ 00028434  0x00005730 set1  0x00000025 , 0x00000000 
+ 00028435  0x00005731 bpatch  0x000000a9 , 0x00004035 
+ 00028436  0x00005732 call  0x000052c4 
+ 00028437  0x00005733 fetch  0x00000002 , 0x000042b1 
+ 00028438  0x00005734 copy  0x0000003f , 0x00000002 
+ 00028439  0x00005735 branch  0x000050c0 
+ 00028440  0x00005738 set1  0x00000025 , 0x00000000 
+ 00028441  0x00005739 bpatch  0x000000aa , 0x00004035 
+ 00028442  0x0000573a call  0x000052c4 
+ 00028443  0x0000573b fetch  0x00000002 , 0x000042b1 
+ 00028444  0x0000573c copy  0x0000003f , 0x00000002 
+ 00028445  0x0000573d arg  0x00000050 , 0x0000000b 
+ 00028446  0x0000573e call  0x000050d6 
+ 00028447  0x0000573f fetch  0x00000001 , 0x000042b9 
+ 00028448  0x00005740 set0  0x00000005 , 0x0000003f 
+ 00028449  0x00005741 store  0x00000001 , 0x000042b9 
+ 00028450  0x00005742 rtn 
+ 00028451  0x00005745 set1  0x00000025 , 0x00000000 
+ 00028452  0x00005746 bpatch  0x000000ab , 0x00004035 
+ 00028453  0x00005747 call  0x000052d2 
+ 00028454  0x00005748 call  0x000071b0 
+ 00028455  0x00005749 branch  0x000050f2 
+ 00028456  0x0000574c set1  0x00000025 , 0x00000000 
+ 00028457  0x0000574d bpatch  0x000000ac , 0x00004035 
+ 00028458  0x0000574e call  0x000052c4 
+ 00028459  0x0000574f setarg  0x00000003 
+ 00028460  0x00005750 copy  0x0000003f , 0x00000002 
+ 00028461  0x00005751 setarg  0x00000051 
+ 00028462  0x00005752 copy  0x0000003f , 0x0000000b 
+ 00028463  0x00005753 branch  0x000050b0 
+ 00028464  0x00005756 set1  0x00000025 , 0x00000000 
+ 00028465  0x00005757 bpatch  0x000000ad , 0x00004035 
+ 00028466  0x00005758 call  0x000052c4 
+ 00028467  0x00005759 fetch  0x00000002 , 0x000042b3 
+ 00028468  0x0000575a copy  0x0000003f , 0x00000002 
+ 00028469  0x0000575b branch  0x000050c0 
+ 00028470  0x0000575e set1  0x00000025 , 0x00000000 
+ 00028471  0x0000575f bpatch  0x000000ae , 0x00004035 
+ 00028472  0x00005760 call  0x000052c4 
+ 00028473  0x00005761 setarg  0x00000011 
+ 00028474  0x00005762 copy  0x0000003f , 0x00000002 
+ 00028475  0x00005763 setarg  0x00000052 
+ 00028476  0x00005764 copy  0x0000003f , 0x0000000b 
+ 00028477  0x00005765 branch  0x000050b0 
+ 00028478  0x00005768 set1  0x00000025 , 0x00000000 
+ 00028479  0x00005769 bpatch  0x000000af , 0x00004035 
+ 00028480  0x0000576a call  0x000052c4 
+ 00028481  0x0000576b fetch  0x00000002 , 0x000042b5 
+ 00028482  0x0000576c copy  0x0000003f , 0x00000002 
+ 00028483  0x0000576d branch  0x000050c0 
+ 00028484  0x00005770 set1  0x00000025 , 0x00000000 
+ 00028485  0x00005771 bpatch  0x000000b0 , 0x00004036 
+ 00028486  0x00005772 call  0x000052c4 
+ 00028487  0x00005773 setarg  0x00000013 
+ 00028488  0x00005774 copy  0x0000003f , 0x00000002 
+ 00028489  0x00005775 setarg  0x00000053 
+ 00028490  0x00005776 copy  0x0000003f , 0x0000000b 
+ 00028491  0x00005777 branch  0x000050b0 
+ 00028492  0x0000577a set1  0x00000025 , 0x00000000 
+ 00028493  0x0000577b bpatch  0x000000b1 , 0x00004036 
+ 00028494  0x0000577c call  0x000052c4 
+ 00028495  0x0000577d fetch  0x00000002 , 0x000042b7 
+ 00028496  0x0000577e copy  0x0000003f , 0x00000002 
+ 00028497  0x0000577f branch  0x000050c0 
+ 00028498  0x00005782 set1  0x00000025 , 0x00000000 
+ 00028499  0x00005783 bpatch  0x000000b2 , 0x00004036 
+ 00028500  0x00005784 call  0x000052e0 
+ 00028501  0x00005786 jam  0x00000003 , 0x00000493 
+ 00028502  0x00005787 jam  0x0000001c , 0x00000496 
+ 00028503  0x00005788 call  0x00006ce8 
+ 00028504  0x00005789 jam  0x00000001 , 0x00004751 
+ 00028505  0x0000578a rtn 
+ 00028506  0x0000578d set1  0x00000025 , 0x00000000 
+ 00028507  0x0000578e bpatch  0x000000b3 , 0x00004036 
+ 00028508  0x0000578f call  0x000052e0 
+ 00028509  0x00005790 fetcht  0x00000001 , 0x00004752 
+ 00028510  0x00005791 call  0x00006bcb 
+ 00028511  0x00005792 storet  0x00000001 , 0x0000474b 
+ 00028512  0x00005793 branch  0x00006d05 
+ 00028513  0x00005796 set1  0x00000025 , 0x00000000 
+ 00028514  0x00005797 bpatch  0x000000b4 , 0x00004036 
+ 00028515  0x00005798 call  0x000052e0 
+ 00028516  0x00005799 fetcht  0x00000001 , 0x0000474b 
+ 00028517  0x0000579a call  0x00006bc0 
+ 00028518  0x0000579b call  0x00006b67 
+ 00028519  0x0000579c store  0x00000001 , 0x00000496 
+ 00028520  0x0000579d fetcht  0x00000001 , 0x0000474b 
+ 00028521  0x0000579e call  0x00006bc0 
+ 00028522  0x0000579f storet  0x00000001 , 0x00000493 
+ 00028523  0x000057a0 branch  0x00006ce8 
+ 00028524  0x000057a3 set1  0x00000025 , 0x00000000 
+ 00028525  0x000057a4 bpatch  0x000000b5 , 0x00004036 
+ 00028526  0x000057a5 call  0x000052e0 
+ 00028527  0x000057a6 fetcht  0x00000001 , 0x0000474b 
+ 00028528  0x000057a7 call  0x00006bc0 
+ 00028529  0x000057a8 branch  0x00006d3f 
+ 00028530  0x000057b6 set1  0x00000025 , 0x00000000 
+ 00028531  0x000057b7 bpatch  0x000000e7 , 0x0000403c 
+ 00028532  0x000057b8 fetch  0x00000002 , 0x000002cb 
+ 00028533  0x000057b9 iforce  0x00000006 
+ 00028534  0x000057ba ifetch  0x00000001 , 0x00000006 
+ 00028535  0x000057bb copy  0x0000003f , 0x00000012 
+ 00028536  0x000057bc store  0x00000001 , 0x000004af 
+ 00028537  0x000057bd ifetch  0x00000002 , 0x00000006 
+ 00028538  0x000057be store  0x00000002 , 0x000004b0 
+ 00028539  0x000057bf ifetch  0x00000001 , 0x00000006 
+ 00028540  0x000057c0 lshift8  0x0000003f , 0x0000000b 
+ 00028541  0x000057c1 ifetch  0x00000001 , 0x00000006 
+ 00028542  0x000057c2 iadd  0x0000000b , 0x0000000b 
+ 00028543  0x000057c3 set1  0x00000025 , 0x00000000 
+ 00028544  0x000057c4 bpatch  0x000000e8 , 0x0000403d 
+ 00028545  0x000057c5 deposit  0x00000012 
+ 00028546  0x000057c6 beq  0x00000002 , 0x00006f87 
+ 00028547  0x000057c7 beq  0x00000004 , 0x00006fb0 
+ 00028548  0x000057c8 beq  0x00000006 , 0x0000708b 
+ 00028549  0x000057c9 beq  0x00000007 , 0x000071c7 
+ 00028550  0x000057ca branch  0x0000723e 
+ 00028551  0x000057d6 call  0x0000724d 
+ 00028552  0x000057d7 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00028553  0x000057d8 branch  0x000072bb , 0x00000001 
+ 00028554  0x000057d9 compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00028555  0x000057da branch  0x00007241 , 0x00000001 
+ 00028556  0x000057dc ifetch  0x00000002 , 0x00000006 
+ 00028557  0x000057dd store  0x00000002 , 0x000004b4 
+ 00028558  0x000057de increase  0xfffffffe , 0x0000000b 
+ 00028559  0x000057e0 increase  0xffffffff , 0x0000000b 
+ 00028560  0x000057e1 nbranch  0x0000723b , 0x00000005 
+ 00028561  0x000057e2 arg  0x000004a9 , 0x0000000b 
+ 00028562  0x000057e3 ifetch  0x00000002 , 0x0000000b 
+ 00028563  0x000057e4 rtn  0x00000034 
+ 00028564  0x000057e5 increase  0x00000002 , 0x0000000b 
+ 00028565  0x000057e6 call  0x00007307 
+ 00028566  0x000057e7 call  0x000052de 
+ 00028567  0x000057e8 force  0x00000003 , 0x0000003f 
+ 00028568  0x000057e9 istore  0x00000001 , 0x00000005 
+ 00028569  0x000057ea fetch  0x00000002 , 0x000004b0 
+ 00028570  0x000057eb istore  0x00000002 , 0x00000005 
+ 00028571  0x000057ec lshift2  0x00000007 , 0x0000003f 
+ 00028572  0x000057ed add  0x0000003f , 0x00000005 , 0x0000003f 
+ 00028573  0x000057ee add  0x0000003f , 0x00000005 , 0x00000013 
+ 00028574  0x000057ef byteswap  0x0000003f , 0x0000003f 
+ 00028575  0x000057f0 istore  0x00000002 , 0x00000005 
+ 00028576  0x000057f1 deposit  0x00000007 
+ 00028577  0x000057f2 byteswap  0x0000003f , 0x0000003f 
+ 00028578  0x000057f3 istore  0x00000002 , 0x00000005 
+ 00028579  0x000057f4 istore  0x00000002 , 0x00000005 
+ 00028580  0x000057f5 arg  0x000004c5 , 0x00000006 
+ 00028581  0x000057f6 copy  0x00000007 , 0x00000039 
+ 00028582  0x000057f7 branch  0x00006faa , 0x00000005 
+ 00028583  0x000057f9 ifetch  0x00000004 , 0x00000006 
+ 00028584  0x000057fa istore  0x00000004 , 0x00000005 
+ 00028585  0x000057fb loop  0x00006fa7 
+ 00028586  0x000057fd force  0x00000000 , 0x0000003f 
+ 00028587  0x000057fe istore  0x00000001 , 0x00000005 
+ 00028588  0x000057ff deposit  0x00000013 
+ 00028589  0x00005800 store  0x00000001 , 0x000002dc 
+ 00028590  0x00005801 branch  0x00003bf1 , 0x00000034 
+ 00028591  0x00005802 rtn 
+ 00028592  0x0000580e ifetch  0x00000004 , 0x00000006 
+ 00028593  0x0000580f store  0x00000004 , 0x000004be 
+ 00028594  0x00005810 increase  0xfffffffc , 0x0000000b 
+ 00028595  0x00005811 iforce  0x00000002 
+ 00028596  0x00005812 ifetch  0x00000002 , 0x00000006 
+ 00028597  0x00005813 byteswap  0x0000003f , 0x0000003f 
+ 00028598  0x00005814 increase  0xffffffee , 0x0000003f 
+ 00028599  0x00005815 store  0x00000002 , 0x000004b2 
+ 00028600  0x00005816 increase  0xfffffffe , 0x0000000b 
+ 00028601  0x00005817 call  0x000072a4 
+ 00028602  0x00005818 branch  0x00007241 , 0x00000005 
+ 00028603  0x00005819 compare  0x00000005 , 0x00000011 , 0x000000ff 
+ 00028604  0x0000581b branch  0x00006fc0 , 0x00000001 
+ 00028605  0x0000581d arg  0x00000491 , 0x00000005 
+ 00028606  0x0000581e force  0x00000000 , 0x00000007 
+ 00028607  0x0000581f branch  0x00006fd0 
+ 00028608  0x00005821 ifetch  0x00000001 , 0x00000006 
+ 00028609  0x00005822 bne  0x0000000a , 0x00007241 
+ 00028610  0x00005823 ifetch  0x00000002 , 0x00000006 
+ 00028611  0x00005824 nbranch  0x00006fce , 0x00000034 
+ 00028612  0x00005825 ifetch  0x00000001 , 0x00000006 
+ 00028613  0x00005826 bne  0x000000ff , 0x00006fcc 
+ 00028614  0x00005827 ifetch  0x00000001 , 0x00000006 
+ 00028615  0x00005828 bne  0x000000ff , 0x00006fca 
+ 00028616  0x00005829 increase  0xfffffffb , 0x00000006 
+ 00028617  0x0000582a branch  0x00007022 
+ 00028618  0x0000582c increase  0xfffffffb , 0x00000006 
+ 00028619  0x0000582d branch  0x00006fbd 
+ 00028620  0x0000582f increase  0xfffffffc , 0x00000006 
+ 00028621  0x00005830 branch  0x00006fbd 
+ 00028622  0x00005832 increase  0xfffffffd , 0x00000006 
+ 00028623  0x00005833 branch  0x00006fbd 
+ 00028624  0x00005835 ifetch  0x00000001 , 0x00000006 
+ 00028625  0x00005836 beq  0x00000009 , 0x00006fe5 
+ 00028626  0x00005837 beq  0x0000000a , 0x00006fd3 
+ 00028627  0x00005839 ifetch  0x00000002 , 0x00000006 
+ 00028628  0x0000583a istore  0x00000002 , 0x00000005 
+ 00028629  0x0000583b increase  0x00000001 , 0x00000007 
+ 00028630  0x0000583c byteswap  0x0000003f , 0x00000012 
+ 00028631  0x0000583d ifetch  0x00000002 , 0x00000006 
+ 00028632  0x0000583e byteswap  0x0000003f , 0x0000003f 
+ 00028633  0x00005840 increase  0x00000001 , 0x00000012 
+ 00028634  0x00005841 isub  0x00000012 , 0x0000003e 
+ 00028635  0x00005842 nbranch  0x00006fe2 , 0x00000002 
+ 00028636  0x00005843 copy  0x0000003f , 0x00000013 
+ 00028637  0x00005844 byteswap  0x00000012 , 0x0000003f 
+ 00028638  0x00005845 istore  0x00000002 , 0x00000005 
+ 00028639  0x00005846 increase  0x00000001 , 0x00000007 
+ 00028640  0x00005847 copy  0x00000013 , 0x0000003f 
+ 00028641  0x00005848 branch  0x00006fd9 
+ 00028642  0x0000584a increase  0xfffffffb , 0x0000000b 
+ 00028643  0x0000584b increase  0xfffffffb , 0x00000011 
+ 00028644  0x0000584c branch  0x00006fea 
+ 00028645  0x0000584e ifetch  0x00000002 , 0x00000006 
+ 00028646  0x0000584f istore  0x00000002 , 0x00000005 
+ 00028647  0x00005850 increase  0x00000001 , 0x00000007 
+ 00028648  0x00005851 increase  0xfffffffd , 0x0000000b 
+ 00028649  0x00005852 increase  0xfffffffd , 0x00000011 
+ 00028650  0x00005854 nbranch  0x00007241 , 0x00000002 
+ 00028651  0x00005855 nbranch  0x00006fd0 , 0x00000005 
+ 00028652  0x00005856 increase  0xffffffff , 0x0000000b 
+ 00028653  0x00005857 nbranch  0x00007241 , 0x00000005 
+ 00028654  0x00005859 call  0x000052de 
+ 00028655  0x0000585a increase  0x0000000a , 0x00000005 
+ 00028656  0x0000585b arg  0x00000491 , 0x00000011 
+ 00028657  0x0000585d copy  0x00000007 , 0x0000003f 
+ 00028658  0x0000585e branch  0x00007004 , 0x00000034 
+ 00028659  0x0000585f ifetch  0x00000002 , 0x00000011 
+ 00028660  0x00005860 branch  0x00007004 , 0x00000034 
+ 00028661  0x00005861 iforce  0x00000012 
+ 00028662  0x00005862 fetch  0x00000004 , 0x000004be 
+ 00028663  0x00005863 iforce  0x00000002 
+ 00028664  0x00005864 call  0x0000734e 
+ 00028665  0x00005865 branch  0x00007001 , 0x00000034 
+ 00028666  0x00005866 increase  0xfffffffd , 0x00000006 
+ 00028667  0x00005867 ifetch  0x00000003 , 0x00000006 
+ 00028668  0x00005868 istore  0x00000003 , 0x00000005 
+ 00028669  0x00005869 call  0x00007199 
+ 00028670  0x0000586a branch  0x00007001 , 0x00000034 
+ 00028671  0x0000586b iforce  0x00000039 
+ 00028672  0x0000586c call  0x00007e45 
+ 00028673  0x0000586e increase  0x00000002 , 0x00000011 
+ 00028674  0x0000586f increase  0xffffffff , 0x00000007 
+ 00028675  0x00005870 branch  0x00006ff1 
+ 00028676  0x00005873 force  0x00000000 , 0x0000003f 
+ 00028677  0x00005874 istore  0x00000001 , 0x00000005 
+ 00028678  0x00005875 increase  0xffffffff , 0x00000005 
+ 00028679  0x00005876 fetcht  0x00000002 , 0x000002da 
+ 00028680  0x00005877 add  0x00000002 , 0x0000000a , 0x0000003f 
+ 00028681  0x00005878 isub  0x00000005 , 0x0000003f 
+ 00028682  0x00005879 sub  0x0000003f , 0x00000000 , 0x00000011 
+ 00028683  0x0000587a byteswap  0x00000011 , 0x0000003f 
+ 00028684  0x0000587b add  0x00000002 , 0x00000008 , 0x00000012 
+ 00028685  0x0000587c istore  0x00000002 , 0x00000012 
+ 00028686  0x0000587d increase  0x00000003 , 0x00000011 
+ 00028687  0x0000587e byteswap  0x00000011 , 0x0000003f 
+ 00028688  0x0000587f add  0x00000002 , 0x00000005 , 0x00000012 
+ 00028689  0x00005880 istore  0x00000002 , 0x00000012 
+ 00028690  0x00005881 increase  0x00000003 , 0x00000011 
+ 00028691  0x00005882 byteswap  0x00000011 , 0x0000003f 
+ 00028692  0x00005883 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00028693  0x00005884 istore  0x00000002 , 0x00000012 
+ 00028694  0x00005885 increase  0x00000005 , 0x00000011 
+ 00028695  0x00005886 copy  0x00000011 , 0x0000003f 
+ 00028696  0x00005887 store  0x00000002 , 0x000002dc 
+ 00028697  0x00005888 setarg  0x00000036 
+ 00028698  0x00005889 add  0x00000002 , 0x00000007 , 0x00000012 
+ 00028699  0x0000588a istore  0x00000001 , 0x00000012 
+ 00028700  0x0000588b setarg  0x00000005 
+ 00028701  0x0000588c istore  0x00000001 , 0x00000002 
+ 00028702  0x0000588d fetch  0x00000002 , 0x000004b0 
+ 00028703  0x0000588e add  0x00000002 , 0x00000001 , 0x00000012 
+ 00028704  0x0000588f istore  0x00000002 , 0x00000012 
+ 00028705  0x00005890 rtn 
+ 00028706  0x00005892 ifetch  0x00000001 , 0x00000006 
+ 00028707  0x00005893 bne  0x0000000a , 0x00007241 
+ 00028708  0x00005894 ifetch  0x00000002 , 0x00000006 
+ 00028709  0x00005895 nbranch  0x00007241 , 0x00000034 
+ 00028710  0x00005896 ifetch  0x00000001 , 0x00000006 
+ 00028711  0x00005897 bne  0x000000ff , 0x00007241 
+ 00028712  0x00005898 ifetch  0x00000001 , 0x00000006 
+ 00028713  0x00005899 bne  0x000000ff , 0x00007241 
+ 00028714  0x0000589a increase  0xfffffffb , 0x0000000b 
+ 00028715  0x0000589b ifetch  0x00000001 , 0x00000006 
+ 00028716  0x0000589c beq  0x00000000 , 0x0000702f 
+ 00028717  0x0000589d beq  0x00000001 , 0x00007032 
+ 00028718  0x0000589e beq  0x00000002 , 0x00007036 
+ 00028719  0x000058a0 store  0x00000002 , 0x000004ad 
+ 00028720  0x000058a1 increase  0xffffffff , 0x0000000b 
+ 00028721  0x000058a2 branch  0x0000703a 
+ 00028722  0x000058a4 ifetch  0x00000001 , 0x00000006 
+ 00028723  0x000058a5 store  0x00000002 , 0x000004ad 
+ 00028724  0x000058a6 increase  0xfffffffe , 0x0000000b 
+ 00028725  0x000058a7 branch  0x0000703a 
+ 00028726  0x000058a9 ifetch  0x00000002 , 0x00000006 
+ 00028727  0x000058aa byteswap  0x0000003f , 0x0000003f 
+ 00028728  0x000058ab store  0x00000002 , 0x000004ad 
+ 00028729  0x000058ac increase  0xfffffffd , 0x0000000b 
+ 00028730  0x000058ae nbranch  0x0000723b , 0x00000005 
+ 00028731  0x000058af call  0x0000731e 
+ 00028732  0x000058b0 nbranch  0x00007238 , 0x00000005 
+ 00028733  0x000058b1 copy  0x00000006 , 0x00000011 
+ 00028734  0x000058b2 call  0x000052de 
+ 00028735  0x000058b3 copy  0x00000011 , 0x00000006 
+ 00028736  0x000058b4 increase  0x00000003 , 0x00000005 
+ 00028737  0x000058b5 copy  0x00000006 , 0x0000000b 
+ 00028738  0x000058b6 call  0x000072e8 
+ 00028739  0x000058b7 copy  0x0000003f , 0x00000011 
+ 00028740  0x000058b8 fetch  0x00000002 , 0x000004ad 
+ 00028741  0x000058b9 copy  0x0000003f , 0x00000012 
+ 00028742  0x000058ba copy  0x00000011 , 0x0000003f 
+ 00028743  0x000058bb isub  0x00000012 , 0x00000012 
+ 00028744  0x000058bc fetch  0x00000002 , 0x000004b2 
+ 00028745  0x000058bd isub  0x00000012 , 0x0000003e 
+ 00028746  0x000058be nbranch  0x00007066 , 0x00000002 
+ 00028747  0x000058c0 disable  0x00000028 
+ 00028748  0x000058c1 fetch  0x00000002 , 0x000004ad 
+ 00028749  0x000058c2 branch  0x00007059 , 0x00000034 
+ 00028750  0x000058c3 iadd  0x0000000b , 0x00000006 
+ 00028751  0x000058c4 increase  0x00000003 , 0x00000012 
+ 00028752  0x000058c5 copy  0x00000012 , 0x00000039 
+ 00028753  0x000058c6 copy  0x00000039 , 0x0000003f 
+ 00028754  0x000058c7 increase  0x00000003 , 0x0000003f 
+ 00028755  0x000058c8 byteswap  0x0000003f , 0x0000003f 
+ 00028756  0x000058c9 istore  0x00000002 , 0x00000005 
+ 00028757  0x000058ca copy  0x00000039 , 0x0000003f 
+ 00028758  0x000058cb byteswap  0x0000003f , 0x0000003f 
+ 00028759  0x000058cc istore  0x00000002 , 0x00000005 
+ 00028760  0x000058cd branch  0x00007074 
+ 00028761  0x000058cf add  0x00000011 , 0x00000006 , 0x00000039 
+ 00028762  0x000058d0 branch  0x0000705d , 0x00000028 
+ 00028763  0x000058d1 byteswap  0x00000039 , 0x0000003f 
+ 00028764  0x000058d2 branch  0x00007060 
+ 00028765  0x000058d4 copy  0x00000039 , 0x0000003f 
+ 00028766  0x000058d5 increase  0x00000002 , 0x0000003f 
+ 00028767  0x000058d6 byteswap  0x0000003f , 0x0000003f 
+ 00028768  0x000058d8 istore  0x00000002 , 0x00000005 
+ 00028769  0x000058d9 increase  0xfffffffd , 0x00000039 
+ 00028770  0x000058da byteswap  0x00000039 , 0x0000003f 
+ 00028771  0x000058db istore  0x00000002 , 0x00000005 
+ 00028772  0x000058dc copy  0x0000000b , 0x00000006 
+ 00028773  0x000058dd branch  0x00007074 
+ 00028774  0x000058df enable  0x00000028 
+ 00028775  0x000058e0 fetch  0x00000002 , 0x000004b2 
+ 00028776  0x000058e1 copy  0x0000003f , 0x00000011 
+ 00028777  0x000058e2 copy  0x0000003f , 0x00000039 
+ 00028778  0x000058e3 fetch  0x00000002 , 0x000004ad 
+ 00028779  0x000058e4 branch  0x00007059 , 0x00000034 
+ 00028780  0x000058e5 iadd  0x0000000b , 0x00000006 
+ 00028781  0x000058e6 copy  0x00000011 , 0x0000003f 
+ 00028782  0x000058e7 increase  0x00000005 , 0x0000003f 
+ 00028783  0x000058e8 byteswap  0x0000003f , 0x0000003f 
+ 00028784  0x000058e9 istore  0x00000002 , 0x00000005 
+ 00028785  0x000058ea copy  0x00000011 , 0x0000003f 
+ 00028786  0x000058eb byteswap  0x0000003f , 0x0000003f 
+ 00028787  0x000058ec istore  0x00000002 , 0x00000005 
+ 00028788  0x000058ee ifetch  0x00000001 , 0x00000006 
+ 00028789  0x000058ef istore  0x00000001 , 0x00000005 
+ 00028790  0x000058f0 loop  0x00007074 
+ 00028791  0x000058f1 nbranch  0x0000707f , 0x00000028 
+ 00028792  0x000058f2 force  0x00000002 , 0x0000003f 
+ 00028793  0x000058f3 istore  0x00000001 , 0x00000005 
+ 00028794  0x000058f4 copy  0x00000006 , 0x0000003f 
+ 00028795  0x000058f5 isub  0x0000000b , 0x0000003f 
+ 00028796  0x000058f6 byteswap  0x0000003f , 0x0000003f 
+ 00028797  0x000058f7 istore  0x00000002 , 0x00000005 
+ 00028798  0x000058f8 branch  0x00007081 
+ 00028799  0x000058fa force  0x00000000 , 0x0000003f 
+ 00028800  0x000058fb istore  0x00000001 , 0x00000005 
+ 00028801  0x000058fd fetch  0x00000002 , 0x000002da 
+ 00028802  0x000058fe isub  0x00000005 , 0x0000003f 
+ 00028803  0x000058ff sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028804  0x00005900 store  0x00000002 , 0x000002dc 
+ 00028805  0x00005901 call  0x000052de 
+ 00028806  0x00005902 setarg  0x00000005 
+ 00028807  0x00005903 istore  0x00000001 , 0x00000005 
+ 00028808  0x00005904 fetch  0x00000002 , 0x000004b0 
+ 00028809  0x00005905 istore  0x00000002 , 0x00000005 
+ 00028810  0x00005906 rtn 
+ 00028811  0x00005913 call  0x0000724d 
+ 00028812  0x00005914 compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00028813  0x00005915 branch  0x000070b4 , 0x00000001 
+ 00028814  0x00005916 ifetch  0x00000002 , 0x00000006 
+ 00028815  0x00005917 store  0x00000002 , 0x000004b2 
+ 00028816  0x00005918 increase  0xfffffffe , 0x0000000b 
+ 00028817  0x00005919 call  0x000072a4 
+ 00028818  0x0000591a arg  0x00000491 , 0x00000005 
+ 00028819  0x0000591b force  0x00000000 , 0x00000007 
+ 00028820  0x0000591d ifetch  0x00000003 , 0x00000006 
+ 00028821  0x0000591e bne  0x00000009 , 0x000070b4 
+ 00028822  0x00005920 rshift8  0x0000003f , 0x0000003f 
+ 00028823  0x00005921 istore  0x00000002 , 0x00000005 
+ 00028824  0x00005922 increase  0x00000001 , 0x00000007 
+ 00028825  0x00005923 increase  0xfffffffd , 0x0000000b 
+ 00028826  0x00005924 increase  0xfffffffd , 0x00000011 
+ 00028827  0x00005925 nbranch  0x00007241 , 0x00000002 
+ 00028828  0x00005926 nbranch  0x00007094 , 0x00000005 
+ 00028829  0x00005927 increase  0xffffffff , 0x0000000b 
+ 00028830  0x00005928 nbranch  0x00007241 , 0x00000005 
+ 00028831  0x0000592a call  0x000052de 
+ 00028832  0x0000592b increase  0x0000000d , 0x00000005 
+ 00028833  0x0000592c fetch  0x00000002 , 0x000004a9 
+ 00028834  0x0000592d iforce  0x00000013 
+ 00028835  0x0000592e arg  0x00000491 , 0x00000011 
+ 00028836  0x00005930 ifetch  0x00000004 , 0x00000011 
+ 00028837  0x00005931 branch  0x000070c4 , 0x00000034 
+ 00028838  0x00005932 ifetch  0x00000002 , 0x00000011 
+ 00028839  0x00005933 iforce  0x00000012 
+ 00028840  0x00005934 call  0x0000732a 
+ 00028841  0x00005935 branch  0x000070b2 , 0x00000034 
+ 00028842  0x00005936 increase  0xfffffffd , 0x00000006 
+ 00028843  0x00005937 ifetch  0x00000003 , 0x00000006 
+ 00028844  0x00005938 istore  0x00000003 , 0x00000005 
+ 00028845  0x00005939 call  0x00007199 
+ 00028846  0x0000593a iforce  0x00000039 
+ 00028847  0x0000593c ifetch  0x00000001 , 0x00000006 
+ 00028848  0x0000593d istore  0x00000001 , 0x00000005 
+ 00028849  0x0000593e loop  0x000070af 
+ 00028850  0x00005940 increase  0x00000002 , 0x00000011 
+ 00028851  0x00005941 branch  0x000070a4 
+ 00028852  0x00005946 ifetch  0x00000001 , 0x00000006 
+ 00028853  0x00005948 ifetch  0x00000001 , 0x00000006 
+ 00028854  0x0000594a increase  0xfffffffb , 0x0000000b 
+ 00028855  0x0000594b increase  0xfffffffb , 0x00000011 
+ 00028856  0x0000594c nbranch  0x00007241 , 0x00000002 
+ 00028857  0x0000594d arg  0x000004a9 , 0x0000000b 
+ 00028858  0x0000594e ifetch  0x00000002 , 0x0000000b 
+ 00028859  0x00005950 increase  0x00000002 , 0x0000000b 
+ 00028860  0x00005951 call  0x00007307 
+ 00028861  0x00005952 deposit  0x00000007 
+ 00028862  0x00005953 store  0x00000001 , 0x000004dd 
+ 00028863  0x00005954 branch  0x000072be , 0x00000034 
+ 00028864  0x00005955 arg  0x00000000 , 0x00000007 
+ 00028865  0x00005956 call  0x000052de 
+ 00028866  0x00005957 increase  0x0000000a , 0x00000005 
+ 00028867  0x00005958 branch  0x00007108 
+ 00028868  0x0000595a force  0x00000000 , 0x0000003f 
+ 00028869  0x0000595b istore  0x00000001 , 0x00000005 
+ 00028870  0x0000595c increase  0xffffffff , 0x00000005 
+ 00028871  0x0000595d fetcht  0x00000002 , 0x000002da 
+ 00028872  0x0000595e add  0x00000002 , 0x0000000d , 0x0000003f 
+ 00028873  0x0000595f isub  0x00000005 , 0x0000003f 
+ 00028874  0x00005960 branch  0x000070e8 , 0x00000005 
+ 00028875  0x00005961 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028876  0x00005962 add  0x00000002 , 0x0000000c , 0x00000012 
+ 00028877  0x00005963 istore  0x00000001 , 0x00000012 
+ 00028878  0x00005964 increase  0x00000003 , 0x0000003f 
+ 00028879  0x00005965 add  0x00000002 , 0x00000009 , 0x00000012 
+ 00028880  0x00005966 istore  0x00000001 , 0x00000012 
+ 00028881  0x00005967 increase  0x00000003 , 0x0000003f 
+ 00028882  0x00005968 byteswap  0x0000003f , 0x0000003f 
+ 00028883  0x00005969 add  0x00000002 , 0x00000005 , 0x00000012 
+ 00028884  0x0000596a istore  0x00000002 , 0x00000012 
+ 00028885  0x0000596b rshift8  0x0000003f , 0x0000003f 
+ 00028886  0x0000596c increase  0x00000003 , 0x0000003f 
+ 00028887  0x0000596d byteswap  0x0000003f , 0x0000003f 
+ 00028888  0x0000596e add  0x00000002 , 0x00000003 , 0x00000012 
+ 00028889  0x0000596f istore  0x00000002 , 0x00000012 
+ 00028890  0x00005970 rshift8  0x0000003f , 0x0000003f 
+ 00028891  0x00005971 increase  0x00000005 , 0x0000003f 
+ 00028892  0x00005972 store  0x00000001 , 0x000002dc 
+ 00028893  0x00005974 fetch  0x00000002 , 0x000004b0 
+ 00028894  0x00005975 add  0x00000002 , 0x00000001 , 0x00000012 
+ 00028895  0x00005976 istore  0x00000002 , 0x00000012 
+ 00028896  0x00005977 setarg  0x00000007 
+ 00028897  0x00005978 istore  0x00000001 , 0x00000002 
+ 00028898  0x0000597d setarg  0x00000036 
+ 00028899  0x0000597e add  0x00000002 , 0x00000007 , 0x00000012 
+ 00028900  0x0000597f istore  0x00000002 , 0x00000012 
+ 00028901  0x00005980 add  0x00000002 , 0x0000000a , 0x00000012 
+ 00028902  0x00005981 istore  0x00000002 , 0x00000012 
+ 00028903  0x00005982 rtn 
+ 00028904  0x00005984 jam  0x0000000a , 0x000002dc 
+ 00028905  0x00005985 call  0x000052de 
+ 00028906  0x00005987 setarg  0x00000007 
+ 00028907  0x00005988 istore  0x00000001 , 0x00000005 
+ 00028908  0x00005989 fetch  0x00000002 , 0x000004b0 
+ 00028909  0x0000598a istore  0x00000002 , 0x00000005 
+ 00028910  0x0000598e setarg  0x00000500 
+ 00028911  0x0000598f istore  0x00000002 , 0x00000005 
+ 00028912  0x00005992 setarg  0x00000200 
+ 00028913  0x00005993 istore  0x00000002 , 0x00000005 
+ 00028914  0x00005997 setarg  0x00000035 
+ 00028915  0x00005998 istore  0x00000003 , 0x00000005 
+ 00028916  0x00005999 rtn 
+ 00028917  0x0000599c ifetch  0x00000001 , 0x00000006 
+ 00028918  0x0000599d istore  0x00000001 , 0x00000005 
+ 00028919  0x0000599e increase  0x00000001 , 0x00000012 
+ 00028920  0x0000599f increase  0xffffffff , 0x00000011 
+ 00028921  0x000059a0 branch  0x000070fb , 0x00000005 
+ 00028922  0x000059a1 loop  0x000070f5 
+ 00028923  0x000059a3 copy  0x00000005 , 0x0000000b 
+ 00028924  0x000059a4 copy  0x00000012 , 0x0000003f 
+ 00028925  0x000059a5 store  0x00000002 , 0x000004ad 
+ 00028926  0x000059a6 copy  0x00000011 , 0x0000003f 
+ 00028927  0x000059a7 store  0x00000002 , 0x000004b2 
+ 00028928  0x000059a8 branch  0x00007117 , 0x00000034 
+ 00028929  0x000059a9 branch  0x00007152 , 0x00000028 
+ 00028930  0x000059aa copy  0x0000000b , 0x00000005 
+ 00028931  0x000059ac increase  0x00000001 , 0x00000007 
+ 00028932  0x000059ad fetch  0x00000001 , 0x000004dd 
+ 00028933  0x000059ae isub  0x00000007 , 0x0000003e 
+ 00028934  0x000059af nbranch  0x00007108 , 0x00000005 
+ 00028935  0x000059b0 branch  0x00007171 
+ 00028936  0x000059b2 arg  0x000004c5 , 0x00000006 
+ 00028937  0x000059b3 lshift2  0x00000007 , 0x0000003f 
+ 00028938  0x000059b4 iadd  0x00000006 , 0x00000006 
+ 00028939  0x000059b5 ifetch  0x00000004 , 0x00000006 
+ 00028940  0x000059b6 iforce  0x00000002 
+ 00028941  0x000059b7 call  0x0000731e 
+ 00028942  0x000059b8 copy  0x00000006 , 0x0000000b 
+ 00028943  0x000059b9 call  0x000072e8 
+ 00028944  0x000059ba add  0x0000003f , 0x00000003 , 0x00000039 
+ 00028945  0x000059bb fetch  0x00000002 , 0x000004b2 
+ 00028946  0x000059bc copy  0x0000003f , 0x00000011 
+ 00028947  0x000059bd fetch  0x00000002 , 0x000004ad 
+ 00028948  0x000059be copy  0x0000003f , 0x00000012 
+ 00028949  0x000059bf copy  0x0000000b , 0x00000006 
+ 00028950  0x000059c0 branch  0x000070f5 
+ 00028951  0x000059c2 arg  0x00000000 , 0x00000007 
+ 00028952  0x000059c3 arg  0x00000000 , 0x00000012 
+ 00028953  0x000059c5 arg  0x000004c5 , 0x00000006 
+ 00028954  0x000059c6 lshift2  0x00000007 , 0x0000003f 
+ 00028955  0x000059c7 iadd  0x00000006 , 0x00000006 
+ 00028956  0x000059c8 ifetch  0x00000004 , 0x00000006 
+ 00028957  0x000059c9 iforce  0x00000002 
+ 00028958  0x000059ca call  0x0000731e 
+ 00028959  0x000059cb call  0x000072e8 
+ 00028960  0x000059cc add  0x0000003f , 0x00000003 , 0x0000003f 
+ 00028961  0x000059cd iadd  0x00000012 , 0x00000012 
+ 00028962  0x000059ce increase  0x00000001 , 0x00000007 
+ 00028963  0x000059cf fetch  0x00000001 , 0x000004dd 
+ 00028964  0x000059d0 isub  0x00000007 , 0x0000003e 
+ 00028965  0x000059d1 nbranch  0x00007119 , 0x00000005 
+ 00028966  0x000059d3 copy  0x0000000b , 0x00000005 
+ 00028967  0x000059d4 force  0x00000002 , 0x0000003f 
+ 00028968  0x000059d5 istore  0x00000001 , 0x00000005 
+ 00028969  0x000059d6 fetch  0x00000002 , 0x000004ad 
+ 00028970  0x000059d7 byteswap  0x0000003f , 0x0000003f 
+ 00028971  0x000059d8 istore  0x00000002 , 0x00000005 
+ 00028972  0x000059d9 increase  0xfffffffd , 0x00000005 
+ 00028973  0x000059da fetcht  0x00000002 , 0x000002da 
+ 00028974  0x000059db add  0x00000002 , 0x0000000a , 0x0000003f 
+ 00028975  0x000059dc isub  0x00000005 , 0x0000003f 
+ 00028976  0x000059dd sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028977  0x000059de iforce  0x00000011 
+ 00028978  0x000059e0 deposit  0x00000012 
+ 00028979  0x000059e1 add  0x00000002 , 0x00000009 , 0x00000012 
+ 00028980  0x000059e2 istore  0x00000001 , 0x00000012 
+ 00028981  0x000059e3 rshift8  0x0000003f , 0x0000003f 
+ 00028982  0x000059e4 add  0x00000002 , 0x00000008 , 0x00000012 
+ 00028983  0x000059e5 istore  0x00000001 , 0x00000012 
+ 00028984  0x000059e6 increase  0x00000003 , 0x00000011 
+ 00028985  0x000059e7 deposit  0x00000011 
+ 00028986  0x000059e8 add  0x00000002 , 0x00000006 , 0x00000012 
+ 00028987  0x000059e9 istore  0x00000001 , 0x00000012 
+ 00028988  0x000059ea rshift8  0x0000003f , 0x0000003f 
+ 00028989  0x000059eb add  0x00000002 , 0x00000005 , 0x00000012 
+ 00028990  0x000059ec istore  0x00000001 , 0x00000012 
+ 00028991  0x000059ed increase  0x00000005 , 0x00000011 
+ 00028992  0x000059ee deposit  0x00000011 
+ 00028993  0x000059ef add  0x00000002 , 0x00000004 , 0x00000012 
+ 00028994  0x000059f0 istore  0x00000001 , 0x00000012 
+ 00028995  0x000059f1 rshift8  0x0000003f , 0x0000003f 
+ 00028996  0x000059f2 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00028997  0x000059f3 istore  0x00000001 , 0x00000012 
+ 00028998  0x000059f4 increase  0x00000005 , 0x00000011 
+ 00028999  0x000059f5 deposit  0x00000011 
+ 00029000  0x000059f6 store  0x00000002 , 0x000002dc 
+ 00029001  0x000059f7 setarg  0x00000007 
+ 00029002  0x000059f8 istore  0x00000001 , 0x00000002 
+ 00029003  0x000059f9 setarg  0x00000036 
+ 00029004  0x000059fa add  0x00000002 , 0x00000007 , 0x00000012 
+ 00029005  0x000059fb istore  0x00000001 , 0x00000012 
+ 00029006  0x000059fc add  0x00000002 , 0x00000001 , 0x00000012 
+ 00029007  0x000059fd fetch  0x00000002 , 0x000004b0 
+ 00029008  0x000059fe istore  0x00000002 , 0x00000012 
+ 00029009  0x000059ff rtn 
+ 00029010  0x00005a01 copy  0x0000000b , 0x00000005 
+ 00029011  0x00005a02 force  0x00000000 , 0x0000003f 
+ 00029012  0x00005a03 istore  0x00000001 , 0x00000005 
+ 00029013  0x00005a04 increase  0xffffffff , 0x00000005 
+ 00029014  0x00005a05 fetcht  0x00000002 , 0x000002da 
+ 00029015  0x00005a06 add  0x00000002 , 0x00000007 , 0x0000003f 
+ 00029016  0x00005a07 isub  0x00000005 , 0x0000003f 
+ 00029017  0x00005a08 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00029018  0x00005a09 iforce  0x00000011 
+ 00029019  0x00005a0b deposit  0x00000011 
+ 00029020  0x00005a0c add  0x00000002 , 0x00000006 , 0x00000012 
+ 00029021  0x00005a0d istore  0x00000001 , 0x00000012 
+ 00029022  0x00005a0e rshift8  0x0000003f , 0x0000003f 
+ 00029023  0x00005a0f add  0x00000002 , 0x00000005 , 0x00000012 
+ 00029024  0x00005a10 istore  0x00000001 , 0x00000012 
+ 00029025  0x00005a11 increase  0x00000003 , 0x00000011 
+ 00029026  0x00005a12 deposit  0x00000011 
+ 00029027  0x00005a13 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00029028  0x00005a14 istore  0x00000001 , 0x00000012 
+ 00029029  0x00005a15 rshift8  0x0000003f , 0x0000003f 
+ 00029030  0x00005a16 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00029031  0x00005a17 istore  0x00000001 , 0x00000012 
+ 00029032  0x00005a18 increase  0x00000005 , 0x00000011 
+ 00029033  0x00005a19 deposit  0x00000011 
+ 00029034  0x00005a1a store  0x00000002 , 0x000002dc 
+ 00029035  0x00005a1c setarg  0x00000007 
+ 00029036  0x00005a1d istore  0x00000001 , 0x00000002 
+ 00029037  0x00005a1f fetch  0x00000002 , 0x000004b0 
+ 00029038  0x00005a20 add  0x00000002 , 0x00000001 , 0x00000012 
+ 00029039  0x00005a21 istore  0x00000002 , 0x00000012 
+ 00029040  0x00005a22 rtn 
+ 00029041  0x00005a25 force  0x00000000 , 0x0000003f 
+ 00029042  0x00005a26 istore  0x00000001 , 0x00000005 
+ 00029043  0x00005a27 increase  0xffffffff , 0x00000005 
+ 00029044  0x00005a28 fetcht  0x00000002 , 0x000002da 
+ 00029045  0x00005a29 add  0x00000002 , 0x0000000a , 0x0000003f 
+ 00029046  0x00005a2a isub  0x00000005 , 0x0000003f 
+ 00029047  0x00005a2b sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00029048  0x00005a2c iforce  0x00000011 
+ 00029049  0x00005a2e deposit  0x00000011 
+ 00029050  0x00005a2f add  0x00000002 , 0x00000009 , 0x00000012 
+ 00029051  0x00005a30 istore  0x00000001 , 0x00000012 
+ 00029052  0x00005a31 rshift8  0x0000003f , 0x0000003f 
+ 00029053  0x00005a32 add  0x00000002 , 0x00000008 , 0x00000012 
+ 00029054  0x00005a33 istore  0x00000001 , 0x00000012 
+ 00029055  0x00005a35 increase  0x00000003 , 0x00000011 
+ 00029056  0x00005a36 deposit  0x00000011 
+ 00029057  0x00005a37 add  0x00000002 , 0x00000006 , 0x00000012 
+ 00029058  0x00005a38 istore  0x00000001 , 0x00000012 
+ 00029059  0x00005a39 rshift8  0x0000003f , 0x0000003f 
+ 00029060  0x00005a3a add  0x00000002 , 0x00000005 , 0x00000012 
+ 00029061  0x00005a3b istore  0x00000001 , 0x00000012 
+ 00029062  0x00005a3c increase  0x00000003 , 0x00000011 
+ 00029063  0x00005a3d deposit  0x00000011 
+ 00029064  0x00005a3e add  0x00000002 , 0x00000004 , 0x00000012 
+ 00029065  0x00005a3f istore  0x00000001 , 0x00000012 
+ 00029066  0x00005a40 rshift8  0x0000003f , 0x0000003f 
+ 00029067  0x00005a41 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00029068  0x00005a42 istore  0x00000001 , 0x00000012 
+ 00029069  0x00005a43 increase  0x00000005 , 0x00000011 
+ 00029070  0x00005a44 deposit  0x00000011 
+ 00029071  0x00005a45 store  0x00000002 , 0x000002dc 
+ 00029072  0x00005a46 setarg  0x00000036 
+ 00029073  0x00005a47 add  0x00000002 , 0x00000007 , 0x00000012 
+ 00029074  0x00005a48 istore  0x00000001 , 0x00000012 
+ 00029075  0x00005a49 setarg  0x00000007 
+ 00029076  0x00005a4a istore  0x00000001 , 0x00000002 
+ 00029077  0x00005a4b fetch  0x00000002 , 0x000004b0 
+ 00029078  0x00005a4c add  0x00000002 , 0x00000001 , 0x00000012 
+ 00029079  0x00005a4d istore  0x00000002 , 0x00000012 
+ 00029080  0x00005a4e rtn 
+ 00029081  0x00005a50 copy  0x00000006 , 0x0000000b 
+ 00029082  0x00005a51 ifetch  0x00000001 , 0x00000006 
+ 00029083  0x00005a52 and  0x0000003f , 0x00000007 , 0x00000039 
+ 00029084  0x00005a53 rshift3  0x0000003f , 0x0000003f 
+ 00029085  0x00005a54 beq  0x00000006 , 0x000071a2 
+ 00029086  0x00005a55 beq  0x00000001 , 0x000072e0 
+ 00029087  0x00005a56 beq  0x00000004 , 0x000072e5 
+ 00029088  0x00005a57 beq  0x00000005 , 0x000072e3 
+ 00029089  0x00005a58 branch  0x000072de 
+ 00029090  0x00005a5a call  0x000071a4 
+ 00029091  0x00005a5b branch  0x000072de 
+ 00029092  0x00005a5d deposit  0x00000039 
+ 00029093  0x00005a5e beq  0x00000005 , 0x000071a9 
+ 00029094  0x00005a5f beq  0x00000006 , 0x000071ac 
+ 00029095  0x00005a60 force  0x00000003 , 0x00000039 
+ 00029096  0x00005a61 branch  0x000072ef 
+ 00029097  0x00005a63 ifetch  0x00000001 , 0x00000006 
+ 00029098  0x00005a64 increase  0x00000002 , 0x0000003f 
+ 00029099  0x00005a65 rtn 
+ 00029100  0x00005a67 ifetch  0x00000002 , 0x00000006 
+ 00029101  0x00005a68 byteswap  0x0000003f , 0x0000003f 
+ 00029102  0x00005a69 increase  0x00000003 , 0x0000003f 
+ 00029103  0x00005a6a rtn 
+ 00029104  0x00005a6d call  0x000052de 
+ 00029105  0x00005a6e copy  0x0000003f , 0x00000005 
+ 00029106  0x00005a6f setarg  0x00000006 
+ 00029107  0x00005a70 istore  0x00000001 , 0x00000005 
+ 00029108  0x00005a71 setarg  0x0000006e 
+ 00029109  0x00005a72 istore  0x00000002 , 0x00000005 
+ 00029110  0x00005a73 setarg  0x00000f00 
+ 00029111  0x00005a74 istore  0x00000002 , 0x00000005 
+ 00029112  0x00005a75 setarg  0x001a0535 
+ 00029113  0x00005a76 istore  0x00000003 , 0x00000005 
+ 00029114  0x00005a77 setarg  0x00000111 
+ 00029115  0x00005a78 lshift16  0x0000003f , 0x0000003f 
+ 00029116  0x00005a79 istore  0x00000004 , 0x00000005 
+ 00029117  0x00005a7a setarg  0x00002600 
+ 00029118  0x00005a7b istore  0x00000002 , 0x00000005 
+ 00029119  0x00005a7c setarg  0x00000335 
+ 00029120  0x00005a7d istore  0x00000002 , 0x00000005 
+ 00029121  0x00005a7e setarg  0x00000009 
+ 00029122  0x00005a7f istore  0x00000002 , 0x00000005 
+ 00029123  0x00005a80 setarg  0x00000004 
+ 00029124  0x00005a81 istore  0x00000002 , 0x00000005 
+ 00029125  0x00005a82 jam  0x00000014 , 0x000002dc 
+ 00029126  0x00005a83 rtn 
+ 00029127  0x00005a8e copy  0x00000006 , 0x00000002 
+ 00029128  0x00005a8f fetch  0x00000002 , 0x000004b0 
+ 00029129  0x00005a90 beq  0x0000006e , 0x000071cb 
+ 00029130  0x00005a93 branch  0x000071d4 
+ 00029131  0x00005a96 copy  0x00000002 , 0x00000006 
+ 00029132  0x00005a97 increase  0xfffffffd , 0x0000000b 
+ 00029133  0x00005a98 copy  0x0000000b , 0x0000003f 
+ 00029134  0x00005a99 beq  0x00000002 , 0x000071d4 
+ 00029135  0x00005a9a call  0x000071d5 
+ 00029136  0x00005a9b rtn  0x00000028 
+ 00029137  0x00005a9c store  0x00000001 , 0x00004752 
+ 00029138  0x00005a9d jam  0x00000017 , 0x000002ec 
+ 00029139  0x00005a9e rtn 
+ 00029140  0x00005aa1 rtn 
+ 00029141  0x00005aa8 enable  0x00000028 
+ 00029142  0x00005aa9 copy  0x0000003f , 0x00000039 
+ 00029143  0x00005aaa arg  0x00000400 , 0x00000002 
+ 00029144  0x00005aac ifetch  0x00000002 , 0x00000006 
+ 00029145  0x00005aad isub  0x00000002 , 0x0000003e 
+ 00029146  0x00005aae branch  0x000071de , 0x00000005 
+ 00029147  0x00005aaf increase  0xffffffff , 0x00000006 
+ 00029148  0x00005ab0 loop  0x000071d8 
+ 00029149  0x00005ab1 rtn 
+ 00029150  0x00005ab3 arg  0x00000300 , 0x00000002 
+ 00029151  0x00005ab5 ifetch  0x00000002 , 0x00000006 
+ 00029152  0x00005ab6 isub  0x00000002 , 0x0000003e 
+ 00029153  0x00005ab7 branch  0x000071e5 , 0x00000005 
+ 00029154  0x00005ab8 increase  0xffffffff , 0x00000006 
+ 00029155  0x00005ab9 loop  0x000071df 
+ 00029156  0x00005aba rtn 
+ 00029157  0x00005abc ifetch  0x00000001 , 0x00000006 
+ 00029158  0x00005abd ifetch  0x00000001 , 0x00000006 
+ 00029159  0x00005abe disable  0x00000028 
+ 00029160  0x00005abf rtn 
+ 00029161  0x00005acb call  0x000072a4 
+ 00029162  0x00005acc branch  0x00007236 , 0x00000005 
+ 00029163  0x00005acd force  0x00000000 , 0x00000012 
+ 00029164  0x00005ace ifetch  0x00000001 , 0x00000006 
+ 00029165  0x00005acf increase  0xffffffff , 0x00000011 
+ 00029166  0x00005ad0 increase  0xffffffff , 0x0000000b 
+ 00029167  0x00005ad1 compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00029168  0x00005ad2 nbranch  0x00007230 , 0x00000001 
+ 00029169  0x00005ad3 compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00029170  0x00005ad4 nbranch  0x000071f8 , 0x00000001 
+ 00029171  0x00005ad5 force  0x00000001 , 0x00000012 
+ 00029172  0x00005ad7 increase  0x00000002 , 0x00000006 
+ 00029173  0x00005ad8 increase  0xfffffffe , 0x00000011 
+ 00029174  0x00005ad9 increase  0xfffffffe , 0x0000000b 
+ 00029175  0x00005ada branch  0x000071fd 
+ 00029176  0x00005adc compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00029177  0x00005add nbranch  0x000071fb , 0x00000001 
+ 00029178  0x00005ade branch  0x000071f4 
+ 00029179  0x00005ae0 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00029180  0x00005ae1 nbranch  0x00007230 , 0x00000001 
+ 00029181  0x00005ae3 ifetch  0x00000001 , 0x00000006 
+ 00029182  0x00005ae4 increase  0xffffffff , 0x00000011 
+ 00029183  0x00005ae5 increase  0xffffffff , 0x0000000b 
+ 00029184  0x00005ae6 bne  0x00000001 , 0x00007207 
+ 00029185  0x00005ae7 ifetch  0x00000001 , 0x00000006 
+ 00029186  0x00005ae8 increase  0xffffffff , 0x00000011 
+ 00029187  0x00005ae9 increase  0xffffffff , 0x0000000b 
+ 00029188  0x00005aea bne  0x00000000 , 0x00007230 
+ 00029189  0x00005aeb jam  0x000000ff , 0x000004c3 
+ 00029190  0x00005aec branch  0x00007230 
+ 00029191  0x00005aee bne  0x00000000 , 0x00007230 
+ 00029192  0x00005aef ifetch  0x00000001 , 0x00000006 
+ 00029193  0x00005af0 increase  0xffffffff , 0x00000011 
+ 00029194  0x00005af1 increase  0xffffffff , 0x0000000b 
+ 00029195  0x00005af2 bne  0x00000003 , 0x00007230 
+ 00029196  0x00005af3 copy  0x00000012 , 0x0000003e 
+ 00029197  0x00005af4 branch  0x00007210 , 0x00000005 
+ 00029198  0x00005af5 increase  0xfffffff4 , 0x00000006 
+ 00029199  0x00005af6 increase  0xfffffff4 , 0x0000000b 
+ 00029200  0x00005af8 force  0x000000ff , 0x0000003f 
+ 00029201  0x00005af9 store  0x00000001 , 0x000004c4 
+ 00029202  0x00005afa ifetch  0x00000001 , 0x00000006 
+ 00029203  0x00005afb increase  0xffffffff , 0x00000011 
+ 00029204  0x00005afc increase  0xffffffff , 0x0000000b 
+ 00029205  0x00005afd compare  0x00000008 , 0x0000003f , 0x000000f8 
+ 00029206  0x00005afe nbranch  0x00007230 , 0x00000001 
+ 00029207  0x00005aff compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00029208  0x00005b00 branch  0x0000722d , 0x00000001 
+ 00029209  0x00005b01 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00029210  0x00005b02 branch  0x0000722a , 0x00000001 
+ 00029211  0x00005b03 compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00029212  0x00005b04 branch  0x00007227 , 0x00000001 
+ 00029213  0x00005b05 compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00029214  0x00005b06 branch  0x00007224 , 0x00000001 
+ 00029215  0x00005b07 compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00029216  0x00005b08 nbranch  0x00007230 , 0x00000001 
+ 00029217  0x00005b09 increase  0x00000008 , 0x00000006 
+ 00029218  0x00005b0a increase  0xfffffff8 , 0x00000011 
+ 00029219  0x00005b0b increase  0xfffffff8 , 0x0000000b 
+ 00029220  0x00005b0d increase  0x00000004 , 0x00000006 
+ 00029221  0x00005b0e increase  0xfffffffc , 0x00000011 
+ 00029222  0x00005b0f increase  0xfffffffc , 0x0000000b 
+ 00029223  0x00005b11 increase  0x00000002 , 0x00000006 
+ 00029224  0x00005b12 increase  0xfffffffe , 0x00000011 
+ 00029225  0x00005b13 increase  0xfffffffe , 0x0000000b 
+ 00029226  0x00005b15 increase  0x00000001 , 0x00000006 
+ 00029227  0x00005b16 increase  0xffffffff , 0x00000011 
+ 00029228  0x00005b17 increase  0xffffffff , 0x0000000b 
+ 00029229  0x00005b19 ifetch  0x00000001 , 0x00000006 
+ 00029230  0x00005b1a increase  0xffffffff , 0x00000011 
+ 00029231  0x00005b1b increase  0xffffffff , 0x0000000b 
+ 00029232  0x00005b1d increase  0xffffffff , 0x0000000b 
+ 00029233  0x00005b1e increase  0xffffffff , 0x00000011 
+ 00029234  0x00005b1f branch  0x00007230 , 0x00000002 
+ 00029235  0x00005b20 increase  0x00000001 , 0x0000000b 
+ 00029236  0x00005b21 force  0x00000001 , 0x0000003f 
+ 00029237  0x00005b22 rtn ,
+ 00029238  0x00005b24 force  0x00000000 , 0x0000003f 
+ 00029239  0x00005b25 rtn ,
+ 00029240  0x00005b28 setarg  0x00000200 
+ 00029241  0x00005b29 store  0x00000002 , 0x000004b6 
+ 00029242  0x00005b2a branch  0x00007243 
+ 00029243  0x00005b2c setarg  0x00000400 
+ 00029244  0x00005b2d store  0x00000002 , 0x000004b6 
+ 00029245  0x00005b2e branch  0x00007243 
+ 00029246  0x00005b30 setarg  0x00000600 
+ 00029247  0x00005b31 store  0x00000002 , 0x000004b6 
+ 00029248  0x00005b32 branch  0x00007243 
+ 00029249  0x00005b34 setarg  0x00000300 
+ 00029250  0x00005b35 store  0x00000002 , 0x000004b6 
+ 00029251  0x00005b37 call  0x000052de 
+ 00029252  0x00005b38 istore  0x00000001 , 0x00000005 
+ 00029253  0x00005b39 fetch  0x00000002 , 0x000004b0 
+ 00029254  0x00005b3a istore  0x00000002 , 0x00000005 
+ 00029255  0x00005b3b setarg  0x00000200 
+ 00029256  0x00005b3c istore  0x00000002 , 0x00000005 
+ 00029257  0x00005b3d fetch  0x00000002 , 0x000004b6 
+ 00029258  0x00005b3e istore  0x00000002 , 0x00000005 
+ 00029259  0x00005b3f jam  0x00000007 , 0x000002dc 
+ 00029260  0x00005b40 rtn 
+ 00029261  0x00005b43 force  0x00000000 , 0x00000002 
+ 00029262  0x00005b44 arg  0x000004a9 , 0x00000005 
+ 00029263  0x00005b45 call  0x000072a4 
+ 00029264  0x00005b46 branch  0x000072a2 , 0x00000005 
+ 00029265  0x00005b48 ifetch  0x00000001 , 0x00000006 
+ 00029266  0x00005b49 increase  0xffffffff , 0x00000011 
+ 00029267  0x00005b4a increase  0xffffffff , 0x0000000b 
+ 00029268  0x00005b4b compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00029269  0x00005b4c nbranch  0x000072a2 , 0x00000001 
+ 00029270  0x00005b4d compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00029271  0x00005b4e nbranch  0x0000726e , 0x00000001 
+ 00029272  0x00005b4f force  0x00000001 , 0x00000002 
+ 00029273  0x00005b51 ifetch  0x00000001 , 0x00000006 
+ 00029274  0x00005b52 increase  0xffffffff , 0x00000011 
+ 00029275  0x00005b53 increase  0xffffffff , 0x0000000b 
+ 00029276  0x00005b54 bne  0x00000000 , 0x00007262 
+ 00029277  0x00005b55 ifetch  0x00000001 , 0x00000006 
+ 00029278  0x00005b56 increase  0xffffffff , 0x00000011 
+ 00029279  0x00005b57 increase  0xffffffff , 0x0000000b 
+ 00029280  0x00005b58 beq  0x00000000 , 0x00007273 
+ 00029281  0x00005b59 branch  0x00007265 
+ 00029282  0x00005b5b increase  0x00000001 , 0x00000006 
+ 00029283  0x00005b5c increase  0xffffffff , 0x00000011 
+ 00029284  0x00005b5d increase  0xffffffff , 0x0000000b 
+ 00029285  0x00005b5f increase  0x00000002 , 0x00000006 
+ 00029286  0x00005b60 increase  0xfffffffe , 0x00000011 
+ 00029287  0x00005b61 increase  0xfffffffe , 0x0000000b 
+ 00029288  0x00005b62 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00029289  0x00005b63 branch  0x0000729d , 0x00000001 
+ 00029290  0x00005b64 increase  0x0000000c , 0x00000006 
+ 00029291  0x00005b65 increase  0xfffffff4 , 0x00000011 
+ 00029292  0x00005b66 increase  0xfffffff4 , 0x0000000b 
+ 00029293  0x00005b67 branch  0x0000729d 
+ 00029294  0x00005b69 compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00029295  0x00005b6a nbranch  0x00007271 , 0x00000001 
+ 00029296  0x00005b6b branch  0x00007259 
+ 00029297  0x00005b6d compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00029298  0x00005b6e nbranch  0x000072a2 , 0x00000001 
+ 00029299  0x00005b70 ifetch  0x00000002 , 0x00000006 
+ 00029300  0x00005b71 increase  0xfffffffe , 0x00000011 
+ 00029301  0x00005b72 increase  0xfffffffe , 0x0000000b 
+ 00029302  0x00005b73 istore  0x00000002 , 0x00000005 
+ 00029303  0x00005b75 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00029304  0x00005b76 branch  0x0000729d , 0x00000001 
+ 00029305  0x00005b77 copy  0x00000006 , 0x00000002 
+ 00029306  0x00005b78 ifetch  0x00000001 , 0x00000006 
+ 00029307  0x00005b79 bne  0x00000000 , 0x00007292 
+ 00029308  0x00005b7a ifetch  0x00000001 , 0x00000006 
+ 00029309  0x00005b7b bne  0x00000000 , 0x00007292 
+ 00029310  0x00005b7c ifetch  0x00000001 , 0x00000006 
+ 00029311  0x00005b7d bne  0x00000010 , 0x00007292 
+ 00029312  0x00005b7e ifetch  0x00000001 , 0x00000006 
+ 00029313  0x00005b7f bne  0x00000000 , 0x00007292 
+ 00029314  0x00005b80 ifetch  0x00000001 , 0x00000006 
+ 00029315  0x00005b81 bne  0x00000080 , 0x00007292 
+ 00029316  0x00005b82 ifetch  0x00000001 , 0x00000006 
+ 00029317  0x00005b83 bne  0x00000000 , 0x00007292 
+ 00029318  0x00005b84 ifetch  0x00000001 , 0x00000006 
+ 00029319  0x00005b85 bne  0x00000000 , 0x00007292 
+ 00029320  0x00005b86 ifetch  0x00000001 , 0x00000006 
+ 00029321  0x00005b87 bne  0x00000080 , 0x00007292 
+ 00029322  0x00005b88 ifetch  0x00000001 , 0x00000006 
+ 00029323  0x00005b89 bne  0x0000005f , 0x00007292 
+ 00029324  0x00005b8a ifetch  0x00000001 , 0x00000006 
+ 00029325  0x00005b8b bne  0x0000009b , 0x00007292 
+ 00029326  0x00005b8c ifetch  0x00000001 , 0x00000006 
+ 00029327  0x00005b8d bne  0x00000034 , 0x00007292 
+ 00029328  0x00005b8e ifetch  0x00000001 , 0x00000006 
+ 00029329  0x00005b8f beq  0x000000fb , 0x0000729b 
+ 00029330  0x00005b91 copy  0x00000002 , 0x00000006 
+ 00029331  0x00005b93 increase  0x0000000c , 0x00000006 
+ 00029332  0x00005b94 force  0x00000000 , 0x00000007 
+ 00029333  0x00005b95 force  0x00000000 , 0x00000002 
+ 00029334  0x00005b96 branch  0x0000729b 
+ 00029335  0x00005b98 ifetch  0x00000001 , 0x00000006 
+ 00029336  0x00005b99 increase  0xffffffff , 0x00000011 
+ 00029337  0x00005b9a increase  0xffffffff , 0x0000000b 
+ 00029338  0x00005b9b branch  0x00007277 
+ 00029339  0x00005b9d increase  0xfffffff4 , 0x0000000b 
+ 00029340  0x00005b9e increase  0xfffffff4 , 0x00000011 
+ 00029341  0x00005ba0 compare  0x00000000 , 0x00000011 , 0x000000ff 
+ 00029342  0x00005ba1 nbranch  0x00007251 , 0x00000001 
+ 00029343  0x00005ba2 force  0x00000000 , 0x0000003f 
+ 00029344  0x00005ba3 istore  0x00000002 , 0x00000005 
+ 00029345  0x00005ba4 rtn ,
+ 00029346  0x00005ba6 arg  0x000000ff , 0x00000002 
+ 00029347  0x00005ba7 rtn 
+ 00029348  0x00005bb2 ifetch  0x00000001 , 0x00000006 
+ 00029349  0x00005bb3 increase  0xffffffff , 0x0000000b 
+ 00029350  0x00005bb4 compare  0x00000030 , 0x0000003f , 0x000000f8 
+ 00029351  0x00005bb5 nbranch  0x000072b9 , 0x00000001 
+ 00029352  0x00005bb6 compare  0x00000007 , 0x0000003f , 0x00000007 
+ 00029353  0x00005bb7 branch  0x000072b2 , 0x00000001 
+ 00029354  0x00005bb8 compare  0x00000006 , 0x0000003f , 0x00000007 
+ 00029355  0x00005bb9 branch  0x000072b4 , 0x00000001 
+ 00029356  0x00005bba compare  0x00000005 , 0x0000003f , 0x00000007 
+ 00029357  0x00005bbb nbranch  0x000072b9 , 0x00000001 
+ 00029358  0x00005bbc ifetch  0x00000001 , 0x00000006 
+ 00029359  0x00005bbd copy  0x0000003f , 0x00000011 
+ 00029360  0x00005bbe increase  0xffffffff , 0x0000000b 
+ 00029361  0x00005bbf branch  0x000072b7 
+ 00029362  0x00005bc1 increase  0x00000002 , 0x00000006 
+ 00029363  0x00005bc2 increase  0xfffffffe , 0x0000000b 
+ 00029364  0x00005bc4 ifetch  0x00000002 , 0x00000006 
+ 00029365  0x00005bc5 byteswap  0x0000003f , 0x00000011 
+ 00029366  0x00005bc6 increase  0xfffffffe , 0x0000000b 
+ 00029367  0x00005bc9 force  0x00000001 , 0x0000003f 
+ 00029368  0x00005bca rtn 
+ 00029369  0x00005bcd force  0x00000000 , 0x0000003f 
+ 00029370  0x00005bce rtn 
+ 00029371  0x00005bd9 setarg  0x00000003 
+ 00029372  0x00005bda store  0x00000001 , 0x000004af 
+ 00029373  0x00005bdb branch  0x000072c0 
+ 00029374  0x00005bdd setarg  0x00000007 
+ 00029375  0x00005bde store  0x00000001 , 0x000004af 
+ 00029376  0x00005be0 call  0x000052de 
+ 00029377  0x00005be1 fetch  0x00000001 , 0x000004af 
+ 00029378  0x00005be2 istore  0x00000001 , 0x00000005 
+ 00029379  0x00005be3 copy  0x0000003f , 0x00000012 
+ 00029380  0x00005be4 fetch  0x00000002 , 0x000004b0 
+ 00029381  0x00005be5 istore  0x00000002 , 0x00000005 
+ 00029382  0x00005be7 setarg  0x00000500 
+ 00029383  0x00005be8 istore  0x00000002 , 0x00000005 
+ 00029384  0x00005be9 compare  0x00000005 , 0x00000012 , 0x000000ff 
+ 00029385  0x00005bea branch  0x000072d0 , 0x00000001 
+ 00029386  0x00005beb compare  0x00000007 , 0x00000012 , 0x000000ff 
+ 00029387  0x00005bec branch  0x000072d0 , 0x00000001 
+ 00029388  0x00005bed setarg  0x00000000 
+ 00029389  0x00005bee istore  0x00000003 , 0x00000005 
+ 00029390  0x00005bef istore  0x00000002 , 0x00000005 
+ 00029391  0x00005bf0 branch  0x000072d4 
+ 00029392  0x00005bf9 setarg  0x00350200 
+ 00029393  0x00005bfa istore  0x00000003 , 0x00000005 
+ 00029394  0x00005bff setarg  0x00000000 
+ 00029395  0x00005c00 istore  0x00000002 , 0x00000005 
+ 00029396  0x00005c02 jam  0x0000000a , 0x000002dc 
+ 00029397  0x00005c03 rtn 
+ 00029398  0x00005c06 copy  0x00000006 , 0x0000000b 
+ 00029399  0x00005c07 ifetch  0x00000001 , 0x00000006 
+ 00029400  0x00005c08 and  0x0000003f , 0x00000007 , 0x00000039 
+ 00029401  0x00005c09 rshift3  0x0000003f , 0x0000003f 
+ 00029402  0x00005c0a beq  0x00000006 , 0x000072e5 
+ 00029403  0x00005c0b beq  0x00000001 , 0x000072e0 
+ 00029404  0x00005c0c beq  0x00000004 , 0x000072e5 
+ 00029405  0x00005c0d beq  0x00000005 , 0x000072e3 
+ 00029406  0x00005c0f copy  0x0000000b , 0x00000006 
+ 00029407  0x00005c10 rtn 
+ 00029408  0x00005c12 call  0x00007301 
+ 00029409  0x00005c13 increase  0x00000001 , 0x0000003f 
+ 00029410  0x00005c14 branch  0x000072de 
+ 00029411  0x00005c16 force  0x00000002 , 0x0000003f 
+ 00029412  0x00005c17 branch  0x000072de 
+ 00029413  0x00005c19 call  0x000072f7 
+ 00029414  0x00005c1a increase  0x00000002 , 0x0000003f 
+ 00029415  0x00005c1b branch  0x000072de 
+ 00029416  0x00005c1e ifetch  0x00000001 , 0x00000006 
+ 00029417  0x00005c1f and  0x0000003f , 0x00000007 , 0x00000039 
+ 00029418  0x00005c20 rshift3  0x0000003f , 0x0000003f 
+ 00029419  0x00005c21 beq  0x00000006 , 0x000072f7 
+ 00029420  0x00005c22 beq  0x00000001 , 0x000072ef 
+ 00029421  0x00005c23 beq  0x00000005 , 0x000072fc 
+ 00029422  0x00005c24 rtn 
+ 00029423  0x00005c26 call  0x00007301 
+ 00029424  0x00005c27 iforce  0x00000039 
+ 00029425  0x00005c28 force  0x00000000 , 0x00000002 
+ 00029426  0x00005c2a lshift8  0x00000002 , 0x00000002 
+ 00029427  0x00005c2b ifetch  0x00000001 , 0x00000006 
+ 00029428  0x00005c2c ior  0x00000002 , 0x00000002 
+ 00029429  0x00005c2d loop  0x000072f2 
+ 00029430  0x00005c2e rtn 
+ 00029431  0x00005c30 deposit  0x00000039 
+ 00029432  0x00005c31 beq  0x00000005 , 0x000072fc 
+ 00029433  0x00005c32 beq  0x00000006 , 0x000072fe 
+ 00029434  0x00005c33 force  0x00000003 , 0x00000039 
+ 00029435  0x00005c34 branch  0x000072ef 
+ 00029436  0x00005c36 ifetch  0x00000001 , 0x00000006 
+ 00029437  0x00005c37 rtn 
+ 00029438  0x00005c39 ifetch  0x00000002 , 0x00000006 
+ 00029439  0x00005c3a byteswap  0x0000003f , 0x0000003f 
+ 00029440  0x00005c3b rtn 
+ 00029441  0x00005c3f force  0x00000001 , 0x0000003f 
+ 00029442  0x00005c40 copy  0x00000039 , 0x0000003e 
+ 00029443  0x00005c41 rtn  0x00000005 
+ 00029444  0x00005c43 lshift  0x0000003f , 0x0000003f 
+ 00029445  0x00005c44 loop  0x00007304 
+ 00029446  0x00005c45 rtn 
+ 00029447  0x00005c4b iforce  0x00000013 
+ 00029448  0x00005c4c set1  0x00000025 , 0x00000000 
+ 00029449  0x00005c4d bpatch  0x000000e9 , 0x0000403d 
+ 00029450  0x00005c4e force  0x00000000 , 0x00000007 
+ 00029451  0x00005c4f fetch  0x00000002 , 0x00004759 
+ 00029452  0x00005c50 iforce  0x00000006 
+ 00029453  0x00005c51 arg  0x000004c5 , 0x00000005 
+ 00029454  0x00005c53 disable  0x00000028 
+ 00029455  0x00005c54 ifetch  0x00000001 , 0x00000006 
+ 00029456  0x00005c55 rtn  0x00000034 
+ 00029457  0x00005c56 iforce  0x00000039 
+ 00029458  0x00005c58 ifetch  0x00000002 , 0x00000006 
+ 00029459  0x00005c59 isub  0x00000013 , 0x0000003e 
+ 00029460  0x00005c5a nbranch  0x00007316 , 0x00000005 
+ 00029461  0x00005c5b enable  0x00000028 
+ 00029462  0x00005c5d loop  0x00007312 
+ 00029463  0x00005c5e ifetch  0x00000004 , 0x00000006 
+ 00029464  0x00005c5f nbranch  0x0000731b , 0x00000028 
+ 00029465  0x00005c60 istore  0x00000004 , 0x00000005 
+ 00029466  0x00005c61 increase  0x00000001 , 0x00000007 
+ 00029467  0x00005c63 call  0x000072e8 
+ 00029468  0x00005c64 iadd  0x00000006 , 0x00000006 
+ 00029469  0x00005c65 branch  0x0000730e 
+ 00029470  0x00005c69 fetch  0x00000002 , 0x00004759 
+ 00029471  0x00005c6a iforce  0x00000006 
+ 00029472  0x00005c6c ifetch  0x00000001 , 0x00000006 
+ 00029473  0x00005c6d rtn  0x00000034 
+ 00029474  0x00005c6e lshift  0x0000003f , 0x0000003f 
+ 00029475  0x00005c6f iadd  0x00000006 , 0x00000006 
+ 00029476  0x00005c70 ifetch  0x00000004 , 0x00000006 
+ 00029477  0x00005c71 isub  0x00000002 , 0x0000003e 
+ 00029478  0x00005c72 rtn  0x00000005 
+ 00029479  0x00005c73 call  0x000072e8 
+ 00029480  0x00005c74 iadd  0x00000006 , 0x00000006 
+ 00029481  0x00005c75 branch  0x00007320 
+ 00029482  0x00005c7d set1  0x00000025 , 0x00000000 
+ 00029483  0x00005c7e bpatch  0x000000ea , 0x0000403d 
+ 00029484  0x00005c7f fetch  0x00000002 , 0x00004759 
+ 00029485  0x00005c80 iforce  0x00000006 
+ 00029486  0x00005c82 ifetch  0x00000001 , 0x00000006 
+ 00029487  0x00005c83 branch  0x0000734b , 0x00000034 
+ 00029488  0x00005c84 iforce  0x00000039 
+ 00029489  0x00005c86 ifetch  0x00000002 , 0x00000006 
+ 00029490  0x00005c87 isub  0x00000013 , 0x0000003e 
+ 00029491  0x00005c88 branch  0x00007339 , 0x00000005 
+ 00029492  0x00005c89 loop  0x00007331 
+ 00029493  0x00005c8a increase  0x00000004 , 0x00000006 
+ 00029494  0x00005c8b call  0x000072e8 
+ 00029495  0x00005c8c iadd  0x00000006 , 0x00000006 
+ 00029496  0x00005c8d branch  0x0000732e 
+ 00029497  0x00005c8f increase  0xffffffff , 0x00000039 
+ 00029498  0x00005c90 lshift  0x00000039 , 0x0000003f 
+ 00029499  0x00005c91 iadd  0x00000006 , 0x00000006 
+ 00029500  0x00005c92 increase  0x00000004 , 0x00000006 
+ 00029501  0x00005c93 call  0x000072e8 
+ 00029502  0x00005c94 iadd  0x00000006 , 0x00000002 
+ 00029503  0x00005c96 increase  0x00000001 , 0x00000006 
+ 00029504  0x00005c97 ifetch  0x00000002 , 0x00000006 
+ 00029505  0x00005c98 isub  0x00000012 , 0x0000000b 
+ 00029506  0x00005c9a setflag  0x00000005 , 0x00000000 , 0x0000003f 
+ 00029507  0x00005c9b copy  0x0000000b , 0x0000000b 
+ 00029508  0x00005c9c rtn  0x00000005 
+ 00029509  0x00005c9d call  0x000072d6 
+ 00029510  0x00005c9e iadd  0x00000006 , 0x00000006 
+ 00029511  0x00005c9f deposit  0x00000002 
+ 00029512  0x00005ca0 isub  0x00000006 , 0x0000003e 
+ 00029513  0x00005ca1 branch  0x0000734b , 0x00000005 
+ 00029514  0x00005ca2 branch  0x0000733f 
+ 00029515  0x00005ca4 force  0x00000000 , 0x00000006 
+ 00029516  0x00005ca5 force  0x00000000 , 0x0000003f 
+ 00029517  0x00005ca6 rtn 
+ 00029518  0x00005cad set1  0x00000025 , 0x00000000 
+ 00029519  0x00005cae bpatch  0x000000eb , 0x0000403d 
+ 00029520  0x00005caf fetch  0x00000002 , 0x00004759 
+ 00029521  0x00005cb0 iforce  0x00000006 
+ 00029522  0x00005cb2 ifetch  0x00000001 , 0x00000006 
+ 00029523  0x00005cb3 branch  0x00007368 , 0x00000034 
+ 00029524  0x00005cb4 lshift  0x0000003f , 0x0000003f 
+ 00029525  0x00005cb5 iadd  0x00000006 , 0x00000006 
+ 00029526  0x00005cb6 ifetch  0x00000004 , 0x00000006 
+ 00029527  0x00005cb7 isub  0x00000002 , 0x0000003e 
+ 00029528  0x00005cb8 branch  0x0000735c , 0x00000005 
+ 00029529  0x00005cb9 call  0x000072e8 
+ 00029530  0x00005cba iadd  0x00000006 , 0x00000006 
+ 00029531  0x00005cbb branch  0x00007352 
+ 00029532  0x00005cbd call  0x000072e8 
+ 00029533  0x00005cbe iadd  0x00000006 , 0x00000002 
+ 00029534  0x00005cc0 increase  0x00000001 , 0x00000006 
+ 00029535  0x00005cc1 ifetch  0x00000002 , 0x00000006 
+ 00029536  0x00005cc2 isub  0x00000012 , 0x0000003e 
+ 00029537  0x00005cc3 rtn  0x00000005 
+ 00029538  0x00005cc4 call  0x000072d6 
+ 00029539  0x00005cc5 iadd  0x00000006 , 0x00000006 
+ 00029540  0x00005cc6 deposit  0x00000002 
+ 00029541  0x00005cc7 isub  0x00000006 , 0x0000003e 
+ 00029542  0x00005cc8 branch  0x00007368 , 0x00000005 
+ 00029543  0x00005cc9 branch  0x0000735e 
+ 00029544  0x00005ccb force  0x00000000 , 0x00000006 
+ 00029545  0x00005ccc rtn 
+ 00029546  0x00005cd0 call  0x0000737d 
+ 00029547  0x00005cd1 arg  0x0000051f , 0x00000006 
+ 00029548  0x00005cd2 arg  0x0000050f , 0x00000005 
+ 00029549  0x00005cd3 branch  0x00007e35 
+ 00029550  0x00005cd7 disable  0x00000028 
+ 00029551  0x00005cd8 call  0x00007474 
+ 00029552  0x00005cd9 arg  0x000004ef , 0x00000006 
+ 00029553  0x00005cda arg  0x0000052f , 0x00000005 
+ 00029554  0x00005cdb force  0x0000000f , 0x00000039 
+ 00029555  0x00005cdc call  0x00007e45 
+ 00029556  0x00005cdd ifetch  0x00000001 , 0x00000006 
+ 00029557  0x00005cde xor_into  0x00000006 , 0x0000003f 
+ 00029558  0x00005cdf istore  0x00000001 , 0x00000005 
+ 00029559  0x00005ce0 setarg  0x0000053f 
+ 00029560  0x00005ce1 store  0x00000002 , 0x00000574 
+ 00029561  0x00005ce2 setarg  0x0000052f 
+ 00029562  0x00005ce3 store  0x00000002 , 0x00000572 
+ 00029563  0x00005ce4 set1  0x00000012 , 0x00000000 
+ 00029564  0x00005ce5 branch  0x000073bd 
+ 00029565  0x00005cea fetcht  0x00000001 , 0x0000054f 
+ 00029566  0x00005ceb force  0x00000010 , 0x00000012 
+ 00029567  0x00005cec add  0x00000002 , 0x00000006 , 0x00000013 
+ 00029568  0x00005ced sub  0x00000013 , 0x00000010 , 0x0000003e 
+ 00029569  0x00005cee branch  0x00007383 , 0x00000002 
+ 00029570  0x00005cef force  0x00000010 , 0x00000013 
+ 00029571  0x00005cf1 arg  0x0000052f , 0x00000005 
+ 00029572  0x00005cf3 arg  0x00000550 , 0x00000006 
+ 00029573  0x00005cf4 copy  0x00000002 , 0x00000039 
+ 00029574  0x00005cf5 disable  0x00000028 
+ 00029575  0x00005cf7 ifetch  0x00000001 , 0x00000006 
+ 00029576  0x00005cf8 istore  0x00000001 , 0x00000005 
+ 00029577  0x00005cf9 increase  0xffffffff , 0x00000012 
+ 00029578  0x00005cfa branch  0x00007391 , 0x00000005 
+ 00029579  0x00005cfb loop  0x00007387 
+ 00029580  0x00005cfc branch  0x00007384 , 0x00000028 
+ 00029581  0x00005cfd enable  0x00000028 
+ 00029582  0x00005cfe force  0x00000006 , 0x00000039 
+ 00029583  0x00005cff copy  0x00000011 , 0x00000006 
+ 00029584  0x00005d00 branch  0x00007387 
+ 00029585  0x00005d02 arg  0x000004ef , 0x00000006 
+ 00029586  0x00005d03 arg  0x0000053f , 0x00000005 
+ 00029587  0x00005d04 call  0x00007e35 
+ 00029588  0x00005d05 fetch  0x00000001 , 0x0000054e 
+ 00029589  0x00005d06 ixor  0x00000013 , 0x0000003f 
+ 00029590  0x00005d07 store  0x00000001 , 0x0000054e 
+ 00029591  0x00005d08 setarg  0x0000053f 
+ 00029592  0x00005d09 store  0x00000002 , 0x00000574 
+ 00029593  0x00005d0a setarg  0x0000052f 
+ 00029594  0x00005d0b store  0x00000002 , 0x00000572 
+ 00029595  0x00005d0c set1  0x00000012 , 0x00000000 
+ 00029596  0x00005d0d branch  0x000073bd 
+ 00029597  0x00005d13 disable  0x00000028 
+ 00029598  0x00005d14 call  0x00007474 
+ 00029599  0x00005d15 branch  0x000073a7 
+ 00029600  0x00005d18 arg  0x00000056 , 0x00000011 
+ 00029601  0x00005d19 enable  0x00000028 
+ 00029602  0x00005d1a call  0x00007474 
+ 00029603  0x00005d1b call  0x000073a7 
+ 00029604  0x00005d1c arg  0x0000051f , 0x00000006 
+ 00029605  0x00005d1d arg  0x00000062 , 0x00000005 
+ 00029606  0x00005d1e branch  0x00007e35 
+ 00029607  0x00005d22 setarg  0x000004ef 
+ 00029608  0x00005d23 store  0x00000002 , 0x00000574 
+ 00029609  0x00005d24 setarg  0x00004262 
+ 00029610  0x00005d25 store  0x00000002 , 0x00000572 
+ 00029611  0x00005d26 set0  0x00000012 , 0x00000000 
+ 00029612  0x00005d27 call  0x000073bd 
+ 00029613  0x00005d28 arg  0x0000051f , 0x00000011 
+ 00029614  0x00005d29 arg  0x000004ef , 0x00000012 
+ 00029615  0x00005d2a arg  0x0000052f , 0x00000005 
+ 00029616  0x00005d2b call  0x00007467 
+ 00029617  0x00005d2c arg  0x0000052f , 0x00000011 
+ 00029618  0x00005d2d arg  0x0000053f , 0x00000012 
+ 00029619  0x00005d2e copy  0x00000012 , 0x00000005 
+ 00029620  0x00005d2f enable  0x00000028 
+ 00029621  0x00005d30 call  0x00007465 
+ 00029622  0x00005d31 call  0x0000747f 
+ 00029623  0x00005d32 setarg  0x0000053f 
+ 00029624  0x00005d33 store  0x00000002 , 0x00000574 
+ 00029625  0x00005d34 setarg  0x0000052f 
+ 00029626  0x00005d35 store  0x00000002 , 0x00000572 
+ 00029627  0x00005d36 set1  0x00000012 , 0x00000000 
+ 00029628  0x00005d37 branch  0x000073bd 
+ 00029629  0x00005d3c jam  0x00000000 , 0x00000576 
+ 00029630  0x00005d3d fetch  0x00000002 , 0x00000572 
+ 00029631  0x00005d3e iforce  0x00000006 
+ 00029632  0x00005d3f arg  0x00000560 , 0x00000005 
+ 00029633  0x00005d40 call  0x00007e35 
+ 00029634  0x00005d41 fetch  0x00000002 , 0x00000574 
+ 00029635  0x00005d42 iforce  0x00000006 
+ 00029636  0x00005d43 arg  0x0000051f , 0x00000005 
+ 00029637  0x00005d44 call  0x00007e35 
+ 00029638  0x00005d47 call  0x000073e4 
+ 00029639  0x00005d48 disable  0x00000028 
+ 00029640  0x00005d49 bmark0  0x00000012 , 0x000073ce 
+ 00029641  0x00005d4a fetch  0x00000001 , 0x00000576 
+ 00029642  0x00005d4b bne  0x00000004 , 0x000073ce 
+ 00029643  0x00005d4c fetch  0x00000002 , 0x00000574 
+ 00029644  0x00005d4d iforce  0x00000012 
+ 00029645  0x00005d4e call  0x00007416 
+ 00029646  0x00005d50 call  0x00007415 
+ 00029647  0x00005d51 call  0x00007428 
+ 00029648  0x00005d52 fetch  0x00000001 , 0x00000576 
+ 00029649  0x00005d53 increase  0x00000001 , 0x0000003f 
+ 00029650  0x00005d54 store  0x00000001 , 0x00000576 
+ 00029651  0x00005d56 call  0x000073e4 
+ 00029652  0x00005d57 enable  0x00000028 
+ 00029653  0x00005d58 call  0x00007415 
+ 00029654  0x00005d59 call  0x00007437 
+ 00029655  0x00005d5a call  0x00007446 
+ 00029656  0x00005d5b call  0x00007437 
+ 00029657  0x00005d5c call  0x00007446 
+ 00029658  0x00005d5d call  0x00007437 
+ 00029659  0x00005d5e call  0x00007446 
+ 00029660  0x00005d5f call  0x00007437 
+ 00029661  0x00005d60 fetch  0x00000001 , 0x00000576 
+ 00029662  0x00005d61 increase  0x00000001 , 0x0000003f 
+ 00029663  0x00005d62 store  0x00000001 , 0x00000576 
+ 00029664  0x00005d63 bne  0x00000010 , 0x000073c6 
+ 00029665  0x00005d64 call  0x000073e4 
+ 00029666  0x00005d65 disable  0x00000028 
+ 00029667  0x00005d66 branch  0x00007415 
+ 00029668  0x00005d6b fetch  0x00000001 , 0x00000576 
+ 00029669  0x00005d6c arg  0x00000560 , 0x00000006 
+ 00029670  0x00005d6d branch  0x0000740b , 0x00000034 
+ 00029671  0x00005d6e iforce  0x00000012 
+ 00029672  0x00005d6f force  0x00000011 , 0x00000039 
+ 00029673  0x00005d70 copy  0x00000006 , 0x00000005 
+ 00029674  0x00005d72 ifetch  0x00000001 , 0x00000006 
+ 00029675  0x00005d73 lshift3  0x0000003f , 0x00000002 
+ 00029676  0x00005d74 rshift2  0x0000003f , 0x0000003f 
+ 00029677  0x00005d75 rshift3  0x0000003f , 0x0000003f 
+ 00029678  0x00005d76 ior  0x00000002 , 0x0000003f 
+ 00029679  0x00005d77 istore  0x00000001 , 0x00000005 
+ 00029680  0x00005d78 loop  0x000073ea 
+ 00029681  0x00005d79 setarg  0x00000560 
+ 00029682  0x00005d7a iadd  0x00000012 , 0x00000006 
+ 00029683  0x00005d7b force  0x00000010 , 0x00000039 
+ 00029684  0x00005d7c arg  0x000004ff , 0x00000005 
+ 00029685  0x00005d7e ifetch  0x00000001 , 0x00000006 
+ 00029686  0x00005d7f istore  0x00000001 , 0x00000005 
+ 00029687  0x00005d80 compare  0x00000571 , 0x00000006 , 0x000000ff 
+ 00029688  0x00005d81 nbranch  0x000073fa , 0x00000001 
+ 00029689  0x00005d82 increase  0xffffffef , 0x00000006 
+ 00029690  0x00005d84 loop  0x000073f5 
+ 00029691  0x00005d85 force  0x00000000 , 0x00000011 
+ 00029692  0x00005d86 add  0x00000012 , 0xffffffff , 0x00000013 
+ 00029693  0x00005d87 lshift2  0x00000013 , 0x00000013 
+ 00029694  0x00005d88 lshift2  0x00000013 , 0x00000013 
+ 00029695  0x00005d89 call  0x000075c5 
+ 00029696  0x00005d8a setarg  0x00008400 
+ 00029697  0x00005d8b iadd  0x00000013 , 0x00000013 
+ 00029698  0x00005d8c arg  0x000004ff , 0x00000005 
+ 00029699  0x00005d8d force  0x00000010 , 0x00000039 
+ 00029700  0x00005d8f ifetcht  0x00000001 , 0x00000013 
+ 00029701  0x00005d90 ifetch  0x00000001 , 0x00000005 
+ 00029702  0x00005d91 iadd  0x00000002 , 0x0000003f 
+ 00029703  0x00005d92 istore  0x00000001 , 0x00000005 
+ 00029704  0x00005d93 increase  0x00000001 , 0x00000013 
+ 00029705  0x00005d94 loop  0x00007404 
+ 00029706  0x00005d95 branch  0x000075c9 
+ 00029707  0x00005d98 force  0x00000010 , 0x00000039 
+ 00029708  0x00005d99 force  0x00000000 , 0x00000002 
+ 00029709  0x00005d9b ifetch  0x00000001 , 0x00000006 
+ 00029710  0x00005d9c ixor  0x00000002 , 0x00000002 
+ 00029711  0x00005d9d loop  0x0000740d 
+ 00029712  0x00005d9e deposit  0x00000002 
+ 00029713  0x00005d9f istore  0x00000001 , 0x00000006 
+ 00029714  0x00005da0 arg  0x00000560 , 0x00000006 
+ 00029715  0x00005da1 arg  0x000004ff , 0x00000005 
+ 00029716  0x00005da2 branch  0x00007e35 
+ 00029717  0x00005da5 arg  0x000004ff , 0x00000012 
+ 00029718  0x00005da7 force  0x00000010 , 0x00000039 
+ 00029719  0x00005da8 arg  0x0000051f , 0x00000011 
+ 00029720  0x00005da9 copy  0x00000011 , 0x00000005 
+ 00029721  0x00005dab ifetcht  0x00000001 , 0x00000011 
+ 00029722  0x00005dac ifetch  0x00000001 , 0x00000012 
+ 00029723  0x00005dad ixor  0x00000002 , 0x00000030 
+ 00029724  0x00005dae and  0x00000039 , 0x00000003 , 0x00000013 
+ 00029725  0x00005daf nbranch  0x0000741f , 0x00000028 
+ 00029726  0x00005db0 xor_into  0x00000003 , 0x00000013 
+ 00029727  0x00005db2 sub  0x00000013 , 0x00000001 , 0x00000013 
+ 00029728  0x00005db3 branch  0x00007422 , 0x00000002 
+ 00029729  0x00005db4 iadd  0x00000002 , 0x00000030 
+ 00029730  0x00005db6 deposit  0x00000030 
+ 00029731  0x00005db7 istore  0x00000001 , 0x00000005 
+ 00029732  0x00005db8 increase  0x00000001 , 0x00000011 
+ 00029733  0x00005db9 increase  0x00000001 , 0x00000012 
+ 00029734  0x00005dba loop  0x00007419 
+ 00029735  0x00005dbb rtn 
+ 00029736  0x00005dbe call  0x000075c5 
+ 00029737  0x00005dbf force  0x00000010 , 0x00000039 
+ 00029738  0x00005dc0 arg  0x0000051f , 0x00000011 
+ 00029739  0x00005dc2 ifetch  0x00000001 , 0x00000011 
+ 00029740  0x00005dc3 arg  0x00008500 , 0x00000006 
+ 00029741  0x00005dc4 and  0x00000039 , 0x00000003 , 0x00000013 
+ 00029742  0x00005dc5 sub  0x00000013 , 0x00000001 , 0x0000003e 
+ 00029743  0x00005dc6 branch  0x00007431 , 0x00000002 
+ 00029744  0x00005dc7 arg  0x00008600 , 0x00000006 
+ 00029745  0x00005dc9 iadd  0x00000006 , 0x00000006 
+ 00029746  0x00005dca ifetch  0x00000001 , 0x00000006 
+ 00029747  0x00005dcb istore  0x00000001 , 0x00000011 
+ 00029748  0x00005dcc increase  0x00000001 , 0x00000011 
+ 00029749  0x00005dcd loop  0x0000742b 
+ 00029750  0x00005dce branch  0x000075c9 
+ 00029751  0x00005dd1 force  0x00000008 , 0x00000039 
+ 00029752  0x00005dd2 arg  0x0000051f , 0x00000006 
+ 00029753  0x00005dd3 copy  0x00000006 , 0x00000005 
+ 00029754  0x00005dd5 ifetch  0x00000001 , 0x00000006 
+ 00029755  0x00005dd6 iforce  0x00000011 
+ 00029756  0x00005dd7 ifetch  0x00000001 , 0x00000006 
+ 00029757  0x00005dd8 iforce  0x00000012 
+ 00029758  0x00005dd9 lshift  0x00000011 , 0x0000003f 
+ 00029759  0x00005dda iadd  0x00000012 , 0x0000003f 
+ 00029760  0x00005ddb istore  0x00000001 , 0x00000005 
+ 00029761  0x00005ddc deposit  0x00000011 
+ 00029762  0x00005ddd iadd  0x00000012 , 0x0000003f 
+ 00029763  0x00005dde istore  0x00000001 , 0x00000005 
+ 00029764  0x00005ddf loop  0x0000743a 
+ 00029765  0x00005de0 rtn 
+ 00029766  0x00005de4 setarg  0x008ae42c 
+ 00029767  0x00005de5 iforce  0x00000002 
+ 00029768  0x00005de6 force  0x00000007 , 0x00000039 
+ 00029769  0x00005de7 call  0x00007455 
+ 00029770  0x00005de8 setarg  0x000d751b 
+ 00029771  0x00005de9 iforce  0x00000002 
+ 00029772  0x00005dea force  0x00000005 , 0x00000039 
+ 00029773  0x00005deb call  0x00007455 
+ 00029774  0x00005dec fetch  0x00000001 , 0x0000052e 
+ 00029775  0x00005ded iforce  0x00000011 
+ 00029776  0x00005dee fetch  0x00000001 , 0x00000522 
+ 00029777  0x00005def store  0x00000001 , 0x0000052e 
+ 00029778  0x00005df0 deposit  0x00000011 
+ 00029779  0x00005df1 store  0x00000001 , 0x00000522 
+ 00029780  0x00005df2 rtn 
+ 00029781  0x00005df5 and  0x00000002 , 0x0000000f , 0x00000012 
+ 00029782  0x00005df7 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00029783  0x00005df8 arg  0x0000051f , 0x00000005 
+ 00029784  0x00005df9 iadd  0x00000005 , 0x00000005 
+ 00029785  0x00005dfa ifetch  0x00000001 , 0x00000005 
+ 00029786  0x00005dfb iforce  0x00000013 
+ 00029787  0x00005dfc deposit  0x00000011 
+ 00029788  0x00005dfd istore  0x00000001 , 0x00000005 
+ 00029789  0x00005dfe copy  0x00000013 , 0x00000011 
+ 00029790  0x00005dff rshift4  0x00000002 , 0x00000002 
+ 00029791  0x00005e00 loop  0x00007456 
+ 00029792  0x00005e01 setarg  0x0000051f 
+ 00029793  0x00005e02 iadd  0x00000012 , 0x00000005 
+ 00029794  0x00005e03 deposit  0x00000011 
+ 00029795  0x00005e04 istore  0x00000001 , 0x00000005 
+ 00029796  0x00005e05 rtn 
+ 00029797  0x00005e08 enable  0x00000028 
+ 00029798  0x00005e09 branch  0x00007468 
+ 00029799  0x00005e0c disable  0x00000028 
+ 00029800  0x00005e0e force  0x00000010 , 0x00000039 
+ 00029801  0x00005e10 ifetcht  0x00000001 , 0x00000011 
+ 00029802  0x00005e11 ifetch  0x00000001 , 0x00000012 
+ 00029803  0x00005e12 branch  0x0000746e , 0x00000028 
+ 00029804  0x00005e13 ixor  0x00000002 , 0x0000003f 
+ 00029805  0x00005e14 branch  0x0000746f 
+ 00029806  0x00005e16 iadd  0x00000002 , 0x0000003f 
+ 00029807  0x00005e18 istore  0x00000001 , 0x00000005 
+ 00029808  0x00005e19 increase  0x00000001 , 0x00000011 
+ 00029809  0x00005e1a increase  0x00000001 , 0x00000012 
+ 00029810  0x00005e1b loop  0x00007469 
+ 00029811  0x00005e1c rtn 
+ 00029812  0x00005e20 arg  0x0000053f , 0x00000005 
+ 00029813  0x00005e21 ifetch  0x00000006 , 0x00000011 
+ 00029814  0x00005e22 istore  0x00000006 , 0x00000005 
+ 00029815  0x00005e23 branch  0x0000747a , 0x00000028 
+ 00029816  0x00005e24 ifetch  0x00000006 , 0x00000011 
+ 00029817  0x00005e25 branch  0x0000747b 
+ 00029818  0x00005e27 ifetch  0x00000006 , 0x00000006 
+ 00029819  0x00005e29 istore  0x00000006 , 0x00000005 
+ 00029820  0x00005e2a ifetch  0x00000004 , 0x00000011 
+ 00029821  0x00005e2b istore  0x00000004 , 0x00000005 
+ 00029822  0x00005e2c rtn 
+ 00029823  0x00005e2f arg  0x00004262 , 0x00000006 
+ 00029824  0x00005e30 arg  0x0000052f , 0x00000005 
+ 00029825  0x00005e31 arg  0x00000000 , 0x00000002 
+ 00029826  0x00005e32 setarg  0x008395a7 
+ 00029827  0x00005e33 call  0x000074a0 
+ 00029828  0x00005e34 setarg  0x00b3c1df 
+ 00029829  0x00005e35 call  0x000074a0 
+ 00029830  0x00005e36 setarg  0x0000e5e9 
+ 00029831  0x00005e37 call  0x000074a1 
+ 00029832  0x00005e38 copy  0x00000002 , 0x00000014 
+ 00029833  0x00005e39 disable  0x00000028 
+ 00029834  0x00005e3a call  0x0000748e 
+ 00029835  0x00005e3b copy  0x00000014 , 0x00000002 
+ 00029836  0x00005e3c enable  0x00000028 
+ 00029837  0x00005e3d branch  0x0000748e 
+ 00029838  0x00005e40 force  0x00000008 , 0x00000039 
+ 00029839  0x00005e42 ifetch  0x00000001 , 0x00000006 
+ 00029840  0x00005e43 compare  0x00000001 , 0x00000039 , 0x00000001 
+ 00029841  0x00005e44 branch  0x00007495 , 0x00000028 
+ 00029842  0x00005e45 branch  0x00007496 , 0x00000001 
+ 00029843  0x00005e47 iadd  0x00000002 , 0x0000003f 
+ 00029844  0x00005e48 branch  0x00007497 
+ 00029845  0x00005e4a branch  0x00007493 , 0x00000001 
+ 00029846  0x00005e4c ixor  0x00000002 , 0x0000003f 
+ 00029847  0x00005e4e istore  0x00000001 , 0x00000005 
+ 00029848  0x00005e4f rshift8  0x00000002 , 0x00000002 
+ 00029849  0x00005e50 loop  0x0000748f 
+ 00029850  0x00005e51 rtn 
+ 00029851  0x00005e54 fetch  0x00000006 , 0x00000523 
+ 00029852  0x00005e55 store  0x00000006 , 0x00000056 
+ 00029853  0x00005e56 ifetch  0x00000006 , 0x00000006 
+ 00029854  0x00005e57 istore  0x00000006 , 0x00000005 
+ 00029855  0x00005e58 rtn 
+ 00029856  0x00005e5b lshift8  0x00000002 , 0x00000002 
+ 00029857  0x00005e5d lshift16  0x00000002 , 0x00000002 
+ 00029858  0x00005e5e ior  0x00000002 , 0x00000002 
+ 00029859  0x00005e5f rtn 
+ 00029860  0x00005e63 branch  0x000074a4 
+ 00029861  0x00005e68 call  0x00007540 
+ 00029862  0x00005e69 arg  0x0000447b , 0x00000005 
+ 00029863  0x00005e6a branch  0x000075a3 
+ 00029864  0x00005e6e arg  0x0000449c , 0x00000005 
+ 00029865  0x00005e6f branch  0x000074ab , 0x00000029 
+ 00029866  0x00005e70 arg  0x000003b0 , 0x00000005 
+ 00029867  0x00005e72 copy  0x00000006 , 0x00000011 
+ 00029868  0x00005e73 call  0x00007e35 
+ 00029869  0x00005e74 call  0x00007551 
+ 00029870  0x00005e75 arg  0x0000448c , 0x00000006 
+ 00029871  0x00005e76 branch  0x000075bc 
+ 00029872  0x00005e79 arg  0x000003b0 , 0x00000011 
+ 00029873  0x00005e7a branch  0x000074b3 , 0x00000029 
+ 00029874  0x00005e7b arg  0x0000449c , 0x00000011 
+ 00029875  0x00005e7d copy  0x00000011 , 0x00000005 
+ 00029876  0x00005e7e call  0x00006226 
+ 00029877  0x00005e7f branch  0x00007551 
+ 00029878  0x00005e82 arg  0x00000380 , 0x00000006 
+ 00029879  0x00005e83 call  0x00007592 
+ 00029880  0x00005e84 arg  0x0000447b , 0x00000006 
+ 00029881  0x00005e85 call  0x00007593 
+ 00029882  0x00005e86 force  0x00000038 , 0x00000036 
+ 00029883  0x00005e87 force  0x00000000 , 0x00000036 
+ 00029884  0x00005e88 call  0x0000752f 
+ 00029885  0x00005e89 arg  0x000003fd , 0x00000005 
+ 00029886  0x00005e8a branch  0x000075a3 
+ 00029887  0x00005e8e force  0x00000049 , 0x0000003f 
+ 00029888  0x00005e8f branch  0x000074c2 
+ 00029889  0x00005e91 force  0x00000001 , 0x0000003f 
+ 00029890  0x00005e93 force  0x00000000 , 0x00000038 
+ 00029891  0x00005e94 lshift8  0x00000002 , 0x0000002f 
+ 00029892  0x00005e95 ior  0x0000002f , 0x0000002f 
+ 00029893  0x00005e96 increase  0x00000001 , 0x00000038 
+ 00029894  0x00005e97 rshift8  0x00000002 , 0x0000002f 
+ 00029895  0x00005e98 rshift16  0x0000002f , 0x0000002f 
+ 00029896  0x00005e99 fetch  0x00000002 , 0x00004473 
+ 00029897  0x00005e9a lshift16 , 0x0000003f , 0x0000003f 
+ 00029898  0x00005e9b ior  0x0000002f , 0x0000002f 
+ 00029899  0x00005e9c increase  0x00000001 , 0x00000038 
+ 00029900  0x00005e9d ifetch  0x00000004 , 0x00000006 
+ 00029901  0x00005e9e iforce  0x0000002f 
+ 00029902  0x00005e9f increase  0x00000001 , 0x00000038 
+ 00029903  0x00005ea0 ifetch  0x00000002 , 0x00000006 
+ 00029904  0x00005ea1 byteswap  0x00000011 , 0x0000002f 
+ 00029905  0x00005ea2 lshift16  0x0000002f , 0x0000002f 
+ 00029906  0x00005ea3 ior  0x0000002f , 0x0000002f 
+ 00029907  0x00005ea4 increase  0x00000001 , 0x00000038 
+ 00029908  0x00005ea5 rtn 
+ 00029909  0x00005eaa add  0x00000013 , 0x00000001 , 0x00000006 
+ 00029910  0x00005eab ifetch  0x00000001 , 0x00000006 
+ 00029911  0x00005eac iforce  0x00000011 
+ 00029912  0x00005ead call  0x000074bf 
+ 00029913  0x00005eae call  0x00007531 
+ 00029914  0x00005eb0 force  0x00000000 , 0x00000038 
+ 00029915  0x00005eb1 ifetch  0x00000001 , 0x00000013 
+ 00029916  0x00005eb2 and_into  0x00000003 , 0x0000003f 
+ 00029917  0x00005eb3 lshift16  0x0000003f , 0x0000002f 
+ 00029918  0x00005eb4 set1  0x00000008 , 0x0000002f 
+ 00029919  0x00005eb5 call  0x0000759b 
+ 00029920  0x00005eb6 call  0x00007534 
+ 00029921  0x00005eb8 copy  0x00000011 , 0x00000039 
+ 00029922  0x00005eb9 add  0x00000013 , 0x00000002 , 0x00000006 
+ 00029923  0x00005eba call  0x0000757a 
+ 00029924  0x00005ebc call  0x00007584 
+ 00029925  0x00005ebd call  0x00007534 
+ 00029926  0x00005ebe deposit  0x00000039 
+ 00029927  0x00005ebf branch  0x000074e9 , 0x00000034 
+ 00029928  0x00005ec0 branch  0x000074e4 
+ 00029929  0x00005ec2 force  0x0000000c , 0x00000038 
+ 00029930  0x00005ec3 deposit  0x0000002f 
+ 00029931  0x00005ec4 store  0x00000004 , 0x00000378 
+ 00029932  0x00005ec5 rtn 
+ 00029933  0x00005ec8 increase  0x00000001 , 0x00000011 
+ 00029934  0x00005ec9 call  0x000074c1 
+ 00029935  0x00005eca copy  0x00000013 , 0x00000006 
+ 00029936  0x00005ecb call  0x0000758e 
+ 00029937  0x00005ecc call  0x00007537 
+ 00029938  0x00005ecd call  0x000075aa 
+ 00029939  0x00005ece increase  0x00000010 , 0x00000013 
+ 00029940  0x00005ecf increase  0xfffffff0 , 0x00000012 
+ 00029941  0x00005ed0 branch  0x000074ed , 0x00000002 
+ 00029942  0x00005ed1 rtn 
+ 00029943  0x00005ed4 arg  0x0000443e , 0x00000013 
+ 00029944  0x00005ed5 fetcht  0x00000005 , 0x00004465 
+ 00029945  0x00005ed6 call  0x000074d5 
+ 00029946  0x00005ed7 force  0x00000008 , 0x00000038 
+ 00029947  0x00005ed8 iforce  0x0000002f 
+ 00029948  0x00005ed9 force  0x00000000 , 0x00000011 
+ 00029949  0x00005eda call  0x000074c1 
+ 00029950  0x00005edb call  0x00007537 
+ 00029951  0x00005edc arg  0x00004440 , 0x00000013 
+ 00029952  0x00005edd fetch  0x00000001 , 0x0000443f 
+ 00029953  0x00005ede add  0x0000003f , 0xffffffff , 0x00000012 
+ 00029954  0x00005edf iadd  0x00000013 , 0x00000005 
+ 00029955  0x00005ee0 force  0x0000000c , 0x00000038 
+ 00029956  0x00005ee1 deposit  0x0000002f 
+ 00029957  0x00005ee2 istore  0x00000004 , 0x00000005 
+ 00029958  0x00005ee3 call  0x000074ed 
+ 00029959  0x00005ee4 fetch  0x00000001 , 0x0000443f 
+ 00029960  0x00005ee5 increase  0x00000004 , 0x0000003f 
+ 00029961  0x00005ee6 store  0x00000001 , 0x0000443f 
+ 00029962  0x00005ee7 fetcht  0x00000005 , 0x00004465 
+ 00029963  0x00005ee8 increase  0x00000001 , 0x00000002 
+ 00029964  0x00005ee9 storet  0x00000005 , 0x00004465 
+ 00029965  0x00005eea rtn 
+ 00029966  0x00005eed fetch  0x00000001 , 0x00000341 
+ 00029967  0x00005eee sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00029968  0x00005eef branch  0x00007511 , 0x00000002 
+ 00029969  0x00005ef1 arg  0x00000342 , 0x00000013 
+ 00029970  0x00005ef2 add  0x0000003f , 0xffffffff , 0x00000012 
+ 00029971  0x00005ef3 increase  0xfffffffc , 0x0000003f 
+ 00029972  0x00005ef4 store  0x00000001 , 0x00000341 
+ 00029973  0x00005ef5 iadd  0x00000013 , 0x00000006 
+ 00029974  0x00005ef6 ifetch  0x00000004 , 0x00000006 
+ 00029975  0x00005ef7 force  0x00000008 , 0x00000038 
+ 00029976  0x00005ef8 iforce  0x0000002f 
+ 00029977  0x00005ef9 force  0x00000000 , 0x00000011 
+ 00029978  0x00005efa fetcht  0x00000005 , 0x0000446a 
+ 00029979  0x00005efb call  0x000074c1 
+ 00029980  0x00005efc call  0x00007537 
+ 00029981  0x00005efd force  0x0000000c , 0x00000038 
+ 00029982  0x00005efe deposit  0x0000002f 
+ 00029983  0x00005eff store  0x00000004 , 0x0000037c 
+ 00029984  0x00005f00 call  0x000074ed 
+ 00029985  0x00005f01 arg  0x00000340 , 0x00000013 
+ 00029986  0x00005f02 call  0x000074d5 
+ 00029987  0x00005f03 fetcht  0x00000004 , 0x0000037c 
+ 00029988  0x00005f04 isub  0x00000002 , 0x0000003f 
+ 00029989  0x00005f05 nrtn  0x00000034 
+ 00029990  0x00005f06 fetch  0x00000004 , 0x0000446f 
+ 00029991  0x00005f07 isub  0x00000002 , 0x0000003f 
+ 00029992  0x00005f08 rtn  0x00000034 
+ 00029993  0x00005f09 storet  0x00000004 , 0x0000446f 
+ 00029994  0x00005f0a fetch  0x00000005 , 0x0000446a 
+ 00029995  0x00005f0b increase  0x00000001 , 0x0000003f 
+ 00029996  0x00005f0c store  0x00000005 , 0x0000446a 
+ 00029997  0x00005f0d force  0x00000000 , 0x0000003f 
+ 00029998  0x00005f0e rtn 
+ 00029999  0x00005f11 nbranch  0x0000752f , 0x00000037 
+ 00030000  0x00005f12 rtn 
+ 00030001  0x00005f15 force  0x00000030 , 0x00000036 
+ 00030002  0x00005f16 force  0x00000000 , 0x00000036 
+ 00030003  0x00005f17 branch  0x0000752f 
+ 00030004  0x00005f1a force  0x00000032 , 0x00000036 
+ 00030005  0x00005f1b force  0x00000002 , 0x00000036 
+ 00030006  0x00005f1c branch  0x0000752f 
+ 00030007  0x00005f1f force  0x00000034 , 0x00000036 
+ 00030008  0x00005f20 force  0x00000004 , 0x00000036 
+ 00030009  0x00005f21 branch  0x0000752f 
+ 00030010  0x00005f24 force  0x00000036 , 0x00000036 
+ 00030011  0x00005f25 force  0x00000006 , 0x00000036 
+ 00030012  0x00005f26 branch  0x0000752f 
+ 00030013  0x00005f29 force  0x00000001 , 0x00000036 
+ 00030014  0x00005f2a force  0x00000000 , 0x00000036 
+ 00030015  0x00005f2b rtn 
+ 00030016  0x00005f2d force  0x00000000 , 0x00000038 
+ 00030017  0x00005f2e fetch  0x00000004 , 0x000003b0 
+ 00030018  0x00005f2f iforce  0x0000002f 
+ 00030019  0x00005f30 increase  0x00000001 , 0x00000038 
+ 00030020  0x00005f31 ifetch  0x00000004 , 0x00000006 
+ 00030021  0x00005f32 iforce  0x0000002f 
+ 00030022  0x00005f33 increase  0x00000001 , 0x00000038 
+ 00030023  0x00005f34 fetch  0x00000004 , 0x0000449c 
+ 00030024  0x00005f35 iforce  0x0000002f 
+ 00030025  0x00005f36 increase  0x00000001 , 0x00000038 
+ 00030026  0x00005f37 ifetch  0x00000004 , 0x00000006 
+ 00030027  0x00005f38 iforce  0x0000002f 
+ 00030028  0x00005f39 increase  0x00000001 , 0x00000038 
+ 00030029  0x00005f3a call  0x0000759e 
+ 00030030  0x00005f3b force  0x00000038 , 0x00000036 
+ 00030031  0x00005f3c force  0x00000008 , 0x00000036 
+ 00030032  0x00005f3d branch  0x0000752f 
+ 00030033  0x00005f41 fetch  0x00000006 , 0x000044f9 
+ 00030034  0x00005f42 fetcht  0x00000006 , 0x000003d0 
+ 00030035  0x00005f43 branch  0x00007556 , 0x00000029 
+ 00030036  0x00005f44 fetch  0x00000006 , 0x000003d0 
+ 00030037  0x00005f45 fetcht  0x00000006 , 0x000044f9 
+ 00030038  0x00005f47 force  0x00000008 , 0x00000038 
+ 00030039  0x00005f48 copy  0x00000002 , 0x0000002f 
+ 00030040  0x00005f49 increase  0x00000001 , 0x00000038 
+ 00030041  0x00005f4a rshift32  0x00000002 , 0x0000002f 
+ 00030042  0x00005f4b lshift16  0x0000003f , 0x0000003f 
+ 00030043  0x00005f4c ior  0x0000002f , 0x0000002f 
+ 00030044  0x00005f4d increase  0x00000001 , 0x00000038 
+ 00030045  0x00005f4e rshift32  0x0000003f , 0x0000002f 
+ 00030046  0x00005f4f increase  0x00000001 , 0x00000038 
+ 00030047  0x00005f50 force  0x00000000 , 0x0000002f 
+ 00030048  0x00005f51 force  0x00000000 , 0x0000003f 
+ 00030049  0x00005f52 fetch  0x00000001 , 0x000044e6 
+ 00030050  0x00005f53 fetcht  0x00000001 , 0x000044dc 
+ 00030051  0x00005f54 nbranch  0x00007566 , 0x00000029 
+ 00030052  0x00005f56 fetch  0x00000001 , 0x000044ed 
+ 00030053  0x00005f57 fetcht  0x00000001 , 0x000044e6 
+ 00030054  0x00005f59 store  0x00000001 , 0x000044ac 
+ 00030055  0x00005f5a storet  0x00000001 , 0x000044ad 
+ 00030056  0x00005f5b force  0x00000000 , 0x00000038 
+ 00030057  0x00005f5c arg  0x000044ac , 0x00000012 
+ 00030058  0x00005f5d force  0x00000004 , 0x00000039 
+ 00030059  0x00005f5f ifetch  0x00000004 , 0x00000011 
+ 00030060  0x00005f60 ifetcht  0x00000004 , 0x00000012 
+ 00030061  0x00005f61 ixor  0x00000002 , 0x0000002f 
+ 00030062  0x00005f62 increase  0x00000001 , 0x00000038 
+ 00030063  0x00005f63 increase  0x00000004 , 0x00000011 
+ 00030064  0x00005f64 increase  0x00000004 , 0x00000012 
+ 00030065  0x00005f65 loop  0x0000756b 
+ 00030066  0x00005f66 call  0x0000759e 
+ 00030067  0x00005f67 force  0x00000038 , 0x00000036 
+ 00030068  0x00005f68 force  0x0000000c , 0x00000036 
+ 00030069  0x00005f69 call  0x0000752f 
+ 00030070  0x00005f6b call  0x0000759d 
+ 00030071  0x00005f6c force  0x0000003a , 0x00000036 
+ 00030072  0x00005f6d force  0x00000008 , 0x00000036 
+ 00030073  0x00005f6e branch  0x0000752f 
+ 00030074  0x00005f71 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00030075  0x00005f72 rtn  0x00000001 
+ 00030076  0x00005f73 deposit  0x00000006 
+ 00030077  0x00005f74 iadd  0x00000039 , 0x00000005 
+ 00030078  0x00005f75 force  0x00000000 , 0x0000003f 
+ 00030079  0x00005f77 istore  0x00000001 , 0x00000005 
+ 00030080  0x00005f78 increase  0x00000001 , 0x00000039 
+ 00030081  0x00005f79 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00030082  0x00005f7a rtn  0x00000001 
+ 00030083  0x00005f7b branch  0x0000757f 
+ 00030084  0x00005f7e force  0x00000000 , 0x00000038 
+ 00030085  0x00005f80 deposit  0x00000039 
+ 00030086  0x00005f81 branch  0x00007589 , 0x00000034 
+ 00030087  0x00005f82 ifetch  0x00000004 , 0x00000006 
+ 00030088  0x00005f83 increase  0xfffffffc , 0x00000039 
+ 00030089  0x00005f85 iforce  0x0000002f 
+ 00030090  0x00005f86 increase  0x00000001 , 0x00000038 
+ 00030091  0x00005f87 compare  0x00000004 , 0x00000038 , 0x0000000f 
+ 00030092  0x00005f88 rtn  0x00000001 
+ 00030093  0x00005f89 branch  0x00007585 
+ 00030094  0x00005f8c force  0x00000008 , 0x00000038 
+ 00030095  0x00005f8d branch  0x00007593 
+ 00030096  0x00005f8f force  0x00000004 , 0x00000038 
+ 00030097  0x00005f90 branch  0x00007593 
+ 00030098  0x00005f92 force  0x00000000 , 0x00000038 
+ 00030099  0x00005f94 force  0x00000004 , 0x00000039 
+ 00030100  0x00005f96 ifetch  0x00000004 , 0x00000006 
+ 00030101  0x00005f97 iforce  0x0000002f 
+ 00030102  0x00005f98 increase  0x00000001 , 0x00000038 
+ 00030103  0x00005f99 loop  0x00007594 
+ 00030104  0x00005f9a rtn 
+ 00030105  0x00005f9d arg  0x000003fd , 0x00000006 
+ 00030106  0x00005f9e branch  0x00007590 
+ 00030107  0x00005fa1 force  0x00000004 , 0x00000039 
+ 00030108  0x00005fa2 branch  0x000075a0 
+ 00030109  0x00005fa5 force  0x00000000 , 0x00000038 
+ 00030110  0x00005fa7 force  0x00000004 , 0x00000039 
+ 00030111  0x00005fa9 force  0x00000000 , 0x0000002f 
+ 00030112  0x00005fab increase  0x00000001 , 0x00000038 
+ 00030113  0x00005fac loop  0x0000759f 
+ 00030114  0x00005fad rtn 
+ 00030115  0x00005fb0 force  0x0000000c , 0x00000038 
+ 00030116  0x00005fb1 force  0x00000004 , 0x00000039 
+ 00030117  0x00005fb3 deposit  0x0000002f 
+ 00030118  0x00005fb4 istore  0x00000004 , 0x00000005 
+ 00030119  0x00005fb5 increase  0x00000001 , 0x00000038 
+ 00030120  0x00005fb6 loop  0x000075a5 
+ 00030121  0x00005fb7 rtn 
+ 00030122  0x00005fba force  0x0000000c , 0x00000038 
+ 00030123  0x00005fbb copy  0x00000013 , 0x00000005 
+ 00030124  0x00005fbc add  0x00000012 , 0x00000001 , 0x00000039 
+ 00030125  0x00005fbd sub  0x00000039 , 0x0000000f , 0x0000003e 
+ 00030126  0x00005fbe branch  0x000075b0 , 0x00000002 
+ 00030127  0x00005fbf force  0x00000010 , 0x00000039 
+ 00030128  0x00005fc1 deposit  0x0000002f 
+ 00030129  0x00005fc2 sub  0x00000039 , 0x00000003 , 0x0000003e 
+ 00030130  0x00005fc3 branch  0x000075b8 , 0x00000002 
+ 00030131  0x00005fc4 istore  0x00000004 , 0x00000005 
+ 00030132  0x00005fc5 increase  0xfffffffc , 0x00000039 
+ 00030133  0x00005fc6 rtn  0x00000005 
+ 00030134  0x00005fc7 increase  0x00000001 , 0x00000038 
+ 00030135  0x00005fc8 branch  0x000075b0 
+ 00030136  0x00005fca istore  0x00000001 , 0x00000005 
+ 00030137  0x00005fcb rshift8  0x0000003f , 0x0000003f 
+ 00030138  0x00005fcc loop  0x000075b8 
+ 00030139  0x00005fcd rtn 
+ 00030140  0x00005fd1 force  0x0000000c , 0x00000038 
+ 00030141  0x00005fd2 force  0x00000004 , 0x00000039 
+ 00030142  0x00005fd4 ifetch  0x00000004 , 0x00000006 
+ 00030143  0x00005fd5 isub  0x0000002f , 0x0000003e 
+ 00030144  0x00005fd6 nrtn  0x00000005 
+ 00030145  0x00005fd7 increase  0x00000001 , 0x00000038 
+ 00030146  0x00005fd8 loop  0x000075be 
+ 00030147  0x00005fd9 force  0x00000000 , 0x0000003e 
+ 00030148  0x00005fda rtn 
+ 00030149  0x00005fdd hfetch  0x00000001 , 0x00008050 
+ 00030150  0x00005fde set0  0x00000000 , 0x0000003f 
+ 00030151  0x00005fdf hstore  0x00000001 , 0x00008050 
+ 00030152  0x00005fe0 rtn 
+ 00030153  0x00005fe3 hfetch  0x00000001 , 0x00008050 
+ 00030154  0x00005fe4 set1  0x00000000 , 0x0000003f 
+ 00030155  0x00005fe5 hstore  0x00000001 , 0x00008050 
+ 00030156  0x00005fe6 rtn 
+ 00030157  0x00005fe9 arg  0x00000742 , 0x00000005 
+ 00030158  0x00005fea setsect  0x00000000 , 0x0003ffff 
+ 00030159  0x00005feb setsect  0x00000001 , 0x0003ffff 
+ 00030160  0x00005fec setsect  0x00000002 , 0x0003ffff 
+ 00030161  0x00005fed setsect  0x00000003 , 0x0003fbff 
+ 00030162  0x00005fee istore  0x00000009 , 0x00000005 
+ 00030163  0x00005fef setsect  0x00000000 , 0x0003ffff 
+ 00030164  0x00005ff0 setsect  0x00000001 , 0x0003ffff 
+ 00030165  0x00005ff1 setsect  0x00000002 , 0x0003ffff 
+ 00030166  0x00005ff2 setsect  0x00000003 , 0x0003ffff 
+ 00030167  0x00005ff3 istore  0x00000009 , 0x00000005 
+ 00030168  0x00005ff4 setsect  0x00000000 , 0x0003ffff 
+ 00030169  0x00005ff5 setsect  0x00000001 , 0x0003ffff 
+ 00030170  0x00005ff6 setsect  0x00000002 , 0x0003cfff 
+ 00030171  0x00005ff7 setsect  0x00000003 , 0x0003ffff 
+ 00030172  0x00005ff8 istore  0x00000009 , 0x00000005 
+ 00030173  0x00005ff9 setsect  0x00000000 , 0x0003ffff 
+ 00030174  0x00005ffa setsect  0x00000001 , 0x0003ffff 
+ 00030175  0x00005ffb setsect  0x00000002 , 0x0003ffef 
+ 00030176  0x00005ffc setsect  0x00000003 , 0x0003ffff 
+ 00030177  0x00005ffd istore  0x00000009 , 0x00000005 
+ 00030178  0x00005ffe setsect  0x00000000 , 0x0003ffff 
+ 00030179  0x00005fff setsect  0x00000001 , 0x0003ffff 
+ 00030180  0x00006000 setsect  0x00000002 , 0x0003ffff 
+ 00030181  0x00006001 setsect  0x00000003 , 0x0003ffff 
+ 00030182  0x00006002 istore  0x00000009 , 0x00000005 
+ 00030183  0x00006003 setsect  0x00000000 , 0x0003ffff 
+ 00030184  0x00006004 setsect  0x00000001 , 0x00026c7f 
+ 00030185  0x00006005 setsect  0x00000002 , 0x0000146b 
+ 00030186  0x00006006 setsect  0x00000003 , 0x00037bb3 
+ 00030187  0x00006007 istore  0x00000009 , 0x00000005 
+ 00030188  0x00006008 setsect  0x00000000 , 0x0001feb8 
+ 00030189  0x00006009 setsect  0x00000001 , 0x00010c12 
+ 00030190  0x0000600a setsect  0x00000002 , 0x0002b722 
+ 00030191  0x0000600b setsect  0x00000003 , 0x00029fa6 
+ 00030192  0x0000600c istore  0x00000009 , 0x00000005 
+ 00030193  0x0000600d setsect  0x00000000 , 0x0000e70f 
+ 00030194  0x0000600e setsect  0x00000001 , 0x00016720 
+ 00030195  0x0000600f setsect  0x00000002 , 0x0000519e 
+ 00030196  0x00006010 setsect  0x00000003 , 0x00019084 
+ 00030197  0x00006011 istore  0x00000009 , 0x00000005 
+ 00030198  0x00006012 setsect  0x00000000 , 0x00031012 
+ 00030199  0x00006013 setsect  0x00000001 , 0x000360bf 
+ 00030200  0x00006014 setsect  0x00000002 , 0x0003f0af 
+ 00030201  0x00006015 setsect  0x00000003 , 0x000003d3 
+ 00030202  0x00006016 istore  0x00000009 , 0x00000005 
+ 00030203  0x00006017 setsect  0x00000000 , 0x0003a188 
+ 00030204  0x00006018 setsect  0x00000001 , 0x00003ad0 
+ 00030205  0x00006019 setsect  0x00000002 , 0x0003cbf2 
+ 00030206  0x0000601a setsect  0x00000003 , 0x000243d9 
+ 00030207  0x0000601b istore  0x00000009 , 0x00000005 
+ 00030208  0x0000601c setsect  0x00000000 , 0x0002b030 
+ 00030209  0x0000601d setsect  0x00000001 , 0x00036a03 
+ 00030210  0x0000601e setsect  0x00000002 , 0x00011188 
+ 00030211  0x0000601f setsect  0x00000003 , 0x0001e520 
+ 00030212  0x00006020 istore  0x00000009 , 0x00000005 
+ 00030213  0x00006021 setsect  0x00000000 , 0x0003a11e 
+ 00030214  0x00006022 setsect  0x00000001 , 0x0000fe5d 
+ 00030215  0x00006023 setsect  0x00000002 , 0x0000dd57 
+ 00030216  0x00006024 setsect  0x00000003 , 0x0001ac93 
+ 00030217  0x00006025 istore  0x00000009 , 0x00000005 
+ 00030218  0x00006026 setsect  0x00000000 , 0x000011ed 
+ 00030219  0x00006027 setsect  0x00000001 , 0x000218c4 
+ 00030220  0x00006028 setsect  0x00000002 , 0x00008da7 
+ 00030221  0x00006029 setsect  0x00000003 , 0x000257ff 
+ 00030222  0x0000602a istore  0x00000009 , 0x00000005 
+ 00030223  0x0000602b setsect  0x00000000 , 0x0003192b 
+ 00030224  0x0000602c setsect  0x00000001 , 0x00034641 
+ 00030225  0x0000602d setsect  0x00000002 , 0x0001be0c 
+ 00030226  0x0000602e setsect  0x00000003 , 0x000366ad 
+ 00030227  0x0000602f istore  0x00000009 , 0x00000005 
+ 00030228  0x00006030 setsect  0x00000000 , 0x00001f83 
+ 00030229  0x00006031 setsect  0x00000001 , 0x00015a23 
+ 00030230  0x00006032 setsect  0x00000002 , 0x0003f9b0 
+ 00030231  0x00006033 setsect  0x00000003 , 0x00003949 
+ 00030232  0x00006034 istore  0x00000009 , 0x00000005 
+ 00030233  0x00006035 setsect  0x00000000 , 0x00013a51 
+ 00030234  0x00006036 setsect  0x00000001 , 0x000153fd 
+ 00030235  0x00006037 setsect  0x00000002 , 0x0003372a 
+ 00030236  0x00006038 setsect  0x00000003 , 0x0000f1bb 
+ 00030237  0x00006039 istore  0x00000009 , 0x00000005 
+ 00030238  0x0000603a setsect  0x00000000 , 0x0003ae85 
+ 00030239  0x0000603b setsect  0x00000001 , 0x0001eed9 
+ 00030240  0x0000603c setsect  0x00000002 , 0x00009e66 
+ 00030241  0x0000603d setsect  0x00000003 , 0x000001a8 
+ 00030242  0x0000603e istore  0x00000008 , 0x00000005 
+ 00030243  0x0000603f rtn 
+ 00030244  0x00006044 setarg  0x0000764c 
+ 00030245  0x00006045 store  0x00000002 , 0x0000428e 
+ 00030246  0x00006046 setarg  0x0000770f 
+ 00030247  0x00006047 store  0x00000002 , 0x00004290 
+ 00030248  0x00006048 setarg  0x000076ac 
+ 00030249  0x00006049 store  0x00000002 , 0x00004292 
+ 00030250  0x0000604a setarg  0x00007710 
+ 00030251  0x0000604b store  0x00000002 , 0x0000428a 
+ 00030252  0x0000604c setarg  0x00007718 
+ 00030253  0x0000604d store  0x00000002 , 0x00004294 
+ 00030254  0x0000604e set1  0x00000025 , 0x00000000 
+ 00030255  0x0000604f bpatch  0x000000f9 , 0x0000403f 
+ 00030256  0x00006050 rtn  0x0000002b 
+ 00030257  0x00006052 hjam  0x00000000 , 0x00008081 
+ 00030258  0x00006053 call  0x0000763f 
+ 00030259  0x00006055 setarg  0x00007717 
+ 00030260  0x00006056 store  0x00000002 , 0x00004288 
+ 00030261  0x00006058 jam  0x00000000 , 0x0000480e 
+ 00030262  0x00006059 jam  0x00000000 , 0x0000480a 
+ 00030263  0x0000605a jam  0x00000000 , 0x0000480b 
+ 00030264  0x0000605b setarg  0x00000000 
+ 00030265  0x0000605c store  0x00000004 , 0x00004800 
+ 00030266  0x0000605d call  0x00003f23 
+ 00030267  0x0000605e branch  0x00003f79 , 0x00000034 
+ 00030268  0x0000605f call  0x00003f96 
+ 00030269  0x00006060 call  0x00003f7e 
+ 00030270  0x00006061 branch  0x00003f6e 
+ 00030271  0x00006064 fetcht  0x00000001 , 0x0000480f 
+ 00030272  0x00006065 call  0x000069d1 
+ 00030273  0x00006066 fetcht  0x00000001 , 0x00004810 
+ 00030274  0x00006067 branch  0x000069d1 
+ 00030275  0x0000606a set1  0x00000025 , 0x00000000 
+ 00030276  0x0000606b bpatch  0x000000fa , 0x0000403f 
+ 00030277  0x0000606c fetcht  0x00000004 , 0x00004806 
+ 00030278  0x0000606d deposit  0x00000022 
+ 00030279  0x0000606e store  0x00000004 , 0x00004806 
+ 00030280  0x0000606f isub  0x00000002 , 0x0000003f 
+ 00030281  0x00006070 nrtn  0x00000002 
+ 00030282  0x00006071 sub  0x0000003f , 0x000000c8 , 0x0000003f 
+ 00030283  0x00006072 rtn 
+ 00030284  0x00006075 fetch  0x00000001 , 0x000042bc 
+ 00030285  0x00006076 rtnne  0x0000003f 
+ 00030286  0x00006078 set1  0x00000025 , 0x00000000 
+ 00030287  0x00006079 bpatch  0x000000fb , 0x0000403f 
+ 00030288  0x0000607a fetch  0x00000001 , 0x00004132 
+ 00030289  0x0000607b rtnne  0x00000009 
+ 00030290  0x0000607c disable  0x00000028 
+ 00030291  0x0000607d call  0x0000769b 
+ 00030292  0x0000607e nrtn  0x00000028 
+ 00030293  0x0000607f disable  0x00000028 
+ 00030294  0x00006080 fetch  0x00000001 , 0x00004133 
+ 00030295  0x00006081 beq  0x00000003 , 0x00007706 
+ 00030296  0x00006083 fetch  0x00000001 , 0x0000480b 
+ 00030297  0x00006084 beq  0x00000001 , 0x00007663 
+ 00030298  0x00006085 beq  0x00000002 , 0x0000767d 
+ 00030299  0x00006086 call  0x00007643 
+ 00030300  0x00006087 branch  0x00007660 , 0x00000002 
+ 00030301  0x00006089 fetch  0x00000001 , 0x0000480a 
+ 00030302  0x0000608a bbit1  0x00000000 , 0x00007674 
+ 00030303  0x0000608b bbit1  0x00000001 , 0x00007682 
+ 00030304  0x0000608e jam  0x00000000 , 0x0000480a 
+ 00030305  0x0000608f jam  0x00000000 , 0x0000480b 
+ 00030306  0x00006090 rtn 
+ 00030307  0x00006094 jam  0x00000000 , 0x0000480b 
+ 00030308  0x00006095 call  0x00007bde 
+ 00030309  0x00006096 fetch  0x00000001 , 0x00004811 
+ 00030310  0x00006097 beq  0x00000001 , 0x0000766a 
+ 00030311  0x0000609a jam  0x00000005 , 0x00004805 
+ 00030312  0x0000609b jam  0x00000003 , 0x00004800 
+ 00030313  0x0000609c branch  0x00007688 
+ 00030314  0x0000609e jam  0x00000000 , 0x0000480e 
+ 00030315  0x0000609f branch  0x0000766c 
+ 00030316  0x000060a2 jam  0x00000002 , 0x0000480e 
+ 00030317  0x000060a3 branch  0x00007684 
+ 00030318  0x000060a5 jam  0x00000003 , 0x0000480e 
+ 00030319  0x000060a6 branch  0x0000767f 
+ 00030320  0x000060a8 jam  0x00000004 , 0x0000480e 
+ 00030321  0x000060a9 branch  0x00007678 
+ 00030322  0x000060ab jam  0x00000000 , 0x0000480e 
+ 00030323  0x000060ac branch  0x00007667 
+ 00030324  0x000060af jam  0x00000001 , 0x0000480b 
+ 00030325  0x000060b0 call  0x00007be7 
+ 00030326  0x000060b1 fetch  0x00000001 , 0x00004811 
+ 00030327  0x000060b2 beq  0x00000001 , 0x0000767c 
+ 00030328  0x000060b5 jam  0x00000005 , 0x00004805 
+ 00030329  0x000060b6 setarg  0x00020003 
+ 00030330  0x000060b7 store  0x00000003 , 0x00004800 
+ 00030331  0x000060b8 branch  0x00007688 
+ 00030332  0x000060ba rtn 
+ 00030333  0x000060bd jam  0x00000000 , 0x0000480b 
+ 00030334  0x000060be call  0x00007bde 
+ 00030335  0x000060c0 jam  0x0000000a , 0x00004805 
+ 00030336  0x000060c1 jam  0x00000001 , 0x00004800 
+ 00030337  0x000060c2 branch  0x00007688 
+ 00030338  0x000060c4 jam  0x00000002 , 0x0000480b 
+ 00030339  0x000060c5 call  0x00007be7 
+ 00030340  0x000060c7 jam  0x0000000a , 0x00004805 
+ 00030341  0x000060c8 jam  0x00000001 , 0x00004800 
+ 00030342  0x000060c9 setarg  0x00280000 
+ 00030343  0x000060ca store  0x00000003 , 0x00004801 
+ 00030344  0x000060cd set1  0x00000025 , 0x00000000 
+ 00030345  0x000060ce bpatch  0x000000fc , 0x0000403f 
+ 00030346  0x000060cf fetch  0x00000001 , 0x00004805 
+ 00030347  0x000060d0 copy  0x0000003f , 0x00000011 
+ 00030348  0x000060d1 call  0x00004b2c 
+ 00030349  0x000060d2 fetch  0x00000002 , 0x000042b7 
+ 00030350  0x000060d3 istore  0x00000002 , 0x00000005 
+ 00030351  0x000060d4 setarg  0x000000a1 
+ 00030352  0x000060d5 istore  0x00000001 , 0x00000005 
+ 00030353  0x000060d6 fetcht  0x00000004 , 0x00004800 
+ 00030354  0x000060d7 istoret  0x00000008 , 0x00000005 
+ 00030355  0x000060d8 setarg  0x00000000 
+ 00030356  0x000060d9 istore  0x00000001 , 0x00000005 
+ 00030357  0x000060da store  0x00000004 , 0x00004800 
+ 00030358  0x000060dc fetch  0x00000001 , 0x0000480e 
+ 00030359  0x000060dd beq  0x00000002 , 0x0000766e 
+ 00030360  0x000060de beq  0x00000003 , 0x00007670 
+ 00030361  0x000060df beq  0x00000004 , 0x00007672 
+ 00030362  0x000060e0 rtn 
+ 00030363  0x000060e3 fetcht  0x00000001 , 0x0000480f 
+ 00030364  0x000060e4 call  0x000069e5 
+ 00030365  0x000060e5 setarg  0x00000000 
+ 00030366  0x000060e6 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00030367  0x000060e7 store  0x00000001 , 0x00004804 
+ 00030368  0x000060e8 fetcht  0x00000001 , 0x00004810 
+ 00030369  0x000060e9 call  0x000069e5 
+ 00030370  0x000060ea setarg  0x00000000 
+ 00030371  0x000060eb setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00030372  0x000060ec fetcht  0x00000001 , 0x00004804 
+ 00030373  0x000060ed ior  0x00000002 , 0x0000003f 
+ 00030374  0x000060ee fetcht  0x00000001 , 0x0000480a 
+ 00030375  0x000060ef store  0x00000001 , 0x0000480a 
+ 00030376  0x000060f0 ixor  0x00000002 , 0x0000003e 
+ 00030377  0x000060f1 rtn  0x00000005 
+ 00030378  0x000060f2 enable  0x00000028 
+ 00030379  0x000060f3 rtn 
+ 00030380  0x000060f6 copy  0x00000013 , 0x0000003f 
+ 00030381  0x000060f7 beq  0x00000005 , 0x000076d8 
+ 00030382  0x000060f8 beq  0x00000006 , 0x000076da 
+ 00030383  0x000060f9 beq  0x00000007 , 0x000076dd 
+ 00030384  0x000060fa beq  0x00000027 , 0x000076e1 
+ 00030385  0x000060fb beq  0x00000002 , 0x000076c9 
+ 00030386  0x000060fc beq  0x00000004 , 0x000076d0 
+ 00030387  0x000060fd beq  0x00000013 , 0x000076d0 
+ 00030388  0x000060fe beq  0x00000001 , 0x000076c6 
+ 00030389  0x000060ff beq  0x00000012 , 0x000076c0 
+ 00030390  0x00006100 beq  0x0000002e , 0x00003f57 
+ 00030391  0x00006101 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00030392  0x00006102 and_into  0x000000f0 , 0x0000003f 
+ 00030393  0x00006103 beq  0x00000050 , 0x000076e4 
+ 00030394  0x00006104 rtn 
+ 00030395  0x00006107 fetch  0x00000001 , 0x000047f2 
+ 00030396  0x00006108 rtn  0x00000034 
+ 00030397  0x00006109 increase  0xffffffff , 0x0000003f 
+ 00030398  0x0000610a store  0x00000001 , 0x000047f2 
+ 00030399  0x0000610b nrtn  0x00000034 
+ 00030400  0x0000610d jam  0x00000001 , 0x0000427f 
+ 00030401  0x0000610e call  0x00003fa4 
+ 00030402  0x0000610f call  0x00003fa2 
+ 00030403  0x00006110 call  0x00003f7e 
+ 00030404  0x00006111 call  0x00003f98 
+ 00030405  0x00006112 branch  0x00003f9e 
+ 00030406  0x00006116 jam  0x00000000 , 0x0000480d 
+ 00030407  0x00006117 jam  0x00000000 , 0x0000480c 
+ 00030408  0x00006118 rtn 
+ 00030409  0x0000611b set1  0x00000025 , 0x00000000 
+ 00030410  0x0000611c bpatch  0x000000fd , 0x0000403f 
+ 00030411  0x0000611d jam  0x00000000 , 0x0000429d 
+ 00030412  0x0000611e jam  0x00000000 , 0x0000480c 
+ 00030413  0x0000611f jam  0x00000000 , 0x0000480d 
+ 00030414  0x00006120 fetch  0x00000002 , 0x000042a0 
+ 00030415  0x00006121 bbit0  0x00000003 , 0x000076d4 
+ 00030416  0x00006124 fetch  0x00000002 , 0x000047fe 
+ 00030417  0x00006125 store  0x00000002 , 0x000047f0 
+ 00030418  0x00006127 call  0x00003f12 
+ 00030419  0x00006128 branch  0x00003f7b 
+ 00030420  0x0000612b bbit0  0x00000001 , 0x000076d6 
+ 00030421  0x0000612c branch  0x000076d0 
+ 00030422  0x0000612f bbit0  0x00000002 , 0x000076d2 
+ 00030423  0x00006130 branch  0x000076d0 
+ 00030424  0x00006134 call  0x00003f7e 
+ 00030425  0x00006135 branch  0x00003f98 
+ 00030426  0x00006138 setarg  0x00000002 
+ 00030427  0x00006139 store  0x00000001 , 0x000047f2 
+ 00030428  0x0000613a rtn 
+ 00030429  0x0000613d jam  0x00000000 , 0x0000480c 
+ 00030430  0x0000613e setarg  0x00000001 
+ 00030431  0x0000613f store  0x00000001 , 0x0000480d 
+ 00030432  0x00006140 rtn 
+ 00030433  0x00006143 setarg  0x00000005 
+ 00030434  0x00006144 store  0x00000001 , 0x0000480c 
+ 00030435  0x00006145 rtn 
+ 00030436  0x00006148 set1  0x00000025 , 0x00000000 
+ 00030437  0x00006149 bpatch  0x000000fe , 0x0000403f 
+ 00030438  0x0000614a storet  0x00000001 , 0x00000259 
+ 00030439  0x0000614c fetch  0x00000001 , 0x00000259 
+ 00030440  0x0000614d rtn  0x00000034 
+ 00030441  0x0000614e increase  0xffffffff , 0x0000003f 
+ 00030442  0x0000614f store  0x00000001 , 0x00000259 
+ 00030443  0x00006150 call  0x000076ef 
+ 00030444  0x00006151 call  0x000076bb 
+ 00030445  0x00006152 call  0x000076fa 
+ 00030446  0x00006153 branch  0x000076e7 
+ 00030447  0x00006156 fetch  0x00000001 , 0x0000480c 
+ 00030448  0x00006157 rtn  0x00000034 
+ 00030449  0x00006158 fetch  0x00000001 , 0x0000480c 
+ 00030450  0x00006159 increase  0xffffffff , 0x0000003f 
+ 00030451  0x0000615a store  0x00000001 , 0x0000480c 
+ 00030452  0x0000615b nrtn  0x00000034 
+ 00030453  0x0000615c fetch  0x00000001 , 0x000002e6 
+ 00030454  0x0000615d set1  0x00000000 , 0x0000003f 
+ 00030455  0x0000615e set1  0x00000007 , 0x0000003f 
+ 00030456  0x0000615f store  0x00000001 , 0x000002e6 
+ 00030457  0x00006160 rtn 
+ 00030458  0x00006163 fetch  0x00000001 , 0x0000480d 
+ 00030459  0x00006164 rtn  0x00000034 
+ 00030460  0x00006165 fetch  0x00000001 , 0x0000480d 
+ 00030461  0x00006166 increase  0xffffffff , 0x0000003f 
+ 00030462  0x00006167 store  0x00000001 , 0x0000480d 
+ 00030463  0x00006168 nrtn  0x00000034 
+ 00030464  0x00006169 branch  0x00003f77 
+ 00030465  0x0000616c set1  0x00000025 , 0x00000000 
+ 00030466  0x0000616d bpatch  0x000000ff , 0x0000403f 
+ 00030467  0x0000616e fetch  0x00000001 , 0x00004133 
+ 00030468  0x0000616f rtnne  0x00000003 
+ 00030469  0x00006170 branch  0x0000764e 
+ 00030470  0x00006172 call  0x00007643 
+ 00030471  0x00006173 rtn  0x00000002 
+ 00030472  0x00006174 fetch  0x00000001 , 0x0000480a 
+ 00030473  0x00006175 rtn  0x00000034 
+ 00030474  0x00006176 call  0x00003f23 
+ 00030475  0x00006177 branch  0x00003f79 , 0x00000034 
+ 00030476  0x00006178 call  0x00003f96 
+ 00030477  0x00006179 call  0x00003f7e 
+ 00030478  0x0000617a branch  0x00003f6e 
+ 00030479  0x0000617e branch  0x00007701 
+ 00030480  0x00006182 fetcht  0x00000001 , 0x0000480f 
+ 00030481  0x00006183 call  0x000069b4 
+ 00030482  0x00006184 fetch  0x00000001 , 0x00004811 
+ 00030483  0x00006185 bne  0x00000001 , 0x00007715 
+ 00030484  0x00006186 rtn 
+ 00030485  0x00006188 fetcht  0x00000001 , 0x00004810 
+ 00030486  0x00006189 branch  0x000069b4 
+ 00030487  0x0000618c branch  0x0000763f 
+ 00030488  0x00006190 branch  0x00003f9a 
+ 00030489  0x00006195 set1  0x00000025 , 0x00000000 
+ 00030490  0x00006196 bpatch  0x000000f2 , 0x0000403e 
+ 00030491  0x00006197 fetch  0x00000001 , 0x000047dc 
+ 00030492  0x00006198 branch  0x00006009 , 0x00000034 
+ 00030493  0x00006199 call  0x00006003 
+ 00030494  0x0000619a setarg  0x00000000 
+ 00030495  0x0000619b store  0x00000008 , 0x000007da 
+ 00030496  0x0000619c store  0x00000004 , 0x000007e2 
+ 00030497  0x0000619e arg  0x000007e9 , 0x00000005 
+ 00030498  0x0000619f istore  0x00000007 , 0x00000005 
+ 00030499  0x000061a0 jam  0x00000000 , 0x000007e0 
+ 00030500  0x000061a1 branch  0x000077a4 
+ 00030501  0x000061a4 jam  0x00000001 , 0x000007dc 
+ 00030502  0x000061a5 branch  0x0000772a 
+ 00030503  0x000061a7 fetch  0x00000001 , 0x00004793 
+ 00030504  0x000061a8 beq  0x00000001 , 0x000077c2 
+ 00030505  0x000061a9 branch  0x00003bf1 
+ 00030506  0x000061ab fetch  0x00000001 , 0x00004793 
+ 00030507  0x000061ac beq  0x00000001 , 0x0000772d 
+ 00030508  0x000061ad branch  0x000077a4 
+ 00030509  0x000061b0 call  0x000077c2 
+ 00030510  0x000061b1 fetch  0x00000001 , 0x000007db 
+ 00030511  0x000061b2 nrtn  0x00000034 
+ 00030512  0x000061b3 jam  0x00000003 , 0x000007da 
+ 00030513  0x000061b4 rtn 
+ 00030514  0x000061b7 fetch  0x00000001 , 0x000007de 
+ 00030515  0x000061b8 bne  0x00000000 , 0x00007750 
+ 00030516  0x000061b9 call  0x0000774d 
+ 00030517  0x000061ba arg  0x00000898 , 0x00000005 
+ 00030518  0x000061bb setarg  0x00000848 
+ 00030519  0x000061bc istore  0x00000002 , 0x00000005 
+ 00030520  0x000061bd setarg  0x000047c4 
+ 00030521  0x000061be istore  0x00000002 , 0x00000005 
+ 00030522  0x000061bf setarg  0x00000808 
+ 00030523  0x000061c0 istore  0x00000002 , 0x00000005 
+ 00030524  0x000061c1 branch  0x00007744 
+ 00030525  0x000061c3 arg  0x00000898 , 0x00000005 
+ 00030526  0x000061c4 setarg  0x00000858 
+ 00030527  0x000061c5 istore  0x00000002 , 0x00000005 
+ 00030528  0x000061c6 setarg  0x00000808 
+ 00030529  0x000061c7 istore  0x00000002 , 0x00000005 
+ 00030530  0x000061c8 setarg  0x000047c4 
+ 00030531  0x000061c9 istore  0x00000002 , 0x00000005 
+ 00030532  0x000061cb call  0x00007ad2 
+ 00030533  0x000061cc fetch  0x00000001 , 0x000007db 
+ 00030534  0x000061cd beq  0x00000004 , 0x0000774a 
+ 00030535  0x000061ce jam  0x00000001 , 0x000007dc 
+ 00030536  0x000061cf jam  0x00000005 , 0x000007da 
+ 00030537  0x000061d0 rtn 
+ 00030538  0x000061d2 jam  0x00000014 , 0x000007db 
+ 00030539  0x000061d3 call  0x00007727 
+ 00030540  0x000061d4 branch  0x0000780f 
+ 00030541  0x000061d7 arg  0x00000838 , 0x00000005 
+ 00030542  0x000061d8 force  0x00000008 , 0x00000007 
+ 00030543  0x000061d9 branch  0x000077db 
+ 00030544  0x000061dc jam  0x00000001 , 0x000007dc 
+ 00030545  0x000061dd rtn 
+ 00030546  0x000061e1 arg  0x000006c3 , 0x00000005 
+ 00030547  0x000061e2 fetch  0x00000006 , 0x00004140 
+ 00030548  0x000061e3 istore  0x00000006 , 0x00000005 
+ 00030549  0x000061e4 fetch  0x00000006 , 0x00000040 
+ 00030550  0x000061e5 istore  0x00000006 , 0x00000005 
+ 00030551  0x000061e6 fetch  0x00000003 , 0x000007e9 
+ 00030552  0x000061e7 istore  0x00000003 , 0x00000005 
+ 00030553  0x000061e9 call  0x00007b3c 
+ 00030554  0x000061eb arg  0x00000868 , 0x00000011 
+ 00030555  0x000061ec arg  0x00000878 , 0x00000012 
+ 00030556  0x000061ed force  0x00000004 , 0x00000007 
+ 00030557  0x000061ee call  0x000077e0 
+ 00030558  0x000061ef nbranch  0x00007768 , 0x00000001 
+ 00030559  0x000061f2 fetch  0x00000001 , 0x000007db 
+ 00030560  0x000061f3 beq  0x00000009 , 0x00007765 
+ 00030561  0x000061f4 jam  0x0000000a , 0x000007da 
+ 00030562  0x000061f5 jam  0x00000001 , 0x000007dc 
+ 00030563  0x000061f6 jam  0x00000003 , 0x0000007c 
+ 00030564  0x000061f7 rtn 
+ 00030565  0x000061f9 jam  0x00000003 , 0x0000007c 
+ 00030566  0x000061fa jam  0x00000015 , 0x000007db 
+ 00030567  0x000061fb branch  0x0000780f 
+ 00030568  0x000061ff fetch  0x00000001 , 0x000007db 
+ 00030569  0x00006200 beq  0x00000009 , 0x0000776e 
+ 00030570  0x00006201 jam  0x00000000 , 0x000007da 
+ 00030571  0x00006202 jam  0x00000004 , 0x0000007c 
+ 00030572  0x00006204 jam  0x00000005 , 0x0000007e 
+ 00030573  0x00006205 rtn 
+ 00030574  0x00006207 jam  0x00000004 , 0x0000007c 
+ 00030575  0x00006208 jam  0x00000000 , 0x000007db 
+ 00030576  0x00006209 rtn 
+ 00030577  0x0000620c fetch  0x00000001 , 0x000007df 
+ 00030578  0x0000620d beq  0x00000001 , 0x00007775 
+ 00030579  0x0000620e jam  0x0000000a , 0x000007db 
+ 00030580  0x0000620f branch  0x0000780f 
+ 00030581  0x00006211 arg  0x000006c3 , 0x00000005 
+ 00030582  0x00006212 fetch  0x00000006 , 0x00000040 
+ 00030583  0x00006213 istore  0x00000006 , 0x00000005 
+ 00030584  0x00006214 fetch  0x00000006 , 0x00004140 
+ 00030585  0x00006215 istore  0x00000006 , 0x00000005 
+ 00030586  0x00006216 fetch  0x00000003 , 0x000007e6 
+ 00030587  0x00006217 istore  0x00000003 , 0x00000005 
+ 00030588  0x00006219 call  0x00007b4a 
+ 00030589  0x0000621a fetch  0x00000001 , 0x000007db 
+ 00030590  0x0000621b beq  0x0000000a , 0x00007782 
+ 00030591  0x0000621c jam  0x0000000b , 0x000007da 
+ 00030592  0x0000621d jam  0x00000001 , 0x000007dc 
+ 00030593  0x0000621e rtn 
+ 00030594  0x00006220 jam  0x0000000b , 0x000007db 
+ 00030595  0x00006221 jam  0x00000001 , 0x000007dd 
+ 00030596  0x00006222 rtn 
+ 00030597  0x00006225 arg  0x00000898 , 0x00000005 
+ 00030598  0x00006226 fetch  0x00000006 , 0x00000040 
+ 00030599  0x00006227 istore  0x00000006 , 0x00000005 
+ 00030600  0x00006228 fetch  0x00000006 , 0x00004140 
+ 00030601  0x00006229 istore  0x00000006 , 0x00000005 
+ 00030602  0x0000622a setarg  0x00000848 
+ 00030603  0x0000622b istore  0x00000002 , 0x00000005 
+ 00030604  0x0000622c setarg  0x00000858 
+ 00030605  0x0000622d istore  0x00000002 , 0x00000005 
+ 00030606  0x0000622e branch  0x00007799 
+ 00030607  0x00006230 jam  0x0000000f , 0x000007da 
+ 00030608  0x00006231 arg  0x00000898 , 0x00000005 
+ 00030609  0x00006232 fetch  0x00000006 , 0x00004140 
+ 00030610  0x00006233 istore  0x00000006 , 0x00000005 
+ 00030611  0x00006234 fetch  0x00000006 , 0x00000040 
+ 00030612  0x00006235 istore  0x00000006 , 0x00000005 
+ 00030613  0x00006236 setarg  0x00000858 
+ 00030614  0x00006237 istore  0x00000002 , 0x00000005 
+ 00030615  0x00006238 setarg  0x00000848 
+ 00030616  0x00006239 istore  0x00000002 , 0x00000005 
+ 00030617  0x0000623c arg  0x000006c3 , 0x00000005 
+ 00030618  0x0000623d fetch  0x00000006 , 0x00000898 
+ 00030619  0x0000623e istore  0x00000006 , 0x00000005 
+ 00030620  0x0000623f fetch  0x00000006 , 0x0000089e 
+ 00030621  0x00006240 istore  0x00000006 , 0x00000005 
+ 00030622  0x00006242 call  0x00007b06 
+ 00030623  0x00006245 jam  0x00000001 , 0x0000425e 
+ 00030624  0x00006246 arg  0x00004262 , 0x00000005 
+ 00030625  0x00006247 arg  0x00000868 , 0x00000006 
+ 00030626  0x00006248 call  0x00007e35 
+ 00030627  0x00006249 branch  0x00003229 
+ 00030628  0x0000624d set1  0x00000025 , 0x00000000 
+ 00030629  0x0000624e bpatch  0x000000f3 , 0x0000403e 
+ 00030630  0x0000624f fetch  0x00000001 , 0x00004793 
+ 00030631  0x00006250 rtnne  0x00000000 
+ 00030632  0x00006251 fetch  0x00000001 , 0x000007de 
+ 00030633  0x00006252 rtnne  0x00000000 
+ 00030634  0x00006253 arg  0x00004794 , 0x00000005 
+ 00030635  0x00006254 force  0x0000000b , 0x00000007 
+ 00030636  0x00006255 call  0x000077db 
+ 00030637  0x00006256 random  0x0000003f 
+ 00030638  0x00006257 rshift  0x0000003f , 0x0000003f 
+ 00030639  0x00006258 istore  0x00000002 , 0x00000005 
+ 00030640  0x0000625a arg  0x0000065a , 0x00000005 
+ 00030641  0x0000625b arg  0x00004794 , 0x00000006 
+ 00030642  0x0000625c call  0x00007e33 
+ 00030643  0x0000625e arg  0x00000582 , 0x00000005 
+ 00030644  0x0000625f arg  0x0000078a , 0x00000006 
+ 00030645  0x00006260 call  0x00007e2d 
+ 00030646  0x00006262 arg  0x000005b2 , 0x00000005 
+ 00030647  0x00006263 call  0x00007e3a 
+ 00030648  0x00006264 jam  0x00000001 , 0x000005b2 
+ 00030649  0x00006266 call  0x00007b7f 
+ 00030650  0x00006267 jam  0x00000001 , 0x000007de 
+ 00030651  0x00006268 rtn 
+ 00030652  0x0000626b arg  0x000047ac , 0x00000005 
+ 00030653  0x0000626c arg  0x000005ca , 0x00000006 
+ 00030654  0x0000626d call  0x00007e2d 
+ 00030655  0x0000626e jam  0x00000001 , 0x00004793 
+ 00030656  0x0000626f jam  0x00000000 , 0x000007de 
+ 00030657  0x00006270 rtn 
+ 00030658  0x00006273 set1  0x00000025 , 0x00000000 
+ 00030659  0x00006274 bpatch  0x000000f4 , 0x0000403e 
+ 00030660  0x00006275 fetch  0x00000001 , 0x000007e5 
+ 00030661  0x00006276 rtnne  0x00000000 
+ 00030662  0x00006277 fetch  0x00000001 , 0x000007de 
+ 00030663  0x00006278 rtnne  0x00000000 
+ 00030664  0x0000627a arg  0x0000065a , 0x00000005 
+ 00030665  0x0000627b arg  0x00004794 , 0x00000006 
+ 00030666  0x0000627c call  0x00007e33 
+ 00030667  0x0000627e arg  0x00000582 , 0x00000005 
+ 00030668  0x0000627f arg  0x000007f0 , 0x00000006 
+ 00030669  0x00006280 call  0x00007e2d 
+ 00030670  0x00006282 arg  0x000005b2 , 0x00000005 
+ 00030671  0x00006283 call  0x00007e3a 
+ 00030672  0x00006284 jam  0x00000001 , 0x000005b2 
+ 00030673  0x00006286 call  0x00007b7f 
+ 00030674  0x00006287 jam  0x00000002 , 0x000007de 
+ 00030675  0x00006288 rtn 
+ 00030676  0x0000628b jam  0x00000001 , 0x000007df 
+ 00030677  0x0000628c arg  0x00000820 , 0x00000005 
+ 00030678  0x0000628d arg  0x000005ca , 0x00000006 
+ 00030679  0x0000628e call  0x00007e33 
+ 00030680  0x0000628f jam  0x00000001 , 0x000007e5 
+ 00030681  0x00006290 jam  0x00000000 , 0x000007de 
+ 00030682  0x00006291 rtn 
+ 00030683  0x00006294 increase  0xffffffff , 0x00000007 
+ 00030684  0x00006295 nrtn  0x00000002 
+ 00030685  0x00006296 random  0x0000003f 
+ 00030686  0x00006297 istore  0x00000002 , 0x00000005 
+ 00030687  0x00006298 branch  0x000077db 
+ 00030688  0x0000629a increase  0xffffffff , 0x00000007 
+ 00030689  0x0000629b nbranch  0x000077ec , 0x00000002 
+ 00030690  0x0000629c ifetch  0x00000004 , 0x00000011 
+ 00030691  0x0000629d copy  0x0000003f , 0x00000002 
+ 00030692  0x0000629e ifetch  0x00000004 , 0x00000012 
+ 00030693  0x0000629f iflip  0x00000002 , 0x0000003f 
+ 00030694  0x000062a0 nbranch  0x000077ea , 0x00000005 
+ 00030695  0x000062a1 increase  0x00000004 , 0x00000011 
+ 00030696  0x000062a2 increase  0x00000004 , 0x00000012 
+ 00030697  0x000062a3 branch  0x000077e0 
+ 00030698  0x000062a5 disable  0x00000001 
+ 00030699  0x000062a6 rtn 
+ 00030700  0x000062a8 enable  0x00000001 
+ 00030701  0x000062a9 rtn 
+ 00030702  0x000062b1 set1  0x00000025 , 0x00000000 
+ 00030703  0x000062b2 bpatch  0x000000f5 , 0x0000403e 
+ 00030704  0x000062b3 fetch  0x00000001 , 0x000007dc 
+ 00030705  0x000062b4 rtn  0x00000034 
+ 00030706  0x000062b5 jam  0x00000000 , 0x000007dc 
+ 00030707  0x000062b6 fetch  0x00000001 , 0x000007da 
+ 00030708  0x000062b7 beq  0x00000003 , 0x00006117 
+ 00030709  0x000062b8 beq  0x00000005 , 0x00006134 
+ 00030710  0x000062b9 beq  0x00000007 , 0x0000613f 
+ 00030711  0x000062ba beq  0x0000000b , 0x00006155 
+ 00030712  0x000062bb beq  0x00000002 , 0x00007725 
+ 00030713  0x000062bc beq  0x00000004 , 0x00007732 
+ 00030714  0x000062bd beq  0x00000009 , 0x00007752 
+ 00030715  0x000062be beq  0x0000000a , 0x00007771 
+ 00030716  0x000062bf beq  0x0000000c , 0x0000778f 
+ 00030717  0x000062c1 rtn 
+ 00030718  0x000062c4 set1  0x00000025 , 0x00000000 
+ 00030719  0x000062c5 bpatch  0x000000f6 , 0x0000403e 
+ 00030720  0x000062c6 fetch  0x00000001 , 0x000007dd 
+ 00030721  0x000062c7 rtn  0x00000034 
+ 00030722  0x000062c8 jam  0x00000000 , 0x000007dd 
+ 00030723  0x000062c9 fetch  0x00000001 , 0x000007db 
+ 00030724  0x000062ca beq  0x00000012 , 0x000060f7 
+ 00030725  0x000062cb beq  0x00000013 , 0x000060ff 
+ 00030726  0x000062cc beq  0x00000003 , 0x00006103 
+ 00030727  0x000062cd beq  0x00000004 , 0x0000773d 
+ 00030728  0x000062ce beq  0x00000014 , 0x00006107 
+ 00030729  0x000062cf beq  0x00000007 , 0x00006115 
+ 00030730  0x000062d0 beq  0x0000000a , 0x00007771 
+ 00030731  0x000062d1 beq  0x0000000b , 0x00006154 
+ 00030732  0x000062d2 beq  0x00000009 , 0x00007752 
+ 00030733  0x000062d3 beq  0x00000015 , 0x0000614e 
+ 00030734  0x000062d4 rtn 
+ 00030735  0x000062d7 jam  0x00000001 , 0x000007dd 
+ 00030736  0x000062d8 rtn 
+ 00030737  0x000062db jam  0x00000000 , 0x000007dd 
+ 00030738  0x000062dc rtn 
+ 00030739  0x000062de set1  0x00000025 , 0x00000000 
+ 00030740  0x000062df bpatch  0x000000f7 , 0x0000403e 
+ 00030741  0x000062e0 fetch  0x00000001 , 0x000007de 
+ 00030742  0x000062e1 rtn  0x00000034 
+ 00030743  0x000062e2 increase  0x00000080 , 0x0000003f 
+ 00030744  0x000062e3 store  0x00000001 , 0x000007de 
+ 00030745  0x000062e4 rtnbit1  0x00000007 
+ 00030746  0x000062e5 fetch  0x00000001 , 0x00000581 
+ 00030747  0x000062e6 branch  0x0000781d , 0x00000034 
+ 00030748  0x000062e7 branch  0x00007b8a 
+ 00030749  0x000062ea call  0x00007a0c 
+ 00030750  0x000062eb fetch  0x00000001 , 0x000007de 
+ 00030751  0x000062ec beq  0x00000001 , 0x000077bc 
+ 00030752  0x000062ed beq  0x00000002 , 0x000077d4 
+ 00030753  0x000062ee rtn 
+ 00030754  0x000062f2 and  0x0000003f , 0x00000007 , 0x00000007 
+ 00030755  0x000062f3 rshift3  0x0000003f , 0x0000003f 
+ 00030756  0x000062f4 iadd  0x00000006 , 0x00000006 
+ 00030757  0x000062f5 ifetch  0x00000001 , 0x00000006 
+ 00030758  0x000062f6 qisolate0  0x0000003f 
+ 00030759  0x000062f7 rtn 
+ 00030760  0x000062fb call  0x00007e33 
+ 00030761  0x000062fc call  0x00007e33 
+ 00030762  0x000062fd branch  0x00007e33 
+ 00030763  0x00006301 ifetch  0x00000008 , 0x00000006 
+ 00030764  0x00006302 nrtn  0x00000034 
+ 00030765  0x00006303 ifetch  0x00000008 , 0x00000006 
+ 00030766  0x00006304 nrtn  0x00000034 
+ 00030767  0x00006305 ifetch  0x00000008 , 0x00000006 
+ 00030768  0x00006306 rtn 
+ 00030769  0x0000630b force  0x00000006 , 0x00000039 
+ 00030770  0x0000630d ifetch  0x00000004 , 0x00000011 
+ 00030771  0x0000630e iforce  0x00000002 
+ 00030772  0x0000630f ifetch  0x00000004 , 0x00000012 
+ 00030773  0x00006310 isub  0x00000002 , 0x0000003e 
+ 00030774  0x00006311 nrtn  0x00000005 
+ 00030775  0x00006312 increase  0x00000004 , 0x00000011 
+ 00030776  0x00006313 increase  0x00000004 , 0x00000012 
+ 00030777  0x00006314 loop  0x00007832 
+ 00030778  0x00006315 rtn 
+ 00030779  0x00006319 force  0x00000006 , 0x00000039 
+ 00030780  0x0000631a increase  0x00000014 , 0x00000011 
+ 00030781  0x0000631b increase  0x00000014 , 0x00000012 
+ 00030782  0x0000631d ifetch  0x00000004 , 0x00000012 
+ 00030783  0x0000631e iforce  0x00000002 
+ 00030784  0x0000631f ifetch  0x00000004 , 0x00000011 
+ 00030785  0x00006320 isub  0x00000002 , 0x0000003f 
+ 00030786  0x00006321 nrtn  0x00000002 
+ 00030787  0x00006322 nrtn  0x00000034 
+ 00030788  0x00006323 increase  0xfffffffc , 0x00000011 
+ 00030789  0x00006324 increase  0xfffffffc , 0x00000012 
+ 00030790  0x00006325 loop  0x0000783e 
+ 00030791  0x00006326 rtn 
+ 00030792  0x00006329 force  0x00000006 , 0x00000039 
+ 00030793  0x0000632a force  0x00000000 , 0x00000013 
+ 00030794  0x0000632c ifetch  0x00000004 , 0x00000011 
+ 00030795  0x0000632d iforce  0x00000002 
+ 00030796  0x0000632e ifetch  0x00000004 , 0x00000012 
+ 00030797  0x0000632f iadd  0x00000002 , 0x0000003f 
+ 00030798  0x00006330 iadd  0x00000013 , 0x0000003f 
+ 00030799  0x00006331 istore  0x00000004 , 0x00000005 
+ 00030800  0x00006332 isolate1  0x00000020 , 0x0000003f 
+ 00030801  0x00006333 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00030802  0x00006334 increase  0x00000004 , 0x00000011 
+ 00030803  0x00006335 increase  0x00000004 , 0x00000012 
+ 00030804  0x00006336 loop  0x0000784a 
+ 00030805  0x00006337 rtn 
+ 00030806  0x0000633a force  0x00000006 , 0x00000039 
+ 00030807  0x0000633b force  0x00000000 , 0x00000013 
+ 00030808  0x0000633d ifetch  0x00000004 , 0x00000012 
+ 00030809  0x0000633e iforce  0x00000002 
+ 00030810  0x0000633f ifetch  0x00000004 , 0x00000011 
+ 00030811  0x00006340 isub  0x00000002 , 0x0000003f 
+ 00030812  0x00006341 isub  0x00000013 , 0x0000003f 
+ 00030813  0x00006342 istore  0x00000004 , 0x00000005 
+ 00030814  0x00006343 isolate1  0x00000020 , 0x0000003f 
+ 00030815  0x00006344 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00030816  0x00006345 increase  0x00000004 , 0x00000011 
+ 00030817  0x00006346 increase  0x00000004 , 0x00000012 
+ 00030818  0x00006347 loop  0x00007858 
+ 00030819  0x00006348 rtn 
+ 00030820  0x0000634b force  0x00000006 , 0x00000039 
+ 00030821  0x0000634c increase  0x00000014 , 0x00000011 
+ 00030822  0x0000634e force  0x00000000 , 0x00000013 
+ 00030823  0x00006350 ifetch  0x00000004 , 0x00000011 
+ 00030824  0x00006351 isolate1  0x00000000 , 0x0000003f 
+ 00030825  0x00006352 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00030826  0x00006353 rshift  0x0000003f , 0x0000003f 
+ 00030827  0x00006354 isolate1  0x00000000 , 0x00000013 
+ 00030828  0x00006355 setflag  0x00000001 , 0x0000001f , 0x0000003f 
+ 00030829  0x00006356 istore  0x00000004 , 0x00000011 
+ 00030830  0x00006357 increase  0xfffffffc , 0x00000011 
+ 00030831  0x00006358 rshift  0x00000013 , 0x00000013 
+ 00030832  0x00006359 loop  0x00007867 
+ 00030833  0x0000635a rtn 
+ 00030834  0x0000635d force  0x00000006 , 0x00000039 
+ 00030835  0x0000635e force  0x00000000 , 0x00000013 
+ 00030836  0x00006360 ifetch  0x00000004 , 0x00000011 
+ 00030837  0x00006361 isolate1  0x0000001f , 0x0000003f 
+ 00030838  0x00006362 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00030839  0x00006363 lshift  0x0000003f , 0x0000003f 
+ 00030840  0x00006364 isolate1  0x00000000 , 0x00000013 
+ 00030841  0x00006365 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00030842  0x00006366 istore  0x00000004 , 0x00000011 
+ 00030843  0x00006367 increase  0x00000004 , 0x00000011 
+ 00030844  0x00006368 rshift  0x00000013 , 0x00000013 
+ 00030845  0x00006369 loop  0x00007874 
+ 00030846  0x0000636a rtn 
+ 00030847  0x0000636d call  0x00007872 
+ 00030848  0x0000636f isolate1  0x00000000 , 0x00000013 
+ 00030849  0x00006370 branch  0x00007888 , 0x00000001 
+ 00030850  0x00006371 arg  0x00000742 , 0x00000012 
+ 00030851  0x00006372 copy  0x00000011 , 0x00000013 
+ 00030852  0x00006373 increase  0xffffffe8 , 0x00000011 
+ 00030853  0x00006374 call  0x0000783b 
+ 00030854  0x00006375 nrtn  0x00000002 
+ 00030855  0x00006376 copy  0x00000013 , 0x00000011 
+ 00030856  0x00006378 increase  0xffffffe8 , 0x00000011 
+ 00030857  0x00006379 arg  0x00000742 , 0x00000012 
+ 00030858  0x0000637a copy  0x00000011 , 0x00000005 
+ 00030859  0x0000637b branch  0x00007856 
+ 00030860  0x0000637f call  0x00007848 
+ 00030861  0x00006380 copy  0x00000005 , 0x00000011 
+ 00030862  0x00006381 branch  0x00007880 
+ 00030863  0x00006384 call  0x00007856 
+ 00030864  0x00006385 isolate0  0x00000000 , 0x00000013 
+ 00030865  0x00006386 rtn  0x00000001 
+ 00030866  0x00006387 arg  0x00000742 , 0x00000012 
+ 00030867  0x00006388 add  0x00000005 , 0xffffffe8 , 0x00000011 
+ 00030868  0x00006389 copy  0x00000011 , 0x00000005 
+ 00030869  0x0000638a branch  0x00007848 
+ 00030870  0x0000638e copy  0x00000005 , 0x0000000b 
+ 00030871  0x0000638f copy  0x00000011 , 0x00000030 
+ 00030872  0x00006390 arg  0x000006b2 , 0x00000012 
+ 00030873  0x00006391 copy  0x00000012 , 0x00000005 
+ 00030874  0x00006392 add  0x00000011 , 0x00000018 , 0x00000006 
+ 00030875  0x00006393 ifetch  0x00000008 , 0x00000006 
+ 00030876  0x00006394 istore  0x00000008 , 0x00000005 
+ 00030877  0x00006395 istore  0x00000008 , 0x00000005 
+ 00030878  0x00006396 force  0x00000000 , 0x0000003f 
+ 00030879  0x00006397 istore  0x00000008 , 0x00000005 
+ 00030880  0x00006398 copy  0x0000000b , 0x00000005 
+ 00030881  0x00006399 call  0x0000788c 
+ 00030882  0x0000639a arg  0x000006b2 , 0x00000012 
+ 00030883  0x0000639b copy  0x00000012 , 0x00000005 
+ 00030884  0x0000639c force  0x00000000 , 0x0000003f 
+ 00030885  0x0000639d istore  0x00000008 , 0x00000005 
+ 00030886  0x0000639e add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030887  0x0000639f ifetch  0x00000008 , 0x00000006 
+ 00030888  0x000063a0 istore  0x00000008 , 0x00000005 
+ 00030889  0x000063a1 istore  0x00000008 , 0x00000005 
+ 00030890  0x000063a2 copy  0x0000000b , 0x00000011 
+ 00030891  0x000063a3 copy  0x00000011 , 0x00000005 
+ 00030892  0x000063a4 call  0x0000788c 
+ 00030893  0x000063a5 arg  0x000006b2 , 0x00000012 
+ 00030894  0x000063a6 copy  0x00000012 , 0x00000005 
+ 00030895  0x000063a7 add  0x00000030 , 0x00000028 , 0x00000006 
+ 00030896  0x000063a8 ifetch  0x00000008 , 0x00000006 
+ 00030897  0x000063a9 istore  0x00000008 , 0x00000005 
+ 00030898  0x000063aa istore  0x00000008 , 0x00000005 
+ 00030899  0x000063ab istore  0x00000008 , 0x00000005 
+ 00030900  0x000063ac copy  0x0000000b , 0x00000011 
+ 00030901  0x000063ad copy  0x00000011 , 0x00000005 
+ 00030902  0x000063ae branch  0x0000788c 
+ 00030903  0x000063b2 force  0x00000006 , 0x00000039 
+ 00030904  0x000063b4 ifetch  0x00000004 , 0x00000006 
+ 00030905  0x000063b5 iforce  0x0000002f 
+ 00030906  0x000063b6 increase  0x00000001 , 0x00000038 
+ 00030907  0x000063b7 loop  0x000078b8 
+ 00030908  0x000063b8 rtn 
+ 00030909  0x000063bd copy  0x00000005 , 0x0000000b 
+ 00030910  0x000063be arg  0x00000682 , 0x00000005 
+ 00030911  0x000063bf call  0x00007e3a 
+ 00030912  0x000063c0 arg  0x00000682 , 0x00000005 
+ 00030913  0x000063c1 copy  0x00000011 , 0x00000006 
+ 00030914  0x000063c2 force  0x00000000 , 0x00000038 
+ 00030915  0x000063c3 call  0x000078b7 
+ 00030916  0x000063c4 copy  0x00000012 , 0x00000006 
+ 00030917  0x000063c5 call  0x000078b7 
+ 00030918  0x000063c6 force  0x00000000 , 0x00000012 
+ 00030919  0x000063c8 force  0x00000000 , 0x00000002 
+ 00030920  0x000063c9 force  0x00000006 , 0x00000013 
+ 00030921  0x000063cb ifetch  0x00000004 , 0x00000005 
+ 00030922  0x000063cc iforce  0x00000011 
+ 00030923  0x000063cd copy  0x00000012 , 0x00000038 
+ 00030924  0x000063ce deposit  0x0000002f 
+ 00030925  0x000063cf copy  0x00000013 , 0x00000038 
+ 00030926  0x000063d0 imul32  0x0000002f , 0x0000003f 
+ 00030927  0x000063d1 iadd  0x00000011 , 0x0000003f 
+ 00030928  0x000063d2 iadd  0x00000002 , 0x0000003f 
+ 00030929  0x000063d3 istore  0x00000004 , 0x00000005 
+ 00030930  0x000063d4 rshift32  0x0000003f , 0x00000002 
+ 00030931  0x000063d5 increase  0x00000001 , 0x00000013 
+ 00030932  0x000063d6 compare  0x0000000c , 0x00000013 , 0x000000ff 
+ 00030933  0x000063d7 nbranch  0x000078c9 , 0x00000001 
+ 00030934  0x000063d8 deposit  0x00000002 
+ 00030935  0x000063d9 istore  0x00000004 , 0x00000005 
+ 00030936  0x000063da increase  0xffffffe8 , 0x00000005 
+ 00030937  0x000063db increase  0x00000001 , 0x00000012 
+ 00030938  0x000063dc compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00030939  0x000063dd nbranch  0x000078c7 , 0x00000001 
+ 00030940  0x000063de arg  0x00000682 , 0x00000011 
+ 00030941  0x000063df copy  0x0000000b , 0x00000005 
+ 00030942  0x000063e0 branch  0x00007896 
+ 00030943  0x000063e4 copy  0x00000011 , 0x00000012 
+ 00030944  0x000063e5 branch  0x000078bd 
+ 00030945  0x000063e8 copy  0x00000011 , 0x00000030 
+ 00030946  0x000063ea copy  0x00000030 , 0x00000011 
+ 00030947  0x000063eb ifetch  0x00000001 , 0x00000011 
+ 00030948  0x000063ec isolate1  0x00000000 , 0x0000003f 
+ 00030949  0x000063ed rtn  0x00000001 
+ 00030950  0x000063ee call  0x00007864 
+ 00030951  0x000063ef ifetch  0x00000001 , 0x00000012 
+ 00030952  0x000063f0 isolate0  0x00000000 , 0x0000003f 
+ 00030953  0x000063f1 branch  0x000078f1 , 0x00000001 
+ 00030954  0x000063f2 arg  0x00000742 , 0x00000011 
+ 00030955  0x000063f3 copy  0x00000012 , 0x00000005 
+ 00030956  0x000063f4 call  0x00007848 
+ 00030957  0x000063f5 ifetch  0x00000001 , 0x00000012 
+ 00030958  0x000063f6 iadd  0x00000013 , 0x0000003f 
+ 00030959  0x000063f7 istore  0x00000001 , 0x00000012 
+ 00030960  0x000063f8 increase  0xffffffe8 , 0x00000012 
+ 00030961  0x000063fa add  0x00000012 , 0x00000018 , 0x00000011 
+ 00030962  0x000063fb force  0x00000007 , 0x00000039 
+ 00030963  0x000063fc call  0x00007866 
+ 00030964  0x000063fd branch  0x000078e2 
+ 00030965  0x00006401 copy  0x00000005 , 0x0000000b 
+ 00030966  0x00006402 arg  0x000006e2 , 0x00000005 
+ 00030967  0x00006403 call  0x00007e3a 
+ 00030968  0x00006404 force  0x00000000 , 0x0000003f 
+ 00030969  0x00006405 store  0x00000004 , 0x0000069a 
+ 00030970  0x00006406 store  0x00000004 , 0x000006fa 
+ 00030971  0x00006407 jam  0x00000001 , 0x000006e2 
+ 00030972  0x00006408 arg  0x00000682 , 0x00000005 
+ 00030973  0x00006409 call  0x00007e3a 
+ 00030974  0x0000640a arg  0x00000742 , 0x00000006 
+ 00030975  0x0000640b arg  0x000006b2 , 0x00000005 
+ 00030976  0x0000640c call  0x00007e33 
+ 00030977  0x0000640d copy  0x00000011 , 0x00000006 
+ 00030978  0x0000640e arg  0x000006ca , 0x00000005 
+ 00030979  0x0000640f call  0x00007e33 
+ 00030980  0x00006411 arg  0x000006ca , 0x00000006 
+ 00030981  0x00006412 call  0x0000782b 
+ 00030982  0x00006413 branch  0x0000792d , 0x00000034 
+ 00030983  0x00006414 arg  0x000006ca , 0x00000011 
+ 00030984  0x00006415 arg  0x000006e2 , 0x00000012 
+ 00030985  0x00006416 call  0x000078e1 
+ 00030986  0x00006418 arg  0x000006b2 , 0x00000011 
+ 00030987  0x00006419 arg  0x00000682 , 0x00000012 
+ 00030988  0x0000641a call  0x000078e1 
+ 00030989  0x0000641b arg  0x000006ca , 0x00000011 
+ 00030990  0x0000641c arg  0x000006b2 , 0x00000012 
+ 00030991  0x0000641d call  0x0000783b 
+ 00030992  0x0000641e branch  0x0000791f , 0x00000002 
+ 00030993  0x0000641f arg  0x000006b2 , 0x00000011 
+ 00030994  0x00006420 arg  0x000006ca , 0x00000012 
+ 00030995  0x00006421 copy  0x00000011 , 0x00000005 
+ 00030996  0x00006422 call  0x00007856 
+ 00030997  0x00006423 arg  0x000006e2 , 0x00000011 
+ 00030998  0x00006424 arg  0x00000682 , 0x00000012 
+ 00030999  0x00006425 copy  0x00000012 , 0x00000005 
+ 00031000  0x00006426 call  0x00007848 
+ 00031001  0x00006427 ifetch  0x00000001 , 0x00000011 
+ 00031002  0x00006428 iadd  0x00000013 , 0x00000013 
+ 00031003  0x00006429 ifetch  0x00000001 , 0x00000012 
+ 00031004  0x0000642a iadd  0x00000013 , 0x0000003f 
+ 00031005  0x0000642b istore  0x00000001 , 0x00000012 
+ 00031006  0x0000642c branch  0x00007904 
+ 00031007  0x0000642e arg  0x000006ca , 0x00000011 
+ 00031008  0x0000642f arg  0x000006b2 , 0x00000012 
+ 00031009  0x00006430 copy  0x00000011 , 0x00000005 
+ 00031010  0x00006431 call  0x00007856 
+ 00031011  0x00006432 arg  0x00000682 , 0x00000011 
+ 00031012  0x00006433 arg  0x000006e2 , 0x00000012 
+ 00031013  0x00006434 copy  0x00000012 , 0x00000005 
+ 00031014  0x00006435 call  0x00007848 
+ 00031015  0x00006436 ifetch  0x00000001 , 0x00000011 
+ 00031016  0x00006437 iadd  0x00000013 , 0x00000013 
+ 00031017  0x00006438 ifetch  0x00000001 , 0x00000012 
+ 00031018  0x00006439 iadd  0x00000013 , 0x0000003f 
+ 00031019  0x0000643a istore  0x00000001 , 0x00000012 
+ 00031020  0x0000643b branch  0x00007904 
+ 00031021  0x0000643d arg  0x000006e2 , 0x00000005 
+ 00031022  0x0000643e call  0x00007e3a 
+ 00031023  0x0000643f fetch  0x00000001 , 0x0000069a 
+ 00031024  0x00006440 store  0x00000001 , 0x000006e2 
+ 00031025  0x00006441 store  0x00000001 , 0x000006ea 
+ 00031026  0x00006442 arg  0x000006e2 , 0x00000011 
+ 00031027  0x00006443 arg  0x00000682 , 0x00000012 
+ 00031028  0x00006444 copy  0x00000012 , 0x00000005 
+ 00031029  0x00006445 call  0x0000788c 
+ 00031030  0x00006446 arg  0x00000742 , 0x00000011 
+ 00031031  0x00006447 arg  0x00000682 , 0x00000012 
+ 00031032  0x00006448 copy  0x0000000b , 0x00000005 
+ 00031033  0x00006449 branch  0x0000788f 
+ 00031034  0x0000644f arg  0x00000642 , 0x00000011 
+ 00031035  0x00006450 arg  0x000006fa , 0x00000005 
+ 00031036  0x00006451 call  0x000078df 
+ 00031037  0x00006452 arg  0x000006fa , 0x00000011 
+ 00031038  0x00006453 arg  0x00000712 , 0x00000005 
+ 00031039  0x00006454 call  0x000078df 
+ 00031040  0x00006455 arg  0x0000075a , 0x00000011 
+ 00031041  0x00006456 arg  0x00000712 , 0x00000012 
+ 00031042  0x00006457 arg  0x00000712 , 0x00000005 
+ 00031043  0x00006458 call  0x000078bd 
+ 00031044  0x00006459 arg  0x00000612 , 0x00000011 
+ 00031045  0x0000645a arg  0x000006fa , 0x00000005 
+ 00031046  0x0000645b call  0x000078df 
+ 00031047  0x0000645c arg  0x000006fa , 0x00000006 
+ 00031048  0x0000645d arg  0x000006ca , 0x00000005 
+ 00031049  0x0000645e call  0x00007e33 
+ 00031050  0x0000645f arg  0x000006ca , 0x00000011 
+ 00031051  0x00006460 call  0x0000787f 
+ 00031052  0x00006461 arg  0x000006fa , 0x00000011 
+ 00031053  0x00006462 arg  0x000006ca , 0x00000012 
+ 00031054  0x00006463 arg  0x000006fa , 0x00000005 
+ 00031055  0x00006464 call  0x0000788c 
+ 00031056  0x00006465 arg  0x000006fa , 0x00000011 
+ 00031057  0x00006466 arg  0x00000712 , 0x00000012 
+ 00031058  0x00006467 arg  0x000006fa , 0x00000005 
+ 00031059  0x00006468 call  0x0000788c 
+ 00031060  0x00006469 arg  0x00000612 , 0x00000006 
+ 00031061  0x0000646a arg  0x000006ca , 0x00000005 
+ 00031062  0x0000646b call  0x00007e33 
+ 00031063  0x0000646c arg  0x0000062a , 0x00000011 
+ 00031064  0x0000646d arg  0x00000712 , 0x00000005 
+ 00031065  0x0000646e call  0x000078df 
+ 00031066  0x0000646f arg  0x000006ca , 0x00000011 
+ 00031067  0x00006470 call  0x0000787f 
+ 00031068  0x00006471 arg  0x000006ca , 0x00000011 
+ 00031069  0x00006472 call  0x0000787f 
+ 00031070  0x00006473 arg  0x000006ca , 0x00000011 
+ 00031071  0x00006474 arg  0x00000712 , 0x00000012 
+ 00031072  0x00006475 arg  0x000006ca , 0x00000005 
+ 00031073  0x00006476 call  0x000078bd 
+ 00031074  0x00006477 arg  0x00000712 , 0x00000011 
+ 00031075  0x00006478 arg  0x000006e2 , 0x00000005 
+ 00031076  0x00006479 call  0x000078df 
+ 00031077  0x0000647a arg  0x000006e2 , 0x00000011 
+ 00031078  0x0000647b call  0x0000787f 
+ 00031079  0x0000647c arg  0x000006e2 , 0x00000011 
+ 00031080  0x0000647d call  0x0000787f 
+ 00031081  0x0000647e arg  0x000006e2 , 0x00000011 
+ 00031082  0x0000647f call  0x0000787f 
+ 00031083  0x00006480 arg  0x0000062a , 0x00000006 
+ 00031084  0x00006481 arg  0x00000712 , 0x00000005 
+ 00031085  0x00006482 call  0x00007e33 
+ 00031086  0x00006483 arg  0x00000712 , 0x00000011 
+ 00031087  0x00006484 call  0x0000787f 
+ 00031088  0x00006485 arg  0x00000712 , 0x00000011 
+ 00031089  0x00006486 arg  0x00000642 , 0x00000012 
+ 00031090  0x00006487 arg  0x00000642 , 0x00000005 
+ 00031091  0x00006488 call  0x000078bd 
+ 00031092  0x00006489 arg  0x000006fa , 0x00000011 
+ 00031093  0x0000648a arg  0x00000712 , 0x00000005 
+ 00031094  0x0000648b call  0x000078df 
+ 00031095  0x0000648c arg  0x00000712 , 0x00000011 
+ 00031096  0x0000648d arg  0x000006ca , 0x00000012 
+ 00031097  0x0000648e arg  0x00000712 , 0x00000005 
+ 00031098  0x0000648f call  0x0000788f 
+ 00031099  0x00006490 arg  0x00000712 , 0x00000011 
+ 00031100  0x00006491 arg  0x000006ca , 0x00000012 
+ 00031101  0x00006492 arg  0x00000612 , 0x00000005 
+ 00031102  0x00006493 call  0x0000788f 
+ 00031103  0x00006494 arg  0x000006ca , 0x00000011 
+ 00031104  0x00006495 arg  0x00000612 , 0x00000012 
+ 00031105  0x00006496 arg  0x00000712 , 0x00000005 
+ 00031106  0x00006497 call  0x0000788f 
+ 00031107  0x00006498 arg  0x00000712 , 0x00000011 
+ 00031108  0x00006499 arg  0x000006fa , 0x00000012 
+ 00031109  0x0000649a arg  0x00000712 , 0x00000005 
+ 00031110  0x0000649b call  0x000078bd 
+ 00031111  0x0000649c arg  0x00000712 , 0x00000011 
+ 00031112  0x0000649d arg  0x000006e2 , 0x00000012 
+ 00031113  0x0000649e arg  0x0000062a , 0x00000005 
+ 00031114  0x0000649f branch  0x0000788f 
+ 00031115  0x000064a4 arg  0x000005b2 , 0x00000011 
+ 00031116  0x000064a5 arg  0x0000072a , 0x00000005 
+ 00031117  0x000064a6 call  0x000078df 
+ 00031118  0x000064a7 arg  0x00000612 , 0x00000011 
+ 00031119  0x000064a8 arg  0x0000072a , 0x00000012 
+ 00031120  0x000064a9 arg  0x000006e2 , 0x00000005 
+ 00031121  0x000064aa call  0x000078bd 
+ 00031122  0x000064ab arg  0x000005b2 , 0x00000011 
+ 00031123  0x000064ac arg  0x0000072a , 0x00000012 
+ 00031124  0x000064ad arg  0x0000072a , 0x00000005 
+ 00031125  0x000064ae call  0x000078bd 
+ 00031126  0x000064af arg  0x0000062a , 0x00000011 
+ 00031127  0x000064b0 arg  0x0000072a , 0x00000012 
+ 00031128  0x000064b1 arg  0x000006ca , 0x00000005 
+ 00031129  0x000064b2 call  0x000078bd 
+ 00031130  0x000064b3 arg  0x00000642 , 0x00000011 
+ 00031131  0x000064b4 arg  0x0000072a , 0x00000005 
+ 00031132  0x000064b5 call  0x000078df 
+ 00031133  0x000064b6 arg  0x00000582 , 0x00000011 
+ 00031134  0x000064b7 arg  0x0000072a , 0x00000012 
+ 00031135  0x000064b8 arg  0x000006fa , 0x00000005 
+ 00031136  0x000064b9 call  0x000078bd 
+ 00031137  0x000064ba arg  0x00000642 , 0x00000011 
+ 00031138  0x000064bb arg  0x0000072a , 0x00000012 
+ 00031139  0x000064bc arg  0x0000072a , 0x00000005 
+ 00031140  0x000064bd call  0x000078bd 
+ 00031141  0x000064be arg  0x0000059a , 0x00000011 
+ 00031142  0x000064bf arg  0x0000072a , 0x00000012 
+ 00031143  0x000064c0 arg  0x00000712 , 0x00000005 
+ 00031144  0x000064c1 call  0x000078bd 
+ 00031145  0x000064c2 arg  0x000006e2 , 0x00000011 
+ 00031146  0x000064c3 arg  0x000006fa , 0x00000012 
+ 00031147  0x000064c4 arg  0x0000072a , 0x00000005 
+ 00031148  0x000064c5 call  0x0000788f 
+ 00031149  0x000064c6 arg  0x000006e2 , 0x00000011 
+ 00031150  0x000064c7 arg  0x000006fa , 0x00000012 
+ 00031151  0x000064c8 arg  0x000006e2 , 0x00000005 
+ 00031152  0x000064c9 call  0x0000788c 
+ 00031153  0x000064ca arg  0x000006ca , 0x00000011 
+ 00031154  0x000064cb arg  0x00000712 , 0x00000012 
+ 00031155  0x000064cc arg  0x000006fa , 0x00000005 
+ 00031156  0x000064cd call  0x0000788f 
+ 00031157  0x000064ce arg  0x000006ca , 0x00000011 
+ 00031158  0x000064cf arg  0x00000712 , 0x00000012 
+ 00031159  0x000064d0 arg  0x000006ca , 0x00000005 
+ 00031160  0x000064d1 call  0x0000788c 
+ 00031161  0x000064d2 arg  0x000006ca , 0x00000011 
+ 00031162  0x000064d3 arg  0x0000072a , 0x00000012 
+ 00031163  0x000064d4 arg  0x000006ca , 0x00000005 
+ 00031164  0x000064d5 call  0x000078bd 
+ 00031165  0x000064d6 arg  0x00000642 , 0x00000011 
+ 00031166  0x000064d7 arg  0x000005b2 , 0x00000012 
+ 00031167  0x000064d8 arg  0x00000712 , 0x00000005 
+ 00031168  0x000064d9 call  0x000078bd 
+ 00031169  0x000064da arg  0x00000712 , 0x00000011 
+ 00031170  0x000064db arg  0x0000072a , 0x00000012 
+ 00031171  0x000064dc arg  0x00000642 , 0x00000005 
+ 00031172  0x000064dd call  0x000078bd 
+ 00031173  0x000064de arg  0x0000072a , 0x00000011 
+ 00031174  0x000064df arg  0x0000072a , 0x00000005 
+ 00031175  0x000064e0 call  0x000078df 
+ 00031176  0x000064e1 arg  0x0000072a , 0x00000011 
+ 00031177  0x000064e2 arg  0x000006e2 , 0x00000012 
+ 00031178  0x000064e3 arg  0x00000712 , 0x00000005 
+ 00031179  0x000064e4 call  0x000078bd 
+ 00031180  0x000064e5 arg  0x0000072a , 0x00000011 
+ 00031181  0x000064e6 arg  0x000006ca , 0x00000012 
+ 00031182  0x000064e7 arg  0x000006ca , 0x00000005 
+ 00031183  0x000064e8 call  0x000078bd 
+ 00031184  0x000064e9 arg  0x000006fa , 0x00000011 
+ 00031185  0x000064ea arg  0x00000612 , 0x00000005 
+ 00031186  0x000064eb call  0x000078df 
+ 00031187  0x000064ec arg  0x00000612 , 0x00000011 
+ 00031188  0x000064ed arg  0x00000712 , 0x00000012 
+ 00031189  0x000064ee arg  0x00000612 , 0x00000005 
+ 00031190  0x000064ef call  0x0000788f 
+ 00031191  0x000064f0 arg  0x00000612 , 0x00000006 
+ 00031192  0x000064f1 arg  0x0000072a , 0x00000005 
+ 00031193  0x000064f2 call  0x00007e33 
+ 00031194  0x000064f3 arg  0x0000072a , 0x00000011 
+ 00031195  0x000064f4 call  0x0000787f 
+ 00031196  0x000064f5 arg  0x00000712 , 0x00000011 
+ 00031197  0x000064f6 arg  0x0000072a , 0x00000012 
+ 00031198  0x000064f7 arg  0x00000712 , 0x00000005 
+ 00031199  0x000064f8 call  0x0000788f 
+ 00031200  0x000064f9 arg  0x00000712 , 0x00000011 
+ 00031201  0x000064fa arg  0x000006fa , 0x00000012 
+ 00031202  0x000064fb arg  0x000006fa , 0x00000005 
+ 00031203  0x000064fc call  0x000078bd 
+ 00031204  0x000064fd arg  0x000006fa , 0x00000011 
+ 00031205  0x000064fe arg  0x000006ca , 0x00000012 
+ 00031206  0x000064ff arg  0x0000062a , 0x00000005 
+ 00031207  0x00006500 call  0x0000788f 
+ 00031208  0x00006501 arg  0x0000062a , 0x00000011 
+ 00031209  0x00006502 arg  0x00000742 , 0x00000012 
+ 00031210  0x00006503 arg  0x0000062a , 0x00000005 
+ 00031211  0x00006504 force  0x00000000 , 0x00000013 
+ 00031212  0x00006505 fetch  0x00000001 , 0x0000062a 
+ 00031213  0x00006506 isolate1  0x00000000 , 0x0000003f 
+ 00031214  0x00006507 call  0x00007848 , 0x00000001 
+ 00031215  0x00006508 copy  0x00000013 , 0x00000030 
+ 00031216  0x00006509 arg  0x0000062a , 0x00000011 
+ 00031217  0x0000650a call  0x00007864 
+ 00031218  0x0000650b fetch  0x00000001 , 0x00000641 
+ 00031219  0x0000650c isolate1  0x00000000 , 0x00000030 
+ 00031220  0x0000650d setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00031221  0x0000650e store  0x00000001 , 0x00000641 
+ 00031222  0x0000650f rtn 
+ 00031223  0x00006513 jam  0x000000c0 , 0x00000581 
+ 00031224  0x00006514 jam  0x00000001 , 0x00000580 
+ 00031225  0x00006516 fetch  0x00000001 , 0x00000581 
+ 00031226  0x00006517 increase  0xffffffff , 0x0000003f 
+ 00031227  0x00006518 nrtn  0x00000002 
+ 00031228  0x00006519 store  0x00000001 , 0x00000581 
+ 00031229  0x0000651a fetch  0x00000001 , 0x00000580 
+ 00031230  0x0000651b call  0x0000793a , 0x00000034 
+ 00031231  0x0000651c fetch  0x00000001 , 0x00000581 
+ 00031232  0x0000651d arg  0x0000065a , 0x00000006 
+ 00031233  0x0000651e call  0x00007822 
+ 00031234  0x0000651f branch  0x000079f9 , 0x00000001 
+ 00031235  0x00006520 fetch  0x00000001 , 0x00000580 
+ 00031236  0x00006521 nbranch  0x00007a07 , 0x00000034 
+ 00031237  0x00006522 call  0x0000798b 
+ 00031238  0x00006523 branch  0x000079f9 
+ 00031239  0x00006525 jam  0x00000000 , 0x00000580 
+ 00031240  0x00006526 arg  0x00000582 , 0x00000006 
+ 00031241  0x00006527 arg  0x00000612 , 0x00000005 
+ 00031242  0x00006528 call  0x00007828 
+ 00031243  0x00006529 branch  0x000079f9 
+ 00031244  0x0000652d arg  0x00000642 , 0x00000011 
+ 00031245  0x0000652e arg  0x00000712 , 0x00000005 
+ 00031246  0x0000652f call  0x000078f5 
+ 00031247  0x00006530 arg  0x00000712 , 0x00000011 
+ 00031248  0x00006531 arg  0x000006ca , 0x00000005 
+ 00031249  0x00006532 call  0x000078df 
+ 00031250  0x00006533 arg  0x00000612 , 0x00000011 
+ 00031251  0x00006534 arg  0x000006ca , 0x00000012 
+ 00031252  0x00006535 arg  0x000005ca , 0x00000005 
+ 00031253  0x00006536 call  0x000078bd 
+ 00031254  0x00006537 arg  0x00000712 , 0x00000011 
+ 00031255  0x00006538 arg  0x000006ca , 0x00000012 
+ 00031256  0x00006539 arg  0x000006fa , 0x00000005 
+ 00031257  0x0000653a call  0x000078bd 
+ 00031258  0x0000653b arg  0x0000062a , 0x00000011 
+ 00031259  0x0000653c arg  0x000006fa , 0x00000012 
+ 00031260  0x0000653d arg  0x000005e2 , 0x00000005 
+ 00031261  0x0000653e branch  0x000078bd 
+ 00031262  0x00006542 force  0x00000010 , 0x00000039 
+ 00031263  0x00006544 ifetch  0x00000004 , 0x00000006 
+ 00031264  0x00006545 force  0x00000004 , 0x00000011 
+ 00031265  0x00006546 increase  0x00000003 , 0x00000005 
+ 00031266  0x00006548 istore  0x00000001 , 0x00000005 
+ 00031267  0x00006549 rshift8  0x0000003f , 0x0000003f 
+ 00031268  0x0000654a increase  0xfffffffe , 0x00000005 
+ 00031269  0x0000654b increase  0xffffffff , 0x00000011 
+ 00031270  0x0000654c nbranch  0x00007a22 , 0x00000005 
+ 00031271  0x0000654d increase  0x00000005 , 0x00000005 
+ 00031272  0x0000654e loop  0x00007a1f 
+ 00031273  0x0000654f rtn 
+ 00031274  0x00006553 lshift2  0x00000007 , 0x0000003f 
+ 00031275  0x00006554 iadd  0x0000000b , 0x00000006 
+ 00031276  0x00006555 ifetch  0x00000004 , 0x00000006 
+ 00031277  0x00006556 rtn 
+ 00031278  0x00006559 force  0x00000010 , 0x00000030 
+ 00031279  0x0000655a arg  0x00000582 , 0x0000000b 
+ 00031280  0x0000655c add  0x00000030 , 0xfffffff9 , 0x00000007 
+ 00031281  0x0000655d call  0x00007a2a 
+ 00031282  0x0000655e iforce  0x00000002 
+ 00031283  0x0000655f add  0x00000030 , 0xfffffff0 , 0x00000007 
+ 00031284  0x00006560 call  0x00007a2a 
+ 00031285  0x00006561 iadd  0x00000002 , 0x00000002 
+ 00031286  0x00006562 add  0x00000030 , 0xfffffffe , 0x00000007 
+ 00031287  0x00006563 call  0x00007a2a 
+ 00031288  0x00006564 shasx  0x0000003f , 0x00000001 , 0x0000003f 
+ 00031289  0x00006565 iadd  0x00000002 , 0x00000002 
+ 00031290  0x00006566 add  0x00000030 , 0xfffffff1 , 0x00000007 
+ 00031291  0x00006567 call  0x00007a2a 
+ 00031292  0x00006568 shasx  0x0000003f , 0x00000000 , 0x0000003f 
+ 00031293  0x00006569 iadd  0x00000002 , 0x00000002 
+ 00031294  0x0000656a lshift2  0x00000030 , 0x0000003f 
+ 00031295  0x0000656b iadd  0x0000000b , 0x00000005 
+ 00031296  0x0000656c istoret  0x00000004 , 0x00000005 
+ 00031297  0x0000656d increase  0x00000001 , 0x00000030 
+ 00031298  0x0000656e compare  0x00000040 , 0x00000030 , 0x000000ff 
+ 00031299  0x0000656f nbranch  0x00007a30 , 0x00000001 
+ 00031300  0x00006570 rtn 
+ 00031301  0x00006574 arg  0x000007ba , 0x00000006 
+ 00031302  0x00006575 force  0x00000007 , 0x00000038 
+ 00031303  0x00006577 ifetch  0x00000004 , 0x00000006 
+ 00031304  0x00006578 iforce  0x0000002f 
+ 00031305  0x00006579 increase  0xffffffff , 0x00000038 
+ 00031306  0x0000657a branch  0x00007a47 , 0x00000002 
+ 00031307  0x0000657b rtn 
+ 00031308  0x0000657e set1  0x00000025 , 0x00000000 
+ 00031309  0x0000657f bpatch  0x000000f8 , 0x0000403f 
+ 00031310  0x00006580 call  0x00007a2e 
+ 00031311  0x00006581 arg  0x00000682 , 0x00000005 
+ 00031312  0x00006582 force  0x00000000 , 0x00000038 
+ 00031313  0x00006584 deposit  0x0000002f 
+ 00031314  0x00006585 istore  0x00000004 , 0x00000005 
+ 00031315  0x00006586 increase  0x00000001 , 0x00000038 
+ 00031316  0x00006587 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00031317  0x00006588 nbranch  0x00007a51 , 0x00000001 
+ 00031318  0x00006589 call  0x000075c5 
+ 00031319  0x0000658a arg  0x00008700 , 0x0000000b 
+ 00031320  0x0000658b arg  0x00000582 , 0x00000030 
+ 00031321  0x0000658c force  0x00000040 , 0x00000039 
+ 00031322  0x0000658e ifetcht  0x00000004 , 0x00000030 
+ 00031323  0x0000658f ifetch  0x00000004 , 0x0000000b 
+ 00031324  0x00006590 increase  0x00000004 , 0x0000000b 
+ 00031325  0x00006591 increase  0x00000004 , 0x00000030 
+ 00031326  0x00006592 iadd  0x00000002 , 0x0000003f 
+ 00031327  0x00006593 force  0x00000007 , 0x00000038 
+ 00031328  0x00006594 iadd  0x0000002f , 0x00000002 
+ 00031329  0x00006595 force  0x00000004 , 0x00000038 
+ 00031330  0x00006596 shasx  0x0000002f , 0x00000003 , 0x0000003f 
+ 00031331  0x00006597 iadd  0x00000002 , 0x00000002 
+ 00031332  0x00006598 force  0x00000005 , 0x00000038 
+ 00031333  0x00006599 deposit  0x0000002f 
+ 00031334  0x0000659a force  0x00000006 , 0x00000038 
+ 00031335  0x0000659b ixor  0x0000002f , 0x0000003f 
+ 00031336  0x0000659c force  0x00000004 , 0x00000038 
+ 00031337  0x0000659d iand  0x0000002f , 0x0000003f 
+ 00031338  0x0000659e force  0x00000006 , 0x00000038 
+ 00031339  0x0000659f ixor  0x0000002f , 0x0000003f 
+ 00031340  0x000065a0 iadd  0x00000002 , 0x00000002 
+ 00031341  0x000065a1 force  0x00000007 , 0x00000038 
+ 00031342  0x000065a2 copy  0x00000002 , 0x0000002f 
+ 00031343  0x000065a3 force  0x00000003 , 0x00000038 
+ 00031344  0x000065a4 deposit  0x0000002f 
+ 00031345  0x000065a5 iadd  0x00000002 , 0x0000002f 
+ 00031346  0x000065a6 force  0x00000000 , 0x00000038 
+ 00031347  0x000065a7 deposit  0x0000002f 
+ 00031348  0x000065a8 force  0x00000001 , 0x00000038 
+ 00031349  0x000065a9 iand  0x0000002f , 0x00000002 
+ 00031350  0x000065aa ior  0x0000002f , 0x0000003f 
+ 00031351  0x000065ab force  0x00000002 , 0x00000038 
+ 00031352  0x000065ac iand  0x0000002f , 0x0000003f 
+ 00031353  0x000065ad ior  0x00000002 , 0x00000002 
+ 00031354  0x000065ae force  0x00000000 , 0x00000038 
+ 00031355  0x000065af shasx  0x0000002f , 0x00000002 , 0x0000003f 
+ 00031356  0x000065b0 iadd  0x00000002 , 0x0000003f 
+ 00031357  0x000065b1 force  0x00000007 , 0x00000038 
+ 00031358  0x000065b2 iadd  0x0000002f , 0x0000002f 
+ 00031359  0x000065b3 regexrot 
+ 00031360  0x000065b4 loop  0x00007a5a 
+ 00031361  0x000065b5 arg  0x00000682 , 0x00000006 
+ 00031362  0x000065b6 force  0x00000000 , 0x00000038 
+ 00031363  0x000065b8 ifetch  0x00000004 , 0x00000006 
+ 00031364  0x000065b9 iadd  0x0000002f , 0x0000002f 
+ 00031365  0x000065ba increase  0x00000001 , 0x00000038 
+ 00031366  0x000065bb compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00031367  0x000065bc nbranch  0x00007a83 , 0x00000001 
+ 00031368  0x000065bd branch  0x000075c9 
+ 00031369  0x000065c1 arg  0x00000858 , 0x00000005 
+ 00031370  0x000065c2 force  0x00000007 , 0x00000038 
+ 00031371  0x000065c4 deposit  0x0000002f 
+ 00031372  0x000065c5 istore  0x00000004 , 0x00000005 
+ 00031373  0x000065c6 increase  0xffffffff , 0x00000038 
+ 00031374  0x000065c7 branch  0x00007a8b , 0x00000002 
+ 00031375  0x000065c8 rtn 
+ 00031376  0x000065cc arg  0x00000582 , 0x00000005 
+ 00031377  0x000065cd increase  0xfffffffc , 0x00000006 
+ 00031378  0x000065ce sub  0x00000039 , 0x00000010 , 0x00000011 
+ 00031379  0x000065d0 ifetch  0x00000004 , 0x00000006 
+ 00031380  0x000065d1 ixor  0x00000002 , 0x0000003f 
+ 00031381  0x000065d2 istore  0x00000004 , 0x00000005 
+ 00031382  0x000065d3 increase  0xfffffff8 , 0x00000006 
+ 00031383  0x000065d4 loop  0x00007a93 
+ 00031384  0x000065d5 copy  0x00000011 , 0x00000039 
+ 00031385  0x000065d6 deposit  0x00000002 
+ 00031386  0x000065d8 istore  0x00000004 , 0x00000005 
+ 00031387  0x000065d9 loop  0x00007a9a 
+ 00031388  0x000065da rtn 
+ 00031389  0x000065dd arg  0x00000808 , 0x00000006 
+ 00031390  0x000065de arg  0x00000582 , 0x00000005 
+ 00031391  0x000065df force  0x00000006 , 0x00000039 
+ 00031392  0x000065e0 call  0x00007b97 
+ 00031393  0x000065e1 arg  0x000047c4 , 0x00000006 
+ 00031394  0x000065e2 force  0x00000006 , 0x00000039 
+ 00031395  0x000065e3 call  0x00007b97 
+ 00031396  0x000065e4 arg  0x00000858 , 0x00000006 
+ 00031397  0x000065e5 call  0x00007b96 
+ 00031398  0x000065e6 call  0x00007a45 
+ 00031399  0x000065e7 call  0x00007a4c 
+ 00031400  0x000065e8 arg  0x00000848 , 0x00000006 
+ 00031401  0x000065e9 arg  0x00000582 , 0x00000005 
+ 00031402  0x000065ea branch  0x00007ab8 
+ 00031403  0x000065ed arg  0x000047c4 , 0x00000006 
+ 00031404  0x000065ee arg  0x00000582 , 0x00000005 
+ 00031405  0x000065ef force  0x00000006 , 0x00000039 
+ 00031406  0x000065f0 call  0x00007b97 
+ 00031407  0x000065f1 arg  0x00000808 , 0x00000006 
+ 00031408  0x000065f2 force  0x00000006 , 0x00000039 
+ 00031409  0x000065f3 call  0x00007b97 
+ 00031410  0x000065f4 arg  0x00000848 , 0x00000006 
+ 00031411  0x000065f5 call  0x00007b96 
+ 00031412  0x000065f6 call  0x00007a45 
+ 00031413  0x000065f7 call  0x00007a4c 
+ 00031414  0x000065f8 arg  0x00000858 , 0x00000006 
+ 00031415  0x000065f9 arg  0x00000582 , 0x00000005 
+ 00031416  0x000065fb call  0x00007b96 
+ 00031417  0x000065fc setarg  0x00800000 
+ 00031418  0x000065fd lshift8  0x0000003f , 0x0000003f 
+ 00031419  0x000065fe istore  0x00000004 , 0x00000005 
+ 00031420  0x000065ff force  0x00000005 , 0x00000039 
+ 00031421  0x00006600 call  0x00007e3b 
+ 00031422  0x00006601 setarg  0x00000280 
+ 00031423  0x00006602 istore  0x00000004 , 0x00000005 
+ 00031424  0x00006603 call  0x00007a4c 
+ 00031425  0x00006605 fetch  0x00000004 , 0x00000858 
+ 00031426  0x00006607 arg  0x000003e8 , 0x00000011 
+ 00031427  0x00006608 idiv  0x00000011 
+ 00031428  0x00006609 call  0x00007efd 
+ 00031429  0x0000660a remainder  0x0000003f 
+ 00031430  0x0000660b store  0x00000004 , 0x000007ec 
+ 00031431  0x0000660c quotient  0x0000003f 
+ 00031432  0x0000660d arg  0x000003e8 , 0x00000011 
+ 00031433  0x0000660e idiv  0x00000011 
+ 00031434  0x0000660f call  0x00007efd 
+ 00031435  0x00006610 remainder  0x0000003f 
+ 00031436  0x00006611 arg  0x000003e8 , 0x00000011 
+ 00031437  0x00006612 imul32  0x00000011 , 0x0000003f 
+ 00031438  0x00006613 fetcht  0x00000004 , 0x000007ec 
+ 00031439  0x00006614 iadd  0x00000002 , 0x0000003f 
+ 00031440  0x00006615 store  0x00000004 , 0x000007ec 
+ 00031441  0x00006616 rtn 
+ 00031442  0x00006619 setarg  0x00363636 
+ 00031443  0x0000661a lshift8  0x0000003f , 0x00000002 
+ 00031444  0x0000661b or_into  0x00000036 , 0x00000002 
+ 00031445  0x0000661c fetch  0x00000002 , 0x00000898 
+ 00031446  0x0000661d copy  0x0000003f , 0x00000006 
+ 00031447  0x0000661e force  0x00000004 , 0x00000039 
+ 00031448  0x0000661f call  0x00007a90 
+ 00031449  0x00006620 call  0x00007a45 
+ 00031450  0x00006621 call  0x00007a4c 
+ 00031451  0x00006622 fetch  0x00000002 , 0x0000089a 
+ 00031452  0x00006623 copy  0x0000003f , 0x00000006 
+ 00031453  0x00006624 arg  0x00000582 , 0x00000005 
+ 00031454  0x00006625 force  0x00000006 , 0x00000039 
+ 00031455  0x00006626 call  0x00007b97 
+ 00031456  0x00006627 fetch  0x00000002 , 0x0000089c 
+ 00031457  0x00006628 copy  0x0000003f , 0x00000006 
+ 00031458  0x00006629 force  0x00000006 , 0x00000039 
+ 00031459  0x0000662a call  0x00007b97 
+ 00031460  0x0000662b setarg  0x00800000 
+ 00031461  0x0000662c istore  0x00000003 , 0x00000005 
+ 00031462  0x0000662d force  0x00000000 , 0x0000003f 
+ 00031463  0x0000662e istore  0x00000001 , 0x00000005 
+ 00031464  0x0000662f force  0x00000000 , 0x0000003f 
+ 00031465  0x00006630 istore  0x00000008 , 0x00000005 
+ 00031466  0x00006631 setarg  0x00000388 
+ 00031467  0x00006632 istore  0x00000004 , 0x00000005 
+ 00031468  0x00006633 call  0x00007a4c 
+ 00031469  0x00006634 call  0x00007a89 
+ 00031470  0x00006635 arg  0x00000858 , 0x00000006 
+ 00031471  0x00006636 arg  0x000006a2 , 0x00000005 
+ 00031472  0x00006637 call  0x00007e31 
+ 00031473  0x00006639 setarg  0x005c5c5c 
+ 00031474  0x0000663a lshift8  0x0000003f , 0x00000002 
+ 00031475  0x0000663b or_into  0x0000005c , 0x00000002 
+ 00031476  0x0000663c fetch  0x00000002 , 0x00000898 
+ 00031477  0x0000663d copy  0x0000003f , 0x00000006 
+ 00031478  0x0000663e force  0x00000004 , 0x00000039 
+ 00031479  0x0000663f call  0x00007a90 
+ 00031480  0x00006640 call  0x00007a45 
+ 00031481  0x00006641 call  0x00007a4c 
+ 00031482  0x00006642 arg  0x000006c2 , 0x00000006 
+ 00031483  0x00006643 arg  0x00000582 , 0x00000005 
+ 00031484  0x00006644 force  0x00000008 , 0x00000039 
+ 00031485  0x00006645 call  0x00007b97 
+ 00031486  0x00006646 setarg  0x00800000 
+ 00031487  0x00006647 lshift8  0x0000003f , 0x0000003f 
+ 00031488  0x00006648 istore  0x00000004 , 0x00000005 
+ 00031489  0x00006649 call  0x00007e3a 
+ 00031490  0x0000664a setarg  0x00000300 
+ 00031491  0x0000664b istore  0x00000004 , 0x00000005 
+ 00031492  0x0000664c call  0x00007a4c 
+ 00031493  0x0000664d branch  0x00007a89 
+ 00031494  0x00006651 setarg  0x00363636 
+ 00031495  0x00006652 lshift8  0x0000003f , 0x00000002 
+ 00031496  0x00006653 or_into  0x00000036 , 0x00000002 
+ 00031497  0x00006654 arg  0x00000838 , 0x00000006 
+ 00031498  0x00006655 force  0x00000006 , 0x00000039 
+ 00031499  0x00006656 call  0x00007a90 
+ 00031500  0x00006657 call  0x00007a45 
+ 00031501  0x00006658 call  0x00007a4c 
+ 00031502  0x00006659 fetch  0x00000002 , 0x000008a4 
+ 00031503  0x0000665a copy  0x0000003f , 0x00000006 
+ 00031504  0x0000665b arg  0x00000582 , 0x00000005 
+ 00031505  0x0000665c call  0x00007b96 
+ 00031506  0x0000665d fetch  0x00000002 , 0x000008a6 
+ 00031507  0x0000665e copy  0x0000003f , 0x00000006 
+ 00031508  0x0000665f call  0x00007b96 
+ 00031509  0x00006661 setarg  0x0062746c 
+ 00031510  0x00006662 lshift8  0x0000003f , 0x0000003f 
+ 00031511  0x00006663 or_into  0x0000006b , 0x0000003f 
+ 00031512  0x00006664 istore  0x00000004 , 0x00000005 
+ 00031513  0x00006665 arg  0x000006cf , 0x00000006 
+ 00031514  0x00006666 force  0x00000003 , 0x00000039 
+ 00031515  0x00006667 call  0x00007b97 
+ 00031516  0x00006669 setarg  0x00800000 
+ 00031517  0x0000666a lshift8  0x0000003f , 0x0000003f 
+ 00031518  0x0000666b istore  0x00000004 , 0x00000005 
+ 00031519  0x0000666c force  0x00000000 , 0x0000003f 
+ 00031520  0x0000666d istore  0x00000008 , 0x00000005 
+ 00031521  0x0000666e setarg  0x00000380 
+ 00031522  0x0000666f istore  0x00000004 , 0x00000005 
+ 00031523  0x00006670 call  0x00007a4c 
+ 00031524  0x00006672 call  0x00007a89 
+ 00031525  0x00006673 arg  0x00000858 , 0x00000006 
+ 00031526  0x00006674 arg  0x000006a2 , 0x00000005 
+ 00031527  0x00006675 call  0x00007e31 
+ 00031528  0x00006677 setarg  0x005c5c5c 
+ 00031529  0x00006678 lshift8  0x0000003f , 0x00000002 
+ 00031530  0x00006679 or_into  0x0000005c , 0x00000002 
+ 00031531  0x0000667a arg  0x00000838 , 0x00000006 
+ 00031532  0x0000667b force  0x00000006 , 0x00000039 
+ 00031533  0x0000667c call  0x00007a90 
+ 00031534  0x0000667d call  0x00007a45 
+ 00031535  0x0000667e call  0x00007a4c 
+ 00031536  0x0000667f arg  0x000006c2 , 0x00000006 
+ 00031537  0x00006680 arg  0x00000582 , 0x00000005 
+ 00031538  0x00006681 force  0x00000008 , 0x00000039 
+ 00031539  0x00006682 call  0x00007b97 
+ 00031540  0x00006683 setarg  0x00800000 
+ 00031541  0x00006684 lshift8  0x0000003f , 0x0000003f 
+ 00031542  0x00006685 istore  0x00000004 , 0x00000005 
+ 00031543  0x00006686 call  0x00007e3a 
+ 00031544  0x00006687 setarg  0x00000300 
+ 00031545  0x00006688 istore  0x00000004 , 0x00000005 
+ 00031546  0x00006689 call  0x00007a4c 
+ 00031547  0x0000668a branch  0x00007a89 
+ 00031548  0x0000668e setarg  0x00363636 
+ 00031549  0x0000668f lshift8  0x0000003f , 0x00000002 
+ 00031550  0x00006690 or_into  0x00000036 , 0x00000002 
+ 00031551  0x00006691 arg  0x00000838 , 0x00000006 
+ 00031552  0x00006692 force  0x00000006 , 0x00000039 
+ 00031553  0x00006693 call  0x00007a90 
+ 00031554  0x00006694 call  0x00007a45 
+ 00031555  0x00006695 call  0x00007a4c 
+ 00031556  0x00006696 arg  0x00000858 , 0x00000006 
+ 00031557  0x00006697 arg  0x00000582 , 0x00000005 
+ 00031558  0x00006698 call  0x00007b96 
+ 00031559  0x00006699 arg  0x00000848 , 0x00000006 
+ 00031560  0x0000669a call  0x00007b96 
+ 00031561  0x0000669b branch  0x00007b57 
+ 00031562  0x0000669e setarg  0x00363636 
+ 00031563  0x0000669f lshift8  0x0000003f , 0x00000002 
+ 00031564  0x000066a0 or_into  0x00000036 , 0x00000002 
+ 00031565  0x000066a1 arg  0x00000838 , 0x00000006 
+ 00031566  0x000066a2 force  0x00000006 , 0x00000039 
+ 00031567  0x000066a3 call  0x00007a90 
+ 00031568  0x000066a4 call  0x00007a45 
+ 00031569  0x000066a5 call  0x00007a4c 
+ 00031570  0x000066a7 arg  0x00000848 , 0x00000006 
+ 00031571  0x000066a8 arg  0x00000582 , 0x00000005 
+ 00031572  0x000066a9 call  0x00007b96 
+ 00031573  0x000066aa arg  0x00000858 , 0x00000006 
+ 00031574  0x000066ab call  0x00007b96 
+ 00031575  0x000066ad setarg  0x00000000 
+ 00031576  0x000066ae istore  0x00000008 , 0x00000005 
+ 00031577  0x000066af istore  0x00000008 , 0x00000005 
+ 00031578  0x000066b1 copy  0x00000005 , 0x00000002 
+ 00031579  0x000066b2 jam  0x00000080 , 0x000006c2 
+ 00031580  0x000066b3 copy  0x00000002 , 0x00000005 
+ 00031581  0x000066b4 arg  0x000006d2 , 0x00000006 
+ 00031582  0x000066b5 call  0x00007b96 
+ 00031583  0x000066b7 call  0x00007a4c 
+ 00031584  0x000066b9 arg  0x00000582 , 0x00000005 
+ 00031585  0x000066ba force  0x00000007 , 0x00000039 
+ 00031586  0x000066bb call  0x00007e3b 
+ 00031587  0x000066bc istore  0x00000004 , 0x00000005 
+ 00031588  0x000066bd setarg  0x000003f8 
+ 00031589  0x000066be istore  0x00000004 , 0x00000005 
+ 00031590  0x000066bf call  0x00007a4c 
+ 00031591  0x000066c0 call  0x00007a89 
+ 00031592  0x000066c2 arg  0x00000858 , 0x00000006 
+ 00031593  0x000066c3 arg  0x000006a2 , 0x00000005 
+ 00031594  0x000066c4 call  0x00007e31 
+ 00031595  0x000066c6 setarg  0x005c5c5c 
+ 00031596  0x000066c7 lshift8  0x0000003f , 0x00000002 
+ 00031597  0x000066c8 or_into  0x0000005c , 0x00000002 
+ 00031598  0x000066c9 arg  0x00000838 , 0x00000006 
+ 00031599  0x000066ca force  0x00000006 , 0x00000039 
+ 00031600  0x000066cb call  0x00007a90 
+ 00031601  0x000066cc call  0x00007a45 
+ 00031602  0x000066cd call  0x00007a4c 
+ 00031603  0x000066ce arg  0x000006c2 , 0x00000006 
+ 00031604  0x000066cf arg  0x00000582 , 0x00000005 
+ 00031605  0x000066d0 force  0x00000008 , 0x00000039 
+ 00031606  0x000066d1 call  0x00007b97 
+ 00031607  0x000066d2 setarg  0x00800000 
+ 00031608  0x000066d3 lshift8  0x0000003f , 0x0000003f 
+ 00031609  0x000066d4 istore  0x00000004 , 0x00000005 
+ 00031610  0x000066d5 call  0x00007e3a 
+ 00031611  0x000066d6 setarg  0x00000300 
+ 00031612  0x000066d7 istore  0x00000004 , 0x00000005 
+ 00031613  0x000066d8 call  0x00007a4c 
+ 00031614  0x000066d9 branch  0x00007a89 
+ 00031615  0x000066e1 jam  0x000000c0 , 0x00000581 
+ 00031616  0x000066e3 fetch  0x00000001 , 0x00000581 
+ 00031617  0x000066e4 rtn  0x00000034 
+ 00031618  0x000066e5 increase  0xffffffff , 0x0000003f 
+ 00031619  0x000066e6 store  0x00000001 , 0x00000581 
+ 00031620  0x000066e7 arg  0x0000065a , 0x00000006 
+ 00031621  0x000066e8 call  0x00007822 
+ 00031622  0x000066e9 branch  0x00007b80 , 0x00000001 
+ 00031623  0x000066ea arg  0x00000582 , 0x00000006 
+ 00031624  0x000066eb arg  0x00000612 , 0x00000005 
+ 00031625  0x000066ec branch  0x00007828 
+ 00031626  0x000066ef call  0x0000793a 
+ 00031627  0x000066f0 fetch  0x00000001 , 0x00000581 
+ 00031628  0x000066f1 increase  0xffffffff , 0x0000003f 
+ 00031629  0x000066f2 store  0x00000001 , 0x00000581 
+ 00031630  0x000066f3 arg  0x0000065a , 0x00000006 
+ 00031631  0x000066f4 call  0x00007822 
+ 00031632  0x000066f5 rtn  0x00000001 
+ 00031633  0x000066f6 branch  0x0000798b 
+ 00031634  0x000066f9 jam  0x00000000 , 0x00000580 
+ 00031635  0x000066fa arg  0x00000582 , 0x00000006 
+ 00031636  0x000066fb arg  0x00000612 , 0x00000005 
+ 00031637  0x000066fc branch  0x00007828 
+ 00031638  0x000066ff force  0x00000004 , 0x00000039 
+ 00031639  0x00006701 increase  0xfffffffc , 0x00000006 
+ 00031640  0x00006703 ifetch  0x00000004 , 0x00000006 
+ 00031641  0x00006704 istore  0x00000004 , 0x00000005 
+ 00031642  0x00006705 increase  0xfffffff8 , 0x00000006 
+ 00031643  0x00006706 loop  0x00007b98 
+ 00031644  0x00006707 rtn 
+ 00031645  0x0000670b rtn  0x0000002b 
+ 00031646  0x0000670c call  0x00007ba5 
+ 00031647  0x0000670d call  0x00007c13 
+ 00031648  0x0000670e branch  0x00007bd9 
+ 00031649  0x00006711 fetch  0x00000001 , 0x00004132 
+ 00031650  0x00006712 rtneq  0x00000001 
+ 00031651  0x00006713 call  0x00007bf2 
+ 00031652  0x00006715 branch  0x00007c04 
+ 00031653  0x00006718 fetch  0x00000001 , 0x000047fd 
+ 00031654  0x00006719 rtneq  0x000000ff 
+ 00031655  0x0000671a iforce  0x00000002 
+ 00031656  0x0000671b call  0x000069da 
+ 00031657  0x0000671c fetcht  0x00000001 , 0x000047fd 
+ 00031658  0x0000671d call  0x000069ed 
+ 00031659  0x0000671e nop  0x00000064 
+ 00031660  0x0000671f fetcht  0x00000001 , 0x000047fd 
+ 00031661  0x00006720 call  0x000069d1 
+ 00031662  0x00006721 branch  0x00007bb1 
+ 00031663  0x00006724 jam  0x000000ff , 0x000047fd 
+ 00031664  0x00006725 rtn 
+ 00031665  0x00006728 set1  0x00000025 , 0x00000000 
+ 00031666  0x00006729 bpatch  0x00000085 , 0x00004030 
+ 00031667  0x0000672a fetch  0x00000001 , 0x000047fd 
+ 00031668  0x0000672b rtneq  0x000000ff 
+ 00031669  0x0000672c copy  0x0000003f , 0x00000002 
+ 00031670  0x0000672d call  0x000069e5 
+ 00031671  0x0000672e nbranch  0x00007bc4 , 0x00000001 
+ 00031672  0x00006731 call  0x00007bce 
+ 00031673  0x00006732 fetch  0x00000002 , 0x000047f4 
+ 00031674  0x00006733 set1  0x0000000c 
+ 00031675  0x00006734 store  0x00000002 , 0x000047f4 
+ 00031676  0x00006735 fetch  0x00000001 , 0x000047eb 
+ 00031677  0x00006736 rtneq  0x00000000 
+ 00031678  0x00006737 jam  0x00000000 , 0x000047eb 
+ 00031679  0x00006739 fetch  0x00000001 , 0x000047fc 
+ 00031680  0x0000673a store  0x00000001 , 0x000047ea 
+ 00031681  0x0000673b call  0x00007bd5 
+ 00031682  0x0000673c jam  0x0000002c , 0x00000b7d 
+ 00031683  0x0000673d branch  0x00007c27 
+ 00031684  0x0000673f fetch  0x00000002 , 0x000047f4 
+ 00031685  0x00006740 set0  0x0000000c 
+ 00031686  0x00006741 store  0x00000002 , 0x000047f4 
+ 00031687  0x00006742 fetch  0x00000001 , 0x000047eb 
+ 00031688  0x00006743 rtneq  0x00000001 
+ 00031689  0x00006744 jam  0x00000001 , 0x000047eb 
+ 00031690  0x00006746 jam  0x00000000 , 0x000047ea 
+ 00031691  0x00006747 call  0x00007bd7 
+ 00031692  0x00006748 jam  0x0000002d , 0x00000b7d 
+ 00031693  0x00006749 branch  0x00007c27 
+ 00031694  0x0000674c fetch  0x00000001 , 0x000047ea 
+ 00031695  0x0000674d rtn  0x00000034 
+ 00031696  0x0000674e increase  0xffffffff , 0x0000003f 
+ 00031697  0x0000674f store  0x00000001 , 0x000047ea 
+ 00031698  0x00006750 nrtn  0x00000034 
+ 00031699  0x00006752 jam  0x00000010 , 0x00000b7d 
+ 00031700  0x00006753 branch  0x00007c27 
+ 00031701  0x00006756 arg  0x00000007 , 0x00000007 
+ 00031702  0x00006757 branch  0x00003dc2 
+ 00031703  0x0000675a arg  0x00000007 , 0x00000007 
+ 00031704  0x0000675b branch  0x00003dc6 
+ 00031705  0x0000675e fetch  0x00000001 , 0x000047f7 
+ 00031706  0x0000675f rtneq  0x000000ff 
+ 00031707  0x00006760 iforce  0x00000002 
+ 00031708  0x00006761 call  0x000069da 
+ 00031709  0x00006762 branch  0x00007be2 
+ 00031710  0x00006765 fetch  0x00000002 , 0x000047f4 
+ 00031711  0x00006766 set0  0x0000000d 
+ 00031712  0x00006767 store  0x00000002 , 0x000047f4 
+ 00031713  0x00006768 jam  0x00000000 , 0x000047e9 
+ 00031714  0x0000676a fetch  0x00000002 , 0x000047f4 
+ 00031715  0x0000676b set0  0x0000000e 
+ 00031716  0x0000676c store  0x00000002 , 0x000047f4 
+ 00031717  0x0000676d fetcht  0x00000001 , 0x000047f7 
+ 00031718  0x0000676e branch  0x000069ed 
+ 00031719  0x00006771 fetch  0x00000002 , 0x000047f4 
+ 00031720  0x00006772 set1  0x0000000e 
+ 00031721  0x00006773 store  0x00000002 , 0x000047f4 
+ 00031722  0x00006774 jam  0x00000000 , 0x000047e9 
+ 00031723  0x00006775 fetcht  0x00000001 , 0x000047f7 
+ 00031724  0x00006776 branch  0x000069ef 
+ 00031725  0x00006779 fetch  0x00000002 , 0x000047f4 
+ 00031726  0x0000677a set1  0x0000000d 
+ 00031727  0x0000677b store  0x00000002 , 0x000047f4 
+ 00031728  0x0000677c jam  0x00000001 , 0x000047e9 
+ 00031729  0x0000677d rtn 
+ 00031730  0x00006780 set1  0x00000025 , 0x00000000 
+ 00031731  0x00006781 bpatch  0x00000086 , 0x00004030 
+ 00031732  0x00006782 fetch  0x00000001 , 0x000047e9 
+ 00031733  0x00006783 rtneq  0x00000000 
+ 00031734  0x00006784 arg  0x00000009 , 0x00000007 
+ 00031735  0x00006785 call  0x00007e53 
+ 00031736  0x00006786 nrtn  0x00000034 
+ 00031737  0x00006787 fetch  0x00000001 , 0x000047e9 
+ 00031738  0x00006788 beq  0x00000002 , 0x00007bff 
+ 00031739  0x00006789 call  0x00007be7 
+ 00031740  0x0000678a jam  0x00000002 , 0x000047e9 
+ 00031741  0x0000678b fetch  0x00000002 , 0x000047fa 
+ 00031742  0x0000678c branch  0x00007c02 
+ 00031743  0x0000678e call  0x00007be2 
+ 00031744  0x0000678f jam  0x00000003 , 0x000047e9 
+ 00031745  0x00006790 fetch  0x00000002 , 0x000047f8 
+ 00031746  0x00006792 arg  0x00000009 , 0x00000007 
+ 00031747  0x00006793 branch  0x00007e4c 
+ 00031748  0x00006797 set1  0x00000025 , 0x00000000 
+ 00031749  0x00006798 bpatch  0x00000087 , 0x00004030 
+ 00031750  0x00006799 arg  0x00000000 , 0x00000011 
+ 00031751  0x0000679a fetcht  0x00000004 , 0x000047ec 
+ 00031752  0x0000679b copy  0x00000022 , 0x00000012 
+ 00031753  0x0000679e copy  0x00000012 , 0x0000003f 
+ 00031754  0x0000679f increase  0x000000a0 , 0x00000002 
+ 00031755  0x000067a0 increase  0x000000a0 , 0x00000002 
+ 00031756  0x000067a1 isub  0x00000002 , 0x0000003e 
+ 00031757  0x000067a2 nbranch  0x00007c16 , 0x00000002 
+ 00031758  0x000067a3 increase  0x00000001 , 0x00000011 
+ 00031759  0x000067a4 and  0x00000011 , 0x0000000f , 0x0000003f 
+ 00031760  0x000067a5 nbranch  0x00007c09 , 0x00000034 
+ 00031761  0x000067a6 arg  0x00000000 , 0x00000011 
+ 00031762  0x000067a7 call  0x00007c1d 
+ 00031763  0x000067a9 copy  0x00000022 , 0x0000003f 
+ 00031764  0x000067aa store  0x00000004 , 0x000047ec 
+ 00031765  0x000067ab rtn 
+ 00031766  0x000067ad set1  0x00000025 , 0x00000000 
+ 00031767  0x000067ae bpatch  0x00000088 , 0x00004031 
+ 00031768  0x000067af copy  0x00000011 , 0x0000003f 
+ 00031769  0x000067b0 rtn  0x00000034 
+ 00031770  0x000067b1 increase  0xffffff60 , 0x00000002 
+ 00031771  0x000067b2 increase  0xffffff60 , 0x00000002 
+ 00031772  0x000067b3 storet  0x00000004 , 0x000047ec 
+ 00031773  0x000067b5 increase  0x00000050 , 0x0000003f 
+ 00031774  0x000067b6 store  0x00000001 , 0x00000b7d 
+ 00031775  0x000067b7 branch  0x00007c27 
+ 00031776  0x000067be jam  0x00000001 , 0x000047dd 
+ 00031777  0x000067c0 fetch  0x00000001 , 0x000047de 
+ 00031778  0x000067c1 nbranch  0x00007c21 , 0x00000034 
+ 00031779  0x000067c2 rtn 
+ 00031780  0x000067c5 jam  0x00000000 , 0x000047dd 
+ 00031781  0x000067c6 rtn 
+ 00031782  0x000067c9 branch  0x00007f9f 
+ 00031783  0x000067ce set1  0x00000025 , 0x00000000 
+ 00031784  0x000067cf bpatch  0x00000089 , 0x00004031 
+ 00031785  0x000067d0 fetch  0x00000001 , 0x00004132 
+ 00031786  0x000067d1 rtneq  0x00000001 
+ 00031787  0x000067d2 call  0x00007c20 
+ 00031788  0x000067d3 copy  0x00000011 , 0x0000003f 
+ 00031789  0x000067d4 store  0x00000004 , 0x000008ab 
+ 00031790  0x000067d5 arg  0x000047df , 0x00000011 
+ 00031791  0x000067d6 call  0x00007f92 
+ 00031792  0x000067d7 fetch  0x00000004 , 0x000008ab 
+ 00031793  0x000067d8 copy  0x0000003f , 0x00000011 
+ 00031794  0x000067d9 branch  0x00007c24 
+ 00031795  0x000067dc set1  0x00000025 , 0x00000000 
+ 00031796  0x000067dd bpatch  0x0000008a , 0x00004031 
+ 00031797  0x000067de fetch  0x00000001 , 0x00004132 
+ 00031798  0x000067df rtneq  0x00000001 
+ 00031799  0x000067e0 call  0x00007c20 
+ 00031800  0x000067e1 copy  0x00000011 , 0x0000003f 
+ 00031801  0x000067e2 store  0x00000004 , 0x000008ab 
+ 00031802  0x000067e3 arg  0x000047e4 , 0x00000011 
+ 00031803  0x000067e4 call  0x00007f92 
+ 00031804  0x000067e5 fetch  0x00000004 , 0x000008ab 
+ 00031805  0x000067e6 copy  0x0000003f , 0x00000011 
+ 00031806  0x000067e7 branch  0x00007c24 
+ 00031807  0x000067ea set1  0x00000025 , 0x00000000 
+ 00031808  0x000067eb bpatch  0x0000008b , 0x00004031 
+ 00031809  0x000067ec setarg  0x00000000 
+ 00031810  0x000067ed store  0x00000005 , 0x000047e4 
+ 00031811  0x000067ee store  0x00000005 , 0x000047df 
+ 00031812  0x000067ef rtn 
+ 00031813  0x000067f2 set1  0x00000025 , 0x00000000 
+ 00031814  0x000067f3 bpatch  0x0000008c , 0x00004031 
+ 00031815  0x000067f4 fetch  0x00000001 , 0x00004272 
+ 00031816  0x000067f5 nrtn  0x00000034 
+ 00031817  0x000067f6 arg  0x000047e4 , 0x00000011 
+ 00031818  0x000067f7 call  0x00007fac 
+ 00031819  0x000067f8 rtn  0x00000034 
+ 00031820  0x000067f9 jam  0x00000000 , 0x000008aa 
+ 00031821  0x000067fa call  0x00007c51 
+ 00031822  0x000067fb fetch  0x00000001 , 0x000008aa 
+ 00031823  0x000067fc branch  0x00007c45 , 0x00000034 
+ 00031824  0x000067fd rtn 
+ 00031825  0x00006800 set1  0x00000025 , 0x00000000 
+ 00031826  0x00006801 bpatch  0x0000008d , 0x00004031 
+ 00031827  0x00006802 call  0x00007c20 
+ 00031828  0x00006803 arg  0x000047e4 , 0x00000011 
+ 00031829  0x00006804 call  0x00007f9f 
+ 00031830  0x00006805 copy  0x0000003f , 0x00000002 
+ 00031831  0x00006806 call  0x00007c24 
+ 00031832  0x00006807 copy  0x00000002 , 0x0000003f 
+ 00031833  0x00006808 rtn  0x00000034 
+ 00031834  0x00006809 beq  0x00000001 , 0x00007c97 
+ 00031835  0x0000680a beq  0x00000002 , 0x00007c9c 
+ 00031836  0x0000680b beq  0x00000003 , 0x00007ca2 
+ 00031837  0x0000680c beq  0x00000007 , 0x00007ca7 
+ 00031838  0x0000680d beq  0x00000008 , 0x00007ca8 
+ 00031839  0x0000680e beq  0x00000009 , 0x00007ca9 
+ 00031840  0x0000680f beq  0x0000000b , 0x00007cac 
+ 00031841  0x00006810 beq  0x0000000c , 0x00007cad 
+ 00031842  0x00006811 beq  0x0000000d , 0x00007cae 
+ 00031843  0x00006812 beq  0x0000000e , 0x00007cb1 
+ 00031844  0x00006813 beq  0x0000000f , 0x00007cb3 
+ 00031845  0x00006814 beq  0x00000010 , 0x00007cb6 
+ 00031846  0x00006815 beq  0x00000012 , 0x00007cbb 
+ 00031847  0x00006816 beq  0x00000015 , 0x00007bed 
+ 00031848  0x00006817 beq  0x00000014 , 0x00007be7 
+ 00031849  0x00006818 beq  0x00000013 , 0x00007bde 
+ 00031850  0x00006819 beq  0x00000016 , 0x00007cbc 
+ 00031851  0x0000681a beq  0x00000017 , 0x00007cc1 
+ 00031852  0x0000681b beq  0x00000018 , 0x00007cc3 
+ 00031853  0x0000681c beq  0x00000019 , 0x00007cc8 
+ 00031854  0x0000681d beq  0x0000001b , 0x00007cc6 
+ 00031855  0x0000681e beq  0x0000001c , 0x00007cd3 
+ 00031856  0x0000681f beq  0x0000001e , 0x00007cd5 
+ 00031857  0x00006821 store  0x00000001 , 0x00000b7d 
+ 00031858  0x00006822 set1  0x00000025 , 0x00000000 
+ 00031859  0x00006823 bpatch  0x0000008e , 0x00004031 
+ 00031860  0x00006824 fetch  0x00000001 , 0x0000007c 
+ 00031861  0x00006825 branch  0x00007c79 , 0x00000034 
+ 00031862  0x00006826 call  0x000061d9 
+ 00031863  0x00006827 fetch  0x00000001 , 0x0000007c 
+ 00031864  0x00006828 nbranch  0x00007c8c , 0x00000034 
+ 00031865  0x0000682a fetch  0x00000001 , 0x00000b7d 
+ 00031866  0x0000682b bmark0  0x00000009 , 0x00007c87 
+ 00031867  0x0000682d beq  0x00000005 , 0x00004a19 
+ 00031868  0x0000682e beq  0x00000006 , 0x00004a28 
+ 00031869  0x0000682f beq  0x0000000a , 0x00007caa 
+ 00031870  0x00006830 beq  0x00000004 , 0x00007ca4 
+ 00031871  0x00006831 beq  0x00000011 , 0x00007cb8 
+ 00031872  0x00006832 beq  0x0000001d , 0x00007c8e 
+ 00031873  0x00006833 beq  0x0000001f , 0x0000690c 
+ 00031874  0x00006834 beq  0x00000020 , 0x00006910 
+ 00031875  0x00006835 beq  0x00000012 , 0x00007c85 
+ 00031876  0x00006836 rtn 
+ 00031877  0x0000683a jam  0x0000002f , 0x00000b7d 
+ 00031878  0x0000683b branch  0x00005620 
+ 00031879  0x0000683d store  0x00000001 , 0x00000b7d 
+ 00031880  0x0000683e call  0x000032ee 
+ 00031881  0x0000683f branch  0x00007c8c , 0x00000005 
+ 00031882  0x00006840 call  0x000032f9 
+ 00031883  0x00006841 nrtn  0x00000005 
+ 00031884  0x00006843 jam  0x00000001 , 0x000008aa 
+ 00031885  0x00006844 branch  0x00007c33 
+ 00031886  0x00006848 jam  0x00000034 , 0x0000007c 
+ 00031887  0x00006849 set1  0x00000003 , 0x00000000 
+ 00031888  0x0000684a nrtn  0x00000029 
+ 00031889  0x0000684b jam  0x00000000 , 0x00004748 
+ 00031890  0x0000684c jam  0x00000013 , 0x0000007c 
+ 00031891  0x0000684d fetch  0x00000001 , 0x00000177 
+ 00031892  0x0000684e set0  0x00000002 , 0x0000003f 
+ 00031893  0x0000684f store  0x00000001 , 0x00000177 
+ 00031894  0x00006850 rtn 
+ 00031895  0x00006853 fetch  0x00000002 , 0x000047f4 
+ 00031896  0x00006854 set1  0x00000006 
+ 00031897  0x00006855 store  0x00000002 , 0x000047f4 
+ 00031898  0x00006856 jam  0x00000003 , 0x00004133 
+ 00031899  0x00006857 rtn 
+ 00031900  0x0000685a jam  0x00000000 , 0x000047f2 
+ 00031901  0x0000685b jam  0x00000000 , 0x00004133 
+ 00031902  0x0000685c fetch  0x00000002 , 0x000047f4 
+ 00031903  0x0000685d set0  0x00000006 
+ 00031904  0x0000685e store  0x00000002 , 0x000047f4 
+ 00031905  0x0000685f rtn 
+ 00031906  0x00006862 jam  0x00000005 , 0x00004272 
+ 00031907  0x00006863 rtn 
+ 00031908  0x00006866 jam  0x00000007 , 0x0000007c 
+ 00031909  0x00006867 jam  0x00000013 , 0x00000446 
+ 00031910  0x00006868 rtn 
+ 00031911  0x0000686c rtn 
+ 00031912  0x0000686f rtn 
+ 00031913  0x00006872 rtn 
+ 00031914  0x00006875 jam  0x00000002 , 0x00000450 
+ 00031915  0x00006876 branch  0x000049da 
+ 00031916  0x00006879 rtn 
+ 00031917  0x0000687b rtn 
+ 00031918  0x0000687d jam  0x00000001 , 0x000043d8 
+ 00031919  0x0000687e jam  0x00000000 , 0x000044db 
+ 00031920  0x0000687f rtn 
+ 00031921  0x00006881 jam  0x00000000 , 0x000043d8 
+ 00031922  0x00006882 rtn 
+ 00031923  0x00006884 jam  0x00000001 , 0x000043d8 
+ 00031924  0x00006885 jam  0x00000001 , 0x000044db 
+ 00031925  0x00006886 rtn 
+ 00031926  0x00006888 jam  0x00000000 , 0x000043d8 
+ 00031927  0x00006889 rtn 
+ 00031928  0x0000688b setarg  0x00000001 
+ 00031929  0x0000688c store  0x00000002 , 0x000003ef 
+ 00031930  0x0000688d rtn 
+ 00031931  0x0000688f rtn 
+ 00031932  0x00006891 jam  0x00000001 , 0x000043d2 
+ 00031933  0x00006892 jam  0x0000001b , 0x00004272 
+ 00031934  0x00006893 fetch  0x00000006 , 0x00000268 
+ 00031935  0x00006894 store  0x00000006 , 0x000044e7 
+ 00031936  0x00006895 rtn 
+ 00031937  0x00006897 jam  0x00000001 , 0x000043d2 
+ 00031938  0x00006898 rtn 
+ 00031939  0x0000689a jam  0x00000000 , 0x000043d2 
+ 00031940  0x0000689b jam  0x00000000 , 0x00004272 
+ 00031941  0x0000689c rtn 
+ 00031942  0x0000689e jam  0x0000004b , 0x00000b7d 
+ 00031943  0x0000689f branch  0x00005620 
+ 00031944  0x000068a1 set1  0x00000025 , 0x00000000 
+ 00031945  0x000068a2 bpatch  0x0000008f , 0x00004031 
+ 00031946  0x000068a3 fetch  0x00000002 , 0x00004288 
+ 00031947  0x000068a4 call  0x00007f66 
+ 00031948  0x000068a5 fetch  0x00000001 , 0x000047fd 
+ 00031949  0x000068a6 beq  0x000000ff , 0x00007cd0 
+ 00031950  0x000068a7 copy  0x0000003f , 0x00000002 
+ 00031951  0x000068a8 call  0x000069d1 
+ 00031952  0x000068aa call  0x00007be2 
+ 00031953  0x000068ab call  0x00007c3f 
+ 00031954  0x000068ac branch  0x00003ccd 
+ 00031955  0x000068af jam  0x00000001 , 0x000046f8 
+ 00031956  0x000068b0 rtn 
+ 00031957  0x000068b3 force  0x00000004 , 0x00000007 
+ 00031958  0x000068b4 branch  0x00007e4b 
+ 00031959  0x000068b7 fetch  0x00000001 , 0x000047f4 
+ 00031960  0x000068b8 rtnbit0  0x0000000c 
+ 00031961  0x000068b9 rtnbit0  0x00000007 
+ 00031962  0x000068ba branch  0x00007cd5 
+ 00031963  0x000068bf set1  0x00000025 , 0x00000000 
+ 00031964  0x000068c0 bpatch  0x000000d5 , 0x0000403a 
+ 00031965  0x000068c1 call  0x00007df3 
+ 00031966  0x000068c2 hfetch  0x00000001 , 0x00008c26 
+ 00031967  0x000068c3 store  0x00000001 , 0x000008af 
+ 00031968  0x000068c4 hfetch  0x00000001 , 0x00008c27 
+ 00031969  0x000068c5 store  0x00000001 , 0x000008b0 
+ 00031970  0x000068c6 hjam  0x000000e0 , 0x00008c26 
+ 00031971  0x000068c7 fetch  0x00000001 , 0x000008b0 
+ 00031972  0x000068c8 compare  0x00000001 , 0x0000003f , 0x00000001 
+ 00031973  0x000068c9 call  0x00007d3a , 0x00000001 
+ 00031974  0x000068ca set1  0x00000025 , 0x00000000 
+ 00031975  0x000068cb bpatch  0x000000d6 , 0x0000403a 
+ 00031976  0x000068cc fetch  0x00000001 , 0x000008af 
+ 00031977  0x000068cd compare  0x00000001 , 0x0000003f , 0x00000001 
+ 00031978  0x000068ce call  0x00007cf8 , 0x00000001 
+ 00031979  0x000068cf fetch  0x00000001 , 0x000008f8 
+ 00031980  0x000068d0 bne  0x00000002 , 0x00007dc2 
+ 00031981  0x000068d1 fetch  0x00000002 , 0x000008f9 
+ 00031982  0x000068d2 increase  0x00000001 , 0x0000003f 
+ 00031983  0x000068d3 store  0x00000002 , 0x000008f9 
+ 00031984  0x000068d4 fetcht  0x00000002 , 0x000008fb 
+ 00031985  0x000068d5 isub  0x00000002 , 0x0000003e 
+ 00031986  0x000068d6 branch  0x00007db2 , 0x00000002 
+ 00031987  0x000068d7 fetch  0x00000001 , 0x000008af 
+ 00031988  0x000068d8 bbit0  0x00000006 , 0x00007dc2 
+ 00031989  0x000068d9 setarg  0x00000000 
+ 00031990  0x000068da store  0x00000002 , 0x000008f9 
+ 00031991  0x000068db branch  0x00007dc2 
+ 00031992  0x000068df set1  0x00000025 , 0x00000000 
+ 00031993  0x000068e0 bpatch  0x000000d7 , 0x0000403a 
+ 00031994  0x000068e1 hjam  0x00000011 , 0x00008c26 
+ 00031995  0x000068e2 hfetch  0x00000001 , 0x00008c20 
+ 00031996  0x000068e3 store  0x00000001 , 0x000008b1 
+ 00031997  0x000068e4 copy  0x0000003f , 0x00000039 
+ 00031998  0x000068e5 branch  0x00007d18 , 0x00000034 
+ 00031999  0x000068e6 arg  0x000008ff , 0x00000005 
+ 00032000  0x000068e7 call  0x00007d36 
+ 00032001  0x000068e8 fetch  0x00000001 , 0x000008b1 
+ 00032002  0x000068e9 sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00032003  0x000068ea rtn  0x00000002 
+ 00032004  0x000068ec set1  0x00000025 , 0x00000000 
+ 00032005  0x000068ed bpatch  0x000000d8 , 0x0000403b 
+ 00032006  0x000068ee fetch  0x00000001 , 0x000008ff 
+ 00032007  0x000068ef beq  0x00000020 , 0x00007d16 
+ 00032008  0x000068f0 beq  0x00000021 , 0x00007d22 
+ 00032009  0x000068f1 beq  0x00000000 , 0x00007d10 
+ 00032010  0x000068f2 fetch  0x00000001 , 0x00000900 
+ 00032011  0x000068f3 beq  0x00000005 , 0x00007d9b 
+ 00032012  0x000068f4 beq  0x00000006 , 0x00007d3d 
+ 00032013  0x000068f5 beq  0x00000009 , 0x00007d98 
+ 00032014  0x000068f6 beq  0x0000000b , 0x00007da2 
+ 00032015  0x000068f7 branch  0x00007d32 
+ 00032016  0x000068fa fetch  0x00000001 , 0x00000900 
+ 00032017  0x000068fb beq  0x00000001 , 0x00007daf 
+ 00032018  0x000068fc beq  0x00000003 , 0x00007dab 
+ 00032019  0x000068fd beq  0x00000009 , 0x00007d34 
+ 00032020  0x000068fe beq  0x00000005 , 0x00007d9b 
+ 00032021  0x000068ff branch  0x00007d32 
+ 00032022  0x00006901 call  0x00007d34 
+ 00032023  0x00006902 rtn 
+ 00032024  0x00006905 fetch  0x00000001 , 0x000008af 
+ 00032025  0x00006906 bbit1  0x00000004 , 0x00007d04 
+ 00032026  0x00006907 rtn 
+ 00032027  0x00006909 fetch  0x00000001 , 0x000008f6 
+ 00032028  0x0000690a increase  0x00000001 , 0x0000003f 
+ 00032029  0x0000690b store  0x00000001 , 0x000008f6 
+ 00032030  0x0000690c compare  0x00000002 , 0x0000003f , 0x000000ff 
+ 00032031  0x0000690d nbranch  0x00007d34 , 0x00000001 
+ 00032032  0x0000690e jam  0x00000001 , 0x000008f7 
+ 00032033  0x0000690f branch  0x00007d34 
+ 00032034  0x00006911 fetch  0x00000001 , 0x00000900 
+ 00032035  0x00006912 beq  0x0000000a , 0x00007d27 
+ 00032036  0x00006913 beq  0x00000009 , 0x00007d2e 
+ 00032037  0x00006914 beq  0x0000000b , 0x00007d1b 
+ 00032038  0x00006915 branch  0x00007d32 
+ 00032039  0x00006917 fetch  0x00000001 , 0x000008f8 
+ 00032040  0x00006918 beq  0x00000005 , 0x00007d2c 
+ 00032041  0x00006919 bne  0x00000004 , 0x00007d34 
+ 00032042  0x0000691a jam  0x00000005 , 0x000008f8 
+ 00032043  0x0000691b branch  0x00007d34 
+ 00032044  0x0000691d jam  0x00000002 , 0x000008f8 
+ 00032045  0x0000691e branch  0x00007d34 
+ 00032046  0x00006921 jam  0x00000001 , 0x000008f7 
+ 00032047  0x00006922 arg  0x000008f7 , 0x00000011 
+ 00032048  0x00006923 arg  0x00000001 , 0x00000012 
+ 00032049  0x00006924 branch  0x00007d65 
+ 00032050  0x00006926 hjam  0x00000001 , 0x00008c11 
+ 00032051  0x00006927 rtn 
+ 00032052  0x00006929 hjam  0x00000040 , 0x00008c12 
+ 00032053  0x0000692a rtn 
+ 00032054  0x0000692d hfetch  0x00000001 , 0x00008c18 
+ 00032055  0x0000692e istore  0x00000001 , 0x00000005 
+ 00032056  0x0000692f loop  0x00007d36 
+ 00032057  0x00006930 rtn 
+ 00032058  0x00006933 hjam  0x00000001 , 0x00008c27 
+ 00032059  0x00006934 call  0x00007d7c 
+ 00032060  0x00006935 rtn 
+ 00032061  0x00006938 set1  0x00000025 , 0x00000000 
+ 00032062  0x00006939 bpatch  0x000000d9 , 0x0000403b 
+ 00032063  0x0000693a set0  0x00000023 , 0x00000000 
+ 00032064  0x0000693b fetch  0x00000001 , 0x00000902 
+ 00032065  0x0000693c beq  0x00000001 , 0x00007d47 
+ 00032066  0x0000693d beq  0x00000002 , 0x00007d49 
+ 00032067  0x0000693e beq  0x00000003 , 0x00007d4b 
+ 00032068  0x0000693f beq  0x00000021 , 0x00007d57 
+ 00032069  0x00006940 beq  0x00000022 , 0x00007d5b 
+ 00032070  0x00006941 rtn 
+ 00032071  0x00006944 arg  0x00000912 , 0x00000011 
+ 00032072  0x00006945 branch  0x00007d62 
+ 00032073  0x00006947 arg  0x00000ab6 , 0x00000011 
+ 00032074  0x00006948 branch  0x00007d62 
+ 00032075  0x0000694a fetch  0x00000001 , 0x00000901 
+ 00032076  0x0000694b and_into  0x00000003 , 0x0000003f 
+ 00032077  0x0000694c arg  0x00000b1a , 0x00000011 
+ 00032078  0x0000694d beq  0x00000000 , 0x00007d62 
+ 00032079  0x0000694e set1  0x00000023 , 0x00000000 
+ 00032080  0x0000694f arg  0x00000b1f , 0x00000011 
+ 00032081  0x00006950 beq  0x00000001 , 0x00007d62 
+ 00032082  0x00006951 arg  0x00000b3d , 0x00000011 
+ 00032083  0x00006952 beq  0x00000002 , 0x00007d62 
+ 00032084  0x00006953 arg  0x00000b5b , 0x00000011 
+ 00032085  0x00006954 beq  0x00000003 , 0x00007d62 
+ 00032086  0x00006955 branch  0x00003bf1 
+ 00032087  0x00006957 arg  0x00000ac8 , 0x00000011 
+ 00032088  0x00006958 fetch  0x00000001 , 0x00000ac8 
+ 00032089  0x00006959 copy  0x0000003f , 0x00000012 
+ 00032090  0x0000695a branch  0x00007d65 
+ 00032091  0x0000695c fetch  0x00000002 , 0x00000903 
+ 00032092  0x0000695d beq  0x00000001 , 0x00007d5f 
+ 00032093  0x0000695e arg  0x00000926 , 0x00000011 
+ 00032094  0x0000695f branch  0x00007d62 
+ 00032095  0x00006961 jam  0x00000001 , 0x000008f8 
+ 00032096  0x00006962 arg  0x000009ee , 0x00000011 
+ 00032097  0x00006963 branch  0x00007d62 
+ 00032098  0x00006966 ifetch  0x00000001 , 0x00000011 
+ 00032099  0x00006967 iforce  0x00000012 
+ 00032100  0x00006968 increase  0x00000001 , 0x00000011 
+ 00032101  0x0000696c set1  0x00000025 , 0x00000000 
+ 00032102  0x0000696d bpatch  0x000000da , 0x0000403b 
+ 00032103  0x0000696e bmark0  0x00000023 , 0x00007d71 
+ 00032104  0x0000696f add  0x00000012 , 0x00000001 , 0x0000003f 
+ 00032105  0x00006970 lshift  0x0000003f , 0x0000003f 
+ 00032106  0x00006971 hstore  0x00000001 , 0x00008c18 
+ 00032107  0x00006972 hjam  0x00000003 , 0x00008c18 
+ 00032108  0x00006973 fetch  0x00000001 , 0x00000905 
+ 00032109  0x00006974 increase  0xfffffffe , 0x0000003f 
+ 00032110  0x00006975 rshift  0x0000003f , 0x0000003f 
+ 00032111  0x00006976 store  0x00000001 , 0x00000905 
+ 00032112  0x00006977 beq  0x00000000 , 0x00007d7a 
+ 00032113  0x00006979 fetch  0x00000001 , 0x00000905 
+ 00032114  0x0000697a isub  0x00000012 , 0x0000003e 
+ 00032115  0x0000697b branch  0x00007d75 , 0x00000002 
+ 00032116  0x0000697c copy  0x0000003f , 0x00000012 
+ 00032117  0x0000697e copy  0x00000011 , 0x0000003f 
+ 00032118  0x0000697f store  0x00000002 , 0x0000090f 
+ 00032119  0x00006980 copy  0x00000012 , 0x0000003f 
+ 00032120  0x00006981 store  0x00000001 , 0x00000911 
+ 00032121  0x00006982 branch  0x00007d7c 
+ 00032122  0x00006985 arg  0x00000000 , 0x00000007 
+ 00032123  0x00006986 branch  0x00007dd5 
+ 00032124  0x0000698b set1  0x00000025 , 0x00000000 
+ 00032125  0x0000698c bpatch  0x000000db , 0x0000403b 
+ 00032126  0x0000698d fetch  0x00000001 , 0x00000911 
+ 00032127  0x0000698e rtn  0x00000034 
+ 00032128  0x0000698f copy  0x0000003f , 0x00000039 
+ 00032129  0x00006990 sub  0x0000003f , 0x00000040 , 0x0000003e 
+ 00032130  0x00006991 branch  0x00007d84 , 0x00000002 
+ 00032131  0x00006992 arg  0x00000040 , 0x00000039 
+ 00032132  0x00006994 fetch  0x00000001 , 0x00000911 
+ 00032133  0x00006995 isub  0x00000039 , 0x0000003f 
+ 00032134  0x00006996 store  0x00000001 , 0x00000911 
+ 00032135  0x00006997 fetch  0x00000002 , 0x0000090f 
+ 00032136  0x00006998 copy  0x0000003f , 0x00000006 
+ 00032137  0x0000699a ifetch  0x00000001 , 0x00000006 
+ 00032138  0x0000699b hstore  0x00000001 , 0x00008c18 
+ 00032139  0x0000699c bmark0  0x00000023 , 0x00007d8d 
+ 00032140  0x0000699d hjam  0x00000000 , 0x00008c18 
+ 00032141  0x0000699f loop  0x00007d89 
+ 00032142  0x000069a0 copy  0x00000006 , 0x0000003f 
+ 00032143  0x000069a1 store  0x00000002 , 0x0000090f 
+ 00032144  0x000069a2 arg  0x00000000 , 0x00000007 
+ 00032145  0x000069a3 call  0x00007dd5 
+ 00032146  0x000069a4 fetch  0x00000001 , 0x00000911 
+ 00032147  0x000069a5 nrtn  0x00000034 
+ 00032148  0x000069a6 fetch  0x00000001 , 0x000008f8 
+ 00032149  0x000069a7 rtnne  0x00000001 
+ 00032150  0x000069a8 jam  0x00000002 , 0x000008f8 
+ 00032151  0x000069a9 rtn 
+ 00032152  0x000069ad fetch  0x00000001 , 0x00000901 
+ 00032153  0x000069ae sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00032154  0x000069af nbranch  0x00007d32 , 0x00000002 
+ 00032155  0x000069b1 fetch  0x00000001 , 0x000008ff 
+ 00032156  0x000069b2 bne  0x00000000 , 0x00007d32 
+ 00032157  0x000069b3 fetch  0x00000002 , 0x00000903 
+ 00032158  0x000069b4 bne  0x00000000 , 0x00007d32 
+ 00032159  0x000069b5 fetch  0x00000001 , 0x00000905 
+ 00032160  0x000069b6 bne  0x00000000 , 0x00007d32 
+ 00032161  0x000069b7 branch  0x00007d34 
+ 00032162  0x000069ba fetch  0x00000001 , 0x000008ff 
+ 00032163  0x000069bb bne  0x00000001 , 0x00007d32 
+ 00032164  0x000069bc fetch  0x00000001 , 0x00000901 
+ 00032165  0x000069bd bne  0x00000000 , 0x00007d32 
+ 00032166  0x000069be fetch  0x00000001 , 0x00000902 
+ 00032167  0x000069bf bne  0x00000000 , 0x00007d32 
+ 00032168  0x000069c0 fetch  0x00000001 , 0x00000905 
+ 00032169  0x000069c1 bne  0x00000000 , 0x00007d32 
+ 00032170  0x000069c2 branch  0x00007d34 
+ 00032171  0x000069c5 fetch  0x00000001 , 0x00000901 
+ 00032172  0x000069c6 bne  0x00000001 , 0x00007d32 
+ 00032173  0x000069c7 jam  0x00000003 , 0x000008f8 
+ 00032174  0x000069c8 branch  0x00007d34 
+ 00032175  0x000069cb fetch  0x00000001 , 0x00000901 
+ 00032176  0x000069cc bne  0x00000001 , 0x00007d32 
+ 00032177  0x000069cd branch  0x00007d34 
+ 00032178  0x000069d0 set1  0x00000025 , 0x00000000 
+ 00032179  0x000069d1 bpatch  0x000000dc , 0x0000403b 
+ 00032180  0x000069d2 hjam  0x00000000 , 0x00008c00 
+ 00032181  0x000069d3 nop  0x00002710 
+ 00032182  0x000069d4 hjam  0x000000c0 , 0x00008c10 
+ 00032183  0x000069d5 hfetch  0x00000002 , 0x00008050 
+ 00032184  0x000069d6 set0  0x0000000a , 0x0000003f 
+ 00032185  0x000069d7 hstore  0x00000002 , 0x00008050 
+ 00032186  0x000069d8 hjam  0x0000003c , 0x00008c00 
+ 00032187  0x000069d9 hjam  0x000000ff , 0x00008c26 
+ 00032188  0x000069da hjam  0x000000ff , 0x00008c27 
+ 00032189  0x000069db jam  0x00000000 , 0x00000ff0 
+ 00032190  0x000069dc jam  0x00000000 , 0x000008f8 
+ 00032191  0x000069dd setarg  0x00000000 
+ 00032192  0x000069de store  0x00000002 , 0x000008f9 
+ 00032193  0x000069df rtn 
+ 00032194  0x000069e3 set1  0x00000025 , 0x00000000 
+ 00032195  0x000069e4 bpatch  0x000000dd , 0x0000403b 
+ 00032196  0x000069e5 fetch  0x00000001 , 0x00000ff0 
+ 00032197  0x000069e6 rtn  0x00000034 
+ 00032198  0x000069e7 fetch  0x00000001 , 0x000008f8 
+ 00032199  0x000069e8 beq  0x00000003 , 0x00007dec 
+ 00032200  0x000069e9 rtnne  0x00000002 
+ 00032201  0x000069ea fetch  0x00000001 , 0x00000ff0 
+ 00032202  0x000069eb jam  0x00000000 , 0x00000ff0 
+ 00032203  0x000069ec arg  0x00000006 , 0x00000039 
+ 00032204  0x000069ed arg  0x00000ff1 , 0x00000006 
+ 00032205  0x000069ee beq  0x00000002 , 0x00007dd0 
+ 00032206  0x000069ef beq  0x00000001 , 0x00007de9 
+ 00032207  0x000069f0 branch  0x00003bf1 
+ 00032208  0x000069f3 arg  0x00008c19 , 0x00000011 
+ 00032209  0x000069f4 arg  0x00000001 , 0x00000007 
+ 00032210  0x000069f6 ifetch  0x00000001 , 0x00000006 
+ 00032211  0x000069f7 istore  0x00000001 , 0x00000011 
+ 00032212  0x000069f8 loop  0x00007dd2 
+ 00032213  0x000069fa set1  0x00000025 , 0x00000000 
+ 00032214  0x000069fb bpatch  0x000000de , 0x0000403b 
+ 00032215  0x000069fc disable  0x00000010 
+ 00032216  0x000069fd fetch  0x00000002 , 0x000008fd 
+ 00032217  0x000069fe iforce  0x0000001b 
+ 00032218  0x000069ff hjam  0x00000040 , 0x00008c26 
+ 00032219  0x00006a01 hfetch  0x00000001 , 0x00008c26 
+ 00032220  0x00006a02 branch  0x00007db2 , 0x00000003 
+ 00032221  0x00006a03 bbit0  0x00000006 , 0x00007ddb 
+ 00032222  0x00006a04 fetch  0x00000002 , 0x000008fd 
+ 00032223  0x00006a05 iforce  0x0000001b 
+ 00032224  0x00006a06 arg  0x00000000 , 0x00000002 
+ 00032225  0x00006a07 qset1  0x00000002 
+ 00032226  0x00006a08 hstoret  0x00000001 , 0x00008c27 
+ 00032227  0x00006a0a branch  0x00007db2 , 0x00000003 
+ 00032228  0x00006a0b hstoret  0x00000001 , 0x00008c10 
+ 00032229  0x00006a0c hfetch  0x00000001 , 0x00008c27 
+ 00032230  0x00006a0d qisolate0  0x0000003f 
+ 00032231  0x00006a0e branch  0x00007de3 , 0x00000001 
+ 00032232  0x00006a0f rtn 
+ 00032233  0x00006a13 arg  0x00000002 , 0x00000007 
+ 00032234  0x00006a14 arg  0x00008c1a , 0x00000011 
+ 00032235  0x00006a15 branch  0x00007dd2 
+ 00032236  0x00006a19 set1  0x00000025 , 0x00000000 
+ 00032237  0x00006a1a bpatch  0x000000df , 0x0000403b 
+ 00032238  0x00006a1b hjam  0x000000fc , 0x00008c00 
+ 00032239  0x00006a1c nop  0x00002710 
+ 00032240  0x00006a1d hjam  0x0000003c , 0x00008c00 
+ 00032241  0x00006a1e jam  0x00000004 , 0x000008f8 
+ 00032242  0x00006a1f rtn 
+ 00032243  0x00006a22 fetch  0x00000001 , 0x00000ff0 
+ 00032244  0x00006a23 nrtn  0x00000034 
+ 00032245  0x00006a24 fetch  0x00000002 , 0x000008f2 
+ 00032246  0x00006a25 rtn  0x00000034 
+ 00032247  0x00006a26 increase  0xffffffff , 0x0000003f 
+ 00032248  0x00006a27 store  0x00000002 , 0x000008f2 
+ 00032249  0x00006a28 jam  0x00000001 , 0x00000ff0 
+ 00032250  0x00006a29 rtn 
+ 00032251  0x00006a2d sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032252  0x00006a2e rtn  0x00000005 
+ 00032253  0x00006a30 rshift  0x0000003f , 0x0000003f 
+ 00032254  0x00006a31 loop  0x00007dfd 
+ 00032255  0x00006a32 rtn 
+ 00032256  0x00006a35 deposit  0x00000005 
+ 00032257  0x00006a36 store  0x00000002 , 0x000002b9 
+ 00032258  0x00006a37 storet  0x00000008 , 0x000002a0 
+ 00032259  0x00006a38 deposit  0x0000000b 
+ 00032260  0x00006a39 store  0x00000004 , 0x000002a8 
+ 00032261  0x00006a3a deposit  0x00000011 
+ 00032262  0x00006a3b store  0x00000004 , 0x000002ac 
+ 00032263  0x00006a3c deposit  0x00000012 
+ 00032264  0x00006a3d store  0x00000004 , 0x000002b0 
+ 00032265  0x00006a3e deposit  0x00000013 
+ 00032266  0x00006a3f store  0x00000003 , 0x000002b4 
+ 00032267  0x00006a40 deposit  0x00000006 
+ 00032268  0x00006a41 store  0x00000002 , 0x000002b7 
+ 00032269  0x00006a42 rtn 
+ 00032270  0x00006a44 fetcht  0x00000008 , 0x000002a0 
+ 00032271  0x00006a45 fetch  0x00000004 , 0x000002a8 
+ 00032272  0x00006a46 iforce  0x0000000b 
+ 00032273  0x00006a47 fetch  0x00000004 , 0x000002ac 
+ 00032274  0x00006a48 iforce  0x00000011 
+ 00032275  0x00006a49 fetch  0x00000004 , 0x000002b0 
+ 00032276  0x00006a4a iforce  0x00000012 
+ 00032277  0x00006a4b fetch  0x00000003 , 0x000002b4 
+ 00032278  0x00006a4c iforce  0x00000013 
+ 00032279  0x00006a4d fetch  0x00000002 , 0x000002b9 
+ 00032280  0x00006a4e iforce  0x00000005 
+ 00032281  0x00006a4f fetch  0x00000002 , 0x000002b7 
+ 00032282  0x00006a50 iforce  0x00000006 
+ 00032283  0x00006a51 rtn 
+ 00032284  0x00006a58 copy  0x00000005 , 0x0000003f 
+ 00032285  0x00006a59 store  0x00000002 , 0x00000b7b 
+ 00032286  0x00006a5a copy  0x00000006 , 0x0000003f 
+ 00032287  0x00006a5b store  0x00000002 , 0x00000b79 
+ 00032288  0x00006a5c rtn 
+ 00032289  0x00006a5e fetch  0x00000002 , 0x00000b7b 
+ 00032290  0x00006a5f copy  0x0000003f , 0x00000005 
+ 00032291  0x00006a60 fetch  0x00000002 , 0x00000b79 
+ 00032292  0x00006a61 copy  0x0000003f , 0x00000006 
+ 00032293  0x00006a62 rtn 
+ 00032294  0x00006a67 copy  0x00000022 , 0x0000003f 
+ 00032295  0x00006a68 increase  0x00000010 , 0x0000003f 
+ 00032296  0x00006a69 increase  0x00000010 , 0x0000003f 
+ 00032297  0x00006a6b copy  0x00000022 , 0x00000002 
+ 00032298  0x00006a6c isub  0x00000002 , 0x0000003e 
+ 00032299  0x00006a6d branch  0x00007e29 , 0x00000002 
+ 00032300  0x00006a6e rtn 
+ 00032301  0x00006a71 ifetch  0x00000008 , 0x00000006 
+ 00032302  0x00006a72 istore  0x00000008 , 0x00000005 
+ 00032303  0x00006a73 ifetch  0x00000008 , 0x00000006 
+ 00032304  0x00006a74 istore  0x00000008 , 0x00000005 
+ 00032305  0x00006a76 ifetch  0x00000008 , 0x00000006 
+ 00032306  0x00006a77 istore  0x00000008 , 0x00000005 
+ 00032307  0x00006a79 ifetch  0x00000008 , 0x00000006 
+ 00032308  0x00006a7a istore  0x00000008 , 0x00000005 
+ 00032309  0x00006a7c ifetch  0x00000008 , 0x00000006 
+ 00032310  0x00006a7d istore  0x00000008 , 0x00000005 
+ 00032311  0x00006a7e ifetch  0x00000008 , 0x00000006 
+ 00032312  0x00006a7f istore  0x00000008 , 0x00000005 
+ 00032313  0x00006a80 rtn 
+ 00032314  0x00006a83 force  0x00000003 , 0x00000039 
+ 00032315  0x00006a85 force  0x00000000 , 0x0000003f 
+ 00032316  0x00006a87 istore  0x00000008 , 0x00000005 
+ 00032317  0x00006a88 loop  0x00007e3c 
+ 00032318  0x00006a89 rtn 
+ 00032319  0x00006a8d deposit  0x00000039 
+ 00032320  0x00006a8e rtn  0x00000034 
+ 00032321  0x00006a8f setarg  0x00000000 
+ 00032322  0x00006a91 istore  0x00000001 , 0x00000005 
+ 00032323  0x00006a92 loop  0x00007e42 
+ 00032324  0x00006a93 rtn 
+ 00032325  0x00006a98 deposit  0x00000039 
+ 00032326  0x00006a99 rtn  0x00000034 
+ 00032327  0x00006a9b ifetch  0x00000001 , 0x00000006 
+ 00032328  0x00006a9c istore  0x00000001 , 0x00000005 
+ 00032329  0x00006a9d loop  0x00007e47 
+ 00032330  0x00006a9e rtn 
+ 00032331  0x00006aa1 setarg  0x00000000 
+ 00032332  0x00006aa3 arg  0x0000423e , 0x00000005 
+ 00032333  0x00006aa4 iforce  0x00000002 
+ 00032334  0x00006aa5 lshift  0x00000007 , 0x0000003f 
+ 00032335  0x00006aa6 iadd  0x00000005 , 0x00000005 
+ 00032336  0x00006aa7 istoret  0x00000002 , 0x00000005 
+ 00032337  0x00006aa8 rtn 
+ 00032338  0x00006aab arg  0x00000000 , 0x00000007 
+ 00032339  0x00006aad set1  0x00000025 , 0x00000000 
+ 00032340  0x00006aae bpatch  0x000000bc , 0x00004037 
+ 00032341  0x00006aaf fetcht  0x00000004 , 0x00004134 
+ 00032342  0x00006ab0 rshift  0x00000022 , 0x0000003f 
+ 00032343  0x00006ab1 store  0x00000004 , 0x00004134 
+ 00032344  0x00006ab2 isub  0x00000002 , 0x0000000b 
+ 00032345  0x00006ab3 copy  0x0000000b , 0x00000002 
+ 00032346  0x00006ab4 arg  0x0000423e , 0x00000006 
+ 00032347  0x00006ab5 copy  0x00000006 , 0x00000005 
+ 00032348  0x00006ab6 arg  0x00000010 , 0x00000039 
+ 00032349  0x00006ab8 ifetch  0x00000002 , 0x00000006 
+ 00032350  0x00006ab9 isub  0x00000002 , 0x0000003f 
+ 00032351  0x00006aba branch  0x00007e61 , 0x00000002 
+ 00032352  0x00006abb force  0x00000000 , 0x0000003f 
+ 00032353  0x00006abd istore  0x00000002 , 0x00000005 
+ 00032354  0x00006abe loop  0x00007e5d 
+ 00032355  0x00006abf arg  0x0000423e , 0x00000006 
+ 00032356  0x00006ac0 lshift  0x00000007 , 0x0000003f 
+ 00032357  0x00006ac1 iadd  0x00000006 , 0x00000006 
+ 00032358  0x00006ac2 ifetch  0x00000002 , 0x00000006 
+ 00032359  0x00006ac3 rtn 
+ 00032360  0x00006ac7 increase  0x00000001 , 0x00000007 
+ 00032361  0x00006ac9 increase  0xffffffff , 0x00000007 
+ 00032362  0x00006aca rtn  0x00000005 
+ 00032363  0x00006acb lshift8  0x0000003f , 0x0000003f 
+ 00032364  0x00006acc branch  0x00007e69 
+ 00032365  0x00006ad1 iadd  0x00000002 , 0x00000002 
+ 00032366  0x00006ad2 copy  0x00000002 , 0x00000039 
+ 00032367  0x00006ad3 setarg  0x00000ea6 
+ 00032368  0x00006ad4 isub  0x00000039 , 0x0000003f 
+ 00032369  0x00006ad5 rtn  0x00000002 
+ 00032370  0x00006ad6 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032371  0x00006ad7 rshift16  0x00000002 , 0x00000002 
+ 00032372  0x00006ad8 increase  0x00000001 , 0x00000002 
+ 00032373  0x00006ad9 lshift16  0x00000002 , 0x00000002 
+ 00032374  0x00006ada ior  0x00000002 , 0x00000002 
+ 00032375  0x00006adb rtn 
+ 00032376  0x00006ade call  0x00007e7a 
+ 00032377  0x00006adf branch  0x00007e84 
+ 00032378  0x00006ae3 disable  0x00000028 
+ 00032379  0x00006ae4 isub  0x00000002 , 0x0000003f 
+ 00032380  0x00006ae5 branch  0x00007e7f , 0x00000002 
+ 00032381  0x00006ae6 enable  0x00000028 
+ 00032382  0x00006ae7 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032383  0x00006ae9 rtnbit0  0x0000000f 
+ 00032384  0x00006aea arg  0xffff0ea6 , 0x00000002 
+ 00032385  0x00006aeb iadd  0x00000002 , 0x0000003f 
+ 00032386  0x00006aec set0  0x00000040 , 0x0000003f 
+ 00032387  0x00006aed rtn 
+ 00032388  0x00006af0 iforce  0x00000006 
+ 00032389  0x00006af1 rshift16  0x0000003f , 0x0000003f 
+ 00032390  0x00006af2 arg  0x00000ea6 , 0x00000002 
+ 00032391  0x00006af3 imul32  0x00000002 , 0x0000003f 
+ 00032392  0x00006af4 iadd  0x00000006 , 0x0000003f 
+ 00032393  0x00006af5 rtn 
+ 00032394  0x00006af9 lshift8  0x0000003f , 0x0000003f 
+ 00032395  0x00006afa lshift4  0x0000003f , 0x0000003f 
+ 00032396  0x00006afb fetcht  0x00000003 , 0x00004210 
+ 00032397  0x00006afc idiv  0x00000002 
+ 00032398  0x00006afd call  0x00007efd 
+ 00032399  0x00006afe quotient  0x00000002 
+ 00032400  0x00006aff rtn 
+ 00032401  0x00006b03 arg  0x00000ea6 , 0x00000002 
+ 00032402  0x00006b04 idiv  0x00000002 
+ 00032403  0x00006b05 call  0x00007efd 
+ 00032404  0x00006b06 quotient  0x0000003f 
+ 00032405  0x00006b07 lshift16  0x0000003f , 0x0000003f 
+ 00032406  0x00006b08 remainder  0x00000002 
+ 00032407  0x00006b09 ior  0x00000002 , 0x00000002 
+ 00032408  0x00006b0a rtn 
+ 00032409  0x00006b0e arg  0x00000003 , 0x00000039 
+ 00032410  0x00006b0f branch  0x00007e9e 
+ 00032411  0x00006b11 arg  0x00000002 , 0x00000039 
+ 00032412  0x00006b12 branch  0x00007e9e 
+ 00032413  0x00006b17 arg  0x00000006 , 0x00000039 
+ 00032414  0x00006b19 ifetch  0x00000001 , 0x00000011 
+ 00032415  0x00006b1a copy  0x0000003f , 0x00000002 
+ 00032416  0x00006b1b rshift4  0x0000003f , 0x0000003f 
+ 00032417  0x00006b1c call  0x00007eaa 
+ 00032418  0x00006b1d istore  0x00000001 , 0x0000000a 
+ 00032419  0x00006b1e copy  0x00000002 , 0x0000003f 
+ 00032420  0x00006b1f and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00032421  0x00006b20 call  0x00007eaa 
+ 00032422  0x00006b21 istore  0x00000001 , 0x0000000a 
+ 00032423  0x00006b22 increase  0x00000001 , 0x00000011 
+ 00032424  0x00006b23 loop  0x00007e9e 
+ 00032425  0x00006b24 rtn 
+ 00032426  0x00006b26 sub  0x0000003f , 0x00000009 , 0x0000003e 
+ 00032427  0x00006b27 branch  0x00007eae , 0x00000002 
+ 00032428  0x00006b28 increase  0x00000057 , 0x0000003f 
+ 00032429  0x00006b29 rtn 
+ 00032430  0x00006b2b add  0x0000003f , 0x00000030 , 0x0000003f 
+ 00032431  0x00006b2c rtn 
+ 00032432  0x00006b33 arg  0x00000000 , 0x00000002 
+ 00032433  0x00006b35 copy  0x00000002 , 0x00000013 
+ 00032434  0x00006b36 ifetch  0x00000001 , 0x00000003 
+ 00032435  0x00006b37 sub  0x0000003f , 0x0000002c , 0x0000003e 
+ 00032436  0x00006b38 rtn  0x00000005 
+ 00032437  0x00006b39 call  0x00007ec9 
+ 00032438  0x00006b3a copy  0x00000013 , 0x00000002 
+ 00032439  0x00006b3b call  0x00007f32 
+ 00032440  0x00006b3c arg  0x0000000a , 0x00000012 
+ 00032441  0x00006b3d imul32  0x00000012 , 0x0000003f 
+ 00032442  0x00006b3e iadd  0x00000002 , 0x0000003f 
+ 00032443  0x00006b3f copy  0x0000003f , 0x00000002 
+ 00032444  0x00006b40 branch  0x00007eb1 
+ 00032445  0x00006b44 arg  0x00000002 , 0x00000039 
+ 00032446  0x00006b45 branch  0x00007ec0 
+ 00032447  0x00006b47 arg  0x00000006 , 0x00000039 
+ 00032448  0x00006b4c ifetch  0x00000001 , 0x00000003 
+ 00032449  0x00006b4d call  0x00007ec9 
+ 00032450  0x00006b4e lshift4  0x0000003f , 0x00000013 
+ 00032451  0x00006b4f ifetch  0x00000001 , 0x00000003 
+ 00032452  0x00006b50 call  0x00007ec9 
+ 00032453  0x00006b51 iadd  0x00000013 , 0x0000003f 
+ 00032454  0x00006b52 istore  0x00000001 , 0x00000005 
+ 00032455  0x00006b53 loop  0x00007ec0 
+ 00032456  0x00006b54 rtn 
+ 00032457  0x00006b57 arg  0x0000003a , 0x00000002 
+ 00032458  0x00006b58 isub  0x00000002 , 0x0000003e 
+ 00032459  0x00006b59 nbranch  0x00007ed2 , 0x00000002 
+ 00032460  0x00006b5a arg  0x00000061 , 0x00000002 
+ 00032461  0x00006b5b isub  0x00000002 , 0x0000003e 
+ 00032462  0x00006b5c branch  0x00007ed5 , 0x00000002 
+ 00032463  0x00006b5d arg  0x00000037 , 0x00000002 
+ 00032464  0x00006b5e isub  0x00000002 , 0x0000003f 
+ 00032465  0x00006b5f rtn 
+ 00032466  0x00006b61 arg  0x00000030 , 0x00000002 
+ 00032467  0x00006b62 isub  0x00000002 , 0x0000003f 
+ 00032468  0x00006b63 rtn 
+ 00032469  0x00006b65 arg  0x00000057 , 0x00000002 
+ 00032470  0x00006b66 isub  0x00000002 , 0x0000003f 
+ 00032471  0x00006b67 rtn 
+ 00032472  0x00006b6a copy  0x00000002 , 0x00000030 
+ 00032473  0x00006b6b setarg  0x000001ff 
+ 00032474  0x00006b6c force  0x00000000 , 0x00000012 
+ 00032475  0x00006b6e rshift3  0x0000003f , 0x00000011 
+ 00032476  0x00006b6f rshift  0x00000011 , 0x00000011 
+ 00032477  0x00006b70 ixor  0x00000011 , 0x00000011 
+ 00032478  0x00006b71 isolate1  0x00000000 , 0x00000011 
+ 00032479  0x00006b72 setflag  0x00000001 , 0x00000009 , 0x0000003f 
+ 00032480  0x00006b73 rshift  0x00000002 , 0x00000002 
+ 00032481  0x00006b74 isolate1  0x00000000 , 0x0000003f 
+ 00032482  0x00006b75 setflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00032483  0x00006b76 rshift  0x0000003f , 0x0000003f 
+ 00032484  0x00006b77 increase  0x00000001 , 0x00000012 
+ 00032485  0x00006b78 compare  0x00000000 , 0x00000012 , 0x00000007 
+ 00032486  0x00006b79 nbranch  0x00007edb , 0x00000001 
+ 00032487  0x00006b7a istoret  0x00000001 , 0x00000005 
+ 00032488  0x00006b7b loop  0x00007edb 
+ 00032489  0x00006b7c copy  0x00000030 , 0x00000002 
+ 00032490  0x00006b7d rtn 
+ 00032491  0x00006b80 div  0x0000003f , 0x0000000a 
+ 00032492  0x00006b81 call  0x00007efd 
+ 00032493  0x00006b82 quotient  0x0000003f 
+ 00032494  0x00006b83 lshift2  0x0000003f , 0x00000011 
+ 00032495  0x00006b84 lshift2  0x00000011 , 0x00000011 
+ 00032496  0x00006b85 remainder  0x0000003f 
+ 00032497  0x00006b86 ior  0x00000011 , 0x0000003f 
+ 00032498  0x00006b87 rtn 
+ 00032499  0x00006b8a isolate1  0x00000000 , 0x00000011 
+ 00032500  0x00006b8b branch  0x00007ef7 , 0x00000001 
+ 00032501  0x00006b8c iforce  0x00000012 
+ 00032502  0x00006b8d rtn 
+ 00032503  0x00006b8f lshift2  0x0000003f , 0x0000003f 
+ 00032504  0x00006b90 lshift2  0x0000003f , 0x0000003f 
+ 00032505  0x00006b91 ior  0x00000012 , 0x0000003f 
+ 00032506  0x00006b92 istore  0x00000001 , 0x00000005 
+ 00032507  0x00006b93 increase  0xfffffffe , 0x00000005 
+ 00032508  0x00006b94 rtn 
+ 00032509  0x00006b97 rtn  0x00000035 
+ 00032510  0x00006b98 branch  0x00007efd 
+ 00032511  0x00006b9c store  0x00000008 , 0x00000161 
+ 00032512  0x00006b9d force  0x00000020 , 0x0000003f 
+ 00032513  0x00006b9e force  0x00000008 , 0x00000039 
+ 00032514  0x00006b9f arg  0x00000028 , 0x00000005 
+ 00032515  0x00006ba1 istore  0x00000001 , 0x00000005 
+ 00032516  0x00006ba2 loop  0x00007f03 
+ 00032517  0x00006ba3 arg  0x00000028 , 0x00000005 
+ 00032518  0x00006ba4 increase  0x00000007 , 0x00000005 
+ 00032519  0x00006ba5 fetch  0x00000008 , 0x00000161 
+ 00032520  0x00006ba7 div  0x0000003f , 0x0000000a 
+ 00032521  0x00006ba8 call  0x00007efd 
+ 00032522  0x00006ba9 remainder  0x0000003f 
+ 00032523  0x00006baa or_into  0x00000030 , 0x0000003f 
+ 00032524  0x00006bab istore  0x00000001 , 0x00000005 
+ 00032525  0x00006bac increase  0xfffffffe , 0x00000005 
+ 00032526  0x00006bad quotient  0x0000003f 
+ 00032527  0x00006bae rtn  0x00000034 
+ 00032528  0x00006baf branch  0x00007f08 
+ 00032529  0x00006bb5 store  0x00000008 , 0x00000161 
+ 00032530  0x00006bb6 force  0x00000000 , 0x0000003f 
+ 00032531  0x00006bb7 store  0x00000008 , 0x00000028 
+ 00032532  0x00006bb8 arg  0x00000028 , 0x00000005 
+ 00032533  0x00006bb9 increase  0x00000007 , 0x00000005 
+ 00032534  0x00006bba fetch  0x00000008 , 0x00000161 
+ 00032535  0x00006bbb force  0x00000000 , 0x00000011 
+ 00032536  0x00006bbd div  0x0000003f , 0x0000000a 
+ 00032537  0x00006bbe call  0x00007efd 
+ 00032538  0x00006bbf remainder  0x0000003f 
+ 00032539  0x00006bc0 call  0x00007ef3 
+ 00032540  0x00006bc1 increase  0x00000001 , 0x00000011 
+ 00032541  0x00006bc2 quotient  0x0000003f 
+ 00032542  0x00006bc3 sub  0x0000003f , 0x00000009 , 0x0000003e 
+ 00032543  0x00006bc4 nbranch  0x00007f18 , 0x00000002 
+ 00032544  0x00006bc5 call  0x00007ef3 
+ 00032545  0x00006bc6 isolate1  0x00000000 , 0x00000011 
+ 00032546  0x00006bc7 rtn  0x00000001 
+ 00032547  0x00006bc8 istore  0x00000001 , 0x00000005 
+ 00032548  0x00006bc9 rtn 
+ 00032549  0x00006bd2 ifetch  0x00000001 , 0x00000011 
+ 00032550  0x00006bd3 ifetcht  0x00000001 , 0x00000012 
+ 00032551  0x00006bd4 isub  0x00000002 , 0x0000003e 
+ 00032552  0x00006bd5 nrtn  0x00000005 
+ 00032553  0x00006bd6 increase  0x00000001 , 0x00000011 
+ 00032554  0x00006bd7 increase  0x00000001 , 0x00000012 
+ 00032555  0x00006bd8 loop  0x00007f25 
+ 00032556  0x00006bd9 force  0x00000000 , 0x0000003e 
+ 00032557  0x00006bda rtn 
+ 00032558  0x00006bde isub  0x00000002 , 0x0000003e 
+ 00032559  0x00006bdf nrtn  0x00000002 
+ 00032560  0x00006be0 deposit  0x00000002 
+ 00032561  0x00006be1 rtn 
+ 00032562  0x00006be4 iadd  0x00000002 , 0x0000003f 
+ 00032563  0x00006be5 isub  0x00000002 , 0x00000002 
+ 00032564  0x00006be6 isub  0x00000002 , 0x0000003f 
+ 00032565  0x00006be7 rtn 
+ 00032566  0x00006bea arg  0x00000200 , 0x00000039 
+ 00032567  0x00006beb arg  0x00004000 , 0x00000005 
+ 00032568  0x00006bec branch  0x00007e3b 
+ 00032569  0x00006bef fetch  0x00000005 , 0x0000009c 
+ 00032570  0x00006bf0 store  0x00000005 , 0x00000161 
+ 00032571  0x00006bf1 fetch  0x00000002 , 0x00004210 
+ 00032572  0x00006bf2 istore  0x00000002 , 0x00000005 
+ 00032573  0x00006bf3 setarg  0x00000000 
+ 00032574  0x00006bf4 setflag  0x0000002d , 0x00000007 , 0x0000003f 
+ 00032575  0x00006bf5 setflag  0x0000002b , 0x00000006 , 0x0000003f 
+ 00032576  0x00006bf6 setflag  0x00000018 , 0x00000005 , 0x0000003f 
+ 00032577  0x00006bf7 setflag  0x0000002e , 0x00000004 , 0x0000003f 
+ 00032578  0x00006bf8 istore  0x00000001 , 0x00000005 
+ 00032579  0x00006bf9 branch  0x00007f52 
+ 00032580  0x00006bfd fetch  0x00000005 , 0x0000009c 
+ 00032581  0x00006bfe store  0x00000005 , 0x00000161 
+ 00032582  0x00006bff fetch  0x00000001 , 0x00000016 
+ 00032583  0x00006c00 istore  0x00000001 , 0x00000005 
+ 00032584  0x00006c01 fetch  0x00000002 , 0x000003da 
+ 00032585  0x00006c02 arg  0x00000fff , 0x00000006 
+ 00032586  0x00006c03 iand  0x00000006 , 0x0000003f 
+ 00032587  0x00006c04 setflag  0x0000002d , 0x0000000f , 0x0000003f 
+ 00032588  0x00006c05 setflag  0x0000002b , 0x0000000e , 0x0000003f 
+ 00032589  0x00006c06 setflag  0x00000018 , 0x0000000d , 0x0000003f 
+ 00032590  0x00006c07 setflag  0x0000002e , 0x0000000c , 0x0000003f 
+ 00032591  0x00006c08 istore  0x00000002 , 0x00000005 
+ 00032592  0x00006c09 branch  0x00007f52 
+ 00032593  0x00006c0b store  0x00000008 , 0x00000161 
+ 00032594  0x00006c0d fetch  0x00000001 , 0x0000416e 
+ 00032595  0x00006c0e rtneq  0x0000007f 
+ 00032596  0x00006c0f and_into  0x0000007f , 0x0000003f 
+ 00032597  0x00006c10 lshift3  0x0000003f , 0x0000003f 
+ 00032598  0x00006c11 arg  0x00004c00 , 0x00000005 
+ 00032599  0x00006c12 iadd  0x00000005 , 0x00000005 
+ 00032600  0x00006c13 fetch  0x00000008 , 0x00000161 
+ 00032601  0x00006c14 istore  0x00000008 , 0x00000005 
+ 00032602  0x00006c15 fetch  0x00000001 , 0x0000416e 
+ 00032603  0x00006c16 isolate1  0x00000007 , 0x0000003f 
+ 00032604  0x00006c17 increase  0x00000001 , 0x0000003f 
+ 00032605  0x00006c18 and_into  0x0000007f , 0x0000003f 
+ 00032606  0x00006c19 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00032607  0x00006c1a store  0x00000001 , 0x0000416e 
+ 00032608  0x00006c1b fetch  0x00000008 , 0x00000161 
+ 00032609  0x00006c1c rtn 
+ 00032610  0x00006c1f arg  0x00000800 , 0x00000039 
+ 00032611  0x00006c20 arg  0x00000000 , 0x00000005 
+ 00032612  0x00006c21 setarg  0x01010101 
+ 00032613  0x00006c22 branch  0x00007e3c 
+ 00032614  0x00006c26 rtn  0x00000034 
+ 00032615  0x00006c27 copy  0x0000003f , 0x0000003d 
+ 00032616  0x00006c2b hfetch  0x00000002 , 0x0000810e 
+ 00032617  0x00006c2c nbranch  0x00007f68 , 0x00000034 
+ 00032618  0x00006c2d rtn 
+ 00032619  0x00006c30 hfetch  0x00000002 , 0x00008058 
+ 00032620  0x00006c31 copy  0x0000003f , 0x00000003 
+ 00032621  0x00006c32 rtn 
+ 00032622  0x00006c35 hfetch  0x00000002 , 0x0000805e 
+ 00032623  0x00006c36 copy  0x0000003f , 0x0000000a 
+ 00032624  0x00006c37 rtn 
+ 00032625  0x00006c3a copy  0x00000006 , 0x00000011 
+ 00032626  0x00006c3b call  0x00007f6e 
+ 00032627  0x00006c3c copy  0x00000011 , 0x00000006 
+ 00032628  0x00006c3e call  0x00004976 
+ 00032629  0x00006c3f call  0x000068fa 
+ 00032630  0x00006c40 branch  0x00007f68 
+ 00032631  0x00006c43 hjam  0x00000001 , 0x00008203 
+ 00032632  0x00006c44 rtn 
+ 00032633  0x00006c47 hstore  0x00000002 , 0x00008205 
+ 00032634  0x00006c48 hfetch  0x00000001 , 0x00008203 
+ 00032635  0x00006c49 set1  0x00000004 , 0x0000003f 
+ 00032636  0x00006c4a hstore  0x00000001 , 0x00008203 
+ 00032637  0x00006c4b rtn 
+ 00032638  0x00006c4d hstore  0x00000002 , 0x00008207 
+ 00032639  0x00006c4e hfetch  0x00000001 , 0x00008203 
+ 00032640  0x00006c4f set1  0x00000006 , 0x0000003f 
+ 00032641  0x00006c50 hstore  0x00000001 , 0x00008203 
+ 00032642  0x00006c51 rtn 
+ 00032643  0x00006c54 hstore  0x00000002 , 0x00008205 
+ 00032644  0x00006c55 hjam  0x00000030 , 0x00008203 
+ 00032645  0x00006c56 rtn 
+ 00032646  0x00006c59 hfetch  0x00000001 , 0x00008043 
+ 00032647  0x00006c5a set1  0x00000004 , 0x0000003f 
+ 00032648  0x00006c5b hstore  0x00000001 , 0x00008043 
+ 00032649  0x00006c5c rtn 
+ 00032650  0x00006c5f hfetch  0x00000001 , 0x00008043 
+ 00032651  0x00006c60 set0  0x00000004 , 0x0000003f 
+ 00032652  0x00006c61 hstore  0x00000001 , 0x00008043 
+ 00032653  0x00006c62 rtn 
+ 00032654  0x00006c65 hfetch  0x00000002 , 0x0000810e 
+ 00032655  0x00006c66 arg  0x00000200 , 0x00000002 
+ 00032656  0x00006c68 isub  0x00000002 , 0x0000003e 
+ 00032657  0x00006c69 rtn 
+ 00032658  0x00006c70 set1  0x00000025 , 0x00000000 
+ 00032659  0x00006c71 bpatch  0x000000bd , 0x00004037 
+ 00032660  0x00006c72 ifetcht  0x00000005 , 0x00000011 
+ 00032661  0x00006c73 and  0x00000002 , 0x000000ff , 0x0000003f 
+ 00032662  0x00006c74 nbranch  0x00007f99 , 0x00000034 
+ 00032663  0x00006c75 rshift8  0x00000002 , 0x0000003f 
+ 00032664  0x00006c76 istore  0x00000005 , 0x00000011 
+ 00032665  0x00006c78 increase  0x00000004 , 0x00000011 
+ 00032666  0x00006c79 ifetch  0x00000001 , 0x00000011 
+ 00032667  0x00006c7a nbranch  0x00003bf1 , 0x00000034 
+ 00032668  0x00006c7b fetch  0x00000001 , 0x00000b7d 
+ 00032669  0x00006c7c istore  0x00000001 , 0x00000011 
+ 00032670  0x00006c7d rtn 
+ 00032671  0x00006c83 set1  0x00000025 , 0x00000000 
+ 00032672  0x00006c84 bpatch  0x000000be , 0x00004037 
+ 00032673  0x00006c85 arg  0x00000005 , 0x00000039 
+ 00032674  0x00006c86 ifetch  0x00000005 , 0x00000011 
+ 00032675  0x00006c87 rtn  0x00000034 
+ 00032676  0x00006c89 ifetch  0x00000001 , 0x00000011 
+ 00032677  0x00006c8a nbranch  0x00007fa9 , 0x00000034 
+ 00032678  0x00006c8b increase  0x00000001 , 0x00000011 
+ 00032679  0x00006c8c loop  0x00007fa4 
+ 00032680  0x00006c8d branch  0x00003bf1 
+ 00032681  0x00006c8f arg  0x00000000 , 0x00000002 
+ 00032682  0x00006c90 istoret  0x00000001 , 0x00000011 
+ 00032683  0x00006c91 rtn 
+ 00032684  0x00006c97 ifetch  0x00000005 , 0x00000011 
+ 00032685  0x00006c98 rtn 
+ 00032686  0x00006c9e ifetch  0x00000001 , 0x00000011 
+ 00032687  0x00006c9f rtn 
+ 00032688  0x00006ca3 ifetch  0x00000002 , 0x00000011 
+ 00032689  0x00006ca4 rtn 
+ 00032690  0x00006ca9 arg  0x00000000 , 0x00000002 
+ 00032691  0x00006cab fetch  0x00000001 , 0x00000006 
+ 00032692  0x00006cac loop  0x00007fb3 , 0x00000034 
+ 00032693  0x00006cad increase  0x00000001 , 0x00000002 
+ 00032694  0x00006cae loop  0x00007fb3 
+ 00032695  0x00006caf copy  0x00000002 , 0x0000003f 
+ 00032696  0x00006cb0 rtn 
+ 00032697  0x00006cb3 isub  0x00000002 , 0x0000003e 
+ 00032698  0x00006cb4 nrtn  0x00000002 
+ 00032699  0x00006cb5 copy  0x00000002 , 0x0000003f 
+ 00032700  0x00006cb6 rtn 
Index: KG9013/btkb/output/bt_program23.list
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.list	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.list	(working copy)
@@ -0,0 +1,24442 @@
+              include "bt_format "
+              org 0x0000
+0x0000 000035 bmark1 mark_ext_patch ,patch_ext 
+0x0001 000036 beq patch00_0 ,p_soft_reset 
+0x0002 000037 beq patch00_3 ,p_main_loop 
+0x0003 000038 beq patch00_5 ,p_main_loop_end 
+0x0004 000039 beq patch12_0 ,p_shutdown_radio 
+0x0005 000040 beq patch12_2 ,p_set_freq_rx 
+0x0006 000041 beq patch12_4 ,p_set_freq_tx 
+0x0007 000042 beq patch12_5 ,p_initialize_radio_cont 
+0x0008 000043 beq patch16_0 ,p_lpm_sleep 
+0x0009 000044 beq patch16_1 ,p_lpm_recover_clk 
+0x000a 000045 beq patch16_2 ,p_lpm_dispatch 
+0x000b 000046 beq patch16_3 ,p_lpm_dispatch_next 
+0x000c 000047 beq patch16_6 ,p_lpm_dispatch_unconn 
+0x000d 000048 beq patch17_1 ,p_lpm_cal_xtal_startup 
+0x000e 000049 branch assert 
+:      000051 patch_ext:
+0x000f 000052 beq patch27_6 ,p_le_enable 
+0x0010 000053 beq patch27_7 ,p_le_disable 
+0x0011 000054 beq patch30_7 ,p_ui_timer_check 
+0x0012 000055 beq patch31_5 ,p_check_51cmd_once 
+0x0013 000056 beq patch31_7 ,p_check_enter_hibernate 
+0x0014 000057 beq patch39_5 ,p_kb_init 
+0x0015 000058 beq patch3a_0 ,p_kb_bb_event_timer 
+0x0016 000060 branch assert 
+:      000063 p_soft_reset:
+0x0017 000064 hfetch 1 ,0x813b 
+0x0018 000065 store 1 ,mem_wakup_from_power_flag 
+0x0019 000066 hjam lock_otp ,core_misc_ctrl 
+0x001a 000067 branch soft_reset + 2 
+:      000069 p_main_loop:
+0x001b 000070 call p_ipc_timer_check 
+0x001c 000071 call p_ui_check_timer_setup 
+0x001d 000072 call p_ipc_rx 
+0x001e 000073 branch main_loop + 2 
+:      000076 p_main_loop_end:
+0x001f 000077 call inquiry_scan_dispatch 
+0x0020 000078 call page_scan_dispatch 
+0x0021 000079 call connection_dispatch 
+0x0022 000080 call p_g24_dispatch 
+0x0023 000081 branch main_loop + 15 
+:      000084 p_ipc_rx:
+:      000085 p_ipc_rx0:
+0x0024 000086 call p_check_ipc_2bt 
+0x0025 000087 rtn user 
+0x0026 000088 byteswap pdata ,pdata 
+0x0027 000089 copy pdata ,contr 
+0x0028 000090 call p_ipc_rx_byte 
+0x0029 000091 store 1 ,mem_ipc_rx_type 
+0x002a 000092 beq ipc_type_cmd ,p_ipc_rx_cmd 
+0x002b 000093 beq ipc_type_24g ,p_ipc_rx_24g 
+0x002c 000094 copy pdata ,temp 
+0x002d 000095 copy contr ,rega 
+0x002e 000096 fetch 1 ,mem_context 
+0x002f 000097 bbit0 state_inconn ,p_ipc_abondon_rx_data 
+0x0030 000098 copy rega ,contr 
+0x0031 000099 rtnmark0 mark_context 
+0x0032 000100 copy temp ,pdata 
+0x0033 000101 rtn 
+:      000103 p_ipc_abondon_rx_data:
+0x0034 000104 copy rega ,contr 
+0x0035 000105 arg mem_tst_pktcnt_sync ,contw 
+0x0036 000106 branch p_ipc_rx_cpy 
+:      000108 p_ipc_rx_cmd:
+0x0037 000109 call p_ipc_rx_byte 
+0x0038 000110 call p_ipc_rx_byte 
+0x0039 000111 store 1 ,mem_fifo_temp 
+0x003a 000112 call p_ipc_next_rx 
+0x003b 000113 branch ui_ipc_send_cmd 
+:      000114 p_ipc_next_rx:
+0x003c 000115 call p_ipc_rx_updata_contr 
+0x003d 000116 copy contr ,temp 
+0x003e 000117 byteswap temp ,temp 
+0x003f 000118 storet 2 ,mem_ipc_2bt_read_index 
+0x0040 000119 rtn 
+:      000121 p_ipc_rx_24g:
+0x0041 000122 arg mem_24g_txbuf ,contw 
+0x0042 000123 branch p_ipc_rx_cpy 
+:      000125 p_ui_check_timer_setup:
+0x0043 000126 fetcht 4 ,mem_ui_check_timer_setup 
+0x0044 000127 copy clkn_bt ,pdata 
+0x0045 000128 isub temp ,pdata 
+0x0046 000129 fetcht 2 ,mem_customize_timer_setup 
+0x0047 000130 idiv temp 
+0x0048 000131 call wait_div_end 
+0x0049 000132 quotient pdata 
+0x004a 000133 rtn blank 
+0x004b 000134 copy clkn_bt ,temp 
+0x004c 000135 storet 4 ,mem_ui_check_timer_setup 
+0x004d 000136 fetch 1 ,mem_customize_timer 
+0x004e 000137 increase 1 ,pdata 
+0x004f 000138 store 1 ,mem_customize_timer 
+0x0050 000139 rtn 
+:      000143 p_ipc_timer_check:
+0x0051 000144 fetcht 4 ,mem_ipc_last_check_timer 
+0x0052 000145 copy clkn_bt ,pdata 
+0x0053 000146 isub temp ,pdata 
+0x0054 000148 arg 1600 ,temp 
+0x0055 000149 idiv temp 
+0x0056 000150 call wait_div_end 
+0x0057 000151 quotient pdata 
+0x0058 000152 rtn blank 
+0x0059 000153 copy clkn_bt ,temp 
+0x005a 000154 storet 4 ,mem_ipc_last_check_timer 
+0x005b 000155 fetcht 2 ,mem_ipc_bt_timer 
+0x005c 000156 byteswap temp ,temp 
+0x005d 000157 iadd temp ,pdata 
+0x005e 000158 byteswap pdata ,pdata 
+0x005f 000159 store 2 ,mem_ipc_bt_timer 
+0x0060 000160 byteswap pdata ,pdata 
+0x0061 000161 and pdata ,0x3 ,pdata 
+0x0062 000162 rtnne 0 
+0x0063 000163 fetch 1 ,mem_adc_config_flag 
+0x0064 000164 bbit1 adc_config_vinlpm ,p_adc_check_vinlpm 
+0x0065 000165 bbit1 adc_config_hvin ,p_adc_check_hvin 
+:      000166 p_adc_check_gpio:
+0x0066 000167 arg 0 ,rega 
+0x0067 000168 call p_setup_adc_gpio_pu_setup 
+0x0068 000169 hjam 0x8f ,rf_adc_mode 
+0x0069 000170 fetch 1 ,mem_adc_channel 
+0x006a 000171 hstore 1 ,rf_adc_ch 
+0x006b 000172 call p_read_adc 
+0x006c 000173 arg 1 ,rega 
+0x006d 000174 branch p_setup_adc_gpio_pu_setup 
+:      000177 p_adc_check_vinlpm:
+0x006e 000178 hjam 0xbf ,rf_adc_mode 
+0x006f 000179 branch p_read_adc 
+:      000181 p_adc_check_hvin:
+0x0070 000182 hjam 0xaf ,rf_adc_mode 
+:      000183 p_read_adc:
+0x0071 000184 hfetch 1 ,core_uart_baud + 1 
+0x0072 000185 set1 7 ,pdata 
+0x0073 000186 hstore 1 ,core_uart_baud + 1 
+0x0074 000187 hfetch 1 ,rf_adc_ch 
+0x0075 000188 or_into 0x30 ,pdata 
+0x0076 000189 hstore 1 ,rf_adc_ch 
+0x0077 000190 hjam 0x7c ,rfen_adc 
+0x0078 000191 hjam 0xaa ,rf_adc_gc 
+0x0079 000192 nop 5000 
+0x007a 000193 hfetcht 2 ,core_adc_sum 
+0x007b 000194 hfetch 1 ,core_uart_baud + 1 
+0x007c 000195 set0 7 ,pdata 
+0x007d 000196 hstore 1 ,core_uart_baud + 1 
+0x007e 000197 byteswap temp ,temp 
+0x007f 000198 storet 2 ,mem_adc_current_value 
+0x0080 000199 rtn 
+:      000202 p_setup_adc_gpio_pu_setup:
+0x0081 000203 arg 0x21 ,temp 
+0x0082 000204 fetch 1 ,mem_adc_channel 
+0x0083 000205 isub temp ,temp 
+0x0084 000206 copy rega ,pdata 
+0x0085 000207 set1 gpio_active_bit ,temp 
+0x0086 000208 nbranch p_setup_adc_gpio_pu_setup_exit ,blank 
+0x0087 000209 set0 gpio_active_bit ,temp 
+:      000210 p_setup_adc_gpio_pu_setup_exit:
+0x0088 000211 arg core_gpio_pu0 ,contw 
+0x0089 000212 branch gpio_set_bit 
+:      000216 p_ipc_rx_cpy:
+0x008a 000217 call p_ipc_rx_byte 
+0x008b 000218 copy pdata ,loopcnt 
+:      000219 p_ipc_copy:
+0x008c 000220 call p_ipc_cpy_loop 
+0x008d 000221 branch p_ipc_next_rx 
+:      000223 p_ipc_cpy_loop:
+0x008e 000224 call p_ipc_rx_byte 
+0x008f 000225 istore 1 ,contw 
+0x0090 000226 loop p_ipc_cpy_loop 
+0x0091 000227 rtn 
+:      000229 p_ipc_rx_byte:
+0x0092 000230 call p_ipc_rx_updata_contr 
+0x0093 000231 ifetch 1 ,contr 
+0x0094 000232 rtn 
+:      000234 p_ipc_rx_updata_contr:
+0x0095 000235 setarg mem_ipc_2bt_fifo_end 
+0x0096 000236 isub contr ,null 
+0x0097 000237 nrtn zero 
+0x0098 000238 arg mem_ipc_2bt_fifo_head ,contr 
+0x0099 000239 rtn 
+:      000241 p_ipc_tx_evt:
+0x009a 000242 arg 3 ,loopcnt 
+0x009b 000243 arg mem_ipc_tx_evt_buff ,contr 
+:      000244 p_ipc_tx_cpy:
+0x009c 000245 copy contr ,rega 
+0x009d 000246 fetch 2 ,mem_ipc_2c51_write_index 
+0x009e 000247 byteswap pdata ,pdata 
+0x009f 000248 copy pdata ,contw 
+0x00a0 000249 copy rega ,contr 
+:      000250 p_ipc_tx_loop:
+0x00a1 000251 ifetch 1 ,contr 
+0x00a2 000252 istore 1 ,contw 
+0x00a3 000253 call p_ipc_tx_updata_contw 
+0x00a4 000254 loop p_ipc_tx_loop 
+0x00a5 000255 copy contw ,pdata 
+0x00a6 000256 byteswap pdata ,pdata 
+0x00a7 000257 store 2 ,mem_ipc_2c51_write_index 
+0x00a8 000258 rtn 
+:      000259 p_ipc_tx_updata_contw:
+0x00a9 000260 setarg mem_ipc_2c51_fifo_end 
+0x00aa 000261 isub contw ,null 
+0x00ab 000262 nrtn zero 
+0x00ac 000263 arg mem_ipc_2c51_fifo_head ,contw 
+0x00ad 000264 rtn 
+:      000267 p_check_ipc_2c51:
+0x00ae 000268 fetch 2 ,mem_ipc_2c51_read_index 
+0x00af 000269 fetcht 2 ,mem_ipc_2c51_write_index 
+0x00b0 000270 branch p_check_ipc_common 
+:      000271 p_check_ipc_2bt:
+0x00b1 000272 fetch 2 ,mem_ipc_2bt_read_index 
+0x00b2 000273 fetcht 2 ,mem_ipc_2bt_write_index 
+:      000274 p_check_ipc_common:
+0x00b3 000275 isub temp ,null 
+0x00b4 000276 branch enable_usr ,zero 
+0x00b5 000277 branch disable_usr 
+:      000280 p_ui_timer_check:
+0x00b6 000281 copy clkn_bt ,pdata 
+0x00b7 000282 store 4 ,mem_ui_timer_last_btclk_temp 
+0x00b8 000283 fetcht 1 ,mem_ui_timer_last_btclk + 3 
+0x00b9 000284 fetch 1 ,mem_ui_timer_last_btclk_temp + 3 
+0x00ba 000285 isub temp ,null 
+0x00bb 000286 ncall p_ui_timer_reinit ,positive 
+0x00bc 000287 branch ui_timer_check + 2 
+:      000289 p_ui_timer_reinit:
+0x00bd 000290 fetcht 4 ,mem_ui_timer_last_btclk_temp 
+0x00be 000291 storet 4 ,mem_ui_timer_last_btclk 
+0x00bf 000292 storet 4 ,mem_ipc_last_check_timer 
+0x00c0 000293 storet 4 ,mem_ui_check_timer_setup 
+0x00c1 000294 rtn 
+:      000298 p_kb_bb_event_timer:
+0x00c2 000299 storet 1 ,mem_app_evt_timer_count 
+0x00c3 000300 fetch 1 ,mem_ipc_bt_100ms_timer 
+0x00c4 000301 increase 1 ,pdata 
+0x00c5 000302 store 1 ,mem_ipc_bt_100ms_timer 
+:      000303 p_kb_bb_event_100ms_loop:
+0x00c6 000304 fetch 1 ,mem_app_evt_timer_count 
+0x00c7 000305 rtn blank 
+0x00c8 000306 increase -1 ,pdata 
+0x00c9 000307 store 1 ,mem_app_evt_timer_count 
+0x00ca 000309 call p_kb_long_sleep_timer 
+0x00cb 000310 branch p_kb_bb_event_100ms_loop 
+:      000312 p_kb_long_sleep_timer:
+0x00cc 000313 fetch 1 ,mem_24g_enter_lpm_timer 
+0x00cd 000314 rtn blank 
+0x00ce 000315 increase -1 ,pdata 
+0x00cf 000316 store 1 ,mem_24g_enter_lpm_timer 
+0x00d0 000317 rtn 
+:      000320 p_c51_user_event:
+0x00d1 000321 copy regc ,pdata 
+0x00d2 000322 and_into bt_evt_timer_mask ,pdata 
+0x00d3 000323 rtneq bt_evt_timer_init 
+0x00d4 000324 copy regc ,pdata 
+0x00d5 000325 rtn blank 
+0x00d6 000326 store 1 ,mem_ipc_tx_evt 
+0x00d7 000327 branch p_ipc_tx_evt 
+:      000335 p_lpm_sleep:
+0x00d8 000336 call xtal_fast_wake 
+0x00d9 000337 branch lpm_sleep + 2 
+:      000339 p_lpm_recover_clk:
+0x00da 000340 jam 0x7f ,mem_seqi 
+0x00db 000341 call lpm_recover_clk + 2 
+0x00dc 000342 fetch 1 ,mem_hibernate_flag 
+0x00dd 000343 rtn blank 
+0x00de 000344 jam 0 ,mem_hibernate_flag 
+0x00df 000345 copy clkn_bt ,pdata 
+0x00e0 000346 store 4 ,mem_ipc_last_check_timer 
+0x00e1 000347 rtn 
+:      000351 p_lpm_cal_xtal_startup:
+0x00e2 000352 fetch 1 ,mem_lpm_xtalcnt 
+0x00e3 000353 nrtn blank 
+0x00e4 000354 hjam clksel_rc ,core_clksel 
+0x00e5 000355 setarg 0xf0c 
+0x00e6 000356 call lpm_write_config 
+0x00e7 000357 setarg 200000 
+0x00e8 000358 call sleep 
+0x00e9 000359 until null ,lpo_edge 
+0x00ea 000360 copy lpo_time ,alarm 
+0x00eb 000361 call xtal_fast_wake 
+0x00ec 000362 nop 5000 
+0x00ed 000363 branch lpm_cal_xtal_startup + 12 
+:      000366 p_lpm_dispatch:
+0x00ee 000367 rtnmark1 mark_24g 
+0x00ef 000368 fetch 2 ,mem_ui_state_map 
+0x00f0 000369 bbit1 ui_state_ble_connected ,lpm_dispatch + 2 
+0x00f1 000370 call lpo_calibration 
+0x00f2 000371 fetch 3 ,mem_clks_per_lpo 
+0x00f3 000372 rtn blank 
+0x00f4 000375 fetch 1 ,mem_lpm_mode 
+0x00f5 000376 rtn blank 
+0x00f6 000378 call l2cap_malloc_is_fifo_empty 
+0x00f7 000379 nrtn blank 
+0x00f8 000380 call lpm_check_wake_lock 
+0x00f9 000381 nrtn blank 
+0x00fa 000382 call xtal_fast_wake 
+0x00fb 000383 fetch 1 ,mem_ssp_enable 
+0x00fc 000384 branch lpm_dispatch0 ,blank 
+0x00fd 000385 fetch 1 ,mem_sp_local_key_invalid 
+0x00fe 000386 rtn blank 
+0x00ff 000387 branch lpm_dispatch0 
+:      000389 p_check_ipc_for_lpm:
+0x0100 000390 call p_check_ipc_2bt 
+0x0101 000391 nrtn user 
+0x0102 000392 call p_check_ipc_2c51 
+0x0103 000393 nrtn user 
+0x0104 000394 jam 1 ,mem_c51_lpm_lock 
+0x0105 000395 jam syc_task_lpm ,mem_c51_flag 
+0x0106 000396 call p_c51_wait 
+0x0107 000397 branch p_check_ipc_2bt 
+:      000399 p_lpm_dispatch_next:
+0x0108 000400 call p_check_ipc_for_lpm 
+0x0109 000401 nrtn user 
+0x010a 000402 fetch 1 ,mem_c51_lpm_lock 
+0x010b 000403 nrtn blank 
+0x010c 000404 branch lpm_dispatch1 
+:      000406 p_c51_wait:
+0x010d 000407 fetch 1 ,mem_c51_flag 
+0x010e 000408 nop 10 
+0x010f 000409 bne 0 ,p_c51_wait 
+0x0110 000410 rtn 
+:      000413 p_lpm_dispatch_unconn:
+0x0111 000414 call p_check_ipc_for_lpm 
+0x0112 000415 nrtn user 
+0x0113 000416 fetch 1 ,mem_c51_lpm_lock 
+0x0114 000417 nrtn blank 
+0x0115 000418 branch lpm_dispatch_unconn + 2 
+:      000422 p_initialize_radio_cont:
+0x0116 000423 call p_switchto_dpllclk 
+0x0117 000424 branch initialize_radio_cont + 4 
+:      000425 p_switchto_dpllclk:
+0x0118 000426 fetch 1 ,mem_lpm_xtalcnt 
+0x0119 000427 nbranch p_switchdpll_nocal ,blank 
+0x011a 000428 call lpm_cal_xtal_startup 
+0x011b 000429 nop 30000 
+0x011c 000430 nop 30000 
+0x011d 000431 nop 30000 
+:      000432 p_switchdpll_nocal:
+0x011e 000433 call switchto_dpllclk 
+0x011f 000434 hjam clksel_xtal ,core_clksel 
+0x0120 000435 hfetch 1 ,rf_clkpll_frac + 2 
+0x0121 000436 and_into 0xcf ,pdata 
+0x0122 000437 hstore 1 ,rf_clkpll_frac + 2 
+0x0123 000438 or_into 0x30 ,pdata 
+0x0124 000439 hstore 1 ,rf_clkpll_frac + 2 
+0x0125 000440 rtn 
+:      000444 p_set_freq_rx:
+0x0126 000445 storet 1 ,mem_last_freq 
+0x0127 000446 add temp ,rx_freq_offset ,rega 
+0x0128 000447 branch set_freq_rx + 4 
+:      000449 p_set_freq_tx_common:
+0x0129 000450 storet 1 ,mem_last_freq 
+0x012a 000451 add temp ,0 ,rega 
+0x012b 000452 branch rf_write_freq 
+:      000454 p_set_freq_tx:
+0x012c 000455 call p_set_freq_tx_common 
+0x012d 000456 setarg param_pll_setup 
+0x012e 000457 call sleep 
+:      000458 p_txon:
+0x012f 000459 hjam 0x1 ,rfen_adc 
+0x0130 000460 hjam 0x3c ,rfen_rx 
+0x0131 000461 hjam 0xe0 ,rfen_tx 
+0x0132 000462 hjam 0x12 ,0x96d 
+0x0133 000463 nop 10 
+0x0134 000464 hjam 0x01 ,rfen_mdm 
+0x0135 000465 hjam 0x3d ,rfen_mdm 
+0x0136 000466 nop 10 
+0x0137 000467 hjam 0xb7 ,rfen_sn 
+0x0138 000468 nop 10 
+0x0139 000469 hjam 0x7d ,rfen_mdm 
+0x013a 000470 fetch 1 ,mem_24g_pairing_sm 
+0x013b 000471 bne state_24g_pairing_success ,p_txpower_0dbm 
+0x013c 000472 fetch 5 ,mem_5db_tx_power_param 
+0x013d 000473 istore 5 ,contw 
+0x013e 000474 ifetch 5 ,contr 
+0x013f 000475 istore 5 ,contw 
+0x0140 000476 hjam 0xdf ,0x956 
+0x0141 000477 call p_set_tx_step_power 
+0x0142 000478 hjam 0xdf ,0x955 
+0x0143 000479 rtn 
+:      000481 p_txpower_0dbm:
+0x0144 000482 fetch 5 ,mem_24g_paring_tx_power_param 
+0x0145 000483 istore 5 ,contw 
+0x0146 000484 ifetch 5 ,contr 
+0x0147 000485 istore 5 ,contw 
+0x0148 000486 hjam 0xc2 ,0x956 
+0x0149 000487 hjam 0xd0 ,0x955 
+0x014a 000488 rtn 
+:      000493 p_set_tx_step_power:
+0x014b 000495 nop 4 
+0x014c 000496 hjam 0xd1 ,0x955 
+0x014d 000497 nop 4 
+0x014e 000498 hjam 0xd2 ,0x955 
+0x014f 000499 nop 4 
+0x0150 000500 hjam 0xd4 ,0x955 
+0x0151 000501 nop 4 
+0x0152 000504 rtn 
+:      000506 p_tx_ramp_down_common:
+0x0153 000507 hjam 0xd4 ,0x955 
+0x0154 000508 nop 4 
+0x0155 000509 hjam 0xd2 ,0x955 
+0x0156 000510 nop 4 
+0x0157 000511 hjam 0xd1 ,0x955 
+0x0158 000512 nop 4 
+0x0159 000513 hjam 0xd0 ,0x955 
+0x015a 000514 hjam 0xc0 ,0x956 
+0x015b 000515 rtn 
+:      000517 p_shutdown_radio:
+0x015c 000518 branch shutdown_radio + 2 ,is_rx 
+0x015d 000519 call p_tx_ramp_down_common 
+0x015e 000520 branch shutdown_radio + 2 
+:      000523 p_kb_before_hibernate:
+0x015f 000524 enable user 
+0x0160 000525 hfetch 4 ,0x8138 
+0x0161 000526 setflag user ,26 ,pdata 
+0x0162 000527 hstore 4 ,core_lpm_reg 
+0x0163 000528 call lpm_write_ctrl 
+0x0164 000529 jam 1 ,mem_lpm_current_mult 
+:      000530 p_kb_bt_lpm_before:
+0x0165 000531 rtn 
+:      000533 p_kb_init:
+0x0166 000535 jam 0 ,mem_c51_flag 
+0x0167 000536 jam 6 ,mem_connection_options 
+0x0168 000537 call app_lpm_mult_enable 
+0x0169 000538 setarg p_kb_bt_lpm_before 
+0x016a 000539 store 2 ,mem_cb_before_lpm 
+0x016b 000540 setarg p_c51_user_event 
+0x016c 000541 store 2 ,mem_cb_bb_event_process 
+0x016d 000542 setarg p_mouse_idle 
+0x016e 000543 store 2 ,mem_cb_idle_process 
+0x016f 000544 setarg p_ipc_rx 
+0x0170 000545 store 2 ,mem_cb_le_process 
+0x0171 000546 setarg p_kb_before_hibernate 
+0x0172 000547 store 2 ,mem_cb_before_hibernate 
+0x0173 000548 setarg mem_ipc_2bt_fifo_head 
+0x0174 000549 byteswap pdata ,pdata 
+0x0175 000550 store 2 ,mem_ipc_2bt_read_index 
+0x0176 000551 store 2 ,mem_ipc_2bt_write_index 
+0x0177 000552 call lpm_disable_exen_output 
+0x0178 000553 setarg mem_ipc_2c51_fifo_head 
+0x0179 000554 byteswap pdata ,pdata 
+0x017a 000555 store 2 ,mem_ipc_2c51_read_index 
+0x017b 000556 store 2 ,mem_ipc_2c51_write_index 
+0x017c 000557 fetch 1 ,mem_hibernate_flag 
+0x017d 000558 beq 0x5a ,p_device_init_init_hibwake 
+0x017e 000559 branch p_deveice_init_wake ,wake 
+0x017f 000560 fetch 2 ,mem_adc_0v 
+0x0180 000561 byteswap pdata ,pdata 
+0x0181 000562 store 2 ,mem_adc_0v 
+0x0182 000563 fetch 2 ,mem_adc_3v 
+0x0183 000564 byteswap pdata ,pdata 
+0x0184 000565 store 2 ,mem_adc_3v 
+0x0185 000566 call p_init_adc_from_otp 
+0x0186 000567 fetch 8 ,mem_temp 
+0x0187 000568 nbranch p_deveice_init_reset ,blank 
+0x0188 000569 fetch 2 ,0x4ad4 
+0x0189 000570 byteswap pdata ,pdata 
+0x018a 000571 branch p_deveice_init_reset ,blank 
+0x018b 000572 store 2 ,mem_adc_3v 
+:      000573 p_deveice_init_reset:
+0x018c 000574 call p_le_queue_init 
+0x018d 000575 jam bt_evt_reset ,mem_ipc_tx_evt 
+:      000576 p_device_init_common:
+0x018e 000577 call p_ipc_tx_evt 
+0x018f 000578 jam 0 ,mem_hibernate_flag 
+0x0190 000579 hjam start_c51_core ,core_docd_ctrl 
+0x0191 000580 rtn 
+:      000581 p_deveice_init_wake:
+0x0192 000582 jam bt_evt_wakeup ,mem_ipc_tx_evt 
+0x0193 000583 branch p_device_init_common 
+:      000584 p_device_init_init_hibwake:
+0x0194 000585 copy auxcnt ,pdata 
+0x0195 000586 branch p_enter_hibernate_continue ,blank 
+0x0196 000587 call init_lmp_work 
+0x0197 000588 call l2cap_init_work 
+0x0198 000589 setarg 0 
+0x0199 000590 store 8 ,mem_context 
+0x019a 000591 store 2 ,mem_ui_state_map 
+0x019b 000592 copy clkn_bt ,pdata 
+0x019c 000593 store 4 ,mem_ipc_last_check_timer 
+0x019d 000594 jam bt_evt_hibernate_wake ,mem_ipc_tx_evt 
+0x019e 000595 branch p_device_init_common 
+:      000597 p_init_adc_from_otp:
+0x019f 000598 call otp_enable_chgpump 
+0x01a0 000599 setarg 0x7e2 
+0x01a1 000600 arg mem_temp ,rega 
+0x01a2 000601 arg 12 ,temp 
+0x01a3 000602 call otpd_read_data 
+0x01a4 000603 call otp_disable_chgpump 
+0x01a5 000604 fetch 8 ,mem_temp 
+0x01a6 000605 rtn blank 
+0x01a7 000606 fetch 1 ,mem_adc_config_flag 
+0x01a8 000607 bbit1 adc_config_vinlpm ,p_calc_adc_base_vinlpm 
+0x01a9 000608 bbit1 adc_config_hvin ,p_calc_adc_base_hvin 
+:      000609 p_calc_adc_check_gpio:
+0x01aa 000610 fetch 2 ,mem_temp 
+0x01ab 000611 byteswap pdata ,pdata 
+0x01ac 000612 store 2 ,mem_adc_0v 
+0x01ad 000613 fetch 2 ,mem_temp + 6 
+0x01ae 000614 byteswap pdata ,pdata 
+0x01af 000615 store 2 ,mem_adc_3v 
+0x01b0 000616 rtn 
+:      000617 p_calc_adc_base_vinlpm:
+0x01b1 000618 fetcht 2 ,mem_temp + 4 
+0x01b2 000619 fetch 2 ,mem_temp + 10 
+0x01b3 000620 copy temp ,regb 
+0x01b4 000621 copy pdata ,rega 
+0x01b5 000622 byteswap pdata ,pdata 
+0x01b6 000623 store 2 ,mem_adc_3v 
+0x01b7 000624 copy rega ,pdata 
+0x01b8 000625 isub temp ,regc 
+0x01b9 000626 lshift regc ,regc 
+0x01ba 000627 copy regb ,pdata 
+0x01bb 000628 isub regc ,pdata 
+0x01bc 000629 byteswap pdata ,pdata 
+0x01bd 000630 store 2 ,mem_adc_0v 
+0x01be 000631 rtn 
+:      000633 p_calc_adc_base_hvin:
+0x01bf 000634 fetcht 2 ,mem_temp + 2 
+0x01c0 000635 fetch 2 ,mem_temp + 8 
+0x01c1 000636 copy temp ,regb 
+0x01c2 000637 copy pdata ,rega 
+0x01c3 000638 isub temp ,regc 
+0x01c4 000639 rshift2 regc ,regc 
+0x01c5 000640 copy regb ,pdata 
+0x01c6 000641 isub regc ,pdata 
+0x01c7 000642 byteswap pdata ,pdata 
+0x01c8 000643 store 2 ,mem_adc_0v 
+0x01c9 000644 lshift regc ,regc 
+0x01ca 000645 copy rega ,pdata 
+0x01cb 000646 isub regc ,pdata 
+0x01cc 000647 byteswap pdata ,pdata 
+0x01cd 000648 store 2 ,mem_adc_3v 
+0x01ce 000649 rtn 
+:      000652 p_le_enable:
+0x01cf 000653 jam 39 ,mem_le_ch_mapped 
+0x01d0 000654 hjam 0x36 ,0x90f 
+0x01d1 000655 hjam 0x5f ,0x90b 
+0x01d2 000656 branch le_enable + 2 
+:      000657 p_le_disable:
+0x01d3 000658 hjam 0x2e ,0x90f 
+0x01d4 000659 hjam 0xff ,0x90b 
+0x01d5 000660 branch le_disable + 2 
+:      000663 p_mouse_idle:
+0x01d6 000664 rtn 
+:      000665 p_check_enter_hibernate:
+0x01d7 000666 jam syc_task_hibernate ,mem_c51_flag 
+0x01d8 000667 call p_c51_wait 
+:      000668 p_enter_hibernate_continue:
+0x01d9 000670 jam 0x5a ,mem_hibernate_flag 
+0x01da 000671 call lpm_write_gpio_wakeup 
+0x01db 000672 hfetch 4 ,core_lpm_ctrl 
+0x01dc 000673 set0 15 ,pdata 
+0x01dd 000674 hstore 4 ,core_lpm_reg 
+0x01de 000675 call lpm_write_ctrl 
+0x01df 000676 arg param_hibernate_clks ,temp 
+0x01e0 000677 branch lpm_sleep 
+:      000680 p_check_51cmd_once:
+0x01e1 000681 call ui_ipc_get_lock 
+0x01e2 000682 arg mem_ipc_fifo_c512bt ,rega 
+0x01e3 000683 call fifo_out 
+0x01e4 000684 copy pdata ,temp 
+0x01e5 000685 call ui_ipc_put_lock 
+0x01e6 000686 copy temp ,pdata 
+0x01e7 000687 rtn blank 
+0x01e8 000688 beq bt_cmd_start_24g ,p_check_51cmd_start24g 
+0x01e9 000689 beq bt_cmd_stop_24g ,p_check_51cmd_stop24g 
+0x01ea 000690 beq bt_cmd_pair_24g ,p_g24_start_pairing_sm1 
+0x01eb 000692 branch check_51cmd_once + 9 
+:      000693 p_check_51cmd_start24g:
+0x01ec 000694 jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0x01ed 000695 branch p_g24_start_24g_mode 
+:      000696 p_check_51cmd_stop24g:
+0x01ee 000697 set0 mark_24g ,mark 
+0x01ef 000698 jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0x01f0 000699 branch p_g24_stop_g24_mode 
+:      000707 p_le_queue_init:
+0x01f1 000708 setarg 0 
+0x01f2 000709 store 4 ,mem_queue_write 
+0x01f3 000710 rtn 
+:      000713 p_g24_dispatch:
+0x01f4 000714 rtnmark0 mark_24g 
+0x01f5 000715 call p_g24_txdata_prep 
+0x01f6 000716 nbranch p_g24_long_sleep ,user 
+0x01f7 000717 jam 10 ,mem_24g_enter_lpm_timer 
+0x01f8 000718 call p_g24_transmit_packet 
+0x01f9 000719 fetch 1 ,mem_24g_pairing_sm 
+0x01fa 000720 rtnne state_24g_pairing_success 
+0x01fb 000721 jam tx_power_5db ,mem_tx_power 
+:      000722 p_g24_short_sleep:
+0x01fc 000723 fetch 1 ,mem_mouse_retry_flag 
+0x01fd 000724 nrtn blank 
+0x01fe 000725 call p_check_ipc_for_lpm 
+0x01ff 000726 nrtn user 
+0x0200 000727 fetch 1 ,mem_c51_lpm_lock 
+0x0201 000728 nrtn blank 
+0x0202 000729 call lpo_calibration 
+0x0203 000730 fetch 3 ,mem_clks_per_lpo 
+0x0204 000731 rtn blank 
+0x0205 000732 fetch 1 ,mem_lpm_mode 
+0x0206 000733 rtn blank 
+:      000734 p_g24_short_sleep_1:
+0x0207 000735 setarg 58000 
+:      000736 p_g24_short_sleep_2:
+0x0208 000737 call clk2lpo 
+0x0209 000738 storet 4 ,mem_sleep_counter 
+0x020a 000739 branch lpm_sleep 
+:      000741 p_g24_long_sleep:
+0x020b 000742 call p_check_ipc_for_lpm 
+0x020c 000743 nrtn user 
+0x020d 000744 fetch 1 ,mem_c51_lpm_lock 
+0x020e 000745 nrtn blank 
+0x020f 000746 call lpo_calibration 
+0x0210 000747 fetch 3 ,mem_clks_per_lpo 
+0x0211 000748 rtn blank 
+0x0212 000749 fetch 1 ,mem_lpm_mode 
+0x0213 000750 rtn blank 
+0x0214 000751 fetch 1 ,mem_24g_enter_lpm_timer 
+0x0215 000752 nbranch p_g24_short_sleep_1 ,blank 
+0x0216 000753 fetch 8 ,mem_24g_enter_hibernate 
+0x0217 000754 branch p_g24_short_sleep_2 
+:      000756 p_g24_txdata_prep:
+0x0218 000757 fetch 1 ,mem_24g_pairing_sm 
+0x0219 000758 bne state_24g_pairing_success ,p_g24_pairing_sm 
+0x021a 000759 call p_g24_package_data 
+0x021b 000760 call p_g24_transmit_prep 
+:      000761 p_g24_txdata_enable_tx:
+0x021c 000762 jam ensure_on_24g ,mem_24g_ensure 
+0x021d 000763 rtn 
+:      000765 p_g24_package_data:
+0x021e 000766 disable user 
+0x021f 000767 jam 2 ,mem_24g_data_type 
+0x0220 000768 fetch 1 ,mem_24g_txbuf 
+0x0221 000769 beq 0x01 ,p_g24_dataready 
+0x0222 000770 beq 0x02 ,p_g24_dataready_mk 
+0x0223 000771 beq 0x03 ,p_g24_dataready_ms 
+0x0224 000772 beq 0x06 ,p_g24_dataready_sys 
+0x0225 000773 fetch 1 ,mem_mouse_retry_flag 
+0x0226 000774 ncall enable_user ,blank 
+0x0227 000775 rtn 
+:      000776 p_g24_dataready:
+0x0228 000777 jam 0x00 ,mem_24g_txbuf 
+0x0229 000778 jam 10 ,mem_24g_datalen 
+0x022a 000779 branch p_g24_package_data_rtn 
+:      000780 p_g24_dataready_mk:
+0x022b 000781 jam 0x03 ,mem_24g_txbuf 
+0x022c 000782 jam 4 ,mem_24g_datalen 
+0x022d 000783 branch p_g24_package_data_rtn 
+:      000784 p_g24_dataready_sys:
+0x022e 000785 jam 0x02 ,mem_24g_txbuf 
+0x022f 000786 jam 3 ,mem_24g_datalen 
+0x0230 000787 branch p_g24_package_data_rtn 
+:      000788 p_g24_dataready_ms:
+0x0231 000789 jam 1 ,mem_24g_data_type 
+0x0232 000790 jam 8 ,mem_24g_datalen 
+:      000791 p_g24_package_data_rtn:
+0x0233 000792 jam 0 ,mem_24g_get_ack_fail 
+0x0234 000793 branch enable_user 
+:      000797 p_g24_transmit_packet:
+0x0235 000798 jam 0 ,mem_24g_retry 
+:      000799 p_g24_transmit_loop:
+0x0236 000800 arg param_rx_setup ,timeup 
+0x0237 000801 until clkn_rt ,meet 
+0x0238 000802 call p_g24_transmit_receive_ack 
+0x0239 000803 nbranch p_g24_retransmit ,user3 
+0x023a 000804 call p_g24_ackpayload_parse 
+0x023b 000805 fetch 1 ,mem_24g_pid 
+0x023c 000806 increase 1 ,pdata 
+0x023d 000807 store 1 ,mem_24g_pid 
+0x023e 000808 jam 0 ,mem_mouse_retry_flag 
+0x023f 000809 fetch 1 ,mem_24g_pairing_sm 
+0x0240 000810 bne state_24g_pairing_success ,p_g24_paring_mode_start 
+:      000811 p_g24_transmit_abandon:
+0x0241 000812 call p_g24_clear_txbuf 
+0x0242 000813 jam 0 ,mem_24g_get_ack_fail 
+0x0243 000814 jam ensure_off_24g ,mem_24g_ensure 
+0x0244 000815 rtn 
+:      000818 p_g24_retransmit:
+0x0245 000819 jam 1 ,mem_mouse_retry_flag 
+0x0246 000820 fetch 1 ,mem_24g_get_ack_fail 
+0x0247 000821 increase 1 ,pdata 
+0x0248 000822 store 1 ,mem_24g_get_ack_fail 
+0x0249 000823 fetch 1 ,mem_24g_pairing_sm 
+0x024a 000824 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+0x024b 000825 fetch 1 ,mem_24g_get_ack_fail 
+0x024c 000826 beq 0xff ,p_g24_stop_g24_mode 
+0x024d 000827 fetch 1 ,mem_24g_get_ack_fail 
+0x024e 000828 arg 16 ,temp 
+0x024f 000829 isub temp ,null 
+0x0250 000830 branch p_g24_ch ,positive 
+0x0251 000831 fetch 1 ,mem_24g_retry 
+0x0252 000832 increase 1 ,pdata 
+0x0253 000833 store 1 ,mem_24g_retry 
+0x0254 000834 nop 10 
+0x0255 000835 bne retry_24g ,p_g24_transmit_loop 
+0x0256 000836 branch p_g24_ch 
+:      000839 p_g24_clear_txbuf:
+0x0257 000840 setarg 0 
+0x0258 000841 store 9 ,mem_24g_txbuf 
+0x0259 000842 rtn 
+:      000844 p_g24_check_txbuf:
+0x025a 000845 bmark0 mark_24g ,set_blank 
+0x025b 000846 fetch 8 ,mem_24g_txbuf 
+0x025c 000847 rtn 
+:      000850 p_g24_paring_mode_start:
+0x025d 000851 branch p_g24_paring_mode 
+:      000853 p_g24_transmit_receive_ack:
+0x025e 000854 disable user3 
+0x025f 000855 call p_g24_transmit 
+0x0260 000858 force 0 ,radio_ctrl 
+0x0261 000859 fetch 4 ,mem_24g_addr 
+0x0262 000860 iforce access 
+0x0263 000861 fetcht 1 ,mem_last_freq 
+0x0264 000862 call set_freq_rx 
+0x0265 000863 call rf_rx_enable 
+0x0266 000864 call p_g24_receive_rxon 
+0x0267 000865 call p_g24_end_of_packet ,user3 
+0x0268 000866 rtn 
+:      000873 p_g24_tx_paring_retry:
+0x0269 000874 rtn 
+:      000878 p_g24_stop_g24_mode:
+0x026a 000879 jam 0 ,mem_mouse_retry_flag 
+0x026b 000880 jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+0x026c 000881 branch ui_ipc_send_event 
+:      000884 p_g24_ackpayload_parse:
+0x026d 000885 call p_g24_read_len_pid_crc 
+0x026e 000886 fetch 1 ,mem_24g_rxdata_length 
+0x026f 000887 rtn blank 
+0x0270 000888 iforce loopcnt 
+0x0271 000889 call p_24g_kb_led 
+0x0272 000890 arg mem_24g_rxbuf + 2 ,contr 
+0x0273 000891 arg mem_24g_rxpayload ,contw 
+0x0274 000892 branch memcpy 
+:      000894 p_24g_kb_led:
+0x0275 000895 fetch 1 ,mem_24g_rxbuf + 1 
+0x0276 000896 compare 0x08 ,pdata ,0xf8 
+0x0277 000897 nrtn true 
+0x0278 000898 fetcht 1 ,mem_24g_rxbuf + 2 
+0x0279 000899 storet 1 ,mem_caps_num_lock 
+0x027a 000900 jam 0 ,mem_24g_led_flag 
+0x027b 000901 rtn 
+:      000904 p_g24_start_pairing_sm1:
+0x027c 000905 set1 mark_24g ,mark 
+0x027d 000906 call p_g24_pair_init 
+0x027e 000907 call p_g24_transmit_abandon 
+0x027f 000908 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+0x0280 000909 rtn 
+:      000911 p_g24_pair_init:
+0x0281 000912 jam 0 ,mem_24g_pid 
+0x0282 000913 jam g24_pair_ch ,mem_24g_ch 
+0x0283 000914 fetch 4 ,mem_24g_paring_addr 
+0x0284 000915 branch p_g24_update_addr_and_synccrc8 
+:      000917 p_g24_pairing_sm:
+0x0285 000918 call p_g24_pair_init 
+0x0286 000919 fetch 1 ,mem_24g_ensure 
+0x0287 000920 beq ensure_on_24g ,enable_user 
+0x0288 000921 fetch 1 ,mem_24g_pairing_sm 
+0x0289 000922 beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+0x028a 000923 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+0x028b 000924 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+0x028c 000925 branch assert 
+:      000927 p_g24_pairing_sm_1:
+0x028d 000928 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+0x028e 000929 jam 0xaa ,mem_24g_common_temp 
+0x028f 000930 branch p_g24_pairing_sm_common 
+:      000931 p_g24_pairing_sm_2:
+0x0290 000932 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+0x0291 000933 jam 0x55 ,mem_24g_common_temp 
+0x0292 000934 branch p_g24_pairing_sm_common 
+:      000935 p_g24_pairing_sm_3:
+0x0293 000936 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+0x0294 000937 jam 0x22 ,mem_24g_common_temp 
+:      000938 p_g24_pairing_sm_common:
+0x0295 000942 jam 0x02 ,mem_24g_common_temp + 1 
+0x0296 000943 fetch 4 ,mem_24g_device_addr 
+0x0297 000944 store 4 ,mem_24g_common_temp + 2 
+0x0298 000945 jam 0 ,mem_24g_common_temp + 6 
+0x0299 000946 arg mem_24g_common_temp ,rega 
+0x029a 000947 arg 7 ,temp 
+0x029b 000948 call p_g24_put_data_in_buff 
+0x029c 000949 call p_g24_transmit_prep 
+0x029d 000950 call p_g24_txdata_enable_tx 
+0x029e 000951 branch enable_user 
+:      000953 p_g24_paring_mode:
+0x029f 000954 fetch 1 ,mem_24g_pairing_sm 
+0x02a0 000955 rtneq state_24g_pairing_success 
+0x02a1 000956 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+0x02a2 000957 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+0x02a3 000958 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+0x02a4 000959 rtn 
+:      000962 p_g24_pairing_sm_1_waiting_ack:
+0x02a5 000963 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+0x02a6 000964 branch p_g24_transmit_abandon 
+:      000965 p_g24_pairing_sm_2_waiting_ack:
+0x02a7 000966 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+0x02a8 000967 branch p_g24_transmit_abandon 
+:      000968 p_g24_pairing_sm_3_waiting_ack:
+0x02a9 000969 jam state_24g_pairing_success ,mem_24g_pairing_sm 
+0x02aa 000970 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+0x02ab 000971 call ui_ipc_send_event 
+0x02ac 000972 fetch 4 ,mem_24g_rxpayload + 2 
+0x02ad 000973 call p_g24_update_addr_and_synccrc8 
+0x02ae 000974 branch p_g24_transmit_abandon 
+:      000976 p_g24_start_24g_mode:
+0x02af 000977 rtnmark1 mark_24g 
+0x02b0 000978 call p_g24_syncword_crc8 
+0x02b1 000979 call p_g24_ch 
+0x02b2 000980 fetch 1 ,mem_24g_pairing_sm 
+0x02b3 000981 rtnne state_24g_pairing_success 
+0x02b4 000982 call p_g24_tx_attemp_data_prep 
+0x02b5 000983 setarg 0 
+0x02b6 000984 store 2 ,mem_24g_check_dongle_times 
+:      000985 p_g24_tx_attemp_dongle_loop:
+0x02b7 000986 call lpo_calibration 
+0x02b8 000987 nop 2000 
+0x02b9 000988 fetch 1 ,mem_24g_check_dongle_times 
+0x02ba 000989 beq 0xff ,p_g24_stop_g24_mode 
+0x02bb 000990 call p_g24_transmit_receive_ack 
+0x02bc 000991 nbranch p_g24_attemp_txdata_retry ,user3 
+:      000992 p_g24_tx_attemp_dongle_succ:
+0x02bd 000993 call p_g24_clear_txbuf 
+0x02be 000994 set1 mark_24g ,mark 
+0x02bf 000995 jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0x02c0 000996 branch ui_ipc_send_event 
+:      000999 p_g24_tx_attemp_data_prep:
+0x02c1 001000 jam 0xff ,mem_24g_common_temp 
+0x02c2 001001 fetch 1 ,mem_24g_data_type 
+0x02c3 001002 store 1 ,mem_24g_common_temp + 1 
+0x02c4 001003 fetch 4 ,mem_24g_device_addr 
+0x02c5 001004 store 4 ,mem_24g_common_temp + 2 
+0x02c6 001005 arg 6 ,temp 
+0x02c7 001006 arg mem_24g_common_temp ,rega 
+0x02c8 001007 call p_g24_put_data_in_buff 
+0x02c9 001008 branch p_g24_transmit_prep 
+:      001010 p_g24_attemp_txdata_retry:
+0x02ca 001011 fetch 2 ,mem_24g_check_dongle_times 
+0x02cb 001012 increase 1 ,pdata 
+0x02cc 001013 store 2 ,mem_24g_check_dongle_times 
+0x02cd 001014 call p_g24_ch 
+0x02ce 001015 branch p_g24_tx_attemp_dongle_loop 
+:      001018 p_g24_put_data_in_buff:
+0x02cf 001019 storet 1 ,mem_24g_datalen 
+0x02d0 001020 copy temp ,loopcnt 
+0x02d1 001021 arg mem_24g_txbuf ,contw 
+0x02d2 001022 copy rega ,contr 
+0x02d3 001023 branch memcpy 
+:      001025 p_g24_read_len_pid_crc:
+0x02d4 001027 fetch 1 ,mem_24g_rxbuf + 1 
+0x02d5 001028 rshift3 pdata ,pdata 
+0x02d6 001029 store 1 ,mem_24g_rxdata_length 
+0x02d7 001031 increase 1 ,pdata 
+0x02d8 001032 arg mem_24g_rxbuf + 1 ,contr 
+0x02d9 001033 iadd contr ,contr 
+0x02da 001034 ifetch 3 ,contr 
+0x02db 001035 store 3 ,mem_24g_sta_crc 
+0x02dc 001036 rtn 
+:      001038 p_rssi_signal:
+0x02dd 001039 fetcht 1 ,mem_rssi_signal_index 
+0x02de 001040 setarg mem_rssi_signal_buf 
+0x02df 001041 iadd temp ,contw 
+0x02e0 001042 copy rega ,pdata 
+0x02e1 001043 istore 1 ,contw 
+0x02e2 001044 increase 1 ,temp 
+0x02e3 001045 and_into rssi_buf_len_signal ,temp 
+0x02e4 001046 storet 1 ,mem_rssi_signal_index 
+0x02e5 001047 rtn 
+:      001067 p_g24_update_addr_and_synccrc8:
+0x02e6 001068 store 4 ,mem_24g_addr 
+:      001071 p_g24_syncword_crc8:
+0x02e7 001072 arg 0 ,rega 
+0x02e8 001073 arg 4 ,loopcnt 
+0x02e9 001074 arg mem_24g_addr ,contr 
+:      001075 p_g24_syncword_crc8_loop:
+0x02ea 001076 ifetch 1 ,contr 
+0x02eb 001077 iadd rega ,rega 
+0x02ec 001078 loop p_g24_syncword_crc8_loop 
+0x02ed 001079 copy rega ,pdata 
+0x02ee 001080 store 2 ,mem_24g_syncword 
+0x02ef 001081 fetch 1 ,mem_24g_syncword 
+0x02f0 001082 fetcht 1 ,mem_24g_syncword + 1 
+0x02f1 001083 iadd temp ,pdata 
+0x02f2 001084 store 1 ,mem_24g_syncword_crc8 
+0x02f3 001085 rtn 
+:      001088 p_g24_transmit_prep:
+0x02f4 001090 fetch 1 ,mem_24g_datalen 
+0x02f5 001091 increase 2 ,pdata 
+0x02f6 001092 store 1 ,mem_24g_txlen 
+0x02f7 001094 fetch 1 ,mem_24g_data_type 
+0x02f8 001095 store 1 ,mem_24g_txpayload 
+0x02f9 001097 fetch 1 ,mem_24g_datalen 
+0x02fa 001098 lshift3 pdata ,pdata 
+0x02fb 001099 fetcht 1 ,mem_24g_pid 
+0x02fc 001100 and temp ,0x03 ,temp 
+0x02fd 001101 lshift temp ,temp 
+0x02fe 001102 ior temp ,pdata 
+0x02ff 001103 fetcht 1 ,mem_24g_no_ack 
+0x0300 001104 iadd temp ,pdata 
+0x0301 001105 istore 1 ,contw 
+0x0302 001107 fetch 1 ,mem_24g_pairing_sm 
+0x0303 001108 bne state_24g_pairing_success ,p_g24_transmit_prep_pair 
+0x0304 001109 fetch 1 ,mem_24g_data_type 
+0x0305 001110 istore 1 ,contw 
+:      001111 p_g24_transmit_prep_pair:
+0x0306 001112 fetch 1 ,mem_24g_datalen 
+0x0307 001113 iforce loopcnt 
+0x0308 001114 fetch 1 ,mem_24g_data_type 
+0x0309 001115 beq 1 ,p_g24_transmit_prep_mouse 
+0x030a 001116 arg mem_24g_txbuf ,contr 
+0x030b 001117 call memcpy 
+0x030c 001121 fetch 1 ,mem_24g_txbuf 
+0x030d 001122 beq 0x03 ,p_g24_multi_key_setup 
+0x030e 001123 rtn 
+:      001124 p_g24_multi_key_setup:
+0x030f 001125 jam 0x02 ,mem_24g_txbuf 
+0x0310 001126 rtn 
+:      001129 p_g24_transmit_prep_mouse:
+0x0311 001130 arg mem_24g_txbuf + 1 ,contr 
+0x0312 001131 branch memcpy 
+:      001133 p_g24_ch:
+0x0313 001134 fetcht 1 ,mem_24g_current_ch_number 
+0x0314 001135 call p_g24_ch_calc 
+0x0315 001136 increase 1 ,temp 
+0x0316 001137 and_into 3 ,temp 
+0x0317 001138 storet 1 ,mem_24g_current_ch_number 
+0x0318 001139 rtn 
+:      001141 p_g24_ch_calc:
+0x0319 001142 fetch 1 ,mem_24g_addr 
+0x031a 001143 and_into 0x03 ,pdata 
+0x031b 001144 mul32 pdata ,4 ,rega 
+0x031c 001145 setarg mem_24g_ch_map1 
+0x031d 001146 iadd rega ,pdata 
+0x031e 001147 iadd temp ,contr 
+0x031f 001148 ifetch 1 ,contr 
+0x0320 001149 store 1 ,mem_24g_ch 
+0x0321 001150 rtn 
+:      001152 p_g24_prep:
+0x0322 001153 disable enable_crc 
+0x0323 001154 disable enable_white 
+0x0324 001155 setarg 0x555555 
+0x0325 001156 iforce crc24_init 
+0x0326 001157 fetch 1 ,mem_24g_ch 
+0x0327 001158 reverse pdata ,temp 
+0x0328 001159 set1 1 ,temp 
+0x0329 001160 rshift temp ,white_init 
+0x032a 001161 rtn 
+:      001163 p_g24_receive_rxon:
+0x032b 001164 call p_g24_prep 
+0x032c 001165 enable decode_fec0 
+0x032d 001166 enable is_rx 
+0x032e 001167 disable is_tx 
+0x032f 001168 enable swfine 
+0x0330 001169 fetch 2 ,mem_24g_rx_window 
+0x0331 001170 iforce stop_watch 
+0x0332 001171 correlate null ,timeout 
+0x0333 001172 nbranch p_g24_sync_timeout ,sync 
+0x0334 001173 disable decode_fec0 
+0x0335 001174 enable decode_fec1 
+0x0336 001175 enable enable_white 
+0x0337 001176 enable enable_crc 
+0x0338 001177 parse demod ,bucket ,8 
+0x0339 001178 rshift3 pwindow ,pdata 
+0x033a 001179 store 1 ,mem_24g_get_syncword_crc8 
+0x033b 001180 fetcht 1 ,mem_24g_syncword_crc8 
+0x033c 001181 isub temp ,null 
+0x033d 001182 nbranch p_g24_end_of_packet ,zero 
+0x033e 001183 parse demod ,bucket ,8 
+0x033f 001184 rshift3 pwindow ,pdata 
+0x0340 001185 store 1 ,mem_24g_rxbuf 
+0x0341 001189 fetch 1 ,mem_24g_rxbuf 
+0x0342 001190 fetcht 1 ,mem_24g_data_type 
+0x0343 001191 icompare bits_data ,temp 
+0x0344 001192 nbranch p_g24_end_of_packet ,true 
+:      001193 p_g24_receive_skip:
+0x0345 001194 parse demod ,bucket ,8 
+0x0346 001195 rshift3 pwindow ,pdata 
+0x0347 001196 istore 1 ,contw 
+0x0348 001197 rshift3 pdata ,pdata 
+0x0349 001198 and pdata ,0x1f ,loopcnt 
+0x034a 001199 branch p_g24rx_nopayload ,zero 
+:      001200 p_g24rx_loop:
+0x034b 001201 parse demod ,bucket ,8 
+0x034c 001202 rshift3 pwindow ,pdata 
+0x034d 001203 istore 1 ,contw 
+0x034e 001204 loop p_g24rx_loop 
+:      001205 p_g24rx_nopayload:
+0x034f 001207 copy contw ,rega 
+0x0350 001208 parse demod ,bucket ,8 
+0x0351 001209 rshift3 pwindow ,pdata 
+0x0352 001210 store 1 ,mem_rssi_hex_received 
+0x0353 001211 copy rega ,contw 
+0x0354 001212 parse demod ,bucket ,24 
+0x0355 001213 enable swfine 
+0x0356 001214 arg param_sifs ,stop_watch 
+0x0357 001215 rshift32 pdata ,pdata 
+0x0358 001216 rshift16 pdata ,pdata 
+0x0359 001217 istore 3 ,contw 
+0x035a 001218 disable decode_fec1 
+0x035b 001219 branch p_g24_end_of_packet ,crc_failed 
+0x035c 001220 enable user3 
+0x035d 001221 fetch 1 ,mem_last_freq 
+0x035e 001222 add pdata ,0 ,rega 
+0x035f 001223 call rf_write_freq 
+0x0360 001224 disable decode_fec0 
+0x0361 001225 call set_sync_on 
+0x0362 001226 fetch 1 ,mem_rssi_hex_received 
+0x0363 001227 copy pdata ,rega 
+0x0364 001228 call p_rssi_signal 
+0x0365 001229 rtn 
+:      001231 p_g24_sync_timeout:
+:      001234 p_g24_end_of_packet:
+0x0366 001235 disable encode_fec1 
+0x0367 001236 disable decode_fec1 
+0x0368 001237 branch end_of_packet 
+:      001239 p_g24_set_freq_tx:
+0x0369 001240 call set_sync_on 
+0x036a 001241 fetcht 1 ,mem_24g_ch 
+0x036b 001242 branch set_freq_tx 
+:      001244 p_g24_transmit:
+0x036c 001245 call le_enable 
+0x036d 001246 fetch 4 ,mem_24g_addr 
+0x036e 001247 iforce access 
+0x036f 001248 call p_g24_prep 
+0x0370 001249 call p_g24_set_freq_tx 
+0x0371 001250 set1 txgfsk ,radio_ctrl 
+0x0372 001251 enable encode_fec0 
+0x0373 001252 enable is_tx 
+0x0374 001253 disable is_rx 
+0x0375 001254 rshift16 access ,pdata 
+0x0376 001255 rshift8 pdata ,pdata 
+0x0377 001256 rshift4 pdata ,pdata 
+0x0378 001257 inject mod ,40 
+0x0379 001258 disable encode_fec0 
+0x037a 001259 enable encode_fec1 
+0x037b 001260 enable enable_white 
+0x037c 001261 enable enable_crc 
+0x037d 001262 fetch 1 ,mem_24g_syncword_crc8 
+0x037e 001263 inject mod ,8 
+0x037f 001264 fetch 1 ,mem_24g_txlen 
+0x0380 001265 iforce loopcnt 
+0x0381 001266 arg mem_24g_txpayload ,contr 
+:      001267 p_g24tr_loop:
+0x0382 001268 ifetch 1 ,contr 
+0x0383 001269 inject mod ,8 
+0x0384 001270 loop p_g24tr_loop 
+0x0385 001271 enable enable_parity 
+0x0386 001272 inject mod ,24 
+0x0387 001273 disable enable_parity 
+0x0388 001274 until null ,tx_clear 
+0x0389 001275 nop 100 
+0x038a 001276 disable encode_fec0 
+0x038b 001277 disable encode_fec1 
+0x038c 001278 rtn 
+              org 0x3000
+:      001289 start:
+0x3000 001290 call lpmstate 
+:      001293 soft_reset:
+0x3001 001294 set0 mark_ext_patch ,mark 
+0x3002 001295 bpatch patch00_0 ,mem_patch00 
+0x3003 001296 clear_stack 
+0x3004 001297 call initialize_radio 
+0x3005 001298 call iicd_init_12m 
+0x3006 001299 call init_param 
+0x3007 001300 call l2cap_init 
+0x3008 001301 set0 mark_ext_patch ,mark 
+0x3009 001302 bpatch patch00_1 ,mem_patch00 
+0x300a 001303 call rfcomm_init 
+0x300b 001304 call init_lmp 
+0x300c 001305 call ui_init 
+0x300d 001306 call app_init 
+0x300e 001307 set0 mark_ext_patch ,mark 
+0x300f 001308 bpatch patch00_2 ,mem_patch00 
+0x3010 001309 call app_lpm_init ,wake 
+0x3011 001310 call sp_initialize 
+0x3012 001311 call lpm_recover_clk ,wake 
+:      001312 main_loop:
+0x3013 001313 set0 mark_ext_patch ,mark 
+0x3014 001314 bpatch patch00_3 ,mem_patch00 
+0x3015 001315 call sp_calc_sequence 
+0x3016 001316 call le_dispatch 
+0x3017 001317 call hci_dispatch 
+0x3018 001318 set0 mark_ext_patch ,mark 
+0x3019 001319 bpatch patch00_4 ,mem_patch00 
+0x301a 001320 call idle_dispatch 
+0x301b 001321 call app_process_idle 
+0x301c 001322 call inquiry_dispatch 
+0x301d 001323 set0 mark_ext_patch ,mark 
+0x301e 001324 bpatch patch00_5 ,mem_patch00 
+0x301f 001325 call inquiry_scan_dispatch 
+0x3020 001326 call page_scan_dispatch 
+0x3021 001327 call connection_dispatch 
+0x3022 001328 call lpm_dispatch 
+0x3023 001329 branch main_loop 
+:      001331 connection_dispatch:
+0x3024 001332 call connection_incontext 
+0x3025 001333 rtnmark0 mark_context 
+0x3026 001334 set0 mark_context ,mark 
+0x3027 001335 call context_save 
+0x3028 001336 branch le_disable 
+:      001338 connection_incontext:
+0x3029 001339 set0 mark_ext_patch ,mark 
+0x302a 001340 bpatch patch00_6 ,mem_patch00 
+0x302b 001341 call context_search_insniff 
+0x302c 001342 nbranch connection_nosniff ,zero 
+0x302d 001343 call context_load 
+0x302e 001344 add rega ,coffset_mode ,contr 
+0x302f 001345 ifetch 1 ,contr 
+0x3030 001346 bbit1 mode_le ,le_conn_dispatch 
+0x3031 001347 bbit1 mode_master ,master_dispatch 
+0x3032 001348 branch slave_dispatch 
+:      001349 connection_nosniff:
+0x3033 001350 set0 mark_ext_patch ,mark 
+0x3034 001351 bpatch patch00_7 ,mem_patch00 
+0x3035 001352 call context_get_next 
+0x3036 001353 copy loopcnt ,null 
+0x3037 001354 rtn zero 
+0x3038 001355 call context_load 
+0x3039 001356 fetch 1 ,mem_state 
+0x303a 001357 bbit1 state_inpage ,master_page 
+0x303b 001358 fetch 1 ,mem_mode 
+0x303c 001359 bbit1 mode_master ,master_dispatch 
+0x303d 001360 branch slave_dispatch 
+:      001368 idle_dispatch:
+0x303e 001369 fetch 1 ,mem_hci_cmd 
+0x303f 001370 rtn blank 
+0x3040 001371 beq hci_cmd_inquiry ,idle_inquiry 
+0x3041 001372 beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+0x3042 001373 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+0x3043 001374 beq hci_cmd_create_conn ,idle_create_conn 
+0x3044 001375 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+0x3045 001376 call context_search_conn_handle 
+0x3046 001377 rtn zero 
+0x3047 001378 call context_search_plap 
+0x3048 001379 rtn zero 
+:      001380 idle_exit:
+0x3049 001381 jam 0 ,mem_hci_cmd 
+0x304a 001382 rtn 
+:      001384 idle_le_create_conn:
+0x304b 001385 jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+0x304c 001386 jam 0 ,mem_hci_cmd 
+0x304d 001387 rtn 
+:      001389 idle_inquiry:
+0x304e 001390 set1 mark_inquiry_on ,mark 
+0x304f 001391 set0 mark_inquiry_trainb ,mark 
+0x3050 001392 jam param_ninquiry ,mem_ninqy_index 
+0x3051 001393 jam 31 ,mem_nfreq_index_inq 
+0x3052 001394 branch idle_exit 
+:      001396 idle_inquiry_cancel:
+0x3053 001397 set0 mark_inquiry_on ,mark 
+0x3054 001398 force 0 ,stop_watch 
+0x3055 001399 branch idle_exit 
+:      001401 idle_remote_name_req:
+0x3056 001402 call context_search_plap 
+0x3057 001403 rtn zero 
+0x3058 001404 force lmp_name_req ,temp 
+0x3059 001405 jam 5 ,mem_nameres_cnt 
+0x305a 001406 branch idle_start_page 
+:      001408 idle_create_conn:
+0x305b 001409 set0 mark_ext_patch ,mark 
+0x305c 001410 bpatch patch01_0 ,mem_patch01 
+0x305d 001411 fetch 1 ,mem_device_option 
+0x305e 001412 beq dvc_op_hci ,idle_create_conn_hci 
+:      001413 idle_create_conn_device:
+0x305f 001414 fetch 6 ,mem_hci_plap 
+0x3060 001415 branch idle_exit ,blank 
+0x3061 001416 jam reconnect_hid ,memui_reconnect_mode 
+0x3062 001418 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x3063 001419 branch idle_create_conn_cont 
+:      001421 idle_create_conn_hci:
+0x3064 001422 fetch 6 ,mem_hci_plap 
+0x3065 001423 branch idle_exit ,blank 
+0x3066 001424 store 6 ,mem_plap 
+:      001425 idle_create_conn_cont:
+0x3067 001426 force lmp_version_req ,temp 
+:      001427 idle_start_page:
+0x3068 001428 set0 mark_ext_patch ,mark 
+0x3069 001429 bpatch patch01_1 ,mem_patch01 
+0x306a 001430 fetch 1 ,mem_page_mode 
+0x306b 001431 branch idle_page_mode_r0 ,blank 
+0x306c 001432 lshift3 pdata ,pdata 
+0x306d 001433 lshift4 pdata ,pdata 
+0x306e 001434 increase -1 ,pdata 
+:      001435 idle_page_mode_r0:
+0x306f 001436 store 1 ,mem_npage 
+0x3070 001437 store 1 ,mem_npage_index 
+0x3071 001438 jam 31 ,mem_nfreq_index_page 
+0x3072 001439 set0 mark_page_trainb ,mark 
+0x3073 001440 call context_new 
+0x3074 001441 nbranch idle_page_fail ,zero 
+0x3075 001442 call get_free_amaddr 
+0x3076 001443 store 1 ,mem_amaddr 
+0x3077 001444 storet 1 ,mem_lmo_opcode2 
+0x3078 001445 fetch 6 ,mem_hci_plap 
+0x3079 001446 store 6 ,mem_plap 
+0x307a 001447 set0 mark_ext_patch ,mark 
+0x307b 001448 bpatch patch01_2 ,mem_patch01 
+0x307c 001449 force 0 ,pdata 
+0x307d 001450 compare lmp_name_req ,temp ,0xff 
+0x307e 001451 nsetflag true ,state_init_seq ,pdata 
+0x307f 001452 set1 state_inpage ,pdata 
+0x3080 001453 store 1 ,mem_state 
+0x3081 001454 jam bt_evt_reconn_started ,mem_fifo_temp 
+0x3082 001455 call ui_ipc_send_event 
+0x3083 001456 force 0 ,pdata 
+0x3084 001457 setflag true ,smap_name_req ,pdata 
+0x3085 001458 store 1 ,mem_state_map 
+0x3086 001459 setarg 0 
+0x3087 001460 set1 mode_master ,pdata 
+0x3088 001461 store 1 ,mem_mode 
+0x3089 001462 enable master 
+0x308a 001463 call context_save 
+0x308b 001464 disable master 
+0x308c 001465 force page_length_timer ,queue 
+0x308d 001466 fetch 2 ,mem_page_to 
+0x308e 001467 call timer_init 
+0x308f 001468 branch idle_exit 
+:      001469 idle_page_fail:
+0x3090 001470 set0 mark_ext_patch ,mark 
+0x3091 001471 bpatch patch01_3 ,mem_patch01 
+0x3092 001472 fetch 6 ,mem_hci_plap 
+0x3093 001473 store 6 ,mem_plap 
+0x3094 001474 compare lmp_name_req ,temp ,0xff 
+0x3095 001475 branch idle_name_fail ,true 
+0x3096 001476 force hci_error_memory_full ,temp 
+0x3097 001477 call hci_send_connection_error 
+0x3098 001478 branch idle_exit 
+:      001479 idle_name_fail:
+0x3099 001480 arg mem_tmp_buffer ,contw 
+0x309a 001481 arg 8 ,loopcnt 
+0x309b 001482 call memset0 
+0x309c 001483 force hci_error_memory_full ,queue 
+0x309d 001484 call hci_send_name 
+0x309e 001485 jam bt_evt_reconn_failed ,mem_fifo_temp 
+0x309f 001486 call ui_ipc_send_event 
+0x30a0 001487 branch idle_exit 
+:      001494 inquiry_dispatch:
+0x30a1 001495 rtnmark0 mark_inquiry_on 
+0x30a2 001496 force inquiry_length_timer ,queue 
+0x30a3 001497 call timer_check 
+0x30a4 001498 nsetflag blank ,mark_inquiry_on ,mark 
+0x30a5 001499 nbranch inquiry_start ,blank 
+0x30a6 001500 rtn 
+:      001504 inquiry_start:
+0x30a7 001505 set0 mark_ext_patch ,mark 
+0x30a8 001506 bpatch patch01_4 ,mem_patch01 
+0x30a9 001507 fetcht 2 ,mem_inq_window 
+0x30aa 001508 force 4 ,queue 
+0x30ab 001509 call sniff_check_window 
+0x30ac 001510 rtn user 
+0x30ad 001511 call afh_clear 
+0x30ae 001512 force 0 ,freq_mode 
+:      001513 inquiry_restart:
+0x30af 001514 rtn timeout 
+0x30b0 001515 set0 mark_fhs_already_good ,mark 
+0x30b1 001516 set0 mark_fhs_eir ,mark 
+:      001517 inquiry_rx_restart:
+0x30b2 001518 add clkn_bt ,1 ,bt_clk 
+0x30b3 001519 isolate1 mark_inquiry_trainb ,mark 
+0x30b4 001520 setflag true ,2 ,freq_mode 
+0x30b5 001521 compare 0x00 ,bt_clk ,0x02 
+0x30b6 001522 nbranch inquiry_receive ,true 
+:      001524 inquiry_transmit:
+0x30b7 001525 set0 mark_ext_patch ,mark 
+0x30b8 001526 bpatch patch01_5 ,mem_patch01 
+0x30b9 001527 fetch 1 ,mem_inquiry_transmit 
+0x30ba 001528 increase 1 ,pdata 
+0x30bb 001529 store 1 ,mem_inquiry_transmit 
+0x30bc 001530 call fetch_giac 
+0x30bd 001531 call tx_radio_freq 
+0x30be 001532 call fetch_diac 
+0x30bf 001533 call start_transmitter 
+0x30c0 001534 call start_tx_native 
+0x30c1 001535 call send_access_word 
+0x30c2 001536 call end_of_packet 
+0x30c3 001537 call inquiry_check_train 
+0x30c4 001538 branch inquiry_restart 
+:      001540 inquiry_check_train:
+0x30c5 001541 set0 mark_ext_patch ,mark 
+0x30c6 001542 bpatch patch01_6 ,mem_patch01 
+0x30c7 001543 fetch 1 ,mem_nfreq_index_inq 
+0x30c8 001544 increase -1 ,pdata 
+0x30c9 001545 store 1 ,mem_nfreq_index_inq 
+0x30ca 001546 rtn positive 
+0x30cb 001547 jam 31 ,mem_nfreq_index_inq 
+0x30cc 001548 fetch 1 ,mem_ninqy_index 
+0x30cd 001549 increase -1 ,pdata 
+0x30ce 001550 store 1 ,mem_ninqy_index 
+0x30cf 001551 rtn positive 
+0x30d0 001552 setflip mark_inquiry_trainb ,mark 
+0x30d1 001553 jam param_ninquiry ,mem_ninqy_index 
+0x30d2 001554 rtn 
+:      001556 inquiry_receive:
+0x30d3 001557 set0 mark_ext_patch ,mark 
+0x30d4 001558 bpatch patch01_7 ,mem_patch01 
+0x30d5 001559 call fetch_giac 
+0x30d6 001560 call rx_radio_freq 
+0x30d7 001561 call fetch_diac 
+0x30d8 001562 call start_rx_native 
+0x30d9 001563 call start_receiver 
+0x30da 001564 call wait_access_clkn_rt 
+0x30db 001565 branch inquiry_sync ,sync 
+0x30dc 001566 call inquiry_check_train 
+0x30dd 001567 branch inquiry_rx_restart 
+:      001568 inquiry_sync:
+0x30de 001569 set0 mark_ext_patch ,mark 
+0x30df 001570 bpatch patch02_0 ,mem_patch02 
+0x30e0 001571 call save_rssi 
+0x30e1 001572 call scan_mode_whiten 
+0x30e2 001573 call receive_packet_whitened 
+0x30e3 001574 set0 mark_rxbuf_inuse ,mark 
+0x30e4 001575 rtnmark0 mark_fhs_already_good 
+:      001576 inquiry_receive_rtn:
+0x30e5 001577 set0 mark_ext_patch ,mark 
+0x30e6 001578 bpatch patch02_1 ,mem_patch02 
+0x30e7 001579 fetch 1 ,mem_at_using_flag 
+0x30e8 001580 bbit1 at_flag_inq ,at_inquiry_reply 
+0x30e9 001581 call hci_inquiry_reply 
+:      001582 inquiry_receive_eir_rtn:
+0x30ea 001583 fetch 1 ,mem_inquiry_rcv 
+0x30eb 001584 increase 1 ,pdata 
+0x30ec 001585 store 1 ,mem_inquiry_rcv 
+0x30ed 001586 rtn 
+:      001587 inquiry_receive_eir:
+0x30ee 001588 set0 mark_fhs_already_good ,mark 
+0x30ef 001589 call rf_setup_time_slave_slot_eir 
+0x30f0 001590 call fetch_giac 
+0x30f1 001591 call rx_radio_freq 
+0x30f2 001592 call init_rx_packet_flags 
+0x30f3 001593 call start_rx_native 
+0x30f4 001594 call start_receiver 
+0x30f5 001595 call wait_access_clkn_rt 
+0x30f6 001596 branch inquiry_receive_eir_packet ,sync 
+0x30f7 001597 rtn 
+:      001598 inquiry_receive_eir_packet:
+0x30f8 001599 call scan_mode_whiten 
+0x30f9 001600 call receive_packet_whitened 
+0x30fa 001601 set0 mark_rxbuf_inuse ,mark 
+0x30fb 001602 branch inquiry_receive_rtn ,crc_failed 
+0x30fc 001603 call hci_inquiry_reply_eir 
+0x30fd 001604 branch inquiry_receive_eir_rtn 
+:      001606 rf_setup_time_slave_slot_eir:
+0x30fe 001607 arg param_rf_setup ,timeup 
+:      001608 rf_setup_time_eir:
+0x30ff 001609 until clkn_rt ,meet 
+0x3100 001610 and clkn_bt ,3 ,pdata 
+0x3101 001611 bne 1 ,rf_setup_time_eir 
+0x3102 001612 rtn 
+:      001621 master_page:
+0x3103 001622 set0 mark_ext_patch ,mark 
+0x3104 001623 bpatch patch02_2 ,mem_patch02 
+0x3105 001624 enable master 
+0x3106 001625 enable clknt 
+0x3107 001626 fetch 2 ,mem_page_interval 
+0x3108 001627 branch master_page_no_interval ,blank 
+0x3109 001628 force page_interval_timer ,queue 
+0x310a 001629 call timer_check 
+0x310b 001630 nrtn blank 
+:      001631 master_page_no_interval:
+0x310c 001632 set0 mark_ext_patch ,mark 
+0x310d 001633 bpatch patch02_3 ,mem_patch02 
+0x310e 001634 fetcht 2 ,mem_page_window 
+0x310f 001635 force 40 ,queue 
+0x3110 001636 call sniff_check_window 
+0x3111 001637 branch page_exit ,user 
+0x3112 001638 force page_length_timer ,queue 
+0x3113 001639 call timer_check 
+0x3114 001640 nbranch page_start ,blank 
+0x3115 001641 fetch 1 ,mem_state_map 
+0x3116 001642 bbit1 smap_name_req ,master_npage_timeout 
+0x3117 001643 force hci_error_page_timeout ,temp 
+0x3118 001644 call hci_send_connection_error 
+0x3119 001645 branch master_page_timeout 
+:      001646 master_npage_timeout:
+0x311a 001647 arg mem_tmp_buffer ,contw 
+0x311b 001648 arg 8 ,loopcnt 
+0x311c 001649 call memset0 
+0x311d 001650 force hci_error_page_timeout ,queue 
+0x311e 001651 call hci_send_name 
+:      001652 master_page_timeout:
+0x311f 001653 set0 mark_ext_patch ,mark 
+0x3120 001654 bpatch patch02_4 ,mem_patch02 
+0x3121 001655 jam 0 ,mem_state 
+0x3122 001656 call init_lmp_work 
+0x3123 001657 jam 0 ,memui_reconnect_mode 
+0x3124 001658 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+0x3125 001659 call ui_ipc_send_event 
+0x3126 001660 branch page_exit 
+:      001662 page_start:
+0x3127 001663 set0 mark_ext_patch ,mark 
+0x3128 001664 bpatch patch02_5 ,mem_patch02 
+0x3129 001665 force 0 ,timeup 
+0x312a 001666 until clkn_rt ,meet 
+0x312b 001667 fetch 1 ,mem_page_clk 
+0x312c 001668 increase -1 ,pdata 
+0x312d 001669 ixor clkn_bt ,pdata 
+0x312e 001670 compare 0 ,pdata ,3 
+0x312f 001671 nbranch page_start ,true 
+0x3130 001672 deposit am_addr 
+0x3131 001673 store 1 ,mem_fhs_am_addr 
+0x3132 001674 force 0 ,n_tx_slot 
+0x3133 001675 force 0 ,freq_mode 
+:      001677 page_restart:
+0x3134 001678 set0 mark_ext_patch ,mark 
+0x3135 001679 bpatch patch02_6 ,mem_patch02 
+0x3136 001680 branch page_exit ,timeout 
+0x3137 001681 call fetch_page_bt_adr 
+0x3138 001682 arg param_rf_setup ,timeup 
+0x3139 001683 until clkn_rt ,meet 
+:      001684 page_rx_restart:
+0x313a 001685 set0 mark_ext_patch ,mark 
+0x313b 001686 bpatch patch02_7 ,mem_patch02 
+0x313c 001687 fetch 4 ,mem_page_clk 
+0x313d 001688 iforce bt_clk 
+0x313e 001689 increase 1 ,pdata 
+0x313f 001690 store 4 ,mem_page_clk 
+0x3140 001691 isolate1 mark_page_trainb ,mark 
+0x3141 001692 setflag true ,2 ,freq_mode 
+0x3142 001693 compare 0x00 ,bt_clk ,0x02 
+0x3143 001694 nbranch page_receive ,true 
+0x3144 001695 fetch 1 ,mem_page_transmit 
+0x3145 001696 increase 1 ,pdata 
+0x3146 001697 store 1 ,mem_page_transmit 
+0x3147 001698 call tx_radio_freq 
+0x3148 001699 call start_transmitter 
+0x3149 001700 call start_tx_native 
+0x314a 001701 call send_access_word 
+0x314b 001702 call end_of_packet 
+0x314c 001703 call page_check_train 
+0x314d 001704 branch page_restart 
+:      001705 master_dispatch_exit:
+:      001706 page_exit:
+0x314e 001707 set0 mark_ext_patch ,mark 
+0x314f 001708 bpatch patch03_0 ,mem_patch03 
+0x3150 001709 disable master 
+0x3151 001710 fetch 2 ,mem_page_interval 
+0x3152 001711 rtn blank 
+0x3153 001712 force page_interval_timer ,queue 
+0x3154 001713 branch timer_init 
+:      001715 page_check_train:
+0x3155 001716 set0 mark_ext_patch ,mark 
+0x3156 001717 bpatch patch03_1 ,mem_patch03 
+0x3157 001718 fetch 1 ,mem_nfreq_index_page 
+0x3158 001719 increase -1 ,pdata 
+0x3159 001720 store 1 ,mem_nfreq_index_page 
+0x315a 001721 rtn positive 
+0x315b 001722 jam 31 ,mem_nfreq_index_page 
+0x315c 001723 fetch 1 ,mem_npage_index 
+0x315d 001724 increase -1 ,pdata 
+0x315e 001725 store 1 ,mem_npage_index 
+0x315f 001726 rtn positive 
+0x3160 001727 setflip mark_page_trainb ,mark 
+0x3161 001728 fetch 1 ,mem_npage 
+0x3162 001729 store 1 ,mem_npage_index 
+0x3163 001730 rtn 
+:      001732 page_receive:
+0x3164 001733 set0 mark_ext_patch ,mark 
+0x3165 001734 bpatch patch03_2 ,mem_patch03 
+0x3166 001735 call rx_radio_freq 
+0x3167 001736 call start_rx_native 
+0x3168 001737 call start_receiver 
+0x3169 001738 call wait_access_clkn_rt 
+0x316a 001739 branch page_sync ,sync 
+0x316b 001740 call page_check_train 
+0x316c 001741 branch page_rx_restart 
+:      001742 page_sync:
+0x316d 001743 call end_of_packet 
+0x316e 001744 fetch 1 ,mem_page_rcv 
+0x316f 001745 increase 1 ,pdata 
+0x3170 001746 store 1 ,mem_page_rcv 
+0x3171 001747 force 0 ,stop_watch 
+0x3172 001748 fetch 4 ,mem_page_clk 
+:      001749 page_send_fhs:
+0x3173 001750 set0 mark_ext_patch ,mark 
+0x3174 001751 bpatch patch03_3 ,mem_patch03 
+0x3175 001752 call rf_setup_time_master_slot 
+0x3176 001753 call fetch_page_bt_adr 
+0x3177 001754 increase 1 ,n_tx_slot 
+:      001755 page_send_fhs_continue:
+0x3178 001756 and_into 0x1fd ,bt_clk 
+0x3179 001757 and_into 0x1fc ,freq_mode 
+0x317a 001758 call tx_radio_freq 
+0x317b 001759 call start_transmitter 
+0x317c 001760 call start_tx_native 
+0x317d 001761 call send_access_word 
+0x317e 001762 deposit clkn_bt 
+0x317f 001763 store 4 ,mem_clkn_bt 
+0x3180 001764 force 0 ,am_addr 
+0x3181 001765 force type_fhs ,type 
+0x3182 001766 call scan_mode_whiten 
+0x3183 001767 call transmit_packet_whitened 
+:      001768 page_wait_fhs_reply:
+0x3184 001769 set0 mark_ext_patch ,mark 
+0x3185 001770 bpatch patch03_4 ,mem_patch03 
+0x3186 001771 call rf_setup_time_slave_slot 
+0x3187 001772 or_into 0x02 ,bt_clk 
+0x3188 001773 and_into 0x1fc ,freq_mode 
+0x3189 001774 call rx_radio_freq 
+0x318a 001775 call start_rx_native 
+0x318b 001776 call start_receiver 
+0x318c 001777 call wait_access_clkn_rt 
+0x318d 001778 call end_of_packet ,sync 
+0x318e 001779 branch page_wait_fhs_reply_ok ,sync 
+0x318f 001780 fetch 1 ,mem_fhs_wait_counter 
+0x3190 001781 branch page_restart ,blank 
+0x3191 001782 increase -1 ,pdata 
+0x3192 001783 store 1 ,mem_fhs_wait_counter 
+0x3193 001784 branch page_send_fhs 
+:      001786 page_wait_fhs_reply_ok:
+0x3194 001787 set0 mark_ext_patch ,mark 
+0x3195 001788 bpatch patch03_5 ,mem_patch03 
+0x3196 001789 fetch 1 ,mem_page_rcv_fhs 
+0x3197 001790 increase 1 ,pdata 
+0x3198 001791 store 1 ,mem_page_rcv_fhs 
+0x3199 001792 call prepare_newconn 
+:      001793 master_newconn_loop:
+0x319a 001794 call master_newconn_once 
+0x319b 001795 branch newconn_poll_responded ,sync 
+0x319c 001796 call new_conn_timeout 
+0x319d 001797 nbranch master_newconn_loop ,blank 
+0x319e 001798 branch page_restart 
+:      001800 newconn_poll_responded:
+0x319f 001801 set0 mark_ext_patch ,mark 
+0x31a0 001802 bpatch patch03_6 ,mem_patch03 
+0x31a1 001803 fetch 1 ,mem_state 
+0x31a2 001804 set0 state_inpage ,pdata 
+0x31a3 001805 store 1 ,mem_state 
+0x31a4 001806 call newconn_init 
+0x31a5 001807 disable master 
+0x31a6 001808 rtn 
+:      001811 master_dispatch:
+0x31a7 001812 set0 mark_ext_patch ,mark 
+0x31a8 001813 bpatch patch03_7 ,mem_patch03 
+0x31a9 001814 enable master 
+0x31aa 001815 enable clknt 
+0x31ab 001816 call role_switch_master 
+0x31ac 001817 rtn user 
+0x31ad 001818 call check_bt_disabled 
+0x31ae 001819 call rf_setup_time_master_slot 
+0x31af 001820 add clkn_bt ,1 ,bt_clk 
+0x31b0 001821 call fetch_self_bt_adr 
+0x31b1 001822 force 0x03 ,freq_mode 
+0x31b2 001823 call load_esco 
+0x31b3 001824 call get_sco_data 
+0x31b4 001825 call scheduler_tx_l2cap_pkt 
+0x31b5 001826 call prepare_tx 
+0x31b6 001827 call tx_radio_freq 
+0x31b7 001828 call start_transmitter 
+0x31b8 001829 call start_tx_native 
+0x31b9 001830 call send_access_word 
+0x31ba 001831 call transmit_packet 
+:      001832 master_loop:
+0x31bb 001833 set0 mark_ext_patch ,mark 
+0x31bc 001834 bpatch patch04_0 ,mem_patch04 
+0x31bd 001835 call parse_lmp 
+0x31be 001836 call process_cmd 
+0x31bf 001837 call hci_send_num_complete_packets 
+0x31c0 001838 call master_conn_recv_packet 
+0x31c1 001839 nbranch master_notmatch ,match 
+0x31c2 001840 call supervision_flush 
+0x31c3 001841 call parse_l2cap 
+0x31c4 001842 fetch 1 ,mem_master_rcvcnt 
+0x31c5 001843 increase 1 ,pdata 
+0x31c6 001844 store 1 ,mem_master_rcvcnt 
+:      001845 master_notmatch:
+0x31c7 001846 set0 mark_ext_patch ,mark 
+0x31c8 001847 bpatch patch04_1 ,mem_patch04 
+0x31c9 001848 call scheduler_process 
+0x31ca 001849 call check_master_disconnect 
+0x31cb 001850 nrtn master 
+0x31cc 001851 call check_attempt 
+0x31cd 001852 nbranch master_attempt ,blank 
+:      001853 master_exit:
+0x31ce 001854 call process_sco_data 
+0x31cf 001855 call restore_esco 
+0x31d0 001856 disable master 
+0x31d1 001857 rtn 
+:      001859 master_attempt:
+0x31d2 001860 call prepare_tx 
+0x31d3 001861 call master_conn_send_packet 
+0x31d4 001862 branch master_loop 
+:      001865 check_master_disconnect:
+0x31d5 001866 branch check_master_match ,match 
+0x31d6 001867 call supervision_update 
+0x31d7 001868 branch master_disconnect ,positive 
+:      001869 check_master_match:
+0x31d8 001870 call check_disconnect_timeout 
+0x31d9 001871 nbranch master_disconnect ,user 
+0x31da 001872 fetch 1 ,mem_state_map 
+0x31db 001873 rtnbit0 smap_name_req 
+0x31dc 001874 rtnbit1 smap_name_res 
+0x31dd 001875 fetch 1 ,mem_op 
+0x31de 001876 rtnbit1 op_disconn 
+0x31df 001877 call conn_timer_expired 
+0x31e0 001878 nrtn blank 
+0x31e1 001879 fetch 1 ,mem_nameres_cnt 
+0x31e2 001880 increase -1 ,pdata 
+0x31e3 001881 store 1 ,mem_nameres_cnt 
+0x31e4 001882 nrtn blank 
+0x31e5 001883 branch lmp_disconnect 
+:      001885 master_disconnect:
+0x31e6 001886 set0 mark_ext_patch ,mark 
+0x31e7 001887 bpatch patch04_2 ,mem_patch04 
+0x31e8 001888 call quit_connection 
+0x31e9 001889 disable master 
+0x31ea 001890 fetch 1 ,mem_state_map 
+0x31eb 001891 bbit1 smap_name_req ,master_name_disconnect 
+0x31ec 001892 fetch 1 ,mem_state 
+0x31ed 001893 bbit0 state_conn_comp ,master_disconnect_quiet 
+0x31ee 001894 fetcht 1 ,mem_conn_handle 
+0x31ef 001895 branch hci_send_disconn_complete 
+:      001896 master_disconnect_quiet:
+0x31f0 001897 force hci_error_connection_timeout ,temp 
+0x31f1 001898 branch hci_send_connection_error 
+:      001899 master_name_disconnect:
+0x31f2 001900 force hci_success ,queue 
+0x31f3 001901 fetch 1 ,mem_state_map 
+0x31f4 001902 bbit1 smap_name_res ,hci_send_name 
+:      001903 master_name_error:
+0x31f5 001904 force hci_error_page_timeout ,queue 
+0x31f6 001905 arg mem_tmp_buffer ,contw 
+0x31f7 001906 arg 8 ,loopcnt 
+0x31f8 001907 call memset0 
+0x31f9 001908 branch hci_send_name 
+:      001910 disconnect_stop_sco:
+0x31fa 001911 set0 mark_ext_patch ,mark 
+0x31fb 001912 bpatch patch04_3 ,mem_patch04 
+0x31fc 001913 fetch 1 ,mem_state 
+0x31fd 001914 rtnbit0 state_insco 
+0x31fe 001915 fetcht 1 ,mem_conn_handle 
+0x31ff 001916 fetch 1 ,mem_sco_asso_handle 
+0x3200 001917 isub temp ,null 
+0x3201 001918 nrtn zero 
+0x3202 001919 call stop_esco 
+0x3203 001920 branch restore_esco_check_no_mark 
+:      001922 check_disconnect_timeout:
+0x3204 001923 set0 mark_ext_patch ,mark 
+0x3205 001924 bpatch patch04_4 ,mem_patch04 
+0x3206 001925 enable user 
+0x3207 001926 fetch 1 ,mem_op 
+0x3208 001927 rtnbit0 op_disconn 
+0x3209 001928 call conn_timer_expired 
+0x320a 001929 nrtn blank 
+:      001930 disable_usr:
+0x320b 001931 disable user 
+0x320c 001932 rtn 
+:      001934 conn_timer_expired:
+0x320d 001935 fetch 1 ,mem_conn_timer 
+0x320e 001936 increase -1 ,pdata 
+0x320f 001937 store 1 ,mem_conn_timer 
+0x3210 001938 rtn 
+:      001940 linkkey_ready:
+0x3211 001941 set0 mark_ext_patch ,mark 
+0x3212 001942 bpatch patch04_5 ,mem_patch04 
+0x3213 001943 fetch 1 ,mem_state 
+0x3214 001944 bbit1 state_linkkey ,linkkey_set 
+0x3215 001945 fetch 1 ,mem_device_option 
+0x3216 001946 beq dvc_op_hci ,linkkey_send_hci 
+0x3217 001947 fetch 1 ,mem_pairing_auth 
+0x3218 001948 branch linkkey_set ,blank 
+0x3219 001949 jam defalt_pairing_auth ,mem_pairing_auth 
+0x321a 001950 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+0x321b 001951 call ui_ipc_send_event 
+0x321c 001952 branch linkkey_set 
+:      001953 linkkey_send_hci:
+0x321d 001954 call check_localsm 
+0x321e 001955 ncall hci_send_linkkey_notification ,true 
+:      001956 linkkey_set:
+0x321f 001957 set0 mark_ext_patch ,mark 
+0x3220 001958 bpatch patch04_6 ,mem_patch04 
+0x3221 001959 call context_traverse_linkkey 
+0x3222 001960 fetch 1 ,mem_state 
+0x3223 001961 set1 state_linkkey ,pdata 
+0x3224 001962 store 1 ,mem_state 
+0x3225 001963 jam 1 ,mem_link_key_exists 
+0x3226 001964 fetch 1 ,mem_conn_sm 
+0x3227 001965 bne conn_sm_pairing ,linkkey_set_continue 
+:      001966 linkkey_set_continue:
+0x3228 001967 rtn 
+:      001969 generate_linkkey_continue:
+0x3229 001970 jam pairing_auth ,mem_pairing_auth 
+:      001971 clear_linkstate:
+0x322a 001972 fetch 1 ,mem_state 
+0x322b 001973 set0 state_linkkey ,pdata 
+0x322c 001974 store 1 ,mem_state 
+0x322d 001975 rtn 
+:      001979 role_switch_check:
+0x322e 001980 set0 mark_ext_patch ,mark 
+0x322f 001981 bpatch patch04_7 ,mem_patch04 
+0x3230 001982 disable user 
+0x3231 001983 fetch 1 ,mem_state 
+0x3232 001984 rtnbit0 state_insniff 
+0x3233 001985 fetch 2 ,mem_tsniff 
+0x3234 001986 nrtn blank 
+0x3235 001987 fetch 4 ,mem_sniff_anchor 
+0x3236 001988 branch role_switch_clkn ,clknt 
+0x3237 001989 isub clke_bt ,pdata 
+0x3238 001990 branch role_switch_clke 
+:      001991 role_switch_clkn:
+0x3239 001992 isub clkn_bt ,pdata 
+:      001993 role_switch_clke:
+0x323a 001994 sub pdata ,4 ,null 
+0x323b 001995 nrtn positive 
+0x323c 001996 fetch 1 ,mem_state 
+0x323d 001997 set0 state_insniff ,pdata 
+0x323e 001998 store 1 ,mem_state 
+0x323f 001999 enable user 
+0x3240 002000 rtn 
+:      002003 role_switch_prepare:
+0x3241 002004 copy pdata ,temp 
+0x3242 002005 set0 mark_ext_patch ,mark 
+0x3243 002006 bpatch patch05_0 ,mem_patch05 
+0x3244 002007 store 4 ,mem_sniff_anchor 
+:      002008 role_switch_prepare0:
+0x3245 002009 jam switch_flag_accept ,mem_switch_flag 
+0x3246 002010 fetch 1 ,mem_state 
+0x3247 002011 set1 state_insniff ,pdata 
+0x3248 002012 store 1 ,mem_state 
+0x3249 002013 force 0 ,pdata 
+0x324a 002014 store 2 ,mem_tsniff 
+0x324b 002015 jam 10 ,mem_current_sniff_attempt 
+0x324c 002016 jam 1 ,mem_sniff_attempt 
+0x324d 002017 rtn 
+:      002020 role_switch_master:
+0x324e 002021 set0 mark_ext_patch ,mark 
+0x324f 002022 bpatch patch05_1 ,mem_patch05 
+0x3250 002023 call role_switch_check 
+0x3251 002024 nrtn user 
+0x3252 002025 disable user 
+0x3253 002026 jam param_newconnto ,mem_newconnto_counter 
+0x3254 002027 set0 mark_fhs_already_good ,mark 
+:      002028 roles_waitfhs_loop:
+0x3255 002029 call rf_setup_time_master_slot 
+0x3256 002030 call master_recv_packet 
+0x3257 002031 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+0x3258 002032 call new_conn_timeout 
+0x3259 002033 nbranch roles_waitfhs_loop ,blank 
+:      002034 role_switch_fail_master:
+0x325a 002035 set0 mark_ext_patch ,mark 
+0x325b 002036 bpatch patch05_2 ,mem_patch05 
+0x325c 002037 disable user 
+0x325d 002038 deposit clkn_bt 
+0x325e 002039 store 4 ,mem_next_btclk 
+0x325f 002040 enable clknt 
+0x3260 002041 enable master 
+0x3261 002042 jam bt_evt_switch_fail_master ,mem_fifo_temp 
+0x3262 002043 branch ui_ipc_send_event 
+:      002045 roles_replyto_fhs:
+0x3263 002046 set0 mark_ext_patch ,mark 
+0x3264 002047 bpatch patch05_3 ,mem_patch05 
+0x3265 002048 call rf_setup_time_slave_slot 
+0x3266 002049 call master_send_packet 
+0x3267 002050 disable clknt 
+0x3268 002051 disable master 
+0x3269 002052 call apply_switch_clke 
+0x326a 002053 call prepare_newconn 
+:      002054 roles_newconns_loop:
+0x326b 002055 set0 mark_ext_patch ,mark 
+0x326c 002056 bpatch patch05_4 ,mem_patch05 
+0x326d 002057 call slave_newconn_once 
+0x326e 002058 branch roles_newconns_responded ,match 
+0x326f 002059 call new_conn_timeout 
+0x3270 002060 nbranch roles_newconns_loop ,blank 
+0x3271 002061 branch role_switch_fail_master 
+:      002062 roles_newconns_responded:
+0x3272 002063 force 1 ,temp 
+0x3273 002064 call hci_send_role_change 
+0x3274 002065 fetch 1 ,mem_mode 
+0x3275 002066 set0 mode_master ,pdata 
+0x3276 002067 store 1 ,mem_mode 
+0x3277 002068 call supervision_flush 
+0x3278 002069 call calc_clke_offset 
+0x3279 002070 enable user 
+0x327a 002071 jam bt_evt_switch_success_master ,mem_fifo_temp 
+0x327b 002072 branch ui_ipc_send_event 
+:      002075 load_esco:
+0x327c 002076 set0 mark_ext_patch ,mark 
+0x327d 002077 bpatch patch05_5 ,mem_patch05 
+0x327e 002078 rtnmark0 mark_esco 
+0x327f 002079 fetch 1 ,mem_state 
+0x3280 002080 rtnbit0 state_insco 
+:      002081 load_esco_do:
+0x3281 002082 call init_esco_ibuff 
+0x3282 002083 fetch 1 ,mem_esco_arq 
+0x3283 002084 fetcht 1 ,mem_arq 
+0x3284 002085 storet 1 ,mem_esco_saved_arq 
+0x3285 002086 store 1 ,mem_arq 
+0x3286 002087 deposit am_addr 
+0x3287 002088 store 1 ,mem_saved_amaddr 
+0x3288 002089 fetch 1 ,mem_esco_addr 
+0x3289 002090 iforce am_addr 
+0x328a 002091 set0 mark_esco_rxok ,mark 
+0x328b 002092 fetch 1 ,mem_last_type 
+0x328c 002093 store 1 ,mem_last_type_saved 
+0x328d 002094 fetch 1 ,mem_last_type_esco 
+0x328e 002095 store 1 ,mem_last_type 
+0x328f 002096 rtn 
+:      002098 restore_esco:
+0x3290 002099 set0 mark_ext_patch ,mark 
+0x3291 002100 bpatch patch05_6 ,mem_patch05 
+0x3292 002101 rtnmark0 mark_esco 
+:      002102 restore_esco_check_no_mark:
+0x3293 002103 call check_esco_amaddr 
+0x3294 002104 nrtn true 
+:      002105 restore_esco_do:
+0x3295 002106 call clear_got_tx 
+0x3296 002107 fetch 1 ,mem_esco_saved_arq 
+0x3297 002108 fetcht 1 ,mem_arq 
+0x3298 002109 store 1 ,mem_arq 
+0x3299 002110 storet 1 ,mem_esco_arq 
+0x329a 002111 fetch 1 ,mem_saved_amaddr 
+0x329b 002112 iforce am_addr 
+0x329c 002113 fetch 1 ,mem_last_type 
+0x329d 002114 store 1 ,mem_last_type_esco 
+0x329e 002115 fetch 1 ,mem_last_type_saved 
+0x329f 002116 store 1 ,mem_last_type 
+0x32a0 002117 setarg 0xffff 
+0x32a1 002118 store 2 ,mem_retransmission_cnt 
+0x32a2 002119 rtn 
+:      002124 context_load:
+0x32a3 002125 set0 mark_ext_patch ,mark 
+0x32a4 002126 bpatch patch05_7 ,mem_patch05 
+0x32a5 002127 set1 mark_context ,mark 
+0x32a6 002128 deposit rega 
+0x32a7 002129 store 2 ,mem_context_ptr 
+0x32a8 002130 force context_size ,loopcnt 
+0x32a9 002131 arg mem_le_state ,contw 
+0x32aa 002132 add rega ,coffset_mode ,contr 
+0x32ab 002133 ifetch 1 ,contr 
+0x32ac 002134 copy rega ,contr 
+0x32ad 002135 bbit1 mode_le ,memcpy 
+0x32ae 002136 arg mem_state ,contw 
+0x32af 002137 call memcpy 
+0x32b0 002138 disable attempt 
+0x32b1 002139 fetch 1 ,mem_amaddr 
+0x32b2 002140 iforce am_addr 
+0x32b3 002141 jam 1 ,mem_current_sniff_attempt 
+0x32b4 002142 branch context_load_master ,master 
+0x32b5 002143 jam 1 ,mem_current_sniff_attempt 
+:      002144 context_load_master:
+0x32b6 002145 fetch 1 ,mem_state 
+0x32b7 002146 rtnbit0 state_insniff 
+0x32b8 002147 fetch 1 ,mem_sniff_attempt 
+0x32b9 002148 store 1 ,mem_current_sniff_attempt 
+0x32ba 002149 fetch 1 ,mem_sniff_timeout 
+0x32bb 002150 store 1 ,mem_current_sniff_timeout 
+0x32bc 002151 rtn 
+:      002153 context_save:
+0x32bd 002154 set0 mark_ext_patch ,mark 
+0x32be 002155 bpatch patch06_0 ,mem_patch06 
+0x32bf 002156 fetch 2 ,mem_context_ptr 
+0x32c0 002157 iforce contw 
+0x32c1 002158 force context_size ,loopcnt 
+0x32c2 002159 arg mem_le_state ,contr 
+0x32c3 002160 branch memcpy ,le 
+0x32c4 002161 arg mem_state ,contr 
+0x32c5 002162 branch memcpy 
+:      002166 context_get_next:
+0x32c6 002167 fetcht 1 ,mem_current_context 
+0x32c7 002168 arg context_num ,loopcnt 
+:      002169 context_get_next_loop:
+0x32c8 002170 increase 1 ,temp 
+0x32c9 002171 compare context_num ,temp ,0xff 
+0x32ca 002172 nbranch context_get_next_cont ,true 
+0x32cb 002173 arg 0 ,temp 
+:      002174 context_get_next_cont:
+0x32cc 002175 storet 1 ,mem_current_context 
+0x32cd 002176 mul32 temp ,context_size ,pdata 
+0x32ce 002177 arg mem_context ,rega 
+0x32cf 002178 iadd rega ,rega 
+0x32d0 002179 ifetch 1 ,rega 
+0x32d1 002180 bbit1 state_insniff ,context_get_next_sniff 
+0x32d2 002181 rtnbit1 state_inconn 
+0x32d3 002182 rtnbit1 state_inpage 
+:      002183 context_get_next_sniff:
+0x32d4 002184 loop context_get_next_loop 
+0x32d5 002185 rtn 
+:      002187 context_new:
+0x32d6 002188 set0 mark_ext_patch ,mark 
+0x32d7 002189 bpatch patch06_1 ,mem_patch06 
+0x32d8 002190 arg context_search_empty ,regc 
+0x32d9 002191 call context_search 
+0x32da 002192 nrtn zero 
+0x32db 002193 deposit rega 
+0x32dc 002194 store 2 ,mem_context_ptr 
+0x32dd 002195 force 0 ,null 
+0x32de 002196 rtn 
+:      002200 context_check_all_wack:
+0x32df 002201 call check_esco_amaddr 
+0x32e0 002202 branch context_check_esco_wack ,true 
+0x32e1 002203 fetch 2 ,mem_context_ptr 
+0x32e2 002204 add pdata ,coffset_arq ,contw 
+0x32e3 002205 fetch 1 ,mem_arq 
+0x32e4 002206 istore 1 ,contw 
+0x32e5 002207 arg context_check_a_wack ,regc 
+0x32e6 002208 branch context_search 
+:      002210 context_check_esco_wack:
+0x32e7 002211 fetch 1 ,mem_arq 
+0x32e8 002212 isolate1 wack ,pdata 
+0x32e9 002213 branch context_esco_wack ,true 
+0x32ea 002214 force 1 ,null 
+0x32eb 002215 rtn 
+:      002216 context_esco_wack:
+0x32ec 002217 force 0 ,null 
+0x32ed 002218 rtn 
+:      002221 context_check_idle:
+0x32ee 002222 arg context_check_inconn ,regc 
+0x32ef 002223 branch context_search 
+:      002225 context_traverse_linkkey:
+0x32f0 002226 fetcht 2 ,mem_context_ptr 
+0x32f1 002227 arg context_traverse_clearkey ,regc 
+0x32f2 002228 branch context_search 
+:      002230 context_traverse_max_slot:
+0x32f3 002231 fetcht 2 ,mem_context_ptr 
+0x32f4 002232 arg context_traverse_mslot ,regc 
+0x32f5 002233 branch context_search 
+:      002236 context_search_conn_handle:
+0x32f6 002237 fetcht 1 ,mem_hci_conn_handle 
+:      002238 context_search_conn_handle2:
+0x32f7 002239 arg context_search_handle ,regc 
+0x32f8 002240 branch context_search 
+:      002242 context_search_plap:
+0x32f9 002243 set0 mark_ext_patch ,mark 
+0x32fa 002244 bpatch patch06_2 ,mem_patch06 
+0x32fb 002245 fetcht 6 ,mem_hci_plap 
+:      002246 context_search_plap2:
+0x32fc 002247 arg context_search_lap ,regc 
+0x32fd 002248 branch context_search 
+:      002250 context_search_insniff:
+0x32fe 002251 arg context_search_sniff ,regc 
+0x32ff 002252 branch context_search 
+:      002254 context_search_sniff_window:
+0x3300 002255 arg context_search_window ,regc 
+:      002256 context_search:
+0x3301 002257 set0 mark_ext_patch ,mark 
+0x3302 002258 bpatch patch06_3 ,mem_patch06 
+0x3303 002259 arg mem_context ,rega 
+0x3304 002260 force context_num ,loopcnt 
+:      002261 context_search_loop:
+0x3305 002262 ifetch 1 ,rega 
+0x3306 002263 copy regc ,pc 
+:      002264 context_search_next:
+0x3307 002265 increase context_size ,rega 
+0x3308 002266 loop context_search_loop 
+0x3309 002267 force 1 ,null 
+0x330a 002268 rtn 
+:      002270 context_search_empty:
+0x330b 002271 bbit1 state_inconn ,context_search_next 
+0x330c 002272 bbit1 state_inpage ,context_search_next 
+0x330d 002273 force 0 ,null 
+0x330e 002274 rtn 
+:      002276 context_search_lap:
+0x330f 002277 bbit1 state_inpage ,context_search_lap_cont 
+0x3310 002278 bbit0 state_inconn ,context_search_next 
+:      002279 context_search_lap_cont:
+0x3311 002280 add rega ,coffset_plap ,contr 
+0x3312 002281 ifetch 6 ,contr 
+0x3313 002282 isub temp ,null 
+0x3314 002283 rtn zero 
+0x3315 002284 branch context_search_next 
+:      002286 context_search_handle:
+0x3316 002287 bbit0 state_inconn ,context_search_next 
+0x3317 002288 add rega ,coffset_conn_handle ,contr 
+0x3318 002289 ifetch 1 ,contr 
+0x3319 002290 isub temp ,null 
+0x331a 002291 rtn zero 
+0x331b 002292 branch context_search_next 
+:      002294 context_search_sniff:
+0x331c 002295 bbit0 state_insniff ,context_search_next 
+:      002296 context_search_sniff_loop:
+0x331d 002297 call context_get_anchor 
+0x331e 002298 bbit1 27 ,context_search_sniff_cont 
+0x331f 002299 isolate0 27 ,temp 
+0x3320 002300 branch context_search_sniff_cont ,true 
+0x3321 002301 set1 28 ,pdata 
+:      002302 context_search_sniff_cont:
+0x3322 002303 isub temp ,pdata 
+0x3323 002304 increase 1 ,pdata 
+0x3324 002305 branch context_search_sniff_miss ,positive 
+0x3325 002306 increase 5 ,pdata 
+0x3326 002307 nbranch context_search_next ,positive 
+:      002308 context_search_meet:
+0x3327 002309 copy temp ,bt_clk 
+0x3328 002310 call context_next_anchor 
+0x3329 002311 force 0 ,null 
+0x332a 002312 rtn 
+:      002314 context_search_sniff_miss:
+0x332b 002315 iforce regb 
+0x332c 002316 add rega ,coffset_tsniff ,contr 
+0x332d 002317 ifetch 2 ,contr 
+0x332e 002318 branch context_search_meet ,blank 
+0x332f 002319 call context_next_anchor 
+0x3330 002320 branch context_search_sniff_loop 
+:      002322 context_check_inconn:
+0x3331 002323 bbit0 state_inconn ,context_search_next 
+0x3332 002324 force 0 ,null 
+0x3333 002325 rtn 
+:      002327 context_check_a_wack:
+0x3334 002328 bbit0 state_inconn ,context_search_next 
+0x3335 002329 add rega ,coffset_mode ,contr 
+0x3336 002330 ifetch 1 ,contr 
+0x3337 002331 bbit1 mode_le ,context_search_next 
+0x3338 002332 add rega ,coffset_arq ,contr 
+0x3339 002333 ifetch 1 ,contr 
+0x333a 002334 bbit0 wack ,context_search_next 
+0x333b 002335 force 0 ,null 
+0x333c 002336 rtn 
+:      002338 context_get_anchor:
+0x333d 002339 add rega ,coffset_mode ,contr 
+0x333e 002340 ifetcht 1 ,contr 
+0x333f 002341 deposit clkn_bt 
+0x3340 002342 isolate1 mode_master ,temp 
+0x3341 002343 add rega ,coffset_sniff_anchor ,contr 
+0x3342 002344 ifetcht 4 ,contr 
+0x3343 002345 rtn true 
+0x3344 002346 add rega ,coffset_clk_offset ,contr 
+0x3345 002347 ifetch 6 ,contr 
+0x3346 002348 call calc_clke2 
+0x3347 002349 deposit clke_bt 
+0x3348 002350 rtn 
+:      002352 context_next_anchor:
+0x3349 002353 add rega ,coffset_tsniff ,contr 
+0x334a 002354 add rega ,coffset_sniff_anchor ,contw 
+0x334b 002355 ifetch 2 ,contr 
+0x334c 002356 iadd temp ,timeup 
+0x334d 002357 deposit timeup 
+0x334e 002358 istore 4 ,contw 
+0x334f 002359 branch le_context_nexthop 
+:      002362 context_search_window:
+0x3350 002363 bbit0 state_insniff ,context_search_next 
+0x3351 002364 call context_get_anchor 
+0x3352 002365 iadd stop_watch ,pdata 
+0x3353 002366 iadd stop_watch ,pdata 
+0x3354 002367 iadd queue ,pdata 
+0x3355 002368 isub temp ,null 
+0x3356 002369 nbranch context_search_next ,positive 
+0x3357 002370 force 0 ,null 
+0x3358 002371 rtn 
+:      002373 context_traverse_mslot:
+0x3359 002374 bbit0 state_inconn ,context_search_next 
+0x335a 002375 deposit temp 
+0x335b 002376 isub rega ,null 
+0x335c 002377 branch context_search_next ,null 
+0x335d 002378 add rega ,coffset_mode ,contr 
+0x335e 002379 ifetch 1 ,contr 
+0x335f 002380 bbit1 mode_le ,context_search_next 
+0x3360 002381 add rega ,coffset_lmp_to_send ,contw 
+0x3361 002382 ifetch 1 ,contw 
+0x3362 002383 nbranch context_search_next ,blank 
+0x3363 002384 force lmp_max_slot ,pdata 
+0x3364 002385 istore 1 ,contw 
+0x3365 002386 branch context_search_next 
+:      002388 context_traverse_clearkey:
+0x3366 002389 bbit0 state_inconn ,context_search_next 
+0x3367 002390 deposit temp 
+0x3368 002391 isub rega ,null 
+0x3369 002392 branch context_search_next ,null 
+0x336a 002393 add rega ,coffset_mode ,contr 
+0x336b 002394 ifetch 1 ,contr 
+0x336c 002395 bbit1 mode_le ,context_search_next 
+0x336d 002396 ifetch 1 ,rega 
+0x336e 002397 set0 state_linkkey ,pdata 
+0x336f 002398 istore 1 ,rega 
+0x3370 002399 branch context_search_next 
+:      002402 master_conn_send_packet:
+0x3371 002403 set0 mark_ext_patch ,mark 
+0x3372 002404 bpatch patch06_4 ,mem_patch06 
+0x3373 002405 call rf_setup_time_master_slot 
+:      002406 master_send_packet:
+0x3374 002407 add clkn_bt ,1 ,bt_clk 
+0x3375 002408 call fetch_self_bt_adr 
+0x3376 002409 force 0x03 ,freq_mode 
+0x3377 002410 call tx_radio_freq 
+0x3378 002411 call start_transmitter 
+0x3379 002412 call start_tx_native 
+0x337a 002413 call send_access_word 
+0x337b 002414 branch transmit_packet 
+:      002416 master_conn_recv_packet:
+0x337c 002417 set0 mark_ext_patch ,mark 
+0x337d 002418 bpatch patch06_5 ,mem_patch06 
+0x337e 002419 call rf_setup_time_slave_slot 
+:      002420 master_recv_packet:
+0x337f 002421 add clkn_bt ,1 ,bt_clk 
+0x3380 002422 call fetch_self_bt_adr 
+0x3381 002423 force 0x03 ,freq_mode 
+0x3382 002424 call rx_radio_freq 
+0x3383 002425 call init_rx_packet_flags 
+0x3384 002426 call prep_crypt 
+0x3385 002427 call start_rx_native 
+0x3386 002428 call start_receiver 
+:      002429 master_rx_conn_finish_packet:
+0x3387 002430 call wait_access_clkn_rt 
+0x3388 002431 nrtn sync 
+0x3389 002432 call save_rssi 
+0x338a 002433 branch receive_packet 
+:      002437 master_newconn_once:
+0x338b 002438 set0 mark_ext_patch ,mark 
+0x338c 002439 bpatch patch06_6 ,mem_patch06 
+0x338d 002440 fetch 1 ,mem_fhs_am_addr 
+0x338e 002441 iforce am_addr 
+0x338f 002442 force type_poll ,type 
+0x3390 002443 call master_conn_send_packet 
+0x3391 002444 branch master_conn_recv_packet 
+:      002455 inquiry_scan_dispatch:
+0x3392 002456 fetch 1 ,mem_scan_mode 
+0x3393 002457 rtnbit0 inq_scan_mode 
+0x3394 002458 force iscan_interval_timer ,queue 
+0x3395 002459 call timer_check 
+0x3396 002460 nrtn blank 
+0x3397 002461 fetcht 2 ,mem_iscan_window 
+0x3398 002462 force 4 ,queue 
+0x3399 002463 call sniff_check_window 
+0x339a 002464 rtn user 
+0x339b 002465 call inquiry_scan_start 
+0x339c 002466 force iscan_interval_timer ,queue 
+0x339d 002467 fetch 2 ,mem_iscan_interval 
+0x339e 002468 nbranch timer_init ,sync 
+0x339f 002469 random pdata 
+0x33a0 002470 iand mask3ff ,pdata 
+0x33a1 002471 branch timer_init 
+:      002474 inquiry_scan_start:
+0x33a2 002475 set0 mark_ext_patch ,mark 
+0x33a3 002476 bpatch patch06_7 ,mem_patch06 
+0x33a4 002477 jam 0 ,mem_fhs_am_addr 
+0x33a5 002478 disable clknt 
+0x33a6 002479 disable attempt 
+0x33a7 002480 call afh_clear 
+0x33a8 002481 and clkn_bt ,0x1fc ,bt_clk 
+0x33a9 002482 force 0x01 ,freq_mode 
+0x33aa 002483 call fetch_giac 
+0x33ab 002484 call rx_radio_freq 
+0x33ac 002485 setflip mark_inquiry_state ,mark 
+0x33ad 002486 fetch 1 ,mem_inquiryscan_waitcnt 
+0x33ae 002487 increase 1 ,pdata 
+0x33af 002488 store 1 ,mem_inquiryscan_waitcnt 
+0x33b0 002489 call fetch_diac 
+0x33b1 002490 call start_receiver 
+0x33b2 002491 call wait_access_forever 
+0x33b3 002492 nrtn sync 
+0x33b4 002493 set0 mark_ext_patch ,mark 
+0x33b5 002494 bpatch patch07_0 ,mem_patch07 
+0x33b6 002495 force 0 ,stop_watch 
+0x33b7 002496 call shutdown_radio 
+0x33b8 002497 fetch 1 ,mem_inquiryscan_rcvcnt 
+0x33b9 002498 increase 1 ,pdata 
+0x33ba 002499 store 1 ,mem_inquiryscan_rcvcnt 
+0x33bb 002500 call fetch_giac 
+0x33bc 002501 call rf_setup_time_slave_slot 
+0x33bd 002502 or_into 0x002 ,bt_clk 
+0x33be 002503 force 0x01 ,freq_mode 
+0x33bf 002504 call tx_radio_freq 
+0x33c0 002505 call fetch_diac 
+0x33c1 002506 call start_transmitter 
+0x33c2 002507 call start_tx_external 
+0x33c3 002508 deposit clkn_bt 
+0x33c4 002509 store 4 ,mem_clkn_bt 
+0x33c5 002510 call send_access_word 
+0x33c6 002511 force type_fhs ,type 
+0x33c7 002512 force 0 ,am_addr 
+0x33c8 002513 call scan_mode_whiten 
+0x33c9 002514 call transmit_packet_whitened 
+0x33ca 002515 call send_eir 
+0x33cb 002516 and_into 0x1fd ,bt_clk 
+0x33cc 002517 increase 1 ,n_tx_slot 
+0x33cd 002518 rtn 
+:      002520 send_eir:
+0x33ce 002521 set0 mark_ext_patch ,mark 
+0x33cf 002522 bpatch patch07_1 ,mem_patch07 
+0x33d0 002523 fetch 1 ,mem_eir_enable 
+0x33d1 002524 rtn blank 
+0x33d2 002525 arg mem_eir ,contw 
+0x33d3 002526 fetch 1 ,mem_local_name_length 
+0x33d4 002527 copy pdata ,loopcnt 
+0x33d5 002528 increase 1 ,pdata 
+0x33d6 002529 istore 1 ,contw 
+0x33d7 002530 copy contw ,temp 
+0x33d8 002531 increase 1 ,pdata 
+0x33d9 002532 store 2 ,mem_tx_len 
+0x33da 002533 copy temp ,contw 
+0x33db 002534 setarg 0x09 
+0x33dc 002535 istore 1 ,contw 
+0x33dd 002536 arg mem_local_name ,contr 
+0x33de 002537 call memcpy 
+0x33df 002538 arg mem_all_uuid_128bits ,regc 
+0x33e0 002539 arg 4 ,loopcnt 
+0x33e1 002540 call get_all_uuid 
+0x33e2 002541 arg mem_all_uuid_16bits ,regc 
+0x33e3 002542 arg 1 ,loopcnt 
+0x33e4 002543 call get_all_uuid 
+0x33e5 002544 force type_dm3 ,type 
+0x33e6 002545 jam 2 ,mem_tx_lch 
+0x33e7 002546 setarg mem_eir 
+0x33e8 002547 store 2 ,mem_txptr 
+0x33e9 002548 call rf_setup_time_slave_slot 
+0x33ea 002549 call tx_radio_freq 
+0x33eb 002550 call start_transmitter 
+0x33ec 002551 call start_tx_external 
+0x33ed 002552 call send_access_word 
+0x33ee 002553 call scan_mode_whiten 
+0x33ef 002554 call transmit_packet_whitened 
+0x33f0 002555 rtn 
+:      002558 get_all_uuid:
+0x33f1 002559 copy contw ,temp 
+0x33f2 002560 copy regc ,contr 
+0x33f3 002561 ifetch 1 ,contr 
+0x33f4 002562 rtn blank 
+:      002563 lshift_loop:
+0x33f5 002564 lshift pdata ,pdata 
+0x33f6 002565 loop lshift_loop 
+0x33f7 002566 copy pdata ,rega 
+0x33f8 002567 increase 2 ,pdata 
+0x33f9 002568 copy pdata ,queue 
+0x33fa 002569 fetch 2 ,mem_tx_len 
+0x33fb 002570 iadd queue ,pdata 
+0x33fc 002571 store 2 ,mem_tx_len 
+0x33fd 002572 copy temp ,contw 
+0x33fe 002573 copy rega ,pdata 
+0x33ff 002574 increase 1 ,pdata 
+0x3400 002575 istore 1 ,contw 
+0x3401 002576 copy regc ,contr 
+0x3402 002577 ifetch 1 ,contr 
+0x3403 002578 ifetch 1 ,contr 
+0x3404 002579 istore 1 ,contw 
+0x3405 002580 copy rega ,loopcnt 
+0x3406 002581 branch memcpy 
+:      002587 page_scan_dispatch:
+0x3407 002588 fetch 1 ,mem_scan_mode 
+0x3408 002589 rtnbit0 page_scan_mode 
+0x3409 002590 force pscan_interval_timer ,queue 
+0x340a 002591 call timer_check 
+0x340b 002592 nrtn blank 
+0x340c 002593 fetcht 2 ,mem_pscan_window 
+0x340d 002594 force 40 ,queue 
+0x340e 002595 call sniff_check_window 
+0x340f 002596 rtn user 
+0x3410 002597 force 0 ,am_addr 
+0x3411 002598 jam param_pagerespto ,mem_fhs_wait_counter 
+0x3412 002599 set0 mark_fhs_already_good ,mark 
+0x3413 002600 call page_scan_start 
+0x3414 002601 force pscan_interval_timer ,queue 
+0x3415 002602 fetch 2 ,mem_pscan_interval 
+0x3416 002603 branch timer_init 
+:      002606 page_scan_start:
+0x3417 002607 set0 mark_ext_patch ,mark 
+0x3418 002608 bpatch patch07_2 ,mem_patch07 
+0x3419 002609 disable clknt 
+0x341a 002610 call afh_clear 
+0x341b 002611 fetch 1 ,mem_pagescan_waitcnt 
+0x341c 002612 increase 1 ,pdata 
+0x341d 002613 store 1 ,mem_pagescan_waitcnt 
+0x341e 002614 force 0 ,n_tx_slot 
+0x341f 002615 call fetch_self_bt_adr 
+0x3420 002616 add clkn_bt ,1 ,bt_clk 
+0x3421 002617 force 0x02 ,freq_mode 
+0x3422 002618 set0 mark_ext_patch ,mark 
+0x3423 002619 bpatch patch07_3 ,mem_patch07 
+0x3424 002620 call rx_radio_freq 
+0x3425 002621 call start_receiver 
+0x3426 002622 call wait_access_forever 
+0x3427 002623 nrtn sync 
+0x3428 002624 call shutdown_radio 
+0x3429 002625 fetch 1 ,mem_pagescan_rcvcnt 
+0x342a 002626 increase 1 ,pdata 
+0x342b 002627 store 1 ,mem_pagescan_rcvcnt 
+0x342c 002628 force 0 ,stop_watch 
+0x342d 002629 call rf_setup_time_slave_slot 
+0x342e 002630 or_into 0x002 ,bt_clk 
+0x342f 002631 force 0x01 ,freq_mode 
+0x3430 002632 call tx_radio_freq 
+0x3431 002633 call start_transmitter 
+0x3432 002634 call start_tx_external 
+0x3433 002635 call send_access_word 
+0x3434 002636 call end_of_packet 
+0x3435 002637 force 0 ,am_addr 
+0x3436 002638 arg param_rf_setup ,timeup 
+0x3437 002639 until clke_rt ,meet 
+0x3438 002640 or_into 0x03 ,clke_bt 
+0x3439 002641 and_into 0x1fd ,bt_clk 
+:      002642 page_scan_wait_fhs_restart:
+0x343a 002643 set0 mark_ext_patch ,mark 
+0x343b 002644 bpatch patch07_4 ,mem_patch07 
+0x343c 002645 increase 1 ,n_tx_slot 
+0x343d 002646 call rx_radio_freq 
+0x343e 002647 call start_receiver 
+0x343f 002648 call wait_access_mhalfbnd 
+0x3440 002649 nbranch page_scan_wait_fhs_again ,sync 
+0x3441 002650 call scan_mode_whiten 
+0x3442 002651 call receive_packet_whitened 
+0x3443 002652 bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+:      002653 page_scan_wait_fhs_again:
+0x3444 002654 set0 mark_ext_patch ,mark 
+0x3445 002655 bpatch patch07_5 ,mem_patch07 
+0x3446 002656 fetch 1 ,mem_fhs_wait_counter 
+0x3447 002657 rtn blank 
+0x3448 002658 increase -1 ,pdata 
+0x3449 002659 store 1 ,mem_fhs_wait_counter 
+0x344a 002660 call rf_setup_time_master_slot 
+0x344b 002661 branch page_scan_wait_fhs_restart 
+:      002664 page_scan_reply_to_fhs:
+0x344c 002665 set0 mark_ext_patch ,mark 
+0x344d 002666 bpatch patch07_6 ,mem_patch07 
+0x344e 002667 set0 1 ,clke_bt 
+0x344f 002668 set1 0 ,clke_bt 
+0x3450 002669 fetch 1 ,mem_pagescan_rcvfhscnt 
+0x3451 002670 increase 1 ,pdata 
+0x3452 002671 store 1 ,mem_pagescan_rcvfhscnt 
+0x3453 002672 call rf_setup_time_slave_slot 
+0x3454 002673 or_into 0x02 ,bt_clk 
+0x3455 002674 call tx_radio_freq 
+0x3456 002675 call start_transmitter 
+0x3457 002676 call start_tx_external 
+0x3458 002677 call send_access_word 
+0x3459 002678 call end_of_packet 
+:      002679 slave_apply_clke_bt:
+0x345a 002680 compare 0x03 ,clke_bt ,0x03 
+0x345b 002681 branch slave_apply_clke_bt_now ,true 
+0x345c 002682 until null ,mhalfbnd 
+0x345d 002683 branch slave_apply_clke_bt 
+:      002684 slave_apply_clke_bt_now:
+0x345e 002685 fetch 4 ,mem_clke_bt 
+0x345f 002686 or_into 0x03 ,pdata 
+0x3460 002687 icopy clke_bt 
+:      002689 start_slave_connection:
+0x3461 002690 set0 mark_ext_patch ,mark 
+0x3462 002691 bpatch patch07_7 ,mem_patch07 
+0x3463 002692 fetch 6 ,extm_lap 
+0x3464 002693 store 6 ,mem_plap 
+0x3465 002694 call prepare_newconn 
+:      002695 slave_newconn_loop:
+0x3466 002696 call slave_newconn_once 
+0x3467 002697 branch sconn_successful ,match 
+0x3468 002698 call new_conn_timeout 
+0x3469 002699 nbranch slave_newconn_loop ,blank 
+0x346a 002700 rtn 
+:      002703 sconn_successful:
+0x346b 002704 set0 mark_ext_patch ,mark 
+0x346c 002705 bpatch patch08_0 ,mem_patch08 
+0x346d 002706 call newconn_init 
+0x346e 002707 call context_new 
+0x346f 002708 nrtn zero 
+0x3470 002709 jam 0 ,mem_mode 
+0x3471 002710 call calc_clke_offset 
+0x3472 002711 branch context_save 
+:      002714 slave_dispatch:
+0x3473 002715 set0 mark_ext_patch ,mark 
+0x3474 002716 bpatch patch08_1 ,mem_patch08 
+0x3475 002717 call calc_clke 
+0x3476 002718 call role_switch_slave 
+0x3477 002719 rtn user 
+0x3478 002720 call load_esco 
+0x3479 002721 call get_sco_data 
+:      002722 slave_loop:
+0x347a 002723 set0 mark_ext_patch ,mark 
+0x347b 002724 bpatch patch08_2 ,mem_patch08 
+0x347c 002725 call check_bt_disabled 
+0x347d 002726 call scheduler_process 
+0x347e 002727 call slave_conn_recv_packet 
+0x347f 002728 call slave_savelist 
+0x3480 002729 nbranch slave_notmatch ,match 
+0x3481 002730 call supervision_flush 
+0x3482 002731 call parse_l2cap 
+0x3483 002732 call scheduler_tx_l2cap_pkt 
+0x3484 002733 call prepare_tx 
+0x3485 002734 call slave_conn_send_packet 
+0x3486 002735 call parse_lmp 
+0x3487 002736 call process_cmd 
+0x3488 002737 call hci_send_num_complete_packets 
+0x3489 002738 fetch 1 ,mem_slave_rcvcnt 
+0x348a 002739 increase 1 ,pdata 
+0x348b 002740 store 1 ,mem_slave_rcvcnt 
+0x348c 002741 call calc_clke_offset 
+:      002742 slave_notmatch:
+0x348d 002743 set0 mark_ext_patch ,mark 
+0x348e 002744 bpatch patch08_3 ,mem_patch08 
+0x348f 002745 call lpm_set_mult 
+0x3490 002746 call supervision_update 
+0x3491 002747 branch slave_disconnect ,positive 
+0x3492 002748 call check_disconnect_timeout 
+0x3493 002749 nbranch slave_disconnect ,user 
+0x3494 002750 call check_attempt 
+0x3495 002751 nbranch slave_loop ,blank 
+0x3496 002752 call process_sco_data 
+0x3497 002753 branch restore_esco 
+:      002756 slave_disconnect:
+0x3498 002757 set0 mark_ext_patch ,mark 
+0x3499 002758 bpatch patch08_4 ,mem_patch08 
+0x349a 002759 jam 0 ,mem_tester_emulate 
+0x349b 002760 jam 0 ,mem_debug_config 
+0x349c 002761 call quit_connection 
+0x349d 002762 set0 mark_testmode ,mark 
+0x349e 002763 call test_enable_white 
+0x349f 002764 fetch 1 ,mem_state 
+0x34a0 002765 bbit0 state_conn_comp ,slave_connection_fail 
+0x34a1 002766 fetcht 1 ,mem_conn_handle 
+0x34a2 002767 branch hci_send_disconn_complete 
+:      002769 slave_connection_fail:
+0x34a3 002770 force hci_error_key_missing ,temp 
+0x34a4 002771 branch hci_send_connection_error 
+:      002773 role_switch_slave:
+0x34a5 002774 set0 mark_ext_patch ,mark 
+0x34a6 002775 bpatch patch08_5 ,mem_patch08 
+0x34a7 002776 call role_switch_check 
+0x34a8 002777 nrtn user 
+0x34a9 002778 copy am_addr ,temp 
+0x34aa 002779 call get_free_amaddr 
+0x34ab 002780 store 1 ,mem_fhs_am_addr 
+0x34ac 002781 copy temp ,am_addr 
+0x34ad 002782 jam param_newconnto ,mem_newconnto_counter 
+:      002783 roles_sendfhs_loop:
+0x34ae 002784 set0 mark_ext_patch ,mark 
+0x34af 002785 bpatch patch08_6 ,mem_patch08 
+0x34b0 002786 call rf_setup_time_master_slot 
+0x34b1 002787 force type_fhs ,type 
+0x34b2 002788 call slave_send_access 
+0x34b3 002789 deposit clkn_bt 
+0x34b4 002790 store 4 ,mem_clkn_bt 
+0x34b5 002791 call transmit_packet 
+0x34b6 002792 call rf_setup_time_slave_slot 
+0x34b7 002793 enable user3 
+0x34b8 002794 call slave_receive_access 
+0x34b9 002795 branch roles_got_fhs_reply ,sync 
+0x34ba 002796 call shutdown_radio 
+0x34bb 002797 call new_conn_timeout 
+0x34bc 002798 nbranch roles_sendfhs_loop ,blank 
+0x34bd 002799 rtnmark0 mark_accept_switch 
+0x34be 002800 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x34bf 002801 set1 mark_switch_initiated ,mark 
+0x34c0 002802 rtn 
+:      002803 roles_got_fhs_reply:
+0x34c1 002804 enable clknt 
+0x34c2 002805 call prepare_newconn 
+0x34c3 002806 call afh_clear 
+:      002807 roles_newconn_loop:
+0x34c4 002808 set0 mark_ext_patch ,mark 
+0x34c5 002809 bpatch patch08_7 ,mem_patch08 
+0x34c6 002810 call master_newconn_once 
+0x34c7 002811 branch roles_newconn_responded ,sync 
+0x34c8 002812 call new_conn_timeout 
+0x34c9 002813 nbranch roles_newconn_loop ,blank 
+0x34ca 002814 disable clknt 
+0x34cb 002815 deposit clke_bt 
+0x34cc 002816 store 4 ,mem_next_btclk 
+0x34cd 002817 rtn 
+:      002818 roles_newconn_responded:
+0x34ce 002819 force 0 ,temp 
+0x34cf 002820 call hci_send_role_change 
+0x34d0 002821 enable master 
+0x34d1 002822 bmark0 mark_accept_switch ,roles_newconn_nolmp 
+0x34d2 002823 set0 mark_accept_switch ,mark 
+0x34d3 002824 jam lmp_accepted ,mem_lmo_opcode2 
+0x34d4 002825 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0x34d5 002826 call tid_set_reply 
+:      002827 roles_newconn_nolmp:
+0x34d6 002828 deposit am_addr 
+0x34d7 002829 store 1 ,mem_amaddr 
+0x34d8 002830 force 0 ,pdata 
+0x34d9 002831 store 6 ,mem_clk_offset 
+0x34da 002832 fetch 1 ,mem_mode 
+0x34db 002833 set1 mode_master ,pdata 
+0x34dc 002834 store 1 ,mem_mode 
+0x34dd 002835 call supervision_flush 
+0x34de 002836 disable master 
+:      002837 enable_user:
+0x34df 002838 enable user 
+0x34e0 002839 rtn 
+:      002843 init_rx_packet_flags:
+0x34e1 002844 set0 mark_ext_patch ,mark 
+0x34e2 002845 bpatch patch09_0 ,mem_patch09 
+0x34e3 002846 disable match 
+0x34e4 002847 set0 mark_loopback ,mark 
+0x34e5 002848 set0 mark_am_addr_broadcast ,mark 
+0x34e6 002849 set0 mark_longpacket ,mark 
+0x34e7 002850 set0 mark_old_packet ,mark 
+0x34e8 002851 fetch 1 ,mem_arq 
+0x34e9 002852 set0 arqnx ,pdata 
+0x34ea 002853 set1 flowx ,pdata 
+0x34eb 002854 store 1 ,mem_arq 
+0x34ec 002855 rtn 
+:      002857 prepare_newconn:
+0x34ed 002858 set0 mark_ext_patch ,mark 
+0x34ee 002859 bpatch patch09_1 ,mem_patch09 
+0x34ef 002860 jam param_newconnto ,mem_newconnto_counter 
+0x34f0 002861 jam param_newconn_arq ,mem_arq 
+0x34f1 002862 fetch 2 ,mem_rx_window_init 
+0x34f2 002863 store 2 ,mem_rx_window 
+0x34f3 002864 deposit clkn_bt 
+0x34f4 002865 store 4 ,mem_next_btclk 
+0x34f5 002866 rtn clknt 
+0x34f6 002867 deposit clke_bt 
+0x34f7 002868 store 4 ,mem_next_btclk 
+0x34f8 002869 rtn 
+:      002871 newconn_init:
+0x34f9 002872 set0 mark_ext_patch ,mark 
+0x34fa 002873 bpatch patch09_2 ,mem_patch09 
+0x34fb 002874 call init_lmp_reinit 
+0x34fc 002875 call new_conn_handle 
+0x34fd 002876 store 1 ,mem_conn_handle 
+0x34fe 002877 setarg param_supervision_to 
+0x34ff 002878 store 2 ,mem_supervision_to 
+0x3500 002879 fetch 1 ,mem_state 
+0x3501 002880 set1 state_inconn ,pdata 
+0x3502 002881 store 1 ,mem_state 
+0x3503 002882 jam 0 ,mem_op 
+0x3504 002883 jam 0 ,mem_state_map 
+0x3505 002884 jam 0 ,mem_lpm_current_mult 
+0x3506 002885 branch supervision_flush 
+:      002888 clear_linkkey:
+0x3507 002889 set0 mark_ext_patch ,mark 
+0x3508 002890 bpatch patch09_3 ,mem_patch09 
+0x3509 002891 force 0 ,pdata 
+0x350a 002892 store 8 ,mem_link_key 
+0x350b 002893 istore 8 ,contw 
+0x350c 002894 call clear_linkstate 
+0x350d 002895 branch context_traverse_linkkey 
+:      002897 new_conn_timeout:
+0x350e 002898 fetch 1 ,mem_newconnto_counter 
+0x350f 002899 increase -1 ,pdata 
+0x3510 002900 store 1 ,mem_newconnto_counter 
+0x3511 002901 rtn 
+:      002903 new_conn_handle:
+0x3512 002904 fetch 1 ,mem_handle_num 
+0x3513 002905 increase 1 ,pdata 
+0x3514 002906 store 1 ,mem_handle_num 
+0x3515 002907 rtn 
+:      002910 quit_connection:
+0x3516 002911 set0 mark_ext_patch ,mark 
+0x3517 002912 bpatch patch09_4 ,mem_patch09 
+0x3518 002913 call disconnect_stop_sco 
+0x3519 002914 fetch 1 ,mem_hci_cmd 
+0x351a 002915 beq hci_cmd_remote_name_req ,quit_connection_name 
+0x351b 002916 fetch 1 ,mem_lmp_to_send 
+0x351c 002917 bne lmp_name_req ,quit_connection_cont 
+:      002918 quit_connection_name:
+0x351d 002919 call cmd_check_plap 
+0x351e 002920 nbranch quit_connection_cont ,zero 
+0x351f 002921 call master_name_error 
+0x3520 002922 jam 0 ,mem_hci_cmd 
+:      002923 quit_connection_cont:
+0x3521 002924 set0 mark_ext_patch ,mark 
+0x3522 002925 bpatch patch09_5 ,mem_patch09 
+0x3523 002926 call app_disconn_reason_collect_bt 
+0x3524 002927 call process_cmd 
+0x3525 002928 call sniff_exit 
+0x3526 002929 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0x3527 002930 call ui_ipc_send_event 
+0x3528 002931 call init_lmp_work 
+0x3529 002932 call l2cap_init_work 
+0x352a 002933 call sp_initialize 
+0x352b 002934 fetch 1 ,mem_state 
+0x352c 002935 set0 state_inconn 
+0x352d 002936 store 1 ,mem_state 
+0x352e 002937 jam 0 ,memui_reconnect_mode 
+0x352f 002939 fetch 1 ,mem_state_map 
+0x3530 002940 compare 0x0 ,pdata ,0xc0 
+0x3531 002941 branch quit_connection_not_clear_mark ,true 
+0x3532 002942 set0 mark_rxbuf_inuse ,mark 
+:      002943 quit_connection_not_clear_mark:
+0x3533 002944 fetch 1 ,mem_arq 
+0x3534 002945 bbit0 wack ,quit_connection_not_clear_tx 
+:      002946 quit_connection_not_clear_tx:
+0x3535 002947 fetch 1 ,mem_op 
+0x3536 002948 rtnbit0 op_txl2cap 
+0x3537 002949 set0 mark_tx_l2cap ,mark 
+0x3538 002950 rtn 
+:      002952 slave_newconn_once:
+0x3539 002953 set0 mark_ext_patch ,mark 
+0x353a 002954 bpatch patch09_6 ,mem_patch09 
+0x353b 002955 fetch 1 ,extm_newconn_am_addr 
+0x353c 002956 rtn blank 
+0x353d 002957 icopy am_addr 
+0x353e 002958 call slave_conn_recv_packet 
+0x353f 002959 nrtn match 
+0x3540 002960 force type_null ,type 
+0x3541 002961 call slave_conn_send_packet 
+0x3542 002962 deposit am_addr 
+0x3543 002963 store 1 ,mem_amaddr 
+0x3544 002964 force 0 ,pdata 
+0x3545 002965 store 1 ,extm_newconn_am_addr 
+0x3546 002966 rtn 
+:      002972 prepare_tx:
+0x3547 002973 set0 mark_ext_patch ,mark 
+0x3548 002974 bpatch patch09_7 ,mem_patch09 
+0x3549 002975 fetch 1 ,mem_state 
+0x354a 002976 bbit0 state_insco ,prepare_tx_not_sco 
+0x354b 002977 force type_hv3 ,type 
+0x354c 002978 bmark0 mark_esco ,prepare_tx_not_esco 
+0x354d 002979 call check_esco_amaddr 
+0x354e 002980 nbranch prepare_tx_not_sco ,true 
+0x354f 002981 branch prepare_tx_not_sco ,attempt 
+0x3550 002982 call set_wait_ack 
+0x3551 002983 setarg 2 
+0x3552 002984 store 2 ,mem_retransmission_cnt 
+0x3553 002985 rtn 
+:      002986 prepare_tx_not_esco:
+0x3554 002987 nrtn attempt 
+:      002988 prepare_tx_not_sco:
+0x3555 002989 set0 mark_ext_patch ,mark 
+0x3556 002990 bpatch patch0a_0 ,mem_patch0a 
+0x3557 002991 call context_check_all_wack 
+0x3558 002992 nbranch prepare_tx_no_retransmit ,zero 
+0x3559 002993 fetch 1 ,mem_arq 
+0x355a 002994 bbit0 wack ,prepare_tx_pollnull 
+:      002995 prepare_tx_retransmit:
+0x355b 002996 bmark1 mark_loopback ,prepare_tx_loopback 
+0x355c 002997 fetch 1 ,mem_debug_config 
+0x355d 002998 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+0x355e 002999 fetch 2 ,mem_retransmission_cnt 
+0x355f 003000 increase -1 ,pdata 
+0x3560 003001 store 2 ,mem_retransmission_cnt 
+0x3561 003002 branch prepare_tx_nomore_retransmit ,blank 
+0x3562 003003 fetch 1 ,mem_last_type 
+0x3563 003004 iforce type 
+0x3564 003005 rtn 
+:      003007 prepare_tx_nomore_retransmit:
+0x3565 003008 set0 mark_ext_patch ,mark 
+0x3566 003009 bpatch patch0a_1 ,mem_patch0a 
+0x3567 003010 call clear_got_tx 
+:      003011 prepare_tx_no_retransmit:
+0x3568 003012 call check_esco_amaddr 
+0x3569 003013 branch prepare_tx_pollnull ,true 
+0x356a 003014 call send_lmp 
+0x356b 003015 branch prepare_tx_sendlmp ,user 
+0x356c 003016 fetch 1 ,mem_op 
+0x356d 003017 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+0x356e 003018 bmark1 mark_loopback ,prepare_tx_loopback 
+0x356f 003019 fetch 1 ,mem_debug_config 
+0x3570 003020 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+:      003021 prepare_tx_pollnull:
+0x3571 003022 force type_poll ,type 
+0x3572 003023 rtn master 
+0x3573 003024 force type_null ,type 
+0x3574 003025 rtn 
+:      003026 prepare_tx_loopback:
+0x3575 003027 set0 mark_ext_patch ,mark 
+0x3576 003028 bpatch patch0a_2 ,mem_patch0a 
+0x3577 003029 fetch 1 ,mem_rx_type 
+0x3578 003030 iforce type 
+0x3579 003031 rtnne 1 
+0x357a 003032 force type_null ,type 
+0x357b 003033 rtn 
+:      003034 prepare_tx_txpat:
+0x357c 003035 fetch 1 ,test_mode_packet_type 
+0x357d 003036 and pdata ,0xf ,type 
+0x357e 003037 set1 mark_loopback ,mark 
+0x357f 003038 rtn 
+:      003039 prepare_tx_sendlmp:
+0x3580 003040 force type_lmp ,type 
+0x3581 003041 branch set_wait_ack 
+:      003042 prepare_tx_sendl2cap:
+0x3582 003043 call tx_l2cap_type 
+:      003045 set_wait_ack:
+0x3583 003046 set0 mark_ext_patch ,mark 
+0x3584 003047 bpatch patch0a_3 ,mem_patch0a 
+0x3585 003048 fetcht 1 ,mem_arq 
+0x3586 003049 set1 wack ,temp 
+0x3587 003050 storet 1 ,mem_arq 
+0x3588 003051 deposit type 
+0x3589 003052 store 1 ,mem_last_type 
+0x358a 003053 setarg 0xffff 
+0x358b 003054 store 2 ,mem_retransmission_cnt 
+0x358c 003055 rtn 
+:      003057 tx_l2cap_type:
+0x358d 003058 set0 mark_ext_patch ,mark 
+0x358e 003059 bpatch patch0a_4 ,mem_patch0a 
+0x358f 003060 fetch 1 ,mem_state_map 
+0x3590 003061 isolate1 smap_edr ,pdata 
+0x3591 003062 fetch 2 ,mem_tx_len 
+0x3592 003063 branch tx_l2cap_type_edr ,true 
+0x3593 003064 force type_dm1 ,type 
+0x3594 003065 sub pdata ,17 ,null 
+0x3595 003066 rtn positive 
+0x3596 003067 force type_dh1 ,type 
+0x3597 003068 sub pdata ,27 ,null 
+0x3598 003069 rtn positive 
+0x3599 003070 force type_dm3 ,type 
+0x359a 003071 sub pdata ,121 ,null 
+0x359b 003072 rtn positive 
+0x359c 003073 force type_dm5 ,type 
+0x359d 003074 sub pdata ,224 ,null 
+0x359e 003075 rtn positive 
+0x359f 003076 force type_dh5 ,type 
+0x35a0 003077 rtn 
+:      003078 tx_l2cap_type_edr:
+0x35a1 003079 force type_dm1 ,type 
+0x35a2 003080 sub pdata ,17 ,null 
+0x35a3 003081 rtn positive 
+0x35a4 003082 force type_dh1 ,type 
+0x35a5 003083 sub pdata ,54 ,null 
+0x35a6 003084 rtn positive 
+0x35a7 003085 force type_dm3 ,type 
+0x35a8 003086 arg 367 ,temp 
+0x35a9 003087 isub temp ,null 
+0x35aa 003088 nrtn positive 
+0x35ab 003089 force type_dm5 ,type 
+0x35ac 003090 arg 679 ,temp 
+0x35ad 003091 isub temp ,null 
+0x35ae 003092 nrtn positive 
+0x35af 003093 force type_dh5 ,type 
+0x35b0 003094 rtn 
+:      003103 slave_receive_master_slot:
+0x35b1 003104 fetch 1 ,mem_state 
+0x35b2 003105 bbit0 state_insniff ,slave_receive_notsniff 
+0x35b3 003106 fetch 2 ,mem_tsniff 
+0x35b4 003107 branch slave_receive_notsniff ,blank 
+0x35b5 003108 nbranch slave_receive_sniff ,attempt 
+:      003109 slave_receive_notsniff:
+0x35b6 003110 call rf_setup_time_master_slot 
+:      003111 slave_receive_access:
+0x35b7 003112 add clke_bt ,1 ,bt_clk 
+:      003113 slave_receive_sniff:
+0x35b8 003114 enable swfine 
+0x35b9 003115 fetch 2 ,mem_rx_window 
+0x35ba 003116 rshift pdata ,pdata 
+0x35bb 003117 arg param_pll_setup ,temp 
+0x35bc 003118 iadd temp ,pdata 
+0x35bd 003119 call ahead_window 
+0x35be 003120 call fetch_extm_bt_adr 
+0x35bf 003121 force 0x03 ,freq_mode 
+0x35c0 003122 call rx_radio_freq 
+0x35c1 003123 call init_rx_packet_flags 
+0x35c2 003124 call prep_crypt 
+0x35c3 003125 set0 mark_ext_patch ,mark 
+0x35c4 003126 bpatch patch0a_5 ,mem_patch0a 
+0x35c5 003127 fetch 2 ,mem_rx_window 
+0x35c6 003128 rshift pdata ,pdata 
+0x35c7 003129 call ahead_window 
+0x35c8 003130 call start_receiver 
+0x35c9 003131 enable decode_fec0 
+0x35ca 003132 fetch 2 ,mem_rx_window 
+0x35cb 003133 arg param_clke_cal ,temp 
+0x35cc 003134 iadd temp ,stop_watch 
+0x35cd 003135 correlate null ,timeout 
+0x35ce 003136 copy clke ,temp 
+0x35cf 003137 storet 6 ,mem_sync_clke 
+0x35d0 003138 disable decode_fec0 
+0x35d1 003139 nrtn sync 
+0x35d2 003140 arg param_clke_cal ,clke_rt 
+0x35d3 003141 copy bt_clk ,clke_bt 
+0x35d4 003142 branch lpm_adjust_clk ,wake 
+0x35d5 003143 rtn 
+:      003146 slave_conn_recv_packet:
+0x35d6 003147 set0 mark_ext_patch ,mark 
+0x35d7 003148 bpatch patch0a_6 ,mem_patch0a 
+0x35d8 003149 call slave_receive_master_slot 
+0x35d9 003150 nbranch shutdown_radio ,sync 
+0x35da 003151 call save_rssi 
+0x35db 003152 bmark0 mark_testmode ,receive_packet 
+0x35dc 003153 fetch 2 ,mem_tst_pktcnt_sync 
+0x35dd 003154 increase 1 ,pdata 
+0x35de 003155 store 2 ,mem_tst_pktcnt_sync 
+:      003156 receive_packet:
+0x35df 003157 rshift bt_clk ,temp 
+0x35e0 003158 or temp ,0x40 ,white_init 
+:      003159 receive_packet_whitened:
+0x35e1 003160 set0 mark_ext_patch ,mark 
+0x35e2 003161 bpatch patch0a_7 ,mem_patch0a 
+0x35e3 003162 enable enable_white 
+0x35e4 003163 enable enable_hec 
+0x35e5 003164 enable decode_fec1 
+0x35e6 003165 parse demod ,bucket ,3 
+0x35e7 003166 rshift8 pwindow ,pdata 
+0x35e8 003167 store 1 ,mem_temp_am_addr 
+0x35e9 003168 parse demod ,bucket ,4 
+0x35ea 003169 inject bucket ,7 
+0x35eb 003170 copy pwindow ,pdata 
+0x35ec 003171 store 1 ,mem_rx_type 
+0x35ed 003172 parse demod ,bucket ,3 
+0x35ee 003173 rshift8 pwindow ,pdata 
+0x35ef 003174 store 1 ,mem_temp_arq 
+0x35f0 003175 fetch 1 ,mem_rx_type 
+0x35f1 003176 sub pdata ,3 ,null 
+0x35f2 003177 branch receive_packet_noedr ,positive 
+0x35f3 003178 beq 7 ,receive_packet_noedr 
+0x35f4 003179 fetch 1 ,mem_state_map 
+0x35f5 003180 isolate1 smap_edr ,pdata 
+0x35f6 003181 setflag true ,psk ,radio_ctrl 
+:      003182 receive_packet_noedr:
+0x35f7 003183 set0 mark_ext_patch ,mark 
+0x35f8 003184 bpatch patch0b_0 ,mem_patch0b 
+0x35f9 003185 parse demod ,bucket ,8 
+0x35fa 003186 disable decode_fec1 
+0x35fb 003187 disable enable_hec 
+0x35fc 003188 branch error_header ,crc_failed 
+0x35fd 003189 bmark0 mark_testmode ,receive_packet_amchk 
+0x35fe 003190 fetch 2 ,mem_tst_pktcnt_hec 
+0x35ff 003191 increase 1 ,pdata 
+0x3600 003192 store 2 ,mem_tst_pktcnt_hec 
+:      003193 receive_packet_amchk:
+0x3601 003194 set0 mark_ext_patch ,mark 
+0x3602 003195 bpatch patch0b_1 ,mem_patch0b 
+0x3603 003196 fetch 1 ,mem_temp_am_addr 
+0x3604 003197 compare 0 ,pdata ,0x07 
+0x3605 003198 setflag true ,mark_am_addr_broadcast ,mark 
+0x3606 003199 branch am_addr_ok ,true 
+0x3607 003200 icompare 0x07 ,am_addr 
+0x3608 003201 branch am_addr_match ,true 
+0x3609 003202 bmark0 mark_esco ,end_of_packet 
+0x360a 003203 fetcht 1 ,mem_saved_amaddr 
+0x360b 003204 icompare 0x7 ,temp 
+0x360c 003205 nbranch end_of_packet ,true 
+0x360d 003206 call restore_esco 
+0x360e 003207 fetch 1 ,mem_arq 
+0x360f 003208 set0 arqnx ,pdata 
+0x3610 003209 set1 flowx ,pdata 
+0x3611 003210 store 1 ,mem_arq 
+:      003211 am_addr_match:
+0x3612 003212 enable match 
+:      003213 am_addr_ok:
+0x3613 003214 set0 mark_ext_patch ,mark 
+0x3614 003215 bpatch patch0b_2 ,mem_patch0b 
+0x3615 003216 fetch 1 ,mem_rx_type 
+0x3616 003217 icopy type 
+0x3617 003218 bmark1 mark_am_addr_broadcast ,arqn_bypass 
+0x3618 003219 fetcht 1 ,mem_temp_arq 
+0x3619 003220 fetch 1 ,mem_arq 
+0x361a 003221 set0 flow ,pdata 
+0x361b 003222 isolate1 flow ,temp 
+0x361c 003223 setflag true ,flow ,pdata 
+0x361d 003224 isolate1 arqn ,temp 
+0x361e 003225 setflag true ,arqn ,pdata 
+0x361f 003226 store 1 ,mem_arq 
+0x3620 003227 isolate0 arqn ,temp 
+0x3621 003228 branch arqn_bypass ,true 
+0x3622 003229 call clear_got_tx 
+:      003230 arqn_bypass:
+0x3623 003231 set0 mark_ext_patch ,mark 
+0x3624 003232 bpatch patch0b_3 ,mem_patch0b 
+0x3625 003233 arg 0 ,temp 
+0x3626 003234 call reserve_slot 
+0x3627 003235 and type ,0xf ,pdata 
+0x3628 003236 beq type_poll ,process_poll 
+0x3629 003237 beq type_null ,end_of_packet 
+0x362a 003238 beq type_fhs ,process_fhs 
+0x362b 003239 fetcht 1 ,mem_temp_arq 
+0x362c 003240 fetch 1 ,mem_arq 
+0x362d 003241 icompare 0x04 ,temp 
+0x362e 003242 nbranch rx_type_dispatch ,true 
+0x362f 003243 bmark0 mark_am_addr_broadcast ,failed_seqn 
+0x3630 003244 bbit0 bcast1 ,rx_type_dispatch 
+:      003245 failed_seqn:
+0x3631 003246 set1 mark_old_packet ,mark 
+:      003247 rx_type_dispatch:
+0x3632 003248 set0 mark_ext_patch ,mark 
+0x3633 003249 bpatch patch0b_4 ,mem_patch0b 
+0x3634 003250 deposit type 
+0x3635 003251 beq type_dm1 ,process_dm1 
+0x3636 003252 beq type_dh1 ,process_dh1 
+0x3637 003253 beq type_hv3 ,process_hev 
+0x3638 003254 beq type_3dh1 ,process_3dh1 
+0x3639 003255 arg 4 ,temp 
+0x363a 003256 call reserve_slot 
+0x363b 003257 beq type_dm3 ,process_dm3 
+0x363c 003258 beq type_dh3 ,process_dh3 
+0x363d 003259 arg 8 ,temp 
+0x363e 003260 call reserve_slot 
+0x363f 003261 beq type_dm5 ,process_dm5 
+0x3640 003262 beq type_dh5 ,process_dh5 
+0x3641 003263 rtn 
+:      003266 process_hev:
+0x3642 003267 set0 mark_ext_patch ,mark 
+0x3643 003268 bpatch patch0b_5 ,mem_patch0b 
+0x3644 003269 enable decode_fec0 
+0x3645 003270 enable enable_crc 
+0x3646 003271 enable encrypt 
+0x3647 003272 arg mem_sco_ibuf ,contw 
+0x3648 003273 force 30 ,loopcnt 
+:      003274 process_hev_loop:
+0x3649 003275 parse demod ,bucket ,8 
+0x364a 003276 rshift3 pwindow ,pdata 
+0x364b 003277 istore 1 ,contw 
+0x364c 003278 loop process_hev_loop 
+0x364d 003279 bmark0 mark_esco ,end_of_packet 
+0x364e 003280 parse demod ,bucket ,16 
+0x364f 003281 nsetflag crc_failed ,mark_esco_rxok ,mark 
+0x3650 003282 call test_esco ,crc_failed 
+0x3651 003283 branch error_payload ,crc_failed 
+0x3652 003284 branch ack_payload 
+:      003286 test_esco:
+0x3653 003287 deposit clke 
+0x3654 003288 store 6 ,mem_display 
+0x3655 003289 rtn 
+:      003291 process_poll:
+0x3656 003292 branch end_of_packet 
+:      003294 process_dm3:
+:      003295 process_dm5:
+0x3657 003296 set1 mark_longpacket ,mark 
+:      003297 process_dm1:
+0x3658 003298 enable decode_fec2 
+0x3659 003299 branch process_dmh 
+:      003301 process_dh3:
+:      003302 process_dh5:
+0x365a 003303 set1 mark_longpacket ,mark 
+:      003304 process_3dh1:
+0x365b 003305 set1 psk3m ,radio_ctrl 
+:      003306 process_dh1:
+0x365c 003307 enable decode_fec0 
+:      003308 process_dmh:
+0x365d 003309 set0 mark_ext_patch ,mark 
+0x365e 003310 bpatch patch0b_6 ,mem_patch0b 
+0x365f 003311 bmark1 mark_rxbuf_inuse ,end_of_packet 
+0x3660 003312 isolate0 psk ,radio_ctrl 
+0x3661 003313 branch process_dmh_noedr ,true 
+0x3662 003314 disable enable_white 
+0x3663 003315 enable decode_fec0 
+0x3664 003316 disable decode_fec2 
+0x3665 003317 add clkn_bt ,2 ,timeup 
+0x3666 003318 correlate clkn_bt ,meet 
+0x3667 003319 nbranch error_payload ,sync 
+0x3668 003320 set1 mark_longpacket ,mark 
+0x3669 003321 enable enable_white 
+:      003322 process_dmh_noedr:
+0x366a 003323 set0 mark_ext_patch ,mark 
+0x366b 003324 bpatch patch0b_7 ,mem_patch0b 
+0x366c 003325 enable encrypt 
+0x366d 003326 enable enable_crc 
+0x366e 003327 parse demod ,bucket ,3 
+0x366f 003328 rshift8 pwindow ,pdata 
+0x3670 003329 store 1 ,mem_lch_code 
+0x3671 003330 parse demod ,bucket ,5 
+0x3672 003331 bmark1 mark_longpacket ,process_dmh_long 
+0x3673 003332 rshift3 pwindow ,loopcnt 
+0x3674 003333 rshift3 loopcnt ,loopcnt 
+0x3675 003334 branch process_dmh_common 
+:      003335 process_dmh_long:
+0x3676 003336 parse demod ,bucket ,5 
+0x3677 003337 rshift pwindow ,loopcnt 
+0x3678 003338 parse demod ,bucket ,3 
+:      003339 process_dmh_common:
+0x3679 003340 set0 mark_ext_patch ,mark 
+0x367a 003341 bpatch patch0c_0 ,mem_patch0c 
+0x367b 003342 deposit loopcnt 
+0x367c 003343 store 2 ,mem_len 
+0x367d 003344 branch process_dmh_data_end ,blank 
+0x367e 003345 isub mask3ff ,null 
+0x367f 003346 branch error_payload ,positive 
+0x3680 003347 set0 mark_ext_patch ,mark 
+0x3681 003348 bpatch patch0c_1 ,mem_patch0c 
+0x3682 003349 set0 mark_fhs_eir ,mark 
+0x3683 003350 fetch 1 ,mem_lch_code 
+0x3684 003351 and_into 0x03 ,pdata 
+0x3685 003352 arg mem_rxbuf ,contw 
+0x3686 003353 beq llid_lmp ,process_lmp 
+0x3687 003354 bmark1 mark_testmode ,process_dmh_data 
+0x3688 003355 fetch 1 ,mem_device_option 
+0x3689 003356 beq dvc_op_hci ,process_dmh_acl 
+0x368a 003358 fetch 1 ,mem_lch_code 
+0x368b 003359 and_into 0x03 ,pdata 
+0x368c 003360 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+0x368d 003361 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+0x368e 003362 branch error_payload 
+:      003364 process_lmp:
+0x368f 003365 fetch 2 ,mem_len 
+0x3690 003366 sub pdata ,0x70 ,null 
+0x3691 003367 nbranch error_payload ,positive 
+0x3692 003368 bmark1 mark_old_packet ,ack_payload 
+0x3693 003369 branch process_dmh_data 
+:      003371 process_dmh_acl:
+0x3694 003372 set0 mark_ext_patch ,mark 
+0x3695 003373 bpatch patch0c_2 ,mem_patch0c 
+0x3696 003374 bmark1 mark_old_packet ,ack_payload 
+0x3697 003375 fetch 2 ,mem_len 
+0x3698 003376 branch error_payload ,blank 
+0x3699 003377 call hci_check_bcsp_protocol 
+0x369a 003378 nbranch process_dmh_acl_check_h4_buff ,true 
+:      003379 process_dmh_acl_bcsp:
+0x369b 003380 fetcht 2 ,mem_h5tx_free 
+0x369c 003381 increase 10 ,pdata 
+0x369d 003382 isub temp ,null 
+0x369e 003383 nbranch process_dmh_acl_packet ,positive 
+0x369f 003384 call hci_dispatch 
+0x36a0 003385 branch process_dmh_acl_bcsp 
+:      003386 process_dmh_acl_check_h4_buff:
+0x36a1 003387 hfetch 2 ,core_uart_txitems 
+0x36a2 003388 arg 300 ,temp 
+0x36a3 003389 isub temp ,null 
+0x36a4 003390 branch error_payload ,positive 
+0x36a5 003391 fetch 2 ,mem_acl_credits 
+0x36a6 003392 branch error_payload ,blank 
+:      003393 process_dmh_acl_packet:
+0x36a7 003394 set0 mark_ext_patch ,mark 
+0x36a8 003395 bpatch patch0c_3 ,mem_patch0c 
+0x36a9 003396 call hci_get_packet_ptr 
+0x36aa 003397 fetch 1 ,mem_conn_handle 
+0x36ab 003398 fetcht 1 ,mem_lch_code 
+0x36ac 003399 and_into 3 ,temp 
+0x36ad 003400 lshift8 temp ,temp 
+0x36ae 003401 lshift4 temp ,temp 
+0x36af 003402 ior temp ,pdata 
+0x36b0 003403 istore 2 ,contwu 
+0x36b1 003404 fetcht 2 ,mem_len 
+0x36b2 003405 copy temp ,loopcnt 
+0x36b3 003406 istoret 2 ,contwu 
+:      003407 process_dmh_acl_copy:
+0x36b4 003408 set0 mark_ext_patch ,mark 
+0x36b5 003409 bpatch patch0c_4 ,mem_patch0c 
+0x36b6 003410 parse demod ,bucket ,8 
+0x36b7 003411 rshift3 pwindow ,pdata 
+0x36b8 003412 istore 1 ,contwu 
+0x36b9 003413 loop process_dmh_acl_copy 
+0x36ba 003414 add temp ,4 ,loopcnt 
+0x36bb 003415 call hci_check_bcsp_protocol 
+0x36bc 003416 nbranch process_dmh_acl_send_h4 ,true 
+0x36bd 003417 set1 mark_h5tx_rp ,mark 
+0x36be 003418 force 6 ,queue 
+0x36bf 003419 call bcsp_send_packet 
+0x36c0 003420 branch process_dmh_data_end 
+:      003421 process_dmh_acl_send_h4:
+0x36c1 003422 call h4_send_packet_acl 
+0x36c2 003423 branch process_dmh_data_end 
+:      003425 process_dmh_data_l2cap_start_pkt:
+0x36c3 003426 set0 mark_ext_patch ,mark 
+0x36c4 003427 bpatch patch0c_5 ,mem_patch0c 
+0x36c5 003428 bmark1 mark_old_packet ,ack_payload 
+0x36c6 003429 fetch 2 ,mem_len 
+0x36c7 003430 arg 0x2e0 ,temp 
+0x36c8 003431 isub temp ,null 
+0x36c9 003432 branch error_payload ,positive 
+0x36ca 003433 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x36cb 003434 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+0x36cc 003435 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+0x36cd 003436 branch end_of_packet 
+:      003437 process_dmh_data_into_buff1:
+0x36ce 003438 jam 1 ,mem_l2cap_rxbuff_new 
+0x36cf 003439 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x36d0 003440 bne 0 ,end_of_packet 
+0x36d1 003441 arg mem_l2cap_rxbuff1 ,contw 
+0x36d2 003442 branch process_dmh_data 
+:      003443 process_dmh_data_into_buff2:
+0x36d3 003444 jam 2 ,mem_l2cap_rxbuff_new 
+0x36d4 003445 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x36d5 003446 bne 0 ,end_of_packet 
+0x36d6 003447 arg mem_l2cap_rxbuff2 ,contw 
+0x36d7 003448 branch process_dmh_data 
+:      003450 process_dmh_data_l2cap_continue_pkt:
+0x36d8 003451 set0 mark_ext_patch ,mark 
+0x36d9 003452 bpatch patch0c_6 ,mem_patch0c 
+0x36da 003453 bmark1 mark_old_packet ,ack_payload 
+0x36db 003454 fetch 2 ,mem_len 
+0x36dc 003455 arg 0x2e0 ,temp 
+0x36dd 003456 isub temp ,null 
+0x36de 003457 branch error_payload ,positive 
+0x36df 003458 fetch 1 ,mem_l2cap_rxbuff_new 
+0x36e0 003459 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+0x36e1 003460 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+0x36e2 003461 branch end_of_packet 
+:      003462 process_dmh_data_l2cap_continue_pkt1:
+0x36e3 003463 arg mem_l2cap_rxbuff1 ,contw 
+0x36e4 003464 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x36e5 003465 iadd contw ,contw 
+0x36e6 003466 branch process_dmh_data 
+:      003467 process_dmh_data_l2cap_continue_pkt2:
+0x36e7 003468 arg mem_l2cap_rxbuff2 ,contw 
+0x36e8 003469 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x36e9 003470 iadd contw ,contw 
+:      003471 process_dmh_data:
+0x36ea 003472 parse demod ,bucket ,8 
+0x36eb 003473 rshift3 pwindow ,pdata 
+0x36ec 003474 istore 1 ,contw 
+0x36ed 003475 loop process_dmh_data 
+:      003476 process_dmh_data_end:
+0x36ee 003477 set0 mark_ext_patch ,mark 
+0x36ef 003478 bpatch patch0c_7 ,mem_patch0c 
+0x36f0 003479 parse demod ,bucket ,16 
+0x36f1 003480 branch error_payload_crc ,crc_failed 
+0x36f2 003481 call lpm_hci_wake_dispatch 
+0x36f3 003482 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+0x36f4 003483 beq l2cap_flow_ctrl_enable ,end_of_packet 
+0x36f5 003484 bmark1 mark_testmode ,process_dmh_cont 
+0x36f6 003485 bmark1 mark_old_packet ,redundant_payload 
+0x36f7 003486 fetch 1 ,mem_lch_code 
+0x36f8 003487 compare 3 ,pdata ,3 
+0x36f9 003488 branch process_dmh_cont ,true 
+0x36fa 003489 fetch 2 ,mem_len 
+0x36fb 003490 branch process_dmh_cont ,blank 
+0x36fc 003491 fetch 1 ,mem_device_option 
+0x36fd 003492 beq dvc_op_hci ,process_dmh_cont 
+0x36fe 003493 set0 mark_ext_patch ,mark 
+0x36ff 003494 bpatch patch0d_0 ,mem_patch0d 
+0x3700 003495 fetch 1 ,mem_l2cap_rxbuff_new 
+0x3701 003496 beq 1 ,process_l2cap_pass_crc_buff1 
+0x3702 003497 beq 2 ,process_l2cap_pass_crc_buff2 
+0x3703 003498 branch assert 
+:      003499 process_l2cap_pass_crc_buff1:
+0x3704 003500 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x3705 003501 fetcht 2 ,mem_len 
+0x3706 003502 iadd temp ,pdata 
+0x3707 003503 store 2 ,mem_l2cap_rxbuff1_len 
+0x3708 003504 beq 0 ,assert 
+0x3709 003505 fetcht 2 ,mem_l2cap_rxbuff1 
+0x370a 003506 increase 4 ,temp 
+0x370b 003507 isub temp ,null 
+0x370c 003508 call l2cap_buff1_inuse ,zero 
+0x370d 003509 branch process_dmh_cont 
+:      003510 process_l2cap_pass_crc_buff2:
+0x370e 003511 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x370f 003512 fetcht 2 ,mem_len 
+0x3710 003513 iadd temp ,pdata 
+0x3711 003514 store 2 ,mem_l2cap_rxbuff2_len 
+0x3712 003515 beq 0 ,assert 
+0x3713 003516 fetcht 2 ,mem_l2cap_rxbuff2 
+0x3714 003517 add temp ,4 ,temp 
+0x3715 003518 isub temp ,null 
+0x3716 003519 call l2cap_buff2_inuse ,zero 
+0x3717 003520 branch process_dmh_cont 
+:      003521 process_dmh_cont:
+0x3718 003522 set0 mark_ext_patch ,mark 
+0x3719 003523 bpatch patch0d_1 ,mem_patch0d 
+0x371a 003524 fetcht 1 ,mem_state_map 
+0x371b 003525 fetch 1 ,mem_lch_code 
+0x371c 003526 compare 3 ,pdata ,0x03 
+0x371d 003527 setflag true ,smap_rxlmp ,temp 
+0x371e 003528 nsetflag true ,smap_rxl2cap ,temp 
+0x371f 003529 storet 1 ,mem_state_map 
+0x3720 003530 nbranch process_dmh_cont_rxbuf_not_use ,true 
+0x3721 003531 set1 mark_rxbuf_inuse ,mark 
+:      003532 process_dmh_cont_rxbuf_not_use:
+0x3722 003533 bmark0 mark_testmode ,ack_payload 
+0x3723 003534 isolate1 smap_rxlmp ,temp 
+0x3724 003535 branch ack_payload ,true 
+0x3725 003536 fetch 2 ,mem_tst_pktcnt_crc 
+0x3726 003537 increase 1 ,pdata 
+0x3727 003538 store 2 ,mem_tst_pktcnt_crc 
+0x3728 003539 set1 mark_loopback ,mark 
+0x3729 003540 set0 smap_rxl2cap ,temp 
+0x372a 003541 set0 mark_rxbuf_inuse ,mark 
+0x372b 003542 storet 1 ,mem_state_map 
+:      003543 ack_payload:
+0x372c 003544 set0 mark_ext_patch ,mark 
+0x372d 003545 bpatch patch0d_2 ,mem_patch0d 
+0x372e 003546 fetcht 1 ,mem_temp_arq 
+0x372f 003547 fetch 1 ,mem_arq 
+0x3730 003548 set1 arqnx ,pdata 
+0x3731 003549 isolate1 seqn ,temp 
+0x3732 003550 setflag true ,seqn ,pdata 
+0x3733 003551 isolate1 mark_am_addr_broadcast ,mark 
+0x3734 003552 setflag true ,bcast1 ,pdata 
+0x3735 003553 store 1 ,mem_arq 
+0x3736 003554 fetch 2 ,mem_len 
+0x3737 003555 nbranch end_of_packet ,blank 
+0x3738 003556 fetch 1 ,mem_state_map 
+0x3739 003557 set0 smap_rxl2cap ,pdata 
+0x373a 003558 store 1 ,mem_state_map 
+0x373b 003559 fetch 1 ,mem_lch_code 
+0x373c 003560 compare 0x01 ,pdata ,0x07 
+0x373d 003562 branch end_of_packet 
+:      003564 error_header:
+0x373e 003565 set0 mark_ext_patch ,mark 
+0x373f 003566 bpatch patch0d_3 ,mem_patch0d 
+0x3740 003567 disable match 
+0x3741 003568 fetch 2 ,mem_rx_hec_err 
+0x3742 003569 increase 1 ,pdata 
+0x3743 003570 store 2 ,mem_rx_hec_err 
+0x3744 003571 branch end_of_packet 
+:      003572 error_payload_crc:
+0x3745 003573 fetch 2 ,mem_rx_crc_err 
+0x3746 003574 increase 1 ,pdata 
+0x3747 003575 store 2 ,mem_rx_crc_err 
+0x3748 003576 call discard_pkt 
+0x3749 003577 bmark0 mark_testmode ,error_payload 
+0x374a 003578 set1 mark_loopback ,mark 
+:      003579 error_payload:
+0x374b 003580 branch end_of_packet 
+:      003582 discard_pkt:
+0x374c 003583 set0 mark_ext_patch ,mark 
+0x374d 003584 bpatch patch0d_4 ,mem_patch0d 
+0x374e 003585 fetch 1 ,mem_lch_code 
+0x374f 003586 compare 3 ,pdata ,0x03 
+0x3750 003587 nbranch discard_pkt_l2cap ,true 
+:      003588 discard_pkt_lmp:
+0x3751 003589 fetcht 1 ,mem_state_map 
+0x3752 003590 set0 smap_rxlmp ,temp 
+0x3753 003591 storet 1 ,mem_state_map 
+0x3754 003592 rtn 
+:      003593 discard_pkt_l2cap:
+0x3755 003596 fetcht 1 ,mem_state_map 
+0x3756 003597 set0 smap_rxl2cap ,temp 
+0x3757 003598 storet 1 ,mem_state_map 
+0x3758 003599 branch h4_send_acl_trigger_clear 
+:      003601 redundant_payload:
+0x3759 003602 fetch 1 ,mem_arq 
+0x375a 003603 set1 arqnx ,pdata 
+0x375b 003604 store 1 ,mem_arq 
+:      003605 end_of_packet:
+0x375c 003606 set0 mark_ext_patch ,mark 
+0x375d 003607 bpatch patch0d_5 ,mem_patch0d 
+0x375e 003608 disable encode_fec0 
+0x375f 003609 disable encode_fec2 
+0x3760 003610 disable decode_fec0 
+0x3761 003611 disable decode_fec2 
+0x3762 003612 disable enable_crc 
+0x3763 003613 disable encrypt 
+0x3764 003614 disable enable_white 
+0x3765 003615 branch shutdown_radio ,is_rx 
+0x3766 003616 until null ,tx_clear 
+0x3767 003617 nop 100 
+0x3768 003618 branch shutdown_radio 
+:      003620 process_fhs:
+0x3769 003621 set0 mark_ext_patch ,mark 
+0x376a 003622 bpatch patch0d_6 ,mem_patch0d 
+0x376b 003623 enable enable_crc 
+0x376c 003624 enable decode_fec2 
+0x376d 003625 parse demod ,bucket ,72 
+0x376e 003626 isolate1 58 ,pdata 
+0x376f 003627 setflag true ,mark_fhs_eir ,mark 
+0x3770 003628 copy bt_adr ,temp 
+0x3771 003629 ialigned bt_adr 
+0x3772 003630 ialigned fhs0 
+0x3773 003631 pulse recalc 
+0x3774 003632 setsect 2 ,0xfffff 
+0x3775 003633 setsect 3 ,0x0ffff 
+0x3776 003634 nop 32 
+0x3777 003635 iverify fhs_parity 
+0x3778 003636 deposit lap 
+0x3779 003637 store 3 ,extm_lap 
+0x377a 003638 deposit uap 
+0x377b 003639 store 1 ,extm_uap 
+0x377c 003640 copy temp ,bt_adr 
+0x377d 003641 branch fhs_parity_ok ,true 
+0x377e 003642 branch error_payload 
+:      003643 fhs_parity_ok:
+0x377f 003644 set0 mark_ext_patch ,mark 
+0x3780 003645 bpatch patch0d_7 ,mem_patch0d 
+0x3781 003646 parse demod ,bucket ,72 
+0x3782 003647 ialigned fhs1 
+0x3783 003648 ialigned am_addr 
+0x3784 003649 ialigned nap 
+0x3785 003650 ialigned regb 
+0x3786 003651 force 0 ,pdata 
+0x3787 003652 parse demod ,bucket ,16 
+0x3788 003653 branch error_payload ,crc_failed 
+0x3789 003654 setarg 0x0ffffffc 
+0x378a 003655 iand regb ,pdata 
+0x378b 003656 store 4 ,mem_clke_bt 
+0x378c 003657 deposit fhs_class 
+0x378d 003658 store 3 ,extm_class 
+0x378e 003659 deposit fhs_misc 
+0x378f 003660 store 1 ,extm_fhs_misc 
+0x3790 003661 deposit am_addr 
+0x3791 003662 store 1 ,extm_newconn_am_addr 
+0x3792 003663 deposit nap 
+0x3793 003664 store 2 ,extm_nap 
+0x3794 003665 deposit bt_clk 
+0x3795 003666 inject rxf ,32 
+0x3796 003667 compare type_fhs ,type ,0x0f 
+0x3797 003668 setflag true ,mark_fhs_already_good ,mark 
+0x3798 003669 branch end_of_packet 
+:      003671 clear_got_tx:
+0x3799 003672 set0 mark_ext_patch ,mark 
+0x379a 003673 bpatch patch0e_0 ,mem_patch0e 
+0x379b 003674 fetch 1 ,mem_arq 
+0x379c 003675 rtnbit0 wack 
+0x379d 003676 set0 wack ,pdata 
+0x379e 003677 setflip seqnx ,pdata 
+0x379f 003678 store 1 ,mem_arq 
+0x37a0 003679 fetch 1 ,mem_last_type 
+0x37a1 003680 beq type_lmp ,clear_got_txlmp 
+0x37a2 003681 rtneq type_hv3 
+0x37a3 003682 fetch 1 ,mem_op 
+0x37a4 003683 rtnbit0 op_txl2cap ,pdata 
+0x37a5 003684 set0 op_txl2cap ,pdata 
+0x37a6 003685 set1 op_pkt_comp ,pdata 
+0x37a7 003686 store 1 ,mem_op 
+0x37a8 003687 set0 mark_tx_l2cap ,mark 
+0x37a9 003688 fetch 1 ,mem_device_option 
+0x37aa 003689 rtneq dvc_op_hci 
+0x37ab 003690 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x37ac 003691 nrtn blank 
+0x37ad 003692 fetch 1 ,mem_op 
+0x37ae 003693 set0 op_pkt_comp ,pdata 
+0x37af 003694 store 1 ,mem_op 
+0x37b0 003695 branch l2cap_malloc_free 
+:      003697 clear_got_txlmp:
+0x37b1 003698 set0 mark_ext_patch ,mark 
+0x37b2 003699 bpatch patch0e_1 ,mem_patch0e 
+0x37b3 003700 fetch 1 ,mem_lmo_header_opcode 
+0x37b4 003701 rshift pdata ,pdata 
+0x37b5 003702 beq lmp_start_encryption_req ,start_encryption 
+0x37b6 003703 beq lmp_stop_encryption_req ,stop_encryption 
+0x37b7 003704 beq lmp_unsniff_req ,sniff_exit 
+0x37b8 003705 beq lmp_escape ,clear_lmp_escape 
+0x37b9 003706 beq lmp_remove_sco_link_req ,stop_sco 
+0x37ba 003707 rtnne lmp_accepted 
+0x37bb 003708 fetch 1 ,mem_lmo_payload 
+0x37bc 003709 beq lmp_sco_link_req ,sco_link_req_by_slave 
+0x37bd 003710 beq lmp_start_encryption_req ,clear_send_setup_complete 
+0x37be 003711 rtn 
+:      003713 clear_lmp_escape:
+0x37bf 003714 fetch 1 ,mem_lmo_payload 
+0x37c0 003715 set1 7 ,pdata 
+0x37c1 003716 beq lmp_ext_remove_esco_req ,stop_sco 
+0x37c2 003717 rtn 
+:      003718 clear_send_setup_complete:
+0x37c3 003719 rtn master 
+0x37c4 003720 fetch 1 ,mem_state 
+0x37c5 003721 rtnbit1 state_conn_comp 
+0x37c6 003722 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x37c7 003723 rtn 
+:      003726 sco_link_req_by_slave:
+0x37c8 003727 rtn master 
+0x37c9 003728 fetch 1 ,mem_mode 
+0x37ca 003729 isolate1 send_sco_when_slave ,pdata 
+0x37cb 003730 branch clean_mem_mode ,true 
+0x37cc 003732 rtn 
+:      003733 clean_mem_mode:
+0x37cd 003734 set0 send_sco_when_slave ,pdata 
+0x37ce 003735 store 1 ,mem_mode 
+0x37cf 003736 rtn 
+:      003738 start_encryption:
+0x37d0 003739 set0 mark_ext_patch ,mark 
+0x37d1 003740 bpatch patch0e_2 ,mem_patch0e 
+0x37d2 003741 fetch 1 ,mem_state_map 
+0x37d3 003742 set1 smap_encryption ,pdata 
+0x37d4 003743 store 1 ,mem_state_map 
+0x37d5 003744 hjam 1 ,core_encrypt 
+0x37d6 003745 fetch 1 ,mem_state 
+0x37d7 003746 isolate1 state_conn_comp ,pdata 
+0x37d8 003747 branch hci_send_encryption_change ,true 
+0x37d9 003748 rtn 
+:      003750 stop_encryption:
+0x37da 003751 set0 mark_ext_patch ,mark 
+0x37db 003752 bpatch patch0e_3 ,mem_patch0e 
+0x37dc 003753 fetch 1 ,mem_state_map 
+0x37dd 003754 set0 smap_encryption ,pdata 
+0x37de 003755 store 1 ,mem_state_map 
+0x37df 003756 hjam 0 ,core_encrypt 
+0x37e0 003757 rtn 
+:      003760 sniff_init:
+0x37e1 003761 set0 mark_ext_patch ,mark 
+0x37e2 003762 bpatch patch0e_4 ,mem_patch0e 
+0x37e3 003763 copy clkn_bt ,pdata 
+0x37e4 003764 store 4 ,mem_lpm_delay_after_sniff 
+0x37e5 003765 add clkn_bt ,3 ,rega 
+0x37e6 003766 branch sniff_init_master ,master 
+0x37e7 003767 add clke_bt ,3 ,rega 
+:      003768 sniff_init_master:
+0x37e8 003769 fetcht 2 ,mem_tsniff 
+0x37e9 003770 deposit rega 
+0x37ea 003771 set0 27 ,pdata 
+0x37eb 003772 idiv temp 
+0x37ec 003773 fetch 2 ,mem_dsniff 
+0x37ed 003774 call wait_div_end 
+0x37ee 003775 remainder regc 
+0x37ef 003776 isub regc ,pdata 
+0x37f0 003777 branch sniff_init_nowrap ,positive 
+0x37f1 003778 iadd temp ,pdata 
+:      003779 sniff_init_nowrap:
+0x37f2 003780 iadd rega ,pdata 
+0x37f3 003781 store 4 ,mem_sniff_anchor 
+0x37f4 003782 jam switch_flag_init ,mem_switch_flag 
+0x37f5 003783 fetch 1 ,mem_state 
+0x37f6 003784 set1 state_insniff ,pdata 
+0x37f7 003785 store 1 ,mem_state 
+0x37f8 003786 fetch 1 ,mem_sniff_attempt 
+0x37f9 003787 store 1 ,mem_current_sniff_attempt 
+0x37fa 003788 jam 0x80 ,mem_seqi 
+0x37fb 003789 setarg 0 
+0x37fc 003790 store 3 ,mem_sniff_rcv 
+0x37fd 003791 store 3 ,mem_sniff_lost 
+0x37fe 003792 store 1 ,mem_sniff_unint_lost 
+0x37ff 003793 jam bt_evt_enter_sniff ,mem_fifo_temp 
+0x3800 003794 call ui_ipc_send_event 
+0x3801 003795 fetch 2 ,mem_rx_window_sniff 
+0x3802 003796 store 2 ,mem_rx_window 
+0x3803 003797 nrtn master 
+0x3804 003798 add am_addr ,-1 ,queue 
+0x3805 003799 rtn 
+:      003801 sniff_exit:
+0x3806 003802 set0 mark_ext_patch ,mark 
+0x3807 003803 bpatch patch0e_5 ,mem_patch0e 
+0x3808 003804 fetch 1 ,mem_state 
+0x3809 003805 rtnbit0 state_insniff 
+0x380a 003806 set0 state_insniff ,pdata 
+0x380b 003807 store 1 ,mem_state 
+0x380c 003808 jam 0x7f ,mem_seqi 
+0x380d 003809 fetch 2 ,mem_rx_window_init 
+0x380e 003810 store 2 ,mem_rx_window 
+0x380f 003811 disable wake 
+0x3810 003812 jam bt_evt_exit_sniff ,mem_fifo_temp 
+0x3811 003813 branch ui_ipc_send_event 
+:      003816 check_attempt:
+0x3812 003817 set0 mark_ext_patch ,mark 
+0x3813 003818 bpatch patch0e_6 ,mem_patch0e 
+0x3814 003819 enable attempt 
+0x3815 003820 fetch 1 ,mem_state 
+0x3816 003821 bbit1 state_insniff ,check_attempt_sniff 
+0x3817 003822 rtnmark1 mark_testmode 
+0x3818 003823 fetch 1 ,mem_arq 
+0x3819 003824 rtnbit1 wack 
+0x381a 003825 fetch 1 ,mem_lmp_to_send 
+0x381b 003826 nrtn blank 
+0x381c 003827 fetch 1 ,mem_op 
+0x381d 003828 rtnbit1 op_txl2cap 
+:      003829 check_attempt_nomore:
+0x381e 003830 force 0 ,pdata 
+0x381f 003831 rtn 
+:      003833 check_attempt_sniff:
+0x3820 003834 bbit0 state_insco ,check_attempt_not_sco 
+0x3821 003835 fetch 1 ,mem_current_sniff_attempt 
+0x3822 003836 beq 2 ,check_attempt_sniff_restore_sco 
+0x3823 003837 fetch 1 ,mem_arq 
+0x3824 003838 bbit1 wack ,check_attempt_notimeout 
+0x3825 003839 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+:      003840 check_attempt_sniff_restore_sco:
+0x3826 003841 call restore_esco 
+0x3827 003842 nbranch check_attempt_notimeout ,master 
+0x3828 003843 fetch 1 ,mem_lmp_to_send 
+0x3829 003844 nbranch check_attempt_notimeout ,blank 
+:      003845 check_attempt_sco_master:
+0x382a 003846 fetch 1 ,mem_sco_poll 
+0x382b 003847 increase -1 ,pdata 
+0x382c 003848 store 1 ,mem_sco_poll 
+0x382d 003849 nbranch check_attempt_nomore ,blank 
+0x382e 003850 jam param_sco_poll ,mem_sco_poll 
+0x382f 003851 branch check_attempt_notimeout 
+:      003853 check_attempt_not_sco:
+0x3830 003854 fetch 1 ,mem_current_sniff_attempt 
+0x3831 003855 bne 1 ,check_attempt_notimeout 
+0x3832 003856 fetch 1 ,mem_current_sniff_timeout 
+0x3833 003857 branch check_attempt_notimeout ,blank 
+0x3834 003858 increase -1 ,pdata 
+0x3835 003859 store 1 ,mem_current_sniff_timeout 
+0x3836 003860 fetch 1 ,mem_arq 
+0x3837 003861 rtnbit1 wack 
+0x3838 003862 nrtn match 
+:      003863 check_attempt_notimeout:
+0x3839 003864 fetch 1 ,mem_current_sniff_attempt 
+0x383a 003865 increase -1 ,pdata 
+0x383b 003866 store 1 ,mem_current_sniff_attempt 
+0x383c 003867 rtn 
+:      003870 sniff_check_window:
+0x383d 003871 set0 mark_ext_patch ,mark 
+0x383e 003872 bpatch patch0e_7 ,mem_patch0e 
+0x383f 003873 disable swfine 
+0x3840 003874 copy temp ,stop_watch 
+0x3841 003875 call context_search_sniff_window 
+0x3842 003876 disable user 
+0x3843 003877 nrtn zero 
+0x3844 003878 force 0 ,stop_watch 
+0x3845 003879 enable user 
+0x3846 003880 rtn 
+:      003883 check_esco_amaddr:
+0x3847 003884 fetch 1 ,mem_esco_addr 
+0x3848 003885 icompare 0xff ,am_addr 
+0x3849 003886 rtn 
+:      003888 play_sco:
+0x384a 003889 set0 mark_ext_patch ,mark 
+0x384b 003890 bpatch patch0f_0 ,mem_patch0f 
+0x384c 003891 jam 1 ,mem_max_slot 
+0x384d 003893 call enable_pcm 
+0x384e 003894 force 12 ,pdata 
+0x384f 003895 store 2 ,mem_tsniff 
+0x3850 003896 fetch 1 ,mem_esco_desco 
+0x3851 003897 lshift pdata ,pdata 
+0x3852 003898 store 2 ,mem_dsniff 
+0x3853 003899 fetch 1 ,mem_state 
+0x3854 003900 set1 state_insco ,pdata 
+0x3855 003901 store 1 ,mem_state 
+0x3856 003902 jam 3 ,mem_sniff_attempt 
+0x3857 003903 jam 3 ,mem_current_sniff_attempt 
+0x3858 003904 call sniff_init 
+0x3859 003905 force 0 ,temp 
+0x385a 003906 call hci_send_sco_complete 
+0x385b 003907 jam 0x50 ,mem_esco_arq 
+0x385c 003908 jam param_sco_poll ,mem_sco_poll 
+0x385d 003909 rtn 
+:      003911 stop_sco:
+0x385e 003912 set0 mark_ext_patch ,mark 
+0x385f 003913 bpatch patch0f_1 ,mem_patch0f 
+0x3860 003914 call sniff_exit 
+0x3861 003915 jam 5 ,mem_max_slot 
+0x3862 003917 call disable_pcm 
+0x3863 003918 fetch 1 ,mem_state 
+0x3864 003919 set0 state_insco ,pdata 
+0x3865 003920 store 1 ,mem_state 
+:      003921 stop_sco_hci:
+0x3866 003922 arg 0xe00 ,temp 
+0x3867 003923 jam hci_error_remote_user_ended_connection ,mem_hci_disconn_reason 
+0x3868 003924 branch hci_send_disconn_complete 
+:      003926 stop_esco:
+0x3869 003927 set0 mark_ext_patch ,mark 
+0x386a 003928 bpatch patch0f_2 ,mem_patch0f 
+0x386b 003929 jam default_neogotiation_state ,mem_neogotiation_state 
+0x386c 003930 call stop_sco 
+0x386d 003931 call restore_esco 
+0x386e 003932 set0 mark_esco ,mark 
+0x386f 003933 rtn 
+:      003935 parse_l2cap:
+0x3870 003936 set0 mark_ext_patch ,mark 
+0x3871 003937 bpatch patch0f_3 ,mem_patch0f 
+0x3872 003938 fetch 1 ,mem_device_option 
+0x3873 003939 beq dvc_op_hci ,parse_l2cap_hci 
+0x3874 003940 set0 mark_rxbuf_inuse ,mark 
+:      003941 parse_l2cap_cont:
+0x3875 003942 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0x3876 003943 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x3877 003944 rtn blank 
+0x3878 003945 isolate1 l2cap_inuse_buff1 ,pdata 
+0x3879 003946 arg mem_l2cap_rxbuff1 ,contr 
+0x387a 003947 call process_rx_l2cap_pkt ,true 
+0x387b 003948 set0 mark_ext_patch ,mark 
+0x387c 003949 bpatch patch0f_4 ,mem_patch0f 
+0x387d 003950 fetch 1 ,mem_l2cap_rx_done 
+0x387e 003951 beq l2cap_rx_done ,parse_l2cap_release_buff1 
+0x387f 003953 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0x3880 003954 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x3881 003955 rtnbit0 l2cap_inuse_buff2 
+0x3882 003956 arg mem_l2cap_rxbuff2 ,contr 
+0x3883 003957 call process_rx_l2cap_pkt 
+0x3884 003958 fetch 1 ,mem_l2cap_rx_done 
+0x3885 003959 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+0x3886 003960 rtn 
+:      003962 parse_l2cap_exit:
+0x3887 003963 fetch 1 ,mem_state_map 
+0x3888 003964 set0 smap_rxl2cap ,pdata 
+0x3889 003965 store 1 ,mem_state_map 
+0x388a 003966 set0 mark_rxbuf_inuse ,mark 
+0x388b 003967 branch h4_send_acl_trigger_clear 
+:      003969 parse_l2cap_release_buff1:
+0x388c 003970 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x388d 003971 set0 l2cap_inuse_buff1 ,pdata 
+0x388e 003972 store 1 ,mem_l2cap_rxbuff_inuse 
+0x388f 003973 setarg 0 
+0x3890 003974 store 2 ,mem_l2cap_rxbuff1_len 
+0x3891 003975 rtn 
+:      003976 parse_l2cap_release_buff2:
+0x3892 003977 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x3893 003978 set0 l2cap_inuse_buff2 ,pdata 
+0x3894 003979 store 1 ,mem_l2cap_rxbuff_inuse 
+0x3895 003980 setarg 0 
+0x3896 003981 store 2 ,mem_l2cap_rxbuff2_len 
+0x3897 003982 rtn 
+:      003984 parse_l2cap_hci:
+0x3898 003985 fetch 1 ,mem_state_map 
+0x3899 003986 rtnbit0 smap_rxl2cap ,pdata 
+0x389a 003987 call h4_send_acl_trigger 
+0x389b 003988 fetch 2 ,mem_acl_credits 
+0x389c 003989 branch assert ,blank 
+0x389d 003990 increase -1 ,pdata 
+0x389e 003991 store 2 ,mem_acl_credits 
+0x389f 003992 branch parse_l2cap_exit 
+:      003994 l2cap_buff1_inuse:
+0x38a0 003995 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x38a1 003996 set1 l2cap_inuse_buff1 ,pdata 
+0x38a2 003997 store 1 ,mem_l2cap_rxbuff_inuse 
+0x38a3 003998 rtn 
+:      004000 l2cap_buff2_inuse:
+0x38a4 004001 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x38a5 004002 set1 l2cap_inuse_buff2 ,pdata 
+0x38a6 004003 store 1 ,mem_l2cap_rxbuff_inuse 
+0x38a7 004004 rtn 
+:      004010 slave_send_access:
+0x38a8 004011 set0 mark_ext_patch ,mark 
+0x38a9 004012 bpatch patch0f_5 ,mem_patch0f 
+0x38aa 004013 add clke_bt ,1 ,bt_clk 
+0x38ab 004014 call fetch_extm_bt_adr 
+0x38ac 004015 force 0x03 ,freq_mode 
+0x38ad 004016 call tx_radio_freq 
+0x38ae 004017 call start_transmitter 
+0x38af 004018 call start_tx_external 
+0x38b0 004019 branch send_access_word 
+:      004022 slave_conn_send_packet:
+0x38b1 004023 set0 mark_ext_patch ,mark 
+0x38b2 004024 bpatch patch0f_6 ,mem_patch0f 
+0x38b3 004025 call rf_setup_time_slave_slot 
+0x38b4 004026 deposit clke_bt 
+0x38b5 004027 fetcht 4 ,mem_next_btclk 
+0x38b6 004028 isub temp ,pdata 
+0x38b7 004029 rtnne 1 
+0x38b8 004030 compare type_null ,type ,0x1f 
+0x38b9 004031 nbranch slave_conn_send_access ,true 
+0x38ba 004032 fetch 1 ,mem_rx_type 
+0x38bb 004033 rtn blank 
+:      004034 slave_conn_send_access:
+0x38bc 004035 call slave_send_access 
+0x38bd 004036 compare type_id ,type ,0x1f 
+0x38be 004037 branch end_of_packet ,true 
+:      004038 transmit_packet:
+0x38bf 004039 rshift bt_clk ,temp 
+0x38c0 004040 or temp ,0x40 ,white_init 
+:      004041 transmit_packet_whitened:
+0x38c1 004042 set0 mark_ext_patch ,mark 
+0x38c2 004043 bpatch patch0f_7 ,mem_patch0f 
+0x38c3 004044 enable enable_white 
+0x38c4 004045 enable enable_hec 
+0x38c5 004046 enable encode_fec1 
+0x38c6 004047 set0 mark_longpacket ,mark 
+0x38c7 004048 deposit am_addr 
+0x38c8 004049 inject mod ,3 
+0x38c9 004050 deposit type 
+0x38ca 004051 inject mod ,4 
+0x38cb 004052 fetch 1 ,mem_arq 
+0x38cc 004053 inject bucket ,4 
+0x38cd 004054 inject mod ,3 
+0x38ce 004055 enable enable_parity 
+0x38cf 004056 inject mod ,8 
+0x38d0 004057 disable encode_fec1 
+0x38d1 004058 disable enable_parity 
+0x38d2 004059 disable enable_hec 
+0x38d3 004060 set0 psk3m ,radio_ctrl 
+0x38d4 004061 arg 0 ,temp 
+0x38d5 004062 call reserve_slot 
+0x38d6 004063 set0 mark_ext_patch ,mark 
+0x38d7 004064 bpatch patch10_0 ,mem_patch10 
+0x38d8 004065 and type ,0x1f ,pdata 
+0x38d9 004066 beq type_lmp ,transmit_lmp 
+0x38da 004067 beq type_null ,end_of_packet 
+0x38db 004068 beq type_poll ,end_of_packet 
+0x38dc 004069 beq type_fhs ,transmit_fhs 
+0x38dd 004070 beq type_dm1 ,transmit_dm1 
+0x38de 004071 beq type_dh1 ,transmit_dh1 
+0x38df 004072 beq type_hv3 ,transmit_hev 
+0x38e0 004073 beq type_3dh1 ,transmit_3dh1 
+0x38e1 004074 arg 4 ,temp 
+0x38e2 004075 call reserve_slot 
+0x38e3 004076 beq type_dm3 ,transmit_dm3 
+0x38e4 004077 beq type_dh3 ,transmit_dh3 
+0x38e5 004078 arg 8 ,temp 
+0x38e6 004079 call reserve_slot 
+0x38e7 004080 beq type_dh5 ,transmit_dh5 
+0x38e8 004081 branch transmit_dm5 
+:      004084 transmit_hev:
+0x38e9 004085 set0 mark_ext_patch ,mark 
+0x38ea 004086 bpatch patch10_1 ,mem_patch10 
+0x38eb 004087 enable encode_fec0 
+0x38ec 004088 enable enable_crc 
+0x38ed 004089 enable encrypt 
+0x38ee 004090 force 30 ,loopcnt 
+0x38ef 004091 arg mem_sco_obuf ,contr 
+:      004092 transmit_ev_loop:
+0x38f0 004093 ifetch 1 ,contr 
+0x38f1 004094 inject mod ,8 
+0x38f2 004095 loop transmit_ev_loop 
+0x38f3 004096 bmark1 mark_esco ,transmit_end 
+0x38f4 004097 branch end_of_packet 
+:      004099 transmit_fhs:
+0x38f5 004100 set0 mark_ext_patch ,mark 
+0x38f6 004101 bpatch patch10_2 ,mem_patch10 
+0x38f7 004102 fetch 1 ,mem_fhs_am_addr 
+0x38f8 004103 icopy am_addr 
+0x38f9 004104 fetch 1 ,mem_fhs_misc 
+0x38fa 004105 icopy fhs_misc 
+0x38fb 004106 fetch 3 ,mem_class 
+0x38fc 004107 icopy fhs_class 
+0x38fd 004108 fetch 2 ,mem_nap 
+0x38fe 004109 icopy nap 
+0x38ff 004110 enable enable_crc 
+0x3900 004111 enable encode_fec2 
+0x3901 004112 copy bt_adr ,rega 
+0x3902 004113 call fetch_self_bt_adr 
+0x3903 004114 pulse recalc 
+0x3904 004115 nop 32 
+0x3905 004116 copy bt_clk ,timeup 
+0x3906 004117 fetch 4 ,mem_clkn_bt 
+0x3907 004118 icopy bt_clk 
+0x3908 004119 preload fhs0 
+0x3909 004120 set1 58 ,pdata 
+0x390a 004121 inject mod ,72 
+0x390b 004122 preload fhs1 
+0x390c 004123 inject mod ,72 
+0x390d 004124 copy timeup ,bt_clk 
+0x390e 004125 copy rega ,bt_adr 
+0x390f 004126 enable enable_parity 
+0x3910 004127 inject mod ,16 
+0x3911 004128 disable enable_parity 
+0x3912 004129 branch end_of_packet 
+:      004131 transmit_lmp:
+0x3913 004132 set0 mark_ext_patch ,mark 
+0x3914 004133 bpatch patch10_3 ,mem_patch10 
+0x3915 004134 enable encrypt 
+0x3916 004135 enable enable_crc 
+0x3917 004136 enable encode_fec2 
+0x3918 004137 fetch 1 ,mem_lmo_header_length 
+0x3919 004138 and pdata ,0x1f8 ,temp 
+0x391a 004139 arg mem_lmo_header_length ,contr 
+0x391b 004140 increase 8 ,temp 
+:      004141 transmit_lmp_loop:
+0x391c 004142 add temp ,-72 ,regc 
+0x391d 004143 nbranch transmit_lmp_finish ,positive 
+0x391e 004144 ifetch 9 ,contr 
+0x391f 004145 inject mod ,72 
+0x3920 004146 copy regc ,temp 
+0x3921 004147 branch transmit_lmp_loop 
+:      004148 transmit_lmp_finish:
+0x3922 004149 ifetch 9 ,contr 
+0x3923 004150 iinject mod ,temp 
+0x3924 004151 branch transmit_end 
+:      004153 transmit_dm1:
+0x3925 004154 enable encode_fec2 
+0x3926 004155 branch transmit_dmh 
+:      004156 transmit_dm3:
+:      004157 transmit_dm5:
+0x3927 004158 enable encode_fec2 
+0x3928 004159 set1 mark_longpacket ,mark 
+0x3929 004160 branch transmit_dmh 
+:      004162 transmit_3dh1:
+0x392a 004163 set1 psk3m ,radio_ctrl 
+:      004164 transmit_dh1:
+0x392b 004165 enable encode_fec0 
+0x392c 004166 branch transmit_dmh 
+:      004168 transmit_dh3:
+:      004169 transmit_dh5:
+0x392d 004170 set1 psk3m ,radio_ctrl 
+0x392e 004171 enable encode_fec0 
+0x392f 004172 set1 mark_longpacket ,mark 
+:      004174 transmit_dmh:
+0x3930 004175 set0 mark_ext_patch ,mark 
+0x3931 004176 bpatch patch10_4 ,mem_patch10 
+0x3932 004177 fetch 1 ,mem_state_map 
+0x3933 004178 bbit0 smap_edr ,transmit_noedr 
+0x3934 004179 sub type ,3 ,null 
+0x3935 004180 branch transmit_noedr ,positive 
+0x3936 004181 disable encrypt 
+0x3937 004182 disable encode_fec2 
+0x3938 004183 enable encode_fec0 
+0x3939 004184 disable enable_white 
+0x393a 004185 set1 psk ,radio_ctrl 
+0x393b 004186 isolate1 psk3m ,radio_ctrl 
+0x393c 004187 branch transmit_edr3m ,true 
+0x393d 004188 setarg 0xabeee 
+0x393e 004189 inject mod ,20 
+0x393f 004190 branch transmit_edr_sync_end 
+:      004191 transmit_edr3m:
+0x3940 004192 setarg 0x5faeba 
+0x3941 004193 inject mod ,24 
+0x3942 004194 setarg 0x12 
+0x3943 004195 inject mod ,6 
+:      004196 transmit_edr_sync_end:
+0x3944 004197 enable enable_white 
+0x3945 004198 set1 mark_longpacket ,mark 
+:      004199 transmit_noedr:
+0x3946 004200 enable encrypt 
+0x3947 004201 enable enable_crc 
+0x3948 004202 bmark1 mark_loopback ,transmit_loopback 
+0x3949 004203 fetch 1 ,mem_tx_lch 
+0x394a 004204 inject mod ,3 
+0x394b 004205 fetch 2 ,mem_tx_len 
+0x394c 004206 iforce loopcnt 
+0x394d 004207 bmark1 mark_longpacket ,transmit_long 
+0x394e 004208 inject mod ,5 
+0x394f 004209 branch transmit_stuff 
+:      004210 transmit_long:
+0x3950 004211 inject mod ,13 
+:      004212 transmit_stuff:
+0x3951 004213 fetch 1 ,mem_device_option 
+0x3952 004214 beq dvc_op_hci ,transmit_stuff_hci 
+0x3953 004215 deposit loopcnt 
+0x3954 004216 branch transmit_end ,blank 
+0x3955 004217 fetch 2 ,mem_txptr 
+0x3956 004218 iforce contr 
+:      004219 transmit_stuff_loop:
+0x3957 004220 ifetch 1 ,contr 
+0x3958 004221 inject mod ,8 
+0x3959 004222 loop transmit_stuff_loop 
+0x395a 004223 branch transmit_end 
+:      004224 transmit_stuff_hci:
+0x395b 004225 fetch 2 ,mem_txptr 
+0x395c 004226 iforce contru 
+:      004227 transmit_stuff_hci_loop:
+0x395d 004228 ifetch 1 ,contru 
+0x395e 004229 inject mod ,8 
+0x395f 004230 loop transmit_stuff_hci_loop 
+:      004231 transmit_end:
+0x3960 004232 enable enable_parity 
+0x3961 004233 inject mod ,16 
+0x3962 004234 disable enable_parity 
+0x3963 004235 call set_wait_ack 
+0x3964 004236 fetch 1 ,mem_state_map 
+0x3965 004237 bbit0 smap_edr ,end_of_packet 
+0x3966 004238 force 0 ,pdata 
+0x3967 004239 inject mod ,6 
+0x3968 004240 branch end_of_packet 
+:      004243 transmit_loopback:
+0x3969 004244 set0 mark_ext_patch ,mark 
+0x396a 004245 bpatch patch10_5 ,mem_patch10 
+0x396b 004246 bmark1 mark_longpacket ,transmit_loopback_long 
+:      004247 transmit_loopback_short:
+0x396c 004248 fetch 1 ,mem_lch_code 
+0x396d 004249 inject mod ,3 
+0x396e 004250 fetch 1 ,mem_len 
+0x396f 004251 iforce regc 
+0x3970 004252 inject mod ,5 
+0x3971 004253 branch transmit_loopback_cont 
+:      004254 transmit_loopback_long:
+0x3972 004255 fetch 1 ,mem_lch_code 
+0x3973 004256 inject mod ,3 
+0x3974 004257 fetch 2 ,mem_len 
+0x3975 004258 iforce regc 
+0x3976 004259 inject mod ,13 
+:      004260 transmit_loopback_cont:
+0x3977 004261 arg mem_rxbuf ,contr 
+:      004262 transmit_loopback_loop:
+0x3978 004263 copy regc ,null 
+0x3979 004264 branch transmit_loopback_end ,zero 
+0x397a 004265 ifetch 1 ,contr 
+0x397b 004266 inject mod ,8 
+0x397c 004267 increase -1 ,regc 
+0x397d 004268 branch transmit_loopback_loop 
+:      004269 transmit_loopback_end:
+0x397e 004270 fetch 2 ,mem_tst_pktcnt_dmh 
+0x397f 004271 increase 1 ,pdata 
+0x3980 004272 store 2 ,mem_tst_pktcnt_dmh 
+0x3981 004273 branch transmit_end 
+:      004276 apply_switch_clke:
+0x3982 004277 fetch 4 ,mem_clke_bt 
+0x3983 004278 add pdata ,7 ,rega 
+0x3984 004279 fetch 2 ,mem_slot_offset 
+0x3985 004280 nbranch apply_switch_nozero ,blank 
+0x3986 004281 increase -3 ,rega 
+0x3987 004282 branch apply_switch_wait_loop 
+:      004283 apply_switch_nozero:
+0x3988 004284 mul32 pdata ,12 ,pdata 
+0x3989 004285 hfetcht 2 ,core_halfslot 
+0x398a 004286 increase 1 ,temp 
+:      004287 apply_switch_loop:
+0x398b 004288 isub temp ,pdata 
+0x398c 004289 nbranch apply_switch_bt ,positive 
+0x398d 004290 increase -1 ,rega 
+0x398e 004291 branch apply_switch_loop 
+:      004292 apply_switch_bt:
+0x398f 004293 sub pdata ,0 ,pdata 
+:      004294 apply_switch_wait_loop:
+0x3990 004295 until null ,oneslot 
+0x3991 004296 compare 0 ,clkn_bt ,3 
+0x3992 004297 nbranch apply_switch_wait_loop ,true 
+0x3993 004298 iforce clke_rt 
+0x3994 004299 copy rega ,clke_bt 
+0x3995 004300 iforce clke_rt 
+0x3996 004301 rtn 
+:      004304 calc_slot_offset:
+0x3997 004305 set0 mark_ext_patch ,mark 
+0x3998 004306 bpatch patch10_6 ,mem_patch10 
+0x3999 004307 until null ,halfslot 
+0x399a 004308 deposit clke 
+0x399b 004309 iforce contr 
+0x399c 004310 rshift16 ,pdata ,pdata 
+0x399d 004311 isub clkn_bt ,loopcnt 
+0x399e 004312 and_into 3 ,loopcnt 
+0x399f 004313 nbranch calc_bt_portion ,zero 
+0x39a0 004314 force 0 ,pdata 
+0x39a1 004315 branch calc_skip_bt 
+:      004316 calc_bt_portion:
+0x39a2 004317 arg 3750 ,temp 
+0x39a3 004318 force 0 ,pdata 
+:      004319 calc_slot_offset_loop:
+0x39a4 004320 iadd temp ,pdata 
+0x39a5 004321 loop calc_slot_offset_loop 
+:      004322 calc_skip_bt:
+0x39a6 004323 iadd contr ,pdata 
+0x39a7 004324 div pdata ,12 
+0x39a8 004325 call wait_div_end 
+0x39a9 004326 quotient pdata 
+0x39aa 004327 store 2 ,mem_slot_offset 
+0x39ab 004328 rtn 
+:      004330 calc_clke_offset:
+0x39ac 004331 set0 mark_ext_patch ,mark 
+0x39ad 004332 bpatch patch10_7 ,mem_patch10 
+0x39ae 004333 deposit clke 
+0x39af 004334 copy clkn ,temp 
+0x39b0 004335 isub temp ,null 
+0x39b1 004336 nsetflag positive ,44 ,pdata 
+0x39b2 004337 isub temp ,temp 
+0x39b3 004338 setarg 3750 
+0x39b4 004339 isolate0 15 ,temp 
+0x39b5 004340 branch calc_clke_pos ,true 
+0x39b6 004341 setarg -61786 
+0x39b7 004342 iadd temp ,temp 
+:      004343 calc_clke_pos:
+0x39b8 004344 storet 6 ,mem_le_clk_offset 
+0x39b9 004345 rtn le 
+0x39ba 004346 storet 6 ,mem_clk_offset 
+0x39bb 004347 rtn 
+:      004349 calc_clke:
+0x39bc 004350 disable clknt 
+0x39bd 004351 fetch 6 ,mem_le_clk_offset 
+0x39be 004352 branch calc_clke2 ,le 
+0x39bf 004353 fetch 6 ,mem_clk_offset 
+:      004354 calc_clke2:
+0x39c0 004355 iadd clkn ,alarm 
+0x39c1 004356 increase 10 ,alarm 
+0x39c2 004357 setarg 3750 
+0x39c3 004358 isub alarm ,pdata 
+0x39c4 004359 isolate0 15 ,pdata 
+0x39c5 004360 branch calc_clke_pos_adj ,true 
+0x39c6 004361 setarg 0xf15a 
+0x39c7 004362 iadd alarm ,alarm 
+:      004363 calc_clke_pos2:
+0x39c8 004364 copy alarm ,clke 
+0x39c9 004365 rtn 
+:      004366 calc_clke_pos_adj:
+0x39ca 004367 force 0 ,null 
+0x39cb 004368 branch calc_clke_pos2 
+:      004375 calc_radio_freq:
+0x39cc 004376 set0 mark_ext_patch ,mark 
+0x39cd 004377 bpatch patch11_0 ,mem_patch11 
+0x39ce 004378 call set_sync_on 
+0x39cf 004379 copy bt_clk ,pdata 
+0x39d0 004380 and_into 0x180 ,pdata 
+0x39d1 004381 compare 3 ,freq_mode ,0x07 
+0x39d2 004382 nbranch freq_not_connection ,true 
+0x39d3 004383 rshift3 pdata ,pdata 
+0x39d4 004384 iadd freq_index ,pdata 
+0x39d5 004385 branch do_hop_mod_now 
+:      004386 freq_not_connection:
+0x39d6 004387 copy freq_index ,pdata 
+:      004388 do_hop_mod_now:
+0x39d7 004389 div pdata ,79 
+0x39d8 004390 pulse recalc 
+0x39d9 004391 call wait_div_end 
+0x39da 004392 remainder rega 
+0x39db 004393 add rega ,-40 ,temp 
+0x39dc 004394 branch odd_half ,positive 
+0x39dd 004395 lshift rega ,temp 
+0x39de 004396 branch freq_result 
+:      004397 odd_half:
+0x39df 004398 lshift temp ,temp 
+0x39e0 004399 increase 1 ,temp 
+:      004400 freq_result:
+0x39e1 004401 set0 mark_ext_patch ,mark 
+0x39e2 004402 bpatch patch11_1 ,mem_patch11 
+0x39e3 004403 fetch 1 ,mem_mode 
+0x39e4 004404 bbit0 afh_change ,afh_process_con 
+:      004405 afh_process_0:
+0x39e5 004406 fetch 4 ,mem_afh_instant 
+0x39e6 004407 isub bt_clk ,null 
+0x39e7 004408 branch afh_process_con ,positive 
+0x39e8 004409 call afh_clear 
+0x39e9 004410 fetch 1 ,mem_afh_new_mod 
+0x39ea 004411 rtn blank 
+0x39eb 004412 fetch 1 ,mem_mode 
+0x39ec 004413 set1 afh_enable ,pdata 
+0x39ed 004414 store 1 ,mem_mode 
+0x39ee 004415 fetch 5 ,mem_afh_map_new 
+0x39ef 004416 store 5 ,mem_afh_map_lo 
+0x39f0 004417 ifetch 5 ,contr 
+0x39f1 004418 store 5 ,mem_afh_map_hi 
+0x39f2 004419 call afh_process_freq_map 
+:      004420 afh_process_con:
+0x39f3 004421 fetch 1 ,mem_mode 
+0x39f4 004422 rtnbit0 afh_enable 
+0x39f5 004423 isolate1 1 ,bt_clk 
+0x39f6 004424 branch afh_same_channel ,true 
+0x39f7 004425 rshift3 temp ,rega 
+0x39f8 004426 and temp ,7 ,queue 
+0x39f9 004427 setarg mem_afh_map_lo 
+0x39fa 004428 iadd rega ,rega 
+0x39fb 004429 ifetch 1 ,rega 
+0x39fc 004430 qisolate0 pdata 
+0x39fd 004431 branch afh_process_1 ,true 
+0x39fe 004432 deposit temp 
+0x39ff 004433 branch afh_process_end 
+:      004434 afh_process_1:
+0x3a00 004435 fetch 1 ,mem_afh_used 
+0x3a01 004436 iforce regb 
+0x3a02 004437 deposit bt_clk 
+0x3a03 004438 and_into 0x180 ,pdata 
+0x3a04 004439 rshift3 pdata ,pdata 
+0x3a05 004440 iadd freq_index ,pdata 
+0x3a06 004441 idiv regb 
+0x3a07 004442 setarg mem_afh_map 
+0x3a08 004443 call wait_div_end 
+0x3a09 004444 remainder rega 
+0x3a0a 004445 iadd rega ,contr 
+0x3a0b 004446 ifetch 1 ,contr 
+:      004447 afh_process_end:
+0x3a0c 004448 store 1 ,mem_afh_index 
+0x3a0d 004449 iforce temp 
+0x3a0e 004450 rtn 
+:      004452 afh_same_channel:
+0x3a0f 004453 fetch 1 ,mem_afh_index 
+0x3a10 004454 iforce temp 
+0x3a11 004455 rtn 
+:      004457 afh_clear:
+0x3a12 004458 fetch 1 ,mem_mode 
+0x3a13 004459 set0 afh_enable ,pdata 
+0x3a14 004460 set0 afh_change ,pdata 
+0x3a15 004461 store 1 ,mem_mode 
+0x3a16 004462 rtn 
+:      004468 afh_process_freq_map:
+0x3a17 004469 set0 mark_ext_patch ,mark 
+0x3a18 004470 bpatch patch11_2 ,mem_patch11 
+0x3a19 004471 arg mem_afh_map ,contw 
+0x3a1a 004472 force 10 ,loopcnt 
+0x3a1b 004473 call memset0 
+0x3a1c 004474 arg mem_afh_map ,contw 
+0x3a1d 004475 force 0 ,regc 
+0x3a1e 004476 force 2 ,queue 
+:      004477 process_freq_3:
+0x3a1f 004478 fetch 5 ,mem_afh_map_lo 
+0x3a20 004479 iforce temp 
+0x3a21 004480 compare 2 ,queue ,0xff 
+0x3a22 004481 branch process_freq_1 ,true 
+0x3a23 004482 rshift temp ,temp 
+:      004483 process_freq_1:
+0x3a24 004484 isolate0 0 ,temp 
+0x3a25 004485 branch process_freq_0 ,true 
+0x3a26 004486 deposit regc 
+0x3a27 004487 istore 1 ,contw 
+:      004488 process_freq_0:
+0x3a28 004489 rshift2 temp ,temp 
+0x3a29 004490 increase 2 ,regc 
+0x3a2a 004491 compare 40 ,regc ,0xfe 
+0x3a2b 004492 nbranch process_freq_2 ,true 
+0x3a2c 004493 fetch 5 ,mem_afh_map_hi 
+0x3a2d 004494 iforce temp 
+0x3a2e 004495 compare 2 ,queue ,0xff 
+0x3a2f 004496 branch process_freq_2 ,true 
+0x3a30 004497 rshift temp ,temp 
+:      004498 process_freq_2:
+0x3a31 004499 sub regc ,78 ,null 
+0x3a32 004500 branch process_freq_1 ,positive 
+0x3a33 004501 force 1 ,regc 
+0x3a34 004502 increase -1 ,queue 
+0x3a35 004503 nbranch process_freq_3 ,zero 
+0x3a36 004504 arg mem_afh_map ,rega 
+0x3a37 004505 deposit contw 
+0x3a38 004506 isub rega ,pdata 
+0x3a39 004507 store 1 ,mem_afh_used 
+0x3a3a 004508 rtn 
+:      004510 rx_radio_freq:
+0x3a3b 004511 set0 mark_ext_patch ,mark 
+0x3a3c 004512 bpatch patch11_3 ,mem_patch11 
+0x3a3d 004513 call calc_radio_freq 
+0x3a3e 004514 fetch 1 ,mem_debug_config 
+0x3a3f 004515 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+0x3a40 004516 fetcht 1 ,mem_rx_fixed_freq 
+:      004517 rx_radio_freq_now:
+0x3a41 004518 branch set_freq_rx 
+:      004521 tx_radio_freq:
+0x3a42 004522 set0 mark_ext_patch ,mark 
+0x3a43 004523 bpatch patch11_4 ,mem_patch11 
+0x3a44 004524 call calc_radio_freq 
+0x3a45 004525 fetch 1 ,mem_debug_config 
+0x3a46 004526 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+0x3a47 004527 fetcht 1 ,mem_tx_fixed_freq 
+:      004528 tx_radio_freq_now:
+0x3a48 004529 branch set_freq_tx 
+:      004532 fetch_giac:
+0x3a49 004533 force 0 ,uap 
+0x3a4a 004534 fetch 3 ,mem_glap 
+0x3a4b 004535 iforce lap 
+0x3a4c 004536 rtn 
+:      004538 fetch_page_bt_adr:
+0x3a4d 004539 set0 mark_ext_patch ,mark 
+0x3a4e 004540 bpatch patch11_5 ,mem_patch11 
+0x3a4f 004541 fetch 1 ,mem_hci_puap 
+0x3a50 004542 icopy uap 
+0x3a51 004543 fetch 3 ,mem_hci_plap 
+0x3a52 004544 icopy lap 
+0x3a53 004545 rtn 
+:      004547 fetch_self_bt_adr:
+0x3a54 004548 set0 mark_ext_patch ,mark 
+0x3a55 004549 bpatch patch11_6 ,mem_patch11 
+0x3a56 004550 fetch 2 ,mem_nap 
+0x3a57 004551 icopy nap 
+0x3a58 004552 fetch 1 ,mem_uap 
+0x3a59 004553 icopy uap 
+0x3a5a 004554 fetch 3 ,mem_lap 
+0x3a5b 004555 icopy lap 
+0x3a5c 004556 rtn 
+:      004558 fetch_extm_bt_adr:
+0x3a5d 004559 set0 mark_ext_patch ,mark 
+0x3a5e 004560 bpatch patch11_7 ,mem_patch11 
+0x3a5f 004561 fetch 2 ,mem_pnap 
+0x3a60 004562 icopy nap 
+0x3a61 004563 fetch 1 ,mem_puap 
+0x3a62 004564 icopy uap 
+0x3a63 004565 fetch 3 ,mem_plap 
+0x3a64 004566 icopy lap 
+0x3a65 004567 rtn 
+:      004570 fetch_diac:
+0x3a66 004571 bmark1 mark_all_diac ,fetch_diac_do 
+0x3a67 004572 rtnmark0 mark_inquiry_state 
+0x3a68 004573 rtnmark0 mark_periodical_diac 
+:      004574 fetch_diac_do:
+0x3a69 004575 and_into -256 ,lap 
+0x3a6a 004576 pulse recalc 
+0x3a6b 004577 nop 32 
+0x3a6c 004578 rtn 
+:      004581 shutdown_radio:
+0x3a6d 004582 set0 mark_ext_patch ,mark 
+0x3a6e 004583 bpatch patch12_0 ,mem_patch12 
+0x3a6f 004584 force 0 ,radio_ctrl 
+0x3a70 004585 disable is_rx 
+0x3a71 004586 disable is_tx 
+0x3a72 004587 pulse packet_end 
+0x3a73 004588 hjam 0x0 ,rfen_mdm 
+0x3a74 004589 hjam 0x0 ,rfen_tx 
+0x3a75 004590 hjam 0x0 ,rfen_rx 
+0x3a76 004591 hjam 0 ,rfen_sn 
+0x3a77 004592 hjam 0x70 ,rfen_msc 
+0x3a78 004593 hjam 0x0 ,rfen_adc 
+0x3a79 004594 rtn 
+:      004596 set_sync_on:
+0x3a7a 004597 set0 mark_ext_patch ,mark 
+0x3a7b 004598 bpatch patch12_1 ,mem_patch12 
+0x3a7c 004599 hjam 0x0 ,rfen_mdm 
+0x3a7d 004600 hjam 0x0 ,rfen_tx 
+0x3a7e 004601 hjam 0x18 ,rfen_rx 
+0x3a7f 004602 hjam 0xa7 ,rfen_sn 
+0x3a80 004603 hjam 0x7f ,rfen_msc 
+0x3a81 004604 rtn 
+:      004607 set_freq_rx:
+0x3a82 004608 set0 mark_ext_patch ,mark 
+0x3a83 004609 bpatch patch12_2 ,mem_patch12 
+0x3a84 004611 storet 1 ,mem_last_freq 
+0x3a85 004612 add temp ,rx_freq_offset ,rega 
+0x3a86 004613 branch rf_write_freq 
+:      004614 rf_rx_enable:
+0x3a87 004615 set0 mark_ext_patch ,mark 
+0x3a88 004616 bpatch patch12_3 ,mem_patch12 
+0x3a89 004617 hjam 0xcf ,rfen_tx 
+0x3a8a 004618 nop 10 
+0x3a8b 004619 hjam 0xff ,rfen_rx 
+0x3a8c 004620 hjam 0xaf ,rfen_sn 
+0x3a8d 004621 hjam 0xff ,rfen_msc 
+0x3a8e 004622 nop 10 
+0x3a8f 004623 hjam 0xa0 ,rfen_mdm 
+0x3a90 004624 rtn 
+:      004627 set_freq_tx:
+0x3a91 004628 set0 mark_ext_patch ,mark 
+0x3a92 004629 bpatch patch12_4 ,mem_patch12 
+0x3a93 004630 storet 1 ,mem_last_freq 
+0x3a94 004631 add temp ,tx_freq_offset ,rega 
+0x3a95 004632 call rf_write_freq 
+0x3a96 004633 setarg param_pll_setup 
+0x3a97 004634 call sleep 
+:      004635 txon:
+0x3a98 004636 hjam 0x1 ,rfen_adc 
+0x3a99 004637 hjam 0x3c ,rfen_rx 
+0x3a9a 004638 hjam 0xe0 ,rfen_tx 
+0x3a9b 004639 hjam 0xb7 ,rfen_sn 
+0x3a9c 004640 hjam 0x7f ,rfen_mdm 
+0x3a9d 004641 rtn 
+:      004643 initialize_radio:
+0x3a9e 004644 hjam clksel_rc ,core_clksel 
+0x3a9f 004645 call init_rf_regs 
+0x3aa0 004646 call init_agc_table 
+:      004647 initialize_radio_wait:
+0x3aa1 004648 fetch 2 ,mem_rf_init_ptr 
+0x3aa2 004649 bbit0 14 ,initialize_radio_wait 
+0x3aa3 004650 iforce contr 
+0x3aa4 004651 arg 0x8900 ,temp 
+:      004652 initialize_radio_loop:
+0x3aa5 004653 ifetch 1 ,contr 
+0x3aa6 004654 beq 0xff ,initialize_radio_cont 
+0x3aa7 004655 ior temp ,contw 
+0x3aa8 004656 ifetch 1 ,contr 
+0x3aa9 004657 istore 1 ,contw 
+0x3aaa 004658 branch initialize_radio_loop 
+:      004659 initialize_radio_cont:
+0x3aab 004660 set0 mark_ext_patch ,mark 
+0x3aac 004661 bpatch patch12_5 ,mem_patch12 
+0x3aad 004662 call lpm_cal_xtal_startup 
+0x3aae 004663 call switchto_dpllclk 
+0x3aaf 004665 setarg param_dpll_start_delay 
+0x3ab0 004666 iadd clkn_bt ,pdata 
+0x3ab1 004667 store 4 ,mem_dpll_clkn 
+0x3ab2 004668 set1 reset ,radio_ctrl 
+0x3ab3 004669 force 0 ,radio_ctrl 
+0x3ab4 004670 ncall do_rccal ,wake 
+0x3ab5 004671 branch set_rccal 
+:      004674 rf_write_freq:
+0x3ab6 004675 set0 mark_ext_patch ,mark 
+0x3ab7 004676 bpatch patch12_6 ,mem_patch12 
+0x3ab8 004677 setarg 2400 
+0x3ab9 004678 iadd rega ,temp 
+0x3aba 004679 fetch 1 ,mem_fcomp_mul 
+0x3abb 004680 hjam 0x04 ,rf_pll_rstn 
+0x3abc 004681 imul32 temp ,pdata 
+0x3abd 004682 fetcht 1 ,mem_fcomp_div 
+0x3abe 004683 idiv temp 
+0x3abf 004684 call wait_div_end 
+0x3ac0 004685 quotient rega 
+0x3ac1 004686 remainder pdata 
+0x3ac2 004687 lshift16 pdata ,pdata 
+0x3ac3 004688 lshift4 pdata ,pdata 
+0x3ac4 004689 idiv temp 
+0x3ac5 004690 call wait_div_end 
+0x3ac6 004691 quotient pdata 
+0x3ac7 004692 lshift8 pdata ,pdata 
+0x3ac8 004693 lshift pdata ,pdata 
+0x3ac9 004694 ior rega ,pdata 
+0x3aca 004695 hstore 4 ,rf_pll_intg 
+0x3acb 004696 hjam 0x44 ,rf_pll_rstn 
+0x3acc 004697 hjam 0xc4 ,rf_pll_rstn 
+0x3acd 004698 rtn 
+:      004701 do_rccal:
+0x3ace 004702 set0 mark_ext_patch ,mark 
+0x3acf 004703 bpatch patch12_7 ,mem_patch12 
+0x3ad0 004704 hjam 0x02 ,rfen_adc 
+0x3ad1 004705 setarg 250000 
+0x3ad2 004706 call sleep 
+0x3ad3 004707 hjam 0x7f ,rfen_rx 
+0x3ad4 004708 nop 130 
+0x3ad5 004709 hjam 0x30 ,rf_rccal_ctrl 
+0x3ad6 004710 hjam 0xd0 ,rfen_tx 
+0x3ad7 004711 hjam 0x70 ,rf_rccal_ctrl 
+0x3ad8 004712 hjam 0xf0 ,rf_rccal_ctrl 
+0x3ad9 004713 force 50 ,loopcnt 
+:      004714 do_rccal_loop:
+0x3ada 004715 hfetch 1 ,rf_rccal_result 
+0x3adb 004716 bbit1 5 ,do_rccal_end 
+0x3adc 004717 loop do_rccal_loop 
+:      004718 do_rccal_end:
+0x3add 004719 store 1 ,mem_rf_rccal 
+0x3ade 004720 hjam 0 ,rfen_tx 
+0x3adf 004721 hjam 0 ,rfen_rx 
+0x3ae0 004722 hjam 0x00 ,rfen_adc 
+0x3ae1 004723 rtn 
+:      004725 set_rccal:
+0x3ae2 004726 set0 mark_ext_patch ,mark 
+0x3ae3 004727 bpatch patch13_0 ,mem_patch13 
+0x3ae4 004728 fetch 1 ,mem_rf_rccal 
+0x3ae5 004729 set1 5 ,pdata 
+0x3ae6 004730 hstore 1 ,rf_rccal_ctrl 
+0x3ae7 004731 hfetcht 1 ,rf_bpf_ctrim 
+0x3ae8 004732 and_into 7 ,temp 
+0x3ae9 004733 lshift3 pdata ,pdata 
+0x3aea 004734 ior temp ,pdata 
+0x3aeb 004735 hstore 1 ,rf_bpf_ctrim 
+0x3aec 004736 hfetch 1 ,rf_bpf_ib 
+0x3aed 004737 set0 bpf_rccal ,pdata 
+0x3aee 004738 hstore 1 ,rf_bpf_ib 
+0x3aef 004739 hfetch 1 ,rf_adc_rccal 
+0x3af0 004740 set0 adc_rccal ,pdata 
+0x3af1 004741 hstore 1 ,rf_adc_rccal 
+0x3af2 004742 rtn 
+:      004744 save_rssi:
+0x3af3 004745 set0 mark_ext_patch ,mark 
+0x3af4 004746 bpatch patch13_1 ,mem_patch13 
+0x3af5 004747 hfetch 2 ,rf_afc_d2a 
+0x3af6 004748 rshift4 pdata ,pdata 
+0x3af7 004749 rshift3 pdata ,pdata 
+0x3af8 004750 sub pdata ,0 ,pdata 
+0x3af9 004751 and_into 0xff ,pdata 
+0x3afa 004752 div pdata ,10 
+0x3afb 004753 call wait_div_end 
+0x3afc 004754 quotient pdata 
+0x3afd 004755 lshift4 pdata ,pdata 
+0x3afe 004756 remainder temp 
+0x3aff 004757 ior temp ,pdata 
+0x3b00 004758 store 1 ,mem_rssi 
+0x3b01 004759 rtn 
+:      004761 switchto_rcclk:
+0x3b02 004762 hjam 0xa ,core_clksel 
+0x3b03 004763 hjam 0 ,rfen_ck 
+0x3b04 004764 hfetch 3 ,core_lpm_ctrl 
+0x3b05 004765 hstore 3 ,core_lpm_reg 
+0x3b06 004766 hjam 0xfc ,core_lpm_reg 
+0x3b07 004767 call lpm_write_ctrl 
+0x3b08 004768 nop 1000 
+0x3b09 004769 rtn 
+:      004771 switchto_dpllclk:
+0x3b0a 004772 hjam clksel_rc ,core_clksel 
+0x3b0b 004773 hfetch 1 ,rf_clkpll_frac + 2 
+0x3b0c 004774 set0 4 ,pdata 
+0x3b0d 004775 set0 5 ,pdata 
+0x3b0e 004776 hstore 1 ,rf_clkpll_frac + 2 
+0x3b0f 004777 hjam 0x00 ,rfen_ck 
+0x3b10 004778 hjam 0x00 ,rfen_msc 
+0x3b11 004779 hjam 0x70 ,rfen_msc 
+0x3b12 004780 hjam 0xff ,rfen_ck 
+0x3b13 004781 hfetch 1 ,rf_clkpll_frac + 2 
+0x3b14 004782 set1 4 ,pdata 
+0x3b15 004783 set1 5 ,pdata 
+0x3b16 004784 hstore 1 ,rf_clkpll_frac + 2 
+0x3b17 004785 call init_lpm_ctrl 
+0x3b18 004786 hfetch 1 ,rf_clkpll_int 
+0x3b19 004787 set1 7 ,pdata 
+0x3b1a 004788 hstore 1 ,rf_clkpll_int 
+0x3b1b 004789 set0 7 ,pdata 
+0x3b1c 004790 hstore 1 ,rf_clkpll_int 
+0x3b1d 004791 set1 7 ,pdata 
+0x3b1e 004792 hstore 1 ,rf_clkpll_int 
+0x3b1f 004793 hjam clksel_dpll ,core_clksel 
+0x3b20 004794 rtn 
+:      004796 check_dpll:
+0x3b21 004797 nop 1000 
+0x3b22 004798 hjam clksel_xtal ,core_clksel 
+0x3b23 004799 nop 10 
+0x3b24 004800 hjam 0x00 ,core_bist_ctrl 
+0x3b25 004801 hjam ccnt_start ,core_misc_ctrl 
+:      004802 check_dpll_loop:
+0x3b26 004803 hfetch 1 ,core_perf_status 
+0x3b27 004804 bbit0 1 ,check_dpll_loop 
+0x3b28 004805 hfetcht 3 ,core_clk_counter 
+0x3b29 004806 hjam clksel_dpll ,core_clksel 
+0x3b2a 004807 nop 10 
+0x3b2b 004808 hjam ccnt_start ,core_misc_ctrl 
+:      004809 check_dpll_loop2:
+0x3b2c 004810 hfetch 1 ,core_perf_status 
+0x3b2d 004811 bbit0 1 ,check_dpll_loop2 
+0x3b2e 004812 hfetch 3 ,core_clk_counter 
+0x3b2f 004813 isub temp ,pdata 
+0x3b30 004814 branch check_dpll_pos ,positive 
+0x3b31 004815 sub pdata ,0 ,pdata 
+:      004816 check_dpll_pos:
+0x3b32 004817 store 2 ,mem_dpll_error 
+0x3b33 004818 sub pdata ,70 ,null 
+:      004819 check_dpll_assert:
+0x3b34 004820 nbranch check_dpll_assert ,positive 
+0x3b35 004821 rtn 
+:      004823 xtal_fast_wake:
+0x3b36 004824 setarg 0xf0f 
+0x3b37 004825 branch lpm_write_config 
+:      004827 init_lpm_ctrl:
+0x3b38 004828 setarg 0x80f 
+0x3b39 004829 branch lpm_write_config 
+:      004833 start_receiver:
+0x3b3a 004834 set0 mark_ext_patch ,mark 
+0x3b3b 004835 bpatch patch13_2 ,mem_patch13 
+0x3b3c 004836 call rf_rx_enable 
+0x3b3d 004837 disable is_tx 
+0x3b3e 004838 enable is_rx 
+0x3b3f 004839 pulse init_encrypt 
+0x3b40 004840 rtn 
+:      004842 prep_crypt:
+0x3b41 004843 set0 mark_ext_patch ,mark 
+0x3b42 004844 bpatch patch13_3 ,mem_patch13 
+0x3b43 004845 fetch 1 ,mem_state_map 
+0x3b44 004846 isolate1 smap_encryption ,pdata 
+0x3b45 004847 setflag true ,0 ,pdata 
+0x3b46 004848 hstore 1 ,core_encrypt 
+0x3b47 004849 arg mem_kc ,contr 
+0x3b48 004850 ifetch 9 ,contr 
+0x3b49 004851 iforce kc_ls 
+0x3b4a 004852 ifetch 7 ,contr 
+0x3b4b 004853 iforce kc_ms 
+0x3b4c 004854 fetch 1 ,mem_key_size 
+0x3b4d 004855 add pdata ,-1 ,g1l 
+0x3b4e 004856 pulse kc_p_activate 
+0x3b4f 004857 rtn 
+:      004859 wait_access_clke_rt:
+0x3b50 004860 set0 mark_ext_patch ,mark 
+0x3b51 004861 bpatch patch13_4 ,mem_patch13 
+0x3b52 004862 enable decode_fec0 
+0x3b53 004863 arg param_conn_access ,timeup 
+0x3b54 004864 correlate clke_rt ,meet 
+:      004865 wait_access_end:
+0x3b55 004866 deposit clke 
+0x3b56 004867 store 6 ,mem_sync_clke 
+0x3b57 004868 disable decode_fec0 
+0x3b58 004869 nbranch shutdown_radio ,sync 
+0x3b59 004870 arg param_clke_cal ,clke_rt 
+0x3b5a 004871 increase 1 ,clke_bt 
+0x3b5b 004872 and_into 0x1fc ,clke_bt 
+0x3b5c 004873 rtn 
+:      004877 wait_access_mhalfbnd:
+0x3b5d 004878 enable decode_fec0 
+:      004879 wait_access_mhalfbnd_correlate:
+0x3b5e 004880 correlate null ,mhalfbnd 
+0x3b5f 004881 branch wait_access_end ,sync 
+0x3b60 004882 compare 0x02 ,clke_bt ,0x02 
+0x3b61 004883 nbranch wait_access_mhalfbnd_correlate ,true 
+0x3b62 004884 branch wait_access_end 
+:      004886 wait_access_clkn_rt:
+0x3b63 004887 set0 mark_ext_patch ,mark 
+0x3b64 004888 bpatch patch13_5 ,mem_patch13 
+0x3b65 004889 arg param_conn_access ,timeup 
+0x3b66 004890 enable decode_fec0 
+0x3b67 004891 correlate clkn_rt ,meet 
+0x3b68 004892 disable decode_fec0 
+0x3b69 004893 nbranch shutdown_radio ,sync 
+0x3b6a 004894 rtn 
+:      004896 wait_access_forever:
+0x3b6b 004897 set0 mark_ext_patch ,mark 
+0x3b6c 004898 bpatch patch13_6 ,mem_patch13 
+0x3b6d 004899 enable decode_fec0 
+0x3b6e 004900 correlate null ,timeout 
+0x3b6f 004901 disable decode_fec0 
+0x3b70 004902 nbranch shutdown_radio ,sync 
+0x3b71 004903 arg param_clke_cal ,clke_rt 
+0x3b72 004904 and_into 0x1fc ,clke_bt 
+0x3b73 004905 rtn 
+:      004908 reserve_slot:
+0x3b74 004909 set0 mark_ext_patch ,mark 
+0x3b75 004910 bpatch patch13_7 ,mem_patch13 
+0x3b76 004911 iforce rega 
+0x3b77 004912 deposit bt_clk 
+0x3b78 004913 iadd temp ,timeup 
+0x3b79 004914 copy timeup ,pdata 
+0x3b7a 004915 store 4 ,mem_next_btclk 
+0x3b7b 004916 deposit rega 
+0x3b7c 004917 rtn 
+:      004920 ahead_window:
+0x3b7d 004921 copy pdata ,temp 
+0x3b7e 004922 set0 mark_ext_patch ,mark 
+0x3b7f 004923 bpatch patch14_0 ,mem_patch14 
+0x3b80 004924 copy temp ,pdata 
+0x3b81 004925 call clk2bt 
+0x3b82 004926 lshift16 bt_clk ,pdata 
+0x3b83 004927 set1 44 ,pdata 
+0x3b84 004928 call clk_diff 
+0x3b85 004929 set0 44 ,pdata 
+0x3b86 004930 call get_clk 
+0x3b87 004931 call clk_diff 
+0x3b88 004932 rtn user 
+0x3b89 004933 call clk2rt 
+0x3b8a 004934 iforce stop_watch 
+0x3b8b 004935 until null ,timeout 
+0x3b8c 004936 rtn 
+:      004939 setup_clk:
+0x3b8d 004940 set0 mark_ext_patch ,mark 
+0x3b8e 004941 bpatch patch14_1 ,mem_patch14 
+0x3b8f 004942 branch setup_clkn ,clknt 
+0x3b90 004943 until clke_rt ,meet 
+:      004944 skip_setup_clke:
+0x3b91 004945 copy clke_bt ,temp 
+0x3b92 004946 branch setup_clknbt 
+:      004947 setup_clkn:
+0x3b93 004948 branch skip_setup_clkn ,attempt 
+0x3b94 004949 until clkn_rt ,meet 
+:      004950 skip_setup_clkn:
+0x3b95 004951 copy clkn_bt ,temp 
+:      004952 setup_clknbt:
+0x3b96 004953 branch setup_clk11 ,user 
+0x3b97 004954 compare 1 ,temp ,3 
+0x3b98 004955 nbranch setup_clk ,true 
+:      004956 setup_complete:
+0x3b99 004957 set0 mark_ext_patch ,mark 
+0x3b9a 004958 bpatch patch14_2 ,mem_patch14 
+0x3b9b 004959 fetch 1 ,mem_state 
+0x3b9c 004960 rtnbit0 state_inconn 
+0x3b9d 004961 fetch 4 ,mem_next_btclk 
+0x3b9e 004962 isub temp ,pdata 
+0x3b9f 004963 nrtn positive 
+0x3ba0 004964 sub pdata ,0xff ,null 
+0x3ba1 004965 branch setup_clk ,positive 
+0x3ba2 004966 rtn 
+:      004967 setup_clk11:
+0x3ba3 004968 compare 3 ,temp ,3 
+0x3ba4 004969 nbranch setup_clk ,true 
+0x3ba5 004970 branch setup_complete 
+:      004972 rf_setup_time:
+0x3ba6 004973 set0 mark_ext_patch ,mark 
+0x3ba7 004974 bpatch patch14_3 ,mem_patch14 
+0x3ba8 004975 arg param_rf_setup ,timeup 
+0x3ba9 004976 branch setup_clk 
+:      004978 rf_setup_time_slave_slot:
+0x3baa 004979 disable user 
+0x3bab 004980 branch rf_setup_time 
+:      004982 rf_setup_time_master_slot:
+0x3bac 004983 enable user 
+0x3bad 004984 branch rf_setup_time 
+:      004986 start_transmitter:
+0x3bae 004987 set0 mark_ext_patch ,mark 
+0x3baf 004988 bpatch patch14_4 ,mem_patch14 
+0x3bb0 004989 call prep_crypt 
+0x3bb1 004990 disable is_rx 
+0x3bb2 004991 enable is_tx 
+0x3bb3 004992 rtn 
+:      004996 start_tx_native:
+0x3bb4 004997 set0 mark_ext_patch ,mark 
+0x3bb5 004998 bpatch patch14_5 ,mem_patch14 
+0x3bb6 004999 arg param_tx_setup ,timeup 
+0x3bb7 005000 until clkn_rt ,meet 
+0x3bb8 005001 pulse init_encrypt 
+0x3bb9 005002 rtn 
+:      005004 start_rx_native:
+0x3bba 005005 set0 mark_ext_patch ,mark 
+0x3bbb 005006 bpatch patch14_6 ,mem_patch14 
+0x3bbc 005007 arg param_rx_setup ,timeup 
+0x3bbd 005008 until clkn_rt ,meet 
+0x3bbe 005009 rtn 
+:      005012 start_tx_external:
+0x3bbf 005013 set0 mark_ext_patch ,mark 
+0x3bc0 005014 bpatch patch14_7 ,mem_patch14 
+0x3bc1 005015 arg param_tx_setup ,timeup 
+0x3bc2 005016 until clke_rt ,meet 
+0x3bc3 005017 pulse init_encrypt 
+0x3bc4 005018 rtn 
+:      005020 send_access_word:
+0x3bc5 005021 set0 mark_ext_patch ,mark 
+0x3bc6 005022 bpatch patch15_0 ,mem_patch15 
+0x3bc7 005023 preload access 
+0x3bc8 005024 enable encode_fec0 
+0x3bc9 005025 set1 txgfsk ,radio_ctrl 
+0x3bca 005026 inject mod ,72 
+0x3bcb 005027 disable encode_fec0 
+0x3bcc 005028 rtn 
+:      005031 scan_mode_whiten:
+0x3bcd 005032 copy xin ,temp 
+0x3bce 005033 or_into 0x60 ,temp 
+0x3bcf 005034 copy temp ,white_init 
+0x3bd0 005035 rtn 
+:      005040 get_free_amaddr:
+0x3bd1 005041 set0 mark_ext_patch ,mark 
+0x3bd2 005042 bpatch patch15_1 ,mem_patch15 
+0x3bd3 005043 fetch 1 ,mem_current_amaddr 
+0x3bd4 005044 increase 1 ,pdata 
+0x3bd5 005045 bne param_esco_addr ,get_free_amaddr_cont 
+0x3bd6 005046 force 1 ,pdata 
+:      005047 get_free_amaddr_cont:
+0x3bd7 005048 store 1 ,mem_current_amaddr 
+0x3bd8 005049 iforce am_addr 
+0x3bd9 005050 rtn 
+:      005052 get_clk:
+0x3bda 005053 copy clkn ,temp 
+0x3bdb 005054 rtn master 
+0x3bdc 005055 copy clke ,temp 
+0x3bdd 005056 rtn 
+:      005058 get_clkbt:
+0x3bde 005059 deposit clkn_bt 
+0x3bdf 005060 rtn master 
+0x3be0 005061 deposit clke_bt 
+0x3be1 005062 rtn 
+:      005065 supervision_update:
+0x3be2 005066 set0 mark_ext_patch ,mark 
+0x3be3 005067 bpatch patch15_2 ,mem_patch15 
+0x3be4 005068 fetcht 4 ,mem_supervision_timer 
+0x3be5 005069 call get_clkbt 
+0x3be6 005070 isub temp ,timeup 
+0x3be7 005071 deposit timeup 
+0x3be8 005072 fetcht 2 ,mem_supervision_to 
+0x3be9 005073 lshift temp ,temp 
+0x3bea 005074 isub temp ,pdata 
+0x3beb 005075 rtn 
+:      005077 supervision_flush:
+0x3bec 005078 set0 mark_ext_patch ,mark 
+0x3bed 005079 bpatch patch15_3 ,mem_patch15 
+0x3bee 005080 call get_clkbt 
+0x3bef 005081 store 4 ,mem_supervision_timer 
+0x3bf0 005082 rtn 
+:      005084 assert:
+0x3bf1 005085 branch assert 
+:      005087 loop:
+0x3bf2 005088 branch loop 
+:      005090 sleep:
+0x3bf3 005091 rtn blank 
+0x3bf4 005093 rshift pdata ,pdata 
+0x3bf5 005094 increase -3 ,pdata 
+:      005095 sleep_loop:
+0x3bf6 005096 increase -1 ,pdata 
+0x3bf7 005097 nbranch sleep_loop ,zero 
+0x3bf8 005098 force 0 ,pdata 
+0x3bf9 005099 rtn 
+:      005103 init_param:
+0x3bfa 005105 arg 0x10 ,loopcnt 
+0x3bfb 005106 arg 0 ,contw 
+0x3bfc 005107 call memset0 
+0x3bfd 005108 arg mem_le_state ,contw 
+0x3bfe 005109 arg 10 ,loopcnt 
+0x3bff 005110 call memset0 
+0x3c00 005111 jam 0 ,mem_sp_calc 
+0x3c01 005112 jam 0 ,mem_fifo_temp 
+0x3c02 005113 jam 0 ,mem_le_testtype 
+0x3c03 005114 jam 0 ,mem_debug_config 
+0x3c04 005115 jam 0 ,mem_lmp_conn_state 
+0x3c05 005116 set0 mark_ext_patch ,mark 
+0x3c06 005117 bpatch patch15_4 ,mem_patch15 
+0x3c07 005118 jam 0 ,mem_connection_options 
+0x3c08 005119 jam 0 ,mem_tester_emulate 
+0x3c09 005120 jam 0 ,mem_tester_cnt 
+0x3c0a 005121 setarg param_glap 
+0x3c0b 005122 store 3 ,mem_glap 
+0x3c0c 005123 setarg param_acl_pktlen 
+0x3c0d 005124 store 2 ,mem_acl_pktlen 
+0x3c0e 005125 jam param_sco_pktlen ,mem_sco_pktlen 
+0x3c0f 005126 jam param_acl_pktcnt ,mem_acl_pktcnt 
+0x3c10 005127 jam param_sco_pktcnt ,mem_sco_pktcnt 
+0x3c11 005128 setarg param_hci_version 
+0x3c12 005129 store 3 ,mem_hci_version 
+0x3c13 005130 setarg param_lmp_version 
+0x3c14 005131 store 3 ,mem_lmp_version 
+0x3c15 005132 setarg param_lmp_subversion 
+0x3c16 005133 store 2 ,mem_lmp_subversion 
+0x3c17 005134 jam 0x60 ,mem_fhs_misc 
+0x3c18 005135 jam param_max_slot ,mem_max_slot 
+0x3c19 005136 jam 0x02 ,mem_fw_ver 
+0x3c1a 005137 call init_memp 
+0x3c1b 005138 set0 mark_ext_patch ,mark 
+0x3c1c 005139 bpatch patch15_5 ,mem_patch15 
+0x3c1d 005140 rtn wake 
+0x3c1e 005141 setarg 0 
+0x3c1f 005142 store 2 ,mem_tx_len 
+0x3c20 005143 rshift clkn_bt ,pdata 
+0x3c21 005144 store 4 ,mem_last_clkn 
+0x3c22 005145 rtn 
+:      005149 init_esco_ibuff:
+0x3c23 005150 setarg 0xaa ,pdata 
+0x3c24 005151 arg mem_sco_ibuf ,contw 
+0x3c25 005152 force 30 ,loopcnt 
+:      005153 init_esco_ibuff_loop:
+0x3c26 005154 istore 1 ,contw 
+0x3c27 005155 loop init_esco_ibuff_loop 
+0x3c28 005156 rtn 
+:      005158 init_rf_regs:
+0x3c29 005159 hjam 0x02 ,0x907 
+0x3c2a 005160 hjam 0x1f ,0x908 
+0x3c2b 005161 hjam 0x1f ,0x909 
+0x3c2c 005162 hjam 0xe0 ,0x90a 
+0x3c2d 005163 hjam 0x4e ,0x90b 
+0x3c2e 005164 hjam 0x45 ,rf_agc_ctrl 
+0x3c2f 005165 hjam 0x00 ,0x953 
+0x3c30 005167 hjam 0xfb ,0x94c 
+0x3c31 005168 hjam 0xef ,0x94d 
+0x3c32 005169 hjam 0x0c ,0x94e 
+0x3c33 005171 hjam 0x88 ,0x96f 
+0x3c34 005172 hjam 0x30 ,0x973 
+0x3c35 005175 hjam 0x00 ,0x953 
+0x3c36 005176 hjam 0xc9 ,0x956 
+0x3c37 005177 hjam 0x6c ,0x958 
+0x3c38 005178 hjam 0x50 ,0x959 
+0x3c39 005179 rtn 
+:      005181 init_agc_table:
+0x3c3a 005183 hjam 0xa9 ,0x930 
+0x3c3b 005184 hjam 0xb1 ,0x92f 
+0x3c3c 005185 hjam 0xb9 ,0x92e 
+0x3c3d 005186 hjam 0xAD ,0x92d 
+0x3c3e 005187 hjam 0xB1 ,0x92c 
+0x3c3f 005188 hjam 0xB5 ,0x92b 
+0x3c40 005189 hjam 0xBA ,0x92a 
+0x3c41 005190 hjam 0xBE ,0x929 
+0x3c42 005191 hjam 0xC2 ,0x928 
+0x3c43 005192 hjam 0xC6 ,0x927 
+0x3c44 005193 hjam 0xCA ,0x926 
+0x3c45 005194 hjam 0xCE ,0x925 
+0x3c46 005195 hjam 0xD2 ,0x924 
+0x3c47 005196 hjam 0xD6 ,0x923 
+0x3c48 005197 hjam 0xDA ,0x922 
+0x3c49 005198 hjam 0xDE ,0x921 
+0x3c4a 005199 hjam 0xE2 ,0x920 
+0x3c4b 005200 hjam 0xE6 ,0x91f 
+0x3c4c 005201 hjam 0xEA ,0x91e 
+0x3c4d 005202 hjam 0xEE ,0x91d 
+0x3c4e 005203 hjam 0xF2 ,0x91c 
+0x3c4f 005204 hjam 0xF6 ,0x91b 
+0x3c50 005205 hjam 0xFB ,0x91a 
+0x3c51 005207 hjam 0xf5 ,0x947 
+0x3c52 005208 hjam 0xe5 ,0x946 
+0x3c53 005209 hjam 0xd5 ,0x945 
+0x3c54 005210 hjam 0xD8 ,0x944 
+0x3c55 005211 hjam 0xC9 ,0x943 
+0x3c56 005212 hjam 0xC8 ,0x942 
+0x3c57 005213 hjam 0x89 ,0x941 
+0x3c58 005214 hjam 0x88 ,0x940 
+0x3c59 005215 hjam 0x87 ,0x93f 
+0x3c5a 005216 hjam 0x48 ,0x93e 
+0x3c5b 005217 hjam 0x09 ,0x93d 
+0x3c5c 005218 hjam 0x08 ,0x93c 
+0x3c5d 005219 hjam 0xC9 ,0x93b 
+0x3c5e 005220 hjam 0xC8 ,0x93a 
+0x3c5f 005221 hjam 0xC7 ,0x939 
+0x3c60 005222 hjam 0xC6 ,0x938 
+0x3c61 005223 hjam 0xC5 ,0x937 
+0x3c62 005224 hjam 0xC4 ,0x936 
+0x3c63 005225 hjam 0xC3 ,0x935 
+0x3c64 005226 hjam 0xC2 ,0x934 
+0x3c65 005227 hjam 0xC1 ,0x933 
+0x3c66 005228 hjam 0xC0 ,0x932 
+0x3c67 005229 hjam 0x80 ,0x931 
+0x3c68 005230 rtn 
+:      005234 init_250k:
+0x3c69 005235 enable le 
+0x3c6a 005236 setarg 0x8e89be 
+0x3c6b 005237 lshift8 pdata ,pdata 
+0x3c6c 005238 or_into 0xd6 ,pdata 
+0x3c6d 005239 iforce access 
+0x3c6e 005240 hjam 7 ,0x914 
+0x3c6f 005241 hjam 0xa0 ,0x90a 
+0x3c70 005242 hjam 0x8f ,0x90d 
+0x3c71 005243 hjam 0x0f ,0x911 
+0x3c72 005244 hjam 0x87 ,0x912 
+0x3c73 005245 rtn 
+:      005250 lpmstate:
+0x3c74 005251 setarg 0xee21 
+0x3c75 005252 hstore 2 ,core_clkoff 
+0x3c76 005253 hfetch 1 ,core_lpm_ldocnt 
+0x3c77 005254 bbit0 gpio_latch ,loadcode 
+0x3c78 005255 enable wake 
+0x3c79 005256 bbit0 cold_wake ,lpmwake 
+0x3c7a 005257 disable wake 
+0x3c7b 005258 deposit auxcnt 
+0x3c7c 005259 nbranch lpmwake ,blank 
+0x3c7d 005260 arg param_hibernate_clks ,temp 
+0x3c7e 005261 branch lpm_enter_sleep 
+:      005262 lpmwake:
+0x3c7f 005263 hfetch 3 ,core_lpm_xtalcnt 
+0x3c80 005264 hstore 3 ,core_lpm_reg 
+0x3c81 005265 ifetch 1 ,contr 
+0x3c82 005266 or_into isogate_mask ,pdata 
+0x3c83 005267 istore 1 ,contw 
+0x3c84 005268 call lpm_write_ctrl2 
+0x3c85 005269 hfetch 1 ,core_lpm_isogate 
+0x3c86 005270 set1 enable_retmem ,pdata 
+0x3c87 005271 hstore 1 ,core_lpm_isogate 
+0x3c88 005272 call lpm_write_ctrl2 
+0x3c89 005273 call lpm_load_context ,wake 
+0x3c8a 005274 hfetch 1 ,core_lpm_reg + 2 
+0x3c8b 005275 set0 gpio_latch ,pdata 
+0x3c8c 005276 hstore 1 ,core_lpm_reg + 2 
+0x3c8d 005277 call lpm_write_ctrl2 
+0x3c8e 005278 rtn wake 
+0x3c8f 005279 branch loadcode 
+:      005281 lpm_load_context:
+0x3c90 005282 fetch 1 ,mem_saved_spidctrl 
+0x3c91 005283 hstore 1 ,core_spid_ctrl 
+0x3c92 005284 fetch 3 ,mem_saved_gsel 
+0x3c93 005285 hstore 3 ,core_gpio_sel 
+0x3c94 005286 fetch 4 ,mem_saved_gpio + 4 
+0x3c95 005287 hstore 4 ,core_gpio_out0 
+0x3c96 005288 fetch 4 ,mem_saved_gpio 
+0x3c97 005289 hstore 4 ,core_gpio_oe0 
+0x3c98 005290 fetch 8 ,mem_saved_gpio + 8 
+0x3c99 005291 hstore 8 ,core_gpio_pu0 
+0x3c9a 005292 fetch 8 ,mem_saved_mark 
+0x3c9b 005293 iforce mark 
+0x3c9c 005294 hfetch 8 ,core_gpio_wakeup_low 
+0x3c9d 005295 store 8 ,mem_gpio_wakeup_low 
+0x3c9e 005296 call load_ucode 
+0x3c9f 005297 rtn 
+:      005299 lpm_save_context:
+0x3ca0 005300 deposit mark 
+0x3ca1 005301 store 8 ,mem_saved_mark 
+0x3ca2 005302 hfetch 8 ,core_gpio_oe0 
+0x3ca3 005303 store 8 ,mem_saved_gpio 
+0x3ca4 005304 ifetch 8 ,contr 
+0x3ca5 005305 istore 8 ,contw 
+0x3ca6 005306 hfetch 3 ,core_gpio_sel 
+0x3ca7 005307 store 3 ,mem_saved_gsel 
+0x3ca8 005308 hfetch 1 ,core_spid_ctrl 
+0x3ca9 005309 store 1 ,mem_saved_spidctrl 
+0x3caa 005310 branch lpm_write_gpio_wakeup 
+:      005312 lpo_calibration:
+0x3cab 005313 hfetch 1 ,core_bist_ctrl 
+0x3cac 005314 nbranch lpo_cal_inited ,blank 
+0x3cad 005315 fetch 3 ,mem_clks_per_lpo 
+0x3cae 005316 nrtn blank 
+0x3caf 005317 hjam 0xc0 ,core_bist_ctrl 
+0x3cb0 005318 hjam ccnt_start ,core_misc_ctrl 
+:      005319 lpo_cal_inited:
+0x3cb1 005320 hfetch 1 ,core_perf_status 
+0x3cb2 005321 rtnbit0 1 
+0x3cb3 005322 hfetch 3 ,core_clk_counter 
+0x3cb4 005323 store 3 ,mem_clks_per_lpo 
+0x3cb5 005324 rtn 
+:      005328 lpm_adjust_clk:
+0x3cb6 005329 set0 mark_ext_patch ,mark 
+0x3cb7 005330 bpatch patch15_6 ,mem_patch15 
+0x3cb8 005331 deposit clke 
+0x3cb9 005332 call clk_diff_rt 
+0x3cba 005333 fetcht 4 ,mem_sleep_counter_all 
+0x3cbb 005334 sub temp ,0xff ,null 
+0x3cbc 005335 rtn positive 
+0x3cbd 005336 lshift8 pdata ,pdata 
+0x3cbe 005337 lshift4 pdata ,pdata 
+0x3cbf 005338 idiv temp 
+0x3cc0 005339 call wait_div_end 
+0x3cc1 005340 quotient pdata 
+0x3cc2 005341 arg param_lpm_adjmax ,temp 
+0x3cc3 005342 call ceiling 
+0x3cc4 005343 store 1 ,mem_lpm_adjust 
+0x3cc5 005344 nbranch lpm_adjust_positive ,user 
+0x3cc6 005345 sub pdata ,0 ,pdata 
+:      005346 lpm_adjust_positive:
+0x3cc7 005347 fetcht 3 ,mem_clks_per_lpo 
+0x3cc8 005348 iadd temp ,pdata 
+0x3cc9 005349 store 3 ,mem_clks_per_lpo 
+:      005350 lpm_clear_counter:
+0x3cca 005351 setarg 0 
+0x3ccb 005352 store 4 ,mem_sleep_counter_all 
+0x3ccc 005353 rtn 
+:      005356 lpm_hibernate:
+0x3ccd 005357 set0 mark_ext_patch ,mark 
+0x3cce 005358 bpatch patch15_7 ,mem_patch15 
+0x3ccf 005359 call lpm_write_gpio_wakeup 
+0x3cd0 005360 hfetch 4 ,core_lpm_ctrl 
+0x3cd1 005361 set0 15 ,pdata 
+0x3cd2 005362 hstore 4 ,core_lpm_reg 
+0x3cd3 005363 call lpm_write_ctrl 
+:      005364 lpm_hibernate_normal:
+0x3cd4 005365 arg param_hibernate_clks ,temp 
+0x3cd5 005366 fetch 1 ,mem_lpm_hibernate_switch 
+0x3cd6 005367 store 1 ,mem_lpm_xtalcnt + 4 
+0x3cd7 005368 fetch 1 ,mem_lpm_xtalcnt + 2 
+0x3cd8 005369 set1 cold_wake ,pdata 
+0x3cd9 005370 store 1 ,mem_lpm_xtalcnt + 2 
+:      005373 lpm_sleep:
+0x3cda 005374 set0 mark_ext_patch ,mark 
+0x3cdb 005375 bpatch patch16_0 ,mem_patch16 
+0x3cdc 005376 fetch 4 ,mem_sleep_counter_all 
+0x3cdd 005377 iadd temp ,pdata 
+0x3cde 005378 store 4 ,mem_sleep_counter_all 
+0x3cdf 005379 call lpm_save_context 
+0x3ce0 005380 fetch 5 ,mem_lpm_xtalcnt 
+0x3ce1 005381 hstore 4 ,core_lpm_reg 
+0x3ce2 005382 rshift32 pdata ,rega 
+0x3ce3 005383 until null ,lpo_edge 
+0x3ce4 005384 deposit clkn 
+0x3ce5 005385 store 6 ,mem_sleep_clkn 
+0x3ce6 005386 hjam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x3ce7 005387 until null ,lpo_edge 
+0x3ce8 005388 until null ,lpo_edge 
+0x3ce9 005389 deposit rega 
+0x3cea 005390 hstore 1 ,core_lpm_isogate 
+0x3ceb 005391 hjam lpmreg_sel_ctrl2 ,core_lpm_wr 
+:      005392 lpm_enter_sleep:
+0x3cec 005393 until null ,lpo_edge 
+0x3ced 005394 until null ,lpo_edge 
+0x3cee 005395 hstoret 4 ,core_lpm_reg 
+0x3cef 005396 hjam lpmreg_sel_counter ,core_lpm_wr 
+0x3cf0 005397 until null ,never 
+:      005402 lpm_recover_clk:
+0x3cf1 005403 set0 mark_ext_patch ,mark 
+0x3cf2 005404 bpatch patch16_1 ,mem_patch16 
+0x3cf3 005405 setarg 0 
+0x3cf4 005406 copy auxcnt ,null 
+0x3cf5 005407 branch lpm_recover_timeout ,zero 
+0x3cf6 005408 hfetch 1 ,core_lpm_xtalcnt 
+0x3cf7 005409 hfetcht 1 ,core_lpm_buckcnt 
+0x3cf8 005410 isub temp ,null 
+0x3cf9 005411 branch lpm_recover_xtal ,positive 
+0x3cfa 005412 deposit temp 
+:      005413 lpm_recover_xtal:
+0x3cfb 005414 isub auxcnt ,pdata 
+0x3cfc 005415 increase 1 ,pdata 
+:      005416 lpm_recover_timeout:
+0x3cfd 005417 increase 8 ,pdata 
+0x3cfe 005418 until null ,lpo_edge 
+0x3cff 005419 iadd lpo_time ,pdata 
+0x3d00 005420 fetcht 4 ,mem_sleep_counter 
+0x3d01 005421 iadd temp ,pdata 
+0x3d02 005422 fetcht 3 ,mem_clks_per_lpo 
+0x3d03 005423 imul32 temp ,pdata 
+0x3d04 005424 rshift8 pdata ,pdata 
+0x3d05 005425 rshift4 pdata ,pdata 
+0x3d06 005426 increase param_lpm_fix ,pdata 
+0x3d07 005427 arg 3750 ,temp 
+0x3d08 005428 idiv temp 
+0x3d09 005429 call wait_div_end 
+0x3d0a 005430 quotient pdata 
+0x3d0b 005431 lshift16 pdata ,pdata 
+0x3d0c 005432 remainder temp 
+0x3d0d 005433 ior temp ,pdata 
+0x3d0e 005434 fetcht 6 ,mem_sleep_clkn 
+0x3d0f 005435 call clk_add 
+0x3d10 005436 copy temp ,clkn 
+0x3d11 005437 fetch 6 ,mem_context + coffset_clk_offset 
+0x3d12 005438 call calc_clke2 
+0x3d13 005439 deposit clke 
+0x3d14 005440 store 6 ,mem_pdatatemp 
+0x3d15 005441 deposit auxcnt 
+0x3d16 005442 istore 1 ,contw 
+0x3d17 005443 hfetch 1 ,core_gpio_in1 
+0x3d18 005444 or_into 0xf0 ,pdata 
+0x3d19 005445 istore 1 ,contw 
+0x3d1a 005446 call savelist_2 
+0x3d1b 005447 rtn 
+:      005449 lpm_dispatch:
+0x3d1c 005450 set0 mark_ext_patch ,mark 
+0x3d1d 005451 bpatch patch16_2 ,mem_patch16 
+0x3d1e 005452 call lpo_calibration 
+0x3d1f 005453 fetch 3 ,mem_clks_per_lpo 
+0x3d20 005454 rtn blank 
+0x3d21 005455 fetch 1 ,mem_lpm_mode 
+0x3d22 005456 rtn blank 
+0x3d23 005457 call lpm_check_wake_lock 
+0x3d24 005458 nrtn blank 
+:      005459 lpm_dispatch0:
+0x3d25 005460 fetch 1 ,mem_context 
+0x3d26 005461 compare 3 ,pdata ,0x7 
+0x3d27 005462 nbranch lpm_dispatch_unconn ,true 
+0x3d28 005463 fetch 2 ,mem_context + coffset_tsniff 
+0x3d29 005464 rtn blank 
+0x3d2a 005465 rtn wake 
+0x3d2b 005466 set0 mark_ext_patch ,mark 
+0x3d2c 005467 bpatch patch16_3 ,mem_patch16 
+:      005468 lpm_dispatch1:
+0x3d2d 005469 fetcht 1 ,mem_lpm_current_mult 
+0x3d2e 005470 fetch 2 ,mem_context + coffset_tsniff 
+0x3d2f 005471 imul32 temp ,pdata 
+0x3d30 005472 rshift4 temp ,temp 
+0x3d31 005473 rshift2 temp ,temp 
+0x3d32 005474 isub temp ,pdata 
+0x3d33 005475 fetcht 4 ,mem_context + coffset_sniff_anchor 
+0x3d34 005476 iadd temp ,pdata 
+0x3d35 005477 fetcht 1 ,mem_lpm_overhead 
+0x3d36 005478 isub temp ,pdata 
+0x3d37 005479 lshift16 pdata ,alarm 
+0x3d38 005480 set0 mark_ext_patch ,mark 
+0x3d39 005481 bpatch patch16_4 ,mem_patch16 
+0x3d3a 005482 fetch 2 ,mem_context + coffset_rx_window 
+0x3d3b 005483 rshift pdata ,pdata 
+0x3d3c 005484 call clk2bt 
+0x3d3d 005485 deposit alarm 
+0x3d3e 005486 call clk_diff 
+0x3d3f 005487 copy clke ,temp 
+0x3d40 005488 call clk_diff_rt 
+0x3d41 005489 rtn user 
+:      005490 lpm_dispatch_sleep:
+0x3d42 005491 call clk2lpo 
+:      005492 lpm_dispatch_lpo:
+0x3d43 005493 set0 mark_ext_patch ,mark 
+0x3d44 005494 bpatch patch16_5 ,mem_patch16 
+0x3d45 005495 fetch 1 ,mem_lpm_xtalcnt 
+0x3d46 005496 isub temp ,null 
+0x3d47 005497 branch lpm_clear_counter ,positive 
+0x3d48 005498 storet 4 ,mem_sleep_counter 
+0x3d49 005499 call app_will_enter_lpm 
+0x3d4a 005500 call l2cap_lpm_save_txbuf 
+0x3d4b 005501 fetcht 4 ,mem_sleep_counter 
+0x3d4c 005502 branch lpm_sleep 
+:      005504 lpm_dispatch_unconn:
+0x3d4d 005505 set0 mark_ext_patch ,mark 
+0x3d4e 005506 bpatch patch16_6 ,mem_patch16 
+0x3d4f 005507 fetch 1 ,mem_context 
+0x3d50 005508 rtnbit1 state_inconn 
+0x3d51 005509 rtnbit1 state_inpage 
+0x3d52 005510 fetch 1 ,mem_ssp_enable 
+0x3d53 005511 branch lpm_unconn_nossp ,blank 
+0x3d54 005512 fetch 1 ,mem_sp_local_key_invalid 
+0x3d55 005513 rtn blank 
+:      005514 lpm_unconn_nossp:
+0x3d56 005515 fetch 1 ,mem_le_adv_enable 
+0x3d57 005516 nbranch lpm_unconn_cont ,blank 
+0x3d58 005517 fetch 1 ,mem_scan_mode 
+0x3d59 005518 rtn blank 
+:      005519 lpm_unconn_cont:
+0x3d5a 005520 fetch 2 ,mem_lpm_interval 
+0x3d5b 005521 rtn blank 
+:      005522 lpm_sleep_btclk:
+0x3d5c 005523 fetcht 1 ,mem_lpm_overhead 
+0x3d5d 005524 isub temp ,pdata 
+0x3d5e 005525 arg 7500 ,temp 
+0x3d5f 005526 imul32 temp ,pdata 
+0x3d60 005527 branch lpm_dispatch_sleep 
+:      005529 lpm_set_mult:
+0x3d61 005530 set0 mark_ext_patch ,mark 
+0x3d62 005531 bpatch patch16_7 ,mem_patch16 
+0x3d63 005532 disable wake 
+0x3d64 005533 fetch 1 ,mem_state 
+0x3d65 005534 rtnbit0 state_insniff 
+0x3d66 005535 nbranch lpm_not_match ,match 
+0x3d67 005536 call lpm_match 
+0x3d68 005537 fetch 2 ,mem_rx_window_sniff 
+0x3d69 005538 store 2 ,mem_rx_window 
+0x3d6a 005539 fetch 1 ,mem_arq 
+0x3d6b 005540 bbit1 wack ,lpm_mult_short 
+0x3d6c 005541 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x3d6d 005542 call l2cap_malloc_is_fifo_empty 
+0x3d6e 005543 nbranch lpm_mult_short ,blank 
+:      005544 lpm_mult_wait_timeout:
+0x3d6f 005545 jam 0 ,mem_lpm_current_mult 
+0x3d70 005546 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x3d71 005547 fetch 1 ,mem_lpm_mult_cnt 
+0x3d72 005548 branch lpm_mult_long ,blank 
+0x3d73 005549 increase -1 ,pdata 
+0x3d74 005550 store 1 ,mem_lpm_mult_cnt 
+0x3d75 005551 rtn 
+:      005553 lpm_match:
+0x3d76 005554 jam 0 ,mem_sniff_unint_lost 
+0x3d77 005555 fetch 3 ,mem_sniff_rcv 
+0x3d78 005556 increase 1 ,pdata 
+0x3d79 005557 store 3 ,mem_sniff_rcv 
+0x3d7a 005558 rtn 
+:      005560 lpm_not_match:
+0x3d7b 005561 set0 mark_ext_patch ,mark 
+0x3d7c 005562 bpatch patch17_0 ,mem_patch17 
+0x3d7d 005563 fetcht 2 ,mem_rx_window_sniff 
+0x3d7e 005564 rshift temp ,temp 
+0x3d7f 005565 fetch 2 ,mem_rx_window 
+0x3d80 005566 iadd temp ,pdata 
+0x3d81 005567 store 2 ,mem_rx_window 
+:      005568 lpm_lost:
+0x3d82 005569 jam 0 ,mem_lpm_current_mult 
+0x3d83 005570 fetch 3 ,mem_sniff_lost 
+0x3d84 005571 increase 1 ,pdata 
+0x3d85 005572 store 3 ,mem_sniff_lost 
+0x3d86 005573 fetch 1 ,mem_sniff_unint_lost 
+0x3d87 005574 increase 1 ,pdata 
+0x3d88 005575 store 1 ,mem_sniff_unint_lost 
+0x3d89 005576 rtn 
+:      005578 lpm_mult_short:
+0x3d8a 005579 jam 0 ,mem_lpm_current_mult 
+0x3d8b 005580 fetch 1 ,mem_lpm_mult_timeout 
+0x3d8c 005581 store 1 ,mem_lpm_mult_cnt 
+0x3d8d 005582 rtn 
+:      005584 lpm_mult_long:
+0x3d8e 005585 fetcht 1 ,mem_lpm_mult 
+0x3d8f 005586 storet 1 ,mem_lpm_current_mult 
+0x3d90 005587 rtn 
+:      005589 lpm_cal_xtal_startup:
+0x3d91 005590 set0 mark_ext_patch ,mark 
+0x3d92 005591 bpatch patch17_1 ,mem_patch17 
+0x3d93 005592 fetch 1 ,mem_lpm_xtalcnt 
+0x3d94 005593 nrtn blank 
+0x3d95 005594 hjam clksel_rc ,core_clksel 
+0x3d96 005595 setarg 0xf0c 
+0x3d97 005596 call lpm_write_config 
+0x3d98 005597 setarg 200000 
+0x3d99 005598 call sleep 
+0x3d9a 005599 until null ,lpo_edge 
+0x3d9b 005600 copy lpo_time ,alarm 
+0x3d9c 005601 call xtal_fast_wake 
+0x3d9d 005602 hjam clksel_xtal ,core_clksel 
+0x3d9e 005603 nop 10 
+0x3d9f 005604 until null ,lpo_edge 
+0x3da0 005605 deposit lpo_time 
+0x3da1 005606 isub alarm ,pdata 
+0x3da2 005607 increase 0x30 ,pdata 
+0x3da3 005608 arg 0xff ,temp 
+0x3da4 005609 call ceiling 
+0x3da5 005610 store 1 ,mem_lpm_xtalcnt 
+0x3da6 005611 rtn 
+:      005616 lpm_write_config:
+0x3da7 005617 arg 0xfff ,contw 
+0x3da8 005618 iand contw ,contw 
+0x3da9 005619 fetch 1 ,mem_lpm_config 
+0x3daa 005620 and_into 0xf0 ,pdata 
+0x3dab 005621 lshift8 pdata ,pdata 
+0x3dac 005622 ior contw ,pdata 
+0x3dad 005623 hstore 2 ,core_lpm_reg 
+0x3dae 005624 ifetch 2 ,contr 
+0x3daf 005625 istore 2 ,contw 
+:      005627 lpm_write_ctrl:
+0x3db0 005628 setarg lpmreg_sel_ctrl 
+0x3db1 005629 branch lpm_write 
+:      005631 lpm_write_ctrl2:
+0x3db2 005632 setarg lpmreg_sel_ctrl2 
+:      005633 lpm_write:
+0x3db3 005634 until null ,lpo_edge 
+0x3db4 005635 hstore 1 ,core_lpm_wr 
+0x3db5 005636 until null ,lpo_edge 
+0x3db6 005637 until null ,lpo_edge 
+0x3db7 005638 rtn 
+:      005641 lpm_write_gpio_wakeup:
+0x3db8 005642 set0 mark_ext_patch ,mark 
+0x3db9 005643 bpatch patch17_2 ,mem_patch17 
+0x3dba 005644 fetch 4 ,mem_gpio_wakeup_low 
+0x3dbb 005645 hstore 4 ,core_lpm_reg 
+0x3dbc 005646 setarg lpmreg_sel_gpiolow 
+0x3dbd 005647 call lpm_write 
+0x3dbe 005648 fetch 4 ,mem_gpio_wakeup_high 
+0x3dbf 005649 hstore 4 ,core_lpm_reg 
+0x3dc0 005650 setarg lpmreg_sel_gpiohigh 
+0x3dc1 005651 branch lpm_write 
+:      005653 lpm_get_wake_lock:
+0x3dc2 005654 fetch 2 ,mem_lpm_wake_lock 
+0x3dc3 005655 qset1 pdata 
+0x3dc4 005656 store 2 ,mem_lpm_wake_lock 
+0x3dc5 005657 rtn 
+:      005659 lpm_put_wake_lock:
+0x3dc6 005660 fetch 2 ,mem_lpm_wake_lock 
+0x3dc7 005661 qset0 pdata 
+0x3dc8 005662 store 2 ,mem_lpm_wake_lock 
+0x3dc9 005663 rtn 
+:      005667 lpm_check_wake_lock:
+0x3dca 005668 set0 mark_ext_patch ,mark 
+0x3dcb 005669 bpatch patch17_3 ,mem_patch17 
+0x3dcc 005670 call app_check_wake_lock 
+0x3dcd 005671 fetch 2 ,mem_lpm_wake_lock 
+0x3dce 005672 copy pdata ,rega 
+0x3dcf 005673 fetch 1 ,mem_state_map 
+0x3dd0 005674 isolate1 smap_rxlmp ,pdata 
+0x3dd1 005675 setflag true ,wake_lock_lmp_rx ,rega 
+0x3dd2 005676 fetch 1 ,mem_lmo_opcode1 
+0x3dd3 005677 fetcht 1 ,mem_lmo_opcode2 
+0x3dd4 005678 iadd temp ,pdata 
+0x3dd5 005679 fetcht 1 ,mem_lmp_to_send 
+0x3dd6 005680 iadd temp ,pdata 
+0x3dd7 005681 nsetflag blank ,wake_lock_lmp_tx ,rega 
+0x3dd8 005682 set0 mark_ext_patch ,mark 
+0x3dd9 005683 bpatch patch17_4 ,mem_patch17 
+0x3dda 005684 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x3ddb 005685 fetcht 2 ,mem_l2cap_rxbuff2_len 
+0x3ddc 005686 iadd temp ,pdata 
+0x3ddd 005687 nsetflag blank ,wake_lock_l2cap_rx ,rega 
+0x3dde 005688 fetch 5 ,mem_ipc_fifo_bt2c51 
+0x3ddf 005689 nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+0x3de0 005690 fetch 5 ,mem_ipc_fifo_c512bt 
+0x3de1 005691 nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+0x3de2 005692 fetch 1 ,mem_hci_cmd 
+0x3de3 005693 nsetflag blank ,wake_lock_cmd ,rega 
+0x3de4 005694 fetch 1 ,mem_device_option 
+0x3de5 005695 compare dvc_op_module ,pdata ,0xff 
+0x3de6 005696 call lpm_uart_wake_lock ,true 
+0x3de7 005697 set0 mark_ext_patch ,mark 
+0x3de8 005698 bpatch patch17_5 ,mem_patch17 
+0x3de9 005699 fetch 1 ,mem_device_option 
+0x3dea 005700 bne dvc_op_hci ,lpm_check_wake_lock_nothci 
+0x3deb 005701 call lpm_uart_wake_lock 
+0x3dec 005702 fetch 1 ,mem_link_key_exists 
+0x3ded 005703 setflag blank ,wake_link_key_exists ,rega 
+0x3dee 005704 fetch 4 ,mem_lpm_delay_after_sniff 
+0x3def 005705 arg 0x1710 ,temp 
+0x3df0 005706 iadd temp ,temp 
+0x3df1 005707 copy clkn_bt ,pdata 
+0x3df2 005708 isub temp ,null 
+0x3df3 005709 nsetflag positive ,wake_lock_delay ,rega 
+0x3df4 005710 branch lpm_check_wake_lock_end 
+:      005712 lpm_uart_wake_lock:
+0x3df5 005713 hfetch 2 ,core_uart_rxitems 
+0x3df6 005714 nsetflag blank ,wake_lock_uart_rx ,rega 
+0x3df7 005715 hfetch 2 ,core_uart_txitems 
+0x3df8 005716 nsetflag blank ,wake_lock_uart_tx ,rega 
+0x3df9 005717 rtn 
+:      005719 lpm_check_wake_lock_nothci:
+0x3dfa 005720 setarg -8 
+0x3dfb 005721 iand rega ,rega 
+:      005722 lpm_check_wake_lock_end:
+0x3dfc 005723 copy rega ,pdata 
+0x3dfd 005724 store 2 ,mem_lpm_wake_lock 
+0x3dfe 005725 rtn blank 
+0x3dff 005726 rtn match 
+0x3e00 005727 enable wake 
+0x3e01 005728 rtn 
+:      005730 lpm_shut_down:
+0x3e02 005731 hfetch 4 ,core_lpm_ctrl 
+0x3e03 005732 set0 27 ,pdata 
+0x3e04 005733 hstore 4 ,core_lpm_reg 
+0x3e05 005734 call lpm_write_ctrl 
+0x3e06 005735 branch assert 
+:      005737 lpm_enable_exen_output:
+0x3e07 005738 hfetch 4 ,core_lpm_xtalcnt 
+0x3e08 005739 set1 20 ,pdata 
+0x3e09 005740 hstore 4 ,core_lpm_reg 
+0x3e0a 005741 branch lpm_write_ctrl2 
+:      005743 lpm_disable_exen_output:
+0x3e0b 005744 hfetch 4 ,core_lpm_xtalcnt 
+0x3e0c 005745 set0 20 ,pdata 
+0x3e0d 005746 hstore 4 ,core_lpm_reg 
+0x3e0e 005747 branch lpm_write_ctrl2 
+:      005749 lpm_hci_wake_dispatch:
+0x3e0f 005750 set0 mark_ext_patch ,mark 
+0x3e10 005751 bpatch patch17_6 ,mem_patch17 
+0x3e11 005752 fetch 1 ,mem_device_option 
+0x3e12 005753 rtnne dvc_op_hci 
+0x3e13 005754 call gpio_check_uart_state 
+0x3e14 005755 rtn true 
+0x3e15 005756 fetch 4 ,mem_hci_wake_clk 
+0x3e16 005757 nbranch lpm_hci_check_wake_time ,blank 
+0x3e17 005758 copy clkn_bt ,pdata 
+0x3e18 005759 store 4 ,mem_hci_wake_clk 
+0x3e19 005760 branch gpio_pd_uart_tx 
+:      005761 lpm_hci_check_wake_time:
+0x3e1a 005762 set0 mark_ext_patch ,mark 
+0x3e1b 005763 bpatch patch17_7 ,mem_patch17 
+0x3e1c 005764 copy clkn_bt ,pdata 
+0x3e1d 005765 fetcht 4 ,mem_hci_wake_clk 
+0x3e1e 005766 isub temp ,pdata 
+0x3e1f 005767 arg host_wake_time ,temp 
+0x3e20 005768 isub temp ,null 
+0x3e21 005769 nrtn positive 
+0x3e22 005770 setarg 0 
+0x3e23 005771 store 4 ,mem_hci_wake_clk 
+0x3e24 005772 branch hci_exit_lpm 
+:      005774 check_bt_disabled:
+0x3e25 005775 fetch 2 ,mem_chip_functions 
+0x3e26 005776 bbit1 bt_disabled ,assert 
+0x3e27 005777 rtn 
+:      005778 check_ble_disabled:
+0x3e28 005779 fetch 2 ,mem_chip_functions 
+0x3e29 005780 bbit1 ble_disabled ,assert 
+0x3e2a 005781 rtn 
+:      005782 check_module_disabled:
+0x3e2b 005783 fetch 2 ,mem_chip_functions 
+0x3e2c 005784 bbit1 module_disable ,assert 
+0x3e2d 005785 rtn 
+:      005787 test_init:
+0x3e2e 005788 setarg test_proc 
+0x3e2f 005789 store 2 ,mem_cb_bt_process 
+0x3e30 005790 setarg test_sleep 
+0x3e31 005791 store 2 ,mem_cb_bb_event_process 
+0x3e32 005792 setarg test_proc 
+0x3e33 005793 store 2 ,mem_cb_idle_process 
+0x3e34 005794 rtn wake 
+0x3e35 005795 jam ui_led_start ,mem_led_switch 
+0x3e36 005796 rtn 
+:      005798 test_proc:
+0x3e37 005799 fetch 1 ,mem_state 
+0x3e38 005800 bbit0 state_insniff ,check_test_cond 
+0x3e39 005801 set1 mark_lpm_mult_enable ,mark 
+0x3e3a 005802 fetch 6 ,mem_sniff_rcv 
+0x3e3b 005803 store 6 ,mem_local_name 
+0x3e3c 005804 branch ui_led_blink_stop 
+:      005807 test_sleep:
+0x3e3d 005808 deposit regc 
+0x3e3e 005809 rtnne bt_evt_button_long_pressed 
+:      005810 test_sleep_loop:
+0x3e3f 005811 call ui_button_polling 
+0x3e40 005812 fetch 1 ,mem_ui_button_last_state 
+0x3e41 005813 beq 1 ,test_sleep_loop 
+0x3e42 005814 call ui_led_off 
+0x3e43 005815 branch lpm_hibernate 
+:      005818 test_tx:
+0x3e44 005819 force 2 ,temp 
+0x3e45 005820 increase -2 ,temp 
+0x3e46 005821 call set_sync_on 
+0x3e47 005822 call set_freq_tx 
+0x3e48 005823 disable enable_white 
+0x3e49 005824 enable encode_fec0 
+0x3e4a 005825 set1 txgfsk ,radio_ctrl 
+0x3e4b 005826 call start_transmitter 
+:      005827 test_tx_loop:
+0x3e4c 005828 fetch 1 ,0 
+0x3e4d 005829 inject mod ,8 
+0x3e4e 005830 branch test_tx_loop 
+:      005836 app_init:
+0x3e4f 005837 set1 mark_ext_patch ,mark 
+0x3e50 005838 bpatch patch39_5 ,mem_patch39 
+0x3e51 005839 fetch 1 ,mem_device_option 
+0x3e52 005840 branch app_init ,blank 
+0x3e53 005841 beq dvc_op_ukey ,le_ukey_init 
+0x3e54 005842 beq dvc_op_ir ,le_ir_init 
+0x3e55 005843 beq dvc_op_dongle ,le_dongle_init 
+0x3e56 005844 beq dvc_op_kb ,kb_init 
+0x3e57 005845 beq dvc_op_hci ,hci_init 
+0x3e58 005846 beq dvc_op_shutter ,shutter_init 
+0x3e59 005847 beq dvc_op_module ,module_init 
+0x3e5a 005848 beq dvc_op_ble_kb ,le_kb_init 
+0x3e5b 005849 beq dvc_op_ble_prcp ,prcp_init 
+0x3e5c 005850 beq dvc_op_test ,test_init 
+0x3e5d 005851 bbit1 dvc_op_mouse ,mouse_init 
+0x3e5e 005852 rtn 
+:      005854 app_lpm_init:
+0x3e5f 005855 set1 mark_ext_patch ,mark 
+0x3e60 005856 bpatch patch39_6 ,mem_patch39 
+0x3e61 005857 jam 0 ,mem_tester_emulate 
+0x3e62 005858 jam 0 ,mem_debug_config 
+0x3e63 005859 jam 0 ,mem_lch_code 
+0x3e64 005860 setarg 0 
+0x3e65 005861 store 5 ,mem_sp_state_start 
+0x3e66 005862 fetch 1 ,mem_device_option 
+0x3e67 005863 branch app_lpm_init ,blank 
+0x3e68 005864 beq dvc_op_module ,module_lpm_init 
+0x3e69 005865 rtn 
+:      005868 app_process_idle:
+0x3e6a 005869 call ui_dispatch 
+0x3e6b 005870 call check_51cmd 
+0x3e6c 005871 call app_process_bb_event 
+0x3e6d 005872 fetch 2 ,mem_cb_idle_process 
+0x3e6e 005873 branch callback_func 
+:      005875 app_process_bt:
+0x3e6f 005876 fetch 2 ,mem_cb_bt_process 
+0x3e70 005877 branch callback_func 
+:      005879 app_process_ble:
+0x3e71 005880 fetch 2 ,mem_cb_le_process 
+0x3e72 005881 branch callback_func 
+:      005883 app_process_bb_event:
+0x3e73 005884 set1 mark_ext_patch ,mark 
+0x3e74 005885 bpatch patch39_7 ,mem_patch39 
+0x3e75 005887 arg mem_ipc_fifo_bt2c51 ,rega 
+0x3e76 005888 call fifo_out 
+0x3e77 005889 rtn blank 
+0x3e78 005891 copy pdata ,regc 
+0x3e79 005892 call app_event_normal_process 
+0x3e7a 005893 branch app_process_bb_event_priority 
+:      005895 app_discard_event:
+0x3e7b 005896 arg 0 ,regc 
+0x3e7c 005897 rtn 
+:      005902 app_event_normal_process:
+0x3e7d 005903 beq bt_evt_bb_connected ,app_evt_bt_conn 
+0x3e7e 005904 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+0x3e7f 005905 beq bt_evt_setup_complete ,app_evt_setup_complete 
+0x3e80 005906 beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+0x3e81 005907 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+0x3e82 005908 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+0x3e83 005909 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+0x3e84 005910 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+0x3e85 005911 beq bt_evt_le_connected ,app_le_event_bb_connected 
+0x3e86 005912 beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+0x3e87 005913 beq bt_evt_reconn_started ,app_event_reconn_start 
+0x3e88 005914 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+0x3e89 005915 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+0x3e8a 005917 beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+0x3e8b 005918 beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+0x3e8c 005919 beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+0x3e8d 005920 beq bt_evt_switch_success_master ,app_event_switch_success 
+0x3e8e 005922 and pdata ,0x0f ,temp 
+0x3e8f 005923 and_into bt_evt_timer_mask ,pdata 
+0x3e90 005924 beq bt_evt_timer_init ,app_evt_timer 
+0x3e91 005925 rtn 
+:      005927 app_evt_bt_conn:
+0x3e92 005928 fetch 2 ,mem_ui_state_map 
+0x3e93 005929 set1 ui_state_bt_connected ,pdata 
+0x3e94 005930 store 2 ,mem_ui_state_map 
+0x3e95 005931 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3e96 005932 set0 app_disc_by_button ,pdata 
+0x3e97 005933 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3e98 005934 rtn 
+:      005935 app_event_switch_success:
+0x3e99 005936 jam 0 ,mem_switch_fail_master_count 
+0x3e9a 005937 rtn 
+:      005939 app_event_switch_fail_master:
+0x3e9b 005940 fetch 1 ,mem_switch_fail_master_count 
+0x3e9c 005941 increase 1 ,pdata 
+0x3e9d 005942 store 1 ,mem_switch_fail_master_count 
+0x3e9e 005943 sub pdata ,1 ,null 
+0x3e9f 005944 branch app_bt_role_switch ,positive 
+0x3ea0 005945 jam 0 ,mem_switch_fail_master_count 
+0x3ea1 005946 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ea2 005947 set1 app_disc_switch_fail ,pdata 
+0x3ea3 005948 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ea4 005949 branch app_bt_disconnect 
+:      005951 app_process_bb_event_priority:
+0x3ea5 005952 fetch 2 ,mem_cb_bb_event_process 
+0x3ea6 005953 branch callback_func 
+:      005955 app_check_wake_lock:
+0x3ea7 005956 fetch 2 ,mem_cb_check_wakelock 
+0x3ea8 005957 branch callback_func 
+:      005959 app_will_enter_lpm:
+0x3ea9 005960 fetch 2 ,mem_cb_before_lpm 
+0x3eaa 005961 branch callback_func 
+:      005963 app_event_linkkey_generate:
+0x3eab 005964 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eac 005965 set1 app_disc_after_pairing ,pdata 
+0x3ead 005966 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eae 005967 branch app_bt_store_reconn_info 
+:      005969 app_event_reconn_start:
+0x3eaf 005970 fetch 2 ,mem_ui_state_map 
+0x3eb0 005971 set1 ui_state_bt_reconnect ,pdata 
+0x3eb1 005972 store 2 ,mem_ui_state_map 
+0x3eb2 005973 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eb3 005974 set1 app_disc_after_reconn ,pdata 
+0x3eb4 005975 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eb5 005976 rtn 
+:      005978 app_evt_setup_complete:
+0x3eb6 005979 fetch 2 ,mem_ui_state_map 
+0x3eb7 005980 set1 ui_state_bt_setup_complete ,pdata 
+0x3eb8 005981 store 2 ,mem_ui_state_map 
+0x3eb9 005982 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eba 005983 set1 app_disc_after_setup_done ,pdata 
+0x3ebb 005984 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ebc 005985 rtn 
+:      005987 app_evt_hid_handshake:
+0x3ebd 005988 fetch 2 ,mem_ui_state_map 
+0x3ebe 005989 set1 ui_state_bt_hid_handshake ,pdata 
+0x3ebf 005990 store 2 ,mem_ui_state_map 
+0x3ec0 005991 rtn 
+:      005993 app_event_enter_sniff:
+0x3ec1 005994 fetch 2 ,mem_ui_state_map 
+0x3ec2 005995 set1 ui_state_bt_sniff ,pdata 
+0x3ec3 005996 store 2 ,mem_ui_state_map 
+0x3ec4 005997 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ec5 005998 set1 app_disc_after_sniff ,pdata 
+0x3ec6 005999 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ec7 006000 rtn 
+:      006002 app_event_exit_sniff:
+0x3ec8 006003 fetch 2 ,mem_ui_state_map 
+0x3ec9 006004 set0 ui_state_bt_sniff ,pdata 
+0x3eca 006005 store 2 ,mem_ui_state_map 
+0x3ecb 006006 rtn 
+:      006008 app_le_event_bb_connected:
+0x3ecc 006009 fetch 2 ,mem_ui_state_map 
+0x3ecd 006010 set1 ui_state_ble_connected ,pdata 
+0x3ece 006011 store 2 ,mem_ui_state_map 
+0x3ecf 006012 rtn 
+:      006014 app_le_event_bb_disconn:
+0x3ed0 006015 fetch 2 ,mem_ui_state_map 
+0x3ed1 006016 set0 ui_state_ble_connected ,pdata 
+0x3ed2 006017 store 2 ,mem_ui_state_map 
+0x3ed3 006018 jam 0 ,mem_le_switch_send_data 
+0x3ed4 006019 branch app_lpm_mult_disable 
+:      006021 app_bb_event_hid_connected:
+0x3ed5 006022 fetch 2 ,mem_ui_state_map 
+0x3ed6 006023 set1 ui_state_bt_hid_conn ,pdata 
+0x3ed7 006024 store 2 ,mem_ui_state_map 
+0x3ed8 006025 rtn 
+:      006027 app_evt_button_long_pressed:
+0x3ed9 006028 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eda 006029 set1 app_disc_by_button ,pdata 
+0x3edb 006030 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3edc 006031 rtn 
+:      006033 app_event_ml2cap_conn_refused:
+0x3edd 006034 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ede 006035 set1 app_disc_l2cap_refused ,pdata 
+0x3edf 006036 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ee0 006037 branch app_bt_disconnect 
+:      006040 app_evt_timer:
+0x3ee1 006041 set1 mark_ext_patch ,mark 
+0x3ee2 006042 bpatch patch3a_0 ,mem_patch3a 
+0x3ee3 006043 storet 1 ,mem_app_evt_timer_count 
+:      006044 app_evt_100ms_loop:
+0x3ee4 006045 fetch 1 ,mem_app_evt_timer_count 
+0x3ee5 006046 rtn blank 
+0x3ee6 006047 increase -1 ,pdata 
+0x3ee7 006048 store 1 ,mem_app_evt_timer_count 
+0x3ee8 006049 call ui_button_polling 
+0x3ee9 006050 call app_lpm_wake_auto_lock_timer 
+0x3eea 006051 call app_unsniff_delay_timer 
+0x3eeb 006052 call app_discovery_timer 
+0x3eec 006053 branch app_evt_100ms_loop 
+:      006055 app_unsniff_delay_timer:
+0x3eed 006056 fetch 1 ,mem_unsniff2sniff_timer_count 
+0x3eee 006057 rtn blank 
+0x3eef 006058 increase -1 ,pdata 
+0x3ef0 006059 store 1 ,mem_unsniff2sniff_timer_count 
+0x3ef1 006060 nrtn blank 
+0x3ef2 006061 call context_check_idle 
+0x3ef3 006062 branch app_bt_enter_sniff ,zero 
+0x3ef4 006063 rtn 
+:      006064 app_discovery_timer:
+0x3ef5 006065 fetch 2 ,mem_discovery_timeout_timer_count 
+0x3ef6 006066 rtn blank 
+0x3ef7 006067 increase -1 ,pdata 
+0x3ef8 006068 store 2 ,mem_discovery_timeout_timer_count 
+0x3ef9 006069 nrtn blank 
+0x3efa 006070 call app_bt_stop_discovery 
+0x3efb 006071 call app_led_off 
+0x3efc 006072 fetch 2 ,mem_cb_discovry_timeout 
+0x3efd 006073 branch callback_func 
+:      006075 app_bb_event_reconn_failed:
+0x3efe 006076 call app_disconn_reason_flag_clear 
+:      006077 app_clear_reconnect_flag:
+0x3eff 006078 fetch 2 ,mem_ui_state_map 
+0x3f00 006079 set0 ui_state_bt_reconnect ,pdata 
+0x3f01 006080 store 2 ,mem_ui_state_map 
+0x3f02 006081 rtn 
+:      006083 app_bb_event_bb_disconn:
+0x3f03 006084 jam 0 ,mem_unsniff2sniff_timer_count 
+0x3f04 006085 fetch 2 ,mem_ui_state_map 
+0x3f05 006086 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0x3f06 006087 isolate0 ui_state_bt_setup_complete ,pdata 
+0x3f07 006088 call app_discard_event ,true 
+:      006089 app_bb_event_bb_reconn_disconn:
+0x3f08 006090 fetch 2 ,mem_ui_state_map 
+0x3f09 006091 set0 ui_state_bt_connected ,pdata 
+0x3f0a 006092 set0 ui_state_bt_setup_complete ,pdata 
+0x3f0b 006093 set0 ui_state_bt_hid_conn ,pdata 
+0x3f0c 006094 set0 ui_state_bt_hid_handshake ,pdata 
+0x3f0d 006095 set0 ui_state_bt_spp_conn ,pdata 
+0x3f0e 006096 store 2 ,mem_ui_state_map 
+0x3f0f 006097 branch app_lpm_mult_disable 
+:      006099 app_bb_hibernate:
+0x3f10 006100 call app_disconn_reason_clear 
+0x3f11 006101 branch app_enter_hibernate 
+:      006104 app_event_do_nothing:
+:      006105 app_disconn_reason_clear:
+0x3f12 006106 setarg 0 
+0x3f13 006107 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3f14 006108 rtn 
+:      006109 app_disconn_reason_flag_clear:
+0x3f15 006110 setarg 0 
+0x3f16 006111 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f17 006112 rtn 
+:      006115 app_disconn_reason_collect_bt:
+0x3f18 006116 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f19 006117 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3f1a 006118 setarg 0 
+0x3f1b 006119 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f1c 006120 rtn 
+:      006122 app_disconn_reason_collect_ble:
+0x3f1d 006123 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f1e 006124 set1 app_disc_ble ,pdata 
+0x3f1f 006125 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3f20 006126 setarg 0 
+0x3f21 006127 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f22 006128 rtn 
+:      006134 app_check_reconn_target:
+0x3f23 006135 call eeprom_load_reconn_info 
+0x3f24 006136 fetch 6 ,mem_hci_plap 
+0x3f25 006137 rtn 
+:      006139 app_le_check_reconn_target:
+0x3f26 006140 fetch 1 ,mem_ltk_exists 
+0x3f27 006141 branch app_le_check_reconn_target_none ,blank 
+0x3f28 006142 call app_led_on 
+0x3f29 006143 branch app_ble_start_direct_adv 
+:      006144 app_le_check_reconn_target_none:
+0x3f2a 006145 call app_led_start_blink 
+0x3f2b 006146 branch app_ble_start_adv 
+:      006148 app_check_plap:
+0x3f2c 006149 set1 mark_ext_patch ,mark 
+0x3f2d 006150 bpatch patch3a_1 ,mem_patch3a 
+0x3f2e 006151 arg mem_check_plap_temp ,regb 
+0x3f2f 006152 arg app_check_one_plap ,regc 
+0x3f30 006153 branch context_search 
+:      006155 app_check_one_plap:
+0x3f31 006156 arg 0 ,temp 
+0x3f32 006157 bbit0 state_inconn ,app_check_one_plap_next 
+0x3f33 006158 add rega ,coffset_plap ,contr 
+0x3f34 006159 ifetcht 6 ,contr 
+:      006160 app_check_one_plap_next:
+0x3f35 006161 copy temp ,pdata 
+0x3f36 006162 ncall app_check_one_plap_device_exist ,blank 
+0x3f37 006163 istoret 6 ,regb 
+0x3f38 006164 increase 6 ,regb 
+0x3f39 006165 branch context_search_next 
+:      006166 app_check_one_plap_device_exist:
+0x3f3a 006167 fetch 1 ,mem_device_nums 
+0x3f3b 006168 increase 1 ,pdata 
+0x3f3c 006169 store 1 ,mem_device_nums 
+0x3f3d 006170 rtn 
+:      006172 app_check_conn_device_nums_addr:
+0x3f3e 006173 jam 0 ,mem_device_nums 
+0x3f3f 006174 branch app_check_plap 
+:      006176 app_check_sniff:
+0x3f40 006177 fetch 1 ,mem_ui_state_map 
+0x3f41 006178 isolate1 ui_state_bt_sniff ,pdata 
+0x3f42 006179 rtn 
+:      006184 app_clearflag_store:
+0x3f43 006185 setarg 0 
+0x3f44 006186 branch app_flag_store 
+:      006187 app_initflag_store:
+0x3f45 006188 setarg eeprom_init_flag 
+:      006189 app_flag_store:
+0x3f46 006190 store 2 ,mem_timeup 
+0x3f47 006191 set1 mark_ext_patch ,mark 
+0x3f48 006192 bpatch patch3a_2 ,mem_patch3a 
+0x3f49 006193 arg 2 ,temp 
+0x3f4a 006194 arg mem_timeup ,rega 
+0x3f4b 006195 arg eeprom_module_init_flag ,regb 
+0x3f4c 006196 branch iicd_write_eep_data 
+:      006199 app_initflag_check:
+0x3f4d 006200 set1 mark_ext_patch ,mark 
+0x3f4e 006201 bpatch patch3a_3 ,mem_patch3a 
+0x3f4f 006202 arg 2 ,temp 
+0x3f50 006203 arg mem_pdatatemp ,rega 
+0x3f51 006204 arg eeprom_module_init_flag ,regb 
+0x3f52 006205 call iicd_read_eep_data 
+0x3f53 006206 fetch 2 ,mem_pdatatemp 
+0x3f54 006207 arg eeprom_init_flag ,temp 
+0x3f55 006208 isub temp ,null 
+0x3f56 006209 rtn 
+:      006212 app_start_auto_sniff:
+0x3f57 006213 fetch 1 ,mem_unsniff2sniff_timer 
+0x3f58 006214 store 1 ,mem_unsniff2sniff_timer_count 
+0x3f59 006215 rtn 
+:      006217 app_get_lpm_wake_lock:
+0x3f5a 006218 arg wake_lock_app ,queue 
+0x3f5b 006219 branch lpm_get_wake_lock 
+:      006221 app_put_lpm_wake_lock:
+0x3f5c 006222 arg wake_lock_app ,queue 
+0x3f5d 006223 branch lpm_put_wake_lock 
+:      006225 app_lpm_wake_auto_lock:
+0x3f5e 006226 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+0x3f5f 006227 branch app_get_lpm_wake_lock 
+:      006228 app_lpm_wake_auto_lock_timer:
+0x3f60 006229 fetch 1 ,mem_wake_up_delay_timer 
+0x3f61 006230 rtn blank 
+0x3f62 006231 increase -1 ,pdata 
+0x3f63 006232 store 1 ,mem_wake_up_delay_timer 
+0x3f64 006233 nrtn blank 
+0x3f65 006234 branch app_put_lpm_wake_lock 
+:      006236 app_l2cap_flow_control_enable:
+0x3f66 006237 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+0x3f67 006238 rtn 
+:      006240 app_l2cap_flow_control_disable:
+0x3f68 006241 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+0x3f69 006242 rtn 
+:      006244 app_bt_set_pincode:
+0x3f6a 006245 jam bt_cmd_set_pin_code ,mem_fifo_temp 
+0x3f6b 006246 branch ui_ipc_send_cmd 
+:      006248 app_bt_role_switch:
+0x3f6c 006249 jam bt_cmd_role_switch ,mem_fifo_temp 
+0x3f6d 006250 branch ui_ipc_send_cmd 
+:      006252 app_bt_start_reconnect:
+0x3f6e 006253 set1 mark_ext_patch ,mark 
+0x3f6f 006254 bpatch patch3a_4 ,mem_patch3a 
+0x3f70 006255 fetch 1 ,mem_app_connection_options 
+0x3f71 006256 store 1 ,mem_connection_options 
+0x3f72 006257 jam app_flag_reconnect ,mem_reconnect_flag 
+0x3f73 006258 jam bt_cmd_reconnect ,mem_fifo_temp 
+0x3f74 006259 branch ui_ipc_send_cmd 
+:      006261 app_bt_reconnect_cancel:
+0x3f75 006262 jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+0x3f76 006263 branch ui_ipc_send_cmd 
+:      006265 app_bt_disconnect:
+0x3f77 006266 jam bt_cmd_disconnect ,mem_fifo_temp 
+0x3f78 006267 branch ui_ipc_send_cmd 
+:      006269 app_bt_start_discovery_short:
+0x3f79 006270 fetch 2 ,mem_discovery_timeout 
+0x3f7a 006271 store 2 ,mem_discovery_timeout_timer_count 
+:      006272 app_bt_start_discovery_led_blink:
+0x3f7b 006273 call app_led_start_blink 
+:      006274 app_bt_start_discovery:
+0x3f7c 006275 jam bt_cmd_start_discovery ,mem_fifo_temp 
+0x3f7d 006276 branch ui_ipc_send_cmd 
+:      006278 app_bt_stop_discovery:
+0x3f7e 006279 setarg 0 
+0x3f7f 006280 store 2 ,mem_discovery_timeout_timer_count 
+0x3f80 006281 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+0x3f81 006282 branch ui_ipc_send_cmd 
+:      006284 app_ble_start_direct_adv:
+0x3f82 006285 jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+0x3f83 006286 branch ui_ipc_send_cmd 
+:      006288 app_ble_stop_direct_adv:
+0x3f84 006289 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+0x3f85 006290 branch ui_ipc_send_cmd 
+:      006292 app_ble_stop_adv:
+0x3f86 006293 jam bt_cmd_stop_adv ,mem_fifo_temp 
+0x3f87 006294 branch ui_ipc_send_cmd 
+:      006296 app_ble_start_adv:
+0x3f88 006297 jam bt_cmd_start_adv ,mem_fifo_temp 
+0x3f89 006298 branch ui_ipc_send_cmd 
+:      006300 app_ble_start_scan:
+0x3f8a 006301 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+0x3f8b 006302 branch ui_ipc_send_cmd 
+:      006304 app_ble_stop_scan:
+0x3f8c 006305 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+0x3f8d 006306 branch ui_ipc_send_cmd 
+:      006308 app_ble_start_conn:
+0x3f8e 006309 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+0x3f8f 006310 branch ui_ipc_send_cmd 
+:      006312 app_ble_disconnect:
+0x3f90 006313 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+0x3f91 006314 branch ui_ipc_send_cmd 
+:      006316 app_ble_start_write:
+0x3f92 006317 jam bt_cmd_le_start_write ,mem_fifo_temp 
+0x3f93 006318 branch ui_ipc_send_cmd 
+:      006320 app_led_start_blink:
+0x3f94 006321 jam bt_cmd_led_blink ,mem_fifo_temp 
+0x3f95 006322 branch ui_ipc_send_cmd 
+:      006324 app_led_on:
+0x3f96 006325 jam bt_cmd_led_on ,mem_fifo_temp 
+0x3f97 006326 branch ui_ipc_send_cmd 
+:      006328 app_led_stop_blink:
+:      006329 app_led_off:
+0x3f98 006330 jam bt_cmd_led_off ,mem_fifo_temp 
+0x3f99 006331 branch ui_ipc_send_cmd 
+:      006333 app_enter_hibernate:
+0x3f9a 006334 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+0x3f9b 006335 branch ui_ipc_send_cmd 
+:      006337 app_bt_sniff_exit:
+0x3f9c 006338 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+0x3f9d 006339 branch ui_ipc_send_cmd 
+:      006341 app_bt_enter_sniff:
+0x3f9e 006342 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+0x3f9f 006343 branch ui_ipc_send_cmd 
+:      006345 app_ble_store_reconn_info:
+0x3fa0 006346 jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+0x3fa1 006347 branch ui_ipc_send_cmd 
+:      006349 app_bt_store_reconn_info:
+0x3fa2 006350 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+0x3fa3 006351 branch ui_ipc_send_cmd 
+:      006353 app_lpm_mult_enable:
+0x3fa4 006354 set1 mark_lpm_mult_enable ,mark 
+0x3fa5 006355 rtn 
+:      006357 app_lpm_mult_disable:
+0x3fa6 006358 set0 mark_lpm_mult_enable ,mark 
+0x3fa7 006359 rtn 
+:      006363 at_restore_param:
+0x3fa8 006364 set1 mark_ext_patch ,mark 
+0x3fa9 006365 bpatch patch32_0 ,mem_patch32 
+0x3faa 006366 arg 32 ,temp 
+0x3fab 006367 arg mem_le_name_len ,rega 
+0x3fac 006368 arg eeprom_module_ble_name_length ,regb 
+0x3fad 006369 call iicd_read_eep_data 
+0x3fae 006372 arg 32 ,temp 
+0x3faf 006373 arg mem_local_name_length ,rega 
+0x3fb0 006374 arg eeprom_module_bt_name_length ,regb 
+0x3fb1 006375 call iicd_read_eep_data 
+0x3fb2 006377 arg 6 ,temp 
+0x3fb3 006378 arg mem_lap ,rega 
+0x3fb4 006379 arg eeprom_module_bt_adss ,regb 
+0x3fb5 006380 call iicd_read_eep_data 
+0x3fb6 006382 arg 6 ,temp 
+0x3fb7 006383 arg mem_le_lap ,rega 
+0x3fb8 006384 arg eeprom_module_le_adss ,regb 
+0x3fb9 006385 call iicd_read_eep_data 
+0x3fba 006386 call le_modified_name 
+0x3fbb 006388 arg 2 ,temp 
+0x3fbc 006389 arg mem_baud ,rega 
+0x3fbd 006390 arg eeprom_module_trans_baud ,regb 
+0x3fbe 006391 call iicd_read_eep_data 
+0x3fbf 006392 call uart_set_baud_by_mem 
+0x3fc0 006394 branch at_restore_pin_code 
+:      006396 at_restore_pin_code:
+0x3fc1 006397 arg 14 ,temp 
+0x3fc2 006398 arg mem_pin_length ,rega 
+0x3fc3 006399 arg eeprom_module_pincode_length ,regb 
+0x3fc4 006400 branch iicd_read_eep_data 
+:      006402 init_module_environment:
+0x3fc5 006403 set1 mark_ext_patch ,mark 
+0x3fc6 006404 bpatch patch32_1 ,mem_patch32 
+0x3fc7 006405 call app_initflag_check 
+0x3fc8 006406 branch at_restore_param ,zero 
+:      006407 init_module_eeprom:
+0x3fc9 006408 call at_store_bt_name 
+0x3fca 006409 call at_store_le_name 
+0x3fcb 006410 call le_modified_name 
+0x3fcc 006411 call at_store_le_adss 
+0x3fcd 006412 call at_store_bt_adss 
+0x3fce 006413 call pincode_reinit 
+0x3fcf 006414 call at_store_bt_pincode 
+0x3fd0 006415 call at_store_throughput_uart_baud115200 
+0x3fd1 006416 branch app_initflag_store 
+:      006418 at_store_bt_name:
+0x3fd2 006419 fetcht 1 ,mem_local_name_length 
+0x3fd3 006420 increase 1 ,temp 
+0x3fd4 006421 arg mem_local_name_length ,rega 
+0x3fd5 006422 arg eeprom_module_bt_name_length ,regb 
+0x3fd6 006423 branch iicd_write_eep_data 
+:      006425 at_store_le_name:
+0x3fd7 006426 fetcht 1 ,mem_le_name_len 
+0x3fd8 006427 increase 1 ,temp 
+0x3fd9 006428 arg mem_le_name_len ,rega 
+0x3fda 006429 arg eeprom_module_ble_name_length ,regb 
+0x3fdb 006430 branch iicd_write_eep_data 
+:      006432 at_store_le_adss:
+0x3fdc 006433 arg 6 ,temp 
+0x3fdd 006434 arg mem_le_lap ,rega 
+0x3fde 006435 arg eeprom_module_le_adss ,regb 
+0x3fdf 006436 branch iicd_write_eep_data 
+:      006438 at_store_bt_adss:
+0x3fe0 006439 arg 6 ,temp 
+0x3fe1 006440 arg mem_lap ,rega 
+0x3fe2 006441 arg eeprom_module_bt_adss ,regb 
+0x3fe3 006442 branch iicd_write_eep_data 
+:      006444 at_store_bt_pincode:
+0x3fe4 006445 fetcht 1 ,mem_pin_length 
+0x3fe5 006446 increase 1 ,temp 
+0x3fe6 006447 arg mem_pin_length ,rega 
+0x3fe7 006448 arg eeprom_module_pincode_length ,regb 
+0x3fe8 006449 branch iicd_write_eep_data 
+:      006451 at_store_throughput_uart_baud115200:
+0x3fe9 006452 setarg at_baud_115200 
+0x3fea 006453 store 2 ,mem_timeup 
+:      006454 at_store_throughput_uart_baud:
+0x3feb 006455 arg 2 ,temp 
+0x3fec 006456 arg mem_timeup ,rega 
+0x3fed 006457 arg eeprom_module_trans_baud ,regb 
+0x3fee 006458 branch iicd_write_eep_data 
+:      006461 at_process:
+0x3fef 006462 set1 mark_ext_patch ,mark 
+0x3ff0 006463 bpatch patch32_2 ,mem_patch32 
+0x3ff1 006464 fetch 2 ,mem_current_packet_length 
+0x3ff2 006465 arg 300 ,temp 
+0x3ff3 006466 isub temp ,null 
+0x3ff4 006467 branch at_error_rev_end ,positive 
+0x3ff5 006468 call check_module_disabled 
+0x3ff6 006469 call get_uart_rrptr 
+0x3ff7 006470 copy contru ,rega 
+0x3ff8 006471 fetch 2 ,mem_current_packet_length 
+0x3ff9 006472 increase -2 ,pdata 
+0x3ffa 006473 iadd contru ,contru 
+0x3ffb 006474 ifetch 2 ,contru 
+0x3ffc 006475 arg at_cmd_end ,temp 
+0x3ffd 006476 isub temp ,null 
+0x3ffe 006477 nrtn zero 
+0x3fff 006478 copy rega ,contru 
+0x4000 006479 arg mem_prarm_atp ,regb 
+0x4001 006480 arg 3 ,loopcnt 
+0x4002 006481 call string_compare_uart_follow 
+0x4003 006482 nbranch at_error_rev_end ,true 
+0x4004 006483 branch at_dispatch 
+:      006485 at_dispatch:
+0x4005 006486 set1 mark_ext_patch ,mark 
+0x4006 006487 bpatch patch32_3 ,mem_patch32 
+0x4007 006489 copy contru ,rega 
+0x4008 006490 arg mem_prarm_name ,regb 
+0x4009 006491 force 4 ,loopcnt 
+0x400a 006492 call string_compare_uart_follow 
+0x400b 006493 branch at_rev_name ,true 
+0x400c 006495 arg mem_prarm_blename ,regb 
+0x400d 006496 force 7 ,loopcnt 
+0x400e 006497 call string_compare_uart_follow 
+0x400f 006498 branch at_rev_le_name ,true 
+0x4010 006500 arg mem_prarm_adss ,regb 
+0x4011 006501 force 4 ,loopcnt 
+0x4012 006502 call string_compare_uart_follow 
+0x4013 006503 branch at_rev_adss ,true 
+0x4014 006505 arg mem_prarm_bleadss ,regb 
+0x4015 006506 force 7 ,loopcnt 
+0x4016 006507 call string_compare_uart_follow 
+0x4017 006508 branch at_rev_leadss ,true 
+0x4018 006510 arg mem_prarm_vers ,regb 
+0x4019 006511 force 4 ,loopcnt 
+0x401a 006512 call string_compare_uart_follow 
+0x401b 006513 branch at_rev_vers ,true 
+0x401c 006515 arg mem_prarm_uart ,regb 
+0x401d 006516 force 4 ,loopcnt 
+0x401e 006517 call string_compare_uart_follow 
+0x401f 006518 branch at_rev_uart ,true 
+0x4020 006520 arg mem_prarm_pswd ,regb 
+0x4021 006521 force 4 ,loopcnt 
+0x4022 006522 call string_compare_uart_follow 
+0x4023 006523 branch at_rev_pswd ,true 
+0x4024 006525 arg mem_prarm_class ,regb 
+0x4025 006526 force 5 ,loopcnt 
+0x4026 006527 call string_compare_uart_follow 
+0x4027 006528 branch at_rev_class ,true 
+0x4028 006530 arg mem_prarm_list ,regb 
+0x4029 006531 force 4 ,loopcnt 
+0x402a 006532 call string_compare_uart_follow 
+0x402b 006533 branch at_rev_list ,true 
+0x402c 006535 arg mem_prarm_role ,regb 
+0x402d 006536 force 4 ,loopcnt 
+0x402e 006537 call string_compare_uart_follow 
+0x402f 006538 branch at_rev_role ,true 
+0x4030 006540 arg mem_prarm_sniff ,regb 
+0x4031 006541 force 5 ,loopcnt 
+0x4032 006542 call string_compare_uart_follow 
+0x4033 006543 branch at_rev_sniff ,true 
+0x4034 006545 arg mem_prarm_ldev ,regb 
+0x4035 006546 force 4 ,loopcnt 
+0x4036 006547 call string_compare_uart_follow 
+0x4037 006548 branch at_rev_ldev ,true 
+0x4038 006550 arg mem_prarm_rssi ,regb 
+0x4039 006551 force 4 ,loopcnt 
+0x403a 006552 call string_compare_uart_follow 
+0x403b 006553 branch at_rev_rssi ,true 
+0x403c 006555 arg mem_prarm_cdev ,regb 
+0x403d 006556 force 4 ,loopcnt 
+0x403e 006557 call string_compare_uart_follow 
+0x403f 006558 branch at_rev_cdev ,true 
+0x4040 006560 arg mem_prarm_inqr ,regb 
+0x4041 006561 force 4 ,loopcnt 
+0x4042 006562 call string_compare_uart_follow 
+0x4043 006563 branch at_rev_inqr ,true 
+0x4044 006565 arg mem_prarm_bleinqr ,regb 
+0x4045 006566 force 7 ,loopcnt 
+0x4046 006567 call string_compare_uart_follow 
+0x4047 006568 branch at_rev_leinqr ,true 
+0x4048 006570 arg mem_prarm_cmode ,regb 
+0x4049 006571 force 5 ,loopcnt 
+0x404a 006572 call string_compare_uart_follow 
+0x404b 006573 branch at_rev_cmode ,true 
+0x404c 006575 arg mem_prarm_mode ,regb 
+0x404d 006576 force 4 ,loopcnt 
+0x404e 006577 call string_compare_uart_follow 
+0x404f 006578 branch at_rev_mode ,true 
+0x4050 006580 arg mem_prarm_dmstate ,regb 
+0x4051 006581 force 7 ,loopcnt 
+0x4052 006582 call string_compare_uart_follow 
+0x4053 006583 branch at_rev_dmstate ,true 
+0x4054 006585 arg mem_prarm_reconn ,regb 
+0x4055 006586 force 6 ,loopcnt 
+0x4056 006587 call string_compare_uart_follow 
+0x4057 006588 branch at_rev_reconn ,true 
+0x4058 006590 arg mem_prarm_discov ,regb 
+0x4059 006591 force 6 ,loopcnt 
+0x405a 006592 call string_compare_uart_follow 
+0x405b 006593 branch at_rev_discov ,true 
+0x405c 006595 arg mem_prarm_dis ,regb 
+0x405d 006596 force 3 ,loopcnt 
+0x405e 006597 call string_compare_uart_follow 
+0x405f 006598 branch at_rev_dis ,true 
+0x4060 006600 arg mem_prarm_stsn ,regb 
+0x4061 006601 force 4 ,loopcnt 
+0x4062 006602 call string_compare_uart_follow 
+0x4063 006603 branch at_rev_stsn ,true 
+0x4064 006605 arg mem_prarm_clrflg ,regb 
+0x4065 006606 force 6 ,loopcnt 
+0x4066 006607 call string_compare_uart_follow 
+0x4067 006608 branch at_rev_clrflg ,true 
+0x4068 006610 arg mem_prarm_ota ,regb 
+0x4069 006611 force 3 ,loopcnt 
+0x406a 006612 call string_compare_uart_follow 
+0x406b 006613 branch at_rev_ota ,true 
+0x406c 006614 branch at_error_rev_end 
+:      006617 at_rev_name:
+0x406d 006618 ifetch 1 ,contru 
+0x406e 006619 beq at_ques ,at_rev_name_inquiry 
+0x406f 006620 beq at_equ ,at_rev_name_set 
+0x4070 006621 branch at_error_rev_end 
+:      006622 at_rev_name_inquiry:
+0x4071 006623 call get_uart_twptr 
+0x4072 006624 call at_group_name_inquiry 
+0x4073 006625 branch at_nomal_rev_end 
+:      006628 at_rev_le_name:
+0x4074 006629 ifetch 1 ,contru 
+0x4075 006630 beq at_ques ,at_rev_le_name_inquiry 
+0x4076 006631 beq at_equ ,at_rev_le_name_set 
+0x4077 006632 branch at_error_rev_end 
+:      006633 at_rev_le_name_inquiry:
+0x4078 006634 call get_uart_twptr 
+0x4079 006635 call at_group_le_name_inquiry 
+0x407a 006636 branch at_nomal_rev_end 
+:      006638 at_rev_adss:
+0x407b 006639 ifetch 1 ,contru 
+0x407c 006640 beq at_ques ,at_rev_adss_inquiry 
+0x407d 006641 beq at_equ ,at_rev_adss_set 
+0x407e 006642 branch at_error_rev_end 
+:      006643 at_rev_adss_inquiry:
+0x407f 006644 call at_group_adss_inquiry 
+0x4080 006645 branch at_nomal_rev_end 
+:      006647 at_rev_leadss:
+0x4081 006648 ifetch 1 ,contru 
+0x4082 006649 beq at_ques ,at_rev_leadss_inquiry 
+0x4083 006650 beq at_equ ,at_rev_leadss_set 
+0x4084 006651 branch at_error_rev_end 
+:      006652 at_rev_leadss_inquiry:
+0x4085 006654 call at_group_leadss_inquiry 
+0x4086 006655 branch at_nomal_rev_end 
+:      006657 at_rev_vers:
+0x4087 006658 ifetch 1 ,contru 
+0x4088 006659 beq at_ques ,at_rev_vers_inquiry 
+0x4089 006660 branch at_error_rev_end 
+:      006661 at_rev_vers_inquiry:
+0x408a 006662 call at_group_version_inquiry 
+0x408b 006663 branch at_nomal_rev_end 
+:      006666 at_rev_uart:
+0x408c 006667 ifetch 1 ,contru 
+0x408d 006668 beq at_equ ,at_rev_uart_set 
+0x408e 006669 branch at_error_rev_end 
+:      006672 at_rev_pswd:
+0x408f 006673 ifetch 1 ,contru 
+0x4090 006674 beq at_ques ,at_rev_pswd_inquiry 
+0x4091 006675 beq at_equ ,at_rev_pswd_set 
+0x4092 006676 branch at_error_rev_end 
+:      006677 at_rev_pswd_inquiry:
+0x4093 006678 call at_group_pswd_inquiry 
+0x4094 006679 branch at_nomal_rev_end 
+:      006681 at_rev_class:
+0x4095 006682 ifetch 1 ,contru 
+0x4096 006683 beq at_ques ,at_rev_class_inquiry 
+0x4097 006684 beq at_equ ,at_rev_class_set 
+0x4098 006685 branch at_error_rev_end 
+:      006686 at_rev_class_inquiry:
+0x4099 006687 call at_group_class_inquiry 
+0x409a 006688 branch at_nomal_rev_end 
+:      006690 at_rev_list:
+0x409b 006691 ifetch 1 ,contru 
+0x409c 006692 beq at_ques ,at_rev_list_inquiry 
+0x409d 006693 beq at_equ ,at_rev_list_set 
+0x409e 006694 branch at_error_rev_end 
+:      006695 at_rev_list_inquiry:
+0x409f 006696 call at_group_list_inquiry 
+0x40a0 006697 branch at_nomal_rev_end 
+:      006699 at_rev_role:
+0x40a1 006700 ifetch 1 ,contru 
+0x40a2 006701 beq at_ques ,at_rev_role_inquiry 
+0x40a3 006702 beq at_equ ,at_rev_role_set 
+0x40a4 006703 branch at_error_rev_end 
+:      006706 at_rev_sniff:
+0x40a5 006707 ifetch 1 ,contru 
+0x40a6 006708 beq at_ques ,at_rev_sniff_inquiry 
+0x40a7 006709 beq at_equ ,at_rev_sniff_set 
+0x40a8 006710 branch at_error_rev_end 
+:      006711 at_rev_sniff_inquiry:
+0x40a9 006712 call at_group_sniff_inquiry 
+0x40aa 006713 branch at_nomal_rev_end 
+:      006715 at_rev_ldev:
+0x40ab 006716 ifetch 1 ,contru 
+0x40ac 006717 beq at_ques ,at_rev_ldev_inquiry 
+0x40ad 006718 branch at_error_rev_end 
+:      006719 at_rev_ldev_inquiry:
+0x40ae 006720 call at_group_ldev_inquiry 
+0x40af 006721 branch at_nomal_rev_end 
+:      006723 at_rev_rssi:
+0x40b0 006724 ifetch 1 ,contru 
+0x40b1 006725 beq at_ques ,at_rev_rssi_inquiry 
+0x40b2 006726 branch at_nomal_rev_end 
+:      006727 at_rev_rssi_inquiry:
+0x40b3 006728 call context_check_idle 
+0x40b4 006729 nbranch at_error_rev_end ,zero 
+0x40b5 006730 call at_group_rssi_inquiry 
+0x40b6 006731 branch at_nomal_rev_end 
+:      006733 at_rev_cdev:
+0x40b7 006734 ifetch 1 ,contru 
+0x40b8 006735 beq at_ques ,at_rev_cdev_inquiry 
+0x40b9 006736 branch at_error_rev_end 
+:      006737 at_rev_cdev_inquiry:
+0x40ba 006738 fetch 1 ,mem_context 
+0x40bb 006739 bbit0 state_inconn ,at_error_rev_end 
+0x40bc 006740 call get_uart_twptr 
+0x40bd 006741 fetch 1 ,mem_context + coffset_mode 
+0x40be 006742 bbit1 mode_le ,le_cdev_inquiry 
+0x40bf 006743 branch at_cdev_unle_inq 
+:      006744 le_cdev_inquiry:
+0x40c0 006745 arg mem_prarm_cdev ,rega 
+0x40c1 006746 arg 4 ,loopcnt 
+0x40c2 006747 call at_group_inquiryhead_common 
+0x40c3 006748 call at_rev_uart_write_62 
+0x40c4 006749 setarg 0x34 
+0x40c5 006750 istore 1 ,contwu 
+0x40c6 006751 call at_rev_uart_write_44 
+0x40c7 006752 arg mem_le_plap ,rega 
+0x40c8 006753 call adss_hex2string_to_uart 
+0x40c9 006754 call uartd_send 
+0x40ca 006755 branch at_nomal_rev_end 
+:      006756 at_cdev_unle_inq:
+0x40cb 006757 arg mem_prarm_cdev ,rega 
+0x40cc 006758 arg 4 ,loopcnt 
+0x40cd 006759 call at_group_inquiryhead_common 
+0x40ce 006760 call at_rev_uart_write_62 
+0x40cf 006761 setarg 0x33 
+0x40d0 006762 istore 1 ,contwu 
+0x40d1 006763 call at_rev_uart_write_44 
+0x40d2 006764 arg mem_plap ,rega 
+0x40d3 006765 call adss_hex2string_to_uart 
+0x40d4 006766 call uartd_send 
+0x40d5 006767 branch at_nomal_rev_end 
+:      006770 at_rev_inqr:
+0x40d6 006771 set1 mark_ext_patch ,mark 
+0x40d7 006772 bpatch patch32_4 ,mem_patch32 
+0x40d8 006773 call app_check_conn_device_nums_addr 
+0x40d9 006774 fetch 1 ,mem_device_nums 
+0x40da 006775 bne 0 ,at_error_rev_end 
+0x40db 006776 call do_at_inquiry 
+0x40dc 006777 branch at_nomal_rev_end 
+:      006779 at_rev_leinqr:
+0x40dd 006780 set1 mark_ext_patch ,mark 
+0x40de 006781 bpatch patch32_5 ,mem_patch32 
+0x40df 006782 call do_at_leinquiry 
+0x40e0 006783 branch at_nomal_rev_end 
+:      006785 at_rev_role_inquiry:
+0x40e1 006786 arg mem_prarm_role ,rega 
+0x40e2 006787 arg 4 ,loopcnt 
+0x40e3 006788 call at_group_inquiryhead_common 
+0x40e4 006789 call context_check_idle 
+0x40e5 006790 nbranch at_rev_uart_write_n ,zero 
+0x40e6 006791 fetch 1 ,mem_context + coffset_mode 
+0x40e7 006792 bbit1 mode_master ,at_rev_uart_write_m 
+0x40e8 006793 call at_rev_uart_write_s 
+0x40e9 006794 call uartd_send 
+0x40ea 006795 branch at_nomal_rev_end 
+:      006796 at_rev_uart_write_m:
+0x40eb 006797 setarg 0x4d 
+0x40ec 006798 istore 1 ,contwu 
+0x40ed 006799 call uartd_send 
+0x40ee 006800 branch at_nomal_rev_end 
+:      006801 at_rev_uart_write_s:
+0x40ef 006802 setarg 0x53 
+0x40f0 006803 istore 1 ,contwu 
+0x40f1 006804 rtn 
+:      006806 at_rev_cmode:
+0x40f2 006807 ifetch 1 ,contru 
+0x40f3 006808 beq at_ques ,at_rev_cmode_inquiry 
+0x40f4 006809 beq at_equ ,at_rev_cmode_set 
+0x40f5 006810 branch at_error_rev_end 
+:      006811 at_rev_cmode_inquiry:
+0x40f6 006812 call at_group_cmode_inquiry 
+0x40f7 006813 branch at_nomal_rev_end 
+:      006815 at_rev_mode:
+0x40f8 006816 ifetch 1 ,contru 
+0x40f9 006817 beq at_equ ,at_rev_mode_set 
+0x40fa 006818 branch at_error_rev_end 
+:      006820 at_rev_dmstate:
+0x40fb 006821 ifetch 1 ,contru 
+0x40fc 006822 beq at_ques ,at_rev_dmstate_inquiry 
+0x40fd 006823 branch at_error_rev_end 
+:      006824 at_rev_dmstate_inquiry:
+0x40fe 006825 call at_group_dmstate_inquiry 
+0x40ff 006826 branch at_nomal_rev_end 
+:      006828 at_rev_reconn:
+0x4100 006829 fetch 1 ,mem_app_connection_options 
+0x4101 006830 store 1 ,mem_connection_options 
+0x4102 006831 call eeprom_load_reconn_info 
+0x4103 006832 call app_check_conn_device_nums_addr 
+0x4104 006833 fetch 1 ,mem_device_nums 
+0x4105 006834 bne 0 ,at_error_rev_end 
+0x4106 006835 fetch 1 ,mem_xrecord_mode 
+0x4107 006836 beq rec_3_mode ,at_rev_unle_reconn 
+0x4108 006837 beq rec_4_mode ,at_rev_lereconn 
+0x4109 006838 branch at_error_rev_end 
+:      006840 at_rev_lereconn:
+0x410a 006841 call app_ble_start_direct_adv 
+0x410b 006842 branch at_nomal_rev_end 
+:      006843 at_rev_unle_reconn:
+0x410c 006844 call app_bt_start_reconnect 
+0x410d 006845 branch at_nomal_rev_end 
+:      006847 at_rev_dis:
+0x410e 006848 call app_check_conn_device_nums_addr 
+0x410f 006849 fetch 1 ,mem_device_nums 
+0x4110 006850 bne 1 ,at_error_rev_end 
+0x4111 006851 fetch 1 ,mem_context + coffset_mode 
+0x4112 006852 bbit1 mode_le ,at_rev_ledis 
+0x4113 006853 call app_bt_disconnect 
+0x4114 006854 branch at_nomal_rev_end 
+:      006857 at_rev_ledis:
+0x4115 006858 call app_ble_disconnect 
+0x4116 006859 branch at_nomal_rev_end 
+:      006862 at_rev_stsn:
+0x4117 006863 ifetch 1 ,contru 
+0x4118 006864 beq at_equ ,at_rev_stsn_set 
+0x4119 006865 branch at_error_rev_end 
+:      006866 at_rev_stsn_set:
+0x411a 006867 ifetch 1 ,contru 
+0x411b 006868 beq 0x31 ,at_exit_sniff 
+0x411c 006869 beq 0x30 ,at_enter_sniff 
+0x411d 006870 branch at_error_rev_end 
+:      006871 at_enter_sniff:
+0x411e 006872 call app_check_sniff 
+0x411f 006873 branch at_nomal_rev_end ,true 
+0x4120 006874 call app_bt_enter_sniff 
+0x4121 006875 branch at_nomal_rev_end 
+:      006876 at_exit_sniff:
+0x4122 006877 call app_check_sniff 
+0x4123 006878 nbranch at_nomal_rev_end ,true 
+0x4124 006879 call module_exit_sniff 
+0x4125 006880 call at_set_cmd_task_flag 
+0x4126 006881 branch at_nomal_rev_end 
+:      006884 at_rev_clrflg:
+0x4127 006885 call app_clearflag_store 
+0x4128 006886 branch at_nomal_rev_end 
+:      006888 at_rev_ota:
+0x4129 006889 ifetch 1 ,contru 
+0x412a 006890 beq at_equ ,at_rev_ota_process 
+0x412b 006891 branch at_error_rev_end 
+:      006893 at_rev_discov:
+0x412c 006894 call app_check_conn_device_nums_addr 
+0x412d 006895 fetch 1 ,mem_device_nums 
+0x412e 006896 bne 0 ,at_error_rev_end 
+0x412f 006897 call module_disconn_start 
+0x4130 006898 branch at_nomal_rev_end 
+:      006904 at_rev_name_set:
+0x4131 006905 arg mem_local_name ,rega 
+0x4132 006906 call at_set_common 
+0x4133 006907 storet 1 ,mem_local_name_length 
+0x4134 006908 call at_store_bt_name 
+0x4135 006909 branch at_nomal_rev_end 
+:      006911 at_rev_le_name_set:
+0x4136 006912 arg mem_le_name ,rega 
+0x4137 006913 call at_set_common 
+0x4138 006914 storet 1 ,mem_le_name_len 
+0x4139 006915 call at_store_le_name 
+0x413a 006916 call le_modified_name 
+0x413b 006917 branch at_nomal_rev_end 
+:      006919 at_rev_adss_set:
+0x413c 006920 arg mem_lap ,contw 
+0x413d 006921 call adss_string2hex_from_uart 
+0x413e 006922 call at_store_bt_adss 
+0x413f 006923 branch at_nomal_rev_end 
+:      006925 at_rev_leadss_set:
+0x4140 006926 arg mem_le_lap ,contw 
+0x4141 006927 call adss_string2hex_from_uart 
+0x4142 006928 call at_store_le_adss 
+0x4143 006929 branch at_nomal_rev_end 
+:      006931 at_rev_pswd_set:
+0x4144 006932 arg mem_pin ,rega 
+0x4145 006933 call at_set_common 
+0x4146 006934 storet 1 ,mem_pin_length 
+0x4147 006935 call at_store_bt_pincode 
+0x4148 006936 branch at_nomal_rev_end 
+:      006938 at_rev_uart_set:
+0x4149 006939 call string2dec_from_uart 
+0x414a 006940 setarg uart_clk 
+0x414b 006941 idiv temp 
+0x414c 006942 call wait_div_end 
+0x414d 006943 quotient pdata 
+0x414e 006944 store 2 ,mem_timeup 
+0x414f 006945 call at_store_throughput_uart_baud 
+0x4150 006946 branch at_nomal_rev_end 
+:      006948 at_rev_mode_set:
+0x4151 006949 ifetch 1 ,contru 
+0x4152 006950 sub pdata ,0x33 ,null 
+0x4153 006951 nbranch at_error_rev_end ,positive 
+0x4154 006952 and pdata ,0x3 ,pdata 
+0x4155 006953 store 1 ,mem_module_state 
+0x4156 006954 branch at_nomal_rev_end 
+:      006956 at_rev_class_set:
+0x4157 006957 ifetch 3 ,contru 
+0x4158 006958 store 3 ,mem_class 
+0x4159 006959 branch at_nomal_rev_end 
+:      006961 at_rev_role_set:
+0x415a 006962 call context_check_idle 
+0x415b 006963 nbranch at_error_rev_end ,zero 
+0x415c 006964 ifetch 1 ,contru 
+0x415d 006965 beq 0x53 ,at_role_slave 
+0x415e 006966 beq 0x4D ,at_role_master 
+0x415f 006967 branch at_error_rev_end 
+:      006969 at_role_slave:
+0x4160 006970 fetch 1 ,mem_context + coffset_mode 
+0x4161 006971 bbit1 mode_master ,at_switch_role 
+0x4162 006972 branch at_error_rev_end 
+:      006974 at_role_master:
+0x4163 006975 fetch 1 ,mem_context + coffset_mode 
+0x4164 006976 bbit0 mode_master ,at_switch_role 
+0x4165 006977 branch at_error_rev_end 
+:      006979 at_switch_role:
+0x4166 006980 fetch 1 ,mem_module_task 
+0x4167 006981 set1 at_task_switch ,pdata 
+0x4168 006982 store 1 ,mem_module_task 
+0x4169 006983 jam hci_cmd_role_switch ,mem_hci_cmd 
+0x416a 006984 branch at_rev_end 
+:      006986 at_rev_sniff_set:
+0x416b 006987 arg mem_sniff_param_interval ,contw 
+0x416c 006988 call mem2_string2hex_from_uart 
+0x416d 006989 arg mem_sniff_param_attempt ,contw 
+0x416e 006990 call mem2_string2hex_from_uart 
+0x416f 006991 arg mem_sniff_param_timeout ,contw 
+0x4170 006992 call mem2_string2hex_from_uart 
+0x4171 006993 branch at_nomal_rev_end 
+:      006995 at_rev_list_set:
+0x4172 006996 ifetch 1 ,contru 
+0x4173 006997 beq 0x31 ,at_rev_list_set_1 
+0x4174 006998 beq 0x32 ,at_rev_list_set_2 
+0x4175 006999 branch at_error_rev_end 
+:      007000 at_rev_list_set_1:
+0x4176 007001 ifetch 1 ,contru 
+0x4177 007002 arg mem_temp_lap ,contw 
+0x4178 007003 call adss_string2hex_from_uart 
+0x4179 007004 call eeprom_clear_bd_reconn_info 
+0x417a 007005 nrtn user 
+0x417b 007006 branch at_nomal_rev_end 
+:      007007 at_rev_list_set_2:
+0x417c 007008 call eeprom_clear_all_reconn_info 
+0x417d 007009 branch at_nomal_rev_end 
+:      007011 at_rev_cmode_set:
+0x417e 007012 ifetch 1 ,contru 
+0x417f 007013 fetcht 1 ,mem_module_state 
+0x4180 007014 nsetflag blank ,at_state_cmode ,temp 
+0x4181 007015 storet 1 ,mem_module_state 
+0x4182 007016 branch at_nomal_rev_end ,blank 
+0x4183 007017 ifetch 1 ,contru 
+0x4184 007018 arg mem_cmode_addr ,contw 
+0x4185 007019 call adss_string2hex_from_uart 
+0x4186 007020 branch at_nomal_rev_end 
+:      007022 at_rev_ota_process:
+0x4187 007023 set1 mark_ext_patch ,mark 
+0x4188 007024 bpatch patch32_6 ,mem_patch32 
+0x4189 007025 arg 20 ,loopcnt 
+0x418a 007026 arg mem_l2cap_rxbuff1 ,contw 
+0x418b 007027 call uart_copy_rx_bytes 
+0x418c 007028 arg mem_l2cap_rxbuff1 ,rega 
+0x418d 007029 fetch 1 ,mem_l2cap_rxbuff1 
+0x418e 007030 compare ota_write_req ,pdata ,0xff 
+0x418f 007031 call prcp_parse_ota_write_req ,true 
+0x4190 007032 fetch 1 ,mem_l2cap_rxbuff1 
+0x4191 007033 compare ota_end_cmd ,pdata ,0xff 
+0x4192 007034 call prcp_parse_ota_end_cmd ,true 
+0x4193 007035 branch at_nomal_rev_end 
+:      007040 at_group_name_inquiry:
+0x4194 007041 arg mem_prarm_name ,rega 
+0x4195 007042 arg 4 ,loopcnt 
+0x4196 007043 call at_group_inquiryhead_common 
+0x4197 007044 fetch 1 ,mem_local_name_length 
+0x4198 007045 copy pdata ,loopcnt 
+0x4199 007046 arg mem_local_name ,contr 
+0x419a 007047 branch send_mem_to_uart0 
+:      007048 at_group_le_name_inquiry:
+0x419b 007049 arg mem_prarm_blename ,rega 
+0x419c 007050 force 7 ,loopcnt 
+0x419d 007051 call at_group_inquiryhead_common 
+0x419e 007052 call le_get_device_name 
+0x419f 007053 ifetch 1 ,contr 
+0x41a0 007054 copy pdata ,loopcnt 
+0x41a1 007055 branch send_mem_to_uart0 
+:      007058 at_group_adss_inquiry:
+0x41a2 007059 arg mem_prarm_adss ,rega 
+0x41a3 007060 arg 4 ,loopcnt 
+0x41a4 007061 call at_group_inquiryhead_common 
+0x41a5 007062 arg mem_lap ,rega 
+0x41a6 007063 call adss_hex2string_to_uart 
+0x41a7 007064 branch uartd_send 
+:      007065 at_group_leadss_inquiry:
+0x41a8 007066 arg mem_prarm_bleadss ,rega 
+0x41a9 007067 arg 7 ,loopcnt 
+0x41aa 007068 call at_group_inquiryhead_common 
+0x41ab 007069 arg mem_le_lap ,rega 
+0x41ac 007070 call adss_hex2string_to_uart 
+0x41ad 007071 branch uartd_send 
+:      007074 at_group_version_inquiry:
+0x41ae 007075 arg mem_prarm_vers ,rega 
+0x41af 007076 arg 4 ,loopcnt 
+0x41b0 007077 call at_group_inquiryhead_common 
+0x41b1 007078 arg 6 ,loopcnt 
+0x41b2 007079 arg mem_module_version ,contr 
+0x41b3 007080 branch send_mem_to_uart0 
+:      007082 at_group_class_inquiry:
+0x41b4 007083 arg mem_prarm_class ,rega 
+0x41b5 007084 arg 5 ,loopcnt 
+0x41b6 007085 call at_group_inquiryhead_common 
+0x41b7 007086 arg 3 ,loopcnt 
+0x41b8 007087 arg mem_class ,contr 
+0x41b9 007088 branch send_mem_to_uart0 
+:      007090 at_group_list_inquiry:
+0x41ba 007091 arg mem_prarm_list ,rega 
+0x41bb 007092 arg 4 ,loopcnt 
+0x41bc 007093 call at_group_inquiryhead_common 
+0x41bd 007094 call eeprom_load_bdaddr_list 
+0x41be 007095 call at_group_list_reply 
+0x41bf 007096 branch uartd_send 
+:      007099 at_group_ldev_inquiry:
+0x41c0 007100 call eeprom_load_reconn_bdaddr 
+0x41c1 007101 arg mem_prarm_ldev ,rega 
+0x41c2 007102 arg 4 ,loopcnt 
+0x41c3 007103 call at_group_inquiryhead_common 
+0x41c4 007104 fetch 1 ,mem_record_bt_mode 
+0x41c5 007105 beq rec_3_mode ,at_group_ldev_inquiry0 
+0x41c6 007106 beq rec_4_mode ,at_group_ldev_inquiry0 
+0x41c7 007107 branch uartd_send 
+:      007108 at_group_ldev_inquiry0:
+0x41c8 007109 istore 1 ,contwu 
+0x41c9 007110 call at_rev_uart_write_44 
+0x41ca 007111 arg mem_temp_lap ,rega 
+0x41cb 007112 call adss_hex2string_to_uart 
+0x41cc 007113 branch uartd_send 
+:      007115 at_group_rssi_inquiry:
+0x41cd 007116 set1 mark_ext_patch ,mark 
+0x41ce 007117 bpatch patch32_7 ,mem_patch32 
+0x41cf 007118 arg mem_prarm_rssi ,rega 
+0x41d0 007119 arg 4 ,loopcnt 
+0x41d1 007120 call at_group_inquiryhead_common 
+0x41d2 007121 call at_rssi_result 
+0x41d3 007122 branch uartd_send 
+:      007123 at_rssi_result:
+0x41d4 007124 arg mem_rssi ,rega 
+0x41d5 007125 arg 1 ,loopcnt 
+0x41d6 007126 branch hex2string_to_uart0 
+:      007128 at_group_cdev_inquiry:
+0x41d7 007129 rtn 
+:      007132 at_group_cmode_inquiry:
+0x41d8 007133 arg mem_prarm_cmode ,rega 
+0x41d9 007134 arg 5 ,loopcnt 
+0x41da 007135 call at_group_inquiryhead_common 
+0x41db 007136 arg mem_cmode_addr ,rega 
+0x41dc 007137 call adss_hex2string_to_uart 
+0x41dd 007138 branch uartd_send 
+:      007141 at_group_dmstate_inquiry:
+0x41de 007142 arg mem_prarm_dmstate ,rega 
+0x41df 007143 arg 7 ,loopcnt 
+0x41e0 007144 call at_group_inquiryhead_common 
+0x41e1 007145 fetch 1 ,mem_module_state 
+0x41e2 007146 copy pdata ,rega 
+0x41e3 007147 fetch 1 ,mem_context 
+0x41e4 007148 isolate1 state_inconn ,pdata 
+0x41e5 007149 setflag true ,at_state_isconn ,rega 
+0x41e6 007150 isolate1 state_insniff ,pdata 
+0x41e7 007151 setflag true ,at_state_sniff ,rega 
+0x41e8 007152 fetch 1 ,mem_context + coffset_mode 
+0x41e9 007153 isolate1 mode_master ,pdata 
+0x41ea 007154 setflag true ,at_state_role ,rega 
+0x41eb 007155 isolate1 mode_le ,pdata 
+0x41ec 007156 setflag true ,at_state_le ,rega 
+0x41ed 007157 copy rega ,pdata 
+0x41ee 007158 istore 1 ,contwu 
+0x41ef 007159 branch uartd_send 
+:      007161 do_at_inquiry:
+0x41f0 007162 setarg param_glap 
+0x41f1 007163 store 3 ,mem_glap 
+0x41f2 007164 fetch 1 ,mem_at_using_flag 
+0x41f3 007165 set1 at_flag_inq ,pdata 
+0x41f4 007166 store 1 ,mem_at_using_flag 
+0x41f5 007167 branch do_at_inquiry0 
+:      007169 do_at_leinquiry:
+0x41f6 007170 call app_check_conn_device_nums_addr 
+0x41f7 007171 fetch 1 ,mem_device_nums 
+0x41f8 007172 bne 0 ,at_error_rev_end 
+0x41f9 007173 call app_ble_start_scan 
+0x41fa 007174 fetch 1 ,mem_at_using_flag 
+0x41fb 007175 set1 at_flag_leinq ,pdata 
+0x41fc 007176 store 1 ,mem_at_using_flag 
+0x41fd 007177 setarg 0x200 
+0x41fe 007178 store 2 ,mem_at_scan_time 
+0x41ff 007179 arg mem_prarm_bleinqr ,rega 
+0x4200 007180 arg 6 ,loopcnt 
+0x4201 007181 call at_group_inquiryhead_common 
+0x4202 007182 call send_mem_to_uart0 
+0x4203 007183 branch at_rev_end 
+:      007187 at_group_pswd_inquiry:
+0x4204 007188 arg mem_prarm_pswd ,rega 
+0x4205 007189 arg 4 ,loopcnt 
+0x4206 007190 call at_group_inquiryhead_common 
+0x4207 007191 fetch 1 ,mem_pin_length 
+0x4208 007192 copy pdata ,loopcnt 
+0x4209 007193 arg mem_pin ,contr 
+0x420a 007194 branch send_mem_to_uart0 
+:      007198 at_group_sniff_inquiry:
+0x420b 007199 arg mem_prarm_sniff ,rega 
+0x420c 007200 arg 5 ,loopcnt 
+0x420d 007201 call at_group_inquiryhead_common 
+0x420e 007202 call at_rev_uart_write_62 
+0x420f 007203 setarg 84 
+0x4210 007204 istore 1 ,contwu 
+0x4211 007205 call at_rev_uart_write_colon 
+0x4212 007206 arg mem_sniff_param_interval ,rega 
+0x4213 007207 call mem2_hex2string_to_uart 
+0x4214 007208 call at_rev_uart_write_62 
+0x4215 007209 setarg 65 
+0x4216 007210 istore 1 ,contwu 
+0x4217 007211 call at_rev_uart_write_colon 
+0x4218 007212 arg mem_sniff_param_attempt ,rega 
+0x4219 007213 call mem2_hex2string_to_uart 
+0x421a 007214 call at_rev_uart_write_62 
+0x421b 007215 setarg 79 
+0x421c 007216 istore 1 ,contwu 
+0x421d 007217 call at_rev_uart_write_colon 
+0x421e 007218 arg mem_sniff_param_timeout ,rega 
+0x421f 007219 call mem2_hex2string_to_uart 
+0x4220 007220 branch send_mem_to_uart0 
+:      007221 at_inquiry_reply:
+0x4221 007222 call get_uart_twptr 
+0x4222 007223 call at_rev_uart_write_62 
+0x4223 007224 arg extm_lap ,rega 
+0x4224 007225 call adss_hex2string_to_uart 
+0x4225 007226 call at_rev_uart_write_44 
+0x4226 007227 arg extm_class ,rega 
+0x4227 007228 call mem3_hex2string_to_uart 
+0x4228 007229 call at_rev_uart_write_44 
+0x4229 007230 call at_rssi_result 
+0x422a 007231 branch uartd_send 
+:      007242 at_set_common:
+0x422b 007243 call at_set_setprarm 
+0x422c 007244 branch uart_copy_rx_bytes 
+:      007245 at_set_setprarm:
+0x422d 007246 call uart_get_remain_length 
+0x422e 007247 copy pdata ,temp 
+0x422f 007248 copy pdata ,loopcnt 
+0x4230 007249 copy rega ,contw 
+0x4231 007250 rtn 
+:      007253 at_group_inquiryhead_common:
+0x4232 007254 call get_uart_twptr 
+0x4233 007255 call at_rev_uart_write_plus 
+:      007256 at_group_inquiryhead_common0:
+0x4234 007257 copy rega ,contr 
+0x4235 007258 call uart_copy_tx_bytes 
+0x4236 007259 branch at_rev_uart_write_colon 
+:      007262 string_compare_uart_follow:
+0x4237 007263 ifetch 1 ,contru 
+0x4238 007264 ifetcht 1 ,regb 
+0x4239 007265 isub temp ,null 
+0x423a 007266 disable true 
+0x423b 007267 nbranch string_compare_uart_follow_diff ,zero 
+0x423c 007268 increase 1 ,regb 
+0x423d 007269 loop string_compare_uart_follow 
+0x423e 007270 enable true 
+0x423f 007271 rtn 
+:      007272 string_compare_uart_follow_diff:
+0x4240 007273 branch restore_contru 
+:      007276 at_rev_uart_write_plus:
+0x4241 007277 setarg ui_plus 
+0x4242 007278 istore 1 ,contwu 
+0x4243 007279 rtn 
+:      007281 at_rev_uart_write_colon:
+0x4244 007282 setarg ui_colon 
+0x4245 007283 istore 1 ,contwu 
+0x4246 007284 rtn 
+:      007287 at_rev_uart_write_62:
+0x4247 007288 setarg 62 
+0x4248 007289 istore 1 ,contwu 
+0x4249 007290 rtn 
+:      007291 at_rev_uart_write_n:
+0x424a 007292 setarg 78 
+0x424b 007293 istore 1 ,contwu 
+0x424c 007294 call uartd_send 
+0x424d 007295 branch at_nomal_rev_end 
+:      007299 at_rev_uart_write_44:
+0x424e 007300 setarg at_comma 
+0x424f 007301 istore 1 ,contwu 
+0x4250 007302 rtn 
+:      007304 restore_contru:
+0x4251 007305 copy rega ,contru 
+0x4252 007306 rtn 
+:      007308 at_group_list_reply:
+0x4253 007309 arg mem_bdaddr_list_buff + 7 ,regc 
+0x4254 007310 arg 4 ,loopcnt 
+:      007311 at_group_list_reply_loop:
+0x4255 007312 copy loopcnt ,pdata 
+0x4256 007313 store 1 ,mem_pdatatemp 
+0x4257 007314 ifetch 1 ,regc 
+0x4258 007315 beq rec_3_mode ,at_group_list_isrecord 
+0x4259 007316 beq rec_4_mode ,at_group_list_isrecord 
+0x425a 007317 branch at_group_list_notrecord 
+:      007318 at_group_list_isrecord:
+0x425b 007319 call at_rev_uart_write_62 
+0x425c 007320 ifetch 1 ,regc 
+0x425d 007321 istore 1 ,contwu 
+0x425e 007322 increase 1 ,regc 
+0x425f 007323 call at_rev_uart_write_44 
+0x4260 007324 copy regc ,rega 
+0x4261 007325 call adss_hex2string_to_uart 
+:      007326 at_group_list_notrecord0:
+0x4262 007327 increase 6 ,regc 
+0x4263 007328 fetch 1 ,mem_pdatatemp 
+0x4264 007329 copy pdata ,loopcnt 
+0x4265 007330 loop at_group_list_reply_loop 
+0x4266 007331 rtn 
+:      007332 at_group_list_notrecord:
+0x4267 007333 increase 1 ,regc 
+0x4268 007334 branch at_group_list_notrecord0 
+:      007338 uart_get_remain_length:
+0x4269 007339 set1 mark_ext_patch ,mark 
+0x426a 007340 bpatch patch33_0 ,mem_patch33 
+0x426b 007341 hfetch 2 ,core_uart_rrptr 
+0x426c 007342 isub contru ,pdata 
+0x426d 007343 rtn zero 
+0x426e 007344 branch uart_get_remain_length0 ,positive 
+:      007345 uart_get_remain_length_common:
+0x426f 007346 fetcht 2 ,mem_current_packet_length 
+0x4270 007347 iadd temp ,pdata 
+0x4271 007348 increase -2 ,pdata 
+0x4272 007349 rtn 
+:      007350 uart_get_remain_length0:
+0x4273 007351 call uart_get_rx_buff_length 
+0x4274 007352 iadd contru ,temp 
+0x4275 007353 hfetch 2 ,core_uart_rrptr 
+0x4276 007354 isub temp ,pdata 
+0x4277 007355 branch uart_get_remain_length_common 
+:      007357 uart_get_rx_buff_length:
+0x4278 007358 arg mem_module_rx_buf_end ,pdata 
+0x4279 007359 increase 1 ,pdata 
+0x427a 007360 arg mem_module_rx_buf ,temp 
+0x427b 007361 isub temp ,pdata 
+0x427c 007362 rtn 
+:      007364 release_packet:
+0x427d 007365 fetcht 2 ,mem_current_packet_length 
+0x427e 007366 branch uartd_rxdone_by_len 
+:      007371 at_error_rev_end:
+0x427f 007372 set1 mark_ext_patch ,mark 
+0x4280 007373 bpatch patch33_1 ,mem_patch33 
+0x4281 007374 call get_uart_twptr 
+0x4282 007375 setarg 0x525245 
+0x4283 007376 istore 3 ,contwu 
+0x4284 007377 call uartd_send 
+0x4285 007378 branch at_rev_end 
+:      007380 at_nomal_rev_end:
+0x4286 007381 set1 mark_ext_patch ,mark 
+0x4287 007382 bpatch patch33_2 ,mem_patch33 
+0x4288 007383 call get_uart_twptr 
+0x4289 007384 setarg 0x4b4f 
+0x428a 007385 istore 2 ,contwu 
+0x428b 007386 call uartd_send 
+:      007387 spp_send_end:
+:      007388 at_rev_end:
+0x428c 007389 set1 mark_ext_patch ,mark 
+0x428d 007390 bpatch patch33_3 ,mem_patch33 
+0x428e 007391 call release_packet 
+:      007392 spp_ipc_end:
+0x428f 007393 setarg 0 
+0x4290 007394 store 2 ,mem_current_packet_length 
+0x4291 007395 store 4 ,mem_last_uart_clock 
+0x4292 007396 rtn 
+:      007399 le_dongle_init:
+0x4293 007400 call usb_init 
+0x4294 007401 call app_led_start_blink 
+0x4295 007402 setarg le_dongle 
+0x4296 007403 store 2 ,mem_cb_le_process 
+0x4297 007404 setarg dongle_process_bb_event 
+0x4298 007405 store 2 ,mem_cb_bb_event_process 
+0x4299 007406 setarg usb_isr 
+0x429a 007407 store 2 ,mem_cb_idle_process 
+0x429b 007408 jam 5 ,mem_dongle_count 
+0x429c 007409 jam 0 ,mem_dongle_peers 
+0x429d 007410 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x429e 007411 rtn 
+:      007414 le_dongle:
+0x429f 007415 disable true 
+0x42a0 007416 call app_check_conn_device_nums_addr 
+0x42a1 007418 jam 0x1b ,mem_cmd_le_create_conn 
+0x42a2 007419 fetch 1 ,mem_device_nums 
+0x42a3 007420 compare 2 ,pdata ,0x3 
+0x42a4 007421 nrtn true 
+0x42a5 007422 jam 0 ,mem_le_scan_enable 
+0x42a6 007423 rtn 
+:      007425 le_scan_dongle:
+0x42a7 007426 fetch 1 ,mem_le_rxbuf 
+0x42a8 007427 bbit0 0 ,dongle_add_peer 
+0x42a9 007428 fetch 6 ,mem_le_rxbuf + 2 
+0x42aa 007429 fetcht 6 ,mem_le_plap 
+0x42ab 007430 isub temp ,null 
+0x42ac 007431 nrtn zero 
+:      007432 dongle_peer_paired:
+0x42ad 007433 fetch 6 ,mem_le_plap 
+0x42ae 007434 store 6 ,mem_le_conn_peer_addr 
+0x42af 007435 rtn 
+:      007437 dongle_add_peer:
+0x42b0 007438 arg 0xff ,rega 
+0x42b1 007439 call le_search_adtype 
+0x42b2 007440 nrtn zero 
+0x42b3 007441 ifetch 2 ,contr 
+0x42b4 007442 fetcht 2 ,mem_dongle_signature 
+0x42b5 007443 isub temp ,null 
+0x42b6 007444 nrtn zero 
+0x42b7 007445 fetch 1 ,mem_dongle_peers 
+0x42b8 007446 increase 1 ,pdata 
+0x42b9 007447 store 1 ,mem_dongle_peers 
+0x42ba 007448 fetcht 1 ,mem_dongle_pairing_cnt 
+0x42bb 007449 isub temp ,null 
+0x42bc 007450 branch dongle_peer_paired ,positive 
+0x42bd 007451 rtn 
+:      007453 dongle_process_bb_event:
+0x42be 007454 copy regc ,pdata 
+0x42bf 007455 beq bt_evt_le_disconnected ,dongle_le_event_bb_disconnected 
+0x42c0 007456 beq bt_evt_le_connected ,dongle_bb_event_connected 
+0x42c1 007457 and pdata ,0x0f ,temp 
+0x42c2 007458 and_into bt_evt_timer_mask ,pdata 
+0x42c3 007459 beq bt_evt_timer_init ,dongle_bb_event_100ms 
+0x42c4 007460 rtn 
+:      007462 dongle_le_event_bb_disconnected:
+0x42c5 007463 setarg 0 
+0x42c6 007464 store 6 ,mem_le_conn_peer_addr 
+0x42c7 007465 jam 0 ,mem_dongle_peers 
+0x42c8 007466 setarg 0 
+0x42c9 007467 store 5 ,mem_mouse_data 
+0x42ca 007468 jam send_mouse_data_cmd ,mem_mcmd 
+0x42cb 007469 call usb_isr 
+0x42cc 007470 branch app_ble_start_scan 
+:      007472 dongle_bb_event_100ms:
+0x42cd 007473 rtn 
+0x42ce 007474 fetch 1 ,mem_le_scan_enable 
+0x42cf 007475 rtn blank 
+0x42d0 007476 fetch 1 ,mem_dongle_count 
+0x42d1 007477 rtn blank 
+0x42d2 007478 increase -1 ,pdata 
+0x42d3 007479 store 1 ,mem_dongle_count 
+0x42d4 007480 nrtn blank 
+0x42d5 007481 call le_change_peer_addr 
+0x42d6 007482 branch app_ble_start_conn 
+:      007485 dongle_bb_event_connected:
+0x42d7 007486 branch app_ble_stop_scan 
+:      007488 le_change_peer_addr:
+0x42d8 007490 jam 5 ,mem_dongle_count 
+0x42d9 007491 fetch 1 ,mem_le_peer_state 
+0x42da 007492 beq le_context_state_kb ,addr_slave2 
+0x42db 007493 beq le_context_state_mouse ,addr_slave1 
+0x42dc 007494 rtn 
+:      007495 addr_slave1:
+0x42dd 007496 fetch 6 ,mem_le_addr_slave1 
+0x42de 007497 store 6 ,mem_app_peer_addr 
+0x42df 007498 jam le_context_state_kb ,mem_le_peer_state 
+0x42e0 007499 rtn 
+:      007500 addr_slave2:
+0x42e1 007501 fetch 6 ,mem_le_addr_slave2 
+0x42e2 007502 store 6 ,mem_app_peer_addr 
+0x42e3 007503 jam le_context_state_mouse ,mem_le_peer_state 
+0x42e4 007504 rtn 
+:      007507 hci_rx_bcsp:
+0x42e5 007508 ifetch 2 ,contru 
+0x42e6 007509 branch hci_reset_uart ,blank 
+0x42e7 007510 iforce regc 
+0x42e8 007511 ifetch 1 ,contru 
+0x42e9 007512 store 1 ,mem_h5rx_tmp 
+0x42ea 007513 iforce rega 
+0x42eb 007514 bbit0 6 ,hci_rx_bcsp_nocrc 
+0x42ec 007515 increase -2 ,regc 
+:      007516 hci_rx_bcsp_nocrc:
+0x42ed 007517 ifetch 2 ,contru 
+0x42ee 007518 rshift4 pdata ,loopcnt 
+0x42ef 007519 and pdata ,0xf ,debug 
+0x42f0 007520 iadd rega ,rega 
+0x42f1 007521 rshift8 pdata ,pdata 
+0x42f2 007522 iadd rega ,rega 
+0x42f3 007523 ifetch 1 ,contru 
+0x42f4 007524 iadd rega ,pdata 
+0x42f5 007525 bne 0xff ,hci_rx_bcsp_discard_packet 
+0x42f6 007526 add regc ,-4 ,pdata 
+0x42f7 007527 isub loopcnt ,null 
+0x42f8 007528 nbranch hci_rx_bcsp_discard_packet_err ,zero 
+0x42f9 007529 fetch 1 ,mem_h5rx_tmp 
+0x42fa 007530 isolate0 7 ,pdata 
+0x42fb 007531 branch hci_rx_bcsp_check_ack_skip ,true 
+0x42fc 007532 set0 mark_h5_reset ,mark 
+0x42fd 007533 bmark1 mark_h5_reset ,hci_rx_bcsp_check_ack_skip 
+0x42fe 007534 and_into 7 ,pdata 
+0x42ff 007535 fetcht 1 ,mem_h5tx_ack 
+0x4300 007536 isub temp ,null 
+0x4301 007537 nbranch hci_rx_bcsp_discard_packet_err ,zero 
+:      007538 hci_rx_bcsp_check_ack_skip:
+0x4302 007539 setarg 1600 
+0x4303 007540 force lpo_delay_timer ,queue 
+0x4304 007541 call timer_init 
+0x4305 007542 deposit debug 
+0x4306 007543 call hci_bcsp_parse_packet 
+0x4307 007544 rtn user 
+0x4308 007545 fetch 1 ,mem_h5rx_tmp 
+0x4309 007546 iforce rega 
+0x430a 007547 rshift3 pdata ,temp 
+0x430b 007548 and_into 7 ,temp 
+0x430c 007549 fetch 1 ,mem_h5rx_ack 
+0x430d 007550 isub temp ,pdata 
+0x430e 007551 sub pdata ,0 ,pdata 
+0x430f 007552 and_into 7 ,pdata 
+0x4310 007553 bne 1 ,hci_rx_bcsp_discard_packet_err 
+0x4311 007554 storet 1 ,mem_h5rx_ack 
+0x4312 007555 fetch 1 ,mem_h5rx_ackcnt 
+0x4313 007556 increase 1 ,pdata 
+0x4314 007557 store 1 ,mem_h5rx_ackcnt 
+0x4315 007558 branch hci_rx_bcsp_discard_packet 
+:      007560 hci_rx_bcsp_discard_packet_err:
+0x4316 007561 fetch 1 ,mem_check_err_acl_cont 
+0x4317 007562 increase 1 ,pdata 
+0x4318 007563 store 1 ,mem_check_err_acl_cont 
+:      007564 hci_rx_bcsp_discard_packet:
+0x4319 007565 hfetch 2 ,core_uart_rrptr 
+0x431a 007566 iforce contru 
+0x431b 007567 ifetch 2 ,contru 
+0x431c 007568 iadd contru ,contru 
+0x431d 007569 deposit contru 
+0x431e 007570 hstore 2 ,core_uart_rrptr 
+0x431f 007571 rtn 
+:      007573 hci_bcsp_parse_packet:
+0x4320 007574 disable user 
+0x4321 007575 rtn blank 
+0x4322 007576 beq 1 ,parse_bcsp_link_establish 
+0x4323 007577 beq 2 ,parse_bcsp_bccmd 
+0x4324 007578 beq 5 ,process_hci_cmd 
+0x4325 007579 beq 6 ,process_acl 
+0x4326 007580 beq 8 ,process_hci_patch 
+0x4327 007581 rtn 
+:      007583 parse_bcsp_link_establish:
+0x4328 007584 set0 mark_h5_reinit ,mark 
+0x4329 007585 ifetch 1 ,contru 
+0x432a 007586 beq 0xda ,parse_bcsp_link_establish_sync 
+0x432b 007587 beq 0xac ,parse_bcsp_link_establish_syncrsp 
+0x432c 007588 beq 0xad ,parse_bcsp_link_establish_conf 
+0x432d 007589 beq 0xde ,parse_bcsp_link_establish_confrsp 
+0x432e 007590 rtn 
+:      007591 parse_bcsp_link_establish_sync:
+0x432f 007592 bmark1 mark_h5_sync ,parse_bcsp_link_establish_send_syncrsp 
+0x4330 007593 force 0xda ,temp 
+0x4331 007594 setarg 0xededdc 
+0x4332 007595 call parse_bcsp_link_establish_send 
+:      007596 parse_bcsp_link_establish_send_syncrsp:
+0x4333 007597 force 0xac ,temp 
+0x4334 007598 setarg 0xeeefaf 
+0x4335 007599 branch parse_bcsp_link_establish_send 
+:      007600 parse_bcsp_link_establish_syncrsp:
+0x4336 007601 set1 mark_h5_sync ,mark 
+0x4337 007602 force 0xad ,temp 
+0x4338 007603 setarg 0xedacef 
+0x4339 007604 branch parse_bcsp_link_establish_send 
+:      007605 parse_bcsp_link_establish_conf:
+0x433a 007606 force 0xde ,temp 
+0x433b 007607 setarg 0xd0d0ad 
+:      007608 parse_bcsp_link_establish_send:
+0x433c 007609 lshift8 pdata ,pdata 
+0x433d 007610 ior temp ,temp 
+0x433e 007611 call hci_get_packet_ptr 
+0x433f 007612 istoret 4 ,contwu 
+0x4340 007613 force 1 ,queue 
+0x4341 007614 force 4 ,loopcnt 
+0x4342 007615 set0 mark_h5tx_rp ,mark 
+0x4343 007616 branch bcsp_send_packet 
+:      007617 parse_bcsp_link_establish_confrsp:
+0x4344 007618 force 0 ,alarm 
+0x4345 007619 branch hci_command_status 
+:      007621 parse_bcsp_bccmd:
+0x4346 007622 copy loopcnt ,alarm 
+0x4347 007623 call bcsp_send_ack 
+0x4348 007624 force 0 ,regb 
+0x4349 007625 call hci_get_packet_ptr 
+0x434a 007626 copy alarm ,loopcnt 
+0x434b 007627 ifetch 1 ,contru 
+0x434c 007628 setarg 1 
+0x434d 007629 istore 1 ,contwu 
+0x434e 007630 set0 mark_temp ,mark 
+:      007631 parse_bcsp_bccmd_loop:
+0x434f 007632 ifetch 1 ,contru 
+0x4350 007633 increase 1 ,regb 
+0x4351 007634 beq 0x1c ,parse_bcsp_bccmd_sco_link 
+0x4352 007635 compare 4 ,regb ,0xff 
+0x4353 007636 nbranch parse_bcsp_bccmd_next ,true 
+0x4354 007637 setflag blank ,mark_temp ,mark 
+0x4355 007638 bne 0x3a ,parse_bcsp_bccmd_next 
+0x4356 007639 setarg 2000 
+0x4357 007640 force h5_reinit_timer ,queue 
+0x4358 007641 call timer_init 
+0x4359 007642 set1 mark_h5_reinit ,mark 
+0x435a 007643 rtn 
+:      007645 parse_bcsp_bccmd_sco_link:
+0x435b 007646 compare 6 ,regb ,0xff 
+0x435c 007647 branch parse_bcsp_bccmd_next_ok ,true 
+:      007648 parse_bcsp_bccmd_next:
+0x435d 007649 isolate1 mark_temp ,mark 
+0x435e 007650 call parse_bcsp_bccmd_replace ,true 
+0x435f 007651 istore 1 ,contwu 
+0x4360 007652 loop parse_bcsp_bccmd_loop 
+0x4361 007653 set0 mark_bccmd_patch ,mark 
+0x4362 007654 copy alarm ,loopcnt 
+0x4363 007655 set1 mark_h5tx_rp ,mark 
+0x4364 007656 force 2 ,queue 
+0x4365 007657 branch bcsp_send_packet 
+:      007658 parse_bcsp_bccmd_next_ok:
+0x4366 007659 set1 mark_bccmd_patch ,mark 
+0x4367 007660 branch parse_bcsp_bccmd_next 
+:      007662 parse_bcsp_bccmd_replace:
+0x4368 007663 rtnmark1 mark_bccmd_patch 
+0x4369 007664 compare 10 ,regb ,0xff 
+0x436a 007665 branch parse_bcsp_bccmd_replace1 ,true 
+0x436b 007666 compare 11 ,regb ,0xff 
+0x436c 007667 nrtn true 
+0x436d 007668 setarg 0x12 
+0x436e 007669 rtn 
+:      007670 parse_bcsp_bccmd_replace1:
+0x436f 007671 setarg 0xe9 
+0x4370 007672 rtn 
+:      007674 bcsp_send_ack:
+0x4371 007675 fetch 1 ,mem_h5rx_tmp 
+0x4372 007676 increase 1 ,pdata 
+0x4373 007677 and_into 7 ,pdata 
+0x4374 007678 store 1 ,mem_h5tx_ack 
+0x4375 007679 force 0 ,loopcnt 
+0x4376 007680 force 0 ,queue 
+0x4377 007681 set0 mark_h5tx_rp ,mark 
+:      007682 bcsp_send_packet:
+0x4378 007684 add loopcnt ,4 ,regb 
+0x4379 007685 fetch 1 ,mem_h5tx_ack 
+0x437a 007686 lshift3 pdata ,regc 
+0x437b 007687 isolate0 mark_h5tx_crc ,mark 
+0x437c 007688 nsetflag true ,6 ,regc 
+0x437d 007689 branch bcsp_send_packet_nocrc ,true 
+0x437e 007690 increase 2 ,regb 
+:      007691 bcsp_send_packet_nocrc:
+0x437f 007692 bmark0 mark_h5tx_rp ,bcsp_send_packet_form_nonrp 
+0x4380 007693 set1 7 ,regc 
+0x4381 007694 fetch 1 ,mem_h5tx_seq 
+0x4382 007695 ior regc ,regc 
+0x4383 007696 increase 1 ,pdata 
+0x4384 007697 and_into 7 ,pdata 
+0x4385 007698 store 1 ,mem_h5tx_seq 
+0x4386 007699 fetch 1 ,mem_rp_packets 
+0x4387 007700 increase 1 ,pdata 
+0x4388 007701 store 1 ,mem_rp_packets 
+:      007702 bcsp_send_packet_form_nonrp:
+0x4389 007703 fetch 2 ,mem_h5tx_wptr 
+0x438a 007704 iforce contwu 
+0x438b 007705 deposit regb 
+0x438c 007706 isolate1 mark_h5tx_rp ,mark 
+0x438d 007707 setflag true ,hci_flag_rp ,pdata 
+0x438e 007708 istore 2 ,contwu 
+0x438f 007709 copy contwu ,rega 
+0x4390 007710 deposit regc 
+0x4391 007711 istore 1 ,contwu 
+0x4392 007712 lshift4 loopcnt ,pdata 
+0x4393 007713 ior queue ,pdata 
+0x4394 007714 iadd regc ,regc 
+0x4395 007715 istore 2 ,contwu 
+0x4396 007716 rshift8 pdata ,pdata 
+0x4397 007717 iadd regc ,pdata 
+0x4398 007718 sub pdata ,0xff ,pdata 
+0x4399 007719 istore 1 ,contwu 
+0x439a 007720 bmark0 mark_h5tx_crc ,bcsp_send_packet_form_nocrc 
+0x439b 007721 increase 4 ,loopcnt 
+0x439c 007722 copy rega ,contwu 
+0x439d 007723 call calc_tx_crc16 
+0x439e 007724 istore 2 ,contwu 
+:      007725 bcsp_send_packet_form_nocrc:
+0x439f 007726 fetch 2 ,mem_h5tx_wptr 
+0x43a0 007727 iadd regb ,contwu 
+0x43a1 007728 increase 2 ,contwu 
+0x43a2 007729 deposit contwu 
+0x43a3 007730 store 2 ,mem_h5tx_wptr 
+0x43a4 007731 hstore 2 ,core_uart_twptr 
+0x43a5 007732 fetcht 2 ,mem_h5tx_rptr 
+0x43a6 007733 call bcsp_update_free 
+0x43a7 007734 call bcsp_init_retransmit 
+0x43a8 007735 setarg 1600 
+0x43a9 007736 force lpo_delay_timer ,queue 
+0x43aa 007737 branch timer_init 
+:      007739 bcsp_init_retransmit:
+0x43ab 007740 setarg 400 
+0x43ac 007741 force hci_retransmit_timer ,queue 
+0x43ad 007742 call timer_init 
+0x43ae 007743 set1 mark_h5tx_retransmit ,mark 
+0x43af 007744 rtn 
+:      007746 bcsp_retransmit:
+0x43b0 007747 rtnmark0 mark_h5tx_retransmit 
+0x43b1 007748 force hci_retransmit_timer ,queue 
+0x43b2 007749 call timer_check 
+0x43b3 007750 nrtn blank 
+0x43b4 007751 fetch 2 ,mem_h5tx_rptr 
+0x43b5 007752 hstore 2 ,core_uart_trptrp 
+0x43b6 007753 branch bcsp_init_retransmit 
+:      007755 bcsp_freepacket:
+0x43b7 007756 fetch 2 ,mem_h5tx_wptr 
+0x43b8 007757 fetcht 2 ,mem_h5tx_rptr 
+0x43b9 007758 isub temp ,null 
+0x43ba 007759 branch bcsp_noretransmit ,zero 
+0x43bb 007760 copy temp ,contwu 
+0x43bc 007761 ifetch 2 ,contwu 
+0x43bd 007762 iforce rega 
+0x43be 007763 iand mask3ff ,pdata 
+0x43bf 007764 iadd contwu ,contwu 
+0x43c0 007765 hfetch 2 ,core_uart_trptr 
+0x43c1 007766 isub contwu ,pdata 
+0x43c2 007767 iand mask3ff ,regb 
+0x43c3 007768 fetch 2 ,mem_h5tx_wptr 
+0x43c4 007769 isub contwu ,pdata 
+0x43c5 007770 iand mask3ff ,pdata 
+0x43c6 007771 isub regb ,pdata 
+0x43c7 007772 nrtn positive 
+0x43c8 007773 isolate0 hci_flag_rp ,rega 
+0x43c9 007774 branch bcsp_discardnrp ,true 
+0x43ca 007775 fetch 1 ,mem_h5rx_ackcnt 
+0x43cb 007776 rtn blank 
+0x43cc 007777 increase -1 ,pdata 
+0x43cd 007778 store 1 ,mem_h5rx_ackcnt 
+0x43ce 007779 fetch 1 ,mem_rp_packets 
+0x43cf 007780 increase -1 ,pdata 
+0x43d0 007781 store 1 ,mem_rp_packets 
+:      007782 bcsp_discardnrp:
+0x43d1 007783 copy contwu ,temp 
+0x43d2 007784 storet 2 ,mem_h5tx_rptr 
+0x43d3 007785 fetch 2 ,mem_h5tx_wptr 
+0x43d4 007786 call bcsp_update_free 
+0x43d5 007787 branch bcsp_freepacket 
+:      007788 bcsp_noretransmit:
+0x43d6 007789 set0 mark_h5tx_retransmit ,mark 
+0x43d7 007790 rtn 
+:      007792 bcsp_update_free:
+0x43d8 007793 isub temp ,pdata 
+0x43d9 007794 iand mask3ff ,pdata 
+0x43da 007795 isub mask3ff ,pdata 
+0x43db 007796 sub pdata ,0 ,pdata 
+0x43dc 007797 store 2 ,mem_h5tx_free 
+0x43dd 007798 rtn 
+:      007800 bcsp_get_tx_ptr:
+0x43de 007801 fetch 2 ,mem_h5tx_wptr 
+0x43df 007802 iadd contwu ,contwu 
+0x43e0 007803 rtn 
+:      007807 hci_log:
+0x43e1 007808 rtn 
+:      007810 hci_rx_h4:
+0x43e2 007811 set1 mark_ext_patch ,mark 
+0x43e3 007812 bpatch patch3d_4 ,mem_patch3d 
+0x43e4 007813 fetch 1 ,mem_hci_cmd 
+0x43e5 007814 nrtn blank 
+:      007815 hci_rx_h4_1:
+0x43e6 007816 call hci_h4_parse_packet 
+0x43e7 007817 ncall h4_rx_discard_packet ,user 
+0x43e8 007818 rtn 
+:      007820 hci_h4_parse_packet:
+0x43e9 007821 set1 mark_ext_patch ,mark 
+0x43ea 007822 bpatch patch3d_5 ,mem_patch3d 
+0x43eb 007823 copy contru ,rega 
+0x43ec 007824 arg 4 ,temp 
+0x43ed 007825 ifetch 1 ,contru 
+0x43ee 007826 beq hci_h4_type_cmd ,hci_h4_parse_packet_wait_len 
+0x43ef 007827 increase 1 ,temp 
+0x43f0 007828 beq hci_h4_type_acl ,hci_h4_parse_packet_wait_len 
+0x43f1 007829 copy contru ,pdata 
+0x43f2 007830 hstore 2 ,core_uart_rrptr 
+0x43f3 007831 rtn 
+:      007832 hci_h4_parse_packet_wait_len:
+0x43f4 007833 hfetch 2 ,core_uart_rxitems 
+0x43f5 007834 isub temp ,null 
+0x43f6 007835 nbranch hci_h4_parse_packet_wait_len ,positive 
+0x43f7 007837 disable user 
+0x43f8 007838 copy rega ,contru 
+0x43f9 007839 call h4_get_rx_payload_len 
+0x43fa 007840 iadd temp ,temp 
+:      007841 hci_h4_parse_packet_wait:
+0x43fb 007842 hfetch 2 ,core_uart_rxitems 
+0x43fc 007843 isub temp ,null 
+0x43fd 007844 nbranch hci_h4_parse_packet_wait ,positive 
+0x43fe 007845 copy rega ,contru 
+0x43ff 007846 ifetch 1 ,contru 
+0x4400 007847 beq hci_h4_type_cmd ,process_hci_cmd 
+0x4401 007848 beq hci_h4_type_acl ,hci_h4_parse_packet_acl 
+0x4402 007849 branch assert 
+:      007850 hci_h4_parse_packet_acl:
+0x4403 007851 set1 mark_ext_patch ,mark 
+0x4404 007852 bpatch patch3d_6 ,mem_patch3d 
+0x4405 007853 copy contru ,rega 
+0x4406 007854 ifetch 2 ,contru 
+0x4407 007855 copy rega ,contru 
+0x4408 007856 fetcht 1 ,mem_conn_handle 
+0x4409 007857 icompare 0xff ,temp 
+0x440a 007858 branch process_acl ,true 
+0x440b 007859 branch le_acl_downgoing ,le 
+0x440c 007860 enable user 
+0x440d 007861 rtn 
+:      007862 h4_rx_discard_packet:
+0x440e 007863 set1 mark_ext_patch ,mark 
+0x440f 007864 bpatch patch3d_7 ,mem_patch3d 
+0x4410 007865 hfetch 2 ,core_uart_rrptr 
+0x4411 007866 iforce contru 
+0x4412 007867 call h4_get_rx_payload_len 
+0x4413 007868 iadd contru ,contru 
+0x4414 007869 deposit contru 
+0x4415 007870 hstore 2 ,core_uart_rrptr 
+0x4416 007871 rtn 
+:      007876 h4_get_rx_payload_len:
+0x4417 007877 ifetch 1 ,contru 
+0x4418 007878 increase 2 ,contru 
+0x4419 007879 beq hci_h4_type_acl ,h4_get_rx_payload_len_acl 
+0x441a 007880 ifetch 1 ,contru 
+0x441b 007881 rtn 
+:      007882 h4_get_rx_payload_len_acl:
+0x441c 007883 ifetch 2 ,contru 
+0x441d 007884 rtn 
+:      007886 h4_get_tx_ptr:
+0x441e 007887 hfetch 2 ,core_uart_twptr 
+0x441f 007888 increase -5 ,contwu 
+0x4420 007889 iadd contwu ,contwu 
+0x4421 007890 rtn 
+:      007892 h4_send_packet_event:
+0x4422 007893 arg hci_h4_type_event ,temp 
+0x4423 007894 branch h4_send_packet 
+:      007895 h4_send_packet_acl:
+0x4424 007896 arg hci_h4_type_acl ,temp 
+:      007897 h4_send_packet:
+0x4425 007898 set1 mark_ext_patch ,mark 
+0x4426 007899 bpatch patch3e_0 ,mem_patch3e 
+0x4427 007900 increase 1 ,loopcnt 
+0x4428 007901 hfetch 2 ,core_uart_twptr 
+0x4429 007902 copy pdata ,contwu 
+0x442a 007903 copy loopcnt ,pdata 
+0x442b 007904 istoret 1 ,contwu 
+0x442c 007905 increase -1 ,pdata 
+0x442d 007906 iadd contwu ,contwu 
+0x442e 007907 copy contwu ,pdata 
+0x442f 007908 store 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4430 007909 copy temp ,pdata 
+0x4431 007910 rtneq hci_h4_type_acl 
+0x4432 007911 fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4433 007912 hstore 2 ,core_uart_twptr 
+0x4434 007913 branch h4_send_acl_trigger_clear 
+:      007915 h4_send_acl_trigger:
+0x4435 007916 set1 mark_ext_patch ,mark 
+0x4436 007917 bpatch patch3e_1 ,mem_patch3e 
+0x4437 007918 fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4438 007919 branch assert ,blank 
+0x4439 007920 hstore 2 ,core_uart_twptr 
+0x443a 007921 branch h4_send_acl_trigger_clear 
+:      007923 h4_send_acl_trigger_clear:
+0x443b 007924 setarg 0 
+0x443c 007925 store 2 ,mem_hci_acl_tx_trigger_wptr 
+0x443d 007926 rtn 
+:      007928 h4_tx_buffer_remain:
+0x443e 007929 hfetcht 2 ,core_uart_trptr 
+0x443f 007930 hfetch 2 ,core_uart_twptr 
+0x4440 007931 isub temp ,rega 
+0x4441 007932 nbranch h4_tx_buffer_remain_negative ,positive 
+0x4442 007933 hfetcht 2 ,core_uart_tsaddr 
+0x4443 007934 hfetch 2 ,core_uart_teaddr 
+0x4444 007935 isub temp ,pdata 
+0x4445 007936 isub rega ,temp 
+0x4446 007937 rtn 
+:      007938 h4_tx_buffer_remain_negative:
+0x4447 007939 sub rega ,-1 ,temp 
+0x4448 007940 rtn 
+:      007945 hci_dispatch:
+0x4449 007946 set0 mark_ext_patch ,mark 
+0x444a 007947 bpatch patch19_5 ,mem_patch19 
+0x444b 007948 fetch 1 ,mem_device_option 
+0x444c 007949 rtnne dvc_op_hci 
+0x444d 007950 call hci_rx_packet 
+0x444e 007951 call hci_check_bcsp_protocol 
+0x444f 007952 call bcsp_retransmit ,true 
+0x4450 007953 call hci_check_bcsp_protocol 
+0x4451 007954 call bcsp_freepacket ,true 
+0x4452 007955 branch process_send_acl 
+0x4453 007956 rtnmark0 mark_h5_reinit 
+0x4454 007957 force h5_reinit_timer ,queue 
+0x4455 007958 call timer_check 
+0x4456 007959 nrtn blank 
+0x4457 007960 call hci_reinit 
+0x4458 007961 call hci_check_bcsp_protocol 
+0x4459 007962 nrtn true 
+0x445a 007963 set0 mark_h5_sync ,mark 
+0x445b 007964 force 0xda ,temp 
+0x445c 007965 setarg 0xededdc 
+0x445d 007966 call parse_bcsp_link_establish_send 
+0x445e 007967 setarg 2000 
+0x445f 007968 force h5_reinit_timer ,queue 
+0x4460 007969 branch timer_init 
+:      007972 hci_init:
+0x4461 007973 set0 mark_ext_patch ,mark 
+0x4462 007974 bpatch patch19_6 ,mem_patch19 
+0x4463 007975 rtn wake 
+0x4464 007976 setarg hci_idle_dispatch 
+0x4465 007977 store 2 ,mem_cb_idle_process 
+0x4466 007979 setarg uart_baud_115200 
+0x4467 007980 store uart_baud_len ,mem_baud 
+:      007981 hci_lpm_init:
+0x4468 007982 set0 mark_ext_patch ,mark 
+0x4469 007983 bpatch patch19_7 ,mem_patch19 
+0x446a 007984 call init_filter_ram 
+0x446b 007985 setarg mem_h5rx_buf 
+0x446c 007986 hstore 2 ,core_uart_rsaddr 
+0x446d 007987 setarg mem_h5rx_buf_end 
+0x446e 007988 hstore 2 ,core_uart_readdr 
+0x446f 007989 setarg mem_h5tx_buf 
+0x4470 007990 hstore 2 ,core_uart_tsaddr 
+0x4471 007991 call hci_sel_init 
+:      007992 hci_reinit:
+0x4472 007993 set0 mark_ext_patch ,mark 
+0x4473 007994 bpatch patch1a_0 ,mem_patch1a 
+0x4474 007995 hjam 0x0 ,core_uart_ctrl 
+0x4475 007996 jam 0 ,mem_h5rx_ack 
+0x4476 007997 jam 0 ,mem_h5tx_ack 
+0x4477 007998 jam 0 ,mem_h5tx_seq 
+0x4478 007999 setarg mem_h5tx_buf 
+0x4479 008000 store 2 ,mem_h5tx_wptr 
+0x447a 008001 store 2 ,mem_h5tx_rptr 
+0x447b 008002 hstore 2 ,core_uart_twptr 
+0x447c 008003 hstore 2 ,core_uart_trptrp 
+0x447d 008004 setarg mem_h5rx_buf 
+0x447e 008005 hstore 2 ,core_uart_rrptr 
+0x447f 008006 store 2 ,mem_h5rx_rptr 
+:      008007 hci_init_common:
+0x4480 008008 set0 mark_ext_patch ,mark 
+0x4481 008009 bpatch patch1a_1 ,mem_patch1a 
+0x4482 008010 hfetch 2 ,core_clkoff 
+0x4483 008011 set0 clock_off_uart ,pdata 
+0x4484 008012 hstore 2 ,core_clkoff 
+0x4485 008013 call uart_set_baud_by_mem 
+0x4486 008014 hjam uartclk_dpll ,core_uart_clksel 
+0x4487 008015 hjam uart_ctrl_h4 ,core_uart_ctrl 
+0x4488 008016 branch hci_init_queue_ack 
+:      008018 hci_sel_init:
+0x4489 008019 setarg mem_h5tx_buf_end 
+0x448a 008020 hstore 2 ,core_uart_teaddr 
+0x448b 008021 hfetch 1 ,core_gpio_sel1 
+0x448c 008022 or_into 0x07 ,pdata 
+0x448d 008023 hstore 1 ,core_gpio_sel1 
+0x448e 008024 jam 0xff ,mem_ucode_id_local 
+0x448f 008025 rtn 
+:      008027 hci_reset_uart:
+0x4490 008028 hfetch 2 ,core_uart_rwptr 
+0x4491 008029 hstore 2 ,core_uart_rrptr 
+0x4492 008030 set1 mark_h5_reset ,mark 
+0x4493 008031 rtn 
+:      008034 hci_check_bcsp_protocol:
+0x4494 008035 hfetch 1 ,core_uart_ctrl 
+0x4495 008036 isolate1 uart_ctrl_bit_slip_protocol ,pdata 
+0x4496 008037 rtn 
+:      008039 hci_init_queue_ack:
+0x4497 008040 setarg mem_hci_acl_queue_start 
+0x4498 008041 store 2 ,mem_hci_acl_queue_wptr 
+0x4499 008042 store 2 ,mem_hci_acl_queue_rptr 
+0x449a 008043 force param_acl_pktcnt ,temp 
+0x449b 008044 iadd temp ,pdata 
+0x449c 008045 iadd temp ,pdata 
+0x449d 008046 increase 2 ,pdata 
+0x449e 008047 store 2 ,mem_hci_acl_queue_end 
+0x449f 008048 setarg 0x00 
+0x44a0 008049 store 1 ,mem_hci_acl_cnt 
+0x44a1 008050 store 1 ,mem_hci_acl_queue_wcnt 
+0x44a2 008051 rtn 
+:      008053 hci_rx_packet:
+0x44a3 008054 set0 mark_ext_patch ,mark 
+0x44a4 008055 bpatch patch1a_2 ,mem_patch1a 
+0x44a5 008056 hfetch 1 ,core_uart_status 
+0x44a6 008057 iforce regb 
+0x44a7 008058 bbit0 uart_status_rx_fifo_empty ,hci_rx_packet_cont 
+0x44a8 008059 hfetch 2 ,core_uart_rxitems 
+0x44a9 008060 iforce regc 
+0x44aa 008061 arg 0x44f ,temp 
+0x44ab 008062 isub temp ,null 
+0x44ac 008063 nrtn zero 
+:      008064 hci_rx_packet_cont:
+0x44ad 008065 hfetch 2 ,core_uart_rrptr 
+0x44ae 008066 iforce contru 
+0x44af 008067 call hci_check_bcsp_protocol 
+0x44b0 008068 branch hci_rx_bcsp ,true 
+0x44b1 008069 branch hci_rx_h4 
+:      008071 hci_send_ack:
+0x44b2 008072 call hci_check_bcsp_protocol 
+0x44b3 008073 branch bcsp_send_ack ,true 
+0x44b4 008074 rtn 
+:      008076 uart_send_byte:
+0x44b5 008077 hfetcht 1 ,core_uart_status 
+0x44b6 008078 isolate1 6 ,temp 
+0x44b7 008079 branch uart_send_byte ,true 
+0x44b8 008080 hstore 1 ,core_uart_txd 
+0x44b9 008081 rtn 
+:      008084 process_acl_into_queue:
+0x44ba 008085 fetcht 2 ,mem_hci_acl_queue_end 
+0x44bb 008086 fetch 2 ,mem_hci_acl_queue_wptr 
+0x44bc 008087 iforce contw 
+0x44bd 008088 deposit contru 
+0x44be 008089 istore 2 ,contw 
+0x44bf 008090 deposit contw 
+0x44c0 008091 store 2 ,mem_hci_acl_queue_wptr 
+0x44c1 008092 icompare 0xff ,temp 
+0x44c2 008093 call process_acl_into_queue_loop ,true 
+0x44c3 008094 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44c4 008095 increase 1 ,pdata 
+0x44c5 008096 store 1 ,mem_hci_acl_queue_wcnt 
+0x44c6 008097 rtn 
+:      008098 process_acl_into_queue_loop:
+0x44c7 008099 setarg mem_hci_acl_queue_start 
+0x44c8 008100 store 2 ,mem_hci_acl_queue_wptr 
+0x44c9 008101 rtn 
+:      008104 process_acl_dequeue:
+0x44ca 008105 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44cb 008106 rtn blank 
+0x44cc 008107 fetcht 2 ,mem_hci_acl_queue_end 
+0x44cd 008108 fetch 2 ,mem_hci_acl_queue_rptr 
+0x44ce 008109 iforce contr 
+0x44cf 008110 ifetch 2 ,contr 
+0x44d0 008111 iforce contru 
+0x44d1 008112 deposit contr 
+0x44d2 008113 store 2 ,mem_hci_acl_queue_rptr 
+0x44d3 008114 icompare 0xff ,temp 
+0x44d4 008115 call process_acl_dequeue_loop ,true 
+0x44d5 008116 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44d6 008117 increase -1 ,pdata 
+0x44d7 008118 store 1 ,mem_hci_acl_queue_wcnt 
+0x44d8 008119 force 1 ,pdata 
+0x44d9 008120 rtn 
+:      008121 process_acl_dequeue_loop:
+0x44da 008122 setarg mem_hci_acl_queue_start 
+0x44db 008123 store 2 ,mem_hci_acl_queue_rptr 
+0x44dc 008124 rtn 
+:      008126 process_acl:
+0x44dd 008127 set0 mark_ext_patch ,mark 
+0x44de 008128 bpatch patch1a_3 ,mem_patch1a 
+0x44df 008129 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44e0 008130 sub pdata ,2 ,null 
+0x44e1 008131 branch process_acl_queue_check_ok ,positive 
+0x44e2 008132 enable user 
+0x44e3 008133 branch process_send_acl 
+:      008134 process_acl_queue_check_ok:
+0x44e4 008135 call hci_send_ack 
+0x44e5 008136 call process_acl_into_queue 
+:      008137 process_send_acl:
+0x44e6 008138 set0 mark_ext_patch ,mark 
+0x44e7 008139 bpatch patch1a_4 ,mem_patch1a 
+0x44e8 008140 rtnmark1 mark_tx_l2cap 
+0x44e9 008141 call process_acl_dequeue 
+0x44ea 008142 rtn blank 
+0x44eb 008143 ifetcht 1 ,contru 
+0x44ec 008144 call context_search_conn_handle2 
+0x44ed 008145 nrtn zero 
+0x44ee 008146 ifetch 1 ,contru 
+0x44ef 008147 rshift4 pdata ,pdata 
+0x44f0 008148 and pdata ,0x3 ,pdata 
+0x44f1 008149 nbranch process_send_acl_good_lch ,blank 
+0x44f2 008150 set1 1 ,pdata 
+:      008151 process_send_acl_good_lch:
+0x44f3 008152 set1 2 ,pdata 
+0x44f4 008153 store 1 ,mem_tx_lch 
+0x44f5 008154 ifetch 2 ,contru 
+0x44f6 008155 store 2 ,mem_tx_len 
+0x44f7 008156 deposit contru 
+0x44f8 008157 store 2 ,mem_txptr 
+0x44f9 008158 set1 mark_tx_l2cap ,mark 
+0x44fa 008159 bmark0 mark_context ,process_acl_ncontext 
+0x44fb 008160 fetch 1 ,mem_conn_handle 
+0x44fc 008161 isub temp ,null 
+0x44fd 008162 nbranch process_acl_ncontext ,zero 
+0x44fe 008163 fetch 1 ,mem_op 
+0x44ff 008164 set1 op_txl2cap ,pdata 
+0x4500 008165 store 1 ,mem_op 
+0x4501 008166 rtn 
+:      008168 process_acl_ncontext:
+0x4502 008169 increase coffset_op ,rega 
+0x4503 008170 ifetch 1 ,rega 
+0x4504 008171 set1 op_txl2cap ,pdata 
+0x4505 008172 istore 1 ,rega 
+0x4506 008173 rtn 
+:      008178 process_hci_cmd:
+0x4507 008179 set0 mark_ext_patch ,mark 
+0x4508 008180 bpatch patch1a_5 ,mem_patch1a 
+0x4509 008181 fetch 1 ,mem_hci_cmd 
+0x450a 008182 branch process_hci_cmd_cont ,blank 
+0x450b 008183 enable user 
+0x450c 008184 rtn 
+:      008185 process_hci_cmd_cont:
+0x450d 008186 call hci_send_ack 
+0x450e 008187 ifetch 2 ,contru 
+0x450f 008188 iforce alarm 
+0x4510 008189 iforce queue 
+0x4511 008190 ifetch 1 ,contru 
+0x4512 008191 iforce temp 
+0x4513 008192 rshift2 alarm ,pdata 
+0x4514 008193 rshift8 pdata ,pdata 
+0x4515 008194 beq hci_ogf_link_control ,phci_grp_link_control 
+0x4516 008195 beq hci_ogf_link_policy ,phci_grp_link_policy 
+0x4517 008196 beq hci_ogf_baseband ,phci_grp_baseband 
+0x4518 008197 beq hci_ogf_info ,phci_grp_info 
+0x4519 008198 beq hci_ogf_status ,phci_grp_status 
+0x451a 008199 beq hci_ogf_test ,phci_grp_test 
+0x451b 008200 beq hci_ogf_vendor_specific ,phci_grp_vendor_specific 
+0x451c 008201 beq hci_ogf_low_energy ,phci_grp_low_energy 
+0x451d 008202 rtn 
+:      008205 phci_grp_link_control:
+0x451e 008206 set0 mark_ext_patch ,mark 
+0x451f 008207 bpatch patch1a_6 ,mem_patch1a 
+0x4520 008208 deposit queue 
+0x4521 008209 beq hci_inquiry ,phci_inquiry 
+0x4522 008210 beq hci_inquiry_cancel ,phci_inquiry_cancel 
+0x4523 008211 beq hci_periodic_inquiry_mode ,hci_normal_reply 
+0x4524 008212 beq hci_exit_periodic_inquiry_mode ,hci_normal_reply 
+0x4525 008213 beq hci_create_connection ,phci_create_connection 
+0x4526 008214 beq hci_disconnect ,phci_disconnect 
+0x4527 008215 beq hci_add_sco_connection ,hci_normal_reply 
+0x4528 008216 beq hci_create_connection_cancel ,phci_create_connection_cancel 
+0x4529 008217 beq hci_accept_connection ,phci_accept_connection 
+0x452a 008218 beq hci_reject_connection ,phci_reject_connection 
+0x452b 008219 beq hci_link_key_request_reply ,phci_link_key_request_reply 
+0x452c 008220 beq hci_link_key_request_negative_reply ,phci_link_key_request_negative_reply 
+0x452d 008221 beq hci_pin_code_request_reply ,phci_pin_code_request_reply 
+0x452e 008222 beq hci_pin_code_request_negative_reply ,phci_pin_code_request_negative_reply 
+0x452f 008223 beq hci_change_connection_packet_type ,phci_change_connection_packet_type 
+0x4530 008224 beq hci_authentication_requested ,phci_authentication_requested 
+0x4531 008225 beq hci_set_connection_encryption ,phci_set_connection_encryption 
+0x4532 008226 beq hci_change_connection_link_key ,hci_normal_reply 
+0x4533 008227 beq hci_master_link_key ,hci_normal_reply 
+0x4534 008228 beq hci_remote_name_request ,phci_remote_name_request 
+0x4535 008229 beq hci_read_remote_supported_features ,phci_read_remote_supported_features 
+0x4536 008230 beq hci_read_remote_ext_features ,phci_read_remote_ext_features 
+0x4537 008231 beq hci_read_remote_version_information ,phci_read_remote_version_information 
+0x4538 008232 beq hci_read_clock_offset ,phci_read_clock_offset 
+0x4539 008233 beq hci_setup_sco_connection ,phci_setup_sco_connection 
+0x453a 008234 beq hci_accept_sco_connection ,phci_accept_sco_connection 
+0x453b 008235 beq hci_io_cap_request_reply ,phci_io_cap_request_reply 
+0x453c 008236 branch phci_unknown_command 
+:      008239 phci_grp_link_policy:
+0x453d 008240 set0 mark_ext_patch ,mark 
+0x453e 008241 bpatch patch1a_7 ,mem_patch1a 
+0x453f 008242 deposit queue 
+0x4540 008243 beq hci_role_discovery ,phci_role_discovery 
+0x4541 008244 beq hci_write_link_policy_settings ,phci_write_link_policy_settings 
+0x4542 008245 beq hci_hold_mode ,hci_normal_reply 
+0x4543 008246 beq hci_sniff_mode ,phci_sniff_mode 
+0x4544 008247 beq hci_exit_sniff_mode ,phci_exit_sniff_mode 
+0x4545 008248 beq hci_park_mode ,hci_normal_reply 
+0x4546 008249 beq hci_exit_park_mode ,hci_normal_reply 
+0x4547 008250 beq hci_qos_setup ,hci_normal_reply 
+0x4548 008251 beq hci_switch_role ,phci_switch_role 
+0x4549 008252 beq hci_read_link_policy_settings ,hci_normal_reply 
+0x454a 008253 beq hci_read_default_link_policy_settings ,hci_normal_reply 
+0x454b 008254 beq hci_write_default_link_policy_settings ,hci_normal_reply 
+0x454c 008255 beq hci_flow_specification ,hci_normal_reply 
+0x454d 008256 beq hci_sniff_subrating ,phci_sniff_subrating 
+0x454e 008257 branch phci_unknown_command 
+:      008259 phci_grp_baseband:
+0x454f 008260 set0 mark_ext_patch ,mark 
+0x4550 008261 bpatch patch1b_0 ,mem_patch1b 
+0x4551 008262 deposit queue 
+0x4552 008263 beq hci_set_event_mask ,phci_set_event_mask 
+0x4553 008264 beq hci_reset ,hci_normal_reply 
+0x4554 008265 beq hci_delete_stored_link_key ,phci_delete_stored_link_key 
+0x4555 008266 beq hci_write_local_name ,phci_change_local_name 
+0x4556 008267 beq hci_read_local_name ,phci_read_local_name 
+0x4557 008268 beq hci_write_page_timeout ,phci_write_page_timeout 
+0x4558 008269 beq hci_read_scan_enable ,phci_read_scan_enable 
+0x4559 008270 beq hci_write_scan_enable ,phci_write_scan_enable 
+0x455a 008271 beq hci_write_page_scan_activity ,phci_write_page_scan_activity 
+0x455b 008272 beq hci_write_inquiry_scan_activity ,phci_write_inquiry_scan_activity 
+0x455c 008273 beq hci_write_authentication_enable ,phci_write_authentication_enable 
+0x455d 008274 beq hci_write_encryption_mode ,phci_write_encryption_mode 
+0x455e 008275 beq hci_write_class_of_device ,phci_write_class_of_device 
+0x455f 008276 beq hci_write_voice_setting ,hci_normal_reply 
+0x4560 008277 beq hci_set_controller_to_host_flow_control ,hci_normal_reply 
+0x4561 008278 beq hci_host_buffer_size ,hci_normal_reply 
+0x4562 008279 beq hci_host_num_completed_packets ,phci_host_num_completed 
+0x4563 008280 beq hci_write_inquiry_scan_type ,hci_normal_reply 
+0x4564 008281 beq hci_write_inquiry_mode ,hci_normal_reply 
+0x4565 008282 beq hci_write_page_scan_type ,hci_normal_reply 
+0x4566 008283 beq hci_read_extended_inquiry_response ,phci_read_ext_inquiry_response 
+0x4567 008284 beq hci_write_simple_pairing_mode ,phci_write_ssp_mode 
+0x4568 008285 branch phci_unknown_command 
+:      008287 phci_grp_info:
+0x4569 008288 set0 mark_ext_patch ,mark 
+0x456a 008289 bpatch patch1b_1 ,mem_patch1b 
+0x456b 008290 deposit queue 
+0x456c 008291 beq hci_read_local_version_information ,phci_read_local_version_information 
+0x456d 008292 beq hci_read_local_supported_features ,phci_read_local_supported_features 
+0x456e 008293 beq hci_read_local_ext_features ,phci_read_local_ext_features 
+0x456f 008294 beq hci_read_buffer_size ,phci_read_buffer_size 
+0x4570 008295 beq hci_read_bd_addr ,phci_read_bd_addr 
+0x4571 008296 branch phci_unknown_command 
+:      008298 phci_grp_status:
+0x4572 008299 set0 mark_ext_patch ,mark 
+0x4573 008300 bpatch patch1b_2 ,mem_patch1b 
+0x4574 008301 deposit queue 
+0x4575 008302 beq hci_read_failed_contact_counter ,hci_normal_reply 
+0x4576 008303 beq hci_reset_failed_contact_counter ,phci_reset_failed_contact_counter 
+0x4577 008304 beq hci_get_link_quality ,phci_get_link_quality 
+0x4578 008305 beq hci_read_rssi ,phci_read_rssi 
+0x4579 008306 beq hci_read_afh_channel_map ,phci_read_afh_channel_map 
+0x457a 008307 beq hci_read_bd_clock ,phci_read_bd_clock 
+0x457b 008308 branch phci_unknown_command 
+:      008310 phci_grp_test:
+0x457c 008311 set0 mark_ext_patch ,mark 
+0x457d 008312 bpatch patch1b_3 ,mem_patch1b 
+0x457e 008313 deposit queue 
+0x457f 008314 beq hci_read_loopback_mode ,hci_normal_reply 
+0x4580 008315 beq hci_write_loopback_mode ,hci_normal_reply 
+0x4581 008316 beq hci_enable_device_under_test_mode ,hci_normal_reply 
+0x4582 008317 beq hci_write_simple_pairing_debug_mode ,hci_normal_reply 
+0x4583 008318 branch phci_unknown_command 
+0x4584 008319 rtn 
+:      008321 phci_grp_vendor_specific:
+0x4585 008322 set0 mark_ext_patch ,mark 
+0x4586 008323 bpatch patch1b_4 ,mem_patch1b 
+0x4587 008324 deposit queue 
+0x4588 008325 beq hci_vendor_cmd_reset ,hci_normal_reply 
+0x4589 008326 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+0x458a 008327 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+0x458b 008328 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+0x458c 008329 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+0x458d 008330 beq hci_vendor_cmd_echo ,hci_normal_reply 
+0x458e 008331 beq hci_vendor_cmd_bdaddr ,phci_grp_vendor_bdaddr 
+0x458f 008332 beq hci_vendor_cmd_enter_lpm ,phci_grp_vendor_enter_lpm 
+0x4590 008334 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+0x4591 008335 beq hci_vendor_cmd_eep ,phci_grp_vendor_eep 
+0x4592 008336 branch hci_normal_reply 
+:      008338 phci_grp_vendor_enter_lpm:
+0x4593 008339 call hci_normal_reply 
+0x4594 008340 call wait_uarttx 
+0x4595 008341 call gpio_pu_uart_tx 
+:      008342 hci_enter_lpm:
+0x4596 008343 call app_put_lpm_wake_lock 
+0x4597 008344 call app_l2cap_flow_control_enable 
+0x4598 008345 branch gpio_rx_config_input_with_pu 
+:      008347 hci_exit_lpm:
+0x4599 008348 jam hci_rx_ready ,mem_hci_lt_rx_state 
+0x459a 008349 call app_get_lpm_wake_lock 
+0x459b 008350 call hci_lpm_init 
+0x459c 008351 branch app_l2cap_flow_control_disable 
+:      008353 phci_grp_vendor_chipid:
+0x459d 008354 call hci_get_cmd_complete_ptr 
+0x459e 008355 hfetch 2 ,core_chipid 
+0x459f 008356 istore 2 ,contwu 
+0x45a0 008357 force 6 ,loopcnt 
+0x45a1 008358 branch hci_command_complete 
+:      008360 phci_grp_vendor_baud:
+0x45a2 008361 ifetch 2 ,contru 
+0x45a3 008362 store 2 ,mem_baud 
+0x45a4 008363 hstore 2 ,core_uart_baud 
+0x45a5 008364 rtn 
+:      008366 phci_grp_vendor_patch:
+0x45a6 008368 ifetch 1 ,contru 
+0x45a7 008369 copy pdata ,temp 
+0x45a8 008370 hstore 1 ,core_ucode_low 
+0x45a9 008371 ifetch 1 ,contru 
+0x45aa 008372 iadd temp ,temp 
+0x45ab 008373 set1 7 ,pdata 
+0x45ac 008374 hstore 1 ,core_ucode_ctrl 
+0x45ad 008375 ifetch 1 ,contru 
+0x45ae 008376 iadd temp ,temp 
+0x45af 008377 copy pdata ,loopcnt 
+:      008378 phci_grp_vendor_patch_loop:
+0x45b0 008379 ifetch 1 ,contru 
+0x45b1 008380 hstore 1 ,core_ucode_data 
+0x45b2 008381 iadd temp ,temp 
+0x45b3 008382 loop phci_grp_vendor_patch_loop 
+0x45b4 008383 and temp ,0xff ,temp 
+0x45b5 008384 ifetch 1 ,contru 
+0x45b6 008385 isub temp ,null 
+0x45b7 008386 nbranch phci_grp_vendor_patch_bad ,zero 
+0x45b8 008387 branch hci_normal_reply 
+:      008389 phci_grp_vendor_done:
+0x45b9 008390 arg 0x20 ,loopcnt 
+0x45ba 008391 arg mem_patch00 ,contw 
+0x45bb 008392 arg 0 ,temp 
+:      008393 phci_grp_vendor_done_loop:
+0x45bc 008394 ifetch 1 ,contru 
+0x45bd 008395 istore 1 ,contw 
+0x45be 008396 iadd temp ,temp 
+0x45bf 008397 loop phci_grp_vendor_done_loop 
+0x45c0 008398 and temp ,0xff ,temp 
+0x45c1 008399 ifetch 1 ,contru 
+0x45c2 008400 isub temp ,null 
+0x45c3 008401 nbranch phci_grp_vendor_patch_bad ,zero 
+0x45c4 008402 hjam 0 ,core_ucode_ctrl 
+0x45c5 008403 call hci_normal_reply 
+0x45c6 008404 call h4_rx_discard_packet 
+0x45c7 008405 branch soft_reset 
+:      008407 phci_grp_vendor_patch_bad:
+0x45c8 008408 hjam 0 ,core_ucode_ctrl 
+0x45c9 008409 branch start 
+:      008411 phci_grp_vendor_bdaddr:
+0x45ca 008412 ifetch 6 ,contru 
+0x45cb 008413 store 6 ,mem_lap 
+0x45cc 008414 branch hci_normal_reply 
+:      008417 phci_grp_vendor_mem:
+0x45cd 008418 ifetch 1 ,contru 
+0x45ce 008419 store 1 ,mem_hci_curr_len 
+0x45cf 008420 copy pdata ,loopcnt 
+0x45d0 008421 ifetch 2 ,contru 
+0x45d1 008422 store 2 ,mem_hci_curr_target 
+0x45d2 008423 copy pdata ,contw 
+0x45d3 008424 call uart_copy_rx_bytes 
+0x45d4 008425 branch hci_normal_reply 
+:      008428 phci_grp_vendor_eep:
+0x45d5 008429 ifetch 1 ,contru 
+0x45d6 008430 store 1 ,mem_hci_curr_len 
+0x45d7 008431 copy pdata ,loopcnt 
+0x45d8 008432 ifetch 2 ,contru 
+0x45d9 008433 store 2 ,mem_hci_curr_target 
+0x45da 008434 arg mem_l2cap_rxbuff1 ,contw 
+0x45db 008435 call uart_copy_rx_bytes 
+0x45dc 008436 fetcht 1 ,mem_hci_curr_len 
+0x45dd 008437 arg mem_l2cap_rxbuff1 ,rega 
+0x45de 008438 fetch 2 ,mem_hci_curr_target 
+0x45df 008439 branch iicd_write_ota_data 
+:      008445 phci_grp_low_energy:
+0x45e0 008446 set0 mark_ext_patch ,mark 
+0x45e1 008447 bpatch patch1b_5 ,mem_patch1b 
+0x45e2 008448 deposit queue 
+0x45e3 008449 beq hci_le_set_event_mask ,hci_normal_reply 
+0x45e4 008450 beq hci_le_read_buffer_size ,phci_le_read_buffer_size 
+0x45e5 008451 beq hci_le_read_local_supported_features ,phci_le_read_local_supported_features 
+0x45e6 008452 beq hci_le_set_advertising_parameters ,phci_le_set_adv_param 
+0x45e7 008453 beq hci_le_set_advertising_data ,phci_le_set_adv_data 
+0x45e8 008454 beq hci_le_set_scan_response_data ,phci_le_set_scan_response_data 
+0x45e9 008455 beq hci_le_set_advertise_enable ,phci_le_set_adv_enable 
+0x45ea 008456 beq hci_le_set_scan_parameters ,phci_le_set_scan_param 
+0x45eb 008457 beq hci_le_set_scan_enable ,phci_le_set_scan_enable 
+0x45ec 008458 beq hci_le_create_connection ,phci_le_create_conn 
+0x45ed 008459 beq hci_le_create_connection_cancel ,phci_le_create_conn_cancel 
+0x45ee 008460 beq hci_le_read_channel_map ,phci_le_read_channel_map 
+0x45ef 008461 beq hci_le_read_remote_used_features ,hci_command_status 
+0x45f0 008462 beq hci_le_connection_update ,hci_normal_reply 
+0x45f1 008463 branch phci_unknown_command 
+0x45f2 008464 rtn 
+:      008465 phci_le_read_buffer_size:
+0x45f3 008466 call hci_get_cmd_complete_ptr 
+0x45f4 008467 setarg 0 
+0x45f5 008468 istore 3 ,contwu 
+0x45f6 008469 force 0x07 ,loopcnt 
+0x45f7 008470 branch hci_command_complete 
+:      008472 phci_le_read_local_supported_features:
+0x45f8 008473 call hci_get_cmd_complete_ptr 
+0x45f9 008474 setarg 1 
+0x45fa 008475 istore 2 ,contwu 
+0x45fb 008476 setarg 0 
+0x45fc 008477 istore 6 ,contwu 
+0x45fd 008478 force 0x0c ,loopcnt 
+0x45fe 008479 branch hci_command_complete 
+:      008481 phci_le_set_adv_param:
+0x45ff 008482 arg 15 ,loopcnt 
+0x4600 008483 arg mem_le_adv_param ,contw 
+0x4601 008484 call uart_copy_rx_bytes 
+0x4602 008485 branch hci_normal_reply 
+:      008487 phci_le_set_adv_data:
+0x4603 008488 arg 32 ,loopcnt 
+0x4604 008489 arg mem_le_adv_data_len ,contw 
+0x4605 008490 call uart_copy_rx_bytes 
+0x4606 008491 branch hci_normal_reply 
+:      008493 phci_le_set_scan_response_data:
+0x4607 008494 arg 32 ,loopcnt 
+0x4608 008495 arg mem_le_scan_data_len ,contw 
+0x4609 008496 call uart_copy_rx_bytes 
+0x460a 008497 branch hci_normal_reply 
+:      008499 phci_le_set_adv_enable:
+0x460b 008500 ifetch 1 ,contru 
+0x460c 008501 store 1 ,mem_le_adv_enable 
+0x460d 008502 branch hci_normal_reply 
+:      008504 phci_le_set_scan_param:
+0x460e 008505 ifetch 7 ,contru 
+0x460f 008506 store 7 ,mem_le_scan_params 
+0x4610 008507 branch hci_normal_reply 
+:      008509 phci_le_set_scan_enable:
+0x4611 008510 ifetch 1 ,contru 
+0x4612 008511 store 1 ,mem_le_scan_enable 
+0x4613 008512 branch hci_normal_reply 
+:      008514 phci_le_create_conn:
+0x4614 008515 ifetch 4 ,contru 
+0x4615 008516 store 4 ,mem_le_scan_interval 
+0x4616 008517 ifetch 1 ,contru 
+0x4617 008518 store 1 ,mem_le_scan_filter_policy 
+0x4618 008519 arg 20 ,loopcnt 
+0x4619 008520 arg mem_le_conn_param ,contw 
+0x461a 008521 call uart_copy_rx_bytes 
+0x461b 008522 jam 1 ,mem_le_scan_enable 
+0x461c 008523 fetch 1 ,mem_le_conn_own_addr_type 
+0x461d 008524 store 1 ,mem_le_scan_own_addr_type 
+0x461e 008525 fetch 2 ,mem_le_conn_interval_max 
+0x461f 008526 store 2 ,mem_le_conn_interval 
+0x4620 008527 fetch 2 ,mem_le_conn_latency 
+0x4621 008528 store 2 ,mem_le_slave_latency 
+0x4622 008529 fetch 2 ,mem_le_conn_superto 
+0x4623 008530 store 2 ,mem_le_superto 
+0x4624 008531 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x4625 008532 branch hci_command_status 
+:      008534 phci_le_create_conn_cancel:
+0x4626 008536 branch hci_normal_reply 
+:      008538 phci_le_read_channel_map:
+0x4627 008539 call hci_get_cmd_complete_ptr 
+0x4628 008540 ifetch 2 ,contru 
+0x4629 008541 istore 2 ,contwu 
+0x462a 008542 setarg 0x1fffff 
+0x462b 008543 istore 5 ,contwu 
+0x462c 008544 force 0x0b ,loopcnt 
+0x462d 008545 branch hci_command_complete 
+:      008550 phci_host_num_completed:
+0x462e 008551 ifetch 3 ,contru 
+0x462f 008552 ifetcht 3 ,contru 
+0x4630 008553 fetch 2 ,mem_acl_credits 
+0x4631 008554 iadd temp ,pdata 
+0x4632 008555 store 2 ,mem_acl_credits 
+0x4633 008556 rtn 
+:      008558 phci_inquiry:
+0x4634 008559 ifetch 3 ,contru 
+0x4635 008560 store 3 ,mem_glap 
+:      008561 do_at_inquiry0:
+0x4636 008562 jam hci_cmd_inquiry ,mem_hci_cmd 
+0x4637 008563 ifetch 1 ,contru 
+0x4638 008564 arg 1600 ,temp 
+0x4639 008565 imul32 temp ,pdata 
+0x463a 008566 arg 0xffff ,temp 
+0x463b 008567 isub temp ,null 
+0x463c 008568 nbranch phci_inquiry_nowrap ,positive 
+0x463d 008569 deposit temp 
+:      008570 phci_inquiry_nowrap:
+0x463e 008571 force inquiry_length_timer ,queue 
+0x463f 008572 call timer_init 
+0x4640 008573 fetch 1 ,mem_at_using_flag 
+0x4641 008574 bbit1 at_flag_inq ,at_rev_end 
+0x4642 008575 branch hci_command_status 
+:      008578 phci_inquiry_cancel:
+0x4643 008579 jam hci_cmd_inquiry_cancel ,mem_hci_cmd 
+0x4644 008580 branch hci_normal_reply 
+:      008582 phci_create_connection:
+0x4645 008583 call phci_read_plap 
+0x4646 008584 ifetch 2 ,contru 
+0x4647 008585 store 2 ,mem_packet_type 
+0x4648 008586 ifetch 2 ,contru 
+0x4649 008587 store 1 ,mem_page_mode 
+0x464a 008588 call phci_read_clock 
+0x464b 008589 ifetch 1 ,contru 
+0x464c 008590 store 1 ,mem_allow_switch 
+0x464d 008591 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x464e 008592 branch hci_command_status 
+:      008595 phci_disconnect:
+0x464f 008596 jam hci_cmd_disconn ,mem_hci_cmd 
+0x4650 008597 ifetch 2 ,contru 
+0x4651 008598 store 1 ,mem_hci_conn_handle 
+0x4652 008599 ifetch 1 ,contru 
+0x4653 008600 store 1 ,mem_disconn_reason_send 
+0x4654 008601 jam hci_error_connection_terminated_by_local_host ,mem_hci_disconn_reason 
+0x4655 008602 fetch 1 ,mem_hci_conn_handle 
+0x4656 008603 fetcht 1 ,mem_sco_handle 
+0x4657 008604 isub temp ,null 
+0x4658 008605 nbranch hci_command_status ,zero 
+0x4659 008606 jam hci_cmd_disconn_sco ,mem_hci_cmd 
+0x465a 008607 fetch 1 ,mem_sco_asso_handle 
+0x465b 008608 store 1 ,mem_hci_conn_handle 
+0x465c 008609 branch hci_command_status 
+:      008611 phci_create_connection_cancel:
+0x465d 008612 call hci_get_cmd_complete_ptr 
+0x465e 008613 call hci_write_plap 
+0x465f 008614 force 10 ,loopcnt 
+0x4660 008615 call hci_command_complete 
+0x4661 008617 jam hci_cmd_detach ,mem_hci_cmd 
+0x4662 008618 force hci_error_no_connection ,temp 
+0x4663 008619 branch hci_send_connection_error 
+:      008621 phci_link_key_request_reply:
+0x4664 008622 call phci_read_plap 
+0x4665 008623 arg mem_link_key ,contw 
+0x4666 008624 force 16 ,loopcnt 
+0x4667 008625 call uart_copy_rx_bytes 
+0x4668 008626 jam hci_cmd_linkkey ,mem_hci_cmd 
+0x4669 008627 branch phci_pin_code_reply 
+:      008629 phci_link_key_request_negative_reply:
+0x466a 008630 call phci_read_plap 
+0x466b 008631 jam hci_cmd_nokey ,mem_hci_cmd 
+0x466c 008632 branch phci_pin_code_reply 
+:      008634 phci_pin_code_request_reply:
+0x466d 008635 call phci_read_plap 
+0x466e 008636 ifetch 1 ,contru 
+0x466f 008637 store 1 ,mem_pin_length 
+0x4670 008638 iforce loopcnt 
+0x4671 008639 arg mem_pin ,contw 
+0x4672 008640 call uart_copy_rx_bytes 
+0x4673 008641 jam hci_cmd_pair ,mem_hci_cmd 
+0x4674 008642 branch phci_pin_code_reply 
+:      008644 phci_pin_code_request_negative_reply:
+0x4675 008645 call phci_read_plap 
+0x4676 008646 jam hci_cmd_nopair ,mem_hci_cmd 
+:      008647 phci_pin_code_reply:
+0x4677 008648 call hci_get_cmd_complete_ptr 
+0x4678 008649 call hci_write_plap 
+0x4679 008650 force 10 ,loopcnt 
+0x467a 008651 branch hci_command_complete 
+:      008653 phci_io_cap_request_reply:
+0x467b 008655 increase 6 ,contru 
+0x467c 008656 ifetch 3 ,contru 
+0x467d 008657 store 3 ,mem_sp_iocap_local 
+0x467e 008658 fetch 1 ,mem_master_sp_state 
+0x467f 008659 beq sp_master_stat_start_done ,phci_io_cap_request_reply_master 
+0x4680 008660 beq sp_stat_key_send ,phci_io_cap_request_reply_master 
+0x4681 008661 jam hci_cmd_io_cap ,mem_hci_cmd 
+0x4682 008662 branch phci_io_cap_request_reply_commom 
+:      008663 phci_io_cap_request_reply_master:
+0x4683 008664 jam sp_flag_commit ,mem_master_sp_flag 
+:      008665 phci_io_cap_request_reply_commom:
+0x4684 008666 call hci_get_cmd_complete_ptr 
+0x4685 008667 call hci_write_plap 
+0x4686 008668 force 10 ,loopcnt 
+0x4687 008669 branch hci_command_complete 
+:      008672 phci_authentication_requested:
+0x4688 008673 call phci_read_handle 
+0x4689 008674 jam hci_cmd_auth ,mem_hci_cmd 
+0x468a 008675 branch hci_command_status 
+:      008677 phci_set_connection_encryption:
+0x468b 008678 call phci_read_handle 
+0x468c 008679 ifetch 1 ,contru 
+0x468d 008680 increase hci_cmd_stopencrypt ,pdata 
+0x468e 008681 store 1 ,mem_hci_cmd 
+0x468f 008682 branch hci_command_status 
+:      008684 phci_remote_name_request:
+0x4690 008685 call phci_read_plap 
+0x4691 008686 ifetch 2 ,contru 
+0x4692 008687 store 1 ,mem_page_mode 
+0x4693 008688 call phci_read_clock 
+0x4694 008689 jam hci_cmd_remote_name_req ,mem_hci_cmd 
+0x4695 008690 branch hci_command_status 
+:      008692 phci_read_remote_ext_features:
+0x4696 008693 ifetch 2 ,contru 
+0x4697 008694 ifetch 1 ,contru 
+0x4698 008695 store 1 ,mem_ext_features_page 
+0x4699 008696 jam hci_cmd_remote_ext_features_req ,mem_hci_cmd 
+0x469a 008697 branch hci_command_status 
+:      008699 phci_read_remote_supported_features:
+0x469b 008701 fetch 1 ,mem_conn_handle 
+0x469c 008702 force hci_error_no_connection ,rega 
+0x469d 008703 branch hci_command_status_err ,blank 
+0x469e 008704 call phci_read_handle 
+0x469f 008705 jam hci_cmd_remote_feature_req ,mem_hci_cmd 
+0x46a0 008706 branch hci_command_status 
+:      008709 phci_read_remote_version_information:
+0x46a1 008711 fetch 1 ,mem_conn_handle 
+0x46a2 008712 force hci_error_no_connection ,rega 
+0x46a3 008713 branch hci_command_status_err ,blank 
+0x46a4 008714 call phci_read_handle 
+0x46a5 008715 jam hci_cmd_remote_version_req ,mem_hci_cmd 
+0x46a6 008716 branch hci_command_status 
+:      008719 phci_read_clock_offset:
+0x46a7 008720 call phci_status_reply_temp 
+0x46a8 008721 force hci_event_read_clock_offset_complete ,queue 
+0x46a9 008722 force 5 ,loopcnt 
+0x46aa 008723 branch hci_send_event 
+:      008725 phci_setup_sco_connection:
+0x46ab 008726 call phci_read_handle 
+0x46ac 008727 increase 10 ,contru 
+0x46ad 008728 ifetch 2 ,contru 
+0x46ae 008729 store 2 ,mem_voice_setting 
+0x46af 008730 ifetch 1 ,contru 
+0x46b0 008731 store 1 ,mem_retransmission_effort 
+0x46b1 008732 ifetch 2 ,contru 
+0x46b2 008733 store 2 ,mem_sco_ptype 
+0x46b3 008734 jam 2 ,mem_air_mode 
+0x46b4 008735 jam hci_cmd_setup_sco ,mem_hci_cmd 
+0x46b5 008736 branch hci_command_status 
+:      008738 phci_accept_sco_connection:
+0x46b6 008739 jam hci_cmd_accept_sco_conn ,mem_hci_cmd 
+0x46b7 008740 branch hci_command_status 
+:      008744 phci_read_local_name:
+0x46b8 008745 call hci_get_cmd_complete_ptr 
+0x46b9 008746 arg mem_local_name ,contr 
+0x46ba 008747 sub contr ,0xff ,loopcnt 
+0x46bb 008748 call uart_copy_tx_bytes 
+0x46bc 008749 force 0 ,pdata 
+0x46bd 008750 sub contr ,mem_local_name ,loopcnt 
+0x46be 008751 increase 0xf8 ,loopcnt 
+0x46bf 008752 call uart_write_bytes 
+0x46c0 008753 force 0xfc ,loopcnt 
+0x46c1 008754 branch hci_command_complete 
+:      008756 phci_change_local_name:
+0x46c2 008757 arg mem_local_name ,contw 
+0x46c3 008758 sub contw ,0xff ,loopcnt 
+:      008759 phci_change_local_name_loop:
+0x46c4 008760 ifetch 1 ,contru 
+0x46c5 008761 istore 1 ,contw 
+0x46c6 008762 branch phci_write_local_name_end ,blank 
+0x46c7 008763 loop phci_change_local_name_loop 
+:      008764 phci_write_local_name_end:
+0x46c8 008765 sub contw ,mem_local_name ,pdata 
+0x46c9 008766 sub pdata ,0 ,pdata 
+0x46ca 008767 store 1 ,mem_local_name_length 
+0x46cb 008768 branch hci_normal_reply 
+:      008770 phci_role_discovery:
+0x46cc 008771 call hci_get_cmd_complete_ptr 
+0x46cd 008772 call hci_write_handle 
+0x46ce 008773 force 0 ,pdata 
+0x46cf 008774 nsetflag master ,0 ,pdata 
+0x46d0 008775 istore 1 ,contwu 
+0x46d1 008776 force 7 ,loopcnt 
+0x46d2 008777 arg 0x809 ,alarm 
+0x46d3 008778 call hci_command_complete 
+0x46d4 008779 branch cmd_exit 
+0x46d5 008780 jam hci_cmd_role_discovery ,mem_hci_cmd 
+0x46d6 008781 rtn 
+:      008784 phci_write_link_policy_settings:
+0x46d7 008785 call phci_copy_handle 
+0x46d8 008786 force 6 ,loopcnt 
+0x46d9 008787 branch hci_command_complete 
+:      008790 phci_delete_stored_link_key:
+0x46da 008791 branch hci_normal_reply 
+:      008793 phci_write_page_timeout:
+0x46db 008794 ifetch 2 ,contru 
+0x46dc 008795 store 2 ,mem_page_to 
+0x46dd 008796 branch hci_normal_reply 
+:      008799 phci_write_scan_enable:
+0x46de 008800 ifetch 1 ,contru 
+0x46df 008801 store 1 ,mem_scan_mode 
+0x46e0 008802 branch hci_normal_reply 
+:      008804 phci_write_page_scan_activity:
+0x46e1 008805 ifetch 2 ,contru 
+0x46e2 008806 store 2 ,mem_pscan_interval 
+0x46e3 008807 ifetch 2 ,contru 
+0x46e4 008808 store 2 ,mem_pscan_window 
+0x46e5 008809 branch hci_normal_reply 
+:      008811 phci_write_inquiry_scan_activity:
+0x46e6 008812 ifetch 2 ,contru 
+0x46e7 008813 store 2 ,mem_iscan_interval 
+0x46e8 008814 ifetch 2 ,contru 
+0x46e9 008815 store 2 ,mem_iscan_window 
+0x46ea 008816 branch hci_normal_reply 
+:      008818 phci_write_encryption_mode:
+0x46eb 008819 branch hci_normal_reply 
+:      008822 phci_write_authentication_enable:
+0x46ec 008823 ifetch 1 ,contru 
+0x46ed 008824 store 1 ,mem_auth_enable 
+0x46ee 008825 branch hci_normal_reply 
+:      008827 phci_write_class_of_device:
+0x46ef 008828 ifetch 3 ,contru 
+0x46f0 008829 store 3 ,mem_class 
+0x46f1 008830 branch hci_normal_reply 
+:      008835 phci_read_ext_inquiry_response:
+0x46f2 008836 deposit temp 
+0x46f3 008837 branch hci_normal_reply ,blank 
+0x46f4 008838 call hci_get_payload_ptr 
+0x46f5 008839 force 0x1 ,pdata 
+0x46f6 008840 istore 1 ,contwu 
+0x46f7 008841 deposit alarm 
+0x46f8 008842 istore 2 ,contwu 
+0x46f9 008843 force hci_error_invalid_hci_command_parameters ,pdata 
+0x46fa 008844 istore 1 ,contwu 
+0x46fb 008845 setarg 0 
+0x46fc 008846 increase 0xf1 ,loopcnt 
+0x46fd 008847 call uart_write_bytes 
+0x46fe 008849 force hci_event_command_complete ,queue 
+0x46ff 008850 force 0xf5 ,loopcnt 
+0x4700 008851 branch hci_send_event 
+:      008855 phci_write_ssp_mode:
+0x4701 008856 ifetch 1 ,contru 
+0x4702 008857 ncall ssp_enable ,blank 
+0x4703 008858 call ssp_disable ,blank 
+0x4704 008859 branch hci_normal_reply 
+:      008861 phci_read_scan_enable:
+0x4705 008862 call hci_get_cmd_complete_ptr 
+0x4706 008863 fetch 1 ,mem_scan_mode 
+0x4707 008864 istore 1 ,contwu 
+0x4708 008865 force 5 ,loopcnt 
+0x4709 008866 branch hci_command_complete 
+:      008868 phci_read_local_version_information:
+0x470a 008869 call hci_get_cmd_complete_ptr 
+0x470b 008870 fetch 8 ,mem_hci_version 
+0x470c 008871 istore 8 ,contwu 
+0x470d 008872 force 12 ,loopcnt 
+0x470e 008873 branch hci_command_complete 
+:      008875 phci_read_local_supported_features:
+0x470f 008876 call hci_get_cmd_complete_ptr 
+0x4710 008877 fetch 8 ,mem_features 
+0x4711 008878 istore 8 ,contwu 
+0x4712 008879 force 12 ,loopcnt 
+0x4713 008880 branch hci_command_complete 
+:      008882 phci_read_local_ext_features:
+0x4714 008883 call hci_get_cmd_complete_ptr 
+0x4715 008884 setarg 0x0101 
+0x4716 008885 istore 2 ,contwu 
+0x4717 008886 setarg 0x01 
+0x4718 008887 istore 8 ,contwu 
+0x4719 008888 force 14 ,loopcnt 
+0x471a 008889 branch hci_command_complete 
+:      008891 phci_read_buffer_size:
+0x471b 008892 call hci_get_cmd_complete_ptr 
+0x471c 008893 fetch 7 ,mem_acl_pktlen 
+0x471d 008894 istore 7 ,contwu 
+0x471e 008895 force 11 ,loopcnt 
+0x471f 008896 branch hci_command_complete 
+:      008898 phci_read_bd_addr:
+0x4720 008899 call hci_get_cmd_complete_ptr 
+0x4721 008900 fetch 6 ,mem_lap 
+0x4722 008901 istore 6 ,contwu 
+0x4723 008902 force 10 ,loopcnt 
+0x4724 008903 branch hci_command_complete 
+:      008905 phci_set_event_mask:
+0x4725 008906 branch hci_normal_reply 
+:      008909 phci_reset_failed_contact_counter:
+0x4726 008910 branch hci_normal_reply 
+:      008911 phci_get_link_quality:
+0x4727 008912 call hci_get_cmd_complete_ptr 
+0x4728 008913 call hci_write_handle 
+0x4729 008914 setarg 0xff 
+0x472a 008915 istore 1 ,contwu 
+0x472b 008916 force 7 ,loopcnt 
+0x472c 008917 branch hci_command_complete 
+:      008919 phci_read_rssi:
+0x472d 008920 call hci_get_cmd_complete_ptr 
+0x472e 008921 call hci_write_handle 
+0x472f 008922 setarg 0x00 
+0x4730 008923 istore 1 ,contwu 
+0x4731 008924 force 7 ,loopcnt 
+0x4732 008925 branch hci_command_complete 
+:      008927 phci_read_afh_channel_map:
+0x4733 008928 set0 mark_ext_patch ,mark 
+0x4734 008929 bpatch patch1b_6 ,mem_patch1b 
+0x4735 008930 branch hci_normal_reply 
+:      008931 phci_read_bd_clock:
+0x4736 008932 set0 mark_ext_patch ,mark 
+0x4737 008933 bpatch patch1b_7 ,mem_patch1b 
+0x4738 008934 branch hci_normal_reply 
+:      008939 phci_accept_connection:
+0x4739 008940 call phci_read_plap 
+0x473a 008941 jam hci_cmd_accept_conn ,mem_hci_cmd 
+0x473b 008942 ifetch 1 ,contru 
+0x473c 008943 beq 1 ,hci_command_status 
+0x473d 008944 jam hci_cmd_accept_with_switch ,mem_hci_cmd 
+0x473e 008945 branch hci_command_status 
+:      008947 phci_reject_connection:
+0x473f 008948 branch phci_accept_connection 
+0x4740 008949 call phci_read_plap 
+0x4741 008950 jam hci_cmd_reject_conn ,mem_hci_cmd 
+0x4742 008951 branch hci_normal_reply 
+:      008953 phci_change_connection_packet_type:
+0x4743 008954 call hci_command_status 
+0x4744 008955 call hci_get_payload_ptr 
+0x4745 008956 setarg 0 
+0x4746 008957 istore 1 ,contwu 
+0x4747 008958 ifetch 4 ,contru 
+0x4748 008959 istore 4 ,contwu 
+0x4749 008960 force 8 ,loopcnt 
+0x474a 008961 arg hci_event_connection_packet_type_changed ,queue 
+0x474b 008962 arg 5 ,loopcnt 
+0x474c 008963 branch hci_send_event 
+:      008965 phci_unknown_command:
+0x474d 008966 force hci_error_unknown_hci_command ,rega 
+0x474e 008967 branch hci_command_status_err 
+:      008969 phci_sniff_mode:
+0x474f 008972 call phci_read_handle 
+0x4750 008973 ifetch 2 ,contru 
+0x4751 008974 store 2 ,mem_sniff_param_interval 
+0x4752 008975 ifetch 2 ,contru 
+0x4753 008976 store 2 ,mem_hci_sniff_min_interval 
+0x4754 008977 ifetch 2 ,contru 
+0x4755 008978 store 2 ,mem_sniff_param_attempt 
+0x4756 008979 ifetch 2 ,contru 
+0x4757 008980 store 2 ,mem_sniff_param_timeout 
+0x4758 008981 jam hci_cmd_in_sniff ,mem_hci_cmd 
+0x4759 008982 branch hci_command_status 
+:      008984 phci_exit_sniff_mode:
+0x475a 008985 call phci_read_handle 
+0x475b 008986 call exit_sniff 
+0x475c 008987 branch hci_command_status 
+:      008989 exit_sniff:
+0x475d 008990 jam hci_cmd_exit_sniff ,mem_hci_cmd 
+0x475e 008991 rtn 
+:      008993 phci_sniff_subrating:
+0x475f 008994 branch hci_normal_reply 
+:      008996 phci_switch_role:
+0x4760 008997 call phci_read_plap 
+0x4761 008998 jam hci_cmd_role_switch ,mem_hci_cmd 
+0x4762 008999 branch hci_command_status 
+:      009001 phci_read_plap:
+0x4763 009002 ifetch 6 ,contru 
+0x4764 009003 store 6 ,mem_hci_plap 
+0x4765 009004 rtn 
+:      009006 phci_read_handle:
+0x4766 009007 ifetch 2 ,contru 
+0x4767 009008 store 1 ,mem_hci_conn_handle 
+0x4768 009009 rtn 
+:      009011 phci_copy_handle:
+0x4769 009012 call phci_read_handle 
+0x476a 009013 call hci_get_cmd_complete_ptr 
+0x476b 009014 fetch 1 ,mem_hci_conn_handle 
+0x476c 009015 istore 2 ,contwu 
+0x476d 009016 rtn 
+:      009020 phci_status_reply_temp:
+0x476e 009021 call phci_read_handle 
+0x476f 009022 call hci_command_status 
+0x4770 009023 call hci_get_payload_ptr 
+0x4771 009024 force 0 ,pdata 
+0x4772 009025 istore 1 ,contwu 
+0x4773 009026 fetch 1 ,mem_hci_conn_handle 
+0x4774 009027 istore 2 ,contwu 
+0x4775 009028 rtn 
+:      009030 phci_read_clock:
+0x4776 009031 ifetch 2 ,contru 
+0x4777 009032 iadd clkn_bt ,pdata 
+0x4778 009033 and_into 0x1fc ,pdata 
+0x4779 009034 store 4 ,mem_page_clk 
+0x477a 009035 rtn 
+:      009037 hci_inquiry_reply:
+0x477b 009038 set0 mark_ext_patch ,mark 
+0x477c 009039 bpatch patch1c_0 ,mem_patch1c 
+0x477d 009040 fetch 1 ,mem_rp_packets 
+0x477e 009041 sub pdata ,2 ,null 
+0x477f 009042 nrtn positive 
+0x4780 009043 fetcht 6 ,extm_lap 
+0x4781 009044 call context_search_plap2 
+0x4782 009045 rtn zero 
+0x4783 009046 call hci_get_packet_ptr 
+0x4784 009047 setarg 0x10f22 
+0x4785 009048 istore 3 ,contwu 
+0x4786 009049 fetch 6 ,extm_lap 
+0x4787 009050 istore 6 ,contwu 
+0x4788 009051 fetch 1 ,extm_fhs_misc 
+0x4789 009052 copy pdata ,temp 
+0x478a 009053 rshift3 pdata ,pdata 
+0x478b 009054 rshift3 pdata ,pdata 
+0x478c 009055 istore 1 ,contwu 
+0x478d 009056 copy temp ,pdata 
+0x478e 009057 and pdata ,0x30 ,pdata 
+0x478f 009058 rshift3 pdata ,pdata 
+0x4790 009059 rshift pdata ,pdata 
+0x4791 009060 istore 1 ,contwu 
+0x4792 009061 fetch 3 ,extm_class 
+0x4793 009062 istore 3 ,contwu 
+0x4794 009063 fetch 4 ,mem_clke_bt 
+0x4795 009064 isub clkn_bt ,pdata 
+0x4796 009065 istore 2 ,contwu 
+0x4797 009066 setarg 0xc8 
+0x4798 009067 istore 1 ,contwu 
+0x4799 009068 force 15 ,loopcnt 
+0x479a 009069 branch hci_send_event_raw 
+:      009071 hci_inquiry_reply_eir:
+0x479b 009072 set0 mark_ext_patch ,mark 
+0x479c 009073 bpatch patch1c_1 ,mem_patch1c 
+0x479d 009074 force 540 ,temp 
+0x479e 009075 fetch 2 ,mem_h5tx_free 
+0x479f 009076 isub temp ,null 
+0x47a0 009077 nrtn positive 
+0x47a1 009078 fetcht 3 ,mem_extm_uap_restore 
+0x47a2 009079 fetch 3 ,extm_uap 
+0x47a3 009080 isub temp ,null 
+0x47a4 009081 rtn zero 
+0x47a5 009082 rtn blank 
+0x47a6 009083 store 3 ,mem_extm_uap_restore 
+0x47a7 009084 fetch 1 ,mem_rp_packets 
+0x47a8 009085 sub pdata ,2 ,null 
+0x47a9 009086 nrtn positive 
+0x47aa 009087 fetcht 6 ,extm_lap 
+0x47ab 009088 call context_search_plap2 
+0x47ac 009089 rtn zero 
+0x47ad 009090 call hci_eir_reply 
+0x47ae 009091 force 15 ,temp 
+0x47af 009092 fetch 1 ,mem_rxbuf + 1 
+0x47b0 009093 bne 0x09 ,hci_inquiry_reply_eir_end 
+0x47b1 009094 fetch 1 ,mem_rxbuf 
+0x47b2 009095 branch hci_inquiry_reply_eir_end ,blank 
+0x47b3 009096 iforce loopcnt 
+0x47b4 009097 istore 1 ,contwu 
+0x47b5 009098 iadd temp ,temp 
+0x47b6 009099 increase 1 ,temp 
+0x47b7 009100 arg mem_rxbuf + 1 ,contr 
+:      009102 hci_inquiry_name_loop:
+0x47b8 009103 ifetch 1 ,contr 
+0x47b9 009104 istore 1 ,contwu 
+0x47ba 009105 loop hci_inquiry_name_loop 
+:      009106 hci_inquiry_other_rtn_loop:
+0x47bb 009107 ifetch 1 ,contr 
+0x47bc 009108 branch hci_inquiry_reply_eir_end ,blank 
+0x47bd 009109 iforce loopcnt 
+0x47be 009110 istore 1 ,contwu 
+0x47bf 009111 iadd temp ,temp 
+0x47c0 009112 increase 1 ,temp 
+:      009113 hci_inquiry_other_loop:
+0x47c1 009114 ifetch 1 ,contr 
+0x47c2 009115 istore 1 ,contwu 
+0x47c3 009116 loop hci_inquiry_other_loop 
+0x47c4 009117 branch hci_inquiry_other_rtn_loop 
+:      009118 hci_inquiry_reply_eir_end:
+0x47c5 009119 sub temp ,0xff ,pdata 
+0x47c6 009120 iforce loopcnt 
+:      009121 hci_inquiry_fill_zero:
+0x47c7 009122 setarg 0x00 
+0x47c8 009123 istore 1 ,contwu 
+0x47c9 009124 loop hci_inquiry_fill_zero 
+0x47ca 009125 force 0xff ,loopcnt 
+0x47cb 009126 branch hci_send_event_raw 
+:      009128 hci_eir_reply:
+0x47cc 009129 set0 mark_ext_patch ,mark 
+0x47cd 009130 bpatch patch1c_2 ,mem_patch1c 
+0x47ce 009131 call hci_get_packet_ptr 
+0x47cf 009132 setarg 0x1ff2f 
+0x47d0 009133 istore 3 ,contwu 
+0x47d1 009134 fetch 6 ,extm_lap 
+0x47d2 009135 istore 6 ,contwu 
+0x47d3 009136 fetch 1 ,extm_fhs_misc 
+0x47d4 009137 copy pdata ,temp 
+0x47d5 009138 rshift3 pdata ,pdata 
+0x47d6 009139 rshift3 pdata ,pdata 
+0x47d7 009140 istore 1 ,contwu 
+0x47d8 009141 copy temp ,pdata 
+0x47d9 009142 and pdata ,0x30 ,pdata 
+0x47da 009143 rshift3 pdata ,pdata 
+0x47db 009144 rshift pdata ,pdata 
+0x47dc 009145 istore 1 ,contwu 
+0x47dd 009146 fetch 3 ,extm_class 
+0x47de 009147 istore 3 ,contwu 
+0x47df 009148 fetch 4 ,mem_clke_bt 
+0x47e0 009149 isub clkn_bt ,pdata 
+0x47e1 009150 istore 2 ,contwu 
+0x47e2 009151 setarg 0xc8 
+0x47e3 009152 istore 1 ,contwu 
+0x47e4 009153 rtn 
+:      009155 hci_send_remote_features:
+0x47e5 009156 set0 mark_ext_patch ,mark 
+0x47e6 009157 bpatch patch1c_3 ,mem_patch1c 
+0x47e7 009158 fetch 1 ,mem_device_option 
+0x47e8 009159 rtnne dvc_op_hci 
+0x47e9 009160 call hci_write_handle3 
+0x47ea 009161 istoret 8 ,contwu 
+0x47eb 009162 force 11 ,loopcnt 
+0x47ec 009163 force hci_event_read_remote_features_complete ,queue 
+0x47ed 009164 branch hci_send_event 
+:      009166 hci_send_remote_ext_features_notification:
+0x47ee 009167 set0 mark_ext_patch ,mark 
+0x47ef 009168 bpatch patch1c_4 ,mem_patch1c 
+0x47f0 009169 fetch 1 ,mem_device_option 
+0x47f1 009170 rtnne dvc_op_hci 
+0x47f2 009172 call hci_get_payload_ptr 
+0x47f3 009173 fetch 6 ,mem_plap 
+0x47f4 009174 istore 6 ,contwu 
+0x47f5 009175 istoret 8 ,contwu 
+0x47f6 009176 force 14 ,loopcnt 
+0x47f7 009177 force hci_event_remote_host_supported_features_notification ,queue 
+0x47f8 009178 branch hci_send_event 
+:      009180 hci_send_remote_ext_features_event:
+0x47f9 009181 set0 mark_ext_patch ,mark 
+0x47fa 009182 bpatch patch1c_5 ,mem_patch1c 
+0x47fb 009183 fetch 1 ,mem_device_option 
+0x47fc 009184 rtnne dvc_op_hci 
+0x47fd 009186 call hci_write_handle3 
+0x47fe 009187 fetch 1 ,mem_ext_features_page 
+0x47ff 009188 istore 1 ,contwu 
+0x4800 009189 setarg 1 
+0x4801 009190 istore 1 ,contwu 
+0x4802 009191 istoret 8 ,contwu 
+0x4803 009192 force 13 ,loopcnt 
+0x4804 009193 force hci_event_read_remote_ext_features_complete ,queue 
+0x4805 009194 branch hci_send_event 
+:      009197 hci_send_version_information:
+0x4806 009198 set0 mark_ext_patch ,mark 
+0x4807 009199 bpatch patch1c_6 ,mem_patch1c 
+0x4808 009200 fetch 1 ,mem_device_option 
+0x4809 009201 rtnne dvc_op_hci 
+0x480a 009202 call hci_write_handle3 
+0x480b 009203 istoret 5 ,contwu 
+0x480c 009204 force 8 ,loopcnt 
+0x480d 009205 force hci_event_read_remote_version_information_complete ,queue 
+0x480e 009206 branch hci_send_event 
+:      009208 hci_send_io_cap_response_event:
+0x480f 009209 set0 mark_ext_patch ,mark 
+0x4810 009210 bpatch patch1c_7 ,mem_patch1c 
+0x4811 009211 fetch 1 ,mem_device_option 
+0x4812 009212 rtnne dvc_op_hci 
+0x4813 009214 call hci_get_payload_ptr 
+0x4814 009215 fetch 6 ,mem_plap 
+0x4815 009216 istore 6 ,contwu 
+0x4816 009217 fetch 3 ,mem_sp_iocap_remote 
+0x4817 009218 istore 3 ,contwu 
+0x4818 009219 force 9 ,loopcnt 
+0x4819 009220 force hci_event_io_cap_response ,queue 
+0x481a 009221 branch hci_send_event 
+:      009223 hci_send_io_cap_req_event:
+0x481b 009224 set0 mark_ext_patch ,mark 
+0x481c 009225 bpatch patch1d_0 ,mem_patch1d 
+0x481d 009226 fetch 1 ,mem_device_option 
+0x481e 009227 rtnne dvc_op_hci 
+0x481f 009229 call hci_get_payload_ptr 
+0x4820 009230 fetch 6 ,mem_plap 
+0x4821 009231 istore 6 ,contwu 
+0x4822 009232 force 6 ,loopcnt 
+0x4823 009233 force hci_event_io_cap_req ,queue 
+0x4824 009234 branch hci_send_event 
+:      009237 hci_send_connection_complete:
+0x4825 009238 force 0 ,temp 
+:      009239 hci_send_connection_error:
+0x4826 009240 set0 mark_ext_patch ,mark 
+0x4827 009241 bpatch patch1d_1 ,mem_patch1d 
+0x4828 009242 fetch 1 ,mem_device_option 
+0x4829 009243 rtnne dvc_op_hci 
+0x482a 009244 force hci_event_connection_complete ,queue 
+0x482b 009245 jam 5 ,mem_acl_credits 
+0x482c 009246 call hci_get_payload_ptr 
+0x482d 009247 istoret 1 ,contwu 
+0x482e 009248 call hci_write_handle 
+0x482f 009249 call hci_write_plap 
+0x4830 009250 force 1 ,pdata 
+0x4831 009251 istore 1 ,contwu 
+0x4832 009252 force 0 ,pdata 
+0x4833 009253 fetcht 1 ,mem_state_map 
+0x4834 009254 isolate1 smap_encryption ,temp 
+0x4835 009255 setflag true ,0 ,pdata 
+0x4836 009256 istore 1 ,contwu 
+0x4837 009257 force 11 ,loopcnt 
+0x4838 009258 branch hci_send_event 
+:      009261 hci_send_conn_req_event:
+0x4839 009262 set0 mark_ext_patch ,mark 
+0x483a 009263 bpatch patch1d_2 ,mem_patch1d 
+0x483b 009264 fetch 1 ,mem_device_option 
+0x483c 009265 rtnne dvc_op_hci 
+0x483d 009266 force hci_event_connection_request ,queue 
+0x483e 009267 call hci_get_payload_ptr 
+0x483f 009268 call hci_write_plap 
+0x4840 009270 fetch 3 ,extm_class 
+0x4841 009271 istore 3 ,contwu 
+0x4842 009272 istoret 1 ,contwu 
+0x4843 009273 force 10 ,loopcnt 
+0x4844 009274 branch hci_send_event 
+:      009276 hci_send_encryption_change:
+0x4845 009277 set0 mark_ext_patch ,mark 
+0x4846 009278 bpatch patch1d_3 ,mem_patch1d 
+0x4847 009279 fetch 1 ,mem_device_option 
+0x4848 009280 rtnne dvc_op_hci 
+0x4849 009281 call hci_write_handle3 
+0x484a 009282 force 0 ,pdata 
+0x484b 009283 fetcht 1 ,mem_state_map 
+0x484c 009284 isolate1 smap_encryption ,temp 
+0x484d 009285 setflag true ,0 ,pdata 
+0x484e 009286 istore 1 ,contwu 
+0x484f 009287 force hci_event_encryption_change_complete ,queue 
+0x4850 009288 force 4 ,loopcnt 
+0x4851 009289 branch hci_send_event 
+:      009292 hci_send_linkkey_notification:
+0x4852 009293 set0 mark_ext_patch ,mark 
+0x4853 009294 bpatch patch1d_4 ,mem_patch1d 
+0x4854 009295 fetch 1 ,mem_device_option 
+0x4855 009296 rtnne dvc_op_hci 
+0x4856 009297 force hci_event_link_key_notification ,queue 
+0x4857 009298 call hci_get_payload_ptr 
+0x4858 009299 call hci_write_plap 
+0x4859 009300 arg mem_link_key ,contr 
+0x485a 009301 force 16 ,loopcnt 
+0x485b 009302 call uart_copy_tx_bytes 
+0x485c 009303 force 0x05 ,pdata 
+0x485d 009304 istore 1 ,contwu 
+0x485e 009305 force 0x17 ,loopcnt 
+0x485f 009306 branch hci_send_event 
+:      009308 hci_send_user_confirmation_req:
+0x4860 009309 fetch 1 ,mem_device_option 
+0x4861 009310 rtnne dvc_op_hci 
+0x4862 009311 force hci_event_user_confirmation_request ,queue 
+0x4863 009312 call hci_get_payload_ptr 
+0x4864 009313 call hci_write_plap 
+0x4865 009314 fetch 4 ,mem_sp_gkey 
+0x4866 009315 istore 4 ,contwu 
+0x4867 009316 force 0xa ,loopcnt 
+0x4868 009317 branch hci_send_event 
+:      009319 hci_send_ssp_complete:
+0x4869 009320 fetch 1 ,mem_device_option 
+0x486a 009321 rtnne dvc_op_hci 
+0x486b 009322 force hci_event_simple_pairing_complete ,queue 
+0x486c 009323 call hci_get_payload_ptr 
+0x486d 009324 setarg 0 
+0x486e 009325 istore 1 ,contwu 
+0x486f 009326 call hci_write_plap 
+0x4870 009327 force 0x7 ,loopcnt 
+0x4871 009328 branch hci_send_event 
+:      009331 hci_send_linkkey_req:
+0x4872 009332 set0 mark_ext_patch ,mark 
+0x4873 009333 bpatch patch1d_5 ,mem_patch1d 
+0x4874 009334 force hci_event_link_key_request ,queue 
+:      009335 hci_send_sec_req:
+0x4875 009336 fetch 1 ,mem_device_option 
+0x4876 009337 rtnne dvc_op_hci 
+0x4877 009338 call hci_get_payload_ptr 
+0x4878 009339 call hci_write_plap 
+0x4879 009340 force 6 ,loopcnt 
+0x487a 009341 branch hci_send_event 
+:      009343 hci_send_pincode_req:
+0x487b 009344 fetch 1 ,mem_device_option 
+0x487c 009345 rtnne dvc_op_hci 
+0x487d 009346 force hci_event_pin_code_request ,queue 
+0x487e 009347 branch hci_send_sec_req 
+:      009350 hci_send_role_change:
+0x487f 009351 fetch 1 ,mem_device_option 
+0x4880 009352 rtnne dvc_op_hci 
+0x4881 009353 force hci_event_role_change ,queue 
+0x4882 009354 call hci_get_payload_ptr 
+0x4883 009355 force 0 ,pdata 
+0x4884 009356 istore 1 ,contwu 
+0x4885 009357 call hci_write_plap 
+0x4886 009358 istoret 1 ,contwu 
+0x4887 009359 force 8 ,loopcnt 
+0x4888 009360 branch hci_send_event 
+:      009362 hci_send_role_change_err:
+0x4889 009363 fetch 1 ,mem_device_option 
+0x488a 009364 rtnne dvc_op_hci 
+0x488b 009365 force 0 ,temp 
+0x488c 009366 nbranch hci_send_role_change_err_slave ,master 
+0x488d 009367 force 1 ,temp 
+:      009368 hci_send_role_change_err_slave:
+0x488e 009369 fetch 1 ,mem_device_option 
+0x488f 009370 rtnne dvc_op_hci 
+0x4890 009371 force hci_event_role_change ,queue 
+0x4891 009372 call hci_get_payload_ptr 
+0x4892 009373 force 0x35 ,pdata 
+0x4893 009374 istore 1 ,contwu 
+0x4894 009375 call hci_write_plap 
+0x4895 009376 istoret 1 ,contwu 
+0x4896 009377 force 8 ,loopcnt 
+0x4897 009378 branch hci_send_event 
+:      009380 hci_send_name:
+0x4898 009381 set0 mark_ext_patch ,mark 
+0x4899 009382 bpatch patch1d_6 ,mem_patch1d 
+0x489a 009383 fetch 1 ,mem_device_option 
+0x489b 009384 rtnne dvc_op_hci 
+0x489c 009385 call hci_get_packet_ptr 
+0x489d 009386 setarg 0xff07 
+0x489e 009387 istore 2 ,contwu 
+0x489f 009388 deposit queue 
+0x48a0 009389 istore 1 ,contwu 
+0x48a1 009390 call hci_write_plap 
+0x48a2 009391 arg mem_tmp_buffer ,contr 
+0x48a3 009392 force 248 ,loopcnt 
+:      009393 hci_read_remote_name_loop:
+0x48a4 009394 ifetch 1 ,contr 
+0x48a5 009395 istore 1 ,contwu 
+0x48a6 009396 loop hci_read_remote_name_loop 
+0x48a7 009397 force 0xff ,loopcnt 
+0x48a8 009398 branch hci_send_event_raw 
+:      009400 hci_send_num_complete_packets:
+0x48a9 009401 set0 mark_ext_patch ,mark 
+0x48aa 009402 bpatch patch1d_7 ,mem_patch1d 
+0x48ab 009403 fetch 1 ,mem_device_option 
+0x48ac 009404 rtnne dvc_op_hci 
+0x48ad 009405 hfetch 1 ,core_uart_txitems 
+0x48ae 009406 nrtn blank 
+0x48af 009407 fetch 1 ,mem_op 
+0x48b0 009408 rtnbit0 op_pkt_comp 
+0x48b1 009409 set0 op_pkt_comp ,pdata 
+0x48b2 009410 store 1 ,mem_op 
+0x48b3 009411 call hci_get_payload_ptr 
+0x48b4 009412 force 1 ,pdata 
+0x48b5 009413 istore 1 ,contwu 
+0x48b6 009414 call hci_write_handle 
+0x48b7 009415 force 1 ,pdata 
+0x48b8 009416 istore 2 ,contwu 
+0x48b9 009417 force hci_event_num_completed_packets ,queue 
+0x48ba 009418 force 5 ,loopcnt 
+0x48bb 009419 branch hci_send_event 
+:      009423 hci_send_auth_complete:
+0x48bc 009424 set0 mark_ext_patch ,mark 
+0x48bd 009425 bpatch patch1e_0 ,mem_patch1e 
+0x48be 009426 fetch 1 ,mem_device_option 
+0x48bf 009427 rtnne dvc_op_hci 
+0x48c0 009428 call hci_write_handle3 
+0x48c1 009429 force hci_event_authentication_complete ,queue 
+0x48c2 009430 force 3 ,loopcnt 
+0x48c3 009431 branch hci_send_event 
+:      009435 hci_send_disconn_complete:
+0x48c4 009436 set0 mark_ext_patch ,mark 
+0x48c5 009437 bpatch patch1e_1 ,mem_patch1e 
+0x48c6 009438 fetch 1 ,mem_device_option 
+0x48c7 009439 rtnne dvc_op_hci 
+0x48c8 009440 call hci_get_payload_ptr 
+0x48c9 009441 force 0 ,pdata 
+0x48ca 009442 istore 1 ,contwu 
+0x48cb 009443 istoret 2 ,contwu 
+0x48cc 009444 fetch 1 ,mem_hci_disconn_reason 
+0x48cd 009445 istore 1 ,contwu 
+0x48ce 009446 force hci_event_disconnection_complete ,queue 
+0x48cf 009447 force 4 ,loopcnt 
+0x48d0 009448 branch hci_send_event 
+:      009451 hci_send_le_adv_report_event:
+0x48d1 009452 set0 mark_ext_patch ,mark 
+0x48d2 009453 bpatch patch1e_2 ,mem_patch1e 
+0x48d3 009454 fetch 1 ,mem_device_option 
+0x48d4 009455 rtnne dvc_op_hci ,pdata 
+0x48d5 009456 call hci_get_payload_ptr 
+0x48d6 009457 setarg 0x0102 
+0x48d7 009458 istore 2 ,contwu 
+0x48d8 009459 fetcht 1 ,mem_le_rxbuf 
+0x48d9 009460 and temp ,0xf ,pdata 
+0x48da 009461 istore 1 ,contwu 
+0x48db 009462 copy rega ,pdata 
+0x48dc 009463 istore 1 ,contwu 
+0x48dd 009464 fetcht 1 ,mem_le_rxbuf + 1 
+0x48de 009465 increase -6 ,temp 
+0x48df 009466 fetch 6 ,mem_le_rxbuf + 2 
+0x48e0 009467 istore 6 ,contwu 
+0x48e1 009468 istoret 1 ,contwu 
+0x48e2 009469 copy temp ,loopcnt 
+0x48e3 009470 call uart_copy_tx_bytes 
+0x48e4 009471 setarg 127 
+0x48e5 009472 istore 1 ,contwu 
+0x48e6 009473 copy temp ,loopcnt 
+0x48e7 009474 add loopcnt ,12 ,loopcnt 
+0x48e8 009475 force hci_event_le_meta_event ,queue 
+0x48e9 009476 branch hci_send_event 
+:      009478 hci_send_le_conn_complete:
+0x48ea 009479 set0 mark_ext_patch ,mark 
+0x48eb 009480 bpatch patch1e_3 ,mem_patch1e 
+0x48ec 009481 fetch 1 ,mem_device_option 
+0x48ed 009482 rtnne dvc_op_hci ,pdata 
+0x48ee 009483 call hci_get_payload_ptr 
+0x48ef 009484 setarg hci_le_subevent_conn_complete 
+0x48f0 009485 istore 1 ,contwu 
+0x48f1 009486 istoret 1 ,contwu 
+0x48f2 009487 fetch 1 ,mem_le_conn_handle 
+0x48f3 009488 istore 2 ,contwu 
+0x48f4 009489 fetch 1 ,mem_le_mode 
+0x48f5 009490 rshift pdata ,pdata 
+0x48f6 009491 setflip 0 ,pdata 
+0x48f7 009492 istore 1 ,contwu 
+0x48f8 009493 fetch 1 ,mem_le_conn_peer_addr_type 
+0x48f9 009494 istore 1 ,contwu 
+0x48fa 009495 fetch 6 ,mem_le_plap 
+0x48fb 009496 istore 6 ,contwu 
+0x48fc 009497 fetch 2 ,mem_le_conn_interval 
+0x48fd 009498 istore 2 ,contwu 
+0x48fe 009499 fetch 2 ,mem_le_slave_latency 
+0x48ff 009500 istore 2 ,contwu 
+0x4900 009501 fetch 2 ,mem_le_superto 
+0x4901 009502 istore 2 ,contwu 
+0x4902 009503 fetch 1 ,mem_le_peer_sca 
+0x4903 009504 istore 1 ,contwu 
+0x4904 009505 force hci_event_le_meta_event ,queue 
+0x4905 009506 arg 19 ,loopcnt 
+0x4906 009507 branch hci_send_event 
+:      009511 hci_send_mode_change:
+0x4907 009512 set0 mark_ext_patch ,mark 
+0x4908 009513 bpatch patch1e_4 ,mem_patch1e 
+0x4909 009514 fetch 1 ,mem_device_option 
+0x490a 009515 rtnne dvc_op_hci 
+0x490b 009517 call hci_get_payload_ptr 
+0x490c 009518 call hci_write_handle3 
+0x490d 009519 istoret 1 ,contwu 
+0x490e 009520 fetch 2 ,mem_tsniff 
+0x490f 009521 rshift pdata ,pdata 
+0x4910 009522 istore 2 ,contwu 
+0x4911 009523 force 6 ,loopcnt 
+0x4912 009524 force hci_event_mode_change ,queue 
+0x4913 009525 branch hci_send_event 
+:      009528 hci_send_sco_complete:
+0x4914 009529 set0 mark_ext_patch ,mark 
+0x4915 009530 bpatch patch1e_5 ,mem_patch1e 
+0x4916 009531 fetch 1 ,mem_device_option 
+0x4917 009532 rtnne dvc_op_hci 
+0x4918 009533 set0 mark_ext_patch ,mark 
+0x4919 009534 bpatch patch1e_6 ,mem_patch1e 
+0x491a 009535 call hci_get_payload_ptr 
+0x491b 009536 istoret 1 ,contwu 
+0x491c 009537 setarg 0xe00 
+0x491d 009538 istore 2 ,contwu 
+0x491e 009539 call hci_write_plap 
+0x491f 009540 force 0 ,pdata 
+0x4920 009541 bmark1 mark_esco ,hci_send_esco 
+0x4921 009542 force 0 ,pdata 
+0x4922 009543 istore 7 ,contwu 
+0x4923 009544 branch hci_send_sco_cont 
+:      009545 hci_send_esco:
+0x4924 009546 fetch 1 ,mem_device_option 
+0x4925 009547 rtnne dvc_op_hci 
+0x4926 009548 setarg 0x020602 
+0x4927 009549 istore 3 ,contwu 
+0x4928 009550 setarg 30 
+0x4929 009551 istore 2 ,contwu 
+0x492a 009552 setarg 30 
+0x492b 009553 istore 2 ,contwu 
+:      009554 hci_send_sco_cont:
+0x492c 009555 fetch 1 ,mem_device_option 
+0x492d 009556 rtnne dvc_op_hci 
+0x492e 009557 fetch 1 ,mem_air_mode 
+0x492f 009558 istore 1 ,contwu 
+0x4930 009559 force hci_event_sco_connection_complete ,queue 
+0x4931 009560 force 17 ,loopcnt 
+0x4932 009561 branch hci_send_event 
+:      009564 hci_command_status:
+0x4933 009565 set0 mark_ext_patch ,mark 
+0x4934 009566 bpatch patch1e_7 ,mem_patch1e 
+0x4935 009567 call hci_get_payload_ptr 
+0x4936 009568 setarg 0x100 
+0x4937 009569 istore 2 ,contwu 
+0x4938 009570 deposit alarm 
+0x4939 009571 istore 2 ,contwu 
+0x493a 009572 force 4 ,loopcnt 
+0x493b 009573 force hci_event_command_status ,queue 
+0x493c 009574 branch hci_send_event 
+:      009576 hci_command_status_err:
+0x493d 009577 set0 mark_ext_patch ,mark 
+0x493e 009578 bpatch patch1f_0 ,mem_patch1f 
+0x493f 009579 call hci_get_payload_ptr 
+0x4940 009580 deposit rega 
+0x4941 009581 istore 1 ,contwu 
+0x4942 009582 setarg 0x01 
+0x4943 009583 istore 1 ,contwu 
+0x4944 009584 deposit alarm 
+0x4945 009585 istore 2 ,contwu 
+0x4946 009586 force 4 ,loopcnt 
+0x4947 009587 force hci_event_command_status ,queue 
+0x4948 009588 branch hci_send_event 
+:      009590 hci_normal_reply:
+0x4949 009591 set0 mark_ext_patch ,mark 
+0x494a 009592 bpatch patch1f_1 ,mem_patch1f 
+0x494b 009593 force 4 ,loopcnt 
+:      009594 hci_command_complete:
+0x494c 009595 call hci_get_payload_ptr 
+0x494d 009596 force 0x1 ,pdata 
+0x494e 009597 istore 1 ,contwu 
+0x494f 009598 deposit alarm 
+0x4950 009599 istore 3 ,contwu 
+0x4951 009600 force hci_event_command_complete ,queue 
+:      009601 hci_send_event:
+0x4952 009602 set0 mark_ext_patch ,mark 
+0x4953 009603 bpatch patch1f_2 ,mem_patch1f 
+0x4954 009604 call hci_get_packet_ptr 
+0x4955 009605 deposit queue 
+0x4956 009606 istore 1 ,contwu 
+0x4957 009607 deposit loopcnt 
+0x4958 009608 istore 1 ,contwu 
+:      009609 hci_send_event_raw:
+0x4959 009610 set1 mark_h5tx_rp ,mark 
+0x495a 009611 force 5 ,queue 
+0x495b 009612 increase 2 ,loopcnt 
+:      009613 hci_send_packet:
+0x495c 009614 call hci_check_bcsp_protocol 
+0x495d 009615 branch bcsp_send_packet ,true 
+0x495e 009616 branch h4_send_packet_event 
+:      009618 hci_send_commu_ready_event:
+0x495f 009619 force hci_event_vendor_specific ,queue 
+0x4960 009620 call hci_get_payload_ptr 
+0x4961 009621 setarg hci_vendor_event_commu_ready 
+0x4962 009622 istore 1 ,contwu 
+0x4963 009623 force 1 ,loopcnt 
+0x4964 009624 branch hci_send_event 
+:      009627 hci_write_plap:
+0x4965 009628 fetch 6 ,mem_plap 
+0x4966 009629 istore 6 ,contwu 
+0x4967 009630 rtn 
+:      009632 hci_write_handle3:
+0x4968 009633 call hci_get_payload_ptr 
+0x4969 009634 force 0 ,pdata 
+0x496a 009635 istore 1 ,contwu 
+:      009636 hci_write_handle:
+0x496b 009637 fetch 1 ,mem_conn_handle 
+0x496c 009638 istore 2 ,contwu 
+0x496d 009639 rtn 
+:      009641 hci_get_cmd_complete_ptr:
+0x496e 009642 force 12 ,contwu 
+0x496f 009643 branch hci_get_tx_ptr 
+:      009645 hci_get_payload_ptr:
+0x4970 009646 force 8 ,contwu 
+0x4971 009647 branch hci_get_tx_ptr 
+:      009649 hci_get_packet_ptr:
+0x4972 009650 force 6 ,contwu 
+:      009651 hci_get_tx_ptr:
+0x4973 009652 call hci_check_bcsp_protocol 
+0x4974 009653 branch bcsp_get_tx_ptr ,true 
+0x4975 009654 branch h4_get_tx_ptr 
+:      009656 uart_copy_tx_bytes:
+0x4976 009657 deposit loopcnt 
+0x4977 009658 rtn blank 
+:      009659 uart_copy_tx_bytes_loop:
+0x4978 009660 ifetch 1 ,contr 
+0x4979 009661 istore 1 ,contwu 
+0x497a 009662 loop uart_copy_tx_bytes_loop 
+0x497b 009663 rtn 
+:      009665 uart_copy_rx_bytes:
+0x497c 009666 deposit loopcnt 
+0x497d 009667 rtn blank 
+:      009668 uart_copy_rx_bytes_loop:
+0x497e 009669 ifetch 1 ,contru 
+0x497f 009670 istore 1 ,contw 
+0x4980 009671 loop uart_copy_rx_bytes_loop 
+0x4981 009672 rtn 
+:      009674 uart_write_bytes:
+0x4982 009675 istore 1 ,contwu 
+0x4983 009676 rshift8 pdata ,pdata 
+0x4984 009677 loop uart_write_bytes 
+0x4985 009678 rtn 
+:      009681 calc_tx_crc16:
+0x4986 009682 pulse crc16 
+0x4987 009683 enable enable_crc 
+:      009684 crcloop:
+0x4988 009685 ifetch 1 ,contwu 
+0x4989 009686 inject bucket ,8 
+0x498a 009687 loop crcloop 
+0x498b 009688 enable enable_parity 
+0x498c 009689 inject bucket ,16 
+0x498d 009690 disable enable_parity 
+0x498e 009691 disable enable_crc 
+0x498f 009692 disable crc16 
+0x4990 009693 byteswap pdata ,pdata 
+0x4991 009694 rtn 
+:      009696 stop_loop:
+0x4992 009697 nop 1 
+0x4993 009698 hjam 1 ,0x8203 
+0x4994 009699 branch stop_loop 
+:      009703 process_cmd:
+0x4995 009704 set0 mark_ext_patch ,mark 
+0x4996 009705 bpatch patch1f_3 ,mem_patch1f 
+0x4997 009706 fetch 1 ,mem_hci_cmd 
+0x4998 009707 rtn blank 
+0x4999 009708 fetch 1 ,mem_lmo_opcode2 
+0x499a 009709 nrtn blank 
+0x499b 009710 call cmd_check_plap 
+0x499c 009711 nbranch process_cmd_conn_handle ,zero 
+0x499d 009712 fetch 1 ,mem_hci_cmd 
+0x499e 009713 beq hci_cmd_remote_name_req ,cmd_namereq 
+0x499f 009714 beq hci_cmd_pair ,cmd_pair 
+0x49a0 009715 beq hci_cmd_nopair ,cmd_nopair 
+0x49a1 009716 beq hci_cmd_linkkey ,cmd_has_key 
+0x49a2 009717 beq hci_cmd_nokey ,cmd_no_key 
+0x49a3 009718 beq hci_cmd_reject_conn ,cmd_disconn 
+0x49a4 009719 beq hci_cmd_role_switch ,cmd_role_switch 
+0x49a5 009720 beq hci_cmd_accept_conn ,cmd_accept_conn 
+0x49a6 009721 beq hci_cmd_accept_with_switch ,cmd_accept_with_switch 
+0x49a7 009722 beq hci_cmd_detach ,cmd_detach 
+0x49a8 009723 beq hci_cmd_in_sniff ,cmd_in_sniff 
+0x49a9 009724 beq hci_cmd_exit_sniff ,cmd_exit_sniff 
+:      009725 process_cmd_conn_handle:
+0x49aa 009726 set0 mark_ext_patch ,mark 
+0x49ab 009727 bpatch patch1f_4 ,mem_patch1f 
+0x49ac 009728 call cmd_check_handle 
+0x49ad 009729 nrtn blank 
+0x49ae 009730 fetch 1 ,mem_hci_cmd 
+0x49af 009731 beq hci_cmd_auth ,cmd_auth 
+0x49b0 009732 beq hci_cmd_startencrypt ,cmd_start_encrypt 
+0x49b1 009733 beq hci_cmd_stopencrypt ,cmd_stop_encrypt 
+0x49b2 009734 beq hci_cmd_setup_sco ,cmd_setup_sco 
+0x49b3 009735 beq hci_cmd_disconn_sco ,cmd_disconn_sco 
+0x49b4 009736 beq hci_cmd_accept_sco_conn ,cmd_accept_sco_conn 
+0x49b5 009737 beq hci_cmd_remote_feature_req ,cmd_feature_req 
+0x49b6 009738 beq hci_cmd_remote_ext_features_req ,cmd_ext_feature_req 
+0x49b7 009739 beq hci_cmd_remote_version_req ,cmd_version_req 
+0x49b8 009740 beq hci_cmd_role_discovery ,cmd_role_discovery 
+0x49b9 009741 beq hci_cmd_io_cap ,cmd_io_cap 
+0x49ba 009742 rtnne hci_cmd_disconn 
+0x49bb 009743 call lmp_disconnect 
+:      009744 cmd_exit:
+0x49bc 009745 jam 0 ,mem_hci_cmd 
+0x49bd 009746 rtn 
+:      009748 cmd_check_plap:
+0x49be 009749 fetch 6 ,mem_hci_plap 
+0x49bf 009750 fetcht 6 ,mem_plap 
+0x49c0 009751 isub temp ,null 
+0x49c1 009752 rtn 
+:      009755 cmd_check_handle:
+0x49c2 009756 fetch 1 ,mem_hci_conn_handle 
+0x49c3 009757 fetcht 1 ,mem_conn_handle 
+0x49c4 009758 isub temp ,pdata 
+0x49c5 009759 rtn 
+:      009761 cmd_accept_conn:
+0x49c6 009762 jam lmp_accepted ,mem_lmo_opcode2 
+0x49c7 009763 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0x49c8 009764 call tid_set_reply 
+0x49c9 009765 branch cmd_exit 
+:      009767 cmd_accept_with_switch:
+0x49ca 009768 branch cmd_accept_sco_conn ,master 
+0x49cb 009769 set1 mark_accept_switch ,mark 
+:      009770 cmd_role_switch:
+0x49cc 009771 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x49cd 009772 set1 mark_switch_initiated ,mark 
+0x49ce 009773 nbranch cmd_exit ,master 
+0x49cf 009774 jam lmp_switch_req ,mem_lmo_opcode2 
+0x49d0 009775 fetch 1 ,mem_connection_options 
+0x49d1 009776 set0 connection_switch ,pdata 
+0x49d2 009777 store 1 ,mem_connection_options 
+0x49d3 009778 branch cmd_exit 
+:      009781 cmd_namereq:
+0x49d4 009782 jam lmp_name_req ,mem_lmo_opcode2 
+0x49d5 009783 jam 0 ,mem_name_offset 
+0x49d6 009784 branch cmd_exit 
+:      009787 cmd_ssp:
+0x49d7 009788 jam sp_flag_commit ,mem_master_sp_flag 
+0x49d8 009789 jam sp_master_stat_start_skip ,mem_master_sp_state 
+0x49d9 009790 branch cmd_exit 
+:      009792 cmd_pair:
+0x49da 009793 fetch 1 ,mem_op 
+0x49db 009794 bbit1 op_inrand_req ,cmd_pair_passive 
+0x49dc 009795 call tid_initiate 
+0x49dd 009796 jam lmp_in_rand ,mem_lmo_opcode2 
+0x49de 009797 branch cmd_exit 
+:      009798 cmd_pair_passive:
+0x49df 009799 set0 op_inrand_req ,pdata 
+0x49e0 009800 store 1 ,mem_op 
+0x49e1 009801 call lmp_accept_inrand 
+0x49e2 009802 setarg 0 
+0x49e3 009803 setflag master ,smap_lmptid ,pdata 
+0x49e4 009804 store 1 ,mem_lmo_tid2 
+0x49e5 009805 branch cmd_exit 
+:      009807 cmd_nopair:
+0x49e6 009808 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x49e7 009809 jam lmp_detach ,mem_lmo_opcode2 
+0x49e8 009810 fetch 1 ,mem_state 
+0x49e9 009811 bbit1 state_inconn ,cmd_exit 
+0x49ea 009812 force hci_error_pairing_not_allowed ,temp 
+0x49eb 009813 call hci_send_connection_error 
+0x49ec 009814 branch cmd_exit 
+:      009817 cmd_has_key:
+0x49ed 009818 call linkkey_set 
+0x49ee 009819 fetch 1 ,mem_op 
+0x49ef 009820 bbit1 op_auth_req ,cmd_send_aurand 
+0x49f0 009821 bbit1 op_send_sres ,cmd_send_sres 
+0x49f1 009822 bbit1 op_inrand_req ,cmd_pair_passive 
+0x49f2 009823 branch cmd_exit 
+:      009824 cmd_send_sres:
+0x49f3 009825 set0 op_send_sres ,pdata 
+0x49f4 009826 store 1 ,mem_op 
+0x49f5 009827 jam lmp_sres ,mem_lmo_opcode2 
+0x49f6 009828 branch cmd_exit 
+:      009830 cmd_no_key:
+0x49f7 009831 fetch 1 ,mem_op 
+0x49f8 009832 bbit1 op_send_sres ,cmd_no_key_reject 
+0x49f9 009833 call hci_send_pincode_req 
+0x49fa 009834 branch cmd_exit 
+:      009835 cmd_no_key_reject:
+0x49fb 009836 set0 op_send_sres ,pdata 
+0x49fc 009837 store 1 ,mem_op 
+0x49fd 009838 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x49fe 009839 jam lmp_au_rand ,mem_lmi_opcode2 
+0x49ff 009840 jam key_missing ,mem_lmo_reason2 
+0x4a00 009841 branch cmd_exit 
+:      009844 cmd_auth:
+0x4a01 009845 fetch 1 ,mem_op 
+0x4a02 009846 set1 op_auth_req ,pdata 
+0x4a03 009847 store 1 ,mem_op 
+0x4a04 009848 fetch 1 ,mem_state 
+0x4a05 009849 bbit1 state_linkkey ,cmd_auth_sendaurand 
+0x4a06 009850 call hci_send_linkkey_req 
+0x4a07 009851 branch cmd_exit 
+:      009853 cmd_send_aurand:
+:      009854 cmd_auth_sendaurand:
+0x4a08 009855 call tid_initiate 
+0x4a09 009856 jam lmp_au_rand ,mem_lmo_opcode2 
+0x4a0a 009857 branch cmd_exit 
+:      009859 cmd_start_encrypt:
+0x4a0b 009860 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x4a0c 009861 branch cmd_exit 
+:      009863 cmd_stop_encrypt:
+0x4a0d 009864 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x4a0e 009865 branch cmd_exit 
+:      009867 cmd_feature_req:
+0x4a0f 009868 set0 mark_ext_patch ,mark 
+0x4a10 009869 bpatch patch1f_5 ,mem_patch1f 
+0x4a11 009870 jam lmp_features_req ,mem_lmo_opcode2 
+0x4a12 009871 jam hci_cmd_wait_remote_feature ,mem_hci_cmd 
+0x4a13 009872 rtn 
+:      009874 cmd_ext_feature_req:
+0x4a14 009875 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x4a15 009876 jam hci_cmd_wait_remote_ext_feature ,mem_hci_cmd 
+0x4a16 009877 rtn 
+:      009879 cmd_version_req:
+0x4a17 009880 jam lmp_version_req ,mem_lmo_opcode2 
+0x4a18 009881 branch cmd_exit 
+:      009883 cmd_in_sniff:
+0x4a19 009884 jam lmp_sniff_req ,mem_lmo_opcode2 
+0x4a1a 009885 arg mem_sniff_payload ,contw 
+0x4a1b 009886 setarg 0 
+0x4a1c 009887 isolate1 27 ,clke_bt 
+0x4a1d 009888 setflag true ,1 ,pdata 
+0x4a1e 009889 istore 1 ,contw 
+0x4a1f 009890 setarg 0 
+0x4a20 009891 istore 2 ,contw 
+0x4a21 009892 fetch 2 ,mem_sniff_param_interval 
+0x4a22 009893 istore 2 ,contw 
+0x4a23 009894 fetch 1 ,mem_sniff_param_attempt 
+0x4a24 009895 istore 2 ,contw 
+0x4a25 009896 fetch 1 ,mem_sniff_param_timeout 
+0x4a26 009897 istore 2 ,contw 
+0x4a27 009898 branch cmd_exit 
+:      009900 cmd_exit_sniff:
+0x4a28 009901 jam lmp_unsniff_req ,mem_lmo_opcode2 
+0x4a29 009902 branch cmd_exit 
+:      009904 cmd_setup_sco:
+0x4a2a 009905 call new_conn_handle 
+0x4a2b 009906 store 1 ,mem_sco_handle 
+0x4a2c 009907 fetch 1 ,mem_conn_handle 
+0x4a2d 009908 store 1 ,mem_sco_asso_handle 
+0x4a2e 009909 jam lmp_sco_link_req ,mem_lmo_opcode2 
+0x4a2f 009910 set1 mark_esco ,mark 
+0x4a30 009911 jam lmp_ext_esco_link_req ,mem_lmo_opcode2 
+0x4a31 009912 branch cmd_exit 
+:      009914 cmd_disconn:
+0x4a32 009915 call lmp_disconnect 
+0x4a33 009916 branch cmd_exit 
+:      009918 cmd_disconn_sco:
+0x4a34 009919 jam lmp_remove_sco_link_req ,mem_lmo_opcode2 
+0x4a35 009920 bmark0 mark_esco ,cmd_exit 
+0x4a36 009921 jam lmp_ext_remove_esco_req ,mem_lmo_opcode2 
+0x4a37 009922 branch cmd_exit 
+:      009924 cmd_accept_sco_conn:
+0x4a38 009925 branch cmd_accept_sco_conn_master ,master 
+0x4a39 009926 jam lmp_accepted ,mem_lmo_opcode2 
+0x4a3a 009927 jam lmp_sco_link_req ,mem_lmi_opcode2 
+0x4a3b 009928 bmark0 mark_esco ,cmd_exit 
+0x4a3c 009929 fetch 1 ,mem_esco_type 
+0x4a3d 009930 bne type_hv3 ,parse_lmpext_esco_link_req_change_param 
+0x4a3e 009931 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x4a3f 009932 jam lmp_ext_esco_link_req ,mem_lmi_opcode2 
+0x4a40 009933 branch cmd_exit 
+:      009934 cmd_accept_sco_conn_master:
+0x4a41 009935 call new_conn_handle 
+0x4a42 009936 store 1 ,mem_sco_handle 
+0x4a43 009937 fetch 1 ,mem_conn_handle 
+0x4a44 009938 store 1 ,mem_sco_asso_handle 
+0x4a45 009939 jam lmp_sco_link_req ,mem_lmo_opcode2 
+0x4a46 009940 bmark0 mark_esco ,cmd_exit 
+0x4a47 009941 branch parse_lmpext_esco_link_req_change_param 
+:      009944 cmd_role_discovery:
+0x4a48 009945 call hci_get_cmd_complete_ptr 
+0x4a49 009946 call hci_write_handle 
+0x4a4a 009947 force 0 ,pdata 
+0x4a4b 009948 nsetflag master ,0 ,pdata 
+0x4a4c 009949 istore 1 ,contwu 
+0x4a4d 009950 force 7 ,loopcnt 
+0x4a4e 009951 arg 0x809 ,alarm 
+0x4a4f 009952 call hci_command_complete 
+0x4a50 009953 branch cmd_exit 
+:      009955 cmd_io_cap:
+0x4a51 009956 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x4a52 009957 branch cmd_exit 
+:      009959 cmd_detach:
+0x4a53 009960 jam lmp_detach ,mem_lmo_opcode2 
+0x4a54 009961 jam other_end_terminated ,mem_disconn_reason_send 
+0x4a55 009962 branch cmd_exit 
+:      009967 process_hci_patch:
+0x4a56 009968 jam 0 ,mem_check_sum 
+0x4a57 009971 ifetch 1 ,contru 
+0x4a58 009972 store 1 ,mem_ucode_id_remote 
+0x4a59 009973 call hci_ucode_checksum_add 
+0x4a5a 009975 call push_stack 
+0x4a5b 009976 fetch 1 ,mem_ucode_id_remote 
+0x4a5c 009977 copy pdata ,temp 
+0x4a5d 009978 fetch 1 ,mem_ucode_id_local 
+0x4a5e 009979 increase 1 ,pdata 
+0x4a5f 009980 icompare 0xff ,temp 
+0x4a60 009981 nbranch hci_nak_ucode_with_stack ,true 
+0x4a61 009982 store 1 ,mem_ucode_id_local 
+0x4a62 009983 call pop_stack 
+0x4a63 009985 ifetch 1 ,contru 
+0x4a64 009986 beq 0x01 ,hci_enable_ucode_load 
+0x4a65 009987 beq 0x02 ,process_hci_ucode 
+0x4a66 009988 beq 0x03 ,hci_disable_ucode_load 
+0x4a67 009989 beq 0x05 ,process_hci_n_sched_data 
+0x4a68 009990 beq 0x06 ,hci_write_register 
+0x4a69 009991 beq 0x07 ,hci_read_register 
+0x4a6a 009992 beq 0x08 ,hci_enable_ucode 
+0x4a6b 009993 beq 0x09 ,hci_soft_branch 
+0x4a6c 009994 rtn 
+:      009995 hci_ucode_checksum_add:
+0x4a6d 009996 copy pdata ,temp 
+0x4a6e 009997 call push_stack 
+0x4a6f 009998 fetch 1 ,mem_check_sum 
+0x4a70 009999 iadd temp ,pdata 
+0x4a71 010000 store 1 ,mem_check_sum 
+0x4a72 010001 branch pop_stack 
+:      010004 hci_ack_ucode:
+0x4a73 010005 force 1 ,pdata 
+0x4a74 010006 call uart_send_byte 
+0x4a75 010007 fetch 1 ,mem_ucode_id_local 
+0x4a76 010008 branch uart_send_byte 
+:      010010 hci_nak_ucode_with_stack:
+0x4a77 010011 call pop_stack 
+0x4a78 010012 branch hci_nak_ucode_ucode_id 
+:      010013 hci_nak_ucode:
+0x4a79 010014 fetch 1 ,mem_ucode_id_local 
+0x4a7a 010015 increase -1 ,pdata 
+0x4a7b 010016 store 1 ,mem_ucode_id_local 
+:      010017 hci_nak_ucode_ucode_id:
+0x4a7c 010018 force 0 ,pdata 
+0x4a7d 010019 call uart_send_byte 
+0x4a7e 010020 fetch 1 ,mem_ucode_id_local 
+0x4a7f 010021 branch uart_send_byte 
+:      010023 hci_write_register:
+0x4a80 010024 call hci_ucode_checksum_add 
+0x4a81 010025 ifetch 1 ,contru 
+0x4a82 010026 store 1 ,mem_ucode_temp 
+0x4a83 010027 call hci_ucode_checksum_add 
+0x4a84 010028 ifetch 1 ,contru 
+0x4a85 010029 lshift8 pdata ,contw 
+0x4a86 010030 call hci_ucode_checksum_add 
+0x4a87 010031 fetch 1 ,mem_ucode_temp 
+0x4a88 010032 iadd contw ,contw 
+0x4a89 010033 ifetch 1 ,contru 
+0x4a8a 010034 istore 1 ,contw 
+0x4a8b 010035 call hci_ucode_checksum_add 
+0x4a8c 010036 ifetch 1 ,contru 
+0x4a8d 010037 call hci_ucode_checksum_add 
+0x4a8e 010038 fetch 1 ,mem_check_sum 
+0x4a8f 010039 bne 0xff ,hci_nak_ucode 
+0x4a90 010040 branch hci_ack_ucode 
+:      010042 hci_read_register:
+0x4a91 010043 call hci_ucode_checksum_add 
+0x4a92 010044 ifetch 1 ,contru 
+0x4a93 010045 store 1 ,mem_ucode_temp 
+0x4a94 010046 call hci_ucode_checksum_add 
+0x4a95 010047 ifetch 1 ,contru 
+0x4a96 010048 store 1 ,mem_ucode_temp1 
+0x4a97 010049 call hci_ucode_checksum_add 
+0x4a98 010050 ifetch 1 ,contru 
+0x4a99 010051 call hci_ucode_checksum_add 
+0x4a9a 010052 fetch 1 ,mem_check_sum 
+0x4a9b 010053 bne 0xff ,hci_nak_ucode 
+0x4a9c 010055 fetch 1 ,mem_ucode_temp1 
+0x4a9d 010056 lshift8 pdata ,temp 
+0x4a9e 010057 fetch 1 ,mem_ucode_temp 
+0x4a9f 010058 iadd temp ,contru 
+0x4aa0 010059 ifetch 1 ,contru 
+0x4aa1 010060 store 1 ,mem_ucode_temp 
+:      010061 hci_read_register_ack:
+0x4aa2 010062 force 1 ,pdata 
+0x4aa3 010063 call uart_send_byte 
+0x4aa4 010064 fetch 1 ,mem_ucode_temp 
+0x4aa5 010065 call uart_send_byte 
+0x4aa6 010066 jam 0xff ,mem_ucode_id_local 
+0x4aa7 010067 rtn 
+:      010069 hci_enable_ucode:
+0x4aa8 010070 call hci_ucode_checksum_add 
+0x4aa9 010071 ifetch 1 ,contru 
+0x4aaa 010072 call hci_ucode_checksum_add 
+0x4aab 010073 fetch 1 ,mem_check_sum 
+0x4aac 010074 bne 0xff ,hci_nak_ucode 
+0x4aad 010075 branch hci_ack_ucode 
+:      010077 process_hci_ucode:
+0x4aae 010078 call hci_ucode_checksum_add 
+0x4aaf 010079 ifetch 1 ,contru 
+0x4ab0 010080 hstore 1 ,core_ucode_low 
+0x4ab1 010081 call hci_ucode_checksum_add 
+0x4ab2 010082 ifetch 1 ,contru 
+0x4ab3 010083 set1 7 ,pdata 
+0x4ab4 010084 hstore 1 ,core_ucode_ctrl 
+0x4ab5 010085 set0 7 ,pdata 
+0x4ab6 010086 call hci_ucode_checksum_add 
+0x4ab7 010087 ifetch 1 ,contru 
+0x4ab8 010088 copy pdata ,loopcnt 
+0x4ab9 010089 call hci_ucode_checksum_add 
+:      010090 write_ucode_loop:
+0x4aba 010091 ifetch 1 ,contru 
+0x4abb 010092 hstore 1 ,core_ucode_data 
+0x4abc 010093 call hci_ucode_checksum_add 
+0x4abd 010094 loop write_ucode_loop 
+0x4abe 010095 ifetch 1 ,contru 
+0x4abf 010096 call hci_ucode_checksum_add 
+0x4ac0 010097 fetch 1 ,mem_check_sum 
+0x4ac1 010098 bne 0xff ,hci_nak_ucode 
+0x4ac2 010099 branch hci_ack_ucode 
+:      010101 process_hci_n_sched_data:
+0x4ac3 010102 call hci_ucode_checksum_add 
+0x4ac4 010103 ifetch 1 ,contru 
+0x4ac5 010104 store 1 ,mem_ucode_temp 
+0x4ac6 010105 call hci_ucode_checksum_add 
+0x4ac7 010106 ifetch 1 ,contru 
+0x4ac8 010107 lshift8 pdata ,contw 
+0x4ac9 010108 call hci_ucode_checksum_add 
+0x4aca 010109 fetch 1 ,mem_ucode_temp 
+0x4acb 010110 iadd contw ,contw 
+0x4acc 010111 ifetch 1 ,contru 
+0x4acd 010112 iforce loopcnt 
+0x4ace 010113 call hci_ucode_checksum_add 
+:      010114 process_hci_n_sched_loop:
+0x4acf 010115 ifetch 1 ,contru 
+0x4ad0 010116 istore 1 ,contw 
+0x4ad1 010117 call hci_ucode_checksum_add 
+0x4ad2 010118 loop process_hci_n_sched_loop 
+0x4ad3 010119 ifetch 1 ,contru 
+0x4ad4 010120 call hci_ucode_checksum_add 
+0x4ad5 010121 fetch 1 ,mem_check_sum 
+0x4ad6 010122 bne 0xff ,hci_nak_ucode 
+0x4ad7 010123 branch hci_ack_ucode 
+:      010127 hci_enable_ucode_load:
+0x4ad8 010128 call hci_ucode_checksum_add 
+0x4ad9 010129 ifetch 1 ,contru 
+0x4ada 010130 call hci_ucode_checksum_add 
+0x4adb 010131 fetch 1 ,mem_check_sum 
+0x4adc 010132 bne 0xff ,hci_nak_ucode 
+0x4add 010133 hjam 0x80 ,core_ucode_ctrl 
+0x4ade 010134 branch hci_ack_ucode 
+:      010136 hci_disable_ucode_load:
+0x4adf 010137 call hci_ucode_checksum_add 
+0x4ae0 010138 ifetch 1 ,contru 
+0x4ae1 010139 call hci_ucode_checksum_add 
+0x4ae2 010140 fetch 1 ,mem_check_sum 
+0x4ae3 010141 bne 0xff ,hci_nak_ucode 
+0x4ae4 010142 hjam 0 ,core_ucode_ctrl 
+0x4ae5 010143 branch hci_ack_ucode 
+:      010145 hci_soft_branch:
+0x4ae6 010146 call hci_ucode_checksum_add 
+0x4ae7 010147 ifetch 1 ,contru 
+0x4ae8 010148 call hci_ucode_checksum_add 
+0x4ae9 010149 fetch 1 ,mem_check_sum 
+0x4aea 010150 bne 0xff ,hci_nak_ucode 
+0x4aeb 010151 call hci_ack_ucode 
+0x4aec 010152 branch soft_reset 
+:      010155 hci_idle_dispatch:
+0x4aed 010156 call gpio_check_uart_state 
+0x4aee 010157 rtn true 
+0x4aef 010158 arg uart_wakeup_rx ,temp 
+0x4af0 010159 call gpio_get_bit 
+0x4af1 010160 nbranch uart_wake_up ,true 
+0x4af2 010161 jam hci_rx_wake ,mem_hci_lt_rx_state 
+0x4af3 010162 rtn 
+:      010163 uart_wake_up:
+0x4af4 010164 fetch 1 ,mem_hci_lt_rx_state 
+0x4af5 010165 rtnne hci_rx_wake 
+0x4af6 010166 call hci_exit_lpm 
+0x4af7 010167 branch hci_send_commu_ready_event 
+:      010181 hid_rx_process:
+0x4af8 010182 set1 mark_ext_patch ,mark 
+0x4af9 010183 bpatch patch33_4 ,mem_patch33 
+0x4afa 010184 fetch 2 ,mem_l2cap_payload_ptr 
+0x4afb 010185 copy pdata ,contr 
+0x4afc 010186 ifetch 1 ,contr 
+0x4afd 010187 and pdata ,0x0f ,temp 
+0x4afe 010188 rshift4 pdata ,pdata 
+0x4aff 010189 beq hid_type_set_idle ,hid_rx_process_handshake 
+0x4b00 010190 beq hid_type_set_protocol ,hid_rx_process_handshake 
+0x4b01 010191 beq hid_type_data ,hid_rx_process_data 
+0x4b02 010192 beq hid_type_set_report ,hid_rx_process_set_report 
+0x4b03 010193 beq hid_type_control ,hid_rx_process_hid_control 
+0x4b04 010194 rtn 
+:      010196 hid_rx_process_hid_control:
+0x4b05 010197 copy temp ,pdata 
+0x4b06 010198 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+0x4b07 010199 beq hid_control_p_suspend ,hid_rx_process_suspend 
+0x4b08 010200 rtn 
+:      010202 hid_rx_process_virtual_cable_unplug:
+0x4b09 010203 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+0x4b0a 010204 call ui_ipc_send_event 
+0x4b0b 010205 fetch 1 ,mem_device_option 
+0x4b0c 010206 rtnne dvc_op_mouse ,pdata 
+0x4b0d 010207 copy temp ,pdata 
+0x4b0e 010208 beq hid_control_p_virtualcableunplug ,eeprom_erase_reconn_info 
+0x4b0f 010209 rtn 
+:      010210 hid_rx_process_suspend:
+0x4b10 010211 rtn 
+:      010213 hid_rx_process_set_report:
+0x4b11 010214 arg 0x01 ,rega 
+0x4b12 010215 call hid_malloc_tx_buff 
+0x4b13 010216 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4b14 010217 istore 2 ,contw 
+0x4b15 010218 setarg 0x00 
+0x4b16 010219 istore 1 ,contw 
+0x4b17 010220 rtn 
+:      010222 hid_rx_process_handshake:
+0x4b18 010223 arg 1 ,rega 
+0x4b19 010224 call hid_malloc_tx_buff 
+0x4b1a 010225 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4b1b 010226 istore 2 ,contw 
+0x4b1c 010227 setarg 0 
+0x4b1d 010228 istore 1 ,contw 
+0x4b1e 010229 jam 1 ,mem_ui_data_txbuff_length 
+0x4b1f 010230 fetch 1 ,mem_hid_control_state 
+0x4b20 010231 set1 l2cap_channel_hid_handshake_done 
+0x4b21 010232 store 1 ,mem_hid_control_state 
+:      010233 hid_handshake_event:
+0x4b22 010234 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0x4b23 010235 branch ui_ipc_send_event 
+:      010237 hid_rx_process_data:
+0x4b24 010238 ifetch 1 ,contr 
+0x4b25 010239 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+0x4b26 010240 rtn 
+:      010242 hid_rx_process_data_hid_kb:
+0x4b27 010243 copy contr ,rega 
+0x4b28 010244 fetch 1 ,mem_device_option 
+0x4b29 010245 rtnne dvc_op_kb ,pdata 
+0x4b2a 010246 copy rega ,contr 
+0x4b2b 010247 branch kb_process_kb_report 
+:      010249 hid_malloc_tx_buff:
+0x4b2c 010250 call l2cap_malloc 
+0x4b2d 010251 copy rega ,temp 
+0x4b2e 010252 storet 1 ,mem_ui_data_txbuff_length 
+0x4b2f 010253 copy pdata ,contw 
+0x4b30 010254 copy rega ,pdata 
+0x4b31 010255 istore 2 ,contw 
+0x4b32 010256 rtn 
+:      010259 le_ir_init:
+0x4b33 010260 setarg le_ir 
+0x4b34 010261 store 2 ,mem_cb_le_process 
+0x4b35 010262 setarg le_ir_wcb 
+0x4b36 010263 store 2 ,mem_cb_att_write 
+0x4b37 010264 call eeprom_load_reconn_info 
+0x4b38 010265 call le_init_att 
+0x4b39 010266 hjam 158 ,core_pwm_ncnt0 
+0x4b3a 010267 hjam 8 ,core_gpio_sel1 
+0x4b3b 010268 hjam 5 ,core_gpio_out1 
+0x4b3c 010269 setarg -1 
+0x4b3d 010270 set0 1 ,pdata 
+0x4b3e 010271 set0 21 ,pdata 
+0x4b3f 010272 hstore 4 ,core_gpio_oe0 
+0x4b40 010273 hjam 2 ,core_gpio_pu0 
+0x4b41 010274 rtn wake 
+0x4b42 010275 jam 1 ,mem_le_adv_enable 
+0x4b43 010276 rtn 
+:      010279 le_ir_wcb:
+0x4b44 010280 ifetch 1 ,rega 
+0x4b45 010281 store 1 ,mem_ir_cmd 
+0x4b46 010282 beq ircmd_write_pulse ,le_ir_write_pulse 
+0x4b47 010283 beq ircmd_write_seq ,le_ir_write_seq 
+0x4b48 010284 beq ircmd_write_next ,le_ir_write_next 
+0x4b49 010285 beq ircmd_screen_on ,le_ir_screen_on 
+0x4b4a 010286 beq ircmd_screen_off ,le_ir_screen_off 
+0x4b4b 010287 rtnne ircmd_play 
+0x4b4c 010288 ifetch 1 ,contr 
+0x4b4d 010289 store 1 ,mem_ir_play_count 
+0x4b4e 010290 rtn 
+:      010292 le_ir_write_pulse:
+0x4b4f 010293 arg mem_ir_pulse_zero ,contw 
+0x4b50 010294 branch le_ir_write 
+:      010296 le_ir_write_seq:
+0x4b51 010297 arg mem_ir_sequence_len ,contw 
+0x4b52 010298 branch le_ir_write 
+:      010300 le_ir_write_next:
+0x4b53 010301 fetch 2 ,mem_ir_ptr 
+0x4b54 010302 iforce contw 
+:      010304 le_ir_write:
+0x4b55 010305 arg 19 ,loopcnt 
+0x4b56 010306 call memcpy 
+0x4b57 010307 deposit contw 
+0x4b58 010308 store 2 ,mem_ir_ptr 
+0x4b59 010309 jam 0 ,mem_ir_cmd 
+0x4b5a 010310 rtn 
+:      010314 le_ir:
+0x4b5b 010315 fetch 1 ,mem_ir_cmd 
+0x4b5c 010316 beq ircmd_record ,le_ir_start_record 
+0x4b5d 010317 beq ircmd_play ,le_ir_play 
+0x4b5e 010318 beq ircmd_report_pulse ,le_ir_report 
+0x4b5f 010319 beq ircmd_report_seq ,le_ir_report 
+0x4b60 010320 beq ircmd_report_raw ,le_ir_report 
+0x4b61 010321 beq ircmd_test_play ,le_ir_play 
+0x4b62 010322 beq ircmd_test_rec ,le_ir_rec 
+0x4b63 010323 rtn 
+:      010325 le_ir_screen_on:
+0x4b64 010326 jam 0 ,mem_lpm_mult 
+0x4b65 010327 jam 0 ,mem_ir_cmd 
+0x4b66 010328 rtn 
+:      010329 le_ir_screen_off:
+0x4b67 010330 jam 30 ,mem_lpm_mult 
+0x4b68 010331 jam 0 ,mem_ir_cmd 
+0x4b69 010332 rtn 
+:      010336 le_ir_rec:
+0x4b6a 010337 jam 0 ,mem_ir_cmd 
+0x4b6b 010338 arg 0xfffff ,stop_watch 
+0x4b6c 010339 call ir_record 
+0x4b6d 010340 rtn 
+:      010342 le_ir_next_anchor:
+0x4b6e 010343 fetcht 2 ,mem_le_tsniff 
+0x4b6f 010344 iadd temp ,pdata 
+0x4b70 010345 store 4 ,mem_le_anchor 
+:      010346 le_ir_start_record:
+0x4b71 010347 fetch 4 ,mem_le_anchor 
+0x4b72 010348 isub clke_bt ,pdata 
+0x4b73 010349 nbranch le_ir_next_anchor ,positive 
+0x4b74 010350 rshift pdata ,stop_watch 
+0x4b75 010351 call ir_record 
+0x4b76 010352 rtn blank 
+0x4b77 010353 jam ircmd_report_raw ,mem_ir_cmd 
+0x4b78 010354 arg mem_ir_record ,temp 
+0x4b79 010355 storet 2 ,mem_ir_ptr 
+:      010357 le_ir_report:
+0x4b7a 010358 call le_xtype_fifo_is_full 
+0x4b7b 010359 nrtn blank 
+0x4b7c 010360 jam notify_handle ,mem_le_notify_handle 
+0x4b7d 010361 jam attop_handle_value_notification ,mem_fifo_temp 
+0x4b7e 010362 call le_xtype_fifo_in 
+0x4b7f 010363 fetch 2 ,mem_le_notify_attr_start 
+0x4b80 010364 iforce contw 
+0x4b81 010365 fetch 2 ,mem_ir_ptr 
+0x4b82 010366 iforce contr 
+0x4b83 010367 arg 20 ,loopcnt 
+0x4b84 010368 call memcpy 
+0x4b85 010369 deposit contr 
+0x4b86 010370 store 2 ,mem_ir_ptr 
+0x4b87 010371 fetch 2 ,mem_ir_report_len 
+0x4b88 010372 increase -20 ,pdata 
+0x4b89 010373 store 2 ,mem_ir_report_len 
+0x4b8a 010374 rtn positive 
+0x4b8b 010375 jam 0 ,mem_ir_cmd 
+0x4b8c 010376 rtn 
+:      010379 le_ir_play:
+0x4b8d 010380 fetch 1 ,mem_ir_play_count 
+0x4b8e 010381 call ir_play 
+0x4b8f 010382 jam 0 ,mem_ir_cmd 
+0x4b90 010383 rtn 
+:      010386 ir_record:
+0x4b91 010387 call ir_receive 
+0x4b92 010388 setarg mem_ir_record 
+0x4b93 010389 isub contw ,pdata 
+0x4b94 010390 sub pdata ,0 ,pdata 
+0x4b95 010391 store 2 ,mem_ir_report_len 
+0x4b96 010392 rtn 
+:      010396 ir_receive:
+0x4b97 010397 disable swfine 
+0x4b98 010398 arg mem_ir_record ,contw 
+:      010399 ir_receive_waitsync:
+0x4b99 010400 rtn timeout 
+0x4b9a 010401 hfetch 1 ,core_gpio_in + 2 
+0x4b9b 010402 bbit0 5 ,ir_receive_waitsync 
+0x4b9c 010403 copy clkn ,temp 
+0x4b9d 010404 arg 0x80 ,loopcnt 
+0x4b9e 010405 call memset0 
+0x4b9f 010406 arg mem_ir_record ,contw 
+0x4ba0 010407 arg 0x0 ,regc 
+:      010408 ir_receive_loop:
+0x4ba1 010409 arg 180 ,stop_watch 
+:      010410 ir_receive_waitedge:
+0x4ba2 010411 rtn timeout 
+0x4ba3 010412 hfetch 1 ,core_gpio_in + 2 
+0x4ba4 010413 ixor regc ,pdata 
+0x4ba5 010414 bbit1 5 ,ir_receive_waitedge 
+0x4ba6 010415 copy clkn ,pdata 
+0x4ba7 010416 iforce alarm 
+0x4ba8 010417 call clk_diff_rt 
+0x4ba9 010418 sub pdata ,0xff ,null 
+0x4baa 010419 branch ir_receive_waitedge ,positive 
+0x4bab 010420 isolate0 5 ,regc 
+0x4bac 010421 setflag true ,23 ,pdata 
+0x4bad 010422 istore 3 ,contw 
+0x4bae 010423 rshift8 contw ,pdata 
+0x4baf 010424 rtneq mem_ir_record_max 
+0x4bb0 010425 copy alarm ,temp 
+0x4bb1 010426 xor_into 0x20 ,regc 
+0x4bb2 010427 branch ir_receive_loop 
+:      010431 ir_get_next_seq:
+0x4bb3 010432 branch ir_get_next_seq_saved ,user 
+0x4bb4 010433 branch ir_get_next_encoded ,user2 
+:      010434 ir_get_next_seq_fetch:
+0x4bb5 010435 arg mem_ir_sequence ,temp 
+0x4bb6 010436 fetch 1 ,mem_ir_sequence_len 
+0x4bb7 010437 iadd temp ,pdata 
+0x4bb8 010438 isub rega ,null 
+0x4bb9 010439 branch ir_get_next_seq_exit ,zero 
+0x4bba 010440 ifetch 1 ,rega 
+0x4bbb 010441 copy contr ,rega 
+0x4bbc 010442 bbit0 7 ,ir_get_next_cont 
+0x4bbd 010443 enable user2 
+0x4bbe 010444 and pdata ,0x7f ,regb 
+0x4bbf 010445 lshift3 rega ,rega 
+0x4bc0 010446 branch ir_get_next_encoded 
+:      010447 ir_get_next_cont:
+0x4bc1 010448 rshift4 pdata ,debug 
+0x4bc2 010449 and_into 0xf ,pdata 
+0x4bc3 010450 isub debug ,null 
+0x4bc4 010451 rtn zero 
+0x4bc5 010452 enable user 
+0x4bc6 010453 rtn 
+:      010454 ir_get_next_seq_saved:
+0x4bc7 010455 deposit debug 
+0x4bc8 010456 disable user 
+0x4bc9 010457 rtn 
+:      010458 ir_get_next_encoded:
+0x4bca 010459 deposit regb 
+0x4bcb 010460 branch ir_get_next_encoded_end ,blank 
+0x4bcc 010461 and rega ,0x7 ,queue 
+0x4bcd 010462 rshift3 rega ,contr 
+0x4bce 010463 ifetch 1 ,contr 
+0x4bcf 010464 increase 1 ,rega 
+0x4bd0 010465 increase -1 ,regb 
+0x4bd1 010466 qisolate0 pdata 
+0x4bd2 010467 fetch 1 ,mem_ir_pulse_zero 
+0x4bd3 010468 branch ir_get_next_cont ,true 
+0x4bd4 010469 fetch 1 ,mem_ir_pulse_one 
+0x4bd5 010470 branch ir_get_next_cont 
+:      010471 ir_get_next_encoded_end:
+0x4bd6 010472 disable user2 
+0x4bd7 010473 increase 7 ,rega 
+0x4bd8 010474 rshift3 rega ,rega 
+0x4bd9 010475 branch ir_get_next_seq_fetch 
+:      010476 ir_get_next_seq_exit:
+0x4bda 010477 setarg 0xff 
+0x4bdb 010478 rtn 
+:      010481 ir_get_pulse:
+0x4bdc 010482 lshift pdata ,contr 
+0x4bdd 010483 iadd contr ,pdata 
+0x4bde 010484 arg mem_ir_pulses ,contr 
+0x4bdf 010485 iadd contr ,contr 
+0x4be0 010486 ifetch 3 ,contr 
+0x4be1 010487 rtn 
+:      010490 ir_play:
+0x4be2 010491 enable swfine 
+0x4be3 010492 iforce loopcnt 
+:      010493 ir_play_nloop:
+0x4be4 010494 disable user 
+0x4be5 010495 disable user2 
+0x4be6 010496 arg mem_ir_sequence ,rega 
+:      010497 ir_play_loop:
+0x4be7 010498 call ir_get_next_seq 
+0x4be8 010499 beq 0xff ,ir_play_end 
+0x4be9 010500 call ir_get_pulse 
+0x4bea 010501 bbit0 23 ,ir_play_silence 
+0x4beb 010502 set0 23 ,pdata 
+0x4bec 010503 hjam 158 ,core_pwm_pcnt0 
+:      010504 ir_play_silence:
+0x4bed 010505 iforce stop_watch 
+0x4bee 010506 until null ,timeout 
+0x4bef 010507 hjam 0 ,core_pwm_pcnt0 
+0x4bf0 010508 branch ir_play_loop 
+:      010509 ir_play_end:
+0x4bf1 010510 loop ir_play_nloop 
+0x4bf2 010511 rtn 
+:      010517 le_kb_init:
+0x4bf3 010518 call kb_init_common 
+0x4bf4 010519 setarg kb_process_idle 
+0x4bf5 010520 store 2 ,mem_cb_idle_process 
+0x4bf6 010521 setarg kb_send_process 
+0x4bf7 010522 store 2 ,mem_cb_bt_process 
+0x4bf8 010523 setarg kb_process_bb_event 
+0x4bf9 010524 store 2 ,mem_cb_bb_event_process 
+0x4bfa 010525 setarg kb_process_lpm_before 
+0x4bfb 010526 store 2 ,mem_cb_before_lpm 
+0x4bfc 010527 setarg kb_discovery_timeout_sleep 
+0x4bfd 010528 store 2 ,mem_cb_discovry_timeout 
+0x4bfe 010529 setarg kb_before_hibernate 
+0x4bff 010530 store 2 ,mem_cb_before_hibernate 
+0x4c00 010531 setarg kb_wakeup_check 
+0x4c01 010532 store 2 ,mem_cb_check_wakelock 
+0x4c02 010533 rtn wake 
+0x4c03 010535 fetch 2 ,mem_ui_state_map 
+0x4c04 010536 bbit1 ui_state_btn_down ,app_bt_start_discovery_short 
+0x4c05 010537 call app_check_reconn_target 
+0x4c06 010538 branch kb_start_discovery ,blank 
+0x4c07 010539 call app_bt_stop_discovery 
+0x4c08 010540 branch app_bt_start_reconnect 
+:      010543 kb_init:
+0x4c09 010544 call kb_init_common 
+0x4c0a 010545 setarg kb_process_idle 
+0x4c0b 010546 store 2 ,mem_cb_idle_process 
+0x4c0c 010547 setarg kb_send_process 
+0x4c0d 010548 store 2 ,mem_cb_bt_process 
+0x4c0e 010549 setarg kb_process_bb_event 
+0x4c0f 010550 store 2 ,mem_cb_bb_event_process 
+0x4c10 010551 setarg kb_process_lpm_before 
+0x4c11 010552 store 2 ,mem_cb_before_lpm 
+0x4c12 010553 setarg kb_discovery_timeout_sleep 
+0x4c13 010554 store 2 ,mem_cb_discovry_timeout 
+0x4c14 010555 setarg kb_before_hibernate 
+0x4c15 010556 store 2 ,mem_cb_before_hibernate 
+0x4c16 010557 setarg kb_wakeup_check 
+0x4c17 010558 store 2 ,mem_cb_check_wakelock 
+0x4c18 010559 rtn wake 
+0x4c19 010561 jam 0 ,mem_sp_flag 
+0x4c1a 010562 jam 0 ,mem_master_sp_flag 
+0x4c1b 010564 fetch 2 ,mem_ui_state_map 
+0x4c1c 010565 bbit1 ui_state_btn_down ,app_bt_start_discovery_short 
+0x4c1d 010566 call app_check_reconn_target 
+0x4c1e 010567 branch kb_start_discovery ,blank 
+0x4c1f 010568 call app_bt_stop_discovery 
+0x4c20 010569 branch app_bt_start_reconnect 
+:      010573 kb_init_common:
+0x4c21 010574 set1 mark_ext_patch ,mark 
+0x4c22 010575 bpatch patch36_6 ,mem_patch36 
+0x4c23 010577 fetch 1 ,0x8140 
+0x4c24 010578 branch assert ,blank 
+0x4c25 010579 hjam 0 ,core_gpio_oe0 
+0x4c26 010580 hjam 0xff ,core_gpio_pu0 
+0x4c27 010582 hjam 0xff ,core_gpio_oe1 
+0x4c28 010583 hjam 0xff ,core_gpio_oe2 
+0x4c29 010584 hfetch 1 ,core_gpio_oe3 
+0x4c2a 010585 or_into 0x0f ,pdata 
+0x4c2b 010586 hstore 1 ,core_gpio_oe3 
+0x4c2c 010588 hjam 0x00 ,core_gpio_sel 
+0x4c2d 010589 hjam 0x00 ,core_gpio_sel1 
+0x4c2e 010590 hjam 0xff ,core_gpio_key0 
+0x4c2f 010591 hjam 0xFf ,core_gpio_key1 
+0x4c30 010592 hfetch 1 ,core_gpio_key2 
+0x4c31 010593 or_into 0x03 ,pdata 
+0x4c32 010594 hstore 1 ,core_gpio_key2 
+0x4c33 010595 hjam 0x00 ,core_kscn_rowmask 
+0x4c34 010596 setarg kb_kscan_col_1 
+0x4c35 010597 lshift3 pdata ,pdata 
+0x4c36 010598 add pdata ,kb_kscan_row_1 ,pdata 
+0x4c37 010599 hstore 1 ,core_kscn_rctc 
+0x4c38 010601 hfetch 1 ,core_config 
+0x4c39 010602 set1 2 ,pdata 
+0x4c3a 010603 hstore 1 ,core_config 
+0x4c3b 010604 hfetch 1 ,core_clkoff + 1 
+0x4c3c 010605 set0 1 ,pdata 
+0x4c3d 010606 hstore 1 ,core_clkoff + 1 
+0x4c3e 010607 hjam 0xd ,core_kscn_ksctrl 
+0x4c3f 010608 hjam 0xd3 ,core_kscn_m_debounce 
+0x4c40 010609 hjam 0 ,core_kscn_scancycle_timer_l 
+0x4c41 010610 hjam 0x31 ,core_kscn_scancycle_timer_h 
+0x4c42 010611 call lpm_disable_exen_output 
+0x4c43 010612 fetcht 1 ,mem_led_cap_gpio 
+0x4c44 010613 call gpio_config_output 
+0x4c45 010614 fetcht 1 ,mem_led_num_gpio 
+0x4c46 010615 call gpio_config_output 
+0x4c47 010616 fetcht 1 ,mem_led_scl_gpio 
+0x4c48 010617 call gpio_config_output 
+0x4c49 010618 rtn 
+:      010620 kb_process_kb_report:
+0x4c4a 010621 set1 mark_ext_patch ,mark 
+0x4c4b 010622 bpatch patch36_7 ,mem_patch36 
+0x4c4c 010623 ifetch 1 ,contr 
+0x4c4d 010624 copy pdata ,rega 
+0x4c4e 010625 fetcht 1 ,mem_led_num_gpio 
+0x4c4f 010626 isolate1 kb_num_lock_selected ,rega 
+0x4c50 010627 call gpio_out_flag 
+0x4c51 010628 fetcht 1 ,mem_led_cap_gpio 
+0x4c52 010629 isolate1 kb_caps_lock_selected ,rega 
+0x4c53 010630 call gpio_out_flag 
+0x4c54 010631 fetcht 1 ,mem_led_scl_gpio 
+0x4c55 010632 isolate1 kb_scroll_lock_selected ,rega 
+0x4c56 010633 call gpio_out_flag 
+0x4c57 010634 jam 1 ,mem_kb_rcv_led_data 
+0x4c58 010635 rtn 
+:      010638 kb_send_process:
+0x4c59 010640 call kb_kscan_check_if_empty 
+0x4c5a 010641 nrtn user 
+0x4c5b 010642 nrtn user2 
+0x4c5c 010644 fetch 1 ,mem_pincode_state 
+0x4c5d 010645 beq pincode_state_wait_pincode ,kb_pincode 
+0x4c5e 010646 fetch 1 ,mem_hid_interrupt_state 
+0x4c5f 010647 rtnne 0x3f 
+0x4c60 010649 arg 10 ,rega 
+0x4c61 010650 call hid_malloc_tx_buff 
+0x4c62 010651 fetch 2 ,mem_hid_int_remote_cid 
+0x4c63 010652 istore 2 ,contw 
+0x4c64 010653 setarg 0x01a1 
+0x4c65 010654 istore 2 ,contw 
+0x4c66 010655 fetch 8 ,mem_kb_state 
+0x4c67 010656 istore 8 ,contw 
+0x4c68 010657 rtn 
+:      010659 kb_pincode:
+0x4c69 010660 fetcht 1 ,mem_pin_length 
+0x4c6a 010661 setarg mem_pin 
+0x4c6b 010662 iadd temp ,contw 
+0x4c6c 010663 fetch 1 ,mem_kb_report_data 
+0x4c6d 010664 branch kb_pincode_rtn ,blank 
+0x4c6e 010665 beq kb_kcode_bksp ,kb_pincode_bksp 
+0x4c6f 010666 bne kb_kcode_enter ,kb_pincode_data 
+0x4c70 010667 storet 1 ,mem_pin_length 
+0x4c71 010668 branch app_bt_set_pincode 
+:      010670 kb_pincode_rtn:
+0x4c72 010671 storet 1 ,mem_pin_length 
+0x4c73 010672 rtn 
+:      010673 kb_pincode_bksp:
+0x4c74 010674 fetch 1 ,mem_pin_length 
+0x4c75 010675 rtn blank 
+0x4c76 010676 increase -1 ,pdata 
+0x4c77 010677 store 1 ,mem_pin_length 
+0x4c78 010678 arg mem_pin ,contw 
+0x4c79 010679 iadd contw ,contw 
+0x4c7a 010680 setarg 0 
+0x4c7b 010681 istore 1 ,contw 
+0x4c7c 010682 enable user2 
+0x4c7d 010683 branch kb_send_pin 
+:      010684 kb_pincode_data:
+0x4c7e 010685 sub pdata ,kb_kcode_1_m1 ,null 
+0x4c7f 010686 rtn positive 
+0x4c80 010687 arg 0x30 ,temp 
+0x4c81 010688 sub pdata ,kb_kcode_0 ,null 
+0x4c82 010689 nrtn positive 
+0x4c83 010690 branch kb_pincode_0 ,zero 
+0x4c84 010691 arg kb_kcode_1_m1 ,temp 
+0x4c85 010692 isub temp ,temp 
+0x4c86 010693 or_into 0x30 ,temp 
+:      010694 kb_pincode_0:
+0x4c87 010695 istoret 1 ,contw 
+0x4c88 010696 fetch 1 ,mem_pin_length 
+0x4c89 010697 increase 1 ,pdata 
+0x4c8a 010698 store 1 ,mem_pin_length 
+0x4c8b 010699 disable user2 
+0x4c8c 010700 branch kb_send_pin 
+:      010702 kb_send_pin:
+0x4c8d 010703 fetch 2 ,mem_hid_int_remote_cid 
+0x4c8e 010704 rtn blank 
+0x4c8f 010705 arg 3 ,rega 
+0x4c90 010706 call hid_malloc_tx_buff 
+0x4c91 010707 fetch 2 ,mem_hid_int_remote_cid 
+0x4c92 010708 istore 2 ,contw 
+0x4c93 010709 setarg 0xffa1 
+0x4c94 010710 istore 2 ,contw 
+0x4c95 010711 setarg 0 
+0x4c96 010712 setflag user2 ,0 ,pdata 
+0x4c97 010713 istore 1 ,contw 
+0x4c98 010714 rtn 
+:      010718 kb_kscan_check_if_empty:
+0x4c99 010719 disable user 
+0x4c9a 010720 disable user2 
+0x4c9b 010721 hfetch 1 ,core_kscn_kstat 
+0x4c9c 010722 rtnbit1 kb_kscan_stat_empty 
+:      010724 kb_kscan_check_ghost:
+0x4c9d 010725 hfetch 1 ,core_kscn_event_num 
+0x4c9e 010726 bbit1 kb_kscan_key_event_stat ,kb_kscan_process_event 
+0x4c9f 010727 hfetch 1 ,core_kscn_kstat 
+0x4ca0 010728 bbit0 kb_kscan_stat_ghost ,kb_kscan_process_event 
+0x4ca1 010729 hfetch 1 ,core_kscn_event 
+0x4ca2 010730 branch kb_kscan_check_if_empty 
+:      010732 kb_kscan_process_event:
+0x4ca3 010733 enable user 
+0x4ca4 010734 enable user2 
+0x4ca5 010735 hfetch 1 ,core_kscn_event_num 
+0x4ca6 010736 isolate0 kb_kscan_key_event_stat ,pdata 
+0x4ca7 010737 hfetch 1 ,core_kscn_event 
+0x4ca8 010738 arg mem_kb_map ,contr 
+0x4ca9 010739 iadd contr ,contr 
+0x4caa 010740 ifetch 1 ,contr 
+0x4cab 010741 bbit1 7 ,kb_kscan_read_statekey 
+0x4cac 010742 nbranch kb_kscan_release_a_key_data ,true 
+0x4cad 010743 disable user2 
+0x4cae 010744 iforce temp 
+0x4caf 010745 fetch 1 ,mem_kb_keys 
+0x4cb0 010746 sub pdata ,4 ,null 
+0x4cb1 010747 nrtn positive 
+0x4cb2 010748 copy pdata ,rega 
+0x4cb3 010749 arg 3 ,loopcnt 
+0x4cb4 010750 arg mem_kb_report_data ,contr 
+:      010751 kb_kscan_check_report_data:
+0x4cb5 010752 ifetch 1 ,contr 
+0x4cb6 010753 isub temp ,null 
+0x4cb7 010754 branch kb_kscan_check_if_empty ,zero 
+0x4cb8 010755 loop kb_kscan_check_report_data 
+:      010756 kb_kscan_store_a_key_data:
+0x4cb9 010757 copy rega ,pdata 
+0x4cba 010758 arg mem_kb_report_data ,contw 
+0x4cbb 010759 iadd contw ,contw 
+0x4cbc 010760 istoret 1 ,contw 
+0x4cbd 010761 increase 1 ,pdata 
+0x4cbe 010762 store 1 ,mem_kb_keys 
+0x4cbf 010763 hfetch 1 ,core_kscn_event_num 
+0x4cc0 010764 rshift3 pdata ,pdata 
+0x4cc1 010765 nbranch kb_kscan_check_nextevent ,blank 
+0x4cc2 010766 branch kb_kscan_prepare_send 
+:      010768 kb_kscan_check_nextevent:
+0x4cc3 010769 increase -1 ,pdata 
+0x4cc4 010770 branch kb_kscan_prepare_send ,zero 
+0x4cc5 010771 hfetch 1 ,core_kscn_event_num 
+0x4cc6 010772 and_into 0x01 ,pdata 
+0x4cc7 010773 beq kb_kscan_key_press ,kb_kscan_check_if_empty 
+0x4cc8 010774 beq kb_kscan_key_release ,kb_kscan_prepare_send 
+0x4cc9 010775 rtn 
+:      010776 kb_kscan_prepare_send:
+0x4cca 010777 enable user2 
+0x4ccb 010778 rtn 
+:      010780 kb_kscan_release_a_key_data:
+0x4ccc 010781 and pdata ,0xff ,temp 
+0x4ccd 010782 fetch 1 ,mem_kb_keys 
+0x4cce 010783 rtn blank 
+0x4ccf 010784 iforce loopcnt 
+0x4cd0 010785 arg mem_kb_report_data ,contr 
+:      010786 kb_kscan_find_same_key_data:
+0x4cd1 010787 ifetch 1 ,contr 
+0x4cd2 010788 isub temp ,null 
+0x4cd3 010789 branch kb_kscan_release_foundkey ,zero 
+0x4cd4 010790 loop kb_kscan_find_same_key_data 
+0x4cd5 010791 rtn 
+:      010792 kb_kscan_release_foundkey:
+0x4cd6 010793 add contr ,-1 ,contw 
+0x4cd7 010794 call memcpy 
+0x4cd8 010795 fetch 1 ,mem_kb_keys 
+0x4cd9 010796 increase -1 ,pdata 
+0x4cda 010797 store 1 ,mem_kb_keys 
+0x4cdb 010798 hfetch 1 ,core_kscn_event_num 
+0x4cdc 010799 rshift3 pdata ,pdata 
+0x4cdd 010800 nbranch kb_kscan_check_nextevent2 ,blank 
+0x4cde 010801 rtn 
+:      010803 kb_kscan_check_nextevent2:
+0x4cdf 010804 hfetch 1 ,core_kscn_event_num 
+0x4ce0 010805 and_into 0x01 ,pdata 
+0x4ce1 010806 beq kb_kscan_key_press ,kb_kscan_prepare_send 
+0x4ce2 010807 beq kb_kscan_key_release ,kb_kscan_check_if_empty 
+0x4ce3 010808 rtn 
+:      010810 kb_kscan_read_statekey:
+0x4ce4 010811 and pdata ,7 ,queue 
+0x4ce5 010812 fetch 1 ,mem_kb_state 
+0x4ce6 010813 qsetflag true ,pdata 
+0x4ce7 010814 store 1 ,mem_kb_state 
+0x4ce8 010815 rtn 
+:      010817 kb_clear_keys:
+0x4ce9 010818 setarg 0 
+0x4cea 010819 store 8 ,mem_kb_state 
+0x4ceb 010820 store 1 ,mem_kb_keys 
+0x4cec 010821 rtn 
+:      010823 kb_clean_kscan_fifo:
+0x4ced 010824 hfetch 1 ,core_kscn_event_num 
+0x4cee 010825 hfetch 1 ,core_kscn_event 
+0x4cef 010826 hfetch 1 ,core_kscn_kstat 
+0x4cf0 010827 bbit0 kb_kscan_stat_empty ,kb_clean_kscan_fifo 
+0x4cf1 010828 setarg 0xff 
+0x4cf2 010829 enable user 
+0x4cf3 010830 rtn 
+:      010832 le_keyboard:
+0x4cf4 010833 fetcht 2 ,mem_le_notify_handle 
+0x4cf5 010834 call le_att_check_notification_enable 
+0x4cf6 010835 rtnbit0 0 
+0x4cf7 010836 fetch 1 ,mem_le_switch_send_data 
+0x4cf8 010837 rtnbit0 0 
+0x4cf9 010838 call le_xtype_fifo_is_full 
+0x4cfa 010839 nrtn blank 
+0x4cfb 010840 call kb_kscan_check_if_empty 
+0x4cfc 010841 nrtn user 
+0x4cfd 010842 nrtn user2 
+:      010843 le_slave_keyboard_send_data:
+0x4cfe 010844 call app_lpm_wake_auto_lock 
+0x4cff 010845 jam 2 ,mem_lpm_mult 
+0x4d00 010846 fetcht 2 ,mem_le_notify_handle 
+0x4d01 010847 call le_att_get_handle_ptr 
+0x4d02 010848 add contr ,1 ,contw 
+0x4d03 010849 fetch 8 ,mem_kb_state 
+0x4d04 010850 istore 8 ,contw 
+0x4d05 010851 jam attop_handle_value_notification ,mem_fifo_temp 
+0x4d06 010852 call le_xtype_fifo_in 
+0x4d07 010853 fetch 1 ,mem_le_op 
+0x4d08 010854 bbit1 op_disconn ,loop 
+0x4d09 010855 rtn 
+:      010856 le_keyboard_process_bb_event:
+0x4d0a 010857 copy regc ,pdata 
+0x4d0b 010858 beq bt_evt_button_long_pressed ,le_keyboard_bb_event_discovery_btn 
+0x4d0c 010860 beq bt_evt_le_connected ,le_kb_connected 
+0x4d0d 010861 beq bt_evt_le_write_request ,le_kb_bb_event_write_request 
+0x4d0e 010862 beq bt_evt_le_enc_info ,le_kb_bb_event_enc_info 
+0x4d0f 010863 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4d10 010864 rtn 
+:      010865 le_kb_bb_event_enc_info:
+:      010866 le_kb_bb_event_write_request:
+0x4d11 010867 call app_lpm_mult_enable 
+0x4d12 010868 branch app_ble_start_write 
+:      010869 le_kb_connected:
+0x4d13 010870 call kb_clean_kscan_fifo 
+0x4d14 010871 branch kb_clear_keys 
+:      010873 le_keyboard_bb_event_discovery_btn:
+0x4d15 010874 call le_clean_att_list_handle_enable 
+0x4d16 010875 call app_ble_disconnect 
+0x4d17 010876 call app_ble_start_adv 
+0x4d18 010877 branch app_led_start_blink 
+:      010879 le_keyboard_bb_event_hud_ms:
+0x4d19 010880 fetch 1 ,mem_le_led_on_time 
+0x4d1a 010881 rtn blank 
+0x4d1b 010882 increase -1 ,pdata 
+0x4d1c 010883 store 1 ,mem_le_led_on_time 
+0x4d1d 010884 nrtn blank 
+0x4d1e 010885 fetch 1 ,mem_le_adv_type 
+0x4d1f 010886 rtn blank 
+0x4d20 010887 branch app_led_off 
+:      010890 kb_process_idle:
+0x4d21 010891 branch kb_pairing_button_check 
+:      010894 kb_wakeup_check:
+0x4d22 010895 hfetch 3 ,core_gpio_in 
+0x4d23 010896 copy pdata ,regb 
+0x4d24 010897 hfetch 1 ,core_gpio_in + 3 
+0x4d25 010898 and_into 0x0f ,pdata 
+0x4d26 010899 lshift16 pdata ,pdata 
+0x4d27 010900 lshift8 pdata ,pdata 
+0x4d28 010901 ior regb ,pdata 
+0x4d29 010902 fetcht 4 ,mem_kb_fast_wake_last 
+0x4d2a 010903 isub temp ,pdata 
+0x4d2b 010904 rtn blank 
+0x4d2c 010905 arg 0xbb ,regb 
+0x4d2d 010906 branch app_lpm_wake_auto_lock 
+:      010909 kb_pairing_button_check:
+0x4d2e 010910 fetch 1 ,mem_scan_mode 
+0x4d2f 010911 nrtn blank 
+0x4d30 010912 fetch 1 ,mem_app_handshake_flag 
+0x4d31 010913 nrtn blank 
+0x4d32 010914 fetch 1 ,mem_ui_button_timer 
+0x4d33 010915 rtn blank 
+0x4d34 010916 fetch 1 ,mem_ui_button_last_state 
+0x4d35 010917 nrtn blank 
+0x4d36 010918 branch app_enter_hibernate 
+:      010920 kb_process_bb_event:
+0x4d37 010921 copy regc ,pdata 
+0x4d38 010922 beq bt_evt_hid_connected ,kb_hid_connected 
+0x4d39 010923 beq bt_evt_pincode_req ,kb_process_pincode 
+0x4d3a 010924 beq bt_evt_hid_connected ,kb_bt_hid_handshake 
+0x4d3b 010925 beq bt_evt_button_long_pressed ,kb_bb_event_discovery_btn 
+0x4d3c 010926 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4d3d 010927 beq bt_evt_bb_connected ,kb_stop_discovery 
+0x4d3e 010928 beq bt_evt_bb_disconnected ,kb_bb_disconnected 
+0x4d3f 010930 beq bt_evt_reconn_failed ,kb_bb_event_reconn_failed 
+0x4d40 010931 beq bt_evt_reconn_page_timeout ,kb_bb_event_reconn_failed 
+0x4d41 010932 and pdata ,0x0f ,temp 
+0x4d42 010933 and_into bt_evt_timer_mask ,pdata 
+0x4d43 010934 beq bt_evt_timer_init ,kb_bb_event_timer 
+0x4d44 010935 rtn 
+:      010937 kb_bb_event_timer:
+0x4d45 010938 set1 mark_ext_patch ,mark 
+0x4d46 010939 bpatch patch37_0 ,mem_patch37 
+0x4d47 010940 storet 1 ,mem_app_evt_timer_count 
+:      010941 kb_bb_event_100ms_loop:
+0x4d48 010942 fetch 1 ,mem_app_evt_timer_count 
+0x4d49 010943 rtn blank 
+0x4d4a 010944 increase -1 ,pdata 
+0x4d4b 010945 store 1 ,mem_app_evt_timer_count 
+0x4d4c 010947 call kb_check_hid_handshake_timer 
+0x4d4d 010948 branch kb_bb_event_100ms_loop 
+:      010950 kb_bb_event_reconn_failed:
+0x4d4e 010951 fetch 2 ,mem_ui_state_map 
+0x4d4f 010952 bbit1 ui_state_btn_down ,kb_start_discovery 
+0x4d50 010953 branch app_bb_hibernate 
+:      010956 kb_bb_disconnected:
+0x4d51 010957 set1 mark_ext_patch ,mark 
+0x4d52 010958 bpatch patch37_1 ,mem_patch37 
+0x4d53 010959 call kb_bb_discon_clear_stack 
+0x4d54 010960 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x4d55 010962 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x4d56 010963 bbit1 app_disc_after_pairing ,kb_event_light_state_pairing 
+0x4d57 010964 bbit1 app_disc_after_reconn ,kb_event_light_state_reconn 
+0x4d58 010965 branch kb_start_discovery 
+:      010966 kb_bb_discon_clear_stack:
+0x4d59 010967 jam 0 ,mem_link_key_exists 
+0x4d5a 010968 jam 0 ,mem_ltk_exists 
+0x4d5b 010969 rtn 
+:      010971 kb_event_light_state_pairing:
+0x4d5c 010972 bbit1 app_disc_after_handshake ,app_bb_hibernate 
+0x4d5d 010973 bbit1 app_disc_after_sniff ,app_bb_hibernate 
+0x4d5e 010974 branch kb_start_discovery 
+:      010975 kb_event_light_state_reconn:
+0x4d5f 010976 fetch 2 ,mem_ui_state_map 
+0x4d60 010977 bbit1 ui_state_btn_down ,kb_start_discovery 
+0x4d61 010978 branch app_bb_hibernate 
+:      010982 kb_check_hid_handshake_timer:
+0x4d62 010983 fetch 1 ,mem_hid_handshake_timer_count 
+0x4d63 010984 rtn blank 
+0x4d64 010985 increase -1 ,pdata 
+0x4d65 010986 store 1 ,mem_hid_handshake_timer_count 
+0x4d66 010987 nrtn blank 
+0x4d67 010988 branch kb_bt_hid_handshake 
+:      010991 kb_bb_event_discovery_btn:
+0x4d68 010992 call kb_3_0_bb_event_discovery_btn 
+0x4d69 010993 branch kb_start_discovery 
+:      010995 kb_3_0_bb_event_discovery_btn:
+0x4d6a 010996 set1 mark_ext_patch ,mark 
+0x4d6b 010997 bpatch patch37_2 ,mem_patch37 
+0x4d6c 010998 fetch 2 ,mem_ui_state_map 
+0x4d6d 010999 isolate1 ui_state_bt_reconnect ,pdata 
+0x4d6e 011000 call app_bt_reconnect_cancel ,true 
+0x4d6f 011001 fetch 2 ,mem_discovery_timeout 
+0x4d70 011002 store 2 ,mem_discovery_timeout_timer_count 
+0x4d71 011003 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x4d72 011004 set1 app_disc_by_button ,pdata 
+0x4d73 011005 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x4d74 011006 fetch 2 ,mem_ui_state_map 
+0x4d75 011007 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x4d76 011008 rtn 
+:      011011 kb_stop_discovery:
+0x4d77 011012 call app_bt_stop_discovery 
+0x4d78 011013 branch app_led_stop_blink 
+:      011015 kb_start_discovery:
+0x4d79 011016 call app_bt_start_discovery 
+0x4d7a 011017 branch app_led_start_blink 
+:      011019 kb_discovery_timeout_sleep:
+0x4d7b 011020 branch app_enter_hibernate 
+:      011022 kb_process_pincode:
+0x4d7c 011023 jam 0 ,mem_pin_length 
+0x4d7d 011024 rtn 
+:      011027 kb_before_hibernate:
+:      011029 kb_process_lpm_before:
+0x4d7e 011030 hjam 0x00 ,core_gpio_key0 
+0x4d7f 011031 hjam 0x00 ,core_gpio_key1 
+0x4d80 011032 hfetch 1 ,core_gpio_key2 
+0x4d81 011033 and_into 0xf0 ,pdata 
+0x4d82 011034 hstore 1 ,core_gpio_key2 
+0x4d83 011035 setarg 0x00 
+0x4d84 011036 store 4 ,mem_gpio_wakeup_high 
+0x4d85 011037 setarg 0xff 
+0x4d86 011038 fetcht 1 ,mem_ui_button_gpio 
+0x4d87 011039 copy temp ,queue 
+0x4d88 011040 qset1 pdata 
+0x4d89 011041 store 4 ,mem_gpio_wakeup_low 
+0x4d8a 011042 rtn 
+:      011044 kb_hid_connected:
+0x4d8b 011045 setarg hid_handshake_timeout 
+0x4d8c 011046 store 1 ,mem_hid_handshake_timer_count 
+0x4d8d 011047 call kb_clean_kscan_fifo 
+0x4d8e 011051 branch kb_clear_keys 
+:      011052 kb_bt_hid_handshake:
+0x4d8f 011053 set1 mark_ext_patch ,mark 
+0x4d90 011054 bpatch patch37_3 ,mem_patch37 
+0x4d91 011055 jam app_handshake_done ,mem_app_handshake_flag 
+0x4d92 011056 call app_lpm_mult_enable 
+0x4d93 011057 call app_bt_store_reconn_info 
+0x4d94 011059 setarg 0 
+0x4d95 011060 store 2 ,mem_discovery_timeout_timer_count 
+0x4d96 011061 store 1 ,mem_hid_handshake_timer_count 
+0x4d97 011062 branch app_bt_enter_sniff 
+:      011069 l2cap_init:
+0x4d98 011070 branch l2cap_init_wake ,wake 
+:      011071 l2cap_init_work:
+0x4d99 011072 setarg mem_l2cap_xmem_end 
+0x4d9a 011073 arg mem_l2cap_xmem_start ,contw 
+0x4d9b 011074 isub contw ,loopcnt 
+0x4d9c 011075 call clear_mem 
+:      011076 l2cap_init_wake:
+0x4d9d 011077 set1 mark_ext_patch ,mark 
+0x4d9e 011078 bpatch patch22_6 ,mem_patch22 
+0x4d9f 011079 setarg mem_sdp_mem_end 
+0x4da0 011080 arg mem_sdp_mem_start ,contw 
+0x4da1 011081 isub contw ,loopcnt 
+0x4da2 011082 call clear_mem 
+0x4da3 011083 setarg mem_l2cap_mem_end 
+0x4da4 011084 arg mem_l2cap_mem_start ,contw 
+0x4da5 011085 isub contw ,loopcnt 
+0x4da6 011086 call clear_mem 
+0x4da7 011087 branch l2cap_lpm_load_txbuf 
+:      011089 process_rx_l2cap_pkt:
+0x4da8 011090 set1 mark_ext_patch ,mark 
+0x4da9 011091 bpatch patch22_7 ,mem_patch22 
+0x4daa 011092 copy contr ,temp 
+0x4dab 011095 copy temp ,contr 
+0x4dac 011096 ifetch 2 ,contr 
+0x4dad 011097 store 2 ,mem_l2cap_rx_pkt_length 
+0x4dae 011098 ifetch 2 ,contr 
+0x4daf 011099 store 2 ,mem_l2cap_rx_cid 
+0x4db0 011100 deposit contr 
+0x4db1 011101 store 2 ,mem_l2cap_payload_ptr 
+0x4db2 011102 fetch 1 ,memui_reconnect_mode 
+0x4db3 011103 beq no_reconnection ,l2cap_rx_multiplexing 
+0x4db4 011104 branch ml2cap_rx_multiplexing 
+:      011106 l2cap_rx_multiplexing:
+0x4db5 011107 set1 mark_ext_patch ,mark 
+0x4db6 011108 bpatch patch23_0 ,mem_patch23 
+0x4db7 011109 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4db8 011110 branch l2cap_rx_reset_state ,blank 
+0x4db9 011111 fetch 1 ,mem_l2cap_rx_cid 
+0x4dba 011112 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+:      011113 l2cap_rx_multiplexing0:
+0x4dbb 011114 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x4dbc 011115 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x4dbd 011116 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x4dbe 011117 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x4dbf 011118 branch l2cap_rx_reset_state 
+:      011120 l2cap_call_proc_signal:
+0x4dc0 011121 call l2cap_malloc_is_fifo_full 
+0x4dc1 011122 nrtn blank 
+0x4dc2 011123 jam 0 ,mem_l2cap_pending_item 
+:      011124 l2cap_call_proc_signal0:
+0x4dc3 011125 call l2cap_malloc_signal_channel 
+0x4dc4 011126 call l2cap_process_signal_pkt 
+0x4dc5 011127 fetcht 2 ,mem_l2cap_signal_tx_length 
+0x4dc6 011128 branch l2cap_call_proc_no_reply ,blank 
+0x4dc7 011129 call l2cap_get_signal_tx_buff 
+0x4dc8 011130 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4dc9 011131 istore 2 ,contw 
+0x4dca 011132 force l2cap_signal_channel ,pdata 
+0x4dcb 011133 istore 2 ,contw 
+0x4dcc 011134 branch l2cap_rx_reset_state 
+:      011136 l2cap_call_proc_sigal_pending:
+0x4dcd 011137 fetch 1 ,mem_device_option 
+0x4dce 011138 rtneq dvc_op_hci 
+0x4dcf 011139 fetch 1 ,mem_l2cap_pending_item 
+0x4dd0 011140 rtn blank 
+0x4dd1 011141 copy pdata ,rega 
+0x4dd2 011142 fetch 4 ,mem_l2cap_sdpres_delay_time 
+0x4dd3 011143 arg 0x100 ,temp 
+0x4dd4 011144 iadd temp ,temp 
+0x4dd5 011145 copy clkn_bt ,pdata 
+0x4dd6 011146 isub temp ,null 
+0x4dd7 011147 nrtn positive 
+0x4dd8 011148 jam 0 ,mem_l2cap_pending_item 
+0x4dd9 011149 copy rega ,pdata 
+0x4dda 011150 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0x4ddb 011151 branch assert 
+:      011152 l2cap_sdp_conn_succ:
+0x4ddc 011153 call l2cap_malloc_signal_channel 
+0x4ddd 011154 call restore_l2cap_req_param 
+0x4dde 011155 call l2cap_get_signal_tx_payload 
+0x4ddf 011156 call save_cont_pointers 
+0x4de0 011157 call send_connection_sdp_res 
+0x4de1 011158 call l2cap_get_signal_tx_buff 
+0x4de2 011160 setarg 0x000c 
+0x4de3 011161 istore 2 ,contw 
+0x4de4 011162 force l2cap_signal_channel ,pdata 
+0x4de5 011163 istore 2 ,contw 
+0x4de6 011164 branch l2cap_rx_reset_state 
+:      011166 l2cap_call_proc_sdp:
+0x4de7 011167 call l2cap_malloc_is_fifo_empty 
+0x4de8 011168 nrtn blank 
+0x4de9 011169 call l2cap_malloc_sdp_channel 
+0x4dea 011170 call sdp_process 
+0x4deb 011171 call l2cap_get_sdp_tx_buff 
+0x4dec 011172 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4ded 011173 branch l2cap_call_proc_no_reply ,blank 
+0x4dee 011174 istore 2 ,contw 
+0x4def 011175 fetch 2 ,mem_sdp_remote_cid 
+0x4df0 011176 istore 2 ,contw 
+0x4df1 011177 branch l2cap_rx_reset_state 
+:      011179 l2cap_call_proc_hid:
+0x4df2 011180 call hid_rx_process 
+0x4df3 011181 branch l2cap_rx_reset_state 
+:      011183 l2cap_call_proc_rfcomm:
+0x4df4 011184 set1 mark_ext_patch ,mark 
+0x4df5 011185 bpatch patch23_1 ,mem_patch23 
+0x4df6 011186 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x4df7 011187 call rfcomm_rx_process 
+0x4df8 011188 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+0x4df9 011189 rtneq rfcomm_malloc_fail 
+0x4dfa 011190 branch l2cap_rx_reset_state 
+:      011191 l2cap_call_proc_no_reply:
+0x4dfb 011192 call l2cap_malloc_discard 
+:      011194 l2cap_rx_reset_state:
+0x4dfc 011195 setarg 0 
+0x4dfd 011196 store 2 ,mem_l2cap_rx_pkt_length 
+0x4dfe 011197 store 2 ,mem_l2cap_rx_cid 
+0x4dff 011198 jam l2cap_rx_done ,mem_l2cap_rx_done 
+0x4e00 011199 rtn 
+:      011201 l2cap_process_signal_pkt:
+0x4e01 011202 set1 mark_ext_patch ,mark 
+0x4e02 011203 bpatch patch23_2 ,mem_patch23 
+0x4e03 011204 call l2cap_get_signal_tx_payload 
+0x4e04 011205 force 0 ,regb 
+0x4e05 011206 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4e06 011207 copy pdata ,regc 
+0x4e07 011208 fetch 2 ,mem_l2cap_payload_ptr 
+0x4e08 011209 iforce contr 
+:      011210 l2cap_process_signal_pkt_loop:
+0x4e09 011211 call l2cap_process_one_signal 
+0x4e0a 011212 deposit regc 
+0x4e0b 011213 increase -4 ,regc 
+0x4e0c 011214 increase -4 ,pdata 
+0x4e0d 011215 nbranch l2cap_process_signal_pkt_loop ,blank 
+0x4e0e 011216 copy regb ,pdata 
+0x4e0f 011217 store 2 ,mem_l2cap_signal_tx_length 
+0x4e10 011218 rtn 
+:      011220 l2cap_process_one_signal:
+0x4e11 011221 set1 mark_ext_patch ,mark 
+0x4e12 011222 bpatch patch23_3 ,mem_patch23 
+0x4e13 011223 ifetch 1 ,contr 
+0x4e14 011224 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+0x4e15 011225 beq signal_connect_req ,l2cap_proc_signal_connect_req 
+0x4e16 011226 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+0x4e17 011227 beq signal_config_req ,l2cap_proc_signal_config_req 
+0x4e18 011228 beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+0x4e19 011229 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+0x4e1a 011230 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+0x4e1b 011231 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x4e1c 011232 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+0x4e1d 011233 beq signal_info_req ,l2cap_proc_signal_info_req 
+0x4e1e 011234 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+0x4e1f 011235 call l2cap_reject_command 
+:      011236 l2cap_process_one_signal_rtn:
+0x4e20 011237 rtn 
+:      011239 l2cap_proc_signal_info_req:
+0x4e21 011240 ifetch 1 ,contr 
+0x4e22 011241 copy pdata ,queue 
+0x4e23 011242 ifetch 2 ,contr 
+0x4e24 011243 copy pdata ,rega 
+0x4e25 011244 copy regc ,pdata 
+0x4e26 011245 isub rega ,regc 
+0x4e27 011246 copy rega ,pdata 
+0x4e28 011247 iadd contr ,contr 
+0x4e29 011248 setarg 0x0b 
+0x4e2a 011249 istore 1 ,contw 
+0x4e2b 011250 copy queue ,pdata 
+0x4e2c 011251 istore 1 ,contw 
+0x4e2d 011252 force 0x0008 ,pdata 
+0x4e2e 011253 istore 2 ,contw 
+0x4e2f 011254 force 0x0002 ,pdata 
+0x4e30 011255 istore 2 ,contw 
+0x4e31 011256 force 0x0000 ,pdata 
+0x4e32 011257 istore 2 ,contw 
+0x4e33 011258 force 0x0400 ,pdata 
+0x4e34 011259 istore 2 ,contw 
+0x4e35 011260 force 0x0000 ,pdata 
+0x4e36 011261 istore 2 ,contw 
+0x4e37 011262 force 12 ,pdata 
+0x4e38 011263 iadd regb ,regb 
+0x4e39 011264 branch l2cap_process_one_signal_rtn 
+:      011266 ml2cap_proc_signal_info_req:
+0x4e3a 011267 ifetch 1 ,contr 
+0x4e3b 011268 copy pdata ,queue 
+0x4e3c 011269 ifetch 2 ,contr 
+0x4e3d 011270 copy pdata ,rega 
+0x4e3e 011271 copy regc ,pdata 
+0x4e3f 011272 isub rega ,regc 
+0x4e40 011273 copy rega ,pdata 
+0x4e41 011274 iadd contr ,contr 
+0x4e42 011275 call l2cap_get_signal_tx_payload 
+0x4e43 011276 setarg 0x0b 
+0x4e44 011277 istore 1 ,contw 
+0x4e45 011278 copy queue ,pdata 
+0x4e46 011279 istore 1 ,contw 
+0x4e47 011280 force 0x0008 ,pdata 
+0x4e48 011281 istore 2 ,contw 
+0x4e49 011282 force 0x0002 ,pdata 
+0x4e4a 011283 istore 2 ,contw 
+0x4e4b 011284 force 0x0000 ,pdata 
+0x4e4c 011285 istore 2 ,contw 
+0x4e4d 011286 force 0x0400 ,pdata 
+0x4e4e 011287 istore 2 ,contw 
+0x4e4f 011288 force 0x0000 ,pdata 
+0x4e50 011289 istore 2 ,contw 
+0x4e51 011290 force 12 ,pdata 
+0x4e52 011291 iadd regb ,regb 
+0x4e53 011293 branch l2cap_process_one_signal_rtn 
+:      011297 l2cap_proc_signal_cmd_reject:
+0x4e54 011298 ifetch 1 ,contr 
+0x4e55 011299 copy pdata ,queue 
+0x4e56 011300 ifetch 2 ,contr 
+0x4e57 011301 copy pdata ,rega 
+0x4e58 011302 iadd contr ,contr 
+0x4e59 011303 copy regc ,pdata 
+0x4e5a 011304 isub rega ,regc 
+:      011305 l2cap_proc_signal_cmd_reject_rtn:
+0x4e5b 011306 branch l2cap_process_one_signal_rtn 
+:      011308 l2cap_proc_signal_connect_req:
+0x4e5c 011309 call save_cont_pointers 
+0x4e5d 011312 call load_cont_pointers 
+0x4e5e 011313 arg 0 ,debug 
+0x4e5f 011314 ifetch 1 ,contr 
+0x4e60 011315 copy pdata ,queue 
+0x4e61 011316 ifetch 2 ,contr 
+0x4e62 011317 copy pdata ,rega 
+0x4e63 011318 ifetch 2 ,contr 
+0x4e64 011319 copy pdata ,temp 
+0x4e65 011320 ifetch 2 ,contr 
+0x4e66 011321 copy pdata ,timeup 
+0x4e67 011322 copy temp ,pdata 
+0x4e68 011323 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+0x4e69 011324 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+0x4e6a 011325 beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+0x4e6b 011326 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+0x4e6c 011327 call l2cap_reject_command 
+0x4e6d 011328 branch l2cap_proc_signal_connect_req_rtn 
+:      011330 l2cap_proc_signal_connect_req_sdp:
+0x4e6e 011331 call save_cont_pointers 
+0x4e6f 011332 arg l2cap_sdp_channel ,temp 
+0x4e70 011333 fetch 2 ,mem_sdp_remote_cid 
+0x4e71 011334 nbranch already_connected ,blank 
+0x4e72 011335 copy timeup ,pdata 
+0x4e73 011336 store 2 ,mem_sdp_remote_cid 
+0x4e74 011337 copy clkn_bt ,pdata 
+0x4e75 011338 store 4 ,mem_l2cap_sdpres_delay_time 
+0x4e76 011339 call store_l2cap_req_param 
+0x4e77 011340 branch send_connection_pending 
+:      011342 store_l2cap_req_param:
+0x4e78 011343 storet 2 ,mem_psm 
+0x4e79 011344 deposit timeup 
+0x4e7a 011345 store 2 ,mem_scid 
+0x4e7b 011346 deposit rega 
+0x4e7c 011347 store 2 ,mem_cmd_length 
+0x4e7d 011348 deposit regb 
+0x4e7e 011349 store 2 ,mem_tt2 
+0x4e7f 011350 deposit regc 
+0x4e80 011351 store 2 ,mem_tt3 
+0x4e81 011352 deposit queue 
+0x4e82 011353 store 2 ,mem_id 
+0x4e83 011354 rtn 
+:      011356 restore_l2cap_req_param:
+0x4e84 011357 fetcht 2 ,mem_psm 
+0x4e85 011358 fetch 2 ,mem_scid 
+0x4e86 011359 copy pdata ,timeup 
+0x4e87 011360 fetch 2 ,mem_cmd_length 
+0x4e88 011361 copy pdata ,rega 
+0x4e89 011362 fetch 2 ,mem_tt2 
+0x4e8a 011363 copy pdata ,regb 
+0x4e8b 011364 fetch 2 ,mem_tt3 
+0x4e8c 011365 copy pdata ,regc 
+0x4e8d 011366 fetch 2 ,mem_id 
+0x4e8e 011367 copy pdata ,queue 
+0x4e8f 011368 rtn 
+:      011370 l2cap_proc_signal_connect_req_rfcomm:
+0x4e90 011371 call save_cont_pointers 
+0x4e91 011372 setarg l2cap_rfcomm_channel 
+0x4e92 011373 arg l2cap_rfcomm_channel ,temp 
+0x4e93 011374 fetch 2 ,mem_rfcomm_remote_cid 
+0x4e94 011375 nbranch already_connected ,blank 
+0x4e95 011376 copy timeup ,pdata 
+0x4e96 011377 store 2 ,mem_rfcomm_remote_cid 
+0x4e97 011378 fetch 1 ,mem_rfcomm_state 
+0x4e98 011379 set1 l2cap_channel_state_conn_req ,pdata 
+0x4e99 011380 set1 l2cap_channel_state_conn_res ,pdata 
+0x4e9a 011381 store 1 ,mem_rfcomm_state 
+0x4e9b 011382 branch send_connection_res 
+:      011383 l2cap_proc_signal_connect_req_hid_ctrl:
+0x4e9c 011384 call save_cont_pointers 
+0x4e9d 011385 arg l2cap_hid_control_channel ,temp 
+0x4e9e 011386 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e9f 011387 nbranch already_connected ,blank 
+0x4ea0 011388 copy timeup ,pdata 
+0x4ea1 011389 store 2 ,mem_hid_ctrl_remote_cid 
+0x4ea2 011390 fetch 1 ,mem_hid_control_state 
+0x4ea3 011391 set1 l2cap_channel_state_conn_req ,pdata 
+0x4ea4 011392 set1 l2cap_channel_state_conn_res ,pdata 
+0x4ea5 011393 store 1 ,mem_hid_control_state 
+0x4ea6 011394 branch send_connection_res 
+:      011395 l2cap_proc_signal_connect_req_hid_int:
+0x4ea7 011396 call save_cont_pointers 
+0x4ea8 011397 deposit clke 
+0x4ea9 011398 arg l2cap_hid_interrupt_channel ,temp 
+0x4eaa 011399 fetch 2 ,mem_hid_int_remote_cid 
+0x4eab 011400 nbranch already_connected ,blank 
+0x4eac 011401 copy timeup ,pdata 
+0x4ead 011402 store 2 ,mem_hid_int_remote_cid 
+0x4eae 011403 fetch 1 ,mem_hid_interrupt_state 
+0x4eaf 011404 set1 l2cap_channel_state_conn_req ,pdata 
+0x4eb0 011405 set1 l2cap_channel_state_conn_res ,pdata 
+0x4eb1 011406 store 1 ,mem_hid_interrupt_state 
+0x4eb2 011407 branch send_connection_res 
+:      011409 send_connection_pending:
+0x4eb3 011410 setarg l2cap_connect_pending 
+0x4eb4 011411 store 2 ,meml2cap_t1 
+0x4eb5 011412 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+0x4eb6 011413 branch send_connection_res0 
+:      011414 send_connection_sdp_res:
+0x4eb7 011415 fetch 1 ,mem_sdp_state 
+0x4eb8 011416 set1 l2cap_channel_state_conn_req ,pdata 
+0x4eb9 011417 set1 l2cap_channel_state_conn_res ,pdata 
+0x4eba 011418 store 1 ,mem_sdp_state 
+:      011419 send_connection_res:
+0x4ebb 011420 setarg l2cap_connect_successful 
+0x4ebc 011421 store 2 ,meml2cap_t1 
+:      011422 send_connection_res0:
+0x4ebd 011423 set1 mark_ext_patch ,mark 
+0x4ebe 011424 bpatch patch23_4 ,mem_patch23 
+0x4ebf 011425 call load_cont_pointers 
+0x4ec0 011426 setarg signal_connect_rsp 
+0x4ec1 011427 istore 1 ,contw 
+0x4ec2 011428 copy queue ,pdata 
+0x4ec3 011429 istore 1 ,contw 
+0x4ec4 011430 setarg 0x0008 
+0x4ec5 011431 istore 2 ,contw 
+0x4ec6 011432 copy temp ,pdata 
+0x4ec7 011433 istore 2 ,contw 
+0x4ec8 011434 copy timeup ,pdata 
+0x4ec9 011435 istore 2 ,contw 
+0x4eca 011436 fetch 2 ,meml2cap_t1 
+0x4ecb 011437 beq l2cap_connect_pending ,connect_pending 
+0x4ecc 011438 isolate0 0 ,debug 
+0x4ecd 011439 branch connect_suc ,true 
+0x4ece 011440 setarg l2cap_connect_refused_no_resources 
+:      011441 connect_suc:
+0x4ecf 011442 istore 2 ,contw 
+0x4ed0 011443 force 0x0000 ,pdata 
+0x4ed1 011444 istore 2 ,contw 
+0x4ed2 011445 setarg 12 
+0x4ed3 011446 branch connect_req_update_byte_counts 
+:      011447 connect_pending:
+0x4ed4 011448 istore 2 ,contw 
+0x4ed5 011449 force 0x0002 ,pdata 
+0x4ed6 011450 istore 2 ,contw 
+0x4ed7 011451 setarg 12 
+0x4ed8 011452 branch connect_req_update_byte_counts 
+:      011454 already_connected:
+0x4ed9 011455 set1 0 ,debug 
+0x4eda 011456 branch send_connection_res 
+:      011457 connect_req_update_byte_counts:
+0x4edb 011458 iadd regb ,regb 
+0x4edc 011459 copy regc ,pdata 
+0x4edd 011460 isub rega ,regc 
+0x4ede 011461 branch l2cap_proc_signal_connect_req_rtn 
+:      011462 l2cap_proc_signal_connect_req_rtn:
+0x4edf 011463 branch l2cap_process_one_signal_rtn 
+:      011465 l2cap_proc_signal_connect_rsp:
+0x4ee0 011466 ifetch 1 ,contr 
+0x4ee1 011467 copy pdata ,queue 
+0x4ee2 011468 ifetch 2 ,contr 
+0x4ee3 011469 copy pdata ,rega 
+0x4ee4 011470 copy regc ,pdata 
+0x4ee5 011471 isub rega ,regc 
+0x4ee6 011472 ifetch 2 ,contr 
+0x4ee7 011473 copy pdata ,timeup 
+0x4ee8 011474 ifetch 2 ,contr 
+0x4ee9 011475 copy pdata ,temp 
+0x4eea 011476 setarg l2cap_sdp_channel 
+0x4eeb 011477 isub temp ,null 
+0x4eec 011478 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+0x4eed 011479 setarg l2cap_rfcomm_channel 
+0x4eee 011480 isub temp ,null 
+0x4eef 011481 branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x4ef0 011482 setarg l2cap_hid_control_channel 
+0x4ef1 011483 isub temp ,null 
+0x4ef2 011484 branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x4ef3 011485 setarg l2cap_hid_interrupt_channel 
+0x4ef4 011486 isub temp ,null 
+0x4ef5 011487 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x4ef6 011488 rtn 
+:      011490 l2cap_proc_signal_connect_rsp_sdp:
+0x4ef7 011491 copy timeup ,pdata 
+0x4ef8 011492 store 2 ,mem_sdp_remote_cid 
+0x4ef9 011493 fetch 1 ,mem_sdp_state 
+0x4efa 011494 set1 l2cap_channel_state_conn_res ,pdata 
+0x4efb 011495 store 1 ,mem_sdp_state 
+0x4efc 011496 branch l2cap_process_one_signal_rtn 
+:      011497 l2cap_proc_signal_connect_rsp_rfcomm:
+0x4efd 011498 copy timeup ,pdata 
+0x4efe 011499 store 2 ,mem_rfcomm_remote_cid 
+0x4eff 011500 fetch 1 ,mem_rfcomm_state 
+0x4f00 011501 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f01 011502 store 1 ,mem_rfcomm_state 
+0x4f02 011503 rtn 
+:      011504 l2cap_proc_signal_connect_rsp_hid_int:
+0x4f03 011505 copy timeup ,pdata 
+0x4f04 011506 store 2 ,mem_hid_ctrl_remote_cid 
+0x4f05 011507 fetch 1 ,mem_hid_interrupt_state 
+0x4f06 011508 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f07 011509 store 1 ,mem_hid_interrupt_state 
+0x4f08 011510 rtn 
+:      011511 l2cap_proc_signal_connect_rsp_hid_ctrl:
+0x4f09 011512 copy timeup ,pdata 
+0x4f0a 011513 store 2 ,mem_hid_int_remote_cid 
+0x4f0b 011514 fetch 1 ,mem_hid_control_state 
+0x4f0c 011515 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f0d 011516 store 1 ,mem_hid_control_state 
+0x4f0e 011517 rtn 
+:      011519 l2cap_proc_signal_config_req:
+0x4f0f 011520 ifetch 1 ,contr 
+0x4f10 011521 copy pdata ,queue 
+0x4f11 011522 ifetch 2 ,contr 
+0x4f12 011523 copy pdata ,rega 
+0x4f13 011524 copy regc ,pdata 
+0x4f14 011525 isub rega ,regc 
+0x4f15 011526 ifetch 2 ,contr 
+0x4f16 011527 copy pdata ,temp 
+0x4f17 011528 copy temp ,rega 
+0x4f18 011529 setarg l2cap_sdp_channel 
+0x4f19 011530 isub temp ,null 
+0x4f1a 011531 branch l2cap_proc_signal_config_req_sdp ,zero 
+0x4f1b 011532 setarg l2cap_rfcomm_channel 
+0x4f1c 011533 isub temp ,null 
+0x4f1d 011534 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+0x4f1e 011535 setarg l2cap_hid_control_channel 
+0x4f1f 011536 isub temp ,null 
+0x4f20 011537 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x4f21 011538 setarg l2cap_hid_interrupt_channel 
+0x4f22 011539 isub temp ,null 
+0x4f23 011540 branch l2cap_proc_signal_config_req_hid_int ,zero 
+0x4f24 011541 branch l2cap_reject_command 
+:      011543 l2cap_proc_signal_config_req_sdp:
+0x4f25 011544 copy contw ,timeup 
+0x4f26 011545 fetch 1 ,mem_sdp_state 
+0x4f27 011546 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f28 011547 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f29 011549 store 1 ,mem_sdp_state 
+0x4f2a 011550 copy timeup ,contw 
+0x4f2b 011551 arg l2cap_sdp_channel ,timeup 
+0x4f2c 011552 fetch 2 ,mem_sdp_remote_cid 
+0x4f2d 011553 copy pdata ,temp 
+0x4f2e 011554 branch l2cap_send_config_rsp 
+:      011555 l2cap_proc_signal_config_req_hid_ctrl:
+0x4f2f 011556 copy contw ,timeup 
+0x4f30 011557 fetch 1 ,mem_hid_control_state 
+0x4f31 011558 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f32 011559 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f33 011561 store 1 ,mem_hid_control_state 
+0x4f34 011562 copy timeup ,contw 
+0x4f35 011563 arg l2cap_hid_control_channel ,timeup 
+0x4f36 011564 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f37 011565 copy pdata ,temp 
+0x4f38 011566 branch l2cap_send_config_rsp 
+:      011567 l2cap_proc_signal_config_req_hid_int:
+0x4f39 011568 copy contw ,timeup 
+0x4f3a 011569 fetch 1 ,mem_hid_interrupt_state 
+0x4f3b 011570 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f3c 011571 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f3d 011573 store 1 ,mem_hid_interrupt_state 
+0x4f3e 011574 copy timeup ,contw 
+0x4f3f 011575 arg l2cap_hid_interrupt_channel ,timeup 
+0x4f40 011576 fetch 2 ,mem_hid_int_remote_cid 
+0x4f41 011577 copy pdata ,temp 
+0x4f42 011578 branch l2cap_send_config_rsp 
+:      011579 l2cap_proc_signal_config_req_rfcomm:
+0x4f43 011580 copy contw ,timeup 
+0x4f44 011581 fetch 1 ,mem_rfcomm_state 
+0x4f45 011582 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f46 011583 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f47 011585 store 1 ,mem_rfcomm_state 
+0x4f48 011587 copy timeup ,contw 
+0x4f49 011588 arg l2cap_rfcomm_channel ,timeup 
+0x4f4a 011589 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f4b 011590 copy pdata ,temp 
+:      011591 l2cap_send_config_rsp:
+0x4f4c 011592 set1 mark_ext_patch ,mark 
+0x4f4d 011593 bpatch patch23_5 ,mem_patch23 
+0x4f4e 011594 setarg signal_config_rsp 
+0x4f4f 011595 istore 1 ,contw 
+0x4f50 011596 copy queue ,pdata 
+0x4f51 011597 istore 1 ,contw 
+0x4f52 011598 setarg 0x0006 
+0x4f53 011599 istore 2 ,contw 
+0x4f54 011600 copy temp ,pdata 
+0x4f55 011601 istore 2 ,contw 
+0x4f56 011602 force 0x00 ,pdata 
+0x4f57 011603 istore 2 ,contw 
+0x4f58 011604 force l2cap_config_success ,pdata 
+0x4f59 011605 istore 2 ,contw 
+0x4f5a 011606 force 10 ,pdata 
+0x4f5b 011607 iadd regb ,regb 
+0x4f5c 011609 storet 2 ,mem_config_req_dest_cid 
+0x4f5d 011610 copy queue ,pdata 
+0x4f5e 011611 store 1 ,mem_config_identifier 
+0x4f5f 011612 force l2cap_sdp_channel ,pdata 
+0x4f60 011613 icompare 0xff ,timeup 
+0x4f61 011614 branch l2cap_send_config_rsp_is_sdp ,true 
+0x4f62 011615 increase 1 ,pdata 
+:      011616 l2cap_send_config_rsp_is_sdp:
+0x4f63 011618 rtn 
+:      011619 l2cap_check_channel_state:
+0x4f64 011620 disable user 
+0x4f65 011621 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x4f66 011622 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+0x4f67 011623 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+0x4f68 011624 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x4f69 011625 copy contr ,contw 
+0x4f6a 011626 increase -1 ,contw 
+0x4f6b 011627 istore 1 ,contw 
+0x4f6c 011628 enable user 
+0x4f6d 011629 rtn 
+:      011630 l2cap_send_config_req:
+:      011631 l2cap_send_config_req_sdp:
+0x4f6e 011632 fetch 1 ,mem_sdp_state 
+0x4f6f 011633 call l2cap_check_channel_state 
+0x4f70 011634 nbranch l2cap_send_config_req_rfcomm ,user 
+0x4f71 011635 jam l2cap_sdp_channel ,mem_send_config_req 
+0x4f72 011636 fetch 2 ,mem_sdp_remote_cid 
+0x4f73 011637 store 2 ,mem_config_req_dest_cid 
+0x4f74 011638 branch l2cap_generate_config_req 
+:      011639 l2cap_send_config_req_rfcomm:
+0x4f75 011640 fetch 1 ,mem_rfcomm_state 
+0x4f76 011641 call l2cap_check_channel_state 
+0x4f77 011642 nbranch l2cap_send_config_req_hid_ctrl ,user 
+0x4f78 011643 jam l2cap_rfcomm_channel ,mem_send_config_req 
+0x4f79 011644 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f7a 011645 store 2 ,mem_config_req_dest_cid 
+0x4f7b 011646 branch l2cap_generate_config_req 
+:      011647 l2cap_send_config_req_hid_ctrl:
+0x4f7c 011648 fetch 1 ,mem_hid_control_state 
+0x4f7d 011649 call l2cap_check_channel_state 
+0x4f7e 011650 nbranch l2cap_send_config_req_hid_int ,user 
+0x4f7f 011651 jam l2cap_hid_control_channel ,mem_send_config_req 
+0x4f80 011652 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f81 011653 store 2 ,mem_config_req_dest_cid 
+0x4f82 011654 branch l2cap_generate_config_req 
+:      011655 l2cap_send_config_req_hid_int:
+0x4f83 011656 fetch 1 ,mem_hid_interrupt_state 
+0x4f84 011657 call l2cap_check_channel_state 
+0x4f85 011658 nrtn user 
+0x4f86 011659 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+0x4f87 011660 fetch 2 ,mem_hid_int_remote_cid 
+0x4f88 011661 store 2 ,mem_config_req_dest_cid 
+:      011664 l2cap_generate_config_req:
+0x4f89 011665 set1 mark_ext_patch ,mark 
+0x4f8a 011666 bpatch patch23_6 ,mem_patch23 
+0x4f8b 011667 call l2cap_get_req_id 
+0x4f8c 011668 call l2cap_malloc_signal_channel 
+0x4f8d 011669 force 0 ,regb 
+0x4f8e 011670 call l2cap_get_signal_tx_payload 
+0x4f8f 011671 force signal_config_req ,pdata 
+0x4f90 011672 istore 1 ,contw 
+0x4f91 011673 fetch 1 ,mem_ml2cap_comm_id 
+0x4f92 011674 istore 1 ,contw 
+0x4f93 011675 setarg 0x0008 
+0x4f94 011676 istore 2 ,contw 
+0x4f95 011677 fetch 2 ,mem_config_req_dest_cid 
+0x4f96 011678 istore 2 ,contw 
+0x4f97 011679 setarg 0x0000 
+0x4f98 011680 istore 2 ,contw 
+0x4f99 011681 force 1 ,pdata 
+0x4f9a 011682 istore 1 ,contw 
+0x4f9b 011683 force 2 ,pdata 
+0x4f9c 011684 istore 1 ,contw 
+0x4f9d 011685 fetch 1 ,mem_send_config_req 
+0x4f9e 011686 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+0x4f9f 011687 setarg l2cap_config_mtu_sdp 
+0x4fa0 011688 istore 2 ,contw 
+0x4fa1 011689 branch l2cap_generate_config_req_done 
+:      011690 l2cap_generate_config_req_rfcomm:
+0x4fa2 011691 setarg l2cap_config_mtu_rfcomm 
+0x4fa3 011692 istore 2 ,contw 
+:      011693 l2cap_generate_config_req_done:
+0x4fa4 011694 arg 0x0c ,temp 
+0x4fa5 011695 storet 2 ,mem_l2cap_signal_tx_length 
+0x4fa6 011696 call l2cap_get_signal_tx_buff 
+0x4fa7 011697 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4fa8 011698 istore 2 ,contw 
+0x4fa9 011699 force l2cap_signal_channel ,pdata 
+0x4faa 011700 istore 2 ,contw 
+0x4fab 011701 jam 0 ,mem_send_config_req 
+:      011702 l2cap_proc_signal_config_req_rtn:
+0x4fac 011703 branch l2cap_process_one_signal_rtn 
+:      011705 l2cap_proc_signal_config_rsp:
+0x4fad 011706 increase 1 ,contr 
+0x4fae 011707 ifetch 2 ,contr 
+0x4faf 011708 copy pdata ,rega 
+0x4fb0 011709 copy regc ,pdata 
+0x4fb1 011710 isub rega ,regc 
+0x4fb2 011711 ifetch 2 ,contr 
+0x4fb3 011712 copy pdata ,rega 
+0x4fb4 011713 setarg l2cap_sdp_channel 
+0x4fb5 011714 isub rega ,null 
+0x4fb6 011715 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+0x4fb7 011716 setarg l2cap_rfcomm_channel 
+0x4fb8 011717 isub rega ,null 
+0x4fb9 011718 branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x4fba 011719 setarg l2cap_hid_control_channel 
+0x4fbb 011720 isub rega ,null 
+0x4fbc 011721 branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x4fbd 011722 setarg l2cap_hid_interrupt_channel 
+0x4fbe 011723 isub rega ,null 
+0x4fbf 011724 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+0x4fc0 011725 increase 2 ,contr 
+0x4fc1 011726 ifetch 2 ,contr 
+0x4fc2 011727 iforce null 
+0x4fc3 011728 branch l2cap_process_one_signal_rtn 
+:      011729 l2cap_proc_signal_config_rsp_sdp:
+0x4fc4 011730 fetch 1 ,mem_sdp_state 
+0x4fc5 011731 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fc6 011732 store 1 ,mem_sdp_state 
+0x4fc7 011733 branch l2cap_process_one_signal_rtn 
+:      011734 l2cap_proc_signal_config_rsp_rfcomm:
+0x4fc8 011735 fetch 1 ,mem_rfcomm_state 
+0x4fc9 011736 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fca 011737 store 1 ,mem_rfcomm_state 
+0x4fcb 011738 branch l2cap_process_one_signal_rtn 
+:      011739 l2cap_proc_signal_config_rsp_hid_ctrl:
+0x4fcc 011740 fetch 1 ,mem_hid_control_state 
+0x4fcd 011741 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fce 011742 store 1 ,mem_hid_control_state 
+0x4fcf 011743 branch l2cap_process_one_signal_rtn 
+:      011744 l2cap_proc_signal_config_rsp_hid_int:
+0x4fd0 011745 fetch 1 ,mem_hid_interrupt_state 
+0x4fd1 011746 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fd2 011747 store 1 ,mem_hid_interrupt_state 
+0x4fd3 011748 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x4fd4 011749 branch ui_ipc_send_event 
+:      011753 l2cap_proc_signal_disconnect_req:
+0x4fd5 011754 ifetch 1 ,contr 
+0x4fd6 011755 copy pdata ,queue 
+0x4fd7 011756 ifetch 2 ,contr 
+0x4fd8 011757 copy pdata ,rega 
+0x4fd9 011758 copy regc ,pdata 
+0x4fda 011759 isub rega ,regc 
+0x4fdb 011760 ifetch 2 ,contr 
+0x4fdc 011761 copy pdata ,rega 
+0x4fdd 011762 ifetch 2 ,contr 
+0x4fde 011763 copy pdata ,timeup 
+0x4fdf 011764 copy rega ,temp 
+0x4fe0 011765 call save_cont_pointers 
+0x4fe1 011766 setarg l2cap_sdp_channel 
+0x4fe2 011767 isub temp ,null 
+0x4fe3 011768 branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+0x4fe4 011769 setarg l2cap_rfcomm_channel 
+0x4fe5 011770 isub temp ,null 
+0x4fe6 011771 branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+0x4fe7 011772 setarg l2cap_hid_control_channel 
+0x4fe8 011773 isub temp ,null 
+0x4fe9 011774 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+0x4fea 011775 setarg l2cap_hid_interrupt_channel 
+0x4feb 011776 isub temp ,null 
+0x4fec 011777 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+0x4fed 011778 call l2cap_reject_command 
+0x4fee 011779 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      011780 l2cap_proc_signal_disconnect_req_hid_ctrl:
+0x4fef 011781 copy timeup ,temp 
+0x4ff0 011782 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4ff1 011783 isub temp ,null 
+0x4ff2 011784 branch l2cap_disconnect_hid_control_now ,zero 
+0x4ff3 011785 call l2cap_reject_command 
+0x4ff4 011786 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      011787 l2cap_proc_signal_disconnect_req_hid_int:
+0x4ff5 011788 copy timeup ,temp 
+0x4ff6 011789 fetch 2 ,mem_hid_int_remote_cid 
+0x4ff7 011790 isub temp ,null 
+0x4ff8 011791 branch l2cap_disconnect_hid_interrupt_now ,zero 
+0x4ff9 011792 call l2cap_reject_command 
+0x4ffa 011793 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      011795 l2cap_proc_signal_disconnect_req_sdp:
+0x4ffb 011796 copy timeup ,temp 
+0x4ffc 011797 fetch 2 ,mem_sdp_remote_cid 
+0x4ffd 011798 isub temp ,null 
+0x4ffe 011799 branch l2cap_disconnect_sdp_now ,zero 
+0x4fff 011800 call l2cap_reject_command 
+0x5000 011801 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      011802 l2cap_disconnect_hid_control_now:
+0x5001 011803 call l2cap_reset_hid_ctrl_state 
+0x5002 011804 branch l2cap_send_disconnect_rsp_pkt 
+:      011805 l2cap_disconnect_hid_interrupt_now:
+0x5003 011806 call l2cap_reset_hid_int_state 
+0x5004 011807 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5005 011808 branch l2cap_send_disconnect_rsp_pkt ,blank 
+0x5006 011816 branch l2cap_send_disconnect_rsp_pkt 
+:      011818 l2cap_disconnect_sdp_now:
+0x5007 011819 call l2cap_reset_sdp_channel_state 
+0x5008 011820 fetch 1 ,mem_upper_sm_ss 
+0x5009 011821 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+0x500a 011824 branch l2cap_send_disconnect_rsp_pkt 
+:      011825 l2cap_proc_signal_disconnect_req_rfcomm:
+0x500b 011826 copy timeup ,temp 
+0x500c 011827 fetch 2 ,mem_rfcomm_remote_cid 
+0x500d 011828 isub temp ,null 
+0x500e 011829 branch l2cap_disconnect_rfcomm_now ,zero 
+0x500f 011830 call l2cap_reject_command 
+0x5010 011831 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      011832 l2cap_disconnect_rfcomm_now:
+0x5011 011833 call l2cap_reset_rfcomm_channel_state 
+0x5012 011834 branch l2cap_send_disconnect_rsp_pkt 
+:      011835 l2cap_send_disconnect_rsp_pkt:
+0x5013 011836 call load_cont_pointers 
+0x5014 011837 setarg signal_disconnect_rsp 
+0x5015 011838 istore 1 ,contw 
+0x5016 011839 copy queue ,pdata 
+0x5017 011840 istore 1 ,contw 
+0x5018 011841 setarg 0x0004 
+0x5019 011842 istore 2 ,contw 
+0x501a 011843 copy rega ,pdata 
+0x501b 011844 istore 2 ,contw 
+0x501c 011845 copy timeup ,pdata 
+0x501d 011846 istore 2 ,contw 
+0x501e 011847 force 8 ,pdata 
+0x501f 011848 branch l2cap_proc_signal_disconnect_req_rtn 
+:      011849 l2cap_proc_signal_disconnect_req_err_rtn:
+0x5020 011850 call load_cont_pointers 
+0x5021 011851 branch l2cap_proc_signal_disconnect_req_rtn 
+:      011852 l2cap_proc_signal_disconnect_req_rtn:
+0x5022 011853 iadd regb ,regb 
+0x5023 011854 branch l2cap_process_one_signal_rtn 
+:      011855 l2cap_proc_signal_disconnect_rsp:
+0x5024 011856 ifetch 1 ,contr 
+0x5025 011857 copy pdata ,queue 
+0x5026 011858 ifetch 2 ,contr 
+0x5027 011859 copy pdata ,rega 
+0x5028 011860 copy regc ,pdata 
+0x5029 011861 isub rega ,regc 
+0x502a 011862 ifetch 2 ,contr 
+0x502b 011863 copy pdata ,timeup 
+0x502c 011864 ifetch 2 ,contr 
+0x502d 011865 copy pdata ,temp 
+0x502e 011866 call save_cont_pointers 
+0x502f 011867 setarg l2cap_sdp_channel 
+0x5030 011868 isub temp ,null 
+0x5031 011869 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+0x5032 011870 setarg l2cap_rfcomm_channel 
+0x5033 011871 isub temp ,null 
+0x5034 011872 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+0x5035 011873 setarg l2cap_hid_control_channel 
+0x5036 011874 isub temp ,null 
+0x5037 011875 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+0x5038 011876 setarg l2cap_hid_interrupt_channel 
+0x5039 011877 isub temp ,null 
+0x503a 011878 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+0x503b 011879 call l2cap_reject_command 
+0x503c 011880 branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+:      011881 l2cap_proc_signal_disconnect_rsp_sdp:
+0x503d 011882 copy temp ,rega 
+0x503e 011883 copy timeup ,temp 
+0x503f 011884 fetch 2 ,mem_sdp_remote_cid 
+0x5040 011885 isub temp ,null 
+0x5041 011886 call l2cap_reset_sdp_channel_state ,zero 
+0x5042 011887 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      011888 l2cap_proc_signal_disconnect_rsp_rfcomm:
+0x5043 011889 copy temp ,rega 
+0x5044 011890 copy timeup ,temp 
+0x5045 011891 fetch 2 ,mem_rfcomm_remote_cid 
+0x5046 011892 isub temp ,null 
+0x5047 011893 call l2cap_reset_rfcomm_channel_state ,zero 
+0x5048 011894 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      011895 l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+0x5049 011896 copy temp ,rega 
+0x504a 011897 copy timeup ,temp 
+0x504b 011898 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x504c 011899 isub temp ,null 
+0x504d 011900 call l2cap_reset_hid_ctrl_state ,zero 
+0x504e 011901 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      011902 l2cap_proc_signal_disconnect_rsp_hid_int:
+0x504f 011903 copy temp ,rega 
+0x5050 011904 copy timeup ,temp 
+0x5051 011905 fetch 2 ,mem_hid_int_remote_cid 
+0x5052 011906 isub temp ,null 
+0x5053 011907 call l2cap_reset_hid_int_state ,zero 
+0x5054 011908 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      011909 l2cap_proc_signal_disconnect_rsp_rtn:
+0x5055 011910 call load_cont_pointers 
+0x5056 011911 branch l2cap_process_one_signal_rtn 
+:      011912 l2cap_proc_signal_disconnect_rsp_err_rtn:
+0x5057 011913 branch l2cap_process_one_signal_rtn 
+:      011916 l2cap_proc_signal_echo_req:
+0x5058 011917 ifetch 1 ,contr 
+0x5059 011918 copy pdata ,queue 
+0x505a 011919 ifetch 2 ,contr 
+0x505b 011920 copy pdata ,rega 
+0x505c 011921 iadd contr ,contr 
+0x505d 011922 setarg 9 
+0x505e 011923 istore 1 ,contw 
+0x505f 011924 copy queue ,pdata 
+0x5060 011925 istore 1 ,contw 
+0x5061 011926 force 0x0000 ,pdata 
+0x5062 011927 istore 2 ,contw 
+0x5063 011928 force 4 ,pdata 
+0x5064 011929 iadd regb ,regb 
+0x5065 011930 copy regc ,pdata 
+0x5066 011931 isub rega ,regc 
+0x5067 011932 branch l2cap_process_one_signal_rtn 
+:      011933 l2cap_proc_signal_echo_rsp:
+0x5068 011934 branch l2cap_process_one_signal_rtn 
+:      011936 l2cap_proc_signal_info_rsp:
+0x5069 011937 branch l2cap_process_one_signal_rtn 
+:      011938 l2cap_reject_command:
+0x506a 011939 force 0 ,regb 
+0x506b 011940 call l2cap_get_signal_tx_payload 
+0x506c 011941 setarg signal_cmd_reject 
+0x506d 011942 istore 1 ,contw 
+0x506e 011943 copy queue ,pdata 
+0x506f 011944 istore 1 ,contw 
+0x5070 011945 setarg 2 
+0x5071 011946 istore 2 ,contw 
+0x5072 011947 setarg cmd_not_understood 
+0x5073 011948 istore 2 ,contw 
+0x5074 011949 increase 6 ,regb 
+0x5075 011950 arg 4 ,regc 
+0x5076 011951 branch l2cap_process_one_signal_rtn 
+:      011955 l2cap_reset_rfcomm_channel_state:
+0x5077 011956 setarg 0 
+0x5078 011957 store 2 ,mem_rfcomm_tx_pkt_length 
+0x5079 011958 store 2 ,mem_rfcomm_remote_cid 
+0x507a 011959 jam 0 ,mem_rfcomm_state 
+0x507b 011960 rtn 
+:      011961 l2cap_reset_sdp_channel_state:
+0x507c 011962 setarg 0 
+0x507d 011963 store 2 ,mem_sdp_tx_pkt_length 
+0x507e 011964 store 2 ,mem_sdp_remote_cid 
+0x507f 011965 jam 0 ,mem_sdp_state 
+0x5080 011966 rtn 
+:      011967 l2cap_reset_hid_ctrl_state:
+0x5081 011968 setarg 0 
+0x5082 011969 store 2 ,mem_hid_ctrl_remote_cid 
+0x5083 011970 jam 0 ,mem_hid_control_state 
+0x5084 011971 fetch 1 ,mem_hid_interrupt_state 
+0x5085 011972 beq 0 ,l2cap_reset_hid_disconnected 
+0x5086 011973 rtn 
+:      011975 l2cap_reset_hid_int_state:
+0x5087 011976 setarg 0 
+0x5088 011977 store 2 ,mem_hid_int_remote_cid 
+0x5089 011978 jam 0 ,mem_hid_interrupt_state 
+0x508a 011979 fetch 1 ,mem_hid_control_state 
+0x508b 011980 beq 0 ,l2cap_reset_hid_disconnected 
+0x508c 011981 rtn 
+:      011983 l2cap_reset_hid_disconnected:
+0x508d 011984 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+0x508e 011985 branch ui_ipc_send_event 
+:      011987 l2cap_disconnect_interrupt_req:
+0x508f 011988 fetch 1 ,mem_control_tasks 
+0x5090 011989 set0 l2cap_disconnect_interrupt ,pdata 
+0x5091 011990 store 1 ,mem_control_tasks 
+0x5092 011991 fetch 2 ,mem_hid_int_remote_cid 
+0x5093 011992 rtn blank 
+0x5094 011993 call l2cap_malloc_signal_channel 
+0x5095 011994 fetch 2 ,mem_hid_int_remote_cid 
+0x5096 011995 copy pdata ,rega 
+0x5097 011996 force l2cap_hid_interrupt_channel ,regb 
+0x5098 011997 branch l2cap_generate_disconnect_req 
+:      011998 l2cap_disconnect_control_req:
+0x5099 011999 fetch 1 ,mem_control_tasks 
+0x509a 012000 set0 l2cap_disconnect_control ,pdata 
+0x509b 012001 store 1 ,mem_control_tasks 
+0x509c 012002 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x509d 012003 rtn blank 
+0x509e 012004 call l2cap_malloc_signal_channel 
+0x509f 012005 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x50a0 012006 copy pdata ,rega 
+0x50a1 012007 force l2cap_hid_control_channel ,regb 
+:      012008 l2cap_generate_disconnect_req:
+0x50a2 012009 call l2cap_get_req_id 
+0x50a3 012010 call l2cap_get_signal_tx_payload 
+0x50a4 012011 force signal_disconnect_req ,pdata 
+0x50a5 012012 istore 1 ,contw 
+0x50a6 012013 fetch 1 ,mem_ml2cap_comm_id 
+0x50a7 012014 istore 1 ,contw 
+0x50a8 012015 setarg 0x0004 
+0x50a9 012016 istore 2 ,contw 
+0x50aa 012017 copy rega ,pdata 
+0x50ab 012018 istore 2 ,contw 
+0x50ac 012019 copy regb ,pdata 
+0x50ad 012020 istore 2 ,contw 
+0x50ae 012021 force 0x08 ,temp 
+0x50af 012022 branch ml2cap_send_signal 
+:      012024 ml2cap_send_signal_connect_req:
+0x50b0 012025 set1 mark_ext_patch ,mark 
+0x50b1 012026 bpatch patch23_7 ,mem_patch23 
+0x50b2 012027 call l2cap_get_req_id 
+0x50b3 012028 call l2cap_get_signal_tx_payload 
+0x50b4 012029 setarg signal_connect_req 
+0x50b5 012030 istore 1 ,contw 
+0x50b6 012031 fetch 1 ,mem_ml2cap_comm_id 
+0x50b7 012032 istore 1 ,contw 
+0x50b8 012033 setarg 0x0004 
+0x50b9 012034 istore 2 ,contw 
+0x50ba 012035 copy temp ,pdata 
+0x50bb 012036 istore 2 ,contw 
+0x50bc 012037 copy timeup ,pdata 
+0x50bd 012038 istore 2 ,contw 
+0x50be 012039 arg 8 ,temp 
+0x50bf 012040 branch ml2cap_send_signal 
+:      012041 ml2cap_send_signal_config_req:
+0x50c0 012042 set1 mark_ext_patch ,mark 
+0x50c1 012043 bpatch patch24_0 ,mem_patch24 
+0x50c2 012044 call l2cap_get_req_id 
+0x50c3 012045 call l2cap_get_signal_tx_payload 
+0x50c4 012046 setarg signal_config_req 
+0x50c5 012047 istore 1 ,contw 
+0x50c6 012048 fetch 1 ,mem_ml2cap_comm_id 
+0x50c7 012049 istore 1 ,contw 
+0x50c8 012050 setarg 0x0008 
+0x50c9 012051 istore 2 ,contw 
+0x50ca 012053 copy temp ,pdata 
+0x50cb 012055 istore 2 ,contw 
+0x50cc 012056 setarg 0x0000 
+0x50cd 012057 istore 2 ,contw 
+0x50ce 012058 setarg 0x01 
+0x50cf 012059 istore 1 ,contw 
+0x50d0 012060 setarg 0x02 
+0x50d1 012061 istore 1 ,contw 
+0x50d2 012062 setarg l2cap_config_mtu_rfcomm 
+0x50d3 012063 istore 2 ,contw 
+0x50d4 012064 arg 0xc ,temp 
+0x50d5 012065 branch ml2cap_send_signal 
+:      012066 ml2cap_send_signal_disconn_req:
+0x50d6 012067 set1 mark_ext_patch ,mark 
+0x50d7 012068 bpatch patch24_1 ,mem_patch24 
+0x50d8 012069 call l2cap_get_req_id 
+0x50d9 012070 call l2cap_get_signal_tx_payload 
+0x50da 012071 setarg signal_disconnect_req 
+0x50db 012072 istore 1 ,contw 
+0x50dc 012073 fetch 1 ,mem_ml2cap_comm_id 
+0x50dd 012074 increase 1 ,pdata 
+0x50de 012075 copy contw ,rega 
+0x50df 012076 store 1 ,mem_ml2cap_comm_id 
+0x50e0 012077 copy rega ,contw 
+0x50e1 012078 istore 1 ,contw 
+0x50e2 012079 setarg 0x0004 
+0x50e3 012080 istore 2 ,contw 
+0x50e4 012081 copy temp ,pdata 
+0x50e5 012082 istore 2 ,contw 
+0x50e6 012083 copy timeup ,pdata 
+0x50e7 012084 istore 2 ,contw 
+0x50e8 012085 arg 0x8 ,temp 
+:      012088 ml2cap_send_signal:
+0x50e9 012089 storet 2 ,mem_l2cap_signal_tx_length 
+0x50ea 012090 copy temp ,pdata 
+0x50eb 012091 branch l2cap_malloc_discard ,blank 
+0x50ec 012092 call l2cap_get_signal_tx_buff 
+0x50ed 012093 fetch 2 ,mem_l2cap_signal_tx_length 
+0x50ee 012094 istore 2 ,contw 
+0x50ef 012095 force l2cap_signal_channel ,pdata 
+0x50f0 012096 istore 2 ,contw 
+0x50f1 012097 rtn 
+:      012099 msdp_send_req_done:
+0x50f2 012100 fetch 2 ,mem_sdp_tx_pkt_length 
+0x50f3 012101 branch assert ,blank 
+0x50f4 012102 call l2cap_get_sdp_tx_buff 
+0x50f5 012103 fetch 2 ,mem_sdp_tx_pkt_length 
+0x50f6 012104 istore 2 ,contw 
+0x50f7 012105 fetch 2 ,mem_sdp_remote_cid 
+0x50f8 012106 istore 2 ,contw 
+0x50f9 012107 rtn 
+:      012108 ml2cap_rx_multiplexing:
+0x50fa 012109 set1 mark_ext_patch ,mark 
+0x50fb 012110 bpatch patch24_2 ,mem_patch24 
+0x50fc 012111 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x50fd 012112 branch l2cap_rx_reset_state ,blank 
+0x50fe 012113 fetch 1 ,mem_l2cap_rx_cid 
+0x50ff 012114 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+0x5100 012115 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x5101 012116 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x5102 012117 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x5103 012118 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x5104 012119 branch l2cap_rx_reset_state 
+:      012121 ml2cap_call_proc_signal:
+0x5105 012122 set1 mark_ext_patch ,mark 
+0x5106 012123 bpatch patch24_3 ,mem_patch24 
+0x5107 012124 call l2cap_malloc_signal_channel 
+0x5108 012125 force 0 ,regb 
+0x5109 012126 call l2cap_get_signal_tx_payload 
+0x510a 012127 copy pdata ,contw 
+0x510b 012128 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x510c 012129 copy pdata ,regc 
+0x510d 012130 fetch 2 ,mem_l2cap_payload_ptr 
+0x510e 012131 iforce contr 
+:      012132 ml2cap_proc_one_comm_loop:
+0x510f 012133 call ml2cap_proc_one_comm 
+0x5110 012134 increase -4 ,regc 
+0x5111 012135 nbranch ml2cap_proc_one_comm_loop ,zero 
+0x5112 012136 copy regb ,temp 
+0x5113 012137 call ml2cap_send_signal 
+0x5114 012138 branch l2cap_rx_reset_state 
+:      012140 ml2cap_proc_one_comm:
+0x5115 012141 ifetch 1 ,contr 
+0x5116 012142 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+0x5117 012143 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+0x5118 012144 beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+0x5119 012145 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+0x511a 012146 beq signal_config_req ,ml2cap_proc_signal_config_req 
+0x511b 012147 beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+0x511c 012148 beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+0x511d 012149 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x511e 012150 beq signal_info_req ,ml2cap_proc_signal_info_req 
+0x511f 012151 branch ml2cap_proc_send_reject 
+:      012153 ml2cap_proc_signal_connect_req:
+0x5120 012154 call save_cont_pointers 
+0x5121 012156 call load_cont_pointers 
+0x5122 012157 branch l2cap_proc_signal_connect_req 
+:      012158 ml2cap_proc_signal_cmd_reject:
+0x5123 012159 ifetch 1 ,contr 
+0x5124 012160 copy pdata ,queue 
+0x5125 012161 ifetch 2 ,contr 
+0x5126 012162 copy pdata ,rega 
+0x5127 012163 copy regc ,pdata 
+0x5128 012164 isub rega ,regc 
+:      012165 mvptr:
+0x5129 012166 ifetch 1 ,contr 
+0x512a 012167 increase -1 ,rega 
+0x512b 012168 nbranch mvptr ,zero 
+0x512c 012169 rtn 
+:      012170 ml2cap_proc_signal_connect_rsp:
+0x512d 012171 ifetch 1 ,contr 
+0x512e 012172 copy pdata ,queue 
+0x512f 012173 ifetch 2 ,contr 
+0x5130 012174 copy pdata ,rega 
+0x5131 012175 ifetch 2 ,contr 
+0x5132 012176 copy pdata ,timeup 
+0x5133 012177 ifetch 2 ,contr 
+0x5134 012178 copy pdata ,temp 
+0x5135 012179 ifetch 2 ,contr 
+0x5136 012180 sub pdata ,0 ,null 
+0x5137 012181 branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+0x5138 012182 beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+0x5139 012183 beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+0x513a 012184 branch ml2cap_proc_signal_connect_rsp_mnosucc 
+:      012185 ml2cap_proc_signal_connect_refused_result:
+0x513b 012186 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+0x513c 012187 call ui_ipc_send_event 
+:      012188 ml2cap_proc_signal_connect_rsp_mnosucc:
+0x513d 012189 ifetch 2 ,contr 
+0x513e 012190 branch mnosucc 
+:      012191 ml2cap_proc_signal_connect_rsp_sucessful:
+0x513f 012192 call save_cont_pointers 
+0x5140 012196 setarg l2cap_sdp_channel 
+0x5141 012197 isub temp ,null 
+0x5142 012198 branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+0x5143 012199 setarg l2cap_rfcomm_channel 
+0x5144 012200 isub temp ,null 
+0x5145 012201 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x5146 012202 setarg l2cap_hid_interrupt_channel 
+0x5147 012203 isub temp ,null 
+0x5148 012204 branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x5149 012205 setarg l2cap_hid_control_channel 
+0x514a 012206 isub temp ,null 
+0x514b 012207 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x514c 012208 branch mnosucc 
+:      012209 ml2cap_proc_signal_connect_rsp_sdp:
+0x514d 012210 copy timeup ,pdata 
+0x514e 012211 store 2 ,mem_sdp_remote_cid 
+0x514f 012212 fetch 1 ,mem_sdp_state 
+0x5150 012213 set1 l2cap_channel_state_conn_res 
+0x5151 012214 store 1 ,mem_sdp_state 
+0x5152 012215 branch mnosucc1 
+:      012216 ml2cap_proc_signal_connect_rsp_rfcomm:
+0x5153 012217 copy timeup ,pdata 
+0x5154 012218 store 2 ,mem_rfcomm_remote_cid 
+0x5155 012219 fetch 1 ,mem_rfcomm_state 
+0x5156 012220 set1 l2cap_channel_state_conn_res 
+0x5157 012221 store 1 ,mem_rfcomm_state 
+0x5158 012222 branch mnosucc1 
+:      012223 ml2cap_proc_signal_connect_rsp_hid_ctrl:
+0x5159 012224 copy timeup ,pdata 
+0x515a 012225 store 2 ,mem_hid_ctrl_remote_cid 
+0x515b 012226 fetch 1 ,mem_hid_control_state 
+0x515c 012227 set1 l2cap_channel_state_conn_res 
+0x515d 012228 store 1 ,mem_hid_control_state 
+0x515e 012229 branch mnosucc1 
+:      012230 ml2cap_proc_signal_connect_rsp_hid_int:
+0x515f 012231 copy timeup ,pdata 
+0x5160 012232 store 2 ,mem_hid_int_remote_cid 
+0x5161 012233 fetch 1 ,mem_hid_interrupt_state 
+0x5162 012234 set1 l2cap_channel_state_conn_res 
+0x5163 012235 store 1 ,mem_hid_interrupt_state 
+:      012238 mnosucc1:
+0x5164 012239 call load_cont_pointers 
+:      012240 mnosucc:
+0x5165 012241 copy regc ,pdata 
+0x5166 012242 isub rega ,regc 
+0x5167 012243 rtn 
+:      012245 ml2cap_proc_signal_config_rsp:
+0x5168 012246 ifetch 1 ,contr 
+0x5169 012247 copy pdata ,queue 
+0x516a 012248 ifetch 2 ,contr 
+0x516b 012249 copy pdata ,rega 
+0x516c 012250 copy regc ,pdata 
+0x516d 012251 isub rega ,regc 
+0x516e 012252 ifetch 2 ,contr 
+0x516f 012253 copy pdata ,timeup 
+0x5170 012254 ifetch 2 ,contr 
+0x5171 012255 ifetch 2 ,contr 
+0x5172 012256 nbranch mcrsdone1 ,blank 
+0x5173 012257 call save_cont_pointers 
+0x5174 012261 copy timeup ,temp 
+0x5175 012262 setarg l2cap_sdp_channel 
+0x5176 012263 isub temp ,null 
+0x5177 012264 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+0x5178 012265 setarg l2cap_rfcomm_channel 
+0x5179 012266 isub temp ,null 
+0x517a 012267 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x517b 012268 setarg l2cap_hid_control_channel 
+0x517c 012269 isub temp ,null 
+0x517d 012270 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x517e 012271 setarg l2cap_hid_interrupt_channel 
+0x517f 012272 isub temp ,null 
+0x5180 012273 branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+:      012274 ml2cap_proc_signal_config_rsp_sdp:
+0x5181 012275 fetch 1 ,mem_sdp_state 
+0x5182 012276 set1 l2cap_channel_state_rcv_cfg_res 
+0x5183 012277 store 1 ,mem_sdp_state 
+0x5184 012278 rtn 
+:      012279 ml2cap_proc_signal_config_rsp_rfcomm:
+0x5185 012280 fetch 1 ,mem_rfcomm_state 
+0x5186 012281 set1 l2cap_channel_state_rcv_cfg_res 
+0x5187 012282 store 1 ,mem_rfcomm_state 
+0x5188 012283 rtn 
+:      012284 ml2cap_proc_signal_config_rsp_hid_ctrl:
+0x5189 012285 fetch 1 ,mem_hid_control_state 
+0x518a 012286 set1 l2cap_channel_state_rcv_cfg_res 
+0x518b 012287 store 1 ,mem_hid_control_state 
+0x518c 012288 rtn 
+:      012289 ml2cap_proc_signal_config_rsp_hid_int:
+0x518d 012290 fetch 1 ,mem_hid_interrupt_state 
+0x518e 012291 set1 l2cap_channel_state_rcv_cfg_res 
+0x518f 012292 store 1 ,mem_hid_interrupt_state 
+0x5190 012293 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5191 012294 branch ui_ipc_send_event 
+:      012297 mcfrsdone:
+0x5192 012298 call load_cont_pointers 
+:      012299 mcrsdone1:
+0x5193 012300 increase -6 ,rega 
+:      012301 mloop2:
+0x5194 012302 branch mcrsdone ,zero 
+0x5195 012303 increase 1 ,contr 
+0x5196 012304 increase -1 ,rega 
+0x5197 012305 branch mloop2 
+:      012306 mcrsdone:
+0x5198 012307 rtn 
+:      012308 ml2cap_proc_signal_config_req:
+0x5199 012309 ifetch 1 ,contr 
+0x519a 012310 copy pdata ,queue 
+0x519b 012311 ifetch 2 ,contr 
+0x519c 012312 copy pdata ,rega 
+0x519d 012313 copy regc ,pdata 
+0x519e 012314 isub rega ,regc 
+0x519f 012315 ifetch 2 ,contr 
+0x51a0 012316 increase 2 ,contr 
+0x51a1 012317 copy pdata ,temp 
+0x51a2 012318 setarg signal_config_rsp 
+0x51a3 012319 istore 1 ,contw 
+0x51a4 012320 copy queue ,pdata 
+0x51a5 012321 istore 1 ,contw 
+0x51a6 012322 increase 2 ,rega 
+0x51a7 012323 copy rega ,pdata 
+0x51a8 012324 istore 2 ,contw 
+0x51a9 012325 call save_cont_pointers 
+0x51aa 012326 setarg l2cap_sdp_channel 
+0x51ab 012327 isub temp ,null 
+0x51ac 012328 branch ml2cap_proc_signal_config_req_sdp ,zero 
+0x51ad 012329 setarg l2cap_rfcomm_channel 
+0x51ae 012330 isub temp ,null 
+0x51af 012331 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+0x51b0 012332 setarg l2cap_hid_control_channel 
+0x51b1 012333 isub temp ,null 
+0x51b2 012334 branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x51b3 012335 setarg l2cap_hid_interrupt_channel 
+0x51b4 012336 isub temp ,null 
+0x51b5 012337 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+0x51b6 012338 branch mcfgrq_done 
+:      012339 ml2cap_proc_signal_config_req_sdp:
+0x51b7 012340 fetch 1 ,mem_sdp_state 
+0x51b8 012341 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51b9 012342 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51ba 012343 store 1 ,mem_sdp_state 
+0x51bb 012344 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+0x51bc 012345 fetcht 1 ,mem_control_tasks 
+0x51bd 012346 set1 l2cap_init_config_req ,temp 
+0x51be 012347 storet 1 ,mem_control_tasks 
+0x51bf 012348 copy queue ,pdata 
+0x51c0 012349 increase 1 ,pdata 
+0x51c1 012350 store 1 ,mem_config_identifier 
+0x51c2 012351 fetch 1 ,mem_sdp_state 
+0x51c3 012352 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x51c4 012353 store 1 ,mem_sdp_state 
+:      012354 ml2cap_proc_signal_config_req_sdp_nsndreq:
+0x51c5 012355 fetch 2 ,mem_sdp_remote_cid 
+0x51c6 012356 store 2 ,mem_config_req_dest_cid 
+0x51c7 012357 branch mcfgrq_done 
+:      012358 ml2cap_proc_signal_config_req_rfcomm:
+0x51c8 012359 fetch 1 ,mem_rfcomm_state 
+0x51c9 012360 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51ca 012361 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51cb 012362 store 1 ,mem_rfcomm_state 
+0x51cc 012363 fetch 2 ,mem_rfcomm_remote_cid 
+0x51cd 012364 branch mcfgrq_done 
+:      012365 ml2cap_proc_signal_config_req_hid_ctrl:
+0x51ce 012366 fetch 1 ,mem_hid_control_state 
+0x51cf 012367 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51d0 012368 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51d1 012369 store 1 ,mem_hid_control_state 
+0x51d2 012370 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x51d3 012371 branch mcfgrq_done 
+:      012372 ml2cap_proc_signal_config_req_hid_int:
+0x51d4 012373 fetch 1 ,mem_hid_interrupt_state 
+0x51d5 012374 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51d6 012375 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51d7 012376 store 1 ,mem_hid_interrupt_state 
+0x51d8 012377 fetch 2 ,mem_hid_int_remote_cid 
+:      012380 mcfgrq_done:
+0x51d9 012381 copy pdata ,timeup 
+0x51da 012382 call load_cont_pointers 
+0x51db 012384 copy timeup ,pdata 
+0x51dc 012386 istore 2 ,contw 
+0x51dd 012387 force 0x0000 ,pdata 
+0x51de 012388 istore 2 ,contw 
+0x51df 012389 force 0x0000 ,pdata 
+0x51e0 012390 istore 2 ,contw 
+0x51e1 012391 force 10 ,pdata 
+0x51e2 012392 iadd regb ,regb 
+0x51e3 012393 increase -6 ,rega 
+:      012394 mloop1:
+0x51e4 012395 branch mcrqdone ,zero 
+0x51e5 012396 ifetch 1 ,contr 
+0x51e6 012397 istore 1 ,contw 
+0x51e7 012398 increase 1 ,regb 
+0x51e8 012399 increase -1 ,rega 
+0x51e9 012400 branch mloop1 
+:      012401 mcrqdone:
+0x51ea 012402 rtn 
+:      012403 ml2cap_proc_signal_disconn_req:
+0x51eb 012404 ifetch 1 ,contr 
+0x51ec 012405 copy pdata ,queue 
+0x51ed 012406 ifetch 2 ,contr 
+0x51ee 012407 copy pdata ,rega 
+0x51ef 012408 copy regc ,pdata 
+0x51f0 012409 isub rega ,regc 
+0x51f1 012411 ifetch 2 ,contr 
+0x51f2 012412 copy pdata ,rega 
+0x51f3 012413 ifetch 2 ,contr 
+0x51f4 012414 copy pdata ,timeup 
+0x51f5 012415 call save_cont_pointers 
+0x51f6 012416 setarg l2cap_sdp_channel 
+0x51f7 012417 copy rega ,temp 
+0x51f8 012418 isub temp ,null 
+0x51f9 012419 branch ml2cap_proc_signal_disconn_sdp ,zero 
+0x51fa 012420 setarg l2cap_hid_control_channel 
+0x51fb 012421 copy rega ,temp 
+0x51fc 012422 isub temp ,null 
+0x51fd 012423 branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+0x51fe 012424 setarg l2cap_hid_interrupt_channel 
+0x51ff 012425 copy rega ,temp 
+0x5200 012426 isub temp ,null 
+0x5201 012427 branch ml2cap_proc_signal_disconn_hid_int ,zero 
+0x5202 012428 branch mclsrfc 
+:      012429 ml2cap_proc_signal_disconn_sdp:
+0x5203 012430 setarg 0x0000 
+0x5204 012431 store 2 ,mem_sdp_tx_pkt_length 
+0x5205 012432 store 2 ,mem_sdp_remote_cid 
+0x5206 012433 store 1 ,mem_sdp_state 
+0x5207 012434 branch mclssdp 
+:      012435 ml2cap_proc_signal_disconn_hid_ctrl:
+0x5208 012436 call l2cap_reset_hid_ctrl_state 
+0x5209 012437 branch mclssdp 
+:      012438 ml2cap_proc_signal_disconn_hid_int:
+0x520a 012439 call l2cap_reset_hid_int_state 
+0x520b 012445 branch mclssdp 
+:      012446 mclsrfc:
+0x520c 012447 setarg 0x0000 
+0x520d 012448 store 2 ,mem_rfcomm_tx_pkt_length 
+:      012449 mclssdp:
+0x520e 012450 call load_cont_pointers 
+0x520f 012451 setarg signal_disconnect_rsp 
+0x5210 012452 istore 1 ,contw 
+0x5211 012453 copy queue ,pdata 
+0x5212 012454 istore 1 ,contw 
+0x5213 012455 setarg 0x0004 
+0x5214 012456 istore 2 ,contw 
+0x5215 012457 copy rega ,pdata 
+0x5216 012458 istore 2 ,contw 
+0x5217 012459 copy timeup ,pdata 
+0x5218 012460 istore 2 ,contw 
+0x5219 012461 force 8 ,pdata 
+0x521a 012462 iadd regb ,regb 
+0x521b 012463 rtn 
+:      012465 ml2cap_proc_signal_disconn_rsp:
+0x521c 012466 ifetch 1 ,contr 
+0x521d 012467 copy pdata ,queue 
+0x521e 012468 ifetch 2 ,contr 
+0x521f 012469 copy pdata ,rega 
+0x5220 012470 ifetch 2 ,contr 
+0x5221 012471 copy pdata ,timeup 
+0x5222 012472 ifetch 2 ,contr 
+0x5223 012473 copy pdata ,temp 
+0x5224 012474 call save_cont_pointers 
+0x5225 012475 fetch 1 ,mem_ml2cap_comm_id 
+0x5226 012476 icompare 0xff ,queue 
+0x5227 012477 nbranch mdisdone ,true 
+0x5228 012478 setarg l2cap_sdp_channel 
+0x5229 012479 isub temp ,null 
+0x522a 012480 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+0x522b 012481 setarg l2cap_rfcomm_channel 
+0x522c 012482 isub temp ,null 
+0x522d 012483 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+0x522e 012484 branch mdisdone 
+:      012485 ml2cap_proc_signal_disconn_rsp_sdp:
+0x522f 012486 jam 0 ,mem_sdp_remote_cid 
+0x5230 012487 jam 0 ,mem_sdp_state 
+0x5231 012488 branch mdisdone 
+:      012489 ml2cap_proc_signal_disconn_rsp_rfcomm:
+:      012492 mdisdone:
+0x5232 012493 call load_cont_pointers 
+0x5233 012494 copy regc ,pdata 
+0x5234 012495 isub rega ,regc 
+0x5235 012496 rtn 
+:      012498 ml2cap_proc_send_reject:
+0x5236 012499 setarg signal_cmd_reject 
+0x5237 012500 istore 1 ,contw 
+0x5238 012501 ifetch 1 ,contr 
+0x5239 012502 istore 1 ,contw 
+0x523a 012503 setarg 0x0002 
+0x523b 012504 istore 2 ,contw 
+0x523c 012505 setarg 0x0000 
+0x523d 012506 istore 2 ,contw 
+0x523e 012507 setarg 0x0006 
+0x523f 012508 iadd regb ,regb 
+0x5240 012509 force 4 ,regc 
+0x5241 012510 rtn 
+:      012513 l2cap_get_req_id:
+0x5242 012514 fetch 1 ,mem_ml2cap_comm_id 
+0x5243 012515 increase 1 ,pdata 
+0x5244 012516 bne 0 ,l2cap_get_req_id_ok 
+0x5245 012517 increase 1 ,pdata 
+:      012518 l2cap_get_req_id_ok:
+0x5246 012519 store 1 ,mem_ml2cap_comm_id 
+0x5247 012520 rtn 
+:      012530 l2cap_malloc:
+0x5248 012531 set1 mark_ext_patch ,mark 
+0x5249 012532 bpatch patch24_4 ,mem_patch24 
+0x524a 012533 arg 0 ,regb 
+0x524b 012534 call l2cap_malloc_is_fifo_full 
+0x524c 012535 nbranch assert ,blank 
+0x524d 012536 call l2cap_malloc_get_full_map 
+0x524e 012537 arg mem_tx_buff0 ,regb 
+0x524f 012538 arg 0 ,queue 
+:      012539 l2cap_malloc_loop:
+0x5250 012540 fetcht 1 ,mem_used_map 
+0x5251 012541 qisolate1 temp 
+0x5252 012542 branch l2cap_malloc_next ,true 
+0x5253 012543 call l2cap_malloc_enough 
+0x5254 012544 sub timeup ,0 ,null 
+0x5255 012545 branch l2cap_malloc_next ,positive 
+0x5256 012546 call l2cap_malloc_into_fifo 
+0x5257 012547 branch l2cap_malloc_rtn 
+:      012548 l2cap_malloc_next:
+0x5258 012549 increase 128 ,regb 
+0x5259 012550 increase 1 ,queue 
+0x525a 012551 setarg 8 
+0x525b 012552 isub queue ,null 
+0x525c 012553 branch l2cap_malloc_loop ,positive 
+0x525d 012554 arg 0 ,regb 
+:      012555 l2cap_malloc_rtn:
+0x525e 012556 copy regb ,pdata 
+0x525f 012557 branch assert ,blank 
+0x5260 012558 rtn 
+:      012566 l2cap_malloc_fifo_out:
+0x5261 012567 set1 mark_ext_patch ,mark 
+0x5262 012568 bpatch patch24_5 ,mem_patch24 
+0x5263 012569 call l2cap_malloc_fifo_get_first_ptr 
+0x5264 012570 increase 1 ,contr 
+0x5265 012571 ifetch 2 ,contr 
+0x5266 012572 rtn 
+:      012578 l2cap_malloc_free:
+0x5267 012579 set1 mark_ext_patch ,mark 
+0x5268 012580 bpatch patch24_6 ,mem_patch24 
+0x5269 012581 call l2cap_malloc_fifo_get_first_ptr 
+0x526a 012582 copy contr ,contw 
+0x526b 012583 copy contr ,temp 
+0x526c 012584 setarg 0 
+0x526d 012585 istore 3 ,contw 
+0x526e 012586 rtn 
+:      012591 l2cap_malloc_discard:
+0x526f 012592 set1 mark_ext_patch ,mark 
+0x5270 012593 bpatch patch24_7 ,mem_patch24 
+0x5271 012594 call l2cap_malloc_is_fifo_empty 
+0x5272 012595 branch assert ,blank 
+0x5273 012596 fetch 3 ,mem_tx_fifo2 
+0x5274 012597 store 3 ,mem_tx_fifo3 
+0x5275 012598 fetch 3 ,mem_tx_fifo1 
+0x5276 012599 store 3 ,mem_tx_fifo2 
+0x5277 012600 fetch 3 ,mem_tx_fifo0 
+0x5278 012601 store 3 ,mem_tx_fifo1 
+0x5279 012602 rtn 
+:      012608 l2cap_malloc_is_fifo_full:
+0x527a 012609 fetch 3 ,mem_tx_fifo0 
+0x527b 012610 rtn 
+:      012616 l2cap_malloc_is_fifo_nearly_full:
+0x527c 012617 fetch 3 ,mem_tx_fifo1 
+0x527d 012618 rtn 
+:      012624 l2cap_malloc_is_fifo_empty:
+0x527e 012625 fetch 3 ,mem_tx_fifo3 
+0x527f 012626 rtn 
+:      012631 l2cap_malloc_fifo_get_first_ptr:
+0x5280 012632 call l2cap_malloc_is_fifo_empty 
+0x5281 012633 branch assert ,blank 
+0x5282 012634 arg mem_tx_fifo0 ,contr 
+:      012635 l2cap_malloc_free_loop:
+0x5283 012636 ifetch 3 ,contr 
+0x5284 012637 branch l2cap_malloc_free_loop ,blank 
+0x5285 012638 increase -3 ,contr 
+0x5286 012639 rtn 
+:      012646 l2cap_malloc_get_full_map:
+0x5287 012647 set1 mark_ext_patch ,mark 
+0x5288 012648 bpatch patch25_0 ,mem_patch25 
+0x5289 012649 arg 4 ,loopcnt 
+0x528a 012650 arg mem_tx_fifo0_map ,contr 
+0x528b 012651 arg 0 ,temp 
+:      012652 l2cap_malloc_get_full_map_loop:
+0x528c 012653 ifetch 3 ,contr 
+0x528d 012654 and pdata ,0xff ,pdata 
+0x528e 012655 ior temp ,temp 
+0x528f 012656 loop l2cap_malloc_get_full_map_loop 
+0x5290 012657 storet 1 ,mem_used_map 
+0x5291 012658 rtn 
+:      012666 l2cap_malloc_into_fifo:
+0x5292 012667 set1 mark_ext_patch ,mark 
+0x5293 012668 bpatch patch25_1 ,mem_patch25 
+0x5294 012669 call l2cap_malloc_is_fifo_full 
+0x5295 012670 nbranch assert ,blank 
+0x5296 012671 call l2cap_malloc_is_fifo_empty 
+0x5297 012672 branch l2cap_malloc_into_fifo_no_push ,blank 
+0x5298 012673 fetch 3 ,mem_tx_fifo1 
+0x5299 012674 store 3 ,mem_tx_fifo0 
+0x529a 012675 ifetch 3 ,contr 
+0x529b 012676 istore 3 ,contw 
+0x529c 012677 ifetch 3 ,contr 
+0x529d 012678 istore 3 ,contw 
+0x529e 012679 setarg 0 
+0x529f 012680 istore 3 ,contw 
+:      012681 l2cap_malloc_into_fifo_no_push:
+0x52a0 012682 arg 0 ,temp 
+0x52a1 012683 copy timeup ,pdata 
+0x52a2 012684 iadd queue ,pdata 
+:      012685 l2cap_malloc_into_fifo_loop:
+0x52a3 012686 qset1 temp 
+0x52a4 012687 increase 1 ,queue 
+0x52a5 012688 isub queue ,null 
+0x52a6 012689 nbranch l2cap_malloc_into_fifo_loop ,zero 
+0x52a7 012691 lshift8 regb ,pdata 
+0x52a8 012692 ior temp ,pdata 
+0x52a9 012693 store 3 ,mem_tx_fifo3 
+0x52aa 012694 rtn 
+:      012704 l2cap_malloc_enough:
+0x52ab 012705 set1 mark_ext_patch ,mark 
+0x52ac 012706 bpatch patch25_2 ,mem_patch25 
+0x52ad 012707 call l2cap_malloc_get_full_map 
+0x52ae 012708 copy queue ,regc 
+0x52af 012709 arg 0 ,temp 
+0x52b0 012710 arg 0 ,timeup 
+:      012712 l2cap_malloc_enough_loop:
+0x52b1 012713 copy queue ,pdata 
+0x52b2 012714 beq 8 ,l2cap_malloc_enough_end 
+0x52b3 012715 fetch 1 ,mem_used_map 
+0x52b4 012716 qisolate1 pdata 
+0x52b5 012717 branch l2cap_malloc_enough_end ,true 
+0x52b6 012718 increase 128 ,temp 
+0x52b7 012719 increase 1 ,queue 
+0x52b8 012720 copy rega ,pdata 
+0x52b9 012721 isub temp ,null 
+0x52ba 012722 branch l2cap_malloc_enough_end ,zero 
+0x52bb 012723 branch l2cap_malloc_enough_loop ,positive 
+:      012724 l2cap_malloc_enough_end:
+0x52bc 012725 copy temp ,pdata 
+0x52bd 012726 isub rega ,null 
+0x52be 012727 nbranch l2cap_malloc_enough_rtn ,positive 
+0x52bf 012728 copy queue ,pdata 
+0x52c0 012729 copy regc ,temp 
+0x52c1 012730 isub temp ,timeup 
+:      012731 l2cap_malloc_enough_rtn:
+0x52c2 012732 copy regc ,queue 
+0x52c3 012733 rtn 
+:      012736 l2cap_malloc_signal_channel:
+0x52c4 012737 set1 mark_ext_patch ,mark 
+0x52c5 012738 bpatch patch25_3 ,mem_patch25 
+0x52c6 012739 arg l2cap_signal_malloc_size ,rega 
+0x52c7 012740 call l2cap_malloc 
+0x52c8 012741 store 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x52c9 012742 increase 4 ,pdata 
+0x52ca 012743 store 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x52cb 012744 setarg 0 
+0x52cc 012745 store 2 ,mem_l2cap_signal_tx_length 
+0x52cd 012746 rtn 
+:      012748 l2cap_get_signal_tx_buff:
+0x52ce 012749 fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x52cf 012750 branch l2cap_util_pdata_to_contw 
+:      012752 l2cap_get_signal_tx_payload:
+0x52d0 012753 fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x52d1 012754 branch l2cap_util_pdata_to_contw 
+:      012757 l2cap_malloc_sdp_channel:
+0x52d2 012758 set1 mark_ext_patch ,mark 
+0x52d3 012759 bpatch patch25_4 ,mem_patch25 
+0x52d4 012760 arg sdp_malloc_size ,rega 
+0x52d5 012761 call l2cap_malloc 
+0x52d6 012762 store 2 ,mem_sdp_tx_buff_ptr 
+0x52d7 012763 increase 4 ,pdata 
+0x52d8 012764 store 2 ,mem_sdp_tx_payload_ptr 
+0x52d9 012765 setarg 0 
+0x52da 012766 store 2 ,mem_sdp_tx_pkt_length 
+0x52db 012767 rtn 
+:      012769 l2cap_get_sdp_tx_buff:
+0x52dc 012770 fetch 2 ,mem_sdp_tx_buff_ptr 
+0x52dd 012771 branch l2cap_util_pdata_to_contw 
+:      012773 l2cap_get_sdp_tx_payload:
+0x52de 012774 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x52df 012775 branch l2cap_util_pdata_to_contw 
+:      012778 l2cap_malloc_rfcomm_channel:
+0x52e0 012779 set1 mark_ext_patch ,mark 
+0x52e1 012780 bpatch patch25_5 ,mem_patch25 
+0x52e2 012781 call push_stack 
+0x52e3 012782 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+0x52e4 012783 call l2cap_malloc_is_fifo_full 
+0x52e5 012784 nrtn blank 
+0x52e6 012785 arg rfcomm_malloc_size ,rega 
+0x52e7 012786 call l2cap_malloc 
+0x52e8 012787 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x52e9 012788 increase 4 ,pdata 
+0x52ea 012789 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x52eb 012790 setarg 0 
+0x52ec 012791 store 2 ,mem_rfcomm_tx_pkt_length 
+0x52ed 012792 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x52ee 012793 branch pop_stack 
+:      012795 l2cap_get_rfcomm_tx_buff:
+0x52ef 012796 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x52f0 012797 branch l2cap_util_pdata_to_contw 
+:      012799 l2cap_get_rfcomm_tx_payload:
+0x52f1 012800 fetch 2 ,mem_rfcomm_tx_payload_ptr 
+:      012802 l2cap_util_pdata_to_contw:
+0x52f2 012803 branch assert ,blank 
+0x52f3 012804 copy pdata ,contw 
+0x52f4 012805 rtn 
+:      012808 l2cap_lpm_save_calc_len:
+0x52f5 012809 set1 mark_ext_patch ,mark 
+0x52f6 012810 bpatch patch25_6 ,mem_patch25 
+0x52f7 012811 arg 0 ,regb 
+0x52f8 012812 arg mem_tx_fifo0_map ,rega 
+0x52f9 012813 increase -2 ,rega 
+:      012814 l2cap_lpm_save_calc_len_loop:
+0x52fa 012815 increase 2 ,rega 
+0x52fb 012816 setarg mem_tx_fifo_end 
+0x52fc 012817 isub rega ,null 
+0x52fd 012818 branch l2cap_lpm_save_calc_len_end ,zero 
+0x52fe 012819 ifetch 1 ,rega 
+0x52ff 012820 increase 1 ,rega 
+0x5300 012821 branch l2cap_lpm_save_calc_len_loop ,blank 
+0x5301 012822 ifetcht 2 ,rega 
+0x5302 012823 ifetch 2 ,temp 
+0x5303 012824 iadd regb ,regb 
+0x5304 012825 increase 4 ,regb 
+0x5305 012826 branch l2cap_lpm_save_calc_len_loop 
+:      012827 l2cap_lpm_save_calc_len_end:
+0x5306 012828 copy regb ,pdata 
+0x5307 012829 rtn 
+:      012832 l2cap_lpm_get_wake_lock:
+0x5308 012833 arg wake_lock_l2cap_tx ,queue 
+0x5309 012834 branch lpm_get_wake_lock 
+:      012836 l2cap_lpm_put_wake_lock:
+0x530a 012837 arg wake_lock_l2cap_tx ,queue 
+0x530b 012838 branch lpm_put_wake_lock 
+:      012840 l2cap_lpm_save_txbuf:
+0x530c 012841 set1 mark_ext_patch ,mark 
+0x530d 012842 bpatch patch25_7 ,mem_patch25 
+0x530e 012843 call l2cap_malloc_get_full_map 
+0x530f 012844 fetch 1 ,mem_used_map 
+0x5310 012845 rtn blank 
+0x5311 012846 call l2cap_lpm_save_calc_len 
+0x5312 012847 arg l2cap_lpm_txbuf_len ,temp 
+0x5313 012848 isub temp ,null 
+0x5314 012849 branch l2cap_lpm_get_wake_lock ,positive 
+0x5315 012850 call l2cap_lpm_put_wake_lock 
+0x5316 012851 arg mem_l2cap_lpm_txbuf ,contw 
+0x5317 012852 arg mem_tx_fifo0 ,rega 
+:      012853 l2cap_lpm_save_txbuf_loop:
+0x5318 012854 setarg mem_tx_fifo_end 
+0x5319 012855 isub rega ,null 
+0x531a 012856 rtn zero 
+0x531b 012857 ifetch 1 ,rega 
+0x531c 012858 increase 1 ,rega 
+0x531d 012859 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+0x531e 012860 istore 2 ,contw 
+0x531f 012861 increase 2 ,rega 
+0x5320 012862 branch l2cap_lpm_save_txbuf_loop 
+:      012863 l2cap_lpm_save_txbuf_nempty:
+0x5321 012864 ifetch 2 ,rega 
+0x5322 012865 increase 2 ,rega 
+0x5323 012866 copy pdata ,contr 
+0x5324 012867 ifetch 2 ,contr 
+0x5325 012868 istore 2 ,contw 
+0x5326 012869 copy pdata ,loopcnt 
+0x5327 012870 increase 2 ,loopcnt 
+0x5328 012871 call memcpy 
+0x5329 012872 branch l2cap_lpm_save_txbuf_loop 
+:      012874 l2cap_lpm_load_txbuf:
+0x532a 012875 set1 mark_ext_patch ,mark 
+0x532b 012876 bpatch patch26_0 ,mem_patch26 
+0x532c 012877 call l2cap_malloc_get_full_map 
+0x532d 012878 fetch 1 ,mem_used_map 
+0x532e 012879 rtn blank 
+0x532f 012880 arg mem_tx_fifo0_ptr ,rega 
+0x5330 012881 increase -3 ,rega 
+0x5331 012882 arg mem_l2cap_lpm_txbuf ,contr 
+:      012883 l2cap_lpm_load_txbuf_loop:
+0x5332 012884 increase 3 ,rega 
+0x5333 012885 setarg mem_tx_fifo_end + 1 
+0x5334 012886 isub rega ,null 
+0x5335 012887 rtn zero 
+0x5336 012888 ifetch 2 ,contr 
+0x5337 012889 branch l2cap_lpm_load_txbuf_loop ,blank 
+0x5338 012890 increase 4 ,pdata 
+0x5339 012891 copy pdata ,loopcnt 
+0x533a 012892 copy contr ,regb 
+0x533b 012893 ifetch 2 ,rega 
+0x533c 012894 copy pdata ,contw 
+0x533d 012895 copy regb ,contr 
+0x533e 012896 increase -2 ,contr 
+0x533f 012897 call memcpy 
+0x5340 012898 branch l2cap_lpm_load_txbuf_loop 
+:      012906 le_init_param:
+0x5341 012907 rtn wake 
+0x5342 012908 setarg param_le_scan_interval 
+0x5343 012909 store 2 ,mem_le_scan_interval 
+0x5344 012910 setarg param_le_scan_window 
+0x5345 012911 store 2 ,mem_le_scan_window 
+0x5346 012912 rtn 
+:      012914 le_init_att:
+0x5347 012915 arg notify_handle ,temp 
+0x5348 012916 call le_att_get_handle_ptr 
+0x5349 012917 add contr ,1 ,pdata 
+0x534a 012918 store 2 ,mem_le_notify_attr_start 
+0x534b 012919 rtn 
+:      012921 le_init_conn:
+0x534c 012922 set1 mark_ext_patch ,mark 
+0x534d 012923 bpatch patch26_2 ,mem_patch26 
+0x534e 012924 disable wake 
+0x534f 012925 jam 1 ,mem_app_state 
+0x5350 012926 jam 1 ,mem_le_conn_handle 
+0x5351 012927 jam 3 ,mem_le_state 
+0x5352 012928 jam 1 ,mem_le_arq 
+0x5353 012929 setarg -1 
+0x5354 012930 store 2 ,mem_le_event_count 
+0x5355 012931 force 0 ,pdata 
+0x5356 012932 store 1 ,mem_le_conn_sm 
+0x5357 012933 store 1 ,mem_le_ch 
+0x5358 012934 store 1 ,mem_le_op 
+0x5359 012935 store 3 ,mem_sniff_rcv 
+0x535a 012936 store 3 ,mem_sniff_lost 
+0x535b 012937 store 5 ,mem_le_pcnt_tx 
+0x535c 012938 set1 39 ,pdata 
+0x535d 012939 store 5 ,mem_le_pcnt_rx 
+0x535e 012940 branch le_supervision_flush 
+:      012942 le_init_master:
+0x535f 012943 set1 mark_ext_patch ,mark 
+0x5360 012944 bpatch patch26_3 ,mem_patch26 
+0x5361 012945 enable master 
+0x5362 012946 jam lemode_master ,mem_le_mode 
+0x5363 012947 jam 1 ,mem_le_att_handle 
+0x5364 012948 jam 1 ,mem_le_search_handle_start 
+0x5365 012949 setarg 0xffff 
+0x5366 012950 store 2 ,mem_le_search_handle_end 
+0x5367 012951 force 0 ,pdata 
+0x5368 012952 store 5 ,mem_le_pcnt_rx 
+0x5369 012953 set1 39 ,pdata 
+0x536a 012954 store 5 ,mem_le_pcnt_tx 
+0x536b 012955 branch le_init_conn 
+:      012958 le_init_slave:
+0x536c 012959 set1 mark_ext_patch ,mark 
+0x536d 012960 bpatch patch26_4 ,mem_patch26 
+0x536e 012961 disable master 
+0x536f 012962 jam lemode_slave ,mem_le_mode 
+0x5370 012963 jam 0 ,mem_le_adv_enable 
+0x5371 012964 jam 0 ,mem_lpm_current_mult 
+0x5372 012965 branch le_init_conn 
+:      012971 le_dispatch:
+0x5373 012972 call le_enable 
+0x5374 012973 call le_scan 
+0x5375 012974 call le_adv 
+0x5376 012975 branch le_disable 
+:      012977 le_conn_dispatch:
+0x5377 012978 set1 mark_ext_patch ,mark 
+0x5378 012979 bpatch patch26_5 ,mem_patch26 
+0x5379 012980 call le_enable 
+0x537a 012981 call app_process_ble 
+0x537b 012982 fetch 1 ,mem_le_mode 
+0x537c 012983 beq lemode_master ,le_master_dispatch 
+0x537d 012984 branch le_slave_dispatch 
+:      012990 le_master_dispatch:
+0x537e 012991 set1 mark_ext_patch ,mark 
+0x537f 012992 bpatch patch26_6 ,mem_patch26 
+0x5380 012993 enable master 
+0x5381 012994 call le_supervision_update 
+0x5382 012995 branch le_master_disconn ,positive 
+0x5383 012996 call check_ble_disabled 
+0x5384 012997 call le_setup 
+0x5385 012998 call le_prepare_tx 
+0x5386 012999 disable match 
+0x5387 013000 call le_transmit_receive_sifs 
+0x5388 013001 nrtn match 
+0x5389 013002 set1 mark_ext_patch ,mark 
+0x538a 013003 bpatch patch26_7 ,mem_patch26 
+0x538b 013004 fetch 1 ,mem_le_conn_rcv 
+0x538c 013005 increase 1 ,pdata 
+0x538d 013006 store 1 ,mem_le_conn_rcv 
+0x538e 013007 call le_acknowledge 
+0x538f 013008 call le_conn_sm_master 
+0x5390 013009 disable master 
+0x5391 013010 rtn 
+:      013012 le_master_disconn:
+0x5392 013013 call le_disconnect 
+0x5393 013014 disable master 
+0x5394 013015 rtn 
+:      013020 le_slave_dispatch:
+0x5395 013021 set1 mark_ext_patch ,mark 
+0x5396 013022 bpatch patch27_0 ,mem_patch27 
+0x5397 013023 disable attempt 
+0x5398 013024 call le_supervision_update 
+0x5399 013025 branch le_slave_disconn ,positive 
+0x539a 013026 call check_ble_disabled 
+0x539b 013027 call le_setup 
+0x539c 013028 call le_receive_slave 
+0x539d 013029 nbranch le_slave_unsync ,match 
+:      013030 le_slave_match:
+0x539e 013031 set1 mark_ext_patch ,mark 
+0x539f 013032 bpatch patch27_1 ,mem_patch27 
+0x53a0 013033 call le_got_first_packet 
+0x53a1 013034 call le_acknowledge 
+0x53a2 013035 call le_prepare_tx 
+0x53a3 013036 fetch 1 ,mem_le_rxbuf 
+0x53a4 013037 bbit1 md ,le_slave_more_data 
+0x53a5 013038 call le_xtype_fifo_is_empty 
+0x53a6 013039 nbranch le_slave_more_data ,blank 
+:      013040 le_slave_transmit_last:
+0x53a7 013041 set1 mark_ext_patch ,mark 
+0x53a8 013042 bpatch patch27_2 ,mem_patch27 
+0x53a9 013043 call le_transmit_norx 
+:      013044 le_slave_cont:
+0x53aa 013045 call check_51cmd 
+0x53ab 013046 fetch 1 ,mem_le_op 
+0x53ac 013047 bbit1 op_disconn ,le_slave_disconn 
+:      013048 le_slave_unsync:
+0x53ad 013049 set1 mark_ext_patch ,mark 
+0x53ae 013050 bpatch patch27_3 ,mem_patch27 
+0x53af 013051 call le_savelist 
+0x53b0 013052 call le_lpm_set_mult 
+0x53b1 013053 call le_update_channel_map 
+0x53b2 013054 call le_update_param 
+0x53b3 013055 branch calc_clke_offset 
+:      013057 le_slave_more_data:
+0x53b4 013058 set1 mark_ext_patch ,mark 
+0x53b5 013059 bpatch patch27_4 ,mem_patch27 
+0x53b6 013060 enable attempt 
+0x53b7 013061 call le_transmit_receive_sifs 
+0x53b8 013062 branch le_slave_match ,match 
+0x53b9 013063 branch le_slave_cont 
+:      013065 le_slave_disconn:
+:      013068 le_disconnect:
+0x53ba 013069 set1 mark_ext_patch ,mark 
+0x53bb 013070 bpatch patch27_5 ,mem_patch27 
+0x53bc 013071 call le_clear_connection_info 
+0x53bd 013072 call app_disconn_reason_collect_ble 
+0x53be 013073 jam bt_evt_le_disconnected ,mem_fifo_temp 
+0x53bf 013074 branch ui_ipc_send_event 
+:      013076 le_clear_connection_info:
+0x53c0 013077 fetcht 1 ,mem_le_conn_handle 
+0x53c1 013078 jam hci_error_connection_timeout ,mem_hci_disconn_reason 
+0x53c2 013079 call hci_send_disconn_complete 
+0x53c3 013080 jam 0 ,mem_le_conn_handle 
+0x53c4 013081 jam lemode_idle ,mem_le_mode 
+0x53c5 013082 jam 0 ,mem_le_state 
+0x53c6 013083 jam 0 ,mem_app_state 
+0x53c7 013084 rtn 
+:      013086 le_got_first_packet:
+0x53c8 013087 fetch 1 ,mem_le_conn_rcv 
+0x53c9 013088 increase 1 ,pdata 
+0x53ca 013089 store 1 ,mem_le_conn_rcv 
+0x53cb 013090 fetch 1 ,mem_le_state 
+0x53cc 013091 rtnbit1 lestate_got_first_packet 
+0x53cd 013092 set1 lestate_got_first_packet 
+0x53ce 013093 store 1 ,mem_le_state 
+0x53cf 013094 setarg 0 
+0x53d0 013095 store 4 ,mem_le_transmit_window 
+0x53d1 013096 rtn 
+:      013101 le_enable:
+0x53d2 013102 set1 mark_ext_patch ,mark 
+0x53d3 013103 bpatch patch27_6 ,mem_patch27 
+0x53d4 013104 enable le 
+0x53d5 013105 hjam 7 ,rfen_ulp 
+0x53d6 013106 branch check_ble_disabled 
+:      013108 le_disable:
+0x53d7 013109 set1 mark_ext_patch ,mark 
+0x53d8 013110 bpatch patch27_7 ,mem_patch27 
+0x53d9 013111 disable le 
+0x53da 013112 hjam 3 ,rfen_ulp 
+0x53db 013113 arg 0 ,stop_watch 
+0x53dc 013114 rtn 
+:      013116 le_prep:
+0x53dd 013117 disable enable_crc 
+0x53de 013118 disable enable_white 
+0x53df 013119 fetch 3 ,mem_le_crcinit 
+0x53e0 013120 iforce crc24_init 
+0x53e1 013121 fetch 1 ,mem_le_ch_mapped 
+0x53e2 013122 reverse pdata ,temp 
+0x53e3 013123 set1 1 ,temp 
+0x53e4 013124 rshift temp ,white_init 
+0x53e5 013125 rtn 
+:      013128 lerx_setfreq:
+0x53e6 013129 call le_setfreq 
+0x53e7 013130 call set_freq_rx 
+0x53e8 013131 setarg param_pll_setup 
+0x53e9 013132 call sleep 
+0x53ea 013133 branch rf_rx_enable 
+:      013135 letx_setfreq:
+0x53eb 013136 branch txon ,match 
+0x53ec 013137 call le_setfreq 
+0x53ed 013138 branch set_freq_tx 
+:      013139 le_setfreq:
+0x53ee 013140 set1 mark_ext_patch ,mark 
+0x53ef 013141 bpatch patch28_0 ,mem_patch28 
+0x53f0 013142 call set_sync_on 
+0x53f1 013143 fetch 1 ,mem_le_testtype 
+0x53f2 013144 nbranch le_ctf_test ,blank 
+0x53f3 013145 fetch 1 ,mem_le_ch_mapped 
+0x53f4 013146 sub pdata ,36 ,null 
+0x53f5 013147 branch le_ctf_normal ,positive 
+0x53f6 013148 force 0 ,temp 
+0x53f7 013149 rtneq 37 
+0x53f8 013150 force 24 ,temp 
+0x53f9 013151 rtneq 38 
+0x53fa 013152 force 78 ,temp 
+0x53fb 013153 rtn 
+:      013155 le_ctf_normal:
+0x53fc 013156 sub pdata ,10 ,null 
+0x53fd 013157 branch le_ctf_low ,positive 
+0x53fe 013158 increase 1 ,pdata 
+:      013160 le_ctf_low:
+0x53ff 013161 lshift pdata ,pdata 
+0x5400 013162 add pdata ,2 ,temp 
+0x5401 013163 rtn 
+:      013165 le_ctf_test:
+0x5402 013166 fetch 1 ,mem_le_ch_mapped 
+0x5403 013167 lshift pdata ,temp 
+0x5404 013168 rtn 
+:      013170 le_sca_map:
+0x5405 013171 arg 500 ,temp 
+0x5406 013172 rtn blank 
+0x5407 013173 arg 250 ,temp 
+0x5408 013174 rtneq 1 
+0x5409 013175 arg 150 ,temp 
+0x540a 013176 rtneq 2 
+0x540b 013177 arg 100 ,temp 
+0x540c 013178 rtneq 3 
+0x540d 013179 arg 75 ,temp 
+0x540e 013180 rtneq 4 
+0x540f 013181 arg 50 ,temp 
+0x5410 013182 rtneq 5 
+0x5411 013183 arg 40 ,temp 
+0x5412 013184 rtneq 6 
+0x5413 013185 arg 20 ,temp 
+0x5414 013186 rtn 
+:      013190 le_adv_access:
+0x5415 013191 setarg 0x8e89be 
+0x5416 013192 lshift8 pdata ,pdata 
+0x5417 013193 or_into 0xd6 ,pdata 
+0x5418 013194 iforce access 
+0x5419 013195 setarg 0x555555 
+0x541a 013196 store 3 ,mem_le_crcinit 
+0x541b 013197 rtn 
+:      013199 le_setup:
+0x541c 013200 set1 mark_ext_patch ,mark 
+0x541d 013201 bpatch patch28_1 ,mem_patch28 
+0x541e 013202 enable swfine 
+0x541f 013203 fetch 4 ,mem_le_access 
+0x5420 013204 iforce access 
+0x5421 013205 call le_map_channel 
+0x5422 013206 setarg 0x200 
+0x5423 013207 branch le_setup_master ,master 
+0x5424 013208 fetch 2 ,mem_le_receive_window 
+0x5425 013209 rshift pdata ,pdata 
+:      013210 le_setup_master:
+0x5426 013211 arg param_pll_setup ,temp 
+0x5427 013212 iadd temp ,pdata 
+0x5428 013213 call ahead_window 
+0x5429 013214 deposit clke 
+0x542a 013215 store 6 ,mem_le_rxon_ts 
+0x542b 013216 rtn 
+:      013218 le_next_adv_channel:
+0x542c 013219 set1 mark_ext_patch ,mark 
+0x542d 013220 bpatch patch28_2 ,mem_patch28 
+0x542e 013221 fetch 1 ,mem_le_ch_mapped 
+0x542f 013222 increase 1 ,pdata 
+0x5430 013223 store 1 ,mem_le_ch_mapped 
+0x5431 013224 rtnne 40 
+0x5432 013225 jam 37 ,mem_le_ch_mapped 
+0x5433 013226 rtn 
+:      013228 le_context_nexthop:
+0x5434 013229 set1 mark_ext_patch ,mark 
+0x5435 013230 bpatch patch28_3 ,mem_patch28 
+0x5436 013231 add rega ,coffset_mode ,contr 
+0x5437 013232 ifetch 1 ,contr 
+0x5438 013233 rtnbit0 mode_le 
+0x5439 013234 add rega ,coffset_le_event_cnt ,contw 
+0x543a 013235 ifetch 2 ,contw 
+0x543b 013236 increase 1 ,pdata 
+0x543c 013237 istore 2 ,contw 
+0x543d 013238 add rega ,coffset_le_hop ,contr 
+0x543e 013239 ifetch 1 ,contr 
+0x543f 013240 add rega ,coffset_le_ch ,contw 
+0x5440 013241 ifetcht 1 ,contw 
+0x5441 013242 iadd temp ,pdata 
+0x5442 013243 sub pdata ,36 ,null 
+0x5443 013244 branch le_nexthop_nowrap ,positive 
+0x5444 013245 increase -37 ,pdata 
+:      013246 le_nexthop_nowrap:
+0x5445 013247 istore 1 ,contw 
+0x5446 013248 rtn 
+:      013251 le_calc_channel_map:
+0x5447 013252 set1 mark_ext_patch ,mark 
+0x5448 013253 bpatch patch28_4 ,mem_patch28 
+0x5449 013254 fetch 5 ,mem_le_channel_map 
+0x544a 013255 force 0 ,temp 
+0x544b 013256 force 37 ,loopcnt 
+:      013257 le_count_channels_loop:
+0x544c 013258 bbit0 0 ,le_count_channels_notused 
+0x544d 013259 increase 1 ,temp 
+:      013260 le_count_channels_notused:
+0x544e 013261 rshift pdata ,pdata 
+0x544f 013262 loop le_count_channels_loop 
+0x5450 013263 add temp ,-1 ,pdata 
+0x5451 013264 store 1 ,mem_le_channels 
+0x5452 013265 rtn 
+:      013267 le_map_channel:
+0x5453 013268 set1 mark_ext_patch ,mark 
+0x5454 013269 bpatch patch28_5 ,mem_patch28 
+0x5455 013270 fetch 1 ,mem_le_ch 
+0x5456 013271 iforce queue 
+0x5457 013272 fetcht 5 ,mem_le_channel_map 
+0x5458 013273 qisolate1 temp 
+0x5459 013274 branch le_map_channel_end ,true 
+:      013275 le_map_channel_next:
+0x545a 013276 set1 mark_ext_patch ,mark 
+0x545b 013277 bpatch patch28_6 ,mem_patch28 
+0x545c 013278 fetch 1 ,mem_le_channels 
+0x545d 013279 isub queue ,pdata 
+0x545e 013280 branch le_map_channel_cont ,positive 
+0x545f 013281 sub pdata ,-1 ,queue 
+0x5460 013282 branch le_map_channel_next 
+:      013283 le_map_channel_cont:
+0x5461 013284 copy queue ,loopcnt 
+0x5462 013285 force 0 ,queue 
+:      013286 le_map_channel_loop:
+0x5463 013287 qisolate1 temp 
+0x5464 013288 branch le_map_channel_skip ,true 
+0x5465 013289 increase 1 ,loopcnt 
+:      013290 le_map_channel_skip:
+0x5466 013291 deposit loopcnt 
+0x5467 013292 branch le_map_channel_end ,blank 
+0x5468 013293 increase 1 ,queue 
+0x5469 013294 increase -1 ,loopcnt 
+0x546a 013295 branch le_map_channel_loop 
+:      013296 le_map_channel_end:
+0x546b 013297 deposit queue 
+0x546c 013298 store 1 ,mem_le_ch_mapped 
+0x546d 013299 rtn 
+:      013302 le_wait_tx:
+0x546e 013303 branch le_wait_master ,master 
+0x546f 013304 until null ,timeout 
+0x5470 013305 rtn 
+:      013307 le_wait_master:
+0x5471 013308 arg 0xea0 ,timeup 
+0x5472 013309 until clkn_rt ,meet 
+0x5473 013310 rtn 
+:      013312 le_receive_adv:
+0x5474 013313 disable swfine 
+0x5475 013314 fetch 2 ,mem_le_scan_window 
+0x5476 013315 copy pdata ,timeup 
+0x5477 013316 branch le_receive_packet 
+:      013319 le_receive_slave:
+0x5478 013320 set1 mark_ext_patch ,mark 
+0x5479 013321 bpatch patch28_7 ,mem_patch28 
+0x547a 013322 enable swfine 
+0x547b 013323 fetch 2 ,mem_le_receive_window 
+0x547c 013324 fetcht 4 ,mem_le_transmit_window 
+0x547d 013325 iadd temp ,timeup 
+:      013326 le_receive_packet:
+0x547e 013327 call lerx_setfreq 
+:      013328 le_receive_rxon:
+0x547f 013329 set1 mark_ext_patch ,mark 
+0x5480 013330 bpatch patch29_0 ,mem_patch29 
+0x5481 013331 call le_prep 
+0x5482 013332 disable match 
+0x5483 013333 enable decode_fec0 
+0x5484 013334 enable is_rx 
+0x5485 013335 disable is_tx 
+0x5486 013336 copy timeup ,stop_watch 
+0x5487 013337 correlate null ,timeout 
+0x5488 013338 branch le_receive_on_attempt ,attempt 
+0x5489 013339 copy clke ,temp 
+0x548a 013340 storet 6 ,mem_sync_clke 
+:      013341 le_receive_on_attempt:
+0x548b 013342 nbranch end_of_packet ,sync 
+0x548c 013343 branch le_receive_skip ,attempt 
+0x548d 013344 arg param_clke_cal_le ,clke_rt 
+0x548e 013345 copy bt_clk ,clke_bt 
+0x548f 013346 fetch 1 ,mem_le_state 
+0x5490 013347 bbit0 lestate_got_first_packet ,le_receive_skip 
+0x5491 013348 call lpm_adjust_clk ,wake 
+:      013349 le_receive_skip:
+0x5492 013350 set1 mark_ext_patch ,mark 
+0x5493 013351 bpatch patch29_1 ,mem_patch29 
+0x5494 013352 call save_rssi 
+0x5495 013353 enable enable_white 
+0x5496 013354 enable enable_crc 
+0x5497 013355 parse demod ,bucket ,8 
+0x5498 013356 rshift3 pwindow ,pdata 
+0x5499 013357 store 1 ,mem_le_rxbuf 
+0x549a 013358 parse demod ,bucket ,8 
+0x549b 013359 rshift3 pwindow ,pdata 
+0x549c 013360 istore 1 ,contw 
+0x549d 013361 and pdata ,0x3f ,loopcnt 
+0x549e 013362 branch lerx_nopayload ,zero 
+:      013364 lerx_loop:
+0x549f 013365 parse demod ,bucket ,8 
+0x54a0 013366 rshift3 pwindow ,pdata 
+0x54a1 013367 istore 1 ,contw 
+0x54a2 013368 loop lerx_loop 
+:      013370 lerx_nopayload:
+0x54a3 013371 set1 mark_ext_patch ,mark 
+0x54a4 013372 bpatch patch29_2 ,mem_patch29 
+0x54a5 013373 parse demod ,bucket ,24 
+0x54a6 013374 enable swfine 
+0x54a7 013375 arg param_sifs ,stop_watch 
+0x54a8 013376 rshift32 pdata ,pdata 
+0x54a9 013377 rshift16 pdata ,pdata 
+0x54aa 013378 istore 3 ,contw 
+0x54ab 013379 branch end_of_packet ,crc_failed 
+0x54ac 013380 enable match 
+0x54ad 013381 fetch 1 ,mem_last_freq 
+0x54ae 013382 add pdata ,2 ,rega 
+0x54af 013383 call rf_write_freq 
+0x54b0 013384 disable decode_fec0 
+0x54b1 013385 branch set_sync_on 
+:      013387 le_transmit_receive_sifs:
+0x54b2 013388 set1 mark_ext_patch ,mark 
+0x54b3 013389 bpatch patch29_3 ,mem_patch29 
+0x54b4 013390 call le_transmit 
+0x54b5 013391 fetcht 1 ,mem_last_freq 
+0x54b6 013392 call set_freq_rx 
+0x54b7 013393 call rf_rx_enable 
+0x54b8 013394 enable swfine 
+0x54b9 013395 arg 5000 ,timeup 
+0x54ba 013396 branch le_receive_rxon 
+:      013398 le_transmit_norx:
+0x54bb 013399 call le_transmit 
+0x54bc 013400 branch end_of_packet 
+:      013402 le_transmit:
+0x54bd 013403 set1 mark_ext_patch ,mark 
+0x54be 013404 bpatch patch29_4 ,mem_patch29 
+0x54bf 013405 call le_prep 
+0x54c0 013406 call letx_setfreq 
+0x54c1 013407 set1 txgfsk ,radio_ctrl 
+0x54c2 013408 enable encode_fec0 
+0x54c3 013409 enable is_tx 
+0x54c4 013410 disable is_rx 
+0x54c5 013411 call le_wait_tx 
+0x54c6 013412 rshift16 access ,pdata 
+0x54c7 013413 rshift8 pdata ,pdata 
+0x54c8 013414 rshift4 pdata ,pdata 
+0x54c9 013415 inject mod ,40 
+0x54ca 013416 enable enable_white 
+0x54cb 013417 enable enable_crc 
+0x54cc 013418 set1 mark_ext_patch ,mark 
+0x54cd 013419 bpatch patch29_5 ,mem_patch29 
+0x54ce 013420 fetch 1 ,mem_le_txheader 
+0x54cf 013421 inject mod ,8 
+0x54d0 013422 ifetch 1 ,contr 
+0x54d1 013423 and pdata ,0x3f ,loopcnt 
+0x54d2 013424 inject mod ,8 
+0x54d3 013425 branch letr_nopayload ,zero 
+:      013426 letr_loop:
+0x54d4 013427 ifetch 1 ,contr 
+0x54d5 013428 inject mod ,8 
+0x54d6 013429 loop letr_loop 
+:      013431 letr_nopayload:
+0x54d7 013432 enable enable_parity 
+0x54d8 013433 inject mod ,24 
+0x54d9 013434 disable enable_parity 
+0x54da 013435 until null ,tx_clear 
+0x54db 013436 nop 100 
+0x54dc 013437 disable encode_fec0 
+0x54dd 013438 rtn 
+:      013440 le_send_adv_ind:
+0x54de 013441 set1 mark_ext_patch ,mark 
+0x54df 013442 bpatch patch29_6 ,mem_patch29 
+0x54e0 013443 fetch 1 ,mem_le_adv_type 
+0x54e1 013444 beq adv_direct_ind ,le_send_adv_direct_ind 
+0x54e2 013445 fetch 1 ,mem_le_adv_own_addr_type 
+0x54e3 013446 lshift4 pdata ,pdata 
+0x54e4 013447 lshift2 pdata ,pdata 
+0x54e5 013448 store 1 ,mem_le_txheader 
+0x54e6 013449 fetcht 1 ,mem_le_adv_data_len 
+0x54e7 013450 add temp ,6 ,pdata 
+0x54e8 013451 store 1 ,mem_le_txlen 
+0x54e9 013452 fetch 6 ,mem_le_lap 
+0x54ea 013453 store 6 ,mem_le_txpayload 
+0x54eb 013454 copy temp ,loopcnt 
+0x54ec 013455 arg mem_le_adv_data ,contr 
+0x54ed 013456 call memcpy 
+0x54ee 013457 branch le_send_adv_transmit 
+:      013458 le_send_adv_direct_ind:
+0x54ef 013459 fetcht 2 ,mem_le_notify_handle 
+0x54f0 013460 call le_att_check_notification_enable 
+0x54f1 013461 copy rega ,contw 
+0x54f2 013462 setarg 1 
+0x54f3 013463 istore 1 ,contw 
+0x54f4 013464 fetch 1 ,mem_le_adv_direct_addr_type 
+0x54f5 013465 lshift4 pdata ,pdata 
+0x54f6 013466 lshift2 pdata ,pdata 
+0x54f7 013467 increase 1 ,pdata 
+0x54f8 013468 store 1 ,mem_le_txheader 
+0x54f9 013469 setarg 12 
+0x54fa 013470 store 1 ,mem_le_txlen 
+0x54fb 013471 fetch 6 ,mem_le_lap 
+0x54fc 013472 store 6 ,mem_le_txpayload 
+0x54fd 013473 fetch 6 ,mem_hci_plap 
+0x54fe 013474 istore 6 ,contw 
+:      013475 le_send_adv_transmit:
+0x54ff 013476 set1 mark_ext_patch ,mark 
+0x5500 013477 bpatch patch29_7 ,mem_patch29 
+0x5501 013478 fetch 1 ,mem_le_adv_transmit 
+0x5502 013479 increase 1 ,pdata 
+0x5503 013480 store 1 ,mem_le_adv_transmit 
+0x5504 013481 arg 1800 ,stop_watch 
+0x5505 013482 disable match 
+0x5506 013483 branch le_transmit_receive_sifs 
+:      013485 le_send_scan_request:
+0x5507 013486 set1 mark_ext_patch ,mark 
+0x5508 013487 bpatch patch2a_0 ,mem_patch2a 
+0x5509 013488 fetch 1 ,mem_le_scan_type 
+0x550a 013489 rtnne le_scan_type_active ,pdata 
+0x550b 013490 fetch 1 ,mem_le_adv_transmit 
+0x550c 013491 increase 1 ,pdata 
+0x550d 013492 store 1 ,mem_le_adv_transmit 
+0x550e 013493 arg 0x0c03 ,temp 
+0x550f 013494 fetch 1 ,mem_le_scan_own_addr_type 
+0x5510 013495 nsetflag blank ,le_sender_addr_bit ,temp 
+0x5511 013496 copy rega ,pdata 
+0x5512 013497 nsetflag blank ,le_receiver_addr_bit ,temp 
+0x5513 013498 storet 2 ,mem_le_txheader 
+0x5514 013499 fetch 6 ,mem_le_lap 
+0x5515 013500 istore 6 ,contw 
+0x5516 013501 fetch 6 ,mem_le_plap 
+0x5517 013502 istore 6 ,contw 
+0x5518 013503 branch le_transmit_receive_sifs 
+:      013506 le_send_scan_response:
+0x5519 013507 set1 mark_ext_patch ,mark 
+0x551a 013508 bpatch patch2a_1 ,mem_patch2a 
+0x551b 013509 arg scan_rsp ,temp 
+0x551c 013510 fetch 1 ,mem_le_adv_own_addr_type 
+0x551d 013511 nsetflag blank ,le_sender_addr_bit ,temp 
+0x551e 013512 storet 1 ,mem_le_txheader 
+0x551f 013513 fetcht 1 ,mem_le_scan_data_len 
+0x5520 013514 add temp ,6 ,pdata 
+0x5521 013515 store 1 ,mem_le_txlen 
+0x5522 013516 fetch 6 ,mem_le_lap 
+0x5523 013517 store 6 ,mem_le_txpayload 
+0x5524 013518 arg mem_le_scan_data ,contr 
+0x5525 013519 copy temp ,loopcnt 
+0x5526 013520 call memcpy 
+0x5527 013521 branch le_transmit_norx 
+:      013524 le_connect_request:
+0x5528 013525 set1 mark_ext_patch ,mark 
+0x5529 013526 bpatch patch2a_2 ,mem_patch2a 
+0x552a 013527 force -1 ,pdata 
+0x552b 013528 setsect 2 ,1 
+0x552c 013529 store 5 ,mem_le_channel_map 
+0x552d 013530 call le_calc_channel_map 
+0x552e 013531 force 4 ,loopcnt 
+0x552f 013532 arg mem_le_access ,contw 
+0x5530 013533 call generate_random_loop 
+0x5531 013534 fetch 2 ,mem_le_conn_superto 
+0x5532 013535 store 2 ,mem_le_superto 
+:      013536 le_con_req_hop_retry:
+0x5533 013537 random pdata 
+0x5534 013538 and_into 0xf ,pdata 
+0x5535 013539 sub pdata ,4 ,null 
+0x5536 013540 branch le_con_req_hop_retry ,positive 
+0x5537 013541 store 1 ,mem_le_hop 
+0x5538 013542 store 1 ,mem_tmp1 
+0x5539 013543 set1 mark_ext_patch ,mark 
+0x553a 013544 bpatch patch2a_3 ,mem_patch2a 
+0x553b 013545 fetcht 2 ,mem_le_conn_interval 
+0x553c 013546 storet 2 ,mem_le_tsniff 
+0x553d 013547 copy temp ,regc 
+0x553e 013548 add clkn_bt ,7 ,pdata 
+0x553f 013549 idiv regc 
+0x5540 013550 call wait_div_end 
+0x5541 013551 remainder rega 
+0x5542 013552 isub rega ,pdata 
+0x5543 013553 iadd regc ,pdata 
+0x5544 013554 fetcht 2 ,mem_le_dsniff 
+0x5545 013555 iadd temp ,pdata 
+0x5546 013556 store 4 ,mem_le_anchor 
+0x5547 013557 isub clkn_bt ,rega 
+0x5548 013558 increase -6 ,rega 
+0x5549 013559 arg 0x2205 ,regb 
+0x554a 013560 fetch 1 ,mem_le_conn_own_addr_type 
+0x554b 013561 nsetflag blank ,le_sender_addr_bit ,regb 
+0x554c 013562 fetch 1 ,mem_le_conn_peer_addr_type 
+0x554d 013563 nsetflag blank ,le_receiver_addr_bit ,regb 
+0x554e 013564 copy regb ,pdata 
+0x554f 013565 store 2 ,mem_le_txheader 
+0x5550 013566 fetch 6 ,mem_le_lap 
+0x5551 013567 istore 6 ,contw 
+0x5552 013568 fetch 6 ,mem_le_plap 
+0x5553 013569 istore 6 ,contw 
+0x5554 013570 fetch 4 ,mem_le_access 
+0x5555 013571 istore 4 ,contw 
+0x5556 013572 random pdata 
+0x5557 013573 istore 2 ,contw 
+0x5558 013574 random pdata 
+0x5559 013575 istore 1 ,contw 
+0x555a 013576 force 2 ,pdata 
+0x555b 013577 istore 1 ,contw 
+0x555c 013578 rshift2 rega ,pdata 
+0x555d 013579 istore 2 ,contw 
+0x555e 013580 rshift2 regc ,pdata 
+0x555f 013581 istore 2 ,contw 
+0x5560 013582 set1 mark_ext_patch ,mark 
+0x5561 013583 bpatch patch2a_4 ,mem_patch2a 
+0x5562 013584 fetch 2 ,mem_le_conn_latency 
+0x5563 013585 istore 2 ,contw 
+0x5564 013586 fetch 2 ,mem_le_conn_superto 
+0x5565 013587 istore 2 ,contw 
+0x5566 013588 fetch 5 ,mem_le_channel_map 
+0x5567 013589 istore 5 ,contw 
+0x5568 013590 fetch 1 ,mem_le_hop 
+0x5569 013591 arg param_le_sca ,temp 
+0x556a 013592 ior temp ,pdata 
+0x556b 013593 istore 1 ,contw 
+0x556c 013594 call le_transmit_norx 
+0x556d 013595 setarg mem_le_txheader 
+0x556e 013596 add pdata ,18 ,contr 
+0x556f 013597 ifetch 3 ,contr 
+0x5570 013598 store 3 ,mem_le_crcinit 
+0x5571 013599 rtn 
+:      013601 le_init_adv:
+0x5572 013602 set1 mark_ext_patch ,mark 
+0x5573 013603 bpatch patch2a_5 ,mem_patch2a 
+0x5574 013604 disable master 
+0x5575 013605 branch le_adv_access 
+:      013609 le_update_param:
+0x5576 013610 set1 mark_ext_patch ,mark 
+0x5577 013611 bpatch patch2a_6 ,mem_patch2a 
+0x5578 013612 fetch 1 ,mem_le_state 
+0x5579 013613 rtnbit0 lestate_update_param 
+0x557a 013614 fetch 2 ,mem_le_event_count 
+0x557b 013615 fetcht 2 ,mem_le_instant 
+0x557c 013616 isub temp ,pdata 
+0x557d 013617 nrtn positive 
+0x557e 013618 fetch 1 ,mem_le_state 
+0x557f 013619 set0 lestate_update_param ,pdata 
+0x5580 013620 set0 lestate_got_first_packet ,pdata 
+0x5581 013621 store 1 ,mem_le_state 
+0x5582 013622 fetch 4 ,mem_le_anchor 
+0x5583 013623 fetcht 2 ,mem_le_tsniff 
+0x5584 013624 isub temp ,rega 
+0x5585 013625 set1 mark_ext_patch ,mark 
+0x5586 013626 bpatch patch2a_7 ,mem_patch2a 
+0x5587 013627 fetch 1 ,mem_le_new_param 
+0x5588 013628 store 1 ,mem_le_window_size 
+0x5589 013629 ifetcht 2 ,contr 
+0x558a 013630 ifetch 2 ,contr 
+0x558b 013631 lshift2 pdata ,pdata 
+0x558c 013632 store 2 ,mem_le_tsniff 
+0x558d 013633 lshift2 temp ,temp 
+0x558e 013634 iadd temp ,pdata 
+0x558f 013635 ifetcht 4 ,contr 
+0x5590 013636 storet 4 ,mem_le_slave_latency 
+0x5591 013637 iadd rega ,pdata 
+0x5592 013638 store 4 ,mem_le_anchor 
+0x5593 013639 branch le_receive_window_size 
+:      013641 le_update_channel_map:
+0x5594 013642 set1 mark_ext_patch ,mark 
+0x5595 013643 bpatch patch2b_0 ,mem_patch2b 
+0x5596 013644 fetch 1 ,mem_le_state 
+0x5597 013645 rtnbit0 lestate_update_map 
+0x5598 013646 fetch 2 ,mem_le_event_count 
+0x5599 013647 fetcht 2 ,mem_le_instant 
+0x559a 013648 isub temp ,pdata 
+0x559b 013649 nrtn positive 
+0x559c 013650 fetch 1 ,mem_le_state 
+0x559d 013651 set0 lestate_update_map ,pdata 
+0x559e 013652 store 1 ,mem_le_state 
+0x559f 013653 fetch 5 ,mem_le_new_map 
+0x55a0 013654 store 5 ,mem_le_channel_map 
+0x55a1 013655 branch le_calc_channel_map 
+:      013658 le_acknowledge:
+0x55a2 013659 set1 mark_ext_patch ,mark 
+0x55a3 013660 bpatch patch2b_1 ,mem_patch2b 
+0x55a4 013661 call le_supervision_flush 
+0x55a5 013662 call le_check_wak 
+0x55a6 013663 fetch 1 ,mem_le_rxbuf 
+0x55a7 013664 rshift pdata ,pdata 
+0x55a8 013665 ixor temp ,pdata 
+0x55a9 013666 isolate1 nesn ,pdata 
+0x55aa 013667 setflag true ,mark_old_packet ,mark 
+0x55ab 013668 fetch 1 ,mem_le_rxbuf + 1 
+0x55ac 013669 branch le_ack_unenc ,blank 
+0x55ad 013670 fetch 1 ,mem_le_state 
+0x55ae 013671 bbit0 lestate_encryption ,le_ack_unenc 
+0x55af 013672 call load_sk 
+0x55b0 013673 call le_decrypt 
+0x55b1 013674 nrtn blank 
+:      013675 le_ack_unenc:
+0x55b2 013676 rtnmark1 mark_old_packet 
+0x55b3 013677 fetcht 1 ,mem_le_arq 
+0x55b4 013678 setflip nesn ,temp 
+0x55b5 013679 storet 1 ,mem_le_arq 
+0x55b6 013680 branch le_parse 
+:      013682 le_check_wak:
+0x55b7 013683 set1 mark_ext_patch ,mark 
+0x55b8 013684 bpatch patch2b_2 ,mem_patch2b 
+0x55b9 013685 fetcht 1 ,mem_le_arq 
+0x55ba 013686 isolate0 wak ,temp 
+0x55bb 013687 rtn true 
+0x55bc 013688 fetch 1 ,mem_le_rxbuf 
+0x55bd 013689 lshift pdata ,pdata 
+0x55be 013690 ixor temp ,pdata 
+0x55bf 013691 rtnbit0 sn 
+0x55c0 013692 set0 wak ,temp 
+0x55c1 013693 setflip sn ,temp 
+0x55c2 013694 storet 1 ,mem_le_arq 
+0x55c3 013695 compare 3 ,temp ,3 
+0x55c4 013696 nrtn true 
+0x55c5 013697 fetch 1 ,mem_le_txpayload 
+0x55c6 013698 rtnne ll_start_enc_req 
+0x55c7 013699 fetch 1 ,mem_le_state 
+0x55c8 013700 set1 lestate_encryption ,pdata 
+0x55c9 013701 store 1 ,mem_le_state 
+0x55ca 013702 rtn 
+:      013704 le_wait_adv:
+0x55cb 013705 set1 mark_ext_patch ,mark 
+0x55cc 013706 bpatch patch2b_3 ,mem_patch2b 
+0x55cd 013707 call le_next_adv_channel 
+0x55ce 013708 call le_receive_adv 
+0x55cf 013709 fetch 1 ,mem_le_adv_waitcnt 
+0x55d0 013710 increase 1 ,pdata 
+0x55d1 013711 store 1 ,mem_le_adv_waitcnt 
+0x55d2 013712 rtn 
+:      013714 le_scan:
+0x55d3 013715 set1 mark_ext_patch ,mark 
+0x55d4 013716 bpatch patch2b_4 ,mem_patch2b 
+0x55d5 013717 fetch 1 ,mem_le_scan_enable 
+0x55d6 013718 rtnne le_scan_enable 
+0x55d7 013719 arg le_scan_interval_timer ,queue 
+0x55d8 013720 call timer_check 
+0x55d9 013721 nrtn blank 
+0x55da 013722 fetch 2 ,mem_le_scan_interval 
+0x55db 013723 fetcht 2 ,mem_le_scan_window 
+0x55dc 013724 isub temp ,pdata 
+0x55dd 013725 arg le_scan_interval_timer ,queue 
+0x55de 013726 call timer_init 
+0x55df 013727 disable master 
+0x55e0 013728 call le_init_adv 
+0x55e1 013729 call le_wait_adv 
+0x55e2 013730 nrtn match 
+0x55e3 013731 set1 mark_ext_patch ,mark 
+0x55e4 013732 bpatch patch2b_5 ,mem_patch2b 
+0x55e5 013733 fetch 6 ,mem_le_rxbuf + 2 
+0x55e6 013734 store 6 ,mem_le_plap 
+0x55e7 013735 call le_scan_dongle 
+0x55e8 013736 call le_scan_addr_to_uart 
+0x55e9 013738 fetch 1 ,mem_le_adv_rcv 
+0x55ea 013739 increase 1 ,pdata 
+0x55eb 013740 store 1 ,mem_le_adv_rcv 
+0x55ec 013741 call le_create_conn 
+0x55ed 013742 rtn master 
+0x55ee 013743 call hci_send_le_adv_report_event 
+0x55ef 013744 call le_send_scan_request 
+0x55f0 013745 nrtn match 
+0x55f1 013746 set1 mark_ext_patch ,mark 
+0x55f2 013747 bpatch patch2b_6 ,mem_patch2b 
+0x55f3 013748 fetch 1 ,mem_le_scanrsp_rcv 
+0x55f4 013749 increase 1 ,pdata 
+0x55f5 013750 store 1 ,mem_le_scanrsp_rcv 
+0x55f6 013751 fetch 9 ,mem_le_rxbuf + 8 
+0x55f7 013752 store 9 ,mem_tmp_buffer 
+0x55f8 013753 branch hci_send_le_adv_report_event 
+:      013755 le_create_conn:
+0x55f9 013756 set1 mark_ext_patch ,mark 
+0x55fa 013757 bpatch patch2b_7 ,mem_patch2b 
+0x55fb 013758 fetch 1 ,mem_cmd_le_create_conn 
+0x55fc 013759 rtnne hci_cmd_le_create_conn ,pdata 
+0x55fd 013760 fetch 6 ,mem_le_plap 
+0x55fe 013761 fetcht 6 ,mem_le_conn_peer_addr 
+0x55ff 013762 isub temp ,null 
+0x5600 013763 nrtn zero 
+0x5601 013764 call context_new 
+0x5602 013765 nrtn zero 
+0x5603 013766 call le_connect_request 
+0x5604 013767 call le_init_master 
+0x5605 013768 set1 mark_ext_patch ,mark 
+0x5606 013769 bpatch patch2c_0 ,mem_patch2c 
+0x5607 013770 jam 0 ,mem_hci_cmd 
+0x5608 013771 jam 0 ,mem_le_peer_sca 
+0x5609 013772 fetch 1 ,mem_device_option 
+0x560a 013773 bne dvc_op_dongle ,le_create_conn_ndongle 
+0x560b 013774 jam conn_sm_send_write_req ,mem_le_conn_sm 
+:      013775 le_create_conn_ndongle:
+0x560c 013776 arg 0 ,temp 
+0x560d 013777 call hci_send_le_conn_complete 
+0x560e 013778 jam 0 ,mem_le_scan_enable 
+0x560f 013779 jam 0 ,mem_cmd_le_create_conn 
+0x5610 013780 jam xt_ll_version_ind ,mem_fifo_temp 
+0x5611 013781 call le_xtype_fifo_in 
+0x5612 013782 branch context_save 
+:      013784 le_scan_check_sender_addr_type:
+0x5613 013785 arg 1 ,rega 
+0x5614 013786 fetch 1 ,mem_le_rxbuf 
+0x5615 013787 rtnbit1 le_sender_addr_bit 
+0x5616 013788 arg 0 ,rega 
+0x5617 013789 rtn 
+:      013791 le_xtype_fifo_count:
+0x5618 013792 arg mem_le_xtype_fifo ,contr 
+0x5619 013793 branch fifo_content_count 
+:      013795 le_xtype_fifo_is_empty:
+0x561a 013796 arg mem_le_xtype_fifo ,rega 
+0x561b 013797 branch fifo_is_empty 
+:      013799 le_xtype_fifo_is_full:
+0x561c 013800 arg mem_le_xtype_fifo ,rega 
+0x561d 013801 branch fifo_is_full 
+:      013803 le_xtype_fifo_is_near_full:
+0x561e 013804 arg mem_le_xtype_fifo ,rega 
+0x561f 013805 branch fifo_is_near_full 
+:      013807 le_xtype_fifo_in:
+0x5620 013808 arg mem_le_xtype_fifo ,rega 
+0x5621 013809 branch fifo_in 
+:      013811 le_prepare_tx:
+0x5622 013812 set1 mark_ext_patch ,mark 
+0x5623 013813 bpatch patch2c_1 ,mem_patch2c 
+0x5624 013814 fetch 1 ,mem_le_arq 
+0x5625 013815 rtnbit1 wak 
+0x5626 013816 arg mem_le_xtype_fifo ,rega 
+0x5627 013817 call fifo_out 
+0x5628 013818 nbranch le_prepare_tx_cmd ,blank 
+0x5629 013819 fetch 1 ,mem_device_option 
+0x562a 013820 bne dvc_op_hci ,le_send_empty 
+0x562b 013821 arg 0 ,type 
+0x562c 013822 call hci_rx_packet 
+0x562d 013823 copy type ,pdata 
+0x562e 013824 nrtn blank 
+0x562f 013825 branch le_send_empty 
+:      013826 le_prepare_tx_cmd:
+0x5630 013827 copy pdata ,temp 
+0x5631 013828 set1 mark_ext_patch ,mark 
+0x5632 013829 bpatch patch2c_2 ,mem_patch2c 
+0x5633 013830 copy temp ,pdata 
+0x5634 013831 bbit0 5 ,le_prepare_l2cap 
+0x5635 013832 force 3 ,type 
+0x5636 013833 set0 5 ,pdata 
+0x5637 013834 store 1 ,mem_le_txpayload 
+0x5638 013835 set1 mark_ext_patch ,mark 
+0x5639 013836 bpatch patch2c_3 ,mem_patch2c 
+0x563a 013837 fetch 1 ,mem_le_txpayload 
+0x563b 013838 beq ll_connection_update_req ,le_send_connection_update_req 
+0x563c 013839 beq ll_channel_map_req ,le_send_channel_map_req 
+0x563d 013840 beq ll_terminate_ind ,le_send_terminate_ind 
+0x563e 013841 beq ll_enc_req ,le_send_enc_req 
+0x563f 013842 beq ll_enc_rsp ,le_send_enc_rsp 
+0x5640 013843 beq ll_start_enc_req ,le_send_start_enc_req 
+0x5641 013844 beq ll_start_enc_rsp ,le_send_start_enc_rsp 
+0x5642 013845 beq ll_unknown_rsp ,le_send_unknown_rsp 
+0x5643 013846 beq ll_feature_req ,le_send_feature 
+0x5644 013847 beq ll_feature_rsp ,le_send_feature 
+0x5645 013848 beq ll_pause_enc_req ,le_send_pause_enc_req 
+0x5646 013849 beq ll_pause_enc_rsp ,le_send_pause_enc_rsp 
+0x5647 013850 beq ll_version_ind ,le_send_version_ind 
+0x5648 013851 beq ll_reject_ind ,le_send_reject_ind 
+0x5649 013852 beq ll_connection_param_req ,le_send_conn_param_req 
+0x564a 013853 branch assert 
+:      013855 le_prepare_l2cap:
+0x564b 013856 jam 0 ,mem_le_txcid + 1 
+0x564c 013857 force 2 ,type 
+0x564d 013858 bbit0 6 ,le_prepare_att 
+0x564e 013859 beq attop_write_command ,le_prepare_att 
+0x564f 013860 beq attop_signed_write_command ,le_prepare_att 
+0x5650 013861 jam le_l2cap_cid_smp ,mem_le_txcid 
+0x5651 013862 set0 6 ,pdata 
+0x5652 013863 store 1 ,mem_le_l2cap 
+:      013864 le_prepare_smp:
+0x5653 013865 set1 mark_ext_patch ,mark 
+0x5654 013866 bpatch patch2c_4 ,mem_patch2c 
+0x5655 013867 fetch 1 ,mem_le_l2cap 
+:      013868 le_prepare_smp0:
+0x5656 013869 beq smp_pairing_request ,le_send_smp_pairing_request 
+0x5657 013870 beq smp_pairing_response ,le_send_smp_pairing_response 
+0x5658 013871 beq smp_pairing_confirm ,le_send_smp_pairing_confirm 
+0x5659 013872 beq smp_pairing_random ,le_send_smp_pairing_random 
+0x565a 013873 beq smp_pairing_failed ,le_send_smp_pairing_failed 
+0x565b 013874 beq smp_encryption_information ,le_send_smp_encryption_information 
+0x565c 013875 beq smp_master_identification ,le_send_smp_master_identification 
+0x565d 013876 beq smp_identity_information ,le_send_smp_identity_information 
+0x565e 013877 beq smp_identity_address_information ,le_send_smp_identity_address_information 
+0x565f 013878 beq smp_signing_information ,le_send_smp_signing_information 
+0x5660 013879 beq smp_security_request ,le_send_smp_security_request 
+0x5661 013880 branch assert 
+:      013882 le_prepare_att:
+0x5662 013883 jam le_l2cap_cid_att ,mem_le_txcid 
+0x5663 013884 store 1 ,mem_le_l2cap 
+0x5664 013885 set1 mark_ext_patch ,mark 
+0x5665 013886 bpatch patch2c_5 ,mem_patch2c 
+:      013887 le_prepare_att0:
+0x5666 013888 fetch 1 ,mem_le_l2cap 
+0x5667 013889 beq attop_error_response ,le_send_att_error_response 
+0x5668 013890 beq attop_exchange_mtu_request ,le_send_att_exchange_mtu 
+0x5669 013891 beq attop_exchange_mtu_response ,le_send_att_exchange_mtu 
+0x566a 013892 beq attop_find_information_request ,le_send_att_find_information_request 
+0x566b 013893 beq attop_find_information_response ,le_send_att_find_information_response 
+0x566c 013894 beq attop_find_by_type_value_request ,le_send_att_find_by_type_value_request 
+0x566d 013895 beq attop_find_by_type_value_response ,le_send_att_find_by_type_value_response 
+0x566e 013896 beq attop_read_by_type_request ,le_send_att_read_by_type_request 
+0x566f 013897 beq attop_read_by_type_response ,le_send_att_read_by_type_response 
+0x5670 013898 beq attop_read_request ,le_send_att_read_request 
+0x5671 013899 beq attop_read_response ,le_send_att_read_response 
+0x5672 013900 beq attop_read_blob_request ,le_send_att_read_blob_request 
+0x5673 013901 beq attop_read_blob_response ,le_send_att_read_blob_response 
+0x5674 013902 beq attop_read_multiple_request ,le_send_att_read_multiple_request 
+0x5675 013903 beq attop_read_multiple_response ,le_send_att_read_multiple_response 
+0x5676 013904 beq attop_read_by_group_type_request ,le_send_att_read_by_group_type_request 
+0x5677 013905 beq attop_read_by_group_type_response ,le_send_att_read_by_group_type_response 
+0x5678 013906 beq attop_write_request ,le_send_att_write_request 
+0x5679 013907 beq attop_write_response ,le_send_att_write_response 
+0x567a 013908 beq attop_prepare_write_request ,le_send_att_prepare_write_request 
+0x567b 013909 beq attop_prepare_write_response ,le_send_att_prepare_write_response 
+0x567c 013910 beq attop_execute_write_request ,le_send_att_execute_write_request 
+0x567d 013911 beq attop_execute_write_response ,le_send_att_execute_write_response 
+0x567e 013912 beq attop_handle_value_notification ,le_send_att_handle_value_notification 
+0x567f 013913 beq attop_handle_value_indication ,le_send_att_handle_value_indication 
+0x5680 013914 beq attop_handle_value_confirmation ,le_send_att_handle_value_confirmation 
+0x5681 013915 beq attop_write_command ,le_send_att_write_command 
+0x5682 013916 beq attop_signed_write_command ,le_send_att_signed_write_command 
+0x5683 013917 beq empty_le_data_pre ,le_send_empty_le_data_pre 
+0x5684 013918 beq empty_le_data ,le_send_empty_le_data 
+0x5685 013919 branch assert 
+:      013921 le_send_empty_le_data_pre:
+0x5686 013922 jam attop_read_by_group_type_request ,mem_fifo_temp 
+0x5687 013923 call le_xtype_fifo_in 
+:      013925 le_send_empty_le_data:
+0x5688 013926 setarg 0x0011 
+0x5689 013927 store 2 ,mem_le_txheader 
+0x568a 013928 fetch 1 ,mem_le_arq 
+0x568b 013929 set1 wak ,pdata 
+0x568c 013930 store 1 ,mem_le_arq 
+0x568d 013931 jam attop_write_request ,mem_fifo_temp 
+0x568e 013932 branch le_xtype_fifo_in 
+:      013934 le_send_connection_update_req:
+0x568f 013935 force 12 ,temp 
+0x5690 013936 branch le_send_packet 
+:      013938 le_send_channel_map_req:
+0x5691 013939 force 8 ,temp 
+0x5692 013940 branch le_send_packet 
+:      013942 le_send_terminate_ind:
+0x5693 013943 force 2 ,temp 
+0x5694 013944 branch le_send_packet 
+:      013946 le_send_enc_req:
+0x5695 013947 force 0 ,pdata 
+0x5696 013948 istore 8 ,contw 
+0x5697 013949 istore 2 ,contw 
+0x5698 013950 copy contw ,temp 
+0x5699 013951 arg mem_le_skdm ,contw 
+0x569a 013952 force 8 ,loopcnt 
+0x569b 013953 call generate_random_loop 
+0x569c 013954 fetch 8 ,mem_le_skdm 
+0x569d 013955 istore 8 ,temp 
+0x569e 013956 copy contw ,temp 
+0x569f 013957 arg mem_le_ivm ,contw 
+0x56a0 013958 force 4 ,loopcnt 
+0x56a1 013959 call generate_random_loop 
+0x56a2 013960 fetch 4 ,mem_le_ivm 
+0x56a3 013961 istore 4 ,temp 
+0x56a4 013962 force 23 ,temp 
+0x56a5 013963 branch le_send_packet 
+:      013965 le_send_enc_rsp:
+0x56a6 013966 copy contw ,temp 
+0x56a7 013967 arg mem_le_skds ,contw 
+0x56a8 013968 force 8 ,loopcnt 
+0x56a9 013969 call generate_random_loop 
+0x56aa 013970 fetch 8 ,mem_le_skds 
+0x56ab 013971 istore 8 ,temp 
+0x56ac 013972 copy contw ,temp 
+0x56ad 013973 arg mem_le_ivs ,contw 
+0x56ae 013974 force 4 ,loopcnt 
+0x56af 013975 call generate_random_loop 
+0x56b0 013976 fetch 4 ,mem_le_ivs 
+0x56b1 013977 istore 4 ,temp 
+0x56b2 013978 call generate_sk 
+0x56b3 013979 jam xt_ll_start_enc_req ,mem_fifo_temp 
+0x56b4 013980 call le_xtype_fifo_in 
+0x56b5 013981 force 13 ,temp 
+0x56b6 013982 branch le_send_packet 
+:      013984 le_send_start_enc_req:
+0x56b7 013985 force 1 ,temp 
+0x56b8 013986 branch le_send_packet 
+:      013988 le_send_start_enc_rsp:
+0x56b9 013989 force 1 ,temp 
+0x56ba 013990 branch le_send_packet ,master 
+0x56bb 013991 jam xt_smp_encryption_information ,mem_fifo_temp 
+0x56bc 013992 call le_xtype_fifo_in 
+0x56bd 013993 force 1 ,temp 
+0x56be 013994 branch le_send_packet 
+:      013996 le_send_unknown_rsp:
+0x56bf 013997 force 2 ,temp 
+0x56c0 013998 branch le_send_packet 
+:      014000 le_send_feature:
+0x56c1 014001 setarg param_le_features 
+0x56c2 014002 istore 8 ,contw 
+0x56c3 014003 force 9 ,temp 
+0x56c4 014004 branch le_send_packet 
+:      014006 le_send_pause_enc_req:
+0x56c5 014007 force 6 ,temp 
+0x56c6 014008 branch le_send_packet 
+:      014010 le_send_pause_enc_rsp:
+0x56c7 014011 force 6 ,temp 
+0x56c8 014012 branch le_send_packet 
+:      014014 le_send_version_ind:
+0x56c9 014015 setarg param_le_version 
+0x56ca 014016 istore 3 ,contw 
+0x56cb 014017 setarg param_le_subversion 
+0x56cc 014018 istore 2 ,contw 
+0x56cd 014019 force 6 ,temp 
+0x56ce 014020 branch le_send_packet 
+:      014022 le_send_reject_ind:
+0x56cf 014023 force 2 ,temp 
+0x56d0 014024 branch le_send_packet 
+:      014026 le_send_conn_param_req:
+0x56d1 014027 increase -1 ,contw 
+0x56d2 014028 setarg 0x000c 
+0x56d3 014029 istore 2 ,contw 
+0x56d4 014030 setarg 0x0005 
+0x56d5 014031 istore 2 ,contw 
+0x56d6 014032 setarg 0xb412 
+0x56d7 014033 istore 2 ,contw 
+0x56d8 014034 setarg 0x0008 
+0x56d9 014035 istore 2 ,contw 
+0x56da 014036 setarg 0x0008 
+0x56db 014037 istore 2 ,contw 
+0x56dc 014038 setarg 0x0010 
+0x56dd 014039 istore 2 ,contw 
+0x56de 014040 setarg 0 
+0x56df 014041 istore 2 ,contw 
+0x56e0 014042 setarg 0x012c 
+0x56e1 014043 istore 2 ,contw 
+0x56e2 014044 call le_send_autolen 
+0x56e3 014045 force 2 ,type 
+0x56e4 014046 branch le_send_packet 
+:      014048 le_send_smp_pairing_request:
+0x56e5 014049 setarg 0x1000401 
+0x56e6 014050 store 4 ,mem_le_preq 
+0x56e7 014051 setarg 0x070710 
+0x56e8 014052 istore 3 ,contw 
+0x56e9 014053 fetch 6 ,mem_le_preq + 1 
+0x56ea 014054 store 6 ,mem_le_l2cap_response 
+0x56eb 014055 force 11 ,temp 
+0x56ec 014056 branch le_send_packet 
+:      014058 le_send_smp_pairing_response:
+0x56ed 014059 setarg param_smp_paring_response 
+0x56ee 014060 store 4 ,mem_le_pres 
+0x56ef 014061 setarg param_smp_key_dist 
+0x56f0 014062 istore 3 ,contw 
+0x56f1 014063 fetch 6 ,mem_le_pres + 1 
+0x56f2 014064 store 6 ,mem_le_l2cap_response 
+0x56f3 014065 force 11 ,temp 
+0x56f4 014066 branch le_send_packet 
+:      014068 le_send_smp_pairing_confirm:
+0x56f5 014069 call generate_confirm 
+0x56f6 014070 arg mem_le_l2cap_response ,contw 
+0x56f7 014071 call store_aes_result 
+0x56f8 014072 force 21 ,temp 
+0x56f9 014073 branch le_send_packet 
+:      014075 le_send_smp_pairing_random:
+0x56fa 014076 fetch 8 ,mem_le_mrand 
+0x56fb 014077 branch le_send_smp_mrandom ,master 
+0x56fc 014078 fetch 8 ,mem_le_srand 
+:      014080 le_send_smp_mrandom:
+0x56fd 014081 call le_send_smp_128 
+0x56fe 014082 branch le_send_packet 
+:      014084 le_send_smp_pairing_failed:
+0x56ff 014085 force 6 ,temp 
+0x5700 014086 branch le_send_packet 
+:      014088 le_send_smp_encryption_information:
+0x5701 014089 jam bt_evt_le_enc_info ,mem_fifo_temp 
+0x5702 014090 call ui_ipc_send_event 
+0x5703 014091 jam xt_smp_master_identification ,mem_fifo_temp 
+0x5704 014092 call le_xtype_fifo_in 
+0x5705 014093 arg mem_le_my_ltk ,contw 
+0x5706 014094 call generate_random 
+0x5707 014095 fetch 8 ,mem_le_my_ltk 
+0x5708 014096 fetch 8 ,mem_le_ltk 
+0x5709 014097 call le_send_smp_128 
+0x570a 014098 branch le_send_packet 
+:      014100 le_send_smp_master_identification:
+0x570b 014101 jam xt_smp_identity_information ,mem_fifo_temp 
+0x570c 014102 call le_xtype_fifo_in 
+0x570d 014103 arg mem_le_l2cap_response ,contw 
+0x570e 014104 force 8 ,loopcnt 
+0x570f 014105 call generate_random_loop 
+0x5710 014106 force 15 ,temp 
+0x5711 014107 branch le_send_packet 
+:      014109 le_send_smp_identity_information:
+0x5712 014110 jam xt_smp_identity_address_information ,mem_fifo_temp 
+0x5713 014111 call le_xtype_fifo_in 
+0x5714 014112 arg mem_le_l2cap_response ,contw 
+0x5715 014113 call generate_random 
+0x5716 014114 branch le_send_autolen 
+:      014116 le_send_smp_identity_address_information:
+0x5717 014117 jam xt_smp_signing_information ,mem_fifo_temp 
+0x5718 014118 call le_xtype_fifo_in 
+0x5719 014119 force 0 ,pdata 
+0x571a 014120 store 1 ,mem_le_l2cap_response 
+0x571b 014121 fetch 6 ,mem_le_lap 
+0x571c 014122 istore 6 ,contw 
+0x571d 014123 branch le_send_autolen 
+:      014125 le_send_smp_signing_information:
+0x571e 014126 arg mem_le_l2cap_response ,contw 
+0x571f 014127 call generate_random 
+0x5720 014128 branch le_send_autolen 
+:      014130 le_send_smp_security_request:
+0x5721 014131 force 6 ,temp 
+0x5722 014132 branch le_send_packet 
+:      014134 le_send_smp_128:
+0x5723 014135 store 8 ,mem_le_l2cap_response 
+0x5724 014136 ifetch 8 ,contr 
+0x5725 014137 istore 8 ,contw 
+0x5726 014138 force 21 ,temp 
+0x5727 014139 rtn 
+:      014141 le_send_att_error_response_notfound:
+0x5728 014142 jam att_err_attribute_not_found ,mem_le_err_code 
+:      014143 le_send_att_error_response:
+0x5729 014144 jam attop_error_response ,mem_le_l2cap 
+0x572a 014145 fetch 3 ,mem_le_att_opcode 
+0x572b 014146 store 3 ,mem_le_l2cap_response 
+0x572c 014147 fetch 1 ,mem_le_err_code 
+0x572d 014148 istore 1 ,contw 
+0x572e 014149 branch le_send_autolen 
+:      014151 le_send_att_exchange_mtu:
+0x572f 014152 setarg param_le_mtu 
+0x5730 014153 istore 2 ,contw 
+0x5731 014154 branch le_send_autolen 
+:      014156 le_send_att_find_information_request:
+0x5732 014157 fetch 2 ,mem_le_search_handle_start 
+0x5733 014158 store 2 ,mem_le_l2cap_response 
+0x5734 014159 fetch 2 ,mem_le_search_handle_end 
+0x5735 014160 istore 2 ,contw 
+0x5736 014161 branch le_send_autolen 
+:      014165 le_send_att_find_information_response:
+0x5737 014166 force 1 ,pdata 
+0x5738 014167 store 1 ,mem_le_l2cap_response 
+0x5739 014168 call le_init_attlist_search 
+:      014169 le_send_att_find_information_res_loop:
+0x573a 014170 call le_att_handle_inrange 
+0x573b 014171 branch le_send_att_find_information_res_end ,blank 
+0x573c 014172 nbranch le_send_att_find_information_res_next ,positive 
+0x573d 014173 disable user 
+0x573e 014174 istore 2 ,contw 
+0x573f 014175 ifetch 2 ,contr 
+0x5740 014176 istore 2 ,contw 
+:      014177 le_send_att_find_information_res_cont:
+0x5741 014178 ifetch 1 ,contr 
+0x5742 014179 iadd contr ,contr 
+0x5743 014180 branch le_send_att_find_information_res_loop 
+:      014181 le_send_att_find_information_res_next:
+0x5744 014182 increase 2 ,contr 
+0x5745 014183 branch le_send_att_find_information_res_cont 
+:      014184 le_send_att_find_information_res_end:
+0x5746 014185 branch le_send_att_error_response_notfound ,user 
+0x5747 014186 branch le_send_autolen 
+:      014189 le_send_att_find_by_type_value_request:
+0x5748 014190 fetch 2 ,mem_le_search_handle_start 
+0x5749 014191 branch le_send_empty_le_data ,blank 
+0x574a 014192 store 2 ,mem_le_l2cap_response 
+0x574b 014193 fetch 2 ,mem_le_search_handle_end 
+0x574c 014195 istore 2 ,contw 
+0x574d 014196 fetch 2 ,mem_le_uuid 
+0x574e 014198 istore 2 ,contw 
+0x574f 014199 fetch 2 ,mem_le_search_att_type 
+0x5750 014201 istore 2 ,contw 
+0x5751 014202 branch le_send_autolen 
+:      014205 le_send_att_find_by_type_value_response:
+0x5752 014206 call le_start_end_handle_check_1 
+0x5753 014207 rtn user 
+0x5754 014208 fetcht 2 ,mem_le_uuid 
+0x5755 014209 setarg uuid_gatt_primary_service 
+0x5756 014210 isub temp ,null 
+0x5757 014211 branch le_send_att_find_by_type_value_res_primary ,zero 
+0x5758 014212 setarg uuid_gatt_secondary_service 
+0x5759 014213 isub temp ,null 
+0x575a 014214 branch le_send_att_error_response_notfound ,zero 
+0x575b 014215 setarg uuid_gatt_include 
+0x575c 014216 isub temp ,null 
+0x575d 014217 branch le_send_att_error_response_notfound ,zero 
+0x575e 014218 setarg uuid_gatt_characteristic 
+0x575f 014219 isub temp ,null 
+0x5760 014220 branch le_send_att_error_response_notfound ,zero 
+0x5761 014221 branch le_send_att_error_response_notfound 
+:      014223 le_send_att_find_by_type_value_res_primary:
+0x5762 014224 fetcht 2 ,mem_le_search_att_type 
+0x5763 014225 increase 2 ,contr 
+0x5764 014226 ifetch 1 ,contr 
+0x5765 014227 icopy regc 
+0x5766 014228 increase 1 ,regc 
+:      014230 le_send_att_find_by_type_value_res_primary_search_loop:
+0x5767 014231 increase -1 ,regc 
+0x5768 014232 branch le_send_att_error_response_notfound ,zero 
+0x5769 014233 ifetch 2 ,contr 
+0x576a 014234 isub temp ,null 
+0x576b 014235 branch le_send_att_find_by_type_value_res_primary_search_end ,zero 
+0x576c 014236 increase 4 ,contr 
+0x576d 014237 branch le_send_att_find_by_type_value_res_primary_search_loop 
+:      014239 le_send_att_find_by_type_value_res_primary_search_end:
+0x576e 014240 ifetch 2 ,contr 
+0x576f 014241 icopy rega 
+0x5770 014242 ifetch 2 ,contr 
+0x5771 014243 icopy regb 
+0x5772 014244 call le_start_end_handle_check_2 
+0x5773 014245 rtn user 
+0x5774 014246 jam attop_find_by_type_value_response ,mem_le_l2cap 
+0x5775 014247 deposit rega 
+0x5776 014248 store 2 ,mem_le_l2cap_response 
+0x5777 014249 deposit regb 
+0x5778 014250 istore 2 ,contw 
+0x5779 014251 force 9 ,temp 
+0x577a 014252 branch le_send_packet 
+:      014257 le_start_end_handle_check_1:
+0x577b 014258 disable user 
+0x577c 014259 fetcht 2 ,mem_le_search_handle_start 
+0x577d 014260 fetch 2 ,mem_le_search_handle_end 
+0x577e 014261 isub temp ,null 
+0x577f 014262 nbranch le_start_end_handle_check_1_fail ,positive 
+0x5780 014263 deposit temp 
+0x5781 014264 rtnne 0 
+:      014266 le_start_end_handle_check_1_fail:
+0x5782 014267 enable user 
+:      014268 le_send_att_invalid_handle:
+0x5783 014269 jam att_err_invalid_handle ,mem_le_err_code 
+0x5784 014270 branch le_send_att_error_response 
+:      014272 le_start_end_handle_check_2:
+0x5785 014273 disable user 
+0x5786 014274 fetcht 2 ,mem_le_search_handle_start 
+0x5787 014275 deposit rega 
+0x5788 014276 isub temp ,null 
+0x5789 014277 nbranch le_start_end_handle_check_2_fail ,positive 
+0x578a 014278 fetch 2 ,mem_le_search_handle_end 
+0x578b 014279 isub regb ,null 
+0x578c 014280 nbranch le_start_end_handle_check_2_fail ,positive 
+0x578d 014281 deposit regb 
+0x578e 014282 isub rega ,null 
+0x578f 014283 nbranch le_start_end_handle_check_2_fail ,positive 
+0x5790 014284 rtn 
+:      014286 le_start_end_handle_check_2_fail:
+0x5791 014287 enable user 
+0x5792 014288 branch le_send_att_error_response_notfound 
+:      014291 le_send_att_read_by_type_request:
+0x5793 014292 fetch 2 ,mem_le_search_handle_start 
+0x5794 014294 istore 2 ,contw 
+0x5795 014295 fetch 2 ,mem_le_search_handle_end 
+0x5796 014297 istore 2 ,contw 
+0x5797 014298 fetch 2 ,mem_le_search_att_type 
+0x5798 014299 istore 2 ,contw 
+0x5799 014300 force 11 ,temp 
+0x579a 014301 branch le_send_packet 
+:      014304 le_send_att_read_by_type_response:
+0x579b 014305 fetcht 2 ,mem_le_search_att_type 
+0x579c 014306 setarg uuid_gatt_characteristic 
+0x579d 014307 isub temp ,null 
+0x579e 014308 setarg 7 
+0x579f 014309 branch le_send_att_read_by_type_res_cont ,zero 
+0x57a0 014310 setarg uuid_gatt_primary_service 
+0x57a1 014311 isub temp ,null 
+0x57a2 014312 setarg 6 
+0x57a3 014313 branch le_send_att_read_by_type_res_cont ,zero 
+0x57a4 014314 branch le_send_att_error_response_notfound 
+:      014315 le_send_att_read_by_type_res_cont:
+0x57a5 014316 store 1 ,mem_le_l2cap_response 
+0x57a6 014317 call le_init_attlist_search 
+0x57a7 014318 force 3 ,alarm 
+:      014319 le_send_att_read_by_type_res_loop:
+0x57a8 014320 call le_att_handle_inrange 
+0x57a9 014321 branch le_send_att_read_by_type_res_end ,blank 
+0x57aa 014322 nbranch le_send_att_read_by_type_res_next ,positive 
+0x57ab 014323 iforce rega 
+0x57ac 014324 ifetch 2 ,contr 
+0x57ad 014325 isub temp ,null 
+0x57ae 014326 nbranch le_send_att_read_by_type_res_next2 ,zero 
+0x57af 014327 disable user 
+0x57b0 014328 deposit rega 
+0x57b1 014329 istore 2 ,contw 
+0x57b2 014330 ifetch 1 ,contr 
+0x57b3 014331 add pdata ,4 ,loopcnt 
+0x57b4 014332 call memcpy 
+0x57b5 014333 increase -1 ,alarm 
+0x57b6 014334 branch le_send_att_read_by_type_res_end ,zero 
+0x57b7 014335 branch le_send_att_read_by_type_res_next2 
+:      014336 le_send_att_read_by_type_res_next:
+0x57b8 014337 increase 2 ,contr 
+:      014338 le_send_att_read_by_type_res_next2:
+0x57b9 014339 ifetch 1 ,contr 
+0x57ba 014340 iadd contr ,contr 
+0x57bb 014341 branch le_send_att_read_by_type_res_loop 
+:      014342 le_send_att_read_by_type_res_end:
+0x57bc 014343 branch le_send_att_error_response_notfound ,user 
+0x57bd 014344 branch le_send_autolen 
+:      014347 le_send_att_read_request:
+0x57be 014348 fetch 1 ,mem_le_temp 
+0x57bf 014350 increase -1 ,pdata 
+0x57c0 014351 store 1 ,mem_le_temp 
+0x57c1 014352 lshift pdata ,pdata 
+0x57c2 014354 iadd contr ,contr 
+0x57c3 014355 ifetcht 2 ,contr 
+0x57c4 014356 storet 2 ,mem_le_l2cap_response 
+0x57c5 014357 branch le_send_autolen 
+:      014359 le_send_att_read_response:
+0x57c6 014360 fetcht 2 ,mem_le_att_handle 
+0x57c7 014361 call le_att_get_handle_ptr 
+0x57c8 014362 branch le_send_att_error_response_notfound ,blank 
+0x57c9 014363 ifetch 1 ,contr 
+0x57ca 014364 branch le_send_autolen ,blank 
+0x57cb 014365 sub pdata ,22 ,null 
+0x57cc 014366 branch le_send_att_read_response_less ,positive 
+0x57cd 014367 force 22 ,pdata 
+:      014368 le_send_att_read_response_less:
+0x57ce 014369 icopy loopcnt 
+0x57cf 014370 call memcpy 
+0x57d0 014371 branch le_send_autolen 
+:      014374 le_send_att_read_blob_request:
+0x57d1 014375 setarg 0x0003 
+0x57d2 014376 store 2 ,mem_le_l2cap_response 
+0x57d3 014377 setarg 0x0008 
+0x57d4 014378 istore 2 ,contw 
+0x57d5 014379 branch le_send_autolen 
+:      014381 le_send_att_read_blob_response:
+0x57d6 014382 fetch 2 ,mem_le_att_offset 
+0x57d7 014383 iforce rega 
+0x57d8 014384 fetcht 2 ,mem_le_att_handle 
+0x57d9 014385 call le_att_get_handle_ptr 
+0x57da 014386 branch le_send_att_error_response_notfound ,blank 
+0x57db 014387 ifetch 1 ,contr 
+0x57dc 014388 isub rega ,loopcnt 
+0x57dd 014389 nbranch le_send_att_error_response_notfound ,positive 
+0x57de 014390 sub loopcnt ,22 ,null 
+0x57df 014391 branch le_send_att_read_blob_response_less ,positive 
+0x57e0 014392 force 22 ,loopcnt 
+:      014393 le_send_att_read_blob_response_less:
+0x57e1 014394 deposit rega 
+0x57e2 014395 iadd contr ,contr 
+0x57e3 014396 call memcpy 
+0x57e4 014397 branch le_send_autolen 
+:      014399 le_send_att_read_multiple_request:
+0x57e5 014400 setarg 0x0003 
+0x57e6 014401 istore 2 ,contw 
+0x57e7 014402 setarg 0x0007 
+0x57e8 014403 istore 2 ,contw 
+0x57e9 014404 setarg 0x0009 
+0x57ea 014405 istore 2 ,contw 
+0x57eb 014406 branch le_send_autolen 
+:      014408 le_send_att_read_multiple_response:
+0x57ec 014409 fetch 1 ,mem_le_temp 
+0x57ed 014410 icopy regc 
+0x57ee 014411 arg mem_le_rxbuf + 7 ,rega 
+0x57ef 014412 arg mem_le_l2cap_response ,regb 
+0x57f0 014413 arg 0 ,timeup 
+0x57f1 014414 disable user7 
+:      014416 le_send_att_read_multiple_response_loop:
+0x57f2 014417 copy rega ,contr 
+0x57f3 014418 ifetcht 2 ,contr 
+0x57f4 014419 copy contr ,rega 
+0x57f5 014420 call le_att_get_handle_ptr 
+0x57f6 014421 branch le_send_att_read_multiple_response_end ,blank 
+0x57f7 014422 ifetch 1 ,contr 
+0x57f8 014423 icopy loopcnt 
+0x57f9 014424 iadd timeup ,timeup 
+0x57fa 014428 sub timeup ,24 ,null 
+0x57fb 014429 nbranch le_send_att_read_multiple_response_end_1 ,positive 
+0x57fc 014430 copy regb ,contw 
+:      014432 le_copy_att_value_loop_3:
+0x57fd 014433 ifetch 1 ,contr 
+0x57fe 014434 istore 1 ,contw 
+0x57ff 014435 loop le_copy_att_value_loop_3 
+0x5800 014436 copy contw ,regb 
+0x5801 014437 enable user7 
+0x5802 014438 increase -1 ,regc 
+0x5803 014439 branch le_send_att_read_multiple_response_end ,zero 
+0x5804 014440 branch le_send_att_read_multiple_response_loop 
+:      014442 le_send_att_read_multiple_response_end:
+0x5805 014443 nbranch le_send_att_read_multiple_response_fail ,user7 
+0x5806 014444 disable user7 
+0x5807 014445 copy timeup ,temp 
+0x5808 014446 increase 5 ,temp 
+0x5809 014447 branch le_send_packet 
+:      014449 le_send_att_read_multiple_response_end_1:
+0x580a 014450 nbranch le_send_att_read_multiple_response_fail ,user7 
+0x580b 014451 disable user7 
+0x580c 014452 deposit timeup 
+0x580d 014453 isub loopcnt ,temp 
+0x580e 014454 increase 5 ,temp 
+0x580f 014455 branch le_send_packet 
+:      014457 le_send_att_read_multiple_response_fail:
+0x5810 014458 jam att_err_unsupported_group_type ,mem_le_err_code 
+0x5811 014459 branch le_send_att_error_response 
+:      014462 le_send_att_read_by_group_type_request:
+0x5812 014463 fetch 2 ,mem_le_att_handle 
+0x5813 014464 branch le_send_empty_le_data ,blank 
+0x5814 014465 istore 2 ,contw 
+0x5815 014466 setarg 0xffff 
+0x5816 014467 istore 2 ,contw 
+0x5817 014468 setarg 0x2800 
+0x5818 014469 istore 2 ,contw 
+0x5819 014470 branch le_send_autolen 
+:      014473 le_send_att_read_by_group_type_response:
+0x581a 014474 setarg 0x06 
+0x581b 014475 store 1 ,mem_le_l2cap_response 
+0x581c 014476 fetch 2 ,mem_le_search_att_type 
+0x581d 014477 iforce rega 
+0x581e 014478 call le_init_attlist_search 
+0x581f 014479 force 3 ,loopcnt 
+:      014480 le_send_att_read_by_group_type_response_loop:
+0x5820 014481 call le_att_handle_inrange 
+0x5821 014482 branch le_send_att_read_by_group_type_response_last ,blank 
+0x5822 014483 nbranch le_send_att_read_by_group_type_response_next ,positive 
+0x5823 014484 iforce alarm 
+0x5824 014485 ifetch 2 ,contr 
+0x5825 014486 isub rega ,null 
+0x5826 014487 nbranch le_send_att_read_by_group_type_response_cont ,zero 
+0x5827 014488 deposit alarm 
+0x5828 014489 branch le_send_att_read_by_group_type_response_first ,user 
+0x5829 014490 increase -1 ,pdata 
+0x582a 014491 istore 2 ,contw 
+0x582b 014492 istoret 2 ,contw 
+0x582c 014493 increase 1 ,pdata 
+0x582d 014494 increase -1 ,loopcnt 
+0x582e 014495 branch le_send_autolen ,zero 
+:      014496 le_send_att_read_by_group_type_response_first:
+0x582f 014497 disable user 
+0x5830 014498 istore 2 ,contw 
+0x5831 014499 increase 1 ,contr 
+0x5832 014500 ifetcht 2 ,contr 
+0x5833 014501 increase -3 ,contr 
+0x5834 014502 branch le_send_att_read_by_group_type_response_cont 
+:      014503 le_send_att_read_by_group_type_response_last:
+0x5835 014504 branch le_send_att_error_response_notfound ,user 
+0x5836 014505 force -1 ,pdata 
+0x5837 014506 istore 2 ,contw 
+0x5838 014507 istoret 2 ,contw 
+0x5839 014508 branch le_send_autolen 
+:      014509 le_send_att_read_by_group_type_response_next:
+0x583a 014510 increase 2 ,contr 
+:      014511 le_send_att_read_by_group_type_response_cont:
+0x583b 014512 ifetch 1 ,contr 
+0x583c 014513 iadd contr ,contr 
+0x583d 014514 branch le_send_att_read_by_group_type_response_loop 
+:      014518 le_send_att_write_request:
+0x583e 014519 fetch 2 ,mem_le_notify_handle 
+0x583f 014520 store 2 ,mem_le_l2cap_response 
+0x5840 014521 fetch 1 ,mem_le_handle_data_len 
+0x5841 014522 copy pdata ,loopcnt 
+0x5842 014523 arg mem_le_handle_data ,contr 
+0x5843 014524 call memcpy 
+0x5844 014525 branch le_send_autolen 
+:      014527 le_send_att_write_response:
+0x5845 014528 fetcht 2 ,mem_le_att_handle 
+0x5846 014529 call le_att_get_handle_ptr 
+0x5847 014530 branch le_send_att_write_response_go ,blank 
+0x5848 014531 increase -2 ,contr 
+0x5849 014532 ifetcht 2 ,contr 
+0x584a 014533 setarg uuid_client_characteristic 
+0x584b 014534 isub temp ,null 
+0x584c 014535 nbranch le_send_att_write_response_go ,zero 
+0x584d 014536 increase 1 ,contr 
+0x584e 014537 ifetcht 2 ,contr 
+0x584f 014538 setarg 0x0001 
+0x5850 014539 isub temp ,null 
+0x5851 014540 branch le_send_att_write_response_notify ,zero 
+0x5852 014541 setarg 0x0000 
+0x5853 014542 isub temp ,null 
+0x5854 014543 nbranch le_send_att_write_response_go ,zero 
+0x5855 014544 branch le_send_att_write_response_go 
+:      014546 le_send_att_write_response_notify:
+0x5856 014547 increase -7 ,contr 
+0x5857 014548 ifetch 2 ,contr 
+0x5858 014549 increase -1 ,pdata 
+0x5859 014550 store 2 ,mem_le_notify_handle 
+0x585a 014551 jam attop_handle_value_notification ,mem_fifo_temp 
+0x585b 014552 call le_xtype_fifo_in 
+:      014555 le_send_att_write_response_go:
+0x585c 014556 force 5 ,temp 
+0x585d 014557 branch le_send_packet 
+:      014559 le_send_att_prepare_write_request:
+0x585e 014560 force 6 ,temp 
+0x585f 014561 branch le_send_packet 
+:      014563 le_send_att_prepare_write_response:
+0x5860 014564 force 6 ,temp 
+0x5861 014565 branch le_send_packet 
+:      014567 le_send_att_execute_write_request:
+0x5862 014568 force 6 ,temp 
+0x5863 014569 branch le_send_packet 
+:      014571 le_send_att_execute_write_response:
+0x5864 014572 force 6 ,temp 
+0x5865 014573 branch le_send_packet 
+:      014575 le_att_check_notification_enable:
+0x5866 014576 set1 mark_ext_patch ,mark 
+0x5867 014577 bpatch patch2c_6 ,mem_patch2c 
+0x5868 014578 increase 1 ,temp 
+0x5869 014579 call le_att_get_handle_ptr 
+0x586a 014580 increase -2 ,contr 
+0x586b 014581 ifetch 2 ,contr 
+0x586c 014582 arg client_charactertic_configuration ,temp 
+0x586d 014583 isub temp ,null 
+0x586e 014584 nrtn zero 
+0x586f 014585 increase 1 ,contr 
+0x5870 014586 copy contr ,rega 
+0x5871 014587 ifetch 1 ,contr 
+0x5872 014588 rtn 
+:      014590 le_send_att_handle_value_notification:
+0x5873 014591 jam 0 ,mem_le_notify_len 
+0x5874 014592 fetch 2 ,mem_cb_update_notify_value 
+0x5875 014593 call callback_func 
+0x5876 014594 arg mem_le_l2cap ,contw 
+0x5877 014595 increase 1 ,contw 
+0x5878 014596 fetcht 2 ,mem_le_notify_handle 
+0x5879 014597 istoret 2 ,contw 
+0x587a 014598 call le_att_get_handle_ptr 
+0x587b 014599 ifetch 1 ,contr 
+0x587c 014600 icopy loopcnt 
+0x587d 014601 call memcpy 
+0x587e 014602 fetcht 1 ,mem_le_notify_len 
+0x587f 014603 increase 7 ,temp 
+0x5880 014604 call le_send_packet 
+0x5881 014605 branch le_clear_notify_att 
+:      014607 le_send_att_handle_value_indication:
+0x5882 014608 force 6 ,temp 
+0x5883 014609 branch le_send_packet 
+:      014611 le_send_att_handle_value_confirmation:
+0x5884 014612 force 6 ,temp 
+0x5885 014613 branch le_send_packet 
+:      014615 le_send_att_write_command:
+0x5886 014616 force 6 ,temp 
+0x5887 014617 branch le_send_packet 
+:      014619 le_send_att_signed_write_command:
+0x5888 014620 force 6 ,temp 
+0x5889 014621 branch le_send_packet 
+:      014624 le_send_autolen:
+0x588a 014625 set1 mark_ext_patch ,mark 
+0x588b 014626 bpatch patch2c_7 ,mem_patch2c 
+0x588c 014627 setarg mem_le_txpayload 
+0x588d 014628 isub contw ,pdata 
+0x588e 014629 sub pdata ,0 ,temp 
+0x588f 014630 branch le_send_packet 
+:      014633 le_send_empty:
+0x5890 014634 force 0 ,temp 
+0x5891 014635 force 1 ,type 
+:      014637 le_send_packet:
+0x5892 014638 set1 mark_ext_patch ,mark 
+0x5893 014639 bpatch patch2d_0 ,mem_patch2d 
+0x5894 014640 storet 1 ,mem_le_txlen 
+0x5895 014641 compare 2 ,type ,3 
+0x5896 014642 nbranch le_send_non_l2cap ,true 
+0x5897 014643 add temp ,-4 ,pdata 
+0x5898 014644 store 2 ,mem_le_txpayload 
+:      014646 le_send_non_l2cap:
+0x5899 014647 fetcht 1 ,mem_le_arq 
+0x589a 014648 call le_xtype_fifo_is_empty 
+0x589b 014649 nsetflag blank ,md ,temp 
+0x589c 014650 set1 wak ,temp 
+0x589d 014651 and temp ,0xfc ,pdata 
+0x589e 014652 ior type ,pdata 
+0x589f 014653 store 1 ,mem_le_arq 
+0x58a0 014654 and_into 0x1f ,pdata 
+0x58a1 014655 store 1 ,mem_le_txheader 
+0x58a2 014656 set1 mark_ext_patch ,mark 
+0x58a3 014657 bpatch patch2d_1 ,mem_patch2d 
+0x58a4 014658 fetch 1 ,mem_le_txheader 
+0x58a5 014659 compare 1 ,type ,3 
+0x58a6 014660 rtn true 
+0x58a7 014661 fetch 7 ,mem_le_txheader + 1 
+0x58a8 014662 fetch 1 ,mem_le_state 
+0x58a9 014663 rtnbit0 lestate_encryption 
+0x58aa 014664 call load_sk 
+0x58ab 014665 branch le_encrypt 
+:      014667 le_parse:
+0x58ac 014668 set1 mark_ext_patch ,mark 
+0x58ad 014669 bpatch patch2d_2 ,mem_patch2d 
+0x58ae 014670 call le_xtype_fifo_is_full 
+0x58af 014671 nbranch assert ,blank 
+0x58b0 014672 nrtn blank 
+0x58b1 014673 fetch 1 ,mem_le_rxbuf + 1 
+0x58b2 014674 rtn blank 
+0x58b3 014675 fetch 1 ,mem_le_rxbuf 
+0x58b4 014676 compare 1 ,pdata ,3 
+0x58b5 014677 branch le_parse_l2cap ,true 
+0x58b6 014678 fetch 7 ,mem_le_rxbuf + 1 
+0x58b7 014679 fetch 1 ,mem_le_rxbuf 
+0x58b8 014680 compare 2 ,pdata ,3 
+0x58b9 014681 branch le_parse_l2cap ,true 
+0x58ba 014682 fetch 1 ,mem_le_rxbuf + 2 
+0x58bb 014683 store 1 ,mem_le_rx_ll_opcode 
+0x58bc 014684 copy pdata ,regc 
+0x58bd 014685 set1 mark_ext_patch ,mark 
+0x58be 014686 bpatch patch2d_3 ,mem_patch2d 
+0x58bf 014687 copy regc ,pdata 
+0x58c0 014688 beq ll_connection_update_req ,le_parse_connection_update_req 
+0x58c1 014689 beq ll_channel_map_req ,le_parse_channel_map_req 
+0x58c2 014690 beq ll_terminate_ind ,le_parse_terminate_ind 
+0x58c3 014691 beq ll_enc_req ,le_parse_enc_req 
+0x58c4 014692 beq ll_enc_rsp ,le_parse_enc_rsp 
+0x58c5 014693 beq ll_start_enc_req ,le_parse_start_enc_req 
+0x58c6 014694 beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+0x58c7 014695 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+0x58c8 014696 beq ll_feature_req ,le_parse_feature_req 
+0x58c9 014697 beq ll_feature_rsp ,le_parse_feature_rsp 
+0x58ca 014698 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+0x58cb 014699 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+0x58cc 014700 beq ll_version_ind ,le_parse_version_ind 
+0x58cd 014701 beq ll_reject_ind ,le_parse_reject_ind 
+0x58ce 014702 branch assert 
+:      014704 le_parse_l2cap:
+0x58cf 014705 fetch 1 ,mem_le_rxbuf + 1 
+0x58d0 014706 and pdata ,0x1f ,pdata 
+0x58d1 014707 rtn blank 
+0x58d2 014708 fetch 1 ,mem_device_option 
+0x58d3 014709 beq dvc_op_hci ,le_acl_upgoing 
+0x58d4 014710 fetch 2 ,mem_le_rxbuf + 4 
+0x58d5 014711 beq le_l2cap_cid_att ,le_parse_att 
+0x58d6 014712 beq le_l2cap_cid_smp ,le_parse_smp 
+0x58d7 014713 rtn 
+:      014715 le_acl_upgoing:
+0x58d8 014716 set1 mark_ext_patch ,mark 
+0x58d9 014717 bpatch patch2d_4 ,mem_patch2d 
+0x58da 014718 call hci_get_packet_ptr 
+0x58db 014719 fetch 1 ,mem_le_conn_handle 
+0x58dc 014720 fetcht 1 ,mem_le_rxbuf 
+0x58dd 014721 and_into 3 ,temp 
+0x58de 014722 lshift8 temp ,temp 
+0x58df 014723 lshift4 temp ,temp 
+0x58e0 014724 ior temp ,pdata 
+0x58e1 014725 istore 2 ,contwu 
+0x58e2 014726 fetcht 1 ,mem_le_rxbuf + 1 
+0x58e3 014727 and temp ,0x1f ,temp 
+0x58e4 014728 istoret 2 ,contwu 
+0x58e5 014729 copy temp ,loopcnt 
+0x58e6 014730 call uart_copy_tx_bytes 
+0x58e7 014731 add temp ,4 ,loopcnt 
+0x58e8 014732 call h4_send_packet_acl 
+0x58e9 014733 branch h4_send_acl_trigger 
+:      014735 le_acl_downgoing:
+0x58ea 014736 set1 mark_ext_patch ,mark 
+0x58eb 014737 bpatch patch2d_5 ,mem_patch2d 
+0x58ec 014738 arg 0x2 ,type 
+0x58ed 014739 ifetch 2 ,contru 
+0x58ee 014740 ifetch 2 ,contru 
+0x58ef 014741 branch assert ,blank 
+0x58f0 014742 copy pdata ,loopcnt 
+0x58f1 014743 arg mem_le_txpayload ,contw 
+0x58f2 014744 call uart_copy_rx_bytes 
+0x58f3 014745 branch le_send_autolen 
+:      014747 le_parse_smp:
+0x58f4 014748 set1 mark_ext_patch ,mark 
+0x58f5 014749 bpatch patch2d_6 ,mem_patch2d 
+0x58f6 014750 ifetch 1 ,contr 
+0x58f7 014751 beq smp_pairing_request ,le_parse_smp_pairing_request 
+0x58f8 014752 beq smp_pairing_response ,le_parse_smp_pairing_response 
+0x58f9 014753 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+0x58fa 014754 beq smp_pairing_random ,le_parse_smp_pairing_random 
+0x58fb 014755 beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+0x58fc 014756 beq smp_encryption_information ,le_parse_smp_encryption_information 
+0x58fd 014757 beq smp_master_identification ,le_parse_smp_master_identification 
+0x58fe 014758 beq smp_identity_information ,le_parse_smp_identity_information 
+0x58ff 014759 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+0x5900 014760 beq smp_signing_information ,le_parse_smp_signing_information 
+0x5901 014761 beq smp_security_request ,le_parse_smp_security_request 
+0x5902 014762 branch assert 
+:      014764 le_parse_att:
+0x5903 014765 set1 mark_ext_patch ,mark 
+0x5904 014766 bpatch patch2d_7 ,mem_patch2d 
+0x5905 014767 ifetch 3 ,contr 
+0x5906 014768 store 3 ,mem_le_att_opcode 
+:      014769 le_parse_att_p:
+0x5907 014770 beq attop_error_response ,le_parse_att_error_response 
+0x5908 014771 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x5909 014772 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+0x590a 014773 beq attop_find_information_request ,le_parse_att_find_information_request 
+0x590b 014774 beq attop_find_information_response ,le_parse_att_find_information_response 
+0x590c 014775 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+0x590d 014776 beq attop_find_by_type_value_response ,le_parse_att_find_by_type_value_response 
+0x590e 014777 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+0x590f 014778 beq attop_read_by_type_response ,le_parse_att_read_by_type_response 
+0x5910 014779 beq attop_read_request ,le_parse_att_read_request 
+0x5911 014780 beq attop_read_response ,le_parse_att_read_response 
+0x5912 014781 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+0x5913 014782 beq attop_read_blob_response ,le_parse_att_read_blob_response 
+0x5914 014783 beq attop_read_multiple_request ,le_parse_att_read_multiple_request 
+0x5915 014784 beq attop_read_multiple_response ,le_parse_att_read_multiple_response 
+0x5916 014785 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+0x5917 014786 beq attop_read_by_group_type_response ,le_parse_att_read_by_group_type_response 
+0x5918 014787 beq attop_write_request ,le_parse_att_write_request 
+0x5919 014788 beq attop_write_response ,le_parse_att_write_response 
+0x591a 014789 beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+0x591b 014790 beq attop_prepare_write_response ,le_parse_att_prepare_write_response 
+0x591c 014791 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x591d 014792 beq attop_execute_write_response ,le_parse_att_execute_write_response 
+0x591e 014793 beq attop_handle_value_notification ,le_parse_att_handle_value_notification 
+0x591f 014794 beq attop_handle_value_indication ,le_parse_att_handle_value_indication 
+0x5920 014795 beq attop_handle_value_confirmation ,le_parse_att_handle_value_confirmation 
+0x5921 014796 beq attop_write_command ,le_parse_att_write_command 
+0x5922 014797 beq attop_signed_write_command ,le_parse_att_signed_write_command 
+0x5923 014798 branch assert 
+:      014801 le_parse_connection_update_req:
+0x5924 014802 ifetch 9 ,contr 
+0x5925 014803 store 9 ,mem_le_new_param 
+0x5926 014804 ifetch 2 ,contr 
+0x5927 014805 store 2 ,mem_le_instant 
+0x5928 014806 fetch 1 ,mem_le_state 
+0x5929 014807 set1 lestate_update_param ,pdata 
+0x592a 014808 store 1 ,mem_le_state 
+0x592b 014809 rtn 
+:      014811 le_parse_channel_map_req:
+0x592c 014812 ifetch 5 ,contr 
+0x592d 014813 store 5 ,mem_le_new_map 
+0x592e 014814 ifetch 2 ,contr 
+0x592f 014815 store 2 ,mem_le_instant 
+0x5930 014816 fetch 1 ,mem_le_state 
+0x5931 014817 set1 lestate_update_map ,pdata 
+0x5932 014818 store 1 ,mem_le_state 
+0x5933 014819 rtn 
+:      014821 le_parse_terminate_ind:
+0x5934 014822 fetch 1 ,mem_le_op 
+0x5935 014823 set1 op_disconn ,pdata 
+0x5936 014824 store 1 ,mem_le_op 
+0x5937 014825 rtn 
+:      014827 le_parse_enc_req:
+0x5938 014828 increase 10 ,contr 
+0x5939 014829 ifetch 8 ,contr 
+0x593a 014830 store 8 ,mem_le_skdm 
+0x593b 014831 ifetch 4 ,contr 
+0x593c 014832 store 4 ,mem_le_ivm 
+0x593d 014833 jam xt_ll_enc_rsp ,mem_fifo_temp 
+0x593e 014834 branch le_xtype_fifo_in 
+:      014836 le_parse_enc_rsp:
+0x593f 014837 ifetch 8 ,contr 
+0x5940 014838 store 8 ,mem_le_skds 
+0x5941 014839 ifetch 4 ,contr 
+0x5942 014840 store 4 ,mem_le_ivs 
+0x5943 014841 branch generate_sk 
+:      014843 le_parse_start_enc_req:
+0x5944 014844 fetch 1 ,mem_le_state 
+0x5945 014845 set1 lestate_encryption ,pdata 
+0x5946 014846 store 1 ,mem_le_state 
+0x5947 014847 jam xt_ll_start_enc_rsp ,mem_fifo_temp 
+0x5948 014848 branch le_xtype_fifo_in 
+:      014850 le_parse_start_enc_rsp:
+0x5949 014851 rtn master 
+0x594a 014852 jam xt_ll_start_enc_rsp ,mem_fifo_temp 
+0x594b 014853 branch le_xtype_fifo_in 
+:      014855 le_parse_unknown_rsp:
+0x594c 014856 rtn 
+:      014858 le_parse_feature_req:
+0x594d 014859 jam xt_ll_feature_rsp ,mem_fifo_temp 
+0x594e 014860 branch le_xtype_fifo_in 
+:      014862 le_parse_feature_rsp:
+0x594f 014863 rtn 
+:      014865 le_parse_pause_enc_req:
+0x5950 014866 rtn 
+:      014868 le_parse_pause_enc_rsp:
+0x5951 014869 rtn 
+:      014871 le_parse_version_ind:
+0x5952 014872 rtn master 
+0x5953 014873 jam xt_ll_version_ind ,mem_fifo_temp 
+0x5954 014874 branch le_xtype_fifo_in 
+:      014876 le_parse_reject_ind:
+0x5955 014877 rtn 
+:      014880 le_parse_smp_pairing_request:
+0x5956 014881 store 1 ,mem_le_preq 
+0x5957 014882 ifetch 6 ,contr 
+0x5958 014883 istore 6 ,contw 
+0x5959 014884 jam xt_smp_pairing_response ,mem_fifo_temp 
+0x595a 014885 branch le_xtype_fifo_in 
+:      014887 le_parse_smp_pairing_response:
+0x595b 014888 store 1 ,mem_le_pres 
+0x595c 014889 ifetch 6 ,contr 
+0x595d 014890 istore 6 ,contw 
+0x595e 014891 jam xt_smp_pairing_confirm ,mem_fifo_temp 
+0x595f 014892 branch le_xtype_fifo_in 
+:      014894 le_parse_smp_pairing_confirm:
+0x5960 014895 arg mem_le_rconfirm ,contw 
+0x5961 014896 call memcpy16 
+0x5962 014897 jam xt_smp_pairing_random ,mem_fifo_temp 
+0x5963 014898 branch le_xtype_fifo_in ,master 
+0x5964 014899 jam xt_smp_pairing_confirm ,mem_fifo_temp 
+0x5965 014900 branch le_xtype_fifo_in 
+:      014902 le_parse_smp_pairing_random:
+0x5966 014903 call authenticate_rconfirm 
+0x5967 014904 branch le_parse_smp_pairing_random_success ,zero 
+0x5968 014905 jam xt_smp_pairing_failed ,mem_fifo_temp 
+0x5969 014906 branch le_xtype_fifo_in 
+:      014908 le_parse_smp_pairing_random_success:
+0x596a 014909 call generate_stk 
+0x596b 014910 jam xt_ll_enc_req ,mem_fifo_temp 
+0x596c 014911 branch le_xtype_fifo_in ,master 
+0x596d 014912 jam xt_smp_pairing_random ,mem_fifo_temp 
+0x596e 014913 branch le_xtype_fifo_in 
+:      014915 le_parse_smp_pairing_failed:
+0x596f 014916 rtn 
+:      014918 le_parse_smp_encryption_information:
+0x5970 014919 arg mem_le_peer_ltk ,contw 
+0x5971 014920 branch memcpy16 
+:      014922 le_parse_smp_master_identification:
+0x5972 014923 rtn 
+:      014925 le_parse_smp_identity_information:
+0x5973 014926 rtn 
+:      014928 le_parse_smp_identity_address_information:
+0x5974 014929 rtn 
+:      014931 le_parse_smp_signing_information:
+0x5975 014932 rtn 
+:      014934 le_parse_smp_security_request:
+0x5976 014935 rtn 
+:      014937 le_parse_att_error_response:
+0x5977 014938 increase -2 ,contr 
+0x5978 014939 ifetcht 1 ,contr 
+0x5979 014940 setarg attop_find_by_type_value_request 
+0x597a 014941 isub temp ,null 
+0x597b 014942 branch le_parse_att_error_res_find_by_type_value ,zero 
+0x597c 014943 setarg attop_find_information_request 
+0x597d 014944 isub temp ,null 
+0x597e 014945 branch le_parse_att_error_res_find_info ,zero 
+0x597f 014946 setarg attop_read_by_type_request 
+0x5980 014947 isub temp ,null 
+0x5981 014948 branch le_parse_att_error_res_read_by_type ,zero 
+0x5982 014949 setarg attop_read_blob_request 
+0x5983 014950 isub temp ,null 
+0x5984 014951 branch le_parse_att_error_res_read_blob ,zero 
+0x5985 014952 setarg attop_read_multiple_request 
+0x5986 014953 isub temp ,null 
+0x5987 014954 branch le_parse_att_error_res_read_multiple ,zero 
+0x5988 014955 rtn 
+:      014957 le_parse_att_error_res_find_by_type_value:
+0x5989 014958 rtn 
+:      014960 le_parse_att_error_res_find_info:
+0x598a 014961 rtn 
+:      014963 le_parse_att_error_res_read_by_type:
+0x598b 014964 rtn 
+:      014966 le_parse_att_error_res_read_blob:
+0x598c 014967 rtn 
+:      014969 le_parse_att_error_res_read_multiple:
+0x598d 014970 rtn 
+:      014973 le_parse_att_exchange_mtu_request:
+0x598e 014974 jam attop_exchange_mtu_response ,mem_fifo_temp 
+0x598f 014975 branch le_xtype_fifo_in 
+:      014977 le_parse_att_exchange_mtu_response:
+0x5990 014978 rtn 
+:      014980 le_parse_att_find_information_request:
+0x5991 014981 rshift8 pdata ,pdata 
+0x5992 014982 store 2 ,mem_le_search_handle_start 
+0x5993 014983 ifetch 2 ,contr 
+0x5994 014984 store 2 ,mem_le_search_handle_end 
+0x5995 014985 jam attop_find_information_response ,mem_fifo_temp 
+0x5996 014986 branch le_xtype_fifo_in 
+:      014988 le_parse_att_find_information_response:
+0x5997 014989 rtn 
+:      014991 le_parse_att_find_info_res_multi:
+0x5998 014992 rtn 
+:      014994 le_parse_att_find_info_res_error:
+0x5999 014995 rtn 
+:      014997 le_parse_att_find_by_type_value_request:
+0x599a 014998 rshift8 pdata ,pdata 
+0x599b 014999 store 2 ,mem_le_search_handle_start 
+0x599c 015000 ifetch 2 ,contr 
+0x599d 015001 store 2 ,mem_le_search_handle_end 
+0x599e 015002 ifetch 2 ,contr 
+0x599f 015003 store 2 ,mem_le_uuid 
+0x59a0 015004 ifetch 2 ,contr 
+0x59a1 015005 store 2 ,mem_le_search_att_type 
+0x59a2 015006 jam attop_find_by_type_value_response ,mem_fifo_temp 
+0x59a3 015007 branch le_xtype_fifo_in 
+:      015010 le_parse_att_find_by_type_value_response:
+0x59a4 015011 rtn 
+:      015013 le_parse_att_read_by_type_request:
+0x59a5 015014 rshift8 pdata ,pdata 
+0x59a6 015015 store 2 ,mem_le_search_handle_start 
+0x59a7 015016 ifetch 2 ,contr 
+0x59a8 015017 store 2 ,mem_le_search_handle_end 
+0x59a9 015018 ifetch 2 ,contr 
+0x59aa 015019 store 2 ,mem_le_search_att_type 
+0x59ab 015020 jam attop_read_by_type_response ,mem_fifo_temp 
+0x59ac 015021 branch le_xtype_fifo_in 
+:      015023 le_parse_att_read_by_type_response:
+0x59ad 015024 rtn 
+:      015026 le_parse_att_read_request:
+0x59ae 015027 fetch 2 ,mem_le_rxbuf + 7 
+0x59af 015028 store 2 ,mem_le_att_handle 
+0x59b0 015029 jam attop_read_response ,mem_fifo_temp 
+0x59b1 015030 branch le_xtype_fifo_in 
+:      015032 le_parse_att_read_response:
+0x59b2 015033 rtn 
+:      015035 le_send_att_read_res_end:
+0x59b3 015036 rtn 
+:      015038 le_prepare_descriptor:
+0x59b4 015039 rtn 
+:      015042 le_parse_att_read_blob_request:
+0x59b5 015043 ifetch 2 ,contr 
+0x59b6 015044 store 2 ,mem_le_att_offset 
+0x59b7 015045 jam attop_read_blob_response ,mem_fifo_temp 
+0x59b8 015046 branch le_xtype_fifo_in 
+:      015048 le_parse_att_read_blob_response:
+0x59b9 015049 rtn 
+:      015051 le_parse_att_read_multiple_request:
+0x59ba 015052 fetch 1 ,mem_le_rxbuf + 1 
+0x59bb 015053 increase -5 ,pdata 
+0x59bc 015054 rshift pdata ,pdata 
+0x59bd 015055 store 1 ,mem_le_temp 
+0x59be 015056 jam attop_read_multiple_response ,mem_fifo_temp 
+0x59bf 015057 branch le_xtype_fifo_in 
+:      015059 le_parse_att_read_multiple_response:
+0x59c0 015060 rtn 
+:      015062 le_parse_att_read_by_group_type_request:
+0x59c1 015063 rshift8 pdata ,pdata 
+0x59c2 015064 store 2 ,mem_le_search_handle_start 
+0x59c3 015065 ifetch 2 ,contr 
+0x59c4 015066 store 2 ,mem_le_search_handle_end 
+0x59c5 015067 ifetch 2 ,contr 
+0x59c6 015068 store 2 ,mem_le_search_att_type 
+0x59c7 015069 jam attop_read_by_group_type_response ,mem_fifo_temp 
+0x59c8 015070 branch le_xtype_fifo_in 
+:      015072 le_parse_att_read_by_group_type_response:
+0x59c9 015073 rtn 
+:      015075 le_parse_att_write_request:
+0x59ca 015076 fetch 1 ,mem_le_rxbuf + 1 
+0x59cb 015077 increase -7 ,pdata 
+0x59cc 015078 icopy loopcnt 
+0x59cd 015079 fetcht 2 ,mem_le_att_handle 
+0x59ce 015080 call le_att_get_handle_ptr 
+0x59cf 015081 branch le_parse_att_write_request_fail ,blank 
+0x59d0 015082 ifetch 1 ,contr 
+0x59d1 015083 isub loopcnt ,null 
+0x59d2 015084 nbranch le_parse_att_write_request_fail ,positive 
+0x59d3 015085 copy contr ,contw 
+0x59d4 015087 arg mem_le_rxbuf + 9 ,contr 
+0x59d5 015088 call memcpy 
+0x59d6 015089 jam bt_evt_le_write_request ,mem_fifo_temp 
+0x59d7 015090 call ui_ipc_send_event 
+:      015091 le_parse_att_write_request_fail:
+0x59d8 015092 jam attop_write_response ,mem_fifo_temp 
+0x59d9 015093 branch le_xtype_fifo_in 
+:      015095 le_parse_att_write_response:
+0x59da 015096 fetch 1 ,mem_le_conn_sm 
+0x59db 015097 rtn 
+:      015099 le_parse_att_prepare_write_request:
+0x59dc 015100 rtn 
+:      015102 le_parse_att_prepare_write_response:
+0x59dd 015103 rtn 
+:      015105 le_parse_att_execute_write_request:
+0x59de 015106 rtn 
+:      015108 le_parse_att_execute_write_response:
+0x59df 015109 rtn 
+:      015111 le_parse_att_handle_value_notification:
+0x59e0 015118 ifetch 5 ,contr 
+0x59e1 015119 store 5 ,mem_mouse_data 
+0x59e2 015120 jam send_mouse_data_cmd ,mem_mcmd 
+0x59e3 015122 call usb_isr 
+0x59e4 015123 rtn 
+:      015124 le_kb_handle_value_notification:
+0x59e5 015125 copy rega ,contr 
+0x59e6 015126 ifetch 8 ,contr 
+0x59e7 015127 store 8 ,mem_mouse_data 
+0x59e8 015128 jam send_kb_data_cmd ,mem_mcmd 
+0x59e9 015129 call usb_isr 
+0x59ea 015130 rtn 
+:      015132 le_parse_att_handle_value_indication:
+0x59eb 015133 rtn 
+:      015135 le_parse_att_handle_value_confirmation:
+0x59ec 015136 rtn 
+:      015138 le_parse_att_write_command:
+0x59ed 015139 fetch 1 ,mem_le_rxbuf + 1 
+0x59ee 015140 increase -7 ,pdata 
+0x59ef 015141 icopy loopcnt 
+0x59f0 015142 fetcht 2 ,mem_le_att_handle 
+0x59f1 015143 call le_att_get_handle_ptr 
+0x59f2 015144 branch le_parse_att_write_command_fail ,blank 
+0x59f3 015145 ifetch 1 ,contr 
+0x59f4 015146 isub loopcnt ,null 
+0x59f5 015147 nbranch le_parse_att_write_command_fail ,positive 
+0x59f6 015148 copy contr ,contw 
+0x59f7 015149 copy contr ,rega 
+0x59f8 015150 copy loopcnt ,regb 
+0x59f9 015151 arg mem_le_rxbuf + 9 ,contr 
+0x59fa 015152 call memcpy 
+0x59fb 015153 jam prcp_le ,mem_prcp 
+0x59fc 015154 call le_writeatt_cb 
+:      015155 le_parse_att_write_command_fail:
+0x59fd 015156 rtn 
+:      015159 le_writeatt_cb:
+0x59fe 015160 fetch 2 ,mem_cb_att_write 
+0x59ff 015161 rtn blank 
+0x5a00 015162 iforce pc 
+:      015165 le_parse_att_signed_write_command:
+0x5a01 015166 rtn 
+:      015168 le_supervision_update:
+0x5a02 015169 fetcht 4 ,mem_le_supervision_timer 
+0x5a03 015170 call get_clkbt 
+0x5a04 015171 isub temp ,timeup 
+0x5a05 015172 deposit timeup 
+0x5a06 015173 fetcht 2 ,mem_le_superto 
+0x5a07 015174 lshift4 temp ,temp 
+0x5a08 015175 lshift temp ,temp 
+0x5a09 015176 isub temp ,pdata 
+0x5a0a 015177 rtn 
+:      015179 le_supervision_flush:
+0x5a0b 015180 call get_clkbt 
+0x5a0c 015181 store 4 ,mem_le_supervision_timer 
+0x5a0d 015182 rtn 
+:      015186 le_adv:
+0x5a0e 015187 set1 mark_ext_patch ,mark 
+0x5a0f 015188 bpatch patch2e_0 ,mem_patch2e 
+0x5a10 015189 fetch 1 ,mem_le_adv_enable 
+0x5a11 015190 rtn blank 
+0x5a12 015191 arg le_adv_interval_timer ,queue 
+0x5a13 015192 call timer_check 
+0x5a14 015193 nrtn blank 
+0x5a15 015194 disable master 
+0x5a16 015195 enable swfine 
+0x5a17 015196 call le_init_adv 
+0x5a18 015197 call le_next_adv_channel 
+0x5a19 015198 call le_send_adv_ind 
+0x5a1a 015199 nbranch le_adv_not_match ,match 
+0x5a1b 015200 set1 mark_ext_patch ,mark 
+0x5a1c 015201 bpatch patch2e_1 ,mem_patch2e 
+0x5a1d 015202 fetch 1 ,mem_le_req_rcv 
+0x5a1e 015203 increase 1 ,pdata 
+0x5a1f 015204 store 1 ,mem_le_req_rcv 
+0x5a20 015205 fetch 1 ,mem_le_rxbuf 
+0x5a21 015206 and pdata ,0x0f ,pdata 
+0x5a22 015207 beq scan_req ,le_send_scan_response 
+0x5a23 015208 beq connect_req ,parse_connect_req 
+:      015209 le_adv_not_match:
+0x5a24 015210 nop 10000 
+0x5a25 015211 fetch 1 ,mem_le_ch_mapped 
+0x5a26 015212 bne 39 ,le_adv 
+0x5a27 015213 call le_ledoff 
+0x5a28 015214 arg le_adv_interval_timer ,queue 
+0x5a29 015215 fetch 2 ,mem_le_adv_interval_max 
+0x5a2a 015216 branch timer_init 
+:      015219 le_receive_window_size:
+0x5a2b 015220 set1 mark_ext_patch ,mark 
+0x5a2c 015221 bpatch patch2e_2 ,mem_patch2e 
+0x5a2d 015222 fetch 1 ,mem_le_peer_sca 
+0x5a2e 015223 call le_sca_map 
+0x5a2f 015224 fetch 2 ,mem_le_tsniff 
+0x5a30 015225 imul32 temp ,pdata 
+0x5a31 015226 arg 375 ,temp 
+0x5a32 015227 imul32 temp ,pdata 
+0x5a33 015228 arg 100000 ,temp 
+0x5a34 015229 idiv temp 
+0x5a35 015230 fetch 1 ,mem_le_window_size 
+0x5a36 015231 arg 20000 ,temp 
+0x5a37 015232 imul32 temp ,pdata 
+0x5a38 015233 store 4 ,mem_le_transmit_window 
+0x5a39 015234 set1 mark_ext_patch ,mark 
+0x5a3a 015235 bpatch patch2e_3 ,mem_patch2e 
+0x5a3b 015236 fetch 2 ,mem_rx_window_sniff 
+0x5a3c 015237 call wait_div_end 
+0x5a3d 015238 quotient temp 
+0x5a3e 015239 iadd temp ,pdata 
+0x5a3f 015240 store 2 ,mem_le_receive_window 
+0x5a40 015241 rtn 
+:      015243 parse_connect_req:
+0x5a41 015244 set1 mark_ext_patch ,mark 
+0x5a42 015245 bpatch patch2e_4 ,mem_patch2e 
+0x5a43 015246 fetch 6 ,mem_le_rxbuf + 8 
+0x5a44 015247 fetcht 6 ,mem_le_lap 
+0x5a45 015248 isub temp ,null 
+0x5a46 015249 nrtn zero 
+0x5a47 015250 call le_scan_check_sender_addr_type 
+0x5a48 015251 copy rega ,pdata 
+0x5a49 015252 store 1 ,mem_le_conn_peer_addr_type 
+0x5a4a 015253 fetch 7 ,mem_le_rxbuf + 21 
+0x5a4b 015254 store 7 ,mem_tmp_buffer 
+0x5a4c 015255 ifetch 8 ,contr 
+0x5a4d 015256 istore 8 ,contw 
+0x5a4e 015257 fetch 6 ,mem_le_rxbuf + 2 
+0x5a4f 015258 store 6 ,mem_le_plap 
+0x5a50 015259 set1 mark_ext_patch ,mark 
+0x5a51 015260 bpatch patch2e_5 ,mem_patch2e 
+0x5a52 015261 increase 6 ,contr 
+0x5a53 015262 ifetch 8 ,contr 
+0x5a54 015263 store 8 ,mem_le_access 
+0x5a55 015264 ifetcht 2 ,contr 
+0x5a56 015265 lshift2 temp ,temp 
+0x5a57 015266 ifetch 2 ,contr 
+0x5a58 015267 lshift2 pdata ,pdata 
+0x5a59 015268 store 2 ,mem_le_tsniff 
+0x5a5a 015269 store 4 ,mem_le_anchor 
+0x5a5b 015270 isub temp ,pdata 
+0x5a5c 015271 add pdata ,-2 ,clke_bt 
+0x5a5d 015272 ifetch 9 ,contr 
+0x5a5e 015273 store 9 ,mem_le_slave_latency 
+0x5a5f 015274 set1 mark_ext_patch ,mark 
+0x5a60 015275 bpatch patch2e_6 ,mem_patch2e 
+0x5a61 015276 ifetch 1 ,contr 
+0x5a62 015277 rshift4 pdata ,temp 
+0x5a63 015278 rshift temp ,temp 
+0x5a64 015279 storet 1 ,mem_le_peer_sca 
+0x5a65 015280 and_into 0x1f ,pdata 
+0x5a66 015281 store 1 ,mem_le_hop 
+0x5a67 015282 call le_receive_window_size 
+0x5a68 015283 call le_calc_channel_map 
+0x5a69 015284 call le_init_slave 
+0x5a6a 015285 call context_new 
+0x5a6b 015286 nrtn zero 
+0x5a6c 015287 set1 mark_ext_patch ,mark 
+0x5a6d 015288 bpatch patch2e_7 ,mem_patch2e 
+0x5a6e 015289 arg 0 ,temp 
+0x5a6f 015290 call hci_send_le_conn_complete 
+0x5a70 015291 call calc_clke_offset 
+0x5a71 015292 jam bt_evt_le_connected ,mem_fifo_temp 
+0x5a72 015293 call ui_ipc_send_event 
+0x5a73 015295 branch context_save 
+:      015298 le_init_attlist_search:
+0x5a74 015299 set1 mark_ext_patch ,mark 
+0x5a75 015300 bpatch patch2f_0 ,mem_patch2f 
+0x5a76 015301 fetch 2 ,mem_le_search_handle_start 
+0x5a77 015302 iforce regb 
+0x5a78 015303 fetch 2 ,mem_le_search_handle_end 
+0x5a79 015304 iforce regc 
+0x5a7a 015305 arg mem_le_att_list ,contr 
+0x5a7b 015306 enable user 
+0x5a7c 015307 rtn 
+:      015310 le_att_handle_inrange:
+0x5a7d 015311 ifetch 2 ,contr 
+0x5a7e 015312 rtn blank 
+0x5a7f 015313 isub regb ,null 
+0x5a80 015314 nrtn positive 
+0x5a81 015315 isub regc ,null 
+0x5a82 015316 rtn zero 
+0x5a83 015317 branch le_att_handle_blank ,positive 
+0x5a84 015318 force 1 ,null 
+0x5a85 015319 rtn 
+:      015320 le_att_handle_blank:
+0x5a86 015321 force 0 ,pdata 
+0x5a87 015322 rtn 
+:      015325 le_att_get_handle_ptr:
+0x5a88 015326 arg mem_le_att_list ,contr 
+:      015327 le_att_get_handle_loop:
+0x5a89 015328 ifetch 2 ,contr 
+0x5a8a 015329 rtn blank 
+0x5a8b 015330 increase 2 ,contr 
+0x5a8c 015331 isub temp ,null 
+0x5a8d 015332 rtn zero 
+0x5a8e 015333 ifetch 1 ,contr 
+0x5a8f 015334 iadd contr ,contr 
+0x5a90 015335 branch le_att_get_handle_loop 
+:      015337 le_data_send_write_req:
+0x5a91 015338 jam 0x2 ,mem_le_handle_data_len 
+0x5a92 015339 setarg 0x0001 
+0x5a93 015340 store 2 ,mem_le_handle_data 
+0x5a94 015341 jam conn_sm_wait_write_res ,mem_le_conn_sm 
+0x5a95 015342 jam attop_write_request ,mem_fifo_temp 
+0x5a96 015343 branch le_xtype_fifo_in 
+:      015345 le_data_wait_write_res:
+0x5a97 015346 rtn 
+:      015347 le_data_wait_write_res1:
+0x5a98 015348 rtn 
+:      015349 le_conn_sm_master:
+0x5a99 015350 set1 mark_ext_patch ,mark 
+0x5a9a 015351 bpatch patch2f_1 ,mem_patch2f 
+0x5a9b 015352 fetch 1 ,mem_device_option 
+0x5a9c 015353 rtnne dvc_op_dongle 
+0x5a9d 015354 fetch 1 ,mem_le_conn_sm 
+0x5a9e 015355 beq conn_sm_send_write_req ,le_data_send_write_req 
+0x5a9f 015356 beq conn_sm_wait_write_res ,le_data_wait_write_res 
+0x5aa0 015357 beq conn_sm_wait_write_res1 ,le_data_wait_write_res1 
+0x5aa1 015358 rtn 
+:      015360 le_ukey_init:
+0x5aa2 015361 setarg le_ukey 
+0x5aa3 015362 store 2 ,mem_cb_le_process 
+0x5aa4 015363 hjam uart_ctrl_normal ,core_uart_ctrl 
+0x5aa5 015364 setarg uart_baud_115200 
+0x5aa6 015365 hstore uart_baud_len ,core_uart_baud 
+0x5aa7 015366 hjam uartclk_dpll ,core_uart_clksel 
+0x5aa8 015367 hjam 0x4 ,core_gpio_sel1 
+0x5aa9 015368 setarg le_ukey_wcb 
+0x5aaa 015369 store 2 ,mem_cb_att_write 
+0x5aab 015370 call le_init_att 
+0x5aac 015371 rtn wake 
+0x5aad 015372 branch eeprom_load_reconn_info 
+:      015375 le_ukey:
+0x5aae 015376 fetch 1 ,mem_le_mode 
+0x5aaf 015377 compare lemode_slave ,pdata ,0xff 
+0x5ab0 015378 setarg 5 
+0x5ab1 015379 call set_pwm_steadyon ,true 
+0x5ab2 015380 ncall set_pwm_blink ,true 
+0x5ab3 015381 call uartd_prepare_rx 
+0x5ab4 015382 branch le_ukey_senddata ,blank 
+0x5ab5 015383 fetch 2 ,mem_le_notify_attr_start 
+0x5ab6 015384 iforce contw 
+0x5ab7 015385 sub loopcnt ,20 ,null 
+0x5ab8 015386 branch le_ukey_loop ,positive 
+0x5ab9 015387 force 20 ,loopcnt 
+:      015388 le_ukey_loop:
+0x5aba 015389 ifetch 1 ,contru 
+0x5abb 015390 istore 1 ,contw 
+0x5abc 015391 loop le_ukey_loop 
+0x5abd 015392 call uartd_rxdone 
+:      015393 le_ukey_senddata:
+0x5abe 015394 jam notify_handle ,mem_le_notify_handle 
+0x5abf 015395 fetcht 2 ,mem_le_notify_attr_start 
+0x5ac0 015396 ifetch 1 ,temp 
+0x5ac1 015397 rtn blank 
+0x5ac2 015398 call le_xtype_fifo_is_full 
+0x5ac3 015399 nrtn blank 
+0x5ac4 015400 jam attop_handle_value_notification ,mem_fifo_temp 
+0x5ac5 015401 branch le_xtype_fifo_in 
+:      015403 le_ukey_wcb:
+0x5ac6 015404 copy regb ,temp 
+0x5ac7 015405 call uartd_prepare_tx 
+0x5ac8 015406 copy rega ,contr 
+0x5ac9 015407 copy regb ,loopcnt 
+:      015408 le_writeatt_cb_loop:
+0x5aca 015409 ifetch 1 ,contr 
+0x5acb 015410 istore 1 ,contwu 
+0x5acc 015411 loop le_writeatt_cb_loop 
+0x5acd 015412 branch uartd_send 
+:      015414 le_clear_notify_att:
+0x5ace 015415 fetch 1 ,mem_device_option 
+0x5acf 015416 rtnne dvc_op_ukey 
+0x5ad0 015417 fetch 2 ,mem_le_notify_handle 
+0x5ad1 015418 rtnne notify_handle 
+0x5ad2 015419 fetcht 2 ,mem_le_notify_attr_start 
+0x5ad3 015420 setarg 0 
+0x5ad4 015421 istore 9 ,temp 
+0x5ad5 015422 istore 9 ,contw 
+0x5ad6 015423 istore 2 ,contw 
+0x5ad7 015424 rtn 
+:      015427 le_ledoff:
+0x5ad8 015428 fetcht 1 ,mem_le_adv_led 
+0x5ad9 015429 setflip gpio_active_bit ,temp 
+0x5ada 015430 branch gpio_out 
+:      015433 le_modified_name:
+0x5adb 015434 set1 mark_ext_patch ,mark 
+0x5adc 015435 bpatch patch2f_2 ,mem_patch2f 
+0x5add 015436 call le_modified_name_att_list 
+0x5ade 015437 branch le_modified_name_adv 
+:      015439 le_modified_name_att_list:
+0x5adf 015440 fetch 1 ,mem_le_name_len 
+0x5ae0 015441 copy pdata ,loopcnt 
+0x5ae1 015442 arg uuid_chrctr_device_name ,temp 
+0x5ae2 015443 call le_att_get_uuid_ptr 
+0x5ae3 015444 increase 1 ,contr 
+0x5ae4 015445 copy contr ,contw 
+0x5ae5 015446 arg mem_le_name ,contr 
+0x5ae6 015447 call memcpy 
+0x5ae7 015448 fetch 1 ,mem_le_name_len 
+0x5ae8 015449 sub pdata ,max_name_len ,loopcnt 
+0x5ae9 015450 copy loopcnt ,temp 
+0x5aea 015451 copy loopcnt ,pdata 
+0x5aeb 015452 ncall memcpy_empty ,blank 
+0x5aec 015453 rtn 
+:      015455 le_modified_name_adv:
+0x5aed 015456 fetch 1 ,mem_le_adv_data_len 
+0x5aee 015457 fetcht 1 ,mem_le_adv_data 
+0x5aef 015458 isub temp ,pdata 
+0x5af0 015459 copy pdata ,loopcnt 
+0x5af1 015460 copy pdata ,rega 
+0x5af2 015461 fetch 1 ,mem_le_adv_data 
+0x5af3 015462 increase 1 ,pdata 
+0x5af4 015463 arg mem_le_adv_data ,contr 
+0x5af5 015464 iadd contr ,contr 
+0x5af6 015465 arg mem_le_adv_temp ,contw 
+0x5af7 015466 call memcpy 
+0x5af8 015467 set1 mark_ext_patch ,mark 
+0x5af9 015468 bpatch patch2f_3 ,mem_patch2f 
+0x5afa 015469 fetch 1 ,mem_le_name_len 
+0x5afb 015470 copy pdata ,loopcnt 
+0x5afc 015471 increase 1 ,pdata 
+0x5afd 015472 store 1 ,mem_le_adv_data 
+0x5afe 015473 arg mem_le_adv_data + 2 ,contw 
+0x5aff 015474 arg mem_le_name ,contr 
+0x5b00 015475 call memcpy 
+0x5b01 015476 copy rega ,loopcnt 
+0x5b02 015477 arg mem_le_adv_temp ,contr 
+0x5b03 015478 call memcpy 
+0x5b04 015479 fetch 1 ,mem_le_adv_data 
+0x5b05 015480 iadd rega ,pdata 
+0x5b06 015481 store 1 ,mem_le_adv_data_len 
+0x5b07 015482 rtn 
+:      015485 le_get_device_name:
+0x5b08 015486 set1 mark_ext_patch ,mark 
+0x5b09 015487 bpatch patch2f_4 ,mem_patch2f 
+0x5b0a 015488 arg uuid_chrctr_device_name ,temp 
+0x5b0b 015489 branch le_att_get_uuid_ptr 
+:      015492 le_att_get_uuid_ptr:
+0x5b0c 015493 arg mem_le_att_list ,contr 
+:      015494 le_att_get_uuid_loop:
+0x5b0d 015495 ifetch 2 ,contr 
+0x5b0e 015496 branch assert ,blank 
+0x5b0f 015497 ifetch 2 ,contr 
+0x5b10 015498 isub temp ,null 
+0x5b11 015499 rtn zero 
+0x5b12 015500 ifetch 1 ,contr 
+0x5b13 015501 iadd contr ,contr 
+0x5b14 015502 branch le_att_get_uuid_loop 
+:      015505 memcpy_empty:
+0x5b15 015506 setarg space 
+0x5b16 015507 istore 1 ,contw 
+0x5b17 015508 loop memcpy_empty 
+0x5b18 015509 rtn 
+:      015512 le_lpm_set_mult:
+0x5b19 015513 set1 mark_ext_patch ,mark 
+0x5b1a 015514 bpatch patch2f_5 ,mem_patch2f 
+0x5b1b 015515 disable wake 
+0x5b1c 015516 branch le_lpm_set_mult_attempt ,attempt 
+0x5b1d 015517 nbranch le_lpm_lost ,match 
+:      015518 le_lpm_set_mult_attempt:
+0x5b1e 015519 call lpm_match 
+0x5b1f 015520 fetch 2 ,mem_rx_window_sniff 
+0x5b20 015521 store 2 ,mem_le_receive_window 
+0x5b21 015522 fetch 1 ,mem_le_rxbuf 
+0x5b22 015523 compare 1 ,pdata ,3 
+0x5b23 015524 nbranch lpm_mult_short ,true 
+0x5b24 015525 fetch 1 ,mem_le_txheader 
+0x5b25 015526 compare 1 ,pdata ,3 
+0x5b26 015527 nbranch lpm_mult_short ,true 
+0x5b27 015528 fetch 1 ,mem_le_state 
+0x5b28 015529 bbit1 lestate_update_param ,lpm_mult_short 
+0x5b29 015530 branch lpm_mult_wait_timeout 
+:      015532 le_lpm_lost:
+0x5b2a 015533 fetcht 2 ,mem_rx_window_sniff 
+0x5b2b 015534 rshift temp ,temp 
+0x5b2c 015535 fetch 2 ,mem_le_receive_window 
+0x5b2d 015536 iadd temp ,pdata 
+0x5b2e 015537 store 2 ,mem_le_receive_window 
+0x5b2f 015538 branch lpm_lost 
+:      015540 le_clean_att_list_handle_enable:
+0x5b30 015541 set1 mark_ext_patch ,mark 
+0x5b31 015542 bpatch patch2f_6 ,mem_patch2f 
+0x5b32 015543 jam 0 ,mem_le_switch_send_data 
+0x5b33 015544 fetcht 2 ,mem_le_notify_handle 
+0x5b34 015545 call le_att_check_notification_enable 
+0x5b35 015546 copy rega ,contw 
+0x5b36 015547 setarg 0 
+0x5b37 015548 istore 1 ,contw 
+0x5b38 015549 rtn 
+:      015550 le_scan_addr_to_uart:
+0x5b39 015551 fetch 1 ,mem_device_option 
+0x5b3a 015552 rtnne dvc_op_module 
+0x5b3b 015553 call get_uart_twptr 
+0x5b3c 015554 arg mem_le_plap ,rega 
+0x5b3d 015555 call adss_hex2string_to_uart 
+0x5b3e 015556 setarg 0x2c 
+0x5b3f 015557 istore 1 ,contwu 
+0x5b40 015558 call at_rssi_result 
+0x5b41 015559 branch uartd_send 
+:      015562 prcp_le_tx:
+0x5b42 015563 arg prcp_tx_le ,temp 
+0x5b43 015564 call le_att_check_notification_enable 
+0x5b44 015565 rtnbit0 0 
+0x5b45 015566 call le_xtype_fifo_is_full 
+0x5b46 015567 nrtn blank 
+0x5b47 015568 arg prcp_tx_le ,temp 
+0x5b48 015569 storet 2 ,mem_le_notify_handle 
+0x5b49 015570 call le_att_get_handle_ptr 
+0x5b4a 015571 branch assert ,blank 
+0x5b4b 015572 add contr ,1 ,contw 
+0x5b4c 015573 arg prcp_tx_data_len ,loopcnt 
+0x5b4d 015574 arg mem_prcp_data ,contr 
+0x5b4e 015575 call memcpy 
+0x5b4f 015576 jam attop_handle_value_notification ,mem_fifo_temp 
+0x5b50 015577 branch le_xtype_fifo_in 
+:      015578 prcp_tx:
+0x5b51 015579 rtn 
+:      015582 le_search_adtype:
+0x5b52 015583 set1 mark_ext_patch ,mark 
+0x5b53 015584 bpatch patch2f_7 ,mem_patch2f 
+0x5b54 015585 fetch 1 ,mem_le_rxbuf + 1 
+0x5b55 015586 arg mem_le_rxbuf + 8 ,contr 
+0x5b56 015587 iadd contr ,loopcnt 
+:      015588 le_search_adtype_loop:
+0x5b57 015589 ifetcht 1 ,contr 
+0x5b58 015590 ifetch 1 ,contr 
+0x5b59 015591 isub rega ,null 
+0x5b5a 015592 rtn zero 
+0x5b5b 015593 add temp ,-1 ,pdata 
+0x5b5c 015594 iadd contr ,contr 
+0x5b5d 015595 deposit loopcnt 
+0x5b5e 015596 isub contr ,null 
+0x5b5f 015597 branch le_search_adtype_loop ,positive 
+0x5b60 015598 force 1 ,null 
+0x5b61 015599 rtn 
+:      015606 init_lmp:
+0x5b62 015607 rtn wake 
+:      015608 init_lmp_work:
+0x5b63 015609 setarg 0 
+0x5b64 015610 store 1 ,mem_lmp_to_send 
+0x5b65 015611 store 1 ,mem_conn_sm 
+0x5b66 015612 store 1 ,mem_lmo_opcode1 
+0x5b67 015613 store 1 ,mem_lmo_opcode2 
+0x5b68 015614 store 1 ,mem_esco_addr 
+0x5b69 015615 store 1 ,mem_auth_enable 
+0x5b6a 015616 store 1 ,mem_connection_options 
+0x5b6b 015617 store 1 ,mem_pairing_auth 
+0x5b6c 015618 jam switch_flag_init ,mem_switch_flag 
+0x5b6d 015619 jam 0 ,mem_switch_fail_master_count 
+0x5b6e 015620 jam null_encryp ,mem_wait_encryption 
+:      015621 init_lmp_reinit:
+0x5b6f 015622 set1 mark_ext_patch ,mark 
+0x5b70 015623 bpatch patch3c_0 ,mem_patch3c 
+0x5b71 015624 jam 0 ,mem_pairing_auth 
+0x5b72 015625 jam 0 ,mem_sp_localsm 
+0x5b73 015626 jam 0 ,mem_lmp_conn_state 
+0x5b74 015627 fetch 1 ,mem_device_option 
+0x5b75 015628 rtnne dvc_op_hci ,pdata 
+0x5b76 015629 jam 0 ,mem_link_key_exists 
+:      015631 parse_rx_done:
+0x5b77 015632 rtn 
+:      015634 parse_lmp:
+0x5b78 015635 set1 mark_ext_patch ,mark 
+0x5b79 015636 bpatch patch3c_1 ,mem_patch3c 
+0x5b7a 015637 call setlocalsm_master ,master 
+0x5b7b 015638 ncall setlocalsm_slave ,master 
+0x5b7c 015639 fetch 1 ,mem_lmo_opcode2 
+0x5b7d 015640 ncall lmo_fifo_process ,blank 
+0x5b7e 015641 fetch 1 ,mem_lmo_opcode2 
+0x5b7f 015642 nrtn blank 
+0x5b80 015643 fetch 1 ,mem_state_map 
+0x5b81 015644 rtnbit0 smap_rxlmp 
+0x5b82 015645 set0 smap_rxlmp ,pdata 
+0x5b83 015646 set0 mark_rxbuf_inuse ,mark 
+0x5b84 015647 store 1 ,mem_state_map 
+0x5b85 015648 fetch 1 ,mem_rxbuf 
+0x5b86 015649 fetcht 1 ,mem_state_map 
+0x5b87 015650 isolate1 smap_lmptidinit ,pdata 
+0x5b88 015651 setflag true ,smap_lmptid ,temp 
+0x5b89 015652 storet 1 ,mem_state_map 
+0x5b8a 015653 and_into 0x2 ,temp 
+0x5b8b 015654 storet 1 ,mem_lmo_tid2 
+0x5b8c 015655 fetcht 1 ,mem_state_map 
+0x5b8d 015656 rshift pdata ,pdata 
+0x5b8e 015657 store 1 ,mem_lmi_opcode2 
+0x5b8f 015658 set1 mark_ext_patch ,mark 
+0x5b90 015659 bpatch patch3c_2 ,mem_patch3c 
+0x5b91 015660 fetch 1 ,mem_lmi_opcode2 
+0x5b92 015661 beq lmp_escape ,parse_lmp_escape 
+0x5b93 015662 beq lmp_accepted ,parse_lmp_accepted 
+0x5b94 015663 beq lmp_not_accepted ,parse_lmp_not_accepted 
+0x5b95 015664 beq lmp_set_afh ,parse_lmp_set_afh 
+0x5b96 015665 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+0x5b97 015666 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+0x5b98 015667 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+0x5b99 015668 beq lmp_auto_rate ,parse_lmp_auto_rate 
+0x5b9a 015669 beq lmp_test_control ,parse_lmp_test_control 
+0x5b9b 015670 beq lmp_test_activate ,parse_lmp_test_activate 
+0x5b9c 015671 beq lmp_setup_complete ,parse_lmp_setup_complete 
+0x5b9d 015672 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+0x5b9e 015673 beq lmp_features_req ,parse_lmp_features_req 
+0x5b9f 015674 beq lmp_host_connection_req ,parse_lmp_conn_req 
+0x5ba0 015675 beq lmp_version_req ,parse_lmp_version_req 
+0x5ba1 015676 beq lmp_version_res ,parse_lmp_version_res 
+0x5ba2 015677 beq lmp_detach ,parse_lmp_detach 
+0x5ba3 015678 beq lmp_max_slot ,parse_lmp_max_slot 
+0x5ba4 015679 beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+0x5ba5 015680 beq lmp_name_req ,parse_lmp_name_req 
+0x5ba6 015681 beq lmp_name_res ,parse_lmp_name_res 
+0x5ba7 015682 beq lmp_features_res ,parse_lmp_features_res 
+0x5ba8 015683 beq lmp_comb_key ,parse_lmp_comb_key 
+0x5ba9 015684 beq lmp_au_rand ,parse_lmp_au_rand 
+0x5baa 015685 beq lmp_in_rand ,parse_lmp_in_rand 
+0x5bab 015686 beq lmp_sres ,parse_lmp_sres 
+0x5bac 015687 beq lmp_incr_power_req ,parse_lmp_incr_power 
+0x5bad 015688 beq lmp_decr_power_req ,parse_lmp_decr_power 
+0x5bae 015689 beq lmp_max_power ,parse_lmp_max_power 
+0x5baf 015690 beq lmp_min_power ,parse_lmp_min_power 
+0x5bb0 015691 beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+0x5bb1 015692 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+0x5bb2 015693 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+0x5bb3 015694 beq lmp_remove_sco_link_req ,parse_lmp_remove_sco_link_req 
+0x5bb4 015695 beq lmp_sco_link_req ,parse_lmp_sco_link_req 
+0x5bb5 015696 beq lmp_slot_offset ,parse_lmp_slot_offset 
+0x5bb6 015697 beq lmp_sniff_req ,parse_lmp_sniff_req 
+0x5bb7 015698 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+0x5bb8 015699 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+0x5bb9 015700 beq lmp_switch_req ,parse_lmp_switch_req 
+0x5bba 015701 beq lmp_temp_rand ,parse_lmp_temp_rand 
+0x5bbb 015702 beq lmp_temp_key ,parse_lmp_temp_key 
+0x5bbc 015703 beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+0x5bbd 015704 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+0x5bbe 015705 beq lmp_unit_key ,parse_lmp_unit_key 
+0x5bbf 015706 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+0x5bc0 015707 beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+0x5bc1 015708 beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+0x5bc2 015709 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+0x5bc3 015710 beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+0x5bc4 015711 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+0x5bc5 015712 beq lmp_dhkey_check ,parse_dhkey_check 
+0x5bc6 015713 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+0x5bc7 015714 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+:      015717 reject_unknown_packet:
+0x5bc8 015718 jam unknown_lmp_pdu ,mem_lmo_reason2 
+:      015719 reject_lmp_packet:
+0x5bc9 015720 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5bca 015721 rtn 
+:      015723 parse_lmp_clkoffset_req:
+0x5bcb 015724 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+0x5bcc 015725 rtn 
+:      015727 parse_enc_key_size_mask_req:
+0x5bcd 015728 jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+0x5bce 015729 rtn 
+:      015731 parse_lmp_set_afh:
+0x5bcf 015732 fetch 4 ,mem_rxbuf + 1 
+0x5bd0 015733 lshift pdata ,pdata 
+0x5bd1 015734 store 4 ,mem_afh_instant 
+0x5bd2 015735 fetch 1 ,mem_rxbuf + 5 
+0x5bd3 015736 store 1 ,mem_afh_new_mod 
+0x5bd4 015737 fetch 5 ,mem_rxbuf + 6 
+0x5bd5 015738 store 5 ,mem_afh_map_new 
+0x5bd6 015739 fetch 5 ,mem_rxbuf + 11 
+0x5bd7 015740 istore 5 ,contw 
+0x5bd8 015741 fetch 1 ,mem_mode 
+0x5bd9 015742 set1 afh_change ,pdata 
+0x5bda 015743 store 1 ,mem_mode 
+0x5bdb 015744 rtn 
+:      015745 parse_lmp_escape:
+0x5bdc 015746 fetch 1 ,mem_rxbuf + 1 
+0x5bdd 015747 set1 7 ,pdata 
+0x5bde 015748 store 1 ,mem_lmi_opcode2 
+0x5bdf 015749 beq lmp_ext_accepted ,parse_lmpext_accepted 
+0x5be0 015750 beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+0x5be1 015751 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+0x5be2 015752 beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+0x5be3 015753 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+0x5be4 015754 beq lmp_ext_features_req ,parse_lmpext_features_req 
+0x5be5 015755 beq lmp_ext_features_res ,parse_lmpext_features_res 
+0x5be6 015756 beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+0x5be7 015757 beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+0x5be8 015758 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+0x5be9 015759 beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+0x5bea 015760 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+0x5beb 015761 beq lmp_ext_remove_esco_req ,parse_lmpext_remove_esco_req 
+0x5bec 015762 beq lmp_ext_esco_link_req ,parse_lmpext_esco_link_req 
+0x5bed 015763 rtneq lmp_ext_features_res 
+:      015766 reject_unknown_ext_packet:
+0x5bee 015767 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5bef 015768 jam unknown_lmp_pdu ,mem_lmo_reason2 
+0x5bf0 015770 rtn 
+:      015771 parse_lmpext_chn_classification_req:
+0x5bf1 015772 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5bf2 015773 jam not_support_chn_classification ,mem_lmo_reason2 
+0x5bf3 015774 rtn 
+:      015776 parse_lmpext_esco_link_req:
+0x5bf4 015777 fetch 1 ,mem_rxbuf + 2 
+0x5bf5 015778 store 1 ,mem_sco_handle 
+0x5bf6 015779 fetch 1 ,mem_rxbuf + 3 
+0x5bf7 015780 store 1 ,mem_esco_addr 
+0x5bf8 015781 fetch 1 ,mem_rxbuf + 5 
+0x5bf9 015782 store 1 ,mem_esco_desco 
+0x5bfa 015783 fetch 1 ,mem_rxbuf + 9 
+0x5bfb 015784 store 1 ,mem_esco_type 
+0x5bfc 015785 fetch 1 ,mem_rxbuf + 14 
+0x5bfd 015786 store 1 ,mem_air_mode 
+0x5bfe 015787 bmark1 mark_esco ,check_esco_prarm 
+0x5bff 015788 set1 mark_esco ,mark 
+0x5c00 015789 call push_tid_follow 
+0x5c01 015790 store 1 ,mem_accptsco_tid 
+0x5c02 015791 force 0 ,temp 
+0x5c03 015792 branch hci_send_conn_req_event 
+:      015794 parse_lmpext_esco_link_req_change_param:
+0x5c04 015795 jam lmp_ext_esco_link_req ,mem_lmo_opcode2 
+0x5c05 015796 jam prarm_neogotiation ,mem_neogotiation_state 
+0x5c06 015797 branch cmd_exit 
+:      015799 check_esco_prarm:
+0x5c07 015800 fetch 1 ,mem_esco_type 
+0x5c08 015801 bne type_hv3 ,reject_esco_prarm 
+0x5c09 015802 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5c0a 015803 branch esco_prarm_common 
+:      015804 reject_esco_prarm:
+0x5c0b 015805 set0 mark_esco ,mark 
+0x5c0c 015806 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5c0d 015807 force hci_error_unknown_hci_command ,temp 
+0x5c0e 015808 call hci_send_sco_complete 
+:      015809 esco_prarm_common:
+0x5c0f 015810 jam lmp_ext_esco_link_req ,mem_lmi_opcode2 
+0x5c10 015811 rtn 
+:      015814 parse_lmpext_remove_esco_req:
+0x5c11 015815 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5c12 015816 jam lmp_ext_remove_esco_req ,mem_lmi_opcode2 
+0x5c13 015817 branch stop_esco 
+:      015819 parse_lmpext_iocap_req:
+0x5c14 015820 call iocap_lmpext_load 
+0x5c15 015821 fetch 1 ,mem_device_option 
+0x5c16 015822 beq dvc_op_hci ,iocap_lmpext_hci 
+0x5c17 015823 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x5c18 015824 rtn 
+:      015826 parse_lmpext_iocap_res:
+0x5c19 015827 call iocap_lmpext_load 
+0x5c1a 015828 fetch 1 ,mem_device_option 
+0x5c1b 015829 beq dvc_op_hci ,iocap_lmpext_hci 
+0x5c1c 015830 branch iocap_lmpext_common 
+:      015832 iocap_lmpext_load:
+0x5c1d 015833 arg mem_sp_iocap_remote ,contw 
+0x5c1e 015834 fetch 3 ,mem_rxbuf + 2 
+0x5c1f 015835 istore 3 ,contw 
+0x5c20 015836 rtn 
+:      015838 iocap_lmpext_hci:
+0x5c21 015839 call hci_send_io_cap_response_event 
+:      015840 iocap_lmpext_common:
+0x5c22 015841 call check_localsm 
+0x5c23 015842 ncall hci_send_io_cap_req_event ,true 
+0x5c24 015843 branch master_set_mem_master_sp_flag ,true 
+0x5c25 015844 rtn 
+:      015845 parse_lmpext_accepted:
+0x5c26 015846 fetch 1 ,mem_rxbuf + 3 
+0x5c27 015847 set1 7 ,pdata 
+0x5c28 015848 store 1 ,mem_lmi_accepted_opcode 
+0x5c29 015849 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+0x5c2a 015850 beq lmp_ext_esco_link_req ,play_sco 
+0x5c2b 015851 beq lmp_ext_remove_esco_req ,parse_lmpext_stop_esco 
+0x5c2c 015852 rtn 
+:      015854 parse_lmpext_stop_esco:
+0x5c2d 015855 branch stop_esco 
+:      015857 parse_lmpext_not_accepted:
+0x5c2e 015858 fetch 1 ,mem_rxbuf + 3 
+0x5c2f 015859 set1 7 ,pdata 
+0x5c30 015860 store 1 ,mem_lmi_accepted_opcode 
+0x5c31 015861 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+0x5c32 015862 beq lmp_ext_esco_link_req ,parse_lmpext_not_accepted_esco 
+0x5c33 015863 rtn 
+:      015865 parse_lmpext_not_accepted_esco:
+0x5c34 015866 set0 mark_esco ,mark 
+0x5c35 015867 rtn 
+:      015869 parse_lmpext_accepted_ptt:
+0x5c36 015870 fetch 1 ,mem_ptt 
+0x5c37 015871 fetcht 1 ,mem_state_map 
+0x5c38 015872 nsetflag blank ,smap_edr ,temp 
+0x5c39 015873 storet 1 ,mem_state_map 
+:      015874 parse_lmpext_not_accepted_ptt:
+0x5c3a 015875 fetch 1 ,mem_state 
+0x5c3b 015876 rtnbit0 state_init_seq 
+0x5c3c 015877 set0 state_init_seq ,pdata 
+0x5c3d 015878 store 1 ,mem_state 
+0x5c3e 015879 fetch 1 ,mem_auth_enable 
+0x5c3f 015880 nbranch hci_send_linkkey_req ,blank 
+0x5c40 015881 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5c41 015882 rtn 
+:      015884 parse_lmpext_pause_encrypt:
+0x5c42 015885 nbranch parse_lmpext_pause_encrypt_slave ,master 
+0x5c43 015886 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5c44 015887 branch tid_reply 
+:      015889 parse_lmpext_pause_encrypt_slave:
+0x5c45 015890 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+0x5c46 015891 rtn 
+:      015893 parse_lmpext_resume_encrypt:
+0x5c47 015896 call tid_reply 
+0x5c48 015897 branch lmp_start_encryption 
+:      015899 parse_lmpext_features_req:
+0x5c49 015900 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x5c4a 015901 rtn 
+:      015903 parse_lmpext_features_res:
+0x5c4b 015904 fetcht 1 ,mem_rxbuf + 4 
+0x5c4c 015905 and temp ,0x1 ,temp 
+0x5c4d 015906 storet 1 ,mem_remote_sppcap 
+0x5c4e 015907 fetch 1 ,mem_hci_cmd 
+0x5c4f 015908 bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+0x5c50 015909 jam 0 ,mem_hci_cmd 
+0x5c51 015910 call hci_send_remote_ext_features_event 
+:      015911 parse_lmpext_features_res_not_hci:
+0x5c52 015912 fetch 1 ,mem_conn_sm 
+0x5c53 015913 rtnne conn_sm_wait_features_ext 
+0x5c54 015914 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x5c55 015915 branch process_conn_sm 
+:      015917 parse_lmp_accepted:
+0x5c56 015918 fetch 1 ,mem_rxbuf + 1 
+0x5c57 015919 store 1 ,mem_lmi_accepted_opcode 
+0x5c58 015920 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+0x5c59 015921 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+0x5c5a 015922 beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+0x5c5b 015923 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+0x5c5c 015924 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+0x5c5d 015925 beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+0x5c5e 015926 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+0x5c5f 015927 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+0x5c60 015928 beq lmp_sco_link_req ,play_sco 
+0x5c61 015930 beq lmp_switch_req ,parse_lmp_accepted_switch 
+0x5c62 015932 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+0x5c63 015933 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+0x5c64 015934 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+0x5c65 015935 beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+0x5c66 015936 rtn 
+:      015938 parse_lmp_not_accepted:
+0x5c67 015939 fetch 1 ,mem_rxbuf + 1 
+0x5c68 015940 store 1 ,mem_lmi_accepted_opcode 
+0x5c69 015941 beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+0x5c6a 015942 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+0x5c6b 015943 beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+0x5c6c 015944 beq lmp_sco_link_req ,parse_lmp_not_accepted_sco_link_req 
+0x5c6d 015945 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+0x5c6e 015946 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+0x5c6f 015948 beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+0x5c70 015949 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+0x5c71 015950 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+0x5c72 015951 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+0x5c73 015952 rtn 
+:      015954 parse_lmp_accepted_switch:
+0x5c74 015955 jam bt_evt_switch_accept ,mem_fifo_temp 
+0x5c75 015956 call ui_ipc_send_event 
+0x5c76 015957 branch role_switch_prepare0 
+:      015958 parse_lmp_not_accepted_switch:
+0x5c77 015959 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+0x5c78 015960 call ui_ipc_send_event 
+0x5c79 015961 jam switch_flag_not_accept ,mem_switch_flag 
+0x5c7a 015962 setarg timer_switch_waite 
+0x5c7b 015963 arg switch_wait_timer ,queue 
+0x5c7c 015964 branch timer_init 
+:      015967 parse_lmp_accepted_hostconn:
+0x5c7d 015970 fetch 1 ,mem_lmp_conn_state 
+0x5c7e 015971 set1 received_conn_req ,pdata 
+0x5c7f 015972 store 1 ,mem_lmp_conn_state 
+0x5c80 015973 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x5c81 015974 call ui_ipc_send_event 
+0x5c82 015975 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+:      015977 parse_lmp_accepted_hostconn_ctn:
+0x5c83 015979 fetch 1 ,mem_conn_sm 
+0x5c84 015980 bne conn_sm_wait_conn_accept ,parse_rx_done 
+0x5c85 015983 jam conn_sm_auth_pair ,mem_conn_sm 
+0x5c86 015984 rtn 
+:      015992 parse_lmp_not_accepted_hostconn:
+0x5c87 015993 jam acl_connection_already_exists ,mem_disconn_reason_send 
+0x5c88 015994 jam lmp_detach ,mem_lmo_opcode2 
+0x5c89 015995 force hci_error_host_timeout ,temp 
+0x5c8a 015996 call hci_send_connection_error 
+0x5c8b 015998 jam conn_sm_standby ,mem_conn_sm 
+0x5c8c 016000 branch parse_rx_done ,true 
+0x5c8d 016001 rtn 
+:      016003 parse_lmp_not_accepted_sco_link_req:
+0x5c8e 016004 jam lmp_sco_link_req ,mem_lmo_opcode2 
+0x5c8f 016005 rtn 
+:      016008 parse_lmp_accepted_inrand:
+0x5c90 016009 fetch 1 ,mem_link_key_exists 
+0x5c91 016010 nrtn blank 
+0x5c92 016011 call clear_linkkey 
+0x5c93 016012 call lmp_generate_key 
+0x5c94 016013 rtn master 
+0x5c95 016014 set1 mark_slave_in_rand_accepted ,mark 
+0x5c96 016015 rtn 
+:      016017 parse_lmp_accepted_enc_mode:
+0x5c97 016018 nrtn master 
+0x5c98 016019 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x5c99 016020 fetch 1 ,mem_state_map 
+0x5c9a 016021 rtnbit0 smap_encryption 
+0x5c9b 016022 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5c9c 016023 rtn 
+:      016025 parse_lmp_accepted_enc_keysize:
+0x5c9d 016026 branch lmp_start_encryption 
+:      016028 parse_lmp_accepted_start_enc:
+0x5c9e 016029 call send_create_conn_start_l2cap_timer_sm 
+0x5c9f 016030 fetch 1 ,mem_state 
+0x5ca0 016031 rtnbit1 state_conn_comp 
+0x5ca1 016032 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5ca2 016033 fetch 1 ,mem_conn_sm 
+0x5ca3 016034 rtnne conn_sm_encrypt_wait 
+0x5ca4 016035 jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+0x5ca5 016036 rtn 
+:      016038 parse_lmp_accepted_stop_enc:
+0x5ca6 016046 rtn 
+:      016048 parse_lmp_not_accepted_aurand:
+0x5ca7 016049 fetch 1 ,mem_device_option 
+0x5ca8 016050 bne dvc_op_hci ,parse_lmp_not_accepted_aurand_send_detach 
+0x5ca9 016051 fetch 1 ,mem_link_key_exists 
+0x5caa 016052 rtn blank 
+0x5cab 016053 fetcht 1 ,mem_conn_sm 
+0x5cac 016054 jam 0 ,mem_conn_sm 
+0x5cad 016055 jam 0 ,mem_link_key_exists 
+0x5cae 016056 fetch 1 ,mem_rxbuf + 2 
+0x5caf 016057 rtnne key_missing 
+0x5cb0 016058 storet 1 ,mem_conn_sm 
+0x5cb1 016059 jam local_statemachine ,mem_sp_localsm 
+0x5cb2 016060 fetch 2 ,mem_lmpext_ssp_enable 
+0x5cb3 016061 fetcht 1 ,mem_remote_sppcap 
+0x5cb4 016062 iand temp ,pdata 
+0x5cb5 016063 branch cmd_pair ,blank 
+0x5cb6 016064 branch cmd_ssp 
+:      016066 parse_lmp_not_accepted_aurand_send_detach:
+0x5cb7 016067 jam lmp_detach ,mem_lmo_opcode2 
+0x5cb8 016068 jam other_end_terminated ,mem_disconn_reason_send 
+0x5cb9 016069 rtn 
+:      016071 parse_lmp_not_accepted_inrand:
+0x5cba 016072 fetch 1 ,mem_rxbuf + 2 
+0x5cbb 016073 beq key_missing ,parse_lmp_inrand_key_missing 
+0x5cbc 016074 rtnne pairing_not_allowed 
+0x5cbd 016075 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x5cbe 016076 jam lmp_detach ,mem_lmo_opcode2 
+0x5cbf 016077 rtn 
+:      016078 parse_lmp_inrand_key_missing:
+0x5cc0 016079 jam key_missing ,mem_disconn_reason_send 
+0x5cc1 016080 jam lmp_detach ,mem_lmo_opcode2 
+0x5cc2 016081 rtn 
+:      016083 parse_lmp_not_accepted_name_req:
+0x5cc3 016084 rtn 
+:      016086 parse_lmp_not_accepted_simple_pairing_number:
+0x5cc4 016087 jam sp_stat_null ,mem_sp_state 
+0x5cc5 016088 jam lmp_detach ,mem_lmo_opcode2 
+0x5cc6 016089 branch parse_rx_done 
+:      016091 parse_lmp_not_accepted_dhkey_check:
+0x5cc7 016092 jam sp_stat_null ,mem_sp_state 
+0x5cc8 016093 jam lmp_detach ,mem_lmo_opcode2 
+0x5cc9 016094 branch parse_rx_done 
+:      016095 parse_lmp_not_accepted_unsniff_req:
+0x5cca 016096 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+0x5ccb 016097 branch ui_ipc_send_event 
+:      016099 parse_lmp_accepted_unsniff_req:
+0x5ccc 016100 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+0x5ccd 016101 call ui_ipc_send_event 
+0x5cce 016102 call sniff_exit 
+0x5ccf 016103 force 0 ,temp 
+0x5cd0 016104 branch hci_send_mode_change 
+:      016106 parse_lmp_accepted_sniff_req:
+0x5cd1 016107 jam bt_evt_sniff_accept ,mem_fifo_temp 
+0x5cd2 016108 call ui_ipc_send_event 
+0x5cd3 016109 force 0x02 ,temp 
+0x5cd4 016110 call hci_send_mode_change 
+0x5cd5 016111 setarg 0 
+0x5cd6 016112 store 2 ,mem_dsniff 
+0x5cd7 016113 fetch 2 ,mem_sniff_param_interval 
+0x5cd8 016114 lshift pdata ,pdata 
+0x5cd9 016115 store 2 ,mem_tsniff 
+0x5cda 016116 fetch 1 ,mem_sniff_param_attempt 
+0x5cdb 016117 store 1 ,mem_sniff_attempt 
+0x5cdc 016118 fetch 1 ,mem_sniff_param_timeout 
+0x5cdd 016119 store 1 ,mem_sniff_timeout 
+0x5cde 016120 branch sniff_init 
+:      016122 parse_lmp_not_acdcept_sniff_req:
+0x5cdf 016123 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+0x5ce0 016124 branch ui_ipc_send_event 
+:      016126 parse_lmp_crypt_key:
+0x5ce1 016127 fetcht 1 ,mem_rxbuf + 1 
+0x5ce2 016128 storet 1 ,mem_key_size 
+0x5ce3 016129 branch accept_lmp_msg 
+:      016131 parse_lmp_setup_complete:
+0x5ce4 016132 fetch 1 ,mem_lmp_conn_state 
+0x5ce5 016133 set1 received_setup_complete ,pdata 
+0x5ce6 016134 store 1 ,mem_lmp_conn_state 
+0x5ce7 016135 rtnbit1 sent_setup_complete 
+0x5ce8 016136 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5ce9 016137 branch parse_rx_done 
+:      016139 parse_lmp_max_slot:
+0x5cea 016142 rtn 
+:      016144 parse_lmp_max_slot_req:
+0x5ceb 016145 fetch 1 ,mem_max_slot 
+0x5cec 016146 fetcht 1 ,mem_rxbuf + 1 
+0x5ced 016147 isub temp ,null 
+0x5cee 016149 branch accept_lmp_msg ,positive 
+0x5cef 016150 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5cf0 016151 jam unspecified_error ,mem_lmo_reason2 
+0x5cf1 016152 jam lmp_max_slot_req ,mem_lmi_opcode2 
+0x5cf2 016153 rtn 
+:      016155 parse_lmp_detach:
+0x5cf3 016156 call prepare_disconnect 
+0x5cf4 016157 branch accept_lmp_msg 
+:      016159 accept_lmp_msg:
+0x5cf5 016160 jam lmp_accepted ,mem_lmo_opcode2 
+0x5cf6 016161 rtn 
+:      016163 parse_lmp_incr_power:
+0x5cf7 016164 jam lmp_max_power ,mem_lmo_opcode2 
+0x5cf8 016165 rtn 
+:      016167 parse_lmp_decr_power:
+0x5cf9 016168 jam lmp_min_power ,mem_lmo_opcode2 
+0x5cfa 016169 rtn 
+:      016171 parse_lmp_version_res:
+0x5cfb 016172 fetch 1 ,mem_conn_sm 
+0x5cfc 016173 rtneq conn_sm_wait_version 
+0x5cfd 016175 jam conn_sm_send_features ,mem_conn_sm 
+0x5cfe 016177 rtn 
+:      016180 parse_lmp_auto_rate:
+0x5cff 016181 rtn 
+:      016183 parse_lmp_in_rand:
+0x5d00 016184 call lmp_copy_rand 
+0x5d01 016185 jam pincode_state_wait_pincode ,mem_pincode_state 
+0x5d02 016186 fetch 1 ,mem_device_option 
+0x5d03 016187 beq dvc_op_hci ,parse_lmp_in_rand_hci 
+0x5d04 016188 jam bt_evt_pincode_req ,mem_fifo_temp 
+0x5d05 016189 call ui_ipc_send_event 
+:      016190 parse_lmp_in_rand_hci:
+0x5d06 016191 call hci_send_pincode_req 
+0x5d07 016192 call tid_check 
+0x5d08 016193 nbranch lmp_accept_inrand ,true 
+0x5d09 016194 nbranch parse_lmp_inrand_res ,master 
+0x5d0a 016195 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5d0b 016196 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5d0c 016197 jam transaction_collision ,mem_lmo_reason2 
+0x5d0d 016198 rtn 
+:      016199 parse_lmp_inrand_res:
+0x5d0e 016200 fetch 1 ,mem_op 
+0x5d0f 016201 set1 op_inrand_req ,pdata 
+0x5d10 016202 store 1 ,mem_op 
+0x5d11 016203 rtn 
+:      016206 pop_tid_follow:
+0x5d12 016207 fetcht 1 ,mem_state_map 
+0x5d13 016208 nsetflag blank ,smap_lmptid ,temp 
+0x5d14 016209 storet 1 ,mem_state_map 
+0x5d15 016210 rtn 
+:      016213 push_tid_follow:
+0x5d16 016214 fetch 1 ,mem_lmo_tid2 
+0x5d17 016215 rshift pdata ,pdata 
+0x5d18 016216 and_into 1 ,pdata 
+0x5d19 016217 rtn 
+:      016219 parse_lmp_au_rand:
+0x5d1a 016220 call push_tid_follow 
+0x5d1b 016221 store 1 ,mem_sres_tid 
+0x5d1c 016222 call lmp_copy_rand 
+0x5d1d 016223 jam lmp_sres ,mem_lmo_opcode2 
+0x5d1e 016224 fetch 1 ,mem_link_key_exists 
+0x5d1f 016225 nrtn blank 
+0x5d20 016226 fetch 1 ,mem_state 
+0x5d21 016227 rtnbit1 state_combkey 
+0x5d22 016228 jam key_missing ,mem_lmo_reason2 
+0x5d23 016229 fetch 1 ,mem_device_option 
+0x5d24 016230 bne dvc_op_hci ,reject_lmp_packet 
+0x5d25 016231 fetch 1 ,mem_auth_enable 
+0x5d26 016232 nbranch reject_lmp_packet ,blank 
+0x5d27 016233 jam 0 ,mem_lmo_opcode2 
+:      016234 parse_lmp_inrand_sres:
+0x5d28 016235 fetch 1 ,mem_op 
+0x5d29 016236 set1 op_send_sres ,pdata 
+0x5d2a 016237 store 1 ,mem_op 
+0x5d2b 016238 branch hci_send_linkkey_req 
+:      016240 parse_lmp_sres:
+0x5d2c 016241 arg mem_plap ,rega 
+0x5d2d 016242 call function_e1 
+0x5d2e 016243 fetch 4 ,mem_rxbuf + 1 
+0x5d2f 016244 fetcht 4 ,mem_input_store 
+0x5d30 016245 isub temp ,null 
+0x5d31 016246 branch authentication_ok ,zero 
+0x5d32 016247 jam lmp_detach ,mem_lmo_opcode2 
+0x5d33 016248 jam authentication_failure_error ,mem_disconn_reason_send 
+0x5d34 016249 rtn 
+:      016250 authentication_ok:
+0x5d35 016251 call copy_aco 
+0x5d36 016252 call linkkey_ready 
+0x5d37 016253 fetch 1 ,mem_op 
+0x5d38 016254 isolate1 op_auth_req ,pdata 
+0x5d39 016255 set0 op_auth_req ,pdata 
+0x5d3a 016256 store 1 ,mem_op 
+0x5d3b 016257 call hci_send_auth_complete ,true 
+0x5d3c 016258 fetch 1 ,mem_conn_sm 
+0x5d3d 016259 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+0x5d3e 016260 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+0x5d3f 016261 rtn 
+:      016262 authentication_ok_conn_sm:
+0x5d40 016263 fetch 1 ,mem_pairing_auth 
+0x5d41 016264 rtnne defalt_pairing_auth 
+0x5d42 016265 fetch 1 ,mem_state_map 
+0x5d43 016266 rtnbit1 smap_encryption 
+0x5d44 016267 branch host_create_conn_encrypt 
+:      016269 parse_lmp_comb_key:
+0x5d45 016270 arg mem_rxbuf + 1 ,rega 
+0x5d46 016271 arg mem_kinit ,regb 
+0x5d47 016272 arg mem_random_number ,contw 
+0x5d48 016273 call xor16 
+0x5d49 016274 arg mem_plap ,rega 
+0x5d4a 016275 call generate_linkkey 
+0x5d4b 016276 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5d4c 016277 fetch 1 ,mem_state 
+0x5d4d 016278 bbit0 state_combkey ,lmp_generate_key 
+0x5d4e 016279 rtn 
+:      016281 parse_lmp_name_res:
+0x5d4f 016282 fetch 2 ,mem_len 
+0x5d50 016283 add pdata ,-3 ,loopcnt 
+0x5d51 016284 fetcht 1 ,mem_rxbuf + 1 
+0x5d52 016285 setarg mem_tmp_buffer 
+0x5d53 016286 iadd temp ,contw 
+0x5d54 016287 arg mem_rxbuf + 3 ,contr 
+0x5d55 016288 call memcpy 
+0x5d56 016289 fetcht 1 ,mem_name_offset 
+0x5d57 016290 fetch 1 ,mem_rxbuf + 2 
+0x5d58 016291 isub temp ,pdata 
+0x5d59 016292 sub pdata ,14 ,null 
+0x5d5a 016293 branch parse_lmp_name_res_end ,positive 
+0x5d5b 016294 add temp ,14 ,pdata 
+0x5d5c 016295 store 1 ,mem_name_offset 
+0x5d5d 016296 jam lmp_name_req ,mem_lmo_opcode2 
+0x5d5e 016297 rtn 
+:      016298 parse_lmp_name_res_end:
+0x5d5f 016299 fetch 1 ,mem_state_map 
+0x5d60 016300 set1 smap_name_res ,pdata 
+0x5d61 016301 store 1 ,mem_state_map 
+0x5d62 016302 bbit1 smap_name_req ,lmp_disconnect 
+0x5d63 016305 rtn 
+:      016306 parse_lmp_name_req:
+0x5d64 016307 fetch 1 ,mem_rxbuf + 1 
+0x5d65 016308 store 1 ,mem_lmi_opcode2 
+0x5d66 016309 jam lmp_name_res ,mem_lmo_opcode2 
+0x5d67 016310 rtn 
+:      016312 parse_lmp_conn_req:
+0x5d68 016313 fetch 1 ,mem_device_option 
+0x5d69 016314 bne dvc_op_hci ,accept_lmp_msg 
+0x5d6a 016315 force 1 ,temp 
+0x5d6b 016316 branch hci_send_conn_req_event 
+:      016318 parse_lmp_timing_accuracy_req:
+0x5d6c 016319 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+0x5d6d 016320 rtn 
+:      016322 parse_lmp_features_req:
+0x5d6e 016323 jam lmp_features_res ,mem_lmo_opcode2 
+0x5d6f 016324 rtn 
+:      016326 parse_lmp_version_req:
+0x5d70 016327 jam lmp_version_res ,mem_lmo_opcode2 
+0x5d71 016328 rtn 
+:      016330 parse_lmp_supervision_timeout:
+0x5d72 016333 rtn 
+:      016337 parse_lmp_sniff_subrating_req:
+0x5d73 016338 fetch 2 ,mem_tsniff 
+0x5d74 016339 iforce temp 
+0x5d75 016340 fetch 1 ,mem_rxbuf + 2 
+0x5d76 016341 store 1 ,mem_subsniff_rate 
+0x5d77 016342 imul32 temp ,temp 
+0x5d78 016343 fetch 2 ,mem_rxbuf + 3 
+0x5d79 016344 lshift pdata ,pdata 
+0x5d7a 016345 store 2 ,mem_subsniff_tcmax 
+0x5d7b 016346 fetch 4 ,mem_rxbuf + 5 
+0x5d7c 016347 lshift pdata ,pdata 
+0x5d7d 016348 store 4 ,mem_subsniff_instant 
+0x5d7e 016350 deposit temp 
+0x5d7f 016351 store 2 ,mem_subsniff_tsniff 
+0x5d80 016352 rtn 
+:      016353 parse_lmpext_packet_type_table_req:
+0x5d81 016354 fetcht 1 ,mem_ptt 
+0x5d82 016355 fetch 1 ,mem_rxbuf + 2 
+0x5d83 016356 ixor temp ,null 
+0x5d84 016357 nbranch reject_unknown_ext_packet ,zero 
+0x5d85 016358 isolate1 0 ,pdata 
+0x5d86 016359 fetch 1 ,mem_state_map 
+0x5d87 016360 setflag true ,smap_edr ,pdata 
+0x5d88 016361 store 1 ,mem_state_map 
+0x5d89 016362 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5d8a 016363 jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+0x5d8b 016364 rtn 
+:      016367 parse_lmp_sniff_subrating_res:
+0x5d8c 016368 rtn 
+:      016370 parse_lmp_max_power:
+0x5d8d 016371 rtn 
+:      016372 parse_lmp_min_power:
+0x5d8e 016373 rtn 
+:      016374 parse_lmp_page_mode_req:
+0x5d8f 016376 branch accept_lmp_msg 
+:      016377 parse_lmp_page_scan_mode_req:
+0x5d90 016380 branch accept_lmp_msg 
+:      016381 parse_lmp_preferred_rate:
+0x5d91 016382 rtn 
+:      016383 parse_lmp_remove_sco_link_req:
+0x5d92 016384 call stop_sco 
+0x5d93 016385 jam lmp_remove_sco_link_req ,mem_lmi_opcode2 
+0x5d94 016386 branch accept_lmp_msg 
+:      016389 parse_lmp_sco_link_req:
+0x5d95 016390 fetch 1 ,mem_rxbuf + 1 
+0x5d96 016391 store 1 ,mem_sco_handle 
+0x5d97 016392 fetch 1 ,mem_rxbuf + 3 
+0x5d98 016393 store 1 ,mem_esco_desco 
+0x5d99 016394 fetch 1 ,mem_rxbuf + 6 
+0x5d9a 016395 store 1 ,mem_air_mode 
+0x5d9b 016396 call push_tid_follow 
+0x5d9c 016397 store 1 ,mem_accptsco_tid 
+0x5d9d 016398 force 0 ,temp 
+0x5d9e 016399 branch hci_send_conn_req_event 
+:      016401 parse_lmp_slot_offset:
+0x5d9f 016402 fetch 2 ,mem_rxbuf + 1 
+0x5da0 016403 store 2 ,mem_slot_offset 
+0x5da1 016404 rtn 
+:      016406 parse_lmp_sniff_req:
+0x5da2 016407 fetch 1 ,mem_state 
+0x5da3 016408 bbit1 state_insniff ,lmp_reject_sniff 
+0x5da4 016409 fetch 2 ,mem_rxbuf + 2 
+0x5da5 016410 lshift pdata ,pdata 
+0x5da6 016411 store 2 ,mem_dsniff 
+0x5da7 016412 fetch 2 ,mem_rxbuf + 4 
+0x5da8 016413 lshift pdata ,pdata 
+0x5da9 016414 store 2 ,mem_tsniff 
+0x5daa 016415 fetch 2 ,mem_rxbuf + 6 
+0x5dab 016416 store 1 ,mem_sniff_attempt 
+0x5dac 016417 iforce temp 
+0x5dad 016418 fetch 2 ,mem_rxbuf + 8 
+0x5dae 016419 store 1 ,mem_sniff_timeout 
+0x5daf 016420 isub temp ,null 
+0x5db0 016421 nbranch set_big_value_to_attempt ,positive 
+0x5db1 016422 store 1 ,mem_sniff_attempt 
+:      016423 set_big_value_to_attempt:
+0x5db2 016425 jam lmp_accepted ,mem_lmo_opcode2 
+0x5db3 016426 jam lmp_sniff_req ,mem_lmi_opcode2 
+0x5db4 016427 rtn 
+:      016429 lmp_reject_sniff:
+0x5db5 016430 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5db6 016431 branch reject_lmp_packet 
+:      016433 parse_lmp_start_encryption_req:
+0x5db7 016434 call accept_lmp_msg 
+0x5db8 016435 call lmp_copy_rand 
+0x5db9 016436 call function_e3 
+0x5dba 016437 branch start_encryption 
+:      016439 parse_lmp_stop_encryption_req:
+0x5dbb 016440 call accept_lmp_msg 
+0x5dbc 016441 branch stop_encryption 
+:      016444 parse_lmp_switch_req:
+0x5dbd 016445 fetch 4 ,mem_rxbuf + 1 
+0x5dbe 016446 lshift pdata ,pdata 
+0x5dbf 016448 branch parse_lmp_switch_accept ,master 
+0x5dc0 016449 fetcht 1 ,mem_link_key_exists 
+0x5dc1 016450 nbranch parse_lmp_switch_req_clear_mark ,blank 
+:      016451 parse_lmp_switch_req_not_accept:
+0x5dc2 016452 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5dc3 016453 jam lmp_switch_req ,mem_lmi_opcode2 
+0x5dc4 016454 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5dc5 016455 rtn 
+:      016456 parse_lmp_switch_req_clear_mark:
+0x5dc6 016457 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x5dc7 016458 jam 0 ,mem_conn_sm 
+0x5dc8 016459 branch role_switch_prepare 
+:      016461 parse_lmp_switch_accept:
+0x5dc9 016462 call role_switch_prepare 
+0x5dca 016463 set1 mark_reconn_recieve_switch ,mark 
+0x5dcb 016464 fetch 1 ,mem_connection_options 
+0x5dcc 016465 set0 connection_switch ,pdata 
+0x5dcd 016466 store 1 ,mem_connection_options 
+0x5dce 016467 branch accept_lmp_msg 
+:      016471 parse_lmp_temp_rand:
+0x5dcf 016472 rtn 
+:      016473 parse_lmp_temp_key:
+0x5dd0 016474 rtn 
+:      016475 parse_lmp_timing_accuracy_res:
+0x5dd1 016476 rtn 
+:      016478 parse_lmp_unit_key:
+0x5dd2 016480 rtn 
+:      016483 parse_lmp_unsniff_req:
+0x5dd3 016484 jam lmp_accepted ,mem_lmo_opcode2 
+0x5dd4 016485 jam lmp_unsniff_req ,mem_lmi_opcode2 
+0x5dd5 016486 jam bt_evt_remote_unsniff ,mem_fifo_temp 
+0x5dd6 016487 call ui_ipc_send_event 
+0x5dd7 016488 force 0 ,temp 
+0x5dd8 016489 call hci_send_mode_change 
+0x5dd9 016490 branch sniff_exit 
+:      016491 parse_lmp_use_semi_permanend_key:
+0x5dda 016492 rtn 
+:      016494 parse_lmp_encapsulated_header:
+0x5ddb 016495 fetch 1 ,mem_rxbuf + 1 
+0x5ddc 016496 bne encapsulated_major_type_p192 ,parse_lmp_encapsulated_header_reject 
+0x5ddd 016497 fetch 1 ,mem_rxbuf + 2 
+0x5dde 016498 bne encapsulated_minor_type_p192 ,parse_lmp_encapsulated_header_reject 
+0x5ddf 016499 fetch 1 ,mem_rxbuf + 3 
+0x5de0 016500 bne encapsulated_len_p192 ,parse_lmp_encapsulated_header_reject 
+0x5de1 016501 call check_localsm 
+0x5de2 016502 branch parse_lmp_encapsulated_header_master ,true 
+0x5de3 016503 jam sp_stat_key_recv ,mem_sp_state 
+:      016504 parse_lmp_encapsulated_header_master:
+0x5de4 016505 jam lmp_accepted ,mem_lmo_opcode2 
+0x5de5 016506 jam lmp_encapsulated_header ,mem_lmi_opcode2 
+0x5de6 016507 branch parse_rx_done 
+:      016509 parse_lmp_encapsulated_header_reject:
+0x5de7 016510 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5de8 016511 branch reject_lmp_packet 
+:      016513 parse_lmp_accepted_encapsulated_header:
+0x5de9 016516 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5dea 016518 rtn 
+:      016519 parse_lmp_accepted_simple_pairing_number:
+0x5deb 016520 call check_localsm 
+0x5dec 016521 rtn true 
+0x5ded 016522 jam sp_stat_confirm_recv ,mem_sp_state 
+0x5dee 016523 rtn 
+:      016525 parse_lmp_accepted_dhkey_check:
+0x5def 016527 call check_localsm 
+0x5df0 016528 ncall g_noninit ,true 
+0x5df1 016529 call g_init ,true 
+0x5df2 016530 call hci_send_user_confirmation_req 
+0x5df3 016531 call hci_send_ssp_complete 
+0x5df4 016532 call check_localsm 
+0x5df5 016533 rtn true 
+0x5df6 016534 jam sp_stat_link_key_calc ,mem_sp_state 
+0x5df7 016535 jam sp_flag_commit ,mem_sp_flag 
+0x5df8 016536 rtn 
+:      016538 parse_simple_pairing_confirm:
+0x5df9 016539 arg mem_sp_confirm_remote ,contw 
+0x5dfa 016540 fetch 8 ,mem_rxbuf + 1 
+0x5dfb 016541 istore 8 ,contw 
+0x5dfc 016542 fetch 8 ,mem_rxbuf + 9 
+0x5dfd 016543 istore 8 ,contw 
+0x5dfe 016544 branch master_set_mem_master_sp_flag 
+:      016546 parse_lmp_encapsulated_payload:
+0x5dff 016547 fetch 1 ,mem_master_sp_state 
+0x5e00 016548 beq sp_stat_random_send ,parse_encapsulated_payload_master 
+0x5e01 016549 fetch 1 ,mem_sp_state 
+0x5e02 016550 bne sp_stat_key_recv ,parse_lmp_encapsulated_payload_reject 
+:      016551 parse_encapsulated_payload_master:
+0x5e03 016552 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5e04 016553 sub pdata ,0x20 ,contw 
+0x5e05 016554 nbranch parse_lmp_encapsulated_payload_reject ,positive 
+0x5e06 016555 arg mem_sp_pubkey_remote ,contw 
+0x5e07 016556 iadd contw ,contw 
+0x5e08 016557 fetch 8 ,mem_rxbuf + 1 
+0x5e09 016558 istore 8 ,contw 
+0x5e0a 016559 fetch 8 ,mem_rxbuf + 9 
+0x5e0b 016560 istore 8 ,contw 
+0x5e0c 016561 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5e0d 016562 increase 16 ,pdata 
+0x5e0e 016563 store 1 ,mem_sp_remote_key_recv_count 
+0x5e0f 016564 bne encapsulated_len_p192 ,accept_lmp_msg 
+:      016565 parse_lmp_encapsulated_payload_completed:
+0x5e10 016566 call check_localsm 
+0x5e11 016567 branch accept_lmp_msg ,true 
+0x5e12 016568 jam sp_key_valid ,mem_sp_remote_key_invalid 
+0x5e13 016569 jam sp_stat_key_generate ,mem_sp_state 
+0x5e14 016570 jam sp_flag_commit ,mem_sp_flag 
+0x5e15 016571 branch accept_lmp_msg 
+:      016572 parse_lmp_encapsulated_payload_reject:
+0x5e16 016573 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5e17 016574 branch reject_lmp_packet 
+:      016575 parse_lmp_accepted_encapsulated_payload:
+0x5e18 016576 fetch 1 ,mem_sp_local_key_send_count 
+0x5e19 016577 beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+0x5e1a 016578 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5e1b 016579 branch parse_rx_done 
+:      016580 parse_lmp_encapsulated_payload_all_accepted:
+0x5e1c 016581 call check_localsm 
+0x5e1d 016582 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+0x5e1e 016583 jam sp_flag_commit ,mem_sp_flag 
+0x5e1f 016584 jam sp_stat_commit_calc ,mem_sp_state 
+0x5e20 016585 branch parse_rx_done 
+:      016586 parse_lmp_encapsulated_payload_all_accepted_master:
+0x5e21 016588 branch parse_rx_done 
+:      016590 parse_lmp_simple_pairing_number:
+0x5e22 016591 fetch 1 ,mem_master_sp_state 
+0x5e23 016592 beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+0x5e24 016593 fetch 1 ,mem_sp_state 
+0x5e25 016594 bne sp_stat_random_recv ,parse_lmp_simple_pairing_number_reject 
+:      016595 parse_lmp_simple_pairing_number_master:
+0x5e26 016596 arg mem_sp_random_remote ,contw 
+0x5e27 016597 fetch 8 ,mem_rxbuf + 1 
+0x5e28 016598 istore 8 ,contw 
+0x5e29 016599 fetch 8 ,mem_rxbuf + 9 
+0x5e2a 016600 istore 8 ,contw 
+0x5e2b 016601 call check_localsm 
+0x5e2c 016602 branch parse_lmp_simple_pairing_number_master0 ,true 
+0x5e2d 016603 jam sp_stat_random_send ,mem_sp_state 
+0x5e2e 016604 jam sp_flag_commit ,mem_sp_flag 
+0x5e2f 016605 branch accept_lmp_msg 
+:      016606 parse_lmp_simple_pairing_number_master0:
+0x5e30 016607 jam sp_stat_commit_calc ,mem_master_sp_state 
+0x5e31 016608 branch master_set_mem_master_sp_flag 
+:      016611 parse_lmp_simple_pairing_number_reject:
+0x5e32 016612 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5e33 016613 branch reject_lmp_packet 
+:      016615 parse_dhkey_check:
+0x5e34 016616 fetch 1 ,mem_master_sp_state 
+0x5e35 016617 beq sp_stat_confirm_send ,parse_dhkey_check_master 
+0x5e36 016618 fetch 1 ,mem_sp_state 
+0x5e37 016619 bne sp_stat_confirm_recv ,parse_lmp_dhkey_check_reject 
+:      016620 parse_dhkey_check_master:
+0x5e38 016621 arg mem_sp_check_result ,contw 
+0x5e39 016622 fetch 8 ,mem_rxbuf + 1 
+0x5e3a 016623 istore 8 ,contw 
+0x5e3b 016624 fetch 8 ,mem_rxbuf + 9 
+0x5e3c 016625 istore 8 ,contw 
+0x5e3d 016626 call check_localsm 
+0x5e3e 016627 branch parse_dhkey_check_master0 ,true 
+0x5e3f 016628 jam sp_stat_confirm_check ,mem_sp_state 
+0x5e40 016629 jam sp_flag_commit ,mem_sp_flag 
+0x5e41 016630 branch parse_rx_done 
+:      016631 parse_dhkey_check_master0:
+0x5e42 016632 jam sp_stat_confirm_check ,mem_master_sp_state 
+0x5e43 016633 jam sp_flag_commit ,mem_master_sp_flag 
+0x5e44 016634 branch parse_rx_done 
+:      016635 parse_lmp_dhkey_check_reject:
+0x5e45 016636 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5e46 016637 branch reject_lmp_packet 
+:      016639 parse_lmp_clkoffset_res:
+0x5e47 016640 branch parse_rx_done 
+:      016642 parse_lmp_encryption_mode_req:
+0x5e48 016643 fetch 1 ,mem_connection_options 
+0x5e49 016644 set0 connection_encrypt 
+0x5e4a 016645 store 1 ,mem_connection_options 
+0x5e4b 016646 call accept_lmp_msg 
+0x5e4c 016647 nrtn master 
+0x5e4d 016648 fetch 1 ,mem_rxbuf + 1 
+0x5e4e 016649 fetcht 1 ,mem_op 
+0x5e4f 016650 setflag blank ,op_stop_enc ,temp 
+0x5e50 016651 nsetflag blank ,op_start_enc ,temp 
+0x5e51 016652 storet 1 ,mem_op 
+0x5e52 016653 rtn 
+:      016655 parse_lmp_features_res:
+0x5e53 016656 fetcht 8 ,mem_rxbuf + 1 
+0x5e54 016657 fetch 1 ,mem_hci_cmd 
+0x5e55 016658 bne hci_cmd_wait_remote_feature ,parse_lmp_features_res_not_hci 
+0x5e56 016659 jam 0 ,mem_hci_cmd 
+0x5e57 016660 call hci_send_remote_features 
+:      016661 parse_lmp_features_res_not_hci:
+0x5e58 016662 fetch 1 ,mem_conn_sm 
+0x5e59 016663 rtnne conn_sm_wait_features_res 
+0x5e5a 016664 fetch 1 ,mem_device_option 
+0x5e5b 016665 beq dvc_op_hci ,parse_lmp_feature_ext_sm 
+0x5e5c 016666 fetch 1 ,mem_connection_options 
+0x5e5d 016667 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+:      016668 parse_lmp_feature_ext_sm:
+0x5e5e 016669 jam conn_sm_send_features_ext ,mem_conn_sm 
+0x5e5f 016670 rtn 
+:      016671 parse_lmp_send_conn:
+0x5e60 016672 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x5e61 016673 rtn 
+:      016674 parse_lmp_test_activate:
+0x5e62 016675 fetch 1 ,mem_debug_config 
+0x5e63 016676 store 1 ,mem_test_mode_old_debug_config 
+0x5e64 016677 jam lmp_accepted ,mem_lmo_opcode2 
+0x5e65 016678 jam lmp_test_activate ,mem_lmi_opcode2 
+0x5e66 016679 rtn 
+:      016680 parse_lmp_test_control:
+0x5e67 016683 jam lmp_accepted ,mem_lmo_opcode2 
+0x5e68 016684 jam lmp_test_control ,mem_lmi_opcode2 
+0x5e69 016685 force 9 ,loopcnt 
+0x5e6a 016686 arg mem_rxbuf + 1 ,contr 
+0x5e6b 016687 arg mem_temp_payload ,contw 
+:      016688 parse_lmp_test_xor:
+0x5e6c 016689 ifetch 1 ,contr 
+0x5e6d 016690 xor_into 0x55 ,pdata 
+0x5e6e 016691 istore 1 ,contw 
+0x5e6f 016692 loop parse_lmp_test_xor 
+0x5e70 016693 fetch 1 ,test_mode_scenario 
+0x5e71 016694 fetcht 1 ,mem_tester_emulate 
+0x5e72 016695 set0 tester_no_whitening ,temp 
+0x5e73 016696 set0 tester_pattern_test ,temp 
+0x5e74 016697 beq exit_test_mode ,parse_lmp_test_control_exit 
+0x5e75 016698 beq pause_test_mode ,parse_lmp_test_control_pause 
+0x5e76 016699 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+0x5e77 016700 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5e78 016701 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+0x5e79 016702 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5e7a 016703 beq zero_pattern ,parse_lmp_test_control_pattern 
+0x5e7b 016704 beq one_pattern ,parse_lmp_test_control_pattern 
+0x5e7c 016705 beq alt_pattern ,parse_lmp_test_control_pattern 
+0x5e7d 016706 beq alt2_pattern ,parse_lmp_test_control_pattern 
+0x5e7e 016707 beq pseudorandom ,parse_lmp_test_control_pattern 
+0x5e7f 016708 rtn 
+:      016709 parse_lmp_test_control_exit:
+0x5e80 016711 fetch 1 ,mem_tester_emulate 
+0x5e81 016712 set1 tester_exit ,pdata 
+0x5e82 016713 set1 tester_change ,pdata 
+0x5e83 016714 store 1 ,mem_tester_emulate 
+0x5e84 016715 rtn 
+:      016716 parse_lmp_test_control_pattern:
+0x5e85 016717 set1 tester_pattern_test ,temp 
+0x5e86 016718 jam 5 ,mem_lch_code 
+0x5e87 016719 fetch 2 ,test_mode_data_length 
+0x5e88 016720 iforce loopcnt 
+0x5e89 016721 store 2 ,mem_len 
+0x5e8a 016722 arg mem_rxbuf ,contw 
+0x5e8b 016723 call pn9 
+:      016724 parse_lmp_test_control_loopback_nowhite:
+0x5e8c 016725 set1 tester_no_whitening ,temp 
+:      016726 parse_lmp_test_control_loopback:
+0x5e8d 016727 set1 tester_change ,temp 
+0x5e8e 016728 force 0 ,pdata 
+0x5e8f 016729 store 1 ,mem_slave_rcvcnt 
+0x5e90 016730 store 2 ,mem_tst_pktcnt_crc 
+0x5e91 016731 store 2 ,mem_tst_pktcnt_dmh 
+0x5e92 016732 store 2 ,mem_tst_pktcnt_hec 
+0x5e93 016733 store 2 ,mem_tst_pktcnt_sync 
+0x5e94 016734 fetch 1 ,test_mode_hopping_mode 
+0x5e95 016735 compare fixed_freq ,pdata ,0xff 
+0x5e96 016736 setflag true ,tester_fixed_freq ,temp 
+0x5e97 016737 storet 1 ,mem_tester_emulate 
+0x5e98 016738 rtn 
+:      016740 parse_lmp_test_control_pause:
+0x5e99 016741 set0 mark_testmode ,mark 
+0x5e9a 016742 jam 0 ,mem_tester_emulate 
+0x5e9b 016743 fetch 1 ,mem_debug_config 
+0x5e9c 016744 set0 debug_tx_pattern ,pdata 
+0x5e9d 016745 store 1 ,mem_debug_config 
+0x5e9e 016746 rtn 
+:      016748 check_test_cond:
+0x5e9f 016749 fetch 1 ,mem_tester_emulate 
+0x5ea0 016750 rtnbit0 tester_change 
+0x5ea1 016751 fetch 1 ,mem_tester_cnt 
+0x5ea2 016752 increase 1 ,pdata 
+0x5ea3 016753 store 1 ,mem_tester_cnt 
+0x5ea4 016754 rtnne 5 
+0x5ea5 016755 jam 0 ,mem_tester_cnt 
+0x5ea6 016756 fetch 1 ,mem_tester_emulate 
+0x5ea7 016757 set0 tester_change ,pdata 
+0x5ea8 016758 store 1 ,mem_tester_emulate 
+0x5ea9 016759 bbit1 tester_exit ,check_test_exit 
+0x5eaa 016760 isolate1 tester_no_whitening ,pdata 
+0x5eab 016761 call test_no_white ,true 
+0x5eac 016762 ncall test_enable_white ,true 
+0x5ead 016763 fetch 1 ,test_mode_packet_type 
+0x5eae 016764 compare 0x20 ,pdata ,0x30 
+0x5eaf 016765 fetch 1 ,mem_state_map 
+0x5eb0 016766 setflag true ,smap_edr ,pdata 
+0x5eb1 016767 store 1 ,mem_state_map 
+0x5eb2 016768 fetch 1 ,mem_tester_emulate 
+0x5eb3 016769 fetcht 1 ,mem_debug_config 
+0x5eb4 016770 isolate1 tester_pattern_test ,pdata 
+0x5eb5 016771 setflag true ,debug_tx_pattern ,temp 
+0x5eb6 016772 isolate1 tester_fixed_freq ,pdata 
+0x5eb7 016773 setflag true ,debug_tx_fixed_freq ,temp 
+0x5eb8 016774 setflag true ,debug_rx_fixed_freq ,temp 
+0x5eb9 016775 storet 1 ,mem_debug_config 
+0x5eba 016776 fetch 1 ,test_mode_tx_freq 
+0x5ebb 016777 store 1 ,mem_tx_fixed_freq 
+0x5ebc 016778 fetch 1 ,test_mode_rx_freq 
+0x5ebd 016779 store 1 ,mem_rx_fixed_freq 
+0x5ebe 016780 set1 mark_testmode ,mark 
+0x5ebf 016781 rtn 
+:      016783 check_test_exit:
+0x5ec0 016784 set0 mark_testmode ,mark 
+0x5ec1 016785 jam 0 ,mem_tester_emulate 
+0x5ec2 016786 fetch 1 ,mem_test_mode_old_debug_config 
+0x5ec3 016787 store 1 ,mem_debug_config 
+0x5ec4 016788 hfetch 1 ,core_config 
+0x5ec5 016789 and_into 0xfb ,pdata 
+0x5ec6 016790 hstore 1 ,core_config 
+0x5ec7 016791 rtn 
+:      016794 lmp_copy_rand:
+0x5ec8 016795 arg mem_rxbuf + 1 ,contr 
+0x5ec9 016796 arg mem_random_number ,contw 
+0x5eca 016797 branch memcpy16 
+:      016799 lmp_generate_key:
+0x5ecb 016800 jam lmp_comb_key ,mem_lmo_opcode2 
+0x5ecc 016801 rtn 
+:      016803 lmp_start_encryption:
+0x5ecd 016804 nrtn master 
+0x5ece 016805 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+0x5ecf 016806 rtn 
+:      016808 lmp_accept_inrand:
+0x5ed0 016809 arg mem_lap ,rega 
+0x5ed1 016810 call generate_kinit 
+0x5ed2 016811 jam lmp_accepted ,mem_lmo_opcode2 
+0x5ed3 016812 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5ed4 016813 rtn 
+:      016815 lmp_disconnect:
+0x5ed5 016816 jam 10 ,mem_conn_timer 
+0x5ed6 016817 jam lmp_detach ,mem_lmo_opcode2 
+0x5ed7 016818 jam local_host ,mem_disconn_reason_send 
+0x5ed8 016819 rtn 
+:      016825 send_lmp:
+0x5ed9 016826 set1 mark_ext_patch ,mark 
+0x5eda 016827 bpatch patch3c_3 ,mem_patch3c 
+0x5edb 016828 disable user 
+0x5edc 016829 call lmo_fifo_process 
+0x5edd 016830 fetch 1 ,mem_lmp_to_send 
+0x5ede 016831 rtn blank 
+0x5edf 016836 bbit1 7 ,send_lmp_escape 
+0x5ee0 016837 beq lmp_name_req ,send_lmp_name_req 
+0x5ee1 016838 beq lmp_name_res ,send_lmp_name_res 
+0x5ee2 016839 beq lmp_accepted ,send_lmp_accepted 
+0x5ee3 016840 beq lmp_not_accepted ,send_lmp_not_accepted 
+0x5ee4 016841 beq lmp_features_req ,send_lmp_features_req 
+0x5ee5 016842 beq lmp_features_res ,send_lmp_features_res 
+0x5ee6 016843 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+0x5ee7 016844 beq lmp_version_req ,send_lmp_version_req 
+0x5ee8 016845 beq lmp_version_res ,send_lmp_version_res 
+0x5ee9 016846 beq lmp_setup_complete ,send_lmp_setup_complete 
+0x5eea 016847 beq lmp_supervision_timeout ,send_lmp_superto 
+0x5eeb 016848 beq lmp_host_connection_req ,send_lmp_no_payload 
+0x5eec 016849 beq lmp_in_rand ,send_lmp_inrand 
+0x5eed 016850 beq lmp_comb_key ,send_lmp_comb_key 
+0x5eee 016851 beq lmp_au_rand ,send_lmp_aurand 
+0x5eef 016852 beq lmp_sres ,send_lmp_sres 
+0x5ef0 016853 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+0x5ef1 016854 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+0x5ef2 016855 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+0x5ef3 016856 beq lmp_detach ,send_lmp_detach 
+0x5ef4 016857 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+0x5ef5 016858 beq lmp_unit_key ,send_lmp_unit_key 
+0x5ef6 016860 beq lmp_sco_link_req ,send_lmp_sco_link_req 
+0x5ef7 016861 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+0x5ef8 016862 beq lmp_max_power ,send_lmp_nopayload_reply 
+0x5ef9 016863 beq lmp_max_slot ,send_lmp_max_slot 
+0x5efa 016864 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+0x5efb 016865 beq lmp_min_power ,send_lmp_nopayload_reply 
+0x5efc 016866 beq lmp_remove_sco_link_req ,send_lmp_remove_sco_link_req 
+0x5efd 016867 beq lmp_slot_offset ,send_lmp_slot_offset 
+0x5efe 016868 beq lmp_switch_req ,send_lmp_switch_req 
+0x5eff 016869 beq lmp_sniff_req ,send_lmp_sniff_req 
+0x5f00 016870 beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+0x5f01 016871 beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+0x5f02 016872 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+0x5f03 016873 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+0x5f04 016874 beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+0x5f05 016875 beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+0x5f06 016876 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+0x5f07 016877 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+0x5f08 016878 beq lmp_auto_rate ,send_lmp_auto_rate 
+0x5f09 016879 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+0x5f0a 016881 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+0x5f0b 016882 beq lmp_quality_of_service ,send_lmp_quality_of_service 
+0x5f0c 016883 beq lmp_test_activate ,send_lmp_test_activate 
+0x5f0d 016884 beq lmp_test_control ,send_lmp_test_control 
+:      016885 send_lmp_error:
+0x5f0e 016886 branch assert 
+0x5f0f 016887 rtn 
+:      016888 send_lmp_escape:
+0x5f10 016889 beq lmp_ext_esco_link_req ,send_lmpext_esco_req 
+0x5f11 016890 beq lmp_ext_remove_esco_req ,send_lmpext_remove_esco 
+0x5f12 016891 beq lmp_ext_accepted ,send_lmpext_accepted 
+0x5f13 016892 beq lmp_ext_features_res ,send_lmpext_features_res 
+0x5f14 016893 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+0x5f15 016894 beq lmp_ext_features_req ,send_lmpext_features_req 
+0x5f16 016895 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+0x5f17 016896 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+0x5f18 016897 beq lmp_io_cap_req ,send_lmp_io_cap_req 
+0x5f19 016898 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+0x5f1a 016899 beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+0x5f1b 016900 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+0x5f1c 016901 branch assert 
+:      016907 send_lmp_accepted:
+0x5f1d 016908 force 2 ,pdata 
+0x5f1e 016909 call msg_send_lmp 
+0x5f1f 016910 fetch 1 ,mem_lmi_opcode 
+0x5f20 016911 istore 1 ,contw 
+0x5f21 016912 beq lmp_sco_link_req ,send_lmp_accptsco 
+0x5f22 016913 call send_lmp_follow 
+0x5f23 016914 fetch 1 ,mem_lmi_opcode 
+0x5f24 016915 beq lmp_in_rand ,send_lmp_accepted_inrand 
+0x5f25 016916 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+0x5f26 016917 beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+0x5f27 016918 beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+0x5f28 016919 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+0x5f29 016920 beq lmp_remove_sco_link_req ,send_lmp_accept_remove_sco_link_req 
+0x5f2a 016921 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+0x5f2b 016922 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+0x5f2c 016923 rtn 
+:      016925 send_create_conn_start_l2cap_timer_sm:
+0x5f2d 016926 fetch 1 ,mem_conn_sm 
+0x5f2e 016927 rtn blank 
+0x5f2f 016928 jam conn_sm_wait_done ,mem_conn_sm 
+0x5f30 016929 setarg timer_enpt_waite 
+0x5f31 016930 arg enpt_delay_timer ,queue 
+0x5f32 016931 branch timer_init 
+:      016933 send_lmp_accept_sniff_req:
+0x5f33 016934 force 0x02 ,temp 
+0x5f34 016935 call hci_send_mode_change 
+0x5f35 016936 branch sniff_init 
+:      016937 send_lmp_not_accepted:
+0x5f36 016938 force 3 ,pdata 
+0x5f37 016939 call msg_send_lmp 
+0x5f38 016940 fetch 1 ,mem_lmi_opcode 
+0x5f39 016941 beq lmp_au_rand ,send_not_accept_aurand 
+0x5f3a 016942 istore 1 ,contw 
+0x5f3b 016943 fetch 1 ,mem_lmo_reason 
+0x5f3c 016944 istore 1 ,contw 
+0x5f3d 016945 branch send_lmp_follow 
+:      016947 send_not_accept_aurand:
+0x5f3e 016948 istore 1 ,contw 
+0x5f3f 016949 fetch 1 ,mem_lmo_reason 
+0x5f40 016950 istore 1 ,contw 
+0x5f41 016951 arg mem_sres_tid ,temp 
+0x5f42 016952 branch special_tid_store 
+:      016954 send_lmpext_accepted:
+0x5f43 016955 force 4 ,queue 
+0x5f44 016956 call send_lmpext 
+0x5f45 016957 setarg lmp_escape 
+0x5f46 016958 istore 1 ,contw 
+0x5f47 016959 fetch 1 ,mem_lmi_opcode 
+0x5f48 016960 set0 7 ,pdata 
+0x5f49 016961 istore 1 ,contw 
+0x5f4a 016962 fetch 1 ,mem_lmi_opcode 
+0x5f4b 016963 beq lmp_ext_esco_link_req ,send_lmp_accptsco 
+0x5f4c 016964 call send_lmp_follow 
+0x5f4d 016965 fetch 1 ,mem_lmi_opcode 
+0x5f4e 016966 beq lmp_ext_remove_esco_req ,send_lmp_accept_remove_sco_link_req 
+0x5f4f 016967 rtn 
+:      016969 send_lmpext_not_accepted:
+0x5f50 016970 force 5 ,queue 
+0x5f51 016971 call send_lmpext 
+0x5f52 016972 setarg lmp_escape 
+0x5f53 016973 istore 1 ,contw 
+0x5f54 016974 fetch 1 ,mem_lmi_opcode 
+0x5f55 016975 set0 7 ,pdata 
+0x5f56 016976 istore 1 ,contw 
+0x5f57 016977 fetch 1 ,mem_lmo_reason 
+0x5f58 016978 istore 1 ,contw 
+0x5f59 016979 branch send_lmp_follow 
+:      016981 send_lmp_accptsco:
+0x5f5a 016982 call play_sco 
+0x5f5b 016983 arg mem_accptsco_tid ,temp 
+0x5f5c 016984 branch special_tid_store 
+:      016987 send_lmp_accepted_inrand:
+0x5f5d 016988 call clear_linkkey 
+0x5f5e 016989 call tid_check 
+0x5f5f 016990 rtn true 
+0x5f60 016991 branch lmp_generate_key 
+:      016993 send_lmp_accepted_enc_mode:
+0x5f61 016994 fetch 1 ,mem_op 
+0x5f62 016995 bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+0x5f63 016996 rtnbit0 op_stop_enc 
+0x5f64 016997 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5f65 016998 set0 op_stop_enc ,pdata 
+0x5f66 016999 call tid_reply 
+0x5f67 017000 branch send_lmp_accepted_enc_exit 
+:      017001 send_lmp_accepted_enc_start:
+0x5f68 017002 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x5f69 017003 set0 op_start_enc ,pdata 
+:      017004 send_lmp_accepted_enc_exit:
+0x5f6a 017005 store 1 ,mem_op 
+0x5f6b 017006 rtn 
+:      017008 send_lmp_accepted_enc_key:
+0x5f6c 017009 call check_localsm 
+0x5f6d 017010 branch lmp_start_encryption ,true 
+0x5f6e 017011 rtn 
+:      017013 send_lmp_accepted_connection:
+0x5f6f 017015 fetch 1 ,mem_lmp_conn_state 
+0x5f70 017016 set1 received_conn_req ,pdata 
+0x5f71 017017 store 1 ,mem_lmp_conn_state 
+0x5f72 017018 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x5f73 017019 branch ui_ipc_send_event 
+:      017022 send_lmp_accept_remove_sco_link_req:
+0x5f74 017023 rtn 
+:      017025 send_lmp_accept_dhkey_check:
+0x5f75 017026 rtn 
+:      017030 send_lmpext_features_res:
+0x5f76 017031 force 12 ,queue 
+0x5f77 017032 call send_lmpext 
+0x5f78 017033 setarg 0x01 
+0x5f79 017034 istore 1 ,contw 
+0x5f7a 017035 fetch 2 ,mem_lmpext_ssp_enable 
+0x5f7b 017036 istore 2 ,contw 
+0x5f7c 017037 setarg 0 
+0x5f7d 017038 istore 3 ,contw 
+0x5f7e 017039 setarg 0x00 
+0x5f7f 017040 istore 4 ,contw 
+0x5f80 017041 branch send_lmp_reply 
+:      017042 send_lmpext_io_cap_res:
+0x5f81 017044 force 5 ,queue 
+0x5f82 017045 call send_lmpext 
+0x5f83 017046 fetch 1 ,mem_device_option 
+0x5f84 017047 beq dvc_op_hci ,send_lmpext_io_cap_res_hci 
+0x5f85 017048 setarg 0x040003 
+0x5f86 017049 istore 3 ,contw 
+0x5f87 017050 store 3 ,mem_sp_iocap_local 
+0x5f88 017051 branch send_lmp_reply 
+:      017052 send_lmpext_io_cap_res_hci:
+0x5f89 017053 fetch 3 ,mem_sp_iocap_local 
+0x5f8a 017054 istore 3 ,contw 
+0x5f8b 017055 branch send_lmp_reply 
+:      017057 send_lmp_io_cap_req:
+0x5f8c 017058 force 5 ,queue 
+0x5f8d 017059 call send_lmpext 
+0x5f8e 017060 fetch 3 ,mem_sp_iocap_local 
+0x5f8f 017061 istore 3 ,contw 
+0x5f90 017062 branch send_lmp_request 
+:      017065 send_lmpext_sniff_subrating_req:
+0x5f91 017067 rtn 
+:      017068 send_lmpext_sniff_subrating_res:
+0x5f92 017069 force 9 ,queue 
+0x5f93 017070 call send_lmpext 
+0x5f94 017071 fetch 1 ,mem_subsniff_rate 
+0x5f95 017072 istore 1 ,contw 
+0x5f96 017073 fetch 2 ,mem_subsniff_tcmax 
+0x5f97 017074 istore 2 ,contw 
+0x5f98 017075 fetch 4 ,mem_subsniff_instant 
+0x5f99 017076 istore 4 ,contw 
+0x5f9a 017077 branch send_lmp_reply 
+:      017079 send_lmp_name_res:
+0x5f9b 017080 force 17 ,pdata 
+0x5f9c 017081 call msg_send_lmp 
+0x5f9d 017082 fetch 1 ,mem_lmi_opcode 
+0x5f9e 017083 copy pdata ,temp 
+0x5f9f 017084 beq 0x00 ,send_lmp_name_res_offset_ok 
+0x5fa0 017085 beq 0x0e ,send_lmp_name_res_offset_ok 
+0x5fa1 017086 beq 0x1c ,send_lmp_name_res_offset_ok 
+0x5fa2 017087 rtn 
+:      017088 send_lmp_name_res_offset_ok:
+0x5fa3 017089 istore 1 ,contw 
+0x5fa4 017090 fetch 1 ,mem_local_name_length 
+0x5fa5 017091 istore 1 ,contw 
+0x5fa6 017092 copy pdata ,loopcnt 
+0x5fa7 017093 setarg mem_local_name 
+0x5fa8 017094 iadd temp ,contr 
+0x5fa9 017095 call memcpy 
+0x5faa 017096 branch send_lmp_reply 
+:      017099 send_lmp_timing_accuracy_res:
+0x5fab 017100 force 3 ,pdata 
+0x5fac 017101 call msg_send_lmp 
+0x5fad 017102 setarg 0x0114 
+0x5fae 017103 istore 2 ,contw 
+0x5faf 017104 branch send_lmp_reply 
+:      017106 send_lmp_clkoffset_res:
+0x5fb0 017108 force 3 ,pdata 
+0x5fb1 017109 call msg_send_lmp 
+0x5fb2 017110 fetch 4 ,mem_clke_bt 
+0x5fb3 017111 isub clkn_bt ,pdata 
+0x5fb4 017112 branch send_lmp_clkoffset_res_master ,master 
+0x5fb5 017113 sub pdata ,0 ,pdata 
+:      017114 send_lmp_clkoffset_res_master:
+0x5fb6 017116 rshift2 pdata ,pdata 
+0x5fb7 017117 set0 15 ,pdata 
+0x5fb8 017118 istore 2 ,contw 
+0x5fb9 017119 branch send_lmp_reply 
+:      017121 send_lmp_version_res:
+0x5fba 017122 force 6 ,pdata 
+0x5fbb 017123 call msg_send_lmp 
+0x5fbc 017124 fetch 5 ,mem_lmp_version 
+0x5fbd 017125 istore 5 ,contw 
+0x5fbe 017126 branch send_lmp_reply 
+:      017128 send_lmp_features_res:
+0x5fbf 017129 force 9 ,pdata 
+0x5fc0 017130 call msg_send_lmp 
+0x5fc1 017131 fetch 8 ,mem_features 
+0x5fc2 017132 istore 8 ,contw 
+0x5fc3 017133 branch send_lmp_reply 
+:      017139 send_lmpext_esco_req:
+0x5fc4 017140 branch send_lmpext_esco_req_master ,master 
+0x5fc5 017143 branch send_lmpext_esco_req_slave 
+:      017144 send_lmpext_esco_req_master:
+0x5fc6 017145 jam 0x07 ,mem_esco_addr 
+:      017146 send_lmpext_esco_req_slave:
+0x5fc7 017147 jam 0 ,mem_esco_desco 
+0x5fc8 017148 force 16 ,queue 
+0x5fc9 017149 call send_lmpext 
+0x5fca 017150 fetch 1 ,mem_sco_handle 
+0x5fcb 017151 istore 1 ,contw 
+0x5fcc 017152 fetch 1 ,mem_esco_addr 
+0x5fcd 017153 istore 1 ,contw 
+0x5fce 017154 setarg 0 
+0x5fcf 017155 istore 1 ,contw 
+0x5fd0 017156 fetch 1 ,mem_esco_desco 
+0x5fd1 017157 istore 1 ,contw 
+0x5fd2 017158 setarg 6 
+0x5fd3 017159 istore 1 ,contw 
+0x5fd4 017160 setarg 2 
+0x5fd5 017161 istore 1 ,contw 
+0x5fd6 017162 setarg 7 
+0x5fd7 017163 istore 1 ,contw 
+0x5fd8 017164 istore 1 ,contw 
+0x5fd9 017165 setarg 30 
+0x5fda 017166 istore 2 ,contw 
+0x5fdb 017167 istore 2 ,contw 
+0x5fdc 017168 fetch 1 ,mem_air_mode 
+0x5fdd 017169 istore 1 ,contw 
+0x5fde 017170 fetch 1 ,mem_neogotiation_state 
+0x5fdf 017171 istore 1 ,contw 
+0x5fe0 017172 nbranch send_lmp_reply ,blank 
+0x5fe1 017173 branch send_lmp_reply ,master 
+0x5fe2 017174 branch send_lmp_request 
+:      017176 send_lmpext_remove_esco:
+0x5fe3 017177 force 4 ,queue 
+0x5fe4 017178 call send_lmpext 
+0x5fe5 017179 fetch 1 ,mem_sco_handle 
+0x5fe6 017180 istore 1 ,contw 
+0x5fe7 017181 fetch 1 ,mem_disconn_reason_send 
+0x5fe8 017182 istore 1 ,contw 
+0x5fe9 017183 fetch 1 ,mem_esco_saved_arq 
+0x5fea 017184 store 1 ,mem_arq 
+0x5feb 017185 branch send_lmp_request 
+:      017188 send_lmpext_features_req:
+0x5fec 017189 force 12 ,queue 
+0x5fed 017190 call send_lmpext 
+0x5fee 017191 setarg 0x01 
+0x5fef 017192 istore 1 ,contw 
+0x5ff0 017193 fetch 2 ,mem_lmpext_ssp_enable 
+0x5ff1 017194 istore 2 ,contw 
+0x5ff2 017195 setarg 0 
+0x5ff3 017196 istore 3 ,contw 
+0x5ff4 017197 setarg 0x00 
+0x5ff5 017198 istore 4 ,contw 
+0x5ff6 017199 branch send_lmp_request 
+:      017201 send_lmpext_packet_type_table_req:
+0x5ff7 017202 force 3 ,queue 
+0x5ff8 017203 call send_lmpext 
+0x5ff9 017204 fetch 1 ,mem_ptt 
+0x5ffa 017205 istore 1 ,contw 
+0x5ffb 017206 disable user 
+0x5ffc 017207 call send_lmp_request 
+0x5ffd 017208 nrtn user 
+0x5ffe 017209 nrtn master 
+0x5fff 017210 fetch 1 ,mem_afh_cfg 
+0x6000 017211 rtnbit0 afh_cfg_on 
+0x6001 017212 call afh_init 
+0x6002 017213 branch afh_open_all_channels 
+:      017216 ssp_enable:
+0x6003 017217 fetch 1 ,mem_features + 6 
+0x6004 017218 set1 param_featrue_ssp ,pdata 
+0x6005 017219 store 1 ,mem_features + 6 
+0x6006 017220 setarg param_lmpext_ssp_enable 
+0x6007 017221 store 2 ,mem_lmpext_ssp_enable 
+0x6008 017222 rtn 
+:      017224 ssp_disable:
+0x6009 017225 fetch 1 ,mem_features + 6 
+0x600a 017226 set0 param_featrue_ssp ,pdata 
+0x600b 017227 store 1 ,mem_features + 6 
+0x600c 017228 setarg 0 
+0x600d 017229 store 2 ,mem_lmpext_ssp_enable 
+0x600e 017230 rtn 
+:      017232 afh_init:
+0x600f 017233 jam 0x3 ,mem_afh_cfg 
+0x6010 017234 setarg 0 
+0x6011 017235 store 4 ,mem_afh_timer 
+0x6012 017236 arg mem_afh_map_lo ,contw 
+0x6013 017237 call afh_reset_map 
+0x6014 017238 arg mem_afh_map_new ,contw 
+0x6015 017239 call afh_reset_map 
+0x6016 017240 arg mem_afh_classify_channel_map ,contw 
+0x6017 017241 call afh_reset_map 
+0x6018 017242 branch afh_clear_error_counter 
+:      017243 afh_open_all_channels:
+0x6019 017244 arg mem_afh_map_new ,contw 
+0x601a 017245 call afh_reset_map 
+0x601b 017246 call afh_clear_error_counter 
+0x601c 017247 branch afh_set_send_flag 
+:      017250 afh_open_classify_map:
+0x601d 017251 fetch 5 ,mem_afh_classify_channel_map 
+0x601e 017252 store 5 ,mem_afh_map_new 
+0x601f 017253 ifetch 5 ,contr 
+0x6020 017254 istore 5 ,contw 
+0x6021 017255 call afh_clear_error_counter 
+0x6022 017256 branch afh_set_send_flag 
+:      017258 afh_reset_map:
+0x6023 017259 setarg 0xffffff 
+0x6024 017260 istore 3 ,contw 
+0x6025 017261 istore 3 ,contw 
+0x6026 017262 istore 3 ,contw 
+0x6027 017263 setarg 0x7f 
+0x6028 017264 istore 1 ,contw 
+0x6029 017265 rtn 
+:      017266 afh_clear_error_counter:
+0x602a 017267 setarg 0 
+0x602b 017268 store 2 ,mem_afh_error_total 
+0x602c 017269 rtn 
+:      017270 afh_set_send_flag:
+0x602d 017271 fetch 1 ,mem_afh_cfg 
+0x602e 017272 set1 send_lmp_set_afh ,pdata 
+0x602f 017273 store 1 ,mem_afh_cfg 
+0x6030 017274 rtn 
+:      017275 send_set_afh:
+0x6031 017276 nrtn master 
+0x6032 017277 force 16 ,pdata 
+0x6033 017278 call msg_send_lmp 
+0x6034 017279 deposit clkn_bt 
+0x6035 017280 arg 476 ,temp 
+0x6036 017281 iadd temp ,pdata 
+0x6037 017282 rshift pdata ,pdata 
+0x6038 017283 increase 1 ,pdata 
+0x6039 017284 set0 0 ,pdata 
+0x603a 017285 istore 4 ,contw 
+0x603b 017286 copy pdata ,temp 
+0x603c 017287 setarg 1 
+0x603d 017288 istore 1 ,contw 
+0x603e 017289 fetch 5 ,mem_afh_map_new 
+0x603f 017290 istore 5 ,contw 
+0x6040 017291 ifetch 5 ,contr 
+0x6041 017292 istore 5 ,contw 
+0x6042 017293 lshift temp ,temp 
+0x6043 017294 storet 4 ,mem_afh_instant 
+0x6044 017295 call send_lmp_request 
+0x6045 017296 fetch 1 ,mem_mode 
+0x6046 017297 set1 afh_change ,pdata 
+0x6047 017298 store 1 ,mem_mode 
+0x6048 017299 jam 1 ,mem_afh_new_mod 
+0x6049 017300 fetch 4 ,mem_afh_instant 
+0x604a 017301 arg timer_one_minute ,temp 
+0x604b 017302 iadd temp ,pdata 
+0x604c 017303 store 4 ,mem_afh_timer 
+0x604d 017304 fetch 1 ,mem_afh_cfg 
+0x604e 017305 rtnbit1 afh_cfg_master_sent_req 
+0x604f 017306 jam lmp_ext_chn_classification_req ,mem_lmo_opcode2 
+0x6050 017307 rtn 
+:      017310 send_lmpext_pause_encryption_req:
+0x6051 017311 force 2 ,queue 
+0x6052 017312 call send_lmpext 
+0x6053 017313 nbranch send_lmp_reply ,master 
+0x6054 017315 branch send_lmp_request 
+:      017319 send_lmp_detach:
+0x6055 017320 force 2 ,pdata 
+0x6056 017321 call msg_send_lmp 
+0x6057 017322 fetch 1 ,mem_disconn_reason_send 
+0x6058 017323 istore 1 ,contw 
+0x6059 017324 call send_lmp_request 
+:      017325 prepare_disconnect:
+0x605a 017326 fetch 1 ,mem_op 
+0x605b 017327 set1 op_disconn ,pdata 
+0x605c 017328 store 1 ,mem_op 
+0x605d 017329 jam 50 ,mem_conn_timer 
+0x605e 017330 rtn 
+:      017333 send_lmp_no_payload:
+0x605f 017334 force 1 ,pdata 
+0x6060 017335 call msg_send_lmp 
+0x6061 017336 branch send_lmp_request 
+:      017337 send_lmp_nopayload_reply:
+0x6062 017338 force 1 ,pdata 
+0x6063 017339 call msg_send_lmp 
+0x6064 017340 branch send_lmp_reply 
+:      017343 send_lmp_encryption_mode_req:
+0x6065 017344 force 2 ,pdata 
+0x6066 017345 call msg_send_lmp 
+0x6067 017346 fetch 1 ,mem_state_map 
+0x6068 017347 isolate0 smap_encryption ,pdata 
+0x6069 017348 setflag true ,0 ,pdata 
+0x606a 017349 and_into 1 ,pdata 
+0x606b 017350 istore 1 ,contw 
+0x606c 017351 branch send_lmp_request 
+:      017354 send_lmp_superto:
+0x606d 017355 force 3 ,pdata 
+0x606e 017356 call msg_send_lmp 
+0x606f 017357 fetch 2 ,mem_supervision_to 
+0x6070 017358 istore 2 ,contw 
+0x6071 017359 branch send_lmp_request 
+:      017361 send_lmp_name_req:
+0x6072 017362 jam 250 ,mem_conn_timer 
+0x6073 017363 force 2 ,pdata 
+0x6074 017364 call msg_send_lmp 
+0x6075 017365 fetch 1 ,mem_name_offset 
+0x6076 017366 istore 1 ,contw 
+0x6077 017367 branch send_lmp_request 
+:      017369 send_lmp_test_control:
+0x6078 017370 force 10 ,pdata 
+0x6079 017371 call msg_send_lmp 
+0x607a 017372 arg mem_temp_payload ,contr 
+0x607b 017373 force 9 ,loopcnt 
+:      017374 send_lmp_test_control_loop:
+0x607c 017375 ifetch 1 ,contr 
+0x607d 017376 xor_into 0x55 ,pdata 
+0x607e 017377 istore 1 ,contw 
+0x607f 017378 loop send_lmp_test_control_loop 
+0x6080 017379 branch send_lmp_request 
+:      017381 send_lmp_quality_of_service_req:
+0x6081 017382 branch send_lmp_request 
+:      017383 send_lmp_unit_key:
+0x6082 017384 branch send_lmp_request 
+:      017386 send_lmp_slot_offset:
+0x6083 017387 rtn master 
+0x6084 017388 call calc_slot_offset 
+0x6085 017389 force 9 ,pdata 
+0x6086 017390 call msg_send_lmp 
+0x6087 017391 fetch 2 ,mem_slot_offset 
+0x6088 017392 istore 2 ,contw 
+0x6089 017393 fetch 3 ,mem_lap 
+0x608a 017394 istore 3 ,contw 
+0x608b 017395 fetch 1 ,mem_uap 
+0x608c 017396 istore 1 ,contw 
+0x608d 017397 fetch 2 ,mem_nap 
+0x608e 017398 istore 2 ,contw 
+0x608f 017399 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+0x6090 017400 set0 mark_switch_initiated ,mark 
+0x6091 017401 call send_lmp_request 
+0x6092 017402 jam lmp_switch_req ,mem_lmo_opcode2 
+0x6093 017403 rtn 
+:      017404 send_lmp_slot_offset_reply:
+0x6094 017405 call send_lmp_reply 
+0x6095 017406 jam lmp_accepted ,mem_lmo_opcode2 
+0x6096 017407 jam lmp_switch_req ,mem_lmi_opcode2 
+0x6097 017408 rtn 
+:      017410 send_lmp_switch_req:
+0x6098 017411 arg 0x200 ,temp 
+0x6099 017412 branch switch_on_native ,master 
+0x609a 017413 deposit clke_bt 
+0x609b 017414 branch switch_slack 
+:      017415 switch_on_native:
+0x609c 017416 deposit clkn_bt 
+:      017417 switch_slack:
+0x609d 017418 deposit bt_clk 
+0x609e 017419 iadd temp ,pdata 
+0x609f 017420 and_into 0x1fc ,pdata 
+0x60a0 017421 store 4 ,mem_sniff_anchor 
+0x60a1 017422 force 5 ,pdata 
+0x60a2 017423 call msg_send_lmp 
+0x60a3 017424 fetch 4 ,mem_sniff_anchor 
+0x60a4 017425 rshift pdata ,pdata 
+0x60a5 017426 istore 4 ,contw 
+0x60a6 017427 branch send_lmp_request 
+:      017429 send_lmp_sniff_req:
+0x60a7 017430 force 10 ,pdata 
+0x60a8 017431 call msg_send_lmp 
+0x60a9 017432 arg mem_sniff_payload ,contr 
+0x60aa 017433 ifetch 9 ,contr 
+0x60ab 017434 istore 9 ,contw 
+0x60ac 017435 branch send_lmp_request 
+:      017438 send_lmp_timing_accuracy_req:
+0x60ad 017440 force 3 ,pdata 
+0x60ae 017441 call msg_send_lmp 
+0x60af 017442 setarg 0x0114 
+0x60b0 017443 istore 2 ,contw 
+0x60b1 017444 branch send_lmp_request 
+:      017446 send_lmp_unsniff_req:
+0x60b2 017448 force 1 ,pdata 
+0x60b3 017449 call msg_send_lmp 
+0x60b4 017458 branch send_lmp_request 
+:      017460 send_lmp_sco_link_req:
+0x60b5 017461 branch send_lmp_sco_link_master ,master 
+0x60b6 017462 jam 0x00 ,mem_sco_handle 
+0x60b7 017463 fetch 1 ,mem_mode 
+0x60b8 017464 set1 send_sco_when_slave ,pdata 
+0x60b9 017465 store 1 ,mem_mode 
+:      017466 send_lmp_sco_link_master:
+0x60ba 017467 jam 0 ,mem_esco_desco 
+0x60bb 017468 force 7 ,pdata 
+0x60bc 017469 call msg_send_lmp 
+0x60bd 017470 fetch 1 ,mem_sco_handle 
+0x60be 017471 istore 1 ,contw 
+0x60bf 017472 setarg 0x00 
+0x60c0 017473 istore 1 ,contw 
+0x60c1 017474 fetch 1 ,mem_esco_desco 
+0x60c2 017475 istore 1 ,contw 
+0x60c3 017476 setarg 0x06 
+0x60c4 017477 istore 1 ,contw 
+0x60c5 017478 setarg 0x02 
+0x60c6 017479 istore 1 ,contw 
+0x60c7 017480 fetch 1 ,mem_air_mode 
+0x60c8 017481 istore 1 ,contw 
+0x60c9 017482 branch send_lmp_reply ,master 
+0x60ca 017483 branch send_lmp_tid 
+:      017485 send_lmp_remove_sco_link_req:
+0x60cb 017487 force 3 ,pdata 
+0x60cc 017488 call msg_send_lmp 
+0x60cd 017489 fetch 1 ,mem_sco_handle 
+0x60ce 017490 istore 1 ,contw 
+0x60cf 017491 force other_end_terminated ,pdata 
+0x60d0 017492 istore 1 ,contw 
+0x60d1 017493 branch send_lmp_request 
+:      017495 send_lmp_max_slot:
+0x60d2 017496 force 2 ,pdata 
+0x60d3 017497 call msg_send_lmp 
+0x60d4 017498 fetch 1 ,mem_max_slot 
+0x60d5 017499 istore 1 ,contw 
+0x60d6 017500 branch send_lmp_request 
+:      017503 send_lmp_max_slot_req:
+0x60d7 017504 force 2 ,pdata 
+0x60d8 017505 call msg_send_lmp 
+0x60d9 017506 setarg 0x05 
+0x60da 017507 istore 1 ,contw 
+0x60db 017508 branch send_lmp_request 
+:      017510 send_lmp_setup_complete:
+0x60dc 017511 fetch 1 ,mem_state 
+0x60dd 017512 set1 state_conn_comp ,pdata 
+0x60de 017513 store 1 ,mem_state 
+0x60df 017514 copy clkn_bt ,pdata 
+0x60e0 017515 store 4 ,mem_aurand_send_delay_time 
+0x60e1 017516 fetch 1 ,mem_lmp_conn_state 
+0x60e2 017517 bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+0x60e3 017518 set1 sent_setup_complete ,pdata 
+0x60e4 017519 store 1 ,mem_lmp_conn_state 
+0x60e5 017520 jam bt_evt_setup_complete ,mem_fifo_temp 
+0x60e6 017521 call ui_ipc_send_event 
+0x60e7 017522 call hci_send_connection_complete 
+0x60e8 017523 force 1 ,pdata 
+0x60e9 017524 call msg_send_lmp 
+0x60ea 017525 branch send_lmp_request 
+:      017526 send_lmp_setup_complete_has_sent:
+0x60eb 017527 jam 0 ,mem_lmp_to_send 
+0x60ec 017528 rtn 
+:      017530 send_lmp_version_req:
+0x60ed 017531 force 6 ,pdata 
+0x60ee 017532 call msg_send_lmp 
+0x60ef 017533 fetch 5 ,mem_lmp_version 
+0x60f0 017534 istore 5 ,contw 
+0x60f1 017535 branch send_lmp_request 
+:      017537 send_lmp_features_req:
+0x60f2 017538 force 9 ,pdata 
+0x60f3 017539 call msg_send_lmp 
+0x60f4 017540 fetch 8 ,mem_features 
+0x60f5 017541 istore 8 ,contw 
+0x60f6 017542 branch send_lmp_request 
+:      017544 sp_master_send_io_cap_get:
+0x60f7 017545 call hci_send_io_cap_req_event 
+0x60f8 017546 fetch 1 ,mem_device_option 
+0x60f9 017547 beq dvc_op_hci ,sp_master_send_io_cap_get_hci 
+0x60fa 017548 jam sp_flag_commit ,mem_master_sp_flag 
+0x60fb 017549 fetch 1 ,mem_sp_local_key_invalid 
+0x60fc 017550 rtnne sp_key_valid 
+:      017551 sp_master_send_io_cap_get_hci:
+0x60fd 017552 jam sp_master_stat_start_done ,mem_master_sp_state 
+0x60fe 017553 rtn 
+:      017555 sp_master_send_io_cap_send:
+0x60ff 017556 call tid_initiate 
+0x6100 017557 jam lmp_io_cap_req ,mem_lmo_opcode2 
+0x6101 017558 jam sp_stat_key_send ,mem_master_sp_state 
+0x6102 017559 rtn 
+:      017562 sp_master_send_lmp_encapsulated_header:
+0x6103 017563 call tid_initiate 
+0x6104 017564 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x6105 017565 jam sp_stat_random_send ,mem_master_sp_state 
+0x6106 017566 rtn 
+:      017568 sp_master_commitment_compare:
+0x6107 017569 arg mem_sp_calc_result_high ,rega 
+0x6108 017570 arg mem_sp_confirm_remote ,regb 
+0x6109 017571 arg 16 ,loopcnt 
+0x610a 017572 call string_compare 
+0x610b 017573 branch sp_master_commitment_compare_success ,zero 
+0x610c 017574 jam sp_stat_null ,mem_master_sp_state 
+0x610d 017575 call master_clear_mem_master_sp_flag 
+0x610e 017576 jam pdu_not_allowed ,mem_lmo_reason2 
+0x610f 017577 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x6110 017578 branch reject_lmp_packet 
+:      017579 sp_master_commitment_compare_success:
+0x6111 017580 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x6112 017581 call master_set_mem_master_sp_flag 
+0x6113 017582 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x6114 017583 branch accept_lmp_msg 
+:      017587 sp_master_send_lmp_simple_pairing_number:
+0x6115 017588 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x6116 017589 rtn 
+:      017593 sp_send_lmp_encapsulated_header:
+0x6117 017596 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x6118 017598 rtn 
+:      017604 send_lmp_encapsulated_header:
+0x6119 017605 jam 0 ,mem_sp_local_key_send_count 
+0x611a 017606 force 4 ,pdata 
+0x611b 017607 call msg_send_lmp 
+0x611c 017608 force encapsulated_major_type_p192 ,pdata 
+0x611d 017609 istore 1 ,contw 
+0x611e 017610 force encapsulated_minor_type_p192 ,pdata 
+0x611f 017611 istore 1 ,contw 
+0x6120 017612 force encapsulated_len_p192 ,pdata 
+0x6121 017613 istore 1 ,contw 
+0x6122 017614 call check_localsm 
+0x6123 017615 branch send_lmp_request ,true 
+0x6124 017616 branch send_lmp_reply 
+:      017618 send_lmp_encapsulated_payload:
+0x6125 017620 force 17 ,pdata 
+0x6126 017621 call msg_send_lmp 
+0x6127 017622 fetch 1 ,mem_sp_local_key_send_count 
+0x6128 017623 arg mem_sp_pubkey_local ,contr 
+0x6129 017624 iadd contr ,contr 
+0x612a 017625 ifetch 8 ,contr 
+0x612b 017626 istore 8 ,contw 
+0x612c 017627 ifetch 8 ,contr 
+0x612d 017628 istore 8 ,contw 
+0x612e 017629 fetch 1 ,mem_sp_local_key_send_count 
+0x612f 017630 increase 16 ,pdata 
+0x6130 017631 store 1 ,mem_sp_local_key_send_count 
+0x6131 017632 call check_localsm 
+0x6132 017633 branch send_lmp_request ,true 
+0x6133 017634 branch send_lmp_reply 
+:      017637 sp_send_lmp_simple_pairing_comfirm:
+0x6134 017638 jam sp_stat_random_recv ,mem_sp_state 
+0x6135 017639 jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+0x6136 017640 rtn 
+:      017641 send_lmp_simple_pairing_comfirm:
+0x6137 017644 force 17 ,pdata 
+0x6138 017645 call msg_send_lmp 
+0x6139 017646 arg mem_sp_calc_result_high ,contr 
+0x613a 017647 ifetch 8 ,contr 
+0x613b 017648 istore 8 ,contw 
+0x613c 017649 ifetch 8 ,contr 
+0x613d 017650 istore 8 ,contw 
+0x613e 017651 branch send_lmp_reply 
+:      017653 sp_send_lmp_simple_pairing_number:
+0x613f 017654 call lmo_fifo_process 
+0x6140 017656 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x6141 017657 rtn 
+:      017659 send_lmp_simple_pairing_number:
+0x6142 017661 call check_localsm 
+0x6143 017662 call sp_local_random_key_generator ,true 
+0x6144 017663 force 17 ,pdata 
+0x6145 017664 call msg_send_lmp 
+0x6146 017665 arg mem_sp_random_local ,contr 
+0x6147 017666 ifetch 8 ,contr 
+0x6148 017667 istore 8 ,contw 
+0x6149 017668 ifetch 8 ,contr 
+0x614a 017669 istore 8 ,contw 
+0x614b 017670 call check_localsm 
+0x614c 017671 nbranch send_lmp_reply ,true 
+0x614d 017672 branch send_lmp_request ,true 
+:      017674 master_sp_sm_end:
+0x614e 017676 jam sp_stat_done ,mem_master_sp_state 
+:      017677 sp_aurand_send:
+0x614f 017678 call tid_initiate 
+0x6150 017679 jam lmp_au_rand ,mem_lmo_opcode2 
+0x6151 017680 call check_localsm_master 
+0x6152 017681 branch sp_master_key_prarm_push ,true 
+0x6153 017682 branch sp_link_key_prarm_push 
+:      017683 master_sp_send_lmp_dhkey_check:
+0x6154 017684 call tid_reply 
+:      017685 sp_send_lmp_dhkey_check:
+0x6155 017686 jam lmp_dhkey_check ,mem_lmo_opcode2 
+0x6156 017687 rtn 
+:      017688 send_lmp_dhkey_check:
+0x6157 017690 force 17 ,pdata 
+0x6158 017691 call msg_send_lmp 
+0x6159 017692 arg mem_sp_calc_result_high ,contr 
+0x615a 017693 ifetch 8 ,contr 
+0x615b 017694 istore 8 ,contw 
+0x615c 017695 ifetch 8 ,contr 
+0x615d 017696 istore 8 ,contw 
+0x615e 017697 call check_localsm 
+0x615f 017698 nbranch send_lmp_reply ,true 
+0x6160 017699 branch send_lmp_request ,true 
+:      017701 send_lmp_enc_key_size_mask_res:
+0x6161 017702 force 3 ,pdata 
+0x6162 017703 call msg_send_lmp 
+0x6163 017704 setarg 0xfffe 
+0x6164 017705 istore 2 ,contw 
+0x6165 017706 branch send_lmp_reply 
+:      017708 send_lmp_auto_rate:
+0x6166 017709 branch send_lmp_request 
+:      017710 send_lmp_clkoffset_req:
+0x6167 017711 branch send_lmp_request 
+:      017712 send_lmp_quality_of_service:
+0x6168 017713 branch send_lmp_request 
+:      017714 send_lmp_test_activate:
+0x6169 017715 branch send_lmp_request 
+:      017720 send_lmp_comb_key:
+0x616a 017721 call generate_random_number 
+0x616b 017722 arg mem_lap ,rega 
+0x616c 017723 call generate_linkkey 
+0x616d 017724 force 17 ,pdata 
+0x616e 017725 call msg_send_lmp 
+0x616f 017726 arg mem_kinit ,rega 
+0x6170 017727 arg mem_random_number ,regb 
+0x6171 017728 call xor16 
+0x6172 017729 nbranch send_lmp_follow ,master 
+0x6173 017730 branch send_lmp_tid 
+:      017732 send_lmp_inrand:
+0x6174 017733 call generate_random_number 
+0x6175 017734 arg mem_plap ,rega 
+0x6176 017735 call generate_kinit 
+:      017736 send_lmp_rand:
+0x6177 017737 force 17 ,pdata 
+0x6178 017738 call msg_send_lmp 
+0x6179 017739 arg mem_random_number ,contr 
+0x617a 017740 call memcpy16 
+0x617b 017741 fetch 1 ,mem_conn_sm 
+0x617c 017742 beq conn_sm_auth_wait ,send_lmp_request 
+0x617d 017743 beq conn_sm_pairing_wait ,send_lmp_request 
+0x617e 017744 branch send_lmp_tid 
+:      017746 send_lmp_aurand:
+0x617f 017747 fetch 1 ,mem_pairing_auth 
+0x6180 017748 branch send_lmp_aurand_notpairing ,blank 
+0x6181 017749 call check_localsm 
+0x6182 017750 call tid_initiate ,true 
+0x6183 017751 ncall tid_reply ,true 
+0x6184 017752 branch send_lmp_aurand_common 
+:      017753 send_lmp_aurand_notpairing:
+0x6185 017754 call tid_initiate 
+:      017755 send_lmp_aurand_common:
+0x6186 017756 call generate_random_number 
+0x6187 017757 branch send_lmp_rand 
+:      017759 send_lmp_sres:
+0x6188 017760 arg mem_lap ,rega 
+0x6189 017761 call function_e1 
+0x618a 017762 force 5 ,pdata 
+0x618b 017763 call msg_send_lmp 
+0x618c 017764 fetch 4 ,mem_input_store 
+0x618d 017765 istore 4 ,contw 
+0x618e 017766 arg mem_sres_tid ,temp 
+0x618f 017767 call special_tid_store 
+0x6190 017768 call copy_aco 
+0x6191 017769 call check_localsm 
+0x6192 017770 branch send_lmp_sres_master ,true 
+0x6193 017771 jam done_encryp ,mem_wait_encryption 
+0x6194 017772 fetch 1 ,mem_pairing_auth 
+0x6195 017773 rtn blank 
+0x6196 017774 jam lmp_au_rand ,mem_lmo_opcode2 
+:      017775 send_lmp_sres_master:
+0x6197 017776 fetch 1 ,mem_link_key_exists 
+0x6198 017777 rtn blank 
+0x6199 017778 call check_localsm 
+0x619a 017779 call hci_send_linkkey_notification ,true 
+:      017780 send_lmp_sres_startenc:
+0x619b 017781 call check_localsm 
+0x619c 017782 nbranch send_lmp_sres_startenc_slave ,true 
+0x619d 017783 fetch 1 ,mem_auth_enable 
+0x619e 017784 rtn blank 
+0x619f 017785 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x61a0 017786 rtn 
+:      017787 send_lmp_sres_startenc_slave:
+0x61a1 017788 rtnmark0 mark_slave_in_rand_accepted 
+0x61a2 017789 set0 mark_slave_in_rand_accepted ,mark 
+0x61a3 017790 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x61a4 017791 rtn 
+:      017795 send_lmp_start_encryption:
+0x61a5 017796 call generate_random_number 
+0x61a6 017797 call function_e3 
+0x61a7 017798 force 17 ,pdata 
+0x61a8 017799 call msg_send_lmp 
+0x61a9 017800 arg mem_random_number ,contr 
+0x61aa 017801 call memcpy16 
+0x61ab 017802 branch send_lmp_tid 
+:      017804 send_lmp_stop_encryption_req:
+0x61ac 017805 force 1 ,pdata 
+0x61ad 017806 call msg_send_lmp 
+0x61ae 017807 branch send_lmp_tid 
+:      017809 send_lmp_encryption_key_size_req:
+0x61af 017810 force 2 ,pdata 
+0x61b0 017811 call msg_send_lmp 
+0x61b1 017812 force 16 ,pdata 
+0x61b2 017813 istore 1 ,contw 
+0x61b3 017814 store 1 ,mem_key_size 
+0x61b4 017815 branch send_lmp_tid 
+:      017817 msg_send_lmp:
+0x61b5 017819 lshift3 pdata ,pdata 
+0x61b6 017820 or_into 0x07 ,pdata 
+0x61b7 017821 store 1 ,mem_lmo_header_length 
+0x61b8 017822 arg 17 ,loopcnt 
+0x61b9 017823 arg mem_lmo_payload ,contw 
+0x61ba 017824 call clear_mem 
+0x61bb 017825 arg mem_lmo_payload ,contw 
+0x61bc 017826 rtn 
+:      017828 send_lmpext:
+0x61bd 017829 and pdata ,0x7f ,rega 
+0x61be 017830 jam lmp_escape ,mem_lmp_to_send 
+0x61bf 017831 deposit queue 
+0x61c0 017832 call msg_send_lmp 
+0x61c1 017833 deposit rega 
+0x61c2 017834 istore 1 ,contw 
+0x61c3 017835 rtn 
+:      017837 send_lmp_follow:
+0x61c4 017838 fetch 1 ,mem_lmp_to_send 
+0x61c5 017839 lshift pdata ,pdata 
+0x61c6 017840 fetcht 1 ,mem_state_map 
+0x61c7 017841 isolate1 smap_lmptid ,temp 
+0x61c8 017842 setflag true ,0 ,pdata 
+0x61c9 017843 branch send_lmp_exit 
+:      017846 send_lmp_tid:
+0x61ca 017847 fetcht 1 ,mem_state_map 
+0x61cb 017848 and_into 1 ,temp 
+0x61cc 017849 branch send_lmp_end 
+:      017851 send_lmp_reply:
+0x61cd 017852 force 0 ,temp 
+0x61ce 017853 branch send_lmp_end 
+:      017855 send_lmp_request:
+0x61cf 017856 force 1 ,temp 
+:      017857 send_lmp_end:
+0x61d0 017858 fetch 1 ,mem_lmp_to_send 
+0x61d1 017859 lshift pdata ,pdata 
+0x61d2 017860 setflag master ,0 ,pdata 
+0x61d3 017861 ixor temp ,pdata 
+:      017862 send_lmp_exit:
+0x61d4 017863 store 1 ,mem_lmo_header_opcode 
+0x61d5 017864 jam 0 ,mem_lmp_to_send 
+0x61d6 017865 call lmo_fifo_process_lmo0empty 
+0x61d7 017866 enable user 
+0x61d8 017867 rtn 
+:      017869 lmo_fifo_process:
+0x61d9 017870 set1 mark_ext_patch ,mark 
+0x61da 017871 bpatch patch3c_4 ,mem_patch3c 
+0x61db 017872 fetch 1 ,mem_lmp_to_send 
+0x61dc 017873 branch lmo_fifo_process_lmo0empty ,blank 
+0x61dd 017874 fetch 1 ,mem_lmo_opcode1 
+0x61de 017875 nrtn blank 
+0x61df 017876 branch lmo_fifo_process_lmo2to1 
+:      017877 lmo_fifo_process_lmo0empty:
+0x61e0 017878 fetch 1 ,mem_lmo_opcode1 
+0x61e1 017879 branch lmo_fifo_process_lmo1_empty ,blank 
+0x61e2 017880 fetch 3 ,mem_lmo_opcode1 
+0x61e3 017881 store 3 ,mem_lmp_to_send 
+0x61e4 017882 fetcht 1 ,mem_lmo_tid1 
+0x61e5 017883 fetch 1 ,mem_state_map 
+0x61e6 017884 set0 smap_lmptid ,pdata 
+0x61e7 017885 ior temp ,pdata 
+0x61e8 017886 store 1 ,mem_state_map 
+0x61e9 017887 jam 0 ,mem_lmo_opcode1 
+:      017888 lmo_fifo_process_lmo2to1:
+0x61ea 017889 fetch 1 ,mem_lmo_opcode2 
+0x61eb 017890 rtn blank 
+0x61ec 017891 fetch 4 ,mem_lmo_opcode2 
+0x61ed 017892 store 4 ,mem_lmo_opcode1 
+0x61ee 017893 jam 0 ,mem_lmo_opcode2 
+0x61ef 017894 rtn 
+:      017895 lmo_fifo_process_lmo1_empty:
+0x61f0 017896 fetch 1 ,mem_lmo_opcode2 
+0x61f1 017897 rtn blank 
+0x61f2 017898 fetch 3 ,mem_lmo_opcode2 
+0x61f3 017899 store 3 ,mem_lmp_to_send 
+0x61f4 017900 fetcht 1 ,mem_lmo_tid2 
+0x61f5 017901 fetch 1 ,mem_state_map 
+0x61f6 017902 set0 smap_lmptid ,pdata 
+0x61f7 017903 ior temp ,pdata 
+0x61f8 017904 store 1 ,mem_state_map 
+0x61f9 017905 jam 0 ,mem_lmo_opcode2 
+0x61fa 017906 rtn 
+:      017909 special_tid_store:
+0x61fb 017910 set1 mark_ext_patch ,mark 
+0x61fc 017911 bpatch patch3c_5 ,mem_patch3c 
+0x61fd 017912 fetch 1 ,mem_state_map 
+0x61fe 017913 copy pdata ,regc 
+0x61ff 017914 ifetch 1 ,temp 
+0x6200 017915 call pop_tid_follow 
+0x6201 017916 call send_lmp_follow 
+0x6202 017917 copy regc ,pdata 
+0x6203 017918 store 1 ,mem_state_map 
+0x6204 017919 rtn 
+:      017921 tid_reply:
+0x6205 017922 fetcht 1 ,mem_state_map 
+0x6206 017923 set0 smap_lmptidinit ,temp 
+0x6207 017924 storet 1 ,mem_state_map 
+0x6208 017925 rtn 
+:      017927 tid_initiate:
+0x6209 017928 fetcht 1 ,mem_state_map 
+0x620a 017929 set1 smap_lmptidinit ,temp 
+0x620b 017930 storet 1 ,mem_state_map 
+0x620c 017931 rtn 
+:      017934 tid_check:
+0x620d 017935 nsetflag master ,smap_lmptid ,pdata 
+0x620e 017936 fetcht 1 ,mem_state_map 
+0x620f 017937 ixor temp ,pdata 
+0x6210 017938 isolate1 smap_lmptid ,pdata 
+0x6211 017939 rtn 
+:      017942 tid_set_reply:
+0x6212 017943 fetch 1 ,mem_state_map 
+0x6213 017944 setflag master ,smap_lmptid ,pdata 
+0x6214 017945 store 1 ,mem_state_map 
+0x6215 017946 rtn 
+:      017949 check_localsm:
+0x6216 017950 fetch 1 ,mem_sp_localsm 
+0x6217 017951 compare local_statemachine ,pdata ,0x7f 
+0x6218 017952 rtn 
+:      017953 setlocalsm_master:
+0x6219 017954 fetch 1 ,mem_sp_localsm 
+0x621a 017955 set1 7 ,pdata 
+0x621b 017956 store 1 ,mem_sp_localsm 
+0x621c 017957 rtn 
+:      017958 setlocalsm_slave:
+0x621d 017959 fetch 1 ,mem_sp_localsm 
+0x621e 017960 set0 7 ,pdata 
+0x621f 017961 store 1 ,mem_sp_localsm 
+0x6220 017962 rtn 
+:      017963 check_localsm_master:
+0x6221 017964 fetch 1 ,mem_sp_localsm 
+0x6222 017965 isolate1 7 ,pdata 
+0x6223 017966 store 1 ,mem_sp_localsm 
+0x6224 017967 rtn 
+:      017969 generate_random_number:
+0x6225 017971 arg mem_random_number ,contw 
+:      017972 generate_random:
+0x6226 017973 force 16 ,loopcnt 
+:      017974 generate_random_another:
+:      017975 generate_random_loop:
+0x6227 017976 random pdata 
+0x6228 017977 istore 1 ,contw 
+0x6229 017978 loop generate_random_another 
+0x622a 017979 rtn 
+:      017981 generate_linkkey:
+0x622b 017982 call function_e21 
+0x622c 017983 arg mem_link_key ,rega 
+0x622d 017984 arg mem_input_store ,regb 
+0x622e 017985 ifetch 8 ,rega 
+0x622f 017986 fetcht 1 ,mem_state 
+0x6230 017987 nsetflag blank ,state_combkey ,temp 
+0x6231 017988 storet 1 ,mem_state 
+0x6232 017989 copy rega ,contw 
+0x6233 017990 call xor16 
+0x6234 017991 branch generate_linkkey_continue 
+:      017997 process_conn_sm:
+0x6235 017999 set1 mark_ext_patch ,mark 
+0x6236 018000 bpatch patch3c_6 ,mem_patch3c 
+0x6237 018001 fetch 1 ,mem_lmo_opcode2 
+0x6238 018002 branch process_conn_sm_continue ,blank 
+0x6239 018003 call lmo_fifo_process 
+0x623a 018004 fetch 1 ,mem_lmo_opcode2 
+0x623b 018005 nrtn blank 
+:      018006 process_conn_sm_continue:
+0x623c 018007 fetch 1 ,mem_conn_sm 
+0x623d 018008 rtn blank 
+0x623e 018012 beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+0x623f 018013 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+0x6240 018014 beq conn_sm_send_features ,host_create_conn_send_features 
+0x6241 018015 beq conn_sm_wait_features_res ,host_create_conn_waiting 
+0x6242 018016 beq conn_sm_send_switch ,host_create_conn_send_switch 
+0x6243 018017 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+0x6244 018018 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+0x6245 018019 beq conn_sm_encrypt ,host_create_conn_encrypt 
+0x6246 018020 beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+0x6247 018021 beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+0x6248 018022 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+0x6249 018023 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+0x624a 018024 beq conn_sm_detach_delay ,host_create_conn_master_detach 
+0x624b 018025 beq conn_sm_send_version ,host_create_conn_send_version 
+0x624c 018026 beq conn_sm_wait_version ,host_create_conn_waiting 
+0x624d 018027 beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+0x624e 018028 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+0x624f 018029 beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+0x6250 018030 beq conn_sm_pairing ,host_create_conn_pairing 
+0x6251 018031 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+0x6252 018032 beq conn_sm_auth ,host_create_conn_auth 
+0x6253 018033 beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+0x6254 018034 beq conn_sm_done ,host_create_conn_done 
+0x6255 018035 beq conn_sm_wait_done ,host_create_conn_done_wait 
+0x6256 018036 jam conn_sm_standby ,mem_conn_sm 
+0x6257 018038 rtn 
+:      018039 host_create_conn_done:
+0x6258 018040 fetch 1 ,mem_lmp_conn_state 
+0x6259 018041 rtnbit0 received_setup_complete 
+0x625a 018042 rtnbit0 sent_setup_complete 
+0x625b 018043 jam conn_sm_standby ,mem_conn_sm 
+0x625c 018044 call host_conn_judge_encrypt 
+0x625d 018045 branch scheduler_start_upper_sm 
+:      018047 host_conn_judge_encrypt:
+0x625e 018048 fetch 1 ,mem_connection_options 
+0x625f 018049 rtnbit0 connection_encrypt 
+0x6260 018050 jam conn_sm_encrypt_wait ,mem_conn_sm 
+0x6261 018051 rtn 
+:      018053 host_create_conn_done_wait:
+0x6262 018054 arg enpt_delay_timer ,queue 
+0x6263 018055 call timer_check 
+0x6264 018056 nrtn blank 
+0x6265 018057 jam conn_sm_done ,mem_conn_sm 
+0x6266 018058 rtn 
+:      018060 host_create_conn_auth:
+0x6267 018061 fetch 1 ,mem_connection_options 
+0x6268 018062 set0 connection_auth ,pdata 
+0x6269 018063 store 1 ,mem_connection_options 
+0x626a 018064 jam conn_sm_auth_wait ,mem_conn_sm 
+0x626b 018065 jam lmp_au_rand ,mem_lmo_opcode2 
+0x626c 018066 rtn 
+:      018067 host_create_conn_auth_wait:
+0x626d 018068 rtn 
+:      018069 host_create_conn_pairing:
+0x626e 018070 fetch 1 ,mem_pincode_state 
+0x626f 018071 rtnne pincode_state_pincode_ready 
+0x6270 018072 call host_auth 
+0x6271 018073 jam conn_sm_pairing_wait ,mem_conn_sm 
+0x6272 018074 rtn 
+:      018076 host_create_conn_pairing_wait:
+0x6273 018077 rtn 
+:      018078 host_creat_conn_send_feat_ext:
+0x6274 018079 jam conn_sm_wait_features_ext ,mem_conn_sm 
+0x6275 018080 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x6276 018081 rtn 
+:      018082 host_create_conn_send_version:
+0x6277 018083 jam conn_sm_wait_version ,mem_conn_sm 
+0x6278 018084 jam lmp_version_req ,mem_lmo_opcode2 
+0x6279 018085 rtn 
+:      018087 host_creat_conn_wait_switch:
+0x627a 018088 fetch 1 ,mem_switch_flag 
+0x627b 018089 rtneq switch_flag_init 
+0x627c 018090 beq switch_flag_accept ,host_create_conn_switch_accept 
+0x627d 018091 arg switch_wait_timer ,queue 
+0x627e 018092 call timer_check 
+0x627f 018093 nrtn blank 
+0x6280 018094 jam switch_flag_init ,mem_switch_flag 
+0x6281 018095 branch host_create_conn_switch 
+:      018096 host_create_conn_switch_accept:
+0x6282 018097 rtn master 
+0x6283 018098 branch host_create_conn_auth_pair 
+:      018100 host_create_conn_send_features:
+0x6284 018101 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x6285 018102 jam lmp_features_req ,mem_lmo_opcode2 
+0x6286 018103 rtn 
+:      018104 host_create_conn_send_switch:
+0x6287 018105 jam lmp_switch_req ,mem_lmo_opcode2 
+0x6288 018106 set1 mark_switch_initiated ,mark 
+0x6289 018107 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x628a 018108 setarg 0x1ff 
+0x628b 018109 store 2 ,mem_soft_timer 
+0x628c 018110 rtn 
+:      018111 host_create_conn_send_conn_req:
+0x628d 018112 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x628e 018113 jam 0xff ,mem_soft_timer 
+0x628f 018114 set0 mark_reconn_recieve_switch ,mark 
+0x6290 018115 jam lmp_host_connection_req ,mem_lmo_opcode2 
+0x6291 018116 branch init_lmp_reinit 
+:      018117 host_create_conn_wait_accept:
+0x6292 018118 rtnmark1 mark_reconn_recieve_switch 
+0x6293 018119 fetch 2 ,mem_soft_timer 
+0x6294 018120 sub pdata ,1 ,pdata 
+0x6295 018121 branch host_create_conn_resend ,zero 
+0x6296 018122 store 2 ,mem_soft_timer 
+0x6297 018123 rtn 
+:      018124 host_create_conn_resend:
+0x6298 018125 jam conn_sm_send_switch ,mem_conn_sm 
+0x6299 018126 rtn 
+:      018127 host_create_conn_waiting:
+0x629a 018129 rtn 
+:      018131 host_create_conn_switch:
+0x629b 018132 fetch 1 ,mem_lmp_conn_state 
+0x629c 018133 rtnbit0 sent_setup_complete 
+0x629d 018134 rtnbit0 received_setup_complete 
+0x629e 018135 fetch 1 ,mem_connection_options 
+0x629f 018136 set0 connection_switch ,pdata 
+0x62a0 018137 store 1 ,mem_connection_options 
+0x62a1 018138 jam lmp_switch_req ,mem_lmo_opcode2 
+0x62a2 018139 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+0x62a3 018140 rtn 
+:      018142 host_create_conn_send_setup_complete:
+0x62a4 018143 jam conn_sm_wait_setup_complete ,mem_conn_sm 
+0x62a5 018144 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x62a6 018145 rtn 
+:      018147 host_create_conn_wait_setup_complete:
+0x62a7 018148 fetch 1 ,mem_lmp_conn_state 
+0x62a8 018149 rtnbit0 received_setup_complete 
+0x62a9 018150 jam conn_sm_standby ,mem_conn_sm 
+0x62aa 018152 rtn 
+:      018153 host_create_conn_wait_setup_complete_rtn:
+0x62ab 018154 jam conn_sm_auth_pair ,mem_conn_sm 
+0x62ac 018155 rtn 
+:      018157 host_create_conn_master_detach:
+0x62ad 018158 fetch 1 ,mem_soft_timer 
+0x62ae 018159 increase -1 ,pdata 
+0x62af 018160 branch host_create_conn_send_detach ,blank 
+0x62b0 018161 store 1 ,mem_soft_timer 
+0x62b1 018162 rtn 
+:      018163 host_create_conn_send_detach:
+0x62b2 018164 jam lmp_detach ,mem_lmo_opcode2 
+0x62b3 018165 jam local_host ,mem_disconn_reason_send 
+0x62b4 018166 jam 0 ,mem_conn_sm 
+0x62b5 018167 rtn 
+:      018168 host_create_conn_auth_pair:
+0x62b6 018170 fetch 1 ,mem_connection_options 
+0x62b7 018171 bbit1 connection_switch ,host_create_conn_switch 
+0x62b8 018172 bbit1 connection_auth ,host_create_conn_auth_pair_true 
+:      018173 host_create_conn_sm_done:
+0x62b9 018174 jam conn_sm_done ,mem_conn_sm 
+0x62ba 018175 rtn 
+:      018176 host_create_conn_auth_pair_true:
+0x62bb 018177 fetch 1 ,mem_link_key_exists 
+0x62bc 018178 branch host_create_conn_auth_pair_nokey ,blank 
+0x62bd 018179 fetch 1 ,mem_lmp_conn_state 
+0x62be 018180 rtnbit0 sent_setup_complete 
+0x62bf 018181 rtnbit0 received_setup_complete 
+0x62c0 018182 fetch 4 ,mem_aurand_send_delay_time 
+0x62c1 018183 arg 100 ,temp 
+0x62c2 018184 iadd temp ,temp 
+0x62c3 018185 copy clkn_bt ,pdata 
+0x62c4 018186 isub temp ,null 
+0x62c5 018187 nrtn positive 
+0x62c6 018188 branch host_create_conn_auth 
+:      018192 host_create_conn_auth_pair_nokey:
+0x62c7 018193 jam conn_sm_pairing ,mem_conn_sm 
+0x62c8 018194 jam 4 ,mem_pin_length 
+0x62c9 018195 setarg 0x3030 
+0x62ca 018196 store 2 ,mem_pin 
+0x62cb 018197 istore 2 ,contw 
+0x62cc 018198 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x62cd 018199 branch host_create_conn_pairing 
+:      018201 host_create_conn_auth_pair_wait:
+0x62ce 018202 rtn 
+:      018203 host_create_conn_encrypt:
+0x62cf 018204 fetch 1 ,mem_connection_options 
+0x62d0 018205 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+0x62d1 018206 jam conn_sm_done ,mem_conn_sm 
+0x62d2 018207 rtn 
+:      018209 host_create_conn_encrypt_start:
+0x62d3 018210 fetch 1 ,mem_connection_options 
+0x62d4 018211 set0 connection_encrypt ,pdata 
+0x62d5 018212 store 1 ,mem_connection_options 
+0x62d6 018213 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x62d7 018214 rtn 
+:      018216 host_create_conn_encrypt_wait:
+0x62d8 018217 fetch 1 ,mem_wait_encryption 
+0x62d9 018218 rtn blank 
+0x62da 018219 jam conn_sm_standby ,mem_conn_sm 
+0x62db 018220 branch host_create_conn_encrypt_start 
+:      018222 host_create_conn_encrypt_wait_clear:
+0x62dc 018223 jam conn_sm_send_setup_complete ,mem_conn_sm 
+0x62dd 018224 rtn 
+:      018226 host_auth:
+0x62de 018227 fetch 1 ,mem_op 
+0x62df 018228 bbit1 op_inrand_req ,remote_auth 
+0x62e0 018229 call tid_initiate 
+0x62e1 018230 jam lmp_in_rand ,mem_lmo_opcode2 
+0x62e2 018231 branch cmd_exit 
+:      018232 remote_auth:
+0x62e3 018233 fetch 1 ,mem_op 
+0x62e4 018234 set0 op_inrand_req ,pdata 
+0x62e5 018235 store 1 ,mem_op 
+0x62e6 018236 call lmp_accept_inrand 
+0x62e7 018237 call tid_set_reply 
+0x62e8 018238 branch cmd_exit 
+:      018240 pincode_reinit:
+0x62e9 018241 setarg 4 
+0x62ea 018242 store 1 ,mem_pin_length 
+0x62eb 018243 setarg 0x3030 
+0x62ec 018244 istore 2 ,contw 
+0x62ed 018245 istore 2 ,contw 
+0x62ee 018246 rtn 
+:      018254 module_init:
+0x62ef 018255 rtn wake 
+0x62f0 018256 jam 0 ,mem_module_task 
+0x62f1 018257 call module_gpio_init 
+0x62f2 018258 call module_init_static_string 
+0x62f3 018259 setarg module_process_idle 
+0x62f4 018260 store 2 ,mem_cb_idle_process 
+0x62f5 018261 setarg module_conn_process 
+0x62f6 018262 store 2 ,mem_cb_bt_process 
+0x62f7 018263 setarg module_process_bb_event 
+0x62f8 018264 store 2 ,mem_cb_bb_event_process 
+0x62f9 018265 setarg module_le_rx 
+0x62fa 018266 store 2 ,mem_cb_att_write 
+0x62fb 018267 setarg module_conn_process 
+0x62fc 018268 store 2 ,mem_cb_le_process 
+0x62fd 018269 set1 mark_ext_patch ,mark 
+0x62fe 018270 bpatch patch30_0 ,mem_patch30 
+0x62ff 018271 setarg module_lpm_lock 
+0x6300 018272 store 2 ,mem_cb_check_wakelock 
+0x6301 018273 setarg module_le_tx_update_data 
+0x6302 018274 store 2 ,mem_cb_update_notify_value 
+0x6303 018275 setarg 0 
+0x6304 018276 store 4 ,mem_last_uart_clock 
+0x6305 018277 store 2 ,mem_module_prepare_tx_len 
+0x6306 018278 call module_hardware_init 
+0x6307 018279 call init_module_environment 
+0x6308 018280 call check_module_disabled 
+0x6309 018281 branch eeprom_load_reconn_info 
+:      018283 module_hardware_init:
+0x630a 018284 rtn wake 
+0x630b 018285 setarg uart_baud_115200 
+0x630c 018286 store uart_baud_len ,mem_baud 
+:      018287 module_lpm_uart_init:
+0x630d 018288 call init_filter_ram 
+0x630e 018289 setarg mem_module_rx_buf 
+0x630f 018290 hstore 2 ,core_uart_rsaddr 
+0x6310 018291 setarg mem_module_rx_buf_end 
+0x6311 018292 hstore 2 ,core_uart_readdr 
+0x6312 018293 setarg mem_module_tx_buf 
+0x6313 018294 hstore 2 ,core_uart_tsaddr 
+0x6314 018295 setarg mem_module_tx_buf_end 
+0x6315 018296 hstore 2 ,core_uart_teaddr 
+0x6316 018297 hjam 0x4 ,core_gpio_sel1 
+0x6317 018298 jam 0xff ,mem_ucode_id_local 
+0x6318 018299 hjam 0x0 ,core_uart_ctrl 
+0x6319 018300 setarg mem_module_tx_buf 
+0x631a 018301 hstore 2 ,core_uart_twptr 
+0x631b 018302 hstore 2 ,core_uart_trptrp 
+0x631c 018303 setarg mem_module_rx_buf 
+0x631d 018304 hstore 2 ,core_uart_rrptr 
+0x631e 018305 branch hci_init_common 
+:      018308 module_lpm_init:
+0x631f 018309 call module_lpm_uart_init 
+0x6320 018310 branch module_gpio_init 
+:      018312 module_gpio_init:
+0x6321 018314 call ui_led_init 
+0x6322 018315 call app_led_start_blink 
+0x6323 018317 fetcht 1 ,mem_module_connect_state_gpio 
+0x6324 018318 call gpio_config_output 
+0x6325 018319 call module_set_conn_pin_low 
+0x6326 018321 fetcht 1 ,mem_module_wake_up_gpio 
+0x6327 018322 call gpio_config_input 
+0x6328 018323 fetcht 1 ,mem_at_gpio 
+0x6329 018324 branch gpio_config_input_without_wake 
+:      018326 module_lpm_lock:
+0x632a 018327 fetcht 1 ,mem_module_wake_up_gpio 
+0x632b 018328 call gpio_get_bit 
+0x632c 018329 nbranch app_put_lpm_wake_lock ,true 
+0x632d 018330 branch app_get_lpm_wake_lock 
+:      018334 module_process_idle:
+0x632e 018335 branch module_app_dispatch 
+:      018336 module_conn_process:
+0x632f 018337 branch module_app_dispatch 
+:      018338 module_app_dispatch:
+0x6330 018339 set1 mark_ext_patch ,mark 
+0x6331 018340 bpatch patch30_1 ,mem_patch30 
+0x6332 018341 call module_control_air_flow 
+0x6333 018342 call module_uart_set 
+0x6334 018343 call l2cap_malloc_is_fifo_full 
+0x6335 018344 nrtn blank 
+0x6336 018345 branch module_process 
+:      018346 module_process_bb_event:
+0x6337 018347 copy regc ,pdata 
+0x6338 018348 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+0x6339 018349 beq bt_evt_reconn_failed ,module_reconn_fail 
+0x633a 018350 beq bt_evt_reconn_page_timeout ,module_page_time_out 
+0x633b 018351 beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+0x633c 018352 beq bt_evt_switch_not_accept ,module_process_switch_not_accept 
+0x633d 018353 beq bt_evt_switch_accept ,module_process_switch_accept 
+0x633e 018354 beq bt_evt_sniff_accept ,module_process_sniff_accept 
+0x633f 018355 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+0x6340 018356 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+0x6341 018357 beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+0x6342 018358 beq bt_evt_le_connected ,module_process_le_conn 
+0x6343 018359 beq bt_evt_bb_connected ,module_process_bb_conn 
+0x6344 018360 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+0x6345 018361 beq bt_evt_setup_complete ,module_process_setup_complete 
+0x6346 018362 beq bt_evt_enter_sniff ,module_sniff_param_check 
+0x6347 018363 beq bt_evt_exit_sniff ,app_lpm_mult_disable 
+0x6348 018364 and pdata ,0x0f ,temp 
+0x6349 018365 and_into bt_evt_timer_mask ,pdata 
+0x634a 018366 beq bt_evt_timer_init ,module_bb_event_timer 
+0x634b 018367 rtn 
+:      018369 module_process_bb_event_disconned:
+0x634c 018370 call module_disconn_start 
+0x634d 018371 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x634e 018372 rtnbit0 app_disc_after_setup_done 
+0x634f 018373 arg 3 ,loopcnt 
+0x6350 018374 arg mem_prarm_dis ,contr 
+0x6351 018375 branch send_mem_to_uart 
+:      018377 module_sniff_param_check:
+0x6352 018380 fetch 2 ,mem_context + coffset_tsniff 
+0x6353 018381 rshift pdata ,pdata 
+0x6354 018382 fetcht 2 ,mem_sniff_param_interval 
+0x6355 018383 isub temp ,null 
+0x6356 018384 nbranch module_sniff_param_check_unsniff ,zero 
+0x6357 018385 branch app_lpm_mult_enable 
+:      018386 module_sniff_param_check_unsniff:
+0x6358 018387 fetch 1 ,mem_module_task 
+0x6359 018388 rtnbit1 at_task_unsinff 
+0x635a 018389 hfetch 2 ,core_uart_rxitems 
+0x635b 018390 ncall at_set_unsniff_task_flag ,blank 
+0x635c 018391 branch app_bt_sniff_exit 
+:      018393 module_process_setup_complete:
+0x635d 018394 call module_conn_start 
+0x635e 018395 call module_check_cmode 
+0x635f 018396 branch module_uart_send_conn ,zero 
+0x6360 018397 branch app_bt_disconnect 
+:      018398 module_uart_send_conn:
+0x6361 018399 arg 4 ,loopcnt 
+0x6362 018400 arg mem_prarm_conn ,contr 
+0x6363 018401 branch send_mem_to_uart 
+:      018403 module_process_bb_even_le_disconn:
+0x6364 018404 call module_disconn_start 
+0x6365 018405 arg 5 ,loopcnt 
+0x6366 018406 arg mem_prarm_bledis ,contr 
+0x6367 018407 branch send_mem_to_uart 
+:      018409 module_process_evt_pincode_req:
+0x6368 018410 call at_restore_pin_code 
+0x6369 018411 branch app_bt_set_pincode 
+:      018412 module_process_switch_not_accept:
+0x636a 018413 fetch 1 ,mem_module_task 
+0x636b 018414 rtnbit0 at_task_switch 
+0x636c 018415 set0 at_task_switch ,pdata 
+0x636d 018416 store 1 ,mem_module_task 
+0x636e 018417 branch at_error_rev_end 
+:      018419 module_process_switch_accept:
+0x636f 018420 fetch 1 ,mem_module_task 
+0x6370 018421 rtnbit0 at_task_switch 
+0x6371 018422 set0 at_task_switch ,pdata 
+0x6372 018423 store 1 ,mem_module_task 
+0x6373 018424 branch at_nomal_rev_end 
+:      018426 module_process_sniff_accept:
+0x6374 018427 rtn 
+:      018429 module_process_sniff_not_accept:
+0x6375 018430 rtn 
+:      018432 module_process_unsniff_accept:
+0x6376 018433 fetch 1 ,mem_module_task 
+0x6377 018434 bbit0 at_task_unsinff ,app_bt_enter_sniff 
+0x6378 018435 branch at_clear_unsniff_task_flag 
+:      018437 module_process_unsniff_not_accept:
+0x6379 018438 rtn 
+:      018440 module_process_le_conn:
+0x637a 018441 call module_conn_start 
+0x637b 018442 arg mem_le_plap ,regb 
+0x637c 018443 call module_check_cmode 
+0x637d 018444 branch module_uart_send_leconn ,zero 
+0x637e 018445 branch app_ble_disconnect 
+:      018446 module_uart_send_leconn:
+0x637f 018447 arg 6 ,loopcnt 
+0x6380 018448 arg mem_prarm_bleconn ,contr 
+0x6381 018449 branch send_mem_to_uart 
+:      018451 module_process_bb_conn:
+0x6382 018452 rtn 
+:      018455 module_reconn_fail:
+0x6383 018456 arg 7 ,loopcnt 
+0x6384 018457 arg mem_prarm_recfail ,contr 
+0x6385 018458 call send_mem_to_uart 
+0x6386 018459 branch module_disconn_start 
+:      018460 module_page_time_out:
+0x6387 018461 arg 7 ,loopcnt 
+0x6388 018462 arg mem_prarm_pageout ,contr 
+0x6389 018463 call send_mem_to_uart 
+:      018464 module_disconn_start:
+0x638a 018465 call module_start_adv_discovery 
+0x638b 018466 branch module_set_conn_pin_high 
+:      018468 module_start_adv_discovery:
+0x638c 018469 fetch 1 ,mem_module_state 
+0x638d 018470 isolate1 at_state_set30 ,pdata 
+0x638e 018471 call app_bt_start_discovery ,true 
+0x638f 018472 fetch 1 ,mem_module_state 
+0x6390 018473 isolate1 at_state_set40 ,pdata 
+0x6391 018474 call app_ble_start_adv ,true 
+0x6392 018475 rtn 
+:      018476 module_set_conn_pin_high:
+0x6393 018477 fetcht 1 ,mem_module_connect_state_gpio 
+0x6394 018478 branch gpio_out_active 
+:      018480 module_conn_start:
+0x6395 018481 call module_stop_adv_discovery 
+0x6396 018482 branch module_set_conn_pin_low 
+:      018484 module_stop_adv_discovery:
+0x6397 018485 fetch 1 ,mem_module_state 
+0x6398 018486 isolate1 at_state_set30 ,pdata 
+0x6399 018487 call app_bt_stop_discovery ,true 
+0x639a 018488 fetch 1 ,mem_module_state 
+0x639b 018489 isolate1 at_state_set40 ,pdata 
+0x639c 018490 call app_ble_stop_adv ,true 
+0x639d 018491 rtn 
+:      018492 module_set_conn_pin_low:
+0x639e 018493 fetcht 1 ,mem_module_connect_state_gpio 
+0x639f 018494 branch gpio_out_inactive 
+:      018499 module_process:
+0x63a0 018500 fetch 1 ,mem_device_option 
+0x63a1 018501 rtnne dvc_op_module 
+0x63a2 018502 hfetch 2 ,core_uart_rxitems 
+0x63a3 018503 rtn blank 
+0x63a4 018504 store 2 ,mem_current_packet_length 
+0x63a5 018506 call spp_mode 
+0x63a6 018507 branch at_process ,true 
+0x63a7 018508 call at_ckeck_send_buff 
+0x63a8 018509 branch module_tx_packet 
+:      018512 spp_mode:
+0x63a9 018513 fetcht 1 ,mem_at_gpio 
+0x63aa 018514 branch gpio_get_bit 
+:      018517 module_exit_sniff:
+0x63ab 018518 fetch 1 ,mem_module_task 
+0x63ac 018519 rtnbit1 at_task_unsinff 
+0x63ad 018520 call at_set_unsniff_task_flag 
+0x63ae 018521 branch app_bt_sniff_exit 
+:      018523 module_tx_packet:
+0x63af 018524 fetch 1 ,mem_context 
+0x63b0 018525 bbit0 state_inconn ,spp_send_end 
+0x63b1 018526 fetch 1 ,mem_context + coffset_mode 
+0x63b2 018527 bbit1 mode_le ,modle_le_tx 
+0x63b3 018528 call app_check_sniff 
+0x63b4 018529 branch module_exit_sniff ,true 
+0x63b5 018530 branch spp_tx_rfcomm_packet 
+:      018532 module_le_rx:
+0x63b6 018533 call le_att_get_handle_ptr 
+0x63b7 018534 ifetch 1 ,contr 
+0x63b8 018535 copy contr ,rega 
+0x63b9 018536 call get_uart_twptr 
+0x63ba 018537 copy regb ,loopcnt 
+0x63bb 018538 copy rega ,contr 
+0x63bc 018539 call uart_copy_tx_bytes 
+0x63bd 018540 branch uartd_send 
+:      018543 module_le_tx_update_data:
+0x63be 018545 fetch 2 ,mem_module_prepare_tx_len 
+0x63bf 018546 rtn blank 
+0x63c0 018547 arg dm_le_buff_len ,temp 
+0x63c1 018548 call not_greater_than 
+0x63c2 018549 store 2 ,mem_module_temp_len 
+0x63c3 018551 copy pdata ,temp 
+0x63c4 018552 fetch 2 ,mem_module_prepare_tx_len 
+0x63c5 018553 isub temp ,pdata 
+0x63c6 018554 store 2 ,mem_module_prepare_tx_len 
+0x63c7 018555 nbranch assert ,positive 
+0x63c8 018557 arg prcp_tx_le ,temp 
+0x63c9 018558 storet 2 ,mem_le_notify_handle 
+0x63ca 018559 call le_att_get_handle_ptr 
+0x63cb 018560 branch assert ,blank 
+0x63cc 018561 add contr ,1 ,contw 
+0x63cd 018563 fetch 2 ,mem_module_temp_len 
+0x63ce 018564 copy pdata ,loopcnt 
+0x63cf 018566 call get_uart_rrptr 
+0x63d0 018568 call uart_copy_rx_bytes 
+0x63d1 018570 fetch 2 ,mem_module_temp_len 
+0x63d2 018571 store 2 ,mem_current_packet_length 
+0x63d3 018572 store 2 ,mem_le_notify_len 
+0x63d4 018573 branch spp_send_end 
+:      018576 modle_le_tx:
+0x63d5 018577 rtnmark0 mark_context 
+0x63d6 018578 call modle_le_tx_once 
+0x63d7 018579 call modle_le_tx_once 
+:      018580 modle_le_tx_once:
+0x63d8 018581 call le_xtype_fifo_is_near_full 
+0x63d9 018582 nrtn blank 
+0x63da 018583 hfetch 2 ,core_uart_rxitems 
+0x63db 018584 rtn blank 
+0x63dc 018585 fetcht 2 ,mem_module_prepare_tx_len 
+0x63dd 018586 isub temp ,pdata 
+0x63de 018587 nbranch assert ,positive 
+0x63df 018588 store 2 ,mem_current_packet_length 
+0x63e0 018589 rtn blank 
+0x63e1 018590 call at_ckeck_send_buff_le 
+0x63e2 018591 fetch 2 ,mem_module_prepare_tx_len 
+0x63e3 018592 fetcht 2 ,mem_current_packet_length 
+0x63e4 018593 iadd temp ,pdata 
+0x63e5 018594 store 2 ,mem_module_prepare_tx_len 
+0x63e6 018595 fetcht 2 ,mem_module_prepare_tx_len 
+0x63e7 018596 hfetch 2 ,core_uart_rxitems 
+0x63e8 018597 isub temp ,rega 
+0x63e9 018598 nbranch assert ,positive 
+0x63ea 018599 jam attop_handle_value_notification ,mem_fifo_temp 
+0x63eb 018600 branch le_xtype_fifo_in 
+:      018602 module_bb_event_timer:
+0x63ec 018603 storet 1 ,mem_app_evt_timer_count 
+:      018604 module_bb_event_100ms_loop:
+0x63ed 018605 fetch 1 ,mem_app_evt_timer_count 
+0x63ee 018606 rtn blank 
+0x63ef 018607 increase -1 ,pdata 
+0x63f0 018608 store 1 ,mem_app_evt_timer_count 
+0x63f1 018609 call module_bb_event_hud_ms 
+0x63f2 018610 branch module_bb_event_100ms_loop 
+:      018612 module_bb_event_hud_ms:
+0x63f3 018613 fetch 2 ,mem_at_scan_time 
+0x63f4 018614 rtn blank 
+0x63f5 018615 increase -1 ,pdata 
+0x63f6 018616 store 2 ,mem_at_scan_time 
+0x63f7 018617 nrtn blank 
+0x63f8 018618 fetch 1 ,mem_at_using_flag 
+0x63f9 018619 jam 0 ,mem_at_using_flag 
+0x63fa 018620 bbit1 at_flag_leinq ,modue_le_inq 
+0x63fb 018621 bbit1 at_flag_inq ,module_inq 
+0x63fc 018622 branch assert 
+:      018623 modue_le_inq:
+0x63fd 018624 branch app_ble_stop_scan 
+:      018625 module_inq:
+0x63fe 018626 jam hci_cmd_inquiry_cancel ,mem_hci_cmd 
+0x63ff 018627 rtn 
+:      018629 at_ckeck_send_buff:
+0x6400 018630 fetch 1 ,mem_context + coffset_mode 
+0x6401 018631 bbit1 mode_le ,at_ckeck_send_buff_le 
+0x6402 018632 fetch 2 ,mem_current_packet_length 
+0x6403 018633 arg dm_refcom_buff_len ,temp 
+0x6404 018635 call not_greater_than 
+0x6405 018636 store 2 ,mem_current_packet_length 
+0x6406 018637 rtn 
+:      018638 at_ckeck_send_buff_le:
+0x6407 018639 fetch 2 ,mem_current_packet_length 
+0x6408 018640 arg dm_le_buff_len ,temp 
+0x6409 018641 call not_greater_than 
+0x640a 018642 store 2 ,mem_current_packet_length 
+0x640b 018643 rtn 
+:      018645 at_set_unsniff_task_flag:
+0x640c 018646 fetch 1 ,mem_module_task 
+0x640d 018647 set1 at_task_unsinff ,pdata 
+0x640e 018648 store 1 ,mem_module_task 
+0x640f 018649 rtn 
+:      018651 at_clear_unsniff_task_flag:
+0x6410 018652 fetch 1 ,mem_module_task 
+0x6411 018653 set0 at_task_unsinff ,pdata 
+0x6412 018654 store 1 ,mem_module_task 
+0x6413 018655 rtn 
+:      018657 at_set_cmd_task_flag:
+0x6414 018658 fetch 1 ,mem_module_task 
+0x6415 018659 set1 at_task_cmd_flag ,pdata 
+0x6416 018660 store 1 ,mem_module_task 
+0x6417 018661 rtn 
+:      018663 at_clear_cmd_task_flag:
+0x6418 018664 fetch 1 ,mem_module_task 
+0x6419 018665 set0 at_task_cmd_flag ,pdata 
+0x641a 018666 store 1 ,mem_module_task 
+0x641b 018667 rtn 
+:      018669 module_control_air_flow:
+0x641c 018670 set1 mark_ext_patch ,mark 
+0x641d 018671 bpatch patch30_2 ,mem_patch30 
+0x641e 018672 call check_uart_tx_buff 
+0x641f 018673 branch app_l2cap_flow_control_enable ,positive 
+0x6420 018674 branch app_l2cap_flow_control_disable 
+:      018676 module_uart_set:
+0x6421 018677 call spp_mode 
+0x6422 018678 branch module_set_baud_115200 ,true 
+0x6423 018679 hfetcht uart_baud_len ,core_uart_baud 
+0x6424 018680 fetch 2 ,mem_baud 
+0x6425 018681 isub temp ,null 
+0x6426 018682 rtn zero 
+0x6427 018683 branch uart_set_baud_by_mem 
+:      018686 module_set_baud_115200:
+0x6428 018687 hfetcht uart_baud_len ,core_uart_baud 
+0x6429 018688 setarg at_baud_115200 
+0x642a 018689 isub temp ,null 
+0x642b 018690 rtn zero 
+0x642c 018691 hstore uart_baud_len ,core_uart_baud 
+0x642d 018692 rtn 
+:      018694 module_check_cmode:
+0x642e 018695 set1 mark_ext_patch ,mark 
+0x642f 018696 bpatch patch30_3 ,mem_patch30 
+0x6430 018697 fetch 1 ,mem_module_state 
+0x6431 018698 isolate0 at_state_cmode ,pdata 
+0x6432 018699 branch module_check_cmode_close ,true 
+0x6433 018700 arg mem_cmode_addr ,rega 
+0x6434 018701 arg 6 ,loopcnt 
+0x6435 018702 branch string_compare 
+:      018703 module_check_cmode_close:
+0x6436 018704 force 0 ,null 
+0x6437 018705 rtn 
+:      018707 module_init_static_string:
+0x6438 018708 set1 mark_ext_patch ,mark 
+0x6439 018709 bpatch patch30_4 ,mem_patch30 
+0x643a 018710 arg mem_prarm_pswd ,contw 
+0x643b 018711 setsect 0 ,0x35350 
+0x643c 018712 setsect 1 ,0x15115 
+0x643d 018713 setsect 2 ,0x12415 
+0x643e 018714 setsect 3 ,0x10951 
+0x643f 018715 istore 9 ,contw 
+0x6440 018716 setsect 0 ,0x2454c 
+0x6441 018717 setsect 1 ,0x35053 
+0x6442 018718 setsect 2 ,0x2454 
+0x6443 018719 setsect 3 ,0x11531 
+0x6444 018720 istore 9 ,contw 
+0x6445 018721 setsect 0 ,0x34441 
+0x6446 018722 setsect 1 ,0x194d4 
+0x6447 018723 setsect 2 ,0x12455 
+0x6448 018724 setsect 3 ,0x10d4d 
+0x6449 018725 istore 9 ,contw 
+0x644a 018726 setsect 0 ,0x3414c 
+0x644b 018727 setsect 1 ,0xd4d4 
+0x644c 018728 setsect 2 ,0x124c4 
+0x644d 018729 setsect 3 ,0x13119 
+0x644e 018730 istore 9 ,contw 
+0x644f 018731 setsect 0 ,0x15247 
+0x6450 018732 setsect 1 ,0x3d0d1 
+0x6451 018733 setsect 2 ,0xe4e4 
+0x6452 018734 setsect 3 ,0x11531 
+0x6453 018735 istore 9 ,contw 
+0x6454 018736 setsect 0 ,0x34944 
+0x6455 018737 setsect 1 ,0x114d4 
+0x6456 018738 setsect 2 ,0xe535 
+0x6457 018739 setsect 3 ,0x15105 
+0x6458 018740 istore 9 ,contw 
+0x6459 018741 setsect 0 ,0x14c2b 
+0x645a 018742 setsect 1 ,0x114d2 
+0x645b 018743 setsect 2 ,0xf525 
+0x645c 018744 setsect 3 ,0x11531 
+0x645d 018745 istore 9 ,contw 
+0x645e 018746 setsect 0 ,0x14e53 
+0x645f 018747 setsect 1 ,0x19192 
+0x6460 018748 setsect 2 ,0x44c4 
+0x6461 018749 setsect 3 ,0x15915 
+0x6462 018750 istore 9 ,contw 
+0x6463 018751 setsect 0 ,0x35352 
+0x6464 018752 setsect 1 ,0xd254 
+0x6465 018753 setsect 2 ,0x5444 
+0x6466 018754 setsect 3 ,0x10959 
+0x6467 018755 istore 9 ,contw 
+0x6468 018756 setsect 0 ,0x1454c 
+0x6469 018757 setsect 1 ,0x5392 
+0x646a 018758 setsect 2 ,0x3525 
+0x646b 018759 setsect 3 ,0x13d35 
+0x646c 018760 istore 9 ,contw 
+0x646d 018761 setsect 0 ,0x14544 
+0x646e 018762 setsect 1 ,0x113d3 
+0x646f 018763 setsect 2 ,0x4454 
+0x6470 018764 setsect 3 ,0x14d35 
+0x6471 018765 istore 9 ,contw 
+0x6472 018766 setsect 0 ,0x4154 
+0x6473 018767 setsect 1 ,0x11155 
+0x6474 018768 setsect 2 ,0x13494 
+0x6475 018769 setsect 3 ,0x13d0d 
+0x6476 018770 istore 9 ,contw 
+0x6477 018771 setsect 0 ,0x4f56 
+0x6478 018772 setsect 1 ,0x31055 
+0x6479 018773 setsect 2 ,0x3454 
+0x647a 018774 setsect 3 ,0x1393d 
+0x647b 018775 istore 9 ,contw 
+0x647c 018776 setsect 0 ,0x1504e 
+0x647d 018777 setsect 1 ,0x151d0 
+0x647e 018778 setsect 2 ,0x154f4 
+0x647f 018779 setsect 3 ,0x14951 
+0x6480 018780 istore 9 ,contw 
+0x6481 018781 setsect 0 ,0x24345 
+0x6482 018782 setsect 1 ,0x25051 
+0x6483 018783 setsect 2 ,0x4c4 
+0x6484 018784 istore 6 ,contw 
+0x6485 018785 rtn 
+:      018789 mouse_init:
+0x6486 018790 setarg le_mouse 
+0x6487 018791 store 2 ,mem_cb_le_process 
+0x6488 018792 setarg mouse_send_process 
+0x6489 018793 store 2 ,mem_cb_bt_process 
+0x648a 018794 setarg mouse_process_lpm_before 
+0x648b 018795 store 2 ,mem_cb_before_lpm 
+0x648c 018796 setarg mouse_priority_bb_event 
+0x648d 018797 store 2 ,mem_cb_bb_event_process 
+0x648e 018798 setarg mouse_idle 
+0x648f 018799 store 2 ,mem_cb_idle_process 
+0x6490 018800 setarg mouse_le_notify_update_data 
+0x6491 018801 store 2 ,mem_cb_update_notify_value 
+0x6492 018802 jam 0 ,mem_sp_flag 
+0x6493 018803 jam 0 ,mem_master_sp_flag 
+0x6494 018804 set0 mark_ext_patch ,mark 
+0x6495 018805 bpatch patch18_0 ,mem_patch18 
+0x6496 018806 call mouse_init_common 
+0x6497 018807 rtn wake 
+0x6498 018808 call mouse_init_environment 
+0x6499 018809 call mouse_dpi_init 
+0x649a 018810 setarg mouse_before_hibernate 
+0x649b 018811 store 2 ,mem_cb_before_hibernate 
+0x649c 018812 fetch 2 ,mem_ui_state_map 
+0x649d 018813 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x649e 018814 branch mouse_check_reconn_target 
+:      018816 mouse_init_environment:
+0x649f 018817 call app_initflag_check 
+0x64a0 018818 branch mouse_load_eeprom_param ,zero 
+0x64a1 018819 call eeprom_store_le_local_addr 
+0x64a2 018820 call eeprom_store_mouse_dpi 
+0x64a3 018821 branch app_initflag_store 
+:      018822 mouse_load_eeprom_param:
+0x64a4 018823 call eeprom_load_reconn_info 
+0x64a5 018824 call eeprom_load_le_loacal_addr 
+0x64a6 018825 branch eeprom_load_mouse_dpi 
+:      018827 mouse_dpi_init:
+0x64a7 018828 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x64a8 018829 branch mouse_modified_dpi 
+:      018831 mouse_idle:
+0x64a9 018832 call ui_check_paring_button 
+0x64aa 018833 call mouse_check_dpi 
+0x64ab 018834 branch mouse_wheel_check 
+:      018836 mouse_check_dpi:
+0x64ac 018837 fetcht 1 ,mem_dpi_button_gpio 
+0x64ad 018838 call gpio_get_bit 
+0x64ae 018839 nbranch mouse_dpi_up ,true 
+:      018840 mouse_dpi_down:
+0x64af 018841 fetch 1 ,mem_mouse_dpi_button_state 
+0x64b0 018842 rtneq dpi_button_state_down 
+0x64b1 018843 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0x64b2 018844 rtn 
+:      018845 mouse_dpi_up:
+0x64b3 018846 fetch 1 ,mem_mouse_dpi_button_state 
+0x64b4 018847 rtneq dpi_button_state_up 
+0x64b5 018848 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x64b6 018849 fetch 1 ,mem_mouse_dpi 
+0x64b7 018850 increase 1 ,pdata 
+0x64b8 018851 and pdata ,0x03 ,pdata 
+0x64b9 018852 store 1 ,mem_mouse_dpi 
+0x64ba 018853 branch mouse_modified_dpi 
+:      018854 mouse_modified_dpi:
+0x64bb 018855 setarg mouse_dpi_address 
+0x64bc 018856 call twspi_read 
+0x64bd 018857 and pdata ,0xfc ,temp 
+0x64be 018858 fetch 1 ,mem_mouse_dpi 
+0x64bf 018859 iadd temp ,pdata 
+0x64c0 018860 lshift8 pdata ,pdata 
+0x64c1 018861 add pdata ,mouse_dpi_address ,pdata 
+0x64c2 018862 call twspi_write 
+0x64c3 018863 branch eeprom_store_mouse_dpi 
+:      018865 mouse_init_common:
+0x64c4 018866 call mouse_init_sunt 
+0x64c5 018867 call mouse_gpio_init 
+0x64c6 018868 hfetch 2 ,core_clkoff 
+0x64c7 018869 set0 clock_off_qdecoder ,pdata 
+0x64c8 018870 hstore 2 ,core_clkoff 
+0x64c9 018871 rtn 
+:      018873 mouse_gpio_init:
+0x64ca 018874 call lpm_disable_exen_output 
+0x64cb 018875 fetcht 1 ,mem_whee_a_data_gpio 
+0x64cc 018876 call gpio_config_input 
+0x64cd 018877 fetcht 1 ,mem_whee_b_data_gpio 
+0x64ce 018878 call gpio_config_input 
+0x64cf 018879 fetcht 1 ,mem_lbutton_gpio 
+0x64d0 018880 call gpio_config_input 
+0x64d1 018881 fetcht 1 ,mem_rbutton_gpio 
+0x64d2 018882 call gpio_config_input 
+0x64d3 018883 fetcht 1 ,mem_mbutton_gpio 
+0x64d4 018884 call gpio_config_input 
+0x64d5 018885 fetcht 1 ,mem_sensor_data_gpio 
+0x64d6 018886 call gpio_config_input 
+0x64d7 018887 fetcht 1 ,mem_dpi_button_gpio 
+0x64d8 018888 call gpio_config_input 
+0x64d9 018889 hfetch 1 ,core_gpio_pu3 
+0x64da 018890 or_into 0x18 ,pdata 
+0x64db 018891 hstore 1 ,core_gpio_pu3 
+0x64dc 018892 hfetch 1 ,core_gpio_pd2 + 1 
+0x64dd 018893 and_into 0xe7 ,pdata 
+0x64de 018894 hstore 1 ,core_gpio_pd2 + 1 
+0x64df 018895 rtn 
+:      018898 mouse_before_hibernate:
+0x64e0 018899 setarg 0xbc05 
+0x64e1 018900 call twspi_write 
+0x64e2 018901 jam 1 ,mem_lpm_current_mult 
+:      018903 mouse_process_lpm_before:
+0x64e3 018904 call mouse_wheel_check 
+0x64e4 018905 arg 25 ,temp 
+0x64e5 018906 call gpio_config_output 
+0x64e6 018907 hjam 0 ,core_gpio_sel1 
+0x64e7 018908 fetcht 1 ,mem_whee_a_data_gpio 
+0x64e8 018909 call gpio_set_wake_by_current_state 
+0x64e9 018910 fetcht 1 ,mem_whee_b_data_gpio 
+0x64ea 018911 call gpio_set_wake_by_current_state 
+0x64eb 018912 fetcht 1 ,mem_lbutton_gpio 
+0x64ec 018913 call gpio_set_wake_by_current_state 
+0x64ed 018914 fetcht 1 ,mem_rbutton_gpio 
+0x64ee 018915 call gpio_set_wake_by_current_state 
+0x64ef 018916 fetcht 1 ,mem_mbutton_gpio 
+0x64f0 018917 call gpio_set_wake_by_current_state 
+0x64f1 018918 fetcht 1 ,mem_sensor_data_gpio 
+0x64f2 018919 call gpio_set_wake 
+0x64f3 018920 fetch 1 ,mem_lpm_current_mult 
+0x64f4 018921 nrtn blank 
+0x64f5 018922 branch gpio_clr_wake 
+:      018924 mouse_wheel_check:
+0x64f6 018925 set0 mark_ext_patch ,mark 
+0x64f7 018926 bpatch patch18_1 ,mem_patch18 
+0x64f8 018927 arg 0 ,rega 
+0x64f9 018928 fetcht 1 ,mem_whee_a_data_gpio 
+0x64fa 018929 call gpio_get_bit 
+0x64fb 018930 setflag true ,0 ,rega 
+0x64fc 018931 fetcht 1 ,mem_whee_b_data_gpio 
+0x64fd 018932 call gpio_get_bit 
+0x64fe 018933 setflag true ,1 ,rega 
+0x64ff 018934 copy rega ,pdata 
+0x6500 018936 and_into 0x3 ,pdata 
+0x6501 018937 fetcht 1 ,mem_mouse_z_now 
+0x6502 018938 store 1 ,mem_mouse_z_now 
+0x6503 018939 isub temp ,null 
+0x6504 018940 branch mouse_wheel_clear ,zero 
+0x6505 018941 fetch 1 ,mem_mouse_z_before 
+0x6506 018942 store 1 ,mem_mouse_z_last 
+0x6507 018943 storet 1 ,mem_mouse_z_before 
+0x6508 018944 fetch 1 ,mem_mouse_z_now 
+0x6509 018945 lshift4 pdata ,pdata 
+0x650a 018946 fetcht 1 ,mem_mouse_z_before 
+0x650b 018947 lshift2 temp ,temp 
+0x650c 018948 iadd temp ,pdata 
+0x650d 018949 fetcht 1 ,mem_mouse_z_last 
+0x650e 018950 iadd temp ,pdata 
+0x650f 018951 beq 0x38 ,mouse_wheel_forward 
+0x6510 018952 beq 0x34 ,mouse_wheel_back 
+0x6511 018953 beq 0x0b ,mouse_wheel_back 
+0x6512 018954 beq 0x07 ,mouse_wheel_forward 
+0x6513 018955 rtn 
+:      018957 mouse_wheel_clear:
+0x6514 018958 rtn 
+:      018960 mouse_wheel_forward:
+0x6515 018961 fetch 1 ,mem_mouse_z_data 
+0x6516 018962 increase 1 ,pdata 
+0x6517 018963 store 1 ,mem_mouse_z_data 
+0x6518 018964 rtn 
+:      018966 mouse_wheel_back:
+0x6519 018967 fetch 1 ,mem_mouse_z_data 
+0x651a 018968 increase -1 ,pdata 
+0x651b 018969 store 1 ,mem_mouse_z_data 
+0x651c 018970 rtn 
+:      018972 mouse_process_ble:
+0x651d 018974 rtn 
+:      018975 mouse_sleep_sensor:
+0x651e 018976 setarg 0xB805 
+0x651f 018977 branch twspi_write 
+:      018979 mouse_bb_connected:
+0x6520 018980 rtn 
+:      018982 le_mouse_bb_event_write_request:
+0x6521 018983 call app_ble_store_reconn_info 
+0x6522 018984 jam mouse_mode_state_ble ,mem_mouse_mode_state 
+0x6523 018985 call app_lpm_mult_enable 
+:      018986 le_mouse_bb_event_enc_info:
+0x6524 018987 branch app_ble_start_write 
+:      018989 le_hibernate_timer:
+0x6525 018990 fetch 2 ,mem_le_hibernate_timer 
+0x6526 018991 rtn blank 
+0x6527 018992 increase -1 ,pdata 
+0x6528 018993 store 2 ,mem_le_hibernate_timer 
+0x6529 018994 nrtn blank 
+0x652a 018995 branch app_enter_hibernate 
+:      018997 mouse_hid_connected:
+0x652b 018998 setarg hid_handshake_timeout 
+0x652c 018999 store 1 ,mem_hid_handshake_timer_count 
+0x652d 019000 rtn 
+:      019002 mouse_send_process:
+0x652e 019003 fetch 1 ,mem_app_handshake_flag 
+0x652f 019004 rtn blank 
+0x6530 019005 call l2cap_malloc_is_fifo_nearly_full 
+0x6531 019006 nrtn blank 
+0x6532 019007 call mouse_motion 
+0x6533 019008 nrtn user 
+0x6534 019009 call mouse_no_data_timer_init 
+0x6535 019010 call mouse_send_blank_packet_timer_init 
+:      019011 mouse_send_data:
+0x6536 019012 arg 8 ,rega 
+0x6537 019013 call hid_malloc_tx_buff 
+0x6538 019014 fetch 2 ,mem_hid_int_remote_cid 
+0x6539 019015 istore 2 ,contw 
+0x653a 019016 setarg 0x02a1 
+0x653b 019017 istore 2 ,contw 
+0x653c 019018 fetch 1 ,mem_mouse_key 
+0x653d 019019 istore 1 ,contw 
+0x653e 019020 fetch 2 ,mem_mouse_x 
+0x653f 019021 arg 0xfff ,temp 
+0x6540 019022 iand temp ,pdata 
+0x6541 019023 fetcht 2 ,mem_mouse_y 
+0x6542 019024 lshift4 temp ,temp 
+0x6543 019025 lshift8 temp ,temp 
+0x6544 019026 ior temp ,pdata 
+0x6545 019027 istore 3 ,contw 
+0x6546 019028 fetch 1 ,mem_mouse_z 
+0x6547 019029 istore 1 ,contw 
+0x6548 019030 setarg 0 
+0x6549 019031 istore 1 ,contw 
+0x654a 019032 jam 8 ,mem_ui_data_txbuff_length 
+0x654b 019033 rtn 
+:      019036 mouse_send_blank_packet_timer:
+0x654c 019037 set0 mark_ext_patch ,mark 
+0x654d 019038 bpatch patch18_2 ,mem_patch18 
+0x654e 019039 fetch 1 ,mem_mouse_send_blank_timer 
+0x654f 019040 rtn blank 
+0x6550 019041 increase -1 ,pdata 
+0x6551 019042 store 1 ,mem_mouse_send_blank_timer 
+0x6552 019043 nrtn blank 
+0x6553 019044 call l2cap_malloc_is_fifo_empty 
+0x6554 019045 nrtn blank 
+0x6555 019046 setarg 0 
+0x6556 019047 store 5 ,mem_mouse_x 
+0x6557 019048 call mouse_send_data 
+0x6558 019049 jam mouse_send_blank_timer ,mem_mouse_send_blank_timer 
+0x6559 019050 rtn 
+:      019051 mouse_send_blank_packet_timer_init:
+0x655a 019052 fetch 2 ,mem_mouse_blank_data_timeout 
+0x655b 019053 store 2 ,mem_mouse_blank_data_timer 
+0x655c 019054 jam mouse_send_blank_timer ,mem_mouse_send_blank_timer 
+0x655d 019055 rtn 
+:      019057 mouse_no_data_timer_init:
+0x655e 019058 fetch 2 ,mem_mouse_no_data_timeout 
+0x655f 019059 store 2 ,mem_mouse_no_data_timer 
+0x6560 019060 rtn 
+:      019063 mouse_le_notify_update_data:
+0x6561 019064 fetcht 2 ,mem_le_notify_handle 
+0x6562 019065 call le_att_get_handle_ptr 
+0x6563 019066 ifetch 1 ,contr 
+0x6564 019067 store 1 ,mem_le_notify_len 
+0x6565 019068 rtn 
+:      019071 mouse_fill_data_le:
+0x6566 019072 set0 mark_ext_patch ,mark 
+0x6567 019073 bpatch patch18_3 ,mem_patch18 
+0x6568 019074 fetcht 2 ,mem_le_notify_handle 
+0x6569 019075 call le_att_get_handle_ptr 
+0x656a 019076 add contr ,1 ,contw 
+:      019077 mouse_fill_data:
+0x656b 019078 fetch 1 ,mem_mouse_key 
+0x656c 019079 istore 1 ,contw 
+0x656d 019080 fetch 2 ,mem_mouse_x 
+0x656e 019081 arg 0xfff ,temp 
+0x656f 019082 iand temp ,pdata 
+0x6570 019083 fetcht 2 ,mem_mouse_y 
+0x6571 019084 lshift4 temp ,temp 
+0x6572 019085 lshift8 temp ,temp 
+0x6573 019086 ior temp ,pdata 
+0x6574 019087 istore 3 ,contw 
+0x6575 019088 fetch 1 ,mem_mouse_z 
+0x6576 019089 istore 1 ,contw 
+0x6577 019090 rtn 
+:      019092 mouse_motion:
+0x6578 019093 set0 mark_ext_patch ,mark 
+0x6579 019094 bpatch patch18_4 ,mem_patch18 
+0x657a 019095 disable user 
+0x657b 019096 setarg 0 
+0x657c 019097 store 5 ,mem_mouse_x 
+0x657d 019098 call p3204_motion 
+0x657e 019099 call p3204_sdio_low 
+0x657f 019100 call mouse_zwheel 
+0x6580 019101 branch mouse_key 
+:      019103 p3204_motion:
+0x6581 019104 fetch 1 ,mem_sensor_type 
+0x6582 019105 rtnne sensor_type_p3204 
+0x6583 019106 fetch 1 ,mem_mouse_move_flag 
+0x6584 019107 call p3204_clear_data ,blank 
+0x6585 019108 jam 1 ,mem_mouse_move_flag 
+0x6586 019109 disable user 
+0x6587 019110 fetcht 1 ,mem_sensor_data_gpio 
+0x6588 019111 call gpio_get_bit 
+0x6589 019112 nrtn true 
+0x658a 019113 setarg 0 
+0x658b 019114 call twspi_read 
+0x658c 019115 bne p3204_id ,twspi_reset 
+0x658d 019116 setarg 2 
+0x658e 019117 call twspi_read 
+0x658f 019118 rtnbit0 7 
+0x6590 019119 setarg 3 
+0x6591 019120 call twspi_read 
+0x6592 019121 call extsign 
+0x6593 019122 store 2 ,mem_mouse_x 
+0x6594 019123 setarg 4 
+0x6595 019124 call twspi_read 
+0x6596 019125 call extsign 
+0x6597 019126 sub pdata ,0 ,pdata 
+0x6598 019127 store 2 ,mem_mouse_y 
+0x6599 019128 fetch 4 ,mem_mouse_x 
+0x659a 019129 enable user 
+0x659b 019130 rtn 
+:      019131 mouse_zwheel:
+0x659c 019132 fetch 1 ,mem_mouse_z_data 
+0x659d 019133 rtn blank 
+0x659e 019134 store 1 ,mem_mouse_z 
+0x659f 019135 jam 0 ,mem_mouse_z_data 
+0x65a0 019136 enable user 
+0x65a1 019137 rtn 
+:      019138 mouse_key:
+0x65a2 019139 arg 0 ,rega 
+0x65a3 019140 fetcht 1 ,mem_lbutton_gpio 
+0x65a4 019141 call gpio_get_bit 
+0x65a5 019142 setflag true ,0 ,rega 
+0x65a6 019143 fetcht 1 ,mem_rbutton_gpio 
+0x65a7 019144 call gpio_get_bit 
+0x65a8 019145 setflag true ,1 ,rega 
+0x65a9 019146 fetcht 1 ,mem_mbutton_gpio 
+0x65aa 019147 call gpio_get_bit 
+0x65ab 019148 setflag true ,2 ,rega 
+0x65ac 019149 deposit rega 
+0x65ad 019150 fetcht 1 ,mem_mouse_key 
+0x65ae 019151 store 1 ,mem_mouse_key 
+0x65af 019152 ixor temp ,pdata 
+0x65b0 019153 sub pdata ,0 ,null 
+0x65b1 019154 rtn zero 
+0x65b2 019155 enable user 
+0x65b3 019156 rtn 
+:      019161 p3204_sdio_low:
+0x65b4 019162 arg 26 ,temp 
+0x65b5 019163 call gpio_get_bit 
+0x65b6 019164 rtn true 
+0x65b7 019165 setarg 0 
+0x65b8 019166 call twspi_read 
+0x65b9 019167 branch p3204_sdio_low 
+:      019169 p3204_clear_data:
+0x65ba 019170 arg 0 ,loopcnt 
+:      019171 p3204_clear_data_loop:
+0x65bb 019172 setarg 2 
+0x65bc 019173 call twspi_read 
+0x65bd 019174 nop 100 
+0x65be 019175 increase 1 ,loopcnt 
+0x65bf 019176 fetcht 1 ,mem_sensor_data_gpio 
+0x65c0 019177 call gpio_get_bit 
+0x65c1 019178 branch p3204_clear_data_loop ,true 
+0x65c2 019179 deposit loopcnt 
+0x65c3 019180 store 2 ,mem_init_cnt 
+0x65c4 019181 rtn 
+:      019182 mouse_init_sunt:
+0x65c5 019183 call spid_init 
+0x65c6 019184 rtn wake 
+:      019186 mouse_init_p3204:
+0x65c7 019187 setarg 0 
+0x65c8 019188 call twspi_read 
+0x65c9 019189 store 1 ,mem_sensor_id 
+0x65ca 019190 beq p3204_id ,mouse_init_p3204_cont 
+0x65cb 019191 call twspi_reset 
+0x65cc 019192 nop 10000 
+0x65cd 019193 branch mouse_init_p3204 
+:      019194 mouse_init_p3204_cont:
+0x65ce 019195 setarg 0x8006 
+0x65cf 019196 call twspi_write 
+0x65d0 019197 nop 1000 
+0x65d1 019198 jam sensor_type_p3204 ,mem_sensor_type 
+0x65d2 019199 rtn 
+:      019203 extsign:
+0x65d3 019204 rtnbit0 7 
+0x65d4 019205 arg 0xff00 ,temp 
+0x65d5 019206 ior temp ,pdata 
+0x65d6 019207 rtn 
+:      019211 le_mouse:
+0x65d7 019212 call le_xtype_fifo_is_near_full 
+0x65d8 019213 nrtn blank 
+0x65d9 019214 fetcht 2 ,mem_le_notify_handle 
+0x65da 019215 call le_att_check_notification_enable 
+0x65db 019216 rtnbit0 0 
+0x65dc 019217 fetch 1 ,mem_le_switch_send_data 
+0x65dd 019218 rtnbit0 0 
+0x65de 019219 call mouse_motion 
+0x65df 019221 nrtn user 
+0x65e0 019222 call mouse_no_data_timer_init 
+0x65e1 019224 jam attop_handle_value_notification ,mem_fifo_temp 
+0x65e2 019225 call le_xtype_fifo_in 
+0x65e3 019226 branch mouse_fill_data_le 
+:      019228 mouse_test:
+0x65e4 019229 rtn user 
+0x65e5 019230 fetch 1 ,mem_mouse_test_cnt 
+0x65e6 019231 increase 1 ,pdata 
+0x65e7 019232 store 1 ,mem_mouse_test_cnt 
+0x65e8 019233 arg 1 ,temp 
+0x65e9 019234 bbit0 7 ,mouse_test_pos 
+0x65ea 019235 arg 0xffff ,temp 
+:      019236 mouse_test_pos:
+0x65eb 019237 storet 5 ,mem_mouse_x 
+0x65ec 019238 enable user 
+0x65ed 019239 rtn 
+:      019241 mouse_check_mode_state:
+0x65ee 019242 disable user 
+0x65ef 019243 fetch 1 ,mem_mouse_mode_state 
+0x65f0 019244 rtneq mouse_mode_state_ble 
+0x65f1 019245 enable user 
+0x65f2 019246 rtn 
+:      019248 mouse_priority_bb_event:
+0x65f3 019249 copy regc ,pdata 
+0x65f4 019250 beq bt_evt_le_connected ,le_mouse_bb_event_connected 
+0x65f5 019251 beq bt_evt_bb_connected ,mouse_stop_discovery 
+0x65f6 019252 beq bt_evt_le_disconnected ,mouse_bb_disconnected 
+0x65f7 019253 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+0x65f8 019254 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+0x65f9 019255 beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+0x65fa 019256 beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+0x65fb 019257 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+0x65fc 019258 beq bt_evt_le_write_request ,le_mouse_bb_event_write_request 
+0x65fd 019259 beq bt_evt_le_enc_info ,le_mouse_bb_event_enc_info 
+0x65fe 019260 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+0x65ff 019261 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_failed 
+0x6600 019262 beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+0x6601 019263 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x6602 019264 and pdata ,0x0f ,temp 
+0x6603 019265 and_into bt_evt_timer_mask ,pdata 
+0x6604 019266 beq bt_evt_timer_init ,mouse_bb_event_timer 
+0x6605 019267 rtn 
+:      019269 le_mouse_bb_event_connected:
+0x6606 019270 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x6607 019271 set0 app_disc_by_button ,pdata 
+0x6608 019272 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x6609 019273 setarg 0 
+0x660a 019274 store 2 ,mem_mouse_direct_timer 
+0x660b 019275 fetch 1 ,mem_conn_cnt 
+0x660c 019276 increase 1 ,pdata 
+0x660d 019277 store 1 ,mem_conn_cnt 
+0x660e 019278 branch mouse_stop_discovery 
+:      019280 mouse_bb_event_pincode:
+0x660f 019281 call pincode_reinit 
+0x6610 019282 branch app_bt_set_pincode 
+:      019284 mouse_bb_event_reconn_failed:
+0x6611 019285 fetch 2 ,mem_ui_state_map 
+0x6612 019286 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x6613 019287 branch app_bb_hibernate 
+:      019290 mouse_bt_hid_connected:
+0x6614 019291 call mouse_hid_connected 
+0x6615 019292 rtn 
+:      019293 mouse_bt_event_setup_complete:
+0x6616 019294 rtn 
+:      019296 mouse_bb_disconnected:
+0x6617 019297 set0 mark_ext_patch ,mark 
+0x6618 019298 bpatch patch18_5 ,mem_patch18 
+0x6619 019299 call mouse_bb_discon_clear_stack 
+0x661a 019300 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x661b 019301 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+0x661c 019302 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x661d 019303 bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+0x661e 019304 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+0x661f 019305 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x6620 019306 branch mouse_start_discovery 
+:      019307 mouse_bb_discon_clear_stack:
+0x6621 019308 setarg 0 
+0x6622 019309 store 4 ,mem_mouse_z_last 
+0x6623 019310 jam 0 ,mem_mouse_send_blank_timer 
+0x6624 019311 jam 0 ,mem_mouse_move_flag 
+0x6625 019312 jam app_handshake_null ,mem_app_handshake_flag 
+0x6626 019313 jam 0 ,mem_ltk_exists 
+0x6627 019314 jam 0 ,mem_mouse_mode_state 
+0x6628 019315 jam 0 ,mem_reconnect_timeout 
+0x6629 019316 rtn 
+:      019318 mouse_event_light_state_pairing:
+0x662a 019319 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+0x662b 019320 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x662c 019321 branch mouse_start_discovery 
+:      019322 mouse_event_light_state_hibernate:
+0x662d 019323 fetch 2 ,mem_ui_state_map 
+0x662e 019324 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x662f 019325 branch app_bb_hibernate 
+:      019327 mouse4_0_event_bb_disconn:
+0x6630 019328 call le_clean_att_list_handle_enable 
+0x6631 019329 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x6632 019330 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x6633 019331 branch app_bb_hibernate 
+:      019333 mouse_bb_event_timer:
+0x6634 019334 set0 mark_ext_patch ,mark 
+0x6635 019335 bpatch patch18_6 ,mem_patch18 
+0x6636 019336 storet 1 ,mem_app_evt_timer_count 
+:      019337 mouse_bb_event_100ms_loop:
+0x6637 019338 fetch 1 ,mem_app_evt_timer_count 
+0x6638 019339 rtn blank 
+0x6639 019340 increase -1 ,pdata 
+0x663a 019341 store 1 ,mem_app_evt_timer_count 
+0x663b 019344 call mouse_check_hid_handshake_timer 
+0x663c 019345 call mouse_check_discovery_timeout_timer 
+0x663d 019346 call mouse_check_direct_timeout_timer 
+0x663e 019347 call mouse_check_no_data_timeout_timer 
+0x663f 019349 fetch 1 ,mem_mouse_mode_state 
+0x6640 019350 compare mouse_mode_state_ble ,pdata ,0xff 
+0x6641 019351 call mouse4_0_bb_event_100ms ,true 
+0x6642 019352 fetch 1 ,mem_mouse_mode_state 
+0x6643 019353 compare mouse_mode_state_bt ,pdata ,0xff 
+0x6644 019354 call mouse3_0_bb_event_100ms ,true 
+0x6645 019355 branch mouse_bb_event_100ms_loop 
+:      019357 mouse3_0_bb_event_100ms:
+0x6646 019359 call mouse_check_blank_data_timeout_timer 
+0x6647 019360 branch mouse_send_blank_packet_timer 
+:      019362 mouse4_0_bb_event_100ms:
+0x6648 019364 rtn 
+:      019366 mouse_check_hid_handshake_timer:
+0x6649 019367 fetch 1 ,mem_hid_handshake_timer_count 
+0x664a 019368 rtn blank 
+0x664b 019369 increase -1 ,pdata 
+0x664c 019370 store 1 ,mem_hid_handshake_timer_count 
+0x664d 019371 nrtn blank 
+0x664e 019372 branch mouse_bt_hid_handshake 
+:      019374 mouse_check_discovery_timeout_timer:
+0x664f 019375 fetch 2 ,mem_mouse_discovery_timer 
+0x6650 019376 rtn blank 
+0x6651 019377 increase -1 ,pdata 
+0x6652 019378 store 2 ,mem_mouse_discovery_timer 
+0x6653 019379 nrtn blank 
+0x6654 019380 call mouse_stop_discovery 
+0x6655 019381 branch app_enter_hibernate 
+:      019383 mouse_check_direct_timeout_timer:
+0x6656 019384 fetch 2 ,mem_mouse_direct_timer 
+0x6657 019385 rtn blank 
+0x6658 019386 increase -1 ,pdata 
+0x6659 019387 store 2 ,mem_mouse_direct_timer 
+0x665a 019388 nrtn blank 
+0x665b 019389 call app_ble_stop_direct_adv 
+0x665c 019390 branch app_enter_hibernate 
+:      019392 mouse_check_blank_data_timeout_timer:
+0x665d 019393 fetch 2 ,mem_mouse_blank_data_timer 
+0x665e 019394 rtn blank 
+0x665f 019395 increase -1 ,pdata 
+0x6660 019396 store 2 ,mem_mouse_blank_data_timer 
+0x6661 019397 nrtn blank 
+0x6662 019398 jam 0 ,mem_mouse_send_blank_timer 
+0x6663 019399 rtn 
+:      019401 mouse_check_no_data_timeout_timer:
+0x6664 019402 fetch 2 ,mem_mouse_no_data_timer 
+0x6665 019403 rtn blank 
+0x6666 019404 increase -1 ,pdata 
+0x6667 019405 store 2 ,mem_mouse_no_data_timer 
+0x6668 019406 nrtn blank 
+0x6669 019407 branch mouse_disconnect 
+:      019409 mouse_bb_event_discovery_btn:
+0x666a 019410 set0 mark_ext_patch ,mark 
+0x666b 019411 bpatch patch18_7 ,mem_patch18 
+0x666c 019412 jam 0 ,mem_mouse_send_blank_timer 
+0x666d 019413 jam 1 ,mem_reconnect_timeout 
+0x666e 019414 setarg 0 
+0x666f 019415 store 2 ,mem_mouse_direct_timer 
+0x6670 019416 call mouse_disconnect 
+0x6671 019417 fetch 1 ,mem_device_option 
+0x6672 019418 isolate1 mode_4_mouse ,pdata 
+0x6673 019419 call mouse4_0_bb_event_discovery_btn ,true 
+0x6674 019420 fetch 1 ,mem_device_option 
+0x6675 019421 isolate1 mode_3_mouse ,pdata 
+0x6676 019422 call mouse3_0_bb_event_discovery_btn ,true 
+0x6677 019423 call app_lpm_mult_disable 
+0x6678 019424 branch mouse_start_discovery 
+:      019428 mouse3_0_check_reconn_target:
+0x6679 019429 fetch 6 ,mem_hci_plap 
+0x667a 019430 branch app_bt_start_discovery_short ,blank 
+0x667b 019431 branch app_bt_start_reconnect 
+:      019433 mouse4_0_check_reconn_target:
+0x667c 019434 fetch 6 ,mem_hci_plap 
+0x667d 019435 branch mouse4_0_no_reconn_target ,blank 
+0x667e 019436 fetch 2 ,mem_mouse_direct_timeout 
+0x667f 019437 store 2 ,mem_mouse_direct_timer 
+0x6680 019438 call app_lpm_mult_enable 
+0x6681 019439 branch app_ble_start_direct_adv 
+:      019440 mouse4_0_no_reconn_target:
+0x6682 019441 call app_led_start_blink 
+0x6683 019442 branch app_ble_start_adv 
+:      019444 mouse3_0_bb_event_discovery_btn:
+0x6684 019445 fetch 2 ,mem_ui_state_map 
+0x6685 019446 isolate1 ui_state_bt_reconnect ,pdata 
+0x6686 019447 call app_bt_reconnect_cancel ,true 
+0x6687 019448 rtn 
+:      019449 mouse4_0_bb_event_discovery_btn:
+0x6688 019450 call le_clean_att_list_handle_enable 
+0x6689 019451 rtn 
+:      019453 mouse_bt_hid_handshake:
+0x668a 019454 jam app_handshake_done ,mem_app_handshake_flag 
+0x668b 019455 call app_lpm_mult_enable 
+0x668c 019456 call app_bt_store_reconn_info 
+0x668d 019457 jam mouse_mode_state_bt ,mem_mouse_mode_state 
+0x668e 019458 setarg 0 
+0x668f 019459 store 2 ,mem_discovery_timeout_timer_count 
+0x6690 019460 store 1 ,mem_hid_handshake_timer_count 
+0x6691 019461 call app_bt_enter_sniff 
+0x6692 019462 branch mouse_send_blank_packet_timer_init 
+:      019464 mouse_check_reconn_target:
+0x6693 019465 fetch 1 ,mem_xrecord_mode 
+0x6694 019466 beq rec_3_mode ,mouse3_0_check_reconn_target 
+0x6695 019467 beq rec_4_mode ,mouse4_0_check_reconn_target 
+0x6696 019468 branch mouse_start_discovery 
+:      019470 mouse_start_discovery:
+0x6697 019471 set0 mark_ext_patch ,mark 
+0x6698 019472 bpatch patch19_0 ,mem_patch19 
+0x6699 019473 fetch 1 ,mem_le_lap 
+0x669a 019474 increase 1 ,pdata 
+0x669b 019475 store 1 ,mem_le_lap 
+0x669c 019476 call app_lpm_mult_disable 
+0x669d 019477 fetch 2 ,mem_discovery_timeout 
+0x669e 019478 store 2 ,mem_mouse_discovery_timer 
+0x669f 019479 fetch 1 ,mem_device_option 
+0x66a0 019480 isolate1 mode_4_mouse ,pdata 
+0x66a1 019481 call app_ble_start_adv ,true 
+0x66a2 019482 fetch 1 ,mem_device_option 
+0x66a3 019483 isolate1 mode_3_mouse ,pdata 
+0x66a4 019484 call app_bt_start_discovery ,true 
+0x66a5 019485 branch app_led_start_blink 
+:      019487 mouse_stop_discovery:
+0x66a6 019488 set0 mark_ext_patch ,mark 
+0x66a7 019489 bpatch patch19_1 ,mem_patch19 
+0x66a8 019490 setarg 0 
+0x66a9 019491 store 2 ,mem_mouse_discovery_timer 
+0x66aa 019492 fetch 1 ,mem_device_option 
+0x66ab 019493 isolate1 mode_4_mouse ,pdata 
+0x66ac 019494 call app_ble_stop_adv ,true 
+0x66ad 019495 fetch 1 ,mem_device_option 
+0x66ae 019496 isolate1 mode_3_mouse ,pdata 
+0x66af 019497 call app_bt_stop_discovery ,true 
+0x66b0 019498 branch app_led_stop_blink 
+:      019500 mouse_disconnect:
+0x66b1 019501 set0 mark_ext_patch ,mark 
+0x66b2 019502 bpatch patch19_2 ,mem_patch19 
+0x66b3 019503 setarg 0 
+0x66b4 019504 store 2 ,mem_mouse_no_data_timer 
+0x66b5 019505 fetch 2 ,mem_ui_state_map 
+0x66b6 019506 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x66b7 019507 fetch 2 ,mem_ui_state_map 
+0x66b8 019508 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x66b9 019509 rtn 
+:      019511 eeprom_store_mouse_dpi:
+0x66ba 019512 set0 mark_ext_patch ,mark 
+0x66bb 019513 bpatch patch19_3 ,mem_patch19 
+0x66bc 019514 arg 1 ,temp 
+0x66bd 019515 arg mem_mouse_dpi ,rega 
+0x66be 019516 arg mouse_dpi_eeprom_addr ,regb 
+0x66bf 019517 branch iicd_write_eep_data 
+:      019519 eeprom_load_mouse_dpi:
+0x66c0 019520 set0 mark_ext_patch ,mark 
+0x66c1 019521 bpatch patch19_4 ,mem_patch19 
+0x66c2 019522 arg 1 ,temp 
+0x66c3 019523 arg mem_mouse_dpi ,rega 
+0x66c4 019524 arg mouse_dpi_eeprom_addr ,regb 
+0x66c5 019525 branch iicd_read_eep_data 
+:      019533 twspi_reset:
+0x66c6 019534 set0 mark_ext_patch ,mark 
+0x66c7 019535 bpatch patch1f_6 ,mem_patch1f 
+0x66c8 019536 hfetch 1 ,core_gpio_oe3 
+0x66c9 019537 arg 0x06 ,temp 
+0x66ca 019538 ior temp ,pdata 
+0x66cb 019539 hstore 1 ,core_gpio_oe3 
+0x66cc 019540 hfetch 1 ,core_gpio_out3 
+0x66cd 019541 ior temp ,pdata 
+0x66ce 019542 hstore 1 ,core_gpio_out3 
+0x66cf 019543 hjam 0 ,core_gpio_sel1 
+0x66d0 019544 hfetch 1 ,core_gpio_out3 
+0x66d1 019545 set0 1 ,pdata 
+0x66d2 019546 set0 2 ,pdata 
+0x66d3 019547 hstore 1 ,core_gpio_out3 
+0x66d4 019548 nop 30 
+0x66d5 019549 hjam 1 ,core_gpio_sel1 
+0x66d6 019550 rtn 
+:      019551 twspi_write:
+0x66d7 019552 branch spid_write_reg 
+:      019554 twspi_read:
+0x66d8 019555 branch spid_read_reg 
+:      019562 read_function_aes:
+0x66d9 019563 nbranch read_function ,user 
+0x66da 019564 hfetch 1 ,core_gpio_key2 
+0x66db 019565 or_into 0x20 ,pdata 
+0x66dc 019566 hstore 1 ,core_gpio_key2 
+:      019567 read_function:
+0x66dd 019568 copy temp ,null 
+0x66de 019569 branch read_fuction_zero ,zero 
+0x66df 019570 copy regc ,pc 
+:      019571 read_fuction_zero:
+0x66e0 019572 isolate0 0 ,null 
+0x66e1 019573 branch set_ucode_status 
+:      019576 get_block_header:
+0x66e2 019577 force 4 ,temp 
+:      019578 get_block_header0:
+0x66e3 019579 arg mem_ucode_buf ,rega 
+0x66e4 019580 hfetch 1 ,core_gpio_key2 
+0x66e5 019581 and_into 0xdf ,pdata 
+0x66e6 019582 hstore 1 ,core_gpio_key2 
+0x66e7 019583 call read_function 
+0x66e8 019584 arg 0x55aa ,rega 
+0x66e9 019585 fetch 2 ,mem_ucode_buf 
+0x66ea 019586 ifetcht 2 ,contr 
+0x66eb 019587 isub rega ,null 
+0x66ec 019588 rtn 
+:      019590 read_first_block:
+0x66ed 019591 arg 2 ,temp 
+0x66ee 019592 arg mem_ucode_ptr ,rega 
+0x66ef 019593 call read_function 
+0x66f0 019594 fetch 2 ,mem_ucode_ptr 
+0x66f1 019595 store 2 ,mem_addr_mi 
+0x66f2 019596 call get_iv ,user 
+0x66f3 019597 rtn 
+:      019599 get_iv:
+0x66f4 019600 arg 16 ,temp 
+0x66f5 019601 arg mem_ucode_keybuf ,rega 
+0x66f6 019602 hfetch 1 ,core_gpio_key2 
+0x66f7 019603 and_into 0xdf ,pdata 
+0x66f8 019604 hstore 1 ,core_gpio_key2 
+0x66f9 019605 call read_function 
+0x66fa 019606 arg mem_ucode_keybuf ,contr 
+0x66fb 019607 arg 16 ,loopcnt 
+0x66fc 019608 call aes_load_data 
+0x66fd 019609 call aes_init 
+0x66fe 019610 call aes_clear_data 
+0x66ff 019611 branch do_aes_cbc 
+:      019613 load_storage:
+0x6700 019614 disable match 
+0x6701 019615 call get_block_header 
+0x6702 019616 nrtn zero 
+0x6703 019617 enable match 
+0x6704 019618 hjam 0x80 ,core_ucode_ctrl 
+0x6705 019619 hjam 0 ,core_ucode_hi 
+0x6706 019620 hjam 0 ,core_ucode_low 
+0x6707 019621 arg core_ucode_data ,rega 
+0x6708 019622 call read_function_aes 
+0x6709 019623 hjam 0x0 ,core_ucode_ctrl 
+0x670a 019624 call get_block_header 
+0x670b 019625 nrtn zero 
+0x670c 019626 force 0 ,pdata 
+0x670d 019627 hstore 2 ,core_docd_paddr 
+0x670e 019628 arg core_docd_pdata ,rega 
+0x670f 019629 call read_function_aes 
+:      019630 load_storage_loop:
+0x6710 019631 arg 6 ,temp 
+0x6711 019632 call get_block_header0 
+0x6712 019633 nrtn zero 
+0x6713 019634 ifetch 2 ,contr 
+0x6714 019635 iforce rega 
+0x6715 019636 call read_function 
+0x6716 019637 branch load_storage_loop 
+:      019643 reload_eeprom:
+0x6717 019644 call clean_mem 
+0x6718 019645 setarg 0x1000 
+0x6719 019646 store 2 ,mem_addr_mi 
+0x671a 019647 arg iicd_read_eep ,regc 
+0x671b 019648 arg 2 ,loopcnt 
+:      019649 reload_eeprom_loop:
+0x671c 019650 call get_block_header 
+0x671d 019651 nrtn zero 
+0x671e 019652 fetch 2 ,mem_addr_mi 
+0x671f 019653 byteswap pdata ,pdata 
+0x6720 019654 iadd temp ,pdata 
+0x6721 019655 byteswap pdata ,pdata 
+0x6722 019656 store 2 ,mem_addr_mi 
+0x6723 019657 loop reload_eeprom_loop 
+0x6724 019658 branch load_storage_loop 
+:      019660 loadcode:
+0x6725 019661 hjam 0x25 ,core_clkoff 
+0x6726 019662 hjam 5 ,core_docd_ctrl 
+0x6727 019663 call clean_mem 
+:      019664 loadcode_lpm:
+0x6728 019665 disable user 
+0x6729 019666 call otp_enable_chgpump 
+0x672a 019667 setarg otp_ucode_flag 
+0x672b 019668 arg mem_otp_ucode_flag ,rega 
+0x672c 019669 arg 2 ,temp 
+0x672d 019670 call otpd_read_data 
+0x672e 019671 fetch 2 ,mem_otp_ucode_flag 
+0x672f 019672 bbit0 otp_uflag_aes ,loadcode_otp 
+0x6730 019673 setarg otp_ucode_aeskey 
+0x6731 019674 arg mem_ucode_keybuf ,rega 
+0x6732 019675 arg 16 ,temp 
+0x6733 019676 call otpd_read_data 
+0x6734 019677 hjam lock_otp ,core_misc_ctrl 
+0x6735 019678 arg mem_ucode_keybuf ,contr 
+0x6736 019679 call load_key 
+0x6737 019680 enable user 
+:      019681 loadcode_otp:
+0x6738 019682 fetch 2 ,mem_otp_ucode_flag 
+0x6739 019683 byteswap pdata ,pdata 
+0x673a 019684 arg 0x7ff ,temp 
+0x673b 019685 iand temp ,pdata 
+0x673c 019686 branch loadcode_spi ,zero 
+0x673d 019687 call otp_set_addr 
+0x673e 019688 arg otpd_read_code ,regc 
+0x673f 019689 call get_iv ,user 
+0x6740 019690 call load_storage 
+0x6741 019691 fetch 1 ,mem_ucode_status 
+0x6742 019692 compare 3 ,pdata ,3 
+0x6743 019693 nbranch loadcode_otp ,true 
+:      019694 loadcode_spi:
+0x6744 019695 call otp_disable_chgpump 
+0x6745 019696 fetch 1 ,mem_otp_ucode_flag 
+0x6746 019697 bbit1 otp_uflag_skip_flash ,loadcode_iic 
+0x6747 019698 setarg 0x0 
+0x6748 019699 store 3 ,mem_addr_hi 
+0x6749 019700 call spid_init_flash 
+0x674a 019701 arg spid_read_flash ,regc 
+0x674b 019702 call read_first_block 
+0x674c 019703 call load_storage 
+0x674d 019704 nbranch loadcode_iic ,match 
+0x674e 019705 fetch 1 ,mem_ucode_status 
+0x674f 019706 compare 3 ,pdata ,3 
+0x6750 019707 nbranch loadcode_spi ,true 
+:      019708 loadcode_iic:
+0x6751 019709 fetch 1 ,mem_otp_ucode_flag 
+0x6752 019710 bbit1 otp_uflag_skip_eep ,loadcode_hci 
+0x6753 019711 setarg 0x0 
+0x6754 019712 store 2 ,mem_addr_mi 
+0x6755 019713 arg iicd_read_eep ,regc 
+0x6756 019714 call iicd_init_12m 
+0x6757 019715 call read_first_block 
+0x6758 019716 call load_storage 
+0x6759 019717 nbranch loadcode_hci ,match 
+0x675a 019718 fetch 1 ,mem_ucode_status 
+0x675b 019719 compare 3 ,pdata ,3 
+0x675c 019720 nbranch loadcode_iic ,true 
+:      019721 loadcode_hci:
+0x675d 019722 hjam 0x21 ,core_clkoff 
+0x675e 019723 fetch 1 ,mem_otp_ucode_flag 
+0x675f 019724 rtnbit0 otp_uflag_hci 
+0x6760 019725 call hci_init 
+:      019726 loadcode_hci_loop:
+0x6761 019727 call hci_rx_packet 
+0x6762 019728 branch loadcode_hci_loop 
+:      019731 set_ucode_status:
+0x6763 019732 fetch 1 ,mem_ucode_status 
+0x6764 019733 lshift pdata ,pdata 
+0x6765 019734 setflag true ,0 ,pdata 
+0x6766 019735 isolate0 15 ,rega 
+0x6767 019736 rtn true 
+0x6768 019737 store 1 ,mem_ucode_status 
+0x6769 019738 rtn 
+:      019741 decrypt_code:
+0x676a 019742 hfetch 1 ,core_gpio_key2 
+0x676b 019743 rtnbit0 5 
+0x676c 019744 branch decrypt_code_skip 
+:      019745 decrypt_code_loop:
+0x676d 019746 hfetch 1 ,core_dma_status 
+0x676e 019747 qisolate1 pdata 
+0x676f 019748 rtn true 
+:      019749 decrypt_code_skip:
+0x6770 019750 hfetch 1 ,core_misc_status 
+0x6771 019751 bbit0 1 ,decrypt_code_loop 
+0x6772 019752 call do_aes_cbc 
+0x6773 019753 branch decrypt_code_loop 
+:      019757 save_ucode:
+0x6774 019758 copy loopcnt ,temp 
+0x6775 019759 storet 2 ,mem_patch_len 
+0x6776 019760 hjam 0x80 ,core_ucode_ctrl 
+0x6777 019761 hjam 0 ,core_ucode_hi 
+0x6778 019762 hjam 0 ,core_ucode_low 
+0x6779 019763 store 2 ,mem_patch_ptr 
+0x677a 019764 iforce contw 
+0x677b 019765 lshift2 loopcnt ,loopcnt 
+:      019766 save_ucode_loop:
+0x677c 019767 hfetch 1 ,core_ucode_data 
+0x677d 019768 istore 1 ,contw 
+0x677e 019769 loop save_ucode_loop 
+0x677f 019770 hjam 0x0 ,core_ucode_ctrl 
+0x6780 019771 rtn 
+:      019773 load_ucode:
+0x6781 019774 fetch 2 ,mem_patch_ptr 
+0x6782 019775 rtn blank 
+0x6783 019776 hjam 0x80 ,core_ucode_ctrl 
+0x6784 019777 hjam 0 ,core_ucode_hi 
+0x6785 019778 hjam 0 ,core_ucode_low 
+0x6786 019779 fetcht 2 ,mem_patch_len 
+0x6787 019780 lshift2 temp ,loopcnt 
+0x6788 019781 iforce contr 
+:      019782 load_ucode_loop:
+0x6789 019783 ifetch 1 ,contr 
+0x678a 019784 hstore 1 ,core_ucode_data 
+0x678b 019785 loop load_ucode_loop 
+0x678c 019786 hjam 0x0 ,core_ucode_ctrl 
+0x678d 019787 rtn 
+:      019792 spid_init:
+0x678e 019793 set0 mark_ext_patch ,mark 
+0x678f 019794 bpatch patch1f_7 ,mem_patch1f 
+0x6790 019795 hjam 0x75 ,core_spid_ctrl 
+0x6791 019796 hjam 10 ,core_spid_delay 
+0x6792 019797 setarg mem_spid_tbuf 
+0x6793 019798 hstore 2 ,core_spid_txaddr 
+0x6794 019799 setarg mem_spid_rbuf 
+0x6795 019800 hstore 2 ,core_spid_rxaddr 
+0x6796 019801 hfetch 1 ,core_gpio_sel1 
+0x6797 019802 set1 0 ,pdata 
+0x6798 019803 set0 1 ,pdata 
+0x6799 019804 hstore 1 ,core_gpio_sel1 
+0x679a 019805 rtn 
+:      019807 spid_reset:
+0x679b 019808 hfetch 1 ,core_spid_ctrl 
+0x679c 019809 set1 7 ,pdata 
+0x679d 019810 hstore 1 ,core_spid_ctrl 
+0x679e 019811 set0 7 ,pdata 
+0x679f 019812 hstore 1 ,core_spid_ctrl 
+0x67a0 019813 rtn 
+:      019817 spid_write_reg:
+0x67a1 019818 set1 7 ,pdata 
+0x67a2 019819 store 2 ,mem_spid_tbuf 
+0x67a3 019820 set1 mark_ext_patch ,mark 
+0x67a4 019821 bpatch patch20_0 ,mem_patch20 
+0x67a5 019822 hjam 2 ,core_spid_txlen 
+0x67a6 019823 hjam 0 ,core_spid_rxlen 
+0x67a7 019824 hjam spid_start ,core_misc_ctrl 
+0x67a8 019825 branch wait_spid_done 
+:      019828 spid_read_reg:
+0x67a9 019829 force 1 ,temp 
+:      019831 spid_read_regs:
+0x67aa 019833 store 1 ,mem_spid_tbuf 
+0x67ab 019834 set1 mark_ext_patch ,mark 
+0x67ac 019835 bpatch patch20_1 ,mem_patch20 
+0x67ad 019836 hjam 1 ,core_spid_txlen 
+0x67ae 019837 hstoret 2 ,core_spid_rxlen 
+0x67af 019838 hjam spid_start ,core_misc_ctrl 
+0x67b0 019839 call wait_spid_done 
+0x67b1 019840 fetch 1 ,mem_spid_rbuf 
+0x67b2 019841 rtn 
+:      019843 wait_spid_done:
+0x67b3 019844 fetch 2 ,mem_afh_error_total 
+0x67b4 019845 increase 1 ,pdata 
+0x67b5 019846 store 2 ,mem_afh_error_total 
+0x67b6 019847 hfetch 1 ,core_dma_status 
+0x67b7 019848 bbit0 spid_done ,wait_spid_done 
+0x67b8 019849 rtn 
+:      019851 spid_init_flash:
+0x67b9 019852 hjam 0x40 ,core_spid_ctrl 
+0x67ba 019853 hjam 0x0 ,core_spid_delay 
+0x67bb 019854 hfetch 1 ,core_gpio_sel1 
+0x67bc 019855 set0 0 ,pdata 
+0x67bd 019856 set1 1 ,pdata 
+0x67be 019857 hstore 1 ,core_gpio_sel1 
+0x67bf 019858 setarg 0 
+0x67c0 019859 store 4 ,mem_spid_tbuf 
+0x67c1 019860 rtn 
+:      019862 spid_unlock_flash:
+0x67c2 019863 setarg 0 
+0x67c3 019864 hstore 2 ,core_spid_rxlen 
+0x67c4 019865 setarg 1 
+0x67c5 019866 hstore 1 ,core_spid_txlen 
+0x67c6 019867 setarg mem_spid_tbuf 
+0x67c7 019868 hstore 2 ,core_spid_txaddr 
+0x67c8 019869 jam 6 ,mem_spid_tbuf 
+0x67c9 019870 hjam spid_start ,core_misc_ctrl 
+0x67ca 019871 branch wait_spid_done 
+:      019875 spid_write_flash:
+0x67cb 019876 increase 4 ,temp 
+0x67cc 019877 hstoret 2 ,core_spid_txlen 
+0x67cd 019878 increase -4 ,rega 
+0x67ce 019879 arg 2 ,temp 
+0x67cf 019880 istoret 1 ,rega 
+0x67d0 019881 rshift16 pdata ,temp 
+0x67d1 019882 istoret 1 ,contw 
+0x67d2 019883 rshift8 pdata ,temp 
+0x67d3 019884 istoret 1 ,contw 
+0x67d4 019885 istore 1 ,contw 
+0x67d5 019886 deposit rega 
+0x67d6 019887 hstore 2 ,core_spid_txaddr 
+0x67d7 019888 setarg 0 
+0x67d8 019889 hstore 2 ,core_spid_rxlen 
+0x67d9 019890 hjam spid_start ,core_misc_ctrl 
+0x67da 019891 branch wait_spid_done 
+:      019895 spid_read_flash:
+0x67db 019896 hstoret 2 ,core_spid_rxlen 
+0x67dc 019897 setarg 4 
+0x67dd 019898 hstore 2 ,core_spid_txlen 
+0x67de 019899 jam 3 ,mem_spid_tbuf 
+0x67df 019900 setarg mem_spid_tbuf 
+0x67e0 019901 hstore 2 ,core_spid_txaddr 
+0x67e1 019902 deposit rega 
+0x67e2 019903 hstore 2 ,core_spid_rxaddr 
+0x67e3 019904 hfetch 1 ,core_spid_ctrl 
+0x67e4 019905 isolate0 15 ,rega 
+0x67e5 019906 setflag true ,6 ,pdata 
+0x67e6 019907 hstore 1 ,core_spid_ctrl 
+0x67e7 019908 hjam spid_start ,core_misc_ctrl 
+:      019909 spi_read_flash_wait:
+0x67e8 019910 hfetch 1 ,core_dma_status 
+0x67e9 019911 bbit1 7 ,spi_read_flash_wait 
+0x67ea 019912 arg spid_done ,queue 
+0x67eb 019913 call decrypt_code 
+0x67ec 019914 call wait_spid_done 
+0x67ed 019915 isolate1 spid_crcok ,pdata 
+0x67ee 019916 call set_ucode_status 
+0x67ef 019917 fetch 1 ,mem_addr_hi 
+0x67f0 019918 lshift16 pdata ,regb 
+0x67f1 019919 fetch 1 ,mem_addr_mi 
+0x67f2 019920 lshift8 pdata ,pdata 
+0x67f3 019921 ior regb ,regb 
+0x67f4 019922 fetch 1 ,mem_addr_lo 
+0x67f5 019923 ior regb ,pdata 
+0x67f6 019924 iadd temp ,pdata 
+0x67f7 019925 store 1 ,mem_addr_lo 
+0x67f8 019926 rshift8 pdata ,pdata 
+0x67f9 019927 store 1 ,mem_addr_mi 
+0x67fa 019928 rshift8 pdata ,pdata 
+0x67fb 019929 store 1 ,mem_addr_hi 
+0x67fc 019930 rtn 
+:      019934 iicd_init_5m:
+0x67fd 019935 hjam 0xa ,core_clksel 
+0x67fe 019936 hjam 2 ,core_iicd_scl_low 
+0x67ff 019937 hjam 3 ,core_iicd_scl_high 
+0x6800 019938 hjam 3 ,core_iicd_start_setup 
+0x6801 019939 hjam 3 ,core_iicd_start_hold 
+0x6802 019940 hjam 3 ,core_iicd_stop_setup 
+0x6803 019941 hjam 2 ,core_iicd_data_setup 
+0x6804 019942 rtn 
+:      019944 iicd_init_12m:
+0x6805 019945 hjam 5 ,core_iicd_scl_low 
+0x6806 019946 hjam 7 ,core_iicd_scl_high 
+0x6807 019947 hjam 7 ,core_iicd_start_setup 
+0x6808 019948 hjam 7 ,core_iicd_start_hold 
+0x6809 019949 hjam 7 ,core_iicd_stop_setup 
+0x680a 019950 hjam 5 ,core_iicd_data_setup 
+0x680b 019951 rtn 
+:      019955 wait_iicd_done:
+0x680c 019956 hfetch 1 ,core_dma_status 
+0x680d 019957 bbit0 iicd_done ,wait_iicd_done 
+0x680e 019958 rtn 
+:      019961 iicd_read_data:
+0x680f 019962 store 1 ,mem_iicd_tbuf 
+0x6810 019963 setarg mem_iicd_tbuf 
+0x6811 019964 hstore 2 ,core_iicd_txaddr 
+0x6812 019965 setarg 1 
+0x6813 019966 hstore 2 ,core_iicd_txlen 
+0x6814 019967 hstoret 2 ,core_iicd_rxlen 
+0x6815 019968 deposit rega 
+0x6816 019969 hstore 2 ,core_iicd_rxaddr 
+0x6817 019970 hjam 1 ,core_iicd_ctrl 
+0x6818 019971 hjam iicd_start ,core_misc_ctrl 
+0x6819 019972 branch wait_iicd_done 
+:      019974 byteswap_addr_mi:
+0x681a 019975 byteswap pdata ,pdata 
+0x681b 019976 store 2 ,mem_addr_mi 
+0x681c 019977 rtn 
+:      019983 iicd_read_eep_data:
+0x681d 019984 set1 mark_ext_patch ,mark 
+0x681e 019985 bpatch patch20_2 ,mem_patch20 
+0x681f 019986 fetch 2 ,mem_eeprom_base 
+0x6820 019987 iadd regb ,pdata 
+:      019990 iicd_read_eep_adr:
+0x6821 019991 byteswap pdata ,pdata 
+0x6822 019992 store 2 ,mem_addr_mi 
+:      019995 iicd_read_eep:
+0x6823 019996 set1 mark_ext_patch ,mark 
+0x6824 019997 bpatch patch20_3 ,mem_patch20 
+0x6825 019998 setarg 4 
+0x6826 019999 hstore 2 ,core_iicd_txlen 
+0x6827 020000 jam 0xa0 ,mem_iicd_tbuf 
+0x6828 020001 jam 0xa1 ,mem_iicd_tbuf + 3 
+0x6829 020002 setarg mem_iicd_tbuf 
+0x682a 020003 hstore 2 ,core_iicd_txaddr 
+0x682b 020004 hstoret 2 ,core_iicd_rxlen 
+0x682c 020005 deposit rega 
+0x682d 020006 hstore 2 ,core_iicd_rxaddr 
+0x682e 020007 setarg 2 
+0x682f 020008 isolate0 15 ,rega 
+0x6830 020009 setflag true ,0 ,pdata 
+0x6831 020010 hstore 1 ,core_iicd_ctrl 
+0x6832 020011 hjam iicd_start ,core_misc_ctrl 
+0x6833 020012 arg iicd_done ,queue 
+0x6834 020013 call decrypt_code 
+0x6835 020014 call wait_iicd_done 
+0x6836 020015 isolate1 iicd_crcok ,pdata 
+0x6837 020016 call set_ucode_status 
+0x6838 020017 fetch 2 ,mem_addr_mi 
+0x6839 020018 byteswap pdata ,pdata 
+0x683a 020019 iadd temp ,pdata 
+0x683b 020020 byteswap pdata ,pdata 
+0x683c 020021 store 2 ,mem_addr_mi 
+0x683d 020022 rtn 
+:      020028 iicd_write_eep_data:
+0x683e 020029 set1 mark_ext_patch ,mark 
+0x683f 020030 bpatch patch20_4 ,mem_patch20 
+0x6840 020031 fetch 2 ,mem_eeprom_base 
+0x6841 020032 iadd regb ,pdata 
+:      020035 iicd_write_ota_data:
+0x6842 020036 store 2 ,mem_pdatatemp 
+0x6843 020037 set1 mark_ext_patch ,mark 
+0x6844 020038 bpatch patch20_5 ,mem_patch20 
+0x6845 020039 storet 2 ,mem_temp 
+0x6846 020040 copy rega ,pdata 
+0x6847 020041 store 2 ,mem_contr 
+:      020042 iicd_write_eep_loop:
+0x6848 020043 call iicd_eep_transparency 
+0x6849 020045 fetcht 2 ,mem_regb 
+0x684a 020046 fetch 2 ,mem_contr 
+0x684b 020047 copy pdata ,rega 
+0x684c 020048 fetch 2 ,mem_pdatatemp 
+0x684d 020050 call iicd_write_eep 
+0x684e 020052 fetch 2 ,mem_regb 
+0x684f 020053 fetcht 2 ,mem_contr 
+0x6850 020054 iadd temp ,temp 
+0x6851 020055 storet 2 ,mem_contr 
+0x6852 020056 fetcht 2 ,mem_pdatatemp 
+0x6853 020057 iadd temp ,temp 
+0x6854 020058 storet 2 ,mem_pdatatemp 
+0x6855 020059 fetch 2 ,mem_temp 
+0x6856 020060 nbranch iicd_write_eep_loop ,blank 
+0x6857 020061 rtn 
+:      020069 iicd_eep_transparency:
+0x6858 020070 set1 mark_ext_patch ,mark 
+0x6859 020071 bpatch patch20_6 ,mem_patch20 
+0x685a 020072 fetch 2 ,mem_eeprom_block_size 
+0x685b 020073 increase -1 ,pdata 
+0x685c 020074 fetcht 2 ,mem_pdatatemp 
+0x685d 020075 ior temp ,pdata 
+0x685e 020076 increase 1 ,pdata 
+0x685f 020077 store 3 ,mem_regc 
+0x6860 020079 fetch 2 ,mem_temp 
+0x6861 020080 iadd temp ,pdata 
+0x6862 020082 fetcht 3 ,mem_regc 
+0x6863 020083 isub temp ,pdata 
+0x6864 020084 nbranch iicd_eep_deal_short_packet ,positive 
+0x6865 020085 store 2 ,mem_temp 
+0x6866 020086 fetch 3 ,mem_regc 
+0x6867 020087 fetcht 2 ,mem_pdatatemp 
+0x6868 020088 isub temp ,pdata 
+0x6869 020089 store 2 ,mem_regb 
+0x686a 020090 rtn 
+:      020091 iicd_eep_deal_short_packet:
+0x686b 020092 fetch 2 ,mem_temp 
+0x686c 020093 store 2 ,mem_regb 
+0x686d 020094 setarg 0 
+0x686e 020095 store 2 ,mem_temp 
+0x686f 020096 rtn 
+:      020101 iicd_write_eep:
+0x6870 020102 copy pdata ,regb 
+0x6871 020103 set1 mark_ext_patch ,mark 
+0x6872 020104 bpatch patch20_7 ,mem_patch20 
+0x6873 020105 copy regb ,pdata 
+0x6874 020106 increase 3 ,temp 
+0x6875 020107 hstoret 2 ,core_iicd_txlen 
+0x6876 020108 increase -3 ,rega 
+0x6877 020109 ifetcht 3 ,rega 
+0x6878 020110 copy temp ,regb 
+0x6879 020111 arg 0xa0 ,temp 
+0x687a 020112 istoret 1 ,rega 
+0x687b 020113 byteswap pdata ,pdata 
+0x687c 020114 istore 2 ,contw 
+0x687d 020115 deposit rega 
+0x687e 020116 hstore 2 ,core_iicd_txaddr 
+0x687f 020117 setarg 0 
+0x6880 020118 hstore 2 ,core_iicd_rxlen 
+0x6881 020119 hjam 1 ,core_iicd_ctrl 
+0x6882 020120 hjam iicd_start ,core_misc_ctrl 
+0x6883 020121 call wait_iicd_done 
+0x6884 020122 copy regb ,pdata 
+0x6885 020123 istore 3 ,rega 
+0x6886 020124 nop 10000 
+0x6887 020125 nop 10000 
+0x6888 020126 nop 10000 
+0x6889 020127 rtn 
+:      020131 otp_enable_chgpump:
+0x688a 020132 hjam 0x70 ,rfen_chgpump 
+0x688b 020133 nop param_chgpump_delay 
+0x688c 020134 rtn 
+:      020136 otp_disable_chgpump:
+0x688d 020137 hjam 0x30 ,rfen_chgpump 
+0x688e 020138 rtn 
+:      020140 otp_set_addr:
+0x688f 020141 lshift3 pdata ,pdata 
+0x6890 020142 hstore 2 ,core_otp_addr 
+0x6891 020143 hjam 0 ,core_otpd_ctrl 
+0x6892 020144 rtn 
+:      020147 otp_write:
+0x6893 020148 call otp_set_addr 
+0x6894 020149 call otp_ce 
+:      020150 otp_program:
+0x6895 020151 ifetcht 1 ,rega 
+0x6896 020152 increase 1 ,rega 
+0x6897 020153 force 0 ,queue 
+:      020154 otp_program_bit:
+0x6898 020155 qisolate0 temp 
+0x6899 020156 branch otp_skip_0 ,true 
+0x689a 020157 hfetch 1 ,core_otp_din 
+0x689b 020158 set1 6 ,pdata 
+0x689c 020159 set1 7 ,pdata 
+0x689d 020160 hstore 1 ,core_otp_din 
+0x689e 020161 hjam 0x02 ,core_otp_ctrl 
+0x689f 020162 hjam 0x82 ,core_otp_ctrl 
+0x68a0 020163 set0 7 ,pdata 
+0x68a1 020164 hstore 1 ,core_otp_din 
+0x68a2 020165 hjam 0x8a ,core_otp_ctrl 
+0x68a3 020166 nop 11 
+0x68a4 020167 hjam 0xca ,core_otp_ctrl 
+0x68a5 020168 nop 33 
+0x68a6 020169 hjam 0x4a ,core_otp_ctrl 
+0x68a7 020170 nop 44 
+0x68a8 020171 hjam 0xca ,core_otp_ctrl 
+0x68a9 020172 nop 22 
+0x68aa 020173 hjam 0x8a ,core_otp_ctrl 
+0x68ab 020174 nop 33 
+0x68ac 020175 hjam 0x82 ,core_otp_ctrl 
+0x68ad 020176 nop 1 
+0x68ae 020177 hjam 0x92 ,core_otp_ctrl 
+0x68af 020178 nop 10 
+0x68b0 020179 hjam 0xb2 ,core_otp_ctrl 
+0x68b1 020180 hfetch 1 ,core_otp_rdata 
+0x68b2 020181 hjam 0x92 ,core_otp_ctrl 
+0x68b3 020182 nop 1 
+0x68b4 020183 hjam 0x82 ,core_otp_ctrl 
+0x68b5 020184 qisolate0 pdata 
+0x68b6 020185 branch otp_program_bit ,true 
+:      020186 otp_skip_0:
+0x68b7 020187 hfetch 2 ,core_otp_addr 
+0x68b8 020188 increase 1 ,pdata 
+0x68b9 020189 hstore 2 ,core_otp_addr 
+0x68ba 020190 increase 1 ,queue 
+0x68bb 020191 compare 8 ,queue ,0xf 
+0x68bc 020192 nbranch otp_program_bit ,true 
+0x68bd 020193 loop otp_program 
+0x68be 020194 hjam 0x83 ,core_otp_ctrl 
+0x68bf 020195 rtn 
+:      020197 otp_ce:
+0x68c0 020198 hjam 0x82 ,core_otp_ctrl 
+0x68c1 020199 nop 12 
+0x68c2 020200 hjam 0x80 ,core_otp_ctrl 
+0x68c3 020201 hjam 0x82 ,core_otp_ctrl 
+0x68c4 020202 nop 150 
+0x68c5 020203 rtn 
+:      020206 otpd_read_init:
+0x68c6 020207 call otp_ce 
+:      020208 otpd_read_special:
+0x68c7 020209 hjam 0xa2 ,core_otp_ctrl 
+0x68c8 020210 deposit rega 
+0x68c9 020211 hstore 2 ,core_otpd_addr 
+0x68ca 020212 set1 11 ,temp 
+0x68cb 020213 isolate0 15 ,pdata 
+0x68cc 020214 setflag true ,15 ,temp 
+0x68cd 020215 hstoret 2 ,core_otpd_len 
+0x68ce 020216 hjam otpd_start ,core_misc_ctrl 
+0x68cf 020217 rtn 
+:      020219 otpd_wait_end:
+0x68d0 020220 hfetch 1 ,core_dma_status 
+0x68d1 020221 bbit0 otpd_done ,otpd_wait_end 
+0x68d2 020222 rtn 
+:      020225 otpd_read_data:
+0x68d3 020226 call otp_set_addr 
+0x68d4 020227 call otpd_read_init 
+0x68d5 020228 call otpd_wait_end 
+0x68d6 020229 hjam 0x83 ,core_otp_ctrl 
+0x68d7 020230 rtn 
+:      020235 otpd_read_code:
+0x68d8 020236 hfetch 2 ,core_current_otp_addr 
+0x68d9 020237 hstore 2 ,core_otp_addr 
+0x68da 020238 call otpd_read_init 
+0x68db 020239 arg otpd_done ,queue 
+0x68dc 020240 call decrypt_code 
+0x68dd 020241 call otpd_wait_end 
+0x68de 020242 isolate1 otpd_crcok ,pdata 
+0x68df 020243 call set_ucode_status 
+0x68e0 020244 hjam 0x83 ,core_otp_ctrl 
+0x68e1 020245 rtn 
+:      020248 uartd_rx_cnt_got_first_byte:
+0x68e2 020249 jam 1 ,mem_uartd_rxitems_got_data 
+0x68e3 020250 force uart_rx_timer ,queue 
+0x68e4 020251 fetch 2 ,mem_uartd_rx_timeout 
+0x68e5 020252 branch timer_init 
+:      020253 uartd_rx_cnt_with_threshold:
+0x68e6 020254 hfetch 2 ,core_uart_rxitems 
+0x68e7 020255 rtn blank 
+0x68e8 020256 fetcht 1 ,mem_uartd_rxitems_threshold 
+0x68e9 020257 isub temp ,null 
+0x68ea 020258 branch uartd_rx_cnt_rtn_value ,positive 
+0x68eb 020259 fetch 1 ,mem_uartd_rxitems_got_data 
+0x68ec 020260 branch uartd_rx_cnt_got_first_byte ,blank 
+0x68ed 020261 arg uart_rx_timer ,queue 
+0x68ee 020262 call timer_check 
+0x68ef 020263 branch uartd_rx_cnt_rtn_value ,blank 
+0x68f0 020264 setarg 0 
+0x68f1 020265 rtn 
+:      020266 uartd_rx_cnt_rtn_value:
+0x68f2 020267 force uart_rx_timer ,queue 
+0x68f3 020268 call timer_stop 
+0x68f4 020269 jam 0 ,mem_uartd_rxitems_got_data 
+0x68f5 020270 hfetch 2 ,core_uart_rxitems 
+0x68f6 020271 rtn 
+:      020278 uartd_prepare_tx:
+0x68f7 020279 hfetch 2 ,core_uart_twptr 
+0x68f8 020280 iforce contwu 
+0x68f9 020281 rtn 
+:      020283 uartd_send:
+0x68fa 020284 deposit contwu 
+0x68fb 020285 hstore 2 ,core_uart_twptr 
+0x68fc 020286 rtn 
+:      020288 uartd_prepare_rx:
+0x68fd 020289 hfetch 2 ,core_uart_rxitems 
+0x68fe 020290 rtn blank 
+0x68ff 020291 iforce loopcnt 
+0x6900 020292 hfetch 2 ,core_uart_rrptr 
+0x6901 020293 iforce contru 
+0x6902 020294 rtn 
+:      020297 uartd_rxdone_by_len:
+0x6903 020298 hfetch 2 ,core_uart_rrptr 
+0x6904 020299 iadd temp ,pdata 
+0x6905 020300 copy pdata ,contru 
+:      020301 uartd_rxdone:
+0x6906 020302 deposit contru 
+0x6907 020303 hstore 2 ,core_uart_rrptr 
+0x6908 020304 rtn 
+:      020306 uart_set_baud_by_mem:
+0x6909 020307 fetch uart_baud_len ,mem_baud 
+0x690a 020308 hstore uart_baud_len ,core_uart_baud 
+0x690b 020309 rtn 
+:      020313 eeprom_store_le_reconn_info:
+0x690c 020314 fetch 6 ,mem_le_plap 
+0x690d 020315 store 6 ,mem_temp_lap 
+0x690e 020316 jam rec_4_mode ,mem_record_bt_mode 
+0x690f 020317 branch eeprom_store_reconn_info 
+:      020318 eeprom_store_bd_reconn_info:
+0x6910 020319 fetch 6 ,mem_plap 
+0x6911 020320 store 6 ,mem_temp_lap 
+0x6912 020321 jam rec_3_mode ,mem_record_bt_mode 
+:      020322 eeprom_store_reconn_info:
+0x6913 020323 set1 mark_ext_patch ,mark 
+0x6914 020324 bpatch patch21_0 ,mem_patch21 
+0x6915 020325 call eeprom_store_remote_bdaddr 
+0x6916 020326 call eeprom_store_last_record_index 
+0x6917 020327 fetch 1 ,mem_record_bt_mode 
+0x6918 020328 beq rec_4_mode ,eeprom_store_rec_4_mode 
+0x6919 020329 beq rec_3_mode ,eeprom_store_link_key 
+0x691a 020330 rtn 
+:      020331 eeprom_store_rec_4_mode:
+0x691b 020332 call eeprom_store_le_ltl 
+0x691c 020333 branch eeprom_store_le_local_addr 
+:      020336 eeprom_load_reconn_info:
+0x691d 020337 set1 mark_ext_patch ,mark 
+0x691e 020338 bpatch patch21_1 ,mem_patch21 
+0x691f 020339 call eeprom_load_reconn_bdaddr 
+0x6920 020340 fetch 1 ,mem_select_list_item 
+0x6921 020341 rtneq 0xff 
+0x6922 020342 fetch 6 ,mem_temp_lap 
+0x6923 020343 store 6 ,mem_hci_plap 
+0x6924 020344 fetch 1 ,mem_record_bt_mode 
+0x6925 020345 store 1 ,mem_xrecord_mode 
+0x6926 020346 beq rec_3_mode ,eeprom_load_rec_3_mode 
+0x6927 020347 beq rec_4_mode ,eeprom_load_rec_4_mode 
+0x6928 020348 rtn 
+:      020349 eeprom_load_reconn_bdaddr:
+0x6929 020350 call eeprom_load_last_record_index 
+0x692a 020351 fetch 1 ,mem_select_list_item 
+0x692b 020352 rtneq 0xff 
+0x692c 020353 branch eeprom_load_remote_bdaddr 
+:      020354 eeprom_load_rec_3_mode:
+0x692d 020355 call eeprom_load_link_key 
+0x692e 020356 branch check_link_key_load 
+:      020357 eeprom_load_rec_4_mode:
+0x692f 020358 call eeprom_load_ltk_key 
+0x6930 020359 branch check_ltk_load 
+:      020360 eeprom_clear_bd_reconn_info:
+0x6931 020361 call eeprom_load_bdaddr_list 
+0x6932 020362 disable user 
+0x6933 020363 call find_addr_from_bd_list 
+0x6934 020364 nbranch at_error_rev_end ,user 
+:      020365 eeprom_clear_reconn_info_common:
+0x6935 020366 fetcht 2 ,mem_list_item_ptr 
+0x6936 020367 increase -1 ,temp 
+0x6937 020368 setarg 0 
+0x6938 020369 istore 7 ,temp 
+0x6939 020370 arg 28 ,temp 
+0x693a 020371 arg mem_bdaddr_list_buff + 7 ,rega 
+0x693b 020372 arg eeprom_bdaddr_list ,regb 
+0x693c 020373 branch iicd_write_eep_data 
+:      020375 eeprom_clear_all_reconn_info:
+0x693d 020376 set1 mark_ext_patch ,mark 
+0x693e 020377 bpatch patch21_2 ,mem_patch21 
+0x693f 020378 arg mem_bdaddr_list_buff ,contw 
+0x6940 020379 force 4 ,loopcnt 
+0x6941 020380 call memset0 
+0x6942 020381 arg 28 ,temp 
+0x6943 020382 arg mem_bdaddr_list_buff ,rega 
+0x6944 020383 arg eeprom_bdaddr_list ,regb 
+0x6945 020384 branch iicd_write_eep_data 
+:      020386 eeprom_erase_reconn_info:
+0x6946 020387 set1 mark_ext_patch ,mark 
+0x6947 020388 bpatch patch21_3 ,mem_patch21 
+0x6948 020389 setarg 0x0 
+0x6949 020390 store 3 ,mem_plap 
+0x694a 020391 istore 3 ,contw 
+0x694b 020392 branch eeprom_store_remote_bdaddr 
+:      020394 eeprom_load_last_record_index:
+0x694c 020395 arg 1 ,temp 
+0x694d 020396 arg mem_select_list_item ,rega 
+0x694e 020397 arg eeprom_last_record ,regb 
+0x694f 020398 branch iicd_read_eep_data 
+:      020400 eeprom_store_last_record_index:
+0x6950 020401 arg 1 ,temp 
+0x6951 020402 arg mem_select_list_item ,rega 
+0x6952 020403 arg eeprom_last_record ,regb 
+0x6953 020404 branch iicd_write_eep_data 
+:      020407 eeprom_store_remote_bdaddr:
+0x6954 020408 set1 mark_ext_patch ,mark 
+0x6955 020409 bpatch patch21_4 ,mem_patch21 
+0x6956 020410 call eeprom_load_bdaddr_list 
+0x6957 020411 disable user 
+0x6958 020412 call find_addr_from_bd_list 
+0x6959 020413 rtn user 
+:      020414 eeprom_store_remote_addr_unfind:
+0x695a 020415 jam 0 ,mem_select_list_item 
+0x695b 020416 fetch 6 ,mem_temp_lap 
+0x695c 020417 store 6 ,mem_bdaddr_list_buff + 1 
+0x695d 020418 fetch 1 ,mem_record_bt_mode 
+0x695e 020419 store 1 ,mem_bdaddr_list_buff 
+0x695f 020420 arg 28 ,temp 
+0x6960 020421 arg mem_bdaddr_list_buff ,rega 
+0x6961 020422 arg eeprom_bdaddr_list ,regb 
+0x6962 020423 branch iicd_write_eep_data 
+:      020426 eeprom_store_le_local_addr:
+0x6963 020427 arg 6 ,temp 
+0x6964 020428 arg mem_le_lap ,rega 
+0x6965 020429 arg eeprom_le_reconn_local_addr ,regb 
+0x6966 020430 branch iicd_write_eep_data 
+:      020432 eeprom_load_le_loacal_addr:
+0x6967 020433 arg 6 ,temp 
+0x6968 020434 arg mem_le_lap ,rega 
+0x6969 020435 arg eeprom_le_reconn_local_addr ,regb 
+0x696a 020436 branch iicd_read_eep_data 
+:      020439 eeprom_load_remote_bdaddr:
+0x696b 020440 set1 mark_ext_patch ,mark 
+0x696c 020441 bpatch patch21_5 ,mem_patch21 
+0x696d 020442 arg 7 ,temp 
+0x696e 020443 arg mem_temp_reconn_record ,rega 
+0x696f 020444 arg eeprom_bdaddr_list ,regb 
+0x6970 020445 fetch 1 ,mem_select_list_item 
+0x6971 020446 mul32 pdata ,7 ,pdata 
+0x6972 020447 iadd regb ,regb 
+0x6973 020448 branch iicd_read_eep_data 
+:      020450 eeprom_linkkey_addr:
+0x6974 020451 arg 0x10 ,temp 
+0x6975 020452 arg eeprom_linkkey_list ,regb 
+0x6976 020453 fetch 1 ,mem_select_list_item 
+0x6977 020454 lshift4 pdata ,pdata 
+0x6978 020455 iadd regb ,regb 
+0x6979 020456 rtn 
+:      020458 eeprom_store_le_ltl:
+0x697a 020459 arg mem_le_ltk ,rega 
+0x697b 020460 branch eeprom_store_link_key_common 
+:      020461 eeprom_store_link_key:
+0x697c 020462 arg mem_link_key ,rega 
+:      020463 eeprom_store_link_key_common:
+0x697d 020464 set1 mark_ext_patch ,mark 
+0x697e 020465 bpatch patch21_6 ,mem_patch21 
+0x697f 020466 call eeprom_linkkey_addr 
+0x6980 020467 branch iicd_write_eep_data 
+:      020469 eeprom_load_ltk_key:
+0x6981 020470 arg mem_le_ltk ,rega 
+0x6982 020471 branch eeprom_load_link_key_common 
+:      020472 eeprom_load_link_key:
+0x6983 020473 arg mem_link_key ,rega 
+:      020474 eeprom_load_link_key_common:
+0x6984 020475 set1 mark_ext_patch ,mark 
+0x6985 020476 bpatch patch21_7 ,mem_patch21 
+0x6986 020477 call eeprom_linkkey_addr 
+0x6987 020478 branch iicd_read_eep_data 
+:      020482 eeprom_load_bdaddr_list:
+0x6988 020483 arg 28 ,temp 
+0x6989 020484 arg mem_bdaddr_list_buff + 7 ,rega 
+0x698a 020485 arg eeprom_bdaddr_list ,regb 
+0x698b 020486 branch iicd_read_eep_data 
+:      020488 find_addr_from_bd_list:
+0x698c 020489 set1 mark_ext_patch ,mark 
+0x698d 020490 bpatch patch22_0 ,mem_patch22 
+0x698e 020491 setarg mem_bdaddr_list_buff + 7 
+0x698f 020492 store 2 ,mem_list_item_ptr 
+0x6990 020493 jam 0 ,mem_select_list_item 
+0x6991 020494 arg 4 ,loopcnt 
+:      020495 find_addr_from_list:
+0x6992 020496 copy loopcnt ,pdata 
+0x6993 020497 store 1 ,mem_pdatatemp 
+0x6994 020498 fetch 2 ,mem_list_item_ptr 
+0x6995 020499 copy pdata ,rega 
+0x6996 020500 call find_addr_from_list_compare 
+0x6997 020501 rtn user 
+0x6998 020502 fetch 2 ,mem_list_item_ptr 
+0x6999 020503 increase 7 ,pdata 
+0x699a 020504 store 2 ,mem_list_item_ptr 
+0x699b 020505 fetch 1 ,mem_select_list_item 
+0x699c 020506 increase 1 ,pdata 
+0x699d 020507 store 1 ,mem_select_list_item 
+0x699e 020508 fetch 1 ,mem_pdatatemp 
+0x699f 020509 copy pdata ,loopcnt 
+0x69a0 020510 loop find_addr_from_list 
+0x69a1 020511 rtn 
+:      020513 check_link_key_load:
+0x69a2 020514 fetch 8 ,mem_link_key 
+0x69a3 020515 fetcht 8 ,mem_link_key + 8 
+0x69a4 020516 ior temp ,pdata 
+0x69a5 020517 rtn blank 
+0x69a6 020518 jam 1 ,mem_link_key_exists 
+0x69a7 020519 rtn 
+:      020520 check_ltk_load:
+0x69a8 020521 fetch 6 ,mem_hci_plap 
+0x69a9 020522 rtn blank 
+0x69aa 020523 jam 1 ,mem_ltk_exists 
+0x69ab 020524 rtn 
+:      020526 find_addr_from_list_compare:
+0x69ac 020527 arg mem_temp_reconn_record ,regb 
+0x69ad 020528 arg 7 ,loopcnt 
+0x69ae 020529 call string_compare 
+0x69af 020530 branch enable_usr ,zero 
+0x69b0 020531 rtn 
+:      020532 enable_usr:
+0x69b1 020533 enable user 
+0x69b2 020534 rtn 
+:      020535 le_eeprom_load_reconn_info:
+0x69b3 020536 branch assert 
+:      020543 gpio_set_wake_by_current_state:
+0x69b4 020544 set1 mark_ext_patch ,mark 
+0x69b5 020545 bpatch patch22_1 ,mem_patch22 
+0x69b6 020546 set1 7 ,temp 
+0x69b7 020547 call gpio_get_bit 
+0x69b8 020548 nsetflag true ,7 ,temp 
+:      020553 gpio_set_wake:
+0x69b9 020554 set1 mark_ext_patch ,mark 
+0x69ba 020555 bpatch patch22_2 ,mem_patch22 
+0x69bb 020556 isolate0 7 ,temp 
+0x69bc 020557 and temp ,0x1f ,queue 
+0x69bd 020558 fetch 4 ,mem_gpio_wakeup_low 
+0x69be 020559 qsetflag true ,pdata 
+0x69bf 020560 store 4 ,mem_gpio_wakeup_low 
+0x69c0 020561 fetch 4 ,mem_gpio_wakeup_high 
+0x69c1 020562 nqsetflag true ,pdata 
+0x69c2 020563 store 4 ,mem_gpio_wakeup_high 
+0x69c3 020564 rtn 
+:      020567 gpio_clr_wake:
+0x69c4 020568 set1 mark_ext_patch ,mark 
+0x69c5 020569 bpatch patch22_3 ,mem_patch22 
+0x69c6 020570 isolate0 7 ,temp 
+0x69c7 020571 and temp ,0x1f ,queue 
+0x69c8 020572 fetch 4 ,mem_gpio_wakeup_low 
+0x69c9 020573 qset0 pdata 
+0x69ca 020574 store 4 ,mem_gpio_wakeup_low 
+0x69cb 020575 fetch 4 ,mem_gpio_wakeup_high 
+0x69cc 020576 qset0 pdata 
+0x69cd 020577 store 4 ,mem_gpio_wakeup_high 
+0x69ce 020578 rtn 
+:      020581 gpio_config_input_nowake:
+0x69cf 020582 call gpio_clr_wake 
+0x69d0 020583 branch gpio_config_input_without_wake 
+:      020586 gpio_config_input:
+0x69d1 020587 ncall gpio_set_wake ,wake 
+:      020589 gpio_config_input_without_wake:
+0x69d2 020590 arg core_gpio_pd0 ,contw 
+0x69d3 020591 call gpio_set_bit 
+0x69d4 020592 setflip gpio_active_bit ,temp 
+0x69d5 020593 arg core_gpio_pu0 ,contw 
+0x69d6 020594 call gpio_set_bit 
+0x69d7 020595 set0 gpio_active_bit ,temp 
+0x69d8 020596 arg core_gpio_oe0 ,contw 
+0x69d9 020597 branch gpio_set_bit 
+:      020600 gpio_config_output:
+0x69da 020601 setflip gpio_active_bit ,temp 
+0x69db 020602 call gpio_out 
+0x69dc 020603 set1 gpio_active_bit ,temp 
+0x69dd 020604 arg core_gpio_oe0 ,contw 
+0x69de 020605 branch gpio_set_bit 
+:      020607 gpio_common:
+0x69df 020608 and temp ,0x07 ,queue 
+0x69e0 020609 rshift3 temp ,pdata 
+0x69e1 020610 and_into 3 ,pdata 
+0x69e2 020611 iadd contw ,contw 
+0x69e3 020612 ifetch 1 ,contw 
+0x69e4 020613 rtn 
+:      020617 gpio_get_bit:
+0x69e5 020618 arg core_gpio_in ,contw 
+0x69e6 020619 call gpio_common 
+0x69e7 020620 isolate1 gpio_active_bit ,temp 
+0x69e8 020621 branch gpio_get_bit_reverse ,true 
+0x69e9 020622 qisolate0 pdata 
+0x69ea 020623 rtn 
+:      020624 gpio_get_bit_reverse:
+0x69eb 020625 qisolate1 pdata 
+0x69ec 020626 rtn 
+:      020628 gpio_out_inactive:
+0x69ed 020629 isolate1 7 ,null 
+0x69ee 020630 branch gpio_out_flag 
+:      020632 gpio_out_active:
+0x69ef 020633 isolate0 7 ,null 
+:      020636 gpio_out_flag:
+0x69f0 020637 setarg 0 
+0x69f1 020638 nsetflag true ,gpio_active_bit ,pdata 
+0x69f2 020639 ixor temp ,temp 
+:      020642 gpio_out:
+0x69f3 020643 arg core_gpio_out0 ,contw 
+:      020646 gpio_set_bit:
+0x69f4 020647 call gpio_common 
+0x69f5 020648 isolate1 gpio_active_bit ,temp 
+0x69f6 020649 qsetflag true ,pdata 
+0x69f7 020650 istore 1 ,contw 
+0x69f8 020651 rtn 
+:      020653 gpio_test:
+0x69f9 020654 fetch 1 ,mem_seqi 
+0x69fa 020655 rtneq 0x7f 
+0x69fb 020656 hjam 0 ,core_gpio_out3 
+0x69fc 020657 nop 30 
+0x69fd 020658 hjam 8 ,core_gpio_out3 
+0x69fe 020659 rtn 
+:      020664 set_pwm_blink:
+0x69ff 020665 lshift8 pdata ,pdata 
+0x6a00 020666 lshift4 pdata ,pdata 
+0x6a01 020667 hstore 2 ,core_pwm_ncnt0 
+0x6a02 020668 hstore 2 ,core_pwm_pcnt0 
+0x6a03 020669 rtn 
+:      020671 set_pwm_steadyon:
+0x6a04 020672 setarg 0 
+0x6a05 020673 hstore 2 ,core_pwm_ncnt0 
+0x6a06 020674 setarg 1 
+0x6a07 020675 hstore 2 ,core_pwm_pcnt0 
+0x6a08 020676 rtn 
+:      020678 set_pwm_off:
+0x6a09 020679 setarg 0 
+0x6a0a 020680 hstore 2 ,core_pwm_ncnt0 
+0x6a0b 020681 hstore 2 ,core_pwm_pcnt0 
+0x6a0c 020682 rtn 
+:      020687 init_filter_ram:
+0x6a0d 020688 arg 0x8800 ,contw 
+0x6a0e 020689 arg 0x20 ,loopcnt 
+0x6a0f 020690 call memset0 
+0x6a10 020691 setarg 0x4f9 
+0x6a11 020692 hstore 2 ,0x8848 
+0x6a12 020693 hstore 2 ,0x884a 
+0x6a13 020694 hstore 2 ,0x884c 
+0x6a14 020695 hstore 2 ,0x886c 
+0x6a15 020696 hstore 2 ,0x888c 
+0x6a16 020697 hstore 2 ,0x88ac 
+0x6a17 020698 setarg 0x204 
+0x6a18 020699 hstore 2 ,0x88ae 
+0x6a19 020700 setarg 0x0506 
+0x6a1a 020701 hstore 2 ,0x88b0 
+0x6a1b 020702 setarg 0x0504 
+0x6a1c 020703 hstore 2 ,0x88b2 
+0x6a1d 020704 setarg 0x0200 
+0x6a1e 020705 hstore 2 ,0x88b4 
+0x6a1f 020706 setarg 0xFEFB 
+0x6a20 020707 hstore 2 ,0x88b6 
+0x6a21 020708 setarg 0xFAF9 
+0x6a22 020709 hstore 2 ,0x88b8 
+0x6a23 020710 setarg 0xFAFB 
+0x6a24 020711 hstore 2 ,0x88ba 
+0x6a25 020712 setarg 0xFD00 
+0x6a26 020713 hstore 2 ,0x88bc 
+0x6a27 020714 setarg 0x0408 
+0x6a28 020715 hstore 2 ,0x88be 
+0x6a29 020716 setarg 0x0A0C 
+0x6a2a 020717 hstore 2 ,0x88c0 
+0x6a2b 020718 setarg 0x0B09 
+0x6a2c 020719 hstore 2 ,0x88c2 
+0x6a2d 020720 setarg 0x0500 
+0x6a2e 020721 hstore 2 ,0x88c4 
+0x6a2f 020722 setarg 0xF8F1 
+0x6a30 020723 hstore 2 ,0x88c6 
+0x6a31 020724 setarg 0xECE8 
+0x6a32 020725 hstore 2 ,0x88c8 
+0x6a33 020726 setarg 0xE9EB 
+0x6a34 020727 hstore 2 ,0x88ca 
+0x6a35 020728 setarg 0xF500 
+0x6a36 020729 hstore 2 ,0x88cc 
+0x6a37 020730 setarg 0x1223 
+0x6a38 020731 hstore 2 ,0x88ce 
+0x6a39 020732 setarg 0x374B 
+0x6a3a 020733 hstore 2 ,0x88d0 
+0x6a3b 020734 setarg 0x5E71 
+0x6a3c 020735 hstore 2 ,0x88d2 
+0x6a3d 020736 setarg 0x787F 
+0x6a3e 020737 hstore 2 ,0x88d4 
+0x6a3f 020738 rtn 
+:      020740 enable_pcm:
+0x6a40 020741 set1 mark_ext_patch ,mark 
+0x6a41 020742 bpatch patch22_4 ,mem_patch22 
+0x6a42 020743 hfetch 2 ,core_clkoff 
+0x6a43 020744 set0 clock_off_codec ,pdata 
+0x6a44 020745 hstore 2 ,core_clkoff 
+0x6a45 020746 hjam 0x11 ,core_enc_ctrl 
+0x6a46 020747 hjam 0x1 ,core_cvsd_ctrl 
+0x6a47 020748 hjam 0x1 ,core_codec_ctrl 
+0x6a48 020749 hjam 0x11 ,core_dec_ctrl 
+0x6a49 020750 rtn 
+:      020752 disable_pcm:
+0x6a4a 020753 set1 mark_ext_patch ,mark 
+0x6a4b 020754 bpatch patch22_5 ,mem_patch22 
+0x6a4c 020755 hfetch 2 ,core_clkoff 
+0x6a4d 020756 set1 clock_off_codec ,pdata 
+0x6a4e 020757 hstore 2 ,core_clkoff 
+0x6a4f 020758 hjam 0x4 ,core_enc_ctrl 
+0x6a50 020759 hjam 0x4 ,core_dec_ctrl 
+0x6a51 020760 hjam 0x0 ,core_cvsd_ctrl 
+0x6a52 020761 hjam 0x0 ,core_codec_ctrl 
+0x6a53 020762 rtn 
+:      020766 get_sco_data:
+0x6a54 020767 fetch 1 ,mem_state 
+0x6a55 020768 rtnbit0 state_insco 
+0x6a56 020769 arg mem_sco_obuf ,contw 
+0x6a57 020770 arg 30 ,loopcnt 
+:      020771 get_sco_data_loop:
+0x6a58 020772 hfetch 1 ,core_pcminfifo 
+0x6a59 020773 istore 1 ,contw 
+0x6a5a 020774 loop get_sco_data_loop 
+0x6a5b 020775 rtn 
+:      020778 process_sco_data:
+0x6a5c 020779 fetch 1 ,mem_state 
+0x6a5d 020780 rtnbit0 state_insco 
+0x6a5e 020781 arg mem_sco_ibuf ,contr 
+0x6a5f 020782 force 30 ,loopcnt 
+:      020783 process_sco_loop:
+0x6a60 020784 ifetch 1 ,contr 
+0x6a61 020785 hstore 1 ,core_pcmoutfifo 
+0x6a62 020786 loop process_sco_loop 
+0x6a63 020787 rtn 
+:      020789 init_sched:
+0x6a64 020790 rtn 
+:      020795 gpio_cfg_uart_tx_output:
+0x6a65 020796 call gpio_uart2gpio 
+0x6a66 020797 arg uart_wakeup_tx ,temp 
+0x6a67 020798 branch gpio_config_output 
+:      020800 gpio_pu_uart_tx:
+0x6a68 020801 call gpio_cfg_uart_tx_output 
+0x6a69 020802 arg uart_wakeup_tx ,temp 
+0x6a6a 020803 branch gpio_out_inactive 
+:      020805 gpio_pd_uart_tx:
+0x6a6b 020806 call gpio_cfg_uart_tx_output 
+0x6a6c 020807 arg uart_wakeup_tx ,temp 
+0x6a6d 020808 branch gpio_out_active 
+:      020810 gpio_cfg_uart_rx_output:
+0x6a6e 020811 call gpio_uart2gpio 
+0x6a6f 020812 arg uart_wakeup_rx ,temp 
+0x6a70 020813 branch gpio_config_output 
+:      020815 gpio_pu_uart_rx:
+0x6a71 020816 call gpio_cfg_uart_rx_output 
+0x6a72 020817 arg uart_wakeup_rx ,temp 
+0x6a73 020818 branch gpio_out_inactive 
+:      020820 gpio_pd_uart_rx:
+0x6a74 020821 call gpio_cfg_uart_rx_output 
+0x6a75 020822 arg uart_wakeup_rx ,temp 
+0x6a76 020823 branch gpio_out_active 
+:      020825 gpio_tx_config_input_with_pu:
+0x6a77 020826 call gpio_uart2gpio 
+0x6a78 020827 hfetch 1 ,core_gpio_pu0 
+0x6a79 020828 set1 uart_wakeup_tx ,pdata 
+0x6a7a 020829 hstore 1 ,core_gpio_pu0 
+0x6a7b 020830 arg uart_wakeup_tx ,temp 
+0x6a7c 020831 branch gpio_config_input 
+:      020833 gpio_rx_config_input_with_pu:
+0x6a7d 020834 call gpio_uart2gpio 
+0x6a7e 020835 hfetch 1 ,core_gpio_pu0 
+0x6a7f 020836 set1 uart_wakeup_rx ,pdata 
+0x6a80 020837 hstore 1 ,core_gpio_pu0 
+0x6a81 020838 arg uart_wakeup_rx ,temp 
+0x6a82 020839 branch gpio_config_input 
+:      020841 gpio_gpio2uart:
+0x6a83 020842 hfetch 1 ,core_gpio_sel1 
+0x6a84 020843 or_into 0x04 ,pdata 
+0x6a85 020844 hstore 1 ,core_gpio_sel1 
+0x6a86 020845 rtn 
+:      020847 gpio_uart2gpio:
+0x6a87 020848 hfetch 1 ,core_gpio_sel1 
+0x6a88 020849 and_into 0xfb ,pdata 
+0x6a89 020850 hstore 1 ,core_gpio_sel1 
+0x6a8a 020851 rtn 
+:      020853 gpio_check_uart_state:
+0x6a8b 020854 hfetch 1 ,core_gpio_sel1 
+0x6a8c 020855 isolate1 2 ,pdata 
+0x6a8d 020856 rtn 
+:      020859 prcp_init:
+0x6a8e 020860 setarg prcp_process 
+0x6a8f 020861 store 2 ,mem_cb_att_write 
+0x6a90 020862 rtn 
+:      020863 prcp_process:
+0x6a91 020864 call clear_prcp_sendbuff 
+0x6a92 020865 fetch 1 ,mem_prcp 
+0x6a93 020866 beq prcp_le ,le_prcp 
+0x6a94 020867 beq prcp_ssp ,prcp 
+0x6a95 020868 branch assert 
+:      020869 le_prcp:
+0x6a96 020870 arg prcp_rx_le ,temp 
+0x6a97 020871 storet 2 ,mem_le_notify_handle 
+0x6a98 020872 call le_att_get_handle_ptr 
+0x6a99 020873 ifetch 1 ,contr 
+0x6a9a 020874 call prcp_parse 
+0x6a9b 020875 branch prcp_le_tx 
+:      020876 prcp:
+0x6a9c 020877 call prcp_parse 
+0x6a9d 020878 branch prcp_tx 
+:      020879 prcp_parse:
+0x6a9e 020880 copy contr ,rega 
+0x6a9f 020881 set1 mark_ext_patch ,mark 
+0x6aa0 020882 bpatch patch26_1 ,mem_patch26 
+0x6aa1 020883 ifetch 1 ,contr 
+0x6aa2 020884 beq common_res ,prcp_parse_common_res 
+0x6aa3 020885 beq read_registers_req ,prcp_parse_read_registers_req 
+0x6aa4 020886 beq read_registers_res ,prcp_parse_read_registers_res 
+0x6aa5 020887 beq write_registers_req ,prcp_parse_write_registers_req 
+0x6aa6 020888 beq i2c_config_req ,prcp_parse_i2c_config_req 
+0x6aa7 020889 beq i2c_read_req ,prcp_parse_i2c_read_req 
+0x6aa8 020890 beq i2c_read_res ,prcp_parse_i2c_read_res 
+0x6aa9 020891 beq i2c_write_req ,prcp_parse_i2c_write_req 
+0x6aaa 020892 beq spi_config_req ,prcp_parse_spi_config_req 
+0x6aab 020893 beq spi_read_req ,prcp_parse_spi_read_req 
+0x6aac 020894 beq spi_read_res ,prcp_parse_spi_read_res 
+0x6aad 020895 beq spi_write_req ,prcp_parse_spi_write_req 
+0x6aae 020896 beq pwm_config_req ,prcp_parse_pwm_config_req 
+0x6aaf 020897 beq pwm_write_req ,prcp_parse_pwm_write_req 
+0x6ab0 020898 beq gpio_config_req ,prcp_parse_gpio_config_req 
+0x6ab1 020899 beq gpio_read_req ,prcp_parse_gpio_read_req 
+0x6ab2 020900 beq gpio_read_res ,prcp_parse_gpio_read_res 
+0x6ab3 020901 beq gpio_write_req ,prcp_parse_gpio_write_req 
+0x6ab4 020902 beq ota_write_req ,prcp_parse_ota_write_req 
+0x6ab5 020903 beq ota_end_cmd ,prcp_parse_ota_end_cmd 
+0x6ab6 020904 rtn 
+:      020907 prcp_parse_common_res:
+0x6ab7 020908 copy rega ,contr 
+0x6ab8 020909 ifetch 1 ,contr 
+0x6ab9 020910 lshift8 pdata ,pdata 
+0x6aba 020911 store 3 ,mem_prcp_data 
+0x6abb 020912 rtn 
+:      020913 prcp_parse_read_registers_req:
+0x6abc 020914 rtn 
+:      020915 prcp_parse_read_registers_res:
+0x6abd 020916 rtn 
+:      020917 prcp_parse_write_registers_req:
+0x6abe 020918 rtn 
+:      020922 prcp_parse_spi_config_req:
+0x6abf 020923 rtn 
+:      020924 prcp_parse_spi_read_req:
+0x6ac0 020925 rtn 
+:      020926 prcp_parse_spi_read_res:
+0x6ac1 020927 rtn 
+:      020928 prcp_parse_spi_write_req:
+0x6ac2 020929 rtn 
+:      020933 prcp_parse_pwm_config_req:
+0x6ac3 020934 ifetch 4 ,contr 
+0x6ac4 020935 hstore 1 ,core_gpio_sel2 
+0x6ac5 020936 rshift8 pdata ,pdata 
+0x6ac6 020937 hfetcht 1 ,core_gpio_sel1 
+0x6ac7 020938 and_into 0x7f ,temp 
+0x6ac8 020939 ior temp ,temp 
+0x6ac9 020940 hstoret 1 ,core_gpio_sel1 
+0x6aca 020941 rshift8 pdata ,pdata 
+0x6acb 020942 hfetcht 1 ,core_clkoff + 1 
+0x6acc 020943 and_into 0xdf ,temp 
+0x6acd 020944 ior temp ,temp 
+0x6ace 020945 hstoret 1 ,core_clkoff + 1 
+0x6acf 020946 rshift8 pdata ,pdata 
+0x6ad0 020947 hfetcht 1 ,core_clksel 
+0x6ad1 020948 and_into 0x3f ,temp 
+0x6ad2 020949 ior temp ,temp 
+0x6ad3 020950 hstoret 1 ,core_clksel 
+0x6ad4 020951 branch prcp_parse_common_res 
+:      020952 prcp_parse_pwm_write_req:
+0x6ad5 020953 ifetch 9 ,contr 
+0x6ad6 020954 hfetcht 1 ,core_gpio_key2 
+0x6ad7 020955 and_into 0x3f ,temp 
+0x6ad8 020956 ior temp ,temp 
+0x6ad9 020957 hstoret 1 ,core_gpio_key2 
+0x6ada 020958 rshift8 pdata ,pdata 
+0x6adb 020959 hstore 2 ,core_pwm_pcnt0 
+0x6adc 020960 rshift16 pdata ,pdata 
+0x6add 020961 hstore 2 ,core_pwm_ncnt0 
+0x6ade 020962 rshift16 pdata ,pdata 
+0x6adf 020963 hstore 2 ,core_pwm_pcnt1 
+0x6ae0 020964 rshift16 pdata ,pdata 
+0x6ae1 020965 hstore 2 ,core_pwm_ncnt1 
+0x6ae2 020966 branch prcp_parse_common_res 
+:      020970 prcp_parse_gpio_config_req:
+0x6ae3 020971 ifetch 4 ,contr 
+0x6ae4 020972 hstore 4 ,core_gpio_oe0 
+0x6ae5 020973 ifetch 4 ,contr 
+0x6ae6 020974 hstore 4 ,core_gpio_pu0 
+0x6ae7 020975 ifetch 4 ,contr 
+0x6ae8 020976 hstore 4 ,core_gpio_pd0 
+0x6ae9 020977 ifetch 1 ,contr 
+0x6aea 020978 hstore 1 ,core_gpio_sel 
+0x6aeb 020979 ifetch 1 ,contr 
+0x6aec 020980 hstore 1 ,core_gpio_sel1 
+0x6aed 020981 ifetch 1 ,contr 
+0x6aee 020982 hstore 1 ,core_gpio_sel2 
+0x6aef 020983 branch prcp_parse_common_res 
+:      020984 prcp_parse_gpio_read_req:
+0x6af0 020985 branch prcp_parse_gpio_read_res 
+:      020986 prcp_parse_gpio_read_res:
+0x6af1 020987 jam 0x10 ,mem_prcp_data 
+0x6af2 020988 arg mem_prcp_data + 1 ,contw 
+0x6af3 020989 hfetch 4 ,core_gpio_out0 
+0x6af4 020990 istore 4 ,contw 
+0x6af5 020991 hfetch 4 ,core_gpio_in 
+0x6af6 020992 istore 4 ,contw 
+0x6af7 020993 rtn 
+:      020994 prcp_parse_gpio_write_req:
+0x6af8 020995 ifetcht 1 ,contr 
+0x6af9 020996 ifetch 1 ,contr 
+0x6afa 020997 lshift3 pdata ,pdata 
+0x6afb 020998 lshift4 pdata ,pdata 
+0x6afc 020999 ior temp ,temp 
+0x6afd 021000 call gpio_out 
+0x6afe 021001 branch prcp_parse_common_res 
+:      021006 prcp_parse_i2c_read_req:
+0x6aff 021007 ifetcht 1 ,contr 
+0x6b00 021008 hstoret 1 ,iic_slave_addr 
+0x6b01 021009 ifetch 1 ,contr 
+0x6b02 021010 compare 1 ,pdata ,0xff 
+0x6b03 021011 ifetch 1 ,contr 
+0x6b04 021012 hstore 1 ,iic_fifo 
+0x6b05 021013 branch iic_read_data_len ,true 
+0x6b06 021014 ifetch 1 ,contr 
+0x6b07 021015 hstore 1 ,iic_fifo 
+:      021016 iic_read_data_len:
+0x6b08 021017 ifetch 1 ,contr 
+0x6b09 021018 copy pdata ,loopcnt 
+0x6b0a 021019 increase -1 ,pdata 
+0x6b0b 021020 or_into 0x90 ,pdata 
+0x6b0c 021021 hstore 1 ,iic_ctr 
+0x6b0d 021022 hjam 2 ,iic_cr 
+0x6b0e 021023 nop 1 
+0x6b0f 021025 arg mem_prcp_data ,contw 
+:      021026 iic_read_loop:
+0x6b10 021027 hfetch 1 ,iic_fifo 
+0x6b11 021028 istore 1 ,contw 
+0x6b12 021029 loop iic_read_loop 
+0x6b13 021030 rtn 
+:      021032 clear_prcp_sendbuff:
+0x6b14 021033 setarg 0 
+0x6b15 021034 store 4 ,mem_prcp_data 
+0x6b16 021035 istore 8 ,contw 
+0x6b17 021036 istore 8 ,contw 
+0x6b18 021037 rtn 
+:      021043 prcp_parse_ota_write_req:
+0x6b19 021044 copy rega ,pdata 
+0x6b1a 021045 increase 1 ,pdata 
+0x6b1b 021046 store 2 ,rx_buf_data_ptr 
+0x6b1c 021047 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b1d 021048 beq 0x0000 ,prcp_parse_ota_start1 
+:      021049 prcp_parse_ota_load:
+0x6b1e 021050 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b1f 021051 fetcht 2 ,rx_buf_data_ptr 
+0x6b20 021052 ifetcht 2 ,temp 
+0x6b21 021053 iadd temp ,pdata 
+0x6b22 021054 fetcht 2 ,rx_buf_data_ptr 
+0x6b23 021055 increase 2 ,temp 
+0x6b24 021056 copy temp ,contr 
+0x6b25 021057 ifetcht 1 ,contr 
+0x6b26 021058 copy contr ,rega 
+0x6b27 021059 branch iicd_write_ota_data 
+:      021061 prcp_parse_ota_start1:
+0x6b28 021062 setarg 0x0002 
+0x6b29 021063 byteswap pdata ,pdata 
+0x6b2a 021064 store 2 ,mem_addr_mi 
+0x6b2b 021065 arg iicd_read_eep ,regc 
+0x6b2c 021066 arg 0x2 ,loopcnt 
+:      021067 prcp_parse_ota_loop1:
+0x6b2d 021068 call get_block_header 
+0x6b2e 021069 nbranch prcp_parse_ota_start2 ,zero 
+0x6b2f 021070 fetch 2 ,mem_addr_mi 
+0x6b30 021071 byteswap pdata ,pdata 
+0x6b31 021072 iadd temp ,pdata 
+0x6b32 021073 store 2 ,mem_eeprom_ota_base_addr 
+0x6b33 021074 byteswap pdata ,pdata 
+0x6b34 021075 store 2 ,mem_addr_mi 
+0x6b35 021076 loop prcp_parse_ota_loop1 
+:      021077 prcp_parse_ota_start2:
+0x6b36 021078 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b37 021079 byteswap pdata ,pdata 
+0x6b38 021080 store 2 ,mem_addr_mi 
+0x6b39 021081 arg iicd_read_eep ,regc 
+0x6b3a 021082 arg 0xffff ,loopcnt 
+:      021083 prcp_parse_ota_loop2:
+0x6b3b 021084 call get_block_header 
+0x6b3c 021085 nbranch prcp_parse_ota_load ,zero 
+0x6b3d 021086 fetch 2 ,mem_addr_mi 
+0x6b3e 021087 byteswap pdata ,pdata 
+0x6b3f 021088 iadd temp ,pdata 
+0x6b40 021089 increase 2 ,pdata 
+0x6b41 021090 store 2 ,mem_eeprom_ota_base_addr 
+0x6b42 021091 byteswap pdata ,pdata 
+0x6b43 021092 store 2 ,mem_addr_mi 
+0x6b44 021093 loop prcp_parse_ota_loop2 
+:      021095 prcp_parse_ota_end_cmd:
+0x6b45 021096 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b46 021097 increase 2 ,pdata 
+0x6b47 021098 byteswap pdata ,pdata 
+0x6b48 021099 store 2 ,mem_eeprom_ota_base_addr 
+0x6b49 021100 arg mem_eeprom_ota_base_addr ,rega 
+0x6b4a 021101 arg 0x02 ,temp 
+0x6b4b 021102 arg 0x0000 ,pdata 
+0x6b4c 021103 call iicd_write_ota_data 
+0x6b4d 021104 setarg 0x0000 
+0x6b4e 021105 store 2 ,mem_eeprom_ota_base_addr 
+0x6b4f 021106 rtn 
+:      021108 prcp_parse_i2c_config_req:
+0x6b50 021109 rtn 
+:      021110 prcp_parse_i2c_read_res:
+0x6b51 021111 rtn 
+:      021112 prcp_parse_i2c_write_req:
+0x6b52 021113 rtn 
+:      021118 rfcomm_init:
+0x6b53 021119 rtn wake 
+0x6b54 021120 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6b55 021121 jam bits9600 ,memremoterpnbitrate 
+0x6b56 021122 jam databits8 ,memremoteprndatabits 
+0x6b57 021123 jam 0x11 ,memremoteprnxon 
+0x6b58 021124 jam 0x13 ,memremoteprnxoff 
+0x6b59 021125 setarg 0 
+0x6b5a 021126 store 3 ,memremoteprnstopbit 
+0x6b5b 021127 store 1 ,mem_spp_state 
+0x6b5c 021128 jam 0 ,memui_reconnect_mode 
+:      021130 rfcomm_init_spp:
+0x6b5d 021131 set1 mark_ext_patch ,mark 
+0x6b5e 021132 bpatch patch37_7 ,mem_patch37 
+0x6b5f 021133 setarg 0 
+0x6b60 021134 store 1 ,mem_spp_state 
+0x6b61 021135 store 1 ,mem_remote_spp_channel 
+0x6b62 021136 store 1 ,mem_pn_dlci 
+0x6b63 021137 jam 0x50 ,mem_credit_given 
+0x6b64 021138 rtn 
+:      021140 set_cr_bit:
+0x6b65 021141 or_into 0x02 ,temp 
+0x6b66 021142 rtn 
+:      021154 rfcomm_calculate_fcs_sabm:
+0x6b67 021155 copy temp ,pdata 
+0x6b68 021156 reverse pdata ,pdata 
+0x6b69 021157 store 1 ,memfcstemp3 
+0x6b6a 021158 force ini_tx_sabm ,pdata 
+0x6b6b 021159 reverse pdata ,pdata 
+0x6b6c 021160 store 1 ,memfcstemp2 
+0x6b6d 021161 force 0x01 ,pdata 
+0x6b6e 021162 reverse pdata ,pdata 
+0x6b6f 021163 store 1 ,memfcstemp1 
+0x6b70 021164 call caculate_fcs 
+0x6b71 021165 copy temp ,pdata 
+0x6b72 021166 rtn 
+:      021167 rfcomm_calculate_fcs_ua:
+0x6b73 021168 reverse pdata ,pdata 
+0x6b74 021169 store 1 ,memfcstemp3 
+0x6b75 021170 force rsp_tx_ua ,pdata 
+0x6b76 021171 reverse pdata ,pdata 
+0x6b77 021172 store 1 ,memfcstemp2 
+0x6b78 021173 force 0x01 ,pdata 
+0x6b79 021174 reverse pdata ,pdata 
+0x6b7a 021175 store 1 ,memfcstemp1 
+0x6b7b 021176 branch caculate_fcs 
+:      021178 rfcomm_calculate_fcs_dlci0:
+0x6b7c 021179 fetch 1 ,mem_rfcomm_initiator 
+0x6b7d 021180 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+0x6b7e 021181 setarg 0x70 
+0x6b7f 021182 rtn 
+:      021183 rfcomm_calculate_fcs_dlci0_res:
+0x6b80 021184 setarg 0xaa 
+0x6b81 021185 rtn 
+:      021187 rfcomm_save_fcs_uih:
+0x6b82 021188 reverse pdata ,pdata 
+0x6b83 021189 store 1 ,memfcstemp3 
+0x6b84 021190 force rsp_rx_uih ,pdata 
+0x6b85 021191 call caculate_uihdata_fcs 
+0x6b86 021192 fetcht 2 ,mem_contw_temp 
+0x6b87 021193 copy temp ,contw 
+0x6b88 021194 istore 1 ,contw 
+0x6b89 021195 copy contw ,temp 
+0x6b8a 021196 storet 2 ,mem_contw_temp 
+0x6b8b 021197 force rsp_rx_uih_wdata ,pdata 
+0x6b8c 021198 call caculate_uihdata_fcs 
+0x6b8d 021199 fetcht 2 ,mem_contw_temp 
+0x6b8e 021200 copy temp ,contw 
+0x6b8f 021201 istore 1 ,contw 
+0x6b90 021202 rtn 
+:      021211 caculate_uihdata_fcs:
+0x6b91 021212 reverse pdata ,pdata 
+0x6b92 021213 store 1 ,memfcstemp2 
+0x6b93 021214 fetch 2 ,memfcstemp2 
+0x6b94 021215 lshift8 pdata ,pdata 
+0x6b95 021216 store 3 ,mem_mod2div_temp 
+0x6b96 021217 arg 0x107 ,rega 
+0x6b97 021218 arg 0xf ,regb 
+0x6b98 021219 call mod2div 
+0x6b99 021220 xor_into 0xd7 ,pdata 
+0x6b9a 021221 invert pdata ,pdata 
+0x6b9b 021222 reverse pdata ,pdata 
+0x6b9c 021223 rtn 
+:      021233 caculate_fcs:
+0x6b9d 021234 fetch 3 ,memfcstemp1 
+0x6b9e 021235 store 3 ,mem_mod2div_temp 
+0x6b9f 021236 arg 0x107 ,rega 
+0x6ba0 021237 arg 0xf ,regb 
+0x6ba1 021238 call mod2div 
+0x6ba2 021239 lshift8 pdata ,pdata 
+0x6ba3 021240 arg 0x7 ,regb 
+0x6ba4 021241 call mod2div 
+0x6ba5 021242 xor_into 0x2b ,pdata 
+0x6ba6 021243 invert pdata ,pdata 
+0x6ba7 021244 reverse pdata ,pdata 
+0x6ba8 021245 copy pdata ,temp 
+0x6ba9 021246 rtn 
+:      021248 mod2div:
+0x6baa 021249 arg 0 ,regc 
+0x6bab 021250 copy regb ,loopcnt 
+0x6bac 021251 call right_shift_n 
+0x6bad 021252 icopy temp 
+:      021253 mod2div_loop:
+0x6bae 021258 copy temp ,pdata 
+0x6baf 021259 lshift regc ,regc 
+0x6bb0 021260 bbit0 8 ,mod2div_not_enough_reduction 
+0x6bb1 021261 ixor rega ,temp 
+0x6bb2 021262 increase 1 ,regc 
+:      021263 mod2div_not_enough_reduction:
+0x6bb3 021264 lshift temp ,temp 
+0x6bb4 021265 fetch 3 ,mem_mod2div_temp 
+0x6bb5 021266 increase -1 ,regb 
+0x6bb6 021267 compare 0xff ,regb ,0xff 
+0x6bb7 021268 branch mod2div_end ,true 
+0x6bb8 021269 copy regb ,loopcnt 
+0x6bb9 021270 call right_shift_n 
+0x6bba 021271 isolate1 0 ,pdata 
+0x6bbb 021272 setflag true ,0 ,temp 
+0x6bbc 021273 branch mod2div_loop 
+:      021274 mod2div_end:
+0x6bbd 021276 rshift temp ,pdata 
+0x6bbe 021277 rtn 
+:      021279 get_rfcomm_snd_adss:
+0x6bbf 021280 fetcht 1 ,mem_pn_dlci 
+:      021281 dlci_to_address_cmd:
+0x6bc0 021283 lshift2 temp ,temp 
+0x6bc1 021284 set1 rfcomm_address_ext_len ,temp 
+0x6bc2 021285 fetch 1 ,mem_rfcomm_initiator 
+0x6bc3 021286 ncall set_cr_bit ,blank 
+0x6bc4 021287 storet 1 ,mem_rfcomm_send_adss 
+0x6bc5 021288 rtn 
+:      021290 dlci_to_address_res:
+0x6bc6 021292 lshift2 temp ,temp 
+0x6bc7 021293 set1 rfcomm_address_ext_len ,temp 
+0x6bc8 021294 fetch 1 ,mem_rfcomm_initiator 
+0x6bc9 021295 call set_cr_bit ,blank 
+0x6bca 021296 rtn 
+:      021297 channel_to_dlci:
+0x6bcb 021299 lshift temp ,temp 
+0x6bcc 021300 fetch 1 ,mem_rfcomm_initiator 
+0x6bcd 021301 setflag blank ,0 ,temp 
+0x6bce 021303 rtn 
+:      021304 rfcomm_rx_process_dlci0_sabm:
+0x6bcf 021305 fetcht 1 ,mem_current_channel 
+0x6bd0 021306 jam 0xd7 ,mem_current_fcs 
+0x6bd1 021307 call rfcomm_send_ua 
+0x6bd2 021308 fetch 1 ,mem_rfcomm_state 
+0x6bd3 021309 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6bd4 021310 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x6bd5 021311 store 1 ,mem_rfcomm_state 
+0x6bd6 021312 jam 0 ,mem_rfcomm_initiator 
+0x6bd7 021313 branch rfcomm_rx_process_end 
+:      021314 rfcomm_rx_process_dlci0_ua:
+0x6bd8 021315 fetch 1 ,mem_rfcomm_state 
+0x6bd9 021316 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x6bda 021317 store 1 ,mem_rfcomm_state 
+0x6bdb 021318 branch rfcomm_rx_process_end 
+:      021321 rfcomm_rx_process:
+0x6bdc 021322 set1 mark_ext_patch ,mark 
+0x6bdd 021323 bpatch patch38_0 ,mem_patch38 
+0x6bde 021324 fetch 1 ,memui_reconnect_mode 
+0x6bdf 021325 beq no_reconnection ,rfcomm_rx_process_remote_page 
+0x6be0 021326 branch rfcomm_rx_process_reconn 
+:      021328 rfcomm_rx_process_remote_page:
+0x6be1 021329 fetch 2 ,mem_l2cap_payload_ptr 
+0x6be2 021330 copy pdata ,contr 
+0x6be3 021331 call get_rfcomm_head_struct 
+0x6be4 021332 fetch 1 ,mem_current_channel 
+0x6be5 021333 beq 0 ,parse_dlci0_rp 
+0x6be6 021334 branch parse_uih_rp 
+:      021335 parse_dlci0_rp:
+0x6be7 021336 set1 mark_ext_patch ,mark 
+0x6be8 021337 bpatch patch38_1 ,mem_patch38 
+0x6be9 021338 fetch 1 ,mem_current_frame_type 
+0x6bea 021339 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6beb 021340 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6bec 021341 beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+0x6bed 021342 rtneq rfcomm_frame_type_disconn 
+0x6bee 021343 branch assert 
+:      021346 parse_dlci0_rp_uih:
+0x6bef 021347 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6bf0 021348 copy pdata ,contr 
+0x6bf1 021349 call get_rfcomm_uih_head_struct 
+0x6bf2 021350 fetch 1 ,mem_uih_cmd_type 
+0x6bf3 021351 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+0x6bf4 021352 beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+0x6bf5 021353 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+0x6bf6 021354 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+0x6bf7 021355 branch rfcomm_rx_process_end 
+:      021357 parse_dlci0_rp_uih_pn_cmd:
+0x6bf8 021358 call parse_dlci0_rp_uih_pn_res_common 
+0x6bf9 021359 fetch 1 ,mem_pn_dlci 
+0x6bfa 021360 rshift pdata ,pdata 
+0x6bfb 021361 sub pdata ,spp_slave_channel ,null 
+0x6bfc 021362 branch parse_dlci0_rp_uih_pn_cmd_spp ,zero 
+0x6bfd 021363 branch assert 
+:      021364 parse_dlci0_rp_uih_pn_cmd_spp:
+0x6bfe 021365 fetch 1 ,mem_spp_state 
+0x6bff 021366 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x6c00 021367 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6c01 021368 store 1 ,mem_spp_state 
+0x6c02 021369 call rfcomm_send_param_neg_res 
+0x6c03 021370 branch rfcomm_rx_process_end 
+:      021372 parse_dlci0_rp_uih_pn_res:
+0x6c04 021373 call parse_dlci0_rp_uih_pn_res_common 
+0x6c05 021374 branch rfcomm_rx_process_end 
+:      021376 parse_dlci0_rp_uih_pn_res_common:
+0x6c06 021377 call get_param_payload_ptr 
+0x6c07 021378 branch get_rfcomm_prarmer_negotiation 
+:      021380 get_rfcomm_param_modem_status:
+0x6c08 021381 call get_param_payload_ptr 
+0x6c09 021382 ifetch 1 ,contr 
+0x6c0a 021383 rshift3 pdata ,pdata 
+0x6c0b 021384 store 1 ,mem_ms_channel 
+0x6c0c 021385 ifetch 1 ,contr 
+0x6c0d 021386 store 1 ,mem_ms_param 
+0x6c0e 021387 rtn 
+:      021390 get_rfcomm_head_struct:
+0x6c0f 021391 ifetch 1 ,contr 
+0x6c10 021392 store 1 ,mem_current_adss 
+0x6c11 021393 rshift3 pdata ,pdata 
+0x6c12 021394 store 1 ,mem_current_channel 
+0x6c13 021395 ifetch 1 ,contr 
+0x6c14 021396 store 1 ,mem_current_frame_type 
+:      021397 get_rfcomm_current_length:
+0x6c15 021398 call get_rfcomm_length_common 
+0x6c16 021399 storet 2 ,mem_current_length 
+0x6c17 021400 copy contr ,pdata 
+0x6c18 021401 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c19 021402 rtn 
+:      021404 get_rfcomm_uih_head_struct:
+0x6c1a 021405 ifetch 1 ,contr 
+0x6c1b 021406 rshift pdata ,pdata 
+0x6c1c 021407 store 1 ,mem_uih_cmd_type 
+0x6c1d 021408 call get_rfcomm_length_common 
+0x6c1e 021409 storet 2 ,mem_uih_length 
+0x6c1f 021410 copy contr ,pdata 
+0x6c20 021411 store 2 ,mem_param_payload_ptr 
+0x6c21 021412 rtn 
+:      021415 get_param_payload_ptr:
+0x6c22 021416 fetch 2 ,mem_param_payload_ptr 
+0x6c23 021417 copy pdata ,contr 
+0x6c24 021418 rtn 
+:      021420 get_rfcomm_param_length_common:
+0x6c25 021421 fetch 2 ,mem_param_payload_ptr 
+0x6c26 021422 copy pdata ,contr 
+:      021423 get_rfcomm_length_common:
+0x6c27 021424 ifetch 1 ,contr 
+0x6c28 021425 copy pdata ,temp 
+0x6c29 021426 rshift temp ,temp 
+0x6c2a 021427 rtnbit1 0 
+0x6c2b 021428 ifetch 1 ,contr 
+0x6c2c 021429 lshift3 pdata ,pdata 
+0x6c2d 021430 lshift4 pdata ,pdata 
+0x6c2e 021431 iadd temp ,temp 
+0x6c2f 021432 rtn 
+:      021434 get_rfcomm_prarmer_negotiation:
+0x6c30 021435 ifetch 1 ,contr 
+0x6c31 021436 store 1 ,mem_pn_dlci 
+0x6c32 021437 ifetch 1 ,contr 
+0x6c33 021438 store 1 ,mem_pn_credit_flow_type_info 
+0x6c34 021439 ifetch 1 ,contr 
+0x6c35 021440 store 1 ,mem_pn_priority 
+0x6c36 021441 ifetch 1 ,contr 
+0x6c37 021442 store 1 ,mem_pn_acknowledg_timer 
+0x6c38 021443 ifetch 2 ,contr 
+0x6c39 021444 store 2 ,mem_pn_max_frame_size 
+0x6c3a 021445 ifetch 1 ,contr 
+0x6c3b 021446 store 1 ,mem_pn_max_retrans 
+0x6c3c 021447 ifetch 1 ,contr 
+0x6c3d 021448 store 1 ,mem_remote_credits 
+0x6c3e 021449 rtn 
+:      021452 parse_dlci0_rp_uih_ms_cmd:
+0x6c3f 021453 call get_rfcomm_param_modem_status 
+0x6c40 021454 fetch 1 ,mem_ms_channel 
+0x6c41 021455 sub pdata ,1 ,null 
+0x6c42 021456 branch parse_dlci0_rp_uih_ms_cmd_spp ,zero 
+0x6c43 021457 branch assert 
+:      021458 parse_dlci0_rp_uih_ms_cmd_spp:
+0x6c44 021459 fetch 1 ,mem_spp_state 
+0x6c45 021460 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6c46 021461 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6c47 021462 store 1 ,mem_spp_state 
+0x6c48 021463 fetcht 1 ,mem_pn_dlci 
+0x6c49 021464 lshift2 temp ,temp 
+0x6c4a 021465 or_into 3 ,temp 
+0x6c4b 021466 call rfcomm_send_modem_status_res 
+0x6c4c 021467 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+0x6c4d 021468 branch rfcomm_rx_process_end 
+:      021470 parse_dlci0_rp_uih_ms_res:
+0x6c4e 021471 call get_rfcomm_param_modem_status 
+0x6c4f 021472 fetch 1 ,mem_ms_channel 
+0x6c50 021473 sub pdata ,1 ,null 
+0x6c51 021474 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+0x6c52 021475 branch assert 
+:      021476 parse_dlci0_rp_uih_ms_res_spp:
+0x6c53 021477 fetch 1 ,mem_spp_state 
+0x6c54 021478 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x6c55 021479 store 1 ,mem_spp_state 
+0x6c56 021480 branch rfcomm_rx_process_end 
+:      021482 parse_uih_rp:
+0x6c57 021483 fetch 1 ,mem_current_channel 
+0x6c58 021484 sub pdata ,spp_slave_channel ,null 
+0x6c59 021485 branch parse_uih_rp_spp ,zero 
+0x6c5a 021486 branch assert 
+:      021487 parse_uih_rp_spp:
+0x6c5b 021488 fetch 1 ,mem_current_frame_type 
+0x6c5c 021489 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+0x6c5d 021490 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+0x6c5e 021491 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x6c5f 021492 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x6c60 021493 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+0x6c61 021494 branch assert 
+:      021495 parse_uih_rp_spp_ua:
+0x6c62 021496 fetch 1 ,mem_spp_state 
+0x6c63 021497 set1 rfcomm_channel_state_ua ,pdata 
+0x6c64 021498 store 1 ,mem_spp_state 
+0x6c65 021499 branch rfcomm_rx_process_end 
+:      021500 parse_uih_rp_spp_sabm:
+0x6c66 021501 fetch 1 ,mem_spp_state 
+0x6c67 021502 set1 rfcomm_channel_state_ua ,pdata 
+0x6c68 021503 set1 rfcomm_channel_state_sabm ,pdata 
+0x6c69 021504 store 1 ,mem_spp_state 
+0x6c6a 021505 fetch 1 ,mem_current_adss 
+0x6c6b 021506 call rfcomm_calculate_fcs_ua 
+0x6c6c 021507 store 1 ,mem_current_fcs 
+0x6c6d 021508 call rfcomm_send_ua 
+0x6c6e 021509 fetch 1 ,mem_current_adss 
+0x6c6f 021510 rshift2 pdata ,pdata 
+0x6c70 021511 store 1 ,mem_pn_dlci 
+0x6c71 021512 lshift2 pdata ,pdata 
+0x6c72 021513 set0 rfcomm_address_cr ,pdata 
+0x6c73 021514 set1 rfcomm_address_ext_len ,pdata 
+0x6c74 021515 arg mem_hiufcs_spp ,temp 
+0x6c75 021516 storet 2 ,mem_contw_temp 
+0x6c76 021517 call rfcomm_save_fcs_uih 
+0x6c77 021518 branch rfcomm_rx_process_end 
+:      021520 parse_uih_spp_uih_credits:
+0x6c78 021521 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c79 021522 copy pdata ,contr 
+0x6c7a 021523 increase 1 ,pdata 
+0x6c7b 021524 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c7c 021525 ifetch 1 ,contr 
+0x6c7d 021526 fetcht 1 ,mem_remote_credits 
+0x6c7e 021527 iadd temp ,pdata 
+0x6c7f 021528 store 1 ,mem_remote_credits 
+:      021529 parse_uih_spp_uih:
+0x6c80 021530 call rfcomm_increase_credit_given 
+:      021531 parse_uih_spp_uih_cont:
+0x6c81 021532 call get_rfcomm_snd_adss 
+0x6c82 021533 call rfcomm_send_uih_without_payload 
+0x6c83 021534 call spp_process_rx_data 
+0x6c84 021535 branch rfcomm_rx_process_end 
+:      021537 parse_uih_rp_spp_disconn:
+0x6c85 021538 call rfcomm_init_spp 
+0x6c86 021539 fetch 1 ,mem_current_adss 
+0x6c87 021540 call rfcomm_calculate_fcs_ua 
+0x6c88 021541 store 1 ,mem_current_fcs 
+0x6c89 021542 call rfcomm_send_ua 
+0x6c8a 021543 branch rfcomm_rx_process_end 
+:      021548 rfcomm_rx_process_reconn:
+0x6c8b 021549 fetch 2 ,mem_l2cap_payload_ptr 
+0x6c8c 021550 copy pdata ,contr 
+0x6c8d 021551 call get_rfcomm_head_struct 
+0x6c8e 021552 fetch 1 ,mem_current_channel 
+0x6c8f 021553 beq 0 ,parse_dlci0_reconn 
+0x6c90 021554 branch parse_uih_reconn 
+:      021556 parse_dlci0_reconn:
+0x6c91 021557 set1 mark_ext_patch ,mark 
+0x6c92 021558 bpatch patch38_2 ,mem_patch38 
+0x6c93 021559 fetch 1 ,mem_current_frame_type 
+0x6c94 021560 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6c95 021561 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6c96 021562 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+0x6c97 021563 branch rfcomm_rx_process_end 
+:      021564 parse_dlci0_reconn_uih:
+0x6c98 021565 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c99 021566 copy pdata ,contr 
+0x6c9a 021567 call get_rfcomm_uih_head_struct 
+0x6c9b 021568 fetch 1 ,mem_uih_cmd_type 
+0x6c9c 021569 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+0x6c9d 021570 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+0x6c9e 021571 beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+0x6c9f 021572 beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+0x6ca0 021573 branch rfcomm_rx_process_end 
+:      021575 parse_dlci0_reconn_uih_pn_cmd:
+0x6ca1 021576 call parse_dlci0_rp_uih_pn_res_common 
+0x6ca2 021577 fetch 1 ,mem_pn_dlci 
+0x6ca3 021578 rshift pdata ,pdata 
+0x6ca4 021579 fetcht 1 ,mem_remote_spp_channel 
+0x6ca5 021580 isub temp ,null 
+0x6ca6 021581 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+0x6ca7 021582 branch assert 
+:      021583 parse_dlci0_reconn_uih_pn_cmd_spp:
+0x6ca8 021584 fetch 1 ,mem_spp_state 
+0x6ca9 021585 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6caa 021586 store 1 ,mem_spp_state 
+0x6cab 021587 branch rfcomm_rx_process_end 
+:      021589 parse_dlci0_reconn_uih_ms_cmd:
+0x6cac 021590 call get_rfcomm_param_modem_status 
+0x6cad 021591 fetch 1 ,mem_ms_channel 
+0x6cae 021592 fetcht 1 ,mem_remote_spp_channel 
+0x6caf 021593 isub temp ,null 
+0x6cb0 021594 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+0x6cb1 021595 branch assert 
+0x6cb2 021596 branch rfcomm_rx_process_end 
+:      021597 parse_dlci0_reconn_uih_ms_cmd_spp:
+0x6cb3 021598 fetch 1 ,mem_spp_state 
+0x6cb4 021599 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6cb5 021600 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6cb6 021601 store 1 ,mem_spp_state 
+0x6cb7 021602 fetcht 1 ,mem_pn_dlci 
+0x6cb8 021603 lshift2 temp ,temp 
+0x6cb9 021604 or_into 3 ,temp 
+0x6cba 021605 call rfcomm_send_modem_status_res 
+0x6cbb 021606 branch rfcomm_rx_process_end 
+:      021608 parse_dlci0_reconn_uih_ms_res:
+0x6cbc 021609 call get_rfcomm_param_modem_status 
+0x6cbd 021610 fetch 1 ,mem_ms_channel 
+0x6cbe 021611 fetcht 1 ,mem_remote_spp_channel 
+0x6cbf 021612 isub temp ,null 
+0x6cc0 021613 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+0x6cc1 021614 branch assert 
+:      021615 parse_dlci0_reconn_uih_ms_res_spp:
+0x6cc2 021616 fetch 1 ,mem_spp_state 
+0x6cc3 021617 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x6cc4 021618 store 1 ,mem_spp_state 
+0x6cc5 021619 branch rfcomm_rx_process_end 
+:      021621 parse_uih_reconn:
+0x6cc6 021622 fetch 1 ,mem_current_channel 
+0x6cc7 021623 fetcht 1 ,mem_remote_spp_channel 
+0x6cc8 021624 isub temp ,null 
+0x6cc9 021625 branch parse_uih_reconn_spp ,zero 
+0x6cca 021626 branch assert 
+0x6ccb 021627 branch rfcomm_rx_process_end 
+:      021629 parse_uih_reconn_spp:
+0x6ccc 021630 fetch 1 ,mem_current_frame_type 
+0x6ccd 021631 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+0x6cce 021632 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x6ccf 021633 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x6cd0 021634 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+:      021635 parse_uih_reconn_spp_ua:
+0x6cd1 021636 fetch 1 ,mem_spp_state 
+0x6cd2 021637 set1 rfcomm_channel_state_ua ,pdata 
+0x6cd3 021638 store 1 ,mem_spp_state 
+0x6cd4 021639 branch rfcomm_rx_process_end 
+:      021640 parse_uih_reconn_spp_sabm:
+0x6cd5 021641 branch parse_uih_reconn_spp_sabm 
+:      021642 parse_uih_reconn_spp_disconn:
+0x6cd6 021643 branch parse_uih_rp_spp_disconn 
+:      021644 rfcomm_rx_process_end:
+0x6cd7 021645 rtn 
+:      021647 rfcomm_send_more_pkt:
+0x6cd8 021648 fetch 1 ,mem_rfcomm_send_more_pkt 
+0x6cd9 021649 rtn blank 
+0x6cda 021650 beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+0x6cdb 021651 branch assert 
+:      021653 rfcomm_send_more_pkt_msc_cmd_spp:
+0x6cdc 021654 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6cdd 021655 call l2cap_malloc_rfcomm_channel 
+0x6cde 021656 arg spp_slave_channel ,temp 
+0x6cdf 021657 lshift3 temp ,temp 
+:      021658 rfcomm_send_more_pkt_msc_cmd_spp0:
+0x6ce0 021659 or_into 0x03 ,temp 
+0x6ce1 021660 arg 0xaa ,rega 
+0x6ce2 021661 call rfcomm_send_modem_status_cmd 
+0x6ce3 021662 call l2cap_get_rfcomm_tx_buff 
+0x6ce4 021663 copy contw ,contr 
+0x6ce5 021664 ifetch 2 ,contr 
+0x6ce6 021665 branch assert ,blank 
+0x6ce7 021666 rtn 
+:      021668 rfcomm_send_sabm:
+0x6ce8 021669 set1 mark_ext_patch ,mark 
+0x6ce9 021670 bpatch patch38_3 ,mem_patch38 
+0x6cea 021671 call l2cap_get_rfcomm_tx_buff 
+0x6ceb 021672 setarg 0x0004 
+0x6cec 021673 istore 2 ,contw 
+0x6ced 021674 fetch 2 ,mem_rfcomm_remote_cid 
+0x6cee 021675 istore 2 ,contw 
+0x6cef 021676 fetch 1 ,mem_current_adss 
+0x6cf0 021677 istore 1 ,contw 
+0x6cf1 021678 setarg 0x013f 
+0x6cf2 021679 istore 2 ,contw 
+0x6cf3 021680 fetch 1 ,mem_current_fcs 
+0x6cf4 021681 istore 1 ,contw 
+0x6cf5 021682 rtn 
+:      021683 rfcomm_send_ua:
+0x6cf6 021684 set1 mark_ext_patch ,mark 
+0x6cf7 021685 bpatch patch38_4 ,mem_patch38 
+0x6cf8 021686 call l2cap_malloc_rfcomm_channel 
+0x6cf9 021687 call l2cap_get_rfcomm_tx_buff 
+0x6cfa 021688 setarg 0x0004 
+0x6cfb 021689 istore 2 ,contw 
+0x6cfc 021690 fetch 2 ,mem_rfcomm_remote_cid 
+0x6cfd 021691 istore 2 ,contw 
+0x6cfe 021692 fetch 1 ,mem_current_adss 
+0x6cff 021693 istore 1 ,contw 
+0x6d00 021694 setarg 0x0173 
+0x6d01 021695 istore 2 ,contw 
+0x6d02 021696 fetch 1 ,mem_current_fcs 
+0x6d03 021697 istore 1 ,contw 
+0x6d04 021698 rtn 
+:      021699 rfcomm_send_param_neg_cmd:
+0x6d05 021700 set1 mark_ext_patch ,mark 
+0x6d06 021701 bpatch patch38_5 ,mem_patch38 
+0x6d07 021702 call l2cap_get_rfcomm_tx_buff 
+0x6d08 021703 setarg 0x000e 
+0x6d09 021704 istore 2 ,contw 
+0x6d0a 021705 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d0b 021706 istore 2 ,contw 
+0x6d0c 021707 fetch 1 ,mem_rfcomm_initiator 
+0x6d0d 021708 lshift pdata ,pdata 
+0x6d0e 021709 set1 0 ,pdata 
+0x6d0f 021710 istore 1 ,contw 
+0x6d10 021711 setarg 0x15ef 
+0x6d11 021712 istore 2 ,contw 
+0x6d12 021713 setarg 0x1183 
+0x6d13 021714 istore 2 ,contw 
+0x6d14 021715 copy temp ,pdata 
+0x6d15 021716 istore 1 ,contw 
+0x6d16 021717 setarg 0x0000f0 
+0x6d17 021718 istore 3 ,contw 
+0x6d18 021719 setarg rfcomm_max_frame_size 
+0x6d19 021720 istore 2 ,contw 
+0x6d1a 021721 setarg 0 
+0x6d1b 021722 istore 1 ,contw 
+0x6d1c 021723 setarg 0x01 
+0x6d1d 021724 istore 1 ,contw 
+0x6d1e 021725 call rfcomm_calculate_fcs_dlci0 
+0x6d1f 021726 istore 1 ,contw 
+0x6d20 021727 jam 0x10 ,mem_credit_given 
+0x6d21 021728 rtn 
+:      021729 rfcomm_send_param_neg_res:
+0x6d22 021730 set1 mark_ext_patch ,mark 
+0x6d23 021731 bpatch patch38_6 ,mem_patch38 
+0x6d24 021732 call l2cap_malloc_rfcomm_channel 
+0x6d25 021733 call l2cap_get_rfcomm_tx_buff 
+0x6d26 021734 setarg 0x000e 
+0x6d27 021735 istore 2 ,contw 
+0x6d28 021736 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d29 021737 istore 2 ,contw 
+0x6d2a 021738 fetch 1 ,mem_rfcomm_initiator 
+0x6d2b 021739 lshift pdata ,pdata 
+0x6d2c 021740 set1 0 ,pdata 
+0x6d2d 021741 istore 1 ,contw 
+0x6d2e 021742 setarg 0x15ef 
+0x6d2f 021743 istore 2 ,contw 
+0x6d30 021744 setarg 0x1181 
+0x6d31 021745 istore 2 ,contw 
+0x6d32 021746 fetch 1 ,mem_pn_dlci 
+0x6d33 021747 istore 1 ,contw 
+0x6d34 021748 setarg 0x0000e0 
+0x6d35 021749 istore 3 ,contw 
+0x6d36 021750 setarg rfcomm_max_frame_size 
+0x6d37 021751 istore 2 ,contw 
+0x6d38 021752 setarg 0x00 
+0x6d39 021753 istore 1 ,contw 
+0x6d3a 021754 setarg 0x07 
+0x6d3b 021755 istore 1 ,contw 
+0x6d3c 021756 call rfcomm_calculate_fcs_dlci0 
+0x6d3d 021757 istore 1 ,contw 
+0x6d3e 021758 rtn 
+:      021759 rfcomm_send_modem_status_cmd:
+0x6d3f 021760 set1 mark_ext_patch ,mark 
+0x6d40 021761 bpatch patch38_7 ,mem_patch38 
+0x6d41 021762 call l2cap_get_rfcomm_tx_buff 
+0x6d42 021763 setarg 0x0008 
+0x6d43 021764 istore 2 ,contw 
+0x6d44 021765 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d45 021766 istore 2 ,contw 
+0x6d46 021767 fetch 1 ,mem_rfcomm_initiator 
+0x6d47 021768 lshift pdata ,pdata 
+0x6d48 021769 set1 0 ,pdata 
+0x6d49 021770 istore 1 ,contw 
+0x6d4a 021771 setarg 0x09ef 
+0x6d4b 021772 istore 2 ,contw 
+0x6d4c 021773 setarg 0x05e3 
+0x6d4d 021774 istore 2 ,contw 
+0x6d4e 021775 copy temp ,pdata 
+0x6d4f 021776 istore 1 ,contw 
+0x6d50 021777 setarg 0x8d 
+0x6d51 021778 istore 1 ,contw 
+0x6d52 021779 call rfcomm_calculate_fcs_dlci0 
+0x6d53 021780 istore 1 ,contw 
+0x6d54 021781 rtn 
+:      021783 rfcomm_send_modem_status_res:
+0x6d55 021784 set1 mark_ext_patch ,mark 
+0x6d56 021785 bpatch patch39_0 ,mem_patch39 
+0x6d57 021786 call l2cap_malloc_rfcomm_channel 
+0x6d58 021787 call l2cap_get_rfcomm_tx_buff 
+0x6d59 021788 setarg 0x0008 
+0x6d5a 021789 istore 2 ,contw 
+0x6d5b 021790 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d5c 021791 istore 2 ,contw 
+0x6d5d 021792 copy temp ,timeup 
+0x6d5e 021793 fetch 1 ,mem_rfcomm_initiator 
+0x6d5f 021794 lshift pdata ,pdata 
+0x6d60 021795 set1 0 ,pdata 
+0x6d61 021796 istore 1 ,contw 
+0x6d62 021797 setarg 0x09ef 
+0x6d63 021798 istore 2 ,contw 
+0x6d64 021799 setarg 0x05e1 
+0x6d65 021800 istore 2 ,contw 
+0x6d66 021801 copy timeup ,pdata 
+0x6d67 021802 istore 1 ,contw 
+0x6d68 021803 setarg 0x8d 
+0x6d69 021804 istore 1 ,contw 
+0x6d6a 021805 call rfcomm_calculate_fcs_dlci0 
+0x6d6b 021806 istore 1 ,contw 
+0x6d6c 021807 rtn 
+:      021809 rfcomm_send_uih_without_payload:
+0x6d6d 021810 set1 mark_ext_patch ,mark 
+0x6d6e 021811 bpatch patch39_1 ,mem_patch39 
+0x6d6f 021812 fetch 1 ,mem_credit_given 
+0x6d70 021813 rtn blank 
+0x6d71 021814 hfetch 2 ,core_uart_rxitems 
+0x6d72 021815 nrtn blank 
+0x6d73 021816 copy rega ,pdata 
+0x6d74 021817 store 1 ,mem_pdatatemp + 1 
+0x6d75 021818 storet 1 ,mem_pdatatemp 
+0x6d76 021819 call l2cap_malloc_is_fifo_full 
+0x6d77 021820 nrtn blank 
+0x6d78 021821 call l2cap_malloc_rfcomm_channel 
+0x6d79 021822 call l2cap_get_rfcomm_tx_buff 
+0x6d7a 021823 setarg 0x05 
+0x6d7b 021824 istore 2 ,contw 
+0x6d7c 021825 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d7d 021826 istore 2 ,contw 
+0x6d7e 021827 fetch 1 ,mem_rfcomm_send_adss 
+0x6d7f 021828 istore 1 ,contw 
+0x6d80 021829 setarg 0x01ff 
+0x6d81 021830 istore 2 ,contw 
+0x6d82 021831 fetch 1 ,mem_credit_given 
+0x6d83 021832 istore 1 ,contw 
+0x6d84 021833 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x6d85 021834 istore 1 ,contw 
+0x6d86 021835 jam 0 ,mem_credit_given 
+0x6d87 021836 rtn 
+:      021838 rfcomm_increase_credit_given:
+0x6d88 021839 fetch 2 ,mem_current_length 
+0x6d89 021840 rtn blank 
+0x6d8a 021841 fetch 1 ,mem_credit_given 
+0x6d8b 021842 increase 1 ,pdata 
+0x6d8c 021843 store 1 ,mem_credit_given 
+0x6d8d 021844 rtn 
+:      021846 spp_process_rx_data:
+0x6d8e 021847 set1 mark_ext_patch ,mark 
+0x6d8f 021848 bpatch patch39_2 ,mem_patch39 
+0x6d90 021849 fetch 2 ,mem_current_length 
+0x6d91 021850 copy pdata ,loopcnt 
+0x6d92 021851 call uartd_prepare_tx 
+0x6d93 021852 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6d94 021853 copy pdata ,contr 
+0x6d95 021854 call uart_copy_tx_bytes 
+0x6d96 021855 branch uartd_send 
+:      021857 spp_tx_rfcomm_packet:
+0x6d97 021858 set1 mark_ext_patch ,mark 
+0x6d98 021859 bpatch patch39_3 ,mem_patch39 
+0x6d99 021861 fetch 1 ,mem_remote_credits 
+0x6d9a 021862 rtn blank 
+0x6d9b 021863 increase -1 ,pdata 
+0x6d9c 021864 store 1 ,mem_remote_credits 
+0x6d9d 021865 fetch 2 ,mem_pn_max_frame_size 
+0x6d9e 021866 fetcht 2 ,mem_current_packet_length 
+0x6d9f 021867 isub temp ,null 
+0x6da0 021868 branch spp_tx_rfcomm_from_uart ,positive 
+0x6da1 021869 store 2 ,mem_current_packet_length 
+:      021870 spp_tx_rfcomm_from_uart:
+0x6da2 021871 fetch 1 ,mem_credit_given 
+0x6da3 021872 branch spp_tx_rfcomm_from_uart_without_credit ,blank 
+0x6da4 021873 jam 1 ,mem_rfcomm_send_offset 
+0x6da5 021874 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x6da6 021875 store 1 ,mem_rfcomm_send_fcs 
+0x6da7 021876 setarg rsp_rx_uih_wdata 
+0x6da8 021877 store 1 ,mem_rfcomm_send_frame_type 
+0x6da9 021878 branch spp_tx_rfcomm_from_uart_common 
+:      021879 spp_tx_rfcomm_from_uart_without_credit:
+0x6daa 021880 jam 0 ,mem_rfcomm_send_offset 
+0x6dab 021881 fetch 1 ,mem_hiufcs_spp 
+0x6dac 021882 store 1 ,mem_rfcomm_send_fcs 
+0x6dad 021883 setarg rsp_tx_uih 
+0x6dae 021884 store 1 ,mem_rfcomm_send_frame_type 
+:      021885 spp_tx_rfcomm_from_uart_common:
+0x6daf 021886 set1 mark_ext_patch ,mark 
+0x6db0 021887 bpatch patch39_4 ,mem_patch39 
+0x6db1 021888 fetch 1 ,mem_current_packet_length 
+0x6db2 021889 sub pdata ,127 ,null 
+0x6db3 021890 branch spp_tx_rfcomm_from_uart_common0 ,positive 
+0x6db4 021891 fetch 1 ,mem_rfcomm_send_offset 
+0x6db5 021892 increase 1 ,pdata 
+0x6db6 021893 store 1 ,mem_rfcomm_send_offset 
+:      021894 spp_tx_rfcomm_from_uart_common0:
+0x6db7 021895 call get_rfcomm_snd_adss 
+0x6db8 021896 fetch 2 ,mem_current_packet_length 
+0x6db9 021897 increase 8 ,pdata 
+0x6dba 021898 fetcht 1 ,mem_rfcomm_send_offset 
+0x6dbb 021899 iadd temp ,rega 
+0x6dbc 021901 call l2cap_malloc 
+0x6dbd 021902 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x6dbe 021903 increase 4 ,pdata 
+0x6dbf 021904 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x6dc0 021905 copy pdata ,contw 
+0x6dc1 021906 fetch 1 ,mem_rfcomm_send_adss 
+0x6dc2 021907 istore 1 ,contw 
+0x6dc3 021908 fetch 1 ,mem_rfcomm_send_frame_type 
+0x6dc4 021909 istore 1 ,contw 
+0x6dc5 021910 call spp_tx_write_length 
+0x6dc6 021911 call spp_tx_write_given_credit 
+0x6dc7 021912 call get_uart_rrptr 
+0x6dc8 021913 fetch 1 ,mem_current_packet_length 
+0x6dc9 021914 copy pdata ,loopcnt 
+0x6dca 021915 call uart_copy_rx_bytes 
+0x6dcb 021916 fetch 1 ,mem_rfcomm_send_fcs 
+0x6dcc 021917 istore 1 ,contw 
+0x6dcd 021918 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x6dce 021919 copy pdata ,contw 
+0x6dcf 021920 fetch 2 ,mem_current_packet_length 
+0x6dd0 021921 fetcht 1 ,mem_rfcomm_send_offset 
+0x6dd1 021922 iadd temp ,pdata 
+0x6dd2 021923 increase 4 ,pdata 
+0x6dd3 021924 istore 2 ,contw 
+0x6dd4 021925 fetch 2 ,mem_rfcomm_remote_cid 
+0x6dd5 021926 istore 2 ,contw 
+0x6dd6 021927 jam 0 ,mem_credit_given 
+0x6dd7 021928 branch spp_send_end 
+:      021930 spp_tx_write_length:
+0x6dd8 021931 fetch 2 ,mem_current_packet_length 
+0x6dd9 021932 sub pdata ,0x7f ,null 
+0x6dda 021933 nbranch spp_tx_write_long_packet ,positive 
+0x6ddb 021934 lshift pdata ,pdata 
+0x6ddc 021935 set1 0 ,pdata 
+0x6ddd 021936 istore 1 ,contw 
+0x6dde 021937 rtn 
+:      021938 spp_tx_write_long_packet:
+0x6ddf 021939 fetch 2 ,mem_current_packet_length 
+0x6de0 021940 rshift3 pdata ,pdata 
+0x6de1 021941 rshift4 pdata ,temp 
+0x6de2 021942 and_into 0x7f ,pdata 
+0x6de3 021943 lshift pdata ,pdata 
+0x6de4 021944 set0 0 ,pdata 
+0x6de5 021945 istore 1 ,contw 
+0x6de6 021946 istoret 1 ,contw 
+0x6de7 021947 rtn 
+:      021948 spp_tx_write_given_credit:
+0x6de8 021949 fetch 1 ,mem_credit_given 
+0x6de9 021950 rtn blank 
+0x6dea 021951 istore 1 ,contw 
+0x6deb 021952 rtn 
+:      021957 scheduler_process:
+0x6dec 021958 set1 mark_ext_patch ,mark 
+0x6ded 021959 bpatch patch33_5 ,mem_patch33 
+0x6dee 021960 call check_51cmd 
+0x6def 021961 call app_process_bb_event 
+0x6df0 021962 call process_conn_sm 
+0x6df1 021964 set1 mark_ext_patch ,mark 
+0x6df2 021965 bpatch patch33_6 ,mem_patch33 
+0x6df3 021966 call sp_calc_sequence 
+0x6df4 021967 call simple_pairing_sequence 
+0x6df5 021968 call master_simple_paring_sequence 
+0x6df6 021970 set1 mark_ext_patch ,mark 
+0x6df7 021971 bpatch patch33_7 ,mem_patch33 
+0x6df8 021972 fetch 1 ,mem_device_option 
+0x6df9 021973 rtneq dvc_op_hci 
+0x6dfa 021975 call l2cap_malloc_is_fifo_full 
+0x6dfb 021976 nrtn blank 
+0x6dfc 021978 call l2cap_call_proc_sigal_pending 
+:      021979 scheduler_process1:
+0x6dfd 021980 call l2cap_malloc_is_fifo_full 
+0x6dfe 021981 nrtn blank 
+0x6dff 021982 set1 mark_ext_patch ,mark 
+0x6e00 021983 bpatch patch34_0 ,mem_patch34 
+0x6e01 021985 call process_upper_sm 
+0x6e02 021986 call l2cap_send_config_req 
+0x6e03 021987 call rfcomm_send_more_pkt 
+:      021988 scheduler_process0:
+0x6e04 021989 call scheduler_tx_disconnect_hid 
+0x6e05 021990 set1 mark_ext_patch ,mark 
+0x6e06 021991 bpatch patch34_1 ,mem_patch34 
+0x6e07 021992 call l2cap_malloc_is_fifo_full 
+0x6e08 021993 nrtn blank 
+0x6e09 021994 branch app_process_bt 
+:      021996 scheduler_tx_disconnect_hid:
+0x6e0a 021997 set1 mark_ext_patch ,mark 
+0x6e0b 021998 bpatch patch34_2 ,mem_patch34 
+0x6e0c 021999 fetch 1 ,mem_control_tasks 
+0x6e0d 022000 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+0x6e0e 022001 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+0x6e0f 022002 rtn 
+:      022004 scheduler_tx_l2cap_pkt:
+0x6e10 022005 set1 mark_ext_patch ,mark 
+0x6e11 022006 bpatch patch34_3 ,mem_patch34 
+0x6e12 022007 call l2cap_malloc_is_fifo_empty 
+0x6e13 022008 rtn blank 
+0x6e14 022009 fetch 1 ,mem_op 
+0x6e15 022010 rtnbit1 op_txl2cap 
+0x6e16 022011 call l2cap_malloc_fifo_out 
+0x6e17 022012 store 2 ,mem_txptr 
+0x6e18 022013 copy pdata ,contr 
+0x6e19 022014 ifetch 2 ,contr 
+0x6e1a 022015 increase 4 ,pdata 
+0x6e1b 022016 store 2 ,mem_tx_len 
+0x6e1c 022017 jam 6 ,mem_tx_lch 
+0x6e1d 022018 set1 mark_ext_patch ,mark 
+0x6e1e 022019 bpatch patch34_4 ,mem_patch34 
+0x6e1f 022020 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6e20 022021 branch scheduler_tx_l2cap_start_pkt ,blank 
+0x6e21 022022 fetch 1 ,mem_op 
+0x6e22 022023 rtnbit0 op_pkt_comp 
+0x6e23 022024 set0 op_pkt_comp ,pdata 
+0x6e24 022025 store 1 ,mem_op 
+0x6e25 022026 jam 5 ,mem_tx_lch 
+0x6e26 022027 fetcht 2 ,mem_l2cap_tx_multi_offset 
+0x6e27 022028 fetch 2 ,mem_txptr 
+0x6e28 022029 iadd temp ,pdata 
+0x6e29 022030 store 2 ,mem_txptr 
+0x6e2a 022031 fetch 2 ,mem_tx_len 
+0x6e2b 022032 isub temp ,pdata 
+0x6e2c 022033 store 2 ,mem_tx_len 
+:      022034 scheduler_tx_l2cap_start_pkt:
+0x6e2d 022035 set1 mark_ext_patch ,mark 
+0x6e2e 022036 bpatch patch34_5 ,mem_patch34 
+0x6e2f 022037 fetch 2 ,mem_tx_len 
+0x6e30 022038 branch assert ,blank 
+0x6e31 022039 arg l2cap_max_pkt_len ,temp 
+0x6e32 022040 isub temp ,pdata 
+0x6e33 022041 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+0x6e34 022042 set1 mark_ext_patch ,mark 
+0x6e35 022043 bpatch patch34_6 ,mem_patch34 
+0x6e36 022044 storet 2 ,mem_tx_len 
+0x6e37 022045 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6e38 022046 iadd temp ,pdata 
+0x6e39 022047 store 2 ,mem_l2cap_tx_multi_offset 
+0x6e3a 022048 branch scheduler_tx_l2cap_pkt_end 
+:      022049 scheduler_tx_l2cap_last_pkt:
+0x6e3b 022050 setarg 0 
+0x6e3c 022051 store 2 ,mem_l2cap_tx_multi_offset 
+:      022052 scheduler_tx_l2cap_pkt_end:
+0x6e3d 022053 fetch 1 ,mem_op 
+0x6e3e 022054 set1 op_txl2cap ,pdata 
+0x6e3f 022055 store 1 ,mem_op 
+0x6e40 022056 rtn 
+:      022058 scheduler_start_upper_sm:
+0x6e41 022059 fetch 1 ,mem_ui_profile_supported 
+0x6e42 022060 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+0x6e43 022061 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+0x6e44 022062 rtn 
+:      022063 scheduler_start_upper_sm_hid:
+0x6e45 022064 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6e46 022065 rtn 
+:      022067 process_upper_sm:
+0x6e47 022068 fetch 1 ,memui_reconnect_mode 
+0x6e48 022069 nbranch process_upper_sm_reconn ,blank 
+:      022070 process_upper_sm_remote_page:
+0x6e49 022071 fetch 1 ,mem_upper_sm_remote_page 
+0x6e4a 022073 rtn blank 
+0x6e4b 022075 jam 0 ,mem_upper_sm_remote_page 
+:      022076 process_upper_sm_rp_wait:
+0x6e4c 022077 rtn 
+:      022080 process_upper_sm_reconn:
+0x6e4d 022081 set1 mark_ext_patch ,mark 
+0x6e4e 022082 bpatch patch34_7 ,mem_patch34 
+0x6e4f 022083 fetch 1 ,mem_upper_sm_reconn 
+0x6e50 022084 rtn blank 
+0x6e51 022085 beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+0x6e52 022086 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+0x6e53 022087 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+0x6e54 022088 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+0x6e55 022089 beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+0x6e56 022090 beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+0x6e57 022091 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+0x6e58 022092 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+0x6e59 022093 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+0x6e5a 022094 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+0x6e5b 022095 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+0x6e5c 022096 beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+0x6e5d 022097 beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+0x6e5e 022098 beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+0x6e5f 022099 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+0x6e60 022100 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+0x6e61 022101 beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+0x6e62 022102 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+0x6e63 022103 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+0x6e64 022104 beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+0x6e65 022105 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+0x6e66 022106 beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+0x6e67 022107 beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+0x6e68 022108 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+0x6e69 022109 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+0x6e6a 022110 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+0x6e6b 022111 beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+0x6e6c 022112 beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+:      022113 process_upper_sm_reconn_wait:
+0x6e6d 022114 rtn 
+:      022115 process_upper_sm_reconn_sdp_conn:
+0x6e6e 022116 call upper_sm_send_sdp_conn 
+0x6e6f 022117 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+0x6e70 022118 fetch 1 ,mem_sdp_state 
+0x6e71 022119 set1 l2cap_channel_state_conn_req ,pdata 
+0x6e72 022120 store 1 ,mem_sdp_state 
+0x6e73 022121 rtn 
+:      022122 process_upper_sm_reconn_sdp_cfg:
+0x6e74 022123 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6e75 022124 fetch 1 ,mem_sdp_state 
+0x6e76 022125 rtnbit1 l2cap_channel_state_snd_cfg_req 
+0x6e77 022126 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6e78 022127 call upper_sm_send_sdp_cfg 
+0x6e79 022128 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6e7a 022129 fetch 1 ,mem_sdp_state 
+0x6e7b 022130 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6e7c 022131 store 1 ,mem_sdp_state 
+0x6e7d 022132 rtn 
+:      022133 process_upper_sm_reconn_ss_spp:
+0x6e7e 022134 call l2cap_malloc_is_fifo_empty 
+0x6e7f 022135 nrtn blank 
+0x6e80 022136 call upper_sm_send_ss_spp 
+0x6e81 022137 jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+0x6e82 022138 rtn 
+:      022139 process_upper_sm_reconn_sdp_disconn:
+0x6e83 022140 call upper_sm_send_sdp_disconn 
+0x6e84 022141 jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+0x6e85 022142 rtn 
+:      022143 process_upper_sm_reconn_hid_ctrl_conn:
+0x6e86 022144 call upper_sm_send_hid_ctrl_conn 
+0x6e87 022145 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+0x6e88 022146 fetch 1 ,mem_hid_control_state 
+0x6e89 022147 set1 l2cap_channel_state_conn_req ,pdata 
+0x6e8a 022148 store 1 ,mem_hid_control_state 
+0x6e8b 022149 rtn 
+:      022150 process_upper_sm_reconn_hid_ctrl_cfg:
+0x6e8c 022151 call upper_sm_send_hid_ctrl_cfg 
+0x6e8d 022152 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+0x6e8e 022153 fetch 1 ,mem_hid_control_state 
+0x6e8f 022154 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6e90 022155 store 1 ,mem_hid_control_state 
+0x6e91 022156 rtn 
+:      022157 process_upper_sm_reconn_hid_int_conn:
+0x6e92 022158 call upper_sm_send_hid_int_conn 
+0x6e93 022159 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+0x6e94 022160 fetch 1 ,mem_hid_interrupt_state 
+0x6e95 022161 set1 l2cap_channel_state_conn_req ,pdata 
+0x6e96 022162 store 1 ,mem_hid_interrupt_state 
+0x6e97 022163 rtn 
+:      022164 process_upper_sm_reconn_hid_int_cfg:
+0x6e98 022165 call upper_sm_send_hid_int_cfg 
+0x6e99 022166 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+0x6e9a 022167 fetch 1 ,mem_hid_interrupt_state 
+0x6e9b 022168 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6e9c 022169 store 1 ,mem_hid_interrupt_state 
+0x6e9d 022170 rtn 
+:      022171 process_upper_sm_reconn_rfcomm_conn:
+0x6e9e 022172 call upper_sm_send_rfcomm_conn 
+0x6e9f 022173 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+0x6ea0 022174 fetch 1 ,mem_rfcomm_state 
+0x6ea1 022175 set1 l2cap_channel_state_conn_req ,pdata 
+0x6ea2 022176 store 1 ,mem_rfcomm_state 
+0x6ea3 022177 rtn 
+:      022178 process_upper_sm_reconn_rfcomm_cfg:
+0x6ea4 022179 call upper_sm_send_rfcomm_cfg 
+0x6ea5 022180 jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+0x6ea6 022181 fetch 1 ,mem_rfcomm_state 
+0x6ea7 022182 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6ea8 022183 store 1 ,mem_rfcomm_state 
+0x6ea9 022184 rtn 
+:      022185 process_upper_sm_reconn_rfcomm_sabm:
+0x6eaa 022186 call upper_sm_send_rfcomm_sabm 
+0x6eab 022187 jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+0x6eac 022188 fetch 1 ,mem_rfcomm_state 
+0x6ead 022189 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6eae 022190 store 1 ,mem_rfcomm_state 
+0x6eaf 022191 rtn 
+:      022192 process_upper_sm_reconn_spp_cmd_pn:
+0x6eb0 022193 call upper_sm_send_spp_cmd_pn 
+0x6eb1 022194 fetch 1 ,mem_spp_state 
+0x6eb2 022195 set1 rfcomm_channel_state_pn_cmd 
+0x6eb3 022196 store 1 ,mem_spp_state 
+0x6eb4 022197 jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+0x6eb5 022198 rtn 
+:      022199 process_upper_sm_reconn_spp_sabm:
+0x6eb6 022200 call upper_sm_send_spp_sabm 
+0x6eb7 022201 fetch 1 ,mem_spp_state 
+0x6eb8 022202 set1 rfcomm_channel_state_sabm 
+0x6eb9 022203 store 1 ,mem_spp_state 
+0x6eba 022204 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+0x6ebb 022205 fetch 1 ,mem_remote_spp_channel 
+0x6ebc 022206 lshift3 pdata ,pdata 
+0x6ebd 022207 or_into 3 ,pdata 
+0x6ebe 022208 arg mem_hiufcs_spp ,temp 
+0x6ebf 022209 storet 2 ,mem_contw_temp 
+0x6ec0 022210 branch rfcomm_save_fcs_uih 
+:      022211 process_upper_sm_reconn_spp_cmd_ms:
+0x6ec1 022212 call upper_sm_send_spp_cmd_ms 
+0x6ec2 022213 fetch 1 ,mem_spp_state 
+0x6ec3 022214 set1 rfcomm_channel_state_snd_ms_cmd 
+0x6ec4 022215 store 1 ,mem_spp_state 
+0x6ec5 022216 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+0x6ec6 022217 rtn 
+:      022219 process_upper_sm_reconn_sdp_conn_wait:
+0x6ec7 022220 fetch 1 ,mem_sdp_state 
+0x6ec8 022221 rtnbit0 l2cap_channel_state_conn_res 
+0x6ec9 022222 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6eca 022223 branch process_upper_sm_reconn 
+:      022224 process_upper_sm_reconn_sdp_cfg_wait:
+0x6ecb 022225 fetch 1 ,mem_sdp_state 
+0x6ecc 022226 rtnne l2cap_channel_setup_complete 
+0x6ecd 022227 jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+:      022228 process_upper_sm_reconn_ss_spp_wait:
+0x6ece 022229 fetch 1 ,mem_message_to_uppersm 
+0x6ecf 022230 rtnne recieve_ss_reasult_hf 
+0x6ed0 022231 jam 0 ,mem_message_to_uppersm 
+0x6ed1 022232 jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+0x6ed2 022233 branch process_upper_sm_reconn 
+:      022234 process_upper_sm_reconn_sdp_disconn_wait:
+0x6ed3 022235 fetch 1 ,mem_sdp_state 
+0x6ed4 022236 nrtn blank 
+0x6ed5 022237 fetch 1 ,mem_ui_profile_supported 
+0x6ed6 022238 bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+0x6ed7 022239 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x6ed8 022240 branch process_upper_sm_reconn_termination 
+:      022241 process_upper_sm_reconn_hid_ctrl_conn_wait:
+0x6ed9 022242 fetch 1 ,mem_hid_control_state 
+0x6eda 022243 rtnbit0 l2cap_channel_state_conn_res 
+0x6edb 022244 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+0x6edc 022245 branch process_upper_sm_reconn 
+:      022246 process_upper_sm_reconn_hid_ctrl_cfg_wait:
+0x6edd 022247 fetch 1 ,mem_hid_control_state 
+0x6ede 022248 rtnne l2cap_channel_setup_complete 
+0x6edf 022249 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+0x6ee0 022250 branch process_upper_sm_reconn 
+:      022251 process_upper_sm_reconn_hid_int_conn_wait:
+0x6ee1 022252 fetch 1 ,mem_hid_interrupt_state 
+0x6ee2 022253 rtnbit0 l2cap_channel_state_conn_res 
+0x6ee3 022254 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+0x6ee4 022255 branch process_upper_sm_reconn 
+:      022256 process_upper_sm_reconn_hid_int_cfg_wait:
+0x6ee5 022257 fetch 1 ,mem_hid_interrupt_state 
+0x6ee6 022258 rtnne l2cap_channel_setup_complete 
+0x6ee7 022259 fetch 1 ,mem_ui_profile_supported 
+0x6ee8 022260 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x6ee9 022261 branch process_upper_sm_reconn_termination 
+:      022262 process_upper_sm_reconn_rfcomm_conn_wait:
+0x6eea 022263 fetch 1 ,mem_rfcomm_state 
+0x6eeb 022264 rtnbit0 l2cap_channel_state_conn_res 
+0x6eec 022265 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+0x6eed 022266 branch process_upper_sm_reconn 
+:      022267 process_upper_sm_reconn_rfcomm_cfg_wait:
+0x6eee 022268 fetch 1 ,mem_rfcomm_state 
+0x6eef 022269 rtnne l2cap_channel_setup_complete 
+0x6ef0 022270 jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+0x6ef1 022271 branch process_upper_sm_reconn 
+:      022272 process_upper_sm_reconn_rfcomm_sabm_wait:
+0x6ef2 022273 fetch 1 ,mem_rfcomm_state 
+0x6ef3 022274 rtnne l2cap_channel_rfcomm_dlci0_opened 
+0x6ef4 022275 fetch 1 ,mem_ui_profile_supported 
+0x6ef5 022276 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+0x6ef6 022277 branch process_upper_sm_reconn_termination 
+:      022278 process_upper_sm_reconn_spp_cmd_pn_wait:
+0x6ef7 022279 fetch 1 ,mem_spp_state 
+0x6ef8 022280 rtnbit0 rfcomm_channel_state_pn_res 
+0x6ef9 022281 jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+0x6efa 022282 branch process_upper_sm_reconn 
+:      022283 process_upper_sm_reconn_spp_sabm_wait:
+0x6efb 022284 fetch 1 ,mem_spp_state 
+0x6efc 022285 rtnbit0 rfcomm_channel_state_ua 
+0x6efd 022286 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+0x6efe 022287 branch process_upper_sm_reconn 
+:      022288 process_upper_sm_reconn_spp_cmd_ms_wait:
+0x6eff 022289 fetch 1 ,mem_spp_state 
+0x6f00 022290 rtnne rfcomm_channel_setup_complete 
+0x6f01 022291 branch process_upper_sm_reconn_termination 
+:      022293 process_upper_sm_reconn_setup_hid:
+0x6f02 022294 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6f03 022295 branch process_upper_sm_reconn 
+:      022297 process_upper_sm_reconn_setup_rfcomm:
+0x6f04 022298 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+0x6f05 022299 branch process_upper_sm_reconn 
+:      022300 process_upper_sm_reconn_setup_spp:
+0x6f06 022301 jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+0x6f07 022302 branch process_upper_sm_reconn 
+:      022306 process_upper_sm_reconn_termination:
+0x6f08 022307 jam 0 ,mem_upper_sm_reconn 
+0x6f09 022308 rtn 
+:      022309 upper_sm_send_sdp_conn:
+0x6f0a 022310 set1 mark_ext_patch ,mark 
+0x6f0b 022311 bpatch patch35_0 ,mem_patch35 
+0x6f0c 022312 call l2cap_malloc_signal_channel 
+0x6f0d 022313 setarg psm_sdp 
+0x6f0e 022314 copy pdata ,temp 
+0x6f0f 022315 setarg l2cap_sdp_channel 
+0x6f10 022316 copy pdata ,timeup 
+0x6f11 022317 branch ml2cap_send_signal_connect_req 
+:      022319 upper_sm_send_sdp_cfg:
+0x6f12 022320 set1 mark_ext_patch ,mark 
+0x6f13 022321 bpatch patch35_1 ,mem_patch35 
+0x6f14 022322 call l2cap_malloc_signal_channel 
+0x6f15 022323 fetch 2 ,mem_sdp_remote_cid 
+0x6f16 022324 copy pdata ,temp 
+0x6f17 022325 branch ml2cap_send_signal_config_req 
+:      022327 upper_sm_send_sdp_disconn:
+0x6f18 022328 set1 mark_ext_patch ,mark 
+0x6f19 022329 bpatch patch35_2 ,mem_patch35 
+0x6f1a 022330 call l2cap_malloc_signal_channel 
+0x6f1b 022331 fetch 2 ,mem_sdp_remote_cid 
+0x6f1c 022332 copy pdata ,temp 
+0x6f1d 022333 arg l2cap_sdp_channel ,timeup 
+0x6f1e 022334 call ml2cap_send_signal_disconn_req 
+0x6f1f 022335 fetch 1 ,mem_sdp_state 
+0x6f20 022336 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x6f21 022337 store 1 ,mem_sdp_state 
+0x6f22 022338 rtn 
+:      022340 upper_sm_send_ss_spp:
+0x6f23 022341 set1 mark_ext_patch ,mark 
+0x6f24 022342 bpatch patch35_3 ,mem_patch35 
+0x6f25 022343 call l2cap_malloc_sdp_channel 
+0x6f26 022344 call sdp_send_spp_request 
+0x6f27 022345 branch msdp_send_req_done 
+:      022347 upper_sm_send_rfcomm_conn:
+0x6f28 022348 set1 mark_ext_patch ,mark 
+0x6f29 022349 bpatch patch35_4 ,mem_patch35 
+0x6f2a 022350 call l2cap_malloc_signal_channel 
+0x6f2b 022351 setarg psm_rfcomm 
+0x6f2c 022352 copy pdata ,temp 
+0x6f2d 022353 setarg l2cap_rfcomm_channel 
+0x6f2e 022354 copy pdata ,timeup 
+0x6f2f 022355 branch ml2cap_send_signal_connect_req 
+:      022357 upper_sm_send_rfcomm_cfg:
+0x6f30 022358 set1 mark_ext_patch ,mark 
+0x6f31 022359 bpatch patch35_5 ,mem_patch35 
+0x6f32 022360 call l2cap_malloc_signal_channel 
+0x6f33 022361 fetch 2 ,mem_rfcomm_remote_cid 
+0x6f34 022362 copy pdata ,temp 
+0x6f35 022363 branch ml2cap_send_signal_config_req 
+:      022365 upper_sm_send_hid_ctrl_conn:
+0x6f36 022366 set1 mark_ext_patch ,mark 
+0x6f37 022367 bpatch patch35_6 ,mem_patch35 
+0x6f38 022368 call l2cap_malloc_signal_channel 
+0x6f39 022369 setarg psm_hid_control 
+0x6f3a 022370 copy pdata ,temp 
+0x6f3b 022371 setarg l2cap_hid_control_channel 
+0x6f3c 022372 copy pdata ,timeup 
+0x6f3d 022373 branch ml2cap_send_signal_connect_req 
+:      022375 upper_sm_send_hid_ctrl_cfg:
+0x6f3e 022376 set1 mark_ext_patch ,mark 
+0x6f3f 022377 bpatch patch35_7 ,mem_patch35 
+0x6f40 022378 call l2cap_malloc_signal_channel 
+0x6f41 022379 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x6f42 022380 copy pdata ,temp 
+0x6f43 022381 branch ml2cap_send_signal_config_req 
+:      022383 upper_sm_send_hid_int_conn:
+0x6f44 022384 set1 mark_ext_patch ,mark 
+0x6f45 022385 bpatch patch36_0 ,mem_patch36 
+0x6f46 022386 call l2cap_malloc_signal_channel 
+0x6f47 022387 setarg psm_hid_interrupt 
+0x6f48 022388 copy pdata ,temp 
+0x6f49 022389 setarg l2cap_hid_interrupt_channel 
+0x6f4a 022390 copy pdata ,timeup 
+0x6f4b 022391 branch ml2cap_send_signal_connect_req 
+:      022393 upper_sm_send_hid_int_cfg:
+0x6f4c 022394 set1 mark_ext_patch ,mark 
+0x6f4d 022395 bpatch patch36_1 ,mem_patch36 
+0x6f4e 022396 call l2cap_malloc_signal_channel 
+0x6f4f 022397 fetch 2 ,mem_hid_int_remote_cid 
+0x6f50 022398 copy pdata ,temp 
+0x6f51 022399 branch ml2cap_send_signal_config_req 
+:      022401 upper_sm_send_rfcomm_sabm:
+0x6f52 022402 set1 mark_ext_patch ,mark 
+0x6f53 022403 bpatch patch36_2 ,mem_patch36 
+0x6f54 022404 call l2cap_malloc_rfcomm_channel 
+0x6f55 022406 jam 3 ,mem_current_adss 
+0x6f56 022407 jam 0x1c ,mem_current_fcs 
+0x6f57 022408 call rfcomm_send_sabm 
+0x6f58 022409 jam 1 ,mem_rfcomm_initiator 
+0x6f59 022410 rtn 
+:      022412 upper_sm_send_spp_cmd_pn:
+0x6f5a 022413 set1 mark_ext_patch ,mark 
+0x6f5b 022414 bpatch patch36_3 ,mem_patch36 
+0x6f5c 022415 call l2cap_malloc_rfcomm_channel 
+0x6f5d 022416 fetcht 1 ,mem_remote_spp_channel 
+0x6f5e 022417 call channel_to_dlci 
+0x6f5f 022418 storet 1 ,mem_pn_dlci 
+0x6f60 022419 branch rfcomm_send_param_neg_cmd 
+:      022421 upper_sm_send_spp_sabm:
+0x6f61 022422 set1 mark_ext_patch ,mark 
+0x6f62 022423 bpatch patch36_4 ,mem_patch36 
+0x6f63 022424 call l2cap_malloc_rfcomm_channel 
+0x6f64 022425 fetcht 1 ,mem_pn_dlci 
+0x6f65 022426 call dlci_to_address_cmd 
+0x6f66 022427 call rfcomm_calculate_fcs_sabm 
+0x6f67 022428 store 1 ,mem_current_fcs 
+0x6f68 022429 fetcht 1 ,mem_pn_dlci 
+0x6f69 022430 call dlci_to_address_cmd 
+0x6f6a 022431 storet 1 ,mem_current_adss 
+0x6f6b 022432 branch rfcomm_send_sabm 
+:      022434 upper_sm_send_spp_cmd_ms:
+0x6f6c 022435 set1 mark_ext_patch ,mark 
+0x6f6d 022436 bpatch patch36_5 ,mem_patch36 
+0x6f6e 022437 call l2cap_malloc_rfcomm_channel 
+0x6f6f 022438 fetcht 1 ,mem_pn_dlci 
+0x6f70 022439 call dlci_to_address_cmd 
+0x6f71 022440 branch rfcomm_send_modem_status_cmd 
+:      022453 sdp_process:
+0x6f72 022454 set1 mark_ext_patch ,mark 
+0x6f73 022455 bpatch patch3c_7 ,mem_patch3c 
+0x6f74 022456 fetch 2 ,mem_l2cap_payload_ptr 
+0x6f75 022457 iforce contr 
+0x6f76 022458 ifetch 1 ,contr 
+0x6f77 022459 copy pdata ,regb 
+0x6f78 022460 store 1 ,mem_sdp_pduid 
+0x6f79 022461 ifetch 2 ,contr 
+0x6f7a 022462 store 2 ,mem_sdp_transactionid 
+0x6f7b 022463 ifetch 1 ,contr 
+0x6f7c 022464 lshift8 pdata ,timeup 
+0x6f7d 022465 ifetch 1 ,contr 
+0x6f7e 022466 iadd timeup ,timeup 
+0x6f7f 022467 set1 mark_ext_patch ,mark 
+0x6f80 022468 bpatch patch3d_0 ,mem_patch3d 
+0x6f81 022469 deposit regb 
+0x6f82 022470 beq sdp_service_search_request ,servicesearch_req 
+0x6f83 022471 beq sdp_service_attribute_request ,serviceattribute_req 
+0x6f84 022472 beq sdp_service_search_attribute_request ,servicesearchattribute_req 
+0x6f85 022473 beq sdp_service_search_attribute_response ,servicesearchattribute_res 
+0x6f86 022474 branch sdp_insufficient_resource 
+:      022485 servicesearch_req:
+0x6f87 022486 call ask_serviceclassid 
+0x6f88 022487 compare 1 ,temp ,0xff 
+0x6f89 022488 branch empth_sa_rsp ,true 
+0x6f8a 022489 compare 0xff ,temp ,0xff 
+0x6f8b 022490 branch sdp_invalid_reqest_syntax ,true 
+0x6f8c 022492 ifetch 2 ,contr 
+0x6f8d 022493 store 2 ,mem_sdp_record_maxcnt 
+0x6f8e 022494 increase -2 ,timeup 
+0x6f8f 022496 increase -1 ,timeup 
+0x6f90 022497 nbranch sdp_invalid_pdu_size ,zero 
+0x6f91 022498 arg mem_uuid_search_pat ,timeup 
+0x6f92 022499 ifetch 2 ,timeup 
+0x6f93 022500 rtn blank 
+0x6f94 022501 increase 2 ,timeup 
+0x6f95 022502 call search_uuid 
+0x6f96 022503 call l2cap_get_sdp_tx_payload 
+0x6f97 022504 force 3 ,pdata 
+0x6f98 022505 istore 1 ,contw 
+0x6f99 022506 fetch 2 ,mem_sdp_transactionid 
+0x6f9a 022507 istore 2 ,contw 
+0x6f9b 022508 lshift2 queue ,pdata 
+0x6f9c 022509 add pdata ,5 ,pdata 
+0x6f9d 022510 add pdata ,5 ,regc 
+0x6f9e 022511 byteswap pdata ,pdata 
+0x6f9f 022512 istore 2 ,contw 
+0x6fa0 022513 deposit queue 
+0x6fa1 022514 byteswap pdata ,pdata 
+0x6fa2 022515 istore 2 ,contw 
+0x6fa3 022516 istore 2 ,contw 
+0x6fa4 022517 arg mem_handle_list ,contr 
+0x6fa5 022518 copy queue ,loopcnt 
+0x6fa6 022519 branch servicesearch_req_blank ,zero 
+:      022520 servicesearch_req_loop:
+0x6fa7 022521 ifetch 4 ,contr 
+0x6fa8 022522 istore 4 ,contw 
+0x6fa9 022523 loop servicesearch_req_loop 
+:      022524 servicesearch_req_blank:
+0x6faa 022525 force 0 ,pdata 
+0x6fab 022526 istore 1 ,contw 
+0x6fac 022527 deposit regc 
+0x6fad 022528 store 1 ,mem_sdp_tx_pkt_length 
+0x6fae 022529 branch assert ,blank 
+0x6faf 022530 rtn 
+:      022541 serviceattribute_req:
+0x6fb0 022542 ifetch 4 ,contr 
+0x6fb1 022543 store 4 ,mem_sdp_record_handle 
+0x6fb2 022544 increase -4 ,timeup 
+0x6fb3 022545 iforce temp 
+0x6fb4 022546 ifetch 2 ,contr 
+0x6fb5 022547 byteswap pdata ,pdata 
+0x6fb6 022548 increase -18 ,pdata 
+0x6fb7 022549 store 2 ,mem_sdp_attribute_maxbyte 
+0x6fb8 022550 increase -2 ,timeup 
+0x6fb9 022551 call dataelementtype6 
+0x6fba 022552 branch sdp_invalid_reqest_syntax ,zero 
+0x6fbb 022553 compare 5 ,rega ,0xff 
+0x6fbc 022555 branch serviceattribute_judge_wholerangle ,true 
+:      022556 serviceattribute_isnot_wholerangle:
+0x6fbd 022557 arg mem_attrib_list ,contw 
+0x6fbe 022558 force 0 ,queue 
+0x6fbf 022559 branch serviceattribute_req_loop 
+:      022560 serviceattribute_judge_wholerangle:
+0x6fc0 022561 ifetch 1 ,contr 
+0x6fc1 022562 bne 0xa ,sdp_invalid_reqest_syntax 
+0x6fc2 022563 ifetch 2 ,contr 
+0x6fc3 022564 nbranch serviceattribute_judge_wholerangle_false1 ,blank 
+0x6fc4 022565 ifetch 1 ,contr 
+0x6fc5 022566 bne 0xff ,serviceattribute_judge_wholerangle_false2 
+0x6fc6 022567 ifetch 1 ,contr 
+0x6fc7 022568 bne 0xff ,serviceattribute_judge_wholerangle_false3 
+0x6fc8 022569 increase -5 ,contr 
+0x6fc9 022570 branch serviceattribute_req_all 
+:      022571 serviceattribute_judge_wholerangle_false3:
+0x6fca 022572 increase -5 ,contr 
+0x6fcb 022573 branch serviceattribute_isnot_wholerangle 
+:      022574 serviceattribute_judge_wholerangle_false2:
+0x6fcc 022575 increase -4 ,contr 
+0x6fcd 022576 branch serviceattribute_isnot_wholerangle 
+:      022577 serviceattribute_judge_wholerangle_false1:
+0x6fce 022578 increase -3 ,contr 
+0x6fcf 022579 branch serviceattribute_isnot_wholerangle 
+:      022580 serviceattribute_req_loop:
+0x6fd0 022581 ifetch 1 ,contr 
+0x6fd1 022582 beq 0x09 ,serviceattribute_req_one_id 
+0x6fd2 022583 beq 0x0a ,serviceattribute_req_range_id 
+:      022584 serviceattribute_req_range_id:
+0x6fd3 022585 ifetch 2 ,contr 
+0x6fd4 022586 istore 2 ,contw 
+0x6fd5 022587 increase 1 ,queue 
+0x6fd6 022588 byteswap pdata ,regb 
+0x6fd7 022589 ifetch 2 ,contr 
+0x6fd8 022590 byteswap pdata ,pdata 
+:      022591 serviceattribute_req_range_id_increase:
+0x6fd9 022592 increase 1 ,regb 
+0x6fda 022593 isub regb ,null 
+0x6fdb 022594 nbranch serviceattribute_req_range_id_finish ,positive 
+0x6fdc 022595 copy pdata ,regc 
+0x6fdd 022596 byteswap regb ,pdata 
+0x6fde 022597 istore 2 ,contw 
+0x6fdf 022598 increase 1 ,queue 
+0x6fe0 022599 copy regc ,pdata 
+0x6fe1 022600 branch serviceattribute_req_range_id_increase 
+:      022601 serviceattribute_req_range_id_finish:
+0x6fe2 022602 increase -5 ,timeup 
+0x6fe3 022603 increase -5 ,rega 
+0x6fe4 022604 branch serviceattribute_req_check_next_id 
+:      022605 serviceattribute_req_one_id:
+0x6fe5 022606 ifetch 2 ,contr 
+0x6fe6 022607 istore 2 ,contw 
+0x6fe7 022608 increase 1 ,queue 
+0x6fe8 022609 increase -3 ,timeup 
+0x6fe9 022610 increase -3 ,rega 
+:      022611 serviceattribute_req_check_next_id:
+0x6fea 022612 nbranch sdp_invalid_reqest_syntax ,positive 
+0x6feb 022613 nbranch serviceattribute_req_loop ,zero 
+0x6fec 022614 increase -1 ,timeup 
+0x6fed 022615 nbranch sdp_invalid_reqest_syntax ,zero 
+0x6fee 022617 call l2cap_get_sdp_tx_payload 
+0x6fef 022618 increase 10 ,contw 
+0x6ff0 022619 arg mem_attrib_list ,rega 
+:      022620 answer_handle_attributelist_next:
+0x6ff1 022621 copy queue ,pdata 
+0x6ff2 022622 branch answer_handle_attributelist_end ,blank 
+0x6ff3 022623 ifetch 2 ,rega 
+0x6ff4 022624 branch answer_handle_attributelist_end ,blank 
+0x6ff5 022625 iforce regb 
+0x6ff6 022626 fetch 4 ,mem_sdp_record_handle 
+0x6ff7 022627 iforce temp 
+0x6ff8 022628 call search_handle_attrib 
+0x6ff9 022629 branch answer_handle_attributelist_notfound ,blank 
+0x6ffa 022630 increase -3 ,contr 
+0x6ffb 022631 ifetch 3 ,contr 
+0x6ffc 022632 istore 3 ,contw 
+0x6ffd 022633 call sdp_data_len_obs 
+0x6ffe 022634 branch answer_handle_attributelist_notfound ,blank 
+0x6fff 022635 iforce loopcnt 
+0x7000 022636 call memcpy 
+:      022637 answer_handle_attributelist_notfound:
+0x7001 022638 increase 2 ,rega 
+0x7002 022639 increase -1 ,queue 
+0x7003 022640 branch answer_handle_attributelist_next 
+:      022642 answer_handle_attributelist_end:
+0x7004 022643 force 0 ,pdata 
+0x7005 022644 istore 1 ,contw 
+0x7006 022645 increase -1 ,contw 
+0x7007 022646 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x7008 022647 add temp ,10 ,pdata 
+0x7009 022648 isub contw ,pdata 
+0x700a 022649 sub pdata ,0 ,rega 
+0x700b 022650 byteswap rega ,pdata 
+0x700c 022651 add temp ,8 ,regb 
+0x700d 022652 istore 2 ,regb 
+0x700e 022653 increase 3 ,rega 
+0x700f 022654 byteswap rega ,pdata 
+0x7010 022655 add temp ,5 ,regb 
+0x7011 022656 istore 2 ,regb 
+0x7012 022657 increase 3 ,rega 
+0x7013 022658 byteswap rega ,pdata 
+0x7014 022659 add temp ,3 ,regb 
+0x7015 022660 istore 2 ,regb 
+0x7016 022661 increase 5 ,rega 
+0x7017 022662 copy rega ,pdata 
+0x7018 022663 store 2 ,mem_sdp_tx_pkt_length 
+0x7019 022664 setarg 0x36 
+0x701a 022665 add temp ,7 ,regb 
+0x701b 022666 istore 1 ,regb 
+0x701c 022667 setarg 5 
+0x701d 022668 istore 1 ,temp 
+0x701e 022669 fetch 2 ,mem_sdp_transactionid 
+0x701f 022670 add temp ,1 ,regb 
+0x7020 022671 istore 2 ,regb 
+0x7021 022672 rtn 
+:      022673 serviceattribute_req_all:
+0x7022 022674 ifetch 1 ,contr 
+0x7023 022675 bne 0xa ,sdp_invalid_reqest_syntax 
+0x7024 022676 ifetch 2 ,contr 
+0x7025 022677 nbranch sdp_invalid_reqest_syntax ,blank 
+0x7026 022678 ifetch 1 ,contr 
+0x7027 022679 bne 0xff ,sdp_invalid_reqest_syntax 
+0x7028 022680 ifetch 1 ,contr 
+0x7029 022681 bne 0xff ,sdp_invalid_reqest_syntax 
+0x702a 022682 increase -5 ,timeup 
+0x702b 022683 ifetch 1 ,contr 
+0x702c 022684 beq 0 ,continue_zero 
+0x702d 022685 beq 1 ,continue_one_byte 
+0x702e 022686 beq 2 ,continue_two_byte 
+:      022687 continue_zero:
+0x702f 022688 store 2 ,mem_sdp_continue_byte 
+0x7030 022689 increase -1 ,timeup 
+0x7031 022690 branch continue_end 
+:      022691 continue_one_byte:
+0x7032 022692 ifetch 1 ,contr 
+0x7033 022693 store 2 ,mem_sdp_continue_byte 
+0x7034 022694 increase -2 ,timeup 
+0x7035 022695 branch continue_end 
+:      022696 continue_two_byte:
+0x7036 022697 ifetch 2 ,contr 
+0x7037 022698 byteswap pdata ,pdata 
+0x7038 022699 store 2 ,mem_sdp_continue_byte 
+0x7039 022700 increase -3 ,timeup 
+:      022701 continue_end:
+0x703a 022702 nbranch sdp_invalid_pdu_size ,zero 
+0x703b 022703 call search_handle 
+0x703c 022704 nbranch sdp_invalid_service_record_handle ,zero 
+0x703d 022705 copy contr ,rega 
+0x703e 022706 call l2cap_get_sdp_tx_payload 
+0x703f 022707 copy rega ,contr 
+0x7040 022708 increase 3 ,contw 
+0x7041 022709 copy contr ,timeup 
+0x7042 022710 call sdp_get_data 
+0x7043 022711 copy pdata ,rega 
+0x7044 022712 fetch 2 ,mem_sdp_continue_byte 
+0x7045 022713 copy pdata ,regb 
+0x7046 022714 copy rega ,pdata 
+0x7047 022715 isub regb ,regb 
+0x7048 022716 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x7049 022717 isub regb ,null 
+0x704a 022718 nbranch fragment_sdp ,positive 
+0x704b 022720 disable user 
+0x704c 022721 fetch 2 ,mem_sdp_continue_byte 
+0x704d 022722 branch fisrt_fragment ,blank 
+0x704e 022723 iadd timeup ,contr 
+0x704f 022724 increase 3 ,regb 
+0x7050 022725 copy regb ,loopcnt 
+0x7051 022726 copy loopcnt ,pdata 
+0x7052 022727 increase 3 ,pdata 
+0x7053 022728 byteswap pdata ,pdata 
+0x7054 022729 istore 2 ,contw 
+0x7055 022730 copy loopcnt ,pdata 
+0x7056 022731 byteswap pdata ,pdata 
+0x7057 022732 istore 2 ,contw 
+0x7058 022733 branch answer_attributelist_full_loop 
+:      022734 fisrt_fragment:
+0x7059 022735 add rega ,6 ,loopcnt 
+0x705a 022736 branch parlength_continue_byte ,user 
+0x705b 022737 byteswap loopcnt ,pdata 
+0x705c 022738 branch parlength_continue_byte_end 
+:      022739 parlength_continue_byte:
+0x705d 022740 copy loopcnt ,pdata 
+0x705e 022741 increase 2 ,pdata 
+0x705f 022742 byteswap pdata ,pdata 
+:      022743 parlength_continue_byte_end:
+0x7060 022744 istore 2 ,contw 
+0x7061 022745 increase -3 ,loopcnt 
+0x7062 022746 byteswap loopcnt ,pdata 
+0x7063 022747 istore 2 ,contw 
+0x7064 022748 copy timeup ,contr 
+0x7065 022749 branch answer_attributelist_full_loop 
+:      022750 fragment_sdp:
+0x7066 022751 enable user 
+0x7067 022752 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x7068 022753 copy pdata ,rega 
+0x7069 022754 copy pdata ,loopcnt 
+0x706a 022755 fetch 2 ,mem_sdp_continue_byte 
+0x706b 022756 branch fisrt_fragment ,blank 
+0x706c 022757 iadd timeup ,contr 
+0x706d 022758 copy rega ,pdata 
+0x706e 022759 increase 5 ,pdata 
+0x706f 022760 byteswap pdata ,pdata 
+0x7070 022761 istore 2 ,contw 
+0x7071 022762 copy rega ,pdata 
+0x7072 022763 byteswap pdata ,pdata 
+0x7073 022764 istore 2 ,contw 
+:      022765 answer_attributelist_full_loop:
+0x7074 022766 ifetch 1 ,contr 
+0x7075 022767 istore 1 ,contw 
+0x7076 022768 loop answer_attributelist_full_loop 
+0x7077 022769 nbranch last_frag_continue ,user 
+0x7078 022770 force 2 ,pdata 
+0x7079 022771 istore 1 ,contw 
+0x707a 022772 copy contr ,pdata 
+0x707b 022773 isub timeup ,pdata 
+0x707c 022774 byteswap pdata ,pdata 
+0x707d 022775 istore 2 ,contw 
+0x707e 022776 branch sdp_frag_end 
+:      022777 last_frag_continue:
+0x707f 022778 force 0 ,pdata 
+0x7080 022779 istore 1 ,contw 
+:      022780 sdp_frag_end:
+0x7081 022781 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x7082 022782 isub contw ,pdata 
+0x7083 022783 sub pdata ,0 ,pdata 
+0x7084 022784 store 2 ,mem_sdp_tx_pkt_length 
+0x7085 022785 call l2cap_get_sdp_tx_payload 
+0x7086 022786 setarg 5 
+0x7087 022787 istore 1 ,contw 
+0x7088 022788 fetch 2 ,mem_sdp_transactionid 
+0x7089 022789 istore 2 ,contw 
+0x708a 022790 rtn 
+:      022800 servicesearchattribute_req:
+0x708b 022803 call ask_serviceclassid 
+0x708c 022804 compare 0xff ,temp ,0xff 
+0x708d 022805 branch servicesearchattribute_req_all ,true 
+0x708e 022806 ifetch 2 ,contr 
+0x708f 022807 store 2 ,mem_sdp_attribute_maxbyte 
+0x7090 022808 increase -2 ,timeup 
+0x7091 022809 call dataelementtype6 
+0x7092 022810 arg mem_attrib_list ,contw 
+0x7093 022811 force 0 ,queue 
+:      022812 servicesearchattribute_req_loop:
+0x7094 022813 ifetch 3 ,contr 
+0x7095 022814 bne 0x09 ,servicesearchattribute_req_all 
+:      022815 servicesearchattribute_req_uuid:
+0x7096 022816 rshift8 pdata ,pdata 
+0x7097 022817 istore 2 ,contw 
+0x7098 022818 increase 1 ,queue 
+0x7099 022819 increase -3 ,timeup 
+0x709a 022820 increase -3 ,rega 
+0x709b 022821 nbranch sdp_invalid_reqest_syntax ,positive 
+0x709c 022822 nbranch servicesearchattribute_req_loop ,zero 
+0x709d 022823 increase -1 ,timeup 
+0x709e 022824 nbranch sdp_invalid_reqest_syntax ,zero 
+:      022825 servicesearchattribute_req_search:
+0x709f 022826 call l2cap_get_sdp_tx_payload 
+0x70a0 022827 increase 13 ,contw 
+0x70a1 022828 fetch 2 ,mem_uuid_search_pat 
+0x70a2 022829 iforce regc 
+0x70a3 022830 arg mem_attrib_list ,rega 
+:      022831 answer_attributelist_next:
+0x70a4 022832 ifetch 4 ,rega 
+0x70a5 022833 branch answer_attributelist_end ,blank 
+0x70a6 022834 ifetch 2 ,rega 
+0x70a7 022835 iforce regb 
+0x70a8 022836 call search_attrib 
+0x70a9 022837 branch answer_attributelist_notfound ,blank 
+0x70aa 022838 increase -3 ,contr 
+0x70ab 022839 ifetch 3 ,contr 
+0x70ac 022840 istore 3 ,contw 
+0x70ad 022841 call sdp_data_len_obs 
+0x70ae 022842 iforce loopcnt 
+:      022843 answer_attributelist_attrib_loop:
+0x70af 022844 ifetch 1 ,contr 
+0x70b0 022845 istore 1 ,contw 
+0x70b1 022846 loop answer_attributelist_attrib_loop 
+:      022847 answer_attributelist_notfound:
+0x70b2 022848 increase 2 ,rega 
+0x70b3 022849 branch answer_attributelist_next 
+:      022850 servicesearchattribute_req_all:
+0x70b4 022854 ifetch 1 ,contr 
+0x70b5 022856 ifetch 1 ,contr 
+0x70b6 022858 increase -5 ,timeup 
+0x70b7 022859 increase -5 ,rega 
+0x70b8 022860 nbranch sdp_invalid_reqest_syntax ,positive 
+0x70b9 022861 arg mem_uuid_search_pat ,timeup 
+0x70ba 022862 ifetch 2 ,timeup 
+0x70bb 022864 increase 2 ,timeup 
+0x70bc 022865 call search_uuid 
+0x70bd 022866 deposit queue 
+0x70be 022867 store 1 ,mem_handle_humber 
+0x70bf 022868 branch empty_ssa_rsp ,blank 
+0x70c0 022869 arg 0 ,queue 
+0x70c1 022870 call l2cap_get_sdp_tx_payload 
+0x70c2 022871 increase 10 ,contw 
+0x70c3 022872 branch servicesearchattribute_req_next_handle 
+:      022873 answer_attributelist_end:
+0x70c4 022874 force 0 ,pdata 
+0x70c5 022875 istore 1 ,contw 
+0x70c6 022876 increase -1 ,contw 
+0x70c7 022877 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x70c8 022878 add temp ,13 ,pdata 
+0x70c9 022879 isub contw ,pdata 
+0x70ca 022880 branch no_attribute_return ,zero 
+0x70cb 022881 sub pdata ,0 ,pdata 
+0x70cc 022882 add temp ,12 ,regb 
+0x70cd 022883 istore 1 ,regb 
+0x70ce 022884 increase 3 ,pdata 
+0x70cf 022885 add temp ,9 ,regb 
+0x70d0 022886 istore 1 ,regb 
+0x70d1 022887 increase 3 ,pdata 
+0x70d2 022888 byteswap pdata ,pdata 
+0x70d3 022889 add temp ,5 ,regb 
+0x70d4 022890 istore 2 ,regb 
+0x70d5 022891 rshift8 pdata ,pdata 
+0x70d6 022892 increase 3 ,pdata 
+0x70d7 022893 byteswap pdata ,pdata 
+0x70d8 022894 add temp ,3 ,regb 
+0x70d9 022895 istore 2 ,regb 
+0x70da 022896 rshift8 pdata ,pdata 
+0x70db 022897 increase 5 ,pdata 
+0x70dc 022898 store 1 ,mem_sdp_tx_pkt_length 
+0x70dd 022900 fetch 2 ,mem_sdp_transactionid 
+0x70de 022901 add temp ,1 ,regb 
+0x70df 022902 istore 2 ,regb 
+0x70e0 022903 setarg 7 
+0x70e1 022904 istore 1 ,temp 
+0x70e2 022909 setarg 0x0036 
+0x70e3 022910 add temp ,7 ,regb 
+0x70e4 022911 istore 2 ,regb 
+0x70e5 022912 add temp ,10 ,regb 
+0x70e6 022913 istore 2 ,regb 
+0x70e7 022914 rtn 
+:      022915 no_attribute_return:
+0x70e8 022916 jam 10 ,mem_sdp_tx_pkt_length 
+0x70e9 022917 call l2cap_get_sdp_tx_payload 
+0x70ea 022919 setarg 7 
+0x70eb 022920 istore 1 ,contw 
+0x70ec 022921 fetch 2 ,mem_sdp_transactionid 
+0x70ed 022922 istore 2 ,contw 
+0x70ee 022926 setarg 0x0500 
+0x70ef 022927 istore 2 ,contw 
+0x70f0 022930 setarg 0x0200 
+0x70f1 022931 istore 2 ,contw 
+0x70f2 022935 setarg 0x000035 
+0x70f3 022936 istore 3 ,contw 
+0x70f4 022937 rtn 
+:      022939 servicesearchattribute_req_attributelist_loop:
+0x70f5 022940 ifetch 1 ,contr 
+0x70f6 022941 istore 1 ,contw 
+0x70f7 022942 increase 1 ,regb 
+0x70f8 022943 increase -1 ,rega 
+0x70f9 022944 branch servicesearchattribute_req_check_next_ctn ,zero 
+0x70fa 022945 loop servicesearchattribute_req_attributelist_loop 
+:      022946 servicesearchattribute_req_check_next_ctn:
+0x70fb 022947 copy contw ,timeup 
+0x70fc 022948 copy regb ,pdata 
+0x70fd 022949 store 2 ,mem_sdp_continue_byte 
+0x70fe 022950 copy rega ,pdata 
+0x70ff 022951 store 2 ,mem_sdp_attribute_maxbyte 
+0x7100 022952 branch answer_attributelist_with_ctn_bytes ,blank 
+0x7101 022953 branch answer_attributelist_with_ctn_end ,user 
+0x7102 022954 copy timeup ,contw 
+:      022955 servicesearchattribute_req_check_handle:
+0x7103 022956 increase 1 ,queue 
+0x7104 022957 fetch 1 ,mem_handle_humber 
+0x7105 022958 isub queue ,null 
+0x7106 022959 nbranch servicesearchattribute_req_next_handle ,zero 
+0x7107 022960 branch answer_attributelist_end_long 
+:      022961 servicesearchattribute_req_next_handle:
+0x7108 022962 arg mem_handle_list ,contr 
+0x7109 022963 lshift2 queue ,pdata 
+0x710a 022964 iadd contr ,contr 
+0x710b 022965 ifetch 4 ,contr 
+0x710c 022966 iforce temp 
+0x710d 022967 call search_handle 
+0x710e 022968 copy contr ,timeup 
+0x710f 022969 call sdp_get_data 
+0x7110 022970 add pdata ,3 ,loopcnt 
+0x7111 022971 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x7112 022972 copy pdata ,rega 
+0x7113 022973 fetch 2 ,mem_sdp_continue_byte 
+0x7114 022974 copy pdata ,regb 
+0x7115 022975 copy timeup ,contr 
+0x7116 022976 branch servicesearchattribute_req_attributelist_loop 
+:      022977 answer_attributelist_with_ctn_bytes:
+0x7117 022978 arg 0 ,queue 
+0x7118 022979 arg 0 ,regb 
+:      022980 answer_attributelist_calc_attribute_length:
+0x7119 022981 arg mem_handle_list ,contr 
+0x711a 022982 lshift2 queue ,pdata 
+0x711b 022983 iadd contr ,contr 
+0x711c 022984 ifetch 4 ,contr 
+0x711d 022985 iforce temp 
+0x711e 022986 call search_handle 
+0x711f 022987 call sdp_get_data 
+0x7120 022988 add pdata ,3 ,pdata 
+0x7121 022989 iadd regb ,regb 
+0x7122 022990 increase 1 ,queue 
+0x7123 022991 fetch 1 ,mem_handle_humber 
+0x7124 022992 isub queue ,null 
+0x7125 022993 nbranch answer_attributelist_calc_attribute_length ,zero 
+0x7126 022995 copy timeup ,contw 
+0x7127 022996 force 2 ,pdata 
+0x7128 022997 istore 1 ,contw 
+0x7129 022998 fetch 2 ,mem_sdp_continue_byte 
+0x712a 022999 byteswap pdata ,pdata 
+0x712b 023000 istore 2 ,contw 
+0x712c 023001 increase -3 ,contw 
+0x712d 023002 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x712e 023003 add temp ,10 ,pdata 
+0x712f 023004 isub contw ,pdata 
+0x7130 023005 sub pdata ,0 ,pdata 
+0x7131 023006 iforce rega 
+0x7132 023008 deposit regb 
+0x7133 023009 add temp ,9 ,regb 
+0x7134 023010 istore 1 ,regb 
+0x7135 023011 rshift8 pdata ,pdata 
+0x7136 023012 add temp ,8 ,regb 
+0x7137 023013 istore 1 ,regb 
+0x7138 023014 increase 3 ,rega 
+0x7139 023015 deposit rega 
+0x713a 023016 add temp ,6 ,regb 
+0x713b 023017 istore 1 ,regb 
+0x713c 023018 rshift8 pdata ,pdata 
+0x713d 023019 add temp ,5 ,regb 
+0x713e 023020 istore 1 ,regb 
+0x713f 023021 increase 5 ,rega 
+0x7140 023022 deposit rega 
+0x7141 023023 add temp ,4 ,regb 
+0x7142 023024 istore 1 ,regb 
+0x7143 023025 rshift8 pdata ,pdata 
+0x7144 023026 add temp ,3 ,regb 
+0x7145 023027 istore 1 ,regb 
+0x7146 023028 increase 5 ,rega 
+0x7147 023029 deposit rega 
+0x7148 023030 store 2 ,mem_sdp_tx_pkt_length 
+0x7149 023031 setarg 7 
+0x714a 023032 istore 1 ,temp 
+0x714b 023033 setarg 0x36 
+0x714c 023034 add temp ,7 ,regb 
+0x714d 023035 istore 1 ,regb 
+0x714e 023036 add temp ,1 ,regb 
+0x714f 023037 fetch 2 ,mem_sdp_transactionid 
+0x7150 023038 istore 2 ,regb 
+0x7151 023039 rtn 
+:      023040 answer_attributelist_with_ctn_end:
+0x7152 023041 copy timeup ,contw 
+0x7153 023042 force 0 ,pdata 
+0x7154 023043 istore 1 ,contw 
+0x7155 023044 increase -1 ,contw 
+0x7156 023045 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x7157 023046 add temp ,7 ,pdata 
+0x7158 023047 isub contw ,pdata 
+0x7159 023048 sub pdata ,0 ,pdata 
+0x715a 023049 iforce rega 
+0x715b 023051 deposit rega 
+0x715c 023052 add temp ,6 ,regb 
+0x715d 023053 istore 1 ,regb 
+0x715e 023054 rshift8 pdata ,pdata 
+0x715f 023055 add temp ,5 ,regb 
+0x7160 023056 istore 1 ,regb 
+0x7161 023057 increase 3 ,rega 
+0x7162 023058 deposit rega 
+0x7163 023059 add temp ,4 ,regb 
+0x7164 023060 istore 1 ,regb 
+0x7165 023061 rshift8 pdata ,pdata 
+0x7166 023062 add temp ,3 ,regb 
+0x7167 023063 istore 1 ,regb 
+0x7168 023064 increase 5 ,rega 
+0x7169 023065 deposit rega 
+0x716a 023066 store 2 ,mem_sdp_tx_pkt_length 
+0x716b 023068 setarg 7 
+0x716c 023069 istore 1 ,temp 
+0x716d 023071 fetch 2 ,mem_sdp_transactionid 
+0x716e 023072 add temp ,1 ,regb 
+0x716f 023073 istore 2 ,regb 
+0x7170 023074 rtn 
+:      023076 answer_attributelist_end_long:
+0x7171 023077 force 0 ,pdata 
+0x7172 023078 istore 1 ,contw 
+0x7173 023079 increase -1 ,contw 
+0x7174 023080 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x7175 023081 add temp ,10 ,pdata 
+0x7176 023082 isub contw ,pdata 
+0x7177 023083 sub pdata ,0 ,pdata 
+0x7178 023084 iforce rega 
+0x7179 023086 deposit rega 
+0x717a 023087 add temp ,9 ,regb 
+0x717b 023088 istore 1 ,regb 
+0x717c 023089 rshift8 pdata ,pdata 
+0x717d 023090 add temp ,8 ,regb 
+0x717e 023091 istore 1 ,regb 
+0x717f 023093 increase 3 ,rega 
+0x7180 023094 deposit rega 
+0x7181 023095 add temp ,6 ,regb 
+0x7182 023096 istore 1 ,regb 
+0x7183 023097 rshift8 pdata ,pdata 
+0x7184 023098 add temp ,5 ,regb 
+0x7185 023099 istore 1 ,regb 
+0x7186 023100 increase 3 ,rega 
+0x7187 023101 deposit rega 
+0x7188 023102 add temp ,4 ,regb 
+0x7189 023103 istore 1 ,regb 
+0x718a 023104 rshift8 pdata ,pdata 
+0x718b 023105 add temp ,3 ,regb 
+0x718c 023106 istore 1 ,regb 
+0x718d 023107 increase 5 ,rega 
+0x718e 023108 deposit rega 
+0x718f 023109 store 2 ,mem_sdp_tx_pkt_length 
+0x7190 023110 setarg 0x36 
+0x7191 023111 add temp ,7 ,regb 
+0x7192 023112 istore 1 ,regb 
+0x7193 023113 setarg 7 
+0x7194 023114 istore 1 ,temp 
+0x7195 023115 fetch 2 ,mem_sdp_transactionid 
+0x7196 023116 add temp ,1 ,regb 
+0x7197 023117 istore 2 ,regb 
+0x7198 023118 rtn 
+:      023119 sdp_data_len_obs:
+0x7199 023120 copy contr ,timeup 
+0x719a 023121 ifetch 1 ,contr 
+0x719b 023122 and pdata ,0x07 ,loopcnt 
+0x719c 023123 rshift3 pdata ,pdata 
+0x719d 023124 beq 6 ,sdp_data_len_6_obs 
+0x719e 023125 beq 1 ,sdp_data_len_1 
+0x719f 023126 beq 4 ,sdp_data_len_6 
+0x71a0 023127 beq 5 ,sdp_data_len_5 
+0x71a1 023128 branch sdp_data_len_rtn 
+:      023129 sdp_data_len_6_obs:
+0x71a2 023130 call sdp_get_data_6_obs 
+0x71a3 023131 branch sdp_data_len_rtn 
+:      023132 sdp_get_data_6_obs:
+0x71a4 023133 deposit loopcnt 
+0x71a5 023134 beq 5 ,sdp_get_data_6_8bit_obs 
+0x71a6 023135 beq 6 ,sdp_get_data_6_16bit_obs 
+0x71a7 023136 force 3 ,loopcnt 
+0x71a8 023137 branch sdp_get_data_1 
+:      023138 sdp_get_data_6_8bit_obs:
+0x71a9 023139 ifetch 1 ,contr 
+0x71aa 023140 increase 2 ,pdata 
+0x71ab 023141 rtn 
+:      023142 sdp_get_data_6_16bit_obs:
+0x71ac 023143 ifetch 2 ,contr 
+0x71ad 023144 byteswap pdata ,pdata 
+0x71ae 023145 increase 3 ,pdata 
+0x71af 023146 rtn 
+:      023148 sdp_send_spp_request:
+0x71b0 023149 call l2cap_get_sdp_tx_payload 
+0x71b1 023150 copy pdata ,contw 
+0x71b2 023151 setarg 6 
+0x71b3 023152 istore 1 ,contw 
+0x71b4 023153 setarg sdp_tid_spp 
+0x71b5 023154 istore 2 ,contw 
+0x71b6 023155 setarg 0x0f00 
+0x71b7 023156 istore 2 ,contw 
+0x71b8 023157 setarg 0x1a0535 
+0x71b9 023158 istore 3 ,contw 
+0x71ba 023159 setarg 0x0111 
+0x71bb 023160 lshift16 pdata ,pdata 
+0x71bc 023161 istore 4 ,contw 
+0x71bd 023162 setarg 0x2600 
+0x71be 023163 istore 2 ,contw 
+0x71bf 023164 setarg 0x0335 
+0x71c0 023165 istore 2 ,contw 
+0x71c1 023166 setarg 0x0009 
+0x71c2 023167 istore 2 ,contw 
+0x71c3 023168 setarg 0x0004 
+0x71c4 023169 istore 2 ,contw 
+0x71c5 023170 jam 0x14 ,mem_sdp_tx_pkt_length 
+0x71c6 023171 rtn 
+:      023181 servicesearchattribute_res:
+0x71c7 023182 copy contr ,temp 
+0x71c8 023183 fetch 2 ,mem_sdp_transactionid 
+0x71c9 023184 beq sdp_tid_spp ,servicesearchattribute_res_spp 
+0x71ca 023187 branch srchfail 
+:      023189 servicesearchattribute_res_spp:
+0x71cb 023190 copy temp ,contr 
+0x71cc 023191 increase -3 ,timeup 
+0x71cd 023192 copy timeup ,pdata 
+0x71ce 023193 beq 2 ,srchfail 
+0x71cf 023194 call find_rfcomm_channel_number 
+0x71d0 023195 rtn user 
+0x71d1 023196 store 1 ,mem_remote_spp_channel 
+0x71d2 023197 jam recieve_ss_reasult_hf ,mem_message_to_uppersm 
+0x71d3 023198 rtn 
+:      023200 srchfail:
+0x71d4 023201 rtn 
+:      023207 find_rfcomm_channel_number:
+0x71d5 023208 enable user 
+0x71d6 023209 copy pdata ,loopcnt 
+0x71d7 023210 arg 0x0400 ,temp 
+:      023211 find_rfcomm_channel_number_loop:
+0x71d8 023212 ifetch 2 ,contr 
+0x71d9 023213 isub temp ,null 
+0x71da 023214 branch find_rfcomm_channel_number_find_adl ,zero 
+0x71db 023215 increase -1 ,contr 
+0x71dc 023216 loop find_rfcomm_channel_number_loop 
+0x71dd 023217 rtn 
+:      023218 find_rfcomm_channel_number_find_adl:
+0x71de 023219 arg 0x0300 ,temp 
+:      023220 find_rfcomm_channel_number_loop2:
+0x71df 023221 ifetch 2 ,contr 
+0x71e0 023222 isub temp ,null 
+0x71e1 023223 branch find_rfcomm_channel_number_find_rfcomm ,zero 
+0x71e2 023224 increase -1 ,contr 
+0x71e3 023225 loop find_rfcomm_channel_number_loop2 
+0x71e4 023226 rtn 
+:      023227 find_rfcomm_channel_number_find_rfcomm:
+0x71e5 023228 ifetch 1 ,contr 
+0x71e6 023229 ifetch 1 ,contr 
+0x71e7 023230 disable user 
+0x71e8 023231 rtn 
+:      023242 attribute_reading:
+0x71e9 023243 call dataelementtype6 
+0x71ea 023244 branch rdnortn ,zero 
+0x71eb 023245 force 0 ,regb 
+0x71ec 023246 ifetch 1 ,contr 
+0x71ed 023247 increase -1 ,rega 
+0x71ee 023248 increase -1 ,timeup 
+0x71ef 023249 compare 0x18 ,pdata ,0xf8 
+0x71f0 023250 nbranch rduuid3 ,true 
+0x71f1 023251 compare 0x04 ,pdata ,0x07 
+0x71f2 023252 nbranch is032 ,true 
+0x71f3 023253 force 1 ,regb 
+:      023254 skp2bytes:
+0x71f4 023255 increase 2 ,contr 
+0x71f5 023256 increase -2 ,rega 
+0x71f6 023257 increase -2 ,timeup 
+0x71f7 023258 branch rduuid1 
+:      023259 is032:
+0x71f8 023260 compare 0x02 ,pdata ,0x07 
+0x71f9 023261 nbranch is016 ,true 
+0x71fa 023262 branch skp2bytes 
+:      023263 is016:
+0x71fb 023264 compare 0x01 ,pdata ,0x07 
+0x71fc 023265 nbranch rduuid3 ,true 
+:      023266 rduuid1:
+0x71fd 023267 ifetch 1 ,contr 
+0x71fe 023268 increase -1 ,rega 
+0x71ff 023269 increase -1 ,timeup 
+0x7200 023270 bne 0x01 ,rduuid2 
+0x7201 023271 ifetch 1 ,contr 
+0x7202 023272 increase -1 ,rega 
+0x7203 023273 increase -1 ,timeup 
+0x7204 023274 bne 0x00 ,rduuid3 
+0x7205 023275 jam 0xff ,mem_sdp_lacap_found 
+0x7206 023276 branch rduuid3 
+:      023277 rduuid2:
+0x7207 023278 bne 0x00 ,rduuid3 
+0x7208 023279 ifetch 1 ,contr 
+0x7209 023280 increase -1 ,rega 
+0x720a 023281 increase -1 ,timeup 
+0x720b 023282 bne 0x03 ,rduuid3 
+0x720c 023283 copy regb ,null 
+0x720d 023284 branch not16by ,zero 
+0x720e 023285 increase -12 ,contr 
+0x720f 023286 increase -12 ,timeup 
+:      023287 not16by:
+0x7210 023288 force 0xff ,pdata 
+0x7211 023289 store 1 ,mem_sdp_rfcomm_found 
+0x7212 023290 ifetch 1 ,contr 
+0x7213 023291 increase -1 ,rega 
+0x7214 023292 increase -1 ,timeup 
+0x7215 023293 compare 0x08 ,pdata ,0xf8 
+0x7216 023294 nbranch rduuid3 ,true 
+0x7217 023295 compare 0x00 ,pdata ,0x07 
+0x7218 023296 branch unsign1 ,true 
+0x7219 023297 compare 0x01 ,pdata ,0x07 
+0x721a 023298 branch unsign2 ,true 
+0x721b 023299 compare 0x02 ,pdata ,0x07 
+0x721c 023300 branch unsign4 ,true 
+0x721d 023301 compare 0x03 ,pdata ,0x07 
+0x721e 023302 branch unsign8 ,true 
+0x721f 023303 compare 0x04 ,pdata ,0x07 
+0x7220 023304 nbranch rduuid3 ,true 
+0x7221 023305 increase 8 ,contr 
+0x7222 023306 increase -8 ,rega 
+0x7223 023307 increase -8 ,timeup 
+:      023308 unsign8:
+0x7224 023309 increase 4 ,contr 
+0x7225 023310 increase -4 ,rega 
+0x7226 023311 increase -4 ,timeup 
+:      023312 unsign4:
+0x7227 023313 increase 2 ,contr 
+0x7228 023314 increase -2 ,rega 
+0x7229 023315 increase -2 ,timeup 
+:      023316 unsign2:
+0x722a 023317 increase 1 ,contr 
+0x722b 023318 increase -1 ,rega 
+0x722c 023319 increase -1 ,timeup 
+:      023320 unsign1:
+0x722d 023321 ifetch 1 ,contr 
+0x722e 023322 increase -1 ,rega 
+0x722f 023323 increase -1 ,timeup 
+:      023324 rduuid3:
+0x7230 023325 increase -1 ,timeup 
+0x7231 023326 increase -1 ,rega 
+0x7232 023327 branch rduuid3 ,positive 
+0x7233 023328 increase 1 ,timeup 
+0x7234 023329 force 0x01 ,pdata 
+0x7235 023330 rtn ,
+:      023331 rdnortn:
+0x7236 023332 force 0x00 ,pdata 
+0x7237 023333 rtn ,
+:      023335 sdp_invalid_service_record_handle:
+0x7238 023336 setarg 0x0200 
+0x7239 023337 store 2 ,mem_sdp_error_code 
+0x723a 023338 branch sdp_error_rsp 
+:      023339 sdp_invalid_pdu_size:
+0x723b 023340 setarg 0x0400 
+0x723c 023341 store 2 ,mem_sdp_error_code 
+0x723d 023342 branch sdp_error_rsp 
+:      023343 sdp_insufficient_resource:
+0x723e 023344 setarg 0x0600 
+0x723f 023345 store 2 ,mem_sdp_error_code 
+0x7240 023346 branch sdp_error_rsp 
+:      023347 sdp_invalid_reqest_syntax:
+0x7241 023348 setarg 0x0300 
+0x7242 023349 store 2 ,mem_sdp_error_code 
+:      023350 sdp_error_rsp:
+0x7243 023351 call l2cap_get_sdp_tx_payload 
+0x7244 023352 istore 1 ,contw 
+0x7245 023353 fetch 2 ,mem_sdp_transactionid 
+0x7246 023354 istore 2 ,contw 
+0x7247 023355 setarg 0x0200 
+0x7248 023356 istore 2 ,contw 
+0x7249 023357 fetch 2 ,mem_sdp_error_code 
+0x724a 023358 istore 2 ,contw 
+0x724b 023359 jam 7 ,mem_sdp_tx_pkt_length 
+0x724c 023360 rtn 
+:      023362 ask_serviceclassid:
+0x724d 023363 force 0 ,temp 
+0x724e 023364 arg mem_uuid_search_pat ,contw 
+0x724f 023365 call dataelementtype6 
+0x7250 023366 branch asksrv_error ,zero 
+:      023367 classidloop:
+0x7251 023368 ifetch 1 ,contr 
+0x7252 023369 increase -1 ,rega 
+0x7253 023370 increase -1 ,timeup 
+0x7254 023371 compare 0x18 ,pdata ,0xf8 
+0x7255 023372 nbranch asksrv_error ,true 
+0x7256 023373 compare 0x04 ,pdata ,0x07 
+0x7257 023374 nbranch cmp032 ,true 
+0x7258 023375 force 1 ,temp 
+:      023376 skip2bytes:
+0x7259 023377 ifetch 1 ,contr 
+0x725a 023378 increase -1 ,rega 
+0x725b 023379 increase -1 ,timeup 
+0x725c 023380 bne 0x00 ,frstbwrong 
+0x725d 023381 ifetch 1 ,contr 
+0x725e 023382 increase -1 ,rega 
+0x725f 023383 increase -1 ,timeup 
+0x7260 023384 beq 0x00 ,cmpuuid 
+0x7261 023385 branch scndbwrong 
+:      023386 frstbwrong:
+0x7262 023387 increase 1 ,contr 
+0x7263 023388 increase -1 ,rega 
+0x7264 023389 increase -1 ,timeup 
+:      023390 scndbwrong:
+0x7265 023391 increase 2 ,contr 
+0x7266 023392 increase -2 ,rega 
+0x7267 023393 increase -2 ,timeup 
+0x7268 023394 compare 0x00 ,temp ,0xff 
+0x7269 023395 branch loopornot ,true 
+0x726a 023396 increase 12 ,contr 
+0x726b 023397 increase -12 ,rega 
+0x726c 023398 increase -12 ,timeup 
+0x726d 023399 branch loopornot 
+:      023400 cmp032:
+0x726e 023401 compare 0x02 ,pdata ,0x07 
+0x726f 023402 nbranch cmp016 ,true 
+0x7270 023403 branch skip2bytes 
+:      023404 cmp016:
+0x7271 023405 compare 0x01 ,pdata ,0x07 
+0x7272 023406 nbranch asksrv_error ,true 
+:      023407 cmpuuid:
+0x7273 023408 ifetch 2 ,contr 
+0x7274 023409 increase -2 ,rega 
+0x7275 023410 increase -2 ,timeup 
+0x7276 023411 istore 2 ,contw 
+:      023412 uuidsize:
+0x7277 023413 compare 0x00 ,temp ,0xff 
+0x7278 023414 branch loopornot ,true 
+0x7279 023415 copy contr ,temp 
+0x727a 023416 ifetch 1 ,contr 
+0x727b 023417 bne 0x00 ,wrong12b 
+0x727c 023418 ifetch 1 ,contr 
+0x727d 023419 bne 0x00 ,wrong12b 
+0x727e 023420 ifetch 1 ,contr 
+0x727f 023421 bne 0x10 ,wrong12b 
+0x7280 023422 ifetch 1 ,contr 
+0x7281 023423 bne 0x00 ,wrong12b 
+0x7282 023424 ifetch 1 ,contr 
+0x7283 023425 bne 0x80 ,wrong12b 
+0x7284 023426 ifetch 1 ,contr 
+0x7285 023427 bne 0x00 ,wrong12b 
+0x7286 023428 ifetch 1 ,contr 
+0x7287 023429 bne 0x00 ,wrong12b 
+0x7288 023430 ifetch 1 ,contr 
+0x7289 023431 bne 0x80 ,wrong12b 
+0x728a 023432 ifetch 1 ,contr 
+0x728b 023433 bne 0x5f ,wrong12b 
+0x728c 023434 ifetch 1 ,contr 
+0x728d 023435 bne 0x9b ,wrong12b 
+0x728e 023436 ifetch 1 ,contr 
+0x728f 023437 bne 0x34 ,wrong12b 
+0x7290 023438 ifetch 1 ,contr 
+0x7291 023439 beq 0xfb ,chck12dn 
+:      023440 wrong12b:
+0x7292 023441 copy temp ,contr 
+:      023442 wrong12b1:
+0x7293 023443 increase 12 ,contr 
+0x7294 023444 force 0x00 ,queue 
+0x7295 023445 force 0x00 ,temp 
+0x7296 023446 branch chck12dn 
+:      023447 noclass:
+0x7297 023448 ifetch 1 ,contr 
+0x7298 023449 increase -1 ,rega 
+0x7299 023450 increase -1 ,timeup 
+0x729a 023451 branch uuidsize 
+:      023452 chck12dn:
+0x729b 023453 increase -12 ,timeup 
+0x729c 023454 increase -12 ,rega 
+:      023455 loopornot:
+0x729d 023456 compare 0x00 ,rega ,0xff 
+0x729e 023457 nbranch classidloop ,true 
+0x729f 023458 force 0 ,pdata 
+0x72a0 023459 istore 2 ,contw 
+0x72a1 023460 rtn ,
+:      023461 asksrv_error:
+0x72a2 023462 arg 0xff ,temp 
+0x72a3 023463 rtn 
+:      023473 dataelementtype6:
+0x72a4 023474 ifetch 1 ,contr 
+0x72a5 023475 increase -1 ,timeup 
+0x72a6 023476 compare 0x30 ,pdata ,0xf8 
+0x72a7 023477 nbranch dsize_error ,true 
+0x72a8 023478 compare 0x07 ,pdata ,0x07 
+0x72a9 023479 branch dsize32 ,true 
+0x72aa 023480 compare 0x06 ,pdata ,0x07 
+0x72ab 023481 branch dsize16 ,true 
+0x72ac 023482 compare 0x05 ,pdata ,0x07 
+0x72ad 023483 nbranch dsize_error ,true 
+0x72ae 023484 ifetch 1 ,contr 
+0x72af 023485 copy pdata ,rega 
+0x72b0 023486 increase -1 ,timeup 
+0x72b1 023487 branch dsize 
+:      023488 dsize32:
+0x72b2 023489 increase 2 ,contr 
+0x72b3 023490 increase -2 ,timeup 
+:      023491 dsize16:
+0x72b4 023492 ifetch 2 ,contr 
+0x72b5 023493 byteswap pdata ,rega 
+0x72b6 023494 increase -2 ,timeup 
+:      023495 set_nblank:
+:      023496 dsize:
+0x72b7 023497 force 0x01 ,pdata 
+0x72b8 023498 rtn 
+:      023499 set_blank:
+:      023500 dsize_error:
+0x72b9 023501 force 0x00 ,pdata 
+0x72ba 023502 rtn 
+:      023512 empth_sa_rsp:
+0x72bb 023513 setarg 0x03 
+0x72bc 023514 store 1 ,mem_sdp_pduid 
+0x72bd 023515 branch empty_response 
+:      023516 empty_ssa_rsp:
+0x72be 023517 setarg 0x07 
+0x72bf 023518 store 1 ,mem_sdp_pduid 
+:      023519 empty_response:
+0x72c0 023520 call l2cap_get_sdp_tx_payload 
+0x72c1 023521 fetch 1 ,mem_sdp_pduid 
+0x72c2 023522 istore 1 ,contw 
+0x72c3 023523 copy pdata ,regb 
+0x72c4 023524 fetch 2 ,mem_sdp_transactionid 
+0x72c5 023525 istore 2 ,contw 
+0x72c6 023527 setarg 0x0500 
+0x72c7 023528 istore 2 ,contw 
+0x72c8 023529 compare 0x05 ,regb ,0xff 
+0x72c9 023530 branch fullsearch ,true 
+0x72ca 023531 compare 0x07 ,regb ,0xff 
+0x72cb 023532 branch fullsearch ,true 
+0x72cc 023533 setarg 0x000000 
+0x72cd 023534 istore 3 ,contw 
+0x72ce 023535 istore 2 ,contw 
+0x72cf 023536 branch outempty 
+:      023538 fullsearch:
+0x72d0 023545 setarg 0x350200 
+0x72d1 023546 istore 3 ,contw 
+0x72d2 023551 setarg 0 
+0x72d3 023552 istore 2 ,contw 
+:      023553 outempty:
+0x72d4 023554 jam 10 ,mem_sdp_tx_pkt_length 
+0x72d5 023555 rtn 
+:      023557 sdp_data_len:
+0x72d6 023558 copy contr ,timeup 
+0x72d7 023559 ifetch 1 ,contr 
+0x72d8 023560 and pdata ,0x7 ,loopcnt 
+0x72d9 023561 rshift3 pdata ,pdata 
+0x72da 023562 beq 6 ,sdp_data_len_6 
+0x72db 023563 beq 1 ,sdp_data_len_1 
+0x72dc 023564 beq 4 ,sdp_data_len_6 
+0x72dd 023565 beq 5 ,sdp_data_len_5 
+:      023566 sdp_data_len_rtn:
+0x72de 023567 copy timeup ,contr 
+0x72df 023568 rtn 
+:      023569 sdp_data_len_1:
+0x72e0 023570 call sdp_data_size 
+0x72e1 023571 increase 1 ,pdata 
+0x72e2 023572 branch sdp_data_len_rtn 
+:      023573 sdp_data_len_5:
+0x72e3 023574 force 2 ,pdata 
+0x72e4 023575 branch sdp_data_len_rtn 
+:      023576 sdp_data_len_6:
+0x72e5 023577 call sdp_get_data_6 
+0x72e6 023578 increase 2 ,pdata 
+0x72e7 023579 branch sdp_data_len_rtn 
+:      023581 sdp_get_data:
+0x72e8 023582 ifetch 1 ,contr 
+0x72e9 023583 and pdata ,0x7 ,loopcnt 
+0x72ea 023584 rshift3 pdata ,pdata 
+0x72eb 023585 beq 6 ,sdp_get_data_6 
+0x72ec 023586 beq 1 ,sdp_get_data_1 
+0x72ed 023587 beq 5 ,sdp_get_data_6_8bit 
+0x72ee 023588 rtn 
+:      023589 sdp_get_data_1:
+0x72ef 023590 call sdp_data_size 
+0x72f0 023591 iforce loopcnt 
+0x72f1 023592 force 0 ,temp 
+:      023593 sdp_get_data_1_loop:
+0x72f2 023594 lshift8 temp ,temp 
+0x72f3 023595 ifetch 1 ,contr 
+0x72f4 023596 ior temp ,temp 
+0x72f5 023597 loop sdp_get_data_1_loop 
+0x72f6 023598 rtn 
+:      023599 sdp_get_data_6:
+0x72f7 023600 deposit loopcnt 
+0x72f8 023601 beq 5 ,sdp_get_data_6_8bit 
+0x72f9 023602 beq 6 ,sdp_get_data_6_16bit 
+0x72fa 023603 force 3 ,loopcnt 
+0x72fb 023604 branch sdp_get_data_1 
+:      023605 sdp_get_data_6_8bit:
+0x72fc 023606 ifetch 1 ,contr 
+0x72fd 023607 rtn 
+:      023608 sdp_get_data_6_16bit:
+0x72fe 023609 ifetch 2 ,contr 
+0x72ff 023610 byteswap pdata ,pdata 
+0x7300 023611 rtn 
+:      023614 sdp_data_size:
+0x7301 023615 force 1 ,pdata 
+0x7302 023616 copy loopcnt ,null 
+0x7303 023617 rtn zero 
+:      023618 sdp_data_size_loop:
+0x7304 023619 lshift pdata ,pdata 
+0x7305 023620 loop sdp_data_size_loop 
+0x7306 023621 rtn 
+:      023626 search_uuid:
+0x7307 023627 iforce regc 
+0x7308 023628 set1 mark_ext_patch ,mark 
+0x7309 023629 bpatch patch3d_1 ,mem_patch3d 
+0x730a 023630 force 0 ,queue 
+0x730b 023631 fetch 2 ,memui_uuid_table 
+0x730c 023632 iforce contr 
+0x730d 023633 arg mem_handle_list ,contw 
+:      023634 search_uuid_next:
+0x730e 023635 disable user 
+0x730f 023636 ifetch 1 ,contr 
+0x7310 023637 rtn blank 
+0x7311 023638 iforce loopcnt 
+:      023639 search_uuid_loop:
+0x7312 023640 ifetch 2 ,contr 
+0x7313 023641 isub regc ,null 
+0x7314 023642 nbranch search_uuid_not_found ,zero 
+0x7315 023643 enable user 
+:      023644 search_uuid_not_found:
+0x7316 023645 loop search_uuid_loop 
+0x7317 023646 ifetch 4 ,contr 
+0x7318 023647 nbranch search_uuid_nomatch ,user 
+0x7319 023648 istore 4 ,contw 
+0x731a 023649 increase 1 ,queue 
+:      023650 search_uuid_nomatch:
+0x731b 023651 call sdp_get_data 
+0x731c 023652 iadd contr ,contr 
+0x731d 023653 branch search_uuid_next 
+:      023656 search_handle:
+0x731e 023657 fetch 2 ,memui_uuid_table 
+0x731f 023658 iforce contr 
+:      023659 search_handle_loop:
+0x7320 023660 ifetch 1 ,contr 
+0x7321 023661 rtn blank 
+0x7322 023662 lshift pdata ,pdata 
+0x7323 023663 iadd contr ,contr 
+0x7324 023664 ifetch 4 ,contr 
+0x7325 023665 isub temp ,null 
+0x7326 023666 rtn zero 
+0x7327 023667 call sdp_get_data 
+0x7328 023668 iadd contr ,contr 
+0x7329 023669 branch search_handle_loop 
+:      023676 search_attrib:
+0x732a 023677 set1 mark_ext_patch ,mark 
+0x732b 023678 bpatch patch3d_2 ,mem_patch3d 
+0x732c 023679 fetch 2 ,memui_uuid_table 
+0x732d 023680 iforce contr 
+:      023681 search_attrib_next:
+0x732e 023682 ifetch 1 ,contr 
+0x732f 023683 branch search_attrib_end ,blank 
+0x7330 023684 iforce loopcnt 
+:      023685 search_attrib_loop:
+0x7331 023686 ifetch 2 ,contr 
+0x7332 023687 isub regc ,null 
+0x7333 023688 branch search_attrib_found_uuid ,zero 
+0x7334 023689 loop search_attrib_loop 
+0x7335 023690 increase 4 ,contr 
+0x7336 023691 call sdp_get_data 
+0x7337 023692 iadd contr ,contr 
+0x7338 023693 branch search_attrib_next 
+:      023694 search_attrib_found_uuid:
+0x7339 023695 increase -1 ,loopcnt 
+0x733a 023696 lshift loopcnt ,pdata 
+0x733b 023697 iadd contr ,contr 
+0x733c 023698 increase 4 ,contr 
+0x733d 023699 call sdp_get_data 
+0x733e 023700 iadd contr ,temp 
+:      023701 search_attrib_loop_attribs:
+0x733f 023702 increase 1 ,contr 
+0x7340 023703 ifetch 2 ,contr 
+0x7341 023704 isub regb ,timeup 
+0x7342 023706 setflag zero ,0 ,pdata 
+0x7343 023707 copy timeup ,timeup 
+0x7344 023708 rtn zero 
+0x7345 023709 call sdp_data_len 
+0x7346 023710 iadd contr ,contr 
+0x7347 023711 deposit temp 
+0x7348 023712 isub contr ,null 
+0x7349 023713 branch search_attrib_end ,zero 
+0x734a 023714 branch search_attrib_loop_attribs 
+:      023715 search_attrib_end:
+0x734b 023716 force 0 ,contr 
+0x734c 023717 force 0 ,pdata 
+0x734d 023718 rtn 
+:      023724 search_handle_attrib:
+0x734e 023725 set1 mark_ext_patch ,mark 
+0x734f 023726 bpatch patch3d_3 ,mem_patch3d 
+0x7350 023727 fetch 2 ,memui_uuid_table 
+0x7351 023728 iforce contr 
+:      023729 search_handle_attrib_next:
+0x7352 023730 ifetch 1 ,contr 
+0x7353 023731 branch search_handle_attrib_end ,blank 
+0x7354 023732 lshift pdata ,pdata 
+0x7355 023733 iadd contr ,contr 
+0x7356 023734 ifetch 4 ,contr 
+0x7357 023735 isub temp ,null 
+0x7358 023736 branch search_handl_attrib_found_handle ,zero 
+0x7359 023737 call sdp_get_data 
+0x735a 023738 iadd contr ,contr 
+0x735b 023739 branch search_handle_attrib_next 
+:      023740 search_handl_attrib_found_handle:
+0x735c 023741 call sdp_get_data 
+0x735d 023742 iadd contr ,temp 
+:      023743 search_handle_attrib_loop_attribs:
+0x735e 023744 increase 1 ,contr 
+0x735f 023745 ifetch 2 ,contr 
+0x7360 023746 isub regb ,null 
+0x7361 023747 rtn zero 
+0x7362 023748 call sdp_data_len 
+0x7363 023749 iadd contr ,contr 
+0x7364 023750 deposit temp 
+0x7365 023751 isub contr ,null 
+0x7366 023752 branch search_handle_attrib_end ,zero 
+0x7367 023753 branch search_handle_attrib_loop_attribs 
+:      023754 search_handle_attrib_end:
+0x7368 023755 force 0 ,contr 
+0x7369 023756 rtn 
+:      023759 generate_kinit:
+0x736a 023760 call function_e22 
+0x736b 023761 arg mem_input_store ,contr 
+0x736c 023762 arg mem_kinit ,contw 
+0x736d 023763 branch memcpy16 
+:      023766 function_e21:
+0x736e 023767 disable user 
+0x736f 023768 call function_expand 
+0x7370 023769 arg mem_random_number ,contr 
+0x7371 023770 arg mem_x ,contw 
+0x7372 023771 force 15 ,loopcnt 
+0x7373 023772 call memcpy 
+0x7374 023773 ifetch 1 ,contr 
+0x7375 023774 xor_into 6 ,pdata 
+0x7376 023775 istore 1 ,contw 
+0x7377 023776 setarg mem_y 
+0x7378 023777 store 2 ,memp_ar_input 
+0x7379 023778 setarg mem_x 
+0x737a 023779 store 2 ,memp_ar_key 
+0x737b 023780 set1 mark_ar2 ,mark 
+0x737c 023781 branch function_ar 
+:      023785 function_e22:
+0x737d 023786 fetcht 1 ,mem_pin_length 
+0x737e 023787 force 16 ,regb 
+0x737f 023788 add temp ,6 ,regc 
+0x7380 023789 sub regc ,16 ,null 
+0x7381 023790 branch function_e22_pin_init ,positive 
+0x7382 023791 force 16 ,regc 
+:      023792 function_e22_pin_init:
+0x7383 023793 arg mem_x ,contw 
+:      023794 function_e22_genx_pin:
+0x7384 023795 arg mem_pin ,contr 
+0x7385 023796 copy temp ,loopcnt 
+0x7386 023797 disable user 
+:      023798 function_e22_genx_loop:
+0x7387 023799 ifetch 1 ,contr 
+0x7388 023800 istore 1 ,contw 
+0x7389 023801 increase -1 ,regb 
+0x738a 023802 branch function_e22_genx_end ,zero 
+0x738b 023803 loop function_e22_genx_loop 
+0x738c 023804 branch function_e22_genx_pin ,user 
+0x738d 023805 enable user 
+0x738e 023806 force 6 ,loopcnt 
+0x738f 023807 copy rega ,contr 
+0x7390 023808 branch function_e22_genx_loop 
+:      023809 function_e22_genx_end:
+0x7391 023810 arg mem_random_number ,contr 
+0x7392 023811 arg mem_y ,contw 
+0x7393 023812 call memcpy16 
+0x7394 023813 fetch 1 ,mem_y15 
+0x7395 023814 ixor regc ,pdata 
+0x7396 023815 store 1 ,mem_y15 
+0x7397 023816 setarg mem_y 
+0x7398 023817 store 2 ,memp_ar_input 
+0x7399 023818 setarg mem_x 
+0x739a 023819 store 2 ,memp_ar_key 
+0x739b 023820 set1 mark_ar2 ,mark 
+0x739c 023821 branch function_ar 
+:      023826 function_e1:
+0x739d 023827 disable user 
+0x739e 023828 call function_expand 
+0x739f 023829 branch function_hash 
+:      023831 function_e3:
+0x73a0 023832 arg mem_aco ,rega 
+0x73a1 023833 enable user 
+0x73a2 023834 call function_expand 
+0x73a3 023835 call function_hash 
+0x73a4 023836 arg mem_input_store ,contr 
+0x73a5 023837 arg mem_kc ,contw 
+0x73a6 023838 branch memcpy16 
+:      023841 function_hash:
+0x73a7 023842 setarg mem_random_number 
+0x73a8 023843 store 2 ,memp_ar_input 
+0x73a9 023844 setarg mem_link_key 
+0x73aa 023845 store 2 ,memp_ar_key 
+0x73ab 023846 set0 mark_ar2 ,mark 
+0x73ac 023847 call function_ar 
+0x73ad 023848 arg mem_input_store ,rega 
+0x73ae 023849 arg mem_random_number ,regb 
+0x73af 023850 arg mem_x ,contw 
+0x73b0 023851 call xor16 
+0x73b1 023852 arg mem_x ,rega 
+0x73b2 023853 arg mem_y ,regb 
+0x73b3 023854 copy regb ,contw 
+0x73b4 023855 enable user 
+0x73b5 023856 call add16 
+0x73b6 023857 call key_offset 
+0x73b7 023858 setarg mem_y 
+0x73b8 023859 store 2 ,memp_ar_input 
+0x73b9 023860 setarg mem_x 
+0x73ba 023861 store 2 ,memp_ar_key 
+0x73bb 023862 set1 mark_ar2 ,mark 
+0x73bc 023863 branch function_ar 
+:      023867 function_ar:
+0x73bd 023868 jam 0 ,mem_ar_hround 
+0x73be 023869 fetch 2 ,memp_ar_key 
+0x73bf 023870 iforce contr 
+0x73c0 023871 arg mem_key_store ,contw 
+0x73c1 023872 call memcpy16 
+0x73c2 023873 fetch 2 ,memp_ar_input 
+0x73c3 023874 iforce contr 
+0x73c4 023875 arg mem_input_store ,contw 
+0x73c5 023876 call memcpy16 
+:      023878 function_ar_loop:
+0x73c6 023879 call key_scheduling 
+0x73c7 023880 disable user 
+0x73c8 023881 bmark0 mark_ar2 ,function_ar_original 
+0x73c9 023882 fetch 1 ,mem_ar_hround 
+0x73ca 023883 bne 4 ,function_ar_original 
+0x73cb 023884 fetch 2 ,memp_ar_input 
+0x73cc 023885 iforce regb 
+0x73cd 023886 call xor_mod32_ar2 
+:      023887 function_ar_original:
+0x73ce 023888 call xor_mod32 
+0x73cf 023889 call el_boxes 
+0x73d0 023890 fetch 1 ,mem_ar_hround 
+0x73d1 023891 increase 1 ,pdata 
+0x73d2 023892 store 1 ,mem_ar_hround 
+0x73d3 023894 call key_scheduling 
+0x73d4 023895 enable user 
+0x73d5 023896 call xor_mod32 
+0x73d6 023897 call pht 
+0x73d7 023898 call permute 
+0x73d8 023899 call pht 
+0x73d9 023900 call permute 
+0x73da 023901 call pht 
+0x73db 023902 call permute 
+0x73dc 023903 call pht 
+0x73dd 023904 fetch 1 ,mem_ar_hround 
+0x73de 023905 increase 1 ,pdata 
+0x73df 023906 store 1 ,mem_ar_hround 
+0x73e0 023907 bne 16 ,function_ar_loop 
+0x73e1 023908 call key_scheduling 
+0x73e2 023909 disable user 
+0x73e3 023910 branch xor_mod32 
+:      023914 key_scheduling:
+0x73e4 023915 fetch 1 ,mem_ar_hround 
+0x73e5 023916 arg mem_key_store ,contr 
+0x73e6 023917 branch key_sched_zero ,blank 
+0x73e7 023918 iforce regb 
+0x73e8 023919 force 17 ,loopcnt 
+0x73e9 023920 copy contr ,contw 
+:      023921 key_rotateloop:
+0x73ea 023922 ifetch 1 ,contr 
+0x73eb 023923 lshift3 pdata ,temp 
+0x73ec 023924 rshift2 pdata ,pdata 
+0x73ed 023925 rshift3 pdata ,pdata 
+0x73ee 023926 ior temp ,pdata 
+0x73ef 023927 istore 1 ,contw 
+0x73f0 023928 loop key_rotateloop 
+0x73f1 023929 setarg mem_key_store 
+0x73f2 023930 iadd regb ,contr 
+0x73f3 023931 force 16 ,loopcnt 
+0x73f4 023932 arg mem_round_key ,contw 
+:      023933 key_select_octet_loop:
+0x73f5 023934 ifetch 1 ,contr 
+0x73f6 023935 istore 1 ,contw 
+0x73f7 023936 compare mem_key_store_end ,contr ,0xff 
+0x73f8 023937 nbranch key_select_octet_nwrap ,true 
+0x73f9 023938 increase -17 ,contr 
+:      023939 key_select_octet_nwrap:
+0x73fa 023940 loop key_select_octet_loop 
+0x73fb 023941 force 0 ,rega 
+0x73fc 023942 add regb ,-1 ,regc 
+0x73fd 023943 lshift2 regc ,regc 
+0x73fe 023944 lshift2 regc ,regc 
+0x73ff 023945 call enable_authrom 
+0x7400 023946 setarg mem_b_box 
+0x7401 023947 iadd regc ,regc 
+0x7402 023948 arg mem_round_key ,contw 
+0x7403 023949 force 16 ,loopcnt 
+:      023950 bias_round_key_loop:
+0x7404 023951 ifetcht 1 ,regc 
+0x7405 023952 ifetch 1 ,contw 
+0x7406 023953 iadd temp ,pdata 
+0x7407 023954 istore 1 ,contw 
+0x7408 023955 increase 1 ,regc 
+0x7409 023956 loop bias_round_key_loop 
+0x740a 023957 branch disable_authrom 
+:      023959 key_sched_zero:
+0x740b 023960 force 16 ,loopcnt 
+0x740c 023961 force 0 ,temp 
+:      023962 create_byte_16_loop:
+0x740d 023963 ifetch 1 ,contr 
+0x740e 023964 ixor temp ,temp 
+0x740f 023965 loop create_byte_16_loop 
+0x7410 023966 deposit temp 
+0x7411 023967 istore 1 ,contr 
+0x7412 023968 arg mem_key_store ,contr 
+0x7413 023969 arg mem_round_key ,contw 
+0x7414 023970 branch memcpy16 
+:      023972 xor_mod32:
+0x7415 023973 arg mem_round_key ,regb 
+:      023974 xor_mod32_ar2:
+0x7416 023975 force 16 ,loopcnt 
+0x7417 023976 arg mem_input_store ,rega 
+0x7418 023977 copy rega ,contw 
+:      023978 xor_mod32_loop:
+0x7419 023979 ifetcht 1 ,rega 
+0x741a 023980 ifetch 1 ,regb 
+0x741b 023981 ixor temp ,alarm 
+0x741c 023982 and loopcnt ,3 ,regc 
+0x741d 023983 nbranch xor_mod32_invert ,user 
+0x741e 023984 xor_into 3 ,regc 
+:      023985 xor_mod32_invert:
+0x741f 023986 sub regc ,1 ,regc 
+0x7420 023987 branch xor_even ,positive 
+0x7421 023988 iadd temp ,alarm 
+:      023989 xor_even:
+0x7422 023990 deposit alarm 
+0x7423 023991 istore 1 ,contw 
+0x7424 023992 increase 1 ,rega 
+0x7425 023993 increase 1 ,regb 
+0x7426 023994 loop xor_mod32_loop 
+0x7427 023995 rtn 
+:      023997 el_boxes:
+0x7428 023998 call enable_authrom 
+0x7429 023999 force 16 ,loopcnt 
+0x742a 024000 arg mem_input_store ,rega 
+:      024001 el_box_loop:
+0x742b 024002 ifetch 1 ,rega 
+0x742c 024003 arg mem_e_box ,contr 
+0x742d 024004 and loopcnt ,3 ,regc 
+0x742e 024005 sub regc ,1 ,null 
+0x742f 024006 branch e_boxes ,positive 
+0x7430 024007 arg mem_l_box ,contr 
+:      024008 e_boxes:
+0x7431 024009 iadd contr ,contr 
+0x7432 024010 ifetch 1 ,contr 
+0x7433 024011 istore 1 ,rega 
+0x7434 024012 increase 1 ,rega 
+0x7435 024013 loop el_box_loop 
+0x7436 024014 branch disable_authrom 
+:      024016 pht:
+0x7437 024017 force 8 ,loopcnt 
+0x7438 024018 arg mem_input_store ,contr 
+0x7439 024019 copy contr ,contw 
+:      024020 pht_loop:
+0x743a 024021 ifetch 1 ,contr 
+0x743b 024022 iforce rega 
+0x743c 024023 ifetch 1 ,contr 
+0x743d 024024 iforce regb 
+0x743e 024025 lshift rega ,pdata 
+0x743f 024026 iadd regb ,pdata 
+0x7440 024027 istore 1 ,contw 
+0x7441 024028 deposit rega 
+0x7442 024029 iadd regb ,pdata 
+0x7443 024030 istore 1 ,contw 
+0x7444 024031 loop pht_loop 
+0x7445 024032 rtn 
+:      024035 permute:
+0x7446 024036 setarg 0x8ae42c 
+0x7447 024037 iforce temp 
+0x7448 024038 force 7 ,loopcnt 
+0x7449 024039 call permute_exchange 
+0x744a 024040 setarg 0xd751b 
+0x744b 024041 iforce temp 
+0x744c 024042 force 5 ,loopcnt 
+0x744d 024043 call permute_exchange 
+0x744e 024044 fetch 1 ,mem_input_store + 15 
+0x744f 024045 iforce rega 
+0x7450 024046 fetch 1 ,mem_input_store + 3 
+0x7451 024047 store 1 ,mem_input_store + 15 
+0x7452 024048 deposit rega 
+0x7453 024049 store 1 ,mem_input_store + 3 
+0x7454 024050 rtn 
+:      024052 permute_exchange:
+0x7455 024053 and temp ,0xf ,regb 
+:      024054 permute_loop:
+0x7456 024055 and temp ,0xf ,pdata 
+0x7457 024056 arg mem_input_store ,contw 
+0x7458 024057 iadd contw ,contw 
+0x7459 024058 ifetch 1 ,contw 
+0x745a 024059 iforce regc 
+0x745b 024060 deposit rega 
+0x745c 024061 istore 1 ,contw 
+0x745d 024062 copy regc ,rega 
+0x745e 024063 rshift4 temp ,temp 
+0x745f 024064 loop permute_loop 
+0x7460 024065 setarg mem_input_store 
+0x7461 024066 iadd regb ,contw 
+0x7462 024067 deposit rega 
+0x7463 024068 istore 1 ,contw 
+0x7464 024069 rtn 
+:      024071 add16:
+0x7465 024072 enable user 
+0x7466 024073 branch xor_add16 
+:      024075 xor16:
+0x7467 024076 disable user 
+:      024077 xor_add16:
+0x7468 024078 force 16 ,loopcnt 
+:      024079 xoradd_loop:
+0x7469 024080 ifetcht 1 ,rega 
+0x746a 024081 ifetch 1 ,regb 
+0x746b 024082 branch xoradd_add ,user 
+0x746c 024083 ixor temp ,pdata 
+0x746d 024084 branch xoradd_store 
+:      024085 xoradd_add:
+0x746e 024086 iadd temp ,pdata 
+:      024087 xoradd_store:
+0x746f 024088 istore 1 ,contw 
+0x7470 024089 increase 1 ,rega 
+0x7471 024090 increase 1 ,regb 
+0x7472 024091 loop xoradd_loop 
+0x7473 024092 rtn 
+:      024095 function_expand:
+0x7474 024096 arg mem_y ,contw 
+0x7475 024097 ifetch 6 ,rega 
+0x7476 024098 istore 6 ,contw 
+0x7477 024099 branch expand_12 ,user 
+0x7478 024100 ifetch 6 ,rega 
+0x7479 024101 branch expand_cont 
+:      024102 expand_12:
+0x747a 024103 ifetch 6 ,contr 
+:      024104 expand_cont:
+0x747b 024105 istore 6 ,contw 
+0x747c 024106 ifetch 4 ,rega 
+0x747d 024107 istore 4 ,contw 
+0x747e 024108 rtn 
+:      024110 key_offset:
+0x747f 024111 arg mem_link_key ,contr 
+0x7480 024112 arg mem_x ,contw 
+0x7481 024113 arg 0 ,temp 
+0x7482 024114 setarg 0x8395a7 
+0x7483 024115 call concatenate_temp24 
+0x7484 024116 setarg 0xb3c1df 
+0x7485 024117 call concatenate_temp24 
+0x7486 024118 setarg 0xe5e9 
+0x7487 024119 call concatenate_temp16 
+0x7488 024120 copy temp ,regab 
+0x7489 024121 disable user 
+0x748a 024122 call key_addxor 
+0x748b 024123 copy regab ,temp 
+0x748c 024124 enable user 
+0x748d 024125 branch key_addxor 
+:      024127 key_addxor:
+0x748e 024128 force 8 ,loopcnt 
+:      024129 key_addxor_loop:
+0x748f 024130 ifetch 1 ,contr 
+0x7490 024131 compare 1 ,loopcnt ,1 
+0x7491 024132 branch key_high ,user 
+0x7492 024133 branch key_xor ,true 
+:      024134 key_add:
+0x7493 024135 iadd temp ,pdata 
+0x7494 024136 branch key_store 
+:      024137 key_high:
+0x7495 024138 branch key_add ,true 
+:      024139 key_xor:
+0x7496 024140 ixor temp ,pdata 
+:      024141 key_store:
+0x7497 024142 istore 1 ,contw 
+0x7498 024143 rshift8 temp ,temp 
+0x7499 024144 loop key_addxor_loop 
+0x749a 024145 rtn 
+:      024147 copy_aco:
+0x749b 024148 fetch 6 ,mem_input_store + 4 
+0x749c 024149 store 6 ,mem_aco 
+0x749d 024150 ifetch 6 ,contr 
+0x749e 024151 istore 6 ,contw 
+0x749f 024152 rtn 
+:      024154 concatenate_temp24:
+0x74a0 024155 lshift8 temp ,temp 
+:      024156 concatenate_temp16:
+0x74a1 024157 lshift16 temp ,temp 
+0x74a2 024158 ior temp ,temp 
+0x74a3 024159 rtn 
+:      024162 loop1:
+0x74a4 024163 branch loop1 
+:      024167 generate_stk:
+0x74a5 024168 call function_s1 
+0x74a6 024169 arg mem_le_ltk ,contw 
+0x74a7 024170 branch store_aes_result 
+:      024173 authenticate_rconfirm:
+0x74a8 024174 arg mem_le_srand ,contw 
+0x74a9 024175 branch authenticate_mconfirm ,master 
+0x74aa 024176 arg mem_le_mrand ,contw 
+:      024177 authenticate_mconfirm:
+0x74ab 024178 copy contr ,rega 
+0x74ac 024179 call memcpy16 
+0x74ad 024180 call function_c1 
+0x74ae 024181 arg mem_le_rconfirm ,contr 
+0x74af 024182 branch compare_res 
+:      024184 generate_confirm:
+0x74b0 024185 arg mem_le_mrand ,rega 
+0x74b1 024186 branch generate_mrand ,master 
+0x74b2 024187 arg mem_le_srand ,rega 
+:      024188 generate_mrand:
+0x74b3 024189 copy rega ,contw 
+0x74b4 024190 call generate_random 
+0x74b5 024191 branch function_c1 
+:      024193 generate_sk:
+0x74b6 024194 arg mem_le_skdm ,contr 
+0x74b7 024195 call load_data128 
+0x74b8 024196 arg mem_le_ltk ,contr 
+0x74b9 024197 call load_regext 
+0x74ba 024198 force 0x38 ,aes_ctrl 
+0x74bb 024199 force 0x0 ,aes_ctrl 
+0x74bc 024200 call wait_aes 
+0x74bd 024201 arg mem_le_sk ,contw 
+0x74be 024202 branch store_aes_result 
+:      024205 first_block_counter:
+0x74bf 024206 force 0x49 ,pdata 
+0x74c0 024207 branch first_block 
+:      024208 first_block_data:
+0x74c1 024209 force 1 ,pdata 
+:      024210 first_block:
+0x74c2 024211 force regidx_data ,regext_index 
+0x74c3 024212 lshift8 temp ,regext 
+0x74c4 024213 ior regext ,regext 
+0x74c5 024214 increase 1 ,regext_index 
+0x74c6 024215 rshift8 temp ,regext 
+0x74c7 024216 rshift16 regext ,regext 
+0x74c8 024217 fetch 2 ,mem_le_ivm 
+0x74c9 024218 lshift16 ,pdata ,pdata 
+0x74ca 024219 ior regext ,regext 
+0x74cb 024220 increase 1 ,regext_index 
+0x74cc 024221 ifetch 4 ,contr 
+0x74cd 024222 iforce regext 
+0x74ce 024223 increase 1 ,regext_index 
+0x74cf 024224 ifetch 2 ,contr 
+0x74d0 024225 byteswap rega ,regext 
+0x74d1 024226 lshift16 regext ,regext 
+0x74d2 024227 ior regext ,regext 
+0x74d3 024228 increase 1 ,regext_index 
+0x74d4 024229 rtn 
+:      024233 generate_mic:
+0x74d5 024234 add regc ,1 ,contr 
+0x74d6 024235 ifetch 1 ,contr 
+0x74d7 024236 iforce rega 
+0x74d8 024237 call first_block_counter 
+0x74d9 024238 call do_aes_ocb 
+0x74da 024240 force regidx_data ,regext_index 
+0x74db 024241 ifetch 1 ,regc 
+0x74dc 024242 and_into 0x3 ,pdata 
+0x74dd 024243 lshift16 pdata ,regext 
+0x74de 024244 set1 8 ,regext 
+0x74df 024245 call clear_hidata 
+0x74e0 024246 call do_aes_cbc 
+0x74e1 024248 copy rega ,loopcnt 
+0x74e2 024249 add regc ,2 ,contr 
+0x74e3 024250 call padding_data 
+:      024251 generate_mic_loop:
+0x74e4 024252 call aes_load_data 
+0x74e5 024253 call do_aes_cbc 
+0x74e6 024254 deposit loopcnt 
+0x74e7 024255 branch generate_mic_end ,blank 
+0x74e8 024256 branch generate_mic_loop 
+:      024257 generate_mic_end:
+0x74e9 024258 force regidx_result ,regext_index 
+0x74ea 024259 deposit regext 
+0x74eb 024260 store 4 ,mem_le_mic 
+0x74ec 024261 rtn 
+:      024263 aes_crypt_data:
+0x74ed 024264 increase 1 ,rega 
+0x74ee 024265 call first_block_data 
+0x74ef 024266 copy regc ,contr 
+0x74f0 024267 call aes_load_xor 
+0x74f1 024268 call do_aes_ctr 
+0x74f2 024269 call store_enc_data 
+0x74f3 024270 increase 16 ,regc 
+0x74f4 024271 increase -16 ,regb 
+0x74f5 024272 branch aes_crypt_data ,positive 
+0x74f6 024273 rtn 
+:      024275 le_encrypt:
+0x74f7 024276 arg mem_le_txheader ,regc 
+0x74f8 024277 fetcht 5 ,mem_le_pcnt_tx 
+0x74f9 024278 call generate_mic 
+0x74fa 024279 force regidx_xor ,regext_index 
+0x74fb 024280 iforce regext 
+0x74fc 024281 force 0 ,rega 
+0x74fd 024282 call first_block_data 
+0x74fe 024283 call do_aes_ctr 
+0x74ff 024284 arg mem_le_txpayload ,regc 
+0x7500 024285 fetch 1 ,mem_le_txlen 
+0x7501 024286 add pdata ,-1 ,regb 
+0x7502 024287 iadd regc ,contw 
+0x7503 024288 force regidx_result ,regext_index 
+0x7504 024289 deposit regext 
+0x7505 024290 istore 4 ,contw 
+0x7506 024291 call aes_crypt_data 
+0x7507 024292 fetch 1 ,mem_le_txlen 
+0x7508 024293 increase 4 ,pdata 
+0x7509 024294 store 1 ,mem_le_txlen 
+0x750a 024295 fetcht 5 ,mem_le_pcnt_tx 
+0x750b 024296 increase 1 ,temp 
+0x750c 024297 storet 5 ,mem_le_pcnt_tx 
+0x750d 024298 rtn 
+:      024300 le_decrypt:
+0x750e 024301 fetch 1 ,mem_le_rxbuf + 1 
+0x750f 024302 sub pdata ,20 ,null 
+0x7510 024303 branch le_dec_cont ,positive 
+:      024304 le_dec_cont:
+0x7511 024305 arg mem_le_rxbuf + 2 ,regc 
+0x7512 024306 add pdata ,-1 ,regb 
+0x7513 024307 increase -4 ,pdata 
+0x7514 024308 store 1 ,mem_le_rxbuf + 1 
+0x7515 024309 iadd regc ,contr 
+0x7516 024310 ifetch 4 ,contr 
+0x7517 024311 force regidx_xor ,regext_index 
+0x7518 024312 iforce regext 
+0x7519 024313 force 0 ,rega 
+0x751a 024314 fetcht 5 ,mem_le_pcnt_rx 
+0x751b 024315 call first_block_data 
+0x751c 024316 call do_aes_ctr 
+0x751d 024317 force regidx_result ,regext_index 
+0x751e 024318 deposit regext 
+0x751f 024319 store 4 ,mem_le_peer_mic 
+0x7520 024320 call aes_crypt_data 
+0x7521 024321 arg mem_le_rxbuf ,regc 
+0x7522 024322 call generate_mic 
+0x7523 024323 fetcht 4 ,mem_le_peer_mic 
+0x7524 024324 isub temp ,pdata 
+0x7525 024325 nrtn blank 
+0x7526 024326 fetch 4 ,mem_le_last_mic 
+0x7527 024327 isub temp ,pdata 
+0x7528 024328 rtn blank 
+0x7529 024329 storet 4 ,mem_le_last_mic 
+0x752a 024330 fetch 5 ,mem_le_pcnt_rx 
+0x752b 024331 increase 1 ,pdata 
+0x752c 024332 store 5 ,mem_le_pcnt_rx 
+0x752d 024333 force 0 ,pdata 
+0x752e 024334 rtn 
+:      024336 wait_aes:
+0x752f 024337 nbranch wait_aes ,aes_ready 
+0x7530 024338 rtn 
+:      024340 do_aes_ocb:
+0x7531 024341 force 0x30 ,aes_ctrl 
+0x7532 024342 force 0x0 ,aes_ctrl 
+0x7533 024343 branch wait_aes 
+:      024345 do_aes_cbc:
+0x7534 024346 force 0x32 ,aes_ctrl 
+0x7535 024347 force 0x2 ,aes_ctrl 
+0x7536 024348 branch wait_aes 
+:      024350 do_aes_ctr:
+0x7537 024351 force 0x34 ,aes_ctrl 
+0x7538 024352 force 0x4 ,aes_ctrl 
+0x7539 024353 branch wait_aes 
+:      024355 do_aes_cfb:
+0x753a 024356 force 0x36 ,aes_ctrl 
+0x753b 024357 force 0x6 ,aes_ctrl 
+0x753c 024358 branch wait_aes 
+:      024360 aes_init:
+0x753d 024361 force 1 ,aes_ctrl 
+0x753e 024362 force 0 ,aes_ctrl 
+0x753f 024363 rtn 
+:      024364 function_s1:
+0x7540 024365 force regidx_data ,regext_index 
+0x7541 024366 fetch 4 ,mem_le_mrand 
+0x7542 024367 iforce regext 
+0x7543 024368 increase 1 ,regext_index 
+0x7544 024369 ifetch 4 ,contr 
+0x7545 024370 iforce regext 
+0x7546 024371 increase 1 ,regext_index 
+0x7547 024372 fetch 4 ,mem_le_srand 
+0x7548 024373 iforce regext 
+0x7549 024374 increase 1 ,regext_index 
+0x754a 024375 ifetch 4 ,contr 
+0x754b 024376 iforce regext 
+0x754c 024377 increase 1 ,regext_index 
+0x754d 024378 call aes_clear 
+0x754e 024379 force 0x38 ,aes_ctrl 
+0x754f 024380 force 0x8 ,aes_ctrl 
+0x7550 024381 branch wait_aes 
+:      024384 function_c1:
+0x7551 024385 fetch 6 ,mem_le_lap 
+0x7552 024386 fetcht 6 ,mem_le_plap 
+0x7553 024387 branch function_c1_master ,master 
+0x7554 024388 fetch 6 ,mem_le_plap 
+0x7555 024389 fetcht 6 ,mem_le_lap 
+:      024390 function_c1_master:
+0x7556 024391 force regidx_xor ,regext_index 
+0x7557 024392 copy temp ,regext 
+0x7558 024393 increase 1 ,regext_index 
+0x7559 024394 rshift32 temp ,regext 
+0x755a 024395 lshift16 pdata ,pdata 
+0x755b 024396 ior regext ,regext 
+0x755c 024397 increase 1 ,regext_index 
+0x755d 024398 rshift32 pdata ,regext 
+0x755e 024399 increase 1 ,regext_index 
+0x755f 024400 force 0 ,regext 
+0x7560 024401 force 0 ,pdata 
+0x7561 024402 fetch 1 ,mem_le_conn_peer_addr_type 
+0x7562 024403 fetcht 1 ,mem_le_adv_own_addr_type 
+0x7563 024404 nbranch function_c1_irat ,master 
+0x7564 024406 fetch 1 ,mem_le_conn_own_addr_type 
+0x7565 024407 fetcht 1 ,mem_le_conn_peer_addr_type 
+:      024408 function_c1_irat:
+0x7566 024409 store 1 ,mem_le_iat 
+0x7567 024410 storet 1 ,mem_le_rat 
+0x7568 024411 force regidx_data ,regext_index 
+0x7569 024412 arg mem_le_iat ,regb 
+0x756a 024413 force 4 ,loopcnt 
+:      024414 function_c1_loop1:
+0x756b 024415 ifetch 4 ,rega 
+0x756c 024416 ifetcht 4 ,regb 
+0x756d 024417 ixor temp ,regext 
+0x756e 024418 increase 1 ,regext_index 
+0x756f 024419 increase 4 ,rega 
+0x7570 024420 increase 4 ,regb 
+0x7571 024421 loop function_c1_loop1 
+0x7572 024422 call aes_clear 
+0x7573 024423 force 0x38 ,aes_ctrl 
+0x7574 024424 force 0xc ,aes_ctrl 
+0x7575 024425 call wait_aes 
+0x7576 024427 call aes_clear_data 
+0x7577 024428 force 0x3a ,aes_ctrl 
+0x7578 024429 force 0x8 ,aes_ctrl 
+0x7579 024430 branch wait_aes 
+:      024432 padding_data:
+0x757a 024433 compare 0 ,loopcnt ,3 
+0x757b 024434 rtn true 
+0x757c 024435 deposit contr 
+0x757d 024436 iadd loopcnt ,contw 
+0x757e 024437 force 0 ,pdata 
+:      024438 padding_loop:
+0x757f 024439 istore 1 ,contw 
+0x7580 024440 increase 1 ,loopcnt 
+0x7581 024441 compare 0 ,loopcnt ,3 
+0x7582 024442 rtn true 
+0x7583 024443 branch padding_loop 
+:      024445 aes_load_data:
+0x7584 024446 force regidx_data ,regext_index 
+:      024447 load_data_loop:
+0x7585 024448 deposit loopcnt 
+0x7586 024449 branch load_data_padding ,blank 
+0x7587 024450 ifetch 4 ,contr 
+0x7588 024451 increase -4 ,loopcnt 
+:      024452 load_data_padding:
+0x7589 024453 iforce regext 
+0x758a 024454 increase 1 ,regext_index 
+0x758b 024455 compare regidx_key ,regext_index ,0xf 
+0x758c 024456 rtn true 
+0x758d 024457 branch load_data_loop 
+:      024459 aes_load_xor:
+0x758e 024460 force regidx_xor ,regext_index 
+0x758f 024461 branch load_regext 
+:      024462 load_key:
+0x7590 024463 force regidx_key ,regext_index 
+0x7591 024464 branch load_regext 
+:      024465 load_data128:
+0x7592 024466 force regidx_data ,regext_index 
+:      024467 load_regext:
+0x7593 024468 force 4 ,loopcnt 
+:      024469 load_regext_loop:
+0x7594 024470 ifetch 4 ,contr 
+0x7595 024471 iforce regext 
+0x7596 024472 increase 1 ,regext_index 
+0x7597 024473 loop load_regext_loop 
+0x7598 024474 rtn 
+:      024476 load_sk:
+0x7599 024477 arg mem_le_sk ,contr 
+0x759a 024478 branch load_key 
+:      024480 clear_hidata:
+0x759b 024481 force 4 ,loopcnt 
+0x759c 024482 branch clear_data_rest 
+:      024484 aes_clear_data:
+0x759d 024485 force regidx_data ,regext_index 
+:      024486 aes_clear:
+0x759e 024487 force 4 ,loopcnt 
+:      024488 clear_loop:
+0x759f 024489 force 0 ,regext 
+:      024490 clear_data_rest:
+0x75a0 024491 increase 1 ,regext_index 
+0x75a1 024492 loop clear_loop 
+0x75a2 024493 rtn 
+:      024495 store_aes_result:
+0x75a3 024496 force regidx_result ,regext_index 
+0x75a4 024497 force 4 ,loopcnt 
+:      024498 send_aes_result_loop:
+0x75a5 024499 deposit regext 
+0x75a6 024500 istore 4 ,contw 
+0x75a7 024501 increase 1 ,regext_index 
+0x75a8 024502 loop send_aes_result_loop 
+0x75a9 024503 rtn 
+:      024505 store_enc_data:
+0x75aa 024506 force regidx_result ,regext_index 
+0x75ab 024507 copy regc ,contw 
+0x75ac 024508 add regb ,1 ,loopcnt 
+0x75ad 024509 sub loopcnt ,15 ,null 
+0x75ae 024510 branch store_enc_loop ,positive 
+0x75af 024511 force 16 ,loopcnt 
+:      024512 store_enc_loop:
+0x75b0 024513 deposit regext 
+0x75b1 024514 sub loopcnt ,3 ,null 
+0x75b2 024515 branch store_enc_byte ,positive 
+0x75b3 024516 istore 4 ,contw 
+0x75b4 024517 increase -4 ,loopcnt 
+0x75b5 024518 rtn zero 
+0x75b6 024519 increase 1 ,regext_index 
+0x75b7 024520 branch store_enc_loop 
+:      024521 store_enc_byte:
+0x75b8 024522 istore 1 ,contw 
+0x75b9 024523 rshift8 pdata ,pdata 
+0x75ba 024524 loop store_enc_byte 
+0x75bb 024525 rtn 
+:      024528 compare_res:
+0x75bc 024529 force regidx_result ,regext_index 
+0x75bd 024530 force 4 ,loopcnt 
+:      024531 compare_res_loop:
+0x75be 024532 ifetch 4 ,contr 
+0x75bf 024533 isub regext ,null 
+0x75c0 024534 nrtn zero 
+0x75c1 024535 increase 1 ,regext_index 
+0x75c2 024536 loop compare_res_loop 
+0x75c3 024537 force 0 ,null 
+0x75c4 024538 rtn 
+:      024540 enable_authrom:
+0x75c5 024541 hfetch 1 ,core_clkoff 
+0x75c6 024542 set0 clock_off_auth_rom ,pdata 
+0x75c7 024543 hstore 1 ,core_clkoff 
+0x75c8 024544 rtn 
+:      024546 disable_authrom:
+0x75c9 024547 hfetch 1 ,core_clkoff 
+0x75ca 024548 set1 clock_off_auth_rom ,pdata 
+0x75cb 024549 hstore 1 ,core_clkoff 
+0x75cc 024550 rtn 
+:      024552 init_memp:
+0x75cd 024553 arg mem_p ,contw 
+0x75ce 024554 setsect 0 ,0x3ffff 
+0x75cf 024555 setsect 1 ,0x3ffff 
+0x75d0 024556 setsect 2 ,0x3ffff 
+0x75d1 024557 setsect 3 ,0x3fbff 
+0x75d2 024558 istore 9 ,contw 
+0x75d3 024559 setsect 0 ,0x3ffff 
+0x75d4 024560 setsect 1 ,0x3ffff 
+0x75d5 024561 setsect 2 ,0x3ffff 
+0x75d6 024562 setsect 3 ,0x3ffff 
+0x75d7 024563 istore 9 ,contw 
+0x75d8 024564 setsect 0 ,0x3ffff 
+0x75d9 024565 setsect 1 ,0x3ffff 
+0x75da 024566 setsect 2 ,0x3cfff 
+0x75db 024567 setsect 3 ,0x3ffff 
+0x75dc 024568 istore 9 ,contw 
+0x75dd 024569 setsect 0 ,0x3ffff 
+0x75de 024570 setsect 1 ,0x3ffff 
+0x75df 024571 setsect 2 ,0x3ffef 
+0x75e0 024572 setsect 3 ,0x3ffff 
+0x75e1 024573 istore 9 ,contw 
+0x75e2 024574 setsect 0 ,0x3ffff 
+0x75e3 024575 setsect 1 ,0x3ffff 
+0x75e4 024576 setsect 2 ,0x3ffff 
+0x75e5 024577 setsect 3 ,0x3ffff 
+0x75e6 024578 istore 9 ,contw 
+0x75e7 024579 setsect 0 ,0x3ffff 
+0x75e8 024580 setsect 1 ,0x26c7f 
+0x75e9 024581 setsect 2 ,0x146b 
+0x75ea 024582 setsect 3 ,0x37bb3 
+0x75eb 024583 istore 9 ,contw 
+0x75ec 024584 setsect 0 ,0x1feb8 
+0x75ed 024585 setsect 1 ,0x10c12 
+0x75ee 024586 setsect 2 ,0x2b722 
+0x75ef 024587 setsect 3 ,0x29fa6 
+0x75f0 024588 istore 9 ,contw 
+0x75f1 024589 setsect 0 ,0xe70f 
+0x75f2 024590 setsect 1 ,0x16720 
+0x75f3 024591 setsect 2 ,0x519e 
+0x75f4 024592 setsect 3 ,0x19084 
+0x75f5 024593 istore 9 ,contw 
+0x75f6 024594 setsect 0 ,0x31012 
+0x75f7 024595 setsect 1 ,0x360bf 
+0x75f8 024596 setsect 2 ,0x3f0af 
+0x75f9 024597 setsect 3 ,0x3d3 
+0x75fa 024598 istore 9 ,contw 
+0x75fb 024599 setsect 0 ,0x3a188 
+0x75fc 024600 setsect 1 ,0x3ad0 
+0x75fd 024601 setsect 2 ,0x3cbf2 
+0x75fe 024602 setsect 3 ,0x243d9 
+0x75ff 024603 istore 9 ,contw 
+0x7600 024604 setsect 0 ,0x2b030 
+0x7601 024605 setsect 1 ,0x36a03 
+0x7602 024606 setsect 2 ,0x11188 
+0x7603 024607 setsect 3 ,0x1e520 
+0x7604 024608 istore 9 ,contw 
+0x7605 024609 setsect 0 ,0x3a11e 
+0x7606 024610 setsect 1 ,0xfe5d 
+0x7607 024611 setsect 2 ,0xdd57 
+0x7608 024612 setsect 3 ,0x1ac93 
+0x7609 024613 istore 9 ,contw 
+0x760a 024614 setsect 0 ,0x11ed 
+0x760b 024615 setsect 1 ,0x218c4 
+0x760c 024616 setsect 2 ,0x8da7 
+0x760d 024617 setsect 3 ,0x257ff 
+0x760e 024618 istore 9 ,contw 
+0x760f 024619 setsect 0 ,0x3192b 
+0x7610 024620 setsect 1 ,0x34641 
+0x7611 024621 setsect 2 ,0x1be0c 
+0x7612 024622 setsect 3 ,0x366ad 
+0x7613 024623 istore 9 ,contw 
+0x7614 024624 setsect 0 ,0x1f83 
+0x7615 024625 setsect 1 ,0x15a23 
+0x7616 024626 setsect 2 ,0x3f9b0 
+0x7617 024627 setsect 3 ,0x3949 
+0x7618 024628 istore 9 ,contw 
+0x7619 024629 setsect 0 ,0x13a51 
+0x761a 024630 setsect 1 ,0x153fd 
+0x761b 024631 setsect 2 ,0x3372a 
+0x761c 024632 setsect 3 ,0xf1bb 
+0x761d 024633 istore 9 ,contw 
+0x761e 024634 setsect 0 ,0x3ae85 
+0x761f 024635 setsect 1 ,0x1eed9 
+0x7620 024636 setsect 2 ,0x9e66 
+0x7621 024637 setsect 3 ,0x1a8 
+0x7622 024638 istore 8 ,contw 
+0x7623 024639 rtn 
+:      024643 shutter_init:
+0x7624 024644 setarg shutter_send_process 
+0x7625 024645 store 2 ,mem_cb_bt_process 
+0x7626 024646 setarg shutter_process_idle 
+0x7627 024647 store 2 ,mem_cb_idle_process 
+0x7628 024648 setarg shutter_process_bb_event 
+0x7629 024649 store 2 ,mem_cb_bb_event_process 
+0x762a 024650 setarg shutter_process_lpm_before 
+0x762b 024651 store 2 ,mem_cb_before_lpm 
+0x762c 024652 setarg shutter_discovery_timeout_sleep 
+0x762d 024653 store 2 ,mem_cb_discovry_timeout 
+0x762e 024654 set1 mark_ext_patch ,mark 
+0x762f 024655 bpatch patch3f_1 ,mem_patch3f 
+0x7630 024656 rtn wake 
+0x7631 024658 hjam 0x00 ,core_gpio_sel1 
+0x7632 024659 call shutter_key_and_wake_gpio_setup 
+0x7633 024661 setarg shutter_before_hibernate 
+0x7634 024662 store 2 ,mem_cb_before_hibernate 
+0x7635 024664 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+0x7636 024665 jam 0 ,mem_shutter_key 
+0x7637 024666 jam flag_shutter_default ,mem_shutter_flag 
+0x7638 024667 setarg 0 
+0x7639 024668 store 4 ,mem_shutter_send_data 
+0x763a 024669 call app_check_reconn_target 
+0x763b 024670 branch app_bt_start_discovery_short ,blank 
+0x763c 024671 call app_led_on 
+0x763d 024672 call app_bt_stop_discovery 
+0x763e 024673 branch app_bt_start_reconnect 
+:      024675 shutter_key_and_wake_gpio_setup:
+0x763f 024676 fetcht 1 ,mem_shutter_iphonekey_gpio 
+0x7640 024677 call gpio_config_input 
+0x7641 024678 fetcht 1 ,mem_shutter_androidkey_gpio 
+0x7642 024679 branch gpio_config_input 
+:      024681 shutter_cancel_key_shake:
+0x7643 024682 set1 mark_ext_patch ,mark 
+0x7644 024683 bpatch patch3f_2 ,mem_patch3f 
+0x7645 024684 fetcht 4 ,mem_shutter_clkn_bt_last 
+0x7646 024685 deposit clkn_bt 
+0x7647 024686 store 4 ,mem_shutter_clkn_bt_last 
+0x7648 024687 isub temp ,pdata 
+0x7649 024688 nrtn positive 
+0x764a 024689 sub pdata ,200 ,pdata 
+0x764b 024690 rtn 
+:      024692 shutter_send_process:
+0x764c 024693 fetch 1 ,mem_hid_interrupt_state 
+0x764d 024694 rtnne 0x3f 
+:      024695 shutter_scan_key_start:
+0x764e 024696 set1 mark_ext_patch ,mark 
+0x764f 024697 bpatch patch3f_3 ,mem_patch3f 
+0x7650 024698 fetch 1 ,mem_device_option 
+0x7651 024699 rtnne dvc_op_shutter 
+0x7652 024700 disable user 
+0x7653 024701 call shutter_scan_key 
+0x7654 024702 nrtn user 
+0x7655 024703 disable user 
+0x7656 024704 fetch 1 ,mem_scan_mode 
+0x7657 024705 beq 0x03 ,shutter_reconnect_scan_2 
+0x7658 024707 fetch 1 ,mem_shutter_flag 
+0x7659 024708 beq flag_shutter_iphonekey_send ,shutter_iphonekey_release 
+0x765a 024709 beq flag_shutter_androidkey_send ,shutter_androidkey_release 
+0x765b 024710 call shutter_cancel_key_shake 
+0x765c 024711 branch shutter_send_process_end ,positive 
+0x765d 024713 fetch 1 ,mem_shutter_key 
+0x765e 024714 bbit1 flag_shutter_iphonekey_press ,shutter_iphonekey_press 
+0x765f 024715 bbit1 flag_shutter_androidkey_press ,shutter_androidkey_press 
+:      024717 shutter_send_process_end:
+0x7660 024718 jam 0 ,mem_shutter_key 
+0x7661 024719 jam flag_shutter_default ,mem_shutter_flag 
+0x7662 024720 rtn 
+:      024723 shutter_iphonekey_release:
+0x7663 024724 jam flag_shutter_default ,mem_shutter_flag 
+0x7664 024725 call ui_led_blink_stop 
+0x7665 024726 fetch 1 ,mem_shutter_key_number 
+0x7666 024727 beq flag_shutter_1key ,shutter_1key_iphonekey_release 
+:      024728 shutter_2key_iphonekey_release:
+:      024729 shutter_iphonekey_release_package:
+0x7667 024730 jam 0x05 ,mem_shutter_send_length 
+0x7668 024731 jam 0x03 ,mem_shutter_send_data 
+0x7669 024732 branch shutter_send_keydata 
+:      024733 shutter_1key_iphonekey_release:
+0x766a 024734 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+0x766b 024735 branch shutter_1key_send_step1 
+:      024737 shutter_1key_send_step1:
+0x766c 024738 jam flag_shutter_1key_send_step2 ,mem_shutter_1key_send_sm 
+0x766d 024739 branch shutter_androidkey_press_package 
+:      024740 shutter_1key_send_step2:
+0x766e 024741 jam flag_shutter_1key_send_step3 ,mem_shutter_1key_send_sm 
+0x766f 024742 branch shutter_androidkey_release_package 
+:      024743 shutter_1key_send_step3:
+0x7670 024744 jam flag_shutter_1key_send_step4 ,mem_shutter_1key_send_sm 
+0x7671 024745 branch shutter_iphonekey_press_package 
+:      024746 shutter_1key_send_step4:
+0x7672 024747 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+0x7673 024748 branch shutter_iphonekey_release_package 
+:      024750 shutter_iphonekey_press:
+0x7674 024751 jam flag_shutter_iphonekey_send ,mem_shutter_flag 
+0x7675 024752 call ui_led_on 
+0x7676 024753 fetch 1 ,mem_shutter_key_number 
+0x7677 024754 beq flag_shutter_1key ,shutter_1key_iphonekey_press 
+:      024755 shutter_2key_iphonekey_press:
+:      024756 shutter_iphonekey_press_package:
+0x7678 024757 jam 0x05 ,mem_shutter_send_length 
+0x7679 024758 setarg 0x20003 
+0x767a 024759 store 3 ,mem_shutter_send_data 
+0x767b 024760 branch shutter_send_keydata 
+:      024761 shutter_1key_iphonekey_press:
+0x767c 024762 rtn 
+:      024764 shutter_androidkey_release:
+0x767d 024765 jam flag_shutter_default ,mem_shutter_flag 
+0x767e 024766 call ui_led_blink_stop 
+:      024767 shutter_androidkey_release_package:
+0x767f 024768 jam 0x0a ,mem_shutter_send_length 
+0x7680 024769 jam 0x01 ,mem_shutter_send_data 
+0x7681 024770 branch shutter_send_keydata 
+:      024771 shutter_androidkey_press:
+0x7682 024772 jam flag_shutter_androidkey_send ,mem_shutter_flag 
+0x7683 024773 call ui_led_on 
+:      024774 shutter_androidkey_press_package:
+0x7684 024775 jam 0x0a ,mem_shutter_send_length 
+0x7685 024776 jam 0x01 ,mem_shutter_send_data 
+0x7686 024777 setarg 0x280000 
+0x7687 024778 store 3 ,mem_shutter_send_data + 1 
+:      024780 shutter_send_keydata:
+0x7688 024781 set1 mark_ext_patch ,mark 
+0x7689 024782 bpatch patch3f_4 ,mem_patch3f 
+0x768a 024783 fetch 1 ,mem_shutter_send_length 
+0x768b 024784 copy pdata ,rega 
+0x768c 024785 call hid_malloc_tx_buff 
+0x768d 024786 fetch 2 ,mem_hid_int_remote_cid 
+0x768e 024787 istore 2 ,contw 
+0x768f 024788 setarg 0xa1 
+0x7690 024789 istore 1 ,contw 
+0x7691 024790 fetcht 4 ,mem_shutter_send_data 
+0x7692 024791 istoret 8 ,contw 
+0x7693 024792 setarg 0 
+0x7694 024793 istore 1 ,contw 
+0x7695 024794 store 4 ,mem_shutter_send_data 
+0x7696 024796 fetch 1 ,mem_shutter_1key_send_sm 
+0x7697 024797 beq flag_shutter_1key_send_step2 ,shutter_1key_send_step2 
+0x7698 024798 beq flag_shutter_1key_send_step3 ,shutter_1key_send_step3 
+0x7699 024799 beq flag_shutter_1key_send_step4 ,shutter_1key_send_step4 
+0x769a 024800 rtn 
+:      024802 shutter_scan_key:
+0x769b 024803 fetcht 1 ,mem_shutter_iphonekey_gpio 
+0x769c 024804 call gpio_get_bit 
+0x769d 024805 setarg 0 
+0x769e 024806 setflag true ,flag_shutter_iphonekey_press ,pdata 
+0x769f 024807 store 1 ,mem_shutter_key_temp 
+0x76a0 024808 fetcht 1 ,mem_shutter_androidkey_gpio 
+0x76a1 024809 call gpio_get_bit 
+0x76a2 024810 setarg 0 
+0x76a3 024811 setflag true ,flag_shutter_androidkey_press ,pdata 
+0x76a4 024812 fetcht 1 ,mem_shutter_key_temp 
+0x76a5 024813 ior temp ,pdata 
+0x76a6 024814 fetcht 1 ,mem_shutter_key 
+0x76a7 024815 store 1 ,mem_shutter_key 
+0x76a8 024816 ixor temp ,null 
+0x76a9 024817 rtn zero 
+0x76aa 024818 enable user 
+0x76ab 024819 rtn 
+:      024821 shutter_process_bb_event:
+0x76ac 024822 copy regc ,pdata 
+0x76ad 024823 beq bt_evt_setup_complete ,shutter_bb_event_setup_complete 
+0x76ae 024824 beq bt_evt_hid_connected ,shutter_bb_event_hid_connected 
+0x76af 024825 beq bt_evt_hid_disconnected ,shutter_bb_event_hid_disconn 
+0x76b0 024826 beq bt_evt_virtual_cable_unplug ,shutter_bb_event_unplug 
+0x76b1 024827 beq bt_evt_bb_disconnected ,shutter_bb_event_bb_disconn 
+0x76b2 024828 beq bt_evt_reconn_failed ,shutter_bb_event_reconn_failed 
+0x76b3 024829 beq bt_evt_reconn_page_timeout ,shutter_bb_event_reconn_failed 
+0x76b4 024830 beq bt_evt_bb_connected ,shutter_process_bb_conn 
+0x76b5 024831 beq bt_evt_hid_handshake ,shutter_event_hid_handshake 
+0x76b6 024832 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x76b7 024833 and pdata ,0x0f ,temp 
+0x76b8 024834 and_into bt_evt_timer_mask ,pdata 
+0x76b9 024835 beq bt_evt_timer_init ,shutter_bb_event_timer 
+0x76ba 024836 rtn 
+:      024838 shutter_hid_handshake_timer:
+0x76bb 024839 fetch 1 ,mem_hid_handshake_timer_count 
+0x76bc 024840 rtn blank 
+0x76bd 024841 increase -1 ,pdata 
+0x76be 024842 store 1 ,mem_hid_handshake_timer_count 
+0x76bf 024843 nrtn blank 
+:      024844 shutter_event_hid_handshake:
+0x76c0 024845 jam app_handshake_done ,mem_app_handshake_flag 
+0x76c1 024846 call app_lpm_mult_enable 
+0x76c2 024847 call app_bt_store_reconn_info 
+0x76c3 024848 call app_bt_stop_discovery 
+0x76c4 024849 call app_led_off 
+0x76c5 024850 branch app_bt_enter_sniff 
+:      024853 shutter_process_bb_conn:
+0x76c6 024854 jam 0 ,mem_shutter_hid_disconn_count 
+0x76c7 024855 jam 0 ,mem_shutter_cable_unplug_conut 
+0x76c8 024856 rtn 
+:      024858 shutter_bb_event_bb_disconn:
+0x76c9 024859 set1 mark_ext_patch ,mark 
+0x76ca 024860 bpatch patch3f_5 ,mem_patch3f 
+0x76cb 024861 jam 0 ,mem_unsniff2sniff_timer_count 
+0x76cc 024862 jam 0 ,mem_shutter_cable_unplug_conut 
+0x76cd 024863 jam 0 ,mem_shutter_hid_disconn_count 
+0x76ce 024864 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x76cf 024865 bbit0 app_disc_after_sniff ,shutter_check_pairing 
+:      024866 shutter_bb_event_reconn_failed:
+0x76d0 024868 fetch 2 ,mem_discovery_timeout 
+0x76d1 024869 store 2 ,mem_discovery_timeout_timer_count 
+:      024870 shutter_discovery_on_not_renew_timer:
+0x76d2 024871 call app_disconn_reason_clear 
+0x76d3 024872 branch app_bt_start_discovery_led_blink 
+:      024874 shutter_check_pairing:
+0x76d4 024875 bbit0 app_disc_after_pairing ,shutter_check_reconn 
+0x76d5 024876 branch shutter_bb_event_reconn_failed 
+:      024878 shutter_check_reconn:
+0x76d6 024879 bbit0 app_disc_after_reconn ,shutter_discovery_on_not_renew_timer 
+0x76d7 024880 branch shutter_bb_event_reconn_failed 
+:      024883 shutter_bb_event_setup_complete:
+0x76d8 024884 call app_bt_stop_discovery 
+0x76d9 024885 branch app_led_stop_blink 
+:      024887 shutter_bb_event_hid_connected:
+0x76da 024888 setarg hid_handshake_timeout 
+0x76db 024889 store 1 ,mem_hid_handshake_timer_count 
+0x76dc 024890 rtn 
+:      024892 shutter_bb_event_hid_disconn:
+0x76dd 024893 jam 0 ,mem_shutter_cable_unplug_conut 
+0x76de 024894 setarg flag_shutter_hid_disconn_timeout 
+0x76df 024895 store 1 ,mem_shutter_hid_disconn_count 
+0x76e0 024896 rtn 
+:      024898 shutter_bb_event_unplug:
+0x76e1 024899 setarg flag_shutter_cable_unplug_timeout 
+0x76e2 024900 store 1 ,mem_shutter_cable_unplug_conut 
+0x76e3 024901 rtn 
+:      024903 shutter_bb_event_timer:
+0x76e4 024904 set1 mark_ext_patch ,mark 
+0x76e5 024905 bpatch patch3f_6 ,mem_patch3f 
+0x76e6 024906 storet 1 ,mem_app_evt_timer_count 
+:      024907 shutter_bb_event_100ms_loop:
+0x76e7 024908 fetch 1 ,mem_app_evt_timer_count 
+0x76e8 024909 rtn blank 
+0x76e9 024910 increase -1 ,pdata 
+0x76ea 024911 store 1 ,mem_app_evt_timer_count 
+0x76eb 024912 call shutter_check_unplug_timer 
+0x76ec 024913 call shutter_hid_handshake_timer 
+0x76ed 024914 call shutter_check_hid_disconn_timer 
+0x76ee 024915 branch shutter_bb_event_100ms_loop 
+:      024917 shutter_check_unplug_timer:
+0x76ef 024918 fetch 1 ,mem_shutter_cable_unplug_conut 
+0x76f0 024919 rtn blank 
+0x76f1 024920 fetch 1 ,mem_shutter_cable_unplug_conut 
+0x76f2 024921 increase -1 ,pdata 
+0x76f3 024922 store 1 ,mem_shutter_cable_unplug_conut 
+0x76f4 024923 nrtn blank 
+0x76f5 024924 fetch 1 ,mem_control_tasks 
+0x76f6 024925 set1 l2cap_disconnect_interrupt ,pdata 
+0x76f7 024926 set1 l2cap_disconnect_control ,pdata 
+0x76f8 024927 store 1 ,mem_control_tasks 
+0x76f9 024928 rtn 
+:      024930 shutter_check_hid_disconn_timer:
+0x76fa 024931 fetch 1 ,mem_shutter_hid_disconn_count 
+0x76fb 024932 rtn blank 
+0x76fc 024933 fetch 1 ,mem_shutter_hid_disconn_count 
+0x76fd 024934 increase -1 ,pdata 
+0x76fe 024935 store 1 ,mem_shutter_hid_disconn_count 
+0x76ff 024936 nrtn blank 
+0x7700 024937 branch app_bt_disconnect 
+:      024939 shutter_reconnect_scan:
+0x7701 024940 set1 mark_ext_patch ,mark 
+0x7702 024941 bpatch patch3f_7 ,mem_patch3f 
+0x7703 024942 fetch 1 ,mem_scan_mode 
+0x7704 024943 rtnne 0x03 
+0x7705 024944 branch shutter_scan_key_start 
+:      024945 shutter_reconnect_scan_2:
+0x7706 024946 call shutter_cancel_key_shake 
+0x7707 024947 rtn positive 
+0x7708 024948 fetch 1 ,mem_shutter_key 
+0x7709 024949 rtn blank 
+0x770a 024950 call app_check_reconn_target 
+0x770b 024951 branch app_bt_start_discovery_short ,blank 
+0x770c 024952 call app_led_on 
+0x770d 024953 call app_bt_stop_discovery 
+0x770e 024954 branch app_bt_start_reconnect 
+:      024957 shutter_process_idle:
+0x770f 024958 branch shutter_reconnect_scan 
+:      024961 shutter_process_lpm_before:
+0x7710 024962 fetcht 1 ,mem_shutter_iphonekey_gpio 
+0x7711 024963 call gpio_set_wake_by_current_state 
+0x7712 024964 fetch 1 ,mem_shutter_key_number 
+0x7713 024965 bne flag_shutter_1key ,shutter_process_lpm_before_key2 
+0x7714 024966 rtn 
+:      024967 shutter_process_lpm_before_key2:
+0x7715 024968 fetcht 1 ,mem_shutter_androidkey_gpio 
+0x7716 024969 branch gpio_set_wake_by_current_state 
+:      024971 shutter_before_hibernate:
+0x7717 024972 branch shutter_key_and_wake_gpio_setup 
+:      024975 shutter_discovery_timeout_sleep:
+0x7718 024976 branch app_enter_hibernate 
+:      024980 sp_initialize:
+0x7719 024981 set1 mark_ext_patch ,mark 
+0x771a 024982 bpatch patch3e_2 ,mem_patch3e 
+0x771b 024983 fetch 1 ,mem_ssp_enable 
+0x771c 024984 branch ssp_disable ,blank 
+0x771d 024985 call ssp_enable 
+0x771e 024986 setarg 0 
+0x771f 024987 store 8 ,mem_sp_state_start 
+0x7720 024988 store 4 ,mem_sp_flag_start 
+0x7721 024990 arg mem_sp_iocap_remote ,contw 
+0x7722 024991 istore 7 ,contw 
+0x7723 024992 jam default_statemachine ,mem_sp_localsm 
+0x7724 024993 branch sp_pubkey_calc 
+:      024995 sp_generate_local_key:
+0x7725 024996 jam sp_flag_commit ,mem_sp_flag 
+0x7726 024997 branch sp_generate_local_key0 
+:      024998 sp_master_generate_local_key:
+0x7727 024999 fetch 1 ,mem_sp_local_key_invalid 
+0x7728 025000 beq sp_key_valid ,sp_dhkey_calc 
+0x7729 025001 branch assert 
+:      025002 sp_generate_local_key0:
+0x772a 025003 fetch 1 ,mem_sp_local_key_invalid 
+0x772b 025004 beq sp_key_valid ,sp_start_send_pubkey 
+0x772c 025005 branch sp_pubkey_calc 
+:      025007 sp_start_send_pubkey:
+0x772d 025008 call sp_dhkey_calc 
+0x772e 025009 fetch 1 ,mem_master_sp_state 
+0x772f 025010 nrtn blank 
+0x7730 025011 jam sp_stat_key_send ,mem_sp_state 
+0x7731 025012 rtn 
+:      025014 sp_calculate_commitment:
+0x7732 025015 fetch 1 ,mem_sp_calc 
+0x7733 025016 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x7734 025017 call sp_local_random_key_generator 
+0x7735 025018 arg mem_sp_prarm_stack ,contw 
+0x7736 025019 setarg mem_sp_random_local_end 
+0x7737 025020 istore 2 ,contw 
+0x7738 025021 setarg mem_sp_pubkey_local_x_end 
+0x7739 025022 istore 2 ,contw 
+0x773a 025023 setarg mem_sp_pubkey_remote_x_end 
+0x773b 025024 istore 2 ,contw 
+0x773c 025025 branch sp_calculate_commitment0 
+:      025026 master_sp_calculate_commitment:
+0x773d 025027 arg mem_sp_prarm_stack ,contw 
+0x773e 025028 setarg mem_sp_random_remote_end 
+0x773f 025029 istore 2 ,contw 
+0x7740 025030 setarg mem_sp_pubkey_remote_x_end 
+0x7741 025031 istore 2 ,contw 
+0x7742 025032 setarg mem_sp_pubkey_local_x_end 
+0x7743 025033 istore 2 ,contw 
+:      025034 sp_calculate_commitment0:
+0x7744 025035 call function_f1 
+0x7745 025036 fetch 1 ,mem_master_sp_state 
+0x7746 025037 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x7747 025038 jam sp_flag_commit ,mem_sp_flag 
+0x7748 025039 jam sp_stat_commit_send ,mem_sp_state 
+0x7749 025040 rtn 
+:      025041 master_sp_calculate_commitment0:
+0x774a 025042 jam sp_stat_commitment_compare ,mem_master_sp_state 
+0x774b 025043 call sp_master_generate_local_key 
+0x774c 025044 branch master_set_mem_master_sp_flag 
+:      025046 sp_local_random_key_generator:
+0x774d 025047 arg mem_sp_random_local ,contw 
+0x774e 025048 force 8 ,queue 
+0x774f 025049 branch random_generator 
+:      025051 sp_calculate_commitment_wait_dhkey_calc:
+0x7750 025052 jam sp_flag_commit ,mem_sp_flag 
+0x7751 025053 rtn 
+:      025055 sp_confirm_check:
+0x7752 025057 arg mem_addr_value ,contw 
+0x7753 025058 fetch 6 ,mem_lap 
+0x7754 025059 istore 6 ,contw 
+0x7755 025060 fetch 6 ,mem_plap 
+0x7756 025061 istore 6 ,contw 
+0x7757 025062 fetch 3 ,mem_sp_iocap_remote 
+0x7758 025063 istore 3 ,contw 
+0x7759 025065 call function_f3a 
+0x775a 025067 arg mem_sp_calc_result_high ,rega 
+0x775b 025068 arg mem_sp_check_result ,regb 
+0x775c 025069 force 4 ,queue 
+0x775d 025070 call compare4 
+0x775e 025071 nbranch sp_confirm_check_failed ,true 
+:      025073 sp_confirm_check_success:
+0x775f 025074 fetch 1 ,mem_master_sp_state 
+0x7760 025075 beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+0x7761 025076 jam sp_stat_confirm_calc ,mem_sp_state 
+0x7762 025077 jam sp_flag_commit ,mem_sp_flag 
+0x7763 025078 jam lmp_accepted ,mem_lmo_opcode2 
+0x7764 025079 rtn 
+:      025080 sp_confirm_check_success_master:
+0x7765 025081 jam lmp_accepted ,mem_lmo_opcode2 
+0x7766 025082 jam sp_state_end ,mem_master_sp_state 
+0x7767 025083 branch master_set_mem_master_sp_flag 
+:      025086 sp_confirm_check_failed:
+0x7768 025087 fetch 1 ,mem_master_sp_state 
+0x7769 025088 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+0x776a 025089 jam sp_stat_null ,mem_sp_state 
+0x776b 025090 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x776c 025092 jam authentication_failure_error ,mem_lmo_reason2 
+0x776d 025093 rtn 
+:      025094 sp_confirm_check_failed_master:
+0x776e 025095 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x776f 025096 jam sp_stat_null ,mem_master_sp_state 
+0x7770 025097 rtn 
+:      025099 sp_confirm_calc:
+0x7771 025100 fetch 1 ,mem_sp_dh_ready 
+0x7772 025101 beq sp_flag_commit ,sp_confirm_calc_ready 
+0x7773 025102 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x7774 025103 branch master_set_mem_master_sp_flag 
+:      025104 sp_confirm_calc_ready:
+0x7775 025105 arg mem_addr_value ,contw 
+0x7776 025106 fetch 6 ,mem_plap 
+0x7777 025107 istore 6 ,contw 
+0x7778 025108 fetch 6 ,mem_lap 
+0x7779 025109 istore 6 ,contw 
+0x777a 025110 fetch 3 ,mem_sp_iocap_local 
+0x777b 025111 istore 3 ,contw 
+0x777c 025113 call function_f3b 
+0x777d 025114 fetch 1 ,mem_master_sp_state 
+0x777e 025115 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+0x777f 025116 jam sp_stat_confirm_send ,mem_sp_state 
+0x7780 025117 jam sp_flag_commit ,mem_sp_flag 
+0x7781 025118 rtn 
+:      025119 sp_confirm_calc_master:
+0x7782 025120 jam sp_stat_confirm_send ,mem_master_sp_state 
+0x7783 025121 jam sp_flag_commit ,mem_master_sp_flag 
+0x7784 025122 rtn 
+:      025124 sp_master_key_prarm_push:
+0x7785 025125 arg mem_sp_prarm_stack ,contw 
+0x7786 025126 fetch 6 ,mem_plap 
+0x7787 025127 istore 6 ,contw 
+0x7788 025128 fetch 6 ,mem_lap 
+0x7789 025129 istore 6 ,contw 
+0x778a 025130 setarg mem_sp_random_local_end 
+0x778b 025131 istore 2 ,contw 
+0x778c 025132 setarg mem_sp_random_remote_end 
+0x778d 025133 istore 2 ,contw 
+0x778e 025134 branch sp_link_key_calc 
+:      025135 sp_link_key_prarm_push:
+0x778f 025136 jam sp_stat_done ,mem_sp_state 
+0x7790 025137 arg mem_sp_prarm_stack ,contw 
+0x7791 025138 fetch 6 ,mem_lap 
+0x7792 025139 istore 6 ,contw 
+0x7793 025140 fetch 6 ,mem_plap 
+0x7794 025141 istore 6 ,contw 
+0x7795 025142 setarg mem_sp_random_remote_end 
+0x7796 025143 istore 2 ,contw 
+0x7797 025144 setarg mem_sp_random_local_end 
+0x7798 025145 istore 2 ,contw 
+:      025146 sp_link_key_calc:
+0x7799 025148 arg mem_addr_value ,contw 
+0x779a 025149 fetch 6 ,mem_sp_prarm_stack 
+0x779b 025150 istore 6 ,contw 
+0x779c 025151 fetch 6 ,mem_sp_prarm_stack + 6 
+0x779d 025152 istore 6 ,contw 
+0x779e 025154 call function_f2 
+0x779f 025157 jam 1 ,mem_link_key_exists 
+0x77a0 025158 arg mem_link_key ,contw 
+0x77a1 025159 arg mem_sp_calc_result_high ,contr 
+0x77a2 025160 call memcpy16 
+0x77a3 025161 branch generate_linkkey_continue 
+:      025164 sp_pubkey_calc:
+0x77a4 025165 set1 mark_ext_patch ,mark 
+0x77a5 025166 bpatch patch3e_3 ,mem_patch3e 
+0x77a6 025167 fetch 1 ,mem_sp_local_key_invalid 
+0x77a7 025168 rtnne sp_key_invalid 
+0x77a8 025169 fetch 1 ,mem_sp_calc 
+0x77a9 025170 rtnne sp_calc_standby 
+0x77aa 025171 arg mem_sp_private_key ,contw 
+0x77ab 025172 force 11 ,queue 
+0x77ac 025173 call random_generator 
+0x77ad 025174 random pdata 
+0x77ae 025175 rshift pdata ,pdata 
+0x77af 025176 istore 2 ,contw 
+0x77b0 025178 arg mem_k ,contw 
+0x77b1 025179 arg mem_sp_private_key ,contr 
+0x77b2 025180 call memcpy24 
+0x77b3 025182 arg mem_ax ,contw 
+0x77b4 025183 arg mem_gx ,contr 
+0x77b5 025184 call memcpy48 
+0x77b6 025186 arg mem_az ,contw 
+0x77b7 025187 call bn_zero 
+0x77b8 025188 jam 1 ,mem_az 
+0x77b9 025190 call eckp_calc_init 
+0x77ba 025191 jam sp_calc_pubkey ,mem_sp_calc 
+0x77bb 025192 rtn 
+:      025194 sp_pubkey_generated:
+0x77bc 025195 arg mem_sp_pubkey_local ,contw 
+0x77bd 025196 arg mem_bx ,contr 
+0x77be 025197 call memcpy48 
+0x77bf 025198 jam sp_key_valid ,mem_sp_local_key_invalid 
+0x77c0 025199 jam sp_calc_standby ,mem_sp_calc 
+0x77c1 025200 rtn 
+:      025202 sp_dhkey_calc:
+0x77c2 025203 set1 mark_ext_patch ,mark 
+0x77c3 025204 bpatch patch3e_4 ,mem_patch3e 
+0x77c4 025205 fetch 1 ,mem_sp_dhkey_invalid 
+0x77c5 025206 rtnne sp_key_invalid 
+0x77c6 025207 fetch 1 ,mem_sp_calc 
+0x77c7 025208 rtnne sp_calc_standby 
+0x77c8 025210 arg mem_k ,contw 
+0x77c9 025211 arg mem_sp_private_key ,contr 
+0x77ca 025212 call memcpy24 
+0x77cb 025214 arg mem_ax ,contw 
+0x77cc 025215 arg mem_sp_pubkey_remote ,contr 
+0x77cd 025216 call memcpy48 
+0x77ce 025218 arg mem_az ,contw 
+0x77cf 025219 call bn_zero 
+0x77d0 025220 jam 1 ,mem_az 
+0x77d1 025222 call eckp_calc_init 
+0x77d2 025223 jam sp_calc_dhkey ,mem_sp_calc 
+0x77d3 025224 rtn 
+:      025226 sp_dhkey_generated:
+0x77d4 025227 jam sp_flag_commit ,mem_sp_dh_ready 
+0x77d5 025228 arg mem_sp_dhkey ,contw 
+0x77d6 025229 arg mem_bx ,contr 
+0x77d7 025230 call memcpy24 
+0x77d8 025231 jam sp_key_valid ,mem_sp_dhkey_invalid 
+0x77d9 025232 jam sp_calc_standby ,mem_sp_calc 
+0x77da 025233 rtn 
+:      025235 random_generator:
+0x77db 025236 increase -1 ,queue 
+0x77dc 025237 nrtn positive 
+0x77dd 025238 random pdata 
+0x77de 025239 istore 2 ,contw 
+0x77df 025240 branch random_generator 
+:      025241 compare4:
+0x77e0 025242 increase -1 ,queue 
+0x77e1 025243 nbranch compare4_success ,positive 
+0x77e2 025244 ifetch 4 ,rega 
+0x77e3 025245 copy pdata ,temp 
+0x77e4 025246 ifetch 4 ,regb 
+0x77e5 025247 iflip temp ,pdata 
+0x77e6 025248 nbranch compare4_failed ,zero 
+0x77e7 025249 increase 4 ,rega 
+0x77e8 025250 increase 4 ,regb 
+0x77e9 025251 branch compare4 
+:      025252 compare4_failed:
+0x77ea 025253 disable true 
+0x77eb 025254 rtn 
+:      025255 compare4_success:
+0x77ec 025256 enable true 
+0x77ed 025257 rtn 
+:      025264 simple_pairing_sequence:
+0x77ee 025265 set1 mark_ext_patch ,mark 
+0x77ef 025266 bpatch patch3e_5 ,mem_patch3e 
+0x77f0 025267 fetch 1 ,mem_sp_flag 
+0x77f1 025268 rtn blank 
+0x77f2 025269 jam sp_flag_standby ,mem_sp_flag 
+0x77f3 025270 fetch 1 ,mem_sp_state 
+0x77f4 025271 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+0x77f5 025272 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+0x77f6 025273 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+0x77f7 025274 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+0x77f8 025275 beq sp_stat_key_generate ,sp_generate_local_key 
+0x77f9 025276 beq sp_stat_commit_calc ,sp_calculate_commitment 
+0x77fa 025277 beq sp_stat_confirm_check ,sp_confirm_check 
+0x77fb 025278 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x77fc 025279 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+0x77fd 025281 rtn 
+:      025283 master_simple_paring_sequence:
+0x77fe 025284 set1 mark_ext_patch ,mark 
+0x77ff 025285 bpatch patch3e_6 ,mem_patch3e 
+0x7800 025286 fetch 1 ,mem_master_sp_flag 
+0x7801 025287 rtn blank 
+0x7802 025288 jam sp_flag_standby ,mem_master_sp_flag 
+0x7803 025289 fetch 1 ,mem_master_sp_state 
+0x7804 025290 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+0x7805 025291 beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+0x7806 025292 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+0x7807 025293 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+0x7808 025294 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+0x7809 025295 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+0x780a 025296 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x780b 025297 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+0x780c 025298 beq sp_stat_confirm_check ,sp_confirm_check 
+0x780d 025299 beq sp_state_end ,master_sp_sm_end 
+0x780e 025300 rtn 
+:      025302 master_set_mem_master_sp_flag:
+0x780f 025303 jam sp_flag_commit ,mem_master_sp_flag 
+0x7810 025304 rtn 
+:      025306 master_clear_mem_master_sp_flag:
+0x7811 025307 jam sp_flag_standby ,mem_master_sp_flag 
+0x7812 025308 rtn 
+:      025309 sp_calc_sequence:
+0x7813 025310 set1 mark_ext_patch ,mark 
+0x7814 025311 bpatch patch3e_7 ,mem_patch3e 
+0x7815 025312 fetch 1 ,mem_sp_calc 
+0x7816 025313 rtn blank 
+0x7817 025314 increase 0x80 ,pdata 
+0x7818 025315 store 1 ,mem_sp_calc 
+0x7819 025316 rtnbit1 7 
+0x781a 025317 fetch 1 ,mem_ec_loopc 
+0x781b 025318 branch sp_calc_sequence_done ,blank 
+0x781c 025319 branch eckp_calc 
+:      025321 sp_calc_sequence_done:
+0x781d 025322 call ecunmapz 
+0x781e 025323 fetch 1 ,mem_sp_calc 
+0x781f 025324 beq sp_calc_pubkey ,sp_pubkey_generated 
+0x7820 025325 beq sp_calc_dhkey ,sp_dhkey_generated 
+0x7821 025326 rtn 
+:      025329 bn_testbit:
+0x7822 025330 and pdata ,7 ,queue 
+0x7823 025331 rshift3 pdata ,pdata 
+0x7824 025332 iadd contr ,contr 
+0x7825 025333 ifetch 1 ,contr 
+0x7826 025334 qisolate0 pdata 
+0x7827 025335 rtn 
+:      025338 ec_copy:
+0x7828 025339 call memcpy24 
+0x7829 025340 call memcpy24 
+0x782a 025341 branch memcpy24 
+:      025344 bn_eq_zero:
+0x782b 025345 ifetch 8 ,contr 
+0x782c 025346 nrtn blank 
+0x782d 025347 ifetch 8 ,contr 
+0x782e 025348 nrtn blank 
+0x782f 025349 ifetch 8 ,contr 
+0x7830 025350 rtn 
+:      025354 bn_eq:
+0x7831 025355 force 6 ,loopcnt 
+:      025356 bn_eq_0:
+0x7832 025357 ifetch 4 ,rega 
+0x7833 025358 iforce temp 
+0x7834 025359 ifetch 4 ,regb 
+0x7835 025360 isub temp ,null 
+0x7836 025361 nrtn zero 
+0x7837 025362 increase 4 ,rega 
+0x7838 025363 increase 4 ,regb 
+0x7839 025364 loop bn_eq_0 
+0x783a 025365 rtn 
+:      025368 bn_bigeq:
+0x783b 025369 force 6 ,loopcnt 
+0x783c 025370 increase 20 ,rega 
+0x783d 025371 increase 20 ,regb 
+:      025372 bn_bigeq_0:
+0x783e 025373 ifetch 4 ,regb 
+0x783f 025374 iforce temp 
+0x7840 025375 ifetch 4 ,rega 
+0x7841 025376 isub temp ,pdata 
+0x7842 025377 nrtn positive 
+0x7843 025378 nrtn blank 
+0x7844 025379 increase -4 ,rega 
+0x7845 025380 increase -4 ,regb 
+0x7846 025381 loop bn_bigeq_0 
+0x7847 025382 rtn 
+:      025384 bn_add:
+0x7848 025385 force 6 ,loopcnt 
+0x7849 025386 force 0 ,regc 
+:      025387 bn_add_0:
+0x784a 025388 ifetch 4 ,rega 
+0x784b 025389 iforce temp 
+0x784c 025390 ifetch 4 ,regb 
+0x784d 025391 iadd temp ,pdata 
+0x784e 025392 iadd regc ,pdata 
+0x784f 025393 istore 4 ,contw 
+0x7850 025394 isolate1 32 ,pdata 
+0x7851 025395 setflag true ,0 ,regc 
+0x7852 025396 increase 4 ,rega 
+0x7853 025397 increase 4 ,regb 
+0x7854 025398 loop bn_add_0 
+0x7855 025399 rtn 
+:      025401 bn_sub:
+0x7856 025402 force 6 ,loopcnt 
+0x7857 025403 force 0 ,regc 
+:      025404 bn_sub_0:
+0x7858 025405 ifetch 4 ,regb 
+0x7859 025406 iforce temp 
+0x785a 025407 ifetch 4 ,rega 
+0x785b 025408 isub temp ,pdata 
+0x785c 025409 isub regc ,pdata 
+0x785d 025410 istore 4 ,contw 
+0x785e 025411 isolate1 32 ,pdata 
+0x785f 025412 setflag true ,0 ,regc 
+0x7860 025413 increase 4 ,rega 
+0x7861 025414 increase 4 ,regb 
+0x7862 025415 loop bn_sub_0 
+0x7863 025416 rtn 
+:      025418 bn_rshift6:
+0x7864 025419 force 6 ,loopcnt 
+0x7865 025420 increase 20 ,rega 
+:      025421 bn_rshift:
+0x7866 025422 force 0 ,regc 
+:      025423 bn_rshift_0:
+0x7867 025424 ifetch 4 ,rega 
+0x7868 025425 isolate1 0 ,pdata 
+0x7869 025426 setflag true ,1 ,regc 
+0x786a 025427 rshift pdata ,pdata 
+0x786b 025428 isolate1 0 ,regc 
+0x786c 025429 setflag true ,31 ,pdata 
+0x786d 025430 istore 4 ,rega 
+0x786e 025431 increase -4 ,rega 
+0x786f 025432 rshift regc ,regc 
+0x7870 025433 loop bn_rshift_0 
+0x7871 025434 rtn 
+:      025436 bn_lshift:
+0x7872 025437 force 6 ,loopcnt 
+0x7873 025438 force 0 ,regc 
+:      025439 bn_lshift_0:
+0x7874 025440 ifetch 4 ,rega 
+0x7875 025441 isolate1 31 ,pdata 
+0x7876 025442 setflag true ,1 ,regc 
+0x7877 025443 lshift pdata ,pdata 
+0x7878 025444 isolate1 0 ,regc 
+0x7879 025445 setflag true ,0 ,pdata 
+0x787a 025446 istore 4 ,rega 
+0x787b 025447 increase 4 ,rega 
+0x787c 025448 rshift regc ,regc 
+0x787d 025449 loop bn_lshift_0 
+0x787e 025450 rtn 
+:      025452 bn_lshiftmod:
+0x787f 025453 call bn_lshift 
+:      025454 bn_lshiftmod_ismod:
+0x7880 025455 isolate1 0 ,regc 
+0x7881 025456 branch bn_lshiftmod_0 ,true 
+0x7882 025457 arg mem_p ,regb 
+0x7883 025458 copy rega ,regc 
+0x7884 025459 increase -24 ,rega 
+0x7885 025460 call bn_bigeq 
+0x7886 025461 nrtn positive 
+0x7887 025462 copy regc ,rega 
+:      025463 bn_lshiftmod_0:
+0x7888 025464 increase -24 ,rega 
+0x7889 025465 arg mem_p ,regb 
+0x788a 025466 copy rega ,contw 
+0x788b 025467 branch bn_sub 
+:      025470 bn_addmod:
+0x788c 025471 call bn_add 
+0x788d 025472 copy contw ,rega 
+0x788e 025473 branch bn_lshiftmod_ismod 
+:      025475 bn_submod:
+0x788f 025476 call bn_sub 
+0x7890 025477 isolate0 0 ,regc 
+0x7891 025478 rtn true 
+0x7892 025479 arg mem_p ,regb 
+0x7893 025480 add contw ,-24 ,rega 
+0x7894 025481 copy rega ,contw 
+0x7895 025482 branch bn_add 
+:      025485 bn_p192mod:
+0x7896 025486 copy contw ,timeup 
+0x7897 025487 copy rega ,alarm 
+0x7898 025488 arg mem_tmp2 ,regb 
+0x7899 025489 copy regb ,contw 
+0x789a 025490 add rega ,24 ,contr 
+0x789b 025491 ifetch 8 ,contr 
+0x789c 025492 istore 8 ,contw 
+0x789d 025493 istore 8 ,contw 
+0x789e 025494 force 0 ,pdata 
+0x789f 025495 istore 8 ,contw 
+0x78a0 025496 copy timeup ,contw 
+0x78a1 025497 call bn_addmod 
+0x78a2 025498 arg mem_tmp2 ,regb 
+0x78a3 025499 copy regb ,contw 
+0x78a4 025500 force 0 ,pdata 
+0x78a5 025501 istore 8 ,contw 
+0x78a6 025502 add alarm ,32 ,contr 
+0x78a7 025503 ifetch 8 ,contr 
+0x78a8 025504 istore 8 ,contw 
+0x78a9 025505 istore 8 ,contw 
+0x78aa 025506 copy timeup ,rega 
+0x78ab 025507 copy rega ,contw 
+0x78ac 025508 call bn_addmod 
+0x78ad 025509 arg mem_tmp2 ,regb 
+0x78ae 025510 copy regb ,contw 
+0x78af 025511 add alarm ,40 ,contr 
+0x78b0 025512 ifetch 8 ,contr 
+0x78b1 025513 istore 8 ,contw 
+0x78b2 025514 istore 8 ,contw 
+0x78b3 025515 istore 8 ,contw 
+0x78b4 025516 copy timeup ,rega 
+0x78b5 025517 copy rega ,contw 
+0x78b6 025518 branch bn_addmod 
+:      025521 bn_load:
+0x78b7 025522 force 6 ,loopcnt 
+:      025523 bn_load_0:
+0x78b8 025524 ifetch 4 ,contr 
+0x78b9 025525 iforce regext 
+0x78ba 025526 increase 1 ,regext_index 
+0x78bb 025527 loop bn_load_0 
+0x78bc 025528 rtn 
+:      025532 bn_mulmod:
+0x78bd 025533 copy contw ,timeup 
+0x78be 025534 arg mem_tmp1 ,contw 
+0x78bf 025535 call bn_zero 
+0x78c0 025536 arg mem_tmp1 ,contw 
+0x78c1 025537 copy rega ,contr 
+0x78c2 025538 force 0 ,regext_index 
+0x78c3 025539 call bn_load 
+0x78c4 025540 copy regb ,contr 
+0x78c5 025541 call bn_load 
+0x78c6 025542 force 0 ,regb 
+:      025543 bn_mulmod_1:
+0x78c7 025544 force 0 ,temp 
+0x78c8 025545 force 6 ,regc 
+:      025546 bn_mulmod_0:
+0x78c9 025547 ifetch 4 ,contw 
+0x78ca 025548 iforce rega 
+0x78cb 025549 copy regb ,regext_index 
+0x78cc 025550 deposit regext 
+0x78cd 025551 copy regc ,regext_index 
+0x78ce 025552 imul32 regext ,pdata 
+0x78cf 025553 iadd rega ,pdata 
+0x78d0 025554 iadd temp ,pdata 
+0x78d1 025555 istore 4 ,contw 
+0x78d2 025556 rshift32 pdata ,temp 
+0x78d3 025557 increase 1 ,regc 
+0x78d4 025558 compare 12 ,regc ,0xff 
+0x78d5 025559 nbranch bn_mulmod_0 ,true 
+0x78d6 025560 deposit temp 
+0x78d7 025561 istore 4 ,contw 
+0x78d8 025562 increase -24 ,contw 
+0x78d9 025563 increase 1 ,regb 
+0x78da 025564 compare 6 ,regb ,0xff 
+0x78db 025565 nbranch bn_mulmod_1 ,true 
+0x78dc 025566 arg mem_tmp1 ,rega 
+0x78dd 025567 copy timeup ,contw 
+0x78de 025568 branch bn_p192mod 
+:      025571 bn_sqrmod:
+0x78df 025572 copy rega ,regb 
+0x78e0 025573 branch bn_mulmod 
+:      025575 bn_rshifteven:
+0x78e1 025576 copy rega ,alarm 
+:      025577 bn_rshifteven_1:
+0x78e2 025578 copy alarm ,rega 
+0x78e3 025579 ifetch 1 ,rega 
+0x78e4 025580 isolate1 0 ,pdata 
+0x78e5 025581 rtn true 
+0x78e6 025582 call bn_rshift6 
+0x78e7 025583 ifetch 1 ,regb 
+0x78e8 025584 isolate0 0 ,pdata 
+0x78e9 025585 branch bn_rshifteven_0 ,true 
+0x78ea 025586 arg mem_p ,rega 
+0x78eb 025587 copy regb ,contw 
+0x78ec 025588 call bn_add 
+0x78ed 025589 ifetch 1 ,regb 
+0x78ee 025590 iadd regc ,pdata 
+0x78ef 025591 istore 1 ,regb 
+0x78f0 025592 increase -24 ,regb 
+:      025593 bn_rshifteven_0:
+0x78f1 025594 add regb ,24 ,rega 
+0x78f2 025595 force 7 ,loopcnt 
+0x78f3 025596 call bn_rshift 
+0x78f4 025597 branch bn_rshifteven_1 
+:      025600 bn_invmod:
+0x78f5 025601 copy contw ,timeup 
+0x78f6 025602 arg mem_tmp0 ,contw 
+0x78f7 025603 call bn_zero 
+0x78f8 025604 force 0 ,pdata 
+0x78f9 025605 store 4 ,mem_tmp5 
+0x78fa 025606 store 4 ,mem_t2 
+0x78fb 025607 jam 1 ,mem_tmp0 
+0x78fc 025608 arg mem_tmp1 ,contw 
+0x78fd 025609 call bn_zero 
+0x78fe 025610 arg mem_p ,contr 
+0x78ff 025611 arg mem_tmp2 ,contw 
+0x7900 025612 call memcpy24 
+0x7901 025613 copy rega ,contr 
+0x7902 025614 arg mem_tmp3 ,contw 
+0x7903 025615 call memcpy24 
+:      025616 bn_invmod_2:
+0x7904 025617 arg mem_tmp3 ,contr 
+0x7905 025618 call bn_eq_zero 
+0x7906 025619 branch bn_invmod_0 ,blank 
+0x7907 025620 arg mem_tmp3 ,rega 
+0x7908 025621 arg mem_tmp0 ,regb 
+0x7909 025622 call bn_rshifteven 
+0x790a 025624 arg mem_tmp2 ,rega 
+0x790b 025625 arg mem_tmp1 ,regb 
+0x790c 025626 call bn_rshifteven 
+0x790d 025627 arg mem_tmp3 ,rega 
+0x790e 025628 arg mem_tmp2 ,regb 
+0x790f 025629 call bn_bigeq 
+0x7910 025630 branch bn_invmod_1 ,positive 
+0x7911 025631 arg mem_tmp2 ,rega 
+0x7912 025632 arg mem_tmp3 ,regb 
+0x7913 025633 copy rega ,contw 
+0x7914 025634 call bn_sub 
+0x7915 025635 arg mem_tmp0 ,rega 
+0x7916 025636 arg mem_tmp1 ,regb 
+0x7917 025637 copy regb ,contw 
+0x7918 025638 call bn_add 
+0x7919 025639 ifetch 1 ,rega 
+0x791a 025640 iadd regc ,regc 
+0x791b 025641 ifetch 1 ,regb 
+0x791c 025642 iadd regc ,pdata 
+0x791d 025643 istore 1 ,regb 
+0x791e 025644 branch bn_invmod_2 
+:      025645 bn_invmod_1:
+0x791f 025646 arg mem_tmp3 ,rega 
+0x7920 025647 arg mem_tmp2 ,regb 
+0x7921 025648 copy rega ,contw 
+0x7922 025649 call bn_sub 
+0x7923 025650 arg mem_tmp1 ,rega 
+0x7924 025651 arg mem_tmp0 ,regb 
+0x7925 025652 copy regb ,contw 
+0x7926 025653 call bn_add 
+0x7927 025654 ifetch 1 ,rega 
+0x7928 025655 iadd regc ,regc 
+0x7929 025656 ifetch 1 ,regb 
+0x792a 025657 iadd regc ,pdata 
+0x792b 025658 istore 1 ,regb 
+0x792c 025659 branch bn_invmod_2 
+:      025660 bn_invmod_0:
+0x792d 025661 arg mem_tmp0 ,contw 
+0x792e 025662 call bn_zero 
+0x792f 025663 fetch 1 ,mem_tmp5 
+0x7930 025664 store 1 ,mem_tmp0 
+0x7931 025665 store 1 ,mem_tmp0a 
+0x7932 025666 arg mem_tmp0 ,rega 
+0x7933 025667 arg mem_tmp1 ,regb 
+0x7934 025668 copy regb ,contw 
+0x7935 025669 call bn_addmod 
+0x7936 025670 arg mem_p ,rega 
+0x7937 025671 arg mem_tmp1 ,regb 
+0x7938 025672 copy timeup ,contw 
+0x7939 025673 branch bn_submod 
+:      025678 ecdbl:
+0x793a 025679 arg mem_cz ,rega 
+0x793b 025680 arg mem_t2 ,contw 
+0x793c 025681 call bn_sqrmod 
+0x793d 025682 arg mem_t2 ,rega 
+0x793e 025683 arg mem_t3 ,contw 
+0x793f 025684 call bn_sqrmod 
+0x7940 025685 arg mem_a ,rega 
+0x7941 025686 arg mem_t3 ,regb 
+0x7942 025687 arg mem_t3 ,contw 
+0x7943 025688 call bn_mulmod 
+0x7944 025689 arg mem_cx ,rega 
+0x7945 025690 arg mem_t2 ,contw 
+0x7946 025691 call bn_sqrmod 
+0x7947 025692 arg mem_t2 ,contr 
+0x7948 025693 arg mem_t1 ,contw 
+0x7949 025694 call memcpy24 
+0x794a 025695 arg mem_t1 ,rega 
+0x794b 025696 call bn_lshiftmod 
+0x794c 025697 arg mem_t2 ,rega 
+0x794d 025698 arg mem_t1 ,regb 
+0x794e 025699 arg mem_t2 ,contw 
+0x794f 025700 call bn_addmod 
+0x7950 025701 arg mem_t2 ,rega 
+0x7951 025702 arg mem_t3 ,regb 
+0x7952 025703 arg mem_t2 ,contw 
+0x7953 025704 call bn_addmod 
+0x7954 025705 arg mem_cx ,contr 
+0x7955 025706 arg mem_t1 ,contw 
+0x7956 025707 call memcpy24 
+0x7957 025708 arg mem_cy ,rega 
+0x7958 025709 arg mem_t3 ,contw 
+0x7959 025710 call bn_sqrmod 
+0x795a 025711 arg mem_t1 ,rega 
+0x795b 025712 call bn_lshiftmod 
+0x795c 025713 arg mem_t1 ,rega 
+0x795d 025714 call bn_lshiftmod 
+0x795e 025715 arg mem_t1 ,rega 
+0x795f 025716 arg mem_t3 ,regb 
+0x7960 025717 arg mem_t1 ,contw 
+0x7961 025718 call bn_mulmod 
+0x7962 025719 arg mem_t3 ,rega 
+0x7963 025720 arg mem_t0 ,contw 
+0x7964 025721 call bn_sqrmod 
+0x7965 025722 arg mem_t0 ,rega 
+0x7966 025723 call bn_lshiftmod 
+0x7967 025724 arg mem_t0 ,rega 
+0x7968 025725 call bn_lshiftmod 
+0x7969 025726 arg mem_t0 ,rega 
+0x796a 025727 call bn_lshiftmod 
+0x796b 025728 arg mem_cy ,contr 
+0x796c 025729 arg mem_t3 ,contw 
+0x796d 025730 call memcpy24 
+0x796e 025731 arg mem_t3 ,rega 
+0x796f 025732 call bn_lshiftmod 
+0x7970 025733 arg mem_t3 ,rega 
+0x7971 025734 arg mem_cz ,regb 
+0x7972 025735 arg mem_cz ,contw 
+0x7973 025736 call bn_mulmod 
+0x7974 025737 arg mem_t2 ,rega 
+0x7975 025738 arg mem_t3 ,contw 
+0x7976 025739 call bn_sqrmod 
+0x7977 025740 arg mem_t3 ,rega 
+0x7978 025741 arg mem_t1 ,regb 
+0x7979 025742 arg mem_t3 ,contw 
+0x797a 025743 call bn_submod 
+0x797b 025744 arg mem_t3 ,rega 
+0x797c 025745 arg mem_t1 ,regb 
+0x797d 025746 arg mem_cx ,contw 
+0x797e 025747 call bn_submod 
+0x797f 025748 arg mem_t1 ,rega 
+0x7980 025749 arg mem_cx ,regb 
+0x7981 025750 arg mem_t3 ,contw 
+0x7982 025751 call bn_submod 
+0x7983 025752 arg mem_t3 ,rega 
+0x7984 025753 arg mem_t2 ,regb 
+0x7985 025754 arg mem_t3 ,contw 
+0x7986 025755 call bn_mulmod 
+0x7987 025756 arg mem_t3 ,rega 
+0x7988 025757 arg mem_t0 ,regb 
+0x7989 025758 arg mem_cy ,contw 
+0x798a 025759 branch bn_submod 
+:      025763 ecadd:
+0x798b 025764 arg mem_az ,rega 
+0x798c 025765 arg mem_t7 ,contw 
+0x798d 025766 call bn_sqrmod 
+0x798e 025767 arg mem_cx ,rega 
+0x798f 025768 arg mem_t7 ,regb 
+0x7990 025769 arg mem_t0 ,contw 
+0x7991 025770 call bn_mulmod 
+0x7992 025771 arg mem_az ,rega 
+0x7993 025772 arg mem_t7 ,regb 
+0x7994 025773 arg mem_t7 ,contw 
+0x7995 025774 call bn_mulmod 
+0x7996 025775 arg mem_cy ,rega 
+0x7997 025776 arg mem_t7 ,regb 
+0x7998 025777 arg mem_t1 ,contw 
+0x7999 025778 call bn_mulmod 
+0x799a 025779 arg mem_cz ,rega 
+0x799b 025780 arg mem_t7 ,contw 
+0x799c 025781 call bn_sqrmod 
+0x799d 025782 arg mem_ax ,rega 
+0x799e 025783 arg mem_t7 ,regb 
+0x799f 025784 arg mem_t2 ,contw 
+0x79a0 025785 call bn_mulmod 
+0x79a1 025786 arg mem_cz ,rega 
+0x79a2 025787 arg mem_t7 ,regb 
+0x79a3 025788 arg mem_t7 ,contw 
+0x79a4 025789 call bn_mulmod 
+0x79a5 025790 arg mem_ay ,rega 
+0x79a6 025791 arg mem_t7 ,regb 
+0x79a7 025792 arg mem_t3 ,contw 
+0x79a8 025793 call bn_mulmod 
+0x79a9 025794 arg mem_t0 ,rega 
+0x79aa 025795 arg mem_t2 ,regb 
+0x79ab 025796 arg mem_t7 ,contw 
+0x79ac 025797 call bn_submod 
+0x79ad 025798 arg mem_t0 ,rega 
+0x79ae 025799 arg mem_t2 ,regb 
+0x79af 025800 arg mem_t0 ,contw 
+0x79b0 025801 call bn_addmod 
+0x79b1 025802 arg mem_t1 ,rega 
+0x79b2 025803 arg mem_t3 ,regb 
+0x79b3 025804 arg mem_t2 ,contw 
+0x79b4 025805 call bn_submod 
+0x79b5 025806 arg mem_t1 ,rega 
+0x79b6 025807 arg mem_t3 ,regb 
+0x79b7 025808 arg mem_t1 ,contw 
+0x79b8 025809 call bn_addmod 
+0x79b9 025810 arg mem_t1 ,rega 
+0x79ba 025811 arg mem_t7 ,regb 
+0x79bb 025812 arg mem_t1 ,contw 
+0x79bc 025813 call bn_mulmod 
+0x79bd 025814 arg mem_cz ,rega 
+0x79be 025815 arg mem_az ,regb 
+0x79bf 025816 arg mem_t3 ,contw 
+0x79c0 025817 call bn_mulmod 
+0x79c1 025818 arg mem_t3 ,rega 
+0x79c2 025819 arg mem_t7 ,regb 
+0x79c3 025820 arg mem_cz ,contw 
+0x79c4 025821 call bn_mulmod 
+0x79c5 025822 arg mem_t7 ,rega 
+0x79c6 025823 arg mem_t7 ,contw 
+0x79c7 025824 call bn_sqrmod 
+0x79c8 025825 arg mem_t7 ,rega 
+0x79c9 025826 arg mem_t0 ,regb 
+0x79ca 025827 arg mem_t3 ,contw 
+0x79cb 025828 call bn_mulmod 
+0x79cc 025829 arg mem_t7 ,rega 
+0x79cd 025830 arg mem_t1 ,regb 
+0x79ce 025831 arg mem_t1 ,contw 
+0x79cf 025832 call bn_mulmod 
+0x79d0 025833 arg mem_t2 ,rega 
+0x79d1 025834 arg mem_cx ,contw 
+0x79d2 025835 call bn_sqrmod 
+0x79d3 025836 arg mem_cx ,rega 
+0x79d4 025837 arg mem_t3 ,regb 
+0x79d5 025838 arg mem_cx ,contw 
+0x79d6 025839 call bn_submod 
+0x79d7 025840 arg mem_cx ,contr 
+0x79d8 025841 arg mem_t7 ,contw 
+0x79d9 025842 call memcpy24 
+0x79da 025843 arg mem_t7 ,rega 
+0x79db 025844 call bn_lshiftmod 
+0x79dc 025845 arg mem_t3 ,rega 
+0x79dd 025846 arg mem_t7 ,regb 
+0x79de 025847 arg mem_t3 ,contw 
+0x79df 025848 call bn_submod 
+0x79e0 025849 arg mem_t3 ,rega 
+0x79e1 025850 arg mem_t2 ,regb 
+0x79e2 025851 arg mem_t2 ,contw 
+0x79e3 025852 call bn_mulmod 
+0x79e4 025853 arg mem_t2 ,rega 
+0x79e5 025854 arg mem_t1 ,regb 
+0x79e6 025855 arg mem_cy ,contw 
+0x79e7 025856 call bn_submod 
+0x79e8 025857 arg mem_cy ,rega 
+0x79e9 025858 arg mem_p ,regb 
+0x79ea 025859 arg mem_cy ,contw 
+0x79eb 025860 force 0 ,regc 
+0x79ec 025861 fetch 1 ,mem_cy 
+0x79ed 025862 isolate1 0 ,pdata 
+0x79ee 025863 call bn_add ,true 
+0x79ef 025864 copy regc ,alarm 
+0x79f0 025865 arg mem_cy ,rega 
+0x79f1 025866 call bn_rshift6 
+0x79f2 025867 fetch 1 ,mem_cy5 
+0x79f3 025868 isolate1 0 ,alarm 
+0x79f4 025869 setflag true ,7 ,pdata 
+0x79f5 025870 store 1 ,mem_cy5 
+0x79f6 025871 rtn 
+:      025874 eckp:
+0x79f7 025875 jam 192 ,mem_ec_loopc 
+0x79f8 025876 jam 1 ,mem_ec_infinite 
+:      025877 eckp_0:
+0x79f9 025878 fetch 1 ,mem_ec_loopc 
+0x79fa 025879 increase -1 ,pdata 
+0x79fb 025880 nrtn positive 
+0x79fc 025881 store 1 ,mem_ec_loopc 
+0x79fd 025882 fetch 1 ,mem_ec_infinite 
+0x79fe 025883 call ecdbl ,blank 
+0x79ff 025884 fetch 1 ,mem_ec_loopc 
+0x7a00 025885 arg mem_k ,contr 
+0x7a01 025886 call bn_testbit 
+0x7a02 025887 branch eckp_0 ,true 
+0x7a03 025888 fetch 1 ,mem_ec_infinite 
+0x7a04 025889 nbranch eckp_1 ,blank 
+0x7a05 025890 call ecadd 
+0x7a06 025891 branch eckp_0 
+:      025892 eckp_1:
+0x7a07 025893 jam 0 ,mem_ec_infinite 
+0x7a08 025894 arg mem_ax ,contr 
+0x7a09 025895 arg mem_cx ,contw 
+0x7a0a 025896 call ec_copy 
+0x7a0b 025897 branch eckp_0 
+:      025900 ecunmapz:
+0x7a0c 025901 arg mem_cz ,rega 
+0x7a0d 025902 arg mem_t3 ,contw 
+0x7a0e 025903 call bn_invmod 
+0x7a0f 025904 arg mem_t3 ,rega 
+0x7a10 025905 arg mem_t1 ,contw 
+0x7a11 025906 call bn_sqrmod 
+0x7a12 025907 arg mem_cx ,rega 
+0x7a13 025908 arg mem_t1 ,regb 
+0x7a14 025909 arg mem_bx ,contw 
+0x7a15 025910 call bn_mulmod 
+0x7a16 025911 arg mem_t3 ,rega 
+0x7a17 025912 arg mem_t1 ,regb 
+0x7a18 025913 arg mem_t2 ,contw 
+0x7a19 025914 call bn_mulmod 
+0x7a1a 025915 arg mem_cy ,rega 
+0x7a1b 025916 arg mem_t2 ,regb 
+0x7a1c 025917 arg mem_by ,contw 
+0x7a1d 025918 branch bn_mulmod 
+:      025921 sha_endian_swap:
+0x7a1e 025922 force 16 ,loopcnt 
+:      025923 sha_endian_swap2:
+0x7a1f 025924 ifetch 4 ,contr 
+0x7a20 025925 force 4 ,rega 
+0x7a21 025926 increase 3 ,contw 
+:      025927 sha_endian_loop:
+0x7a22 025928 istore 1 ,contw 
+0x7a23 025929 rshift8 pdata ,pdata 
+0x7a24 025930 increase -2 ,contw 
+0x7a25 025931 increase -1 ,rega 
+0x7a26 025932 nbranch sha_endian_loop ,zero 
+0x7a27 025933 increase 5 ,contw 
+0x7a28 025934 loop sha_endian_swap2 
+0x7a29 025935 rtn 
+:      025938 sha_getw:
+0x7a2a 025939 lshift2 queue ,pdata 
+0x7a2b 025940 iadd timeup ,contr 
+0x7a2c 025941 ifetch 4 ,contr 
+0x7a2d 025942 rtn 
+:      025944 sha_r:
+0x7a2e 025945 force 16 ,alarm 
+0x7a2f 025946 arg memdat ,timeup 
+:      025947 sha_r_loop:
+0x7a30 025948 add alarm ,-7 ,queue 
+0x7a31 025949 call sha_getw 
+0x7a32 025950 iforce temp 
+0x7a33 025951 add alarm ,-16 ,queue 
+0x7a34 025952 call sha_getw 
+0x7a35 025953 iadd temp ,temp 
+0x7a36 025954 add alarm ,-2 ,queue 
+0x7a37 025955 call sha_getw 
+0x7a38 025956 shasx pdata ,1 ,pdata 
+0x7a39 025957 iadd temp ,temp 
+0x7a3a 025958 add alarm ,-15 ,queue 
+0x7a3b 025959 call sha_getw 
+0x7a3c 025960 shasx pdata ,0 ,pdata 
+0x7a3d 025961 iadd temp ,temp 
+0x7a3e 025962 lshift2 alarm ,pdata 
+0x7a3f 025963 iadd timeup ,contw 
+0x7a40 025964 istoret 4 ,contw 
+0x7a41 025965 increase 1 ,alarm 
+0x7a42 025966 compare 64 ,alarm ,0xff 
+0x7a43 025967 nbranch sha_r_loop ,true 
+0x7a44 025968 rtn 
+:      025971 sha_init:
+0x7a45 025972 arg memh0 ,contr 
+0x7a46 025973 force 7 ,regext_index 
+:      025974 sha_init_0:
+0x7a47 025975 ifetch 4 ,contr 
+0x7a48 025976 iforce regext 
+0x7a49 025977 increase -1 ,regext_index 
+0x7a4a 025978 branch sha_init_0 ,positive 
+0x7a4b 025979 rtn 
+:      025981 sha:
+0x7a4c 025982 set1 mark_ext_patch ,mark 
+0x7a4d 025983 bpatch patch3f_0 ,mem_patch3f 
+0x7a4e 025984 call sha_r 
+0x7a4f 025985 arg memahbak ,contw 
+0x7a50 025986 force 0 ,regext_index 
+:      025987 sha_0:
+0x7a51 025988 deposit regext 
+0x7a52 025989 istore 4 ,contw 
+0x7a53 025990 increase 1 ,regext_index 
+0x7a54 025991 compare 8 ,regext_index ,0xff 
+0x7a55 025992 nbranch sha_0 ,true 
+0x7a56 025993 call enable_authrom 
+0x7a57 025994 arg memk ,timeup 
+0x7a58 025995 arg memdat ,alarm 
+0x7a59 025996 force 64 ,loopcnt 
+:      025997 sha_loop:
+0x7a5a 025998 ifetcht 4 ,alarm 
+0x7a5b 025999 ifetch 4 ,timeup 
+0x7a5c 026000 increase 4 ,timeup 
+0x7a5d 026001 increase 4 ,alarm 
+0x7a5e 026002 iadd temp ,pdata 
+0x7a5f 026003 force 7 ,regext_index 
+0x7a60 026004 iadd regext ,temp 
+0x7a61 026005 force 4 ,regext_index 
+0x7a62 026006 shasx regext ,3 ,pdata 
+0x7a63 026007 iadd temp ,temp 
+0x7a64 026008 force 5 ,regext_index 
+0x7a65 026009 deposit regext 
+0x7a66 026010 force 6 ,regext_index 
+0x7a67 026011 ixor regext ,pdata 
+0x7a68 026012 force 4 ,regext_index 
+0x7a69 026013 iand regext ,pdata 
+0x7a6a 026014 force 6 ,regext_index 
+0x7a6b 026015 ixor regext ,pdata 
+0x7a6c 026016 iadd temp ,temp 
+0x7a6d 026017 force 7 ,regext_index 
+0x7a6e 026018 copy temp ,regext 
+0x7a6f 026019 force 3 ,regext_index 
+0x7a70 026020 deposit regext 
+0x7a71 026021 iadd temp ,regext 
+0x7a72 026022 force 0 ,regext_index 
+0x7a73 026023 deposit regext 
+0x7a74 026024 force 1 ,regext_index 
+0x7a75 026025 iand regext ,temp 
+0x7a76 026026 ior regext ,pdata 
+0x7a77 026027 force 2 ,regext_index 
+0x7a78 026028 iand regext ,pdata 
+0x7a79 026029 ior temp ,temp 
+0x7a7a 026030 force 0 ,regext_index 
+0x7a7b 026031 shasx regext ,2 ,pdata 
+0x7a7c 026032 iadd temp ,pdata 
+0x7a7d 026033 force 7 ,regext_index 
+0x7a7e 026034 iadd regext ,regext 
+0x7a7f 026035 regexrot 
+0x7a80 026036 loop sha_loop 
+0x7a81 026037 arg memahbak ,contr 
+0x7a82 026038 force 0 ,regext_index 
+:      026039 sha_1:
+0x7a83 026040 ifetch 4 ,contr 
+0x7a84 026041 iadd regext ,regext 
+0x7a85 026042 increase 1 ,regext_index 
+0x7a86 026043 compare 8 ,regext_index ,0xff 
+0x7a87 026044 nbranch sha_1 ,true 
+0x7a88 026045 branch disable_authrom 
+:      026048 sha_result:
+0x7a89 026049 arg memresult ,contw 
+0x7a8a 026050 force 7 ,regext_index 
+:      026051 sha_regext_save:
+0x7a8b 026052 deposit regext 
+0x7a8c 026053 istore 4 ,contw 
+0x7a8d 026054 increase -1 ,regext_index 
+0x7a8e 026055 branch sha_regext_save ,positive 
+0x7a8f 026056 rtn 
+:      026058 pad_xor:
+0x7a90 026060 arg memdat ,contw 
+0x7a91 026061 increase -4 ,contr 
+0x7a92 026062 sub loopcnt ,16 ,rega 
+:      026063 pad_xor_0:
+0x7a93 026064 ifetch 4 ,contr 
+0x7a94 026065 ixor temp ,pdata 
+0x7a95 026066 istore 4 ,contw 
+0x7a96 026067 increase -8 ,contr 
+0x7a97 026068 loop pad_xor_0 
+0x7a98 026069 copy rega ,loopcnt 
+0x7a99 026070 deposit temp 
+:      026071 pad_xor_1:
+0x7a9a 026072 istore 4 ,contw 
+0x7a9b 026073 loop pad_xor_1 
+0x7a9c 026074 rtn 
+:      026076 g_noninit:
+0x7a9d 026077 arg mem_sp_pubkey_remote_x_end ,contr 
+0x7a9e 026078 arg memdat ,contw 
+0x7a9f 026079 force 6 ,loopcnt 
+0x7aa0 026080 call memcpy_dword_swap 
+0x7aa1 026081 arg mem_sp_pubkey_local_x_end ,contr 
+0x7aa2 026082 force 6 ,loopcnt 
+0x7aa3 026083 call memcpy_dword_swap 
+0x7aa4 026084 arg mem_sp_random_remote_end ,contr 
+0x7aa5 026085 call memcpy_dword_swap4 
+0x7aa6 026086 call sha_init 
+0x7aa7 026087 call sha 
+0x7aa8 026088 arg mem_sp_random_local_end ,contr 
+0x7aa9 026089 arg memdat ,contw 
+0x7aaa 026090 branch g_common 
+:      026092 g_init:
+0x7aab 026093 arg mem_sp_pubkey_local_x_end ,contr 
+0x7aac 026094 arg memdat ,contw 
+0x7aad 026095 force 6 ,loopcnt 
+0x7aae 026096 call memcpy_dword_swap 
+0x7aaf 026097 arg mem_sp_pubkey_remote_x_end ,contr 
+0x7ab0 026098 force 6 ,loopcnt 
+0x7ab1 026099 call memcpy_dword_swap 
+0x7ab2 026100 arg mem_sp_random_local_end ,contr 
+0x7ab3 026101 call memcpy_dword_swap4 
+0x7ab4 026102 call sha_init 
+0x7ab5 026103 call sha 
+0x7ab6 026104 arg mem_sp_random_remote_end ,contr 
+0x7ab7 026105 arg memdat ,contw 
+:      026106 g_common:
+0x7ab8 026107 call memcpy_dword_swap4 
+0x7ab9 026108 setarg 0x800000 
+0x7aba 026109 lshift8 pdata ,pdata 
+0x7abb 026110 istore 4 ,contw 
+0x7abc 026111 force 5 ,loopcnt 
+0x7abd 026112 call memset0 
+0x7abe 026113 setarg 640 
+0x7abf 026114 istore 4 ,contw 
+0x7ac0 026115 call sha 
+0x7ac1 026117 fetch 4 ,memresult 
+0x7ac2 026119 arg 1000 ,rega 
+0x7ac3 026120 idiv rega 
+0x7ac4 026121 call wait_div_end 
+0x7ac5 026122 remainder pdata 
+0x7ac6 026123 store 4 ,mem_sp_gkey 
+0x7ac7 026124 quotient pdata 
+0x7ac8 026125 arg 1000 ,rega 
+0x7ac9 026126 idiv rega 
+0x7aca 026127 call wait_div_end 
+0x7acb 026128 remainder pdata 
+0x7acc 026129 arg 1000 ,rega 
+0x7acd 026130 imul32 rega ,pdata 
+0x7ace 026131 fetcht 4 ,mem_sp_gkey 
+0x7acf 026132 iadd temp ,pdata 
+0x7ad0 026133 store 4 ,mem_sp_gkey 
+0x7ad1 026134 rtn 
+:      026136 function_f1:
+0x7ad2 026137 setarg 0x363636 
+0x7ad3 026138 lshift8 pdata ,temp 
+0x7ad4 026139 or_into 0x36 ,temp 
+0x7ad5 026140 fetch 2 ,mem_sp_prarm_stack 
+0x7ad6 026141 copy pdata ,contr 
+0x7ad7 026142 force 4 ,loopcnt 
+0x7ad8 026143 call pad_xor 
+0x7ad9 026144 call sha_init 
+0x7ada 026145 call sha 
+0x7adb 026146 fetch 2 ,mem_sp_prarm_stack + 2 
+0x7adc 026147 copy pdata ,contr 
+0x7add 026148 arg memdat ,contw 
+0x7ade 026149 force 6 ,loopcnt 
+0x7adf 026150 call memcpy_dword_swap 
+0x7ae0 026151 fetch 2 ,mem_sp_prarm_stack + 4 
+0x7ae1 026152 copy pdata ,contr 
+0x7ae2 026153 force 6 ,loopcnt 
+0x7ae3 026154 call memcpy_dword_swap 
+0x7ae4 026155 setarg 0x800000 
+0x7ae5 026156 istore 3 ,contw 
+0x7ae6 026157 force 0 ,pdata 
+0x7ae7 026158 istore 1 ,contw 
+0x7ae8 026159 force 0 ,pdata 
+0x7ae9 026160 istore 8 ,contw 
+0x7aea 026161 setarg 0x0388 
+0x7aeb 026162 istore 4 ,contw 
+0x7aec 026163 call sha 
+0x7aed 026164 call sha_result 
+0x7aee 026165 arg memresult ,contr 
+0x7aef 026166 arg memahsave ,contw 
+0x7af0 026167 call memcpy32 
+0x7af1 026169 setarg 0x5c5c5c 
+0x7af2 026170 lshift8 pdata ,temp 
+0x7af3 026171 or_into 0x5c ,temp 
+0x7af4 026172 fetch 2 ,mem_sp_prarm_stack 
+0x7af5 026173 copy pdata ,contr 
+0x7af6 026174 force 4 ,loopcnt 
+0x7af7 026175 call pad_xor 
+0x7af8 026176 call sha_init 
+0x7af9 026177 call sha 
+0x7afa 026178 arg memahsave_end ,contr 
+0x7afb 026179 arg memdat ,contw 
+0x7afc 026180 force 8 ,loopcnt 
+0x7afd 026181 call memcpy_dword_swap 
+0x7afe 026182 setarg 0x800000 
+0x7aff 026183 lshift8 pdata ,pdata 
+0x7b00 026184 istore 4 ,contw 
+0x7b01 026185 call bn_zero 
+0x7b02 026186 setarg 0x0300 
+0x7b03 026187 istore 4 ,contw 
+0x7b04 026188 call sha 
+0x7b05 026189 branch sha_result 
+:      026192 function_f2:
+0x7b06 026193 setarg 0x363636 
+0x7b07 026194 lshift8 pdata ,temp 
+0x7b08 026195 or_into 0x36 ,temp 
+0x7b09 026196 arg mem_sp_dhkey_end ,contr 
+0x7b0a 026197 force 6 ,loopcnt 
+0x7b0b 026198 call pad_xor 
+0x7b0c 026199 call sha_init 
+0x7b0d 026200 call sha 
+0x7b0e 026201 fetch 2 ,mem_sp_prarm_stack + 12 
+0x7b0f 026202 copy pdata ,contr 
+0x7b10 026203 arg memdat ,contw 
+0x7b11 026204 call memcpy_dword_swap4 
+0x7b12 026205 fetch 2 ,mem_sp_prarm_stack + 14 
+0x7b13 026206 copy pdata ,contr 
+0x7b14 026207 call memcpy_dword_swap4 
+0x7b15 026209 setarg 0x62746c 
+0x7b16 026210 lshift8 pdata ,pdata 
+0x7b17 026211 or_into 0x6b ,pdata 
+0x7b18 026212 istore 4 ,contw 
+0x7b19 026213 arg mem_addr_value_end ,contr 
+0x7b1a 026214 force 3 ,loopcnt 
+0x7b1b 026215 call memcpy_dword_swap 
+0x7b1c 026217 setarg 0x800000 
+0x7b1d 026218 lshift8 pdata ,pdata 
+0x7b1e 026219 istore 4 ,contw 
+0x7b1f 026220 force 0 ,pdata 
+0x7b20 026221 istore 8 ,contw 
+0x7b21 026222 setarg 0x0380 
+0x7b22 026223 istore 4 ,contw 
+0x7b23 026224 call sha 
+0x7b24 026226 call sha_result 
+0x7b25 026227 arg memresult ,contr 
+0x7b26 026228 arg memahsave ,contw 
+0x7b27 026229 call memcpy32 
+0x7b28 026231 setarg 0x5c5c5c 
+0x7b29 026232 lshift8 pdata ,temp 
+0x7b2a 026233 or_into 0x5c ,temp 
+0x7b2b 026234 arg mem_sp_dhkey_end ,contr 
+0x7b2c 026235 force 6 ,loopcnt 
+0x7b2d 026236 call pad_xor 
+0x7b2e 026237 call sha_init 
+0x7b2f 026238 call sha 
+0x7b30 026239 arg memahsave_end ,contr 
+0x7b31 026240 arg memdat ,contw 
+0x7b32 026241 force 8 ,loopcnt 
+0x7b33 026242 call memcpy_dword_swap 
+0x7b34 026243 setarg 0x800000 
+0x7b35 026244 lshift8 pdata ,pdata 
+0x7b36 026245 istore 4 ,contw 
+0x7b37 026246 call bn_zero 
+0x7b38 026247 setarg 0x0300 
+0x7b39 026248 istore 4 ,contw 
+0x7b3a 026249 call sha 
+0x7b3b 026250 branch sha_result 
+:      026253 function_f3a:
+0x7b3c 026254 setarg 0x363636 
+0x7b3d 026255 lshift8 pdata ,temp 
+0x7b3e 026256 or_into 0x36 ,temp 
+0x7b3f 026257 arg mem_sp_dhkey_end ,contr 
+0x7b40 026258 force 6 ,loopcnt 
+0x7b41 026259 call pad_xor 
+0x7b42 026260 call sha_init 
+0x7b43 026261 call sha 
+0x7b44 026262 arg mem_sp_random_remote_end ,contr 
+0x7b45 026263 arg memdat ,contw 
+0x7b46 026264 call memcpy_dword_swap4 
+0x7b47 026265 arg mem_sp_random_local_end ,contr 
+0x7b48 026266 call memcpy_dword_swap4 
+0x7b49 026267 branch function_f3b_common 
+:      026269 function_f3b:
+0x7b4a 026270 setarg 0x363636 
+0x7b4b 026271 lshift8 pdata ,temp 
+0x7b4c 026272 or_into 0x36 ,temp 
+0x7b4d 026273 arg mem_sp_dhkey_end ,contr 
+0x7b4e 026274 force 6 ,loopcnt 
+0x7b4f 026275 call pad_xor 
+0x7b50 026276 call sha_init 
+0x7b51 026277 call sha 
+0x7b52 026279 arg mem_sp_random_local_end ,contr 
+0x7b53 026280 arg memdat ,contw 
+0x7b54 026281 call memcpy_dword_swap4 
+0x7b55 026282 arg mem_sp_random_remote_end ,contr 
+0x7b56 026283 call memcpy_dword_swap4 
+:      026284 function_f3b_common:
+0x7b57 026285 setarg 0x0 
+0x7b58 026286 istore 8 ,contw 
+0x7b59 026287 istore 8 ,contw 
+0x7b5a 026289 copy contw ,temp 
+0x7b5b 026290 jam 0x80 ,mem_addr_padding 
+0x7b5c 026291 copy temp ,contw 
+0x7b5d 026292 arg mem_addr_iocap_end ,contr 
+0x7b5e 026293 call memcpy_dword_swap4 
+0x7b5f 026295 call sha 
+0x7b60 026297 arg memdat ,contw 
+0x7b61 026298 force 7 ,loopcnt 
+0x7b62 026299 call memset0 
+0x7b63 026300 istore 4 ,contw 
+0x7b64 026301 setarg 0x03F8 
+0x7b65 026302 istore 4 ,contw 
+0x7b66 026303 call sha 
+0x7b67 026304 call sha_result 
+0x7b68 026306 arg memresult ,contr 
+0x7b69 026307 arg memahsave ,contw 
+0x7b6a 026308 call memcpy32 
+0x7b6b 026310 setarg 0x5c5c5c 
+0x7b6c 026311 lshift8 pdata ,temp 
+0x7b6d 026312 or_into 0x5c ,temp 
+0x7b6e 026313 arg mem_sp_dhkey_end ,contr 
+0x7b6f 026314 force 6 ,loopcnt 
+0x7b70 026315 call pad_xor 
+0x7b71 026316 call sha_init 
+0x7b72 026317 call sha 
+0x7b73 026318 arg memahsave_end ,contr 
+0x7b74 026319 arg memdat ,contw 
+0x7b75 026320 force 8 ,loopcnt 
+0x7b76 026321 call memcpy_dword_swap 
+0x7b77 026322 setarg 0x800000 
+0x7b78 026323 lshift8 pdata ,pdata 
+0x7b79 026324 istore 4 ,contw 
+0x7b7a 026325 call bn_zero 
+0x7b7b 026326 setarg 0x0300 
+0x7b7c 026327 istore 4 ,contw 
+0x7b7d 026328 call sha 
+0x7b7e 026329 branch sha_result 
+:      026336 eckp_calc_init:
+0x7b7f 026337 jam 192 ,mem_ec_loopc 
+:      026338 eckp_calc_init_1:
+0x7b80 026339 fetch 1 ,mem_ec_loopc 
+0x7b81 026340 rtn blank 
+0x7b82 026341 increase -1 ,pdata 
+0x7b83 026342 store 1 ,mem_ec_loopc 
+0x7b84 026343 arg mem_k ,contr 
+0x7b85 026344 call bn_testbit 
+0x7b86 026345 branch eckp_calc_init_1 ,true 
+0x7b87 026346 arg mem_ax ,contr 
+0x7b88 026347 arg mem_cx ,contw 
+0x7b89 026348 branch ec_copy 
+:      026350 eckp_calc:
+0x7b8a 026351 call ecdbl 
+0x7b8b 026352 fetch 1 ,mem_ec_loopc 
+0x7b8c 026353 increase -1 ,pdata 
+0x7b8d 026354 store 1 ,mem_ec_loopc 
+0x7b8e 026355 arg mem_k ,contr 
+0x7b8f 026356 call bn_testbit 
+0x7b90 026357 rtn true 
+0x7b91 026358 branch ecadd 
+:      026360 eckp_cp_1:
+0x7b92 026361 jam 0 ,mem_ec_infinite 
+0x7b93 026362 arg mem_ax ,contr 
+0x7b94 026363 arg mem_cx ,contw 
+0x7b95 026364 branch ec_copy 
+:      026366 memcpy_dword_swap4:
+0x7b96 026367 force 4 ,loopcnt 
+:      026368 memcpy_dword_swap:
+0x7b97 026369 increase -4 ,contr 
+:      026370 memcpy_dword_swap_loop:
+0x7b98 026371 ifetch 4 ,contr 
+0x7b99 026372 istore 4 ,contw 
+0x7b9a 026373 increase -8 ,contr 
+0x7b9b 026374 loop memcpy_dword_swap_loop 
+0x7b9c 026375 rtn 
+:      026378 ui_init:
+0x7b9d 026379 rtn wake 
+0x7b9e 026380 call ui_button_init 
+0x7b9f 026381 call ui_timer_init 
+0x7ba0 026382 branch ui_led_init 
+:      026384 ui_dispatch:
+0x7ba1 026385 fetch 1 ,mem_device_option 
+0x7ba2 026386 rtneq dvc_op_hci 
+0x7ba3 026387 call ui_led_blink_polling 
+0x7ba4 026389 branch ui_timer_check 
+:      026391 ui_button_init:
+0x7ba5 026392 fetch 1 ,mem_ui_button_gpio 
+0x7ba6 026393 rtneq ui_button_gpio_disable 
+0x7ba7 026394 iforce temp 
+0x7ba8 026395 call gpio_config_output 
+0x7ba9 026396 fetcht 1 ,mem_ui_button_gpio 
+0x7baa 026397 call gpio_out_inactive 
+0x7bab 026398 nop 100 
+0x7bac 026399 fetcht 1 ,mem_ui_button_gpio 
+0x7bad 026400 call gpio_config_input 
+0x7bae 026401 branch ui_button_polling 
+:      026403 ui_button_disable:
+0x7baf 026404 jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0x7bb0 026405 rtn 
+:      026407 ui_button_polling:
+0x7bb1 026408 set1 mark_ext_patch ,mark 
+0x7bb2 026409 bpatch patch30_5 ,mem_patch30 
+0x7bb3 026410 fetch 1 ,mem_ui_button_gpio 
+0x7bb4 026411 rtneq ui_button_gpio_disable 
+0x7bb5 026412 copy pdata ,temp 
+0x7bb6 026413 call gpio_get_bit 
+0x7bb7 026414 nbranch ui_button_up ,true 
+:      026416 ui_button_down:
+0x7bb8 026417 call ui_button_check_long_press 
+0x7bb9 026418 fetch 2 ,mem_ui_state_map 
+0x7bba 026419 set1 ui_state_btn_down 
+0x7bbb 026420 store 2 ,mem_ui_state_map 
+0x7bbc 026421 fetch 1 ,mem_ui_button_last_state 
+0x7bbd 026422 rtneq ui_button_state_down 
+0x7bbe 026423 jam ui_button_state_down ,mem_ui_button_last_state 
+0x7bbf 026425 fetch 1 ,mem_ui_button_timeout 
+0x7bc0 026426 store 1 ,mem_ui_button_timer 
+0x7bc1 026427 call lpm_button_get_wake_lock 
+0x7bc2 026428 jam bt_evt_button_down ,mem_fifo_temp 
+0x7bc3 026429 branch ui_ipc_send_event 
+:      026430 ui_button_up:
+0x7bc4 026431 fetch 2 ,mem_ui_state_map 
+0x7bc5 026432 set0 ui_state_btn_down 
+0x7bc6 026433 store 2 ,mem_ui_state_map 
+0x7bc7 026434 fetch 1 ,mem_ui_button_last_state 
+0x7bc8 026435 rtneq ui_button_state_up 
+0x7bc9 026436 jam ui_button_state_up ,mem_ui_button_last_state 
+0x7bca 026438 jam 0 ,mem_ui_button_timer 
+0x7bcb 026439 call lpm_button_clean_wake_lock 
+0x7bcc 026440 jam bt_evt_button_up ,mem_fifo_temp 
+0x7bcd 026441 branch ui_ipc_send_event 
+:      026443 ui_button_check_long_press:
+0x7bce 026444 fetch 1 ,mem_ui_button_timer 
+0x7bcf 026445 rtn blank 
+0x7bd0 026446 increase -1 ,pdata 
+0x7bd1 026447 store 1 ,mem_ui_button_timer 
+0x7bd2 026448 nrtn blank 
+0x7bd3 026450 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+0x7bd4 026451 branch ui_ipc_send_event 
+:      026453 lpm_button_get_wake_lock:
+0x7bd5 026454 arg wake_lock_button ,queue 
+0x7bd6 026455 branch lpm_get_wake_lock 
+:      026457 lpm_button_clean_wake_lock:
+0x7bd7 026458 arg wake_lock_button ,queue 
+0x7bd8 026459 branch lpm_put_wake_lock 
+:      026461 ui_led_init:
+0x7bd9 026462 fetch 1 ,mem_led_gpio 
+0x7bda 026463 rtneq ui_button_gpio_disable 
+0x7bdb 026464 iforce temp 
+0x7bdc 026465 call gpio_config_output 
+0x7bdd 026466 branch ui_led_off 
+:      026468 ui_led_blink_stop:
+0x7bde 026469 fetch 2 ,mem_ui_state_map 
+0x7bdf 026470 set0 ui_state_led_blink 
+0x7be0 026471 store 2 ,mem_ui_state_map 
+0x7be1 026472 jam ui_led_stop ,mem_led_switch 
+:      026473 ui_led_off:
+0x7be2 026474 fetch 2 ,mem_ui_state_map 
+0x7be3 026475 set0 ui_state_led_on 
+0x7be4 026476 store 2 ,mem_ui_state_map 
+0x7be5 026477 fetcht 1 ,mem_led_gpio 
+0x7be6 026478 branch gpio_out_inactive 
+:      026480 ui_led_on:
+0x7be7 026481 fetch 2 ,mem_ui_state_map 
+0x7be8 026482 set1 ui_state_led_on 
+0x7be9 026483 store 2 ,mem_ui_state_map 
+0x7bea 026484 jam ui_led_stop ,mem_led_switch 
+0x7beb 026485 fetcht 1 ,mem_led_gpio 
+0x7bec 026486 branch gpio_out_active 
+:      026488 ui_led_blink_start:
+0x7bed 026489 fetch 2 ,mem_ui_state_map 
+0x7bee 026490 set1 ui_state_led_blink 
+0x7bef 026491 store 2 ,mem_ui_state_map 
+0x7bf0 026492 jam ui_led_start ,mem_led_switch 
+0x7bf1 026493 rtn 
+:      026495 ui_led_blink_polling:
+0x7bf2 026496 set1 mark_ext_patch ,mark 
+0x7bf3 026497 bpatch patch30_6 ,mem_patch30 
+0x7bf4 026498 fetch 1 ,mem_led_switch 
+0x7bf5 026499 rtneq ui_led_stop 
+0x7bf6 026500 arg ui_led_blink ,queue 
+0x7bf7 026501 call timer_check 
+0x7bf8 026502 nrtn blank 
+0x7bf9 026503 fetch 1 ,mem_led_switch 
+0x7bfa 026504 beq ui_led_dark_time ,ui_led_blink_polling_dark 
+0x7bfb 026505 call ui_led_on 
+0x7bfc 026506 jam ui_led_dark_time ,mem_led_switch 
+0x7bfd 026507 fetch 2 ,mem_led_light_time 
+0x7bfe 026508 branch ui_led_blink_timer_start 
+:      026509 ui_led_blink_polling_dark:
+0x7bff 026510 call ui_led_off 
+0x7c00 026511 jam ui_led_light_time ,mem_led_switch 
+0x7c01 026512 fetch 2 ,mem_led_dark_time 
+:      026513 ui_led_blink_timer_start:
+0x7c02 026514 arg ui_led_blink ,queue 
+0x7c03 026515 branch timer_init 
+:      026518 ui_timer_check:
+0x7c04 026519 set1 mark_ext_patch ,mark 
+0x7c05 026520 bpatch patch30_7 ,mem_patch30 
+0x7c06 026521 arg 0 ,rega 
+0x7c07 026522 fetcht 4 ,mem_ui_timer_last_btclk 
+0x7c08 026523 copy clkn_bt ,regb 
+:      026525 ui_timer_check_loop:
+0x7c09 026526 copy regb ,pdata 
+0x7c0a 026527 increase 160 ,temp 
+0x7c0b 026528 increase 160 ,temp 
+0x7c0c 026529 isub temp ,null 
+0x7c0d 026530 nbranch ui_timer_check_end ,positive 
+0x7c0e 026531 increase 1 ,rega 
+0x7c0f 026532 and rega ,0x0f ,pdata 
+0x7c10 026533 nbranch ui_timer_check_loop ,blank 
+0x7c11 026534 arg 0 ,rega 
+0x7c12 026535 call ui_timer_check_send_evt 
+:      026536 ui_timer_init:
+0x7c13 026537 copy clkn_bt ,pdata 
+0x7c14 026538 store 4 ,mem_ui_timer_last_btclk 
+0x7c15 026539 rtn 
+:      026540 ui_timer_check_end:
+0x7c16 026541 set1 mark_ext_patch ,mark 
+0x7c17 026542 bpatch patch31_0 ,mem_patch31 
+0x7c18 026543 copy rega ,pdata 
+0x7c19 026544 rtn blank 
+0x7c1a 026545 increase -160 ,temp 
+0x7c1b 026546 increase -160 ,temp 
+0x7c1c 026547 storet 4 ,mem_ui_timer_last_btclk 
+:      026548 ui_timer_check_send_evt:
+0x7c1d 026549 increase bt_evt_timer_init ,pdata 
+0x7c1e 026550 store 1 ,mem_fifo_temp 
+0x7c1f 026551 branch ui_ipc_send_event 
+:      026557 ui_ipc_get_lock:
+0x7c20 026558 jam 1 ,mem_ipc_lock_bt 
+:      026559 ui_ipc_get_lock_wait:
+0x7c21 026560 fetch 1 ,mem_ipc_lock_c51 
+0x7c22 026561 nbranch ui_ipc_get_lock_wait ,blank 
+0x7c23 026562 rtn 
+:      026564 ui_ipc_put_lock:
+0x7c24 026565 jam 0 ,mem_ipc_lock_bt 
+0x7c25 026566 rtn 
+:      026568 ui_ipc_fifo_out:
+0x7c26 026569 branch fifo_out 
+:      026573 ui_ipc_send_event:
+0x7c27 026574 set1 mark_ext_patch ,mark 
+0x7c28 026575 bpatch patch31_1 ,mem_patch31 
+0x7c29 026576 fetch 1 ,mem_device_option 
+0x7c2a 026577 rtneq dvc_op_hci 
+0x7c2b 026578 call ui_ipc_get_lock 
+0x7c2c 026579 copy rega ,pdata 
+0x7c2d 026580 store 4 ,mem_ipc_rega_temp 
+0x7c2e 026581 arg mem_ipc_fifo_bt2c51 ,rega 
+0x7c2f 026582 call fifo_in 
+0x7c30 026583 fetch 4 ,mem_ipc_rega_temp 
+0x7c31 026584 copy pdata ,rega 
+0x7c32 026585 branch ui_ipc_put_lock 
+:      026587 ui_ipc_send_cmd:
+0x7c33 026588 set1 mark_ext_patch ,mark 
+0x7c34 026589 bpatch patch31_2 ,mem_patch31 
+0x7c35 026590 fetch 1 ,mem_device_option 
+0x7c36 026591 rtneq dvc_op_hci 
+0x7c37 026592 call ui_ipc_get_lock 
+0x7c38 026593 copy rega ,pdata 
+0x7c39 026594 store 4 ,mem_ipc_rega_temp 
+0x7c3a 026595 arg mem_ipc_fifo_c512bt ,rega 
+0x7c3b 026596 call fifo_in 
+0x7c3c 026597 fetch 4 ,mem_ipc_rega_temp 
+0x7c3d 026598 copy pdata ,rega 
+0x7c3e 026599 branch ui_ipc_put_lock 
+:      026601 ui_ipc_clean_all_fifo:
+0x7c3f 026602 set1 mark_ext_patch ,mark 
+0x7c40 026603 bpatch patch31_3 ,mem_patch31 
+0x7c41 026604 setarg 0 
+0x7c42 026605 store util_fifo_len ,mem_ipc_fifo_c512bt 
+0x7c43 026606 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x7c44 026607 rtn 
+:      026609 check_51cmd:
+0x7c45 026610 set1 mark_ext_patch ,mark 
+0x7c46 026611 bpatch patch31_4 ,mem_patch31 
+0x7c47 026612 fetch 1 ,mem_hci_cmd 
+0x7c48 026613 nrtn blank 
+0x7c49 026614 arg mem_ipc_fifo_c512bt ,rega 
+0x7c4a 026615 call fifo_is_empty 
+0x7c4b 026616 rtn blank 
+0x7c4c 026617 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+0x7c4d 026618 call check_51cmd_once 
+0x7c4e 026619 fetch 1 ,mem_ipc_skip_continue_proc 
+0x7c4f 026620 branch check_51cmd ,blank 
+0x7c50 026621 rtn 
+:      026623 check_51cmd_once:
+0x7c51 026624 set1 mark_ext_patch ,mark 
+0x7c52 026625 bpatch patch31_5 ,mem_patch31 
+0x7c53 026626 call ui_ipc_get_lock 
+0x7c54 026627 arg mem_ipc_fifo_c512bt ,rega 
+0x7c55 026628 call fifo_out 
+0x7c56 026629 copy pdata ,temp 
+0x7c57 026630 call ui_ipc_put_lock 
+0x7c58 026631 copy temp ,pdata 
+0x7c59 026632 rtn blank 
+0x7c5a 026633 beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+0x7c5b 026634 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+0x7c5c 026635 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+0x7c5d 026636 beq bt_cmd_enter_sniff_subrating ,check_51cmd_enter_sniff_subrating 
+0x7c5e 026637 beq bt_cmd_exit_sniff_subrating ,check_51cmd_exit_sniff_subrating 
+0x7c5f 026638 beq bt_cmd_sniff_test ,check_51cmd_sniff_test 
+0x7c60 026639 beq bt_cmd_start_inquiry ,check_51cmd_inq 
+0x7c61 026640 beq bt_cmd_stop_inquiry ,check_51cmd_stop_inq 
+0x7c62 026641 beq bt_cmd_start_adv ,check_51cmd_adv 
+0x7c63 026642 beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+0x7c64 026643 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+0x7c65 026644 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+0x7c66 026645 beq bt_cmd_le_update_conn ,check_51cmd_le_update_conn 
+0x7c67 026646 beq bt_cmd_led_blink ,ui_led_blink_start 
+0x7c68 026647 beq bt_cmd_led_on ,ui_led_on 
+0x7c69 026648 beq bt_cmd_led_off ,ui_led_blink_stop 
+0x7c6a 026649 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+0x7c6b 026650 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+0x7c6c 026651 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+0x7c6d 026652 beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+0x7c6e 026653 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+0x7c6f 026654 beq bt_cmd_le_start_write ,check_51cmd_le_start_write 
+0x7c70 026655 beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+0x7c71 026657 store 1 ,mem_fifo_temp 
+0x7c72 026658 set1 mark_ext_patch ,mark 
+0x7c73 026659 bpatch patch31_6 ,mem_patch31 
+0x7c74 026660 fetch 1 ,mem_lmo_opcode2 
+0x7c75 026661 branch check_51cmd_once_continue ,blank 
+0x7c76 026662 call lmo_fifo_process 
+0x7c77 026663 fetch 1 ,mem_lmo_opcode2 
+0x7c78 026664 nbranch check_51cmd_restore ,blank 
+:      026665 check_51cmd_once_continue:
+0x7c79 026666 fetch 1 ,mem_fifo_temp 
+0x7c7a 026667 bmark0 mark_context ,check_51cmd_check_idle 
+:      026668 check_51cmd_once_continue0:
+0x7c7b 026669 beq bt_cmd_enter_sniff ,cmd_in_sniff 
+0x7c7c 026670 beq bt_cmd_exit_sniff ,cmd_exit_sniff 
+0x7c7d 026671 beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+0x7c7e 026672 beq bt_cmd_disconnect ,check_51cmd_disconnect 
+0x7c7f 026673 beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+0x7c80 026674 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+0x7c81 026675 beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+0x7c82 026676 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+0x7c83 026677 beq bt_cmd_le_update_conn ,bt_cmd_le_update_conn_1 
+0x7c84 026678 rtn 
+:      026681 bt_cmd_le_update_conn_1:
+0x7c85 026682 jam xt_ll_connection_param_req ,mem_fifo_temp 
+0x7c86 026683 branch le_xtype_fifo_in 
+:      026684 check_51cmd_check_idle:
+0x7c87 026685 store 1 ,mem_fifo_temp 
+0x7c88 026686 call context_check_idle 
+0x7c89 026687 branch check_51cmd_restore ,zero 
+0x7c8a 026688 call context_search_plap 
+0x7c8b 026689 nrtn zero 
+:      026690 check_51cmd_restore:
+0x7c8c 026691 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+0x7c8d 026692 branch ui_ipc_send_cmd 
+:      026695 check_51cmd_role_switch:
+0x7c8e 026696 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x7c8f 026697 set1 mark_switch_initiated ,mark 
+0x7c90 026698 nrtn master 
+0x7c91 026699 jam switch_flag_init ,mem_switch_flag 
+0x7c92 026700 jam lmp_switch_req ,mem_lmo_opcode2 
+0x7c93 026701 fetch 1 ,mem_connection_options 
+0x7c94 026702 set0 connection_switch ,pdata 
+0x7c95 026703 store 1 ,mem_connection_options 
+0x7c96 026704 rtn 
+:      026706 check_51cmd_start_discovery:
+0x7c97 026707 fetch 2 ,mem_ui_state_map 
+0x7c98 026708 set1 ui_state_bt_discovery 
+0x7c99 026709 store 2 ,mem_ui_state_map 
+0x7c9a 026710 jam 3 ,mem_scan_mode 
+0x7c9b 026711 rtn 
+:      026713 check_51cmd_stop_discovery:
+0x7c9c 026714 jam 0 ,mem_hid_handshake_timer_count 
+0x7c9d 026715 jam 0 ,mem_scan_mode 
+0x7c9e 026716 fetch 2 ,mem_ui_state_map 
+0x7c9f 026717 set0 ui_state_bt_discovery 
+0x7ca0 026718 store 2 ,mem_ui_state_map 
+0x7ca1 026719 rtn 
+:      026721 check_51cmd_reconnect:
+0x7ca2 026722 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x7ca3 026723 rtn 
+:      026725 check_51cmd_disconnect:
+0x7ca4 026726 jam lmp_detach ,mem_lmo_opcode2 
+0x7ca5 026727 jam other_end_terminated ,mem_disconn_reason_send 
+0x7ca6 026728 rtn 
+:      026731 check_51cmd_enter_sniff_subrating:
+0x7ca7 026732 rtn 
+:      026734 check_51cmd_exit_sniff_subrating:
+0x7ca8 026735 rtn 
+:      026737 check_51cmd_sniff_test:
+0x7ca9 026738 rtn 
+:      026740 check_51cmd_pincode:
+0x7caa 026741 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x7cab 026742 branch cmd_pair 
+:      026744 check_51cmd_inq:
+0x7cac 026745 rtn 
+:      026746 check_51cmd_stop_inq:
+0x7cad 026747 rtn 
+:      026748 check_51cmd_adv:
+0x7cae 026749 jam on ,mem_le_adv_enable 
+0x7caf 026750 jam adv_ind ,mem_le_adv_type 
+0x7cb0 026751 rtn 
+:      026752 check_51cmd_stop_adv:
+0x7cb1 026753 jam off ,mem_le_adv_enable 
+0x7cb2 026754 rtn 
+:      026755 check_51cmd_direct_adv:
+0x7cb3 026756 jam on ,mem_le_adv_enable 
+0x7cb4 026757 jam adv_direct_ind ,mem_le_adv_type 
+0x7cb5 026758 rtn 
+:      026759 check_51cmd_stop_direct_adv:
+0x7cb6 026760 jam off ,mem_le_adv_enable 
+0x7cb7 026761 rtn 
+:      026762 check_51cmd_le_disconnect:
+0x7cb8 026763 setarg 1 
+0x7cb9 026764 store 2 ,mem_le_superto 
+0x7cba 026765 rtn 
+:      026766 check_51cmd_le_update_conn:
+0x7cbb 026767 rtn 
+:      026768 check_51cmd_le_start_con:
+0x7cbc 026769 jam on ,mem_le_scan_enable 
+0x7cbd 026770 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x7cbe 026771 fetch 6 ,mem_app_peer_addr 
+0x7cbf 026772 store 6 ,mem_le_conn_peer_addr 
+0x7cc0 026773 rtn 
+:      026774 check_51cmd_start_scan:
+0x7cc1 026775 jam on ,mem_le_scan_enable 
+0x7cc2 026776 rtn 
+:      026777 check_51cmd_stop_scan:
+0x7cc3 026778 jam off ,mem_le_scan_enable 
+0x7cc4 026779 jam 0 ,mem_hci_cmd 
+0x7cc5 026780 rtn 
+:      026781 check_51cmd_le_smp_sec_req:
+0x7cc6 026782 jam xt_smp_security_request ,mem_fifo_temp 
+0x7cc7 026783 branch le_xtype_fifo_in 
+:      026784 check_51cmd_hibernate:
+0x7cc8 026785 set1 mark_ext_patch ,mark 
+0x7cc9 026786 bpatch patch31_7 ,mem_patch31 
+0x7cca 026787 fetch 2 ,mem_cb_before_hibernate 
+0x7ccb 026788 call callback_func 
+0x7ccc 026789 fetch 1 ,mem_ui_button_gpio 
+0x7ccd 026790 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+0x7cce 026791 copy pdata ,temp 
+0x7ccf 026792 call gpio_config_input 
+:      026793 check_51cmd_hibernate_btn_disabled:
+0x7cd0 026794 call ui_led_off 
+0x7cd1 026795 call ui_ipc_clean_all_fifo 
+0x7cd2 026796 branch lpm_hibernate 
+:      026798 check_51cmd_le_start_write:
+0x7cd3 026799 jam 1 ,mem_le_switch_send_data 
+0x7cd4 026800 rtn 
+:      026802 check_51cmd_bb_reconn_cancel:
+0x7cd5 026803 force page_length_timer ,queue 
+0x7cd6 026804 branch timer_stop 
+:      026806 ui_check_paring_button:
+0x7cd7 026807 fetch 1 ,mem_ui_state_map 
+0x7cd8 026808 rtnbit0 ui_state_btn_down 
+0x7cd9 026809 rtnbit0 ui_state_bt_reconnect 
+0x7cda 026810 branch check_51cmd_bb_reconn_cancel 
+:      026814 usb_isr:
+0x7cdb 026815 set1 mark_ext_patch ,mark 
+0x7cdc 026816 bpatch patch3a_5 ,mem_patch3a 
+0x7cdd 026817 call usb_tx_test 
+0x7cde 026818 hfetch 1 ,core_usb_status 
+0x7cdf 026819 store 1 ,mem_usb_status 
+0x7ce0 026820 hfetch 1 ,core_usb_fifo_empty 
+0x7ce1 026821 store 1 ,mem_usb_fifo_empty 
+0x7ce2 026822 hjam 0xe0 ,core_usb_status 
+0x7ce3 026823 fetch 1 ,mem_usb_fifo_empty 
+0x7ce4 026824 compare 0x1 ,pdata ,0x1 
+0x7ce5 026825 call usb0_fifo_empty ,true 
+0x7ce6 026826 set1 mark_ext_patch ,mark 
+0x7ce7 026827 bpatch patch3a_6 ,mem_patch3a 
+0x7ce8 026828 fetch 1 ,mem_usb_status 
+0x7ce9 026829 compare 0x1 ,pdata ,0x1 
+0x7cea 026830 call usb_status1 ,true 
+0x7ceb 026831 fetch 1 ,mem_usb_state 
+0x7cec 026832 bne usb_connected ,usb_tx 
+0x7ced 026833 fetch 2 ,mem_usb_idle_cnt 
+0x7cee 026834 increase 1 ,pdata 
+0x7cef 026835 store 2 ,mem_usb_idle_cnt 
+0x7cf0 026836 fetcht 2 ,mem_usb_idle_timeout 
+0x7cf1 026837 isub temp ,null 
+0x7cf2 026838 branch usb_init ,positive 
+0x7cf3 026839 fetch 1 ,mem_usb_status 
+0x7cf4 026840 bbit0 usb_status_nak ,usb_tx 
+0x7cf5 026841 setarg 0 
+0x7cf6 026842 store 2 ,mem_usb_idle_cnt 
+0x7cf7 026843 branch usb_tx 
+:      026846 usb_status1:
+0x7cf8 026847 set1 mark_ext_patch ,mark 
+0x7cf9 026848 bpatch patch3a_7 ,mem_patch3a 
+0x7cfa 026849 hjam 0x11 ,core_usb_status 
+0x7cfb 026850 hfetch 1 ,core_usb_ep_len 
+0x7cfc 026851 store 1 ,mem_usb_read_len 
+0x7cfd 026852 copy pdata ,loopcnt 
+0x7cfe 026853 branch usb_rx_no_data ,blank 
+0x7cff 026854 arg mem_usb_setup ,contw 
+0x7d00 026855 call usb_rx_read 
+0x7d01 026856 fetch 1 ,mem_usb_read_len 
+0x7d02 026857 sub pdata ,7 ,null 
+0x7d03 026858 rtn positive 
+:      026859 usb_class_type:
+0x7d04 026860 set1 mark_ext_patch ,mark 
+0x7d05 026861 bpatch patch3b_0 ,mem_patch3b 
+0x7d06 026862 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7d07 026863 beq hci_class_request_type ,usb_hci_class_req_type 
+0x7d08 026864 beq hid_class_request_type ,usb_hid_class_req_type 
+0x7d09 026865 beq zero_class_request_type ,usb_zero_class_req_type 
+0x7d0a 026866 fetch 1 ,mem_usb_setup_brequest 
+0x7d0b 026867 beq set_address ,usb0_request_set_address 
+0x7d0c 026868 beq get_descriptor ,usb0_request_get_descriptor 
+0x7d0d 026869 beq set_configuration ,usb0_request_set_configuration 
+0x7d0e 026870 beq set_interface ,usb0_request_set_interface 
+0x7d0f 026871 branch usb0_force_stall 
+:      026873 usb_zero_class_req_type:
+0x7d10 026874 fetch 1 ,mem_usb_setup_brequest 
+0x7d11 026875 beq clear_feature ,usb0_request_clear_feature 
+0x7d12 026876 beq set_feature ,usb0_request_set_feature 
+0x7d13 026877 beq set_configuration ,usb0_reply_zerolen 
+0x7d14 026878 beq set_address ,usb0_request_set_address 
+0x7d15 026879 branch usb0_force_stall 
+:      026880 usb_hci_class_req_type:
+0x7d16 026881 call usb0_reply_zerolen 
+0x7d17 026882 rtn 
+:      026884 usb_rx_no_data:
+0x7d18 026885 fetch 1 ,mem_usb_status 
+0x7d19 026886 bbit1 usb_status_setup ,usb_class_type 
+0x7d1a 026887 rtn 
+:      026888 usb_set_protocol_req:
+0x7d1b 026889 fetch 1 ,mem_usb_set_protocol_count 
+0x7d1c 026890 increase 1 ,pdata 
+0x7d1d 026891 store 1 ,mem_usb_set_protocol_count 
+0x7d1e 026892 compare 2 ,pdata ,0xff 
+0x7d1f 026893 nbranch usb0_reply_zerolen ,true 
+0x7d20 026894 jam 1 ,mem_usb_desc 
+0x7d21 026895 branch usb0_reply_zerolen 
+:      026896 usb_hid_class_req_type:
+0x7d22 026897 fetch 1 ,mem_usb_setup_brequest 
+0x7d23 026898 beq set_idle ,usb_set_idle 
+0x7d24 026899 beq set_report ,usb_set_report 
+0x7d25 026900 beq set_protocol ,usb_set_protocol_req 
+0x7d26 026901 branch usb0_force_stall 
+:      026902 usb_set_idle:
+0x7d27 026903 fetch 1 ,mem_usb_state 
+0x7d28 026904 beq usb_setidle_1 ,usb_set_idle_connected 
+0x7d29 026905 bne usb_resume ,usb0_reply_zerolen 
+0x7d2a 026906 jam usb_setidle_1 ,mem_usb_state 
+0x7d2b 026907 branch usb0_reply_zerolen 
+:      026908 usb_set_idle_connected:
+0x7d2c 026909 jam usb_connected ,mem_usb_state 
+0x7d2d 026910 branch usb0_reply_zerolen 
+:      026912 usb_set_report:
+0x7d2e 026913 jam 1 ,mem_usb_desc 
+0x7d2f 026914 arg mem_usb_desc ,rega 
+0x7d30 026915 arg 1 ,regb 
+0x7d31 026916 branch usb0_respond 
+:      026917 usb0_force_stall:
+0x7d32 026918 hjam 1 ,core_usb_stall 
+0x7d33 026919 rtn 
+:      026920 usb0_reply_zerolen:
+0x7d34 026921 hjam 0x40 ,core_usb_clear 
+0x7d35 026922 rtn 
+:      026924 usb_rx_read:
+0x7d36 026925 hfetch 1 ,core_usb_ep 
+0x7d37 026926 istore 1 ,contw 
+0x7d38 026927 loop usb_rx_read 
+0x7d39 026928 rtn 
+:      026930 usb0_fifo_empty:
+0x7d3a 026931 hjam 0x1 ,core_usb_fifo_empty 
+0x7d3b 026932 call usb0_tx 
+0x7d3c 026933 rtn 
+:      026935 usb0_request_get_descriptor:
+0x7d3d 026936 set1 mark_ext_patch ,mark 
+0x7d3e 026937 bpatch patch3b_1 ,mem_patch3b 
+0x7d3f 026938 set0 mark_isstr ,mark 
+0x7d40 026939 fetch 1 ,mem_usb_setup_bvalueh 
+0x7d41 026940 beq dsc_device ,dsc_device_info 
+0x7d42 026941 beq dsc_config ,dsc_config_info 
+0x7d43 026942 beq dsc_string ,dsc_string_info 
+0x7d44 026943 beq dsc_hid ,dsc_hid_info 
+0x7d45 026944 beq dsc_hid_report ,dsc_hid_report_info 
+0x7d46 026945 rtn 
+:      026947 dsc_device_info:
+0x7d47 026948 arg mem_devicedesc ,rega 
+0x7d48 026949 branch usb0_respond_length 
+:      026950 dsc_config_info:
+0x7d49 026951 arg mem_confdesc ,rega 
+0x7d4a 026952 branch usb0_respond_length 
+:      026953 dsc_string_info:
+0x7d4b 026954 fetch 1 ,mem_usb_setup_bvalue 
+0x7d4c 026955 and_into 3 ,pdata 
+0x7d4d 026956 arg mem_string0 ,rega 
+0x7d4e 026957 beq 0 ,usb0_respond_length 
+0x7d4f 026958 set1 mark_isstr ,mark 
+0x7d50 026959 arg mem_string1 ,rega 
+0x7d51 026960 beq 1 ,usb0_respond_length 
+0x7d52 026961 arg mem_string2 ,rega 
+0x7d53 026962 beq 2 ,usb0_respond_length 
+0x7d54 026963 arg mem_string3 ,rega 
+0x7d55 026964 beq 3 ,usb0_respond_length 
+0x7d56 026965 branch assert 
+:      026966 dsc_hid_info:
+0x7d57 026967 arg mem_confdesc + 18 ,rega 
+0x7d58 026968 fetch 1 ,mem_confdesc + 18 
+0x7d59 026969 copy pdata ,regb 
+0x7d5a 026970 branch usb0_respond 
+:      026971 dsc_hid_report_info:
+0x7d5b 026972 fetch 2 ,mem_usb_setup_windex 
+0x7d5c 026973 beq 1 ,dsc_hid_report_info0 
+0x7d5d 026974 arg mem_hidreportdesc_kb ,rega 
+0x7d5e 026975 branch usb0_respond_length 
+:      026976 dsc_hid_report_info0:
+0x7d5f 026977 jam usb_got_report_req ,mem_usb_state 
+0x7d60 026978 arg mem_hidreportdesc_m ,rega 
+0x7d61 026979 branch usb0_respond_length 
+:      026981 usb0_respond_length:
+0x7d62 026982 ifetch 1 ,rega 
+0x7d63 026983 iforce regb 
+0x7d64 026984 increase 1 ,rega 
+:      026987 usb0_respond:
+0x7d65 026988 set1 mark_ext_patch ,mark 
+0x7d66 026989 bpatch patch3b_2 ,mem_patch3b 
+0x7d67 026990 bmark0 mark_isstr ,usb0_respond0 
+0x7d68 026991 add regb ,1 ,pdata 
+0x7d69 026992 lshift pdata ,pdata 
+0x7d6a 026993 hstore 1 ,core_usb_dfifo0 
+0x7d6b 026994 hjam 3 ,core_usb_dfifo0 
+0x7d6c 026995 fetch 1 ,mem_usb_setup_blength 
+0x7d6d 026996 increase -2 ,pdata 
+0x7d6e 026997 rshift pdata ,pdata 
+0x7d6f 026998 store 1 ,mem_usb_setup_blength 
+0x7d70 026999 beq 0 ,usb_no_respond_data 
+:      027000 usb0_respond0:
+0x7d71 027001 fetch 1 ,mem_usb_setup_blength 
+0x7d72 027002 isub regb ,null 
+0x7d73 027003 branch usb0_respond1 ,positive 
+0x7d74 027004 copy pdata ,regb 
+:      027005 usb0_respond1:
+0x7d75 027006 copy rega ,pdata 
+0x7d76 027007 store 2 ,mem_bufptr 
+0x7d77 027008 copy regb ,pdata 
+0x7d78 027009 store 1 ,mem_remain 
+0x7d79 027010 branch usb0_tx 
+:      027012 usb_no_respond_data:
+0x7d7a 027013 arg 0 ,queue 
+0x7d7b 027014 branch usb_trig 
+:      027018 usb0_tx:
+0x7d7c 027019 set1 mark_ext_patch ,mark 
+0x7d7d 027020 bpatch patch3b_3 ,mem_patch3b 
+0x7d7e 027021 fetch 1 ,mem_remain 
+0x7d7f 027022 rtn blank 
+0x7d80 027023 copy pdata ,loopcnt 
+0x7d81 027024 sub pdata ,ep0_packet_size ,null 
+0x7d82 027025 branch usb0_tx_info ,positive 
+0x7d83 027026 arg ep0_packet_size ,loopcnt 
+:      027027 usb0_tx_info:
+0x7d84 027028 fetch 1 ,mem_remain 
+0x7d85 027029 isub loopcnt ,pdata 
+0x7d86 027030 store 1 ,mem_remain 
+0x7d87 027031 fetch 2 ,mem_bufptr 
+0x7d88 027032 copy pdata ,contr 
+:      027033 usb0_tx0:
+0x7d89 027034 ifetch 1 ,contr 
+0x7d8a 027035 hstore 1 ,core_usb_dfifo0 
+0x7d8b 027036 bmark0 mark_isstr ,usb0_tx1 
+0x7d8c 027037 hjam 0 ,core_usb_dfifo0 
+:      027038 usb0_tx1:
+0x7d8d 027039 loop usb0_tx0 
+0x7d8e 027040 copy contr ,pdata 
+0x7d8f 027041 store 2 ,mem_bufptr 
+0x7d90 027042 arg 0 ,queue 
+0x7d91 027043 call usb_trig 
+0x7d92 027044 fetch 1 ,mem_remain 
+0x7d93 027045 nrtn blank 
+0x7d94 027046 fetch 1 ,mem_usb_state 
+0x7d95 027047 rtnne usb_got_report_req 
+0x7d96 027048 jam usb_connected ,mem_usb_state 
+0x7d97 027049 rtn 
+:      027052 usb0_request_set_configuration:
+0x7d98 027053 fetch 1 ,mem_usb_setup_bvalue 
+0x7d99 027054 sub pdata ,1 ,null 
+0x7d9a 027055 nbranch usb0_force_stall ,positive 
+:      027056 usb0_request_set_address:
+0x7d9b 027057 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7d9c 027058 bne in_device ,usb0_force_stall 
+0x7d9d 027059 fetch 2 ,mem_usb_setup_windex 
+0x7d9e 027060 bne 0 ,usb0_force_stall 
+0x7d9f 027061 fetch 1 ,mem_usb_setup_blength 
+0x7da0 027062 bne 0 ,usb0_force_stall 
+0x7da1 027063 branch usb0_reply_zerolen 
+:      027065 usb0_request_set_interface:
+0x7da2 027066 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7da3 027067 bne in_interface ,usb0_force_stall 
+0x7da4 027068 fetch 1 ,mem_usb_setup_bvalue 
+0x7da5 027069 bne 0 ,usb0_force_stall 
+0x7da6 027070 fetch 1 ,mem_usb_setup_bvalueh 
+0x7da7 027071 bne 0 ,usb0_force_stall 
+0x7da8 027072 fetch 1 ,mem_usb_setup_blength 
+0x7da9 027073 bne 0 ,usb0_force_stall 
+0x7daa 027074 branch usb0_reply_zerolen 
+:      027076 usb0_request_set_feature:
+0x7dab 027077 fetch 1 ,mem_usb_setup_bvalue 
+0x7dac 027078 bne 1 ,usb0_force_stall 
+0x7dad 027079 jam usb_sleep ,mem_usb_state 
+0x7dae 027080 branch usb0_reply_zerolen 
+:      027082 usb0_request_clear_feature:
+0x7daf 027083 fetch 1 ,mem_usb_setup_bvalue 
+0x7db0 027084 bne 1 ,usb0_force_stall 
+0x7db1 027085 branch usb0_reply_zerolen 
+:      027087 usb_init:
+0x7db2 027088 set1 mark_ext_patch ,mark 
+0x7db3 027089 bpatch patch3b_4 ,mem_patch3b 
+0x7db4 027090 hjam 0x00 ,core_usb_config 
+0x7db5 027091 nop 10000 
+0x7db6 027092 hjam 0xc0 ,core_usb_trig 
+0x7db7 027093 hfetch 2 ,core_clkoff 
+0x7db8 027094 set0 clock_off_usb ,pdata 
+0x7db9 027095 hstore 2 ,core_clkoff 
+0x7dba 027096 hjam 0x3c ,core_usb_config 
+0x7dbb 027097 hjam 0xff ,core_usb_status 
+0x7dbc 027098 hjam 0xff ,core_usb_fifo_empty 
+0x7dbd 027099 jam 0 ,mem_mcmd 
+0x7dbe 027100 jam 0 ,mem_usb_state 
+0x7dbf 027101 setarg 0 
+0x7dc0 027102 store 2 ,mem_usb_idle_cnt 
+0x7dc1 027103 rtn 
+:      027106 usb_tx:
+0x7dc2 027107 set1 mark_ext_patch ,mark 
+0x7dc3 027108 bpatch patch3b_5 ,mem_patch3b 
+0x7dc4 027109 fetch 1 ,mem_mcmd 
+0x7dc5 027110 rtn blank 
+0x7dc6 027111 fetch 1 ,mem_usb_state 
+0x7dc7 027112 beq usb_sleep ,usb_wakeup 
+0x7dc8 027113 rtnne usb_connected 
+0x7dc9 027114 fetch 1 ,mem_mcmd 
+0x7dca 027115 jam 0 ,mem_mcmd 
+0x7dcb 027116 arg 6 ,loopcnt 
+0x7dcc 027117 arg mem_mouse_data ,contr 
+0x7dcd 027118 beq send_kb_data_cmd ,usb_tx_ep1 
+0x7dce 027119 beq send_mouse_data_cmd ,usb_tx_ep2 
+0x7dcf 027120 branch assert 
+:      027122 usb_tx_ep1:
+0x7dd0 027123 arg core_usb_dfifo1 ,rega 
+0x7dd1 027124 arg 1 ,queue 
+:      027125 usb_tx_loop:
+0x7dd2 027126 ifetch 1 ,contr 
+0x7dd3 027127 istore 1 ,rega 
+0x7dd4 027128 loop usb_tx_loop 
+:      027129 usb_trig:
+0x7dd5 027130 set1 mark_ext_patch ,mark 
+0x7dd6 027131 bpatch patch3b_6 ,mem_patch3b 
+0x7dd7 027132 disable swfine 
+0x7dd8 027133 fetch 2 ,mem_usb_trig_timeout 
+0x7dd9 027134 iforce stop_watch 
+0x7dda 027135 hjam 0x40 ,core_usb_status 
+:      027136 usb_trig_waitnak_loop:
+0x7ddb 027137 hfetch 1 ,core_usb_status 
+0x7ddc 027138 branch usb_init ,timeout 
+0x7ddd 027139 bbit0 usb_status_nak ,usb_trig_waitnak_loop 
+0x7dde 027140 fetch 2 ,mem_usb_trig_timeout 
+0x7ddf 027141 iforce stop_watch 
+0x7de0 027142 arg 0 ,temp 
+0x7de1 027143 qset1 temp 
+0x7de2 027144 hstoret 1 ,core_usb_fifo_empty 
+:      027145 usb_trig_loop:
+0x7de3 027146 branch usb_init ,timeout 
+0x7de4 027147 hstoret 1 ,core_usb_trig 
+0x7de5 027148 hfetch 1 ,core_usb_fifo_empty 
+0x7de6 027149 qisolate0 pdata 
+0x7de7 027150 branch usb_trig_loop ,true 
+0x7de8 027151 rtn 
+:      027154 usb_tx_ep2:
+0x7de9 027155 arg 2 ,queue 
+0x7dea 027156 arg core_usb_dfifo2 ,rega 
+0x7deb 027157 branch usb_tx_loop 
+:      027160 usb_wakeup:
+0x7dec 027161 set1 mark_ext_patch ,mark 
+0x7ded 027162 bpatch patch3b_7 ,mem_patch3b 
+0x7dee 027163 hjam 0xfc ,core_usb_config 
+0x7def 027164 nop 10000 
+0x7df0 027165 hjam 0x3c ,core_usb_config 
+0x7df1 027166 jam usb_resume ,mem_usb_state 
+0x7df2 027167 rtn 
+:      027169 usb_tx_test:
+0x7df3 027170 fetch 1 ,mem_mcmd 
+0x7df4 027171 nrtn blank 
+0x7df5 027172 fetch 2 ,mem_usb_cnt 
+0x7df6 027173 rtn blank 
+0x7df7 027174 increase -1 ,pdata 
+0x7df8 027175 store 2 ,mem_usb_cnt 
+0x7df9 027176 jam send_mouse_data_cmd ,mem_mcmd 
+0x7dfa 027177 rtn 
+:      027180 right_shift_n:
+0x7dfb 027181 sub loopcnt ,0 ,null 
+0x7dfc 027182 rtn zero 
+:      027183 right_shift_n_loop:
+0x7dfd 027184 rshift pdata ,pdata 
+0x7dfe 027185 loop right_shift_n_loop 
+0x7dff 027186 rtn 
+:      027188 push_stack:
+0x7e00 027189 deposit contw 
+0x7e01 027190 store 2 ,mem_contw 
+0x7e02 027191 storet 8 ,mem_temp 
+0x7e03 027192 deposit timeup 
+0x7e04 027193 store 4 ,mem_timeup 
+0x7e05 027194 deposit rega 
+0x7e06 027195 store 4 ,mem_rega 
+0x7e07 027196 deposit regb 
+0x7e08 027197 store 4 ,mem_regb 
+0x7e09 027198 deposit regc 
+0x7e0a 027199 store 3 ,mem_regc 
+0x7e0b 027200 deposit contr 
+0x7e0c 027201 store 2 ,mem_contr 
+0x7e0d 027202 rtn 
+:      027203 pop_stack:
+0x7e0e 027204 fetcht 8 ,mem_temp 
+0x7e0f 027205 fetch 4 ,mem_timeup 
+0x7e10 027206 iforce timeup 
+0x7e11 027207 fetch 4 ,mem_rega 
+0x7e12 027208 iforce rega 
+0x7e13 027209 fetch 4 ,mem_regb 
+0x7e14 027210 iforce regb 
+0x7e15 027211 fetch 3 ,mem_regc 
+0x7e16 027212 iforce regc 
+0x7e17 027213 fetch 2 ,mem_contw 
+0x7e18 027214 iforce contw 
+0x7e19 027215 fetch 2 ,mem_contr 
+0x7e1a 027216 iforce contr 
+0x7e1b 027217 rtn 
+:      027223 save_cont_pointers:
+0x7e1c 027224 copy contw ,pdata 
+0x7e1d 027225 store 2 ,mem_hold_contw 
+0x7e1e 027226 copy contr ,pdata 
+0x7e1f 027227 store 2 ,mem_hold_contr 
+0x7e20 027228 rtn 
+:      027229 load_cont_pointers:
+0x7e21 027230 fetch 2 ,mem_hold_contw 
+0x7e22 027231 copy pdata ,contw 
+0x7e23 027232 fetch 2 ,mem_hold_contr 
+0x7e24 027233 copy pdata ,contr 
+0x7e25 027234 rtn 
+:      027238 delay_10ms:
+0x7e26 027239 copy clkn_bt ,pdata 
+0x7e27 027240 increase 16 ,pdata 
+0x7e28 027241 increase 16 ,pdata 
+:      027242 delay_ms_wait:
+0x7e29 027243 copy clkn_bt ,temp 
+0x7e2a 027244 isub temp ,null 
+0x7e2b 027245 branch delay_ms_wait ,positive 
+0x7e2c 027246 rtn 
+:      027248 memcpy48:
+0x7e2d 027249 ifetch 8 ,contr 
+0x7e2e 027250 istore 8 ,contw 
+0x7e2f 027251 ifetch 8 ,contr 
+0x7e30 027252 istore 8 ,contw 
+:      027253 memcpy32:
+0x7e31 027254 ifetch 8 ,contr 
+0x7e32 027255 istore 8 ,contw 
+:      027256 memcpy24:
+0x7e33 027257 ifetch 8 ,contr 
+0x7e34 027258 istore 8 ,contw 
+:      027259 memcpy16:
+0x7e35 027260 ifetch 8 ,contr 
+0x7e36 027261 istore 8 ,contw 
+0x7e37 027262 ifetch 8 ,contr 
+0x7e38 027263 istore 8 ,contw 
+0x7e39 027264 rtn 
+:      027266 bn_zero:
+0x7e3a 027267 force 3 ,loopcnt 
+:      027268 memset0:
+0x7e3b 027269 force 0 ,pdata 
+:      027270 memset8:
+0x7e3c 027271 istore 8 ,contw 
+0x7e3d 027272 loop memset8 
+0x7e3e 027273 rtn 
+:      027276 clear_mem:
+0x7e3f 027277 deposit loopcnt 
+0x7e40 027278 rtn blank 
+0x7e41 027279 setarg 0 
+:      027280 clear_mem_loop:
+0x7e42 027281 istore 1 ,contw 
+0x7e43 027282 loop clear_mem_loop 
+0x7e44 027283 rtn 
+:      027287 memcpy:
+0x7e45 027288 deposit loopcnt 
+0x7e46 027289 rtn blank 
+:      027290 memcpy_loop:
+0x7e47 027291 ifetch 1 ,contr 
+0x7e48 027292 istore 1 ,contw 
+0x7e49 027293 loop memcpy_loop 
+0x7e4a 027294 rtn 
+:      027296 timer_stop:
+0x7e4b 027297 setarg 0 
+:      027298 timer_init:
+0x7e4c 027299 arg mem_timers ,contw 
+0x7e4d 027300 iforce temp 
+0x7e4e 027301 lshift queue ,pdata 
+0x7e4f 027302 iadd contw ,contw 
+0x7e50 027303 istoret 2 ,contw 
+0x7e51 027304 rtn 
+:      027306 timer_reinit:
+0x7e52 027307 arg 0 ,queue 
+:      027308 timer_check:
+0x7e53 027309 set1 mark_ext_patch ,mark 
+0x7e54 027310 bpatch patch37_4 ,mem_patch37 
+0x7e55 027311 fetcht 4 ,mem_last_clkn 
+0x7e56 027312 rshift clkn_bt ,pdata 
+0x7e57 027313 store 4 ,mem_last_clkn 
+0x7e58 027314 isub temp ,timeup 
+0x7e59 027315 copy timeup ,temp 
+0x7e5a 027316 arg mem_timers ,contr 
+0x7e5b 027317 copy contr ,contw 
+0x7e5c 027318 arg 16 ,loopcnt 
+:      027319 timer_loop:
+0x7e5d 027320 ifetch 2 ,contr 
+0x7e5e 027321 isub temp ,pdata 
+0x7e5f 027322 branch timer_counting ,positive 
+0x7e60 027323 force 0 ,pdata 
+:      027324 timer_counting:
+0x7e61 027325 istore 2 ,contw 
+0x7e62 027326 loop timer_loop 
+0x7e63 027327 arg mem_timers ,contr 
+0x7e64 027328 lshift queue ,pdata 
+0x7e65 027329 iadd contr ,contr 
+0x7e66 027330 ifetch 2 ,contr 
+0x7e67 027331 rtn 
+:      027334 lshift8_queue:
+0x7e68 027335 increase 1 ,queue 
+:      027336 lshift8_queue_loop:
+0x7e69 027337 increase -1 ,queue 
+0x7e6a 027338 rtn zero 
+0x7e6b 027339 lshift8 pdata ,pdata 
+0x7e6c 027340 branch lshift8_queue_loop 
+:      027344 clk_add:
+0x7e6d 027345 iadd temp ,temp 
+0x7e6e 027346 copy temp ,loopcnt 
+0x7e6f 027347 setarg 3750 
+0x7e70 027348 isub loopcnt ,pdata 
+0x7e71 027349 rtn positive 
+0x7e72 027350 sub pdata ,0 ,pdata 
+0x7e73 027351 rshift16 temp ,temp 
+0x7e74 027352 increase 1 ,temp 
+0x7e75 027353 lshift16 temp ,temp 
+0x7e76 027354 ior temp ,temp 
+0x7e77 027355 rtn 
+:      027357 clk_diff_rt:
+0x7e78 027358 call clk_diff 
+0x7e79 027359 branch clk2rt 
+:      027362 clk_diff:
+0x7e7a 027363 disable user 
+0x7e7b 027364 isub temp ,pdata 
+0x7e7c 027365 branch clk_diff_pos ,positive 
+0x7e7d 027366 enable user 
+0x7e7e 027367 sub pdata ,0 ,pdata 
+:      027368 clk_diff_pos:
+0x7e7f 027369 rtnbit0 15 
+0x7e80 027370 arg -61786 ,temp 
+0x7e81 027371 iadd temp ,pdata 
+0x7e82 027372 set0 64 ,pdata 
+0x7e83 027373 rtn 
+:      027375 clk2rt:
+0x7e84 027376 iforce contr 
+0x7e85 027377 rshift16 pdata ,pdata 
+0x7e86 027378 arg 3750 ,temp 
+0x7e87 027379 imul32 temp ,pdata 
+0x7e88 027380 iadd contr ,pdata 
+0x7e89 027381 rtn 
+:      027384 clk2lpo:
+0x7e8a 027385 lshift8 pdata ,pdata 
+0x7e8b 027386 lshift4 pdata ,pdata 
+0x7e8c 027387 fetcht 3 ,mem_clks_per_lpo 
+0x7e8d 027388 idiv temp 
+0x7e8e 027389 call wait_div_end 
+0x7e8f 027390 quotient temp 
+0x7e90 027391 rtn 
+:      027394 clk2bt:
+0x7e91 027395 arg 3750 ,temp 
+0x7e92 027396 idiv temp 
+0x7e93 027397 call wait_div_end 
+0x7e94 027398 quotient pdata 
+0x7e95 027399 lshift16 pdata ,pdata 
+0x7e96 027400 remainder temp 
+0x7e97 027401 ior temp ,temp 
+0x7e98 027402 rtn 
+:      027405 mem3_hex2string_to_uart:
+0x7e99 027406 arg 3 ,loopcnt 
+0x7e9a 027407 branch hex2string_to_uart0 
+:      027408 mem2_hex2string_to_uart:
+0x7e9b 027409 arg 2 ,loopcnt 
+0x7e9c 027410 branch hex2string_to_uart0 
+:      027414 adss_hex2string_to_uart:
+0x7e9d 027415 arg 6 ,loopcnt 
+:      027416 hex2string_to_uart0:
+0x7e9e 027417 ifetch 1 ,rega 
+0x7e9f 027418 copy pdata ,temp 
+0x7ea0 027419 rshift4 pdata ,pdata 
+0x7ea1 027420 call dialog2uchar 
+0x7ea2 027421 istore 1 ,contwu 
+0x7ea3 027422 copy temp ,pdata 
+0x7ea4 027423 and pdata ,0xf ,pdata 
+0x7ea5 027424 call dialog2uchar 
+0x7ea6 027425 istore 1 ,contwu 
+0x7ea7 027426 increase 1 ,rega 
+0x7ea8 027427 loop hex2string_to_uart0 
+0x7ea9 027428 rtn 
+:      027429 dialog2uchar:
+0x7eaa 027430 sub pdata ,9 ,null 
+0x7eab 027431 branch dialog2uchar0to9 ,positive 
+0x7eac 027432 increase 87 ,pdata 
+0x7ead 027433 rtn 
+:      027434 dialog2uchar0to9:
+0x7eae 027435 add pdata ,0x30 ,pdata 
+0x7eaf 027436 rtn 
+:      027442 string2dec_from_uart:
+0x7eb0 027443 arg 0 ,temp 
+:      027444 string2dec_from_uart_done:
+0x7eb1 027445 copy temp ,regc 
+0x7eb2 027446 ifetch 1 ,contru 
+0x7eb3 027447 sub pdata ,at_comma ,null 
+0x7eb4 027448 rtn zero 
+0x7eb5 027449 call uchar2dialog 
+0x7eb6 027450 copy regc ,temp 
+0x7eb7 027451 call swap 
+0x7eb8 027452 arg 10 ,regb 
+0x7eb9 027453 imul32 regb ,pdata 
+0x7eba 027454 iadd temp ,pdata 
+0x7ebb 027455 copy pdata ,temp 
+0x7ebc 027456 branch string2dec_from_uart_done 
+:      027459 mem2_string2hex_from_uart:
+0x7ebd 027460 arg 2 ,loopcnt 
+0x7ebe 027461 branch string2hex_from_uart 
+:      027462 adss_string2hex_from_uart:
+0x7ebf 027463 arg 6 ,loopcnt 
+:      027467 string2hex_from_uart:
+0x7ec0 027468 ifetch 1 ,contru 
+0x7ec1 027469 call uchar2dialog 
+0x7ec2 027470 lshift4 pdata ,regc 
+0x7ec3 027471 ifetch 1 ,contru 
+0x7ec4 027472 call uchar2dialog 
+0x7ec5 027473 iadd regc ,pdata 
+0x7ec6 027474 istore 1 ,contw 
+0x7ec7 027475 loop string2hex_from_uart 
+0x7ec8 027476 rtn 
+:      027478 uchar2dialog:
+0x7ec9 027479 arg 0x3a ,temp 
+0x7eca 027480 isub temp ,null 
+0x7ecb 027481 nbranch uchar2dialog_number ,positive 
+0x7ecc 027482 arg 0x61 ,temp 
+0x7ecd 027483 isub temp ,null 
+0x7ece 027484 branch uchar2dialog_a2f ,positive 
+0x7ecf 027485 arg 0x37 ,temp 
+0x7ed0 027486 isub temp ,pdata 
+0x7ed1 027487 rtn 
+:      027488 uchar2dialog_number:
+0x7ed2 027489 arg 0x30 ,temp 
+0x7ed3 027490 isub temp ,pdata 
+0x7ed4 027491 rtn 
+:      027492 uchar2dialog_a2f:
+0x7ed5 027493 arg 0x57 ,temp 
+0x7ed6 027494 isub temp ,pdata 
+0x7ed7 027495 rtn 
+:      027497 pn9:
+0x7ed8 027498 copy temp ,alarm 
+0x7ed9 027499 setarg 0x1ff 
+0x7eda 027500 force 0 ,regb 
+:      027501 pn9_loop:
+0x7edb 027502 rshift3 pdata ,rega 
+0x7edc 027503 rshift rega ,rega 
+0x7edd 027504 ixor rega ,rega 
+0x7ede 027505 isolate1 0 ,rega 
+0x7edf 027506 setflag true ,9 ,pdata 
+0x7ee0 027507 rshift temp ,temp 
+0x7ee1 027508 isolate1 0 ,pdata 
+0x7ee2 027509 setflag true ,7 ,temp 
+0x7ee3 027510 rshift pdata ,pdata 
+0x7ee4 027511 increase 1 ,regb 
+0x7ee5 027512 compare 0 ,regb ,0x7 
+0x7ee6 027513 nbranch pn9_loop ,true 
+0x7ee7 027514 istoret 1 ,contw 
+0x7ee8 027515 loop pn9_loop 
+0x7ee9 027516 copy alarm ,temp 
+0x7eea 027517 rtn 
+:      027519 bcd_byte:
+0x7eeb 027520 div pdata ,10 
+0x7eec 027521 call wait_div_end 
+0x7eed 027522 quotient pdata 
+0x7eee 027523 lshift2 pdata ,rega 
+0x7eef 027524 lshift2 rega ,rega 
+0x7ef0 027525 remainder pdata 
+0x7ef1 027526 ior rega ,pdata 
+0x7ef2 027527 rtn 
+:      027529 bcd_pack:
+0x7ef3 027530 isolate1 0 ,rega 
+0x7ef4 027531 branch bcd_pack_hi ,true 
+0x7ef5 027532 iforce regb 
+0x7ef6 027533 rtn 
+:      027534 bcd_pack_hi:
+0x7ef7 027535 lshift2 pdata ,pdata 
+0x7ef8 027536 lshift2 pdata ,pdata 
+0x7ef9 027537 ior regb ,pdata 
+0x7efa 027538 istore 1 ,contw 
+0x7efb 027539 increase -2 ,contw 
+0x7efc 027540 rtn 
+:      027542 wait_div_end:
+0x7efd 027543 rtn modone 
+0x7efe 027544 branch wait_div_end 
+:      027547 bcd2:
+0x7eff 027548 store 8 ,mem_pdatatemp 
+0x7f00 027549 force 0x20 ,pdata 
+0x7f01 027550 force 8 ,loopcnt 
+0x7f02 027551 arg mem_bcd ,contw 
+:      027552 lpo_clear:
+0x7f03 027553 istore 1 ,contw 
+0x7f04 027554 loop lpo_clear 
+0x7f05 027555 arg mem_bcd ,contw 
+0x7f06 027556 increase 7 ,contw 
+0x7f07 027557 fetch 8 ,mem_pdatatemp 
+:      027558 bcd_loop:
+0x7f08 027559 div pdata ,10 
+0x7f09 027560 call wait_div_end 
+0x7f0a 027561 remainder pdata 
+0x7f0b 027562 or_into 0x30 ,pdata 
+0x7f0c 027563 istore 1 ,contw 
+0x7f0d 027564 increase -2 ,contw 
+0x7f0e 027565 quotient pdata 
+0x7f0f 027566 rtn blank 
+0x7f10 027567 branch bcd_loop 
+:      027572 bcd:
+0x7f11 027573 store 8 ,mem_pdatatemp 
+0x7f12 027574 force 0 ,pdata 
+0x7f13 027575 store 8 ,mem_bcd 
+0x7f14 027576 arg mem_bcd ,contw 
+0x7f15 027577 increase 7 ,contw 
+0x7f16 027578 fetch 8 ,mem_pdatatemp 
+0x7f17 027579 force 0 ,rega 
+:      027580 bcd_pack_loop:
+0x7f18 027581 div pdata ,10 
+0x7f19 027582 call wait_div_end 
+0x7f1a 027583 remainder pdata 
+0x7f1b 027584 call bcd_pack 
+0x7f1c 027585 increase 1 ,rega 
+0x7f1d 027586 quotient pdata 
+0x7f1e 027587 sub pdata ,9 ,null 
+0x7f1f 027588 nbranch bcd_pack_loop ,positive 
+0x7f20 027589 call bcd_pack 
+0x7f21 027590 isolate1 0 ,rega 
+0x7f22 027591 rtn true 
+0x7f23 027592 istore 1 ,contw 
+0x7f24 027593 rtn 
+:      027601 string_compare:
+0x7f25 027602 ifetch 1 ,rega 
+0x7f26 027603 ifetcht 1 ,regb 
+0x7f27 027604 isub temp ,null 
+0x7f28 027605 nrtn zero 
+0x7f29 027606 increase 1 ,rega 
+0x7f2a 027607 increase 1 ,regb 
+0x7f2b 027608 loop string_compare 
+0x7f2c 027609 force 0 ,null 
+0x7f2d 027610 rtn 
+:      027613 ceiling:
+0x7f2e 027614 isub temp ,null 
+0x7f2f 027615 nrtn positive 
+0x7f30 027616 deposit temp 
+0x7f31 027617 rtn 
+:      027619 swap:
+0x7f32 027620 iadd temp ,pdata 
+0x7f33 027621 isub temp ,temp 
+0x7f34 027622 isub temp ,pdata 
+0x7f35 027623 rtn 
+:      027625 clean_mem:
+0x7f36 027626 arg 0x200 ,loopcnt 
+0x7f37 027627 arg 0x4000 ,contw 
+0x7f38 027628 branch memset0 
+:      027630 slave_savelist:
+0x7f39 027631 fetch 5 ,mem_sync_clke 
+0x7f3a 027632 store 5 ,mem_pdatatemp 
+0x7f3b 027633 fetch 2 ,mem_clks_per_lpo 
+0x7f3c 027634 istore 2 ,contw 
+0x7f3d 027635 setarg 0 
+0x7f3e 027636 setflag match ,7 ,pdata 
+0x7f3f 027637 setflag wake ,6 ,pdata 
+0x7f40 027638 setflag sync ,5 ,pdata 
+0x7f41 027639 setflag attempt ,4 ,pdata 
+0x7f42 027640 istore 1 ,contw 
+0x7f43 027641 branch savelist_2 
+:      027644 le_savelist:
+0x7f44 027645 fetch 5 ,mem_sync_clke 
+0x7f45 027646 store 5 ,mem_pdatatemp 
+0x7f46 027647 fetch 1 ,mem_le_ch_mapped 
+0x7f47 027648 istore 1 ,contw 
+0x7f48 027649 fetch 2 ,mem_le_event_count 
+0x7f49 027650 arg 0x0fff ,contr 
+0x7f4a 027651 iand contr ,pdata 
+0x7f4b 027652 setflag match ,15 ,pdata 
+0x7f4c 027653 setflag wake ,14 ,pdata 
+0x7f4d 027654 setflag sync ,13 ,pdata 
+0x7f4e 027655 setflag attempt ,12 ,pdata 
+0x7f4f 027656 istore 2 ,contw 
+0x7f50 027657 branch savelist_2 
+:      027658 savelist:
+0x7f51 027659 store 8 ,mem_pdatatemp 
+:      027660 savelist_2:
+0x7f52 027661 fetch 1 ,mem_seqi 
+0x7f53 027662 rtneq 0x7f 
+0x7f54 027663 and_into 0x7f ,pdata 
+0x7f55 027664 lshift3 pdata ,pdata 
+0x7f56 027665 arg mem_savelist ,contw 
+0x7f57 027666 iadd contw ,contw 
+0x7f58 027667 fetch 8 ,mem_pdatatemp 
+0x7f59 027668 istore 8 ,contw 
+0x7f5a 027669 fetch 1 ,mem_seqi 
+0x7f5b 027670 isolate1 7 ,pdata 
+0x7f5c 027671 increase 1 ,pdata 
+0x7f5d 027672 and_into 0x7f ,pdata 
+0x7f5e 027673 setflag true ,7 ,pdata 
+0x7f5f 027674 store 1 ,mem_seqi 
+0x7f60 027675 fetch 8 ,mem_pdatatemp 
+0x7f61 027676 rtn 
+:      027678 dirty_mem:
+0x7f62 027679 arg 0x800 ,loopcnt 
+0x7f63 027680 arg 0 ,contw 
+0x7f64 027681 setarg 0x01010101 
+0x7f65 027682 branch memset8 
+:      027685 callback_func:
+0x7f66 027686 rtn blank 
+0x7f67 027687 copy pdata ,pc 
+:      027690 wait_uarttx:
+0x7f68 027691 hfetch 2 ,core_uart_txitems 
+0x7f69 027692 nbranch wait_uarttx ,blank 
+0x7f6a 027693 rtn 
+:      027695 get_uart_rrptr:
+0x7f6b 027696 hfetch 2 ,core_uart_rrptr 
+0x7f6c 027697 copy pdata ,contru 
+0x7f6d 027698 rtn 
+:      027700 get_uart_twptr:
+0x7f6e 027701 hfetch 2 ,core_uart_twptr 
+0x7f6f 027702 copy pdata ,contwu 
+0x7f70 027703 rtn 
+:      027705 send_mem_to_uart:
+0x7f71 027706 copy contr ,rega 
+0x7f72 027707 call get_uart_twptr 
+0x7f73 027708 copy rega ,contr 
+:      027709 send_mem_to_uart0:
+0x7f74 027710 call uart_copy_tx_bytes 
+0x7f75 027711 call uartd_send 
+0x7f76 027712 branch wait_uarttx 
+:      027714 ice_break:
+0x7f77 027715 hjam 0x1 ,core_ice_ctrl 
+0x7f78 027716 rtn 
+:      027718 ice_setbp:
+0x7f79 027719 hstore 2 ,core_ice_break0 
+0x7f7a 027720 hfetch 1 ,core_ice_ctrl 
+0x7f7b 027721 set1 4 ,pdata 
+0x7f7c 027722 hstore 1 ,core_ice_ctrl 
+0x7f7d 027723 rtn 
+:      027724 ice_setbp2:
+0x7f7e 027725 hstore 2 ,core_ice_break1 
+0x7f7f 027726 hfetch 1 ,core_ice_ctrl 
+0x7f80 027727 set1 6 ,pdata 
+0x7f81 027728 hstore 1 ,core_ice_ctrl 
+0x7f82 027729 rtn 
+:      027731 ice_set_write_bp:
+0x7f83 027732 hstore 2 ,core_ice_break0 
+0x7f84 027733 hjam 0x30 ,core_ice_ctrl 
+0x7f85 027734 rtn 
+:      027736 test_no_white:
+0x7f86 027737 hfetch 1 ,core_config 
+0x7f87 027738 set1 whiteoff_bit ,pdata 
+0x7f88 027739 hstore 1 ,core_config 
+0x7f89 027740 rtn 
+:      027742 test_enable_white:
+0x7f8a 027743 hfetch 1 ,core_config 
+0x7f8b 027744 set0 whiteoff_bit ,pdata 
+0x7f8c 027745 hstore 1 ,core_config 
+0x7f8d 027746 rtn 
+:      027748 check_uart_tx_buff:
+0x7f8e 027749 hfetch 2 ,core_uart_txitems 
+0x7f8f 027750 arg uart_air_control_threshold ,temp 
+:      027751 pdata_sub_temp:
+0x7f90 027752 isub temp ,null 
+0x7f91 027753 rtn 
+:      027759 fifo_in:
+0x7f92 027760 set1 mark_ext_patch ,mark 
+0x7f93 027761 bpatch patch37_5 ,mem_patch37 
+0x7f94 027762 ifetcht util_fifo_len ,rega 
+0x7f95 027763 and temp ,0xff ,pdata 
+0x7f96 027764 nbranch fifo_in_push ,blank 
+0x7f97 027765 rshift8 temp ,pdata 
+0x7f98 027766 istore util_fifo_len ,rega 
+:      027767 fifo_in_push:
+0x7f99 027768 increase util_fifo_len + util_fifo_offset ,rega 
+0x7f9a 027769 ifetch 1 ,rega 
+0x7f9b 027770 nbranch assert ,blank 
+0x7f9c 027771 fetch 1 ,mem_fifo_temp 
+0x7f9d 027772 istore 1 ,rega 
+0x7f9e 027773 rtn 
+:      027778 fifo_out:
+0x7f9f 027779 set1 mark_ext_patch ,mark 
+0x7fa0 027780 bpatch patch37_6 ,mem_patch37 
+0x7fa1 027781 arg util_fifo_len ,loopcnt 
+0x7fa2 027782 ifetch util_fifo_len ,rega 
+0x7fa3 027783 rtn blank 
+:      027784 fifo_out_loop:
+0x7fa4 027785 ifetch 1 ,rega 
+0x7fa5 027786 nbranch fifo_out_end ,blank 
+0x7fa6 027787 increase 1 ,rega 
+0x7fa7 027788 loop fifo_out_loop 
+0x7fa8 027789 branch assert 
+:      027790 fifo_out_end:
+0x7fa9 027791 arg 0 ,temp 
+0x7faa 027792 istoret 1 ,rega 
+0x7fab 027793 rtn 
+:      027798 fifo_is_empty:
+0x7fac 027799 ifetch util_fifo_len ,rega 
+0x7fad 027800 rtn 
+:      027805 fifo_is_full:
+0x7fae 027806 ifetch 1 ,rega 
+0x7faf 027807 rtn 
+:      027810 fifo_is_near_full:
+0x7fb0 027811 ifetch 2 ,rega 
+0x7fb1 027812 rtn 
+:      027816 fifo_content_count:
+0x7fb2 027817 arg 0 ,temp 
+:      027818 fifo_content_count_loop:
+0x7fb3 027819 fetch 1 ,contr 
+0x7fb4 027820 loop fifo_content_count_loop ,blank 
+0x7fb5 027821 increase 1 ,temp 
+0x7fb6 027822 loop fifo_content_count_loop 
+0x7fb7 027823 copy temp ,pdata 
+0x7fb8 027824 rtn 
+:      027826 not_greater_than:
+0x7fb9 027827 isub temp ,null 
+0x7fba 027828 nrtn positive 
+0x7fbb 027829 copy temp ,pdata 
+0x7fbc 027830 rtn 
Index: KG9013/btkb/output/bt_program23.meta
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.meta	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.meta	(working copy)
@@ -0,0 +1,27832 @@
+define REVD
+//define FPGA
+define PATCH
+define ROMCODE
+//define RAM_VERSION
+//define CLK6M
+//define DEBUG_MALLOC
+//define DEBUG_H4LOG_ENABLE
+//define DEBUG_LIGHT_STATE
+//define E2_LOG
+//define LMP_DBG
+
+define SIMPLE_PAIRING
+define COMPILE_RFCOMM
+define COMPILE_SHUTTER
+define COMPILE_HCI_BCSP
+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
+
+INCLUDE "bt_format"
+
+org 0x0000		// start from patch ram address start
+define P24G
+//define GPIO_TEST_01
+//define WAKE_DEV
+define TX_POWER_MAX
+
+	bmark1 mark_ext_patch,patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch00_3,p_main_loop
+	beq patch00_5,p_main_loop_end
+	beq patch12_0,p_shutdown_radio
+	beq patch12_2,p_set_freq_rx
+	beq patch12_4,p_set_freq_tx
+	beq patch12_5,p_initialize_radio_cont
+	beq patch16_0,p_lpm_sleep
+	beq patch16_1,p_lpm_recover_clk
+	beq patch16_2,p_lpm_dispatch
+	beq patch16_3,p_lpm_dispatch_next
+	beq patch16_6,p_lpm_dispatch_unconn
+	beq patch17_1,p_lpm_cal_xtal_startup
+	branch assert
+
+patch_ext:	
+	beq patch27_6,p_le_enable
+	beq patch27_7,p_le_disable
+	beq patch30_7,p_ui_timer_check
+	beq patch31_5,p_check_51cmd_once
+	beq patch31_7,p_check_enter_hibernate	
+	beq patch39_5,p_kb_init
+	beq patch3a_0,p_kb_bb_event_timer
+
+	branch assert
+
+
+p_soft_reset: 
+	hfetch 1,0x813b
+	store 1,mem_wakup_from_power_flag
+	hjam lock_otp,core_misc_ctrl
+	branch soft_reset+2
+
+p_main_loop:	
+	call p_ipc_timer_check
+	call p_ui_check_timer_setup
+	call p_ipc_rx
+	branch main_loop+2
+
+
+p_main_loop_end:
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch 
+	call p_g24_dispatch
+	branch main_loop+15
+
+
+p_ipc_rx:
+p_ipc_rx0:
+	call p_check_ipc_2bt
+	rtn user
+	byteswap pdata,pdata
+	copy pdata,contr
+	call p_ipc_rx_byte
+	store 1,mem_ipc_rx_type
+	beq IPC_TYPE_CMD,p_ipc_rx_cmd
+	beq IPC_TYPE_24G,p_ipc_rx_24g
+	copy pdata,temp
+	copy contr,rega
+	fetch 1,mem_context
+	bbit0 state_inconn,p_ipc_abondon_rx_data
+	copy rega,contr
+	rtnmark0 mark_context
+	copy temp,pdata
+	rtn
+
+p_ipc_abondon_rx_data:
+	copy rega,contr
+	arg mem_tst_pktcnt_sync,contw
+	branch p_ipc_rx_cpy
+
+p_ipc_rx_cmd:
+	call p_ipc_rx_byte
+	call p_ipc_rx_byte
+	store 1,mem_fifo_temp
+	call p_ipc_next_rx
+	branch ui_ipc_send_cmd
+p_ipc_next_rx:
+	call p_ipc_rx_updata_contr
+	copy contr,temp
+	byteswap temp,temp
+	storet 2,mem_ipc_2bt_read_index
+	rtn
+	
+p_ipc_rx_24g:
+	arg mem_24g_txbuf,contw
+	branch p_ipc_rx_cpy
+
+p_ui_check_timer_setup:
+	fetcht 4,mem_ui_check_timer_setup
+	copy clkn_bt,pdata
+	isub temp,pdata
+	fetcht 2,mem_customize_timer_setup		// * 0.3125ms
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn blank
+	copy clkn_bt,temp
+	storet 4,mem_ui_check_timer_setup
+	fetch 1,mem_customize_timer
+	increase 1,pdata
+	store 1,mem_customize_timer
+	rtn
+
+
+//1600 == 500ms
+p_ipc_timer_check:
+	fetcht 4,mem_ipc_last_check_timer
+	copy clkn_bt,pdata
+	isub temp,pdata
+	//arg 3200,temp
+	arg 1600,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn blank
+	copy clkn_bt,temp
+	storet 4,mem_ipc_last_check_timer
+	fetcht 2,mem_ipc_bt_timer
+	byteswap temp,temp
+	iadd temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_ipc_bt_timer
+	byteswap pdata,pdata
+	and pdata,0x3,pdata
+	rtnne 0
+	fetch 1,mem_adc_config_flag
+	bbit1 ADC_CONFIG_VINLPM,p_adc_check_vinlpm
+	bbit1 ADC_CONFIG_HVIN,p_adc_check_hvin
+p_adc_check_gpio:
+	arg 0,rega
+	call p_setup_adc_gpio_pu_setup		//disable powerup
+	hjam 0x8f,rf_adc_mode
+	fetch 1,mem_adc_channel
+	hstore 1,rf_adc_ch
+	call p_read_adc
+	arg 1,rega
+	branch p_setup_adc_gpio_pu_setup		//enable powerup
+
+	
+p_adc_check_vinlpm:
+	hjam 0xbf,rf_adc_mode	//read VINLPM voltage directly
+	branch p_read_adc
+
+p_adc_check_hvin:
+	hjam 0xaf,rf_adc_mode	//read HVIN voltage directly
+p_read_adc:
+	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
+	hjam 0x7c,rfen_adc
+	hjam 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
+	byteswap temp,temp
+	storet 2,mem_adc_current_value
+	rtn
+
+
+p_setup_adc_gpio_pu_setup:
+	arg 0x21,temp
+	fetch 1,mem_adc_channel
+	isub temp,temp			// e.g. 0x33 - 0x21 = 0x12   gpio18
+	copy rega,pdata
+	set1 gpio_active_bit,temp
+	nbranch p_setup_adc_gpio_pu_setup_exit,blank
+	set0 gpio_active_bit,temp
+p_setup_adc_gpio_pu_setup_exit:
+	arg core_gpio_pu0,contw
+	branch gpio_set_bit
+
+
+
+p_ipc_rx_cpy:
+	call p_ipc_rx_byte
+	copy pdata,loopcnt
+p_ipc_copy:
+	call p_ipc_cpy_loop
+	branch p_ipc_next_rx
+	
+p_ipc_cpy_loop:
+	call p_ipc_rx_byte
+	istore 1,contw
+	loop p_ipc_cpy_loop
+	rtn
+
+p_ipc_rx_byte:
+	call p_ipc_rx_updata_contr
+	ifetch 1,contr
+	rtn
+
+p_ipc_rx_updata_contr:
+	setarg mem_ipc_2bt_fifo_end
+	isub contr,null
+	nrtn zero
+	arg mem_ipc_2bt_fifo_head,contr
+	rtn
+
+p_ipc_tx_evt:
+	arg 3,loopcnt
+	arg mem_ipc_tx_evt_buff,contr
+p_ipc_tx_cpy:
+	copy contr,rega
+	fetch 2,mem_ipc_2C51_write_index
+	byteswap pdata,pdata
+	copy pdata,contw
+	copy rega,contr
+p_ipc_tx_loop:
+	ifetch 1,contr
+	istore 1,contw
+	call p_ipc_tx_updata_contw
+	loop p_ipc_tx_loop
+	copy contw,pdata
+	byteswap pdata,pdata
+	store 2,mem_ipc_2C51_write_index
+	rtn
+p_ipc_tx_updata_contw:
+	setarg mem_ipc_2C51_fifo_end
+	isub contw,null
+	nrtn zero
+	arg mem_ipc_2C51_fifo_head,contw
+	rtn
+
+//user: no data
+p_check_ipc_2c51:
+	fetch 2,mem_ipc_2C51_read_index
+	fetcht 2,mem_ipc_2C51_write_index
+	branch p_check_ipc_common
+p_check_ipc_2bt:
+	fetch 2,mem_ipc_2bt_read_index
+	fetcht 2,mem_ipc_2bt_write_index
+p_check_ipc_common:
+	isub temp,null
+	branch enable_usr,zero
+	branch disable_usr
+
+
+p_ui_timer_check:				// 100ms_event   clock overflow
+	copy clkn_bt,pdata
+	store 4,mem_ui_timer_last_btclk_temp
+	fetcht 1,mem_ui_timer_last_btclk+3
+	fetch 1,mem_ui_timer_last_btclk_temp+3
+	isub temp,null
+	ncall p_ui_timer_reinit,positive
+	branch ui_timer_check+2
+
+p_ui_timer_reinit:
+	fetcht 4,mem_ui_timer_last_btclk_temp
+	storet 4,mem_ui_timer_last_btclk
+	storet 4,mem_ipc_last_check_timer
+	storet 4,mem_ui_check_timer_setup
+	rtn
+ 
+	
+// 1clkn_bt = 0.3125ms
+p_kb_bb_event_timer:
+	storet 1,mem_app_evt_timer_count
+	fetch 1,mem_ipc_bt_100ms_timer
+	increase 1,pdata
+	store 1,mem_ipc_bt_100ms_timer
+p_kb_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+
+	call p_kb_long_sleep_timer
+	branch p_kb_bb_event_100ms_loop
+	
+p_kb_long_sleep_timer:
+	fetch 1,mem_24g_enter_lpm_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_24g_enter_lpm_timer
+	rtn
+	
+
+p_c51_user_event:
+	copy regc,pdata
+	and_into BT_EVT_TIMER_MASK,pdata
+	rtneq BT_EVT_TIMER_INIT
+	copy regc,pdata
+	rtn blank
+	store 1,mem_ipc_tx_evt
+	branch p_ipc_tx_evt
+	
+
+/*
+****************************************************************************************************
+* All Timer End
+****************************************************************************************************
+*/
+p_lpm_sleep:
+	call xtal_fast_wake
+	branch lpm_sleep+2
+
+p_lpm_recover_clk:
+	jam 0x7f,mem_seqi
+	call lpm_recover_clk+2
+	fetch 1,mem_hibernate_flag
+	rtn blank
+	jam 0,mem_hibernate_flag
+	copy clkn_bt,pdata
+	store 4,mem_ipc_last_check_timer
+	rtn
+
+
+
+p_lpm_cal_xtal_startup:
+	fetch 1,mem_lpm_xtalcnt
+	nrtn blank
+	hjam 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
+	nop 5000
+	branch lpm_cal_xtal_startup+12
+
+
+p_lpm_dispatch:
+	rtnmark1 mark_24g
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,lpm_dispatch+2
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	//fetch 2,mem_context + coffset_tsniff
+	//rtn blank										/* role switch */
+	fetch 1,mem_lpm_mode
+	rtn blank
+
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	call lpm_check_wake_lock
+	nrtn blank
+	call xtal_fast_wake
+	fetch 1,mem_ssp_enable
+	branch lpm_dispatch0,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+	branch lpm_dispatch0
+
+p_check_IPC_for_LPM:
+	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam 1,mem_c51_lpm_lock
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	branch p_check_ipc_2bt
+	
+p_lpm_dispatch_next:
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	branch lpm_dispatch1
+
+p_c51_wait:
+	fetch 1,mem_c51_flag
+	nop 10
+	bne 0,p_c51_wait
+	rtn
+
+
+p_lpm_dispatch_unconn:
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	branch lpm_dispatch_unconn + 2
+
+
+
+p_initialize_radio_cont:
+	call p_switchto_dpllclk
+	branch initialize_radio_cont + 4	
+p_switchto_dpllclk:
+	fetch 1,mem_lpm_xtalcnt
+	nbranch p_switchdpll_nocal,blank
+	call lpm_cal_xtal_startup
+	nop 30000
+	nop 30000
+	nop 30000
+p_switchdpll_nocal:
+	call switchto_dpllclk
+	hjam 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
+
+
+
+p_set_freq_rx:
+	storet 1,mem_last_freq
+	add temp,rx_freq_offset,rega			/* index to frequency */
+	branch set_freq_rx + 4	
+
+p_set_freq_tx_common:
+	storet 1,mem_last_freq
+	add temp,0,rega			// 0--2M 1--1M 2--M  index to frequency 
+	branch rf_write_freq
+	
+p_set_freq_tx:
+	call p_set_freq_tx_common
+	setarg param_pll_setup
+	call sleep
+p_txon:
+	hjam 0x1,rfen_adc
+	hjam 0x3c,rfen_rx
+	hjam 0xe0,rfen_tx
+	hjam 0x12,0x96d   /*Max added, for best Pout*/
+	nop 10 /* wait LDOs to turn ON*/
+	hjam 0x01, rfen_mdm
+	hjam 0x3d, rfen_mdm
+	nop 10 /* wait tx blocks to turn ON*/
+	hjam 0xb7,rfen_sn
+	nop 10 /* wait tx lo buffer to turn ON*/
+	hjam 0x7d, rfen_mdm
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_txpower_0dbm
+	fetch 5,mem_5db_tx_power_param
+	istore 5,contw
+	ifetch 5,contr
+	istore 5,contw
+	hjam 0xdf, 0x956
+	call p_set_tx_step_power
+	hjam 0xdf, 0x955
+	rtn
+
+p_txpower_0dbm:
+	fetch 5,mem_24g_paring_tx_power_param
+	istore 5,contw
+	ifetch 5,contr
+	istore 5,contw
+ 	hjam 0xc2, 0x956
+ 	hjam 0xd0, 0x955
+	rtn
+
+	
+	//pout ramp up
+	//c0 ~df	
+p_set_tx_step_power:
+	//hjam 0xff, 0x956   //hjam 0xce, 0x956 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	nop 4
+	hjam 0xd1, 0x955
+	nop 4
+	hjam 0xd2, 0x955
+	nop 4
+	hjam 0xd4, 0x955
+	nop 4
+	//d0~df
+	//hjam 0xdf, 0x955  //hjam 0xd7, 0x955 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+ 	rtn
+
+p_tx_ramp_down_common:
+	hjam 0xd4, 0x955
+	nop 4
+	hjam 0xd2, 0x955
+	nop 4
+	hjam 0xd1, 0x955
+	nop 4 
+	hjam 0xd0, 0x955  //hjam 0xd8, 0x955 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	hjam 0xc0, 0x956
+	rtn
+
+p_shutdown_radio:
+	branch shutdown_radio+2,is_rx
+	call p_tx_ramp_down_common
+	branch shutdown_radio+2
+
+
+p_kb_before_hibernate: 
+	enable user
+	hfetch 4,0x8138
+	setflag user,26,pdata
+	hstore 4,core_lpm_reg
+	call  lpm_write_ctrl
+	jam 1,mem_lpm_current_mult
+p_kb_bt_lpm_before:
+	rtn
+
+p_kb_init:
+//	call p_le_modified_name
+	jam 0,mem_c51_flag
+	jam 6,mem_connection_options
+	call app_lpm_mult_enable
+	setarg p_kb_bt_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg p_c51_user_event
+	store 2,mem_cb_bb_event_process
+	setarg p_mouse_idle
+	store 2,mem_cb_idle_process
+	setarg p_ipc_rx
+	store 2,mem_cb_le_process
+	setarg p_kb_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg mem_ipc_2bt_fifo_head
+	byteswap pdata,pdata
+	store 2,mem_ipc_2bt_read_index
+	store 2,mem_ipc_2bt_write_index
+	call lpm_disable_exen_output
+	setarg mem_ipc_2C51_fifo_head
+	byteswap pdata,pdata
+	store 2,mem_ipc_2C51_read_index
+	store 2,mem_ipc_2C51_write_index
+	fetch 1,mem_hibernate_flag
+	beq 0x5a,p_device_init_init_hibwake
+	branch p_deveice_init_wake,wake
+	fetch 2,mem_adc_0v
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	fetch 2,mem_adc_3v
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	call p_init_adc_from_otp
+	fetch 8,mem_temp
+	nbranch p_deveice_init_reset,blank
+	fetch 2,0x4ad4
+	byteswap pdata,pdata
+	branch p_deveice_init_reset,blank
+	store 2,mem_adc_3v
+p_deveice_init_reset:
+	call p_le_queue_init
+	jam BT_EVT_RESET,mem_ipc_tx_evt
+p_device_init_common:
+	call p_ipc_tx_evt
+	jam 0,mem_hibernate_flag
+	hjam START_C51_CORE,core_docd_ctrl
+	rtn
+p_deveice_init_wake:
+	jam BT_EVT_WAKEUP,mem_ipc_tx_evt
+	branch p_device_init_common
+p_device_init_init_hibwake:
+	copy auxcnt,pdata
+	branch p_enter_hibernate_continue,blank
+	call init_lmp_work
+	call l2cap_init_work
+	setarg 0
+	store 8,mem_context
+	store 2,mem_ui_state_map
+	copy clkn_bt,pdata
+	store 4,mem_ipc_last_check_timer
+	jam BT_EVT_HIBERNATE_WAKE,mem_ipc_tx_evt
+	branch p_device_init_common
+
+p_init_adc_from_otp:
+	call otp_enable_chgpump
+	setarg 0x7e2
+	arg mem_temp,rega
+	arg 12,temp
+	call otpd_read_data
+	call otp_disable_chgpump
+	fetch 8,mem_temp
+	rtn blank
+	fetch 1,mem_adc_config_flag
+	bbit1 ADC_CONFIG_VINLPM,p_calc_adc_base_vinlpm
+	bbit1 ADC_CONFIG_HVIN,p_calc_adc_base_hvin
+p_calc_adc_check_gpio:
+	fetch 2,mem_temp
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	fetch 2,mem_temp + 6
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	rtn
+p_calc_adc_base_vinlpm:
+	fetcht 2,mem_temp + 4
+	fetch 2,mem_temp + 10
+	copy temp,regb
+	copy pdata,rega
+	byteswap pdata,pdata
+	store 2, mem_adc_3v
+	copy rega,pdata
+	isub temp,regc
+	lshift regc,regc
+	copy regb,pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2, mem_adc_0v
+	rtn
+
+p_calc_adc_base_hvin:
+	fetcht 2,mem_temp + 2
+	fetch 2,mem_temp + 8
+	copy temp,regb
+	copy pdata,rega
+	isub temp,regc
+	rshift2 regc,regc
+	copy regb,pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	lshift regc,regc
+	copy rega,pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	rtn
+
+
+p_le_enable:
+	jam 39,mem_le_ch_mapped
+	hjam 0x36,0x90f        /*For BLE, tune AGC_gain_offset, Max added*/
+	hjam 0x5f,0x90b        //for BLE
+	branch le_enable+2
+p_le_disable:
+	hjam 0x2e,0x90f        /*For BR/EDR, tune AGC_gain_offset, Max added*/
+	hjam 0xff,0x90b         //for EDR&BR
+	branch le_disable+2
+
+
+p_mouse_idle:
+	rtn
+p_check_enter_hibernate:
+	jam SYC_TASK_HIBERNATE,mem_c51_flag
+	call p_c51_wait
+p_enter_hibernate_continue:
+//	branch lpm_hibernate
+	jam 0x5a,mem_hibernate_flag
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata					
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	arg param_hibernate_clks,temp
+	branch lpm_sleep
+	
+ 
+p_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
+	copy temp,pdata
+	rtn blank 
+	beq BT_CMD_START_24G,p_check_51cmd_start24g
+	beq BT_CMD_STOP_24G,p_check_51cmd_stop24g
+	beq BT_CMD_PAIR_24G,p_g24_start_pairing_sm1
+
+	branch check_51cmd_once+9
+p_check_51cmd_start24g:
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	branch p_g24_start_24g_mode
+p_check_51cmd_stop24g:
+	set0 mark_24g,mark
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	branch p_g24_stop_g24_mode
+
+
+
+
+
+
+
+p_le_queue_init:
+	setarg 0
+	store 4,mem_queue_write
+	rtn
+
+		
+p_g24_dispatch:
+	rtnmark0 mark_24g
+	call p_g24_txdata_prep
+	nbranch p_g24_long_sleep,user
+	jam 10,mem_24g_enter_lpm_timer
+	call p_g24_transmit_packet
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	jam TX_POWER_5DB,mem_tx_power
+p_g24_short_sleep:
+	fetch 1,mem_mouse_retry_flag
+	nrtn blank
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+p_g24_short_sleep_1:	
+	setarg 58000
+p_g24_short_sleep_2:	
+	call clk2lpo
+ 	storet 4,mem_sleep_counter
+ 	branch lpm_sleep
+
+p_g24_long_sleep:
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	fetch 1,mem_24g_enter_lpm_timer
+	nbranch p_g24_short_sleep_1,blank	
+	fetch 8,mem_24g_enter_hibernate
+  	branch p_g24_short_sleep_2
+
+p_g24_txdata_prep:
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_pairing_sm	
+	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:
+	disable user
+	jam 2,mem_24g_data_type
+	fetch 1,mem_24g_txbuf
+	beq 0x01,p_g24_dataready			
+	beq 0x02,p_g24_dataready_mk	
+	beq 0x03,p_g24_dataready_ms
+	beq 0x06,p_g24_dataready_sys
+	fetch 1,mem_mouse_retry_flag
+	ncall enable_user,blank
+	rtn
+p_g24_dataready:				
+	jam 0x00,mem_24g_txbuf				//standard key 0x00
+	jam 10,mem_24g_datalen		// 02 + 00 + 8 payload
+	branch p_g24_package_data_rtn
+p_g24_dataready_mk:			
+	jam 0x03,mem_24g_txbuf				//multi key 0x03
+	jam 4,mem_24g_datalen		// 02 + 03 + 2 payload
+	branch p_g24_package_data_rtn
+p_g24_dataready_sys:
+	jam 0x02,mem_24g_txbuf				//system key 0x02
+	jam 3,mem_24g_datalen		// 02 + 02 + 1 payload
+	branch p_g24_package_data_rtn
+p_g24_dataready_ms:
+	jam 1,mem_24g_data_type		// mouse
+	jam 8,mem_24g_datalen		// 01 + 7 payload
+p_g24_package_data_rtn:	
+	jam 0,mem_24g_get_ack_fail
+	branch enable_user
+
+
+
+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
+	nbranch p_g24_retransmit,user3
+	call p_g24_ackpayload_parse
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+	jam 0,mem_mouse_retry_flag
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_paring_mode_start
+p_g24_transmit_abandon:
+	call p_g24_clear_txbuf
+	jam 0,mem_24g_get_ack_fail
+	jam ENSURE_OFF_24G,mem_24g_ensure
+	rtn
+
+
+p_g24_retransmit:
+	jam 1,mem_mouse_retry_flag
+	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
+	fetch 1,mem_24g_get_ack_fail
+	beq  0xff,p_g24_stop_g24_mode
+	fetch 1,mem_24g_get_ack_fail
+	arg 16,temp
+	isub temp,null
+	branch p_g24_ch,positive
+	fetch 1,mem_24g_retry
+	increase 1,pdata
+	store 1,mem_24g_retry
+	nop 10
+	bne retry_24g,p_g24_transmit_loop
+	branch p_g24_ch
+	
+
+p_g24_clear_txbuf:
+	setarg 0
+	store 9,mem_24g_txbuf
+	rtn
+
+p_g24_check_txbuf:
+	bmark0 mark_24g,set_blank
+	fetch 8,mem_24g_txbuf
+	rtn
+
+
+p_g24_paring_mode_start:
+	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:
+//	jam 0,mem_24g_rxbuf+1
+//	enable user3
+//	branch p_g24_end_of_packet
+
+
+p_g24_tx_paring_retry:
+	rtn
+//	fetch 1,mem_24g_get_ack_fail
+//	rtnne 0xff
+//	jam 0,mem_24g_get_ack_fail
+p_g24_stop_g24_mode:
+	jam 0,mem_mouse_retry_flag
+	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
+	call p_24g_kb_led
+	arg mem_24g_rxbuf+2,contr
+	arg mem_24g_rxpayload,contw	//ack payload buffer 
+	branch memcpy
+
+p_24g_kb_led:
+	fetch 1,mem_24g_rxbuf+1
+	compare 0x08,pdata,0xf8
+	nrtn true
+	fetcht 1,mem_24g_rxbuf+2
+	storet 1,mem_caps_num_lock
+	jam 0,mem_24g_led_flag
+	rtn	
+
+	
+p_g24_start_pairing_sm1:
+	set1 mark_24g,mark
+	call p_g24_pair_init
+	call p_g24_transmit_abandon
+	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
+	rtn
+
+p_g24_pair_init:
+	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:
+	call p_g24_pair_init
+	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
+	jam 0x02,mem_24g_common_temp+1	// mem_24g_data_type: 02 keyboard
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+	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:
+	rtnmark1 mark_24g
+	call p_g24_syncword_crc8
+	call p_g24_ch
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call p_g24_tx_attemp_data_prep
+	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,user3
+p_g24_tx_attemp_dongle_succ:
+	call p_g24_clear_txbuf
+	set1 mark_24g,mark
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+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_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
+	rtn
+
+p_rssi_signal:
+	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_rssi_noise:
+//	call save_rssi
+//	rtn blank
+//	fetcht 1,mem_rssi_noise_index
+//	arg mem_rssi_noise_buf,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_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_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_transmit_prep_pair
+	fetch 1,mem_24g_data_type
+	istore 1,contw
+p_g24_transmit_prep_pair:	
+	fetch 1,mem_24g_datalen
+	iforce loopcnt
+	fetch 1,mem_24g_data_type
+	beq 1,p_g24_transmit_prep_mouse
+	arg mem_24g_txbuf,contr
+	call memcpy
+// type == 2 && mem_24g_txbuf[0] == 0x03  : multi	
+// type == 1 && mem_24g_txbuf[0] == 0x03  : mouse
+// if transmit fail,next package will send mouse data
+	fetch 1,mem_24g_txbuf	
+	beq 0x03,p_g24_multi_key_setup
+	rtn
+p_g24_multi_key_setup:
+	jam 0x02,mem_24g_txbuf
+	rtn
+
+
+p_g24_transmit_prep_mouse:
+	arg mem_24g_txbuf+1,contr
+	branch memcpy
+
+p_g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	call p_g24_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	storet 1,mem_24g_current_ch_number
+	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_rxon:
+	call p_g24_prep
+	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
+	copy pdata,rega
+	call p_rssi_signal
+	rtn
+
+p_g24_sync_timeout:
+//	call p_rssi_noise
+//	branch p_g24_end_of_packet
+p_g24_end_of_packet:
+	disable encode_fec1
+	disable decode_fec1
+	branch 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
+
+
+
+	
+
+/******************************************/
+/***********   ROM Start   ***************/
+/******************************************/
+
+org 0x3000		// start from rom address start
+start:
+	call lpmstate
+
+
+soft_reset:
+	set0 mark_ext_patch,mark
+	bpatch patch00_0,mem_patch00
+	clear_stack
+	call initialize_radio
+	call iicd_init_12m
+	call init_param
+	call l2cap_init
+	set0 mark_ext_patch,mark
+	bpatch patch00_1,mem_patch00
+	call rfcomm_init
+	call init_lmp
+	call ui_init
+	call app_init
+	set0 mark_ext_patch,mark
+	bpatch patch00_2,mem_patch00
+	call app_lpm_init,wake
+	call sp_initialize
+	call lpm_recover_clk,wake
+main_loop:	
+	set0 mark_ext_patch,mark
+	bpatch patch00_3,mem_patch00
+	call sp_calc_sequence
+	call le_dispatch
+	call hci_dispatch
+	set0 mark_ext_patch,mark
+	bpatch patch00_4,mem_patch00
+	call idle_dispatch
+	call app_process_idle
+	call inquiry_dispatch
+	set0 mark_ext_patch,mark
+	bpatch patch00_5,mem_patch00
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch
+	call lpm_dispatch
+	branch main_loop
+
+connection_dispatch:
+	call connection_incontext
+	rtnmark0 mark_context
+	set0 mark_context,mark
+	call context_save
+	branch le_disable
+	
+connection_incontext:
+	set0 mark_ext_patch,mark
+	bpatch patch00_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch00_7,mem_patch00
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_0,mem_patch01
+	fetch 1,mem_device_option
+	beq dvc_op_hci,idle_create_conn_hci
+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_hci:
+	fetch 6,mem_hci_plap
+	branch idle_exit,blank
+	store 6,mem_plap
+idle_create_conn_cont:
+	force LMP_VERSION_REQ,temp
+idle_start_page:
+	set0 mark_ext_patch,mark
+	bpatch patch01_1,mem_patch01
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch01_2,mem_patch01
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_3,mem_patch01
+	fetch 6,mem_hci_plap
+	store 6,mem_plap
+	compare LMP_NAME_REQ,temp,0xff
+	branch idle_name_fail,true
+	force HCI_ERROR_MEMORY_FULL,temp
+	call hci_send_connection_error
+	branch idle_exit
+idle_name_fail:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	force HCI_ERROR_MEMORY_FULL,queue
+	call hci_send_name
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_4,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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_0,mem_patch02
+	call save_rssi
+	call scan_mode_whiten
+	call receive_packet_whitened
+	set0 mark_rxbuf_inuse,mark
+	rtnmark0 mark_fhs_already_good
+inquiry_receive_rtn:
+	set0 mark_ext_patch,mark
+	bpatch patch02_1,mem_patch02
+	fetch 1,mem_at_using_flag
+	bbit1 AT_FLAG_INQ,at_inquiry_reply
+	call hci_inquiry_reply
+inquiry_receive_eir_rtn:
+	fetch 1,mem_inquiry_rcv
+	increase 1,pdata
+	store 1,mem_inquiry_rcv
+	rtn
+inquiry_receive_eir:
+	set0 mark_fhs_already_good,mark
+	call rf_setup_time_slave_slot_eir
+	call fetch_giac
+	call rx_radio_freq
+	call init_rx_packet_flags
+	call start_rx_native	/* start listening at start_rx time */
+	call start_receiver
+	call wait_access_clkn_rt
+	branch inquiry_receive_eir_packet,sync   /* try look for id packet again if not found */
+	rtn
+inquiry_receive_eir_packet:
+	call scan_mode_whiten
+	call receive_packet_whitened
+	set0 mark_rxbuf_inuse,mark		/*open recive pkt*/
+	branch inquiry_receive_rtn,crc_failed
+	call hci_inquiry_reply_eir
+	branch inquiry_receive_eir_rtn
+	
+rf_setup_time_slave_slot_eir:
+	arg param_rf_setup, timeup
+rf_setup_time_eir:
+	until clkn_rt,meet
+	and clkn_bt,3,pdata
+	bne 1,rf_setup_time_eir
+	rtn
+	
+	
+/******************************************/
+/**************  Master Dispatch  *************/
+/******************************************/
+
+
+
+master_page:
+	set0 mark_ext_patch,mark
+	bpatch patch02_2,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_3,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
+	force HCI_ERROR_PAGE_TIMEOUT,temp
+	call hci_send_connection_error
+	branch master_page_timeout
+master_npage_timeout:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	force HCI_ERROR_PAGE_TIMEOUT,queue
+	call hci_send_name
+master_page_timeout:
+	set0 mark_ext_patch,mark
+	bpatch patch02_4,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_7,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	
+master_dispatch_exit:
+page_exit:
+	set0 mark_ext_patch,mark
+	bpatch patch03_0,mem_patch03
+	disable master
+	fetch 2,mem_page_interval      
+	rtn blank
+	force page_interval_timer,queue
+	branch timer_init              
+
+page_check_train:
+	set0 mark_ext_patch,mark
+	bpatch patch03_1,mem_patch03
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_2,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_3,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_4,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_6,mem_patch03
+	fetch 1,mem_state
+	set0 state_inpage,pdata
+	store 1,mem_state
+	call newconn_init
+	disable master
+	rtn
+	
+
+master_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch03_7,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 load_esco
+	call get_sco_data
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_0,mem_patch04
+	call parse_lmp
+	call process_cmd
+	call hci_send_num_complete_packets
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_1,mem_patch04
+	call scheduler_process
+	call check_master_disconnect
+	nrtn master					/* disconnected */
+	call check_attempt
+	nbranch master_attempt,blank
+master_exit:
+	call process_sco_data
+	call restore_esco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_2,mem_patch04
+	call quit_connection
+	disable master
+	fetch 1,mem_state_map
+	bbit1 smap_name_req,master_name_disconnect
+	fetch 1,mem_state
+	bbit0 state_conn_comp,master_disconnect_quiet
+	fetcht 1,mem_conn_handle
+	branch hci_send_disconn_complete
+master_disconnect_quiet:
+	force HCI_ERROR_CONNECTION_TIMEOUT,temp
+	branch hci_send_connection_error
+master_name_disconnect:
+	force HCI_SUCCESS,queue
+	fetch 1,mem_state_map
+	bbit1 smap_name_res,hci_send_name
+master_name_error:
+	force HCI_ERROR_PAGE_TIMEOUT,queue
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	branch hci_send_name
+	
+disconnect_stop_sco:
+	set0 mark_ext_patch,mark
+	bpatch patch04_3,mem_patch04
+	fetch 1,mem_state
+	rtnbit0 state_insco
+	fetcht 1,mem_conn_handle
+	fetch 1,mem_sco_asso_handle
+	isub temp,null
+	nrtn zero
+	call stop_esco  //include sco
+	branch restore_esco_check_no_mark
+
+check_disconnect_timeout:
+	set0 mark_ext_patch,mark
+	bpatch patch04_4,mem_patch04
+	enable user
+	fetch 1,mem_op
+	rtnbit0 op_disconn
+	call conn_timer_expired
+	nrtn blank
+disable_usr:
+	disable user
+	rtn
+
+conn_timer_expired:
+	fetch 1,mem_conn_timer
+	increase -1,pdata
+	store 1,mem_conn_timer
+	rtn
+
+linkkey_ready:
+	set0 mark_ext_patch,mark
+	bpatch patch04_5,mem_patch04
+	fetch 1,mem_state
+	bbit1 state_linkkey,linkkey_set
+	fetch 1,mem_device_option
+	beq dvc_op_hci,linkkey_send_hci
+	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_send_hci:
+	call check_localsm
+	ncall hci_send_linkkey_notification,true
+linkkey_set:
+	set0 mark_ext_patch,mark
+	bpatch patch04_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_7,mem_patch04
+	disable user
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	fetch 2,mem_tsniff
+	nrtn blank
+	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
+	fetch 1,mem_state
+	set0 state_insniff,pdata
+	store 1,mem_state
+	enable user
+	rtn
+
+	/* pdata: switch instant, set tsniff=0 for special sniff */	
+role_switch_prepare:
+	copy pdata,temp
+	set0 mark_ext_patch,mark
+	bpatch patch05_0,mem_patch05
+	store 4,mem_sniff_anchor
+role_switch_prepare0:
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	fetch 1,mem_state
+	set1 state_insniff,pdata
+	store 1,mem_state
+	force 0,pdata
+	store 2,mem_tsniff
+	jam 10,mem_current_sniff_attempt		// allow 10 more polls or nulls afterwards
+	jam 1,mem_sniff_attempt
+	rtn
+
+
+role_switch_master:
+	set0 mark_ext_patch,mark
+	bpatch patch05_1,mem_patch05
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch05_2,mem_patch05
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch05_3,mem_patch05
+	call rf_setup_time_slave_slot
+	call master_send_packet
+	disable clknt
+	disable master
+	call apply_switch_clke
+	call prepare_newconn
+roles_newconns_loop:
+	set0 mark_ext_patch,mark
+	bpatch patch05_4,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:
+	force 1,temp
+	call hci_send_role_change
+	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
+
+	
+load_esco:
+	set0 mark_ext_patch,mark
+	bpatch patch05_5,mem_patch05
+	rtnmark0 mark_esco
+	fetch 1,mem_state
+	rtnbit0 state_insco
+load_esco_do:
+	call init_esco_ibuff
+	fetch 1,mem_esco_arq
+	fetcht 1,mem_arq
+	storet 1,mem_esco_saved_arq
+	store 1,mem_arq
+	deposit am_addr
+	store 1,mem_saved_amaddr
+	fetch 1,mem_esco_addr
+	iforce am_addr
+	set0 mark_esco_rxok,mark	
+	fetch 1,mem_last_type
+	store 1,mem_last_type_saved
+	fetch 1,mem_last_type_esco
+	store 1,mem_last_type
+	rtn
+
+restore_esco:
+	set0 mark_ext_patch,mark
+	bpatch patch05_6,mem_patch05
+	rtnmark0 mark_esco	
+restore_esco_check_no_mark:
+	call check_esco_amaddr
+	nrtn true
+restore_esco_do:
+	call clear_got_tx
+	fetch 1,mem_esco_saved_arq
+	fetcht 1,mem_arq
+	store 1,mem_arq
+	storet 1,mem_esco_arq
+	fetch 1,mem_saved_amaddr
+	iforce am_addr
+	fetch 1,mem_last_type
+	store 1,mem_last_type_esco
+	fetch 1,mem_last_type_saved
+	store 1,mem_last_type
+	setarg 0xffff
+	store 2,mem_retransmission_cnt
+	rtn
+
+
+
+
+context_load:
+	set0 mark_ext_patch,mark
+	bpatch patch05_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_0,mem_patch06
+	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:
+	fetcht 1,mem_current_context
+	arg context_num,loopcnt
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_1,mem_patch06
+	arg context_search_empty,regc
+	call context_search
+	nrtn zero					// all occupied
+	deposit rega
+	store 2,mem_context_ptr
+	force 0,null
+	rtn
+	
+	//return zero if anyone's wack is 1.
+	//return nzero if all wack is 0
+context_check_all_wack:
+	call check_esco_amaddr
+	branch context_check_esco_wack,true
+	fetch 2,mem_context_ptr
+	add pdata,coffset_arq,contw
+	fetch 1,mem_arq
+	istore 1,contw
+	arg context_check_a_wack,regc
+	branch context_search
+
+context_check_esco_wack:
+	fetch 1,mem_arq
+	isolate1 wack,pdata
+	branch context_esco_wack,true
+	force 1,null
+	rtn
+context_esco_wack:
+	force 0,null
+	rtn
+	
+	//rtn nzero if idle(no conn)
+context_check_idle:
+	arg context_check_inconn,regc
+	branch context_search
+	
+context_traverse_linkkey:
+	fetcht 2,mem_context_ptr
+	arg context_traverse_clearkey,regc
+	branch context_search
+	
+context_traverse_max_slot:
+	fetcht 2,mem_context_ptr
+	arg context_traverse_mslot,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_2,mem_patch06
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_3,mem_patch06
+	arg mem_context,rega
+	force 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
+	bbit1 27,context_search_sniff_cont
+	isolate0 27,temp
+	branch context_search_sniff_cont,true
+	set1 28,pdata								/* case:0 - fffffff */
+context_search_sniff_cont:
+	isub temp,pdata
+	increase 1,pdata
+	branch context_search_sniff_miss,positive
+	increase 5,pdata
+	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
+
+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_mslot:
+	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
+	add rega,coffset_lmp_to_send,contw
+	ifetch 1,contw
+	nbranch context_search_next,blank
+	force LMP_MAX_SLOT,pdata
+	istore 1,contw
+	branch context_search_next
+
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_4,mem_patch06
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_7,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
+	set0 mark_ext_patch,mark
+	bpatch patch07_0,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_1,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_2,mem_patch07
+	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 */
+	set0 mark_ext_patch,mark
+	bpatch patch07_3,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_4,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch08_0,mem_patch08
+	call newconn_init
+	call context_new
+	nrtn zero
+	jam 0,mem_mode
+	call calc_clke_offset
+	branch context_save
+
+
+slave_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch08_1,mem_patch08
+	call calc_clke
+	call role_switch_slave
+	rtn user
+	call load_esco
+	call get_sco_data
+slave_loop:
+	set0 mark_ext_patch,mark
+	bpatch patch08_2,mem_patch08
+	call check_bt_disabled
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	call slave_savelist
+	nbranch slave_notmatch,match
+	call supervision_flush
+	call parse_l2cap
+	call scheduler_tx_l2cap_pkt
+	call prepare_tx
+	call slave_conn_send_packet
+	call parse_lmp
+	call process_cmd
+	call hci_send_num_complete_packets
+	fetch 1,mem_slave_rcvcnt
+	increase 1,pdata
+	store 1,mem_slave_rcvcnt
+	call calc_clke_offset
+slave_notmatch:
+	set0 mark_ext_patch,mark
+	bpatch patch08_3,mem_patch08
+	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
+	call process_sco_data
+	branch restore_esco
+
+
+slave_disconnect:
+	set0 mark_ext_patch,mark
+	bpatch patch08_4,mem_patch08
+	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
+	bbit0 state_conn_comp,slave_connection_fail
+	fetcht 1,mem_conn_handle
+	branch hci_send_disconn_complete
+
+slave_connection_fail:
+	force HCI_ERROR_KEY_MISSING,temp
+	branch hci_send_connection_error
+
+role_switch_slave:
+	set0 mark_ext_patch,mark
+	bpatch patch08_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch08_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch08_7,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:
+	force 0,temp
+	call hci_send_role_change
+	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:
+	enable user
+	rtn
+
+	
+
+init_rx_packet_flags:
+	set0 mark_ext_patch,mark
+	bpatch patch09_0,mem_patch09
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_1,mem_patch09
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_2,mem_patch09
+	call init_lmp_reinit
+	call new_conn_handle
+	store 1,mem_conn_handle
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_3,mem_patch09
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_4,mem_patch09
+	call disconnect_stop_sco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_5,mem_patch09
+	call app_disconn_reason_collect_bt
+	call process_cmd				/* clear pending command */
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_0,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_1,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_2,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_3,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_4,mem_patch0a
+	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_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
+	set0 mark_ext_patch,mark
+	bpatch patch0a_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_0,mem_patch0b
+	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:	
+	set0 mark_ext_patch,mark
+	bpatch patch0b_1,mem_patch0b
+	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
+	call restore_esco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_2,mem_patch0b
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_3,mem_patch0b
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_4,mem_patch0b
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_5,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
+	call test_esco,crc_failed
+	branch error_payload,crc_failed
+	branch ack_payload
+
+test_esco:
+	deposit clke
+	store 6,mem_display
+	rtn
+
+process_poll:
+	branch end_of_packet
+
+process_dm3:
+process_dm5:
+	set1 mark_longpacket,mark
+process_dm1:
+	enable decode_fec2
+	branch process_dmh
+	
+process_dh3:
+process_dh5:
+	set1 mark_longpacket,mark
+process_3dh1:
+	set1 PSK3M,radio_ctrl
+process_dh1:
+	enable decode_fec0
+process_dmh:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_7,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:	
+	set0 mark_ext_patch,mark
+	bpatch patch0c_0,mem_patch0c
+	deposit loopcnt
+	store 2,mem_len
+	branch process_dmh_data_end,blank
+	isub mask3ff,null
+	branch error_payload,positive	/* packet too large, discard */
+	set0 mark_ext_patch,mark
+	bpatch patch0c_1,mem_patch0c
+	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
+	fetch 1,mem_device_option
+	beq dvc_op_hci,process_dmh_acl	//HCI mode
+	//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_acl: //HCI
+	set0 mark_ext_patch,mark
+	bpatch patch0c_2,mem_patch0c
+	bmark1 mark_old_packet,ack_payload
+	fetch 2,mem_len
+	branch error_payload,blank
+	call hci_check_bcsp_protocol
+	nbranch process_dmh_acl_check_h4_buff,true
+process_dmh_acl_bcsp:
+	fetcht 2,mem_h5tx_free
+	increase 10,pdata
+	isub temp,null
+	nbranch process_dmh_acl_packet,positive// nbranch if no free buff
+	call hci_dispatch
+	branch process_dmh_acl_bcsp// loop and wait for tx buff
+process_dmh_acl_check_h4_buff:
+	hfetch 2,core_uart_txitems
+	arg 300,temp
+	isub temp,null
+	branch error_payload,positive
+	fetch 2,mem_acl_credits
+	branch error_payload,blank
+process_dmh_acl_packet: // packaging
+	set0 mark_ext_patch,mark
+	bpatch patch0c_3,mem_patch0c
+	call hci_get_packet_ptr
+	fetch 1,mem_conn_handle
+	fetcht 1,mem_lch_code
+	and_into 3,temp
+	lshift8 temp,temp
+	lshift4 temp,temp
+	ior temp,pdata
+	istore 2,contwu
+	fetcht 2,mem_len
+	copy temp,loopcnt
+	istoret 2,contwu //length in temp
+process_dmh_acl_copy:
+	set0 mark_ext_patch,mark
+	bpatch patch0c_4,mem_patch0c
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contwu
+	loop process_dmh_acl_copy
+	add temp,4,loopcnt
+	call hci_check_bcsp_protocol
+	nbranch process_dmh_acl_send_h4,true
+	set1 mark_h5tx_rp,mark
+	force 6,queue
+	call bcsp_send_packet
+	branch process_dmh_data_end
+process_dmh_acl_send_h4:
+	call h4_send_packet_acl
+	branch process_dmh_data_end
+	
+process_dmh_data_l2cap_start_pkt:
+	set0 mark_ext_patch,mark
+	bpatch patch0c_5,mem_patch0c
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0c_6,mem_patch0c
+	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:	
+	set0 mark_ext_patch,mark
+	bpatch patch0c_7,mem_patch0c
+	parse demod,bucket,16  /* cycle through the crc */
+	branch error_payload_crc,crc_failed
+	call lpm_hci_wake_dispatch
+	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
+	fetch 1,mem_device_option
+	beq dvc_op_hci,process_dmh_cont
+	set0 mark_ext_patch,mark
+	bpatch patch0d_0,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_1,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_2,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_3,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_4,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_5,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_6,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_7,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_0,mem_patch0e
+	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 1,mem_device_option
+	rtneq dvc_op_hci
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_1,mem_patch0e
+	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
+	beq LMP_REMOVE_SCO_LINK_REQ,stop_sco
+	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
+	beq LMP_EXT_REMOVE_ESCO_REQ,stop_sco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_2,mem_patch0e
+	fetch 1,mem_state_map
+	set1 smap_encryption,pdata
+	store 1,mem_state_map
+	hjam 1,core_encrypt
+	fetch 1,mem_state
+	isolate1 state_conn_comp,pdata
+	branch hci_send_encryption_change,true
+	rtn
+
+stop_encryption:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_3,mem_patch0e
+	fetch 1,mem_state_map
+	set0 smap_encryption,pdata
+	store 1,mem_state_map
+	hjam 0,core_encrypt
+	rtn
+
+
+sniff_init:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_4,mem_patch0e
+	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
+	jam 0x80,mem_seqi
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_5,mem_patch0e
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	set0 state_insniff,pdata
+	store 1,mem_state
+	jam 0x7f,mem_seqi
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_6,mem_patch0e
+	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:
+	call restore_esco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_7,mem_patch0e
+	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
+	
+play_sco:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_0,mem_patch0f
+	jam 1,mem_max_slot
+	//call context_traverse_max_slot
+	call enable_pcm
+	force 12,pdata
+	store 2,mem_tsniff
+	fetch 1,mem_esco_desco
+	lshift pdata,pdata
+	store 2,mem_dsniff
+	fetch 1,mem_state
+	set1 state_insco,pdata
+	store 1,mem_state
+	jam 3,mem_sniff_attempt
+	jam 3,mem_current_sniff_attempt
+	call sniff_init
+	force 0,temp //sco chn
+	call hci_send_sco_complete
+	jam 0x50,mem_esco_arq
+	jam param_sco_poll,mem_sco_poll
+	rtn
+	
+stop_sco:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_1,mem_patch0f
+	call sniff_exit
+	jam 5,mem_max_slot
+	//call context_traverse_max_slot
+	call disable_pcm	
+	fetch 1,mem_state
+	set0 state_insco,pdata
+	store 1,mem_state
+stop_sco_hci:
+	arg 0xe00,temp
+	jam HCI_ERROR_REMOTE_USER_ENDED_CONNECTION,mem_hci_disconn_reason
+	branch hci_send_disconn_complete
+
+stop_esco:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_2,mem_patch0f
+	jam default_neogotiation_state,mem_neogotiation_state
+	call stop_sco
+	call restore_esco
+	set0 mark_esco,mark
+	rtn	
+
+parse_l2cap:	
+	set0 mark_ext_patch,mark
+	bpatch patch0f_3,mem_patch0f
+	fetch 1,mem_device_option
+	beq dvc_op_hci,parse_l2cap_hci
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch0f_4,mem_patch0f
+	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_exit:
+	fetch 1,mem_state_map
+	set0 smap_rxl2cap,pdata
+	store 1,mem_state_map
+	set0 mark_rxbuf_inuse,mark
+	branch h4_send_acl_trigger_clear
+	
+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
+
+parse_l2cap_hci:
+	fetch 1,mem_state_map
+	rtnbit0 smap_rxl2cap,pdata
+	call h4_send_acl_trigger
+	fetch 2,mem_acl_credits
+	branch assert,blank
+	increase -1,pdata
+	store 2,mem_acl_credits
+	branch parse_l2cap_exit
+
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_5,mem_patch0f
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_6,mem_patch0f
+	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
+	compare type_id,type,0x1f        /* is this id only ? */
+	branch end_of_packet,true
+transmit_packet:
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+transmit_packet_whitened:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_7,mem_patch0f
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch10_0,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_1,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_2,mem_patch10
+	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 */
+	set0 mark_ext_patch,mark
+	bpatch patch10_3,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_4,mem_patch10
+	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:
+	fetch 1,mem_device_option
+	beq dvc_op_hci,transmit_stuff_hci
+	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_stuff_hci:
+	fetch 2,mem_txptr
+	iforce contru
+transmit_stuff_hci_loop:
+	ifetch 1,contru
+	inject mod,8
+	loop transmit_stuff_hci_loop
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_5,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_6,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_7,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_0,mem_patch11
+	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:	
+	set0 mark_ext_patch,mark
+	bpatch patch11_1,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_2,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_3,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_4,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_5,mem_patch11
+	fetch 1,mem_hci_puap
+	icopy uap
+	fetch 3,mem_hci_plap
+	icopy lap
+	rtn
+
+fetch_self_bt_adr:
+	set0 mark_ext_patch,mark
+	bpatch patch11_6,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_7,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch12_0,mem_patch12
+	force 0,radio_ctrl
+	disable is_rx
+	disable is_tx
+	pulse packet_end
+	hjam 0x0,rfen_mdm
+	hjam 0x0,rfen_tx
+	hjam 0x0,rfen_rx
+	hjam 0,rfen_sn
+	hjam 0x70,rfen_msc
+	hjam 0x0,rfen_adc
+	rtn	
+
+set_sync_on:
+	set0 mark_ext_patch,mark
+	bpatch patch12_1,mem_patch12
+	hjam 0x0,rfen_mdm					/* if called from tx or rx */
+	hjam 0x0,rfen_tx
+	hjam 0x18,rfen_rx
+	hjam 0xa7,rfen_sn
+	hjam 0x7f,rfen_msc
+	rtn
+
+
+set_freq_rx:
+	set0 mark_ext_patch,mark
+	bpatch patch12_2,mem_patch12
+		/* IF is +2MHz */
+	storet 1,mem_last_freq
+	add temp,rx_freq_offset,rega			/* index to frequency */
+	branch rf_write_freq
+rf_rx_enable:
+	set0 mark_ext_patch,mark
+	bpatch patch12_3,mem_patch12
+	hjam 0xcf,rfen_tx
+	nop 10					/* wait adc clk48 ready */
+	hjam 0xff,rfen_rx
+	hjam 0xaf,rfen_sn
+	hjam 0xff,rfen_msc
+	nop 10
+	hjam 0xa0,rfen_mdm
+	rtn
+
+
+set_freq_tx:
+	set0 mark_ext_patch,mark
+	bpatch patch12_4,mem_patch12
+	storet 1,mem_last_freq
+	add temp,tx_freq_offset,rega			/* index to frequency */
+	call rf_write_freq
+	setarg param_pll_setup
+	call sleep
+txon:	
+	hjam 0x1,rfen_adc
+	hjam 0x3c,rfen_rx
+	hjam 0xe0,rfen_tx
+	hjam 0xb7,rfen_sn
+	hjam 0x7f, rfen_mdm
+	rtn
+
+initialize_radio:
+	hjam clksel_rc,core_clksel
+	call init_rf_regs
+	call init_agc_table
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch12_5,mem_patch12
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch12_6,mem_patch12
+	setarg 2400
+	iadd rega,temp
+	fetch 1,mem_fcomp_mul
+	hjam 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
+	hjam 0x44,rf_pll_rstn
+	hjam 0xc4,rf_pll_rstn
+	rtn
+
+	
+do_rccal:
+	set0 mark_ext_patch,mark
+	bpatch patch12_7,mem_patch12
+	hjam 0x02,rfen_adc
+	setarg 250000
+	call sleep					/* wait clkpll&xtal stable */
+	hjam 0x7f,rfen_rx
+	nop 130
+	hjam 0x30,rf_rccal_ctrl
+	hjam 0xd0,rfen_tx
+	hjam 0x70,rf_rccal_ctrl
+	hjam 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
+	hjam 0,rfen_tx
+	hjam 0,rfen_rx
+	hjam 0x00,rfen_adc
+	rtn
+
+set_rccal:
+	set0 mark_ext_patch,mark
+	bpatch patch13_0,mem_patch13
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_1,mem_patch13
+	hfetch 2,rf_afc_d2a
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	sub pdata,0,pdata
+	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_rcclk:
+	hjam 0xa,core_clksel
+	hjam 0,rfen_ck
+	hfetch 3,core_lpm_ctrl
+	hstore 3,core_lpm_reg
+	hjam 0xfc,core_lpm_reg
+	call lpm_write_ctrl
+	nop 1000
+	rtn
+	
+switchto_dpllclk:
+	hjam clksel_rc,core_clksel
+	hfetch 1,rf_clkpll_frac+2
+	set0 4,pdata
+	set0 5,pdata
+	hstore 1,rf_clkpll_frac+2
+	hjam 0x00,rfen_ck
+	hjam 0x00,rfen_msc
+	hjam 0x70,rfen_msc
+	hjam 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
+	hjam clksel_dpll,core_clksel
+	rtn
+
+check_dpll:
+	nop 1000
+	hjam clksel_xtal,core_clksel
+	nop 10
+	hjam 0x00,core_bist_ctrl
+	hjam ccnt_start,core_misc_ctrl
+check_dpll_loop:
+	hfetch 1,core_perf_status
+	bbit0 1,check_dpll_loop
+	hfetcht 3,core_clk_counter
+	hjam clksel_dpll,core_clksel
+	nop 10
+	hjam ccnt_start,core_misc_ctrl
+check_dpll_loop2:
+	hfetch 1,core_perf_status
+	bbit0 1,check_dpll_loop2
+	hfetch 3,core_clk_counter
+	isub temp,pdata
+	branch check_dpll_pos,positive
+	sub pdata,0,pdata
+check_dpll_pos:
+	store 2,mem_dpll_error
+	sub pdata,70,null
+check_dpll_assert:
+	nbranch check_dpll_assert,positive
+	rtn
+	
+xtal_fast_wake:
+	setarg 0xf0f
+	branch lpm_write_config
+
+init_lpm_ctrl:
+	setarg 0x80f
+	branch lpm_write_config
+
+
+
+start_receiver:
+	set0 mark_ext_patch,mark
+	bpatch patch13_2,mem_patch13
+	call rf_rx_enable
+	disable is_tx
+	enable is_rx
+	pulse init_encrypt
+	rtn
+
+prep_crypt:
+	set0 mark_ext_patch,mark
+	bpatch patch13_3,mem_patch13
+	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_clke_rt:
+	set0 mark_ext_patch,mark
+	bpatch patch13_4,mem_patch13
+	enable decode_fec0
+	arg param_conn_access,timeup
+	correlate clke_rt,meet    /* keep correlating until sync is found, stop on no other condition */
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_5,mem_patch13
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_6,mem_patch13
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_7,mem_patch13
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch14_0,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_1,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_2,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_3,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_4,mem_patch14
+	call prep_crypt
+	disable is_rx
+	enable is_tx
+	rtn
+
+
+
+start_tx_native:
+	set0 mark_ext_patch,mark
+	bpatch patch14_5,mem_patch14
+	arg param_tx_setup,timeup
+	until clkn_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+start_rx_native:
+	set0 mark_ext_patch,mark
+	bpatch patch14_6,mem_patch14
+	arg param_rx_setup,timeup
+	until clkn_rt,meet
+	rtn
+
+
+start_tx_external:
+	set0 mark_ext_patch,mark
+	bpatch patch14_7,mem_patch14
+	arg param_tx_setup,timeup
+	until clke_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+send_access_word:
+	set0 mark_ext_patch,mark
+	bpatch patch15_0,mem_patch15
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_1,mem_patch15
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_2,mem_patch15
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_3,mem_patch15
+	call get_clkbt
+	store 4,mem_supervision_timer
+	rtn
+
+assert:
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch15_4,mem_patch15
+	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 */
+	call init_memp
+	set0 mark_ext_patch,mark
+	bpatch patch15_5,mem_patch15
+	rtn wake
+	setarg 0
+	store 2,mem_tx_len
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	rtn
+	
+
+//clear esco ibuff
+init_esco_ibuff:
+	setarg 0xaa,pdata
+	arg mem_sco_ibuf,contw
+	force 30,loopcnt
+init_esco_ibuff_loop:
+	istore 1,contw
+	loop init_esco_ibuff_loop
+	rtn
+
+init_rf_regs:
+	hjam 0x02,0x907
+	hjam 0x1f,0x908
+	hjam 0x1f,0x909
+	hjam 0xe0,0x90a
+	hjam 0x4e,0x90b			/* EVM */
+	hjam 0x45,rf_agc_ctrl		/* invert demod */
+	hjam 0x00,0x953			/* rccal */
+
+	hjam 0xfb,0x94c			/* rx sensitivity */
+	hjam 0xef,0x94d
+	hjam 0x0c,0x94e
+	
+	hjam 0x88,0x96f
+	hjam 0x30,0x973			/* turn off charge pump */
+
+	// tx power up to -3dBm
+	hjam 0x00,0x953
+	hjam 0xc9,0x956
+	hjam 0x6c,0x958
+	hjam 0x50,0x959
+	rtn
+
+init_agc_table:
+//AGC Table Setting Conservative, Based on 8PSK_sen, Max added
+	hjam 0xa9,0x930 //hjam 0x9D,0x930	
+	hjam 0xb1,0x92f //hjam 0xA1,0x92f	
+	hjam 0xb9,0x92e //hjam 0xA9,0x92e	
+	hjam 0xAD,0x92d	
+	hjam 0xB1,0x92c	
+	hjam 0xB5,0x92b	
+	hjam 0xBA,0x92a	
+	hjam 0xBE,0x929	
+	hjam 0xC2,0x928	
+	hjam 0xC6,0x927	
+	hjam 0xCA,0x926	
+	hjam 0xCE,0x925	
+	hjam 0xD2,0x924	
+	hjam 0xD6,0x923	
+	hjam 0xDA,0x922	
+	hjam 0xDE,0x921	
+	hjam 0xE2,0x920	
+	hjam 0xE6,0x91f	
+	hjam 0xEA,0x91e	
+	hjam 0xEE,0x91d	
+	hjam 0xF2,0x91c	
+	hjam 0xF6,0x91b	
+	hjam 0xFB,0x91a
+	
+	hjam 0xf5,0x947 //hjam 0xF8,0x947	
+	hjam 0xe5,0x946 //hjam 0xE9,0x946	
+	hjam 0xd5,0x945 //hjam 0xD9,0x945	
+	hjam 0xD8,0x944	
+	hjam 0xC9,0x943	
+	hjam 0xC8,0x942	
+	hjam 0x89,0x941	
+	hjam 0x88,0x940	
+	hjam 0x87,0x93f	
+	hjam 0x48,0x93e	
+	hjam 0x09,0x93d	
+	hjam 0x08,0x93c	
+	hjam 0xC9,0x93b	
+	hjam 0xC8,0x93a	
+	hjam 0xC7,0x939	
+	hjam 0xC6,0x938	
+	hjam 0xC5,0x937	
+	hjam 0xC4,0x936	
+	hjam 0xC3,0x935	
+	hjam 0xC2,0x934	
+	hjam 0xC1,0x933	
+	hjam 0xC0,0x932	
+	hjam 0x80,0x931
+	rtn	
+
+
+
+init_250k:
+	enable le
+	setarg 0x8e89be
+	lshift8 pdata,pdata
+	or_into 0xd6,pdata
+	iforce access
+	hjam 7,0x914			// enable ble
+	hjam 0xa0,0x90a
+	hjam 0x8f,0x90d		// enable 250k
+	hjam 0x0f,0x911		
+	hjam 0x87,0x912		// disable agc
+	rtn
+
+
+/*****************************************LPO************************************************/
+
+lpmstate:
+	setarg 0xee21
+	hstore 2,core_clkoff			// disable unused peripherals
+	hfetch 1,core_lpm_ldocnt
+	bbit0 gpio_latch,loadcode		// power up boot
+	enable wake
+	bbit0 cold_wake,lpmwake		
+	disable wake
+	deposit auxcnt
+	nbranch lpmwake,blank		// sleep interrupted, wakeup
+	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
+	rtn wake
+	branch loadcode				// wakeup from hibernate
+
+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
+	hjam 0xc0,core_bist_ctrl
+	hjam 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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_6,mem_patch15
+	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
+
+	/* no retention memory at all */
+lpm_hibernate:
+	set0 mark_ext_patch,mark
+	bpatch patch15_7,mem_patch15
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata						/* lowest lpo */
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+lpm_hibernate_normal:
+	arg param_hibernate_clks,temp
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch16_0,mem_patch16
+	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
+	hjam lpmreg_sel_ctrl2,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	deposit rega
+	hstore 1,core_lpm_isogate
+	hjam lpmreg_sel_ctrl2,core_lpm_wr
+lpm_enter_sleep:
+	until null,lpo_edge
+	until null,lpo_edge
+	hstoret 4,core_lpm_reg
+	hjam lpmreg_sel_counter,core_lpm_wr
+	until null,never
+
+
+
+
+lpm_recover_clk:
+	set0 mark_ext_patch,mark
+	bpatch patch16_1,mem_patch16
+	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
+	call savelist_2
+	rtn
+	
+lpm_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch16_2,mem_patch16
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	call lpm_check_wake_lock
+	nrtn blank
+lpm_dispatch0:
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch16_3,mem_patch16
+lpm_dispatch1:
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch16_4,mem_patch16
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch16_5,mem_patch16
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch16_6,mem_patch16
+	fetch 1,mem_context
+	rtnbit1 state_inconn					// wont sleep in connection
+	rtnbit1 state_inpage					// wont sleep when paging
+	fetch 1,mem_ssp_enable
+	branch lpm_unconn_nossp,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+lpm_unconn_nossp:
+	fetch 1,mem_le_adv_enable
+	nbranch lpm_unconn_cont,blank
+	fetch 1,mem_scan_mode
+	rtn blank
+lpm_unconn_cont:
+	fetch 2,mem_lpm_interval
+	rtn blank
+lpm_sleep_btclk:
+	fetcht 1,mem_lpm_overhead
+	isub temp,pdata
+	arg 7500,temp				/* 1.25ms */
+	imul32 temp,pdata
+	branch lpm_dispatch_sleep
+
+lpm_set_mult:
+	set0 mark_ext_patch,mark
+	bpatch patch16_7,mem_patch16
+	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
+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
+
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_0,mem_patch17
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_1,mem_patch17
+	fetch 1,mem_lpm_xtalcnt
+	nrtn blank
+	hjam 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
+	hjam 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
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_2,mem_patch17
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_3,mem_patch17
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch17_4,mem_patch17
+	fetch 2,mem_l2cap_rxbuff1_len
+	fetcht 2,mem_l2cap_rxbuff2_len
+	iadd temp,pdata
+	nsetflag blank,wake_lock_l2cap_rx,rega
+	fetch 5,mem_ipc_fifo_bt2c51
+	nsetflag blank,wake_lock_ipc_bt2c51,rega
+	fetch 5,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
+	set0 mark_ext_patch,mark
+	bpatch patch17_5,mem_patch17
+	fetch 1,mem_device_option
+	bne dvc_op_hci,lpm_check_wake_lock_nothci
+	call lpm_uart_wake_lock
+	fetch 1,mem_link_key_exists
+	setflag blank,wake_link_key_exists,rega
+	fetch 4,mem_lpm_delay_after_sniff
+	arg 0x1710,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nsetflag positive,wake_lock_delay,rega
+	branch lpm_check_wake_lock_end
+
+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_check_wake_lock_nothci:
+	setarg -8
+	iand rega,rega
+lpm_check_wake_lock_end:
+	copy rega,pdata
+	store 2,mem_lpm_wake_lock
+	rtn blank
+	rtn match
+	enable wake
+	rtn
+
+lpm_shut_down:
+	hfetch 4,core_lpm_ctrl
+	set0 27,pdata
+	hstore 4,core_lpm_reg
+	call  lpm_write_ctrl
+	branch assert
+
+lpm_enable_exen_output:
+	hfetch 4,core_lpm_xtalcnt
+	set1 20,pdata
+	hstore 4,core_lpm_reg
+	branch lpm_write_ctrl2
+	
+lpm_disable_exen_output:
+	hfetch 4,core_lpm_xtalcnt
+	set0 20,pdata
+	hstore 4,core_lpm_reg
+	branch lpm_write_ctrl2
+
+lpm_hci_wake_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch17_6,mem_patch17
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call gpio_check_uart_state
+	rtn true
+	fetch 4,mem_hci_wake_clk
+	nbranch lpm_hci_check_wake_time,blank
+	copy clkn_bt,pdata
+	store 4,mem_hci_wake_clk
+	branch gpio_pd_uart_tx
+lpm_hci_check_wake_time:
+	set0 mark_ext_patch,mark
+	bpatch patch17_7,mem_patch17
+	copy clkn_bt,pdata
+	fetcht 4,mem_hci_wake_clk
+	isub temp,pdata
+	arg HOST_WAKE_TIME,temp
+	isub temp,null
+	nrtn positive
+	setarg 0
+	store 4,mem_hci_wake_clk
+	branch hci_exit_lpm
+
+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
+	
+test_init:
+	setarg test_proc
+	store 2,mem_cb_bt_process
+	setarg test_sleep
+	store 2,mem_cb_bb_event_process
+	setarg test_proc
+	store 2,mem_cb_idle_process
+	rtn wake
+	jam ui_led_start,mem_led_switch
+	rtn
+
+test_proc:
+	fetch 1,mem_state
+	bbit0 state_insniff,check_test_cond
+	set1 mark_lpm_mult_enable,mark
+	fetch 6,mem_sniff_rcv
+	store 6,mem_local_name
+	branch ui_led_blink_stop
+	
+
+test_sleep:
+	deposit regc
+	rtnne BT_EVT_BUTTON_LONG_PRESSED
+test_sleep_loop:
+	call ui_button_polling
+	fetch 1,mem_ui_button_last_state
+	beq 1,test_sleep_loop
+	call ui_led_off
+	branch lpm_hibernate
+
+
+test_tx:
+	force 2,temp
+	increase -2,temp
+	call set_sync_on
+	call set_freq_tx
+	disable enable_white
+	enable encode_fec0
+	set1 TXGFSK,radio_ctrl
+	call start_transmitter
+test_tx_loop:
+	fetch 1,0
+	inject mod,8
+	branch test_tx_loop
+
+
+	
+
+
+app_init:
+	set1 mark_ext_patch,mark
+	bpatch patch39_5,mem_patch39
+	fetch 1,mem_device_option
+	branch app_init,blank				/* wait ram to be initialized */
+	beq dvc_op_ukey,le_ukey_init
+	beq dvc_op_ir,le_ir_init
+	beq dvc_op_dongle,le_dongle_init
+	beq dvc_op_kb,kb_init
+	beq dvc_op_hci,hci_init
+	beq dvc_op_shutter,shutter_init
+	beq dvc_op_module,module_init
+	beq dvc_op_ble_kb,le_kb_init
+	beq dvc_op_ble_prcp,prcp_init
+	beq dvc_op_test,test_init
+	bbit1 dvc_op_mouse,mouse_init
+	rtn
+	
+app_lpm_init:
+	set1 mark_ext_patch,mark
+	bpatch patch39_6,mem_patch39
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_7,mem_patch39
+	//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
+	
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,app_evt_timer
+	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
+	jam 0,mem_le_switch_send_data
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_0,mem_patch3a
+	storet 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
+	branch app_evt_100ms_loop
+	
+app_unsniff_delay_timer:
+	fetch 1,mem_unsniff2sniff_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_unsniff2sniff_timer_count
+	nrtn blank
+	call context_check_idle
+	branch app_bt_enter_sniff,zero
+	rtn
+app_discovery_timer:
+	fetch 2,mem_discovery_timeout_timer_count
+	rtn blank
+	increase -1,pdata
+	store 2,mem_discovery_timeout_timer_count
+	nrtn blank
+	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:
+	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_SPP_CONN,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_event_do_nothing:
+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_reconn_target:
+	call eeprom_load_reconn_info
+	fetch 6,mem_hci_plap
+	rtn
+	
+app_le_check_reconn_target:
+	fetch 1,mem_ltk_exists
+	branch app_le_check_reconn_target_none,blank
+	call app_led_on
+	branch app_ble_start_direct_adv
+app_le_check_reconn_target_none:
+	call app_led_start_blink
+	branch app_ble_start_adv
+
+app_check_plap:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_1,mem_patch3a
+	arg mem_check_plap_temp,regb
+	arg app_check_one_plap,regc
+	branch context_search
+	
+app_check_one_plap:
+	arg 0,temp
+	bbit0 state_inconn,app_check_one_plap_next
+	add rega,coffset_plap,contr
+	ifetcht 6,contr
+app_check_one_plap_next:
+	copy temp,pdata
+	ncall app_check_one_plap_device_exist,blank
+	istoret 6,regb
+	increase 6,regb
+	branch context_search_next
+app_check_one_plap_device_exist:
+	fetch 1,mem_device_nums
+	increase 1,pdata
+	store 1,mem_device_nums
+	rtn
+	
+app_check_conn_device_nums_addr:
+	jam 0,mem_device_nums
+	branch app_check_plap
+
+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
+	set1 mark_ext_patch,mark
+	bpatch patch3a_2,mem_patch3a
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_3,mem_patch3a
+	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:
+	fetch 1,mem_wake_up_delay_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_wake_up_delay_timer
+	nrtn blank
+	branch app_put_lpm_wake_lock
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_4,mem_patch3a
+	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_ble_start_write:
+	jam BT_CMD_LE_START_WRITE,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_lpm_mult_enable:
+	set1 mark_lpm_mult_enable,mark
+	rtn
+
+app_lpm_mult_disable:
+	set0 mark_lpm_mult_enable,mark
+	rtn
+	
+
+
+at_restore_param:
+	set1 mark_ext_patch,mark
+	bpatch patch32_0,mem_patch32
+	arg 32,temp
+	arg mem_le_name_len,rega
+	arg eeprom_module_ble_name_length,regb
+	call iicd_read_eep_data
+
+
+	arg 32,temp
+	arg mem_local_name_length,rega
+	arg eeprom_module_bt_name_length,regb
+	call iicd_read_eep_data
+
+	arg 6,temp
+	arg mem_lap,rega
+	arg eeprom_module_bt_adss,regb
+	call iicd_read_eep_data
+
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_module_le_adss,regb
+	call iicd_read_eep_data
+	call le_modified_name
+
+	arg 2,temp
+	arg mem_baud,rega
+	arg eeprom_module_trans_baud,regb
+	call iicd_read_eep_data
+	call uart_set_baud_by_mem
+
+	branch  at_restore_pin_code
+
+at_restore_pin_code:
+	arg 14,temp
+	arg mem_pin_length,rega
+	arg eeprom_module_pincode_length,regb
+	branch iicd_read_eep_data
+
+init_module_environment:
+	set1 mark_ext_patch,mark
+	bpatch patch32_1,mem_patch32
+	call app_initflag_check
+	branch at_restore_param,zero
+init_module_eeprom:
+	call at_store_bt_name
+	call at_store_le_name
+	call le_modified_name
+	call at_store_le_adss
+	call at_store_bt_adss
+	call pincode_reinit
+	call at_store_bt_pincode
+	call at_store_throughput_uart_baud115200
+	branch app_initflag_store
+
+at_store_bt_name:
+	fetcht 1,mem_local_name_length
+	increase 1,temp
+	arg mem_local_name_length,rega
+	arg eeprom_module_bt_name_length,regb
+	branch iicd_write_eep_data
+
+at_store_le_name:
+	fetcht 1,mem_le_name_len
+	increase 1,temp
+	arg mem_le_name_len,rega
+	arg eeprom_module_ble_name_length,regb
+	branch iicd_write_eep_data
+
+at_store_le_adss:
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_module_le_adss,regb
+	branch iicd_write_eep_data
+
+at_store_bt_adss:
+	arg 6,temp
+	arg mem_lap,rega
+	arg eeprom_module_bt_adss,regb
+	branch iicd_write_eep_data
+
+at_store_bt_pincode:
+	fetcht 1,mem_pin_length
+	increase 1,temp
+	arg mem_pin_length,rega
+	arg eeprom_module_pincode_length,regb
+	branch iicd_write_eep_data
+
+at_store_throughput_uart_baud115200:
+	setarg AT_baud_115200
+	store 2,mem_timeup
+at_store_throughput_uart_baud:
+	arg 2,temp
+	arg mem_timeup,rega
+	arg eeprom_module_trans_baud,regb
+	branch iicd_write_eep_data
+
+
+at_process:
+	set1 mark_ext_patch,mark
+	bpatch patch32_2,mem_patch32
+	fetch 2,mem_current_packet_length
+	arg 300,temp
+	isub temp,null
+	branch at_error_rev_end,positive
+	call check_module_disabled
+	call get_uart_rrptr
+	copy contru,rega
+	fetch 2,mem_current_packet_length
+	increase -2,pdata
+	iadd contru,contru
+	ifetch 2,contru
+	arg AT_CMD_END,temp
+	isub temp,null
+	nrtn zero		//the end is not \n
+	copy rega,contru
+	arg mem_prarm_atp,regb
+	arg 3,loopcnt
+	call string_compare_uart_follow
+	nbranch at_error_rev_end,true
+	branch at_dispatch
+	
+at_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch patch32_3,mem_patch32
+/****************name****************/
+	copy contru,rega
+	arg mem_prarm_name,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_name,true
+/****************lename****************/
+	arg mem_prarm_blename,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_le_name,true
+/*****************adss****************/
+	arg mem_prarm_adss,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_adss,true
+/*****************leadss*******************/
+	arg mem_prarm_bleadss,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_leadss,true
+/*****************vers****************/
+	arg mem_prarm_vers,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_vers,true
+/******************uart****************/
+	arg mem_prarm_uart,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_uart,true
+/****************pswd******************/
+	arg mem_prarm_pswd,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_pswd,true
+/****************class*********************/
+	arg mem_prarm_class,regb
+	force 5,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_class,true
+/*******************list******************/
+	arg mem_prarm_list,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_list,true
+/****************role*********************/
+	arg mem_prarm_role,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_role,true
+/****************sniff*********************/
+	arg mem_prarm_sniff,regb
+	force 5,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_sniff,true
+/****************ldev*********************/
+	arg mem_prarm_ldev,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_ldev,true
+/****************rssi*********************/
+	arg mem_prarm_rssi,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_rssi,true
+/****************cdev*********************/
+	arg mem_prarm_cdev,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_cdev,true
+/****************inqr*********************/
+	arg mem_prarm_inqr,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_inqr,true
+/****************leinqr*********************/
+	arg mem_prarm_bleinqr,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_leinqr,true
+/****************cmode*********************/
+	arg mem_prarm_cmode,regb
+	force 5,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_cmode,true
+/****************mode*********************/
+	arg mem_prarm_mode,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_mode,true
+/****************DMstate*********************/
+	arg mem_prarm_dmstate,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_dmstate,true
+/****************reconn*********************/
+	arg mem_prarm_reconn,regb
+	force 6,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_reconn,true
+/***************discov*******************/	
+	arg mem_prarm_discov,regb
+	force 6,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_discov,true
+/****************dis*********************/
+	arg mem_prarm_dis,regb
+	force 3,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_dis,true
+/****************stsn*********************/
+	arg mem_prarm_stsn,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_stsn,true
+/***************clrflg*******************/
+	arg mem_prarm_clrflg,regb
+	force 6,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_clrflg,true
+/*****************OTA******************/
+	arg mem_prarm_ota,regb
+	force 3,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_ota,true
+	branch at_error_rev_end
+
+/****************name****************/
+at_rev_name:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_name_inquiry
+	beq AT_EQU,at_rev_name_set
+	branch at_error_rev_end
+at_rev_name_inquiry:
+	call get_uart_twptr
+	call at_group_name_inquiry
+	branch at_nomal_rev_end
+	
+/****************lename****************/
+at_rev_le_name:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_le_name_inquiry
+	beq AT_EQU,at_rev_le_name_set
+	branch at_error_rev_end
+at_rev_le_name_inquiry:
+	call get_uart_twptr
+	call at_group_le_name_inquiry
+	branch at_nomal_rev_end
+/*****************adss****************/
+at_rev_adss:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_adss_inquiry
+	beq AT_EQU,at_rev_adss_set
+	branch at_error_rev_end
+at_rev_adss_inquiry:
+	call at_group_adss_inquiry
+	branch at_nomal_rev_end
+
+at_rev_leadss:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_leadss_inquiry
+	beq AT_EQU,at_rev_leadss_set
+	branch at_error_rev_end
+at_rev_leadss_inquiry:
+
+	call at_group_leadss_inquiry
+	branch at_nomal_rev_end
+/*****************vers****************/
+at_rev_vers:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_vers_inquiry
+	branch at_error_rev_end
+at_rev_vers_inquiry:
+	call at_group_version_inquiry
+	branch at_nomal_rev_end
+	
+/******************uart****************/
+at_rev_uart:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_uart_set
+	branch at_error_rev_end
+	
+/****************pswd******************/
+at_rev_pswd:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_pswd_inquiry
+	beq AT_EQU,at_rev_pswd_set
+	branch at_error_rev_end
+at_rev_pswd_inquiry:
+	call at_group_pswd_inquiry
+	branch at_nomal_rev_end
+/****************class*********************/
+at_rev_class:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_class_inquiry
+	beq AT_EQU,at_rev_class_set
+	branch at_error_rev_end
+at_rev_class_inquiry:
+	call at_group_class_inquiry
+	branch at_nomal_rev_end
+/****************list*********************/
+at_rev_list:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_list_inquiry
+	beq AT_EQU,at_rev_list_set
+	branch at_error_rev_end
+at_rev_list_inquiry:
+	call at_group_list_inquiry
+	branch at_nomal_rev_end
+/****************role*********************/
+at_rev_role:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_role_inquiry
+	beq AT_EQU,at_rev_role_set
+	branch at_error_rev_end
+
+/****************sniff*********************/
+at_rev_sniff:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_sniff_inquiry
+	beq AT_EQU,at_rev_sniff_set
+	branch at_error_rev_end
+at_rev_sniff_inquiry:
+	call at_group_sniff_inquiry
+	branch at_nomal_rev_end
+/****************ldev*********************/
+at_rev_ldev:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_ldev_inquiry
+	branch at_error_rev_end
+at_rev_ldev_inquiry:
+	call at_group_ldev_inquiry
+	branch at_nomal_rev_end
+/****************rssi*********************/
+at_rev_rssi:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_rssi_inquiry
+	branch at_nomal_rev_end
+at_rev_rssi_inquiry:
+	call context_check_idle
+	nbranch at_error_rev_end,zero
+	call at_group_rssi_inquiry
+	branch at_nomal_rev_end
+/****************cdev*********************/
+at_rev_cdev:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_cdev_inquiry
+	branch at_error_rev_end
+at_rev_cdev_inquiry:
+	fetch 1,mem_context
+	bbit0 state_inconn,at_error_rev_end
+	call get_uart_twptr
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_le,le_cdev_inquiry
+	branch at_cdev_unle_inq
+le_cdev_inquiry:
+	arg mem_prarm_cdev,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call at_rev_uart_write_62
+	setarg 0x34
+	istore 1,contwu
+	call at_rev_uart_write_44
+	arg mem_le_plap,rega
+	call adss_hex2string_to_uart
+	call uartd_send
+	branch at_nomal_rev_end
+at_cdev_unle_inq:
+	arg mem_prarm_cdev,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call at_rev_uart_write_62
+	setarg 0x33
+	istore 1,contwu
+	call at_rev_uart_write_44
+	arg mem_plap,rega
+	call adss_hex2string_to_uart
+	call uartd_send
+	branch at_nomal_rev_end
+	
+/****************inqr*********************/
+at_rev_inqr:
+	set1 mark_ext_patch,mark
+	bpatch patch32_4,mem_patch32
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	call do_at_inquiry
+	branch at_nomal_rev_end
+
+at_rev_leinqr:
+	set1 mark_ext_patch,mark
+	bpatch patch32_5,mem_patch32
+	call do_at_leinquiry
+	branch at_nomal_rev_end
+/****************role*********************/
+at_rev_role_inquiry:
+	arg mem_prarm_role,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call context_check_idle
+	nbranch at_rev_uart_write_N,zero
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_master,at_rev_uart_write_M
+	call at_rev_uart_write_S
+	call uartd_send
+	branch at_nomal_rev_end
+at_rev_uart_write_M:
+	setarg 0x4d
+	istore 1,contwu
+	call uartd_send
+	branch at_nomal_rev_end
+at_rev_uart_write_S:
+	setarg 0x53
+	istore 1,contwu
+	rtn
+/****************cmode*********************/
+at_rev_cmode:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_cmode_inquiry
+	beq AT_EQU,at_rev_cmode_set
+	branch at_error_rev_end
+at_rev_cmode_inquiry:
+	call at_group_cmode_inquiry
+	branch at_nomal_rev_end
+/****************mode*********************/
+at_rev_mode:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_mode_set
+	branch at_error_rev_end
+/****************dmstate*********************/
+at_rev_dmstate:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_dmstate_inquiry
+	branch at_error_rev_end
+at_rev_dmstate_inquiry:
+	call at_group_dmstate_inquiry
+	branch at_nomal_rev_end
+/**************reconn****************/
+at_rev_reconn:
+	fetch 1,mem_app_connection_options
+	store 1,mem_connection_options
+	call eeprom_load_reconn_info
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	fetch 1,mem_xrecord_mode
+	beq REC_3_MODE,at_rev_unle_reconn
+	beq REC_4_MODE,at_rev_lereconn
+	branch at_error_rev_end
+/**************lereconn****************/
+at_rev_lereconn:
+	call app_ble_start_direct_adv
+	branch at_nomal_rev_end
+at_rev_unle_reconn:
+	call app_bt_start_reconnect
+	branch at_nomal_rev_end
+/**************dis****************/
+at_rev_dis:
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 1,at_error_rev_end
+	fetch 1,mem_context+coffset_mode 
+	bbit1 mode_le,at_rev_ledis
+	call  app_bt_disconnect
+	branch at_nomal_rev_end
+	
+/**************ledis****************/
+at_rev_ledis:
+	call app_ble_disconnect
+	branch at_nomal_rev_end
+	
+/**************stsn****************/
+at_rev_stsn:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_stsn_set
+	branch at_error_rev_end
+at_rev_stsn_set:
+	ifetch 1,contru
+	beq 0x31,at_exit_sniff
+	beq 0x30,at_enter_sniff
+	branch at_error_rev_end
+at_enter_sniff:
+	call app_check_sniff
+	branch at_nomal_rev_end,true
+	call app_bt_enter_sniff
+	branch at_nomal_rev_end
+at_exit_sniff:
+	call app_check_sniff
+	nbranch at_nomal_rev_end,true
+	call module_exit_sniff
+	call at_set_cmd_task_flag
+	branch at_nomal_rev_end
+	
+/***************clrflg*******************/
+at_rev_clrflg:
+	call app_clearflag_store
+	branch at_nomal_rev_end
+
+at_rev_ota:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_ota_process
+	branch at_error_rev_end
+
+at_rev_discov:
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	call module_disconn_start
+	branch at_nomal_rev_end
+
+	
+/********************************************at FUNC*****************************************/
+
+/**************at_SET***********/
+at_rev_name_set:
+	arg mem_local_name,rega
+	call at_set_common
+	storet 1,mem_local_name_length
+	call at_store_bt_name
+	branch at_nomal_rev_end
+	
+at_rev_le_name_set:
+	arg  mem_le_name,rega
+	call at_set_common
+	storet 1,mem_le_name_len
+	call at_store_le_name
+ 	call le_modified_name
+	branch at_nomal_rev_end
+
+at_rev_adss_set:
+	arg mem_lap,contw
+	call adss_string2hex_from_uart
+	call at_store_bt_adss
+	branch at_nomal_rev_end
+
+at_rev_leadss_set:
+	arg mem_le_lap,contw
+	call adss_string2hex_from_uart
+	call at_store_le_adss
+	branch at_nomal_rev_end
+
+at_rev_pswd_set:
+	arg mem_pin,rega
+	call at_set_common
+	storet 1,mem_pin_length
+	call at_store_bt_pincode
+	branch at_nomal_rev_end
+
+at_rev_uart_set:
+	call string2dec_from_uart
+	setarg uart_clk
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	store 2,mem_timeup
+	call at_store_throughput_uart_baud
+	branch at_nomal_rev_end
+
+at_rev_mode_set:
+	ifetch 1,contru
+	sub pdata,0x33,null
+	nbranch at_error_rev_end,positive
+	and pdata,0x3,pdata
+	store 1,mem_module_state
+	branch at_nomal_rev_end
+
+at_rev_class_set:
+	ifetch 3,contru
+	store 3,mem_class
+	branch at_nomal_rev_end
+	
+at_rev_role_set:
+	call context_check_idle
+	nbranch at_error_rev_end,zero
+	ifetch 1,contru
+	beq 0x53,at_role_slave
+	beq 0x4D,at_role_master
+	branch at_error_rev_end
+	
+at_role_slave:
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_master,at_switch_role
+	branch at_error_rev_end
+	
+at_role_master:
+	fetch 1,mem_context+coffset_mode
+	bbit0 mode_master,at_switch_role
+	branch at_error_rev_end
+	
+at_switch_role:
+	fetch 1,mem_module_task
+	set1 AT_TASK_SWITCH,pdata
+	store 1,mem_module_task
+	jam hci_cmd_role_switch,mem_hci_cmd
+	branch at_rev_end
+
+at_rev_sniff_set:
+	arg mem_sniff_param_interval,contw
+	call mem2_string2hex_from_uart
+	arg mem_sniff_param_attempt,contw
+	call mem2_string2hex_from_uart
+	arg  mem_sniff_param_timeout,contw
+	call mem2_string2hex_from_uart
+	branch at_nomal_rev_end
+
+at_rev_list_set:
+	ifetch 1,contru
+	beq 0x31,at_rev_list_set_1
+	beq 0x32,at_rev_list_set_2
+	branch at_error_rev_end
+at_rev_list_set_1:
+	ifetch 1,contru
+	arg mem_temp_lap,contw
+	call adss_string2hex_from_uart
+	call  eeprom_clear_bd_reconn_info
+	nrtn user
+	branch at_nomal_rev_end
+at_rev_list_set_2:
+	call eeprom_clear_all_reconn_info
+	branch at_nomal_rev_end
+	
+at_rev_cmode_set:
+	ifetch 1,contru
+	fetcht 1,mem_module_state
+	nsetflag blank,AT_STATE_CMODE,temp
+	storet 1,mem_module_state
+	branch at_nomal_rev_end,blank
+	ifetch 1,contru
+	arg mem_cmode_addr,contw
+	call adss_string2hex_from_uart
+	branch at_nomal_rev_end
+
+at_rev_ota_process:
+	set1 mark_ext_patch,mark
+	bpatch patch32_6,mem_patch32
+	arg 20,loopcnt
+	arg mem_l2cap_rxbuff1,contw
+	call uart_copy_rx_bytes
+	arg mem_l2cap_rxbuff1,rega
+	fetch 1,mem_l2cap_rxbuff1
+	compare OTA_WRITE_REQ,pdata,0xff
+	call prcp_parse_ota_write_req,true
+	fetch 1,mem_l2cap_rxbuff1
+	compare OTA_END_CMD,pdata,0xff
+	call prcp_parse_ota_end_cmd,true
+	branch at_nomal_rev_end
+	
+
+/***********************************at  INQUIRY******************************/
+/****************name****************/
+at_group_name_inquiry:
+	arg mem_prarm_name,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_local_name_length
+	copy pdata,loopcnt
+	arg mem_local_name,contr
+	branch send_mem_to_uart0
+at_group_le_name_inquiry:
+	arg mem_prarm_blename,rega
+	force 7,loopcnt
+	call at_group_inquiryhead_common
+	call le_get_device_name
+	ifetch 1,contr	
+	copy pdata,loopcnt
+	branch send_mem_to_uart0
+	
+/****************adss****************/
+at_group_adss_inquiry:
+	arg mem_prarm_adss,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	arg mem_lap,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+at_group_leadss_inquiry:
+	arg mem_prarm_bleadss,rega
+	arg 7,loopcnt
+	call at_group_inquiryhead_common
+	arg mem_le_lap,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+
+/****************vers****************/
+at_group_version_inquiry:
+	arg mem_prarm_vers,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	arg 6,loopcnt
+	arg mem_module_version,contr
+	branch send_mem_to_uart0
+/****************class****************/
+at_group_class_inquiry:
+	arg mem_prarm_class,rega
+	arg 5,loopcnt
+	call at_group_inquiryhead_common
+	arg 3,loopcnt
+	arg mem_class,contr
+	branch send_mem_to_uart0
+/****************list****************/
+at_group_list_inquiry:
+	arg mem_prarm_list,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call eeprom_load_bdaddr_list
+	call at_group_list_reply
+	branch uartd_send
+
+/****************ldev****************/
+at_group_ldev_inquiry:
+	call eeprom_load_reconn_bdaddr
+	arg mem_prarm_ldev,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_record_bt_mode
+	beq REC_3_MODE,at_group_ldev_inquiry0
+	beq REC_4_MODE,at_group_ldev_inquiry0
+	branch uartd_send
+at_group_ldev_inquiry0:	
+	istore 1,contwu
+	call at_rev_uart_write_44
+	arg mem_temp_lap,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+/****************rssi****************/
+at_group_rssi_inquiry:
+	set1 mark_ext_patch,mark
+	bpatch patch32_7,mem_patch32
+	arg mem_prarm_rssi,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call at_rssi_result
+	branch uartd_send
+at_rssi_result:
+	arg mem_rssi,rega
+	arg 1,loopcnt
+	branch hex2string_to_uart0
+/****************cdev****************/
+at_group_cdev_inquiry:
+	rtn
+
+/****************cmode****************/
+at_group_cmode_inquiry:
+	arg mem_prarm_cmode,rega
+	arg 5,loopcnt
+	call at_group_inquiryhead_common
+	arg mem_cmode_addr,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+
+/****************dmstate****************/
+at_group_dmstate_inquiry:
+	arg mem_prarm_dmstate,rega
+	arg 7,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_module_state
+	copy pdata,rega
+	fetch 1,mem_context
+	isolate1 state_inconn,pdata
+	setflag true,AT_STATE_ISCONN,rega
+	isolate1 state_insniff,pdata
+	setflag true,AT_STATE_SNIFF,rega
+	fetch 1,mem_context+coffset_mode
+	isolate1 mode_master,pdata
+	setflag true,AT_STATE_ROLE,rega
+	isolate1 mode_le,pdata
+	setflag true,AT_STATE_LE,rega
+	copy rega,pdata
+	istore 1,contwu
+	branch uartd_send
+
+do_at_inquiry:
+	setarg param_glap
+	store 3,mem_glap
+	fetch 1,mem_at_using_flag
+	set1 AT_FLAG_INQ,pdata
+	store 1,mem_at_using_flag
+	branch do_at_inquiry0
+	
+do_at_leinquiry:
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	call app_ble_start_scan
+	fetch 1,mem_at_using_flag
+	set1 AT_FLAG_LEINQ,pdata
+	store 1,mem_at_using_flag
+	setarg 0x200
+	store 2,mem_at_scan_time
+	arg mem_prarm_bleinqr,rega
+	arg 6,loopcnt
+	call at_group_inquiryhead_common
+	call send_mem_to_uart0
+	branch at_rev_end
+
+
+/****************pswd****************/
+at_group_pswd_inquiry:
+	arg mem_prarm_pswd,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_pin_length
+	copy pdata,loopcnt
+	arg mem_pin,contr
+	branch send_mem_to_uart0
+
+
+/*****************sniff*********************/
+at_group_sniff_inquiry:
+	arg mem_prarm_sniff,rega
+	arg 5,loopcnt
+	call at_group_inquiryhead_common
+	call at_rev_uart_write_62
+	setarg 84//T
+	istore 1,contwu
+	call at_rev_uart_write_colon
+	arg mem_sniff_param_interval,rega
+	call mem2_hex2string_to_uart
+	call at_rev_uart_write_62
+	setarg 65//A
+	istore 1,contwu
+	call at_rev_uart_write_colon
+	arg mem_sniff_param_attempt,rega
+	call mem2_hex2string_to_uart
+	call at_rev_uart_write_62
+	setarg 79//O
+	istore 1,contwu
+	call at_rev_uart_write_colon
+	arg mem_sniff_param_timeout,rega
+	call mem2_hex2string_to_uart
+	branch send_mem_to_uart0
+at_inquiry_reply:
+	call get_uart_twptr
+	call at_rev_uart_write_62
+	arg extm_lap,rega
+	call adss_hex2string_to_uart
+	call at_rev_uart_write_44
+	arg extm_class,rega
+	call mem3_hex2string_to_uart
+	call at_rev_uart_write_44
+	call at_rssi_result
+	branch uartd_send
+
+/*********************at do*************************/
+
+
+	
+/**************************************at inline*************************************/
+
+//input:rega length:loopcnt 
+//rtn:length:temp
+//note:at_rev_adss_set not use this
+at_set_common:
+	call at_set_setprarm
+	branch uart_copy_rx_bytes
+at_set_setprarm:
+	call uart_get_remain_length
+	copy pdata,temp
+	copy pdata,loopcnt
+	copy rega,contw
+	rtn
+
+//input:loopcnt 	contxt:rega
+at_group_inquiryhead_common:
+	call get_uart_twptr
+	call at_rev_uart_write_plus
+at_group_inquiryhead_common0:
+	copy rega,contr
+	call uart_copy_tx_bytes
+	branch at_rev_uart_write_colon
+
+	
+string_compare_uart_follow:
+	ifetch 1,contru
+	ifetcht 1,regb
+	isub temp,null
+	disable true
+	nbranch string_compare_uart_follow_diff, zero
+	increase 1,regb
+	loop string_compare_uart_follow
+	enable true
+	rtn
+string_compare_uart_follow_diff:
+	branch restore_contru
+
+
+at_rev_uart_write_plus:
+	setarg UI_PLUS
+	istore 1,contwu
+	rtn
+
+at_rev_uart_write_colon:
+	setarg UI_COLON
+	istore 1,contwu
+	rtn
+
+//>
+at_rev_uart_write_62:
+	setarg 62
+	istore 1,contwu
+	rtn
+at_rev_uart_write_N:
+	setarg 78
+	istore 1,contwu
+	call uartd_send
+	branch at_nomal_rev_end
+
+
+//,
+at_rev_uart_write_44:
+	setarg AT_COMMA
+	istore 1,contwu
+	rtn
+	
+restore_contru:
+	copy rega,contru
+	rtn
+
+at_group_list_reply:
+	arg mem_bdaddr_list_buff+7,regc
+	arg 4,loopcnt
+at_group_list_reply_loop:
+	copy loopcnt,pdata
+	store 1,mem_pdatatemp
+	ifetch 1,regc
+	beq REC_3_MODE,at_group_list_isrecord
+	beq REC_4_MODE,at_group_list_isrecord
+	branch at_group_list_notrecord
+at_group_list_isrecord:
+	call at_rev_uart_write_62
+	ifetch 1,regc
+	istore 1,contwu
+	increase 1,regc
+	call at_rev_uart_write_44
+	copy regc,rega
+	call adss_hex2string_to_uart
+at_group_list_notrecord0:
+	increase 6,regc
+	fetch 1,mem_pdatatemp
+	copy pdata,loopcnt
+	loop at_group_list_reply_loop
+	rtn
+at_group_list_notrecord:
+	increase 1,regc
+	branch at_group_list_notrecord0
+	
+	
+//rtn remain length
+uart_get_remain_length:
+	set1 mark_ext_patch,mark
+	bpatch patch33_0,mem_patch33
+	hfetch  2,core_uart_rrptr
+	isub contru,pdata
+	rtn zero
+	branch uart_get_remain_length0,positive
+uart_get_remain_length_common:
+	fetcht 2,mem_current_packet_length
+	iadd temp,pdata
+	increase -2,pdata
+	rtn
+uart_get_remain_length0:
+	call uart_get_rx_buff_length
+	iadd contru,temp
+	hfetch  2,core_uart_rrptr
+	isub temp,pdata
+	branch uart_get_remain_length_common
+
+uart_get_rx_buff_length:
+	arg mem_module_rx_buf_end,pdata
+	increase  1,pdata
+	arg mem_module_rx_buf,temp
+	isub temp,pdata
+	rtn
+
+release_packet:
+	fetcht 2,mem_current_packet_length
+	branch uartd_rxdone_by_len
+
+
+
+/********at_rev_end********/
+at_error_rev_end:
+	set1 mark_ext_patch,mark
+	bpatch patch33_1,mem_patch33
+	call get_uart_twptr
+	setarg 0x525245	//write err
+	istore 3,contwu
+	call uartd_send
+	branch at_rev_end
+	
+at_nomal_rev_end:
+	set1 mark_ext_patch,mark
+	bpatch patch33_2,mem_patch33
+	call get_uart_twptr
+	setarg 0x4b4f	//write ok
+	istore 2,contwu
+	call uartd_send
+spp_send_end:
+at_rev_end:
+	set1 mark_ext_patch,mark
+	bpatch patch33_3,mem_patch33
+	call release_packet
+spp_ipc_end:
+	setarg 0
+	store 2,mem_current_packet_length
+	store 4,mem_last_uart_clock
+	rtn
+
+
+le_dongle_init:
+	call usb_init
+	call app_led_start_blink
+	setarg le_dongle
+	store 2,mem_cb_le_process
+	setarg dongle_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg usb_isr
+	store 2,mem_cb_idle_process
+	jam 5,mem_dongle_count
+	jam 0,mem_dongle_peers
+	jam hci_cmd_le_create_conn,mem_hci_cmd
+	rtn	
+
+
+le_dongle:
+	disable true
+	call app_check_conn_device_nums_addr
+	//jam 1,mem_le_scan_enable
+	jam 0x1b,mem_cmd_le_create_conn
+	fetch 1,mem_device_nums
+	compare 2,pdata,0x3
+	nrtn true
+	jam 0,mem_le_scan_enable
+	rtn
+
+le_scan_dongle:
+	fetch 1,mem_le_rxbuf
+	bbit0 0,dongle_add_peer
+	fetch 6,mem_le_rxbuf+2			// direct ind, for me?
+	fetcht 6,mem_le_plap
+	isub temp,null
+	nrtn zero
+dongle_peer_paired:
+	fetch 6,mem_le_plap
+	store 6,mem_le_conn_peer_addr
+	rtn
+	
+dongle_add_peer:
+	arg 0xff,rega
+	call le_search_adtype
+	nrtn zero
+	ifetch 2,contr
+	fetcht 2,mem_dongle_signature
+	isub temp,null
+	nrtn zero
+	fetch 1,mem_dongle_peers
+	increase 1,pdata
+	store 1,mem_dongle_peers
+	fetcht 1,mem_dongle_pairing_cnt
+	isub temp,null
+	branch dongle_peer_paired,positive
+	rtn
+
+dongle_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_LE_DISCONNECTED,dongle_le_event_bb_disconnected
+	beq BT_EVT_LE_CONNECTED,dongle_bb_event_connected
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,dongle_bb_event_100ms
+	rtn
+	
+dongle_le_event_bb_disconnected:
+	setarg 0
+	store 6,mem_le_conn_peer_addr
+	jam 0,mem_dongle_peers
+	setarg 0
+	store 5,mem_mouse_data
+	jam SEND_MOUSE_DATA_CMD,mem_mcmd
+	call usb_isr
+	branch app_ble_start_scan
+ 	
+dongle_bb_event_100ms:
+	rtn
+	fetch 1,mem_le_scan_enable
+	rtn blank
+	fetch 1,mem_dongle_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_dongle_count
+	nrtn blank
+	call le_change_peer_addr
+	branch app_ble_start_conn
+	
+	
+dongle_bb_event_connected:
+	branch app_ble_stop_scan
+
+le_change_peer_addr:
+
+	jam 5,mem_dongle_count
+	fetch 1,mem_le_peer_state
+	beq LE_CONTEXT_STATE_KB,addr_slave2
+	beq LE_CONTEXT_STATE_MOUSE,addr_slave1
+	rtn
+addr_slave1:
+	fetch 6,mem_le_addr_slave1
+	store 6,mem_app_peer_addr
+	jam LE_CONTEXT_STATE_KB,mem_le_peer_state
+	rtn
+addr_slave2:
+  	fetch 6,mem_le_addr_slave2
+  	store 6,mem_app_peer_addr
+  	jam LE_CONTEXT_STATE_MOUSE,mem_le_peer_state
+  	rtn
+  	
+
+hci_rx_bcsp:
+	ifetch 2,contru
+	branch hci_reset_uart,blank		//length = 0
+	iforce regc						/* regc is byte count */
+	ifetch 1,contru
+	store 1,mem_h5rx_tmp
+	iforce rega						/* rega is checksum */
+	bbit0 6,hci_rx_bcsp_nocrc
+	increase -2,regc
+hci_rx_bcsp_nocrc:
+	ifetch 2,contru
+	rshift4 pdata,loopcnt				/* loopcnt is packet length */
+	and pdata,0xf,debug				/* debug is packet type */
+	iadd rega,rega
+	rshift8 pdata,pdata
+	iadd rega,rega
+	ifetch 1,contru
+	iadd rega,pdata
+	bne 0xff,hci_rx_bcsp_discard_packet		/* checksum error */
+	add regc,-4,pdata
+	isub loopcnt,null
+	nbranch hci_rx_bcsp_discard_packet_err,zero	/* received byte not equal length */
+	fetch 1,mem_h5rx_tmp
+	isolate0 7,pdata
+	branch hci_rx_bcsp_check_ack_skip,true
+	set0 mark_h5_reset,mark
+	bmark1 mark_h5_reset,hci_rx_bcsp_check_ack_skip
+	and_into 7,pdata
+	fetcht 1,mem_h5tx_ack
+	isub temp,null
+	nbranch hci_rx_bcsp_discard_packet_err,zero	/*ack  number err*/
+hci_rx_bcsp_check_ack_skip:
+	setarg 1600
+	force lpo_delay_timer,queue
+	call timer_init
+	deposit debug
+	call hci_bcsp_parse_packet
+	rtn user							/* delaying parse packet */
+	fetch 1,mem_h5rx_tmp
+	iforce rega						/* saved in rega */
+	rshift3 pdata,temp
+	and_into 7,temp					/* temp is ack no */
+	fetch 1,mem_h5rx_ack
+	isub temp,pdata
+	sub pdata,0,pdata
+	and_into 7,pdata
+	bne 1,hci_rx_bcsp_discard_packet_err		/* should only ack 1 packet! */
+	storet 1,mem_h5rx_ack
+	fetch 1,mem_h5rx_ackcnt
+	increase 1,pdata
+	store 1,mem_h5rx_ackcnt
+	branch hci_rx_bcsp_discard_packet
+	
+hci_rx_bcsp_discard_packet_err:
+	fetch 1,mem_check_err_acl_cont
+	increase 1,pdata
+	store 1,mem_check_err_acl_cont
+hci_rx_bcsp_discard_packet:
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	ifetch 2,contru
+	iadd contru,contru
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+hci_bcsp_parse_packet:
+	disable user
+	rtn blank					/* ack packet, do nothing */
+	beq 1,parse_bcsp_link_establish
+	beq 2,parse_bcsp_bccmd
+	beq 5,process_hci_cmd
+	beq 6,process_acl
+	beq 8,process_hci_patch
+	rtn
+
+parse_bcsp_link_establish:
+	set0 mark_h5_reinit,mark
+	ifetch 1,contru
+	beq 0xda,parse_bcsp_link_establish_sync
+	beq 0xac,parse_bcsp_link_establish_syncrsp
+	beq 0xad,parse_bcsp_link_establish_conf
+	beq 0xde,parse_bcsp_link_establish_confrsp
+	rtn
+parse_bcsp_link_establish_sync:
+	bmark1 mark_h5_sync,parse_bcsp_link_establish_send_syncrsp
+	force 0xda,temp
+	setarg 0xededdc
+	call parse_bcsp_link_establish_send
+parse_bcsp_link_establish_send_syncrsp:	
+	force 0xac,temp
+	setarg 0xeeefaf
+	branch parse_bcsp_link_establish_send
+parse_bcsp_link_establish_syncrsp:
+	set1 mark_h5_sync,mark
+	force 0xad,temp
+	setarg 0xedacef
+	branch parse_bcsp_link_establish_send
+parse_bcsp_link_establish_conf:
+	force 0xde,temp
+	setarg 0xd0d0ad
+parse_bcsp_link_establish_send:	
+	lshift8 pdata,pdata
+	ior temp,temp
+	call hci_get_packet_ptr
+	istoret 4,contwu
+	force 1,queue				/* queue is packet type */
+	force 4,loopcnt
+	set0 mark_h5tx_rp,mark
+	branch bcsp_send_packet
+parse_bcsp_link_establish_confrsp:
+	force 0,alarm
+	branch hci_command_status
+	
+parse_bcsp_bccmd:
+	copy loopcnt,alarm
+	call bcsp_send_ack
+	force 0,regb
+	call hci_get_packet_ptr
+	copy alarm,loopcnt
+	ifetch 1,contru
+	setarg 1
+	istore 1,contwu
+	set0 mark_temp,mark
+parse_bcsp_bccmd_loop:
+	ifetch 1,contru
+	increase 1,regb
+	beq 0x1c,parse_bcsp_bccmd_sco_link		/*sco link patch by csr*/
+	compare 4,regb,0xff
+	nbranch parse_bcsp_bccmd_next,true
+	setflag blank,mark_temp,mark
+	bne 0x3a,parse_bcsp_bccmd_next
+	setarg 2000
+	force h5_reinit_timer,queue
+	call timer_init
+	set1 mark_h5_reinit,mark
+	rtn
+	
+parse_bcsp_bccmd_sco_link:
+	compare 6,regb,0xff
+	branch parse_bcsp_bccmd_next_ok,true	
+parse_bcsp_bccmd_next:
+	isolate1 mark_temp,mark
+	call parse_bcsp_bccmd_replace,true
+	istore 1,contwu
+	loop parse_bcsp_bccmd_loop
+	set0 mark_bccmd_patch,mark
+	copy alarm,loopcnt
+	set1 mark_h5tx_rp,mark
+	force 2,queue
+	branch bcsp_send_packet
+parse_bcsp_bccmd_next_ok:
+	set1 mark_bccmd_patch,mark
+	branch parse_bcsp_bccmd_next
+	
+parse_bcsp_bccmd_replace:
+	rtnmark1 mark_bccmd_patch
+	compare 10,regb,0xff
+	branch parse_bcsp_bccmd_replace1,true
+	compare 11,regb,0xff
+	nrtn true
+	setarg 0x12
+	rtn
+parse_bcsp_bccmd_replace1:
+	setarg 0xe9
+	rtn
+	
+bcsp_send_ack:
+	fetch 1,mem_h5rx_tmp
+	increase 1,pdata
+	and_into 7,pdata
+	store 1,mem_h5tx_ack		/* our ack is got seq + 1 */
+	force 0,loopcnt
+	force 0,queue
+	set0 mark_h5tx_rp,mark
+bcsp_send_packet:
+//	set1 mark_h5tx_crc,mark
+	add loopcnt,4,regb				/* regb is total packet length */
+	fetch 1,mem_h5tx_ack
+	lshift3 pdata,regc
+	isolate0 mark_h5tx_crc,mark
+	nsetflag true,6,regc
+	branch bcsp_send_packet_nocrc,true	
+	increase 2,regb
+bcsp_send_packet_nocrc:
+	bmark0 mark_h5tx_rp,bcsp_send_packet_form_nonrp
+	set1 7,regc
+	fetch 1,mem_h5tx_seq
+	ior regc,regc
+	increase 1,pdata
+	and_into 7,pdata
+	store 1,mem_h5tx_seq
+	fetch 1,mem_rp_packets
+	increase 1,pdata
+	store 1,mem_rp_packets
+bcsp_send_packet_form_nonrp:
+	fetch 2,mem_h5tx_wptr
+	iforce contwu
+	deposit regb
+	isolate1 mark_h5tx_rp,mark
+	setflag true,hci_flag_rp,pdata
+	istore 2,contwu
+	copy contwu,rega		/* rega is packet pointer */
+	deposit regc
+	istore 1,contwu
+	lshift4 loopcnt,pdata
+	ior queue,pdata
+	iadd regc,regc
+	istore 2,contwu
+	rshift8 pdata,pdata
+	iadd regc,pdata
+	sub pdata,0xff,pdata
+	istore 1,contwu
+	bmark0 mark_h5tx_crc,bcsp_send_packet_form_nocrc
+	increase 4,loopcnt		/* crc includes header 4 bytes */
+	copy rega,contwu
+	call calc_tx_crc16
+	istore 2,contwu
+bcsp_send_packet_form_nocrc:
+	fetch 2,mem_h5tx_wptr
+	iadd regb,contwu
+	increase 2,contwu
+	deposit contwu
+	store 2,mem_h5tx_wptr
+	hstore 2,core_uart_twptr
+	fetcht 2,mem_h5tx_rptr
+	call bcsp_update_free
+	call bcsp_init_retransmit
+	setarg 1600
+	force lpo_delay_timer,queue
+	branch timer_init
+	
+bcsp_init_retransmit:
+	setarg 400				/* retransmit timeout : 250ms */
+	force hci_retransmit_timer,queue
+	call timer_init
+	set1 mark_h5tx_retransmit,mark
+	rtn
+
+bcsp_retransmit:
+	rtnmark0 mark_h5tx_retransmit
+	force hci_retransmit_timer,queue
+	call timer_check
+	nrtn blank
+	fetch 2,mem_h5tx_rptr
+	hstore 2,core_uart_trptrp
+	branch bcsp_init_retransmit
+
+bcsp_freepacket:
+	fetch 2,mem_h5tx_wptr
+	fetcht 2,mem_h5tx_rptr
+	isub temp,null
+	branch bcsp_noretransmit,zero			/* no more packet to free */
+	copy temp,contwu
+	ifetch 2,contwu
+	iforce rega							/* rega is length+flag */
+	iand mask3ff,pdata
+	iadd contwu,contwu					/* contwu is new rptr */
+	hfetch 2,core_uart_trptr
+	isub contwu,pdata
+	iand mask3ff,regb						/* regb is trptr - new rptr */
+	fetch 2,mem_h5tx_wptr
+	isub contwu,pdata
+	iand mask3ff,pdata						/* pdata is wptr - new rptr */
+	isub regb,pdata
+	nrtn positive							/* packet not transmitted yet */
+	isolate0 hci_flag_rp,rega
+	branch bcsp_discardnrp,true
+	fetch 1,mem_h5rx_ackcnt
+	rtn blank								/* not acked yet */
+	increase -1,pdata
+	store 1,mem_h5rx_ackcnt
+	fetch 1,mem_rp_packets
+	increase -1,pdata
+	store 1,mem_rp_packets
+bcsp_discardnrp:
+	copy contwu,temp
+	storet 2,mem_h5tx_rptr
+	fetch 2,mem_h5tx_wptr
+	call bcsp_update_free
+	branch bcsp_freepacket
+bcsp_noretransmit:
+	set0 mark_h5tx_retransmit,mark
+	rtn	
+
+bcsp_update_free:
+	isub temp,pdata
+	iand mask3ff,pdata
+	isub mask3ff,pdata
+	sub pdata,0,pdata
+	store 2,mem_h5tx_free
+	rtn
+	
+bcsp_get_tx_ptr:	/* contwu is offset to packet start */
+	fetch 2,mem_h5tx_wptr
+	iadd contwu,contwu
+	rtn
+	
+
+
+hci_log:
+	rtn
+
+hci_rx_h4:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_4,mem_patch3d
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_5,mem_patch3d
+	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
+	beq HCI_H4_TYPE_ACL,hci_h4_parse_packet_acl
+	branch assert
+hci_h4_parse_packet_acl: //downgoing ACL
+	set1 mark_ext_patch,mark
+	bpatch patch3d_6,mem_patch3d
+	copy contru,rega
+	ifetch 2,contru // handle
+	copy rega,contru
+	fetcht 1,mem_conn_handle
+	icompare 0xff,temp
+	branch process_acl,true// traditional BT handle
+	branch le_acl_downgoing,le //BLE handle
+	enable user
+	rtn
+h4_rx_discard_packet:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_7,mem_patch3d
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_0,mem_patch3e
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_1,mem_patch3e
+	fetch 2,mem_hci_acl_tx_trigger_wptr
+	branch assert,blank
+	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
+
+h4_tx_buffer_remain:
+	hfetcht 2,core_uart_trptr
+	hfetch 2,core_uart_twptr
+	isub temp,rega
+	nbranch h4_tx_buffer_remain_negative,positive
+	hfetcht 2,core_uart_tsaddr
+	hfetch 2,core_uart_teaddr
+	isub temp,pdata
+	isub rega,temp
+	rtn
+h4_tx_buffer_remain_negative:
+	sub rega,-1,temp
+	rtn
+	
+/*********************************/
+/**********   HCI  *****************/
+/*********************************/
+hci_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch19_5,mem_patch19
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_rx_packet
+	call hci_check_bcsp_protocol
+	call bcsp_retransmit,true
+	call hci_check_bcsp_protocol
+	call bcsp_freepacket,true
+	branch  process_send_acl
+	rtnmark0 mark_h5_reinit
+	force h5_reinit_timer,queue
+	call timer_check
+	nrtn blank
+	call hci_reinit
+	call hci_check_bcsp_protocol
+	nrtn true
+	set0 mark_h5_sync,mark
+	force 0xda,temp
+	setarg 0xededdc
+	call parse_bcsp_link_establish_send
+	setarg 2000
+	force h5_reinit_timer,queue
+	branch timer_init
+
+
+hci_init:
+	set0 mark_ext_patch,mark
+	bpatch patch19_6,mem_patch19
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch19_7,mem_patch19
+	call init_filter_ram
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_0,mem_patch1a
+	hjam 0x0,core_uart_ctrl
+	jam 0,mem_h5rx_ack
+	jam 0,mem_h5tx_ack
+	jam 0,mem_h5tx_seq
+ 	setarg mem_h5tx_buf
+	store 2,mem_h5tx_wptr
+	store 2,mem_h5tx_rptr
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_1,mem_patch1a
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	hstore 2,core_clkoff
+	call uart_set_baud_by_mem
+	hjam uartclk_dpll,core_uart_clksel
+	hjam uart_ctrl_h4,core_uart_ctrl
+	branch hci_init_queue_ack
+
+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
+	jam 0xff,mem_ucode_id_local
+	rtn
+	
+hci_reset_uart:
+	hfetch 2,core_uart_rwptr
+	hstore 2,core_uart_rrptr
+	set1 mark_h5_reset,mark
+	rtn
+
+	
+hci_check_bcsp_protocol:
+	hfetch 1,core_uart_ctrl
+	isolate1 uart_ctrl_bit_slip_protocol,pdata
+	rtn// set true if it is bcsp protocol
+	
+hci_init_queue_ack:
+	setarg mem_hci_acl_queue_start
+	store 2,mem_hci_acl_queue_wptr
+	store 2,mem_hci_acl_queue_rptr
+	force param_acl_pktcnt,temp
+	iadd temp,pdata
+	iadd temp,pdata
+	increase 2,pdata		/*add one pkt more*/
+	store 2,mem_hci_acl_queue_end
+	setarg 0x00
+	store 1,mem_hci_acl_cnt
+	store 1,mem_hci_acl_queue_wcnt
+	rtn
+
+hci_rx_packet:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_2,mem_patch1a
+	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
+	call hci_check_bcsp_protocol
+	branch hci_rx_bcsp,true
+	branch hci_rx_h4
+
+hci_send_ack:
+	call hci_check_bcsp_protocol
+	branch bcsp_send_ack,true
+	rtn
+	
+uart_send_byte:
+	hfetcht 1,core_uart_status
+	isolate1 6,temp
+	branch uart_send_byte,true
+	hstore 1,core_uart_txd
+	rtn
+
+
+process_acl_into_queue:
+	fetcht 2,mem_hci_acl_queue_end
+	fetch 2,mem_hci_acl_queue_wptr
+	iforce contw
+	deposit contru
+	istore 2,contw
+	deposit contw
+	store 2,mem_hci_acl_queue_wptr
+	icompare 0xff,temp
+	call process_acl_into_queue_loop,true
+	fetch 1,mem_hci_acl_queue_wcnt
+	increase 1,pdata
+	store 1,mem_hci_acl_queue_wcnt
+	rtn	
+process_acl_into_queue_loop:
+	setarg mem_hci_acl_queue_start
+	store 2,mem_hci_acl_queue_wptr
+	rtn
+	
+	
+process_acl_dequeue:
+	fetch 1,mem_hci_acl_queue_wcnt
+	rtn blank
+	fetcht 2,mem_hci_acl_queue_end
+	fetch 2,mem_hci_acl_queue_rptr
+	iforce contr
+	ifetch 2,contr
+	iforce contru
+	deposit contr
+	store 2,mem_hci_acl_queue_rptr
+	icompare 0xff,temp
+	call process_acl_dequeue_loop,true
+	fetch 1,mem_hci_acl_queue_wcnt
+	increase -1,pdata
+	store 1,mem_hci_acl_queue_wcnt
+	force 1,pdata
+	rtn	
+process_acl_dequeue_loop:
+	setarg mem_hci_acl_queue_start
+	store 2,mem_hci_acl_queue_rptr
+	rtn
+
+process_acl: // traditional BT downgoing ACL
+	set0 mark_ext_patch,mark
+	bpatch patch1a_3,mem_patch1a
+	fetch 1,mem_hci_acl_queue_wcnt
+	sub pdata,2,null
+	branch process_acl_queue_check_ok,positive
+	enable user
+	branch process_send_acl
+process_acl_queue_check_ok:
+	call hci_send_ack
+	call process_acl_into_queue
+process_send_acl: //downgoing ACL
+	set0 mark_ext_patch,mark
+	bpatch patch1a_4,mem_patch1a
+	rtnmark1 mark_tx_l2cap		
+	call process_acl_dequeue
+	rtn blank
+	ifetcht 1,contru
+	call context_search_conn_handle2
+	nrtn zero						/* cannot find conn handle */
+	ifetch 1,contru
+	rshift4 pdata,pdata
+	and pdata,0x3,pdata //low 2 bits
+	nbranch process_send_acl_good_lch,blank
+	set1 1,pdata //BT2.0device donot know '00' lch
+process_send_acl_good_lch:
+	set1 2,pdata
+	store 1,mem_tx_lch
+	ifetch 2,contru
+	store 2,mem_tx_len				/* length */
+	deposit contru
+	store 2,mem_txptr
+	set1 mark_tx_l2cap,mark
+	bmark0 mark_context,process_acl_ncontext
+	fetch 1,mem_conn_handle
+	isub temp,null
+	nbranch process_acl_ncontext,zero
+	fetch 1,mem_op
+	set1 op_txl2cap,pdata
+	store 1,mem_op
+	rtn
+
+process_acl_ncontext:
+        increase coffset_op,rega                             
+        ifetch 1,rega
+        set1 op_txl2cap,pdata
+        istore 1,rega
+        rtn
+
+
+
+	
+process_hci_cmd:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_5,mem_patch1a
+	fetch 1,mem_hci_cmd
+	branch process_hci_cmd_cont,blank
+	enable user					/* last command still there */
+	rtn
+process_hci_cmd_cont:
+	call hci_send_ack
+	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_LINK_CONTROL,phci_grp_link_control
+	beq HCI_OGF_LINK_POLICY,phci_grp_link_policy
+	beq HCI_OGF_BASEBAND,phci_grp_baseband
+	beq HCI_OGF_INFO,phci_grp_info
+	beq HCI_OGF_STATUS,phci_grp_status
+	beq HCI_OGF_TEST,phci_grp_test
+	beq HCI_OGF_VENDOR_SPECIFIC,phci_grp_vendor_specific
+	beq HCI_OGF_LOW_ENERGY,phci_grp_low_energy
+	rtn
+
+
+phci_grp_link_control:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_6,mem_patch1a
+	deposit queue
+	beq HCI_INQUIRY,phci_inquiry 
+	beq HCI_INQUIRY_CANCEL,phci_inquiry_cancel 
+	beq HCI_PERIODIC_INQUIRY_MODE,hci_normal_reply
+	beq HCI_EXIT_PERIODIC_INQUIRY_MODE,hci_normal_reply
+	beq HCI_CREATE_CONNECTION,phci_create_connection 
+	beq HCI_DISCONNECT,phci_disconnect 
+	beq HCI_ADD_SCO_CONNECTION,hci_normal_reply
+	beq HCI_CREATE_CONNECTION_CANCEL,phci_create_connection_cancel
+	beq HCI_ACCEPT_CONNECTION,phci_accept_connection
+	beq HCI_REJECT_CONNECTION,phci_reject_connection
+	beq HCI_LINK_KEY_REQUEST_REPLY,phci_link_key_request_reply 
+	beq HCI_LINK_KEY_REQUEST_NEGATIVE_REPLY,phci_link_key_request_negative_reply 
+	beq HCI_PIN_CODE_REQUEST_REPLY,phci_pin_code_request_reply
+	beq HCI_PIN_CODE_REQUEST_NEGATIVE_REPLY,phci_pin_code_request_negative_reply
+	beq HCI_CHANGE_CONNECTION_PACKET_TYPE,phci_change_connection_packet_type
+	beq HCI_AUTHENTICATION_REQUESTED,phci_authentication_requested
+	beq HCI_SET_CONNECTION_ENCRYPTION,phci_set_connection_encryption
+	beq HCI_CHANGE_CONNECTION_LINK_KEY,hci_normal_reply
+	beq HCI_MASTER_LINK_KEY,hci_normal_reply
+	beq HCI_REMOTE_NAME_REQUEST,phci_remote_name_request 
+	beq HCI_READ_REMOTE_SUPPORTED_FEATURES,phci_read_remote_supported_features 
+	beq HCI_READ_REMOTE_EXT_FEATURES,phci_read_remote_ext_features 
+	beq HCI_READ_REMOTE_VERSION_INFORMATION,phci_read_remote_version_information
+	beq HCI_READ_CLOCK_OFFSET,phci_read_clock_offset
+	beq HCI_SETUP_SCO_CONNECTION,phci_setup_sco_connection
+	beq HCI_ACCEPT_SCO_CONNECTION,phci_accept_sco_connection
+	beq HCI_IO_CAP_REQUEST_REPLY,phci_io_cap_request_reply
+	branch phci_unknown_command
+
+
+phci_grp_link_policy:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_7,mem_patch1a
+	deposit queue
+	beq HCI_ROLE_DISCOVERY,phci_role_discovery 
+	beq HCI_WRITE_LINK_POLICY_SETTINGS,phci_write_link_policy_settings
+	beq HCI_HOLD_MODE,hci_normal_reply
+	beq HCI_SNIFF_MODE,phci_sniff_mode
+	beq HCI_EXIT_SNIFF_MODE,phci_exit_sniff_mode
+	beq HCI_PARK_MODE,hci_normal_reply
+	beq HCI_EXIT_PARK_MODE,hci_normal_reply
+	beq HCI_QOS_SETUP,hci_normal_reply
+	beq HCI_SWITCH_ROLE,phci_switch_role
+	beq HCI_READ_LINK_POLICY_SETTINGS,hci_normal_reply
+	beq HCI_READ_DEFAULT_LINK_POLICY_SETTINGS,hci_normal_reply
+	beq HCI_WRITE_DEFAULT_LINK_POLICY_SETTINGS,hci_normal_reply
+	beq HCI_FLOW_SPECIFICATION,hci_normal_reply
+	beq HCI_SNIFF_SUBRATING,phci_sniff_subrating
+	branch phci_unknown_command
+
+phci_grp_baseband:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_0,mem_patch1b
+	deposit queue
+	beq HCI_SET_EVENT_MASK ,phci_set_event_mask
+	beq HCI_RESET ,hci_normal_reply
+	beq HCI_DELETE_STORED_LINK_KEY,phci_delete_stored_link_key 
+	beq HCI_WRITE_LOCAL_NAME,phci_change_local_name 
+	beq HCI_READ_LOCAL_NAME,phci_read_local_name 
+	beq HCI_WRITE_PAGE_TIMEOUT,phci_write_page_timeout 
+	beq HCI_READ_SCAN_ENABLE,phci_read_scan_enable 
+	beq HCI_WRITE_SCAN_ENABLE,phci_write_scan_enable 
+	beq HCI_WRITE_PAGE_SCAN_ACTIVITY,phci_write_page_scan_activity 
+	beq HCI_WRITE_INQUIRY_SCAN_ACTIVITY,phci_write_inquiry_scan_activity 
+	beq HCI_WRITE_AUTHENTICATION_ENABLE,phci_write_authentication_enable 
+	beq HCI_WRITE_ENCRYPTION_MODE,phci_write_encryption_mode
+	beq HCI_WRITE_CLASS_OF_DEVICE,phci_write_class_of_device 
+	beq HCI_WRITE_VOICE_SETTING,hci_normal_reply 
+	beq HCI_SET_CONTROLLER_TO_HOST_FLOW_CONTROL ,hci_normal_reply
+	beq HCI_HOST_BUFFER_SIZE,hci_normal_reply 
+	beq HCI_HOST_NUM_COMPLETED_PACKETS,phci_host_num_completed
+	beq HCI_WRITE_INQUIRY_SCAN_TYPE,hci_normal_reply 
+	beq HCI_WRITE_INQUIRY_MODE,hci_normal_reply 
+	beq HCI_WRITE_PAGE_SCAN_TYPE,hci_normal_reply 
+	beq HCI_READ_EXTENDED_INQUIRY_RESPONSE,phci_read_ext_inquiry_response
+	beq HCI_WRITE_SIMPLE_PAIRING_MODE,phci_write_ssp_mode 
+	branch phci_unknown_command
+
+phci_grp_info:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_1,mem_patch1b
+	deposit queue
+	beq HCI_READ_LOCAL_VERSION_INFORMATION,phci_read_local_version_information 
+	beq HCI_READ_LOCAL_SUPPORTED_FEATURES,phci_read_local_supported_features 
+	beq HCI_READ_LOCAL_EXT_FEATURES,phci_read_local_ext_features 
+	beq HCI_READ_BUFFER_SIZE,phci_read_buffer_size
+	beq HCI_READ_BD_ADDR,phci_read_bd_addr
+	branch phci_unknown_command
+
+phci_grp_status:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_2,mem_patch1b
+	deposit queue
+	beq HCI_READ_FAILED_CONTACT_COUNTER,hci_normal_reply
+	beq HCI_RESET_FAILED_CONTACT_COUNTER,phci_reset_failed_contact_counter
+	beq HCI_GET_LINK_QUALITY,phci_get_link_quality
+	beq HCI_READ_RSSI,phci_read_rssi
+	beq HCI_READ_AFH_CHANNEL_MAP,phci_read_afh_channel_map
+	beq HCI_READ_BD_CLOCK,phci_read_bd_clock
+	branch phci_unknown_command
+
+phci_grp_test:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_3,mem_patch1b
+	deposit queue
+	beq HCI_READ_LOOPBACK_MODE,hci_normal_reply
+	beq HCI_WRITE_LOOPBACK_MODE,hci_normal_reply
+	beq HCI_ENABLE_DEVICE_UNDER_TEST_MODE,hci_normal_reply
+	beq HCI_WRITE_SIMPLE_PAIRING_DEBUG_MODE,hci_normal_reply
+	branch phci_unknown_command
+	rtn
+
+phci_grp_vendor_specific:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_4,mem_patch1b
+	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
+	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:
+	//hjam 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
+phci_grp_vendor_patch_loop:
+	ifetch 1,contru
+	hstore 1,core_ucode_data
+	iadd temp,temp
+	loop phci_grp_vendor_patch_loop
+	and temp,0xff,temp
+	ifetch 1,contru
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	branch hci_normal_reply
+
+phci_grp_vendor_done:
+	arg 0x20,loopcnt    //patch switch length
+	arg mem_patch00,contw
+	arg 0,temp //checksum
+phci_grp_vendor_done_loop:
+	ifetch 1,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
+	hjam 0,core_ucode_ctrl
+	call hci_normal_reply
+	call h4_rx_discard_packet
+	branch soft_reset
+
+phci_grp_vendor_patch_bad:
+	hjam 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
+	
+
+
+
+
+phci_grp_low_energy:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_5,mem_patch1b
+	deposit queue
+	beq HCI_LE_SET_EVENT_MASK,hci_normal_reply
+	beq HCI_LE_READ_BUFFER_SIZE,phci_le_read_buffer_size
+	beq HCI_LE_READ_LOCAL_SUPPORTED_FEATURES,phci_le_read_local_supported_features
+	beq HCI_LE_SET_ADVERTISING_PARAMETERS,phci_le_set_adv_param
+	beq HCI_LE_SET_ADVERTISING_DATA, phci_le_set_adv_data
+	beq HCI_LE_SET_SCAN_RESPONSE_DATA,phci_le_set_scan_response_data
+	beq HCI_LE_SET_ADVERTISE_ENABLE,phci_le_set_adv_enable
+	beq HCI_LE_SET_SCAN_PARAMETERS,phci_le_set_scan_param
+	beq HCI_LE_SET_SCAN_ENABLE,phci_le_set_scan_enable
+	beq HCI_LE_CREATE_CONNECTION,phci_le_create_conn
+	beq HCI_LE_CREATE_CONNECTION_CANCEL,phci_le_create_conn_cancel
+	beq HCI_LE_READ_CHANNEL_MAP,phci_le_read_channel_map
+	beq HCI_LE_READ_REMOTE_USED_FEATURES,hci_command_status
+	beq HCI_LE_CONNECTION_UPDATE,hci_normal_reply
+	branch phci_unknown_command
+	rtn
+phci_le_read_buffer_size:
+	call hci_get_cmd_complete_ptr
+	setarg 0
+	istore 3,contwu
+	force 0x07,loopcnt
+	branch hci_command_complete
+
+phci_le_read_local_supported_features:
+	call hci_get_cmd_complete_ptr
+	setarg 1
+	istore 2,contwu
+	setarg 0
+	istore 6,contwu
+	force 0x0c,loopcnt
+	branch hci_command_complete
+
+phci_le_set_adv_param:
+	arg 15,loopcnt
+	arg mem_le_adv_param,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_le_set_adv_data:
+	arg 32,loopcnt
+	arg mem_le_adv_data_len,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_le_set_scan_response_data:
+	arg 32,loopcnt
+	arg mem_le_scan_data_len,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_le_set_adv_enable:
+	ifetch 1,contru
+	store 1,mem_le_adv_enable
+	branch hci_normal_reply
+	
+phci_le_set_scan_param:
+	ifetch 7,contru
+	store 7,mem_le_scan_params
+	branch hci_normal_reply
+	
+phci_le_set_scan_enable:
+	ifetch 1,contru
+	store 1,mem_le_scan_enable
+	branch hci_normal_reply
+
+phci_le_create_conn:
+	ifetch 4,contru //interval & window
+	store 4,mem_le_scan_interval
+	ifetch 1,contru
+	store 1,mem_le_scan_filter_policy
+	arg 20,loopcnt
+	arg mem_le_conn_param,contw
+	call uart_copy_rx_bytes
+	jam 1,mem_le_scan_enable
+	fetch 1,mem_le_conn_own_addr_type
+	store 1,mem_le_scan_own_addr_type
+	fetch 2,mem_le_conn_interval_max 
+	store 2,mem_le_conn_interval
+	fetch 2,mem_le_conn_latency
+	store 2,mem_le_slave_latency
+	fetch 2,mem_le_conn_superto
+	store 2,mem_le_superto
+	jam hci_cmd_le_create_conn,mem_hci_cmd
+	branch hci_command_status
+
+phci_le_create_conn_cancel:
+
+	branch hci_normal_reply
+	
+phci_le_read_channel_map:
+	call hci_get_cmd_complete_ptr
+	ifetch 2,contru
+	istore 2,contwu
+	setarg 0x1fffff
+	istore 5,contwu
+	force 0x0b,loopcnt
+	branch hci_command_complete
+	
+
+
+
+phci_host_num_completed:
+	ifetch 3,contru
+	ifetcht 3,contru
+	fetch 2,mem_acl_credits
+	iadd temp,pdata  
+	store 2,mem_acl_credits
+	rtn
+
+phci_inquiry:
+	ifetch 3,contru
+	store 3,mem_glap
+do_at_inquiry0:
+	jam hci_cmd_inquiry,mem_hci_cmd
+	ifetch 1,contru
+	arg 1600,temp
+	imul32 temp,pdata
+	arg 0xffff,temp
+	isub temp,null
+	nbranch phci_inquiry_nowrap,positive
+	deposit temp
+phci_inquiry_nowrap:
+	force inquiry_length_timer,queue
+	call timer_init
+	fetch 1,mem_at_using_flag
+	bbit1 AT_FLAG_INQ,at_rev_end
+	branch hci_command_status
+	
+	
+phci_inquiry_cancel:
+	jam hci_cmd_inquiry_cancel,mem_hci_cmd
+	branch hci_normal_reply
+
+phci_create_connection:
+	call phci_read_plap
+	ifetch 2,contru
+	store 2,mem_packet_type
+	ifetch 2,contru
+	store 1,mem_page_mode
+	call phci_read_clock
+	ifetch 1,contru
+	store 1,mem_allow_switch
+	jam hci_cmd_create_conn,mem_hci_cmd
+	branch hci_command_status
+
+
+phci_disconnect:
+	jam hci_cmd_disconn,mem_hci_cmd
+	ifetch 2,contru
+	store 1,mem_hci_conn_handle
+	ifetch 1,contru
+	store 1,mem_disconn_reason_send
+	jam HCI_ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST,mem_hci_disconn_reason
+	fetch 1,mem_hci_conn_handle
+	fetcht 1,mem_sco_handle
+	isub temp,null
+	nbranch hci_command_status,zero
+	jam hci_cmd_disconn_sco,mem_hci_cmd
+	fetch 1,mem_sco_asso_handle
+	store 1,mem_hci_conn_handle
+	branch hci_command_status
+	
+phci_create_connection_cancel:
+	call hci_get_cmd_complete_ptr
+	call hci_write_plap
+	force 10,loopcnt
+	call hci_command_complete
+	//connection cancel 
+	jam hci_cmd_detach,mem_hci_cmd
+	force HCI_ERROR_NO_CONNECTION,temp
+	branch hci_send_connection_error
+
+phci_link_key_request_reply:
+	call phci_read_plap
+	arg mem_link_key,contw
+	force 16,loopcnt
+	call uart_copy_rx_bytes
+	jam hci_cmd_linkkey,mem_hci_cmd
+	branch phci_pin_code_reply
+
+phci_link_key_request_negative_reply:
+	call phci_read_plap
+	jam hci_cmd_nokey,mem_hci_cmd
+	branch phci_pin_code_reply
+
+phci_pin_code_request_reply:
+	call phci_read_plap
+	ifetch 1,contru
+	store 1,mem_pin_length
+	iforce loopcnt
+	arg mem_pin,contw
+	call uart_copy_rx_bytes
+	jam hci_cmd_pair,mem_hci_cmd
+	branch phci_pin_code_reply
+
+phci_pin_code_request_negative_reply:
+	call phci_read_plap
+	jam hci_cmd_nopair,mem_hci_cmd
+phci_pin_code_reply:
+	call hci_get_cmd_complete_ptr
+	call hci_write_plap
+	force 10,loopcnt
+	branch hci_command_complete
+
+phci_io_cap_request_reply:
+	//BD_ADDR, IO_Capability, 
+	increase 6,contru
+	ifetch 3,contru
+	store 3,mem_sp_iocap_local
+	fetch 1,mem_master_sp_state
+	beq SP_MASTER_STAT_START_DONE,phci_io_cap_request_reply_master
+	beq SP_STAT_KEY_SEND,phci_io_cap_request_reply_master
+	jam hci_cmd_io_cap,mem_hci_cmd
+	branch phci_io_cap_request_reply_commom
+phci_io_cap_request_reply_master:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+phci_io_cap_request_reply_commom:
+	call hci_get_cmd_complete_ptr
+	call hci_write_plap
+	force 10,loopcnt
+	branch hci_command_complete
+	
+
+phci_authentication_requested:
+	call phci_read_handle
+	jam hci_cmd_auth,mem_hci_cmd
+	branch hci_command_status
+
+phci_set_connection_encryption:
+	call phci_read_handle
+	ifetch 1,contru
+	increase hci_cmd_stopencrypt,pdata
+	store 1,mem_hci_cmd
+	branch hci_command_status
+
+phci_remote_name_request:
+	call phci_read_plap
+	ifetch 2,contru
+	store 1,mem_page_mode
+	call phci_read_clock
+	jam hci_cmd_remote_name_req,mem_hci_cmd
+	branch hci_command_status
+	
+phci_read_remote_ext_features:
+	ifetch 2,contru
+	ifetch 1,contru
+	store 1, mem_ext_features_page
+	jam hci_cmd_remote_ext_features_req,mem_hci_cmd
+	branch hci_command_status
+
+phci_read_remote_supported_features:
+	//if no handle,need send err status
+	fetch 1,mem_conn_handle
+	force HCI_ERROR_NO_CONNECTION,rega
+	branch hci_command_status_err,blank
+	call phci_read_handle
+	jam hci_cmd_remote_feature_req,mem_hci_cmd
+	branch hci_command_status
+
+
+phci_read_remote_version_information:
+	//if no handle,need send err status
+	fetch 1,mem_conn_handle
+	force HCI_ERROR_NO_CONNECTION,rega
+	branch hci_command_status_err,blank
+	call phci_read_handle
+	jam hci_cmd_remote_version_req,mem_hci_cmd
+	branch hci_command_status
+
+
+phci_read_clock_offset:
+	call phci_status_reply_temp
+	force HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE,queue
+	force 5,loopcnt
+	branch hci_send_event
+
+phci_setup_sco_connection:
+	call phci_read_handle
+	increase 10,contru
+	ifetch 2,contru
+	store 2,mem_voice_setting
+	ifetch 1,contru
+	store 1,mem_retransmission_effort
+	ifetch 2,contru
+	store 2,mem_sco_ptype
+	jam 2,mem_air_mode				/* cvsd */
+	jam hci_cmd_setup_sco,mem_hci_cmd
+	branch hci_command_status
+
+phci_accept_sco_connection:
+	jam hci_cmd_accept_sco_conn,mem_hci_cmd
+	branch hci_command_status	
+	
+	
+	
+phci_read_local_name:
+	call hci_get_cmd_complete_ptr
+	arg mem_local_name,contr
+	sub contr,0xff,loopcnt
+	call uart_copy_tx_bytes
+	force 0,pdata
+	sub contr,mem_local_name,loopcnt
+	increase 0xf8,loopcnt
+	call uart_write_bytes
+	force 0xfc,loopcnt
+	branch hci_command_complete
+	
+phci_change_local_name:
+	arg mem_local_name,contw
+	sub contw,0xff,loopcnt
+phci_change_local_name_loop:
+	ifetch 1,contru
+	istore 1,contw
+	branch phci_write_local_name_end,blank
+	loop phci_change_local_name_loop
+phci_write_local_name_end:
+	sub contw,mem_local_name,pdata
+	sub pdata,0,pdata
+	store 1,mem_local_name_length
+	branch hci_normal_reply
+
+phci_role_discovery:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	force 0,pdata
+	nsetflag master,0,pdata
+	istore 1,contwu
+	force 7,loopcnt
+	arg 0x809,alarm				/* role discovery */
+	call hci_command_complete
+	branch cmd_exit
+	jam hci_cmd_role_discovery,mem_hci_cmd
+	rtn
+
+
+phci_write_link_policy_settings:
+	call phci_copy_handle
+	force 6,loopcnt
+	branch hci_command_complete
+
+
+phci_delete_stored_link_key:
+	branch hci_normal_reply
+
+phci_write_page_timeout:
+	ifetch 2,contru
+	store 2,mem_page_to
+	branch hci_normal_reply
+
+	
+phci_write_scan_enable:
+	ifetch 1,contru
+	store 1,mem_scan_mode
+	branch hci_normal_reply
+
+phci_write_page_scan_activity:
+	ifetch 2,contru
+	store 2,mem_pscan_interval
+	ifetch 2,contru
+	store 2,mem_pscan_window
+	branch hci_normal_reply
+
+phci_write_inquiry_scan_activity:
+	ifetch 2,contru
+	store 2,mem_iscan_interval
+	ifetch 2,contru
+	store 2,mem_iscan_window
+	branch hci_normal_reply
+
+phci_write_encryption_mode:
+	branch hci_normal_reply
+
+	
+phci_write_authentication_enable:
+	ifetch 1,contru
+	store 1,mem_auth_enable
+	branch hci_normal_reply
+
+phci_write_class_of_device:
+	ifetch 3,contru
+	store 3,mem_class
+	branch hci_normal_reply
+
+
+
+
+phci_read_ext_inquiry_response:
+	deposit temp
+	branch hci_normal_reply,blank
+	call hci_get_payload_ptr
+	force 0x1,pdata
+	istore 1,contwu
+	deposit alarm
+	istore 2,contwu
+	force HCI_ERROR_INVALID_HCI_COMMAND_PARAMETERS,pdata
+	istore 1,contwu
+	setarg 0
+	increase 0xf1,loopcnt
+	call uart_write_bytes
+	
+	force HCI_EVENT_COMMAND_COMPLETE,queue
+	force 0xf5,loopcnt
+	branch hci_send_event
+
+
+	
+phci_write_ssp_mode:
+	ifetch 1,contru
+	ncall ssp_enable,blank
+	call ssp_disable,blank
+	branch hci_normal_reply
+
+phci_read_scan_enable:
+	call hci_get_cmd_complete_ptr
+	fetch 1,mem_scan_mode
+	istore 1,contwu
+	force 5,loopcnt
+	branch hci_command_complete
+
+phci_read_local_version_information:
+	call hci_get_cmd_complete_ptr
+	fetch 8,mem_hci_version
+	istore 8,contwu
+	force 12,loopcnt
+	branch hci_command_complete
+
+phci_read_local_supported_features:
+	call hci_get_cmd_complete_ptr
+	fetch 8,mem_features
+	istore 8,contwu
+	force 12,loopcnt
+	branch hci_command_complete
+	
+phci_read_local_ext_features:
+	call hci_get_cmd_complete_ptr
+	setarg 0x0101	// page 1, and max page is 1
+	istore 2,contwu
+	setarg 0x01		// only support ssp
+	istore 8,contwu
+	force 14,loopcnt
+	branch hci_command_complete
+
+phci_read_buffer_size:
+	call hci_get_cmd_complete_ptr
+	fetch 7,mem_acl_pktlen
+	istore 7,contwu
+	force 11,loopcnt
+	branch hci_command_complete
+	
+phci_read_bd_addr:
+	call hci_get_cmd_complete_ptr
+	fetch 6,mem_lap
+	istore 6,contwu
+	force 10,loopcnt
+	branch hci_command_complete
+
+phci_set_event_mask:
+	branch hci_normal_reply
+
+//NO SUPPUT
+phci_reset_failed_contact_counter:
+	branch hci_normal_reply
+phci_get_link_quality:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	setarg 0xff
+	istore 1,contwu
+	force 7,loopcnt
+	branch hci_command_complete
+	
+phci_read_rssi:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	setarg 0x00
+	istore 1,contwu
+	force 7,loopcnt
+	branch hci_command_complete
+	
+phci_read_afh_channel_map:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_6,mem_patch1b
+	branch hci_normal_reply
+phci_read_bd_clock:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_7,mem_patch1b
+	branch hci_normal_reply
+
+
+
+
+phci_accept_connection:
+	call phci_read_plap
+	jam hci_cmd_accept_conn,mem_hci_cmd
+	ifetch 1,contru
+	beq 1,hci_command_status	//1 role slave
+	jam hci_cmd_accept_with_switch,mem_hci_cmd
+	branch hci_command_status
+		
+phci_reject_connection:
+	branch phci_accept_connection
+	call phci_read_plap
+	jam hci_cmd_reject_conn,mem_hci_cmd
+	branch hci_normal_reply
+	
+phci_change_connection_packet_type:
+	call hci_command_status
+	call hci_get_payload_ptr
+	setarg 0
+	istore 1,contwu
+	ifetch 4,contru
+	istore 4,contwu
+	force 8,loopcnt
+	arg HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED,queue
+	arg 5,loopcnt
+	branch hci_send_event
+
+phci_unknown_command:
+	force HCI_ERROR_UNKNOWN_HCI_COMMAND,rega
+	branch hci_command_status_err
+	
+phci_sniff_mode:
+//	force HCI_ERROR_COMMAND_DISALLOWED,rega
+//	branch hci_command_status_err
+	call phci_read_handle
+	ifetch 2,contru
+	store 2,mem_sniff_param_interval
+	ifetch 2,contru
+	store 2,mem_hci_sniff_min_interval
+	ifetch 2,contru
+	store 2,mem_sniff_param_attempt
+	ifetch 2,contru
+	store 2,mem_sniff_param_timeout
+	jam hci_cmd_in_sniff,mem_hci_cmd
+	branch hci_command_status
+	
+phci_exit_sniff_mode:
+	call phci_read_handle
+	call exit_sniff
+	branch hci_command_status
+
+exit_sniff:
+	jam hci_cmd_exit_sniff,mem_hci_cmd
+	rtn
+
+phci_sniff_subrating:
+	branch hci_normal_reply
+	
+phci_switch_role:
+	call phci_read_plap
+	jam hci_cmd_role_switch,mem_hci_cmd
+	branch hci_command_status
+
+phci_read_plap:
+	ifetch 6,contru
+	store 6,mem_hci_plap
+	rtn
+
+phci_read_handle:
+	ifetch 2,contru
+	store 1,mem_hci_conn_handle
+	rtn
+
+phci_copy_handle:
+	call phci_read_handle
+	call hci_get_cmd_complete_ptr
+	fetch 1,mem_hci_conn_handle
+	istore 2,contwu
+	rtn
+
+
+	/* TODO: should be replaced with real job */
+phci_status_reply_temp:
+	call phci_read_handle
+	call hci_command_status
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+	fetch 1,mem_hci_conn_handle
+	istore 2,contwu
+	rtn
+	
+phci_read_clock:
+	ifetch 2,contru
+	iadd clkn_bt,pdata
+	and_into 0x1fc,pdata
+	store 4,mem_page_clk
+	rtn
+
+hci_inquiry_reply:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_0,mem_patch1c
+	fetch 1,mem_rp_packets
+	sub pdata,2,null
+	nrtn positive
+	fetcht 6,extm_lap
+	call context_search_plap2
+	rtn zero
+	call hci_get_packet_ptr
+	setarg 0x10f22
+	istore 3,contwu
+	fetch 6,extm_lap
+	istore 6,contwu
+	fetch 1, extm_fhs_misc
+	copy pdata, temp
+	rshift3 pdata, pdata
+	rshift3 pdata, pdata
+	istore 1,contwu
+	copy temp, pdata
+	and pdata,0x30,pdata
+	rshift3 pdata, pdata
+	rshift pdata, pdata
+	istore 1,contwu
+	fetch 3, extm_class
+	istore 3,contwu
+	fetch 4,mem_clke_bt
+	isub clkn_bt,pdata
+	istore 2,contwu
+	setarg 0xc8
+	istore 1,contwu
+	force 15,loopcnt
+	branch hci_send_event_raw
+	
+hci_inquiry_reply_eir:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_1,mem_patch1c
+	force 540,temp
+	fetch 2,mem_h5tx_free
+	isub temp,null
+	nrtn positive
+	fetcht 3,mem_extm_uap_restore
+	fetch 3,extm_uap
+	isub temp,null
+	rtn zero
+	rtn blank
+	store 3,mem_extm_uap_restore
+	fetch 1,mem_rp_packets
+	sub pdata,2,null
+	nrtn positive
+	fetcht 6,extm_lap
+	call context_search_plap2
+	rtn zero
+	call hci_eir_reply
+	force 15,temp
+	fetch 1,mem_rxbuf+1
+	bne 0x09,hci_inquiry_reply_eir_end
+	fetch 1,mem_rxbuf
+	branch hci_inquiry_reply_eir_end,blank
+	iforce loopcnt
+	istore 1,contwu
+	iadd temp,temp
+	increase 1,temp
+	arg mem_rxbuf+1,contr
+	//increase 1,contr
+hci_inquiry_name_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop hci_inquiry_name_loop
+hci_inquiry_other_rtn_loop:
+	ifetch 1,contr
+	branch hci_inquiry_reply_eir_end,blank
+	iforce loopcnt
+	istore 1,contwu
+	iadd temp,temp
+	increase 1,temp
+hci_inquiry_other_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop hci_inquiry_other_loop
+	branch hci_inquiry_other_rtn_loop	
+hci_inquiry_reply_eir_end:
+	sub temp,0xff,pdata
+	iforce loopcnt
+hci_inquiry_fill_zero:
+	setarg 0x00
+	istore 1,contwu
+	loop hci_inquiry_fill_zero
+	force 0xff,loopcnt
+	branch hci_send_event_raw
+	
+hci_eir_reply:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_2,mem_patch1c
+	call hci_get_packet_ptr
+	setarg 0x1ff2f
+	istore 3,contwu
+	fetch 6,extm_lap
+	istore 6,contwu
+	fetch 1, extm_fhs_misc
+	copy pdata, temp
+	rshift3 pdata, pdata
+	rshift3 pdata, pdata
+	istore 1,contwu
+	copy temp, pdata
+	and pdata,0x30,pdata
+	rshift3 pdata, pdata
+	rshift pdata, pdata
+	istore 1,contwu
+	fetch 3, extm_class
+	istore 3,contwu
+	fetch 4,mem_clke_bt
+	isub clkn_bt,pdata
+	istore 2,contwu
+	setarg 0xc8
+	istore 1,contwu
+	rtn
+	/* temp is features */
+hci_send_remote_features:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_3,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	istoret 8,contwu
+	force 11,loopcnt
+	force HCI_EVENT_READ_REMOTE_FEATURES_COMPLETE,queue
+	branch hci_send_event
+
+hci_send_remote_ext_features_notification:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_4,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	// BDaddr, Extended_LMP_Features
+	call hci_get_payload_ptr
+	fetch 6,mem_plap
+	istore 6,contwu
+	istoret 8,contwu// 8 bytes remote ext feature saved in temp reg
+	force 14,loopcnt
+	force HCI_EVENT_REMOTE_HOST_SUPPORTED_FEATURES_NOTIFICATION,queue
+	branch hci_send_event	
+	
+hci_send_remote_ext_features_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_5,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	//Status, Connection_Handle, Page_Number, Maximum page number, Extended_LMP_Features
+	call hci_write_handle3
+	fetch 1,mem_ext_features_page
+	istore 1,contwu
+	setarg 1
+	istore 1,contwu
+	istoret 8,contwu// 8 bytes remote ext feature saved in temp reg
+	force 13,loopcnt
+	force HCI_EVENT_READ_REMOTE_EXT_FEATURES_COMPLETE,queue
+	branch hci_send_event	
+
+	/* temp is version */
+hci_send_version_information:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_6,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	istoret 5,contwu
+	force 8,loopcnt
+	force HCI_EVENT_READ_REMOTE_VERSION_INFORMATION_COMPLETE,queue
+	branch hci_send_event
+
+hci_send_io_cap_response_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_7,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	// BD_ADDR, IO_Capability,
+	call hci_get_payload_ptr
+	fetch 6,mem_plap
+	istore 6,contwu
+	fetch 3,mem_sp_iocap_remote
+	istore 3,contwu
+	force 9,loopcnt
+	force HCI_EVENT_IO_CAP_RESPONSE,queue
+	branch hci_send_event	
+
+hci_send_io_cap_req_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_0,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	// BD_ADDR
+	call hci_get_payload_ptr
+	fetch 6,mem_plap
+	istore 6,contwu
+	force 6,loopcnt
+	force HCI_EVENT_IO_CAP_REQ,queue
+	branch hci_send_event	
+
+	
+hci_send_connection_complete:
+	force 0,temp
+hci_send_connection_error:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_1,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_CONNECTION_COMPLETE,queue
+	jam 5,mem_acl_credits
+	call hci_get_payload_ptr
+	istoret 1,contwu
+	call hci_write_handle
+	call hci_write_plap
+	force 1,pdata				/* connection type=1:ACL */
+	istore 1,contwu
+	force 0,pdata
+	fetcht 1,mem_state_map
+	isolate1 smap_encryption,temp
+	setflag true,0,pdata
+	istore 1,contwu
+	force 11,loopcnt
+	branch hci_send_event
+
+	/* temp is connection type 0=sco,1=acl */
+hci_send_conn_req_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_2,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_CONNECTION_REQUEST,queue
+	call hci_get_payload_ptr
+	call hci_write_plap
+	// class of device
+	fetch 3,extm_class
+	istore 3,contwu
+	istoret 1,contwu
+	force 10,loopcnt
+	branch hci_send_event
+
+hci_send_encryption_change:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_3,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	force 0,pdata
+	fetcht 1,mem_state_map
+	isolate1 smap_encryption,temp
+	setflag true,0,pdata
+	istore 1,contwu
+	force HCI_EVENT_ENCRYPTION_CHANGE_COMPLETE,queue
+	force 4,loopcnt
+	branch hci_send_event
+
+
+hci_send_linkkey_notification:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_4,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_LINK_KEY_NOTIFICATION,queue
+	call hci_get_payload_ptr
+	call hci_write_plap
+	arg mem_link_key,contr
+	force 16,loopcnt
+	call uart_copy_tx_bytes
+	force 0x05,pdata
+	istore 1,contwu
+	force 0x17,loopcnt
+	branch hci_send_event
+
+hci_send_user_confirmation_req:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_USER_CONFIRMATION_REQUEST,queue
+	call hci_get_payload_ptr
+	call hci_write_plap
+	fetch 4,mem_sp_gkey
+	istore 4,contwu
+	force 0xa,loopcnt
+	branch hci_send_event
+
+hci_send_ssp_complete:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_SIMPLE_PAIRING_COMPLETE,queue
+	call hci_get_payload_ptr
+	setarg 0
+	istore 1,contwu
+	call hci_write_plap
+	force 0x7,loopcnt
+	branch hci_send_event
+
+
+hci_send_linkkey_req:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_5,mem_patch1d
+	force HCI_EVENT_LINK_KEY_REQUEST,queue
+hci_send_sec_req:	/* used by linkkey and pin req */
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_get_payload_ptr
+	call hci_write_plap
+	force 6,loopcnt
+	branch hci_send_event
+
+hci_send_pincode_req:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_PIN_CODE_REQUEST,queue
+	branch hci_send_sec_req
+
+	/* temp=role */
+hci_send_role_change:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_ROLE_CHANGE,queue
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+	call hci_write_plap
+	istoret 1,contwu
+	force 8,loopcnt
+	branch hci_send_event
+
+hci_send_role_change_err:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force 0,temp
+	nbranch hci_send_role_change_err_slave,master
+	force 1,temp
+hci_send_role_change_err_slave:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_ROLE_CHANGE,queue
+	call hci_get_payload_ptr
+	force 0x35,pdata
+	istore 1,contwu
+	call hci_write_plap
+	istoret 1,contwu
+	force 8,loopcnt
+	branch hci_send_event
+
+hci_send_name:	/* queue is error code */
+	set0 mark_ext_patch,mark
+	bpatch patch1d_6,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_get_packet_ptr
+	setarg 0xff07
+	istore 2,contwu
+	deposit queue
+	istore 1,contwu
+	call hci_write_plap
+	arg mem_tmp_buffer,contr
+	force 248,loopcnt
+hci_read_remote_name_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop hci_read_remote_name_loop
+	force 0xff,loopcnt
+	branch hci_send_event_raw
+
+hci_send_num_complete_packets:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_7,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	hfetch 1,core_uart_txitems
+	nrtn blank
+	fetch 1,mem_op
+	rtnbit0 op_pkt_comp
+	set0 op_pkt_comp,pdata
+	store 1,mem_op
+	call hci_get_payload_ptr
+	force 1,pdata
+	istore 1,contwu
+	call hci_write_handle
+	force 1,pdata
+	istore 2,contwu
+	force HCI_EVENT_NUM_COMPLETED_PACKETS,queue
+	force 5,loopcnt
+	branch hci_send_event
+
+
+
+hci_send_auth_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_0,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	force HCI_EVENT_AUTHENTICATION_COMPLETE,queue
+	force 3,loopcnt
+	branch hci_send_event
+
+
+	/* temp is connection handle */
+hci_send_disconn_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_1,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+	istoret 2,contwu
+	fetch 1,mem_hci_disconn_reason
+	istore 1,contwu
+	force HCI_EVENT_DISCONNECTION_COMPLETE,queue
+	force 4,loopcnt
+	branch hci_send_event
+
+
+hci_send_le_adv_report_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_2,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci,pdata
+	call hci_get_payload_ptr
+	setarg 0x0102//HCI_LE_SUBEVENT_ADV_REPORT + report number
+	istore 2,contwu
+	fetcht 1,mem_le_rxbuf
+	and temp,0xf,pdata//PDU type
+	istore 1,contwu
+	copy rega,pdata//advertiser address type
+	istore 1,contwu
+	fetcht 1,mem_le_rxbuf+1//payload length
+	increase -6,temp//data_len = payload length -6;
+	fetch 6,mem_le_rxbuf+2 //advertiser address
+	istore 6,contwu
+	istoret 1,contwu//data_len
+	copy temp,loopcnt 
+	call uart_copy_tx_bytes //copy adv data
+	setarg 127// RSSI not available
+	istore 1,contwu
+	copy temp,loopcnt
+	add loopcnt,12,loopcnt //payload_len = data_len + 12;
+	force HCI_EVENT_LE_META_EVENT,queue
+	branch hci_send_event
+	
+hci_send_le_conn_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_3,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci,pdata
+	call hci_get_payload_ptr
+	setarg HCI_LE_SUBEVENT_CONN_COMPLETE
+	istore 1,contwu
+	istoret 1,contwu //status
+	fetch 1,mem_le_conn_handle
+	istore 2,contwu//handle
+	fetch 1,mem_le_mode
+	rshift pdata,pdata
+	setflip 0,pdata
+	istore 1,contwu//role:0 master,1 slave
+	fetch 1,mem_le_conn_peer_addr_type
+	istore 1,contwu//peer addr & type
+	fetch 6,mem_le_plap
+	istore 6,contwu
+	fetch 2,mem_le_conn_interval// interval & latency & super to
+	istore 2,contwu// interval & latency & super to
+	fetch 2,mem_le_slave_latency
+	istore 2,contwu
+	fetch 2,mem_le_superto
+	istore 2,contwu
+	fetch 1,mem_le_peer_sca
+	istore 1,contwu//Master_Clock_Accuracy
+	force HCI_EVENT_LE_META_EVENT,queue
+	arg 19,loopcnt
+	branch hci_send_event
+
+
+	/* temp is mode */	
+hci_send_mode_change:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_4,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	//storet 1,mem_lpm_mode
+	call hci_get_payload_ptr
+	call hci_write_handle3
+	istoret 1,contwu
+	fetch 2,mem_tsniff
+	rshift pdata,pdata
+	istore 2,contwu
+	force 6,loopcnt
+	force HCI_EVENT_MODE_CHANGE,queue
+	branch hci_send_event
+	
+	/* temp is status,hansdle of sco on hci is 0xe00 */
+hci_send_sco_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_5,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	set0 mark_ext_patch,mark
+	bpatch patch1e_6,mem_patch1e
+	call hci_get_payload_ptr
+	istoret 1,contwu
+	setarg 0xe00
+	istore 2,contwu
+	call hci_write_plap
+	force 0,pdata
+	bmark1 mark_esco,hci_send_esco
+	force 0,pdata
+	istore 7,contwu
+	branch hci_send_sco_cont
+hci_send_esco:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	setarg 0x020602
+	istore 3,contwu
+	setarg 30
+	istore 2,contwu
+	setarg 30
+	istore 2,contwu
+hci_send_sco_cont:	
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	fetch 1,mem_air_mode
+	istore 1,contwu
+	force HCI_EVENT_SCO_CONNECTION_COMPLETE,queue
+	force 17,loopcnt
+	branch hci_send_event
+
+
+hci_command_status:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_7,mem_patch1e
+	call hci_get_payload_ptr
+	setarg 0x100
+	istore 2,contwu
+	deposit alarm
+	istore 2,contwu
+	force 4,loopcnt
+	force HCI_EVENT_COMMAND_STATUS,queue
+	branch hci_send_event
+	
+hci_command_status_err:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_0,mem_patch1f
+	call hci_get_payload_ptr
+	deposit rega	/*err type in rega*/
+	istore 1,contwu
+	setarg 0x01
+	istore 1,contwu
+	deposit alarm
+	istore 2,contwu
+	force 4,loopcnt
+	force HCI_EVENT_COMMAND_STATUS,queue
+	branch hci_send_event
+	
+hci_normal_reply:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_1,mem_patch1f
+	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 */
+	set0 mark_ext_patch,mark
+	bpatch patch1f_2,mem_patch1f
+	call hci_get_packet_ptr
+	deposit queue
+	istore 1,contwu
+	deposit loopcnt
+	istore 1,contwu
+hci_send_event_raw:
+	set1 mark_h5tx_rp,mark
+	force 5,queue
+	increase 2,loopcnt
+hci_send_packet:
+	call hci_check_bcsp_protocol
+	branch bcsp_send_packet,true
+	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_write_plap:
+	fetch 6,mem_plap
+	istore 6,contwu
+	rtn
+
+hci_write_handle3:
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+hci_write_handle:
+	fetch 1,mem_conn_handle
+	istore 2,contwu
+	rtn
+
+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:
+	call hci_check_bcsp_protocol
+	branch bcsp_get_tx_ptr,true
+	branch h4_get_tx_ptr
+
+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:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_loop:
+	ifetch 1,contru
+	istore 1,contw
+	loop uart_copy_rx_bytes_loop
+	rtn
+
+uart_write_bytes:
+	istore 1,contwu
+	rshift8 pdata,pdata
+	loop uart_write_bytes
+	rtn
+	
+
+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
+
+stop_loop:
+	nop 1
+	hjam 1,0x8203
+	branch stop_loop
+
+
+
+process_cmd:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_3,mem_patch1f
+	fetch 1,mem_hci_cmd
+	rtn blank
+	fetch 1,mem_lmo_opcode2
+	nrtn blank
+	call cmd_check_plap
+	nbranch process_cmd_conn_handle,zero
+	fetch 1,mem_hci_cmd
+	beq hci_cmd_remote_name_req,cmd_namereq
+	beq hci_cmd_pair,cmd_pair
+	beq hci_cmd_nopair,cmd_nopair
+	beq hci_cmd_linkkey,cmd_has_key
+	beq hci_cmd_nokey,cmd_no_key
+	beq hci_cmd_reject_conn,cmd_disconn
+	beq hci_cmd_role_switch,cmd_role_switch
+	beq hci_cmd_accept_conn,cmd_accept_conn
+	beq hci_cmd_accept_with_switch,cmd_accept_with_switch
+	beq hci_cmd_detach,cmd_detach
+	beq hci_cmd_in_sniff,cmd_in_sniff
+	beq hci_cmd_exit_sniff,cmd_exit_sniff
+process_cmd_conn_handle:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_4,mem_patch1f
+	call cmd_check_handle
+	nrtn blank
+	fetch 1,mem_hci_cmd
+	beq hci_cmd_auth,cmd_auth
+	beq hci_cmd_startencrypt,cmd_start_encrypt
+	beq hci_cmd_stopencrypt,cmd_stop_encrypt
+	beq hci_cmd_setup_sco,cmd_setup_sco
+	beq hci_cmd_disconn_sco,cmd_disconn_sco
+	beq hci_cmd_accept_sco_conn,cmd_accept_sco_conn
+	beq hci_cmd_remote_feature_req,cmd_feature_req
+	beq hci_cmd_remote_ext_features_req,cmd_ext_feature_req
+	beq hci_cmd_remote_version_req,cmd_version_req
+	beq hci_cmd_role_discovery,cmd_role_discovery
+	beq hci_cmd_io_cap,cmd_io_cap
+	rtnne hci_cmd_disconn
+	call lmp_disconnect
+cmd_exit:
+	jam 0,mem_hci_cmd
+	rtn
+
+cmd_check_plap:
+	fetch 6,mem_hci_plap
+	fetcht 6,mem_plap
+	isub temp,null
+	rtn
+
+	/* return pdata=0 if handle match */
+cmd_check_handle:
+	fetch 1,mem_hci_conn_handle
+	fetcht 1,mem_conn_handle
+	isub temp,pdata
+	rtn
+
+cmd_accept_conn:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_HOST_CONNECTION_REQ,mem_lmi_opcode2
+	call tid_set_reply
+	branch cmd_exit
+
+cmd_accept_with_switch:
+	branch cmd_accept_sco_conn,master
+	set1 mark_accept_switch,mark
+cmd_role_switch:
+	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	nbranch cmd_exit,master
+	jam LMP_SWITCH_REQ ,mem_lmo_opcode2
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	branch cmd_exit
+
+	
+cmd_namereq:
+	jam LMP_NAME_REQ,mem_lmo_opcode2
+	jam 0,mem_name_offset
+	branch cmd_exit
+	
+//enable ssp master sm
+cmd_ssp:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	jam SP_MASTER_STAT_START_SKIP,mem_master_sp_state
+	branch cmd_exit
+	
+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
+	
+cmd_nopair:
+	jam PAIRING_NOT_ALLOWED,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	fetch 1,mem_state
+	bbit1 state_inconn,cmd_exit
+	force HCI_ERROR_PAIRING_NOT_ALLOWED,temp
+	call hci_send_connection_error
+	branch cmd_exit
+
+	
+cmd_has_key:
+	call linkkey_set
+	fetch 1,mem_op
+	bbit1 op_auth_req,cmd_send_aurand
+	bbit1 op_send_sres,cmd_send_sres
+	bbit1 op_inrand_req,cmd_pair_passive
+	branch cmd_exit
+cmd_send_sres:
+	set0 op_send_sres,pdata
+	store 1,mem_op
+	jam LMP_SRES,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_no_key:
+	fetch 1,mem_op
+	bbit1 op_send_sres,cmd_no_key_reject
+	call hci_send_pincode_req
+	branch cmd_exit
+cmd_no_key_reject:
+	set0 op_send_sres,pdata
+	store 1,mem_op
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_AU_RAND,mem_lmi_opcode2
+	jam KEY_MISSING,mem_lmo_reason2
+	branch cmd_exit
+	
+
+cmd_auth:
+	fetch 1,mem_op
+	set1 op_auth_req,pdata
+	store 1,mem_op
+	fetch 1,mem_state
+	bbit1 state_linkkey,cmd_auth_sendaurand
+	call hci_send_linkkey_req
+	branch cmd_exit
+
+cmd_send_aurand:
+cmd_auth_sendaurand:
+	call tid_initiate
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_start_encrypt:
+	jam LMP_ENCRYPTION_MODE_REQ,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_stop_encrypt:
+	jam LMP_ENCRYPTION_MODE_REQ ,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_feature_req:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_5,mem_patch1f
+	jam LMP_FEATURES_REQ,mem_lmo_opcode2
+	jam hci_cmd_wait_remote_feature,mem_hci_cmd
+	rtn
+	
+cmd_ext_feature_req:	
+	jam LMP_EXT_FEATURES_REQ,mem_lmo_opcode2
+	jam hci_cmd_wait_remote_ext_feature,mem_hci_cmd
+	rtn
+	
+cmd_version_req:
+	jam LMP_VERSION_REQ,mem_lmo_opcode2
+	branch cmd_exit
+	
+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
+	
+cmd_setup_sco:
+	call new_conn_handle
+	store 1,mem_sco_handle
+	fetch 1,mem_conn_handle
+	store 1,mem_sco_asso_handle
+	jam LMP_SCO_LINK_REQ,mem_lmo_opcode2
+	set1 mark_esco,mark
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_disconn:
+	call lmp_disconnect
+	branch cmd_exit
+	
+cmd_disconn_sco:
+	jam LMP_REMOVE_SCO_LINK_REQ,mem_lmo_opcode2
+	bmark0 mark_esco,cmd_exit
+	jam LMP_EXT_REMOVE_ESCO_REQ,mem_lmo_opcode2
+	branch cmd_exit
+	
+cmd_accept_sco_conn:
+	branch cmd_accept_sco_conn_master,master
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SCO_LINK_REQ,mem_lmi_opcode2
+	bmark0 mark_esco,cmd_exit
+	fetch 1,mem_esco_type
+	bne type_hv3,parse_lmpext_esco_link_req_change_param //ev3 only
+	jam LMP_EXT_ACCEPTED ,mem_lmo_opcode2
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmi_opcode2
+	branch cmd_exit	
+cmd_accept_sco_conn_master:
+	call new_conn_handle
+	store 1,mem_sco_handle
+	fetch 1,mem_conn_handle
+	store 1,mem_sco_asso_handle
+	jam LMP_SCO_LINK_REQ,mem_lmo_opcode2
+	bmark0 mark_esco,cmd_exit
+	branch parse_lmpext_esco_link_req_change_param	
+
+
+cmd_role_discovery:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	force 0,pdata
+	nsetflag master,0,pdata
+	istore 1,contwu
+	force 7,loopcnt
+	arg 0x809,alarm				/* role discovery */
+	call hci_command_complete
+	branch cmd_exit
+	
+cmd_io_cap:
+	jam LMP_IO_CAP_RES,mem_lmo_opcode2 
+	branch cmd_exit
+	
+cmd_detach:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	branch cmd_exit
+
+
+
+// below  merged from bt_hci_patch
+process_hci_patch:
+	jam 0, mem_check_sum
+	//check the packet id
+	//if the packid is not mem_ucode_id_local + 1 then send nak with packe number
+	ifetch 1,contru
+	store 1, mem_ucode_id_remote
+	call hci_ucode_checksum_add
+	
+	call push_stack
+	fetch 1, mem_ucode_id_remote
+	copy pdata, temp
+	fetch 1, mem_ucode_id_local
+	increase 1,pdata
+	icompare 0xff,temp
+	nbranch hci_nak_ucode_with_stack, true
+	store 1, mem_ucode_id_local
+	call pop_stack
+	
+	ifetch 1,contru
+	beq 0x01,hci_enable_ucode_load
+	beq 0x02,process_hci_ucode
+	beq 0x03,hci_disable_ucode_load
+	beq 0x05,process_hci_n_sched_data
+	beq 0x06,hci_write_register
+	beq 0x07,hci_read_register
+	beq 0x08,hci_enable_ucode
+	beq 0x09,hci_soft_branch
+	rtn
+hci_ucode_checksum_add:
+	copy pdata, temp
+	call push_stack
+	fetch 1, mem_check_sum
+	iadd temp,pdata
+	store 1, mem_check_sum
+	branch pop_stack
+
+
+hci_ack_ucode:
+	force 1,pdata
+	call uart_send_byte
+	fetch 1, mem_ucode_id_local
+	branch uart_send_byte
+	
+hci_nak_ucode_with_stack:
+	call pop_stack
+	branch hci_nak_ucode_ucode_id
+hci_nak_ucode:
+	fetch 1, mem_ucode_id_local
+	increase -1,pdata
+	store 1, mem_ucode_id_local
+hci_nak_ucode_ucode_id:	
+	force 0,pdata
+	call uart_send_byte
+	fetch 1, mem_ucode_id_local
+	branch uart_send_byte
+	
+hci_write_register:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	lshift8 pdata, contw
+	call hci_ucode_checksum_add
+	fetch 1, mem_ucode_temp
+	iadd contw, contw
+	ifetch 1,contru //data in pdata
+	istore 1, contw //store the data in register
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+	
+hci_read_register:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp1
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	
+	fetch 1, mem_ucode_temp1
+	lshift8 pdata, temp
+	fetch 1, mem_ucode_temp
+	iadd temp,contru
+	ifetch 1, contru
+	store 1, mem_ucode_temp
+hci_read_register_ack:	
+	force 1,pdata
+	call uart_send_byte
+	fetch 1, mem_ucode_temp //hardware register
+	call uart_send_byte
+	jam 0xff, mem_ucode_id_local
+	rtn
+	
+hci_enable_ucode:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+
+process_hci_ucode:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	hstore 1,core_ucode_low
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	set1 7,pdata
+	hstore 1,core_ucode_ctrl
+	set0 7,pdata
+	call hci_ucode_checksum_add
+	ifetch 1,contru //length
+	copy pdata,loopcnt
+	call hci_ucode_checksum_add
+write_ucode_loop:
+	ifetch 1,contru
+	hstore 1, core_ucode_data
+	call hci_ucode_checksum_add
+	loop write_ucode_loop
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+		
+process_hci_n_sched_data:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	lshift8 pdata, contw
+	call hci_ucode_checksum_add
+	fetch 1, mem_ucode_temp
+	iadd contw, contw
+	ifetch 1,contru
+	iforce loopcnt
+	call hci_ucode_checksum_add
+process_hci_n_sched_loop:
+	ifetch 1,contru
+	istore 1,contw
+	call hci_ucode_checksum_add
+	loop process_hci_n_sched_loop
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+
+
+
+hci_enable_ucode_load:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	hjam 0x80,core_ucode_ctrl
+	branch hci_ack_ucode
+
+hci_disable_ucode_load:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	hjam 0,core_ucode_ctrl
+	branch hci_ack_ucode
+	
+hci_soft_branch:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	call hci_ack_ucode
+	branch soft_reset
+
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch33_4,mem_patch33
+	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
+	rtnne dvc_op_mouse,pdata
+	copy temp,pdata
+	beq HID_CONTROL_P_VIRTUALCABLEUNPLUG,eeprom_erase_reconn_info
+	rtn
+hid_rx_process_suspend:
+	rtn
+
+hid_rx_process_set_report:
+	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
+hid_handshake_event:
+	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:
+	copy contr,rega
+	fetch 1,mem_device_option
+	rtnne dvc_op_kb,pdata
+	copy rega,contr
+	branch kb_process_kb_report
+	
+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
+
+
+le_ir_init:
+	setarg le_ir
+	store 2,mem_cb_le_process	
+	setarg le_ir_wcb
+	store 2,mem_cb_att_write
+	call eeprom_load_reconn_info
+	call le_init_att
+	hjam 158,core_pwm_ncnt0
+	hjam 8,core_gpio_sel1
+	hjam 5,core_gpio_out1
+	setarg -1
+	set0 1,pdata
+	set0 21,pdata
+	hstore 4,core_gpio_oe0
+	hjam 2,core_gpio_pu0
+	rtn wake
+	jam 1,mem_le_adv_enable
+	rtn
+
+
+le_ir_wcb:
+	ifetch 1,rega
+	store 1,mem_ir_cmd
+	beq ircmd_write_pulse,le_ir_write_pulse
+	beq ircmd_write_seq,le_ir_write_seq
+	beq ircmd_write_next,le_ir_write_next
+	beq ircmd_screen_on,le_ir_screen_on
+	beq ircmd_screen_off,le_ir_screen_off
+	rtnne ircmd_play
+	ifetch 1,contr
+	store 1,mem_ir_play_count
+	rtn
+
+le_ir_write_pulse:
+	arg mem_ir_pulse_zero,contw
+	branch le_ir_write
+	
+le_ir_write_seq:
+	arg mem_ir_sequence_len,contw
+	branch le_ir_write
+
+le_ir_write_next:
+	fetch 2,mem_ir_ptr
+	iforce contw
+
+le_ir_write:
+	arg 19,loopcnt
+	call memcpy
+	deposit contw
+	store 2,mem_ir_ptr
+	jam 0,mem_ir_cmd
+	rtn
+
+
+	
+le_ir:
+	fetch 1,mem_ir_cmd
+	beq ircmd_record,le_ir_start_record
+	beq ircmd_play,le_ir_play
+	beq ircmd_report_pulse,le_ir_report
+	beq ircmd_report_seq,le_ir_report
+	beq ircmd_report_raw,le_ir_report
+	beq ircmd_test_play,le_ir_play
+	beq ircmd_test_rec,le_ir_rec
+	rtn
+
+le_ir_screen_on:
+	jam 0,mem_lpm_mult
+	jam 0,mem_ir_cmd
+	rtn
+le_ir_screen_off:
+	jam 30,mem_lpm_mult
+	jam 0,mem_ir_cmd
+	rtn
+
+	
+
+le_ir_rec:
+	jam 0,mem_ir_cmd
+	arg 0xfffff,stop_watch
+	call ir_record
+	rtn
+	
+le_ir_next_anchor:
+	fetcht 2,mem_le_tsniff
+	iadd temp,pdata
+	store 4,mem_le_anchor
+le_ir_start_record:
+	fetch 4,mem_le_anchor
+	isub clke_bt,pdata
+	nbranch le_ir_next_anchor,positive
+	rshift pdata,stop_watch
+	call ir_record
+	rtn blank
+	jam ircmd_report_raw,mem_ir_cmd
+	arg mem_ir_record,temp
+	storet 2,mem_ir_ptr
+	
+le_ir_report:
+	call le_xtype_fifo_is_full
+	nrtn blank
+	jam notify_handle,mem_le_notify_handle
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	fetch 2,mem_le_notify_attr_start
+	iforce contw
+	fetch 2,mem_ir_ptr
+	iforce contr
+	arg 20,loopcnt
+	call memcpy
+	deposit contr
+	store 2,mem_ir_ptr
+	fetch 2,mem_ir_report_len
+	increase -20,pdata
+	store 2,mem_ir_report_len
+	rtn positive
+	jam 0,mem_ir_cmd
+	rtn
+
+
+le_ir_play:
+	fetch 1,mem_ir_play_count
+	call ir_play
+	jam 0,mem_ir_cmd
+	rtn
+
+
+ir_record:
+	call ir_receive
+	setarg mem_ir_record
+	isub contw,pdata
+	sub pdata,0,pdata
+	store 2,mem_ir_report_len
+	rtn
+
+
+	/* stop_watch is sync timeout */
+ir_receive:
+	disable swfine
+	arg mem_ir_record,contw
+ir_receive_waitsync:
+	rtn timeout
+	hfetch 1,core_gpio_in+2
+	bbit0 5,ir_receive_waitsync
+	copy clkn,temp
+	arg 0x80,loopcnt
+	call memset0
+	arg mem_ir_record,contw
+	arg 0x0,regc
+ir_receive_loop:
+	arg 180,stop_watch
+ir_receive_waitedge:
+	rtn timeout
+	hfetch 1,core_gpio_in+2
+	ixor regc,pdata
+	bbit1 5,ir_receive_waitedge
+	copy clkn,pdata
+	iforce alarm
+	call clk_diff_rt
+	sub pdata,0xff,null
+	branch ir_receive_waitedge,positive
+	isolate0 5,regc
+	setflag true,23,pdata
+	istore 3,contw
+	rshift8 contw,pdata
+	rtneq mem_ir_record_max
+	copy alarm,temp
+	xor_into 0x20,regc	
+	branch ir_receive_loop
+
+
+	/* return 0xff if all sequence is sent */
+ir_get_next_seq:
+	branch ir_get_next_seq_saved,user
+	branch ir_get_next_encoded,user2
+ir_get_next_seq_fetch:
+	arg mem_ir_sequence,temp
+	fetch 1,mem_ir_sequence_len
+	iadd temp,pdata
+	isub rega,null
+	branch ir_get_next_seq_exit,zero
+	ifetch 1,rega
+	copy contr,rega
+	bbit0 7,ir_get_next_cont
+	enable user2
+	and pdata,0x7f,regb
+	lshift3 rega,rega
+	branch ir_get_next_encoded
+ir_get_next_cont:
+	rshift4 pdata,debug
+	and_into 0xf,pdata
+	isub debug,null
+	rtn zero
+	enable user
+	rtn
+ir_get_next_seq_saved:
+	deposit debug
+	disable user
+	rtn
+ir_get_next_encoded:
+	deposit regb
+	branch ir_get_next_encoded_end,blank
+	and rega,0x7,queue
+	rshift3 rega,contr
+	ifetch 1,contr
+	increase 1,rega
+	increase -1,regb
+	qisolate0 pdata
+	fetch 1,mem_ir_pulse_zero
+	branch ir_get_next_cont,true
+	fetch 1,mem_ir_pulse_one
+	branch ir_get_next_cont
+ir_get_next_encoded_end:
+	disable user2
+	increase 7,rega
+	rshift3 rega,rega
+	branch ir_get_next_seq_fetch
+ir_get_next_seq_exit:
+	setarg 0xff
+	rtn
+	
+	/* pdata=index of pulse */
+ir_get_pulse:
+	lshift pdata,contr
+	iadd contr,pdata
+	arg mem_ir_pulses,contr
+	iadd contr,contr
+	ifetch 3,contr
+	rtn
+	
+	/* pdata=number of seqs to send */
+ir_play:
+	enable swfine
+	iforce loopcnt
+ir_play_nloop:
+	disable user
+	disable user2
+	arg mem_ir_sequence,rega
+ir_play_loop:
+	call ir_get_next_seq
+	beq 0xff,ir_play_end
+	call ir_get_pulse
+	bbit0 23,ir_play_silence
+	set0 23,pdata
+	hjam 158,core_pwm_pcnt0
+ir_play_silence:
+	iforce stop_watch
+	until null,timeout
+	hjam 0,core_pwm_pcnt0
+	branch ir_play_loop
+ir_play_end:
+	loop ir_play_nloop
+	rtn
+
+
+
+
+
+le_kb_init:
+	call kb_init_common
+	setarg kb_process_idle
+	store 2,mem_cb_idle_process
+	setarg kb_send_process
+	store 2,mem_cb_bt_process
+	setarg kb_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg kb_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg kb_discovery_timeout_sleep
+	store 2,mem_cb_discovry_timeout
+    	setarg kb_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg kb_wakeup_check
+	store 2,mem_cb_check_wakelock
+	rtn wake	
+	
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,app_bt_start_discovery_short
+	call app_check_reconn_target
+	branch kb_start_discovery,blank
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+
+	
+kb_init:	
+	call kb_init_common
+	setarg kb_process_idle
+	store 2,mem_cb_idle_process
+	setarg kb_send_process
+	store 2,mem_cb_bt_process
+	setarg kb_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg kb_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg kb_discovery_timeout_sleep
+	store 2,mem_cb_discovry_timeout
+    	setarg kb_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg kb_wakeup_check
+	store 2,mem_cb_check_wakelock
+	rtn wake	
+		
+	jam 0,mem_sp_flag
+	jam 0,mem_master_sp_flag
+
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,app_bt_start_discovery_short
+	call app_check_reconn_target
+	branch kb_start_discovery,blank
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+
+	
+	
+kb_init_common:
+	set1 mark_ext_patch,mark
+	bpatch patch36_6,mem_patch36
+//	call kb_init_before_hibernate
+	fetch 1,0x8140
+	branch assert,blank
+	hjam 0,core_gpio_oe0
+	hjam 0xff,core_gpio_pu0
+
+	hjam 0xff,core_gpio_oe1
+	hjam 0xff,core_gpio_oe2
+	hfetch 1,core_gpio_oe3
+	or_into 0x0f,pdata
+	hstore 1,core_gpio_oe3
+
+	hjam 0x00,core_gpio_sel
+	hjam 0x00,core_gpio_sel1
+	hjam 0xff,core_gpio_key0
+	hjam 0xFf,core_gpio_key1
+	hfetch 1,core_gpio_key2
+	or_into 0x03,pdata
+	hstore 1,core_gpio_key2
+	hjam 0x00,core_kscn_rowmask
+	setarg KB_KSCAN_COL_1
+	lshift3 pdata,pdata
+	add pdata,KB_KSCAN_ROW_1,pdata
+	hstore 1,core_kscn_rctc
+
+	hfetch 1,core_config
+	set1 2,pdata //set keyscan clk source
+	hstore 1,core_config
+	hfetch 1, core_clkoff+1
+	set0 1,pdata
+	hstore 1,core_clkoff+1
+	hjam 0xd,core_kscn_ksctrl
+	hjam 0xd3,core_kscn_m_debounce
+	hjam 0,core_kscn_scancycle_timer_l
+	hjam 0x31,core_kscn_scancycle_timer_h
+	call lpm_disable_exen_output
+	fetcht 1,mem_led_cap_gpio
+ 	call gpio_config_output
+	fetcht 1,mem_led_num_gpio
+ 	call gpio_config_output
+	fetcht 1,mem_led_scl_gpio
+ 	call gpio_config_output
+	rtn
+
+kb_process_kb_report:
+	set1 mark_ext_patch,mark
+	bpatch patch36_7,mem_patch36
+	ifetch 1,contr
+	copy pdata,rega
+	fetcht 1,mem_led_num_gpio
+	isolate1 KB_NUM_LOCK_SELECTED,rega
+	call gpio_out_flag
+	fetcht 1,mem_led_cap_gpio
+	isolate1 KB_CAPS_LOCK_SELECTED,rega
+	call gpio_out_flag
+	fetcht 1,mem_led_scl_gpio
+	isolate1 KB_SCROLL_LOCK_SELECTED ,rega
+	call gpio_out_flag
+	jam 1,mem_kb_rcv_led_data
+	rtn
+
+
+kb_send_process:
+//	call kb_wakeup_check
+	call kb_kscan_check_if_empty
+	nrtn user
+	nrtn user2
+//	call app_lpm_wake_auto_lock
+	fetch 1,mem_pincode_state
+	beq pincode_state_wait_pincode,kb_pincode
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f
+
+	arg 10,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x01a1
+	istore 2,contw
+	fetch 8,mem_kb_state
+	istore 8,contw
+	rtn
+	
+kb_pincode:
+	fetcht 1,mem_pin_length
+	setarg mem_pin
+	iadd temp,contw
+	fetch 1,mem_kb_report_data
+	branch kb_pincode_rtn,blank
+	beq KB_KCODE_BKSP,kb_pincode_bksp
+	bne KB_KCODE_ENTER,kb_pincode_data
+	storet 1,mem_pin_length
+	branch app_bt_set_pincode
+	
+kb_pincode_rtn:
+	storet 1,mem_pin_length
+	rtn
+kb_pincode_bksp:
+	fetch 1,mem_pin_length
+	rtn blank
+	increase -1,pdata
+	store 1,mem_pin_length
+	arg mem_pin,contw
+	iadd contw,contw
+	setarg 0
+	istore 1,contw
+	enable user2
+	branch kb_send_pin
+kb_pincode_data:
+	sub pdata,KB_KCODE_1_M1,null
+	rtn positive
+	arg 0x30,temp
+	sub pdata,KB_KCODE_0,null
+	nrtn positive
+	branch kb_pincode_0,zero
+	arg KB_KCODE_1_M1,temp
+	isub temp,temp
+	or_into 0x30,temp
+kb_pincode_0:
+	istoret 1,contw
+	fetch 1,mem_pin_length
+	increase 1,pdata
+	store 1,mem_pin_length
+	disable user2
+	branch kb_send_pin
+
+kb_send_pin:
+	fetch 2,mem_hid_int_remote_cid
+	rtn blank
+	arg 3,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xffa1
+	istore 2,contw
+	setarg 0
+	setflag user2,0,pdata
+	istore 1,contw
+	rtn
+
+
+	
+kb_kscan_check_if_empty:
+	disable user
+	disable user2
+	hfetch 1,core_kscn_kstat
+	rtnbit1 KB_KSCAN_STAT_EMPTY
+
+kb_kscan_check_ghost:
+	hfetch 1,core_kscn_event_num
+	bbit1 KB_KSCAN_KEY_EVENT_STAT,kb_kscan_process_event
+	hfetch 1,core_kscn_kstat
+	bbit0 KB_KSCAN_STAT_GHOST,kb_kscan_process_event
+	hfetch 1,core_kscn_event
+	branch kb_kscan_check_if_empty
+		
+kb_kscan_process_event:
+	enable user
+	enable user2
+	hfetch 1,core_kscn_event_num
+	isolate0 kb_KSCAN_KEY_EVENT_STAT,pdata
+	hfetch 1,core_kscn_event
+	arg mem_kb_map,contr
+	iadd contr,contr
+	ifetch 1,contr
+	bbit1 7,kb_kscan_read_statekey
+	nbranch kb_kscan_release_a_key_data,true	
+	disable user2
+	iforce temp
+	fetch 1,mem_kb_keys
+	sub pdata,4,null
+	nrtn positive
+	copy pdata,rega
+	arg 3,loopcnt
+	arg mem_kb_report_data,contr
+kb_kscan_check_report_data:
+	ifetch 1,contr
+	isub temp,null
+	branch kb_kscan_check_if_empty,zero
+	loop kb_kscan_check_report_data
+kb_kscan_store_a_key_data:
+	copy rega,pdata
+	arg mem_kb_report_data,contw
+	iadd contw,contw
+	istoret 1,contw
+	increase 1,pdata
+	store 1,mem_kb_keys
+ 	hfetch 1,core_kscn_event_num
+	rshift3 pdata,pdata
+	nbranch kb_kscan_check_nextevent, blank
+	branch kb_kscan_prepare_send
+
+kb_kscan_check_nextevent:
+	increase -1,pdata
+	branch kb_kscan_prepare_send,zero
+	hfetch 1,core_kscn_event_num
+	and_into 0x01,pdata
+	beq KB_KSCAN_KEY_PRESS,kb_kscan_check_if_empty                 // key pressed
+	beq KB_KSCAN_KEY_RELEASE,kb_kscan_prepare_send              // key release
+	rtn
+kb_kscan_prepare_send:	
+	enable user2
+	rtn
+	
+kb_kscan_release_a_key_data:
+	and pdata,0xff,temp
+	fetch 1,mem_kb_keys
+	rtn blank
+	iforce loopcnt
+	arg mem_kb_report_data,contr
+kb_kscan_find_same_key_data:
+	ifetch 1,contr
+	isub temp,null
+	branch kb_kscan_release_foundkey,zero
+	loop kb_kscan_find_same_key_data
+	rtn
+kb_kscan_release_foundkey:
+	add contr,-1,contw
+	call memcpy
+	fetch 1,mem_kb_keys
+	increase -1,pdata
+	store 1,mem_kb_keys
+	hfetch 1,core_kscn_event_num
+	rshift3 pdata,pdata
+	nbranch kb_kscan_check_nextevent2, blank
+	rtn
+
+kb_kscan_check_nextevent2:
+ 	hfetch 1,core_kscn_event_num
+	and_into 0x01,pdata
+	beq KB_KSCAN_KEY_PRESS,kb_kscan_prepare_send
+	beq KB_KSCAN_KEY_RELEASE,kb_kscan_check_if_empty
+	rtn
+	
+kb_kscan_read_statekey:
+	and pdata,7,queue
+	fetch 1,mem_kb_state
+	qsetflag true,pdata
+	store 1,mem_kb_state
+	rtn
+
+kb_clear_keys:
+	setarg 0
+	store 8,mem_kb_state
+	store 1,mem_kb_keys
+	rtn
+	
+kb_clean_kscan_fifo:
+	hfetch 1,core_kscn_event_num
+	hfetch 1,core_kscn_event
+	hfetch 1,core_kscn_kstat
+	bbit0 KB_KSCAN_STAT_EMPTY,kb_clean_kscan_fifo
+	setarg 0xff
+	enable user
+	rtn
+	
+le_keyboard:
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	rtnbit0 0
+	fetch 1,mem_le_switch_send_data
+	rtnbit0 0
+	call le_xtype_fifo_is_full
+	nrtn blank
+	call kb_kscan_check_if_empty
+	nrtn user
+	nrtn user2
+le_slave_keyboard_send_data:
+	call app_lpm_wake_auto_lock
+	jam 2,mem_lpm_mult
+	fetcht 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	add contr,1,contw
+	fetch 8,mem_kb_state
+	istore 8,contw
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	fetch 1,mem_le_op
+	bbit1 op_disconn,loop
+	rtn
+le_keyboard_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_LONG_PRESSED,le_keyboard_bb_event_discovery_btn
+	//beq BT_EVT_100MS_TIMER,le_keyboard_bb_event_hud_ms
+	beq BT_EVT_LE_CONNECTED,le_kb_connected
+	beq BT_EVT_LE_WRITE_REQUEST,le_kb_bb_event_write_request
+	beq BT_EVT_LE_ENC_INFO,le_kb_bb_event_enc_info
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	rtn
+le_kb_bb_event_enc_info:
+le_kb_bb_event_write_request:
+	call app_lpm_mult_enable
+	branch app_ble_start_write
+le_kb_connected:
+	call kb_clean_kscan_fifo
+	branch kb_clear_keys
+
+le_keyboard_bb_event_discovery_btn:
+	call le_clean_att_list_handle_enable
+	call app_ble_disconnect
+	call app_ble_start_adv
+	branch app_led_start_blink
+
+le_keyboard_bb_event_hud_ms:
+	fetch 1,mem_le_led_on_time
+	rtn blank
+	increase -1,pdata
+	store 1,mem_le_led_on_time
+	nrtn blank
+	fetch 1,mem_le_adv_type
+	rtn blank
+	branch app_led_off
+
+
+kb_process_idle:
+	branch kb_pairing_button_check
+
+
+kb_wakeup_check:	
+	hfetch 3,core_gpio_in
+	copy pdata,regb
+	hfetch 1,core_gpio_in+3
+	and_into 0x0f,pdata
+	lshift16 pdata,pdata
+	lshift8 pdata,pdata
+	ior regb,pdata
+	fetcht 4,mem_kb_fast_wake_last
+	isub temp,pdata
+	rtn blank
+	arg 0xbb,regb
+ 	branch app_lpm_wake_auto_lock
+
+
+kb_pairing_button_check:
+	fetch 1,mem_scan_mode// rtn when scan_mode =03 
+	nrtn blank
+	fetch 1,mem_app_handshake_flag//rtn when handshake success 
+	nrtn blank
+	fetch 1,mem_ui_button_timer// rtn when timer >3s
+	rtn blank
+	fetch 1,mem_ui_button_last_state//rtn when pairing button press
+	nrtn blank
+	branch app_enter_hibernate
+	
+kb_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_HID_CONNECTED,kb_hid_connected
+	beq BT_EVT_PINCODE_REQ,kb_process_pincode
+	beq BT_EVT_HID_CONNECTED,kb_bt_hid_handshake
+	beq BT_EVT_BUTTON_LONG_PRESSED,kb_bb_event_discovery_btn
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	beq BT_EVT_BB_CONNECTED,kb_stop_discovery
+	beq BT_EVT_BB_DISCONNECTED,kb_bb_disconnected
+//	beq BT_EVT_100MS_TIMER,kb_bb_event_100ms
+	beq BT_EVT_RECONN_FAILED,kb_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,kb_bb_event_reconn_failed
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,kb_bb_event_timer
+	rtn
+
+kb_bb_event_timer:
+	set1 mark_ext_patch,mark
+	bpatch patch37_0,mem_patch37
+	storet 1,mem_app_evt_timer_count
+kb_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+//	call app_lpm_wake_auto_lock_timer
+	call kb_check_hid_handshake_timer	
+	branch kb_bb_event_100ms_loop
+
+kb_bb_event_reconn_failed:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,kb_start_discovery
+	branch app_bb_hibernate
+
+
+kb_bb_disconnected:
+	set1 mark_ext_patch,mark
+	bpatch patch37_1,mem_patch37
+	call kb_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,kb_event_light_state_pairing
+	bbit1 APP_DISC_AFTER_RECONN,kb_event_light_state_reconn
+	branch kb_start_discovery
+kb_bb_discon_clear_stack:
+	jam 0,mem_link_key_exists
+	jam 0,mem_ltk_exists
+	rtn
+
+kb_event_light_state_pairing:
+	bbit1 APP_DISC_AFTER_HANDSHAKE,app_bb_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,app_bb_hibernate
+	branch kb_start_discovery
+kb_event_light_state_reconn:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,kb_start_discovery
+	branch app_bb_hibernate
+
+
+	
+kb_check_hid_handshake_timer:
+	fetch 1,mem_hid_handshake_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_hid_handshake_timer_count
+	nrtn blank
+	branch kb_bt_hid_handshake
+
+
+kb_bb_event_discovery_btn:
+	call kb_3_0_bb_event_discovery_btn
+	branch kb_start_discovery
+
+kb_3_0_bb_event_discovery_btn:
+	set1 mark_ext_patch,mark
+	bpatch patch37_2,mem_patch37
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BT_RECONNECT,pdata
+	call app_bt_reconnect_cancel,true
+	fetch 2,mem_discovery_timeout
+	store 2,mem_discovery_timeout_timer_count	
+	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
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	rtn
+
+	
+kb_stop_discovery:
+	call app_bt_stop_discovery
+	branch app_led_stop_blink
+
+kb_start_discovery:
+	call app_bt_start_discovery
+	branch app_led_start_blink
+	
+kb_discovery_timeout_sleep:	
+	branch app_enter_hibernate
+	
+kb_process_pincode:
+	jam 0,mem_pin_length
+	rtn
+
+
+kb_before_hibernate:
+
+kb_process_lpm_before:
+	hjam 0x00,core_gpio_key0
+	hjam 0x00,core_gpio_key1
+	hfetch 1,core_gpio_key2
+	and_into 0xf0,pdata
+	hstore 1,core_gpio_key2
+	setarg 0x00
+	store 4,mem_gpio_wakeup_high
+	setarg 0xff
+	fetcht 1,mem_ui_button_gpio
+	copy temp,queue
+	qset1 pdata
+	store 4,mem_gpio_wakeup_low
+	rtn
+
+kb_hid_connected:
+ 	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	call kb_clean_kscan_fifo
+	//fetch 1,core_kscn_ksctrl
+	//set1 5,pdata
+	//store 1,core_kscn_ksctrl
+	branch kb_clear_keys
+kb_bt_hid_handshake:
+	set1 mark_ext_patch,mark
+	bpatch patch37_3,mem_patch37
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+//	jam BT_KB_MODE_STATE,mem_mouse_mode_state
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	store 1,mem_hid_handshake_timer_count
+	branch app_bt_enter_sniff
+
+
+	
+/************************************/
+/*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:	
+	set1 mark_ext_patch,mark
+	bpatch patch22_6,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch22_7,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_0,mem_patch23
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	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_call_proc_signal:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	jam 0,mem_l2cap_pending_item
+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_device_option
+	rtneq dvc_op_hci
+	fetch 1,mem_l2cap_pending_item
+	rtn blank
+	copy pdata,rega
+	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:
+	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_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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_1,mem_patch23
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_2,mem_patch23
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_3,mem_patch23
+	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
+	copy rega,pdata
+	iadd contr,contr
+	setarg 0x0b
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	force 0x0008, pdata
+	istore 2, contw
+	force 0x0002, pdata
+	istore 2, contw
+	force 0x0000, pdata
+	istore 2, contw
+	force 0x0400,pdata
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 12,pdata
+	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
+	copy regc,pdata
+	isub rega,regc
+	copy rega,pdata
+	iadd contr,contr
+	call l2cap_get_signal_tx_payload
+	setarg 0x0b
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	force 0x0008, pdata
+	istore 2, contw
+	force 0x0002, pdata
+	istore 2, contw
+	force 0x0000, pdata
+	istore 2, contw
+	force 0x0400,pdata
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 12,pdata
+	iadd regb,regb
+	//call scheduler_start_upper_sm
+	branch l2cap_process_one_signal_rtn
+
+
+/*  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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_4,mem_patch23
+	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
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_5,mem_patch23
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_6,mem_patch23
+	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
+	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
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_7,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_0,mem_patch24
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_1,mem_patch24
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_2,mem_patch24
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,ml2cap_call_proc_signal
+	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
+
+ml2cap_call_proc_signal:
+	set1 mark_ext_patch,mark
+	bpatch patch24_3,mem_patch24
+	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
+	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
+	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
+	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
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_4,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_5,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_6,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_7,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:
+	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:
+	fetch 3,mem_tx_fifo1
+	rtn
+/*********************************************************/
+//bool fifo_is_empty(void)
+//blank == 1: empty
+//blank == 0: not empty
+/*********************************************************/
+l2cap_malloc_is_fifo_empty:
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_1,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_2,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_3,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_4,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_5,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_get_rfcomm_tx_payload:
+	fetch 2,mem_rfcomm_tx_payload_ptr
+	//fall through
+l2cap_util_pdata_to_contw:
+	branch assert,blank
+	copy pdata,contw
+	rtn
+	
+
+l2cap_lpm_save_calc_len:
+	set1 mark_ext_patch,mark
+	bpatch patch25_6,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_7,mem_patch25
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch26_0,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_param:
+	rtn wake
+	setarg param_le_scan_interval
+	store 2,mem_le_scan_interval
+	setarg param_le_scan_window
+	store 2,mem_le_scan_window
+	rtn
+
+le_init_att:
+	arg notify_handle,temp
+	call le_att_get_handle_ptr
+	add contr,1,pdata
+	store 2,mem_le_notify_attr_start
+	rtn
+
+le_init_conn:
+	set1 mark_ext_patch,mark
+	bpatch patch26_2,mem_patch26
+	disable wake
+	jam 1,mem_app_state
+	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_conn_sm
+	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
+	branch le_supervision_flush
+
+le_init_master:
+	set1 mark_ext_patch,mark
+	bpatch 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:
+	set1 mark_ext_patch,mark
+	bpatch patch26_4,mem_patch26
+	disable master
+	jam lemode_slave,mem_le_mode
+	jam 0,mem_le_adv_enable
+	jam 0,mem_lpm_current_mult
+	branch le_init_conn
+	
+
+//******************************************//
+//*************LE main process*********//
+//******************************************//
+le_dispatch:
+	call le_enable
+	call le_scan
+	call le_adv
+	branch le_disable
+
+le_conn_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch 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:
+	set1 mark_ext_patch,mark
+	bpatch 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
+	set1 mark_ext_patch,mark
+	bpatch patch26_7,mem_patch26
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	call le_acknowledge
+	call le_conn_sm_master
+	disable master
+	rtn
+	
+le_master_disconn:
+	call le_disconnect
+	disable master
+	rtn
+	
+//******************************************//
+//***********LE slave process***********//
+//******************************************//
+le_slave_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch patch27_0,mem_patch27
+	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,match
+le_slave_match:
+	set1 mark_ext_patch,mark
+	bpatch patch27_1,mem_patch27
+	call le_got_first_packet
+	call le_acknowledge
+	call le_prepare_tx
+	fetch 1,mem_le_rxbuf
+	bbit1 md,le_slave_more_data //more data to rx
+	call le_xtype_fifo_is_empty
+	nbranch le_slave_more_data,blank// more data to tx
+le_slave_transmit_last:
+	set1 mark_ext_patch,mark
+	bpatch patch27_2,mem_patch27
+	call le_transmit_norx
+le_slave_cont:
+	call check_51cmd
+	fetch 1,mem_le_op
+	bbit1 op_disconn,le_slave_disconn
+le_slave_unsync:
+	set1 mark_ext_patch,mark
+	bpatch patch27_3,mem_patch27
+	call le_savelist
+	call le_lpm_set_mult
+	call le_update_channel_map
+	call le_update_param
+	branch calc_clke_offset
+
+le_slave_more_data:
+	set1 mark_ext_patch,mark
+	bpatch patch27_4,mem_patch27
+	enable attempt
+	call le_transmit_receive_sifs
+	branch le_slave_match,match
+	branch le_slave_cont
+
+le_slave_disconn:
+
+	//fall through
+le_disconnect:
+	set1 mark_ext_patch,mark
+	bpatch patch27_5,mem_patch27
+	call le_clear_connection_info
+	call app_disconn_reason_collect_ble
+	jam BT_EVT_LE_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_clear_connection_info:
+	fetcht 1,mem_le_conn_handle
+	jam HCI_ERROR_CONNECTION_TIMEOUT,mem_hci_disconn_reason
+	call hci_send_disconn_complete
+	jam 0,mem_le_conn_handle
+	jam lemode_idle,mem_le_mode
+	jam 0,mem_le_state
+	jam 0,mem_app_state
+	rtn
+	
+le_got_first_packet:
+	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
+	setarg 0
+	store 4,mem_le_transmit_window
+	rtn
+
+
+
+
+le_enable:
+	set1 mark_ext_patch,mark
+	bpatch patch27_6,mem_patch27
+	enable le
+	hjam 7,rfen_ulp			/* enable ulp */
+	branch check_ble_disabled
+
+le_disable:
+	set1 mark_ext_patch,mark
+	bpatch patch27_7,mem_patch27
+	disable le
+	hjam 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
+	call le_setfreq
+	branch set_freq_tx
+le_setfreq:
+	set1 mark_ext_patch,mark
+	bpatch patch28_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_1,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_2,mem_patch28
+	fetch 1,mem_le_ch_mapped
+	increase 1,pdata
+	store 1,mem_le_ch_mapped
+	rtnne 40
+	jam 37,mem_le_ch_mapped
+	rtn	
+
+le_context_nexthop:
+	set1 mark_ext_patch,mark
+	bpatch patch28_3,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_4,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_5,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_6,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_7,mem_patch28
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_1,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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_2,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,2,rega
+	call rf_write_freq				/* set frequency to tx mode freq */
+	disable decode_fec0
+	branch set_sync_on
+
+le_transmit_receive_sifs:
+	set1 mark_ext_patch,mark
+	bpatch patch29_3,mem_patch29
+	call le_transmit
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5000,timeup	// about 417us
+	branch le_receive_rxon
+
+le_transmit_norx:
+	call le_transmit
+	branch end_of_packet
+	
+le_transmit:
+	set1 mark_ext_patch,mark
+	bpatch patch29_4,mem_patch29
+	call le_prep
+	call letx_setfreq
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch29_5,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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_6,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
+	branch le_send_adv_transmit
+le_send_adv_direct_ind:
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	copy rega,contw
+	setarg 1
+	istore 1,contw
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_7,mem_patch29
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_0,mem_patch2a
+	fetch 1,mem_le_scan_type
+	rtnne LE_SCAN_TYPE_ACTIVE,pdata
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_1,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
+	branch le_transmit_norx
+
+
+le_connect_request:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_2,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_conn_superto
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2a_3,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 */
+	set1 mark_ext_patch,mark
+	bpatch patch2a_4,mem_patch2a
+	fetch 2,mem_le_conn_latency			/* slave latency */
+	istore 2,contw
+	fetch 2,mem_le_conn_superto
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_5,mem_patch2a
+	disable master
+	branch le_adv_access
+	
+
+
+le_update_param:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_6,mem_patch2a
+	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
+	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
+	isub temp,rega
+	set1 mark_ext_patch,mark
+	bpatch patch2a_7,mem_patch2a
+	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
+	store 4,mem_le_anchor
+	branch le_receive_window_size
+
+le_update_channel_map:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_1,mem_patch2b
+	call le_supervision_flush
+	call le_check_wak
+	fetch 1,mem_le_rxbuf
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	/* retransmit */
+	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:
+	rtnmark1 mark_old_packet
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	branch le_parse
+	
+le_check_wak:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_2,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
+	rtnne LL_START_ENC_REQ
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn	
+	
+le_wait_adv:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_3,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:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_4,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
+	set1 mark_ext_patch,mark
+	bpatch patch2b_5,mem_patch2b
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+	call le_scan_dongle
+	call le_scan_addr_to_uart
+
+	fetch 1,mem_le_adv_rcv
+	increase 1,pdata
+	store 1,mem_le_adv_rcv
+	call le_create_conn
+	rtn master
+	call hci_send_le_adv_report_event
+	call le_send_scan_request
+	nrtn match
+	set1 mark_ext_patch,mark
+	bpatch patch2b_6,mem_patch2b
+	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
+	branch hci_send_le_adv_report_event
+	
+le_create_conn:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_7,mem_patch2b
+	fetch 1,mem_cmd_le_create_conn
+	rtnne hci_cmd_le_create_conn,pdata
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2c_0,mem_patch2c
+	jam 0,mem_hci_cmd
+	jam 0,mem_le_peer_sca
+	fetch 1,mem_device_option
+	bne dvc_op_dongle,le_create_conn_ndongle
+	jam CONN_SM_SEND_WRITE_REQ,mem_le_conn_sm
+le_create_conn_ndongle:
+	arg 0,temp//status successful
+	call hci_send_le_conn_complete
+	jam 0,mem_le_scan_enable
+	jam 0,mem_cmd_le_create_conn
+	jam XT_LL_VERSION_IND,mem_fifo_temp
+	call le_xtype_fifo_in
+	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_xtype_fifo_count:
+	arg mem_le_xtype_fifo,contr
+	branch fifo_content_count
+	
+le_xtype_fifo_is_empty:
+	arg mem_le_xtype_fifo,rega
+	branch fifo_is_empty
+	
+le_xtype_fifo_is_full:
+	arg mem_le_xtype_fifo,rega
+	branch fifo_is_full
+	
+le_xtype_fifo_is_near_full:
+	arg mem_le_xtype_fifo,rega
+	branch fifo_is_near_full
+	
+le_xtype_fifo_in:
+	arg mem_le_xtype_fifo,rega	
+	branch fifo_in
+	
+le_prepare_tx:
+	set1 mark_ext_patch,mark
+	bpatch patch2c_1,mem_patch2c
+	fetch 1,mem_le_arq
+	rtnbit1 wak
+	arg mem_le_xtype_fifo,rega
+	call fifo_out
+	nbranch le_prepare_tx_cmd,blank
+	fetch 1,mem_device_option
+	bne dvc_op_hci,le_send_empty
+	arg 0,type
+	call hci_rx_packet //check acl packet
+	copy type,pdata
+	nrtn blank
+	branch le_send_empty
+le_prepare_tx_cmd:
+	copy pdata,temp
+	set1 mark_ext_patch,mark
+	bpatch patch2c_2,mem_patch2c
+	copy temp,pdata
+	bbit0 5,le_prepare_l2cap
+	force 3,type
+	set0 5,pdata
+	store 1,mem_le_txpayload
+	set1 mark_ext_patch,mark
+	bpatch patch2c_3,mem_patch2c
+	fetch 1,mem_le_txpayload
+	beq LL_CONNECTION_UPDATE_REQ,le_send_connection_update_req
+	beq LL_CHANNEL_MAP_REQ,le_send_channel_map_req
+	beq LL_TERMINATE_IND,le_send_terminate_ind
+	beq LL_ENC_REQ,le_send_enc_req
+	beq LL_ENC_RSP,le_send_enc_rsp
+	beq LL_START_ENC_REQ,le_send_start_enc_req
+	beq LL_START_ENC_RSP,le_send_start_enc_rsp
+	beq LL_UNKNOWN_RSP,le_send_unknown_rsp
+	beq LL_FEATURE_REQ,le_send_feature
+	beq LL_FEATURE_RSP,le_send_feature
+	beq LL_PAUSE_ENC_REQ,le_send_pause_enc_req
+	beq LL_PAUSE_ENC_RSP,le_send_pause_enc_rsp
+	beq LL_VERSION_IND,le_send_version_ind
+	beq LL_REJECT_IND,le_send_reject_ind
+	beq LL_CONNECTION_PARAM_REQ,le_send_conn_param_req  //ACL PACKET
+	branch assert
+	
+le_prepare_l2cap:
+	jam 0,mem_le_txcid+1
+	force 2,type
+	bbit0 6,le_prepare_att
+	beq ATTOP_WRITE_COMMAND,le_prepare_att
+	beq ATTOP_SIGNED_WRITE_COMMAND,le_prepare_att
+	jam LE_L2CAP_CID_SMP,mem_le_txcid
+	set0 6,pdata
+	store 1,mem_le_l2cap
+le_prepare_smp:
+	set1 mark_ext_patch,mark
+	bpatch patch2c_4,mem_patch2c
+	fetch 1,mem_le_l2cap
+le_prepare_smp0:
+	beq SMP_PAIRING_REQUEST,le_send_smp_pairing_request             
+	beq SMP_PAIRING_RESPONSE,le_send_smp_pairing_response            
+	beq SMP_PAIRING_CONFIRM,le_send_smp_pairing_confirm             
+	beq SMP_PAIRING_RANDOM,le_send_smp_pairing_random              
+	beq SMP_PAIRING_FAILED,le_send_smp_pairing_failed              
+	beq SMP_ENCRYPTION_INFORMATION,le_send_smp_encryption_information      
+	beq SMP_MASTER_IDENTIFICATION,le_send_smp_master_identification       
+	beq SMP_IDENTITY_INFORMATION,le_send_smp_identity_information        
+	beq SMP_IDENTITY_ADDRESS_INFORMATION,le_send_smp_identity_address_information
+	beq SMP_SIGNING_INFORMATION,le_send_smp_signing_information         
+	beq SMP_SECURITY_REQUEST,le_send_smp_security_request            
+	branch assert
+	
+le_prepare_att:
+	jam LE_L2CAP_CID_ATT,mem_le_txcid
+	store 1,mem_le_l2cap
+	set1 mark_ext_patch,mark
+	bpatch patch2c_5,mem_patch2c
+le_prepare_att0:
+	fetch 1,mem_le_l2cap
+	beq ATTOP_ERROR_RESPONSE,le_send_att_error_response
+	beq ATTOP_EXCHANGE_MTU_REQUEST,le_send_att_exchange_mtu
+	beq ATTOP_EXCHANGE_MTU_RESPONSE,le_send_att_exchange_mtu
+	beq ATTOP_FIND_INFORMATION_REQUEST,le_send_att_find_information_request
+	beq ATTOP_FIND_INFORMATION_RESPONSE,le_send_att_find_information_response
+	beq ATTOP_FIND_BY_TYPE_VALUE_REQUEST,le_send_att_find_by_type_value_request
+	beq ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,le_send_att_find_by_type_value_response
+	beq ATTOP_READ_BY_TYPE_REQUEST,le_send_att_read_by_type_request
+	beq ATTOP_READ_BY_TYPE_RESPONSE,le_send_att_read_by_type_response
+	beq ATTOP_READ_REQUEST,le_send_att_read_request
+	beq ATTOP_READ_RESPONSE,le_send_att_read_response
+	beq ATTOP_READ_BLOB_REQUEST,le_send_att_read_blob_request
+	beq ATTOP_READ_BLOB_RESPONSE,le_send_att_read_blob_response
+	beq ATTOP_READ_MULTIPLE_REQUEST,le_send_att_read_multiple_request
+	beq ATTOP_READ_MULTIPLE_RESPONSE,le_send_att_read_multiple_response
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,le_send_att_read_by_group_type_request
+	beq ATTOP_READ_BY_GROUP_TYPE_RESPONSE,le_send_att_read_by_group_type_response
+	beq ATTOP_WRITE_REQUEST,le_send_att_write_request
+	beq ATTOP_WRITE_RESPONSE,le_send_att_write_response
+	beq ATTOP_PREPARE_WRITE_REQUEST,le_send_att_prepare_write_request
+	beq ATTOP_PREPARE_WRITE_RESPONSE,le_send_att_prepare_write_response
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_send_att_execute_write_request
+	beq ATTOP_EXECUTE_WRITE_RESPONSE,le_send_att_execute_write_response
+	beq ATTOP_HANDLE_VALUE_NOTIFICATION,le_send_att_handle_value_notification
+	beq ATTOP_HANDLE_VALUE_INDICATION,le_send_att_handle_value_indication
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_send_att_handle_value_confirmation
+	beq ATTOP_WRITE_COMMAND,le_send_att_write_command
+	beq ATTOP_SIGNED_WRITE_COMMAND,le_send_att_signed_write_command
+	beq EMPTY_LE_DATA_PRE,le_send_empty_le_data_pre
+	beq EMPTY_LE_DATA,le_send_empty_le_data
+	branch assert
+	
+le_send_empty_le_data_pre:
+	jam ATTOP_READ_BY_GROUP_TYPE_REQUEST,mem_fifo_temp
+	call le_xtype_fifo_in
+	
+le_send_empty_le_data:
+	setarg 0x0011
+	store 2,mem_le_txheader
+	fetch 1,mem_le_arq
+	set1 wak,pdata
+	store 1,mem_le_arq
+	jam ATTOP_WRITE_REQUEST,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_send_connection_update_req:
+	force 12,temp
+	branch le_send_packet
+	
+le_send_channel_map_req:
+	force 8,temp
+	branch le_send_packet
+	
+le_send_terminate_ind:
+	force 2,temp
+	branch le_send_packet
+	
+le_send_enc_req:
+	force 0,pdata
+	istore 8,contw					/* RAND=0 */
+	istore 2,contw					/* EDIV=0 */
+	copy contw,temp
+	arg mem_le_skdm,contw
+	force 8,loopcnt
+	call generate_random_loop
+	fetch 8,mem_le_skdm
+	istore 8,temp					/* SKDm */
+	copy contw,temp
+	arg mem_le_ivm,contw
+	force 4,loopcnt
+	call generate_random_loop
+	fetch 4,mem_le_ivm
+	istore 4,temp					/* IVm */
+	force 23,temp
+	branch le_send_packet
+	
+le_send_enc_rsp:
+	copy contw,temp
+	arg mem_le_skds,contw
+	force 8,loopcnt
+	call generate_random_loop
+	fetch 8,mem_le_skds
+	istore 8,temp					/* SKDs */
+	copy contw,temp
+	arg mem_le_ivs,contw
+	force 4,loopcnt
+	call generate_random_loop
+	fetch 4,mem_le_ivs
+	istore 4,temp					/* IVs */
+	call generate_sk
+	jam XT_LL_START_ENC_REQ,mem_fifo_temp
+	call le_xtype_fifo_in
+	force 13,temp
+	branch le_send_packet
+	
+le_send_start_enc_req:
+	force 1,temp
+	branch le_send_packet
+	
+le_send_start_enc_rsp:
+	force 1,temp
+	branch le_send_packet,master
+	jam XT_SMP_ENCRYPTION_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	force 1,temp
+	branch le_send_packet
+	
+le_send_unknown_rsp:
+	force 2,temp
+	branch le_send_packet
+	
+le_send_feature:
+	setarg param_le_features
+	istore 8,contw
+	force 9,temp
+	branch le_send_packet
+	
+le_send_pause_enc_req:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_pause_enc_rsp:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_version_ind:
+	setarg param_le_version
+	istore 3,contw
+	setarg param_le_subversion
+	istore 2,contw
+	force 6,temp
+	branch le_send_packet
+	
+le_send_reject_ind:
+	force 2,temp
+	branch le_send_packet
+
+le_send_conn_param_req:
+	increase -1,contw
+	setarg 0x000c
+	istore 2,contw //Length
+	setarg 0x0005
+	istore 2,contw	//CID
+	setarg 0xb412
+	istore 2,contw		
+	setarg 0x0008
+	istore 2,contw
+	setarg 0x0008
+	istore 2,contw //min interval
+	setarg 0x0010
+	istore 2,contw //max interval
+	setarg 0
+	istore 2,contw //latency
+	setarg 0x012c
+	istore 2,contw //timeout	
+	call le_send_autolen
+	force 2,type
+	branch le_send_packet
+
+le_send_smp_pairing_request:
+	setarg 0x1000401
+	store 4,mem_le_preq
+	setarg 0x070710
+	istore 3,contw
+	fetch 6,mem_le_preq+1
+	store 6,mem_le_l2cap_response
+	force 11,temp
+	branch le_send_packet
+	
+le_send_smp_pairing_response:
+	setarg param_smp_paring_response	
+	store 4,mem_le_pres
+	setarg param_smp_key_dist
+	istore 3,contw
+	fetch 6,mem_le_pres+1
+	store 6,mem_le_l2cap_response
+	force 11,temp
+	branch le_send_packet
+	
+le_send_smp_pairing_confirm:
+	call generate_confirm
+	arg mem_le_l2cap_response,contw
+	call store_aes_result
+	force 21,temp
+	branch le_send_packet
+	
+le_send_smp_pairing_random:
+	fetch 8,mem_le_mrand
+	branch le_send_smp_mrandom,master
+	fetch 8,mem_le_srand
+	
+le_send_smp_mrandom:
+	call le_send_smp_128
+	branch le_send_packet
+	
+le_send_smp_pairing_failed:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_smp_encryption_information:
+	jam BT_EVT_LE_ENC_INFO,mem_fifo_temp
+	call ui_ipc_send_event
+	jam XT_SMP_MASTER_IDENTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_my_ltk,contw
+	call generate_random
+	fetch 8,mem_le_my_ltk
+	fetch 8,mem_le_ltk
+	call le_send_smp_128
+	branch le_send_packet
+	
+le_send_smp_master_identification:
+	jam XT_SMP_IDENTITY_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_l2cap_response,contw
+	force 8,loopcnt
+	call generate_random_loop
+	force 15,temp
+	branch le_send_packet
+	
+le_send_smp_identity_information:
+	jam XT_SMP_IDENTITY_ADDRESS_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_l2cap_response,contw
+	call generate_random
+	branch le_send_autolen
+	
+le_send_smp_identity_address_information:
+	jam XT_SMP_SIGNING_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	force 0,pdata						/* address type:PUBLIC */
+	store 1,mem_le_l2cap_response
+	fetch 6,mem_le_lap
+	istore 6,contw
+	branch le_send_autolen
+	
+le_send_smp_signing_information:
+	arg mem_le_l2cap_response,contw
+	call generate_random
+	branch le_send_autolen
+	
+le_send_smp_security_request:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_smp_128:
+	store 8,mem_le_l2cap_response
+	ifetch 8,contr
+	istore 8,contw
+	force 21,temp
+	rtn
+
+le_send_att_error_response_notfound:	
+	jam ATT_ERR_ATTRIBUTE_NOT_FOUND,mem_le_err_code
+le_send_att_error_response:	
+	jam ATTOP_ERROR_RESPONSE,mem_le_l2cap
+	fetch 3,mem_le_att_opcode
+	store 3,mem_le_l2cap_response
+	fetch 1,mem_le_err_code
+	istore 1,contw
+	branch le_send_autolen
+	
+le_send_att_exchange_mtu:
+	setarg param_le_mtu
+	istore 2,contw
+	branch le_send_autolen
+	
+le_send_att_find_information_request:
+	fetch 2,mem_le_search_handle_start
+	store 2,mem_le_l2cap_response
+	fetch 2,mem_le_search_handle_end
+	istore 2,contw
+	branch le_send_autolen
+	
+	
+
+le_send_att_find_information_response:
+	force 1,pdata
+	store 1,mem_le_l2cap_response
+	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
+	disable user
+	istore 2,contw
+	ifetch 2,contr
+	istore 2,contw
+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:
+	increase 2,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_autolen
+
+	
+le_send_att_find_by_type_value_request:
+	fetch 2,mem_le_search_handle_start
+	branch le_send_empty_le_data,blank
+	store 2,mem_le_l2cap_response
+	fetch 2,mem_le_search_handle_end
+	//setarg 0xffff
+	istore 2,contw
+	fetch 2,mem_le_uuid
+	//setarg 0x2800
+	istore 2,contw
+	fetch 2,mem_le_search_att_type
+	//setarg 0x1801
+	istore 2,contw
+	branch le_send_autolen
+
+	
+le_send_att_find_by_type_value_response:
+	call le_start_end_handle_check_1
+	rtn user
+	fetcht 2,mem_le_uuid
+	setarg UUID_GATT_PRIMARY_SERVICE
+	isub temp,null
+	branch le_send_att_find_by_type_value_res_primary,zero
+	setarg UUID_GATT_SECONDARY_SERVICE
+	isub temp,null
+	branch le_send_att_error_response_notfound,zero
+	setarg UUID_GATT_INCLUDE
+	isub temp,null
+	branch le_send_att_error_response_notfound,zero
+	setarg UUID_GATT_CHARACTERISTIC
+	isub temp,null
+	branch le_send_att_error_response_notfound,zero
+	branch le_send_att_error_response_notfound
+	
+le_send_att_find_by_type_value_res_primary:
+	fetcht 2,mem_le_search_att_type
+	increase 2,contr
+	ifetch 1,contr
+	icopy regc //primary service number
+	increase 1,regc
+	
+le_send_att_find_by_type_value_res_primary_search_loop:
+         increase -1,regc
+         branch le_send_att_error_response_notfound,zero
+         ifetch 2,contr
+	isub temp,null
+	branch le_send_att_find_by_type_value_res_primary_search_end,zero
+	increase 4,contr
+	branch le_send_att_find_by_type_value_res_primary_search_loop
+	
+le_send_att_find_by_type_value_res_primary_search_end:
+	ifetch 2,contr
+	icopy rega//handle start
+	ifetch 2,contr
+	icopy regb//handle end	
+	call le_start_end_handle_check_2
+	rtn user
+	jam ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,mem_le_l2cap
+	deposit rega
+	store 2,mem_le_l2cap_response
+	deposit regb
+	istore 2,contw
+	force 9,temp
+	branch le_send_packet
+	
+
+
+
+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
+le_send_att_invalid_handle:
+	jam ATT_ERR_INVALID_HANDLE,mem_le_err_code
+	branch le_send_att_error_response
+	
+le_start_end_handle_check_2:
+	disable user
+	fetcht 2,mem_le_search_handle_start
+	deposit rega
+	isub temp,null
+	nbranch le_start_end_handle_check_2_fail,positive
+	fetch 2,mem_le_search_handle_end
+	isub regb,null
+	nbranch le_start_end_handle_check_2_fail,positive
+	deposit regb
+	isub rega,null
+	nbranch le_start_end_handle_check_2_fail,positive
+	rtn
+         
+le_start_end_handle_check_2_fail:
+	enable user
+	branch le_send_att_error_response_notfound
+
+	
+le_send_att_read_by_type_request:
+	fetch 2,mem_le_search_handle_start
+//	setarg 0x0001
+	istore 2,contw
+	fetch 2,mem_le_search_handle_end
+//	setarg 0x0018
+	istore 2,contw
+	fetch 2,mem_le_search_att_type
+	istore 2,contw
+	force 11,temp
+	branch le_send_packet
+
+	
+le_send_att_read_by_type_response:
+	fetcht 2,mem_le_search_att_type
+	setarg UUID_GATT_CHARACTERISTIC
+	isub temp,null
+	setarg 7
+	branch le_send_att_read_by_type_res_cont,zero
+	setarg UUID_GATT_PRIMARY_SERVICE
+	isub temp,null
+	setarg 6
+	branch le_send_att_read_by_type_res_cont,zero
+	branch le_send_att_error_response_notfound
+le_send_att_read_by_type_res_cont:
+	store 1,mem_le_l2cap_response
+	call le_init_attlist_search
+	force 3,alarm
+le_send_att_read_by_type_res_loop:
+	call le_att_handle_inrange
+	branch le_send_att_read_by_type_res_end,blank
+	nbranch le_send_att_read_by_type_res_next,positive
+	iforce rega
+	ifetch 2,contr
+	isub temp,null
+	nbranch le_send_att_read_by_type_res_next2,zero
+	disable user
+	deposit rega
+	istore 2,contw
+	ifetch 1,contr
+	add pdata,4,loopcnt
+	call memcpy
+	increase -1,alarm
+	branch le_send_att_read_by_type_res_end,zero
+	branch le_send_att_read_by_type_res_next2
+le_send_att_read_by_type_res_next:
+	increase 2,contr
+le_send_att_read_by_type_res_next2:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_read_by_type_res_loop
+le_send_att_read_by_type_res_end:
+	branch le_send_att_error_response_notfound,user
+	branch le_send_autolen
+
+	
+le_send_att_read_request:
+	fetch 1,mem_le_temp
+	//branch le_send_att_read_req_end,blank
+         increase -1,pdata
+         store 1,mem_le_temp
+         lshift pdata,pdata
+         //increase -2,pdata
+         iadd contr,contr
+         ifetcht 2,contr
+         storet 2,mem_le_l2cap_response
+	branch le_send_autolen
+	
+le_send_att_read_response:
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_send_att_error_response_notfound,blank
+	ifetch 1,contr
+	branch le_send_autolen,blank
+	sub pdata,22,null
+	branch le_send_att_read_response_less,positive
+	force 22,pdata
+le_send_att_read_response_less:
+	icopy loopcnt
+	call memcpy
+	branch le_send_autolen
+
+	
+le_send_att_read_blob_request:
+	setarg 0x0003
+	store 2,mem_le_l2cap_response
+	setarg 0x0008
+	istore 2,contw
+	branch le_send_autolen
+	
+le_send_att_read_blob_response:
+	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	
+	branch le_send_autolen
+	
+le_send_att_read_multiple_request:
+	setarg 0x0003
+	istore 2,contw
+	setarg 0x0007
+	istore 2,contw
+	setarg 0x0009
+	istore 2,contw
+	branch le_send_autolen
+	
+le_send_att_read_multiple_response:
+	fetch 1,mem_le_temp
+	icopy regc//handle number
+	arg mem_le_rxbuf+7,rega
+	arg mem_le_l2cap_response,regb
+	arg 0,timeup
+	disable user7
+
+le_send_att_read_multiple_response_loop:
+	copy rega,contr
+	ifetcht 2,contr
+	copy contr,rega
+	call le_att_get_handle_ptr 
+	branch le_send_att_read_multiple_response_end,blank
+	ifetch 1,contr
+	icopy loopcnt
+	iadd timeup,timeup
+	//deposit timeup
+	//store 1,0x1ff3
+	//branch loop	
+	sub timeup,24,null
+	nbranch le_send_att_read_multiple_response_end_1,positive
+	copy regb,contw
+	
+le_copy_att_value_loop_3:
+	ifetch 1,contr
+	istore 1,contw
+	loop le_copy_att_value_loop_3
+	copy contw,regb
+	enable user7
+	increase -1,regc
+	branch le_send_att_read_multiple_response_end,zero
+	branch le_send_att_read_multiple_response_loop
+
+le_send_att_read_multiple_response_end:
+	nbranch le_send_att_read_multiple_response_fail,user7
+	disable user7
+	copy timeup,temp
+	increase 5,temp
+	branch le_send_packet
+	
+le_send_att_read_multiple_response_end_1:
+	nbranch le_send_att_read_multiple_response_fail,user7
+	disable user7
+	deposit timeup
+	isub loopcnt,temp
+	increase 5,temp
+	branch le_send_packet
+	
+le_send_att_read_multiple_response_fail:
+	jam ATT_ERR_UNSUPPORTED_GROUP_TYPE,mem_le_err_code
+	branch le_send_att_error_response
+
+	
+le_send_att_read_by_group_type_request:
+	fetch 2,mem_le_att_handle
+	branch le_send_empty_le_data,blank
+	istore 2,contw
+	setarg 0xffff
+	istore 2,contw
+	setarg 0x2800
+	istore 2,contw
+	branch le_send_autolen
+
+	
+le_send_att_read_by_group_type_response:
+	setarg 0x06
+	store 1,mem_le_l2cap_response
+	fetch 2,mem_le_search_att_type
+	iforce rega
+	call le_init_attlist_search
+	force 3,loopcnt
+le_send_att_read_by_group_type_response_loop:
+	call le_att_handle_inrange
+	branch le_send_att_read_by_group_type_response_last,blank
+	nbranch le_send_att_read_by_group_type_response_next,positive
+	iforce alarm
+	ifetch 2,contr
+	isub rega,null			/* same type? */
+	nbranch le_send_att_read_by_group_type_response_cont,zero
+	deposit alarm
+	branch le_send_att_read_by_group_type_response_first,user
+	increase -1,pdata
+	istore 2,contw			/* end handle */
+	istoret 2,contw			/* type uuid */
+	increase 1,pdata
+	increase -1,loopcnt
+	branch le_send_autolen,zero
+le_send_att_read_by_group_type_response_first:
+	disable user
+	istore 2,contw			/* start handle */
+	increase 1,contr
+	ifetcht 2,contr
+	increase -3,contr
+	branch le_send_att_read_by_group_type_response_cont
+le_send_att_read_by_group_type_response_last:
+	branch le_send_att_error_response_notfound,user
+	force -1,pdata
+	istore 2,contw
+	istoret 2,contw
+	branch le_send_autolen
+le_send_att_read_by_group_type_response_next:
+	increase 2,contr
+le_send_att_read_by_group_type_response_cont:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_read_by_group_type_response_loop
+	
+
+	
+le_send_att_write_request:
+	fetch 2,mem_le_notify_handle
+	store 2,mem_le_l2cap_response
+	fetch 1,mem_le_handle_data_len
+	copy pdata,loopcnt
+	arg mem_le_handle_data,contr
+	call memcpy
+	branch le_send_autolen
+	
+le_send_att_write_response:
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_send_att_write_response_go,blank
+	increase -2,contr
+	ifetcht 2,contr
+	setarg UUID_CLIENT_CHARACTERISTIC
+	isub temp,null
+	nbranch le_send_att_write_response_go,zero
+	increase 1,contr
+	ifetcht 2,contr
+	setarg 0x0001
+	isub temp,null
+	branch le_send_att_write_response_notify,zero
+	setarg 0x0000
+	isub temp,null
+	nbranch le_send_att_write_response_go,zero
+	branch le_send_att_write_response_go
+	
+le_send_att_write_response_notify:
+	increase -7,contr
+	ifetch 2,contr
+	increase -1,pdata
+	store 2,mem_le_notify_handle	
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+//	jam	CONN_SM_NOTIFY,mem_le_conn_sm
+
+le_send_att_write_response_go:
+	force 5,temp
+	branch le_send_packet
+
+le_send_att_prepare_write_request:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_prepare_write_response:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_execute_write_request:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_execute_write_response:
+	force 6,temp
+	branch le_send_packet
+
+le_att_check_notification_enable: // temp ->handle,output-> pdata,output :contr->rega
+	set1 mark_ext_patch,mark
+	bpatch patch2c_6,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_att_handle_value_notification:
+	jam 0,mem_le_notify_len
+	fetch 2,mem_cb_update_notify_value
+	call callback_func
+	arg mem_le_l2cap,contw
+	increase 1,contw
+	fetcht 2,mem_le_notify_handle
+	istoret 2,contw
+	call le_att_get_handle_ptr 
+	ifetch 1,contr
+	icopy loopcnt
+	call memcpy
+	fetcht 1,mem_le_notify_len
+	increase 7,temp
+	call le_send_packet
+	branch le_clear_notify_att
+
+le_send_att_handle_value_indication:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_handle_value_confirmation:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_write_command:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_signed_write_command:
+	force 6,temp
+	branch le_send_packet
+
+
+le_send_autolen:
+	set1 mark_ext_patch,mark
+	bpatch patch2c_7,mem_patch2c
+	setarg mem_le_txpayload
+	isub contw,pdata
+	sub pdata,0,temp
+	branch le_send_packet
+
+
+le_send_empty:
+	force 0,temp
+	force 1,type
+	
+le_send_packet:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_0,mem_patch2d
+	storet 1,mem_le_txlen
+	compare 2,type,3
+	nbranch le_send_non_l2cap,true
+	add temp,-4,pdata
+	store 2,mem_le_txpayload
+	
+le_send_non_l2cap:
+	fetcht 1,mem_le_arq
+	call le_xtype_fifo_is_empty
+	nsetflag blank,md,temp
+	set1 wak,temp
+	and temp,0xfc,pdata
+	ior type,pdata
+	store 1,mem_le_arq
+	and_into 0x1f,pdata
+	store 1,mem_le_txheader
+	set1 mark_ext_patch,mark
+	bpatch patch2d_1,mem_patch2d
+	fetch 1,mem_le_txheader
+	compare 1,type,3
+	rtn true
+	fetch 7,mem_le_txheader+1
+	fetch 1,mem_le_state
+	rtnbit0 lestate_encryption
+	call load_sk
+	branch le_encrypt
+	
+le_parse:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_2,mem_patch2d
+	call le_xtype_fifo_is_full
+	nbranch assert,blank
+	nrtn blank // xtype fifo full
+	fetch 1,mem_le_rxbuf+1
+	rtn blank
+	fetch 1,mem_le_rxbuf
+	compare 1,pdata,3
+	branch le_parse_l2cap,true //ACL-U continue or empty packet
+	fetch 7,mem_le_rxbuf+1
+	fetch 1,mem_le_rxbuf
+	compare 2,pdata,3
+	branch le_parse_l2cap,true
+	fetch 1,mem_le_rxbuf+2
+	store 1,mem_le_rx_ll_opcode
+	copy pdata,regc
+	set1 mark_ext_patch,mark
+	bpatch patch2d_3,mem_patch2d
+	copy regc,pdata
+	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
+	branch assert
+	
+le_parse_l2cap:
+	fetch 1,mem_le_rxbuf+1
+	and pdata,0x1f,pdata //get length
+	rtn blank//empty packet
+	fetch 1,mem_device_option
+	beq dvc_op_hci,le_acl_upgoing
+	fetch 2,mem_le_rxbuf+4//CID
+	beq LE_L2CAP_CID_ATT,le_parse_att
+	beq LE_L2CAP_CID_SMP,le_parse_smp
+	rtn
+
+le_acl_upgoing: //upgoing ACL, from air to host
+	set1 mark_ext_patch,mark
+	bpatch patch2d_4,mem_patch2d
+	call hci_get_packet_ptr
+	fetch 1,mem_le_conn_handle
+	fetcht 1,mem_le_rxbuf//LLID low 2 bits
+	and_into 3,temp
+	lshift8 temp,temp
+	lshift4 temp,temp
+	ior temp,pdata
+	istore 2,contwu
+	fetcht 1,mem_le_rxbuf+1
+	and temp,0x1f,temp
+	istoret 2,contwu //length
+	copy temp,loopcnt
+	call uart_copy_tx_bytes
+	add temp,4,loopcnt
+	call h4_send_packet_acl
+	branch h4_send_acl_trigger
+
+le_acl_downgoing: //downgoing ACL, from host to air
+	set1 mark_ext_patch,mark
+	bpatch patch2d_5,mem_patch2d
+	arg 0x2,type
+	ifetch 2,contru
+	ifetch 2,contru //length
+	branch assert,blank
+	copy pdata,loopcnt
+	arg mem_le_txpayload,contw
+	call uart_copy_rx_bytes	
+	branch le_send_autolen
+	
+le_parse_smp:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_6,mem_patch2d
+	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
+	branch assert
+	
+le_parse_att:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_7,mem_patch2d
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+le_parse_att_p:
+	beq ATTOP_ERROR_RESPONSE,le_parse_att_error_response
+	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_INFORMATION_RESPONSE,le_parse_att_find_information_response
+	beq ATTOP_FIND_BY_TYPE_VALUE_REQUEST,le_parse_att_find_by_type_value_request
+	beq ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,le_parse_att_find_by_type_value_response
+	beq ATTOP_READ_BY_TYPE_REQUEST,le_parse_att_read_by_type_request
+	beq ATTOP_READ_BY_TYPE_RESPONSE,le_parse_att_read_by_type_response
+	beq ATTOP_READ_REQUEST,le_parse_att_read_request
+	beq ATTOP_READ_RESPONSE,le_parse_att_read_response
+	beq ATTOP_READ_BLOB_REQUEST,le_parse_att_read_blob_request
+	beq ATTOP_READ_BLOB_RESPONSE,le_parse_att_read_blob_response
+	beq ATTOP_READ_MULTIPLE_REQUEST,le_parse_att_read_multiple_request
+	beq ATTOP_READ_MULTIPLE_RESPONSE,le_parse_att_read_multiple_response
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,le_parse_att_read_by_group_type_request
+	beq ATTOP_READ_BY_GROUP_TYPE_RESPONSE,le_parse_att_read_by_group_type_response
+	beq ATTOP_WRITE_REQUEST,le_parse_att_write_request
+	beq ATTOP_WRITE_RESPONSE,le_parse_att_write_response
+	beq ATTOP_PREPARE_WRITE_REQUEST,le_parse_att_prepare_write_request
+	beq ATTOP_PREPARE_WRITE_RESPONSE,le_parse_att_prepare_write_response
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_parse_att_execute_write_request
+	beq ATTOP_EXECUTE_WRITE_RESPONSE,le_parse_att_execute_write_response
+	beq ATTOP_HANDLE_VALUE_NOTIFICATION,le_parse_att_handle_value_notification
+	beq ATTOP_HANDLE_VALUE_INDICATION,le_parse_att_handle_value_indication
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_parse_att_handle_value_confirmation
+	beq ATTOP_WRITE_COMMAND,le_parse_att_write_command
+	beq ATTOP_SIGNED_WRITE_COMMAND,le_parse_att_signed_write_command
+	branch assert
+
+
+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
+	fetch 1,mem_le_state
+	set1 lestate_update_map,pdata
+	store 1,mem_le_state
+	rtn
+	
+le_parse_terminate_ind:
+	fetch 1,mem_le_op
+	set1 op_disconn,pdata
+	store 1,mem_le_op
+	rtn
+	
+le_parse_enc_req:
+	increase 10,contr
+	ifetch 8,contr
+	store 8,mem_le_skdm
+	ifetch 4,contr
+	store 4,mem_le_ivm
+	jam XT_LL_ENC_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+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
+	jam XT_LL_START_ENC_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_start_enc_rsp:
+	rtn master
+	jam XT_LL_START_ENC_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_unknown_rsp:
+	rtn
+	
+le_parse_feature_req:
+	jam XT_LL_FEATURE_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_feature_rsp:
+	rtn
+	
+le_parse_pause_enc_req:
+	rtn
+	
+le_parse_pause_enc_rsp:
+	rtn
+	
+le_parse_version_ind:
+	rtn master
+	jam XT_LL_VERSION_IND,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_reject_ind:
+	rtn
+
+
+le_parse_smp_pairing_request:
+	store 1,mem_le_preq
+	ifetch 6,contr
+	istore 6,contw
+	jam XT_SMP_PAIRING_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_response:
+	store 1,mem_le_pres
+	ifetch 6,contr
+	istore 6,contw
+	jam XT_SMP_PAIRING_CONFIRM,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_confirm:
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	jam XT_SMP_PAIRING_RANDOM,mem_fifo_temp
+	branch  le_xtype_fifo_in,master
+	jam XT_SMP_PAIRING_CONFIRM,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_random:
+	call authenticate_rconfirm
+	branch le_parse_smp_pairing_random_success,zero
+	jam XT_SMP_PAIRING_FAILED,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_random_success:
+	call generate_stk
+	jam XT_LL_ENC_REQ,mem_fifo_temp
+	branch le_xtype_fifo_in,master
+	jam XT_SMP_PAIRING_RANDOM,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_failed:
+	rtn
+	
+le_parse_smp_encryption_information:
+	arg mem_le_peer_ltk,contw
+	branch memcpy16
+	
+le_parse_smp_master_identification:
+	rtn
+	
+le_parse_smp_identity_information:
+	rtn
+	
+le_parse_smp_identity_address_information:
+	rtn
+	
+le_parse_smp_signing_information:
+	rtn
+	
+le_parse_smp_security_request:
+	rtn
+
+le_parse_att_error_response:
+	increase -2,contr
+	ifetcht 1,contr
+	setarg ATTOP_FIND_BY_TYPE_VALUE_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_find_by_type_value,zero
+	setarg ATTOP_FIND_INFORMATION_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_find_info,zero
+	setarg ATTOP_READ_BY_TYPE_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_read_by_type,zero
+	setarg ATTOP_READ_BLOB_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_read_blob,zero
+	setarg ATTOP_READ_MULTIPLE_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_read_multiple,zero
+	rtn
+	
+le_parse_att_error_res_find_by_type_value:
+	rtn
+	
+le_parse_att_error_res_find_info:
+	rtn
+	
+le_parse_att_error_res_read_by_type:
+	rtn
+	
+le_parse_att_error_res_read_blob:
+	rtn
+	
+le_parse_att_error_res_read_multiple:
+	rtn
+
+	
+le_parse_att_exchange_mtu_request:
+	jam ATTOP_EXCHANGE_MTU_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_exchange_mtu_response:
+	rtn
+	
+le_parse_att_find_information_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	jam ATTOP_FIND_INFORMATION_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_find_information_response:
+	rtn
+	
+le_parse_att_find_info_res_multi:
+	rtn
+	
+le_parse_att_find_info_res_error:
+	rtn
+	
+le_parse_att_find_by_type_value_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	ifetch 2,contr
+	store 2,mem_le_uuid//type
+	ifetch 2,contr
+	store 2,mem_le_search_att_type//value
+	jam ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+
+	
+le_parse_att_find_by_type_value_response:
+	rtn
+	
+le_parse_att_read_by_type_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	ifetch 2,contr
+	store 2,mem_le_search_att_type
+	jam ATTOP_READ_BY_TYPE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_by_type_response:
+	rtn
+	
+le_parse_att_read_request:
+	fetch 2,mem_le_rxbuf+7
+	store 2,mem_le_att_handle
+	jam ATTOP_READ_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_response:
+	rtn
+	
+le_send_att_read_res_end:
+	rtn
+	
+le_prepare_descriptor:
+	rtn
+
+	
+le_parse_att_read_blob_request:
+	ifetch 2,contr
+	store 2,mem_le_att_offset
+	jam ATTOP_READ_BLOB_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_blob_response: 
+	rtn
+	
+le_parse_att_read_multiple_request:
+	fetch 1,mem_le_rxbuf+1
+	increase -5,pdata
+	rshift pdata,pdata
+	store 1,mem_le_temp
+	jam ATTOP_READ_MULTIPLE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_multiple_response:
+	rtn
+	
+le_parse_att_read_by_group_type_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	ifetch 2,contr
+	store 2,mem_le_search_att_type
+	jam ATTOP_READ_BY_GROUP_TYPE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_by_group_type_response:
+	rtn
+	
+le_parse_att_write_request:
+	fetch 1,mem_le_rxbuf+1
+	increase -7,pdata
+	icopy loopcnt
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_parse_att_write_request_fail,blank
+	ifetch 1,contr
+	isub loopcnt,null
+	nbranch le_parse_att_write_request_fail,positive
+	copy contr,contw
+
+	arg mem_le_rxbuf+9,contr
+	call memcpy
+	jam BT_EVT_LE_WRITE_REQUEST,mem_fifo_temp
+	call ui_ipc_send_event
+le_parse_att_write_request_fail:
+	jam ATTOP_WRITE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_write_response:
+	fetch 1,mem_le_conn_sm
+	rtn
+	
+le_parse_att_prepare_write_request:
+	rtn
+	
+le_parse_att_prepare_write_response:
+	rtn
+	
+le_parse_att_execute_write_request:
+	rtn
+	
+le_parse_att_execute_write_response:
+	rtn
+	
+le_parse_att_handle_value_notification:
+	//copy contr,rega
+	//fetcht 6,mem_le_plap
+	//fetch 6,mem_le_addr_slave1
+	//isub temp,null
+	//branch le_kb_handle_value_notification,zero
+	//copy rega,contr
+	ifetch 5,contr
+	store 5,mem_mouse_data
+	jam SEND_MOUSE_DATA_CMD,mem_mcmd
+	//jam 3,0x4905
+	call usb_isr
+	rtn
+le_kb_handle_value_notification:
+	copy rega,contr
+	ifetch 8,contr
+	store 8,mem_mouse_data
+	jam SEND_KB_DATA_CMD,mem_mcmd
+	call usb_isr
+	rtn
+	
+le_parse_att_handle_value_indication:
+	rtn
+	
+le_parse_att_handle_value_confirmation:
+	rtn
+	
+le_parse_att_write_command:
+	fetch 1,mem_le_rxbuf+1
+	increase -7,pdata
+	icopy loopcnt
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_parse_att_write_command_fail,blank
+	ifetch 1,contr
+	isub loopcnt,null
+	nbranch le_parse_att_write_command_fail,positive
+	copy contr,contw
+	copy contr,rega
+	copy loopcnt,regb
+	arg mem_le_rxbuf+9,contr
+	call memcpy
+	jam PRCP_LE,mem_prcp
+	call le_writeatt_cb
+le_parse_att_write_command_fail:
+	rtn
+
+	/* rega pointers to data, regb is length */
+le_writeatt_cb:
+	fetch 2,mem_cb_att_write
+	rtn blank
+	iforce pc
+
+
+le_parse_att_signed_write_command:
+	rtn
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch2e_0,mem_patch2e
+	fetch 1,mem_le_adv_enable
+	rtn blank
+	arg le_adv_interval_timer,queue
+	call timer_check
+	nrtn blank
+	disable master
+	enable swfine
+	call le_init_adv
+	call le_next_adv_channel
+	call le_send_adv_ind
+	nbranch le_adv_not_match,match
+	set1 mark_ext_patch,mark
+	bpatch patch2e_1,mem_patch2e
+	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,parse_connect_req
+le_adv_not_match:
+	nop 10000
+	fetch 1,mem_le_ch_mapped
+	bne 39,le_adv
+	call le_ledoff
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval_max
+	branch timer_init
+	
+
+le_receive_window_size:
+	set1 mark_ext_patch,mark
+	bpatch patch2e_2,mem_patch2e
+	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
+	store 4,mem_le_transmit_window
+	set1 mark_ext_patch,mark
+	bpatch patch2e_3,mem_patch2e
+	fetch 2,mem_rx_window_sniff
+	call wait_div_end
+	quotient temp
+	iadd temp,pdata
+	store 2,mem_le_receive_window
+	rtn
+
+parse_connect_req:
+	set1 mark_ext_patch,mark
+	bpatch patch2e_4,mem_patch2e
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2e_5,mem_patch2e
+	increase 6,contr
+	ifetch 8,contr
+	store 8,mem_le_access 	// and crcinit & window size
+	ifetcht 2,contr				// transmit offset
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2e_6,mem_patch2e
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2e_7,mem_patch2e
+	arg 0,temp//status successful
+	call hci_send_le_conn_complete
+	call calc_clke_offset
+	jam BT_EVT_LE_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+//	call app_get_lpm_wake_lock
+	branch context_save
+	
+
+le_init_attlist_search:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_0,mem_patch2f
+	fetch 2,mem_le_search_handle_start
+	iforce regb
+	fetch 2,mem_le_search_handle_end
+	iforce regc
+	arg mem_le_att_list,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:
+	arg mem_le_att_list,contr
+le_att_get_handle_loop:
+	ifetch 2,contr
+	rtn blank
+	increase 2,contr
+	isub temp,null
+	rtn zero
+	ifetch 1,contr			/* length */
+	iadd contr,contr
+	branch le_att_get_handle_loop
+	
+le_data_send_write_req:
+	jam 0x2,mem_le_handle_data_len
+	setarg 0x0001
+	store 2,mem_le_handle_data
+	jam CONN_SM_WAIT_WRITE_RES,mem_le_conn_sm
+	jam ATTOP_WRITE_REQUEST,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_data_wait_write_res:
+	rtn
+le_data_wait_write_res1:
+	rtn
+le_conn_sm_master:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_1,mem_patch2f
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_le_conn_sm
+	beq CONN_SM_SEND_WRITE_REQ,le_data_send_write_req
+	beq CONN_SM_WAIT_WRITE_RES,le_data_wait_write_res
+	beq CONN_SM_WAIT_WRITE_RES1,le_data_wait_write_res1
+	rtn
+
+le_ukey_init:
+	setarg le_ukey
+	store 2,mem_cb_le_process
+	hjam uart_ctrl_normal,core_uart_ctrl
+	setarg uart_baud_115200
+	hstore uart_baud_len,core_uart_baud
+	hjam uartclk_dpll,core_uart_clksel
+	hjam 0x4,core_gpio_sel1
+	setarg le_ukey_wcb
+	store 2,mem_cb_att_write
+	call le_init_att
+	rtn wake
+	branch eeprom_load_reconn_info
+	
+	
+le_ukey:
+	fetch 1,mem_le_mode
+	compare lemode_slave,pdata,0xff
+	setarg 5
+	call set_pwm_steadyon,true
+	ncall set_pwm_blink,true
+	call uartd_prepare_rx
+	branch le_ukey_senddata,blank
+	fetch 2,mem_le_notify_attr_start
+	iforce contw
+	sub loopcnt,20,null
+	branch le_ukey_loop,positive
+	force 20,loopcnt
+le_ukey_loop:
+	ifetch 1,contru
+	istore 1,contw
+	loop le_ukey_loop
+	call uartd_rxdone
+le_ukey_senddata:
+	jam notify_handle,mem_le_notify_handle
+	fetcht 2,mem_le_notify_attr_start
+	ifetch 1,temp
+	rtn blank
+	call le_xtype_fifo_is_full
+	nrtn blank
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp 
+	branch le_xtype_fifo_in
+
+le_ukey_wcb:
+	copy regb,temp
+	call uartd_prepare_tx
+	copy rega,contr
+	copy regb,loopcnt
+le_writeatt_cb_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop le_writeatt_cb_loop
+	branch uartd_send
+
+le_clear_notify_att:
+	fetch 1,mem_device_option
+	rtnne dvc_op_ukey
+	fetch 2,mem_le_notify_handle
+	rtnne notify_handle
+	fetcht 2,mem_le_notify_attr_start
+	setarg 0
+	istore 9,temp
+	istore 9,contw
+	istore 2,contw
+	rtn
+
+
+le_ledoff:
+	fetcht 1,mem_le_adv_led
+	setflip gpio_active_bit,temp
+	branch gpio_out
+
+	
+le_modified_name:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_2,mem_patch2f
+	call le_modified_name_att_list
+	branch le_modified_name_adv
+
+le_modified_name_att_list:
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	call le_att_get_uuid_ptr
+	increase 1,contr
+	copy contr,contw
+	arg mem_le_name,contr
+	call memcpy
+	fetch 1,mem_le_name_len
+	sub pdata,MAX_NAME_LEN,loopcnt
+	copy loopcnt,temp
+	copy loopcnt,pdata
+	ncall memcpy_empty,blank	
+	rtn
+
+le_modified_name_adv:	
+	fetch 1,mem_le_adv_data_len
+	fetcht 1,mem_le_adv_data
+	isub temp,pdata
+	copy pdata,loopcnt
+	copy pdata,rega
+	fetch 1,mem_le_adv_data
+	increase 1,pdata
+	arg mem_le_adv_data,contr
+	iadd contr,contr
+	arg mem_le_adv_temp,contw
+	call memcpy
+	set1 mark_ext_patch,mark
+	bpatch patch2f_3,mem_patch2f
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	increase 1,pdata
+	store 1,mem_le_adv_data
+	arg mem_le_adv_data+2,contw
+	arg mem_le_name,contr
+	call memcpy
+	copy rega,loopcnt
+	arg mem_le_adv_temp,contr
+	call memcpy
+	fetch 1,mem_le_adv_data
+	iadd rega,pdata
+	store 1,mem_le_adv_data_len
+	rtn
+
+
+le_get_device_name:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_4,mem_patch2f
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	branch le_att_get_uuid_ptr
+
+	// temp is uuid to search
+le_att_get_uuid_ptr:
+	arg mem_le_att_list,contr
+le_att_get_uuid_loop:
+	ifetch 2,contr			// handle
+	branch assert,blank
+	ifetch 2,contr			// uuid
+	isub temp,null
+	rtn zero
+	ifetch 1,contr			// length 
+	iadd contr,contr
+	branch le_att_get_uuid_loop
+
+	
+memcpy_empty:
+	setarg SPACE
+	istore 1,contw
+	loop memcpy_empty
+	rtn
+
+
+le_lpm_set_mult:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_5,mem_patch2f
+	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
+	fetch 1,mem_le_rxbuf
+	compare 1,pdata,3
+	nbranch lpm_mult_short,true		// rx not empty, short interval
+	fetch 1,mem_le_txheader
+	compare 1,pdata,3
+	nbranch lpm_mult_short,true		// tx not empty, short interval
+	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
+
+le_clean_att_list_handle_enable:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_6,mem_patch2f
+	jam 0,mem_le_switch_send_data
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	copy rega,contw
+	setarg 0
+	istore 1,contw
+	rtn
+le_scan_addr_to_uart:
+	fetch 1,mem_device_option
+	rtnne dvc_op_module 
+	call get_uart_twptr
+	arg mem_le_plap,rega
+	call adss_hex2string_to_uart
+	setarg 0x2c
+	istore 1,contwu
+	call at_rssi_result
+	branch uartd_send
+	
+//input:regb  prcp_tx_len
+prcp_le_tx:
+	arg PRCP_TX_LE,temp
+	call le_att_check_notification_enable
+	rtnbit0 0
+	call le_xtype_fifo_is_full
+	nrtn blank
+	arg PRCP_TX_LE,temp
+	storet 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	branch assert,blank
+	add contr,1,contw
+	arg PRCP_TX_DATA_LEN,loopcnt
+	arg mem_prcp_data,contr
+	call memcpy
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	branch le_xtype_fifo_in
+prcp_tx:
+	rtn
+
+	/* rega = ad type to search, return zero when found */
+le_search_adtype:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_7,mem_patch2f
+	fetch 1,mem_le_rxbuf + 1
+	arg mem_le_rxbuf + 8,contr
+	iadd contr,loopcnt
+le_search_adtype_loop:
+	ifetcht 1,contr
+	ifetch 1,contr
+	isub rega,null
+	rtn zero
+	add temp,-1,pdata
+	iadd contr,contr
+	deposit loopcnt
+	isub contr,null
+	branch le_search_adtype_loop,positive
+	force 1,null
+	rtn
+	
+
+	
+/******************************************/
+/*************   LMP Parse   **************/
+/******************************************/
+init_lmp:
+	rtn wake
+init_lmp_work:
+	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:	
+	set1 mark_ext_patch,mark
+	bpatch patch3c_0,mem_patch3c
+	jam 0,mem_pairing_auth
+	jam 0,mem_sp_localsm
+	jam 0,mem_lmp_conn_state
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci,pdata
+	jam 0,mem_link_key_exists
+	//fall through
+parse_rx_done:
+	rtn
+
+parse_lmp:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_1,mem_patch3c
+	call setlocalsm_master,master	//use this flag in hci
+	ncall setlocalsm_slave,master
+	fetch 1,mem_lmo_opcode2
+	ncall lmo_fifo_process,blank
+	fetch 1,mem_lmo_opcode2
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch3c_2,mem_patch3c
+  	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_REMOVE_SCO_LINK_REQ, parse_lmp_remove_sco_link_req
+	beq LMP_SCO_LINK_REQ, parse_lmp_sco_link_req
+	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:
+	fetch 1,mem_rxbuf+1
+	set1 7,pdata
+	store 1,mem_lmi_opcode2
+	beq LMP_EXT_ACCEPTED,parse_lmpext_accepted
+	beq LMP_NOT_ACCEPTED_EXT,parse_lmpext_not_accepted
+	beq LMP_SNIFF_SUBRATING_REQ, parse_lmp_sniff_subrating_req
+	beq LMP_SNIFF_SUBRATING_RES, parse_lmp_sniff_subrating_res
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_packet_type_table_req
+	beq LMP_EXT_FEATURES_REQ,parse_lmpext_features_req
+	beq LMP_EXT_FEATURES_RES,parse_lmpext_features_res
+	beq LMP_EXT_CHN_CLASSIFICATION_REQ,parse_lmpext_chn_classification_req
+	beq LMP_PAUSE_ENCRYPTION_REQ,parse_lmpext_pause_encrypt
+	beq LMP_RESUME_ENCRYPTION_REQ,parse_lmpext_resume_encrypt
+	beq LMP_IO_CAP_REQ,parse_lmpext_iocap_req
+	beq LMP_IO_CAP_RES,parse_lmpext_iocap_res
+	beq LMP_EXT_REMOVE_ESCO_REQ,parse_lmpext_remove_esco_req
+	beq LMP_EXT_ESCO_LINK_REQ,parse_lmpext_esco_link_req
+	rtneq LMP_EXT_FEATURES_RES
+
+
+reject_unknown_ext_packet:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam UNKNOWN_LMP_PDU,mem_lmo_reason2
+	
+	rtn
+parse_lmpext_chn_classification_req:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam NOT_SUPPORT_CHN_CLASSIFICATION,mem_lmo_reason2
+	rtn
+	
+parse_lmpext_esco_link_req:	
+	fetch 1,mem_rxbuf+2
+	store 1,mem_sco_handle
+	fetch 1,mem_rxbuf+3
+	store 1,mem_esco_addr
+	fetch 1,mem_rxbuf+5
+	store 1,mem_esco_desco
+	fetch 1,mem_rxbuf+9
+	store 1,mem_esco_type
+	fetch 1,mem_rxbuf+14
+	store 1,mem_air_mode
+	bmark1 mark_esco,check_esco_prarm
+	set1 mark_esco,mark
+	call push_tid_follow
+	store 1,mem_accptsco_tid
+	force 0,temp
+	branch hci_send_conn_req_event
+
+parse_lmpext_esco_link_req_change_param:
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmo_opcode2
+	jam prarm_neogotiation,mem_neogotiation_state
+	branch cmd_exit
+
+check_esco_prarm:
+	fetch 1,mem_esco_type
+	bne type_hv3,reject_esco_prarm	
+	jam LMP_EXT_ACCEPTED,mem_lmo_opcode2
+	branch esco_prarm_common
+reject_esco_prarm:
+	set0 mark_esco,mark
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	force HCI_ERROR_UNKNOWN_HCI_COMMAND,temp //sco fail
+	call hci_send_sco_complete
+esco_prarm_common:
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmi_opcode2
+	rtn
+
+	
+parse_lmpext_remove_esco_req:
+	jam LMP_EXT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_EXT_REMOVE_ESCO_REQ,mem_lmi_opcode2
+	branch stop_esco
+	
+parse_lmpext_iocap_req:
+	call iocap_lmpext_load
+	fetch 1,mem_device_option
+	beq dvc_op_hci,iocap_lmpext_hci
+	jam LMP_IO_CAP_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmpext_iocap_res:
+	call iocap_lmpext_load
+	fetch 1,mem_device_option
+	beq dvc_op_hci,iocap_lmpext_hci
+	branch iocap_lmpext_common
+	
+iocap_lmpext_load:
+	arg      mem_sp_iocap_remote,contw
+	fetch 3, mem_rxbuf+2
+	istore    3,contw
+	rtn
+	
+iocap_lmpext_hci:
+	call hci_send_io_cap_response_event
+iocap_lmpext_common:
+	call check_localsm
+	ncall hci_send_io_cap_req_event,true
+	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
+	beq LMP_EXT_ESCO_LINK_REQ,play_sco
+	beq LMP_EXT_REMOVE_ESCO_REQ,parse_lmpext_stop_esco
+	rtn
+
+parse_lmpext_stop_esco:
+	branch stop_esco
+	
+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
+	beq LMP_EXT_ESCO_LINK_REQ,parse_lmpext_not_accepted_esco
+	rtn
+
+parse_lmpext_not_accepted_esco:
+	set0 mark_esco,mark
+	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
+	nbranch hci_send_linkkey_req,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
+	call hci_send_remote_ext_features_event
+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:
+	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_SCO_LINK_REQ,play_sco
+//	beq LMP_REMOVE_SCO_LINK_REQ,stop_sco
+	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:
+	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_SCO_LINK_REQ,parse_lmp_not_accepted_sco_link_req//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
+	force HCI_ERROR_HOST_TIMEOUT,temp
+	call hci_send_connection_error
+	/* clearing connection state machine */
+	jam CONN_SM_STANDBY,mem_conn_sm
+	/* sending error message to host */
+	branch parse_rx_done,true
+	rtn
+	
+parse_lmp_not_accepted_sco_link_req:
+	jam LMP_SCO_LINK_REQ,mem_lmo_opcode2
+	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:
+	fetch 1,mem_device_option
+	bne dvc_op_hci,parse_lmp_not_accepted_aurand_send_detach
+	fetch 1,mem_link_key_exists
+	rtn blank
+	fetcht 1,mem_conn_sm
+	jam 0,mem_conn_sm
+	jam 0,mem_link_key_exists
+	fetch 1,mem_rxbuf+2
+	rtnne KEY_MISSING
+	storet 1,mem_conn_sm
+	jam LOCAL_STATEMACHINE,mem_sp_localsm
+	fetch 2,mem_lmpext_ssp_enable
+	fetcht 1,mem_remote_sppcap
+	iand temp,pdata
+	branch cmd_pair,blank
+	branch cmd_ssp
+	
+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
+	call sniff_exit
+	force 0,temp
+	branch hci_send_mode_change
+	
+parse_lmp_accepted_sniff_req:
+	jam BT_EVT_SNIFF_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	force 0x02,temp
+	call hci_send_mode_change
+	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
+	fetch 1,mem_device_option
+	beq dvc_op_hci,parse_lmp_in_rand_hci	
+	jam BT_EVT_PINCODE_REQ,mem_fifo_temp
+	call ui_ipc_send_event
+parse_lmp_in_rand_hci:
+	call hci_send_pincode_req
+	call tid_check
+	nbranch lmp_accept_inrand,true
+	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:
+	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
+	fetch 1,mem_device_option
+	bne dvc_op_hci,reject_lmp_packet
+	fetch 1,mem_auth_enable
+	nbranch reject_lmp_packet,blank
+	jam 0,mem_lmo_opcode2
+parse_lmp_inrand_sres:
+	fetch 1,mem_op
+	set1 op_send_sres,pdata
+	store 1,mem_op
+	branch hci_send_linkkey_req
+	
+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 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
+	call hci_send_auth_complete,true
+	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
+	//force HCI_SUCCESS,queue
+	//branch hci_send_name
+	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:
+	fetch 1,mem_device_option
+	bne dvc_op_hci,accept_lmp_msg
+	force 1,temp
+	branch hci_send_conn_req_event	
+	
+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:
+	rtn
+
+parse_lmp_max_power:
+	rtn
+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_preferred_rate:
+	rtn
+parse_lmp_remove_sco_link_req:
+	call stop_sco
+	jam LMP_REMOVE_SCO_LINK_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg
+
+
+parse_lmp_sco_link_req:
+	fetch 1,mem_rxbuf+1
+	store 1,mem_sco_handle
+	fetch 1,mem_rxbuf+3
+	store 1,mem_esco_desco
+	fetch 1,mem_rxbuf+6
+	store 1,mem_air_mode
+	call push_tid_follow
+	store 1,mem_accptsco_tid
+	force 0,temp
+	branch hci_send_conn_req_event
+	
+parse_lmp_slot_offset:
+	fetch 2,mem_rxbuf+1
+	store 2,mem_slot_offset
+	rtn
+	
+parse_lmp_sniff_req:
+	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:
+	rtn
+parse_lmp_temp_key:
+	rtn
+parse_lmp_timing_accuracy_res:
+	rtn
+	
+parse_lmp_unit_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
+	force 0,temp
+	call hci_send_mode_change
+	branch sniff_exit
+parse_lmp_use_semi_permanend_key:
+	rtn
+	
+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:
+	call check_localsm
+	rtn true
+	jam      SP_STAT_CONFIRM_RECV,mem_sp_state
+	rtn
+
+parse_lmp_accepted_dhkey_check:
+	//here must be change***  shyd
+	call check_localsm
+	ncall g_noninit,true	//when be master  call g_init
+	call g_init,true
+	call hci_send_user_confirmation_req
+	call hci_send_ssp_complete		//un very good put here
+	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
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	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
+	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_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
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	call check_localsm
+	branch parse_dhkey_check_master0,true
+	jam      SP_STAT_CONFIRM_CHECK,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	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
+	
+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*/
+	fetch 1,mem_hci_cmd
+	bne hci_cmd_wait_remote_feature,parse_lmp_features_res_not_hci
+	jam 0,mem_hci_cmd
+	call hci_send_remote_features
+parse_lmp_features_res_not_hci:	
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_WAIT_FEATURES_RES
+	fetch 1,mem_device_option
+	beq dvc_op_hci,parse_lmp_feature_ext_sm
+	fetch 1,mem_connection_options
+	bbit0 CONNECTION_FEATURE_EXT,parse_lmp_send_conn
+parse_lmp_feature_ext_sm:
+	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
+
+check_test_cond:
+	fetch 1,mem_tester_emulate
+	rtnbit0 tester_change
+	fetch 1,mem_tester_cnt
+	increase 1,pdata
+	store 1,mem_tester_cnt
+	rtnne 5
+	jam 0,mem_tester_cnt
+	fetch 1,mem_tester_emulate
+	set0 tester_change,pdata
+	store 1,mem_tester_emulate
+	bbit1 tester_exit,check_test_exit
+	isolate1 tester_no_whitening,pdata
+	call test_no_white,true
+	ncall test_enable_white,true
+	fetch 1,test_mode_packet_type
+	compare 0x20,pdata,0x30
+	fetch 1,mem_state_map
+	setflag true,smap_edr,pdata
+	store 1,mem_state_map
+	fetch 1,mem_tester_emulate
+	fetcht 1,mem_debug_config
+	isolate1 tester_pattern_test,pdata
+	setflag true,debug_tx_pattern,temp
+	isolate1 tester_fixed_freq,pdata
+	setflag true,debug_tx_fixed_freq,temp
+	setflag true,debug_rx_fixed_freq,temp
+	storet 1,mem_debug_config
+	fetch 1,test_mode_tx_freq
+	store 1,mem_tx_fixed_freq
+	fetch 1,test_mode_rx_freq
+	store 1,mem_rx_fixed_freq
+	set1 mark_testmode,mark
+	rtn
+	
+check_test_exit:
+	set0 mark_testmode,mark
+	jam 0,mem_tester_emulate
+	fetch 1,mem_test_mode_old_debug_config
+	store 1,mem_debug_config
+	hfetch 1,core_config
+	and_into 0xfb,pdata			/* whitening on */
+	hstore 1,core_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:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_3,mem_patch3c
+	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
+	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_SCO_LINK_REQ, send_lmp_sco_link_req	
+	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_REMOVE_SCO_LINK_REQ, send_lmp_remove_sco_link_req	
+	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_ESCO_LINK_REQ,send_lmpext_esco_req
+	beq LMP_EXT_REMOVE_ESCO_REQ,send_lmpext_remove_esco
+	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
+	beq LMP_SCO_LINK_REQ,send_lmp_accptsco
+	call send_lmp_follow
+	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_REMOVE_SCO_LINK_REQ,send_lmp_accept_remove_sco_link_req
+	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:
+	force 0x02,temp
+	call hci_send_mode_change
+	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
+	beq LMP_EXT_ESCO_LINK_REQ,send_lmp_accptsco
+	call send_lmp_follow
+	fetch 1,mem_lmi_opcode
+	beq LMP_EXT_REMOVE_ESCO_REQ,send_lmp_accept_remove_sco_link_req
+	rtn
+
+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_accptsco:
+	call play_sco
+	arg mem_accptsco_tid,temp
+	branch special_tid_store
+	
+
+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_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
+
+/*distroy sco handle 0xe00*/
+send_lmp_accept_remove_sco_link_req:
+	rtn
+
+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 1,mem_device_option
+         beq dvc_op_hci,send_lmpext_io_cap_res_hci
+         setarg 0x040003
+         istore 3,contw
+         store 3,mem_sp_iocap_local
+         branch send_lmp_reply
+send_lmpext_io_cap_res_hci:
+	fetch 3,mem_sp_iocap_local
+	istore 3,contw
+	branch send_lmp_reply
+         
+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 */
+	copy pdata,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_esco_req:
+	branch send_lmpext_esco_req_master,master
+	//jam 0x00,mem_sco_handle
+	//jam 0x7,mem_esco_addr
+	branch send_lmpext_esco_req_slave
+send_lmpext_esco_req_master:
+	jam 0x07,mem_esco_addr
+send_lmpext_esco_req_slave:
+	jam 0,mem_esco_desco
+	force 16,queue
+	call send_lmpext
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	fetch 1,mem_esco_addr
+	istore 1,contw
+	setarg 0
+	istore 1,contw			/* timing ctrl */
+	fetch 1,mem_esco_desco
+	istore 1,contw			/* Desco */
+	setarg 6
+	istore 1,contw			/* Tesco */
+	setarg 2
+	istore 1,contw			/* Wesco */
+	setarg 7
+	istore 1,contw			/* M packet type EV3 */
+	istore 1,contw			/* S packet type EV3 */
+	setarg 30
+	istore 2,contw			/* M packet size */
+	istore 2,contw			/* S packet size */
+	fetch 1,mem_air_mode
+	istore 1,contw
+	fetch 1,mem_neogotiation_state
+	istore 1,contw			/* neogotiation state */
+	nbranch send_lmp_reply,blank
+	branch send_lmp_reply,master
+	branch send_lmp_request
+	
+send_lmpext_remove_esco:
+	force 4,queue
+	call send_lmpext
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	fetch 1,mem_disconn_reason_send
+	istore 1,contw
+	fetch 1,mem_esco_saved_arq
+	store 1,mem_arq 
+	branch send_lmp_request
+	
+
+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:
+	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:
+	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_open_classify_map:
+	fetch 5,mem_afh_classify_channel_map
+	store 5,mem_afh_map_new
+	ifetch 5,contr
+	istore 5,contw
+	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_set_afh:
+	nrtn master
+	force 16,pdata
+	call msg_send_lmp
+	deposit clkn_bt
+	arg 476,temp
+	iadd temp,pdata
+	rshift pdata,pdata
+	increase 1,pdata
+	set0 0,pdata
+	istore 4,contw
+	copy pdata,temp
+	setarg 1
+	istore 1,contw
+	fetch 5,mem_afh_map_new
+	istore 5,contw
+	ifetch 5,contr
+	istore 5,contw
+	lshift temp,temp
+	storet 4,mem_afh_instant
+	call send_lmp_request
+	fetch 1,mem_mode
+	set1 afh_change,pdata
+	store 1,mem_mode
+	jam 1,mem_afh_new_mod
+	fetch 4,mem_afh_instant
+	arg TIMER_ONE_MINUTE,temp //set ahf_reset_timer
+	iadd temp,pdata
+	store 4,mem_afh_timer
+	fetch 1,mem_afh_cfg
+	rtnbit1 AFH_CFG_MASTER_SENT_REQ
+	jam LMP_EXT_CHN_CLASSIFICATION_REQ,mem_lmo_opcode2
+	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_sco_link_req:
+	branch send_lmp_sco_link_master,master
+	jam 0x00,mem_sco_handle
+	fetch 1,mem_mode
+	set1 send_sco_when_slave,pdata
+	store 1,mem_mode
+send_lmp_sco_link_master:
+	jam 0,mem_esco_desco
+	force 7,pdata
+	call msg_send_lmp
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	setarg 0x00		/*timing ctrl flags*/
+	istore 1,contw
+	fetch 1,mem_esco_desco		/*Dsco*/
+	istore 1,contw
+	setarg 0x06		/*Tsco*/
+	istore 1,contw
+	setarg 0x02		/*HV3*/
+	istore 1,contw
+	fetch 1,mem_air_mode
+	istore 1,contw
+	branch send_lmp_reply,master
+	branch send_lmp_tid
+	
+send_lmp_remove_sco_link_req:
+	/* default to TID_NORM_SEND */
+	force 3,pdata
+	call msg_send_lmp
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	force OTHER_END_TERMINATED,pdata
+	istore 1,contw
+	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_setup_complete:
+	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
+	call hci_send_connection_complete
+	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:
+	call hci_send_io_cap_req_event
+	fetch 1,mem_device_option
+	beq dvc_op_hci,sp_master_send_io_cap_get_hci
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+sp_master_send_io_cap_get_hci:
+	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:
+	call lmo_fifo_process
+	//if lmo_fifo(0,1,3) is full,we should add code for stop jam NEW LMP to mem_lmo_opcode2
+	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
+	call check_localsm
+	call hci_send_linkkey_notification,true
+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
+	
+lmo_fifo_process:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_4,mem_patch3c
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_5,mem_patch3c
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch3c_6,mem_patch3c
+	fetch 1,mem_lmo_opcode2
+	branch process_conn_sm_continue,blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	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
+	
+
+
+
+
+
+
+module_init:
+	rtn wake
+	jam 0,mem_module_task
+	call module_gpio_init
+	call module_init_static_string
+	setarg module_process_idle
+	store 2,mem_cb_idle_process
+	setarg module_conn_process
+	store 2,mem_cb_bt_process
+	setarg module_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg module_le_rx
+	store 2,mem_cb_att_write
+	setarg module_conn_process
+	store 2,mem_cb_le_process
+	set1 mark_ext_patch,mark
+	bpatch patch30_0,mem_patch30
+	setarg module_lpm_lock
+	store 2,mem_cb_check_wakelock
+	setarg module_le_tx_update_data
+	store 2,mem_cb_update_notify_value
+	setarg 0
+	store 4,mem_last_uart_clock
+	store 2,mem_module_prepare_tx_len
+	call module_hardware_init
+	call init_module_environment
+	call check_module_disabled
+	branch eeprom_load_reconn_info
+
+module_hardware_init:
+	rtn wake
+	setarg uart_baud_115200
+	store uart_baud_len,mem_baud
+module_lpm_uart_init:
+	call init_filter_ram
+	setarg mem_module_rx_buf
+	hstore 2,core_uart_rsaddr
+	setarg mem_module_rx_buf_end
+	hstore 2,core_uart_readdr
+	setarg mem_module_tx_buf
+	hstore 2,core_uart_tsaddr
+	setarg mem_module_tx_buf_end
+	hstore 2,core_uart_teaddr
+	hjam 0x4,core_gpio_sel1
+	jam 0xff,mem_ucode_id_local
+	hjam 0x0,core_uart_ctrl
+ 	setarg mem_module_tx_buf
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+	setarg mem_module_rx_buf
+	hstore 2,core_uart_rrptr
+	branch hci_init_common 
+
+
+module_lpm_init:
+	call 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
+	call gpio_config_input
+	fetcht 1,mem_at_gpio
+	branch gpio_config_input_without_wake
+
+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
+
+	
+/*************at dispatch*******************/
+module_process_idle:
+	branch module_app_dispatch
+module_conn_process:
+	branch module_app_dispatch
+module_app_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch patch30_1,mem_patch30
+	call module_control_air_flow
+	call module_uart_set
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch module_process
+module_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_PINCODE_REQ,module_process_evt_pincode_req
+	beq BT_EVT_RECONN_FAILED,module_reconn_fail
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,module_page_time_out
+	beq BT_EVT_BB_DISCONNECTED,module_process_bb_event_disconned
+	beq BT_EVT_SWITCH_NOT_ACCEPT,module_process_switch_not_accept
+	beq BT_EVT_SWITCH_ACCEPT,module_process_switch_accept
+	beq BT_EVT_SNIFF_ACCEPT,module_process_sniff_accept
+	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_CONNECTED,module_process_le_conn
+	beq BT_EVT_BB_CONNECTED,module_process_bb_conn
+	beq BT_EVT_LE_DISCONNECTED,module_process_bb_even_le_disconn
+	beq BT_EVT_SETUP_COMPLETE,module_process_setup_complete
+	beq BT_EVT_ENTER_SNIFF,module_sniff_param_check
+	beq BT_EVT_EXIT_SNIFF,app_lpm_mult_disable
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,module_bb_event_timer
+	rtn
+
+module_process_bb_event_disconned:
+	call module_disconn_start
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	rtnbit0 APP_DISC_AFTER_SETUP_DONE
+	arg 3,loopcnt
+	arg mem_prarm_dis,contr
+	branch send_mem_to_uart
+	
+module_sniff_param_check:
+	//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_task
+	rtnbit1 AT_TASK_UNSINFF
+	hfetch 2,core_uart_rxitems    //*
+	ncall at_set_unsniff_task_flag,blank    //*加这两句话
+	branch app_bt_sniff_exit
+ 	
+module_process_setup_complete:
+	call module_conn_start
+	call module_check_cmode
+	branch module_uart_send_conn,zero
+	branch  app_bt_disconnect
+module_uart_send_conn:
+	arg 4,loopcnt
+	arg mem_prarm_conn,contr
+	branch send_mem_to_uart
+	
+module_process_bb_even_le_disconn:
+	call module_disconn_start
+	arg 5,loopcnt
+	arg mem_prarm_bledis,contr
+	branch send_mem_to_uart
+
+module_process_evt_pincode_req:
+	call at_restore_pin_code
+	branch  app_bt_set_pincode
+module_process_switch_not_accept:
+	fetch 1,mem_module_task
+	rtnbit0 AT_TASK_SWITCH
+	set0 AT_TASK_SWITCH,pdata
+	store 1,mem_module_task
+	branch at_error_rev_end
+	
+module_process_switch_accept:
+	fetch 1,mem_module_task
+	rtnbit0 AT_TASK_SWITCH
+	set0 AT_TASK_SWITCH,pdata
+	store 1,mem_module_task
+	branch at_nomal_rev_end
+
+module_process_sniff_accept:
+	rtn
+
+module_process_sniff_not_accept:
+	rtn
+	
+module_process_unsniff_accept:
+	fetch 1,mem_module_task
+	bbit0 AT_TASK_UNSINFF,app_bt_enter_sniff
+	branch at_clear_unsniff_task_flag
+	
+module_process_unsniff_not_accept:
+	rtn
+	
+module_process_le_conn:
+	call module_conn_start
+	arg mem_le_plap,regb
+	call module_check_cmode
+	branch module_uart_send_leconn,zero
+	branch  app_ble_disconnect
+module_uart_send_leconn:
+	arg 6,loopcnt
+	arg mem_prarm_bleconn,contr
+	branch  send_mem_to_uart
+
+module_process_bb_conn:
+	rtn
+
+
+module_reconn_fail:
+	arg 7,loopcnt
+	arg mem_prarm_recfail,contr
+	call send_mem_to_uart
+	branch module_disconn_start
+module_page_time_out:
+	arg 7,loopcnt
+	arg mem_prarm_pageout,contr
+	call send_mem_to_uart
+module_disconn_start:
+	call module_start_adv_discovery
+	branch module_set_conn_pin_high
+
+module_start_adv_discovery:
+	fetch 1,mem_module_state
+	isolate1 AT_STATE_SET30,pdata
+	call app_bt_start_discovery,true
+	fetch 1,mem_module_state
+	isolate1 AT_STATE_SET40,pdata
+	call app_ble_start_adv,true
+	rtn
+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 AT_STATE_SET30,pdata
+	call app_bt_stop_discovery,true
+	fetch 1,mem_module_state
+	isolate1 AT_STATE_SET40,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:
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	store 2,mem_current_packet_length
+
+	call spp_mode
+	branch at_process,true
+	call at_ckeck_send_buff
+	branch module_tx_packet
+
+
+spp_mode:    //true=1透传\true=0 不透传
+	fetcht 1,mem_at_gpio
+	branch gpio_get_bit
+
+
+module_exit_sniff:
+	fetch 1,mem_module_task
+	rtnbit1 AT_TASK_UNSINFF
+	call at_set_unsniff_task_flag	
+	branch app_bt_sniff_exit
+
+module_tx_packet:
+	fetch 1,mem_context
+	bbit0 state_inconn,spp_send_end
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_le,modle_le_tx
+	call app_check_sniff
+	branch module_exit_sniff,true
+	branch spp_tx_rfcomm_packet
+
+module_le_rx:
+	call le_att_get_handle_ptr
+	ifetch 1,contr
+	copy contr,rega
+	call get_uart_twptr
+	copy regb,loopcnt
+	copy rega,contr
+	call uart_copy_tx_bytes
+	branch uartd_send
+
+
+module_le_tx_update_data:
+	//get tx len
+	fetch 2,mem_module_prepare_tx_len
+	rtn blank
+	arg DM_LE_BUFF_LEN,temp
+	call not_greater_than
+	store 2,mem_module_temp_len
+	//reduced mem_module_prepare_tx_len
+	copy pdata,temp
+	fetch 2,mem_module_prepare_tx_len
+	isub temp,pdata
+	store 2,mem_module_prepare_tx_len
+	nbranch assert,positive
+	//get destination for copy
+	arg PRCP_TX_LE,temp
+	storet 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	branch assert,blank
+	add contr,1,contw
+	//copy len
+	fetch 2,mem_module_temp_len
+	copy pdata,loopcnt
+	//get source for copy
+	call get_uart_rrptr
+	//copy
+	call uart_copy_rx_bytes
+	//release and clean
+	fetch 2,mem_module_temp_len
+	store 2,mem_current_packet_length
+	store 2,mem_le_notify_len
+	branch spp_send_end 
+
+
+modle_le_tx:
+	rtnmark0 mark_context
+	call modle_le_tx_once // 3 times
+	call modle_le_tx_once
+modle_le_tx_once:
+	call le_xtype_fifo_is_near_full
+	nrtn blank
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	fetcht 2,mem_module_prepare_tx_len
+	isub temp,pdata    //uart_rx_len - data_in_ble_tx_fifo
+	nbranch assert,positive
+	store 2,mem_current_packet_length
+	rtn blank
+	call at_ckeck_send_buff_le
+	fetch 2,mem_module_prepare_tx_len
+	fetcht 2,mem_current_packet_length
+	iadd temp,pdata
+	store 2,mem_module_prepare_tx_len
+	fetcht 2,mem_module_prepare_tx_len
+	hfetch 2,core_uart_rxitems
+	isub temp,rega
+	nbranch assert,positive
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	branch le_xtype_fifo_in
+
+module_bb_event_timer:
+	storet 1,mem_app_evt_timer_count
+module_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call module_bb_event_hud_ms
+	branch module_bb_event_100ms_loop
+	
+module_bb_event_hud_ms:
+	fetch 2,mem_at_scan_time
+	rtn blank
+	increase -1,pdata
+	store 2,mem_at_scan_time
+	nrtn blank
+	fetch 1,mem_at_using_flag
+	jam 0,mem_at_using_flag
+	bbit1 AT_FLAG_LEINQ,modue_le_inq
+	bbit1 AT_FLAG_INQ,module_inq
+	branch assert
+modue_le_inq:
+	branch app_ble_stop_scan
+module_inq:
+	jam hci_cmd_inquiry_cancel,mem_hci_cmd
+	rtn
+
+at_ckeck_send_buff:
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_le,at_ckeck_send_buff_le
+	fetch 2,mem_current_packet_length
+	arg DM_REFCOM_BUFF_LEN,temp
+	/*long packet*/
+	call not_greater_than
+	store 2,mem_current_packet_length
+	rtn
+at_ckeck_send_buff_le:
+	fetch 2,mem_current_packet_length
+	arg DM_LE_BUFF_LEN,temp
+	call not_greater_than
+	store 2,mem_current_packet_length
+	rtn
+
+at_set_unsniff_task_flag:
+	fetch 1,mem_module_task
+	set1 AT_TASK_UNSINFF,pdata
+	store 1,mem_module_task
+	rtn
+
+at_clear_unsniff_task_flag:
+	fetch 1,mem_module_task
+	set0 AT_TASK_UNSINFF,pdata
+	store 1,mem_module_task
+	rtn
+
+at_set_cmd_task_flag:
+	fetch 1,mem_module_task
+	set1 AT_TASK_CMD_FLAG,pdata
+	store 1,mem_module_task
+	rtn
+
+at_clear_cmd_task_flag:
+	fetch 1,mem_module_task
+	set0 AT_TASK_CMD_FLAG,pdata
+	store 1,mem_module_task
+	rtn
+
+module_control_air_flow:
+	set1 mark_ext_patch,mark
+	bpatch patch30_2,mem_patch30
+	call check_uart_tx_buff
+	branch app_l2cap_flow_control_enable,positive
+	branch app_l2cap_flow_control_disable
+
+module_uart_set:
+	call spp_mode
+	branch module_set_baud_115200,true
+	hfetcht uart_baud_len,core_uart_baud
+	fetch 2,mem_baud
+	isub temp,null
+	rtn zero
+	branch uart_set_baud_by_mem
+
+
+module_set_baud_115200:
+	hfetcht uart_baud_len,core_uart_baud
+	setarg AT_baud_115200
+	isub temp,null
+	rtn zero
+	hstore uart_baud_len,core_uart_baud
+	rtn
+
+module_check_cmode:
+	set1 mark_ext_patch,mark
+	bpatch patch30_3,mem_patch30
+	fetch 1,mem_module_state
+	isolate0 AT_STATE_CMODE,pdata
+	branch module_check_cmode_close,true
+	arg mem_cmode_addr,rega
+	arg 6,loopcnt
+	branch string_compare
+module_check_cmode_close:
+	force 0,null
+	rtn
+
+module_init_static_string:
+	set1 mark_ext_patch,mark
+	bpatch patch30_4,mem_patch30
+	arg mem_prarm_pswd,contw
+	setsect 0,0x35350
+	setsect 1,0x15115
+	setsect 2,0x12415
+	setsect 3,0x10951
+	istore 9,contw
+	setsect 0,0x2454c
+	setsect 1,0x35053
+	setsect 2,0x2454
+	setsect 3,0x11531
+	istore 9,contw
+	setsect 0,0x34441
+	setsect 1,0x194d4
+	setsect 2,0x12455
+	setsect 3,0x10d4d
+	istore 9,contw
+	setsect 0,0x3414c
+	setsect 1,0xd4d4
+	setsect 2,0x124c4
+	setsect 3,0x13119
+	istore 9,contw
+	setsect 0,0x15247
+	setsect 1,0x3d0d1
+	setsect 2,0xe4e4
+	setsect 3,0x11531
+	istore 9,contw
+	setsect 0,0x34944
+	setsect 1,0x114d4
+	setsect 2,0xe535
+	setsect 3,0x15105
+	istore 9,contw
+	setsect 0,0x14c2b
+	setsect 1,0x114d2
+	setsect 2,0xf525
+	setsect 3,0x11531
+	istore 9,contw
+	setsect 0,0x14e53
+	setsect 1,0x19192
+	setsect 2,0x44c4
+	setsect 3,0x15915
+	istore 9,contw
+	setsect 0,0x35352
+	setsect 1,0xd254
+	setsect 2,0x5444
+	setsect 3,0x10959
+	istore 9,contw
+	setsect 0,0x1454c
+	setsect 1,0x5392
+	setsect 2,0x3525
+	setsect 3,0x13d35
+	istore 9,contw
+	setsect 0,0x14544
+	setsect 1,0x113d3
+	setsect 2,0x4454
+	setsect 3,0x14d35
+	istore 9,contw
+	setsect 0,0x4154
+	setsect 1,0x11155
+	setsect 2,0x13494
+	setsect 3,0x13d0d
+	istore 9,contw
+	setsect 0,0x4f56
+	setsect 1,0x31055
+	setsect 2,0x3454
+	setsect 3,0x1393d
+	istore 9,contw
+	setsect 0,0x1504e
+	setsect 1,0x151d0
+	setsect 2,0x154f4
+	setsect 3,0x14951
+	istore 9,contw
+	setsect 0,0x24345
+	setsect 1,0x25051
+	setsect 2,0x4c4
+	istore 6,contw
+	rtn
+/*************at end*******************/
+		
+
+mouse_init:
+	setarg le_mouse
+	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_le_notify_update_data
+	store 2,mem_cb_update_notify_value
+	jam 0,mem_sp_flag
+	jam 0,mem_master_sp_flag
+	set0 mark_ext_patch,mark
+	bpatch patch18_0,mem_patch18
+	call mouse_init_common
+	rtn wake
+	call mouse_init_environment
+	call mouse_dpi_init
+	setarg mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	branch mouse_check_reconn_target
+
+mouse_init_environment:
+	call app_initflag_check
+	branch mouse_load_eeprom_param,zero
+	call eeprom_store_le_local_addr
+	call eeprom_store_mouse_dpi
+	branch app_initflag_store
+mouse_load_eeprom_param:
+	call eeprom_load_reconn_info
+	call eeprom_load_le_loacal_addr
+	branch eeprom_load_mouse_dpi
+
+mouse_dpi_init:
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	branch mouse_modified_dpi
+
+mouse_idle:
+	call ui_check_paring_button
+	call mouse_check_dpi
+	branch mouse_wheel_check
+
+mouse_check_dpi:
+	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
+	rtn
+mouse_dpi_up:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	branch mouse_modified_dpi
+mouse_modified_dpi:
+	setarg MOUSE_DPI_ADDRESS
+	call twspi_read
+	and pdata,0xfc,temp
+	fetch 1,mem_mouse_dpi
+	iadd temp,pdata
+	lshift8 pdata,pdata
+	add pdata,MOUSE_DPI_ADDRESS,pdata
+	call twspi_write
+	branch eeprom_store_mouse_dpi
+
+mouse_init_common:
+	call mouse_init_sunt
+	call mouse_gpio_init
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_QDECODER,pdata
+	hstore 2,core_clkoff
+	rtn
+	
+mouse_gpio_init:
+	call lpm_disable_exen_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_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_dpi_button_gpio
+	call gpio_config_input
+	hfetch 1,core_gpio_pu3
+	or_into 0x18,pdata
+	hstore 1,core_gpio_pu3
+	hfetch 1,core_gpio_pd2+1
+	and_into 0xe7,pdata
+	hstore 1,core_gpio_pd2+1
+	rtn 	 
+
+	
+mouse_before_hibernate:
+	setarg 0xbc05
+	call twspi_write
+	jam 1,mem_lpm_current_mult
+
+mouse_process_lpm_before:
+	call mouse_wheel_check
+	arg 25,temp					// set sclk high
+	call gpio_config_output
+	hjam 0,core_gpio_sel1
+	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_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_sensor_data_gpio
+	call gpio_set_wake
+	fetch 1,mem_lpm_current_mult
+	nrtn blank					// 7.5ms, no gpio wakeup
+	branch gpio_clr_wake
+	
+mouse_wheel_check:
+	set0 mark_ext_patch,mark
+	bpatch patch18_1,mem_patch18
+	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
+
+	and_into  0x3,pdata
+	fetcht 1,mem_mouse_z_now
+	store 1,mem_mouse_z_now
+	isub temp,null
+	branch mouse_wheel_clear,zero
+	fetch 1,mem_mouse_z_before
+	store 1,mem_mouse_z_last
+	storet 1,mem_mouse_z_before
+	fetch 1,mem_mouse_z_now
+	lshift4 pdata,pdata
+	fetcht 1,mem_mouse_z_before
+	lshift2 temp,temp
+	iadd temp,pdata
+	fetcht 1,mem_mouse_z_last
+	iadd temp,pdata
+	beq 0x38,mouse_wheel_forward
+	beq 0x34,mouse_wheel_back
+	beq 0x0b,mouse_wheel_back
+	beq 0x07,mouse_wheel_forward
+	rtn
+
+mouse_wheel_clear:
+	rtn
+	
+mouse_wheel_forward:
+	fetch 1,mem_mouse_z_data
+	increase 1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+	
+mouse_wheel_back:
+	fetch 1,mem_mouse_z_data
+	increase -1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+		
+mouse_process_ble:
+
+	rtn
+mouse_sleep_sensor:
+	setarg 0xB805
+	branch twspi_write
+
+mouse_bb_connected:
+	rtn
+	
+le_mouse_bb_event_write_request:
+	call app_ble_store_reconn_info
+	jam MOUSE_MODE_STATE_BLE,mem_mouse_mode_state
+	call app_lpm_mult_enable
+le_mouse_bb_event_enc_info:
+	branch app_ble_start_write
+
+le_hibernate_timer:
+	fetch 2,mem_le_hibernate_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_le_hibernate_timer
+	nrtn blank
+	branch app_enter_hibernate
+	
+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
+	call mouse_motion
+	nrtn user
+	call mouse_no_data_timer_init
+	call mouse_send_blank_packet_timer_init
+mouse_send_data:
+	arg 8,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x02a1
+	istore 2,contw
+	fetch 1,mem_mouse_key
+	istore 1,contw
+	fetch 2,mem_mouse_x
+	arg 0xfff,temp
+	iand temp,pdata
+	fetcht 2,mem_mouse_y
+	lshift4 temp,temp
+	lshift8 temp,temp
+	ior temp,pdata
+	istore 3,contw
+	fetch 1,mem_mouse_z
+	istore 1,contw
+	setarg 0
+	istore 1,contw
+	jam 8,mem_UI_data_txbuff_length
+	rtn
+
+
+mouse_send_blank_packet_timer:
+	set0 mark_ext_patch,mark
+	bpatch patch18_2,mem_patch18
+	fetch 1,mem_mouse_send_blank_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_mouse_send_blank_timer
+	nrtn blank
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	setarg 0
+	store 5,mem_mouse_x
+	call mouse_send_data
+	jam  MOUSE_SEND_BLANK_TIMER,mem_mouse_send_blank_timer
+	rtn
+mouse_send_blank_packet_timer_init:
+	fetch 2,mem_mouse_blank_data_timeout
+	store 2,mem_mouse_blank_data_timer
+	jam  MOUSE_SEND_BLANK_TIMER,mem_mouse_send_blank_timer
+	rtn
+	
+mouse_no_data_timer_init:
+	fetch 2,mem_mouse_no_data_timeout
+	store 2,mem_mouse_no_data_timer
+	rtn
+
+	
+mouse_le_notify_update_data:
+	fetcht 2, mem_le_notify_handle
+	call le_att_get_handle_ptr 
+	ifetch 1,contr
+	store 1,mem_le_notify_len
+	rtn
+
+	
+mouse_fill_data_le:
+	set0 mark_ext_patch,mark
+	bpatch patch18_3,mem_patch18
+	fetcht 2, mem_le_notify_handle
+	call le_att_get_handle_ptr
+	add contr,1,contw
+mouse_fill_data:
+	fetch 1,mem_mouse_key
+	istore 1,contw
+	fetch 2,mem_mouse_x
+	arg 0xfff,temp
+	iand temp,pdata
+	fetcht 2,mem_mouse_y
+	lshift4 temp,temp
+	lshift8 temp,temp
+	ior temp,pdata
+	istore 3,contw
+	fetch 1,mem_mouse_z
+	istore 1,contw
+	rtn
+
+mouse_motion:
+	set0 mark_ext_patch,mark
+	bpatch patch18_4,mem_patch18
+	disable user
+	setarg 0
+	store 5,mem_mouse_x
+	call p3204_motion
+	call p3204_sdio_low
+	call mouse_zwheel
+	branch mouse_key
+	
+p3204_motion:
+	fetch 1,mem_sensor_type
+	rtnne SENSOR_TYPE_P3204
+	fetch 1,mem_mouse_move_flag
+	call p3204_clear_data,blank
+	jam 1,mem_mouse_move_flag
+	disable user
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_get_bit
+	nrtn true
+	setarg 0
+	call twspi_read
+	bne P3204_ID,twspi_reset
+	setarg 2
+	call twspi_read
+	rtnbit0 7
+	setarg 3
+	call twspi_read
+	call extsign
+	store 2,mem_mouse_x
+	setarg 4
+	call twspi_read
+	call extsign
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	fetch 4,mem_mouse_x
+	enable user
+	rtn
+mouse_zwheel:
+	fetch 1,mem_mouse_z_data
+	rtn blank	
+	store 1,mem_mouse_z
+	jam 0,mem_mouse_z_data
+	enable user
+	rtn
+mouse_key:
+	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
+	deposit rega
+	fetcht 1,mem_mouse_key
+	store 1,mem_mouse_key	
+	ixor temp,pdata
+	sub pdata,0,null
+	rtn zero
+	enable user
+	rtn
+	
+
+
+	/* sdio high will cost extra 9mA */
+p3204_sdio_low:
+	arg 26,temp
+	call gpio_get_bit
+	rtn true
+	setarg 0
+	call twspi_read
+	branch p3204_sdio_low
+
+p3204_clear_data:
+	arg 0,loopcnt
+p3204_clear_data_loop:
+	setarg 2
+	call twspi_read
+	nop 100
+	increase 1,loopcnt
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_get_bit	
+	branch p3204_clear_data_loop,true
+	deposit loopcnt
+	store 2,mem_init_cnt
+	rtn
+mouse_init_sunt:
+	call spid_init
+	rtn wake
+	
+mouse_init_p3204:	
+	setarg 0
+	call twspi_read
+	store 1,mem_sensor_id
+	beq P3204_ID,mouse_init_p3204_cont
+	call twspi_reset
+	nop 10000
+	branch mouse_init_p3204
+mouse_init_p3204_cont:
+	setarg 0x8006
+	call twspi_write
+	nop 1000
+	jam SENSOR_TYPE_P3204,mem_sensor_type
+	rtn
+
+
+
+extsign:
+	rtnbit0 7
+	arg 0xff00,temp
+	ior temp,pdata
+	rtn
+
+
+
+le_mouse:
+	call le_xtype_fifo_is_near_full
+	nrtn blank
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	rtnbit0 0
+	fetch 1,mem_le_switch_send_data
+	rtnbit0 0
+	call mouse_motion
+//	call mouse_test
+	nrtn user
+	call mouse_no_data_timer_init
+	//call app_lpm_wake_auto_lock
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	branch mouse_fill_data_le
+
+mouse_test:
+	rtn user
+	fetch 1,mem_mouse_test_cnt
+	increase 1,pdata
+	store 1,mem_mouse_test_cnt
+	arg 1,temp
+	bbit0 7,mouse_test_pos
+	arg 0xffff,temp
+mouse_test_pos:
+	storet 5,mem_mouse_x
+	enable user
+	rtn
+
+mouse_check_mode_state:
+	disable user
+	fetch 1,mem_mouse_mode_state
+	rtneq MOUSE_MODE_STATE_BLE
+	enable user
+	rtn
+	
+mouse_priority_bb_event:	
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,le_mouse_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_LE_WRITE_REQUEST,le_mouse_bb_event_write_request
+	beq BT_EVT_LE_ENC_INFO,le_mouse_bb_event_enc_info
+	beq BT_EVT_RECONN_FAILED,mouse_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,mouse_bb_event_reconn_failed
+	beq BT_EVT_PINCODE_REQ,mouse_bb_event_pincode
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,mouse_bb_event_timer
+	rtn
+
+le_mouse_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
+	fetch 1,mem_conn_cnt
+	increase 1,pdata
+	store 1,mem_conn_cnt
+	branch mouse_stop_discovery
+
+mouse_bb_event_pincode:
+	call pincode_reinit
+	branch app_bt_set_pincode
+	
+mouse_bb_event_reconn_failed:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	branch app_bb_hibernate
+
+	
+mouse_bt_hid_connected:
+	call mouse_hid_connected
+	rtn
+mouse_bt_event_setup_complete:
+	rtn
+
+mouse_bb_disconnected:
+	set0 mark_ext_patch,mark
+	bpatch patch18_5,mem_patch18
+	call mouse_bb_discon_clear_stack
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
+	bbit1 APP_DISC_AFTER_PAIRING,mouse_event_light_state_pairing
+	bbit1 APP_DISC_AFTER_RECONN,mouse_event_light_state_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,mouse_event_light_state_hibernate
+	branch mouse_start_discovery
+mouse_bb_discon_clear_stack:
+	setarg 0
+	store 4,mem_mouse_z_last
+	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
+	jam 0,mem_mouse_mode_state
+	jam 0,mem_reconnect_timeout
+	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 le_clean_att_list_handle_enable
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch18_6,mem_patch18
+	storet 1,mem_app_evt_timer_count
+mouse_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	//common part
+	//call app_lpm_wake_auto_lock_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
+	//process for different mode, BT or BLE
+	fetch 1,mem_mouse_mode_state
+	compare MOUSE_MODE_STATE_BLE,pdata,0xff
+	call mouse4_0_bb_event_100ms,true
+	fetch 1,mem_mouse_mode_state
+	compare MOUSE_MODE_STATE_BT,pdata,0xff
+	call mouse3_0_bb_event_100ms,true
+	branch mouse_bb_event_100ms_loop
+	
+mouse3_0_bb_event_100ms: 
+	//flag user cannot bt changed!!!!
+	call mouse_check_blank_data_timeout_timer
+	branch mouse_send_blank_packet_timer
+	
+mouse4_0_bb_event_100ms:
+	//flag user cannot bt changed!!!!
+	rtn
+	
+mouse_check_hid_handshake_timer:
+	fetch 1,mem_hid_handshake_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_hid_handshake_timer_count
+	nrtn blank
+	branch mouse_bt_hid_handshake
+
+mouse_check_discovery_timeout_timer:	
+	fetch 2,mem_mouse_discovery_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_discovery_timer
+	nrtn blank
+	call mouse_stop_discovery
+	branch app_enter_hibernate
+
+mouse_check_direct_timeout_timer:
+	fetch 2,mem_mouse_direct_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_direct_timer
+	nrtn blank
+	call app_ble_stop_direct_adv
+	branch app_enter_hibernate
+
+mouse_check_blank_data_timeout_timer:
+	fetch 2,mem_mouse_blank_data_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_blank_data_timer
+	nrtn blank
+	jam 0,mem_mouse_send_blank_timer
+	rtn
+
+mouse_check_no_data_timeout_timer:
+	fetch 2,mem_mouse_no_data_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_no_data_timer
+	nrtn blank
+	branch mouse_disconnect
+	
+mouse_bb_event_discovery_btn:
+	set0 mark_ext_patch,mark
+	bpatch patch18_7,mem_patch18
+	jam 0,mem_mouse_send_blank_timer
+	jam 1,mem_reconnect_timeout
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	call mouse_disconnect
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse4_0_bb_event_discovery_btn,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse3_0_bb_event_discovery_btn,true
+	call app_lpm_mult_disable
+	branch mouse_start_discovery
+
+
+
+mouse3_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank	
+	branch app_bt_start_reconnect
+	
+mouse4_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch mouse4_0_no_reconn_target,blank
+	fetch 2,mem_mouse_direct_timeout
+	store 2,mem_mouse_direct_timer
+	call app_lpm_mult_enable
+	branch app_ble_start_direct_adv
+mouse4_0_no_reconn_target:
+	call app_led_start_blink
+	branch app_ble_start_adv
+
+mouse3_0_bb_event_discovery_btn:
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BT_RECONNECT,pdata
+	call app_bt_reconnect_cancel,true
+	rtn
+mouse4_0_bb_event_discovery_btn:
+	call le_clean_att_list_handle_enable
+	rtn
+	
+mouse_bt_hid_handshake:
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+	jam MOUSE_MODE_STATE_BT,mem_mouse_mode_state
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	store 1,mem_hid_handshake_timer_count
+	call app_bt_enter_sniff
+	branch mouse_send_blank_packet_timer_init
+
+mouse_check_reconn_target:
+	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_start_discovery:
+	set0 mark_ext_patch,mark
+	bpatch patch19_0,mem_patch19
+	fetch 1,mem_le_lap
+	increase 1,pdata
+	store 1,mem_le_lap
+	call app_lpm_mult_disable
+	fetch 2,mem_discovery_timeout
+	store 2,mem_mouse_discovery_timer
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call app_ble_start_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call app_bt_start_discovery,true
+	branch app_led_start_blink
+
+mouse_stop_discovery:
+	set0 mark_ext_patch,mark
+	bpatch patch19_1,mem_patch19
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call app_ble_stop_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call app_bt_stop_discovery,true
+	branch app_led_stop_blink
+
+mouse_disconnect:
+	set0 mark_ext_patch,mark
+	bpatch patch19_2,mem_patch19
+	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
+
+eeprom_store_mouse_dpi:
+	set0 mark_ext_patch,mark
+	bpatch patch19_3,mem_patch19
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg mouse_dpi_eeprom_addr,regb
+	branch iicd_write_eep_data
+
+eeprom_load_mouse_dpi:
+	set0 mark_ext_patch,mark
+	bpatch patch19_4,mem_patch19
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg mouse_dpi_eeprom_addr,regb
+	branch iicd_read_eep_data
+
+
+
+
+
+/* ===================== two wire SPI gpio ======================= */
+
+twspi_reset:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_6,mem_patch1f
+	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
+	hjam 0,core_gpio_sel1	
+	hfetch 1,core_gpio_out3
+	set0 1,pdata
+	set0 2,pdata
+	hstore 1,core_gpio_out3	
+	nop 30
+	hjam 1,core_gpio_sel1	
+	rtn
+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 0x20,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 0xdf,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 0xdf,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
+	hjam 0x80, core_ucode_ctrl
+	hjam 0,core_ucode_hi
+	hjam 0,core_ucode_low
+	arg core_ucode_data,rega
+	call read_function_aes
+	hjam 0x0, core_ucode_ctrl
+	call get_block_header
+	nrtn zero
+	force 0,pdata
+	hstore 2,core_docd_paddr
+	arg core_docd_pdata,rega
+	call read_function_aes
+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:
+	hjam 0x25,core_clkoff			// disable debug uart
+	hjam 5,core_docd_ctrl
+	call clean_mem
+loadcode_lpm:
+	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
+	setarg otp_ucode_aeskey
+	arg mem_ucode_keybuf,rega
+	arg 16,temp
+	call otpd_read_data
+	hjam lock_otp,core_misc_ctrl	// disable further read/write of key
+	arg mem_ucode_keybuf,contr
+	call load_key
+	enable user					// set user for aes
+loadcode_otp:
+	fetch 2,mem_otp_ucode_flag
+	byteswap pdata,pdata
+	arg 0x7ff,temp
+	iand temp,pdata
+	branch loadcode_spi, zero
+	call otp_set_addr
+	arg otpd_read_code,regc
+	call get_iv,user
+	call load_storage
+	fetch 1,mem_ucode_status
+	compare 3,pdata,3
+	nbranch loadcode_otp,true	// crc error, try again
+loadcode_spi:
+	call otp_disable_chgpump
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_flash, loadcode_iic
+	setarg 0x0
+	store 3,mem_addr_hi
+	call spid_init_flash
+	arg spid_read_flash,regc
+	call read_first_block
+	call load_storage
+	nbranch loadcode_iic,match
+	fetch 1,mem_ucode_status
+	compare 3,pdata,3
+	nbranch loadcode_spi,true	// crc error, try again
+loadcode_iic:
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_eep,loadcode_hci
+	setarg 0x0
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	call iicd_init_12m
+	call read_first_block
+	call load_storage
+	nbranch loadcode_hci,match
+	fetch 1,mem_ucode_status
+	compare 3,pdata,3
+	nbranch loadcode_iic,true	// crc error, try again
+loadcode_hci:
+	hjam 0x21,core_clkoff			// enable debug uart
+	fetch 1,mem_otp_ucode_flag
+	rtnbit0 otp_uflag_hci
+	call hci_init
+loadcode_hci_loop:
+	call hci_rx_packet
+	branch loadcode_hci_loop
+
+/* 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 5
+	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
+
+
+	/* loopcnt is ucode instruction count, pdata is buffer ptr */
+save_ucode:
+	copy loopcnt,temp
+	storet 2,mem_patch_len
+	hjam 0x80, core_ucode_ctrl
+	hjam 0,core_ucode_hi
+	hjam 0,core_ucode_low
+	store 2,mem_patch_ptr
+	iforce contw
+	lshift2 loopcnt,loopcnt
+save_ucode_loop:
+	hfetch 1,core_ucode_data
+	istore 1,contw
+	loop save_ucode_loop
+	hjam 0x0, core_ucode_ctrl
+	rtn
+
+load_ucode:
+	fetch 2,mem_patch_ptr
+	rtn blank
+	hjam 0x80, core_ucode_ctrl
+	hjam 0,core_ucode_hi
+	hjam 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
+	hjam 0x0, core_ucode_ctrl
+	rtn
+
+
+/* ===================== SPI dma ======================= */
+
+spid_init:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_7,mem_patch1f
+	hjam 0x75,core_spid_ctrl	// A7530 should at least 34, or write fail
+	hjam 10,core_spid_delay	// 4us delay
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	setarg mem_spid_rbuf
+	hstore 2,core_spid_rxaddr
+	hfetch 1,core_gpio_sel1
+	set1 0,pdata
+	set0 1,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+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
+	set1 mark_ext_patch,mark
+	bpatch patch20_0,mem_patch20
+	hjam 2,core_spid_txlen
+	hjam 0,core_spid_rxlen
+	hjam 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
+	set1 mark_ext_patch,mark
+	bpatch patch20_1,mem_patch20
+	hjam 1,core_spid_txlen
+	hstoret 2,core_spid_rxlen
+	hjam 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:
+	hjam 0x40,core_spid_ctrl
+	hjam 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 1,core_spid_txlen
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	jam 6,mem_spid_tbuf
+	hjam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+	/* 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
+	increase -4,rega
+	arg 2,temp
+	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
+	hjam spid_start,core_misc_ctrl
+	branch wait_spid_done
+	
+
+/* temp is length, rega pointers to buf */
+spid_read_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
+	hjam 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
+	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
+
+
+/* ===================== I2C dma ======================= */
+iicd_init_5m:
+	hjam 0xa,core_clksel			// use 5M rc clock to load eeprom
+	hjam 2,core_iicd_scl_low
+ 	hjam 3,core_iicd_scl_high
+	hjam 3,core_iicd_start_setup
+	hjam 3,core_iicd_start_hold
+	hjam 3,core_iicd_stop_setup
+	hjam 2,core_iicd_data_setup
+	rtn
+
+iicd_init_12m:
+	hjam 5,core_iicd_scl_low
+ 	hjam 7,core_iicd_scl_high
+	hjam 7,core_iicd_start_setup
+	hjam 7,core_iicd_start_hold
+	hjam 7,core_iicd_stop_setup
+	hjam 5,core_iicd_data_setup
+	rtn
+
+
+
+wait_iicd_done:
+	hfetch 1,core_dma_status
+	bbit0 iicd_done,wait_iicd_done
+	rtn
+
+	/* pdata is iic addr, rega points to buf, temp is length */
+iicd_read_data:
+	store 1,mem_iicd_tbuf
+	setarg mem_iicd_tbuf
+	hstore 2,core_iicd_txaddr
+	setarg 1
+	hstore 2,core_iicd_txlen
+	hstoret 2,core_iicd_rxlen
+	deposit rega
+	hstore 2,core_iicd_rxaddr
+	hjam 1,core_iicd_ctrl
+	hjam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+byteswap_addr_mi:
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	rtn
+
+
+//length:temp 
+//mem ptr:rega
+//eeprom addr offset:regb
+iicd_read_eep_data:
+	set1 mark_ext_patch,mark
+	bpatch patch20_2,mem_patch20
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+
+/* pdata:eeprom address, rega pointers to buf, temp is length  */
+iicd_read_eep_adr:
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+
+/* rega pointers to buf, temp is length  */
+iicd_read_eep:
+	set1 mark_ext_patch,mark
+	bpatch patch20_3,mem_patch20
+	setarg 4
+	hstore 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+3
+	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
+	hjam iicd_start,core_misc_ctrl
+	arg iicd_done,queue
+	call decrypt_code
+	call wait_iicd_done
+	isolate1 iicd_crcok,pdata	
+	call set_ucode_status
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch20_4,mem_patch20
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch20_5,mem_patch20
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch20_6,mem_patch20
+	fetch 2,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
+
+
+
+	/* pdata is eeprom address, rega pointers to txdata(3 ahead bytes should be left), temp is length */
+iicd_write_eep:
+	copy pdata,regb
+	set1 mark_ext_patch,mark
+	bpatch patch20_7,mem_patch20
+	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
+	deposit rega
+	hstore 2,core_iicd_txaddr
+	setarg 0
+	hstore 2,core_iicd_rxlen
+	hjam 1,core_iicd_ctrl
+	hjam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	copy regb,pdata
+	istore 3,rega
+	nop 10000
+	nop 10000
+	nop 10000
+	rtn
+
+/* ===================== OTP ======================= */
+
+otp_enable_chgpump:
+	hjam 0x70,rfen_chgpump
+	nop param_chgpump_delay
+	rtn
+
+otp_disable_chgpump:
+	hjam 0x30,rfen_chgpump
+	rtn
+	
+otp_set_addr:
+	lshift3 pdata,pdata
+	hstore 2,core_otp_addr
+	hjam 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
+	hjam 0x02,core_otp_ctrl	/* web */
+	hjam 0x82,core_otp_ctrl
+	set0 7,pdata				/* dle */
+	hstore 1,core_otp_din
+	hjam 0x8a,core_otp_ctrl	/* pgmen */
+	nop 11
+	hjam 0xca,core_otp_ctrl	/* vppen */
+	nop 33
+	hjam 0x4a,core_otp_ctrl	/* web 2nd */
+	nop 44
+	hjam 0xca,core_otp_ctrl	/* release web */
+	nop 22
+	hjam 0x8a,core_otp_ctrl	/* release vppen */
+	nop 33
+	hjam 0x82,core_otp_ctrl	/* release pgmen */
+	nop 1
+	hjam 0x92,core_otp_ctrl	/* pgmvfy */
+	nop 10
+	hjam 0xb2,core_otp_ctrl	/* readen */
+	hfetch 1,core_otp_rdata
+	hjam 0x92,core_otp_ctrl	/* release readen */
+	nop 1
+	hjam 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
+	hjam 0x83,core_otp_ctrl
+	rtn
+
+otp_ce:
+	hjam 0x82,core_otp_ctrl	/* ceb */
+	nop 12
+	hjam 0x80,core_otp_ctrl	/* rstn */
+	hjam 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
+otpd_read_special:
+	hjam 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
+	hjam 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
+	hjam 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
+	hjam 0x83,core_otp_ctrl	/* release ceb */
+	rtn
+
+/* ===================== uart dma ======================= */
+uartd_rx_cnt_got_first_byte:
+	jam 1,mem_uartd_rxitems_got_data
+	force uart_rx_timer,queue
+	fetch 2,mem_uartd_rx_timeout
+	branch timer_init
+uartd_rx_cnt_with_threshold:
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	fetcht 1,mem_uartd_rxitems_threshold
+	isub temp,null
+	branch uartd_rx_cnt_rtn_value,positive
+	fetch 1,mem_uartd_rxitems_got_data
+	branch uartd_rx_cnt_got_first_byte,blank
+	arg uart_rx_timer,queue
+	call timer_check
+	branch uartd_rx_cnt_rtn_value,blank
+	setarg 0
+	rtn
+uartd_rx_cnt_rtn_value:
+	force uart_rx_timer,queue
+	call timer_stop
+	jam 0,mem_uartd_rxitems_got_data
+	hfetch 2,core_uart_rxitems
+	rtn
+	
+
+
+
+	
+	/* temp=bytes to send */	
+uartd_prepare_tx:
+	hfetch 2,core_uart_twptr
+	iforce contwu
+	rtn
+
+uartd_send:
+	deposit contwu
+	hstore 2,core_uart_twptr
+	rtn
+
+uartd_prepare_rx:
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	iforce loopcnt
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	rtn
+
+	//len in temp
+uartd_rxdone_by_len:
+	hfetch 2,core_uart_rrptr
+	iadd temp,pdata
+	copy pdata,contru
+uartd_rxdone:
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+uart_set_baud_by_mem:
+	fetch uart_baud_len,mem_baud
+	hstore uart_baud_len,core_uart_baud
+	rtn
+
+/* ===================== eeprom data ======================= */
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch21_0,mem_patch21
+	call eeprom_store_remote_bdaddr
+	call eeprom_store_last_record_index
+	fetch 1,mem_record_bt_mode
+	beq REC_4_MODE,eeprom_store_rec_4_mode
+	beq REC_3_MODE,eeprom_store_link_key
+	rtn
+eeprom_store_rec_4_mode:
+	call eeprom_store_le_ltl
+	branch eeprom_store_le_local_addr
+	
+//
+eeprom_load_reconn_info:
+	set1 mark_ext_patch,mark
+	bpatch patch21_1,mem_patch21
+	call eeprom_load_reconn_bdaddr
+	fetch 1,mem_select_list_item
+	rtneq 0xff
+	fetch 6,mem_temp_lap
+	store 6,mem_hci_plap
+	fetch 1,mem_record_bt_mode
+	store 1,mem_xrecord_mode
+	beq REC_3_MODE,eeprom_load_rec_3_mode
+	beq REC_4_MODE,eeprom_load_rec_4_mode
+	rtn
+eeprom_load_reconn_bdaddr:
+	call eeprom_load_last_record_index
+	fetch 1,mem_select_list_item
+	rtneq 0xff
+	branch eeprom_load_remote_bdaddr
+eeprom_load_rec_3_mode:
+	call eeprom_load_link_key
+	branch check_link_key_load
+eeprom_load_rec_4_mode:
+	call eeprom_load_ltk_key
+	branch check_ltk_load
+eeprom_clear_bd_reconn_info:
+	call eeprom_load_bdaddr_list
+	disable user
+	call find_addr_from_bd_list
+	nbranch at_error_rev_end,user
+eeprom_clear_reconn_info_common:
+	fetcht 2,mem_list_item_ptr
+	increase -1,temp
+	setarg 0
+	istore 7,temp
+	arg 28,temp
+	arg mem_bdaddr_list_buff+7,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_write_eep_data
+
+eeprom_clear_all_reconn_info:
+	set1 mark_ext_patch,mark
+	bpatch patch21_2,mem_patch21
+	arg mem_bdaddr_list_buff,contw
+	force 4,loopcnt
+	call memset0
+	arg 28,temp
+	arg mem_bdaddr_list_buff,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_write_eep_data
+
+eeprom_erase_reconn_info:
+	set1 mark_ext_patch,mark
+	bpatch patch21_3,mem_patch21
+	setarg 0x0
+	store 3,mem_plap
+	istore 3,contw
+	branch eeprom_store_remote_bdaddr
+	
+eeprom_load_last_record_index:
+	arg 1,temp
+	arg mem_select_list_item,rega
+	arg eeprom_last_record,regb
+	branch iicd_read_eep_data
+
+eeprom_store_last_record_index:
+	arg 1,temp
+	arg mem_select_list_item,rega
+	arg eeprom_last_record,regb
+	branch iicd_write_eep_data
+
+
+eeprom_store_remote_bdaddr:
+	set1 mark_ext_patch,mark
+	bpatch patch21_4,mem_patch21
+	call eeprom_load_bdaddr_list
+	disable user
+	call find_addr_from_bd_list
+	rtn user
+eeprom_store_remote_addr_unfind:
+	jam 0,mem_select_list_item
+	fetch 6,mem_temp_lap
+	store 6,mem_bdaddr_list_buff+1
+	fetch 1,mem_record_bt_mode
+	store 1,mem_bdaddr_list_buff
+	arg 28,temp
+	arg mem_bdaddr_list_buff,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_write_eep_data
+
+
+eeprom_store_le_local_addr:
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_le_reconn_local_addr,regb
+	branch iicd_write_eep_data
+	
+eeprom_load_le_loacal_addr:
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_le_reconn_local_addr,regb
+	branch iicd_read_eep_data
+
+
+eeprom_load_remote_bdaddr:
+	set1 mark_ext_patch,mark
+	bpatch patch21_5,mem_patch21
+	arg 7,temp
+	arg mem_temp_reconn_record,rega
+	arg eeprom_bdaddr_list,regb
+	fetch 1,mem_select_list_item
+	mul32 pdata,7,pdata
+	iadd regb,regb
+	branch iicd_read_eep_data
+
+eeprom_linkkey_addr:
+	arg 0x10,temp
+	arg eeprom_linkkey_list,regb
+	fetch 1,mem_select_list_item
+	lshift4 pdata,pdata
+	iadd regb,regb
+	rtn
+	
+eeprom_store_le_ltl:
+	arg mem_le_ltk,rega
+	branch eeprom_store_link_key_common
+eeprom_store_link_key:
+	arg mem_link_key,rega
+eeprom_store_link_key_common:
+	set1 mark_ext_patch,mark
+	bpatch patch21_6,mem_patch21
+	call eeprom_linkkey_addr
+	branch iicd_write_eep_data
+
+eeprom_load_ltk_key:
+	arg mem_le_ltk,rega
+	branch eeprom_load_link_key_common
+eeprom_load_link_key:
+	arg mem_link_key,rega
+eeprom_load_link_key_common:
+	set1 mark_ext_patch,mark
+	bpatch patch21_7,mem_patch21
+	call eeprom_linkkey_addr
+	branch iicd_read_eep_data
+
+
+	
+eeprom_load_bdaddr_list:
+	arg 28,temp
+	arg mem_bdaddr_list_buff+7,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_read_eep_data
+
+find_addr_from_bd_list:
+	set1 mark_ext_patch,mark
+	bpatch patch22_0,mem_patch22
+	setarg mem_bdaddr_list_buff+7
+	store 2,mem_list_item_ptr
+	jam 0,mem_select_list_item
+	arg 4,loopcnt
+find_addr_from_list:
+	copy loopcnt,pdata
+	store 1,mem_pdatatemp
+	fetch 2,mem_list_item_ptr
+	copy pdata,rega
+	call find_addr_from_list_compare
+	rtn user
+	fetch 2,mem_list_item_ptr
+	increase 7,pdata
+	store 2,mem_list_item_ptr
+	fetch 1,mem_select_list_item
+	increase 1,pdata
+	store 1,mem_select_list_item
+	fetch 1,mem_pdatatemp
+	copy pdata,loopcnt
+	loop find_addr_from_list
+	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
+check_ltk_load:
+	fetch 6,mem_hci_plap
+	rtn blank
+	jam 1,mem_ltk_exists
+	rtn
+
+find_addr_from_list_compare:
+	arg mem_temp_reconn_record,regb
+	arg 7,loopcnt
+	call string_compare
+	branch enable_usr,zero
+	rtn
+enable_usr:
+	enable user
+	rtn
+le_eeprom_load_reconn_info:
+	branch assert
+
+
+/* =============== GPIO CONTROL ================= */
+
+
+	//temp [4:0]=GPIO number, 0-31, 
+gpio_set_wake_by_current_state:
+	set1 mark_ext_patch,mark
+	bpatch patch22_1,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch22_2,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch22_3,mem_patch22
+	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:
+	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
+	
+	//temp [4:0]=GPIO number, 0-31, [7]=0, low active. set gpio to inactive state
+gpio_config_output:	
+	setflip gpio_active_bit,temp
+	call gpio_out
+	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
+
+	
+	/* temp is gpio number, return true if gpio active */
+gpio_get_bit:
+	arg core_gpio_in,contw
+	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:
+	isolate1 7,null
+	branch gpio_out_flag
+
+gpio_out_active:
+	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_test:
+	fetch 1,mem_seqi
+	rtneq 0x7f
+	hjam 0,core_gpio_out3
+	nop 30
+	hjam 8,core_gpio_out3
+	rtn
+
+
+/* ===================== PWM ======================= */
+
+set_pwm_blink:
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	hstore 2,core_pwm_ncnt0
+	hstore 2,core_pwm_pcnt0
+	rtn
+
+set_pwm_steadyon:
+	setarg 0
+	hstore 2,core_pwm_ncnt0
+	setarg 1
+	hstore 2,core_pwm_pcnt0
+	rtn
+
+set_pwm_off:
+	setarg 0
+	hstore 2,core_pwm_ncnt0
+	hstore 2,core_pwm_pcnt0
+	rtn
+
+	
+/* ===================== CODEC ======================= */
+
+init_filter_ram:
+	arg 0x8800,contw
+	arg 0x20,loopcnt
+	call memset0
+	setarg 0x4f9
+	hstore 2,0x8848
+	hstore 2,0x884a
+	hstore 2,0x884c
+	hstore 2,0x886c
+	hstore 2,0x888c
+	hstore 2,0x88ac
+	setarg 0x204
+	hstore 2,0x88ae
+	setarg 0x0506
+	hstore 2,0x88b0
+	setarg 0x0504
+	hstore 2,0x88b2
+	setarg 0x0200
+	hstore 2,0x88b4
+	setarg 0xFEFB
+	hstore 2,0x88b6
+	setarg 0xFAF9
+	hstore 2,0x88b8
+	setarg 0xFAFB
+	hstore 2,0x88ba
+	setarg 0xFD00
+	hstore 2,0x88bc
+	setarg 0x0408
+	hstore 2,0x88be
+	setarg 0x0A0C
+	hstore 2,0x88c0
+	setarg 0x0B09
+	hstore 2,0x88c2
+	setarg 0x0500
+	hstore 2,0x88c4
+	setarg 0xF8F1
+	hstore 2,0x88c6
+	setarg 0xECE8
+	hstore 2,0x88c8
+	setarg 0xE9EB
+	hstore 2,0x88ca
+	setarg 0xF500
+	hstore 2,0x88cc
+	setarg 0x1223
+	hstore 2,0x88ce
+	setarg 0x374B
+	hstore 2,0x88d0
+	setarg 0x5E71
+	hstore 2,0x88d2
+	setarg 0x787F
+	hstore 2,0x88d4
+	rtn
+
+enable_pcm:
+	set1 mark_ext_patch,mark
+	bpatch patch22_4,mem_patch22
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_CODEC,pdata
+	hstore 2,core_clkoff
+	hjam 0x11,core_enc_ctrl
+	hjam 0x1,core_cvsd_ctrl
+	hjam 0x1,core_codec_ctrl
+	hjam 0x11,core_dec_ctrl
+	rtn
+
+disable_pcm:
+	set1 mark_ext_patch,mark
+	bpatch patch22_5,mem_patch22
+	hfetch 2,core_clkoff
+	set1 CLOCK_OFF_CODEC,pdata
+	hstore 2,core_clkoff
+	hjam 0x4,core_enc_ctrl
+	hjam 0x4,core_dec_ctrl
+	hjam 0x0,core_cvsd_ctrl
+	hjam 0x0,core_codec_ctrl
+	rtn
+
+
+
+get_sco_data:
+	fetch 1,mem_state
+	rtnbit0 state_insco
+	arg mem_sco_obuf,contw
+	arg 30,loopcnt
+get_sco_data_loop:
+	hfetch 1,core_pcminfifo
+	istore 1,contw
+	loop get_sco_data_loop
+	rtn
+	
+
+process_sco_data:
+	fetch 1,mem_state
+	rtnbit0 state_insco
+	arg mem_sco_ibuf,contr
+	force 30,loopcnt
+process_sco_loop:
+	ifetch 1,contr
+	hstore 1,core_pcmoutfifo
+	loop process_sco_loop
+	rtn
+
+init_sched:
+	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_pd_uart_tx:
+	call gpio_cfg_uart_tx_output
+	arg UART_WAKEUP_TX,temp
+	branch gpio_out_active
+
+gpio_cfg_uart_rx_output:
+	call gpio_uart2gpio
+	arg UART_WAKEUP_RX,temp
+	branch gpio_config_output
+
+gpio_pu_uart_rx:
+	call gpio_cfg_uart_rx_output
+	arg UART_WAKEUP_RX,temp
+	branch gpio_out_inactive
+
+gpio_pd_uart_rx:
+	call gpio_cfg_uart_rx_output
+	arg UART_WAKEUP_RX,temp
+	branch gpio_out_active
+
+gpio_tx_config_input_with_pu:
+	call gpio_uart2gpio
+	hfetch 1, core_gpio_pu0
+	set1 UART_WAKEUP_TX,pdata
+	hstore 1,core_gpio_pu0
+	arg UART_WAKEUP_TX,temp
+	branch gpio_config_input
+
+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_gpio2uart:
+	hfetch 1,core_gpio_sel1
+	or_into 0x04,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+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
+	
+
+prcp_init:
+	setarg prcp_process
+	store 2,mem_cb_att_write
+	rtn
+prcp_process:
+	call clear_prcp_sendbuff
+	fetch 1,mem_prcp
+	beq PRCP_LE,le_prcp
+	beq PRCP_SSP,prcp
+	branch assert
+le_prcp:
+	arg PRCP_RX_LE,temp
+	storet 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	ifetch 1,contr
+	call prcp_parse
+	branch prcp_le_tx
+prcp:
+	call prcp_parse
+	branch prcp_tx
+prcp_parse:
+	copy contr,rega
+	set1 mark_ext_patch,mark
+	bpatch patch26_1,mem_patch26
+	ifetch 1,contr
+	beq COMMON_RES,prcp_parse_common_res
+	beq READ_REGISTERS_REQ,prcp_parse_read_registers_req
+	beq READ_REGISTERS_RES,prcp_parse_read_registers_res
+	beq WRITE_REGISTERS_REQ,prcp_parse_write_registers_req
+	beq I2C_CONFIG_REQ,prcp_parse_i2c_config_req
+	beq I2C_READ_REQ,prcp_parse_i2c_read_req
+	beq I2C_READ_RES,prcp_parse_i2c_read_res
+	beq I2C_WRITE_REQ,prcp_parse_i2c_write_req
+	beq SPI_CONFIG_REQ,prcp_parse_spi_config_req
+	beq SPI_READ_REQ,prcp_parse_spi_read_req
+	beq SPI_READ_RES,prcp_parse_spi_read_res
+	beq SPI_WRITE_REQ,prcp_parse_spi_write_req
+	beq PWM_CONFIG_REQ,prcp_parse_pwm_config_req
+	beq PWM_WRITE_REQ,prcp_parse_pwm_write_req
+	beq GPIO_CONFIG_REQ,prcp_parse_gpio_config_req
+	beq GPIO_READ_REQ,prcp_parse_gpio_read_req
+	beq GPIO_READ_RES,prcp_parse_gpio_read_res
+	beq GPIO_WRITE_REQ,prcp_parse_gpio_write_req
+	beq OTA_WRITE_REQ,prcp_parse_ota_write_req
+	beq OTA_END_CMD,prcp_parse_ota_end_cmd
+	rtn
+
+
+prcp_parse_common_res:
+	copy rega,contr
+    	ifetch 1,contr
+    	lshift8 pdata,pdata
+    	store 3,mem_prcp_data
+	rtn
+prcp_parse_read_registers_req:
+	rtn
+prcp_parse_read_registers_res:
+	rtn
+prcp_parse_write_registers_req:
+	rtn
+/*********************************************/
+/************** prcp_spi********************/
+/*********************************************/
+prcp_parse_spi_config_req:
+	rtn
+prcp_parse_spi_read_req:
+	rtn
+prcp_parse_spi_read_res:
+	rtn
+prcp_parse_spi_write_req:
+	rtn
+/***********************************************/
+/************** prcp_pwm********************/
+/***********************************************/
+prcp_parse_pwm_config_req:
+	ifetch 4,contr
+	hstore 1,core_gpio_sel2
+	rshift8 pdata,pdata
+	hfetcht 1,core_gpio_sel1
+	and_into 0x7f,temp
+	ior temp,temp
+	hstoret 1,core_gpio_sel1
+	rshift8 pdata,pdata
+	hfetcht 1,core_clkoff+1
+	and_into 0xdf,temp
+	ior temp,temp
+	hstoret 1,core_clkoff+1
+	rshift8 pdata,pdata
+	hfetcht 1,core_clksel
+	and_into 0x3f,temp
+	ior temp,temp
+	hstoret 1,core_clksel
+	branch prcp_parse_common_res
+prcp_parse_pwm_write_req:
+	ifetch 9,contr
+    hfetcht 1,core_gpio_key2//PWM_enable
+    and_into 0x3f,temp
+	ior temp,temp
+	hstoret 1,core_gpio_key2
+	rshift8 pdata,pdata
+	hstore 2,core_pwm_pcnt0
+	rshift16 pdata,pdata
+	hstore 2,core_pwm_ncnt0
+	rshift16 pdata,pdata
+	hstore 2,core_pwm_pcnt1
+	rshift16 pdata,pdata
+	hstore 2,core_pwm_ncnt1
+	branch prcp_parse_common_res
+/**********************************************/
+/************** prcp_gpio********************/
+/***********************************************/
+prcp_parse_gpio_config_req:
+	ifetch 4,contr
+    	hstore 4,core_gpio_oe0
+    	ifetch 4,contr
+    	hstore 4,core_gpio_pu0
+   	ifetch 4,contr
+    	hstore 4,core_gpio_pd0
+    	ifetch 1,contr
+    	hstore 1,core_gpio_sel
+    	ifetch 1,contr
+    	hstore 1,core_gpio_sel1
+  	ifetch 1,contr
+    	hstore 1,core_gpio_sel2
+    	branch prcp_parse_common_res
+prcp_parse_gpio_read_req:
+	branch prcp_parse_gpio_read_res
+prcp_parse_gpio_read_res:
+	jam 0x10,mem_prcp_data
+    	arg mem_prcp_data+1,contw
+   	hfetch 4,core_gpio_out0
+    	istore 4,contw
+    	hfetch 4,core_gpio_in
+    	istore 4,contw
+    	rtn
+prcp_parse_gpio_write_req:
+	ifetcht 1,contr
+    	ifetch 1,contr
+   	lshift3 pdata,pdata
+   	lshift4 pdata,pdata
+   	ior temp,temp
+  	call gpio_out
+    	branch prcp_parse_common_res
+
+/*********************************************/
+/************** prcp_i2c********************/
+/*********************************************/
+prcp_parse_i2c_read_req:
+	ifetcht 1,contr
+	hstoret 1,iic_slave_addr
+	ifetch 1,contr
+	compare 1,pdata,0xff
+	ifetch 1,contr
+	hstore 1,iic_fifo
+	branch iic_read_data_len,true
+	ifetch 1,contr
+	hstore 1,iic_fifo
+iic_read_data_len:
+	ifetch 1,contr
+	copy pdata,loopcnt
+	increase -1,pdata
+	or_into 0x90,pdata
+	hstore 1,iic_ctr//read byte
+	hjam 2,iic_cr//
+	nop 1
+	//call iic_wait
+	arg mem_prcp_data ,contw
+iic_read_loop:
+	hfetch 1,iic_fifo
+	istore 1,contw
+	loop iic_read_loop
+	rtn
+
+clear_prcp_sendbuff:
+	setarg 0
+	store 4,mem_prcp_data
+	istore 8,contw
+	istore 8,contw
+	rtn
+	
+/*********************************************/
+/************** prcp_ota********************/
+/* rxbuf:[0]head,[1-2]offset,[3]len,[4-19]data]*/
+//rega points to rxbuf
+prcp_parse_ota_write_req:
+        copy rega,pdata//copy contr,pdata
+        increase 1,pdata//
+        store 2,rx_buf_data_ptr
+        fetch 2, mem_eeprom_ota_base_addr
+        beq 0x0000,prcp_parse_ota_start1
+prcp_parse_ota_load:    
+        fetch 2, mem_eeprom_ota_base_addr
+        fetcht 2,rx_buf_data_ptr
+        ifetcht 2,temp
+        iadd temp,pdata
+        fetcht 2,rx_buf_data_ptr
+        increase 2,temp
+        copy temp,contr
+        ifetcht 1,contr  // data_len =>temp 
+        copy contr,rega //data_buf to rega
+        branch iicd_write_ota_data 
+
+prcp_parse_ota_start1:   /*compute the bytes of code*/    
+	setarg 0x0002
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	arg 0x2,loopcnt
+prcp_parse_ota_loop1:
+         call get_block_header
+	nbranch prcp_parse_ota_start2, zero
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	iadd temp,pdata
+	store 2,mem_eeprom_ota_base_addr
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	loop prcp_parse_ota_loop1
+prcp_parse_ota_start2: /*compute the bytes of init-mem*/  
+	fetch 2, mem_eeprom_ota_base_addr
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	arg 0xffff,loopcnt
+prcp_parse_ota_loop2:
+         call get_block_header
+	nbranch prcp_parse_ota_load, zero
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	iadd temp,pdata
+	increase 2,pdata
+	store 2,mem_eeprom_ota_base_addr
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	loop prcp_parse_ota_loop2
+
+prcp_parse_ota_end_cmd:  /*end of ota*/
+         fetch 2,mem_eeprom_ota_base_addr
+         increase 2,pdata
+         byteswap pdata,pdata
+         store 2,mem_eeprom_ota_base_addr
+	arg mem_eeprom_ota_base_addr,rega  
+         arg 0x02,temp  
+         arg  0x0000,pdata
+         call  iicd_write_ota_data
+         setarg 0x0000
+         store 2,mem_eeprom_ota_base_addr
+	rtn
+
+prcp_parse_i2c_config_req:
+	rtn
+prcp_parse_i2c_read_res:
+	rtn
+prcp_parse_i2c_write_req:
+	rtn	
+	
+	
+
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch37_7,mem_patch37
+	setarg 0
+	store 1,mem_spp_state
+	store 1,mem_remote_spp_channel
+	store 1,mem_pn_dlci
+	jam 0x50,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
+
+dlci_to_address_res:
+	//input DLCI from temp
+	lshift2 temp,temp
+	set1 RFCOMM_ADDRESS_EXT_LEN,temp
+	fetch 1,mem_rfcomm_initiator
+	call set_CR_bit,blank
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_0,mem_patch38
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_1,mem_patch38
+	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
+	rtneq RFCOMM_FRAME_TYPE_DISCONN
+	branch assert
+
+
+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
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+	fetch 1,mem_pn_dlci
+	rshift pdata,pdata
+	sub pdata,SPP_SLAVE_CHANNEL,null
+	branch parse_DLCI0_rp_uih_pn_cmd_spp,zero
+	branch assert
+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_param_length_common:
+	fetch 2,mem_param_payload_ptr
+	copy pdata,contr
+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
+	fetch 1,mem_ms_channel
+	sub pdata,1,null
+	branch parse_DLCI0_rp_uih_ms_cmd_spp,zero
+	branch assert
+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:
+	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_uih_rp:
+	fetch 1,mem_current_channel
+	sub pdata,SPP_SLAVE_CHANNEL,null
+	branch parse_uih_rp_spp,zero
+	branch assert
+parse_uih_rp_spp:
+	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
+	branch assert
+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:
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_2,mem_patch38
+	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
+	lshift3 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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_3,mem_patch38
+	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
+	setarg 0x013f
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_ua:
+	set1 mark_ext_patch,mark
+	bpatch patch38_4,mem_patch38
+	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
+	setarg 0x0173
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_param_neg_cmd:
+	set1 mark_ext_patch,mark
+	bpatch patch38_5,mem_patch38
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_6,mem_patch38
+	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
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1181
+	istore 2,contw
+	fetch 1,mem_pn_dlci
+	istore 1,contw //DLCI
+	setarg 0x0000e0
+	istore 3,contw
+	setarg RFCOMM_MAX_FRAME_SIZE //max frame size
+	istore 2,contw 
+	setarg 0x00 //max retrans
+	istore 1,contw
+	setarg 0x07
+	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+rfcomm_send_modem_status_cmd:
+	set1 mark_ext_patch,mark
+	bpatch patch38_7,mem_patch38
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_0,mem_patch39
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_1,mem_patch39
+	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:
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_2,mem_patch39
+	fetch 2,mem_current_length
+	copy pdata,loopcnt
+	call uartd_prepare_tx
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call uart_copy_tx_bytes
+	branch uartd_send
+
+spp_tx_rfcomm_packet:
+	set1 mark_ext_patch,mark
+	bpatch patch39_3,mem_patch39
+	//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 spp_tx_rfcomm_from_uart,positive
+	store 2,mem_current_packet_length
+spp_tx_rfcomm_from_uart:
+	fetch 1,mem_credit_given
+	branch spp_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 spp_tx_rfcomm_from_uart_common
+spp_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
+spp_tx_rfcomm_from_uart_common:
+	set1 mark_ext_patch,mark
+	bpatch patch39_4,mem_patch39
+	fetch 1,mem_current_packet_length
+	sub pdata,127,null
+	branch spp_tx_rfcomm_from_uart_common0,positive
+	fetch 1,mem_rfcomm_send_offset
+	increase 1,pdata
+	store 1,mem_rfcomm_send_offset
+spp_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 spp_tx_write_length
+	call spp_tx_write_given_credit
+	call get_uart_rrptr	
+	fetch 1,mem_current_packet_length
+	copy pdata,loopcnt
+	call uart_copy_rx_bytes
+	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
+	branch spp_send_end
+	
+spp_tx_write_length:
+	fetch 2,mem_current_packet_length
+	sub pdata,0x7f,null
+	nbranch spp_tx_write_long_packet,positive
+	lshift pdata,pdata
+	set1 0,pdata
+	istore 1,contw
+	rtn
+spp_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
+spp_tx_write_given_credit:
+	fetch 1,mem_credit_given
+	rtn blank
+	istore 1,contw
+	rtn
+
+	
+
+
+scheduler_process:
+	set1 mark_ext_patch,mark
+	bpatch patch33_5,mem_patch33
+	call check_51cmd
+	call app_process_bb_event
+	call process_conn_sm
+/* check the connection state sequence byte */
+	set1 mark_ext_patch,mark
+	bpatch patch33_6,mem_patch33
+	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.
+	set1 mark_ext_patch,mark
+	bpatch patch33_7,mem_patch33
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+//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
+scheduler_process1:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	set1 mark_ext_patch,mark
+	bpatch patch34_0,mem_patch34
+//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
+	set1 mark_ext_patch,mark
+	bpatch patch34_1,mem_patch34
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch app_process_bt
+	
+scheduler_tx_disconnect_hid:
+	set1 mark_ext_patch,mark
+	bpatch patch34_2,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch34_3,mem_patch34
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch34_4,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch34_5,mem_patch34
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch34_6,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch34_7,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_0,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_1,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_2,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_3,mem_patch35
+	call l2cap_malloc_sdp_channel
+	call sdp_send_spp_request
+	branch MSDP_send_req_done
+
+upper_sm_send_rfcomm_conn:
+	set1 mark_ext_patch,mark
+	bpatch patch35_4,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_5,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_6,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_7,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_0,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_1,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_2,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_3,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_4,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_5,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_7,mem_patch3c
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+	ifetch 1,contr
+	copy pdata,regb				/* PDUID */
+	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" */
+	set1 mark_ext_patch,mark
+	bpatch patch3d_0,mem_patch3d
+	deposit regb						/* PDUID  */
+	beq SDP_SERVICE_SEARCH_REQUEST,servicesearch_req			
+	beq SDP_SERVICE_ATTRIBUTE_REQUEST,serviceattribute_req
+	beq SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST,servicesearchattribute_req
+	beq SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE,servicesearchattribute_res
+	branch sdp_insufficient_resource
+
+/**********************************************************************/
+/* servicesearch_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	      */
+/*                                                                    */
+/**********************************************************************/     
+servicesearch_req:
+	call ask_serviceclassid
+	compare 1,temp,0xff
+	branch empth_sa_rsp,true
+	compare 0xff,temp,0xff
+	branch sdp_invalid_reqest_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_uuid_search_pat,timeup
+	ifetch 2,timeup
+	rtn blank
+	increase 2,timeup
+	call search_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_handle_list,contr
+	copy queue,loopcnt
+	branch servicesearch_req_blank,zero
+servicesearch_req_loop:	
+	ifetch 4,contr
+	istore 4,contw
+	loop servicesearch_req_loop
+servicesearch_req_blank:	
+	force 0,pdata
+	istore 1,contw							/* continuation state */
+	deposit regc
+	store 1,mem_sdp_tx_pkt_length
+	branch assert,blank
+	rtn
+
+/**********************************************************************/
+/* serviceattribute_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	      */
+/*                                                                    */
+/**********************************************************************/     
+serviceattribute_req:
+	ifetch 4,contr				/* service record handle */
+	store 4,mem_sdp_record_handle	 
+	increase -4,timeup
+	iforce temp
+	ifetch 2,contr				/* max attribute byte count */
+	byteswap pdata,pdata
+	increase -18,pdata	
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6		/* result: data size stored in rega */
+	branch sdp_invalid_reqest_syntax,zero
+	compare 5,rega,0xff
+	//branch serviceattribute_req_all,true
+	branch serviceattribute_judge_WholeRangle,true
+serviceattribute_isnot_wholerangle:
+	arg mem_attrib_list,contw
+	force 0,queue
+	branch serviceattribute_req_loop
+serviceattribute_judge_wholerangle:
+	ifetch 1,contr
+	bne 0xa,sdp_invalid_reqest_syntax
+	ifetch 2,contr
+	nbranch serviceattribute_judge_WholeRangle_false1,blank
+	ifetch 1,contr
+	bne 0xff,serviceattribute_judge_WholeRangle_false2
+	ifetch 1,contr
+	bne 0xff,serviceattribute_judge_WholeRangle_false3		//also exist potential bug because mem_attrib_list length is only 7f
+	increase -5,contr
+	branch serviceattribute_req_all
+serviceattribute_judge_wholerangle_false3:
+	increase -5,contr
+	branch serviceattribute_isnot_wholerangle
+serviceattribute_judge_wholerangle_false2:
+	increase -4,contr
+	branch serviceattribute_isnot_wholerangle
+serviceattribute_judge_wholerangle_false1:
+	increase -3,contr
+	branch serviceattribute_isnot_wholerangle
+serviceattribute_req_loop:	
+	ifetch 1,contr
+	beq 0x09, serviceattribute_req_one_id
+	beq 0x0a, serviceattribute_req_range_id
+serviceattribute_req_range_id:
+	ifetch 2, contr
+	istore 2, contw
+	increase 1,queue
+	byteswap pdata,regb
+	ifetch 2, contr
+	byteswap pdata,pdata
+serviceattribute_req_range_id_increase:	
+	increase 1, regb
+	isub regb, null
+	nbranch serviceattribute_req_range_id_finish,positive
+	copy pdata, regc
+	byteswap regb,pdata
+	istore 2, contw
+	increase 1,queue
+	copy regc, pdata
+	branch serviceattribute_req_range_id_increase
+serviceattribute_req_range_id_finish:
+	increase -5,timeup
+	increase -5,rega
+	branch serviceattribute_req_check_next_id
+serviceattribute_req_one_id:
+	ifetch 2,contr
+	istore 2,contw //save the attribute id in mem_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+serviceattribute_req_check_next_id:	
+	nbranch sdp_invalid_reqest_syntax,positive
+	nbranch serviceattribute_req_loop,zero
+	increase -1,timeup
+	nbranch sdp_invalid_reqest_syntax,zero
+	
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw//arg mem_SDP_Tx_payload+10,contw
+	arg mem_attrib_list,rega
+answer_handle_attributelist_next:
+	copy queue,pdata
+	branch answer_handle_attributelist_end,blank
+	ifetch 2,rega
+	branch answer_handle_attributelist_end,blank
+	iforce regb /* regb is the attribute ID */
+	fetch 4,mem_sdp_record_handle	
+	iforce temp
+	call search_handle_attrib
+	branch answer_handle_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len_obs
+	branch answer_handle_attributelist_notfound,blank
+	iforce loopcnt	
+	call memcpy
+answer_handle_attributelist_notfound:
+	increase 2,rega
+	increase -1, queue
+	branch answer_handle_attributelist_next
+
+answer_handle_attributelist_end:
+	force 0,pdata
+	istore 1,contw
+	increase -1,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,10,pdata//setarg mem_SDP_Tx_payload+10
+	isub contw,pdata
+	sub pdata,0,rega
+	byteswap rega, pdata
+	add temp,8,regb//store 2,mem_SDP_Tx_payload+8
+	istore 2,regb
+	increase 3,rega
+	byteswap rega, pdata
+	add temp,5,regb//store 2,mem_SDP_Tx_payload+5
+	istore 2,regb
+	increase 3,rega
+	byteswap rega, pdata
+	add temp,3,regb//store 2,mem_SDP_Tx_payload+3// ParLength
+	istore 2,regb	
+	increase 5,rega
+	copy rega,pdata
+	store 2,mem_sdp_tx_pkt_length
+	setarg 0x36
+	add temp,7,regb//jam 0x36, mem_SDP_Tx_payload+7
+	istore 1,regb
+	setarg 5
+	istore 1,temp//jam 5,mem_SDP_Tx_payload	// PDU ID
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	istore 2,regb
+	rtn
+serviceattribute_req_all:	
+	ifetch 1,contr
+	bne 0xa,sdp_invalid_reqest_syntax
+	ifetch 2,contr
+	nbranch sdp_invalid_reqest_syntax,blank
+	ifetch 1,contr
+	bne 0xff,sdp_invalid_reqest_syntax
+	ifetch 1,contr
+	bne 0xff,sdp_invalid_reqest_syntax
+	increase -5,timeup
+	ifetch 1, contr
+	beq 0, continue_zero
+	beq 1, continue_one_byte
+	beq 2, continue_two_byte
+continue_zero:	
+	store 2, mem_sdp_continue_byte
+	increase -1,timeup				/* continuation state byte (0) */
+	branch continue_end
+continue_one_byte:
+	ifetch 1, contr
+	store 2, mem_sdp_continue_byte
+	increase -2,timeup				/* continuation state byte (1) */
+	branch continue_end
+continue_two_byte:
+	ifetch 2, contr
+	byteswap pdata,pdata
+	store 2, mem_sdp_continue_byte	
+	increase -3,timeup				/* continuation state byte (2) */
+continue_end:
+	nbranch sdp_invalid_pdu_size,zero		/* invalid pdu size */
+	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
+	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 fragment_sdp, positive
+	// the last fragment
+	disable user
+	fetch 2, mem_sdp_continue_byte
+	branch 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 answer_attributelist_full_loop
+fisrt_fragment:
+	add rega,6,loopcnt
+	branch parlength_continue_byte, user
+	byteswap loopcnt,pdata
+	branch parlength_continue_byte_end
+parlength_continue_byte:
+	copy loopcnt, pdata
+	increase 2, pdata
+	byteswap pdata,pdata
+parlength_continue_byte_end:
+	istore 2,contw				/* ParLength */
+	increase -3,loopcnt
+	byteswap loopcnt,pdata			
+	istore 2,contw				/* AttrListByteCount */
+	copy timeup,contr
+	branch answer_attributelist_full_loop
+fragment_sdp:
+	enable user
+	fetch 2, mem_sdp_attribute_maxbyte
+	copy pdata, rega
+	copy pdata, loopcnt
+	fetch 2, mem_sdp_continue_byte
+	branch 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
+answer_attributelist_full_loop:	
+	ifetch 1,contr
+	istore 1,contw
+	loop answer_attributelist_full_loop
+	nbranch last_frag_continue, user
+	force 2,pdata
+	istore 1,contw
+	copy contr, pdata
+	isub timeup, pdata
+	byteswap pdata,pdata
+	istore 2, contw
+	branch sdp_frag_end
+last_frag_continue:
+	force 0,pdata
+	istore 1,contw
+sdp_frag_end:	
+	fetch 2,mem_sdp_tx_payload_ptr//setarg mem_SDP_Tx_payload
+	isub contw,pdata
+	sub pdata,0,pdata
+	store 2,mem_sdp_tx_pkt_length
+	call l2cap_get_sdp_tx_payload//jam 5,mem_SDP_Tx_payload
+	setarg 5
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid
+	istore 2,contw//store 2,mem_SDP_Tx_payload+1
+	rtn			
+/**********************************************************************/
+/* servicesearchattribute_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             */
+/*                                                                    */
+/**********************************************************************/     
+servicesearchattribute_req:
+	//compare 29,timeup,0xff
+	//branch empty_ssa_rsp,true
+	call ask_serviceclassid
+	compare 0xff,temp,0xff
+	branch servicesearchattribute_req_all,true
+	ifetch 2,contr				/* max attribute byte count */
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6
+	arg mem_attrib_list,contw
+	force 0,queue
+servicesearchattribute_req_loop:	
+	ifetch 3,contr //service recorde handle 0x0a0000ffff
+	bne 0x09,servicesearchattribute_req_all
+servicesearchattribute_req_uuid:
+	rshift8 pdata,pdata
+	istore 2,contw //save the attribute id in mem_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+	nbranch sdp_invalid_reqest_syntax,positive
+	nbranch servicesearchattribute_req_loop,zero
+	increase -1,timeup
+	nbranch sdp_invalid_reqest_syntax,zero
+servicesearchattribute_req_search:
+	call l2cap_get_sdp_tx_payload
+	increase 13,contw//arg mem_SDP_Tx_payload+13,contw
+	fetch 2,mem_uuid_search_pat
+	iforce regc
+	arg mem_attrib_list,rega
+answer_attributelist_next:	
+	ifetch 4,rega
+	branch answer_attributelist_end,blank
+	ifetch 2,rega
+	iforce regb						/* regb is the attribute ID */
+	call search_attrib
+	branch answer_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len_obs
+	iforce loopcnt	
+answer_attributelist_attrib_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop answer_attributelist_attrib_loop
+answer_attributelist_notfound:
+	increase 2,rega
+	branch answer_attributelist_next
+servicesearchattribute_req_all:
+	//bne 0x0a,sdp_invalid_reqest_syntax
+	//rshift8 pdata,pdata
+	//nbranch sdp_invalid_reqest_syntax,blank
+	ifetch 1,contr
+	//bne 0xff,sdp_invalid_reqest_syntax
+	ifetch 1,contr
+	//bne 0xff,sdp_invalid_reqest_syntax
+	increase -5,timeup
+	increase -5,rega
+	nbranch sdp_invalid_reqest_syntax,positive
+	arg mem_uuid_search_pat,timeup
+	ifetch 2,timeup
+	//rtn blank
+	increase 2,timeup
+	call search_uuid  //handle number in queue
+	deposit queue
+	store 1,mem_handle_humber
+	branch empty_ssa_rsp,blank
+	arg 0,queue
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw//arg mem_SDP_Tx_payload+10,contw
+	branch servicesearchattribute_req_next_handle
+answer_attributelist_end:
+	force 0,pdata
+	istore 1,contw
+	increase -1,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,13,pdata//setarg mem_SDP_Tx_payload+13
+	isub contw,pdata
+	branch no_attribute_return,zero
+	sub pdata,0,pdata
+	add temp,12,regb//store 1,mem_SDP_Tx_payload+12
+	istore 1,regb
+	increase 3,pdata
+	add temp,9,regb//store 1,mem_SDP_Tx_payload+9
+	istore 1,regb
+	increase 3,pdata
+	byteswap pdata,pdata
+	add temp,5,regb//store 2,mem_SDP_Tx_payload+5
+	istore 2,regb		/* AttrListByteCount */
+	rshift8 pdata,pdata
+	increase 3,pdata
+	byteswap pdata,pdata
+	add temp,3,regb//store 2,mem_SDP_Tx_payload+3
+	istore 2,regb		/* ParLength */
+	rshift8 pdata,pdata
+	increase 5,pdata
+	store 1,mem_sdp_tx_pkt_length	/*packet length*/
+	
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//mem_SDP_Tx_payload+1
+	istore 2,regb
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload//PDU ID 
+	//jam 0,mem_SDP_Tx_payload+8		
+	//jam 0x36,mem_SDP_Tx_payload+7
+	//jam 0,mem_SDP_Tx_payload+11		
+	//jam 0x36,mem_SDP_Tx_payload+10
+	setarg 0x0036
+	add temp,7,regb
+	istore 2,regb
+	add temp,10,regb
+	istore 2,regb
+	rtn
+no_attribute_return:
+	jam 10,mem_sdp_tx_pkt_length
+	call l2cap_get_sdp_tx_payload
+	//jam 7,mem_SDP_Tx_payload	//PDU ID
+	setarg 7
+	istore 1,contw 
+	fetch 2,mem_sdp_transactionid
+	istore 2,contw
+	//store 2,mem_SDP_Tx_payload+1
+	//jam 0,mem_SDP_Tx_payload+3
+	//jam 5,mem_SDP_Tx_payload+4	 //ParLength =5
+	setarg 0x0500
+	istore 2,contw
+	//jam 0,mem_SDP_Tx_payload+5
+	//jam 2,mem_SDP_Tx_payload+6	// AttrListByteCount =2
+	setarg 0x0200
+	istore 2,contw
+	//jam 0x35,mem_SDP_Tx_payload+7
+	//jam 0,mem_SDP_Tx_payload+8
+	//jam 0,mem_SDP_Tx_payload+9
+	setarg 0x000035
+	istore 3,contw
+	rtn
+	
+servicesearchattribute_req_attributelist_loop:	
+	ifetch 1,contr
+	istore 1,contw
+	increase 1, regb //mem_sdp_continue_byte
+	increase -1, rega  //mem_sdp_attribute_maxbyte
+	branch servicesearchattribute_req_check_next_ctn,zero
+	loop servicesearchattribute_req_attributelist_loop
+servicesearchattribute_req_check_next_ctn:	
+	copy contw, timeup
+	copy regb, pdata
+	store 2, mem_sdp_continue_byte
+	copy rega, pdata
+	store 2, mem_sdp_attribute_maxbyte
+	branch answer_attributelist_with_ctn_bytes,blank
+	branch answer_attributelist_with_ctn_end, user
+	copy timeup,contw
+servicesearchattribute_req_check_handle:	
+	increase 1,queue
+	fetch 1, mem_handle_humber
+	isub queue,null
+	nbranch servicesearchattribute_req_next_handle,zero
+	branch answer_attributelist_end_long
+servicesearchattribute_req_next_handle:	
+	arg mem_handle_list,contr
+	lshift2 queue,pdata
+	iadd contr,contr
+	ifetch 4, contr //handle in pdata
+	iforce temp
+	call 	search_handle
+	copy contr,timeup
+	call sdp_get_data
+	add pdata,3,loopcnt
+	fetch 2, mem_sdp_attribute_maxbyte
+	copy pdata, rega
+	fetch 2, mem_sdp_continue_byte
+	copy pdata, regb
+	copy timeup,contr
+	branch servicesearchattribute_req_attributelist_loop
+answer_attributelist_with_ctn_bytes:
+	arg 0, queue
+	arg 0, regb
+answer_attributelist_calc_attribute_length:	
+	arg mem_handle_list,contr
+	lshift2 queue,pdata
+	iadd contr,contr
+	ifetch 4, contr //handle in pdata
+	iforce temp
+	call 	search_handle
+	call sdp_get_data
+	add pdata,3,pdata
+	iadd regb, regb
+	increase 1,queue
+	fetch 1, mem_handle_humber
+	isub queue,null
+	nbranch answer_attributelist_calc_attribute_length,zero
+	
+	copy timeup,contw
+	force 2,pdata
+	istore 1,contw
+	fetch 2, mem_sdp_continue_byte
+	byteswap pdata,pdata
+	istore 2, contw
+	increase -3,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,10,pdata //setarg mem_SDP_Tx_payload+10
+	isub contw,pdata
+	sub pdata,0,pdata
+	iforce rega
+
+	deposit regb //no longer use regb??
+	add temp,9,regb//store 1,mem_SDP_Tx_payload+9
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,8,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+8
+	increase 3,rega
+	deposit rega
+	add temp,6,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+6	/* AttrListByteCount */
+	rshift8 pdata,pdata
+	add temp,5,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+5
+	increase 5,rega
+	deposit rega
+	add temp,4,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+4	/* ParLength */
+	rshift8 pdata,pdata
+	add temp,3,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+3
+	increase 5,rega
+	deposit rega
+	store 2,mem_sdp_tx_pkt_length	
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload	 //PDU ID
+	setarg 0x36
+	add temp,7,regb//jam 0x36,mem_SDP_Tx_payload+7
+	istore 1,regb
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	fetch 2,mem_sdp_transactionid
+	istore 2,regb
+	rtn
+answer_attributelist_with_ctn_end:
+	copy timeup,contw
+	force 0,pdata
+	istore 1,contw
+	increase -1, contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,7,pdata//setarg mem_SDP_Tx_payload+7
+	isub contw,pdata
+	sub pdata,0,pdata
+	iforce rega
+
+	deposit rega
+	add temp,6,regb//store 1,mem_SDP_Tx_payload+6
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,5,regb//store 1,mem_SDP_Tx_payload+5  /* AttrListByteCount */
+	istore 1,regb
+	increase 3,rega
+	deposit rega
+	add temp,4,regb//store 1,mem_SDP_Tx_payload+4	/* ParLength */
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,3,regb//store 1,mem_SDP_Tx_payload+3
+	istore 1,regb
+	increase 5,rega
+	deposit rega
+	store 2,mem_sdp_tx_pkt_length	
+
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload	/* PDU ID */
+	
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	istore 2,regb
+	rtn
+	
+answer_attributelist_end_long:
+	force 0,pdata
+	istore 1,contw
+	increase -1,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,10,pdata//setarg mem_SDP_Tx_payload+10
+	isub contw,pdata
+	sub pdata,0,pdata
+	iforce rega
+
+	deposit rega
+	add temp,9,regb//store 1,mem_SDP_Tx_payload+9
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,8,regb//store 1,mem_SDP_Tx_payload+8
+	istore 1,regb
+	
+	increase 3,rega
+	deposit rega
+	add temp,6,regb//store 1,mem_SDP_Tx_payload+6	/* AttrListByteCount */
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,5,regb//store 1,mem_SDP_Tx_payload+5
+	istore 1,regb
+	increase 3,rega
+	deposit rega
+	add temp,4,regb//store 1,mem_SDP_Tx_payload+4	/* ParLength */
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,3,regb//store 1,mem_SDP_Tx_payload+3
+	istore 1,regb
+	increase 5,rega
+	deposit rega
+	store 2,mem_sdp_tx_pkt_length	
+	setarg 0x36
+	add temp,7,regb
+	istore 1,regb//jam 0x36,mem_SDP_Tx_payload+7
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload	/* PDU ID */
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	istore 2,regb
+	rtn	
+sdp_data_len_obs:
+	copy contr,timeup
+	ifetch 1,contr
+	and pdata,0x07,loopcnt
+	rshift3 pdata,pdata
+	beq 6,sdp_data_len_6_obs
+	beq 1,sdp_data_len_1
+	beq 4,sdp_data_len_6
+	beq 5,sdp_data_len_5
+	branch sdp_data_len_rtn
+sdp_data_len_6_obs:
+	call sdp_get_data_6_obs
+	branch sdp_data_len_rtn
+sdp_get_data_6_obs:
+	deposit loopcnt
+	beq 5,sdp_get_data_6_8bit_obs
+	beq 6,sdp_get_data_6_16bit_obs
+	force 3,loopcnt
+	branch sdp_get_data_1
+sdp_get_data_6_8bit_obs:
+	ifetch 1,contr
+	increase 2,pdata
+	rtn
+sdp_get_data_6_16bit_obs:
+	ifetch 2,contr
+	byteswap pdata,pdata
+	increase 3,pdata
+	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
+
+/**********************************************************************/
+/* servicesearchattribute_res			                      */
+/* Processing Service Search Attribute Response                       */
+/* Call: dataelementtype6, attribute_reading                    */
+/* Input:       contr                                                 */
+/* Output:      mem_sdp_record_handle,mem_sdp_search_failed           */
+/*                                                                    */
+/**********************************************************************/     
+servicesearchattribute_res:
+	copy contr,temp				/* save reading pointer */
+	fetch 2,mem_sdp_transactionid			/* check if this is the response for   */
+	beq sdp_tid_spp,servicesearchattribute_res_spp
+	//no profiles now, hs,hf,pbap,avtarg were cut off
+	//maybe add something about spp
+	branch srchfail
+
+servicesearchattribute_res_spp:
+	copy temp,contr
+	increase -3,timeup
+	copy timeup,pdata
+	beq 2,srchfail// empty response
+	call find_rfcomm_channel_number
+	rtn user
+	store 1,mem_remote_spp_channel
+	jam RECIEVE_SS_REASULT_HF,mem_message_to_uppersm
+	rtn
+
+srchfail:
+	rtn
+	/* find_rfcomm_channel_number	*/
+	/* input att_list_lenth in pdata   	*/
+	/* input att_list_ptr in contr		*/
+	/* output channel_number in pdata	*/
+	/* output failed while user was set	*/
+find_rfcomm_channel_number:
+	enable user
+	copy pdata,loopcnt
+	arg 0x0400,temp //att_descriptor_list
+find_rfcomm_channel_number_loop://find att_descriptor_list
+	ifetch 2,contr
+	isub temp,null
+	branch find_rfcomm_channel_number_find_adl,zero
+	increase -1,contr
+	loop find_rfcomm_channel_number_loop
+	rtn
+find_rfcomm_channel_number_find_adl:
+	arg 0x0300,temp
+find_rfcomm_channel_number_loop2:
+	ifetch 2,contr
+	isub temp,null
+	branch find_rfcomm_channel_number_find_rfcomm,zero
+	increase -1,contr
+	loop find_rfcomm_channel_number_loop2
+	rtn
+find_rfcomm_channel_number_find_rfcomm:
+	ifetch 1,contr
+	ifetch 1,contr
+	disable user
+	rtn
+/**********************************************************************/
+/* Subroutine: attribute_reading                                   */
+/* Reading each Data Element Sequence inside one Attribute List       */
+/* Called from servicesearchattribute_res                             */
+/* Call dataelementtype6                                           */  
+/* Input:       contr,timeup                                          */
+/* Output:      timeup,mem_sdp_LACAP_found,mem_sdp_RFCOMM_found      */
+/*                                                                    */
+/*                                                                    */
+/**********************************************************************/     
+attribute_reading:
+	call dataelementtype6		/* decode data element sequence */
+	branch rdnortn,zero  
+	force 0,regb					/* regb to be used as 128 bit uuid flag */
+	ifetch 1,contr
+	increase -1,rega  
+	increase -1,timeup  
+	compare 0x18,pdata,0xf8			/* 5 MSB: b00011, uuid */
+	nbranch rduuid3,true
+	compare 0x04,pdata,0x07			/* 3 LSB: b100, 128 bits uuid */
+	nbranch is032,true
+	force 1,regb					/* mark it as 128 bit uuid */
+skp2bytes:
+	increase 2,contr				/* skip 2 bytes */
+	increase -2,rega	
+	increase -2,timeup
+	branch rduuid1				/* add 126 bits  */
+is032:
+	compare 0x02,pdata,0x07			/* 3 LSB: b010 32 bits uuid */
+	nbranch is016,true
+	branch skp2bytes			
+is016:
+	compare 0x01,pdata,0x07			/* 3 LSB: b001 16 bit uuid */
+	nbranch rduuid3,true
+rduuid1:
+	ifetch 1,contr				/* get higher order byte */
+	increase -1,rega
+	increase -1,timeup
+	bne 0x01, rduuid2
+	ifetch 1,contr				/* get lower order byte */
+	increase -1,rega
+	increase -1,timeup
+	bne 0x00, rduuid3
+	jam 0xff,mem_sdp_LACAP_found			/* set L2CAP found parameter */
+	branch rduuid3
+rduuid2:
+	bne 0x00, rduuid3
+	ifetch 1,contr				/* get lower order byte */
+	increase -1,rega
+	increase -1,timeup
+	bne 0x03, rduuid3
+	copy regb,null
+	branch not16by,zero				/* 128 bit uuid, skip 12 bytes */
+	increase -12,contr	
+	increase -12,timeup
+not16by:		
+	force 0xff,pdata
+	store 1,mem_sdp_RFCOMM_found			/* set RFCOMM found parameter */
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+	compare 0x08,pdata,0xf8		//b00001	
+	nbranch rduuid3,true
+	compare 0x00,pdata,0x07
+	branch unsign1,true
+	compare 0x01,pdata,0x07
+	branch unsign2,true
+	compare 0x02,pdata,0x07
+	branch unsign4,true
+	compare 0x03,pdata,0x07
+	branch unsign8,true
+	compare 0x04,pdata,0x07
+	nbranch rduuid3,true
+	increase 8,contr
+	increase -8,rega
+	increase -8,timeup
+unsign8:  
+	increase 4,contr
+	increase -4,rega
+	increase -4,timeup
+unsign4:  
+	increase 2,contr
+	increase -2,rega
+	increase -2,timeup
+unsign2:  
+	increase 1,contr
+	increase -1,rega
+	increase -1,timeup
+unsign1:  
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+rduuid3:
+	increase -1,timeup
+	increase -1,rega
+	branch rduuid3,positive			/* if rega=0, done */
+	increase 1,timeup				/* return byte count */
+	force 0x01,pdata
+	rtn,
+rdnortn:
+	force 0x00,pdata
+	rtn,						    
+
+sdp_invalid_service_record_handle:		
+	setarg 0x0200
+	store 2,mem_sdp_error_code
+	branch sdp_error_rsp
+sdp_invalid_pdu_size:				
+	setarg 0x0400
+	store 2,mem_sdp_error_code
+	branch sdp_error_rsp
+sdp_insufficient_resource:			
+	setarg 0x0600
+	store 2,mem_sdp_error_code
+	branch sdp_error_rsp
+sdp_invalid_reqest_syntax:			
+	setarg 0x0300
+	store 2,mem_sdp_error_code
+sdp_error_rsp:	
+	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
+
+ask_serviceclassid:  
+	force 0,temp					/* use "temp" to mark syntax error or to mark 128 bit uuid */
+	arg mem_uuid_search_pat,contw
+	call dataelementtype6
+	branch asksrv_error,zero
+classidloop:
+	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:
+	ifetch 2,contr				/* higher order byte */
+	increase -2,rega
+	increase -2,timeup
+	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
+noclass:
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+	branch uuidsize
+chck12dn:
+	increase -12,timeup
+	increase -12,rega
+loopornot:
+	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 size in rega, SDP Rx Buf Pointer in contr             */
+/*         and  parameter count in timeup, return with zero flag set: */
+/*         syntax error                                               */
+/**********************************************************************/     
+dataelementtype6:
+	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
+	ifetch 1,contr
+	copy pdata,rega				/* data in reg A */
+	increase -1,timeup
+	branch dsize
+dsize32:
+	increase 2,contr				/* just move pointer +2, zero in 2 high byte */
+	increase -2,timeup
+dsize16:
+	ifetch 2,contr
+	byteswap pdata,rega
+	increase -2,timeup
+set_nblank:
+dsize:
+	force 0x01,pdata
+	rtn
+set_blank:
+dsize_error:
+	force 0x00,pdata
+	rtn
+
+/**********************************************************************/
+/* Subroutine: empty_response                                      */
+/* Send empty response                                                */
+/*                                                                    */
+/* Input:       mem_sdp_pduid, mem_sdp_transactionid                  */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length             */
+/*                                                                    */
+/**********************************************************************/     
+empth_sa_rsp:
+	setarg 0x03
+	store 1, mem_sdp_pduid
+	branch empty_response
+empty_ssa_rsp:
+	setarg 0x07
+	store 1, mem_sdp_pduid
+empty_response:
+	call l2cap_get_sdp_tx_payload			/* empty attribute list */
+	fetch 1,mem_sdp_pduid				/* PDUID */
+	istore 1,contw
+	copy pdata,regb
+	fetch 2,mem_sdp_transactionid			/* copy back transaction id */
+	istore 2,contw
+	
+	setarg 0x0500
+	istore 2, contw
+	compare 0x05,regb,0xff			/* pduid 3 */
+	branch fullsearch,true
+	compare 0x07,regb,0xff			/* pduid 3 */
+	branch fullsearch,true
+	setarg 0x000000
+	istore 3,contw
+	istore 2,contw
+	branch outempty
+
+fullsearch:					/* pduid must be 5 or 7 */
+	//force 0x00,pdata
+	//istore 1,contw
+	//force 0x02,pdata
+	//istore 1,contw
+	//force 0x35,pdata
+	//istore 1,contw
+	setarg 0x350200
+	istore 3,contw
+	//force 0x00,pdata
+	//istore 1,contw
+	//force 0x00,pdata
+	//istore 1,contw
+	setarg 0
+	istore 2, contw
+outempty:
+	jam 10,mem_sdp_tx_pkt_length
+	rtn
+
+sdp_data_len:
+	copy contr,timeup
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	beq 6,sdp_data_len_6
+	beq 1,sdp_data_len_1
+	beq 4,sdp_data_len_6
+	beq 5,sdp_data_len_5
+sdp_data_len_rtn:	
+	copy timeup,contr
+	rtn
+sdp_data_len_1:
+	call sdp_data_size
+	increase 1,pdata
+	branch sdp_data_len_rtn
+sdp_data_len_5:
+	force 2,pdata
+	branch sdp_data_len_rtn
+sdp_data_len_6:
+	call sdp_get_data_6
+	increase 2,pdata
+	branch sdp_data_len_rtn
+	
+sdp_get_data:
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	beq 6,sdp_get_data_6
+	beq 1,sdp_get_data_1
+	beq 5,sdp_get_data_6_8bit
+	rtn
+sdp_get_data_1:
+	call sdp_data_size
+	iforce loopcnt
+	force 0,temp
+sdp_get_data_1_loop:	
+	lshift8 temp,temp
+	ifetch 1,contr
+	ior temp,temp
+	loop sdp_get_data_1_loop
+	rtn
+sdp_get_data_6:
+	deposit loopcnt
+	beq 5,sdp_get_data_6_8bit
+	beq 6,sdp_get_data_6_16bit
+	force 3,loopcnt
+	branch sdp_get_data_1
+sdp_get_data_6_8bit:
+	ifetch 1,contr
+	rtn
+sdp_get_data_6_16bit:
+	ifetch 2,contr
+	byteswap pdata,pdata
+	rtn
+
+	/* get data size according to size index in loopcnt */
+sdp_data_size:
+	force 1,pdata
+	copy loopcnt,null
+	rtn zero
+sdp_data_size_loop:
+	lshift pdata,pdata
+	loop sdp_data_size_loop
+	rtn
+
+
+
+	/* return handles in queue if found */
+search_uuid:
+	iforce regc
+	set1 mark_ext_patch,mark
+	bpatch patch3d_1,mem_patch3d
+	force 0,queue
+	fetch 2, memui_uuid_table
+	iforce contr
+	arg mem_handle_list,contw
+search_uuid_next:
+	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
+	ifetch 4,contr					/* get handle */
+	nbranch search_uuid_nomatch,user
+	istore 4,contw
+	increase 1,queue
+search_uuid_nomatch:	
+	call sdp_get_data
+	iadd contr,contr			/* next paragraph */
+	branch search_uuid_next
+
+	/* return handle in pdata if found, 0 if not */
+search_handle:
+	fetch 2,memui_uuid_table
+	iforce contr
+search_handle_loop:	
+	ifetch 1,contr
+	rtn blank
+	lshift pdata,pdata
+	iadd contr,contr
+	ifetch 4,contr
+	isub temp,null
+	rtn zero
+	call sdp_get_data
+	iadd contr,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:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_2,mem_patch3d
+	fetch 2,memui_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,temp					/* attribute list end */
+search_attrib_loop_attribs:	
+	increase 1,contr
+	ifetch 2,contr
+	isub regb,timeup
+	//force 0x1,pdata,zero
+	setflag zero, 0,pdata
+	copy timeup, timeup
+	rtn zero							/* attribute found */
+	call sdp_data_len
+	iadd contr,contr
+	deposit temp
+	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:	
+	set1 mark_ext_patch,mark
+	bpatch patch3d_3,mem_patch3d
+	fetch 2,memui_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,temp					/* 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 temp
+	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	
+
+	
+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:
+	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:
+	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:
+	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
+
+do_aes_cfb:
+	force 0x36,aes_ctrl
+	force 0x6,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
+	force 0x38,aes_ctrl
+	force 0x8,aes_ctrl
+	branch wait_aes
+
+	/* rega pointers to random number */
+function_c1:
+	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 */
+	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
+
+
+
+shutter_init:	
+	setarg shutter_send_process
+	store 2,mem_cb_bt_process
+	setarg shutter_process_idle
+	store 2,mem_cb_idle_process
+	setarg shutter_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg shutter_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg shutter_discovery_timeout_sleep
+	store 2,mem_cb_discovry_timeout
+	set1 mark_ext_patch,mark
+	bpatch patch3f_1,mem_patch3f
+	rtn wake
+
+	hjam 0x00,core_gpio_sel1//1: GPIO[26:25] is two wire SPI, 2: GPIO[26:23] is SPI, 3: GPIO[26:23] is PCM
+	call shutter_key_and_wake_gpio_setup
+	
+	setarg shutter_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	jam FLAG_SHUTTER_1KEY_SEND_NULL,mem_shutter_1key_send_sm
+	jam 0,mem_shutter_key
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	setarg 0
+	store 4,mem_shutter_send_data
+	call app_check_reconn_target
+	branch app_bt_start_discovery_short,blank
+	call app_led_on	
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+	
+shutter_key_and_wake_gpio_setup:
+	fetcht 1,mem_shutter_iphonekey_gpio
+	call gpio_config_input
+	fetcht 1,mem_shutter_androidkey_gpio
+	branch gpio_config_input	
+
+shutter_cancel_key_shake:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_2,mem_patch3f
+	fetcht 4,mem_shutter_clkn_bt_last
+	deposit clkn_bt
+	store 4,mem_shutter_clkn_bt_last
+	isub temp,pdata	
+	nrtn positive 
+	sub pdata,200,pdata
+	rtn
+	
+shutter_send_process:
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f	
+shutter_scan_key_start:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_3,mem_patch3f
+	fetch 1,mem_device_option
+	rtnne dvc_op_shutter	
+	disable user
+	call shutter_scan_key	
+	nrtn user
+	disable user
+	fetch 1,mem_scan_mode
+	beq 0x03,shutter_reconnect_scan_2
+	
+	fetch 1,mem_shutter_flag
+	beq FLAG_SHUTTER_IPHONEKEY_SEND,shutter_iphonekey_release 
+	beq FLAG_SHUTTER_ANDROIDKEY_SEND,shutter_androidkey_release 
+	call shutter_cancel_key_shake
+	branch  shutter_send_process_end,positive
+
+	fetch 1,mem_shutter_key
+	bbit1 FLAG_SHUTTER_IPHONEKEY_PRESS,shutter_iphonekey_press
+	bbit1 FLAG_SHUTTER_ANDROIDKEY_PRESS,shutter_androidkey_press
+	
+shutter_send_process_end:
+	jam 0,mem_shutter_key
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	rtn
+
+	
+shutter_iphonekey_release:
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	call ui_led_blink_stop
+	fetch 1,mem_shutter_key_number
+	beq FLAG_SHUTTER_1KEY,shutter_1key_iphonekey_release
+shutter_2key_iphonekey_release:
+shutter_iphonekey_release_package:
+	jam 0x05,mem_shutter_send_length
+	jam 0x03,mem_shutter_send_data
+	branch shutter_send_keydata
+shutter_1key_iphonekey_release:
+	jam FLAG_SHUTTER_1KEY_SEND_NULL,mem_shutter_1key_send_sm
+	branch shutter_1key_send_step1
+
+shutter_1key_send_step1:
+	jam FLAG_SHUTTER_1KEY_SEND_STEP2,mem_shutter_1key_send_sm
+	branch shutter_androidkey_press_package
+shutter_1key_send_step2:
+	jam FLAG_SHUTTER_1KEY_SEND_STEP3,mem_shutter_1key_send_sm
+	branch shutter_androidkey_release_package
+shutter_1key_send_step3:
+	jam FLAG_SHUTTER_1KEY_SEND_STEP4,mem_shutter_1key_send_sm
+	branch shutter_iphonekey_press_package
+shutter_1key_send_step4:
+	jam FLAG_SHUTTER_1KEY_SEND_NULL,mem_shutter_1key_send_sm
+	branch shutter_iphonekey_release_package
+	
+shutter_iphonekey_press:
+	jam FLAG_SHUTTER_IPHONEKEY_SEND,mem_shutter_flag	
+	call ui_led_on
+	fetch 1,mem_shutter_key_number
+	beq FLAG_SHUTTER_1KEY,shutter_1key_iphonekey_press
+shutter_2key_iphonekey_press:
+shutter_iphonekey_press_package:
+	jam 0x05,mem_shutter_send_length
+	setarg 0x20003
+	store 3,mem_shutter_send_data
+	branch shutter_send_keydata
+shutter_1key_iphonekey_press:
+	rtn
+	
+shutter_androidkey_release:
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	call ui_led_blink_stop
+shutter_androidkey_release_package:
+	jam 0x0a,mem_shutter_send_length
+	jam 0x01,mem_shutter_send_data
+	branch shutter_send_keydata
+shutter_androidkey_press:
+	jam FLAG_SHUTTER_ANDROIDKEY_SEND,mem_shutter_flag
+	call ui_led_on
+shutter_androidkey_press_package:
+	jam 0x0a,mem_shutter_send_length	
+	jam 0x01,mem_shutter_send_data	
+	setarg 0x280000
+	store 3,mem_shutter_send_data+1
+	
+shutter_send_keydata:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_4,mem_patch3f
+	fetch 1,mem_shutter_send_length
+	copy pdata,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xa1
+	istore 1,contw
+	fetcht 4,mem_shutter_send_data
+	istoret 8,contw	
+	setarg 0
+	istore 1,contw	
+	store 4,mem_shutter_send_data
+	
+	fetch 1,mem_shutter_1key_send_sm
+	beq FLAG_SHUTTER_1KEY_SEND_STEP2,shutter_1key_send_step2
+  	beq FLAG_SHUTTER_1KEY_SEND_STEP3,shutter_1key_send_step3
+ 	beq FLAG_SHUTTER_1KEY_SEND_STEP4,shutter_1key_send_step4
+	rtn			
+	
+shutter_scan_key:
+	fetcht 1, mem_shutter_iphonekey_gpio
+	call gpio_get_bit
+	setarg 0
+	setflag true,FLAG_SHUTTER_IPHONEKEY_PRESS,pdata
+	store 1,mem_shutter_key_temp
+	fetcht 1,mem_shutter_androidkey_gpio
+	call gpio_get_bit
+	setarg 0
+	setflag true,FLAG_SHUTTER_ANDROIDKEY_PRESS,pdata
+	fetcht 1,mem_shutter_key_temp
+	ior temp,pdata
+	fetcht 1,mem_shutter_key
+	store 1,mem_shutter_key
+	ixor temp,null
+	rtn zero
+	enable user
+	rtn
+
+shutter_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_SETUP_COMPLETE,shutter_bb_event_setup_complete
+	beq BT_EVT_HID_CONNECTED,shutter_bb_event_hid_connected
+	beq BT_EVT_HID_DISCONNECTED,shutter_bb_event_hid_disconn
+	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,shutter_bb_event_unplug
+	beq BT_EVT_BB_DISCONNECTED,shutter_bb_event_bb_disconn
+	beq BT_EVT_RECONN_FAILED,shutter_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,shutter_bb_event_reconn_failed
+	beq BT_EVT_BB_CONNECTED,shutter_process_bb_conn
+	beq BT_EVT_HID_HANDSHAKE,shutter_event_hid_handshake
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,shutter_bb_event_timer
+	rtn
+	
+shutter_hid_handshake_timer:
+	fetch 1,mem_hid_handshake_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_hid_handshake_timer_count
+	nrtn blank
+shutter_event_hid_handshake:
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+	call app_bt_stop_discovery
+	call app_led_off
+	branch app_bt_enter_sniff
+
+	
+shutter_process_bb_conn:
+	jam 0,mem_shutter_hid_disconn_count
+	jam 0,mem_shutter_cable_unplug_conut	
+	rtn	
+	
+shutter_bb_event_bb_disconn:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_5,mem_patch3f
+	jam 0,mem_unsniff2sniff_timer_count
+	jam 0,mem_shutter_cable_unplug_conut	
+	jam 0,mem_shutter_hid_disconn_count
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit0 APP_DISC_AFTER_SNIFF,shutter_check_pairing
+shutter_bb_event_reconn_failed:
+	//call ice_break
+	fetch 2,mem_discovery_timeout
+	store 2,mem_discovery_timeout_timer_count
+shutter_discovery_on_not_renew_timer://when pairing does not renew discovery timer
+	call app_disconn_reason_clear
+	branch app_bt_start_discovery_led_blink
+
+shutter_check_pairing:
+	bbit0 APP_DISC_AFTER_PAIRING,shutter_check_reconn
+	branch shutter_bb_event_reconn_failed
+	
+shutter_check_reconn:
+	bbit0 APP_DISC_AFTER_RECONN,shutter_discovery_on_not_renew_timer
+	branch shutter_bb_event_reconn_failed
+
+
+shutter_bb_event_setup_complete:
+	call app_bt_stop_discovery
+	branch app_led_stop_blink
+
+shutter_bb_event_hid_connected:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn
+	
+shutter_bb_event_hid_disconn: 
+	jam 0,mem_shutter_cable_unplug_conut	
+	setarg FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+	store 1,mem_shutter_hid_disconn_count
+	rtn
+	
+shutter_bb_event_unplug:	
+	setarg FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+	store 1,mem_shutter_cable_unplug_conut
+	rtn
+
+shutter_bb_event_timer:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_6,mem_patch3f
+	storet 1,mem_app_evt_timer_count
+shutter_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call shutter_check_unplug_timer
+	call shutter_hid_handshake_timer
+	call shutter_check_hid_disconn_timer
+	branch shutter_bb_event_100ms_loop
+	
+shutter_check_unplug_timer:
+	fetch 1,mem_shutter_cable_unplug_conut
+	rtn blank
+	fetch 1,mem_shutter_cable_unplug_conut
+	increase -1,pdata
+	store 1,mem_shutter_cable_unplug_conut
+	nrtn blank
+	fetch 1,mem_CONTROL_tasks
+	set1  L2CAP_DISCONNECT_INTERRUPT, pdata
+	set1  L2CAP_DISCONNECT_CONTROL, pdata
+	store 1,mem_CONTROL_tasks	
+	rtn
+
+shutter_check_hid_disconn_timer:
+	fetch 1,mem_shutter_hid_disconn_count
+	rtn blank
+	fetch 1,mem_shutter_hid_disconn_count
+	increase -1,pdata
+	store 1,mem_shutter_hid_disconn_count
+	nrtn blank
+	branch app_bt_disconnect	
+ 
+shutter_reconnect_scan:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_7,mem_patch3f
+	fetch 1,mem_scan_mode
+	rtnne 0x03
+	branch shutter_scan_key_start
+shutter_reconnect_scan_2:
+	call shutter_cancel_key_shake
+	rtn positive
+	fetch 1,mem_shutter_key
+	rtn blank
+	call app_check_reconn_target
+	branch app_bt_start_discovery_short,blank
+	call app_led_on		
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+
+
+shutter_process_idle:
+	branch shutter_reconnect_scan
+
+
+shutter_process_lpm_before:
+	fetcht 1, mem_shutter_iphonekey_gpio
+	call gpio_set_wake_by_current_state
+	fetch 1,mem_shutter_key_number
+	bne FLAG_SHUTTER_1KEY,shutter_process_lpm_before_key2
+	rtn
+shutter_process_lpm_before_key2:	
+	fetcht 1, mem_shutter_androidkey_gpio
+	branch gpio_set_wake_by_current_state
+
+shutter_before_hibernate:
+	branch shutter_key_and_wake_gpio_setup
+
+
+shutter_discovery_timeout_sleep:	
+	branch app_enter_hibernate
+		
+
+
+sp_initialize:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_2,mem_patch3e
+	fetch 1,mem_ssp_enable	//set in ssp.rom
+	branch ssp_disable, blank
+	call ssp_enable
+	setarg 0
+	store 8,mem_sp_state_start
+	store 4,mem_sp_flag_start
+	
+	arg mem_sp_iocap_remote,contw
+	istore 7,contw
+	jam DEFAULT_STATEMACHINE,mem_sp_localsm
+	branch sp_pubkey_calc 
+
+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_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 */
+	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  
+    
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_3,mem_patch3e
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_4,mem_patch3e
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_5,mem_patch3e
+         fetch 1,mem_sp_flag
+         rtn 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_6,mem_patch3e
+	fetch 1,mem_master_sp_flag
+	rtn 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_7,mem_patch3e
+	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:
+	force 6,loopcnt
+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:
+	jam 192,mem_ec_loopc
+	jam 1,mem_ec_infinite
+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_swap:
+	force 16,loopcnt
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_0,mem_patch3f
+	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:
+ 	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	
+g_common:	
+	call     memcpy_dword_swap4
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    5,loopcnt
+	call memset0
+	setarg 640
+	istore 4,contw
+	call sha
+
+	fetch 4,memresult
+//	store 4,mem_sp_gkey
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	store 4,mem_sp_gkey
+	quotient pdata
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	arg 1000,rega
+	imul32 rega,pdata
+	fetcht 4,mem_sp_gkey
+	iadd temp,pdata
+	store 4,mem_sp_gkey
+	rtn
+	
+function_f1:
+	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
+	force    0,pdata  
+	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:
+	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_f3b_common
+
+function_f3b:
+	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_f3b_common:    
+	setarg   0x0    
+	istore   8,contw
+	istore   8,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                
+	             
+eckp_cp_1:
+	jam 0,mem_ec_infinite
+	arg mem_ax,contr
+	arg mem_cx,contw
+	branch ec_copy
+
+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
+
+
+ui_init:
+	rtn wake
+	call ui_button_init
+	call ui_timer_init
+	branch ui_led_init
+
+ui_dispatch:
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+	call ui_led_blink_polling
+	
+	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_disable:
+	jam UI_BUTTON_GPIO_DISABLE,mem_ui_button_gpio
+	rtn
+	
+ui_button_polling:
+	set1 mark_ext_patch,mark
+	bpatch patch30_5,mem_patch30
+	fetch 1,mem_ui_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	copy pdata,temp
+	call gpio_get_bit
+	nbranch ui_button_up,true
+	//fall through
+ui_button_down:
+	call ui_button_check_long_press
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BTN_DOWN
+	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_init:
+	fetch 1,mem_led_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	iforce temp
+	call gpio_config_output
+	branch ui_led_off
+	
+ui_led_blink_stop:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_LED_BLINK
+	store 2,mem_ui_state_map
+	jam ui_led_stop,mem_led_switch
+ui_led_off:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_LED_ON
+	store 2,mem_ui_state_map
+	fetcht 1,mem_led_gpio
+	branch gpio_out_inactive
+
+ui_led_on:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_LED_ON
+	store 2,mem_ui_state_map
+	jam ui_led_stop,mem_led_switch
+	fetcht 1,mem_led_gpio
+	branch gpio_out_active
+
+ui_led_blink_start:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_LED_BLINK
+	store 2,mem_ui_state_map
+	jam ui_led_start,mem_led_switch
+	rtn
+	
+ui_led_blink_polling:
+	set1 mark_ext_patch,mark
+	bpatch patch30_6,mem_patch30
+	fetch 1,mem_led_switch
+	rtneq ui_led_stop
+	arg ui_led_blink,queue
+	call timer_check
+	nrtn blank
+	fetch 1,mem_led_switch
+	beq ui_led_dark_time,ui_led_blink_polling_dark
+	call ui_led_on
+	jam ui_led_dark_time,mem_led_switch
+	fetch 2,mem_led_light_time
+	branch ui_led_blink_timer_start
+ui_led_blink_polling_dark:
+	call ui_led_off
+	jam ui_led_light_time,mem_led_switch
+	fetch 2,mem_led_dark_time
+ui_led_blink_timer_start:
+	arg ui_led_blink,queue
+	branch timer_init	
+
+	
+ui_timer_check:
+	set1 mark_ext_patch,mark
+	bpatch patch30_7,mem_patch30
+	arg 0,rega
+	fetcht 4,mem_ui_timer_last_btclk
+	copy clkn_bt,regb
+	//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:
+	set1 mark_ext_patch,mark
+	bpatch patch31_0,mem_patch31
+	copy rega,pdata
+	rtn blank
+	increase -160,temp    //320btclk = 100ms
+	increase -160,temp
+	storet 4,mem_ui_timer_last_btclk
+ui_timer_check_send_evt:
+	increase BT_EVT_TIMER_INIT,pdata
+	store 1,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+
+//**********************************************************//
+//************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_fifo_out:
+	branch fifo_out
+
+
+	
+ui_ipc_send_event:
+	set1 mark_ext_patch,mark
+	bpatch patch31_1,mem_patch31
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch31_2,mem_patch31
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch31_3,mem_patch31
+	setarg 0
+	store UTIL_FIFO_LEN,mem_ipc_fifo_c512bt
+	store UTIL_FIFO_LEN,mem_ipc_fifo_bt2c51
+	rtn
+	
+check_51cmd:
+	set1 mark_ext_patch,mark
+	bpatch patch31_4,mem_patch31
+	fetch 1,mem_hci_cmd
+	nrtn blank
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_is_empty
+	rtn blank
+	jam IPC_CONTINUE_PROCESS,mem_ipc_skip_continue_proc
+	call check_51cmd_once
+	fetch 1,mem_ipc_skip_continue_proc
+	branch check_51cmd,blank
+	rtn
+
+check_51cmd_once:
+	set1 mark_ext_patch,mark
+	bpatch patch31_5,mem_patch31
+	call ui_ipc_get_lock
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_out
+	copy pdata,temp
+	call ui_ipc_put_lock
+	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_LE_UPDATE_CONN,check_51cmd_le_update_conn
+	beq BT_CMD_LED_BLINK,ui_led_blink_start
+	beq BT_CMD_LED_ON,ui_led_on
+	beq BT_CMD_LED_OFF,ui_led_blink_stop
+	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_LE_START_WRITE,check_51cmd_le_start_write
+	beq BT_CMD_BB_RECONN_CANCEL,check_51cmd_bb_reconn_cancel
+	//context related, process in context
+	store 1,mem_fifo_temp
+	set1 mark_ext_patch,mark
+	bpatch patch31_6,mem_patch31
+	fetch 1,mem_lmo_opcode2
+	branch check_51cmd_once_continue,blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	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
+check_51cmd_once_continue0:
+  	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_DISCONNECT,check_51cmd_disconnect
+	beq BT_CMD_LE_DISCONNECT,check_51cmd_le_disconnect
+	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_LE_UPDATE_CONN,BT_CMD_LE_UPDATE_CONN_1
+  	rtn
+
+
+BT_CMD_LE_UPDATE_CONN_1:
+	jam XT_LL_CONNECTION_PARAM_REQ,mem_fifo_temp
+	branch le_xtype_fifo_in
+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
+
+
+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
+	
+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
+	
+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
+	
+check_51cmd_reconnect:	
+	jam hci_cmd_create_conn,mem_hci_cmd
+	rtn
+	
+check_51cmd_disconnect:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	rtn
+	
+	
+check_51cmd_enter_sniff_subrating:
+	rtn
+	
+check_51cmd_exit_sniff_subrating:
+	rtn	
+	
+check_51cmd_sniff_test:
+	rtn
+	
+check_51cmd_pincode:
+	jam pincode_state_pincode_ready,mem_pincode_state
+	branch cmd_pair
+
+check_51cmd_inq:
+	rtn
+check_51cmd_stop_inq:
+	rtn
+check_51cmd_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_IND,mem_le_adv_type
+	rtn
+check_51cmd_stop_adv:
+	jam OFF,mem_le_adv_enable
+	rtn
+check_51cmd_direct_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_DIRECT_IND,mem_le_adv_type
+	rtn
+check_51cmd_stop_direct_adv:
+	jam OFF,mem_le_adv_enable
+	rtn
+check_51cmd_le_disconnect:
+	setarg 1
+	store 2,mem_le_superto
+	rtn
+check_51cmd_le_update_conn:
+	rtn
+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
+check_51cmd_start_scan:
+	jam ON,mem_le_scan_enable
+	rtn
+check_51cmd_stop_scan:
+	jam OFF,mem_le_scan_enable
+	jam 0,mem_hci_cmd
+	rtn
+check_51cmd_le_smp_sec_req:
+	jam XT_SMP_SECURITY_REQUEST,mem_fifo_temp
+	branch le_xtype_fifo_in
+check_51cmd_hibernate:
+	set1 mark_ext_patch,mark
+	bpatch patch31_7,mem_patch31
+	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_led_off
+	call ui_ipc_clean_all_fifo
+	branch lpm_hibernate
+	
+check_51cmd_le_start_write:
+	jam 1,mem_le_switch_send_data
+	rtn
+
+check_51cmd_bb_reconn_cancel:
+	force page_length_timer,queue
+	branch timer_stop
+
+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
+
+
+
+usb_isr:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_5,mem_patch3a
+	call usb_tx_test
+	hfetch 1,core_usb_status
+	store 1,mem_usb_status
+	hfetch 1,core_usb_fifo_empty
+	store 1,mem_usb_fifo_empty
+	hjam 0xe0,core_usb_status
+	fetch 1,mem_usb_fifo_empty
+	compare 0x1,pdata,0x1 
+	call usb0_fifo_empty,true
+	set1 mark_ext_patch,mark
+	bpatch patch3a_6,mem_patch3a
+	fetch 1,mem_usb_status	
+	compare 0x1,pdata,0x1  
+	call usb_status1,true
+	fetch 1,mem_usb_state
+	bne USB_CONNECTED,usb_tx
+	fetch 2,mem_usb_idle_cnt
+	increase 1,pdata
+	store 2,mem_usb_idle_cnt
+	fetcht 2,mem_usb_idle_timeout
+	isub temp,null
+	branch usb_init,positive
+	fetch 1,mem_usb_status	
+	bbit0 USB_STATUS_NAK,usb_tx
+	setarg 0
+	store 2,mem_usb_idle_cnt
+	branch usb_tx
+	
+
+usb_status1:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_7,mem_patch3a
+	hjam 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_0,mem_patch3b
+	fetch 1,mem_usb_setup_bmRequestType
+	beq HCI_CLASS_REQUEST_TYPE,usb_hci_class_req_type
+	beq HID_CLASS_REQUEST_TYPE,usb_hid_class_req_type
+	beq ZERO_CLASS_REQUEST_TYPE,usb_zero_class_req_type
+	fetch 1,mem_usb_setup_bRequest
+	beq SET_ADDRESS,usb0_request_set_address
+	beq GET_DESCRIPTOR,usb0_request_get_descriptor
+	beq SET_CONFIGURATION,usb0_request_set_configuration
+	beq SET_INTERFACE,usb0_request_set_interface
+	branch usb0_force_stall
+
+usb_zero_class_req_type:
+	fetch 1,mem_usb_setup_bRequest
+	beq CLEAR_FEATURE,usb0_request_clear_feature
+	beq SET_FEATURE,usb0_request_set_feature
+	beq SET_CONFIGURATION,usb0_reply_zerolen
+	beq SET_ADDRESS,usb0_request_set_address
+	branch usb0_force_stall
+usb_hci_class_req_type:
+	call usb0_reply_zerolen
+	rtn
+
+usb_rx_no_data:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_SETUP,usb_class_type
+	rtn
+usb_set_protocol_req:
+	fetch 1,mem_usb_set_protocol_count
+	increase 1,pdata
+	store 1,mem_usb_set_protocol_count
+	compare 2,pdata,0xff
+	nbranch usb0_reply_zerolen,true	
+	jam 1,mem_usb_desc
+	branch usb0_reply_zerolen
+usb_hid_class_req_type:
+	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_set_idle:
+	fetch 1,mem_usb_state
+	beq USB_SETIDLE_1,usb_set_idle_connected
+	bne USB_RESUME,usb0_reply_zerolen
+	jam USB_SETIDLE_1,mem_usb_state
+	branch usb0_reply_zerolen
+usb_set_idle_connected:
+	jam USB_CONNECTED,mem_usb_state
+	branch usb0_reply_zerolen
+	
+usb_set_report:
+	jam 1,mem_usb_desc
+	arg mem_usb_desc,rega
+	arg 1,regb
+	branch usb0_respond
+usb0_force_stall:
+	hjam 1,core_usb_stall
+	rtn
+usb0_reply_zerolen:
+	hjam 0x40,core_usb_clear
+	rtn
+
+usb_rx_read:
+	hfetch 1,core_usb_ep
+	istore 1,contw
+	loop usb_rx_read
+	rtn
+
+usb0_fifo_empty:
+	hjam 0x1,core_usb_fifo_empty
+	call usb0_tx
+	rtn
+
+usb0_request_get_descriptor:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_1,mem_patch3b
+	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
+	rtn
+	
+dsc_device_info:
+	arg mem_devicedesc,rega
+	branch usb0_respond_length
+dsc_config_info:
+	arg mem_confdesc,rega
+	branch usb0_respond_length
+dsc_string_info:
+	fetch 1,mem_usb_setup_bValue
+	and_into 3,pdata
+	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
+	branch assert
+dsc_hid_info:
+	arg mem_confdesc+18,rega
+	fetch 1,mem_confdesc+18
+	copy pdata,regb
+	branch usb0_respond
+dsc_hid_report_info:
+	fetch 2,mem_usb_setup_wIndex
+	beq 1,dsc_hid_report_info0
+	arg mem_hidreportdesc_kb,rega
+	branch usb0_respond_length
+dsc_hid_report_info0:
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	arg mem_hidreportdesc_m,rega
+	branch usb0_respond_length
+
+usb0_respond_length:
+	ifetch 1,rega
+	iforce regb
+	increase 1,rega
+	
+//rega=*buff,reb=size	
+usb0_respond:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_2,mem_patch3b
+	bmark0 mark_isstr,usb0_respond0
+	add regb,1,pdata
+	lshift pdata,pdata
+	hstore 1,core_usb_dfifo0 
+	hjam 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 1,mem_usb_setup_bLength
+	isub regb,null
+	branch usb0_respond1,positive
+	copy pdata,regb	
+usb0_respond1:
+	copy rega,pdata
+	store 2,mem_bufptr
+	copy regb,pdata
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_3,mem_patch3b
+	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
+	hjam 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
+
+
+usb0_request_set_configuration:
+	fetch 1,mem_usb_setup_bValue
+	sub pdata,1,null
+	nbranch usb0_force_stall,positive
+usb0_request_set_address:
+	fetch 1,mem_usb_setup_bmRequestType
+	bne IN_DEVICE,usb0_force_stall
+	fetch 2,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	branch usb0_reply_zerolen
+
+usb0_request_set_interface:
+	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 0,usb0_force_stall
+	branch usb0_reply_zerolen
+
+usb0_request_set_feature:
+	fetch 1,mem_usb_setup_bValue
+	bne 1,usb0_force_stall
+	jam USB_SLEEP,mem_usb_state
+	branch usb0_reply_zerolen
+
+usb0_request_clear_feature:
+	fetch 1,mem_usb_setup_bValue
+	bne 1,usb0_force_stall
+	branch usb0_reply_zerolen
+	
+usb_init:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_4,mem_patch3b
+	hjam 0x00,core_usb_config
+	nop 10000
+	hjam 0xc0,core_usb_trig
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	hstore 2,core_clkoff
+	hjam 0x3c,core_usb_config
+	hjam 0xff,core_usb_status
+	hjam 0xff,core_usb_fifo_empty
+	jam 0,mem_mcmd
+	jam 0,mem_usb_state
+	setarg 0
+	store 2,mem_usb_idle_cnt
+	rtn
+
+
+usb_tx:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_5,mem_patch3b
+	fetch 1,mem_mcmd
+	rtn blank
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_wakeup
+	rtnne USB_CONNECTED
+	fetch 1,mem_mcmd
+	jam 0,mem_mcmd
+	arg 6,loopcnt	
+	arg mem_mouse_data,contr
+	beq SEND_KB_DATA_CMD,usb_tx_ep1
+	beq SEND_MOUSE_DATA_CMD,usb_tx_ep2
+	branch assert
+	
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_6,mem_patch3b
+	disable swfine
+	fetch 2,mem_usb_trig_timeout
+	iforce stop_watch
+	hjam 0x40,core_usb_status
+usb_trig_waitnak_loop:
+	hfetch 1,core_usb_status
+	branch usb_init,timeout
+	bbit0 USB_STATUS_NAK,usb_trig_waitnak_loop
+	fetch 2,mem_usb_trig_timeout
+	iforce stop_watch
+	arg 0,temp
+	qset1 temp
+	hstoret 1,core_usb_fifo_empty
+usb_trig_loop:
+	branch usb_init,timeout
+	hstoret 1,core_usb_trig
+	hfetch 1,core_usb_fifo_empty
+	qisolate0 pdata
+	branch usb_trig_loop,true
+	rtn
+
+
+usb_tx_ep2:
+	arg 2,queue
+	arg core_usb_dfifo2,rega
+	branch usb_tx_loop
+
+
+usb_wakeup:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_7,mem_patch3b
+	hjam 0xfc,core_usb_config
+	nop 10000
+	hjam 0x3c,core_usb_config
+	jam USB_RESUME,mem_usb_state
+	rtn
+
+usb_tx_test:
+	fetch 1,mem_mcmd
+	nrtn blank
+	fetch 2,mem_usb_cnt
+	rtn blank
+	increase -1,pdata
+	store 2,mem_usb_cnt
+	jam SEND_MOUSE_DATA_CMD,mem_mcmd
+	rtn	
+	
+
+right_shift_n: //rshiftN pdata,pdata
+	sub loopcnt,0,null
+	rtn zero
+right_shift_n_loop: 
+	rshift pdata,pdata
+	loop right_shift_n_loop
+	rtn
+	
+push_stack:
+	deposit contw
+	store 2, mem_contw
+	storet 8,mem_temp
+	deposit timeup
+	store 4,mem_timeup
+	deposit rega
+	store 4, mem_rega
+	deposit regb
+	store 4, mem_regb
+	deposit regc
+	store 3, mem_regc
+	deposit contr
+	store 2, mem_contr
+	rtn
+pop_stack:
+	fetcht 8,mem_temp
+	fetch 4,mem_timeup
+	iforce timeup
+	fetch 4, mem_rega
+	iforce rega
+	fetch 4, mem_regb
+	iforce regb
+	fetch 3,mem_regc
+	iforce regc
+	fetch 2, mem_contw
+	iforce contw
+	fetch 2, mem_contr
+	iforce 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
+
+
+
+delay_10ms:
+	copy clkn_bt,pdata
+	increase 16,pdata
+	increase 16,pdata
+delay_ms_wait:
+	copy clkn_bt,temp
+	isub temp,null
+	branch delay_ms_wait,positive
+	rtn
+
+memcpy48:
+	ifetch 8,contr
+	istore 8,contw
+	ifetch 8,contr
+	istore 8,contw
+memcpy32:
+	ifetch 8,contr
+	istore 8,contw
+memcpy24:
+	ifetch 8,contr
+	istore 8,contw
+memcpy16:
+	ifetch 8,contr
+	istore 8,contw
+	ifetch 8,contr
+	istore 8,contw
+	rtn
+
+bn_zero:
+	force 3,loopcnt
+memset0:
+	force 0,pdata
+memset8:
+	istore   8,contw
+	loop   memset8
+	rtn
+
+
+clear_mem:
+	deposit loopcnt
+	rtn blank
+	setarg 0
+clear_mem_loop:
+	istore 1,contw
+	loop clear_mem_loop
+	rtn
+	
+	
+
+memcpy:
+	deposit loopcnt
+	rtn blank
+memcpy_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop memcpy_loop
+	rtn
+
+timer_stop:
+	setarg 0
+timer_init:
+	arg mem_timers,contw
+	iforce temp
+	lshift queue,pdata
+	iadd contw,contw
+	istoret 2,contw
+	rtn
+
+timer_reinit:
+	arg 0,queue
+timer_check:
+	set1 mark_ext_patch,mark
+	bpatch patch37_4,mem_patch37
+	fetcht 4,mem_last_clkn
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	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
+
+	/* lshift pdata 8*queue */
+lshift8_queue:
+	increase 1,queue
+lshift8_queue_loop:
+	increase -1,queue
+	rtn zero
+	lshift8 pdata,pdata
+	branch lshift8_queue_loop
+
+
+	/* 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
+
+
+mem3_hex2string_to_uart:
+	arg 3,loopcnt
+	branch hex2string_to_uart0
+mem2_hex2string_to_uart:
+	arg 2,loopcnt
+	branch hex2string_to_uart0
+//input:src:rega des:contwu
+//len of src:loopcnt
+//ex:0x123456 to str //using:temp rega regb
+adss_hex2string_to_uart:
+	arg 6,loopcnt
+hex2string_to_uart0:
+	ifetch 1,rega
+	copy pdata,temp
+	rshift4 pdata,pdata
+	call dialog2uchar
+	istore 1,contwu
+	copy temp,pdata
+	and pdata,0xf,pdata
+	call dialog2uchar
+	istore 1,contwu
+	increase 1,rega
+	loop hex2string_to_uart0
+	rtn
+dialog2uchar:
+	sub pdata,9,null
+	branch dialog2uchar0to9,positive
+	increase 87,pdata
+	rtn
+dialog2uchar0to9:
+	add pdata,0x30,pdata
+	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
+	sub pdata,AT_COMMA,null 
+	rtn zero
+	call uchar2dialog	
+	copy regc,temp
+	call swap
+	arg 10,regb
+	imul32 regb,pdata
+	iadd temp,pdata
+	copy pdata,temp
+	branch string2dec_from_uart_done
+
+
+mem2_string2hex_from_uart:
+	arg 2,loopcnt
+	branch string2hex_from_uart
+adss_string2hex_from_uart:
+	arg 6,loopcnt
+//input:contru contw
+//len of src:loopcnt
+//ex:123456 to 0x12 0x34 0x56
+string2hex_from_uart:
+	ifetch 1,contru
+	call uchar2dialog
+	lshift4 pdata,regc
+	ifetch 1,contru
+	call uchar2dialog
+	iadd regc,pdata
+	istore 1,contw
+	loop string2hex_from_uart
+	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
+
+bcd_byte:
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	lshift2 pdata,rega
+	lshift2 rega,rega
+	remainder pdata
+	ior rega,pdata
+	rtn
+
+bcd_pack:
+	isolate1 0,rega
+	branch bcd_pack_hi,true
+	iforce regb
+	rtn
+bcd_pack_hi:
+	lshift2 pdata,pdata
+	lshift2 pdata,pdata
+	ior regb,pdata
+	istore 1,contw
+	increase -2,contw
+	rtn
+
+wait_div_end:	
+	rtn modone
+	branch wait_div_end
+
+
+bcd2:
+	store 8,mem_pdatatemp
+	force 0x20,pdata
+	force 8,loopcnt
+	arg mem_bcd,contw
+lpo_clear:	
+	istore 1,contw
+	loop lpo_clear
+	arg mem_bcd,contw
+	increase 7,contw
+	fetch 8,mem_pdatatemp
+bcd_loop:
+	div pdata,10
+	call wait_div_end
+	remainder pdata
+	or_into 0x30,pdata
+	istore 1,contw
+	increase -2,contw
+	quotient pdata
+	rtn blank
+	branch bcd_loop
+
+
+
+/* store as packed bcd digits */
+bcd:
+	store 8,mem_pdatatemp
+	force 0,pdata
+	store 8,mem_bcd
+	arg mem_bcd,contw
+	increase 7,contw
+	fetch 8,mem_pdatatemp
+	force 0,rega
+bcd_pack_loop:
+	div pdata,10
+	call wait_div_end
+	remainder pdata
+	call 	bcd_pack
+	increase 1,rega
+	quotient pdata
+	sub pdata,9,null
+	nbranch bcd_pack_loop,positive
+	call bcd_pack
+	isolate1 0,rega
+	rtn true
+	istore 1,contw
+	rtn
+	
+//input:
+//	count:loopcnt str1:rega str2:regb
+//output:
+//	same:set falg true ,diff set falg false
+// using:
+//	reg:temp null flag:zero
+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
+
+slave_savelist:
+	fetch 5,mem_sync_clke
+	store 5,mem_pdatatemp
+	fetch 2,mem_clks_per_lpo
+	istore 2,contw
+	setarg 0
+	setflag match,7,pdata
+	setflag wake,6,pdata
+	setflag sync,5,pdata
+	setflag attempt,4,pdata
+	istore 1,contw
+	branch savelist_2
+
+
+le_savelist:
+	fetch 5,mem_sync_clke
+	store 5,mem_pdatatemp
+	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
+	branch savelist_2
+savelist:		
+	store 8,mem_pdatatemp
+savelist_2:
+	fetch 1,mem_seqi
+	rtneq 0x7f
+	and_into 0x7f,pdata
+	lshift3 pdata,pdata
+	arg mem_savelist,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	
+
+dirty_mem:
+	arg 0x800,loopcnt
+	arg 0,contw
+	setarg 0x01010101
+	branch memset8
+
+	//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
+
+get_uart_rrptr:
+	hfetch 2,core_uart_rrptr
+	copy pdata,contru
+	rtn 
+
+get_uart_twptr:
+	hfetch 2,core_uart_twptr
+	copy pdata,contwu
+	rtn
+//input:contr loopcnt
+send_mem_to_uart:
+	copy contr,rega
+	call get_uart_twptr
+	copy rega,contr
+send_mem_to_uart0:
+	call uart_copy_tx_bytes
+	call  uartd_send
+	branch wait_uarttx
+
+ice_break:
+	hjam 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
+	hjam 0x30,core_ice_ctrl
+	rtn
+	
+test_no_white:
+	hfetch 1,core_config
+	set1 whiteoff_bit,pdata
+	hstore 1,core_config			/* whitening off */
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch37_5,mem_patch37
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch37_6,mem_patch37
+	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
+
+
Index: KG9013/btkb/output/bt_program23.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/bt_program23.rom	(working copy)
@@ -0,0 +1,32701 @@
+11000101000100101000000000001111
+11000000000000000000000000010111
+11000000000000011000000000011011
+11000000000000101000000000011111
+11000000010010000000000101011100
+11000000010010010000000100100110
+11000000010010100000000100101100
+11000000010010101000000100010110
+11000000010110000000000011011000
+11000000010110001000000011011010
+11000000010110010000000011101110
+11000000010110011000000100001000
+11000000010110110000000100010001
+11000000010111001000000011100010
+00100000001000000011101111110001
+11000000000111110000000111001111
+11000000000111111000000111010011
+11000000010000111000000010110110
+11000000010001101000000111100001
+11000000010001111000000111010111
+11000000011001101000000101100110
+11000000011010000000000011000010
+00100000001000000011101111110001
+01101000000100001000000100111011
+01100000000000001000101110000001
+01110000100000000000011000001000
+00100000001000000011000000000011
+00100000010000000000000001010001
+00100000010000000000000001000011
+00100000010000000000000000100100
+00100000001000000011000000010101
+00100000010000000011001110010010
+00100000010000000011010000000111
+00100000010000000011000000100100
+00100000010000000000000111110100
+00100000001000000011000000100010
+00100000010000000000000010110001
+00100000011101000000000000000000
+00011111111100001111111000000000
+00011111111000100000110000000000
+00100000010000000000000010010010
+01100000000000001100101110100111
+11000000000000001000000000110111
+11000000000000110000000001000001
+00011111111000100000010000000000
+00011000110000100010001000000000
+01101000000000001100000001000000
+11000011000000000000000000110100
+00011010001000100000110000000000
+11000110100001001000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+00011010001000100000110000000000
+11011000101000000000000011111000
+00100000001000000000000010001010
+00100000010000000000000010010010
+00100000010000000000000010010010
+01100000000000001000101101111101
+00100000010000000000000000111100
+00100000001000000111110000110011
+00100000010000000000000010010101
+00011000110000100000010000000000
+00011000010100001000010000000000
+01100000000010010100101110011010
+00100000011000000000000000000000
+11011000101000000000110011010101
+00100000001000000000000010001010
+01101000000010100100110101001100
+00011100010000100111111000000000
+10011000010001100111111000000000
+01101000000010010100110101010000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+00100000011110100000000000000000
+00011100010000100000010000000000
+01100000000010100100110101001100
+01101000000000001100110101010010
+00011111111000001111111000000001
+01100000000000001100110101010010
+00100000011000000000000000000000
+01101000000010100100110001011001
+00011100010000100111111000000000
+10011000010001100111111000000000
+11011000010000000000011001000000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+00100000011110100000000000000000
+00011100010000100000010000000000
+01100000000010100100110001011001
+01101000000010010100101110100101
+00011000010100001000010000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010100101110100101
+00011111111100001111111000000000
+00011111111000010111111000000011
+11000001100000000000000000000000
+01101000000000001100110010001111
+11000010100000000000000001101110
+11000010100000001000000001110000
+11011010001000000000000000000000
+00100000010000000000000010000001
+01110000100010010111000110001111
+01101000000000001100110010010000
+01100000000100001000100101110011
+00100000010000000000000001110001
+11011010001000000000000000000001
+00100000001000000000000010000001
+01110000100010010111000110111111
+00100000001000000000000001110001
+01110000100010010111000110101111
+01101000000100001000000001010011
+01111001001000000111111000000111
+01100000000100001000000001010011
+01101000000100001000100101110011
+00011111111000011111111000110000
+01100000000100001000100101110011
+01110000100010010000011001111100
+01110000100010010111001010101010
+00100000000000000001001110001000
+01101000000110010000000101010000
+01101000000100001000000001010011
+01111001001111111111111000000111
+01100000000100001000000001010011
+00011000010100001000010000000000
+01100000000010010100110010010101
+00100000011000000000000000000000
+11011000010000000000000000100001
+01101000000000001100110010010000
+10011000010001100000010000000000
+00011010001000100111111000000000
+01111001001000000000010000000111
+00100100001110100000000010001000
+01111001001111111000010000000111
+11011000101000001000000001111000
+00100000001000000110100111110100
+00100000010000000000000010010010
+00011111111000100111001000000000
+00100000010000000000000010001110
+00100000001000000000000000111100
+00100000010000000000000010010010
+11100000101000001000000000000000
+11000010000000000000000010001110
+00100000011000000000000000000000
+00100000010000000000000010010101
+11101000110000001000000000000000
+00100000011000000000000000000000
+01011000000000000100101100110110
+10011000110001100111110000000000
+00100100011000101000000000000000
+11011000110000000100101010100000
+00100000011000000000000000000000
+11011111001000000000000000000011
+11011000110000000100101110100010
+00011000110000100010001000000000
+01101000000000010100101110100000
+00011111111100001111111000000000
+00011111111000100000101000000000
+00011010001000100000110000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00100000010000000000000010101001
+11000010000000000000000010100001
+00011000101000100111111000000000
+00011111111100001111111000000000
+01100000000000010100101110100000
+00100000011000000000000000000000
+01011000000000000100101110011010
+10011000101001100111110000000000
+00100100011000101000000000000000
+11011000101000000100101100110110
+00100000011000000000000000000000
+01101000000000010100101110011110
+01101000000010010100101110100000
+00100000001000000000000010110011
+01101000000000010100101110011010
+01101000000010010100101110011100
+10011000010001100111110000000000
+00100000001000101110100110110001
+00100000001000000011001000001011
+00011100010000100111111000000000
+01100000000000100100110101001000
+01101000000010001100011111101111
+01101000000000001100110101001011
+10011000010001100111110000000000
+00100100010000010000000010111101
+00100000001000000111110000000110
+01101000000010100100110101001000
+01100000000010100100011111101100
+01100000000010100100110001011001
+01100000000010100100110101001100
+00100000011000000000000000000000
+01100000000010001000001001011001
+01101000000000001100110010001101
+00011111111000001111111000000001
+01100000000000001100110010001101
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000000000011001100
+00100000001000000000000011000110
+01101000000000001100110000010101
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100110000010101
+00100000011000000000000000000000
+00011010011000100111111000000000
+00011111111000010111111011110000
+11000001001010000000000000000000
+00011010011000100111111000000000
+00100000011110100000000000000000
+01100000000000001100101110100100
+00100000001000000000000010011010
+00100000010000000011101100110110
+00100000001000000011110011011100
+01110000010000010110111001111111
+00100000010000000011110011110011
+01101000000000001100110010010111
+00100000011110100000000000000000
+01110000010011001001011100000000
+00011100010000100111111000000000
+01100000000000100100110001011001
+00100000011000000000000000000000
+01101000000000001100001000011001
+00100100011110100000000000000000
+01110000100000000100001000000110
+01011000000000000000111100001100
+00100000010000000011110110100111
+01011000000000110000110101000000
+00100000010000000011101111110011
+00110111110110011000001000000000
+00011110001000100110000000000000
+00100000010000000011101100110110
+00100000000000000001001110001000
+00100000001000000011110110011101
+11000110000100011000000000000000
+01101000000000010100011111110100
+11000010100001001011110100011110
+00100000010000000011110010101011
+01101000000000011100001000010000
+00100000011110100000000000000000
+01101000000000001100000100110001
+00100000011110100000000000000000
+00100000010000000101001001111110
+00100100011110100000000000000000
+00100000010000000011110111001010
+00100100011110100000000000000000
+00100000010000000011101100110110
+01101000000000001100011111011100
+00100000001110100011110100100101
+01101000000000001100011110010011
+00100000011110100000000000000000
+00100000001000000011110100100101
+00100000010000000000000010110001
+00100100011101000000000000000000
+00100000010000000000000010101110
+00100100011101000000000000000000
+01110000000010110111111100000001
+01110000000010110111111000000001
+00100000010000000000000100001101
+00100000001000000000000010110001
+00100000010000000000000100000000
+00100100011101000000000000000000
+01101000000000001000101101111111
+00100100011110100000000000000000
+00100000001000000011110100101101
+01101000000000001000101101111110
+00100000000000000000000000001010
+11000000100000000000000100001101
+00100000011000000000000000000000
+00100000010000000000000100000000
+00100100011101000000000000000000
+01101000000000001000101101111111
+00100100011110100000000000000000
+00100000001000000011110101001111
+00100000010000000000000100011000
+00100000001000000011101010101111
+01101000000000001100001000011001
+00100100001110100000000100011110
+00100000010000000011110110010001
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000010000000011101100001010
+01110000100000000100001000000100
+01101000000100001000100101101011
+00011111111000010111111011001111
+01100000000100001000100101101011
+00011111111000011111111000110000
+01100000000100001000100101101011
+00100000011000000000000000000000
+01100000000010001000000000010111
+00011000010000001010001000000100
+00100000001000000011101010000110
+01100000000010001000000000010111
+00011000010000001010001000000000
+00100000001000000011101010110110
+00100000010000000000000100101001
+01011000000000000000010100000000
+00100000010000000011101111110011
+01110000100010010000011000000001
+01110000100010010000000000111100
+01110000100010010000000111100000
+01110000100010010110110100010010
+00100000000000000000000000001010
+01110000100010010000001000000001
+01110000100010010000001000111101
+00100000000000000000000000001010
+01110000100010010000001110110111
+00100000000000000000000000001010
+01110000100010010000001001111101
+01101000000000001100101111101111
+11000000111111111000000101000100
+01101000000000101100101010010001
+11100000101000101000000000000000
+11101000110000101000000000000000
+11100000101000101000000000000000
+01110000100010010101011011011111
+00100000010000000000000101001011
+01110000100010010101010111011111
+00100000011000000000000000000000
+01101000000000101100101010000111
+11100000101000101000000000000000
+11101000110000101000000000000000
+11100000101000101000000000000000
+01110000100010010101011011000010
+01110000100010010101010111010000
+00100000011000000000000000000000
+00100000000000000000000000000100
+01110000100010010101010111010001
+00100000000000000000000000000100
+01110000100010010101010111010010
+00100000000000000000000000000100
+01110000100010010101010111010100
+00100000000000000000000000000100
+00100000011000000000000000000000
+01110000100010010101010111010100
+00100000000000000000000000000100
+01110000100010010101010111010010
+00100000000000000000000000000100
+01110000100010010101010111010001
+00100000000000000000000000000100
+01110000100010010101010111010000
+01110000100010010101011011000000
+00100000011000000000000000000000
+00100000001100001011101001101111
+00100000010000000000000101010011
+00100000001000000011101001101111
+01111000001101000111110000000000
+01101000000100100000000100111000
+01111001001101000111111000011010
+01100000000100100000000001001100
+00100000010000000011110110110000
+01110000000000001010001000000001
+00100000011000000000000000000000
+01110000000010110111111000000000
+01110000000000010111011100000110
+00100000010000000011111110100100
+01011000000000000000000101100101
+01100000000000010100001010001010
+01011000000000000000000011010001
+01100000000000010100001010010010
+01011000000000000000000111010110
+01100000000000010100001010010000
+01011000000000000000000000100100
+01100000000000010100001010001100
+01011000000000000000000101011111
+01100000000000010100001010001000
+01011000000000000100101010100000
+00011111111100001111111000000000
+01100000000000010100101110011010
+01100000000000010100101110011100
+00100000010000000011111000001011
+01011000000000000100101100110110
+00011111111100001111111000000000
+01100000000000010100101110011110
+01100000000000010100101110100000
+01101000000000001100110010010111
+11000000001011010000000110010100
+00100000001101011000000110010010
+01101000000000010100110010010001
+00011111111100001111111000000000
+01100000000000010100110010010001
+01101000000000010100110010010011
+00011111111100001111111000000000
+01100000000000010100110010010011
+00100000010000000000000110011111
+01101000000001000000001010100000
+00100100001110100000000110001100
+01101000000000010100101011010100
+00011111111100001111111000000000
+00100000001110100000000110001100
+01100000000000010100110010010011
+00100000010000000000000111110001
+01110000010010111010010000101111
+00100000010000000000000010011010
+01110000010011001001011100000000
+01110000100000101000000000000011
+00100000011000000000000000000000
+01110000010010111010010000110000
+00100000001000000000000110001110
+00011100111000100111111000000000
+00100000001110100000000111011001
+00100000010000000101101101100011
+00100000010000000100110110011001
+01011000000000000000000000000000
+01100000000001000100000001000000
+01100000000000010100011111110100
+00011100010000100111111000000000
+01100000000000100100110001011001
+01110000010010111010010000110011
+00100000001000000000000110001110
+00100000010000000110100010001010
+01011000000000000000011111100010
+11011010001000000000001010100000
+11011000010000000000000000001100
+00100000010000000110100011010011
+00100000010000000110100010001101
+01101000000001000000001010100000
+00100000011110100000000000000000
+01101000000000001100110010001111
+11000010100000000000000110110001
+11000010100000001000000110111111
+01101000000000010000001010100000
+00011111111100001111111000000000
+01100000000000010100110010010001
+01101000000000010000001010100110
+00011111111100001111111000000000
+01100000000000010100110010010011
+00100000011000000000000000000000
+01101000000010010000001010100100
+01101000000000010000001010101010
+00011000010000100010010000000000
+00011111111000100010001000000000
+00011111111100001111111000000000
+01100000000000010100110010010011
+00011010001000100111111000000000
+10011000010001100010011000000000
+00011010011000111010011000000000
+00011010010000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110010010001
+00100000011000000000000000000000
+01101000000010010000001010100010
+01101000000000010000001010101000
+00011000010000100010010000000000
+00011111111000100010001000000000
+10011000010001100010011000000000
+00011010011010110010011000000000
+00011010010000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110010010001
+00011010011000111010011000000000
+00011010001000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110010010011
+00100000011000000000000000000000
+01110000000000000001011000100111
+01110000100010010000111100110110
+01110000100010010000101101011111
+00100000001000000101001111010100
+01110000100010010000111100101110
+01110000100010010000101111111111
+00100000001000000101001111011001
+00100000011000000000000000000000
+01110000000010110111111000000011
+00100000010000000000000100001101
+01110000010011001001011101011010
+00100000010000000011110110111000
+01101000000100100000000100111000
+01111001001111111111111000001111
+01100000000100100000000001001100
+00100000010000000011110110110000
+11011000010111111111111111111111
+00100000001000000011110011011010
+00100000010000000111110000100000
+11011010001000000100011111100100
+00100000010000000111111110011111
+00011111111000100000010000000000
+00100000010000000111110000100100
+00011000010000100111111000000000
+00100000011110100000000000000000
+11000000000100001000000111101100
+11000000000100010000000111101110
+11000000000100011000001001111100
+00100000001000000111110001011010
+01110000010010111110111111111111
+00100000001000000000001010101111
+01111001001111111000000000100011
+01110000010010111110111111111111
+00100000001000000000001001101010
+01011000000000000000000000000000
+01100000000000100100101110101001
+00100000011000000000000000000000
+11000110100100011000000000000000
+00100000010000000000001000011000
+00100100001101000000001000001011
+01110000010011000001010100001010
+00100000010000000000001000110101
+01101000000000001100101111101111
+11000001111111111000000000000000
+01110000010011000011110100000010
+01101000000000001100110101000110
+00100100011110100000000000000000
+00100000010000000000000100000000
+00100100011101000000000000000000
+01101000000000001000101101111111
+00100100011110100000000000000000
+00100000010000000011110010101011
+01101000000000011100001000010000
+00100000011110100000000000000000
+01101000000000001100000100110001
+00100000011110100000000000000000
+01011000000000001110001010010000
+00100000010000000111111010001010
+01100000000010100100000111111100
+00100000001000000011110011011010
+00100000010000000000000100000000
+00100100011101000000000000000000
+01101000000000001000101101111111
+00100100011110100000000000000000
+00100000010000000011110010101011
+01101000000000011100001000010000
+00100000011110100000000000000000
+01101000000000001100000100110001
+00100000011110100000000000000000
+01101000000000001100110000010101
+00100100001110100000001000000111
+01101000000001000100110100111101
+00100000001000000000001000001000
+01101000000000001100101111101111
+11000000111111111000001010000101
+00100000010000000000001000011110
+00100000010000000000001011110100
+01110000010010111110011000000001
+00100000011000000000000000000000
+01111000010101000111110000000000
+01110000010010111110001000000010
+01101000000000001000110011010101
+11000000000000001000001000101000
+11000000000000010000001000101011
+11000000000000011000001000110001
+11000000000000110000001000101110
+01101000000000001100110101000110
+00100100010110100011010011011111
+00100000011000000000000000000000
+01110000000011001101010100000000
+01110000010010111110000100001010
+00100000001000000000001000110011
+01110000000011001101010100000011
+01110000010010111110000100000100
+00100000001000000000001000110011
+01110000000011001101010100000010
+01110000010010111110000100000011
+00100000001000000000001000110011
+01110000010010111110001000000001
+01110000010010111110000100001000
+01110000010010111110011100000000
+00100000001000000011010011011111
+01110000010010111110100000000000
+11011001011000000000110100000000
+00110100011100110000001000000000
+00100000010000000000001001011110
+00100100001101111000001001000101
+00100000010000000000001001101101
+01101000000000001100101111100000
+00011111111000001111111000000001
+01100000000000001100101111100000
+01110000010011010100011000000000
+01101000000000001100101111101111
+11000000111111111000001001011101
+00100000010000000000001001010111
+01110000010010111110011100000000
+01110000010010111110011000000000
+00100000011000000000000000000000
+01110000010011010100011000000001
+01101000000000001100101111100111
+00011111111000001111111000000001
+01100000000000001100101111100111
+01101000000000001100101111101111
+11000000111111111000001001101001
+01101000000000001100101111100111
+11000000011111111000001001101010
+01101000000000001100101111100111
+11011000010000000000000000010000
+10011000010001100111110000000000
+00100000001000010000001100010011
+01101000000000001100101111101000
+00011111111000001111111000000001
+01100000000000001100101111101000
+00100000000000000000000000001010
+11000000100000111000001000110110
+00100000001000000000001100010011
+01011000000000000000000000000000
+01100000000001001000110011010101
+00100000011000000000000000000000
+11000101100100011111001010111001
+01101000000001000000110011010101
+00100000011000000000000000000000
+00100000001000000000001010011111
+01111000010101111111110000000000
+00100000010000000000001101101100
+00011000000000000010101000000000
+01101000000000100100110000000000
+10011000000000000001001000000000
+01101000000010001000000000010111
+00100000010000000011101010000010
+00100000010000000011101010000111
+00100000010000000000001100101011
+00100000010101111000001101100110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000010011010100011000000000
+01110000000010110111110100110010
+00100000001000000111110000100111
+00100000010000000000001011010100
+01101000000000001100101111011111
+00100000011110100000000000000000
+10011000000000000111001000000000
+00100000010000000000001001110101
+11011000110000000000110010110101
+11011000101000000000110100010111
+00100000001000000111111001000101
+01101000000000001000110010110100
+00101111111000011111000000001000
+00100100011000001000000000000000
+01101000000010001000110010110101
+01100000000010001100110010110111
+01110000010011010100011100000000
+00100000011000000000000000000000
+01111001001000000000000000100011
+00100000010000000000001010000001
+00100000010000000000001001000001
+01110000010010111110111100000001
+00100000011000000000000000000000
+01110000010010111110000000000000
+01110000010010111110100101001110
+01101000000000100100101111101011
+00100000001000000000001011100110
+00100000010000000000001010000001
+01101000000000001100101111100110
+11000000000000001011010011011111
+01101000000000001100101111101111
+11000000000000001000001010001101
+11000000000000010000001010010000
+11000000000000011000001010010011
+00100000001000000011101111110001
+01110000010010111110111100010001
+01110000000011010011011110101010
+00100000001000000000001010010101
+01110000010010111110111100010010
+01110000000011010011011101010101
+00100000001000000000001010010101
+01110000010010111110111100010011
+01110000000011010011011100100010
+01110000000011010011100000000010
+01101000000000100100110000000110
+01100000000000100000110100111001
+01110000000011010011110100000000
+11011010001000000000110100110111
+11011000010000000000000000000111
+00100000010000000000001011001111
+00100000010000000000001011110100
+00100000010000000000001000011100
+00100000001000000011010011011111
+01101000000000001100101111101111
+11000001011111111000000000000000
+11000000000010001000001010100101
+11000000000010010000001010100111
+11000000000010011000001010101001
+00100000011000000000000000000000
+01110000010010111110111100000010
+00100000001000000000001001000001
+01110000010010111110111100000011
+00100000001000000000001001000001
+01110000010010111110111111111111
+01110000000010110111110100110001
+00100000010000000111110000100111
+01101000000000100000110100011001
+00100000010000000000001011100110
+00100000001000000000001001000001
+11000110000100011000000000000000
+00100000010000000000001011100111
+00100000010000000000001100010011
+01101000000000001100101111101111
+11000001111111111000000000000000
+00100000010000000000001011000001
+01011000000000000000000000000000
+01100000000000010100110000000100
+00100000010000000011110010101011
+00100000000000000000011111010000
+01101000000000001100110000000100
+11000000011111111000001001101010
+00100000010000000000001001011110
+00100100001101111000001011001010
+00100000010000000000001001010111
+01111001001000000000000000100011
+01110000000010110111110100111100
+00100000001000000111110000100111
+01110000000011010011011111111111
+01101000000000001100101111100010
+01100000000000001000110100111000
+01101000000000100100110000000110
+01100000000000100000110100111001
+11011000010000000000000000000110
+11011010001000000000110100110111
+00100000010000000000001011001111
+00100000001000000000001011110100
+01101000000000010100110000000100
+00011111111000001111111000000001
+01100000000000010100110000000100
+00100000010000000000001100010011
+00100000001000000000001010110111
+01100000000010001100101111100001
+00011000010000100111001000000000
+11011000101000000000110011010101
+00011010001000100000110000000000
+00100000001000000111111001000101
+01101000000000001000110010110100
+00011111111010010111111000000000
+01100000000000001100101111011111
+00011111111000001111111000000001
+11011000110000000000110010110100
+10011000110000001000110000000000
+11101000110000011000000000000000
+01100000000000011100110000001011
+00100000011000000000000000000000
+01101000000010001100110000111100
+01011000000000000100110000101011
+10011000010000001000101000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00011000010000001000010000000001
+00011000010000010000010000000111
+01100000000010001100110000111100
+00100000011000000000000000000000
+01100000000000100100110000000000
+11011010001000000000000000000000
+11011111001000000000000000000100
+11011000110000000100110000000000
+11101000110000001000000000000000
+10011010001000001010001000000000
+11000010000000000000001011101010
+00011010001000100111111000000000
+01100000000000010100110000010110
+01101000000000001100110000010110
+01101000000010001100110000010111
+10011000010000001111111000000000
+01100000000000001100110000011000
+00100000011000000000000000000000
+01101000000000001100101111100001
+00011111111000001111111000000010
+01100000000000001100101111100011
+01101000000000001100101111100010
+01100000000000001000110011110101
+01101000000000001100101111100001
+00011111111010011111111000000000
+01101000000010001100101111100000
+00011000010000010000010000000011
+00011000010000111000010000000000
+10011000010000011111111000000000
+01101000000010001100110000001010
+10011000010000001111111000000000
+11100000101000001000000000000000
+01101000000000001100101111101111
+11000000111111111000001100000110
+01101000000000001100101111100010
+11100000101000001000000000000000
+01101000000000001100101111100001
+10011000000000000111001000000000
+01101000000000001100101111100010
+11000000000000001000001100010001
+11011000110000000000110011010101
+00100000010000000111111001000101
+01101000000000001000110011010101
+11000000000000011000001100001111
+00100000011000000000000000000000
+01110000000011001101010100000010
+00100000011000000000000000000000
+11011000110000000000110011010110
+00100000001000000111111001000101
+01101000000010001100101111101010
+00100000010000000000001100011001
+00011000010000001000010000000001
+00011000010000010000010000000011
+01100000000010001100101111101010
+00100000011000000000000000000000
+01101000000000001100110000000000
+00011111111000010111111000000011
+00011111111011111010001000000100
+01011000000000000100101111110000
+10011010001000001111111000000000
+10011000010000001000110000000000
+11101000110000001000000000000000
+01100000000000001100101111101001
+00100000011000000000000000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+01011000010101010101010101010101
+10011000000000000001111000000000
+01101000000000001100101111101001
+00011111111011011000010000000000
+01111001001000000000010000000001
+00011000010000110001110000000000
+00100000011000000000000000000000
+00100000010000000000001100100010
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+01111000001010000111110000000000
+01101000000000010100101111100100
+10011000000000000011011000000000
+00110111110000011000010000000000
+00100100001011000000001101100110
+01111000010001101111110000000000
+01111000001001011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001100110000011001
+01101000000010001100110000011000
+10011000010001100111110000000000
+00100100001000101000001101100110
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001000110010110011
+01101000000000001000110010110011
+01101000000010001100101111100010
+10101000010000000000111000000000
+00100100001000001000001101100110
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+00011111111010010111111000000000
+00011111111000010111001000011111
+00100000001000101000001101001111
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000000001101001011
+00011000101000100010001000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001100110000101010
+00011010001000100000101000000000
+00001001100000000000000000011000
+01111000001010000111110000000000
+11011011011000000000011001100100
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100000101000011000000000000000
+01111000010001011111110000000000
+00100000001000110000001101100110
+01111000001101111111110000000000
+01101000000000001000000000010111
+00011111111000001010001000000000
+00100000010000000011101010110110
+01111000010001101111110000000000
+00100000010000000011101001111010
+01101000000000001100110000101010
+00011111111000100010001000000000
+00100000010000000000001011011101
+00100000011000000000000000000000
+01111000010011011111110000000000
+01111000010001011111110000000000
+00100000001000000011011101011100
+00100000010000000011101001111010
+01101000000010001100101111101001
+00100000001000000011101010010001
+00100000010000000101001111010010
+01101000000000100100110000000000
+10011000000000000001001000000000
+00100000010000000000001100100010
+00100000010000000000001101101001
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00001000000000001000011000101000
+01111000010011101111110000000000
+01111000001011011111110000000000
+01111000001000111111110000000000
+01111000001001001111110000000000
+01101000000000001100110000011000
+00001000000000001000011000001000
+01101000000000001100101111100011
+10011000000000000111001000000000
+11011000110000000000110011110101
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000000001110000010
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+00110111110100111000001000000000
+00100000000000000000000001100100
+01111000010011101111110000000000
+01111000010011011111110000000000
+00100000011000000000000000000000
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+                                
+00100000010000000011110001110100
+01111001001111111000000000100101
+01000100100000000100000000000000
+00100000100000000000000000000000
+00100000010000000011101010011110
+00100000010000000110100000000101
+00100000010000000011101111111010
+00100000010000000100110110011000
+01111001001111111000000000100101
+01000100100000001100000000000000
+00100000010000000110101101010011
+00100000010000000101101101100010
+00100000010000000111101110011101
+00100000010000000011111001001111
+01111001001111111000000000100101
+01000100100000010100000000000000
+00100000010101011011111001011111
+00100000010000000111011100011001
+00100000010101011011110011110001
+01111001001111111000000000100101
+01000100100000011100000000000000
+00100000010000000111100000010011
+00100000010000000101001101110011
+00100000010000000100010001001001
+01111001001111111000000000100101
+01000100100000100100000000000000
+00100000010000000011000000111110
+00100000010000000011111001101010
+00100000010000000011000010100001
+01111001001111111000000000100101
+01000100100000101100000000000000
+00100000010000000011001110010010
+00100000010000000011010000000111
+00100000010000000011000000100100
+00100000010000000011110100011100
+00100000001000000011000000010011
+00100000010000000011000000101001
+11000110100001001000000000000000
+01111001001111111000000000001001
+00100000010000000011001010111101
+00100000001000000101001111010111
+01111001001111111000000000100101
+01000100100000110100000000000000
+00100000010000000011001011111110
+00100100001000101011000000110011
+00100000010000000011001010100011
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000101001101110111
+11000010100000001011000110100111
+00100000001000000011010001110011
+01111001001111111000000000100101
+01000100100000111100000000000000
+00100000010000000011001011000110
+00011111001000100111110000000000
+00100000011000101000000000000000
+00100000010000000011001010100011
+01101000000000001000000000110000
+11000010100000011011000100000011
+01101000000000001000000000110001
+11000010100000001011000110100111
+00100000001000000011010001110011
+01101000000000001100001001110010
+00100000011110100000000000000000
+11000000000000001011000001001110
+11000000000000010011000001010011
+11000000000000011011000001010110
+11000000000000101011000001011011
+11000000000011011011000001001011
+00100000010000000011001011110110
+00100000011000101000000000000000
+00100000010000000011001011111001
+00100000011000101000000000000000
+01110000010000100111001000000000
+00100000011000000000000000000000
+01110000000001000001110000011011
+01110000010000100111001000000000
+00100000011000000000000000000000
+01111001001000000000000000011100
+01111001001111111000000000011110
+01110000000000001000111011111111
+01110000000000001000110000011111
+00100000001000000011000001001001
+01111001001111111000000000011100
+00011000000000000011011000000000
+00100000001000000011000001001001
+00100000010000000011001011111001
+00100000011000101000000000000000
+00011000000000000000010000000001
+01110000000000010111100000000101
+00100000001000000011000001101000
+01111001001111111000000000100101
+01000100100001000100000000000001
+01101000000000001100000100110010
+11000000000000001011000001100100
+01101000000000110100001001110100
+00100000001110100011000001001001
+01110000010001111111001100000001
+01110000000000000101010100000011
+00100000001000000011000001100111
+01101000000000110100001001110100
+00100000001110100011000001001001
+01100000000000110000000001000000
+00011000000000000000010000100101
+01111001001111111000000000100101
+01000100100001001100000000000001
+01101000000000001000000011110011
+00100000001110100011000001101111
+00011111111010011111111000000000
+00011111111100100111111000000000
+00011111111000001111111111111111
+01100000000000001100000101000110
+01100000000000001000000011110010
+01110000000000001000110100011111
+01111001001111111000000000001100
+00100000010000000011001011010110
+00100100001000101011000010010000
+00100000010000000011101111010001
+01100000000000001000000001110111
+01100000000010001000000001111100
+01101000000000110100001001110100
+01100000000000110000000001000000
+01111001001111111000000000100101
+01000100100001010100000000000001
+00011000000000000111111000000000
+00101000010000011111111000000001
+01111101001000001111111000000101
+01111001001000000111111000000011
+01100000000000001000000000110000
+01110000000010110111110100000011
+00100000010000000111110000100111
+00011000000000000111111000000000
+01111001001000001111111000000100
+01100000000000001000000001001100
+01011000000000000000000000000000
+01111001001000000111111000000001
+01100000000000001000000000110001
+01111000001101001111110000000000
+00100000010000000011001010111101
+01111000010101001111110000000000
+00011000000000000000111000000100
+01101000000000010100000101011001
+00100000010000000111111001001100
+00100000001000000011000001001001
+01111001001111111000000000100101
+01000100100001011100000000000001
+01101000000000110100001001110100
+01100000000000110000000001000000
+00101000010000011111111000000001
+00100000001000001011000010011001
+00011000000000000000010000000111
+00100000010000000100100000100110
+00100000001000000011000001001001
+11011000101000000000000100000011
+11011111001000000000000000001000
+00100000010000000111111000111011
+00011000000000000000111000000111
+00100000010000000100100010011000
+01110000000010110111110100000100
+00100000010000000111110000100111
+00100000001000000011000001001001
+11000110100011100000000000000000
+00011000000000000000111000000010
+00100000010000000111111001010011
+01111101001110100000000000011100
+00100100001110100011000010100111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100001100100000000000001
+01101000000010010100000101011011
+00011000000000000000111000000100
+00100000010000000011100000111101
+00100000011101000000000000000000
+00100000010000000011101000010010
+00011000000000000100100000000000
+00100000011000011000000000000000
+01111001001111111000000000001011
+01111001001111111000000000000000
+00011100010000001100001000000001
+00101000000011111111111000011110
+01111001001000001100100000000010
+00101100001000000000010000000000
+00100100001000001011000011010011
+01111001001111111000000000100101
+01000100100001101100000000000001
+01101000000000001000000000010010
+00011111111000001111111000000001
+01100000000000001000000000010010
+00100000010000000011101001001001
+00100000010000000011101001000010
+00100000010000000011101001100110
+00100000010000000011101110101110
+00100000010000000011101110110100
+00100000010000000011101111000101
+00100000010000000011011101011100
+00100000010000000011000011000101
+00100000001000000011000010101111
+01111001001111111000000000100101
+01000100100001110100000000000001
+01101000000000001000000010001100
+00011111111000001111111111111111
+01100000000000001000000010001100
+00100000011000010000000000000000
+01110000000000001000110000011111
+01101000000000001000000010001110
+00011111111000001111111111111111
+01100000000000001000000010001110
+00100000011000010000000000000000
+01111001010000000000000000011110
+01110000000000001000111011111111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100001111100000000000001
+00100000010000000011101001001001
+00100000010000000011101000111011
+00100000010000000011101001100110
+00100000010000000011101110111010
+00100000010000000011101100111010
+00100000010000000011101101100011
+00100000001011000011000011011110
+00100000010000000011000011000101
+00100000001000000011000010110010
+01111001001111111000000000100101
+01000100100010000100000000000010
+00100000010000000011101011110011
+00100000010000000011101111001101
+00100000010000000011010111100001
+01111001001111111000000000000001
+11000110100001011000000000000000
+01111001001111111000000000100101
+01000100100010001100000000000010
+01101000000000001100001010100100
+11000010100000000100001000100001
+00100000010000000100011101111011
+01101000000000001000000000010011
+00011111111000001111111000000001
+01100000000000001000000000010011
+00100000011000000000000000000000
+01111001001111111000000000001011
+00100000010000000011000011111110
+00100000010000000011101001001001
+00100000010000000011101000111011
+00100000010000000011010011100001
+00100000010000000011101110111010
+00100000010000000011101100111010
+00100000010000000011101101100011
+00100000001011000011000011111000
+00100000011000000000000000000000
+00100000010000000011101111001101
+00100000010000000011010111100001
+01111001001111111000000000000001
+00100000001000110011000011100101
+00100000010000000100011110011011
+00100000001000000011000011101010
+11011001011000000000011000000000
+00110100011100110000001000000000
+00011100010000010111111000000011
+11000000100000001011000011111111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100010010100000000000010
+01111000001101001111110000000000
+01111000001110000111110000000000
+01101000000000010100000101010101
+00100000001110100011000100001100
+00011000000000000000111000001101
+00100000010000000111111001010011
+00100100011110100000000000000000
+01111001001111111000000000100101
+01000100100010011100000000000010
+01101000000010010100000101010111
+00011000000000000000111000101000
+00100000010000000011100000111101
+00100000001101000011000101001110
+00011000000000000000111000000100
+00100000010000000111111001010011
+00100100001110100011000100100111
+01101000000000001000000001001100
+11000010100000100011000100011010
+00011000000000000000010000000100
+00100000010000000100100000100110
+00100000001000000011000100011111
+11011000101000000000000100000011
+11011111001000000000000000001000
+00100000010000000111111000111011
+00011000000000000000111000000100
+00100000010000000100100010011000
+01111001001111111000000000100101
+01000100100010100100000000000010
+01110000000000000011000000000000
+00100000010000000101101101100011
+01110000010001111111001100000000
+01110000000010110111110100010011
+00100000010000000111110000100111
+00100000001000000011000101001110
+01111001001111111000000000100101
+01000100100010101100000000000010
+00011000000000000001011000000000
+00110100011100110000001000000000
+01101000000000001000000011110100
+00011111111000001111111111111111
+10011100010000101111111000000000
+00101111111000000000011000000000
+00100100001000001011000100100111
+00011000100000100111111000000000
+01100000000000001000000110001011
+00011000000000000100110000000000
+00011000000000000100100000000000
+01111001001111111000000000100101
+01000100100010110100000000000010
+00100000001000011011000101001110
+00100000010000000011101001001101
+11011001011000000000011000000000
+00110100011100110000001000000000
+01111001001111111000000000100101
+01000100100010111100000000000010
+01101000000000100000000011110100
+10011000000000000100001000000000
+00011111111000001111111000000001
+01100000000000100000000011110100
+00101000000011111111111000001100
+01111001001000001100100000000010
+00101100001000000000010000000000
+00100100001000001011000101100100
+01101000000000001000000000001100
+00011111111000001111111000000001
+01100000000000001000000000001100
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110110100
+00100000010000000011101111000101
+00100000010000000011011101011100
+00100000010000000011000101010101
+00100000001000000011000100110100
+01111001001111111000000000100101
+01000100100011000100000000000011
+01111000010101001111110000000000
+01101000000000010100000101010101
+00100000011110100000000000000000
+00011000000000000000111000001101
+00100000001000000111111001001100
+01111001001111111000000000100101
+01000100100011001100000000000011
+01101000000000001000000010001101
+00011111111000001111111111111111
+01100000000000001000000010001101
+00100000011000010000000000000000
+01110000000000001000110100011111
+01101000000000001000000011110010
+00011111111000001111111111111111
+01100000000000001000000011110010
+00100000011000010000000000000000
+01111001010000000000000000001100
+01101000000000001100000101000110
+01100000000000001000000011110010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100011010100000000000011
+00100000010000000011101000111011
+00100000010000000011101110111010
+00100000010000000011101100111010
+00100000010000000011101101100011
+00100000001011000011000101101101
+00100000010000000011000101010101
+00100000001000000011000100111010
+00100000010000000011011101011100
+01101000000000001000000000001101
+00011111111000001111111000000001
+01100000000000001000000000001101
+00011000000000000011011000000000
+01101000000000100000000011110100
+01111001001111111000000000100101
+01000100100011011100000000000011
+00100000010000000011101110101100
+00100000010000000011101001001101
+00011100110000001100110000000001
+00011100001000010100001111111101
+00011100100000010100100111111100
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110110100
+00100000010000000011101111000101
+00011100010000100111111000000000
+01100000000000100000000101101011
+00011000000000000000100000000000
+00011000000000000000001000000010
+00100000010000000011101111001101
+00100000010000000011100011000001
+01111001001111111000000000100101
+01000100100011100100000000000011
+00100000010000000011101110101010
+00011100001000011100001000000010
+00011100100000010100100111111100
+00100000010000000011101000111011
+00100000010000000011101110111010
+00100000010000000011101100111010
+00100000010000000011101101100011
+00100000010011000011011101011100
+00100000001011000011000110010100
+01101000000000001000000000010000
+00100000001110100011000100110100
+00011111111000001111111111111111
+01100000000000001000000000010000
+00100000001000000011000101110011
+01111001001111111000000000100101
+01000100100011101100000000000011
+01101000000000001000000000001110
+00011111111000001111111000000001
+01100000000000001000000000001110
+00100000010000000011010011101101
+00100000010000000011001110001011
+00100000001011000011000110011111
+00100000010000000011010100001110
+00100100001110100011000110011010
+00100000001000000011000100110100
+01111001001111111000000000100101
+01000100100011110100000000000011
+01101000000000001000000000110000
+01111001001111111111111000000011
+01100000000000001000000000110000
+00100000010000000011010011111001
+01111000010101001111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100011111100000000000011
+01111000001101001111110000000000
+01111000001110000111110000000000
+00100000010000000011001001001110
+00100000011101000000000000000000
+00100000010000000011111000100101
+00100000010000000011101110101100
+00011100010000001100001000000001
+00100000010000000011101001010100
+00011000000000000100100000000011
+00100000010000000011001001111100
+00100000010000000110101001010100
+00100000010000000110111000010000
+00100000010000000011010101000111
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110110100
+00100000010000000011101111000101
+00100000010000000011100010111111
+01111001001111111000000000100101
+01000100100100000100000000000100
+00100000010000000101101101111000
+00100000010000000100100110010101
+00100000010000000100100010101001
+00100000010000000011001101111100
+00100100001101101011000111000111
+00100000010000000011101111101100
+00100000010000000011100001110000
+01101000000000001000000000001111
+00011111111000001111111000000001
+01100000000000001000000000001111
+01111001001111111000000000100101
+01000100100100001100000000000100
+00100000010000000110110111101100
+00100000010000000011000111010101
+00100100011101001000000000000000
+00100000010000000011100000010010
+00100100001110100011000111010010
+00100000010000000110101001011100
+00100000010000000011001010010000
+01111000010101001111110000000000
+00100000011000000000000000000000
+00100000010000000011010101000111
+00100000010000000011001101110001
+00100000001000000011000110111011
+00100000001101101011000111011000
+00100000010000000011101111100010
+00100000001000010011000111100110
+00100000010000000011001000000100
+00100100001101000011000111100110
+01101000000000001000000001001100
+11000100000000100000000000000000
+11000011100000011000000000000000
+01101000000000001000000001001011
+11000011100000011000000000000000
+00100000010000000011001000001101
+00100100011110100000000000000000
+01101000000000001000000101111000
+00011111111000001111111111111111
+01100000000000001000000101111000
+00100100011110100000000000000000
+00100000001000000101111011010101
+01111001001111111000000000100101
+01000100100100010100000000000100
+00100000010000000011010100010110
+01111000010101001111110000000000
+01101000000000001000000001001100
+11000010100000100011000111110010
+01101000000000001000000000110000
+11000011000000100011000111110000
+01101000000010001000000001000110
+00100000001000000100100011000100
+00011000000000000000010000001000
+00100000001000000100100000100110
+00011000000000000000111000000000
+01101000000000001000000001001100
+11000010100000011100100010011000
+00011000000000000000111000000100
+11011000101000000000000100000011
+11011111001000000000000000001000
+00100000010000000111111000111011
+00100000001000000100100010011000
+01111001001111111000000000100101
+01000100100100011100000000000100
+01101000000000001000000000110000
+11000100000000010000000000000000
+01101000000010001000000001000110
+01101000000000001000000010101100
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000011100001101001
+00100000001000000011001010010011
+01111001001111111000000000100101
+01000100100100100100000000000100
+01111000001101000111110000000000
+01101000000000001000000001001011
+11000100000000011000000000000000
+00100000010000000011001000001101
+00100100011110100000000000000000
+01111000010101000111110000000000
+00100000011000000000000000000000
+01101000000000001000000001110010
+00011111111000001111111111111111
+01100000000000001000000001110010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100100101100000000000100
+01101000000000001000000000110000
+11000010100000111011001000011111
+01101000000000001100000100110010
+11000000000000001011001000011101
+01101000000000001000011111100001
+00100000001110100011001000011111
+01110000000001111110000100000000
+01110000000010110111110100011000
+00100000010000000111110000100111
+00100000001000000011001000011111
+00100000010000000110001000010110
+00100100010000001100100001010010
+01111001001111111000000000100101
+01000100100100110100000000000100
+00100000010000000011001011110000
+01101000000000001000000000110000
+01111001001000000111111000000111
+01100000000000001000000000110000
+01110000010000100101111000000001
+01101000000000001000000001010101
+11000000100010110011001000101000
+00100000011000000000000000000000
+01110000000001111110000100000001
+01101000000000001000000000110000
+01111001001111111111111000000111
+01100000000000001000000000110000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100100111100000000000100
+01111000010101000111110000000000
+01101000000000001000000000110000
+11000100000000001000000000000000
+01101000000000010000000000110010
+00100100011110100000000000000000
+01101000000000100000000000110100
+00100000001110000011001000111001
+10011101000001100111111000000000
+00100000001000000011001000111010
+10011100010001100111111000000000
+00011111111001100111110000000100
+00100100011000010000000000000000
+01101000000000001000000000110000
+01111001001111111111111000000001
+01100000000000001000000000110000
+01111000001101000111110000000000
+00100000011000000000000000000000
+00011111111000100000010000000000
+01111001001111111000000000100101
+01000100100101000100000000000101
+01100000000000100000000000110100
+01110000010001110100100000000001
+01101000000000001000000000110000
+01111001001000000111111000000001
+01100000000000001000000000110000
+00011000000000000111111000000000
+01100000000000010000000000110010
+01110000000000001000101000001010
+01110000000000000111001100000001
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100101001100000000000101
+00100000010000000011001000101110
+00100100011101000000000000000000
+01111000010101000111110000000000
+01110000000000000001000100100000
+01111001001111111000000000001011
+00100000010000000011101110101100
+00100000010000000011001101111111
+11000101000001011011001001100011
+00100000010000000011010100001110
+00100100001110100011001001010101
+01111001001111111000000000100101
+01000100100101010100000000000101
+01111000010101000111110000000000
+00011100010000100111111000000000
+01100000000000100100000101101010
+01111000001110000111110000000000
+01111000001101001111110000000000
+01110000000010110111110100101010
+00100000001000000111110000100111
+01111001001111111000000000100101
+01000100100101011100000000000101
+00100000010000000011101110101010
+00100000010000000011001101110100
+01111000010110000111110000000000
+01111000010101001111110000000000
+00100000010000000011100110000010
+00100000010000000011010011101101
+01111001001111111000000000100101
+01000100100101100100000000000101
+00100000010000000011010100111001
+00100000001101101011001001110010
+00100000010000000011010100001110
+00100100001110100011001001101011
+00100000001000000011001001011010
+00011000000000000000010000000001
+00100000010000000100100001111111
+01101000000000001000000000110001
+01111001001111111111111000000001
+01100000000000001000000000110001
+00100000010000000011101111101100
+00100000010000000011100110101100
+01111000001101000111110000000000
+01110000000010110111110100101011
+00100000001000000111110000100111
+01111001001111111000000000100101
+01000100100101101100000000000101
+11000110100000111000000000000000
+01101000000000001000000000110000
+11000100000000010000000000000000
+00100000010000000011110000100011
+01101000000000001000000010110011
+01101000000010001000000001000111
+01100000000010001000000010110100
+01100000000000001000000001000111
+00011000100000100111111000000000
+01100000000000001000000010110010
+01101000000000001100000111111001
+10011000000000000000100000000000
+01111001001111111000000000001000
+01101000000000001100000101100101
+01100000000000001100000101100111
+01101000000000001100000101100110
+01100000000000001100000101100101
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100101110100000000000101
+11000110100000111000000000000000
+00100000010000000011100001000111
+00100100011000001000000000000000
+00100000010000000011011110011001
+01101000000000001000000010110100
+01101000000010001000000001000111
+01100000000000001000000001000111
+01100000000010001000000010110011
+01101000000000001000000010110010
+10011000000000000000100000000000
+01101000000000001100000101100101
+01100000000000001100000101100110
+01101000000000001100000101100111
+01100000000000001100000101100101
+01011000000000001111111111111111
+01100000000000010100000101101000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100101111100000000000101
+01111001001000000000000000001001
+00011010001000100111111000000000
+01100000000000010000000000011110
+00011000000000000111001001010000
+11011000101000000000001111000000
+00011010001000001000110000000001
+11101000110000001000000000000000
+00011010001000100000110000000000
+11000010100000000111111001000101
+11011000101000000000000000110000
+00100000010000000111111001000101
+01111000010101110111110000000000
+01101000000000001000000001110111
+10011000000000000000100000000000
+01110000000000001000101000000001
+00100000001101001011001010110110
+01110000000000001000101000000001
+01101000000000001000000000110000
+11000100000000001000000000000000
+01101000000000001000000001110011
+01100000000000001000000010001010
+01101000000000001000000001110100
+01100000000000001000000010001011
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100110000100000000000110
+01101000000000010000000000011110
+10011000000000000000101000000000
+00011000000000000111001001010000
+11011000110000000000001111000000
+00100000001110110111111001000101
+11011000110000000000000000110000
+00100000001000000111111001000101
+01101000000010001000000000010101
+11011111001000000000000000000011
+00011000010000001000010000000001
+00101000010000011111111000000011
+00100100001000001011001011001100
+11011000010000000000000000000000
+01100000000010001000000000010101
+00011000010011111111111001010000
+11011010001000000100000001000000
+10011010001000001010001000000000
+11101010001000001000000000000000
+11000010100000001011001011010100
+11000011100000000000000000000000
+11000011100000011000000000000000
+11000010000000000011001011001000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100110001100000000000110
+11011010011000000011001100001011
+00100000010000000011001100000001
+00100100011000101000000000000000
+00011010001000100111111000000000
+01100000000000010000000000011110
+00011000000000000111110000000000
+00100000011000000000000000000000
+00100000010000000011100001000111
+00100000001000001011001011100111
+01101000000000010000000000011110
+00011111111000001000101000010111
+01101000000000001000000001000111
+11100000101000001000000000000000
+11011010011000000011001100110100
+00100000001000000011001100000001
+01101000000000001000000001000111
+00101111111011111111111000000011
+00100000001000001011001011101100
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000011000000000000000000000
+11011010011000000011001100110001
+00100000001000000011001100000001
+01101000000010010000000000011110
+11011010011000000011001101100110
+00100000001000000011001100000001
+01101000000010010000000000011110
+11011010011000000011001101011001
+00100000001000000011001100000001
+01101000000010001100001001110011
+11011010011000000011001100010110
+00100000001000000011001100000001
+01111001001111111000000000100101
+01000100100110010100000000000110
+01101000000010110100001001110100
+11011010011000000011001100001111
+00100000001000000011001100000001
+11011010011000000011001100011100
+00100000001000000011001100000001
+11011010011000000011001101010000
+01111001001111111000000000100101
+01000100100110011100000000000110
+11011010001000000100000001000000
+00011000000000000111001000000011
+11101010001000001000000000000000
+00011010011000100111101000000000
+00011010001000001010001001010000
+11000010000000000011001100000101
+00011000000000000111110000000001
+00100000011000000000000000000000
+11000010100000000011001100000111
+11000010100000011011001100000111
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000010100000011011001100010001
+11000011000000000011001100000111
+00011010001000001000110000010000
+11101000110000110000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000011001100000111
+11000011000000000011001100000111
+00011010001000001000110000010110
+11101000110000001000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000011001100000111
+11000011000000001011001100000111
+00100000010000000011001100111101
+11000010100011011011001100100010
+00101000010011000000000000011011
+00100000001000001011001100100010
+01111001001000000111111000011100
+10011000010001100111111000000000
+00011111111000001111111000000001
+00100000001000010011001100101011
+00011111111000001111111000000101
+00100100001000010011001100000111
+00011000010000100100001000000000
+00100000010000000011001101001001
+00011000000000000111110000000000
+00100000011000000000000000000000
+10011000000000000010010000000000
+00011010001000001000110000000010
+11101000110000010000000000000000
+00100000001110100011001100100111
+00100000010000000011001101001001
+00100000001000000011001100011101
+11000011000000000011001100000111
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000011000000000011001100000111
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000011001100000111
+00011010001000001000110000010111
+11101000110000001000000000000000
+11000011000000011011001100000111
+00011000000000000111110000000000
+00100000011000000000000000000000
+00011010001000001000110000000001
+11101000110010001000000000000000
+00011100010000100111111000000000
+00101000010011111111111000000001
+00011010001000001000110000000100
+11101000110010100000000000000000
+00100000011000001000000000000000
+00011010001000001000110000001000
+11101000110000110000000000000000
+00100000010000000011100111000000
+00011101000000100111111000000000
+00100000011000000000000000000000
+00011010001000001000110000000010
+00011010001000001000101000000100
+11101000110000010000000000000000
+10011000010000001001011000000000
+00011001011000100111111000000000
+11100000101000100000000000000000
+00100000001000000101010000110100
+11000011000000001011001100000111
+00100000010000000011001100111101
+10011011011000001111111000000000
+10011011011000001111111000000000
+10011000111000001111111000000000
+10011000010001100111110000000000
+00100100001000010011001100000111
+00011000000000000111110000000000
+00100000011000000000000000000000
+11000011000000000011001100000111
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100000001111110011001100000111
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000011001100000111
+00011010001000001000101000011000
+11101000101000001000000000000000
+00100100001110100011001100000111
+00011000000000000111111000101101
+11100000101000001000000000000000
+00100000001000000011001100000111
+11000011000000000011001100000111
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100000001111110011001100000111
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000010100000000011001100000111
+11101010001000001000000000000000
+01111001001111111111111000000111
+11100010001000001000000000000000
+00100000001000000011001100000111
+01111001001111111000000000100101
+01000100100110100100000000000110
+00100000010000000011101110101100
+00011100010000001100001000000001
+00100000010000000011101001010100
+00011000000000000100100000000011
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110110100
+00100000010000000011101111000101
+00100000001000000011100010111111
+01111001001111111000000000100101
+01000100100110101100000000000110
+00100000010000000011101110101010
+00011100010000001100001000000001
+00100000010000000011101001010100
+00011000000000000100100000000011
+00100000010000000011101000111011
+00100000010000000011010011100001
+00100000010000000011101101000001
+00100000010000000011101110111010
+00100000010000000011101100111010
+00100000010000000011101101100011
+00100100011011000000000000000000
+00100000010000000011101011110011
+00100000001000000011010111011111
+01111001001111111000000000100101
+01000100100110110100000000000110
+01101000000000001000000110001011
+10011000000000000000100000000000
+00011000000000000000001000000001
+00100000010000000011001101110001
+00100000001000000011001101111100
+01101000000000001100000100110011
+11000100000000000000000000000000
+00011000000000000000111000000101
+00100000010000000111111001010011
+00100100011110100000000000000000
+01101000000010010100000101001101
+00011000000000000000111000000100
+00100000010000000011100000111101
+00100000011101000000000000000000
+00100000010000000011001110100010
+00011000000000000000111000000101
+01101000000000010100000101001111
+00100100001011000111111001001100
+00011000000010100111111000000000
+10011110101000010111111000000000
+00100000001000000111111001001100
+01111001001111111000000000100101
+01000100100110111100000000000110
+01110000000000011000101100000000
+01111000010110000111110000000000
+01111000010101110111110000000000
+00100000010000000011101000010010
+00011100010000010100001111111100
+00011000000000000100100000000001
+00100000010000000011101001001001
+00100000010000000011101000111011
+01111001010000000000000000011101
+01101000000000001000000000000110
+00011111111000001111111000000001
+01100000000000001000000000000110
+00100000010000000011101001100110
+00100000010000000011101100111010
+00100000010000000011101101101011
+00100100011011000000000000000000
+01111001001111111000000000100101
+01000100100111000100000000000111
+00011000000000000011011000000000
+00100000010000000011101001101101
+01101000000000001000000000000111
+00011111111000001111111000000001
+01100000000000001000000000000111
+00100000010000000011101001001001
+00100000010000000011101110101010
+00011100001000011100001000000010
+00011000000000000100100000000001
+00100000010000000011101001000010
+00100000010000000011101001100110
+00100000010000000011101110101110
+00100000010000000011101110111111
+00011100010000100111111000000000
+01100000000000100000000101101011
+00100000010000000011101111000101
+00011000000000000000001000000010
+00011000000000000000100000000000
+00100000010000000011101111001101
+00100000010000000011100011000001
+00100000010000000011001111001110
+00011100001000010100001111111101
+00011100110000001100110000000001
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100100111001100000000000111
+01101000000000001100000101110010
+00100000011110100000000000000000
+11011000101000000000000110111100
+01101000000000001100011100000010
+00011111111000100111001000000000
+00011111111000001111111000000001
+11100000101000001000000000000000
+00011000101000100000010000000000
+00011111111000001111111000000001
+01100000000000010000000010010001
+00011000010000100000101000000000
+01011000000000000000000000001001
+11100000101000001000000000000000
+11011000110000000100011100000011
+00100000010000000111111001000101
+11011010011000000100011101110001
+11011111001000000000000000000100
+00100000010000000011001111110001
+11011010011000000100011101011011
+11011111001000000000000000000001
+00100000010000000011001111110001
+00011000000000000000001000001010
+01110000000000001001000000000010
+01011000000000000000000110111100
+01100000000000010000000101111001
+00100000010000000011101110101010
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110111111
+00100000010000000011101111000101
+00100000010000000011101111001101
+00100000010000000011100011000001
+00100000011000000000000000000000
+00011000101000100000010000000000
+00011010011000100000110000000000
+11101000110000001000000000000000
+00100000011110100000000000000000
+00011111111000111111111000000000
+11000010000000000011001111110101
+00011111111000100010001000000000
+00011111111000001111111000000010
+00011111111000100000111000000000
+01101000000000010000000010010001
+10011000111000001111111000000000
+01100000000000010000000010010001
+00011000010000100000101000000000
+00011010001000100111111000000000
+00011111111000001111111000000001
+11100000101000001000000000000000
+00011010011000100000110000000000
+11101000110000001000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010001000100111001000000000
+00100000001000000111111001000101
+01101000000000001100000100110011
+11000100000000001000000000000000
+00011000000000000000111000000110
+00100000010000000111111001010011
+00100100011110100000000000000000
+01101000000010010100000101010001
+00011000000000000000111000101000
+00100000010000000011100000111101
+00100000011101000000000000000000
+00011000000000000000100000000000
+01110000000000000001000000001000
+01111001001111111000000000001011
+00100000010000000011010000010111
+00011000000000000000111000000110
+01101000000000010100000101010011
+00100000001000000111111001001100
+01111001001111111000000000100101
+01000100100111010100000000000111
+01111000010110000111110000000000
+00100000010000000011101000010010
+01101000000000001000000000001000
+00011111111000001111111000000001
+01100000000000001000000000001000
+00011000000000000100110000000000
+00100000010000000011101001010100
+00011100010000001100001000000001
+00011000000000000100100000000010
+01111001001111111000000000100101
+01000100100111011100000000000111
+00100000010000000011101000111011
+00100000010000000011101100111010
+00100000010000000011101101101011
+00100100011011000000000000000000
+00100000010000000011101001101101
+01101000000000001000000000001001
+00011111111000001111111000000001
+01100000000000001000000000001001
+00011000000000000011011000000000
+00100000010000000011101110101010
+00011100001000011100001000000010
+00011000000000000100100000000001
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110111111
+00100000010000000011101111000101
+00100000010000000011011101011100
+00011000000000000000100000000000
+11011001011000000000011000000000
+00110101001100110000001000000000
+00011101000000011101000000000011
+00011100001000010100001111111101
+01111001001111111000000000100101
+01000100100111100100000000000111
+00011100110000001100110000000001
+00100000010000000011101000111011
+00100000010000000011101100111010
+00100000010000000011101101011101
+00100100001011000011010001000100
+00100000010000000011101111001101
+00100000010000000011010111100001
+11000101000001011011010001001100
+01111001001111111000000000100101
+01000100100111101100000000000111
+01101000000000001000000000010000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000000000010000
+00100000010000000011101110101100
+00100000001000000011010000111010
+01111001001111111000000000100101
+01000100100111110100000000000111
+01111001001111111101000000000001
+01111001001000000101000000000000
+01101000000000001000000000001010
+00011111111000001111111000000001
+01100000000000001000000000001010
+00100000010000000011101110101010
+00011100001000011100001000000010
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110111111
+00100000010000000011101111000101
+00100000010000000011011101011100
+00101101000000000000011000000011
+00100000001000001011010001011110
+00110111110010111000001000000000
+00100000001000000011010001011010
+01101000000000100000000101101111
+00011111111000011111111000000011
+00011111111000100101000000000000
+01111001001111111000000000100101
+01000100100111111100000000000111
+01101000000000110000000110000010
+01100000000000110000000001000000
+00100000010000000011010011101101
+00100000010000000011010100111001
+00100000001101101011010001101011
+00100000010000000011010100001110
+00100100001110100011010001100110
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101000000100000000001000
+00100000010000000011010011111001
+00100000010000000011001011010110
+00100100011000101000000000000000
+01110000000000000011000100000000
+00100000010000000011100110101100
+00100000001000000011001010111101
+01111001001111111000000000100101
+01000100101000001100000000001000
+00100000010000000011100110111100
+00100000010000000011010010100101
+00100000011101000000000000000000
+00100000010000000011001001111100
+00100000010000000110101001010100
+01111001001111111000000000100101
+01000100101000010100000000001000
+00100000010000000011111000100101
+00100000010000000110110111101100
+00100000010000000011010111010110
+00100000010000000111111100111001
+00100100001101101011010010001101
+00100000010000000011101111101100
+00100000010000000011100001110000
+00100000010000000110111000010000
+00100000010000000011010101000111
+00100000010000000011100010110001
+00100000010000000101101101111000
+00100000010000000100100110010101
+00100000010000000100100010101001
+01101000000000001000000000001011
+00011111111000001111111000000001
+01100000000000001000000000001011
+00100000010000000011100110101100
+01111001001111111000000000100101
+01000100101000011100000000001000
+00100000010000000011110101100001
+00100000010000000011101111100010
+00100000001000010011010010011000
+00100000010000000011001000000100
+00100100001101000011010010011000
+00100000010000000011100000010010
+00100100001110100011010001111010
+00100000010000000110101001011100
+00100000001000000011001010010000
+01111001001111111000000000100101
+01000100101000100100000000001000
+01110000000000010101001100000000
+01110000000000011000100100000000
+00100000010000000011010100010110
+01111001001111111000000000010001
+00100000010000000111111110001010
+01101000000000001000000000110000
+11000011000000100011010010100011
+01101000000010001000000001000110
+00100000001000000100100011000100
+00011000000000000000010000000110
+00100000001000000100100000100110
+01111001001111111000000000100101
+01000100101000101100000000001000
+00100000010000000011001000101110
+00100100011101000000000000000000
+00011000100000100000010000000000
+00100000010000000011101111010001
+01100000000000001000000110001011
+00011000010000100000100000000000
+01110000000000000001000100100000
+01111001001111111000000000100101
+01000100101000110100000000001000
+00100000010000000011101110101100
+00011000000000000000001000000010
+00100000010000000011100010101000
+00011100010000100111111000000000
+01100000000000100000000101101011
+00100000010000000011100010111111
+00100000010000000011101110101010
+01111000001101111111110000000000
+00100000010000000011010110110111
+00100000001011000011010011000001
+00100000010000000011101001101101
+00100000010000000011010100001110
+00100100001110100011010010101110
+11000110100000100000000000000000
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100000011000000000000000000000
+01111000001110000111110000000000
+00100000010000000011010011101101
+00100000010000000011101000010010
+01111001001111111000000000100101
+01000100101000111100000000001000
+00100000010000000011001110001011
+00100000001011000011010011001110
+00100000010000000011010100001110
+00100100001110100011010011000100
+01111000010110000111110000000000
+00011101000000100111111000000000
+01100000000000100100000101101010
+00100000011000000000000000000000
+00011000000000000000010000000000
+00100000010000000100100001111111
+01111000001101001111110000000000
+11000101100000100011010011010110
+01111001001111111000000000000100
+01110000000000000111110000000011
+01110000000000000111110100110011
+00100000010000000110001000010010
+00011000100000100111111000000000
+01100000000000001000000001110111
+00011000000000000111111000000000
+01100000000000110000000000111000
+01101000000000001000000000110001
+01111001001000000111111000000001
+01100000000000001000000000110001
+00100000010000000011101111101100
+01111000010101001111110000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101001000100000000001001
+01111000010101101111110000000000
+01111001001111111000000000000101
+01111001001111111000000000001010
+01111001001111111000000000010000
+01111001001111111000000000001111
+01101000000000001000000001000111
+01111001001111111111111000000101
+01111001001000000111111000000100
+01100000000000001000000001000111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101001001100000000001001
+01110000000000000001000100100000
+01110000000000000100011101010000
+01101000000000010100000101011111
+01100000000000010000000000111110
+00011100010000100111111000000000
+01100000000000100100000101101010
+00100000011110000000000000000000
+00011101000000100111111000000000
+01100000000000100100000101101010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101001010100000000001001
+00100000010000000101101101101111
+00100000010000000011010100010010
+01100000000000001000000001000110
+01011000000000000001110010000000
+01100000000000010000000001010001
+01101000000000001000000000110000
+01111001001000000111111000000000
+01100000000000001000000000110000
+01110000000000000100101100000000
+01110000000000000100110000000000
+01110000000000001010001000000000
+00100000001000000011101111101100
+01111001001111111000000000100101
+01000100101001011100000000001001
+00011000000000000111111000000000
+01100000000001000100001001100010
+11100000101001000000000000000000
+00100000010000000011001000101010
+00100000001000000011001011110000
+01101000000000001000000000010001
+00011111111000001111111111111111
+01100000000000001000000000010001
+00100000011000000000000000000000
+01101000000000001100000101110000
+00011111111000001111111000000001
+01100000000000001100000101110000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101001100100000000001001
+00100000010000000011000111111010
+01101000000000001100001001110010
+11000000000000011011010100011101
+01101000000000001000000001001000
+11000000100000001011010100100001
+00100000010000000100100110111110
+00100100001000101011010100100001
+00100000010000000011000111110101
+01110000010000100111001000000000
+01111001001111111000000000100101
+01000100101001101100000000001001
+00100000010000000011111100011000
+00100000010000000100100110010101
+00100000010000000011100000000110
+01110000000010110111110100000010
+00100000010000000111110000100111
+00100000010000000101101101100011
+00100000010000000100110110011001
+00100000010000000111011100011001
+01101000000000001000000000110000
+01111001001111111111111000000000
+01100000000000001000000000110000
+01110000010001111111001100000000
+01101000000000001000000001001100
+00101111111000011000000000000000
+00100000001000001011010100110011
+01111001001111111000000000000001
+01101000000000001000000001000111
+11000011000000011011010100110101
+01101000000000001000000001001011
+11000100000000110000000000000000
+01111001001111111000000000000010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101001110100000000001001
+01101000000000001000000101111110
+00100000011110100000000000000000
+00011111111000100000100000000000
+00100000010000000011010111010110
+00100100011101101000000000000000
+00011000000000000000001000000000
+00100000010000000011100010110001
+00011000100000100111111000000000
+01100000000000001000000001110111
+00011000000000000111111000000000
+01100000000000001000000101111110
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101001111100000000001001
+01101000000000001000000000110000
+11000011000000010011010101010101
+00011000000000000000001000000111
+11000101100000111011010101010100
+00100000010000000011100001000111
+00100100001000001011010101010101
+00100000001101110011010101010101
+00100000010000000011010110000011
+01011000000000000000000000000010
+01100000000000010100000101101000
+00100000011000000000000000000000
+00100100011101110000000000000000
+01111001001111111000000000100101
+01000100101010000100000000001010
+00100000010000000011001011011111
+00100100001000101011010101101000
+01101000000000001000000001000111
+11000011000000011011010101110001
+11000101000000101011010101110101
+01101000000000001000000110001001
+11000010100000110011010101111100
+01101000000000010100000101101000
+00011111111000001111111111111111
+01100000000000010100000101101000
+00100000001110100011010101100101
+01101000000000001100000101100101
+10011000000000000000001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101010001100000000001010
+00100000010000000011011110011001
+00100000010000000011100001000111
+00100000001000001011010101110001
+00100000010000000101111011011001
+00100000001101000011010110000000
+01101000000000001000000001001011
+11000010100000110011010110000010
+11000101000000101011010101110101
+01101000000000001000000110001001
+11000010100000110011010101111100
+00011000000000000000001000000001
+00100000011101001000000000000000
+00011000000000000000001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101010010100000000001010
+01101000000000001000000000011001
+10011000000000000000001000000000
+11000001100000001000000000000000
+00011000000000000000001000000000
+00100000011000000000000000000000
+01101000000000001000000101011010
+00011111111000010000001000001111
+01111001001000000000000000000101
+00100000011000000000000000000000
+00011000000000000000001000010011
+00100000001000000011010110000011
+00100000010000000011010110001101
+01111001001111111000000000100101
+01000100101010011100000000001010
+01101000000010001000000001000111
+01111001001000000000010000000011
+01100000000010001000000001000111
+00011000001000100111111000000000
+01100000000000001100000101100101
+01011000000000001111111111111111
+01100000000000010100000101101000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101010100100000000001010
+01101000000000001000000001001100
+00101111111011111111111000000101
+01101000000000010000000010010001
+00100000001000001011010110100001
+00011000000000000000001000000011
+00011111111001100111110000010001
+00100000011000010000000000000000
+00011000000000000000001000000100
+00011111111001100111110000011011
+00100000011000010000000000000000
+00011000000000000000001000001010
+00011111111001100111110001111001
+00100000011000010000000000000000
+00011000000000000000001000001110
+00011111111001100111110011100000
+00100000011000010000000000000000
+00011000000000000000001000001111
+00100000011000000000000000000000
+00011000000000000000001000000011
+00011111111001100111110000010001
+00100000011000010000000000000000
+00011000000000000000001000000100
+00011111111001100111110000110110
+00100000011000010000000000000000
+00011000000000000000001000001010
+11011000010000000000000101101111
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000000000000000001000001110
+11011000010000000000001010100111
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000000000000000001000001111
+00100000011000000000000000000000
+01101000000000001000000000110000
+11000011000000001011010110110110
+01101000000000010000000000110010
+00100000001110100011010110110110
+00100100001101110011010110111000
+00100000010000000011101110101100
+00011101000000001100001000000001
+01111000001010000111110000000000
+01101000000000010000000000111110
+00011111111000110111111000000000
+11011000010000000000010100000000
+10011000010000001111111000000000
+00100000010000000011101101111101
+00100000010000000011101001011101
+00011000000000000100100000000011
+00100000010000000011101000111011
+00100000010000000011010011100001
+00100000010000000011101101000001
+01111001001111111000000000100101
+01000100101010101100000000001010
+01101000000000010000000000111110
+00011111111000110111111000000000
+00100000010000000011101101111101
+00100000010000000011101100111010
+01111000001001101111110000000000
+01101000000000010000000000111110
+11011000010000000000001110111011
+10011000010000001011011000000000
+00110111110000011000010000000000
+00011011010000100000010000000000
+01100000000010110000000010011100
+01111000010001101111110000000000
+00100100011011000000000000000000
+11011101001000000000001110111011
+00011100001000100101000000000000
+00100000001101011011110010110110
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101010110100000000001010
+00100000010000000011010110110001
+00100100001011000011101001101101
+00100000010000000011101011110011
+11000101100010001011010111011111
+01101000000000010000000011111000
+00011111111000001111111000000001
+01100000000000010000000011111000
+00011100001000110000010000000000
+00011000010000011001110001000000
+01111001001111111000000000100101
+01000100101010111100000000001010
+01111000001000111111110000000000
+01111000001001010111110000000000
+01111000001001011111110000000000
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100000000000001000000101011111
+00001001100000000000000000000100
+00001000000000001000000000000111
+00011001100000100111111000000000
+01100000000000001000000000011001
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100000000000001000000101100000
+01101000000000001000000000011001
+00011111111001100111110000000011
+00100000001000010011010111110111
+11000000000000111011010111110111
+01101000000000001000000001001100
+00101111111011111111111000000101
+01111001001000001010101000000001
+01111001001111111000000000100101
+01000100101011000100000000001011
+00001001100000000000000000001000
+01111000010001011111110000000000
+01111000010001010111110000000000
+00100000001000110011011100111110
+11000101100010001011011000000001
+01101000000000010000000011111010
+00011111111000001111111000000001
+01100000000000010000000011111010
+01111001001111111000000000100101
+01000100101011001100000000001011
+01101000000000001000000101011111
+00101111111000000000111000000000
+01111001001000001000000000001010
+00100000001000001011011000010011
+10101000100000000000111000000000
+00100000001000001011011000010010
+11000101100000111011011101011100
+01101000000010001000000010110010
+10101000010000000000111000000000
+00100100001000001011011101011100
+00100000010000000011001010010000
+01101000000000001000000001000111
+01111001001111111111111000000101
+01111001001000000111111000000100
+01100000000000001000000001000111
+01111000001101101111110000000000
+01111001001111111000000000100101
+01000100101011010100000000001011
+01101000000000001000000000011001
+00011111111000100000001000000000
+11000101000001010011011000100011
+01101000000010001000000101100000
+01101000000000001000000001000111
+01111001001111111111111000000000
+00101000010011111111111000000000
+01111001001000001111111000000000
+00101000010011111111111000000001
+01111001001000001111111000000001
+01100000000000001000000001000111
+00101000010011000000000000000001
+00100000001000001011011000100011
+00100000010000000011011110011001
+01111001001111111000000000100101
+01000100101011011100000000001011
+11011000010000000000000000000000
+00100000010000000011101101110100
+00011000001000010111111000001111
+11000000000000001011011001010110
+11000000000000000011011101011100
+11000000000000010011011101101001
+01101000000010001000000101100000
+01101000000000001000000001000111
+10101000010000000000100000000000
+00100100001000001011011000110010
+11000101100001010011011000110001
+11000011000000111011011000110010
+01111001001000000000000000001111
+01111001001111111000000000100101
+01000100101011100100000000001011
+00011000001000100111111000000000
+11000000000000011011011001011000
+11000000000000100011011001011100
+11000000000000111011011001000010
+11000000000001000011011001011011
+11011000010000000000000000000100
+00100000010000000011101101110100
+11000000000001010011011001010111
+11000000000001011011011001011010
+11011000010000000000000000001000
+00100000010000000011101101110100
+11000000000001110011011001010111
+11000000000001111011011001011010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101011101100000000001011
+01111000001001101111110000000000
+01111000001001001111110000000000
+01111000001001110111110000000000
+11011000101000000000000011010011
+00011000000000000111001000011110
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000011011001001001
+11000101100000111011011101011100
+00001001100000000000000000010000
+01111101001000110000000000001000
+00100000010000110011011001010011
+00100000001000110011011101001011
+00100000001000000011011100101100
+00011011010000100111111000000000
+01100000000000110000000000100000
+00100000011000000000000000000000
+00100000001000000011011101011100
+01111001001000000000000000010000
+01111000001001100111110000000000
+00100000001000000011011001011101
+01111001001000000000000000010000
+01111001001000000010101000000010
+01111000001001101111110000000000
+01111001001111111000000000100101
+01000100101011110100000000001011
+11000101000000001011011101011100
+00101010101011000000000000000001
+00100000001000001011011001101010
+01111000010000111111110000000000
+01111000001001101111110000000000
+01111000010001100111110000000000
+00011100010000001001011000000010
+00110100010100110000010000000000
+00100100001011000011011101001011
+01111001001000000000000000010000
+01111000001000111111110000000000
+01111001001111111000000000100101
+01000100101011111100000000001011
+01111000001001110111110000000000
+01111000001001001111110000000000
+00001001100000000000000000000011
+00011001100011001111111000000000
+01100000000000001000000110001010
+00001001100000000000000000000101
+11000101000010000011011001110110
+00011001100010010111001000000000
+00011111001010010111001000000000
+00100000001000000011011001111001
+00001001100000000000000000000101
+00011001100000110111001000000000
+00001001100000000000000000000011
+01111001001111111000000000100101
+01000100101100000100000000001100
+00011111001000100111111000000000
+01100000000000010000000101101001
+00100000001110100011011011101110
+10011110101001100111110000000000
+00100000001000010011011101001011
+01111001001111111000000000100101
+01000100101100001100000000001100
+01111001001111111000000000000000
+01101000000000001000000110001010
+00011111111000010111111000000011
+11011000101000000000010011011110
+11000000000000011011011010001111
+11000101000010001011011011101010
+01101000000000001100000100110010
+11000000000000001011011010010100
+01101000000000001000000110001010
+00011111111000010111111000000011
+11000000000000010011011011000011
+11000000000000001011011011011000
+00100000001000000011011101001011
+01101000000000010000000101101001
+00011111111001100111110001110000
+00100100001000010011011101001011
+11000101000001111011011100101100
+00100000001000000011011011101010
+01111001001111111000000000100101
+01000100101100010100000000001100
+11000101000001111011011100101100
+01101000000000010000000101101001
+00100000001110100011011101001011
+00100000010000000100010010010100
+00100100001000001011011010100001
+01101000000010010000001010010001
+00011111111000001111111000001010
+10011000010001100111110000000000
+00100100001000010011011010100111
+00100000010000000100010001001001
+00100000001000000011011010011011
+01101000000100010000000100001110
+11011000010000000000000100101100
+10011000010001100111110000000000
+00100000001000010011011101001011
+01101000000000010100100000000000
+00100000001110100011011101001011
+01111001001111111000000000100101
+01000100101100011100000000001100
+00100000010000000100100101110010
+01101000000000001000000001000110
+01101000000010001000000110001010
+00011000010000010000010000000011
+00011000010011010000010000000000
+00011000010100100000010000000000
+10011000010000011111111000000000
+11100001010000010000000000000000
+01101000000010010000000101101001
+00011000010000100111001000000000
+11100001010010010000000000000000
+01111001001111111000000000100101
+01000100101100100100000000001100
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100001010000001000000000000000
+11000010000000000011011010110100
+00011000010000001111001000000100
+00100000010000000100010010010100
+00100100001000001011011011000001
+01111001001000000000000000010011
+00011000000000000000111000000110
+00100000010000000100001101111000
+00100000001000000011011011101110
+00100000010000000100010000100100
+00100000001000000011011011101110
+01111001001111111000000000100101
+01000100101100101100000000001100
+11000101000001111011011100101100
+01101000000000010000000101101001
+11011000010000000000001011100000
+10011000010001100111110000000000
+00100000001000010011011101001011
+01101000000000001000001011001010
+11000011000000000011011011001110
+11000011000000001011011011010011
+00100000001000000011011101011100
+01110000000000101100100000000001
+01101000000000010000001011000100
+11000000100000000011011101011100
+11011000101000000001000000000000
+00100000001000000011011011101010
+01110000000000101100100000000010
+01101000000000010000001011000110
+11000000100000000011011101011100
+11011000101000000001010000000000
+00100000001000000011011011101010
+01111001001111111000000000100101
+01000100101100110100000000001100
+11000101000001111011011100101100
+01101000000000010000000101101001
+11011000010000000000001011100000
+10011000010001100111110000000000
+00100000001000010011011101001011
+01101000000000001000001011001000
+11000000000000001011011011100011
+11000000000000010011011011100111
+00100000001000000011011101011100
+11011000101000000001000000000000
+01101000000000010000001011000100
+10011000101000001000101000000000
+00100000001000000011011011101010
+11011000101000000001010000000000
+01101000000000010000001011000110
+10011000101000001000101000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000011011011101010
+01111001001111111000000000100101
+01000100101100111100000000001100
+00001001100000000000000000010000
+00100000001000110011011101000101
+00100000010000000011111000001111
+01101000000000001100001111001100
+11000000000000001011011101011100
+11000101000010001011011100011000
+11000101000001111011011101011001
+01101000000000001000000110001010
+00101111111000000000011000000011
+00100000001000001011011100011000
+01101000000000010000000101101001
+00100000001110100011011100011000
+01101000000000001100000100110010
+11000000000000001011011100011000
+01111001001111111000000000100101
+01000100101101000100000000001101
+01101000000000001000001011001000
+11000000000000001011011100000100
+11000000000000010011011100001110
+00100000001000000011101111110001
+01101000000000010000001011000100
+01101000000010010000000101101001
+10011000010000001111111000000000
+01100000000000010000001011000100
+11000000000000000011101111110001
+01101000000010010001000000000000
+00011000010000001000010000000100
+10011000010001100111110000000000
+00100000010000101011100010100000
+00100000001000000011011100011000
+01101000000000010000001011000110
+01101000000010010000000101101001
+10011000010000001111111000000000
+01100000000000010000001011000110
+11000000000000000011101111110001
+01101000000010010001010000000000
+00011000010000001000010000000100
+10011000010001100111110000000000
+00100000010000101011100010100100
+00100000001000000011011100011000
+01111001001111111000000000100101
+01000100101101001100000000001101
+01101000000010001000000001001100
+01101000000000001000000110001010
+00101111111000000000011000000011
+01111001001000001000010000000110
+01111101001000001000010000000111
+01100000000010001000000001001100
+00100100001000001011011100100010
+01111001001000000000000000000001
+11000101100010001011011100101100
+00101000010011111111111000000110
+00100000001000001011011100101100
+01101000000000010000000011111100
+00011111111000001111111000000001
+01100000000000010000000011111100
+01111001001000000000000000000101
+01111001001111111000010000000111
+01111001001111111000000000000001
+01100000000010001000000001001100
+01111001001111111000000000100101
+01000100101101010100000000001101
+01101000000010001000000101100000
+01101000000000001000000001000111
+01111001001000000111111000000101
+00101000010011111111111000000010
+01111001001000001111111000000010
+00101000000011111111111000001010
+01111001001000001111111000000111
+01100000000000001000000001000111
+01101000000000010000000101101001
+00100100001110100011011101011100
+01101000000000001000000001001100
+01111001001111111111111000000111
+01100000000000001000000001001100
+01101000000000001000000110001010
+00101111111000000000111000000001
+00100000001000000011011101011100
+01111001001111111000000000100101
+01000100101101011100000000001101
+01111000010101101111110000000000
+01101000000000010000000000011010
+00011111111000001111111000000001
+01100000000000010000000000011010
+00100000001000000011011101011100
+01101000000000010000000000011100
+00011111111000001111111000000001
+01100000000000010000000000011100
+00100000010000000011011101001100
+11000101100010001011011101001011
+01111001001000000000000000000101
+00100000001000000011011101011100
+01111001001111111000000000100101
+01000100101101100100000000001101
+01101000000000001000000110001010
+00101111111000000000011000000011
+00100100001000001011011101010101
+01101000000010001000000001001100
+01111001001111111000010000000110
+01100000000010001000000001001100
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111001001111111000010000000111
+01100000000010001000000001001100
+00100000001000000100010000111011
+01101000000000001000000001000111
+01111001001000000111111000000101
+01100000000000001000000001000111
+01111001001111111000000000100101
+01000100101101101100000000001101
+01111000010011101111110000000000
+01111000010011100111110000000000
+01111000010001101111110000000000
+01111000010001100111110000000000
+01111000010001001111110000000000
+01111000010001110111110000000000
+01111000010000111111110000000000
+00100000001100001011101001101101
+00110111110100111000001000000000
+00100000000000000000000001100100
+00100000001000000011101001101101
+01111001001111111000000000100101
+01000100101101110100000000001101
+01111000001001001111110000000000
+01111000001001100111110000000000
+00001001100000000000000001001000
+00101111111011111111111000111010
+01111001001000001000000000000000
+00011100000000100000010000000000
+01010111111000000100000000000000
+01010111111000000011110000000000
+01111000001010101111110000000000
+00111000000010111111111111111111
+00111000000011001111111111111111
+00100000000000000000000000100000
+00101001101010000000000000000000
+00011101100000100111111000000000
+01100000000000011000000110000010
+00011101101000100111111000000000
+01100000000000001000000110000101
+00011000010000100100000000000000
+00100000001000001011011101111111
+00100000001000000011011101001011
+01111001001111111000000000100101
+01000100101101111100000000001101
+00001001100000000000000001001000
+01010111111000000011111000000000
+01010111111000000000100000000000
+01010111111000000101110000000000
+01010111111000000010010000000000
+00011000000000000111111000000000
+00001001100000000000000000010000
+00100000001000110011011101001011
+01011111111111111111111111111100
+10011010010000010111111000000000
+01100000000000100000000101101111
+00011011101000100111111000000000
+01100000000000011000000101111111
+00011011100000100111111000000000
+01100000000000001000000101111101
+00011000100000100111111000000000
+01100000000000001000000101111110
+00011101110000100111111000000000
+01100000000000010000000110000110
+00011100001000100111111000000000
+00001000000000001000001000100000
+00101000001000000001111000000010
+01111001001000001000000000001011
+00100000001000000011011101011100
+01111001001111111000000000100101
+01000100101110000100000000001110
+01101000000000001000000001000111
+11000100000000011000000000000000
+01111001001111111111111000000011
+01111001010000000111111000000110
+01100000000000001000000001000111
+01101000000000001100000101100101
+11000000000010011011011110110001
+11000001000000111000000000000000
+01101000000000001000000001001011
+11000100000000110000000000000000
+01111001001111111111111000000110
+01111001001000000111111000000111
+01100000000000001000000001001011
+01111001001111111000000000000010
+01101000000000001100000100110010
+11000001000000001000000000000000
+01101000000000010100001010101111
+00100100011110100000000000000000
+01101000000000001000000001001011
+01111001001111111111111000000111
+01100000000000001000000001001011
+00100000001000000101001001100111
+01111001001111111000000000100101
+01000100101110001100000000001110
+01101000000000001000010000110011
+00011111111000110111111000000000
+11000000000010001011011111010000
+11000000000010010011011111011010
+11000000000011000011100000000110
+11000000001111111011011110111111
+11000000000101100011100001011110
+11000001100000011000000000000000
+01101000000000001000010000110100
+11000000000101011011011111001000
+11000000000010001011011111000011
+00100000011000000000000000000000
+01101000000000001000010000110100
+01111001001000000111111000000111
+11000000010001101011100001011110
+00100000011000000000000000000000
+00100000011101001000000000000000
+01101000000000001000000000110000
+11000011100000100000000000000000
+01110000000000000111110000110001
+00100000011000000000000000000000
+00100000011101001000000000000000
+01101000000000001000000000110001
+00101111111011111111111000000100
+00100000001000001011011111001101
+00100000011000000000000000000000
+01111001001111111111111000000100
+01100000000000001000000000110001
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101110010100000000001110
+01101000000000001000000001001100
+01111001001000000111111000000010
+01100000000000001000000001001100
+01110000100000000001000100000001
+01101000000000001000000000110000
+00101111111011111111111000000100
+00100000001000001100100001000101
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101110011100000000001110
+01101000000000001000000001001100
+01111001001111111111111000000010
+01100000000000001000000001001100
+01110000100000000001000100000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101110100100000000001110
+00011100010000100111111000000000
+01100000000000100100001010100101
+00011100010000001010001000000011
+00100000001101001011011111101000
+00011101000000001010001000000011
+01101000000010010000000000110010
+00011010001000100111111000000000
+01111001001111111111111000011011
+10011000010001101111110000000000
+01101000000000010000000001110101
+00100000010000000111111011111101
+00011000000001110010011000000000
+10011010011001100111111000000000
+00100000001000010011011111110010
+10011000010000001111111000000000
+10011010001000001111111000000000
+01100000000000100000000000110100
+01110000010001110100100000000000
+01101000000000001000000000110000
+01111001001000000111111000000001
+01100000000000001000000000110000
+01101000000000001000000001110011
+01100000000000001000000010001010
+01110000010000010110111010000000
+01011000000000000000000000000000
+01100000000000011100001000001010
+01100000000000011100001000001101
+01100000000000001100000111111010
+01110000000010110111110100001011
+00100000010000000111110000100111
+01101000000000010100000101100001
+01100000000000010000000000111110
+00100100011101001000000000000000
+00011000100000001000111111111111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101110101100000000001110
+01101000000000001000000000110000
+11000100000000001000000000000000
+01111001001111111111111000000001
+01100000000000001000000000110000
+01110000010000010110111001111111
+01101000000000010100000101011111
+01100000000000010000000000111110
+01111000010101011111110000000000
+01110000000010110111110100001100
+00100000001000000111110000100111
+01111001001111111000000000100101
+01000100101110110100000000001110
+01111000001101110111110000000000
+01101000000000001000000000110000
+11000010100000001011100000100000
+11000110000010001000000000000000
+01101000000000001000000001000111
+11000011100000011000000000000000
+01101000000000001000000001001000
+00100100011110100000000000000000
+01101000000000001000000001001011
+11000011100000110000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+11000011000000010011100000110000
+01101000000000001000000010001010
+11000000000000010011100000100110
+01101000000000001000000001000111
+11000010100000011011100000111001
+11000101100001000011100000111001
+00100000010000000011001010010000
+00100100001101001011100000111001
+01101000000000001000000001001000
+00100100001110100011100000111001
+01101000000000001000000011110001
+00011111111000001111111111111111
+01100000000000001000000011110001
+00100100001110100011100000011110
+01110000000000001111000100010000
+00100000001000000011100000111001
+01101000000000001000000010001010
+11000000100000001011100000111001
+01101000000000001000000010001011
+00100000001110100011100000111001
+00011111111000001111111111111111
+01100000000000001000000010001011
+01101000000000001000000001000111
+11000011100000011000000000000000
+00100100011101101000000000000000
+01101000000000001000000010001010
+00011111111000001111111111111111
+01100000000000001000000010001010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101110111100000000001110
+01111000010010000111110000000000
+00011000010000100011011000000000
+00100000010000000011001100000000
+01111000010101000111110000000000
+00100100011000101000000000000000
+00011000000000000011011000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000001100000111111001
+10101000100000011111111000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101111000100000000001111
+01110000010000010111000100000001
+00100000010000000110101001000000
+00011000000000000111111000001100
+01100000000000010000000000110010
+01101000000000001000000010101111
+00011111111000111111111000000000
+01100000000000010000000001110101
+01101000000000001000000000110000
+01111001001000000111111000000010
+01100000000000001000000000110000
+01110000000000000111001100000011
+01110000000000001000101000000011
+00100000010000000011011111100001
+00011000000000000000010000000000
+00100000010000000100100100010100
+01110000000000001011001101010000
+01110000000000001111000100010000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101111001100000000001111
+00100000010000000011100000000110
+01110000010000010111000100000101
+00100000010000000110101001001010
+01101000000000001000000000110000
+01111001001111111111111000000010
+01100000000000001000000000110000
+11011000010000000000111000000000
+01110000000000101100000000010011
+00100000001000000100100011000100
+01111001001111111000000000100101
+01000100101111010100000000001111
+01110000000000001011000100000000
+00100000010000000011100001011110
+00100000010000000011001010010000
+01111001001111111000000000000111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101111011100000000001111
+01101000000000001100000100110010
+11000000000000001011100010011000
+01111001001111111000000000000001
+01110000000000101101000100000000
+01101000000000001000001011001010
+00100000011110100000000000000000
+00101111111011111111111000000000
+11011000110000000001000000000000
+00100000010000001100110110101000
+01111001001111111000000000100101
+01000100101111100100000000001111
+01101000000000001000001011010001
+11000000000000001011100010001100
+01110000000000101101000100000000
+01101000000000001000001011001010
+11000100000000001000000000000000
+11011000110000000001010000000000
+00100000010000000100110110101000
+01101000000000001000001011010001
+11000000000000001011100010010010
+00100000011000000000000000000000
+01101000000000001000000001001100
+01111001001111111111111000000111
+01100000000000001000000001001100
+01111001001111111000000000000001
+00100000001000000100010000111011
+01101000000000001000001011001010
+01111001001111111111111000000000
+01100000000000001000001011001010
+01011000000000000000000000000000
+01100000000000010000001011000100
+00100000011000000000000000000000
+01101000000000001000001011001010
+01111001001111111111111000000001
+01100000000000001000001011001010
+01011000000000000000000000000000
+01100000000000010000001011000110
+00100000011000000000000000000000
+01101000000000001000000001001100
+11000100000000111000000000000000
+00100000010000000100010000110101
+01101000000000010100100000000000
+00100000001110100011101111110001
+00011111111000001111111111111111
+01100000000000010100100000000000
+00100000001000000011100010000111
+01101000000000001000001011001010
+01111001001000000111111000000000
+01100000000000001000001011001010
+00100000011000000000000000000000
+01101000000000001000001011001010
+01111001001000000111111000000001
+01100000000000001000001011001010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100101111101100000000001111
+00011101000000001100001000000001
+00100000010000000011101001011101
+00011000000000000100100000000011
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110111111
+00100000001000000011101111000101
+01111001001111111000000000100101
+01000100101111110100000000001111
+00100000010000000011101110101010
+00011101000000100111111000000000
+01101000000010100100000101101010
+10011000010001100111111000000000
+11000001100000001000000000000000
+00101000001000000011111000000000
+00100100001000001011100010111100
+01101000000000001000000000011001
+00100000011110100000000000000000
+00100000010000000011100010101000
+00101000001000000011111000010000
+00100000001000001011011101011100
+00011100001000110000010000000000
+00011000010000011001110001000000
+01111001001111111000000000100101
+01000100101111111100000000001111
+01111000001000111111110000000000
+01111000001001010111110000000000
+01111000001011011111110000000000
+01111001001111111000000000010000
+00011000100000100111111000000000
+00001000000000001000011000000011
+00011000001000100111111000000000
+00001000000000001000011000000100
+01101000000000001000000001000111
+00001000000000001000000000000100
+00001000000000001000011000000011
+01111000001001000111110000000000
+00001000000000001000011000001000
+01111000010011011111110000000000
+01111000010001000111110000000000
+01111000010001010111110000000000
+01111001001111111010101000000010
+11011000010000000000000000000000
+00100000010000000011101101110100
+01111001001111111000000000100101
+01000100110000000100000000010000
+00011000001000010111111000011111
+11000000000010011011100100010011
+11000000000000000011011101011100
+11000000000000001011011101011100
+11000000000000010011100011110101
+11000000000000011011100100100101
+11000000000000100011100100101011
+11000000000000111011100011101001
+11000000000001000011100100101010
+11011000010000000000000000000100
+00100000010000000011101101110100
+11000000000001010011100100100111
+11000000000001011011100100101101
+11011000010000000000000000001000
+00100000010000000011101101110100
+11000000000001111011100100101101
+00100000001000000011100100100111
+01111001001111111000000000100101
+01000100110000001100000000010000
+01111000001011101111110000000000
+01111000001001001111110000000000
+01111000001001110111110000000000
+00011000000000000111001000011110
+11011000110000000000000010110101
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000011100011110000
+11000101000000111011100101100000
+00100000001000000011011101011100
+01111001001111111000000000100101
+01000100110000010100000000010000
+01101000000000001000000110001011
+00011111111000100000100000000000
+01101000000000001000000010001111
+00011111111000100011100000000000
+01101000000000011100000101001010
+00011111111000100011101000000000
+01101000000000010100000101000100
+00011111111000100101110000000000
+01111000001001001111110000000000
+01111000001011100111110000000000
+00011100000000100010001000000000
+00100000010000000011101001010100
+01111000001010101111110000000000
+00100000000000000000000000100000
+00011100001000100001011000000000
+01101000000000100000000101101011
+00011111111000100100001000000000
+01010011110000000111111000000000
+01111001001000000111111000111010
+00001000000000001000011001001000
+01010011111000000111111000000000
+00001000000000001000011001001000
+00011001011000100100001000000000
+00011010001000100100000000000000
+01111000001001000111110000000000
+00001000000000001000011000010000
+01111000010001000111110000000000
+00100000001000000011011101011100
+01111001001111111000000000100101
+01000100110000011100000000010000
+01111000001001110111110000000000
+01111000001001001111110000000000
+01111000001011100111110000000000
+01101000000000001000010000110010
+00011111111000010000010111111000
+11011000110000000000010000110010
+00011000010000001000010000001000
+00011000010000001010011110111000
+00100100001000010011100100100010
+11101000110001001000000000000000
+00001000000000001000011001001000
+00011010011000100000010000000000
+00100000001000000011100100011100
+11101000110001001000000000000000
+00001000010000011000011000000000
+00100000001000000011100101100000
+01111000001011100111110000000000
+00100000001000000011100100110000
+01111000001011100111110000000000
+01111001001000000000000000010000
+00100000001000000011100100110000
+01111001001000000010101000000010
+01111000001011101111110000000000
+00100000001000000011100100110000
+01111001001000000010101000000010
+01111000001011101111110000000000
+01111001001000000000000000010000
+01111001001111111000000000100101
+01000100110000100100000000010000
+01101000000000001000000001001100
+11000011000000101011100101000110
+00011000001001100111110000000011
+00100000001000010011100101000110
+01111000010001110111110000000000
+01111000010011100111110000000000
+01111000001011101111110000000000
+01111000010000111111110000000000
+01111001001000000010101000000001
+00101010101011111111111000000010
+00100000001000001011100101000000
+01011000000010101011111011101110
+00001000000000001000011000010100
+00100000001000000011100101000100
+01011000010111111010111010111010
+00001000000000001000011000011000
+01011000000000000000000000010010
+00001000000000001000011000000110
+01111000001000111111110000000000
+01111001001000000000000000010000
+01111000001001110111110000000000
+01111000001001001111110000000000
+11000101000000101011100101101001
+01101000000000001000000010010000
+00001000000000001000011000000011
+01101000000000010000000010010001
+10011000000000000111001000000000
+11000101000010000011100101010000
+00001000000000001000011000000101
+00100000001000000011100101010001
+00001000000000001000011000001101
+01101000000000001100000100110010
+11000000000000001011100101011011
+00011111001000100111111000000000
+00100000001110100011100101100000
+01101000000000010000000101111001
+10011000000000000000110000000000
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000011100101010111
+00100000001000000011100101100000
+01101000000000010000000101111001
+10011000000000000000011000000000
+11101000011000001000000000000000
+00001000000000001000011000001000
+11000010000000000011100101011101
+01111000001001000111110000000000
+00001000000000001000011000010000
+01111000010001000111110000000000
+00100000010000000011010110000011
+01101000000000001000000001001100
+11000011000000101011011101011100
+00011000000000000111111000000000
+00001000000000001000011000000110
+00100000001000000011011101011100
+01111001001111111000000000100101
+01000100110000101100000000010000
+11000101000010000011100101110010
+01101000000000001000000110001010
+00001000000000001000011000000011
+01101000000000001000000101101001
+10011000000000000010011000000000
+00001000000000001000011000000101
+00100000001000000011100101110111
+01101000000000001000000110001010
+00001000000000001000011000000011
+01101000000000010000000101101001
+10011000000000000010011000000000
+00001000000000001000011000001101
+11011000110000000000010011011110
+00011010011000100111110000000000
+00100000001000101011100101111110
+11101000110000001000000000000000
+00001000000000001000011000001000
+00011010011000001010011111111111
+00100000001000000011100101111000
+01101000000000010000000011111110
+00011111111000001111111000000001
+01100000000000010000000011111110
+00100000001000000011100101100000
+01101000000000100000000101101111
+00011111111000001010001000000111
+01101000000000010000000101111011
+00100100001110100011100110001000
+00011010001000001010001111111101
+00100000001000000011100110010000
+00011111111011111111111000001100
+01101000000110010000000001000000
+00011000010000001000010000000001
+10011000010001100111111000000000
+00100100001000010011100110001111
+00011010001000001010001111111111
+00100000001000000011100110001011
+00011111111001100111111000000000
+00110111110100011000001000000000
+00101100010000000000011000000000
+00100100001000001011100110010000
+10011000000000000101001000000000
+00011010001000100101000000000000
+10011000000000000101001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110000110100000000010000
+00110111110100010000001000000000
+00011011010000100111111000000000
+10011000000000000000110000000000
+00011111111100010111111000000000
+10011100010001100111001000000000
+00011111001000010111001000000011
+00100100001000101011100110100010
+00011000000000000111111000000000
+00100000001000000011100110100110
+11011000010000000000111010100110
+00011000000000000111111000000000
+10011000010000001111111000000000
+11000010000000000011100110100100
+10011000110000001111111000000000
+00011111111001101111110000001100
+00100000010000000111111011111101
+00011000000001111111111000000000
+01100000000000010000000101111011
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110000111100000000010000
+00011011010000100111111000000000
+00011011001000100000010000000000
+10011000010001100111110000000000
+01111101001000010111111000101100
+10011000010001100000010000000000
+01011000000000000000111010100110
+00101000010011000000000000001111
+00100000001000001011100110111000
+01011111111111110000111010100110
+10011000010000001000010000000000
+01100000000010110000001111001000
+00100000011110110000000000000000
+01100000000010110000000000111000
+00100000011000000000000000000000
+01111000010110000111110000000000
+01101000000000110000001111001000
+00100000001110110011100111000000
+01101000000000110000000000111000
+10011011001000001110000000000000
+00011110000000001110000000001010
+01011000000000000000111010100110
+10011110000001100111111000000000
+00101111111011000000000000001111
+00100000001000001011100111001010
+01011000000000001111000101011010
+10011110000000001110000000000000
+00011110000000100011010000000000
+00100000011000000000000000000000
+00011000000000000111110000000000
+00100000001000000011100111001000
+01111001001111111000000000100101
+01000100110001000100000000010001
+00100000010000000011101001111010
+00011100001000100111111000000000
+00011111111000010111111110000000
+00101100100000000000111000000011
+00100100001000001011100111010110
+00011111111010010111111000000000
+10011010111000001111111000000000
+00100000001000000011100111010111
+00011010111000100111111000000000
+00011111111001101111110001001111
+01111000001010101111110000000000
+00100000010000000111111011111101
+00011000000001110010001000000000
+00011010001000001000010111011000
+00100000001000010011100111011111
+00011010001000111000010000000000
+00100000001000000011100111100001
+00011000010000111000010000000000
+00011000010000001000010000000001
+01111001001111111000000000100101
+01000100110001001100000000010001
+01101000000000001000000000110001
+11000011000000011011100111110011
+01101000000000100100000101110011
+10011100001001100111110000000000
+00100000001000010011100111110011
+00100000010000000011101000010010
+01101000000000001100000101111010
+00100000011110100000000000000000
+01101000000000001000000000110001
+01111001001000000111111000000010
+01100000000000001000000000110001
+01101000000000101100000110001000
+01100000000000101100000101111011
+11101000110000101000000000000000
+01100000000000101100000110000000
+00100000010000000011101000010111
+01101000000000001000000000110001
+11000100000000010000000000000000
+00101100001011111111111000000001
+00100000001000001011101000001111
+00011000010010010010001000000000
+00011000010000010000111000000111
+01011000000000000100000101111011
+10011010001000001010001000000000
+11101010001000001000000000000000
+10101111111011000000000000000000
+00100000001000001011101000000000
+00011000010000100111111000000000
+00100000001000000011101000001100
+01101000000000001100000110000101
+10011000000000000010010000000000
+00011100001000100111111000000000
+00011111111000010111111110000000
+00011111111010010111111000000000
+10011010111000001111111000000000
+10011010010001101111110000000000
+01011000000000000100000110010011
+00100000010000000111111011111101
+00011000000001110010001000000000
+10011010001000001000110000000000
+11101000110000001000000000000000
+01100000000000001100000110000110
+10011000000000000000010000000000
+00100000011000000000000000000000
+01101000000000001100000110000110
+10011000000000000000010000000000
+00100000011000000000000000000000
+01101000000000001000000000110001
+01111001001111111111111000000010
+01111001001111111111111000000011
+01100000000000001000000000110001
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110001010100000000010001
+11011000101000000100000110010011
+00011000000000000111001000001010
+00100000010000000111111000111011
+11011000101000000100000110010011
+00011000000000000010011000000000
+00011000000000000000111000000010
+01101000000000101100000101111011
+10011000000000000000010000000000
+00101000111000011111111000000010
+00100000001000001011101000100100
+00011000010000110000010000000000
+00101000010011000000000000000000
+00100000001000001011101000101000
+00011010011000100111111000000000
+11100000101000001000000000000000
+00011000010010110000010000000000
+00011010011000001010011000000010
+00101010011000011111110000101000
+00100100001000001011101000110001
+01101000000000101100000110000000
+10011000000000000000010000000000
+00101000111000011111111000000010
+00100000001000001011101000110001
+00011000010000110000010000000000
+00011010011001100111110001001110
+00100000001000010011101000100100
+00011000000000000010011000000001
+00011000111000001000111111111111
+00100100001000101011101000011111
+11011010001000000100000110010011
+00011000101000100111111000000000
+10011010001001100111111000000000
+01100000000000001100000110000101
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110001011100000000010001
+00100000010000000011100111001100
+01101000000000001000000110001001
+11000011000000101011101001000001
+01101000000010001000010001001000
+00100000001000000011101010000010
+01111001001111111000000000100101
+01000100110001100100000000010001
+00100000010000000011100111001100
+01101000000000001000000110001001
+11000011000000100011101001001000
+01101000000010001000010001000111
+00100000001000000011101010010001
+00011000000000000101101000000000
+01101000000000011100000101000111
+10011000000000000101100000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110001101100000000010001
+01101000000000001100001001110111
+00011111111000100101101000000000
+01101000000000011100001001110100
+00011111111000100101100000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110001110100000000010001
+01101000000000010100000101000100
+00011111111000100101110000000000
+01101000000000001100000101000011
+00011111111000100101101000000000
+01101000000000011100000101000000
+00011111111000100101100000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110001111100000000010001
+01101000000000010000000001000100
+00011111111000100101110000000000
+01101000000000001000000001000011
+00011111111000100101101000000000
+01101000000000011000000001000000
+00011111111000100101100000000000
+00100000011000000000000000000000
+11000101000100000011101001101001
+11000110100011101000000000000000
+11000110100011111000000000000000
+00011101100000010101100100000000
+01111000001010101111110000000000
+00100000000000000000000000100000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110010000100000000010010
+00011000000000000010101000000000
+01111000010100001111110000000000
+01111000010100000111110000000000
+01111000001011110111110000000000
+01110000100010010000001000000000
+01110000100010010000000100000000
+01110000100010010000000000000000
+01110000100010010000001100000000
+01110000100010010000010001110000
+01110000100010010000011000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110010001100000000010010
+01110000100010010000001000000000
+01110000100010010000000100000000
+01110000100010010000000000011000
+01110000100010010000001110100111
+01110000100010010000010001111111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110010010100000000010010
+01100000000010001000000000010111
+00011000010000001010001000000100
+00100000001000000011101010110110
+01111001001111111000000000100101
+01000100110010011100000000010010
+01110000100010010000000111001111
+00100000000000000000000000001010
+01110000100010010000000011111111
+01110000100010010000001110101111
+01110000100010010000010011111111
+00100000000000000000000000001010
+01110000100010010000001010100000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110010100100000000010010
+01100000000010001000000000010111
+00011000010000001010001000000010
+00100000010000000011101010110110
+01011000000000000000010100000000
+00100000010000000011101111110011
+01110000100010010000011000000001
+01110000100010010000000000111100
+01110000100010010000000111100000
+01110000100010010000001110110111
+01110000100010010000001001111111
+00100000011000000000000000000000
+01110000100000000100001000000110
+00100000010000000011110000101001
+00100000010000000011110000111010
+01101000000000010100000101100011
+11000011000001110011101010100001
+10011000000000000000110000000000
+11011000010000001000100100000000
+11101000110000001000000000000000
+11000000011111111011101010101011
+10011000010000011000101000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00100000001000000011101010100101
+01111001001111111000000000100101
+01000100110010101100000000010010
+00100000010000000011110110010001
+00100000010000000011101100001010
+01011000000000000000011111010000
+10011100010000001111111000000000
+01100000000000100000000101110011
+01111001001000000010101000000011
+00011000000000000010101000000000
+00100100010101011011101011001110
+00100000001000000011101011100010
+01111001001111111000000000100101
+01000100110010110100000000010010
+01011000000000000000100101100000
+10011010001000001000010000000000
+01101000000000001100000101011101
+01110000100010010101111100000100
+10011000010011111111111000000000
+01101000000010001100000101011110
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111010001000000000
+00011000000001110111111000000000
+00011111111100000111111000000000
+00011111111100100111111000000000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+00011111111011010111111000000000
+00011111111000111111111000000000
+10011010001000011111111000000000
+01100000000100100000100101100000
+01110000100010010101111101000100
+01110000100010010101111111000100
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110010111100000000010010
+01110000100010010000011000000010
+01011000000000111101000010010000
+00100000010000000011101111110011
+01110000100010010000000001111111
+00100000000000000000000010000010
+01110000100010010101001000110000
+01110000100010010000000111010000
+01110000100010010101001001110000
+01110000100010010101001011110000
+00011000000000000111001000110010
+01101000000100001000100110000000
+11000010100000101011101011011101
+11000010000000000011101011011010
+01100000000000001100000101101111
+01110000100010010000000100000000
+01110000100010010000000000000000
+01110000100010010000011000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110011000100000000010011
+01101000000000001100000101101111
+01111001001000000111111000000101
+01100000000100001000100101010010
+01101000000110001000100101010000
+00011000010000010000010000000111
+00011111111010011111111000000000
+10011000010000011111111000000000
+01100000000100001000100101010000
+01101000000100001000100101010001
+01111001001111111111111000000000
+01100000000100001000100101010001
+01101000000100001000100101010010
+01111001001111111111111000000101
+01100000000100001000100101010010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110011001100000000010011
+01101000000100010000100110000001
+00011111111100011111111000000000
+00011111111010010111111000000000
+00011111111001100111111000000000
+00011111111000010111111011111111
+00011111111001101111110000001010
+00100000010000000111111011111101
+00011000000001111111111000000000
+00011111111100100111111000000000
+00011000000001110000010000000000
+10011000010000011111111000000000
+01100000000000001000000000011000
+00100000011000000000000000000000
+01110000100000000100001000001010
+01110000100010010000010100000000
+01101000000100011000000100111000
+01100000000100011000000001001100
+01110000100000000100110011111100
+00100000010000000011110110110000
+00100000000000000000001111101000
+00100000011000000000000000000000
+01110000100000000100001000000110
+01101000000100001000100101101011
+01111001001111111111111000000100
+01111001001111111111111000000101
+01100000000100001000100101101011
+01110000100010010000010100000000
+01110000100010010000010000000000
+01110000100010010000010001110000
+01110000100010010000010111111111
+01101000000100001000100101101011
+01111001001000000111111000000100
+01111001001000000111111000000101
+01100000000100001000100101101011
+00100000010000000011101100111000
+01101000000100001000100101101000
+01111001001000000111111000000111
+01100000000100001000100101101000
+01111001001111111111111000000111
+01100000000100001000100101101000
+01111001001000000111111000000111
+01100000000100001000100101101000
+01110000100000000100001000000101
+00100000011000000000000000000000
+00100000000000000000001111101000
+01110000100000000100001000000100
+00100000000000000000000000001010
+01110000100000001011010000000000
+01110000100000000000011010000000
+01101000000100001000000100101101
+11000011000000001011101100100110
+01101000000110011000000101001001
+01110000100000000100001000000101
+00100000000000000000000000001010
+01110000100000000000011010000000
+01101000000100001000000100101101
+11000011000000001011101100101100
+01101000000100011000000101001001
+10011000010001100111111000000000
+00100000001000010011101100110010
+00011111111001100111111000000000
+01100000000000010000000110001100
+00011111111001100111110001000110
+00100100001000010011101100110100
+00100000011000000000000000000000
+01011000000000000000111100001111
+00100000001000000011110110100111
+01011000000000000000100000001111
+00100000001000000011110110100111
+01111001001111111000000000100101
+01000100110011010100000000010011
+00100000010000000011101010000111
+01111000010100000111110000000000
+01111000001100001111110000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110011011100000000010011
+01101000000000001000000001001100
+00101111111011111111111000000010
+01111001001000001111111000000000
+01100000000100001000000000010001
+11011000110000000000000001100010
+11101000110001001000000000000000
+10011000000000000110010000000000
+11101000110000111000000000000000
+10011000000000000110011000000000
+01101000000000001000000001010100
+00011111111000001110100111111111
+01111000001011010111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110011100100000000010011
+01111000001001101111110000000000
+11011001011000000000011000000000
+00110101001100110000010000000000
+00011011010000100111111000000000
+01100000000000110000000010011100
+01111000010001101111110000000000
+00100100001011000011101001101101
+11011101001000000000001110111011
+00011101000000001101000000000001
+00011101000000010101000111111100
+00100000011000000000000000000000
+01111000001001101111110000000000
+00110111110010111000010000000000
+00100000001011000011101101010101
+00101101000000000000010000000010
+00100100001000001011101101011110
+00100000001000000011101101010101
+01111001001111111000000000100101
+01000100110011101100000000010011
+11011001011000000000011000000000
+01111000001001101111110000000000
+00110100011100110000010000000000
+01111000010001101111110000000000
+00100100001011000011101001101101
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110011110100000000010011
+01111000001001101111110000000000
+00110111110000011000010000000000
+01111000010001101111110000000000
+00100100001011000011101001101101
+11011101001000000000001110111011
+00011101000000010101000111111100
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110011111100000000010011
+10011000000000000010001000000000
+00011100001000100111111000000000
+10011000010000001001011000000000
+00011001011000100111111000000000
+01100000000000100100000101101010
+00011010001000100111111000000000
+00100000011000000000000000000000
+00011111111000100000010000000000
+01111001001111111000000000100101
+01000100110100000100000000010100
+00011000010000100111111000000000
+00100000010000000111111010010001
+00011100001100000111111000000000
+01111001001000000111111000101100
+00100000010000000111111001111010
+01111001001111111111111000101100
+00100000010000000011101111011010
+00100000010000000111111001111010
+00100000011101000000000000000000
+00100000010000000111111010000100
+10011000000000000011011000000000
+00110111110000011000001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110100001100000000010100
+00100000001110000011101110010011
+00110101001100110000001000000000
+00011101000000100000010000000000
+00100000001000000011101110010110
+00100000001101110011101110010101
+00110100011100110000001000000000
+00011100010000100000010000000000
+00100000001101000011101110100011
+00101000010000000000011000000001
+00100100001000001011101110001101
+01111001001111111000000000100101
+01000100110100010100000000010100
+01101000000000001000000000110000
+11000100000000000000000000000000
+01101000000000100100000101101010
+10011000010001100111111000000000
+00100100011000010000000000000000
+00011111111001100111110011111111
+00100000001000010011101110001101
+00100000011000000000000000000000
+00101000010000000000011000000011
+00100100001000001011101110001101
+00100000001000000011101110011001
+01111001001111111000000000100101
+01000100110100011100000000010100
+11011001011000000000011000000000
+00100000001000000011101110001101
+01111000010101000111110000000000
+00100000001000000011101110100110
+01111000001101000111110000000000
+00100000001000000011101110100110
+01111001001111111000000000100101
+01000100110100100100000000010100
+00100000010000000011101101000001
+01111000010100001111110000000000
+01111000001100000111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110100101100000000010100
+11011001011000000000111001000011
+00110100011100110000001000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110100110100000000010100
+11011001011000000000110100000000
+00110100011100110000001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110100111100000000010100
+11011001011000000000111001000011
+00110101001100110000001000000000
+01111000001010110111110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110101000100000000010101
+01010001001000000111111000000000
+01111000001011101111110000000000
+01111001001000000010101000000000
+00001000000000001000011001001000
+01111000010011101111110000000000
+00100000011000000000000000000000
+00011100101000100000010000000000
+00011000010000011000010001100000
+00011000010000100001110000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110101001100000000010101
+01101000000000001100000100110000
+00011111111000001111111000000001
+11000000100000111011101111010111
+00011000000000000111111000000001
+01100000000000001100000100110000
+10011000000000000000100000000000
+00100000011000000000000000000000
+00011011001000100000010000000000
+00100000011101001000000000000000
+00011011010000100000010000000000
+00100000011000000000000000000000
+00011100010000100111111000000000
+00100000011101001000000000000000
+00011101000000100111111000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110101010100000000010101
+01101000000010100000000001001101
+00100000010000000011101111011110
+10011000010001100001011000000000
+00011001011000100111111000000000
+01101000000010010000000001010001
+00011000010000111000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110101011100000000010101
+00100000010000000011101111011110
+01100000000000100000000001001101
+00100000011000000000000000000000
+00100000001000000011101111110001
+00100000001000000011101111110010
+00100000011110100000000000000000
+00011111111000110111111000000000
+00011111111000001111111111111101
+00011111111000001111111111111111
+00100100001000101011101111110110
+00011000000000000111111000000000
+00100000011000000000000000000000
+11011111001000000000000000010000
+11011000101000000000000000000000
+00100000010000000111111000111011
+11011000101000000000001111000000
+11011111001000000000000000001010
+00100000010000000111111000111011
+01110000000001111101111000000000
+01110000000010110111110100000000
+01110000000001000000110100000000
+01110000000000011000100100000000
+01110000000001000100110100000000
+01111001001111111000000000100101
+01000100110101100100000000010101
+01110000000000010111011100000000
+01110000000000010101001100000000
+01110000000000010101111000000000
+01011000100111101000101100110011
+01100000000000011100000101000111
+01011000000000000000000101010011
+01100000000000010000000010000011
+01110000000000001000010100011110
+01110000000000001000011000000001
+01110000000000001000100000000111
+01011000000100101110100100000100
+01100000000000011000000010000000
+01011000000000000000101000000100
+01100000000000011100011011111101
+01011000000000000001001011101001
+01100000000000010100011100000000
+01110000000000001000111101100000
+01110000010000010111000100000101
+01110000000000000001010000000010
+00100000010000000111010111001101
+01111001001111111000000000100101
+01000100110101101100000000010101
+00100000011101011000000000000000
+01011000000000000000000000000000
+01100000000000010000000010010001
+00011100010000110111111000000000
+01100000000000100100000100110100
+00100000011000000000000000000000
+01011000000000000000000010101010
+11011000101000000000000011010011
+00011000000000000111001000011110
+11100000101000001000000000000000
+11000010000000000011110000100110
+00100000011000000000000000000000
+01110000100010010000011100000010
+01110000100010010000100000011111
+01110000100010010000100100011111
+01110000100010010000101011100000
+01110000100010010000101101001110
+01110000100010010001001001000101
+01110000100010010101001100000000
+01110000100010010100110011111011
+01110000100010010100110111101111
+01110000100010010100111000001100
+01110000100010010110111110001000
+01110000100010010111001100110000
+01110000100010010101001100000000
+01110000100010010101011011001001
+01110000100010010101100001101100
+01110000100010010101100101010000
+00100000011000000000000000000000
+01110000100010010011000010101001
+01110000100010010010111110110001
+01110000100010010010111010111001
+01110000100010010010110110101101
+01110000100010010010110010110001
+01110000100010010010101110110101
+01110000100010010010101010111010
+01110000100010010010100110111110
+01110000100010010010100011000010
+01110000100010010010011111000110
+01110000100010010010011011001010
+01110000100010010010010111001110
+01110000100010010010010011010010
+01110000100010010010001111010110
+01110000100010010010001011011010
+01110000100010010010000111011110
+01110000100010010010000011100010
+01110000100010010001111111100110
+01110000100010010001111011101010
+01110000100010010001110111101110
+01110000100010010001110011110010
+01110000100010010001101111110110
+01110000100010010001101011111011
+01110000100010010100011111110101
+01110000100010010100011011100101
+01110000100010010100010111010101
+01110000100010010100010011011000
+01110000100010010100001111001001
+01110000100010010100001011001000
+01110000100010010100000110001001
+01110000100010010100000010001000
+01110000100010010011111110000111
+01110000100010010011111001001000
+01110000100010010011110100001001
+01110000100010010011110000001000
+01110000100010010011101111001001
+01110000100010010011101011001000
+01110000100010010011100111000111
+01110000100010010011100011000110
+01110000100010010011011111000101
+01110000100010010011011011000100
+01110000100010010011010111000011
+01110000100010010011010011000010
+01110000100010010011001111000001
+01110000100010010011001011000000
+01110000100010010011000110000000
+00100000011000000000000000000000
+01111000001110110111110000000000
+01011000100011101000100110111110
+00011111111011010111111000000000
+00011111111000011111111011010110
+10011000000000000001001000000000
+01110000100010010001010000000111
+01110000100010010000101010100000
+01110000100010010000110110001111
+01110000100010010001000100001111
+01110000100010010001001010000111
+00100000011000000000000000000000
+01011000000000001110111000100001
+01100000000100010000000001010000
+01101000000100001000000100111110
+11000011000000011110011100100101
+01111000001101011111110000000000
+11000011000000111011110001111111
+01111000010101011111110000000000
+00011100111000100111111000000000
+00100100001110100011110001111111
+11011000010111111111111111111111
+00100000001000000011110011101100
+01101000000100011000000100111100
+01100000000100011000000001001100
+11101000110000001000000000000000
+00011111111000011111111011101111
+11100000101000001000000000000000
+00100000010000000011110110110010
+01101000000100001000000001001111
+01111001001000000111111000000100
+01100000000100001000000001001111
+00100000010000000011110110110010
+00100000010101011011110010010000
+01101000000100001000000001001110
+01111001001111111111111000000011
+01100000000100001000000001001110
+00100000010000000011110110110010
+00100000011101011000000000000000
+00100000001000000110011100100101
+01101000000000001100001000111001
+01100000000100001000000010000110
+01101000000000011100001000101110
+01100000000100011000000010000000
+01101000000000100100001000100010
+01100000000100100000000001110100
+01101000000000100100001000011110
+01100000000100100000000001110000
+01101000000001000100001000100110
+01100000000101000000000001111000
+01101000000001000100001000110001
+10011000000000000000000000000000
+01101000000101000000000101000000
+01100000000001000000000010100011
+00100000010000000110011110000001
+00100000011000000000000000000000
+00011000000000100111111000000000
+01100000000001000100001000110001
+01101000000101000000000001110000
+01100000000001000100001000011110
+11101000110001000000000000000000
+11100000101001000000000000000000
+01101000000100011000000010000000
+01100000000000011100001000101110
+01101000000100001000000010000110
+01100000000000001100001000111001
+00100000001000000011110110111000
+01101000000100001000000010110100
+00100100001110100011110010110001
+01101000000000011100001000010000
+00100100011110100000000000000000
+01110000100000001011010011000000
+01110000100000000000011010000000
+01101000000100001000000100101101
+11000100000000001000000000000000
+01101000000100011000000101001001
+01100000000000011100001000010000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110101110100000000010101
+00011011010000100111111000000000
+00100000010000000111111001111000
+01101000000010100100001000000000
+00011000010001100111110011111111
+00100000011000010000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+11011000010000000000000011001000
+00100000010000000111111100101110
+01100000000000001000000010011011
+00100100001101000011110011000111
+00011111111001100111111000000000
+01101000000010011100001000010000
+10011000010000001111111000000000
+01100000000000011100001000010000
+01011000000000000000000000000000
+01100000000000100100001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110101111100000000010101
+00100000010000000011110110111000
+01101000000100100000000100111000
+01111001001111111111111000001111
+01100000000100100000000001001100
+00100000010000000011110110110000
+11011000010111111111111111111111
+01101000000000001100000111111000
+01100000000000001100001000011101
+01101000000000001100001000011011
+01111001001000000111111000000111
+01100000000000001100001000011011
+01111001001111111000000000100101
+01000100110110000100000000010110
+01101000000000100100001000000000
+10011000010000001111111000000000
+01100000000000100100001000000000
+00100000010000000011110010100000
+01101000000000101100001000011001
+01100000000100100000000001001100
+00011111111011110010001000000000
+00110111110110011000001000000000
+00011011001000100111111000000000
+01100000000000110100001000000100
+01110000100000000000010100000010
+00110111110110011000001000000000
+00110111110110011000001000000000
+00011010001000100111111000000000
+01100000000100001000000001001111
+01110000100000000000010100000010
+00110111110110011000001000000000
+00110111110110011000001000000000
+01100000000110100000000001001100
+01110000100000000000010100010000
+00110111110111111000001000000000
+01111001001111111000000000100101
+01000100110110001100000000010110
+01011000000000000000000000000000
+00011100111000100111110000000000
+00100000001000101011110011111101
+01101000000100001000000100111100
+01101000000110001000000100111101
+10011000010001100111110000000000
+00100000001000010011110011111011
+00011000010000100111111000000000
+10011100111001100111111000000000
+00011111111000001111111000000001
+00011111111000001111111000001000
+00110111110110011000001000000000
+10011110001000001111111000000000
+01101000000010100100000111111100
+10011000010000001111111000000000
+01101000000010011100001000010000
+10011000010011111111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00011111111000001111111001101110
+11011000010000000000111010100110
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+00011111111100000111111000000000
+00011000000001110000010000000000
+10011000010000011111111000000000
+01101000000010110100001000000100
+00100000010000000111111001101101
+00011000010000100011001000000000
+01101000000000110100000001001000
+00100000010000000011100111000000
+00011011010000100111111000000000
+01100000000000110000000101100001
+00011100111000100111111000000000
+11100000101000001000000000000000
+01101000000100001000000100011101
+00011111111000011111111011110000
+11100000101000001000000000000000
+00100000010000000111111101010010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110110010100000000010110
+00100000010000000011110010101011
+01101000000000011100001000010000
+00100000011110100000000000000000
+01101000000000001100000100110001
+00100000011110100000000000000000
+00100000010000000011110111001010
+00100100011110100000000000000000
+01101000000000001100000001000000
+00101111111000000000111000000011
+00100100001000001011110101001101
+01101000000000010100000001000010
+00100000011110100000000000000000
+00100000011101011000000000000000
+01111001001111111000000000100101
+01000100110110011100000000010110
+01101000000010001000000010100010
+01101000000000010100000001000010
+10011000010011111111111000000000
+00011000010100011000010000000000
+00011000010010110000010000000000
+10011000010001100111111000000000
+01101000000010100100000001000100
+10011000010000001111111000000000
+01101000000010001100000111110111
+10011000010001100111111000000000
+00011111111100000110000000000000
+01111001001111111000000000100101
+01000100110110100100000000010110
+01101000000000010100000001001110
+00011111111000110111111000000000
+00100000010000000111111010010001
+00011110000000100111111000000000
+00100000010000000111111001111010
+00011011010000100000010000000000
+00100000010000000111111001111000
+00100000011101000000000000000000
+00100000010000000111111010001010
+01111001001111111000000000100101
+01000100110110101100000000010110
+01101000000000001100001000011001
+10011000010001100111110000000000
+00100000001000010011110011001010
+01100000000010100100000111111100
+00100000010000000011111010101001
+00100000010000000101001100001100
+01101000000010100100000111111100
+00100000001000000011110011011010
+01111001001111111000000000100101
+01000100110110110100000000010110
+01101000000000001100000001000000
+11000011100000000000000000000000
+11000011100000011000000000000000
+01101000000000001100011111011100
+00100000001110100011110101010110
+01101000000000001100011110010011
+00100000011110100000000000000000
+01101000000000001100001111011000
+00100100001110100011110101011010
+01101000000000001100000100110011
+00100000011110100000000000000000
+01101000000000010100000111110101
+00100000011110100000000000000000
+01101000000010001100000111110111
+10011000010001100111111000000000
+11011000010000000001110101001100
+10011000010011111111111000000000
+00100000001000000011110101000010
+01111001001111111000000000100101
+01000100110110111100000000010110
+01111000010101011111110000000000
+01101000000000001000000000110000
+11000100000000001000000000000000
+00100100001101101011110101111011
+00100000010000000011110101110110
+01101000000000010100000101100001
+01100000000000010000000000111110
+01101000000000001000000001000111
+11000010100000011011110110001010
+11000101100001101011110110001010
+00100000010000000101001001111110
+00100100001110100011110110001010
+01110000000000001010001000000000
+11000101100001101011110110001010
+01101000000000001100001000010101
+00100000001110100011110110001110
+00011111111000001111111111111111
+01100000000000001100001000010101
+00100000011000000000000000000000
+01110000010000011111101000000000
+01101000000000011100001000001010
+00011111111000001111111000000001
+01100000000000011100001000001010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110111000100000000010111
+01101000000010010100000101100001
+00011000010000110000010000000000
+01101000000000010000000000111110
+10011000010000001111111000000000
+01100000000000010000000000111110
+01110000000000001010001000000000
+01101000000000011100001000001101
+00011111111000001111111000000001
+01100000000000011100001000001101
+01101000000000001100000111111010
+00011111111000001111111000000001
+01100000000000001100000111111010
+00100000011000000000000000000000
+01110000000000001010001000000000
+01101000000000001100001000010100
+01100000000000001100001000010101
+00100000011000000000000000000000
+01101000000010001100001000010011
+01100000000010001000000010100010
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110111001100000000010111
+01101000000000001100001000011001
+00100100011110100000000000000000
+01110000100000000100001000000110
+01011000000000000000111100001100
+00100000010000000011110110100111
+01011000000000110000110101000000
+00100000010000000011101111110011
+00110111110110011000001000000000
+00011110001000100110000000000000
+00100000010000000011101100110110
+01110000100000000100001000000100
+00100000000000000000000000001010
+00110111110110011000001000000000
+00011110001000100111111000000000
+10011110000001100111111000000000
+00011111111000001111111000110000
+11011000010000000000000011111111
+00100000010000000111111100101110
+01100000000000001100001000011001
+00100000011000000000000000000000
+11011000101000000000111111111111
+10011000101000010000101000000000
+01101000000000001100001000010110
+00011111111000010111111011110000
+00011111111011010111111000000000
+10011000101000011111111000000000
+01100000000100010000000001001100
+11101000110000010000000000000000
+11100000101000010000000000000000
+01011000000000000000000000000001
+00100000001000000011110110110011
+01011000000000000000000000000010
+00110111110110011000001000000000
+01100000000100001000000000000101
+00110111110110011000001000000000
+00110111110110011000001000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110111010100000000010111
+01101000000000100000000010100011
+01100000000100100000000001001100
+01011000000000000000000000000100
+00100000010000000011110110110011
+01101000000000100000000010100111
+01100000000100100000000001001100
+01011000000000000000000000001000
+00100000001000000011110110110011
+01101000000000010100000111110011
+11111001001000000111111000000000
+01100000000000010100000111110011
+00100000011000000000000000000000
+01101000000000010100000111110011
+11111001001111111111111000000000
+01100000000000010100000111110011
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100110111011100000000010111
+00100000010000000011111010100111
+01101000000000010100000111110011
+00011111111000100010001000000000
+01101000000000001000000001001100
+00101111111011111111111000000110
+01111001001000001010001000001011
+01101000000000001000000001111000
+01101000000010001000000001111100
+10011000010000001111111000000000
+01101000000010001000000001001000
+10011000010000001111111000000000
+01111101001110100010001000001010
+01111001001111111000000000100101
+01000100110111100100000000010111
+01101000000000010000001011000100
+01101000000010010000001011000110
+10011000010000001111111000000000
+01111101001110100010001000001101
+01101000000000101100011111011111
+01111101001110100010001000001111
+01101000000000101100011111100100
+01111101001110100010001000001110
+01101000000000001100001001110010
+01111101001110100010001000001000
+01101000000000001100000100110010
+00101111111000011111111000001010
+00100000010000001011110111110101
+01111001001111111000000000100101
+01000100110111101100000000010111
+01101000000000001100000100110010
+11000000100000001011110111111010
+00100000010000000011110111110101
+01101000000000001100001001011110
+01111001001110100010001000000011
+01101000000000100100001010100101
+11011000010000000001011100010000
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+01111101001000010010001000000100
+00100000001000000011110111111100
+01101000000100010000000100010010
+01111101001110100010001000000110
+01101000000100010000000100001110
+01111101001110100010001000000101
+00100000011000000000000000000000
+01011111111111111111111111111000
+10011010001000010010001000000000
+00011010001000100111111000000000
+01100000000000010100000111110011
+00100000011110100000000000000000
+00100000011101101000000000000000
+01111000001101011111110000000000
+00100000011000000000000000000000
+01101000000100100000000100111000
+01111001001111111111111000011011
+01100000000100100000000001001100
+00100000010000000011110110110000
+00100000001000000011101111110001
+01101000000100100000000100111100
+01111001001000000111111000010100
+01100000000100100000000001001100
+00100000001000000011110110110010
+01101000000100100000000100111100
+01111001001111111111111000010100
+01100000000100100000000001001100
+00100000001000000011110110110010
+01111001001111111000000000100101
+01000100110111110100000000010111
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000110101010001011
+00100000011000001000000000000000
+01101000000000100100100000000111
+00100100001110100011111000011010
+00011100010000100111111000000000
+01100000000000100100100000000111
+00100000001000000110101001101011
+01111001001111111000000000100101
+01000100110111111100000000010111
+00011100010000100111111000000000
+01101000000010100100100000000111
+10011000010001100111111000000000
+11011000010000000000000000100001
+10011000010001100111110000000000
+00100100011000010000000000000000
+01011000000000000000000000000000
+01100000000000100100100000000111
+00100000001000000100010110011001
+01101000000000010100000111110001
+11000010100000000011101111110001
+00100000011000000000000000000000
+01101000000000010100000111110001
+11000010100000001011101111110001
+00100000011000000000000000000000
+01101000000000010100000111110001
+11000010100000010011101111110001
+00100000011000000000000000000000
+01011000000000000011111000110111
+01100000000000010100001010001110
+01011000000000000011111000111101
+01100000000000010100001010010010
+01011000000000000011111000110111
+01100000000000010100001010010000
+00100000011101011000000000000000
+01110000010001111110100100000001
+00100000011000000000000000000000
+01101000000000001000000000110000
+11000011000000001101111010011111
+01111001001000000000000000001101
+01101000000000110100001000001010
+01100000000000110100011100000011
+00100000001000000111101111011110
+00011010011000100111111000000000
+11000001100010000000000000000000
+00100000010000000111101110110001
+01101000000000001100011111101011
+11000000000000001011111000111111
+00100000010000000111101111100010
+00100000001000000011110011001101
+00011000000000000000010000000010
+00011000010000001000010111111110
+00100000010000000011101001111010
+00100000010000000011101010010001
+01111000010000111111110000000000
+01111000001011101111110000000000
+01111001001000000010101000000000
+00100000010000000011101110101110
+01101000000000001000000000000000
+00001000000000001000011000001000
+00100000001000000011111001001100
+01111001001000000000000000100101
+01000100111001101100000000111001
+01101000000000001100000100110010
+00100000001110100011111001001111
+11000000000000110101101010100010
+11000000000000111100101100110011
+11000000000000100100001010010011
+11000000000000011100110000001001
+11000000000000001100010001100001
+11000000000001001111011000100100
+11000000000001010110001011101111
+11000000000001100100101111110011
+11000000000001101110101010001110
+11000000011111111011111000101110
+11000010100000110110010010000110
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111001110100000000111001
+01110000000000010101001100000000
+01110000000000011000100100000000
+01110000000000011000101000000000
+01011000000000000000000000000000
+01100000000000101000011111011010
+01101000000000001100000100110010
+00100000001110100011111001011111
+11000000000001010110001100011111
+00100000011000000000000000000000
+00100000010000000111101110100001
+00100000010000000111110001000101
+00100000010000000011111001110011
+01101000000000010100001010010000
+00100000001000000111111101100110
+01101000000000010100001010001110
+00100000001000000111111101100110
+01101000000000010100001010001100
+00100000001000000111111101100110
+01111001001000000000000000100101
+01000100111001111100000000111001
+11011010001000000100011111011111
+00100000010000000111111110011111
+00100000011110100000000000000000
+00011111111000100010011000000000
+00100000010000000011111001111101
+00100000001000000011111010100101
+11011010011000000000000000000000
+00100000011000000000000000000000
+11000000000000001011111010010010
+11000000000010000011111011011001
+11000000000000101011111010110110
+11000000000010010011111010111101
+11000000000000110011111011010101
+11000000000000100011111011111110
+11000000000000010011111100000011
+11000000000010011011111011111110
+11000000000010100011111011001100
+11000000000010101011111011010000
+11000000000000011011111010101111
+11000000000001011011111011000001
+11000000000001100011111011001000
+11000000000010110011111011011101
+11000000000011000011111010101011
+11000000000101010011111010011011
+11000000000101011011111010011001
+00011111111000010000010000001111
+00011111111000010111111011110000
+11000000001010000011111011100001
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001000000111111000000000
+01100000000000010100011111110100
+01101000000000010100001010100010
+01111001001111111111111000000000
+01100000000000010100001010100010
+00100000011000000000000000000000
+01110000000000100101100000000000
+00100000011000000000000000000000
+01101000000000001000001001011000
+00011111111000001111111000000001
+01100000000000001000001001011000
+00011111111001100111110000000001
+00100000001000010011111101101100
+01110000000000100101100000000000
+01101000000000010100001010100010
+01111001001000000111111000001001
+01100000000000010100001010100010
+00100000001000000011111101110111
+01101000000000010100001010010010
+00100000001000000111111101100110
+01101000000000010100001010000110
+00100000001000000111111101100110
+01101000000000010100001010001010
+00100000001000000111111101100110
+01101000000000010100001010100010
+01111001001000000111111000000001
+01100000000000010100001010100010
+00100000001000000011111110100010
+01101000000000010100011111110100
+01111001001000000111111000000111
+01100000000000010100011111110100
+01101000000000010100001010100010
+01111001001000000111111000000010
+01100000000000010100001010100010
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001000000111111000000001
+01100000000000010100011111110100
+01101000000000010100001010100010
+01111001001000000111111000000100
+01100000000000010100001010100010
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001000000111111000000011
+01100000000000010100011111110100
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001000000111111000000101
+01100000000000010100011111110100
+01101000000000010100001010100010
+01111001001000000111111000000011
+01100000000000010100001010100010
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001111111111111000000101
+01100000000000010100011111110100
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001000000111111000001001
+01100000000000010100011111110100
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001111111111111000001001
+01100000000000010100011111110100
+01110000010001101111100000000000
+00100000001000000011111110100110
+01101000000000010100011111110100
+01111001001000000111111000000010
+01100000000000010100011111110100
+00100000011000000000000000000000
+01101000000000010100001010100010
+01111001001000000111111000000000
+01100000000000010100001010100010
+00100000011000000000000000000000
+01101000000000010100001010100010
+01111001001000000111111000001000
+01100000000000010100001010100010
+00100000001000000011111101110111
+01111001001000000000000000100101
+01000100111010000100000000111010
+01100000000010001000001001011001
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000111101110110001
+00100000010000000011111101100000
+00100000010000000011111011101101
+00100000010000000011111011110101
+00100000001000000011111011100100
+01101000000000001100001010011101
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100001010011101
+00100100011110100000000000000000
+00100000010000000011001011101110
+00100000001000101011111110011110
+00100000011000000000000000000000
+01101000000000010100011111110000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100011111110000
+00100100011110100000000000000000
+00100000010000000011111101111110
+00100000010000000011111110011000
+01101000000000010100001010010100
+00100000001000000111111101100110
+00100000010000000011111100010101
+01101000000000010100011111110100
+01111001001111111111111000000111
+01100000000000010100011111110100
+00100000011000000000000000000000
+01110000010000101001110100000000
+01101000000000010100011111110100
+11000010100000111011111100001000
+00101111111011000000000000000001
+00100000010000001011111001111011
+01101000000000010100011111110100
+01111001001111111111111000000000
+01111001001111111111111000000001
+01111001001111111111111000000010
+01111001001111111111111000000011
+01111001001111111111111000000100
+01100000000000010100011111110100
+00100000001000000011111110100110
+00100000010000000011111100010010
+00100000001000000011111110011010
+01011000000000000000000000000000
+01100000000000010100001010100000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001010100010
+00100000011000000000000000000000
+01101000000000010100001010100010
+01100000000000010100001010100000
+01011000000000000000000000000000
+01100000000000010100001010100010
+00100000011000000000000000000000
+01101000000000010100001010100010
+01111001001000000111111000000111
+01100000000000010100001010100000
+01011000000000000000000000000000
+01100000000000010100001010100010
+00100000011000000000000000000000
+00100000010000000110100100011101
+01101000000000110100001001110100
+00100000011000000000000000000000
+01101000000000001100010010001011
+00100000001110100011111100101010
+00100000010000000011111110010110
+00100000001000000011111110000010
+00100000010000000011111110010100
+00100000001000000011111110001000
+01111001001000000000000000100101
+01000100111010001100000000111010
+11011010010000000000001001000100
+11011010011000000011111100110001
+00100000001000000011001100000001
+11011000010000000000000000000000
+11000011000000000011111100110101
+00011010001000001000110000010000
+11101000110010110000000000000000
+00011000010000100111111000000000
+00100100010110100011111100111010
+11100010010010110000000000000000
+00011010010000001010010000000110
+00100000001000000011001100000111
+01101000000000001100001010011010
+00011111111000001111111000000001
+01100000000000001100001010011010
+00100000011000000000000000000000
+01110000010000101001101000000000
+00100000001000000011111100101100
+01101000000000001100011111110100
+00101111111011111111111000000101
+00100000011000000000000000000000
+01011000000000000000000000000000
+00100000001000000011111101000110
+01011000000000001010101001010101
+01100000000000010000001010101000
+01111001001000000000000000100101
+01000100111010010100000000111010
+11011000010000000000000000000010
+11011010001000000000001010101000
+11011010010000000000000011000011
+00100000001000000110100000111110
+01111001001000000000000000100101
+01000100111010011100000000111010
+11011000010000000000000000000010
+11011010001000000000000101100001
+11011010010000000000000011000011
+00100000010000000110100000011101
+01101000000000010000000101100001
+11011000010000001010101001010101
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000000001100011101000111
+01100000000000001100001010011101
+00100000011000000000000000000000
+11011000111000000000000000001001
+00100000001000000011110111000010
+11011000111000000000000000001001
+00100000001000000011110111000110
+01110000010000101001111000000101
+00100000001000000011111101011010
+01101000000000001100001010011110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100001010011110
+00100100011110100000000000000000
+00100000001000000011111101011100
+01110000010000111100110000000001
+00100000011000000000000000000000
+01110000010000111100110000000000
+00100000011000000000000000000000
+01110000000010110111110100001010
+00100000001000000111110000110011
+01110000000010110111110100011101
+00100000001000000111110000110011
+01111001001000000000000000100101
+01000100111010100100000000111010
+01101000000000001100001010011111
+01100000000000001000000101110111
+01110000000000100101011100000001
+01110000000010110111110100000011
+00100000001000000111110000110011
+01110000000010110111110100011110
+00100000001000000111110000110011
+01110000000010110111110100000100
+00100000001000000111110000110011
+01101000000000010100011111111110
+01100000000000010100011111110000
+00100000010000000011111110010100
+01110000000010110111110100000001
+00100000001000000111110000110011
+01011000000000000000000000000000
+01100000000000010100011111110000
+01110000000010110111110100000010
+00100000001000000111110000110011
+01110000000010110111110100001111
+00100000001000000111110000110011
+01110000000010110111110100010000
+00100000001000000111110000110011
+01110000000010110111110100001110
+00100000001000000111110000110011
+01110000000010110111110100001101
+00100000001000000111110000110011
+01110000000010110111110100010111
+00100000001000000111110000110011
+01110000000010110111110100011000
+00100000001000000111110000110011
+01110000000010110111110100010110
+00100000001000000111110000110011
+01110000000010110111110100010001
+00100000001000000111110000110011
+01110000000010110111110100011100
+00100000001000000111110000110011
+01110000000010110111110100010101
+00100000001000000111110000110011
+01110000000010110111110100010100
+00100000001000000111110000110011
+01110000000010110111110100010011
+00100000001000000111110000110011
+01110000000010110111110100011001
+00100000001000000111110000110011
+01110000000010110111110100000110
+00100000001000000111110000110011
+01110000000010110111110100000101
+00100000001000000111110000110011
+01110000000010110111110100011111
+00100000001000000111110000110011
+01110000000010110111110100100000
+00100000001000000111110000110011
+01111001001000000000000000001101
+00100000011000000000000000000000
+01111001001111111000000000001101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110010000100000000110010
+11011000010000000000000000100000
+11011010001000000100010000011001
+11011010010000000000000010100000
+00100000010000000110100000011101
+11011000010000000000000000100000
+11011010001000000100011100000010
+11011010010000000000000001111111
+00100000010000000110100000011101
+11011000010000000000000000000110
+11011010001000000100000101000000
+11011010010000000000000001100011
+00100000010000000110100000011101
+11011000010000000000000000000110
+11011010001000000100010011111001
+11011010010000000000000001101001
+00100000010000000110100000011101
+00100000010000000101101011011011
+11011000010000000000000000000010
+11011010001000000100001010101100
+11011010010000000000000011000000
+00100000010000000110100000011101
+00100000010000000110100100001001
+00100000001000000011111111000001
+11011000010000000000000000001110
+11011010001000000000010101001111
+11011010010000000000000001101111
+00100000001000000110100000011101
+01111001001000000000000000100101
+01000100110010001100000000110010
+00100000010000000011111101001101
+00100000001000101011111110101000
+00100000010000000011111111010010
+00100000010000000011111111010111
+00100000010000000101101011011011
+00100000010000000011111111011100
+00100000010000000011111111100000
+00100000010000000110001011101001
+00100000010000000011111111100100
+00100000010000000011111111101001
+00100000001000000011111101000101
+01101000000010001100011100000010
+00011000010000001000010000000001
+11011010001000000100011100000010
+11011010010000000000000001111111
+00100000001000000110100000111110
+01101000000010001100010000011001
+00011000010000001000010000000001
+11011010001000000100010000011001
+11011010010000000000000010100000
+00100000001000000110100000111110
+11011000010000000000000000000110
+11011010001000000100010011111001
+11011010010000000000000001101001
+00100000001000000110100000111110
+11011000010000000000000000000110
+11011010001000000100000101000000
+11011010010000000000000001100011
+00100000001000000110100000111110
+01101000000010001000010101001111
+00011000010000001000010000000001
+11011010001000000000010101001111
+11011010010000000000000001101111
+00100000001000000110100000111110
+01011000000000000000000110100000
+01100000000000010000001010101000
+11011000010000000000000000000010
+11011010001000000000001010101000
+11011010010000000000000011000000
+00100000001000000110100000111110
+01111001001000000000000000100101
+01000100110010010100000000110010
+01101000000000010100100000001110
+11011000010000000000000100101100
+10011000010001100111110000000000
+00100000001000010100001001111111
+00100000010000000011111000101011
+00100000010000000111111101101011
+00011000011000100010001000000000
+01101000000000010100100000001110
+00011111111000001111111111111110
+10011000011000001000011000000000
+11101000011000010000000000000000
+11011000010000000000101000001101
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000100000011000000000
+11011010010000000100100001010000
+11011111001000000000000000000011
+00100000010000000100001000110111
+00100100001000001100001001111111
+00100000001000000100000000000101
+01111001001000000000000000100101
+01000100110010011100000000110010
+00011000011000100010001000000000
+11011010010000000100100000100111
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000001101101
+11011010010000000100100000100100
+00011000000000000111001000000111
+00100000010000000100001000110111
+00100000001000001100000001110100
+11011010010000000100100000101110
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000001111011
+11011010010000000100100000101011
+00011000000000000111001000000111
+00100000010000000100001000110111
+00100000001000001100000010000001
+11011010010000000100100000110010
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010000111
+11011010010000000100100000100000
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010001100
+11011010010000000100100000011100
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010001111
+11011010010000000100100000110110
+00011000000000000111001000000101
+00100000010000000100001000110111
+00100000001000001100000010010101
+11011010010000000100100001010011
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010011011
+11011010010000000100100001010111
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010100001
+11011010010000000100100001011011
+00011000000000000111001000000101
+00100000010000000100001000110111
+00100000001000001100000010100101
+11011010010000000100100001100000
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010101011
+11011010010000000100100001100100
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010110000
+11011010010000000100100001101000
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000010110111
+11011010010000000100100001101111
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000011010110
+11011010010000000100100001101100
+00011000000000000111001000000111
+00100000010000000100001000110111
+00100000001000001100000011011101
+11011010010000000100100001110011
+00011000000000000111001000000101
+00100000010000000100001000110111
+00100000001000001100000011110010
+11011010010000000100100001111000
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000011111000
+11011010010000000100100001111100
+00011000000000000111001000000111
+00100000010000000100001000110111
+00100000001000001100000011111011
+11011010010000000100100001000001
+00011000000000000111001000000110
+00100000010000000100001000110111
+00100000001000001100000100000000
+11011010010000000100100010000011
+00011000000000000111001000000110
+00100000010000000100001000110111
+00100000001000001100000100101100
+11011010010000000100100001001001
+00011000000000000111001000000011
+00100000010000000100001000110111
+00100000001000001100000100001110
+11011010010000000100100001001100
+00011000000000000111001000000100
+00100000010000000100001000110111
+00100000001000001100000100010111
+11011010010000000100100000111011
+00011000000000000111001000000110
+00100000010000000100001000110111
+00100000001000001100000100100111
+11011010010000000100100010001001
+00011000000000000111001000000011
+00100000010000000100001000110111
+00100000001000001100000100101001
+00100000001000000100001001111111
+11101000011000001000000000000000
+11000000000111111100000001110001
+11000000000111101100000100110001
+00100000001000000100001001111111
+00100000010000000111111101101110
+00100000010000000100000110010100
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000001111000
+11000000000111101100000100110110
+00100000001000000100001001111111
+00100000010000000111111101101110
+00100000010000000100000110011011
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000001111111
+11000000000111101100000100111100
+00100000001000000100001001111111
+00100000010000000100000110100010
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010000101
+11000000000111101100000101000000
+00100000001000000100001001111111
+00100000010000000100000110101000
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010001010
+00100000001000000100001001111111
+00100000010000000100000110101110
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111101100000101001001
+00100000001000000100001001111111
+11101000011000001000000000000000
+11000000000111111100000010010011
+11000000000111101100000101000100
+00100000001000000100001001111111
+00100000010000000100001000000100
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010011001
+11000000000111101100000101010111
+00100000001000000100001001111111
+00100000010000000100000110110100
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010011111
+11000000000111101100000101110010
+00100000001000000100001001111111
+00100000010000000100000110111010
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000011100001
+11000000000111101100000101011010
+00100000001000000100001001111111
+11101000011000001000000000000000
+11000000000111111100000010101001
+11000000000111101100000101101011
+00100000001000000100001001111111
+00100000010000000100001000001011
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010101110
+00100000001000000100001001111111
+00100000010000000100000111000000
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010110011
+00100000001000000100001010000110
+00100000010000000011001011101110
+00100100001000101100001001111111
+00100000010000000100000111001101
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111111100000010111010
+00100000001000000100001001111111
+01101000000000001100000001000000
+11000011000000000100001001111111
+00100000010000000111111101101110
+01101000000000001100000001000001
+11000010100000000100000011000000
+00100000001000000100000011001011
+11011010001000000100100001101000
+11011111001000000000000000000100
+00100000010000000100001000110010
+00100000010000000100001001000111
+01011000000000000000000000110100
+11100001010000001000000000000000
+00100000010000000100001001001110
+11011010001000000000001111010000
+00100000010000000111111010011101
+00100000010000000110100011111010
+00100000001000000100001010000110
+11011010001000000100100001101000
+11011111001000000000000000000100
+00100000010000000100001000110010
+00100000010000000100001001000111
+01011000000000000000000000110011
+11100001010000001000000000000000
+00100000010000000100001001001110
+11011010001000000000000001000000
+00100000010000000111111010011101
+00100000010000000110100011111010
+00100000001000000100001010000110
+01111001001000000000000000100101
+01000100110010100100000000110010
+00100000010000000011111100111110
+01101000000000001100001010011010
+11000000100000000100001001111111
+00100000010000000100000111110000
+00100000001000000100001010000110
+01111001001000000000000000100101
+01000100110010101100000000110010
+00100000010000000100000111110110
+00100000001000000100001010000110
+11011010001000000100100001010111
+11011111001000000000000000000100
+00100000010000000100001000110010
+00100000010000000011001011101110
+00100100001000101100001001001010
+01101000000000001100000001000001
+11000010100000001100000011101011
+00100000010000000100000011101111
+00100000010000000110100011111010
+00100000001000000100001010000110
+01011000000000000000000001001101
+11100001010000001000000000000000
+00100000010000000110100011111010
+00100000001000000100001010000110
+01011000000000000000000001010011
+11100001010000001000000000000000
+00100000011000000000000000000000
+11101000011000001000000000000000
+11000000000111111100000011110110
+11000000000111101100000101111110
+00100000001000000100001001111111
+00100000010000000100000111011000
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111101100000101010001
+00100000001000000100001001111111
+11101000011000001000000000000000
+11000000000111111100000011111110
+00100000001000000100001001111111
+00100000010000000100000111011110
+00100000001000000100001010000110
+01101000000000001100001010011111
+01100000000000001000000101110111
+00100000010000000110100100011101
+00100000010000000011111100111110
+01101000000000001100001010011010
+11000000100000000100001001111111
+01101000000000001100001010101001
+11000000000110011100000100001100
+11000000000110100100000100001010
+00100000001000000100001001111111
+00100000010000000011111110000010
+00100000001000000100001010000110
+00100000010000000011111101101110
+00100000001000000100001010000110
+00100000010000000011111100111110
+01101000000000001100001010011010
+11000000100000001100001001111111
+01101000000000001100000001000001
+11000010100000000100000100010101
+00100000010000000011111101110111
+00100000001000000100001010000110
+00100000010000000011111110010000
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111101100000100011010
+00100000001000000100001001111111
+11101000011000001000000000000000
+11000000000110001100000100100010
+11000000000110000100000100011110
+00100000001000000100001001111111
+00100000010000000011111101000000
+00100000001000001100001010000110
+00100000010000000011111110011110
+00100000001000000100001010000110
+00100000010000000011111101000000
+00100100001000001100001010000110
+00100000010000000110001110101011
+00100000010000000110010000010100
+00100000001000000100001010000110
+00100000010000000011111101000011
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000111101100000110000111
+00100000001000000100001001111111
+00100000010000000011111100111110
+01101000000000001100001010011010
+11000000100000000100001001111111
+00100000010000000110001110001010
+00100000001000000100001010000110
+11011010001000000100011100000011
+00100000010000000100001000101011
+01100000000010001100011100000010
+00100000010000000011111111010010
+00100000001000000100001010000110
+11011010001000000100010000011010
+00100000010000000100001000101011
+01100000000010001100010000011001
+00100000010000000011111111010111
+00100000010000000101101011011011
+00100000001000000100001010000110
+11011000101000000100000101000000
+00100000010000000111111010111111
+00100000010000000011111111100000
+00100000001000000100001010000110
+11011000101000000100010011111001
+00100000010000000111111010111111
+00100000010000000011111111011100
+00100000001000000100001010000110
+11011010001000000000010101010000
+00100000010000000100001000101011
+01100000000010001000010101001111
+00100000010000000011111111100100
+00100000001000000100001010000110
+00100000010000000111111010110000
+01011010110111000110110000000000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+01100000000000010000001010101000
+00100000010000000011111111101011
+00100000001000000100001010000110
+11101000011000001000000000000000
+00011111111001100111110000110011
+00100100001000010100001001111111
+00011111111000010111111000000011
+01100000000000001100100000010010
+00100000001000000100001010000110
+11101000011000011000000000000000
+01100000000000011100000101001010
+00100000001000000100001010000110
+00100000010000000011001011101110
+00100100001000101100001001111111
+11101000011000001000000000000000
+11000000001010011100000101100000
+11000000001001101100000101100011
+00100000001000000100001001111111
+01101000000000001100000001000001
+11000010100000001100000101100110
+00100000001000000100001001111111
+01101000000000001100000001000001
+11000011000000001100000101100110
+00100000001000000100001001111111
+01101000000000001100100000010011
+01111001001000000111111000000100
+01100000000000001100100000010011
+01110000010000100111001000011000
+00100000001000000100001010001100
+11011000101000000100001010000000
+00100000010000000111111010111101
+11011000101000000100001010000010
+00100000010000000111111010111101
+11011000101000000100001010000100
+00100000010000000111111010111101
+00100000001000000100001010000110
+11101000011000001000000000000000
+11000000000110001100000101110110
+11000000000110010100000101111100
+00100000001000000100001001111111
+11101000011000001000000000000000
+11011000101000000000000110110100
+00100000010000000111111010111111
+00100000010000000110100100110001
+00100100011101000000000000000000
+00100000001000000100001010000110
+00100000010000000110100100111101
+00100000001000000100001010000110
+11101000011000001000000000000000
+01101000000010001100100000010010
+01111101001110100000010000000010
+01100000000010001100100000010010
+00100000001110100100001010000110
+11101000011000001000000000000000
+11011000101000000100100000010100
+00100000010000000111111010111111
+00100000001000000100001010000110
+01111001001000000000000000100101
+01000100110010110100000000110010
+11011111001000000000000000010100
+11011000101000000001000000000000
+00100000010000000100100101111100
+11011010001000000001000000000000
+01101000000000001001000000000000
+00101111111000011111111000010010
+00100000010000001110101100011001
+01101000000000001001000000000000
+00101111111000011111111000010011
+00100000010000001110101101000101
+00100000001000000100001010000110
+11011010001000000100100000100111
+11011111001000000000000000000100
+00100000010000000100001000110010
+01101000000000001100011100000010
+00011111111000100111001000000000
+11011000110000000100011100000011
+00100000001000000111111101110100
+11011010001000000100100000100100
+00011000000000000111001000000111
+00100000010000000100001000110010
+00100000010000000101101100001000
+11101000110000001000000000000000
+00011111111000100111001000000000
+00100000001000000111111101110100
+11011010001000000100100000101110
+11011111001000000000000000000100
+00100000010000000100001000110010
+11011010001000000100000101000000
+00100000010000000111111010011101
+00100000001000000110100011111010
+11011010001000000100100000101011
+11011111001000000000000000000111
+00100000010000000100001000110010
+11011010001000000100010011111001
+00100000010000000111111010011101
+00100000001000000110100011111010
+11011010001000000100100000110010
+11011111001000000000000000000100
+00100000010000000100001000110010
+11011111001000000000000000000110
+11011000110000000100100000000100
+00100000001000000111111101110100
+11011010001000000100100000110110
+11011111001000000000000000000101
+00100000010000000100001000110010
+11011111001000000000000000000011
+11011000110000000100000101001010
+00100000001000000111111101110100
+11011010001000000100100001010011
+11011111001000000000000000000100
+00100000010000000100001000110010
+00100000010000000110100110001000
+00100000010000000100001001010011
+00100000001000000110100011111010
+00100000010000000110100100101001
+11011010001000000100100001100000
+11011111001000000000000000000100
+00100000010000000100001000110010
+01101000000000001000000110110011
+11000000000110011100000111001000
+11000000000110100100000111001000
+00100000001000000110100011111010
+11100001010000001000000000000000
+00100000010000000100001001001110
+11011010001000000000000110110100
+00100000010000000111111010011101
+00100000001000000110100011111010
+01111001001000000000000000100101
+01000100110010111100000000110010
+11011010001000000100100001100100
+11011111001000000000000000000100
+00100000010000000100001000110010
+00100000010000000100000111010100
+00100000001000000110100011111010
+11011010001000000000000000011000
+11011111001000000000000000000001
+00100000001000000111111010011110
+00100000011000000000000000000000
+11011010001000000100100001110011
+11011111001000000000000000000101
+00100000010000000100001000110010
+11011010001000000100100000010100
+00100000010000000111111010011101
+00100000001000000110100011111010
+11011010001000000100100001111100
+11011111001000000000000000000111
+00100000010000000100001000110010
+01101000000000001100100000010010
+00011111111000100010001000000000
+01101000000000001100000001000000
+00101111111011111111111000000000
+01111001001000001010001000000011
+00101111111011111111111000000001
+01111001001000001010001000000101
+01101000000000001100000001000001
+00101111111011111111111000000001
+01111001001000001010001000000100
+00101111111011111111111000000000
+01111001001000001010001000000110
+00011010001000100111111000000000
+11100001010000001000000000000000
+00100000001000000110100011111010
+01011000100111101000101100110011
+01100000000000011100000101000111
+01101000000000001100001010100100
+01111001001000000111111000000000
+01100000000000001100001010100100
+00100000001000000100011000110110
+00100000010000000011111100111110
+01101000000000001100001010011010
+11000000100000000100001001111111
+00100000010000000011111110001010
+01101000000000001100001010100100
+01111001001000000111111000000001
+01100000000000001100001010100100
+01011000000000000000001000000000
+01100000000000010100100000011010
+11011010001000000100100001101100
+11011111001000000000000000000110
+00100000010000000100001000110010
+00100000010000000111111101110100
+00100000001000000100001010001100
+11011010001000000100100000011100
+11011111001000000000000000000100
+00100000010000000100001000110010
+01101000000000001000010101001111
+00011111111000100111001000000000
+11011000110000000000010101010000
+00100000001000000111111101110100
+11011010001000000100100001011011
+11011111001000000000000000000101
+00100000010000000100001000110010
+00100000010000000100001001000111
+01011000000000000000000001010100
+11100001010000001000000000000000
+00100000010000000100001001000100
+11011010001000000100001010000000
+00100000010000000111111010011011
+00100000010000000100001001000111
+01011000000000000000000001000001
+11100001010000001000000000000000
+00100000010000000100001001000100
+11011010001000000100001010000010
+00100000010000000111111010011011
+00100000010000000100001001000111
+01011000000000000000000001001111
+11100001010000001000000000000000
+00100000010000000100001001000100
+11011010001000000100001010000100
+00100000010000000111111010011011
+00100000001000000111111101110100
+00100000010000000111111101101110
+00100000010000000100001001000111
+11011010001000000000000110000010
+00100000010000000111111010011101
+00100000010000000100001001001110
+11011010001000000000000101111111
+00100000010000000111111010011001
+00100000010000000100001001001110
+00100000010000000100000111010100
+00100000001000000110100011111010
+00100000010000000100001000101101
+00100000001000000100100101111100
+00100000010000000100001001101001
+00011111111000100000010000000000
+00011111111000100111001000000000
+00011010001000100000101000000000
+00100000011000000000000000000000
+00100000010000000111111101101110
+00100000010000000100001001000001
+00011010001000100000110000000000
+00100000010000000100100101110110
+00100000001000000100001001000100
+11101000011000001000000000000000
+11101010010010001000000000000000
+10011000010001100111110000000000
+01111000010000001111110000000000
+00100100001000101100001001000000
+00011010010000001010010000000001
+11000010000000000100001000110111
+01111000001000001111110000000000
+00100000011000000000000000000000
+00100000001000000100001001010001
+01011000000000000000000000101011
+11100001010000001000000000000000
+00100000011000000000000000000000
+01011000000000000000000000111010
+11100001010000001000000000000000
+00100000011000000000000000000000
+01011000000000000000000000111110
+11100001010000001000000000000000
+00100000011000000000000000000000
+01011000000000000000000001001110
+11100001010000001000000000000000
+00100000010000000110100011111010
+00100000001000000100001010000110
+01011000000000000000000000101100
+11100001010000001000000000000000
+00100000011000000000000000000000
+00011010001000100000011000000000
+00100000011000000000000000000000
+11011010011000000000000110010101
+11011111001000000000000000000100
+00011111001000100111111000000000
+01100000000000001000000101100001
+11101010011000001000000000000000
+11000000000110011100001001011011
+11000000000110100100001001011011
+00100000001000000100001001100111
+00100000010000000100001001000111
+11101010011000001000000000000000
+11100001010000001000000000000000
+00011010011000001010011000000001
+00100000010000000100001001001110
+00011010011000100010001000000000
+00100000010000000111111010011101
+00011010011000001010011000000110
+01101000000000001000000101100001
+00011111111000100111001000000000
+11000010000000000100001001010101
+00100000011000000000000000000000
+00011010011000001010011000000001
+00100000001000000100001001100010
+01111001001000000000000000100101
+01000100110011000100000000110011
+01101000000100010000000001011000
+10011000011001100111111000000000
+00100000011000101000000000000000
+00100000001000010100001001110011
+01101000000010010100100000001110
+10011000010000001111111000000000
+00011111111000001111111111111110
+00100000011000000000000000000000
+00100000010000000100001001111000
+10011000011000001000010000000000
+01101000000100010000000001011000
+10011000010001100111111000000000
+00100000001000000100001001101111
+11011111111000000100111111111111
+00011111111000001111111000000001
+11011000010000000100101000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+01101000000010010100100000001110
+00100000001000000110100100000011
+01111001001000000000000000100101
+01000100110011001100000000110011
+00100000010000000111111101101110
+01011000010100100101001001000101
+11100001010000011000000000000000
+00100000010000000110100011111010
+00100000001000000100001010001100
+01111001001000000000000000100101
+01000100110011010100000000110011
+00100000010000000111111101101110
+01011000000000000100101101001111
+11100001010000010000000000000000
+00100000010000000110100011111010
+01111001001000000000000000100101
+01000100110011011100000000110011
+00100000010000000100001001111101
+01011000000000000000000000000000
+01100000000000010100100000001110
+01100000000000100100100000001010
+00100000011000000000000000000000
+00100000010000000111110110110010
+00100000010000000011111110010100
+01011000000000000100001010011111
+01100000000000010100001010001100
+01011000000000000100001010111110
+01100000000000010100001010010010
+01011000000000000111110011011011
+01100000000000010100001010010000
+01110000000000100101101000000101
+01110000000000100110111000000000
+01110000010000100111001000011011
+00100000011000000000000000000000
+01111000010000001111110000000000
+00100000010000000011111100111110
+01110000000001000001110000011011
+01101000000000001100001010011010
+00101111111000000000011000000010
+00100100011000001000000000000000
+01110000010000111101001000000000
+00100000011000000000000000000000
+01101000000000001000001101000000
+11000011000000000100001010110000
+01101000000000110000001101000010
+01101000000010110000001111010000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000110000001111010000
+01100000000000110100010011100111
+00100000011000000000000000000000
+11011010001000000000000011111111
+00100000010000000101101101010010
+00100100011000101000000000000000
+11101000110000010000000000000000
+01101000000010010000001001110000
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000001000001001101110
+00011111111000001111111000000001
+01100000000000001000001001101110
+01101000000010001000001001101111
+10011000010001100111110000000000
+00100000001000010100001010101101
+00100000011000000000000000000000
+00011010011000100111111000000000
+11000000000010101100001011000101
+11000000000010100100001011010111
+00011111111000010000010000001111
+00011111111000010111111011110000
+11000000001010000100001011001101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000110100010011100111
+01110000000000100110111000000000
+01011000000000000000000000000000
+01100000000000101000111111110001
+01110000000011111111000000000001
+00100000010000000111110011011011
+00100000001000000011111110001010
+00100000011000000000000000000000
+01101000000000001100001111010010
+00100000011110100000000000000000
+01101000000000001000001001011010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011010
+00100100011110100000000000000000
+00100000010000000100001011011000
+00100000001000000011111110001110
+00100000001000000011111110001100
+01110000000000100101101000000101
+01101000000000001000001001100111
+11000000000000001100001011100001
+11000000000000010100001011011101
+00100000011000000000000000000000
+01101000000000110000001001011011
+01100000000000110000001001101000
+01110000000000100110011100000001
+00100000011000000000000000000000
+01101000000000110000001001100001
+01100000000000110000001001101000
+01110000000000100110011100000010
+00100000011000000000000000000000
+11101000011000010000000000000000
+00100000001110100100010010010000
+10011000000000000010011000000000
+11101000011000001000000000000000
+01100000000000001000001010010011
+10011000000000000010001000000000
+11000011000000110100001011101101
+00011010011000001010011111111110
+11101000011000010000000000000000
+00011111111100011111001000000000
+00011111111000010001000000001111
+10011010001000001010001000000000
+00011111111011001111111000000000
+10011010001000001010001000000000
+11101000011000001000000000000000
+10011010001000001111111000000000
+11000000111111111100001100011001
+00011010011000001111111111111100
+10011111001001100111110000000000
+00100100001000101100001100010110
+01101000000000001000001010010011
+00101111111011000000000000000111
+00100000001000001100001100000010
+01111001001111111000000000011011
+11000101000011011100001100000010
+00011111111000010111111000000111
+01101000000010001000001010001100
+10011000010001100111110000000000
+00100100001000101100001100010110
+01011000000000000000011001000000
+00011000000000000000111000000111
+00100000010000000111111001001100
+00011001000000100111111000000000
+00100000010000000100001100100000
+00100000011101000000000000000000
+01101000000000001000001010010011
+10011000000000000010001000000000
+00011111111010010000010000000000
+00011000010000010000010000000111
+01101000000000001000001010001011
+10011000010001100111111000000000
+00011111111001100111111000000000
+00011111111000010111111000000111
+11000000100000001100001100010110
+01100000000010001000001010001011
+01101000000000001000001001110010
+00011111111000001111111000000001
+01100000000000001000001001110010
+00100000001000000100001100011001
+01101000000000001000001001110011
+00011111111000001111111000000001
+01100000000000001000001001110011
+01101000000100010000000001011000
+10011000000000000000011000000000
+11101000011000010000000000000000
+10011000011000001000011000000000
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+01111000010101000111110000000000
+00100000011110100000000000000000
+11000000000000001100001100101000
+11000000000000010100001101000110
+11000000000000101100010100000111
+11000000000000110100010011011101
+11000000000001000100101001010110
+00100000011000000000000000000000
+01111001001111111000000000011000
+11101000011000001000000000000000
+11000000011011010100001100101111
+11000000010101100100001100110110
+11000000010101101100001100111010
+11000000011011110100001101000100
+00100000011000000000000000000000
+11000101000010111100001100110011
+00011000000000000000010011011010
+01011000111011011110110111011100
+00100000010000000100001100111100
+00011000000000000000010010101100
+01011000111011101110111110101111
+00100000001000000100001100111100
+01111001001000000000000000010111
+00011000000000000000010010101101
+01011000111011011010110011101111
+00100000001000000100001100111100
+00011000000000000000010011011110
+01011000110100001101000010101101
+00011111111011010111111000000000
+10011000010000011000010000000000
+00100000010000000100100101110010
+11100001010010100000000000000000
+00011000000000000000111000000001
+00011000000000000111001000000100
+01111001001111111000000000010011
+00100000001000000100001101111000
+00011000000000000110000000000000
+00100000001000000100100100110011
+00011111001000100110000000000000
+00100000010000000100001101110001
+00011000000000000010010000000000
+00100000010000000100100101110010
+00011110000000100111001000000000
+11101000011000001000000000000000
+01011000000000000000000000000001
+11100001010000001000000000000000
+01111001001111111000000000011010
+11101000011000001000000000000000
+00011010010000001010010000000001
+11000000000011100100001101011011
+00101010010000011111111000000100
+00100100001000001100001101011101
+01111001001110100000000000011010
+11000000100111010100001101011101
+01011000000000000000011111010000
+00011000000000000000111000000000
+00100000010000000111111001001100
+01111001001000000000000000011000
+00100000011000000000000000000000
+00101010010000011111111000000110
+00100000001000001100001101100110
+00101000000011111111111000011010
+00100000010000001100001101101000
+11100001010000001000000000000000
+11000010000000000100001101001111
+01111001001111111000000000011001
+00011110000000100111001000000000
+01111001001000000000000000010011
+00011000000000000000111000000010
+00100000001000000100001101111000
+01111001001000000000000000011001
+00100000001000000100001101011101
+11000110000011001000000000000000
+00101010010000011111111000001010
+00100000001000001100001101101111
+00101010010000011111111000001011
+00100100011000001000000000000000
+01011000000000000000000000010010
+00100000011000000000000000000000
+01011000000000000000000011101001
+00100000011000000000000000000000
+01101000000000001000001010010011
+00011111111000001111111000000001
+00011111111000010111111000000111
+01100000000000001000001010001100
+00011000000000000111001000000000
+00011000000000000000111000000000
+01111001001111111000000000010011
+00011111001000001010010000000100
+01101000000000001000001010001100
+00011111111010011010011000000000
+00101000000011000000000000010100
+01111101001000001010011000000110
+00100000001000001100001101111111
+00011010010000001010010000000010
+11000101100010011100001110001001
+01111001001000000010011000000111
+01101000000000001000001010010100
+10011010011000011010011000000000
+00011111111000001111111000000001
+00011111111000010111111000000111
+01100000000000001000001010010100
+01101000000000001000001001110100
+00011111111000001111111000000001
+01100000000000001000001001110100
+01101000000000010000001010001111
+10011000000000000001010000000000
+00011010010000100111111000000000
+00101000000011111111111000010011
+01111001001000001111111000001111
+11100001010000010000000000000000
+00011001010000100010001000000000
+00011010011000100111111000000000
+11100001010000001000000000000000
+00011111001100100111111000000000
+10011000111000011111111000000000
+10011010011000001010011000000000
+11100001010000010000000000000000
+00011111111011001111111000000000
+10011010011000001111111000000000
+00011111111001100111111011111111
+11100001010000001000000000000000
+11000101100010100100001110011111
+00011111001000001111001000000100
+00011010001000100001010000000000
+00100000010000000100100110000110
+11100001010000010000000000000000
+01101000000000010000001010001111
+10011010010000001001010000000000
+00011001010000001001010000000010
+00011001010000100111111000000000
+01100000000000010000001010001111
+01100000000100010000000001011110
+01101000000010010000001010001101
+00100000010000000100001111011000
+00100000010000000100001110101011
+01011000000000000000011001000000
+00011000000000000000111000000111
+00100000001000000111111001001100
+01011000000000000000000110010000
+00011000000000000000111000000001
+00100000010000000111111001001100
+01111001001000000000000000010101
+00100000011000000000000000000000
+11000110100010101000000000000000
+00011000000000000000111000000001
+00100000010000000111111001010011
+00100100011110100000000000000000
+01101000000000010000001010001101
+01100000000100010000000001100000
+00100000001000000100001110101011
+01101000000000010000001010001111
+01101000000010010000001010001101
+10011000010001100111110000000000
+00100000001000101100001111010110
+00011000010000100001010000000000
+11101001010000010000000000000000
+10011000000000000010001000000000
+10011110101000010111111000000000
+10011001010000001001010000000000
+01101000000100010000000100010000
+10011001010001100111111000000000
+10011110101000010010010000000000
+01101000000000010000001010001111
+10011001010001100111111000000000
+10011110101000010111111000000000
+10011010010001100111111000000000
+00100100011000010000000000000000
+00101010001011000000000000001111
+00100000001000001100001111010001
+01101000000000001000001001110010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001110010
+01101000000000001000001001110100
+00011111111000001111111111111111
+01100000000000001000001001110100
+00011001010000100000010000000000
+01100000000010010000001010001101
+01101000000000010000001010001111
+00100000010000000100001111011000
+00100000001000000100001110110111
+01111001001111111000000000010101
+00100000011000000000000000000000
+10011000010001100111111000000000
+10011110101000010111111000000000
+10011110101001100111111000000000
+00011111111001100111111000000000
+01100000000000010000001010010001
+00100000011000000000000000000000
+01101000000000010000001010001111
+10011001010000001001010000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111101100100000000111101
+01101000000000001100001001110010
+00100100011110100000000000000000
+00100000010000000100001111101001
+00100100010101000100010000001110
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111101101100000000111101
+00011000011000100010001000000000
+11011000010000000000000000000100
+11101000011000001000000000000000
+11000000000000001100001111110100
+00011000010000001000010000000001
+11000000000000010100001111110100
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+01101000000100010000000100010010
+10011000010001100111110000000000
+00100100001000010100001111110100
+01111000010101000111110000000000
+00011010001000100000011000000000
+00100000010000000100010000010111
+10011000010000001000010000000000
+01101000000100010000000100010010
+10011000010001100111110000000000
+00100100001000010100001111111011
+00011010001000100000011000000000
+11101000011000001000000000000000
+11000000000000001100010100000111
+11000000000000010100010000000011
+00100000001000000011101111110001
+01111001001000000000000000100101
+01000100111101110100000000111101
+00011000011000100010001000000000
+11101000011000010000000000000000
+00011010001000100000011000000000
+01101000000010001000000001000110
+10101000010000011111111000000000
+00100000001000001100010011011101
+00100000001110110101100011101010
+01111000001101000111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111101111100000000111101
+01101000000100010000000001011000
+10011000000000000000011000000000
+00100000010000000100010000010111
+10011000011000001000011000000000
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+11101000011000001000000000000000
+00011000011000001000011000000010
+11000000000000010100010000011100
+11101000011000001000000000000000
+00100000011000000000000000000000
+11101000011000010000000000000000
+00100000011000000000000000000000
+01101000000100010000000001011110
+00011001010000001001010111111011
+10011001010000001001010000000000
+00100000011000000000000000000000
+11011000010000000000000000000100
+00100000001000000100010000100101
+11011000010000000000000000000010
+01111001001000000000000000100101
+01000100111110000100000000111110
+00011111001000001111001000000001
+01101000000100010000000001011110
+00011111111000100001010000000000
+00011111001000100111111000000000
+11100001010010001000000000000000
+00011111111000001111111111111111
+10011001010000001001010000000000
+00011001010000100111111000000000
+01100000000000010000001010011101
+00011000010000100111111000000000
+11000001000000010000000000000000
+01101000000000010000001010011101
+01100000000100010000000001011110
+00100000001000000100010000111011
+01111001001000000000000000100101
+01000100111110001100000000111110
+01101000000000010000001010011101
+00100000001110100011101111110001
+01100000000100010000000001011110
+00100000001000000100010000111011
+01011000000000000000000000000000
+01100000000000010000001010011101
+00100000011000000000000000000000
+01101000000110010000000100010000
+01101000000100010000000001011110
+10011000010001100010001000000000
+00100100001000010100010001000111
+01101000000110010000000001011010
+01101000000100010000000001011100
+10011000010001100111111000000000
+10011010001001100000010000000000
+00100000011000000000000000000000
+00011010001001100000010111111111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111001101100000000011001
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100010010100011
+00100000010000000100010010010100
+00100000010000001100001110110000
+00100000010000000100010010010100
+00100000010000001100001110110111
+00100000001000000100010011100110
+11000110100011000000000000000000
+00011000000000000000111000000000
+00100000010000000111111001010011
+00100100011110100000000000000000
+00100000010000000100010001110010
+00100000010000000100010010010100
+00100100011000001000000000000000
+01111001001111111000000000010111
+00011000000000000000010011011010
+01011000111011011110110111011100
+00100000010000000100001100111100
+01011000000000000000011111010000
+00011000000000000000111000000000
+00100000001000000111111001001100
+01111001001111111000000000100101
+01000100111001110100000000011001
+00100000011101011000000000000000
+01011000000000000100101011101101
+01100000000000010100001010010000
+01011000000000000000000110100000
+01100000000000010100001010101100
+01111001001111111000000000100101
+01000100111001111100000000011001
+00100000010000000110101000001101
+01011000000000000001100000000000
+01100000000100010000000001010100
+01011000000000000001101111111111
+01100000000100010000000001010110
+01011000000000000001110000000000
+01100000000100010000000001011010
+00100000010000000100010010001001
+01111001001111111000000000100101
+01000100111010000100000000011010
+01110000100000000110001000000000
+01110000000000101000101100000000
+01110000000000101000110000000000
+01110000000000101001010000000000
+01011000000000000001110000000000
+01100000000000010000001010001111
+01100000000000010000001010001101
+01100000000100010000000001011110
+01100000000100010000000001100000
+01011000000000000001100000000000
+01100000000100010000000001011000
+01100000000000010000001010001001
+01111001001111111000000000100101
+01000100111010001100000000011010
+01101000000100010000000001010000
+01111001001111111111111000001111
+01100000000100010000000001010000
+00100000010000000110100100001001
+01110000100000000100001100000001
+01110000100000000110001010000001
+00100000001000000100010010010111
+01011000000000000001111111111111
+01100000000100010000000001011100
+01101000000100001000000010000001
+00011111111000011111111000000111
+01100000000100001000000010000001
+01110000000000101001111111111111
+00100000011000000000000000000000
+01101000000100010000000100010110
+01100000000100010000000001011000
+01111001001000000000000000011011
+00100000011000000000000000000000
+01101000000100001000000001100010
+00101111111011111111111000000011
+00100000011000000000000000000000
+01011000000000000100100000000011
+01100000000000010000001010010101
+01100000000000010000001010010111
+00011000000000000000010000000001
+10011000010000001111111000000000
+10011000010000001111111000000000
+00011111111000001111111000000010
+01100000000000010000001010011001
+01011000000000000000000000000000
+01100000000000001000001010011100
+01100000000000001000001010011011
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111010010100000000011010
+01101000000100001000000100001100
+10011000000000000010010000000000
+11000011000000011100010010101101
+01101000000100010000000100010010
+10011000000000000010011000000000
+11011000010000000000010001001111
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000100010000000001011000
+10011000000000000000011000000000
+00100000010000000100010010010100
+00100000001000001100001011100101
+00100000001000000100001111100010
+00100000010000000100010010010100
+00100000001000001100001101110001
+00100000011000000000000000000000
+01101000000110001000000100001100
+00101000010011111111111000000110
+00100000001000001100010010110101
+01100000000100001000000000010101
+00100000011000000000000000000000
+01101000000010010000001010011001
+01101000000000010000001010010101
+10011000000000000000101000000000
+00011000011000100111111000000000
+11100000101000010000000000000000
+00011000101000100111111000000000
+01100000000000010000001010010101
+10101000010000011111111000000000
+00100000010000001100010011000111
+01101000000000001000001010011011
+00011111111000001111111000000001
+01100000000000001000001010011011
+00100000011000000000000000000000
+01011000000000000100100000000011
+01100000000000010000001010010101
+00100000011000000000000000000000
+01101000000000001000001010011011
+00100000011110100000000000000000
+01101000000010010000001010011001
+01101000000000010000001010010111
+10011000000000000000110000000000
+11101000110000010000000000000000
+10011000000000000000011000000000
+00011000110000100111111000000000
+01100000000000010000001010010111
+10101000010000011111111000000000
+00100000010000001100010011011010
+01101000000000001000001010011011
+00011111111000001111111111111111
+01100000000000001000001010011011
+00011000000000000111111000000001
+00100000011000000000000000000000
+01011000000000000100100000000011
+01100000000000010000001010010111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111010011100000000011010
+01101000000000001000001010011011
+00011111111001100111110000000010
+00100000001000010100010011100100
+01111000001101000111110000000000
+00100000001000000100010011100110
+00100000010000000100010010110010
+00100000010000000100010010111010
+01111001001111111000000000100101
+01000100111010100100000000011010
+11000110000000010000000000000000
+00100000010000000100010011001010
+00100000011110100000000000000000
+11101000011010001000000000000000
+00100000010000000011001011110111
+00100100011000101000000000000000
+11101000011000001000000000000000
+00011111111100011111111000000000
+00011111111000010111111000000011
+00100100001110100100010011110011
+01111001001000000111111000000001
+01111001001000000111111000000010
+01100000000000001000000010010000
+11101000011000010000000000000000
+01100000000000010000000010010001
+00011000011000100111111000000000
+01100000000000010000000101111001
+01111001001000000000000000000010
+11000101100001001100010100000010
+01101000000000001000000001000110
+10011000010001100111110000000000
+00100100001000101100010100000010
+01101000000000001000000001001011
+01111001001000000111111000000110
+01100000000000001000000001001011
+00100000011000000000000000000000
+00011010001000001010001000011011
+11101010001000001000000000000000
+01111001001000000111111000000110
+11100010001000001000000000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111010101100000000011010
+01101000000000001100001001110010
+00100000001110100100010100001101
+01111000001101000111110000000000
+00100000011000000000000000000000
+00100000010000000100010010110010
+11101000011000010000000000000000
+10011000000000000110000000000000
+10011000000000000000111000000000
+11101000011000001000000000000000
+10011000000000000000010000000000
+00011110000010110111111000000000
+00011111111011001111111000000000
+11000000000000001100010100011110
+11000000000000010100010100111101
+11000000000000011100010101001111
+11000000000000100100010101101001
+11000000000000101100010101110010
+11000000000000110100010101111100
+11000000000111111100010110000101
+11000000000001000100010111100000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111010110100000000011010
+00011000111000100111111000000000
+11000000000000001100011000110100
+11000000000000010100011001000011
+11000000000000011100100101001001
+11000000000000100100100101001001
+11000000000000101100011001000101
+11000000000000110100011001001111
+11000000000000111100100101001001
+11000000000001000100011001011101
+11000000000001001100011100111001
+11000000000001010100011100111111
+11000000000001011100011001100100
+11000000000001100100011001101010
+11000000000001101100011001101101
+11000000000001110100011001110101
+11000000000001111100011101000011
+11000000000010001100011010001000
+11000000000010011100011010001011
+11000000000010101100100101001001
+11000000000010111100100101001001
+11000000000011001100011010010000
+11000000000011011100011010011011
+11000000000011100100011010010110
+11000000000011101100011010100001
+11000000000011111100011010100111
+11000000000101000100011010101011
+11000000000101001100011010110110
+11000000000101011100011001111011
+00100000001000000100011101001101
+01111001001111111000000000100101
+01000100111010111100000000011010
+00011000111000100111111000000000
+11000000000001001100011011001100
+11000000000001101100011011010111
+11000000000000001100100101001001
+11000000000000011100011101001111
+11000000000000100100011101011010
+11000000000000101100100101001001
+11000000000000110100100101001001
+11000000000000111100100101001001
+11000000000001011100011101100000
+11000000000001100100100101001001
+11000000000001110100100101001001
+11000000000001111100100101001001
+11000000000010000100100101001001
+11000000000010001100011101011111
+00100000001000000100011101001101
+01111001001111111000000000100101
+01000100111011000100000000011011
+00011000111000100111111000000000
+11000000000000001100011100100101
+11000000000000011100100101001001
+11000000000010010100011011011010
+11000000000010011100011011000010
+11000000000010100100011010111000
+11000000000011000100011011011011
+11000000000011001100011100000101
+11000000000011010100011011011110
+11000000000011100100011011100001
+11000000000011110100011011100110
+11000000000100000100011011101100
+11000000000100010100011011101011
+11000000000100100100011011101111
+11000000000100110100100101001001
+11000000000110001100100101001001
+11000000000110011100100101001001
+11000000000110101100011000101110
+11000000001000011100100101001001
+11000000001000101100100101001001
+11000000001000111100100101001001
+11000000001010001100011011110010
+11000000001010110100011100000001
+00100000001000000100011101001101
+01111001001111111000000000100101
+01000100111011001100000000011011
+00011000111000100111111000000000
+11000000000000001100011100001010
+11000000000000011100011100001111
+11000000000000100100011100010100
+11000000000000101100011100011011
+11000000000001001100011100100000
+00100000001000000100011101001101
+01111001001111111000000000100101
+01000100111011010100000000011011
+00011000111000100111111000000000
+11000000000000001100100101001001
+11000000000000010100011100100110
+11000000000000011100011100100111
+11000000000000101100011100101101
+11000000000000110100011100110011
+11000000000000111100011100110110
+00100000001000000100011101001101
+01111001001111111000000000100101
+01000100111011011100000000011011
+00011000111000100111111000000000
+11000000000000001100100101001001
+11000000000000010100100101001001
+11000000000000011100100101001001
+11000000000000100100100101001001
+00100000001000000100011101001101
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111011100100000000011011
+00011000111000100111111000000000
+11000000000000000100100101001001
+11000000000000001100010110011101
+11000000000000010100010110100010
+11000000000000011100010110100110
+11000000000000100100010110111001
+11000000000000101100100101001001
+11000000000000110100010111001010
+11000000000000111100010110010011
+11000000000010000100010111001101
+11000000000010001100010111010101
+00100000001000000100100101001001
+00100000010000000100100101001001
+00100000010000000111111101101000
+00100000010000000110101001101000
+00100000010000000011111101011100
+00100000010000000011111101100110
+00100000001000000110101001111101
+01110000010000101010111000000000
+00100000010000000011111101011010
+00100000010000000100010001101000
+00100000001000000011111101101000
+00100000010000000100100101101110
+01101000000100010000000000000000
+11100001010000010000000000000000
+00011000000000000111001000000110
+00100000001000000100100101001100
+11101000011000010000000000000000
+01100000000000010100001010101100
+01100000000100010000000001010010
+00100000011000000000000000000000
+11101000011000001000000000000000
+00011111111000100000010000000000
+01100000000100001000000000100100
+11101000011000001000000000000000
+10011000010000001000010000000000
+01111001001000000111111000000111
+01100000000100001000000000100011
+11101000011000001000000000000000
+10011000010000001000010000000000
+00011111111000100111001000000000
+11101000011000001000000000000000
+01100000000100001000000000100101
+10011000010000001000010000000000
+11000010000000000100010110110000
+00011000010000010000010011111111
+11101000011000001000000000000000
+10011000010001100111110000000000
+00100100001000101100010111001000
+00100000001000000100100101001001
+11011111001000000000000000100000
+11011000101000000100000000000000
+11011000010000000000000000000000
+11101000011000001000000000000000
+11100000101000001000000000000000
+10011000010000001000010000000000
+11000010000000000100010110111100
+00011000010000010000010011111111
+11101000011000001000000000000000
+10011000010001100111110000000000
+00100100001000101100010111001000
+01110000100000000010001100000000
+00100000010000000100100101001001
+00100000010000000100010000001110
+00100000001000000011000000000001
+01110000100000000010001100000000
+00100000001000000011000000000000
+11101000011000110000000000000000
+01100000000000110100000101000000
+00100000001000000100100101001001
+11101000011000001000000000000000
+01100000000000001000001011000001
+00011111111000100111001000000000
+11101000011000010000000000000000
+01100000000000010000001011000010
+00011111111000100000101000000000
+00100000010000000100100101111100
+00100000001000000100100101001001
+11101000011000001000000000000000
+01100000000000001000001011000001
+00011111111000100111001000000000
+11101000011000010000000000000000
+01100000000000010000001011000010
+11011000101000000001000000000000
+00100000010000000100100101111100
+01101000000010001000001011000001
+11011010001000000001000000000000
+01101000000000010000001011000010
+00100000001000000110100001000010
+01111001001111111000000000100101
+01000100111011101100000000011011
+00011000111000100111111000000000
+11000000000000001100100101001001
+11000000000000010100010111110011
+11000000000000011100010111111000
+11000000000000110100010111111111
+11000000000001000100011000000011
+11000000000001001100011000000111
+11000000000001010100011000001011
+11000000000001011100011000001110
+11000000000001100100011000010001
+11000000000001101100011000010100
+11000000000001110100011000100110
+11000000000010101100011000100111
+11000000000010110100100100110011
+11000000000010011100100101001001
+00100000001000000100011101001101
+00100000011000000000000000000000
+00100000010000000100100101101110
+01011000000000000000000000000000
+11100001010000011000000000000000
+00011000000000000111001000000111
+00100000001000000100100101001100
+00100000010000000100100101101110
+01011000000000000000000000000001
+11100001010000010000000000000000
+01011000000000000000000000000000
+11100001010000110000000000000000
+00011000000000000111001000001100
+00100000001000000100100101001100
+11011111001000000000000000001111
+11011000101000000100010011010111
+00100000010000000100100101111100
+00100000001000000100100101001001
+11011111001000000000000000100000
+11011000101000000100001111011001
+00100000010000000100100101111100
+00100000001000000100100101001001
+11011111001000000000000000100000
+11011000101000000100001111111001
+00100000010000000100100101111100
+00100000001000000100100101001001
+11101000011000001000000000000000
+01100000000000001100001111011000
+00100000001000000100100101001001
+11101000011000111000000000000000
+01100000000000111100010011110110
+00100000001000000100100101001001
+11101000011000001000000000000000
+01100000000000001100001111010010
+00100000001000000100100101001001
+11101000011000100000000000000000
+01100000000000100100001111010011
+11101000011000001000000000000000
+01100000000000001100010011111000
+11011111001000000000000000010100
+11011000101000000100010011100110
+00100000010000000100100101111100
+01110000010000111101001000000001
+01101000000000001100010011101101
+01100000000000001100010011110111
+01101000000000010100010011110000
+01100000000000010100001111010000
+01101000000000010100010011110010
+01100000000000010000001111101101
+01101000000000010100010011110100
+01100000000000010000001111101111
+01110000010000100111001000011011
+00100000001000000100100100110011
+00100000001000000100100101001001
+00100000010000000100100101101110
+11101000011000010000000000000000
+11100001010000010000000000000000
+01011000000111111111111111111111
+11100001010000101000000000000000
+00011000000000000111001000001011
+00100000001000000100100101001100
+11101000011000011000000000000000
+11101000011010011000000000000000
+01101000000000010100100000000000
+10011000010000001111111000000000
+01100000000000010100100000000000
+00100000011000000000000000000000
+11101000011000011000000000000000
+01100000000000011100000101000111
+01110000010000100111001000000001
+11101000011000001000000000000000
+11011000010000000000011001000000
+10011000010011111111111000000000
+11011000010000001111111111111111
+10011000010001100111110000000000
+00100100001000010100011000111110
+00011000010000100111111000000000
+00011000000000000000111000000010
+00100000010000000111111001001100
+01101000000000001100001010100100
+11000010100000000100001010001100
+00100000001000000100100100110011
+01110000010000100111001000000010
+00100000001000000100100101001001
+00100000010000000100011101100011
+11101000011000010000000000000000
+01100000000000010000001001110101
+11101000011000010000000000000000
+01100000000000001000000011110011
+00100000010000000100011101110110
+11101000011000001000000000000000
+01100000000000001100100000000010
+01110000010000100111001000000101
+00100000001000000100100100110011
+01110000010000100111001000000110
+11101000011000010000000000000000
+01100000000000001100001001110011
+11101000011000001000000000000000
+01100000000000001000010001000110
+01110000000000101100000000010110
+01101000000000001100001001110011
+01101000000010001000000010101101
+10011000010001100111110000000000
+00100100001000101100100100110011
+01110000010000100111001000010001
+01101000000000001000000010101100
+01100000000000001100001001110011
+00100000001000000100100100110011
+00100000010000000100100101101110
+00100000010000000100100101100101
+00011000000000000111001000001010
+00100000010000000100100101001100
+01110000010000100111001000011010
+00011000000000000000010000000010
+00100000001000000100100000100110
+00100000010000000100011101100011
+11011000101000000100001001100010
+00011000000000000111001000010000
+00100000010000000100100101111100
+01110000010000100111001000001011
+00100000001000000100011001110111
+00100000010000000100011101100011
+01110000010000100111001000001100
+00100000001000000100011001110111
+00100000010000000100011101100011
+11101000011000001000000000000000
+01100000000000001000010101001111
+10011000000000000111001000000000
+11011000101000000000010101010000
+00100000010000000100100101111100
+01110000010000100111001000001001
+00100000001000000100011001110111
+00100000010000000100011101100011
+01110000010000100111001000001010
+00100000010000000100100101101110
+00100000010000000100100101100101
+00011000000000000111001000001010
+00100000001000000100100101001100
+00011000011000001000011000000110
+11101000011000011000000000000000
+01100000000000011000011111100110
+01101000000000001000011111011011
+11000000000010011100011010000011
+11000000000000011100011010000011
+01110000010000100111001000010110
+00100000001000000100011010000100
+01110000000001111101110100000001
+00100000010000000100100101101110
+00100000010000000100100101100101
+00011000000000000111001000001010
+00100000001000000100100101001100
+00100000010000000100011101100110
+01110000010000100111001000001101
+00100000001000000100100100110011
+00100000010000000100011101100110
+11101000011000001000000000000000
+00011111111000001111111000001110
+01100000000000001100001001110010
+00100000001000000100100100110011
+00100000010000000100011101100011
+11101000011000010000000000000000
+01100000000000001000000011110011
+00100000010000000100011101110110
+01110000010000100111001000000011
+00100000001000000100100100110011
+11101000011000010000000000000000
+11101000011000001000000000000000
+01100000000000001000010001001001
+01110000010000100111001000010101
+00100000001000000100100100110011
+01101000000000001000000001000110
+00011000000000000010001000000010
+00100000001110100100100100111101
+00100000010000000100011101100110
+01110000010000100111001000000100
+00100000001000000100100100110011
+01101000000000001000000001000110
+00011000000000000010001000000010
+00100000001110100100100100111101
+00100000010000000100011101100110
+01110000010000100111001000010100
+00100000001000000100100100110011
+00100000010000000100011101101110
+00011000000000000000111000011100
+00011000000000000111001000000101
+00100000001000000100100101010010
+00100000010000000100011101100110
+00011000011000001000011000001010
+11101000011000010000000000000000
+01100000000000010000001010000001
+11101000011000001000000000000000
+01100000000000001000001010000011
+11101000011000010000000000000000
+01100000000000010000001010000100
+01110000000000001010101100000010
+01110000010000100111001000010000
+00100000001000000100100100110011
+01110000010000100111001000011100
+00100000001000000100100100110011
+00100000010000000100100101101110
+11011000110000000100011100000011
+00011000110001100111001011111111
+00100000010000000100100101110110
+00011000000000000111111000000000
+00011000110001100111001100000011
+00011111001000001111001011111000
+00100000010000000100100110000010
+00011000000000000111001011111100
+00100000001000000100100101001100
+11011000101000000100011100000011
+00011000101001100111001011111111
+11101000011000001000000000000000
+11100000101000001000000000000000
+00100000001110100100011011001000
+11000010000000000100011011000100
+00011000101001100111111100000011
+00011111111001100111111000000000
+01100000000000001100011100000010
+00100000001000000100100101001001
+00100000010000000100100101101110
+00100000010000000100100101101011
+00011000000000000111111000000000
+01111101001101001111111000000000
+11100001010000001000000000000000
+00011000000000000111001000000111
+11011110000000000000100000001001
+00100000010000000100100101001100
+00100000001000000100100110111100
+01110000010000100111001000010111
+00100000011000000000000000000000
+00100000010000000100011101101001
+00011000000000000111001000000110
+00100000001000000100100101001100
+00100000001000000100100101001001
+11101000011000010000000000000000
+01100000000000010100000101011001
+00100000001000000100100101001001
+11101000011000001000000000000000
+01100000000000001100000100110011
+00100000001000000100100101001001
+11101000011000010000000000000000
+01100000000000010100000101010011
+11101000011000010000000000000000
+01100000000000010100000101010001
+00100000001000000100100101001001
+11101000011000010000000000000000
+01100000000000010100000101001111
+11101000011000010000000000000000
+01100000000000010100000101001101
+00100000001000000100100101001001
+00100000001000000100100101001001
+11101000011000001000000000000000
+01100000000000001000010001010011
+00100000001000000100100101001001
+11101000011000011000000000000000
+01100000000000011100000101001010
+00100000001000000100100101001001
+00011000010000100111111000000000
+00100000001110100100100101001001
+00100000010000000100100101110000
+00011000000000000111111000000001
+11100001010000001000000000000000
+00011110000000100111111000000000
+11100001010000010000000000000000
+00011000000000000111111000010010
+11100001010000001000000000000000
+01011000000000000000000000000000
+00011111001000001111001011110001
+00100000010000000100100110000010
+00011000000000000000111000001110
+00011000000000000111001011110101
+00100000001000000100100101010010
+11101000011000001000000000000000
+00100100010110100110000000000011
+00100000010110100110000000001001
+00100000001000000100100101001001
+00100000010000000100100101101110
+01101000000000001100000100110011
+11100001010000001000000000000000
+00011000000000000111001000000101
+00100000001000000100100101001100
+00100000010000000100100101101110
+01101000000001000000000010000000
+11100001010001000000000000000000
+00011000000000000111001000001100
+00100000001000000100100101001100
+00100000010000000100100101101110
+01101000000001000100000100111000
+11100001010001000000000000000000
+00011000000000000111001000001100
+00100000001000000100100101001100
+00100000010000000100100101101110
+01011000000000000000000100000001
+11100001010000010000000000000000
+01011000000000000000000000000001
+11100001010001000000000000000000
+00011000000000000111001000001110
+00100000001000000100100101001100
+00100000010000000100100101101110
+01101000000000111000000010000011
+11100001010000111000000000000000
+00011000000000000111001000001011
+00100000001000000100100101001100
+00100000010000000100100101101110
+01101000000000110100000101000000
+11100001010000110000000000000000
+00011000000000000111001000001010
+00100000001000000100100101001100
+00100000001000000100100101001001
+00100000001000000100100101001001
+00100000010000000100100101101110
+00100000010000000100100101101011
+01011000000000000000000011111111
+11100001010000001000000000000000
+00011000000000000111001000000111
+00100000001000000100100101001100
+00100000010000000100100101101110
+00100000010000000100100101101011
+01011000000000000000000000000000
+11100001010000001000000000000000
+00011000000000000111001000000111
+00100000001000000100100101001100
+01111001001111111000000000100101
+01000100111011110100000000011011
+00100000001000000100100101001001
+01111001001111111000000000100101
+01000100111011111100000000011011
+00100000001000000100100101001001
+00100000010000000100011101100011
+01110000010000100111001000000111
+11101000011000001000000000000000
+11000000000000001100100100110011
+01110000010000100111001000011001
+00100000001000000100100100110011
+00100000001000000100011100111001
+00100000010000000100011101100011
+01110000010000100111001000001000
+00100000001000000100100101001001
+00100000010000000100100100110011
+00100000010000000100100101110000
+01011000000000000000000000000000
+11100001010000001000000000000000
+11101000011000100000000000000000
+11100001010000100000000000000000
+00011000000000000111001000001000
+11011000111000000000000000011101
+11011111001000000000000000000101
+00100000001000000100100101010010
+00011000000000000010001000000001
+00100000001000000100100100111101
+00100000010000000100011101100110
+11101000011000010000000000000000
+01100000000000010100001010000000
+11101000011000010000000000000000
+01100000000000010000001001111011
+11101000011000010000000000000000
+01100000000000010100001010000010
+11101000011000010000000000000000
+01100000000000010100001010000100
+01110000010000100111001000010010
+00100000001000000100100100110011
+00100000010000000100011101100110
+00100000010000000100011101011101
+00100000001000000100100100110011
+01110000010000100111001000010011
+00100000011000000000000000000000
+00100000001000000100100101001001
+00100000010000000100011101100011
+01110000010000100111001000011000
+00100000001000000100100100110011
+11101000011000110000000000000000
+01100000000000110100001001110100
+00100000011000000000000000000000
+11101000011000010000000000000000
+01100000000000001100001001110011
+00100000011000000000000000000000
+00100000010000000100011101100110
+00100000010000000100100101101110
+01101000000000001100001001110011
+11100001010000010000000000000000
+00100000011000000000000000000000
+00100000010000000100011101100110
+00100000010000000100100100110011
+00100000010000000100100101110000
+00011000000000000111111000000000
+11100001010000001000000000000000
+01101000000000001100001001110011
+11100001010000010000000000000000
+00100000011000000000000000000000
+11101000011000010000000000000000
+10011100010000001111111000000000
+00011111111000010111111111111100
+01100000000000100000000011110100
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111100000100000000011100
+01101000000000001000001001110100
+00011111111001100111110000000010
+00100100011000010000000000000000
+01101000000010110000000110000010
+00100000010000000011001011111100
+00100000011000101000000000000000
+00100000010000000100100101110010
+01011000000000010000111100100010
+11100001010000011000000000000000
+01101000000000110000000110000010
+11100001010000110000000000000000
+01101000000000001000000101111101
+00011111111000100000010000000000
+00011111111010010111111000000000
+00011111111010010111111000000000
+11100001010000001000000000000000
+00011000010000100111111000000000
+00011111111000010111111000110000
+00011111111010010111111000000000
+00011111111000110111111000000000
+11100001010000001000000000000000
+01101000000000011000000101111111
+11100001010000011000000000000000
+01101000000000100000000101101111
+10011100010001100111111000000000
+11100001010000010000000000000000
+01011000000000000000000011001000
+11100001010000001000000000000000
+00011000000000000111001000001111
+00100000001000000100100101011001
+01111001001111111000000000100101
+01000100111100001100000000011100
+00011000000000000000010000011100
+01101000000000010000001010010001
+10011000010001100111110000000000
+00100100011000010000000000000000
+01101000000010011000001010000110
+01101000000000011000000110000101
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000011110100000000000000000
+01100000000000011000001010000110
+01101000000000001000001001110100
+00011111111001100111110000000010
+00100100011000010000000000000000
+01101000000010110000000110000010
+00100000010000000011001011111100
+00100000011000101000000000000000
+00100000010000000100011111001100
+00011000000000000000010000001111
+01101000000000001000010011011111
+11000000100001001100011111000101
+01101000000000001000010011011110
+00100000001110100100011111000101
+10011000000000000111001000000000
+11100001010000001000000000000000
+10011000010000001000010000000000
+00011000010000001000010000000001
+11011000110000000000010011011111
+11101000110000001000000000000000
+11100001010000001000000000000000
+11000010000000000100011110111000
+11101000110000001000000000000000
+00100000001110100100011111000101
+10011000000000000111001000000000
+11100001010000001000000000000000
+10011000010000001000010000000000
+00011000010000001000010000000001
+11101000110000001000000000000000
+11100001010000001000000000000000
+11000010000000000100011111000001
+00100000001000000100011110111011
+00011000010001100111111011111111
+10011000000000000111001000000000
+01011000000000000000000000000000
+11100001010000001000000000000000
+11000010000000000100011111000111
+00011000000000000111001011111111
+00100000001000000100100101011001
+01111001001111111000000000100101
+01000100111100010100000000011100
+00100000010000000100100101110010
+01011000000000011111111100101111
+11100001010000011000000000000000
+01101000000000110000000110000010
+11100001010000110000000000000000
+01101000000000001000000101111101
+00011111111000100000010000000000
+00011111111010010111111000000000
+00011111111010010111111000000000
+11100001010000001000000000000000
+00011000010000100111111000000000
+00011111111000010111111000110000
+00011111111010010111111000000000
+00011111111000110111111000000000
+11100001010000001000000000000000
+01101000000000011000000101111111
+11100001010000011000000000000000
+01101000000000100000000101101111
+10011100010001100111111000000000
+11100001010000010000000000000000
+01011000000000000000000011001000
+11100001010000001000000000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111100011100000000011100
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101101000
+11100001010011000000000000000000
+00011000000000000111001000001011
+00011000000000000000111000001011
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111100100100000000011100
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+01101000000000110000000001000000
+11100001010000110000000000000000
+11100001010011000000000000000000
+00011000000000000111001000001110
+00011000000000000000111000111101
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111100101100000000011100
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101101000
+01101000000000001000010001001001
+11100001010000001000000000000000
+01011000000000000000000000000001
+11100001010000001000000000000000
+11100001010011000000000000000000
+00011000000000000111001000001101
+00011000000000000000111000100011
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111100110100000000011100
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101101000
+11100001010010101000000000000000
+00011000000000000111001000001000
+00011000000000000000111000001100
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111100111100000000011100
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+01101000000000110000000001000000
+11100001010000110000000000000000
+01101000000000011000011111101001
+11100001010000011000000000000000
+00011000000000000111001000001001
+00011000000000000000111000110010
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111101000100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+01101000000000110000000001000000
+11100001010000110000000000000000
+00011000000000000111001000000110
+00011000000000000000111000110001
+00100000001000000100100101010010
+00011000000000000000010000000000
+01111001001111111000000000100101
+01000100111101001100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000000011
+01110000010010000000000000000101
+00100000010000000100100101110000
+11100001010010001000000000000000
+00100000010000000100100101101011
+00100000010000000100100101100101
+00011000000000000111111000000001
+11100001010000001000000000000000
+00011000000000000111111000000000
+01101000000010001000000001001100
+00101000010011111111111000000010
+01111001001000001111111000000000
+11100001010000001000000000000000
+00011000000000000111001000001011
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111101010100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000000100
+00100000010000000100100101110000
+00100000010000000100100101100101
+01101000000000011000000101111111
+11100001010000011000000000000000
+11100001010010001000000000000000
+00011000000000000111001000001010
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111101011100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101101000
+00011000000000000111111000000000
+01101000000010001000000001001100
+00101000010011111111111000000010
+01111001001000001111111000000000
+11100001010000001000000000000000
+00011000000000000000111000001000
+00011000000000000111001000000100
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111101100100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000011000
+00100000010000000100100101110000
+00100000010000000100100101100101
+11011000110000000100001001100010
+00011000000000000111001000010000
+00100000010000000100100101110110
+00011000000000000111111000000101
+11100001010000001000000000000000
+00011000000000000111001000010111
+00100000001000000100100101010010
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000110011
+00100000010000000100100101110000
+00100000010000000100100101100101
+01101000000000100000011111101100
+11100001010000100000000000000000
+00011000000000000111001000001010
+00100000001000000100100101010010
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000110110
+00100000010000000100100101110000
+01011000000000000000000000000000
+11100001010000001000000000000000
+00100000010000000100100101100101
+00011000000000000111001000000111
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111101101100000000011101
+00011000000000000000111000010111
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+00100000010000000100100101100101
+00011000000000000111001000000110
+00100000001000000100100101010010
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000010110
+00100000001000000100100001110101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000010010
+00100000010000000100100101110000
+00011000000000000111111000000000
+11100001010000001000000000000000
+00100000010000000100100101100101
+11100001010010001000000000000000
+00011000000000000111001000001000
+00100000001000000100100101010010
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000010000000000
+00100100001101001100100010001110
+00011000000000000000010000000001
+01101000000000001100000100110010
+11000001100000001000000000000000
+00011000000000000000111000010010
+00100000010000000100100101110000
+00011000000000000111111000110101
+11100001010000001000000000000000
+00100000010000000100100101100101
+11100001010010001000000000000000
+00011000000000000111001000001000
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111101110100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110010
+01011000000000001111111100000111
+11100001010000010000000000000000
+00011000111000100111111000000000
+11100001010000001000000000000000
+00100000010000000100100101100101
+11011000110000000000000100000011
+00011000000000000111001011111000
+11101000110000001000000000000000
+11100001010000001000000000000000
+11000010000000000100100010100100
+00011000000000000111001011111111
+00100000001000000100100101011001
+01111001001111111000000000100101
+01000100111101111100000000011101
+01101000000000001100000100110010
+11000001100000001000000000000000
+01101000000100001000000100001110
+00100100011110100000000000000000
+01101000000000001000000001001011
+11000100000000111000000000000000
+01111001001111111111111000000111
+01100000000000001000000001001011
+00100000010000000100100101110000
+00011000000000000111111000000001
+11100001010000001000000000000000
+00100000010000000100100101101011
+00011000000000000111111000000001
+11100001010000010000000000000000
+00011000000000000000111000010011
+00011000000000000111001000000101
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110000100000000011110
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101101000
+00011000000000000000111000000110
+00011000000000000111001000000011
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110001100000000011110
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+00011000000000000111111000000000
+11100001010000001000000000000000
+11100001010010010000000000000000
+01101000000000001000001011000000
+11100001010000001000000000000000
+00011000000000000000111000000101
+00011000000000000111001000000100
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110010100000000011110
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+01011000000000000000000100000010
+11100001010000010000000000000000
+01101000000010001000001101000000
+00011000010000010111111000001111
+11100001010000001000000000000000
+00011010001000100111111000000000
+11100001010000001000000000000000
+01101000000010001000001101000001
+00011000010000001000010111111010
+01101000000000110000001101000010
+11100001010000110000000000000000
+11100001010010001000000000000000
+00011000010000100111001000000000
+00100000010000000100100101110110
+01011000000000000000000001111111
+11100001010000001000000000000000
+00011000010000100111001000000000
+00011111001000001111001000001100
+00011000000000000000111000111110
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110011100000000011110
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+01011000000000000000000000000001
+11100001010000001000000000000000
+11100001010010001000000000000000
+01101000000000001000001111010110
+11100001010000010000000000000000
+01101000000000001000001111000001
+00011111111000110111111000000000
+01111001010000000111111000000000
+11100001010000001000000000000000
+01101000000000001100010011100110
+11100001010000001000000000000000
+01101000000000110000001111010000
+11100001010000110000000000000000
+01101000000000010100001111010000
+11100001010000010000000000000000
+01101000000000010000001111101101
+11100001010000010000000000000000
+01101000000000010000001111101111
+11100001010000010000000000000000
+01101000000000001000001111111000
+11100001010000001000000000000000
+00011000000000000000111000111110
+11011111001000000000000000010011
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110100100000000011110
+01101000000000001100000100110010
+11000001100000001000000000000000
+00100000010000000100100101110000
+00100000010000000100100101101000
+11100001010010001000000000000000
+01101000000000010000000000110010
+00011111111000110111111000000000
+11100001010000010000000000000000
+00011000000000000111001000000110
+00011000000000000000111000010100
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110101100000000011110
+01101000000000001100000100110010
+11000001100000001000000000000000
+01111001001111111000000000100101
+01000100111110110100000000011110
+00100000010000000100100101110000
+11100001010010001000000000000000
+01011000000000000000111000000000
+11100001010000010000000000000000
+00100000010000000100100101100101
+00011000000000000111111000000000
+11000101000000111100100100100100
+00011000000000000111111000000000
+11100001010000111000000000000000
+00100000001000000100100100101100
+01101000000000001100000100110010
+11000001100000001000000000000000
+01011000000000100000011000000010
+11100001010000011000000000000000
+01011000000000000000000000011110
+11100001010000010000000000000000
+01011000000000000000000000011110
+11100001010000010000000000000000
+01101000000000001100000100110010
+11000001100000001000000000000000
+01101000000000001000000010101011
+11100001010000001000000000000000
+00011000000000000000111000101100
+00011000000000000111001000010001
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111110111100000000011110
+00100000010000000100100101110000
+01011000000000000000000100000000
+11100001010000010000000000000000
+00011110000000100111111000000000
+11100001010000010000000000000000
+00011000000000000111001000000100
+00011000000000000000111000001111
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111111000100000000011111
+00100000010000000100100101110000
+00011010001000100111111000000000
+11100001010000001000000000000000
+01011000000000000000000000000001
+11100001010000001000000000000000
+00011110000000100111111000000000
+11100001010000010000000000000000
+00011000000000000111001000000100
+00011000000000000000111000001111
+00100000001000000100100101010010
+01111001001111111000000000100101
+01000100111111001100000000011111
+00011000000000000111001000000100
+00100000010000000100100101110000
+00011000000000000111111000000001
+11100001010000001000000000000000
+00011110000000100111111000000000
+11100001010000011000000000000000
+00011000000000000000111000001110
+01111001001111111000000000100101
+01000100111111010100000000011111
+00100000010000000100100101110010
+00011000111000100111111000000000
+11100001010000001000000000000000
+00011111001000100111111000000000
+11100001010000001000000000000000
+01111001001000000000000000010011
+00011000000000000000111000000101
+00011111001000001111001000000010
+00100000010000000100010010010100
+00100000001000001100001101111000
+00100000001000000100010000100010
+00011000000000000000111011111111
+00100000010000000100100101110000
+01011000000000000000000000000001
+11100001010000001000000000000000
+00011000000000000111001000000001
+00100000001000000100100101010010
+01101000000000110000000001000000
+11100001010000110000000000000000
+00100000011000000000000000000000
+00100000010000000100100101110000
+00011000000000000111111000000000
+11100001010000001000000000000000
+01101000000000001000000001000110
+11100001010000010000000000000000
+00100000011000000000000000000000
+00011000000000000001010000001100
+00100000001000000100100101110011
+00011000000000000001010000001000
+00100000001000000100100101110011
+00011000000000000001010000000110
+00100000010000000100010010010100
+00100000001000001100001111011110
+00100000001000000100010000011110
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000110000001000000000000000
+11100001010000001000000000000000
+11000010000000000100100101111000
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000011000001000000000000000
+11100000101000001000000000000000
+11000010000000000100100101111110
+00100000011000000000000000000000
+11100001010000001000000000000000
+00011111111011001111111000000000
+11000010000000000100100110000010
+00100000011000000000000000000000
+01111000001001111111110000000000
+01111000001001001111110000000000
+11101001010000001000000000000000
+00001000000000001000000000001000
+11000010000000000100100110001000
+01111000001001000111110000000000
+00001000000000001000000000010000
+01111000010001000111110000000000
+01111000010001001111110000000000
+01111000010001111111110000000000
+00011111111100001111111000000000
+00100000011000000000000000000000
+00100000000000000000000000000001
+01110000100000100000001100000001
+00100000001000000100100110010010
+01111001001111111000000000100101
+01000100111111011100000000011111
+01101000000000001100001001110010
+00100000011110100000000000000000
+01101000000000001000000001111100
+00100100011110100000000000000000
+00100000010000000100100110111110
+00100100001000101100100110101010
+01101000000000001100001001110010
+11000000000000011100100111010100
+11000000000001001100100111011010
+11000000000001010100100111100110
+11000000000001011100100111101101
+11000000000001100100100111110111
+11000000000001000100101000110010
+11000000000011000100100111001100
+11000000000000111100100111000110
+11000000000011001100100111001010
+11000000000011010100101001010011
+11000000000010010100101000011001
+11000000000010011100101000101000
+01111001001111111000000000100101
+01000100111111100100000000011111
+00100000010000000100100111000010
+00100100011110100000000000000000
+01101000000000001100001001110010
+11000000000001101100101000000001
+11000000000001111100101000001011
+11000000000001110100101000001101
+11000000000010000100101000101010
+11000000000010001100101000110100
+11000000000011100100101000111000
+11000000000000100100101000001111
+11000000000010101100101000010100
+11000000000010100100101000010111
+11000000000010111100101001001000
+11000000000010110100101001010001
+11000001100000110000000000000000
+00100000010000000101111011010101
+01110000010000100111001000000000
+00100000011000000000000000000000
+01101000000000110100001001110100
+01101000000010110000000001000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01101000000000001100001001110011
+01101000000010001000000001000110
+10011000010001100111111000000000
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100110011
+00100000010000000110001000010010
+00100000001000000100100110111100
+00100000001101001100101000111000
+01111001001000000000000000000100
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100100001101001100100110111100
+01110000000000000111110000010011
+01101000000000001000000101110111
+01111001001111111111111000000010
+01100000000000001000000101110111
+00100000001000000100100110111100
+01110000000000000111110000000001
+01110000000000000101001100000000
+00100000001000000100100110111100
+01110000000001111101110100000001
+01110000000001111101101100010010
+00100000001000000100100110111100
+01101000000000001000000001001011
+11000010100000010100100111011111
+00100000010000000110001000001001
+01110000000000000111110000001000
+00100000001000000100100110111100
+01111001001111111111111000000010
+01100000000000001000000001001011
+00100000010000000101111011010000
+01011000000000000000000000000000
+01111001001101001111111000000001
+01100000000000001000000001111111
+00100000001000000100100110111100
+01110000000001000100011000011000
+01110000000000000111110000000111
+01101000000000001000000000110000
+11000010100000000100100110111100
+00011000000000000000010000011000
+00100000010000000100100000100110
+00100000001000000100100110111100
+00100000010000000011001000011111
+01101000000000001000000001001011
+11000010100000001100101000001000
+11000010100000000100100111110011
+11000010100000010100100111011111
+00100000001000000100100110111100
+01111001001111111111111000000000
+01100000000000001000000001001011
+01110000000000000111110000001100
+00100000001000000100100110111100
+01101000000000001000000001001011
+11000010100000000100100111111011
+00100000010000000100100001111011
+00100000001000000100100110111100
+01111001001111111111111000000000
+01100000000000001000000001001011
+01110000000000000111110000000100
+01110000000000000111110100001011
+01110000000000000111111000000110
+00100000001000000100100110111100
+01101000000000001000000001001011
+01111001001000000111111000000001
+01100000000000001000000001001011
+01101000000000001000000000110000
+11000010100000111100101000001000
+00100000010000000100100001110010
+00100000001000000100100110111100
+00100000010000000110001000001001
+01110000000000000111110000001011
+00100000001000000100100110111100
+01110000000000000111110000001111
+00100000001000000100100110111100
+01110000000000000111110000001111
+00100000001000000100100110111100
+01111001001111111000000000100101
+01000100111111101100000000011111
+01110000000000000111110000100111
+01110000010000100111001001010000
+00100000011000000000000000000000
+01110000000000000111110010000011
+01110000010000100111001001010001
+00100000011000000000000000000000
+01110000000000000111110000100101
+00100000001000000100100110111100
+01110000000000000111110000010111
+11011000101000000000010001010101
+01011000000000000000000000000000
+00101101000011111111111000011011
+01111001001000001111111000000001
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01101000000000010100001010000000
+11100000101000010000000000000000
+01101000000000001100001010000010
+11100000101000010000000000000000
+01101000000000001100001010000100
+11100000101000010000000000000000
+00100000001000000100100110111100
+01110000000000000111110000011000
+00100000001000000100100110111100
+00100000010000000011010100010010
+01100000000000001000000010101101
+01101000000000001000000001000110
+01100000000000001000000010101100
+01110000000000000111110000101011
+01111001001000000000000000000111
+01110000000000000111110010001100
+00100000001000000100100110111100
+00100000010000000101111011010101
+00100000001000000100100110111100
+01110000000000000111110000101100
+11000101100000111100100110111100
+01110000000000000111110010001101
+00100000001000000100100110111100
+00100000001101001100101001000001
+01110000000000000111110000000011
+01110000000000000111110100101011
+11000101100000111100100110111100
+01101000000000001000000010110000
+11000000100000111101110000000100
+01110000000000000111110010000001
+01110000000000000111110110001100
+00100000001000000100100110111100
+00100000010000000011010100010010
+01100000000000001000000010101101
+01101000000000001000000001000110
+01100000000000001000000010101100
+01110000000000000111110000101011
+11000101100000111100100110111100
+00100000001000000101110000000100
+00100000010000000100100101101110
+00100000010000000100100101101011
+00011000000000000111111000000000
+01111101001101001111111000000000
+11100001010000001000000000000000
+00011000000000000111001000000111
+11011110000000000000100000001001
+00100000010000000100100101001100
+00100000001000000100100110111100
+01110000000000000111110010011010
+00100000001000000100100110111100
+01110000000000000111110000000111
+01110000000001000100011000010011
+00100000001000000100100110111100
+01110000000000101011110000000000
+11101000011000001000000000000000
+01100000000000001000001010111011
+00100000010000000100101001101101
+00100000010000000111111000000000
+01101000000000001000001010111011
+00011111111000100000010000000000
+01101000000000001000001010011111
+00011111111000001111111000000001
+10101000010000011111111000000000
+00100100001000001100101001110111
+01100000000000001000001010011111
+00100000010000000111111000001110
+11101000011000001000000000000000
+11000000000000001100101011011000
+11000000000000010100101010101110
+11000000000000011100101011011111
+11000000000000101100101011000011
+11000000000000110100101010000000
+11000000000000111100101010010001
+11000000000001000100101010101000
+11000000000001001100101011100110
+00100000011000000000000000000000
+00011111111000100000010000000000
+00100000010000000111111000000000
+01101000000000001000001010111100
+10011000010000001111111000000000
+01100000000000001000001010111100
+00100000001000000111111000001110
+00011000000000000111111000000001
+00100000010000000100010010110101
+01101000000000001000001010011111
+00100000001000000100010010110101
+00100000010000000111111000001110
+00100000001000000100101001111100
+01101000000000001000001010011111
+00011111111000001111111111111111
+01100000000000001000001010011111
+00011000000000000111111000000000
+00100000010000000100010010110101
+01101000000000001000001010011111
+00100000001000000100010010110101
+00100000010000000100101001101101
+11101000011000001000000000000000
+01100000000000001000001010111101
+00100000010000000100101001101101
+11101000011000001000000000000000
+00011111111011010000101000000000
+00100000010000000100101001101101
+01101000000000001000001010111101
+10011000101000001000101000000000
+11101000011000001000000000000000
+11100000101000001000000000000000
+00100000010000000100101001101101
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+00100000001000000100101001110011
+00100000010000000100101001101101
+11101000011000001000000000000000
+01100000000000001000001010111101
+00100000010000000100101001101101
+11101000011000001000000000000000
+01100000000000001000001010111110
+00100000010000000100101001101101
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+01101000000000001000001010111110
+00011111111011010000010000000000
+01101000000000001000001010111101
+10011000010000001000011000000000
+11101000011000001000000000000000
+01100000000000001000001010111101
+00011000000000000111111000000001
+00100000010000000100010010110101
+01101000000000001000001010111101
+00100000010000000100010010110101
+01110000000000101001111111111111
+00100000011000000000000000000000
+00100000010000000100101001101101
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+00100000001000000100101001110011
+00100000010000000100101001101101
+11101000011000001000000000000000
+01100000000100001000000000100100
+00100000010000000100101001101101
+11101000011000001000000000000000
+01111001001000000111111000000111
+01100000000100001000000000100011
+01111001001111111111111000000111
+00100000010000000100101001101101
+11101000011000001000000000000000
+00011111111000100111001000000000
+00100000010000000100101001101101
+11101000011000001000000000000000
+01100000000100001000000000100101
+00100000010000000100101001101101
+11000010000000000100101010111010
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+00100000001000000100101001110011
+00100000010000000100101001101101
+11101000011000001000000000000000
+01100000000000001000001010111101
+00100000010000000100101001101101
+11101000011000001000000000000000
+00011111111011010000101000000000
+00100000010000000100101001101101
+01101000000000001000001010111101
+10011000101000001000101000000000
+11101000011000001000000000000000
+10011000000000000111001000000000
+00100000010000000100101001101101
+11101000011000001000000000000000
+11100000101000001000000000000000
+00100000010000000100101001101101
+11000010000000000100101011001111
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+00100000001000000100101001110011
+00100000010000000100101001101101
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+01110000100000000010001110000000
+00100000001000000100101001110011
+00100000010000000100101001101101
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+01110000100000000010001100000000
+00100000001000000100101001110011
+00100000010000000100101001101101
+11101000011000001000000000000000
+00100000010000000100101001101101
+01101000000000001000001010111100
+11000000111111111100101001111001
+00100000010000000100101001110011
+00100000001000000011000000000001
+00100000010000000110101010001011
+00100000011000001000000000000000
+11011000010000000000000000000111
+00100000010000000110100111100101
+00100100001000001100101011110100
+01110000010000101010111000000001
+00100000011000000000000000000000
+01101000000000001100001010101110
+11000001100000001000000000000000
+00100000010000000100010110011001
+00100000001000000100100101011111
+01111001001000000000000000100101
+01000100110011100100000000110011
+01101000000000010000001011001011
+00011111111000100000110000000000
+11101000110000001000000000000000
+00011111111000010000010000001111
+00011111111100011111111000000000
+11000000000001001100101100011000
+11000000000000111100101100011000
+11000000000001010100101100100100
+11000000000000101100101100010001
+11000000000000001100101100000101
+00100000011000000000000000000000
+00011000010000100111111000000000
+11000000000000101100101100001001
+11000000000000011100101100010000
+00100000011000000000000000000000
+01110000000010110111110100100111
+00100000010000000111110000100111
+01101000000000001100000100110010
+11000001100000110000000000000000
+00011000010000100111111000000000
+11000000000000101110100101000110
+00100000011000000000000000000000
+00100000011000000000000000000000
+11011010001000000000000000000001
+00100000010000000100101100101100
+01101000000000010100001010110101
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+11011010001000000000000000000001
+00100000010000000100101100101100
+01101000000000010100001010110101
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01110000000010001010100000000001
+01101000000000001100001010111011
+01111001001000000111111000000110
+01100000000000001100001010111011
+01110000000010110111110100010010
+00100000001000000111110000100111
+11101000110000001000000000000000
+11000000000000001100101100100111
+00100000011000000000000000000000
+00011000110000100010001000000000
+01101000000000001100000100110010
+11000001100000011000000000000000
+00011010001000100000110000000000
+00100000001000000100110001001010
+00100000010000000101001001001000
+00011010001000100000010000000000
+01100000000010001000100010101000
+00011111111000100000101000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01011000000000000100101101011011
+01100000000000010100001010001100
+01011000000000000100101101000100
+01100000000000010100001010010110
+00100000010000000110100100011101
+00100000010000000101001101000111
+01110000100000001010001010011110
+01110000100000001000000100001000
+01110000100000000111010100000101
+01011111111111111111111111111111
+01111001001111111111111000000001
+01111001001111111111111000010101
+01100000000100100000000001110000
+01110000100000000111100000000010
+00100000011101011000000000000000
+01110000010000111101100000000001
+00100000011000000000000000000000
+11101010001000001000000000000000
+01100000000000001100100000000011
+11000000000000011100101101001111
+11000000000000100100101101010001
+11000000000000101100101101010011
+11000000000010100100101101100100
+11000000000010101100101101100111
+11000001100000010000000000000000
+11101000110000001000000000000000
+01100000000000001100100000000100
+00100000011000000000000000000000
+11011000101000000100100000000111
+00100000001000000100101101010101
+11011000101000000100100000100101
+00100000001000000100101101010101
+01101000000000010100100000000000
+10011000000000000000101000000000
+11011111001000000000000000010011
+00100000010000000111111001000101
+00011000101000100111111000000000
+01100000000000010100100000000000
+01110000010010000000001100000000
+00100000011000000000000000000000
+01101000000000001100100000000011
+11000000000000001100101101110001
+11000000000000010100101110001101
+11000000000001010100101101111010
+11000000000001011100101101111010
+11000000000001100100101101111010
+11000000000001000100101110001101
+11000000000001001100101101101010
+00100000011000000000000000000000
+01110000010000100001001100000000
+01110000010010000000001100000000
+00100000011000000000000000000000
+01110000010000100001001100011110
+01110000010010000000001100000000
+00100000011000000000000000000000
+01110000010010000000001100000000
+11011011011011111111111111111111
+00100000010000000100101110010001
+00100000011000000000000000000000
+01101000000010010000001111000010
+10011000010000001111111000000000
+01100000000000100000001111000100
+01101000000000100000001111000100
+10011101000001100111111000000000
+00100100001000010100101101101110
+00011111111000110011011000000000
+00100000010000000100101110010001
+00100000011110100000000000000000
+01110000010010000000001100001100
+11011000010000000001100000000000
+01100000000010010100100000000000
+00100000010000000101011000011100
+00100100011110100000000000000000
+01110000010001001100001000010100
+01110000000010110111110100011011
+00100000010000000101011000100000
+01101000000000010000010000011001
+10011000000000000000101000000000
+01101000000000010100100000000000
+10011000000000000000110000000000
+11011111001000000000000000010100
+00100000010000000111111001000101
+00011000110000100111111000000000
+01100000000000010100100000000000
+01101000000000010100100000000101
+00011111111000001111111111101100
+01100000000000010100100000000101
+00100000011000010000000000000000
+01110000010010000000001100000000
+00100000011000000000000000000000
+01101000000000001100100000000100
+00100000010000000100101111100010
+01110000010010000000001100000000
+00100000011000000000000000000000
+00100000010000000100101110010111
+01011000000000000001100000000000
+10011000101001100111111000000000
+00011111111001100111111000000000
+01100000000000010100100000000101
+00100000011000000000000000000000
+01111000010010000111110000000000
+11011000101000000001100000000000
+00100000011000011000000000000000
+01101000000100001000000100011110
+11000011000000101100101110011001
+00011011001000100000010000000000
+11011111001000000000000010000000
+00100000010000000111111000111011
+11011000101000000001100000000000
+11011010011000000000000000000000
+11011011011000000000000010110100
+00100000011000011000000000000000
+01101000000100001000000100011110
+10011010011000101111111000000000
+11000010100000101100101110100010
+00011011001000100111111000000000
+10011000000000000110000000000000
+00100000010000000111111001111000
+00011111111001100111110011111111
+00100000001000010100101110100010
+00101010011011000000000000000101
+01111001001000001111111000010111
+11100000101000011000000000000000
+00011000101011001111111000000000
+11000001000011100000000000000000
+00011110000000100000010000000000
+00011010011000101010011000100000
+00100000001000000100101110100001
+00100000001101000100101111000111
+00100000001101100100101111001010
+11011000010000000100100000100110
+01101000000000001100100000100101
+10011000010000001111111000000000
+10011010001001100111110000000000
+00100000001000101100101111011010
+11101010001000001000000000000000
+00011000110000100010001000000000
+11000011000000111100101111000001
+01111000001101100111110000000000
+00011111111000010010010001111111
+00011010001010011010001000000000
+00100000001000000100101111001010
+00011111111100011001000000000000
+00011111111000010111111000001111
+10011001000001100111110000000000
+00100000011000101000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+00011001000000100111111000000000
+01111000010101000111110000000000
+00100000011000000000000000000000
+00011010010000100111111000000000
+00100000001110100100101111010110
+00011010001000010000111000000111
+00011010001010010000110000000000
+11101000110000001000000000000000
+00011010001000001010001000000001
+00011010010000001010010111111111
+10101111111011000000000000000000
+01101000000000001100100000000111
+00100000001000001100101111000001
+01101000000000001100100000001000
+00100000001000000100101111000001
+01111000010101100111110000000000
+00011010001000001010001000000111
+00011010001010010010001000000000
+00100000001000000100101110110101
+01011000000000000000000011111111
+00100000011000000000000000000000
+00011111111000111000110000000000
+10011000110000001111111000000000
+11011000110000000100100000001001
+10011000110000001000110000000000
+11101000110000011000000000000000
+00100000011000000000000000000000
+01111000001010000111110000000000
+10011000000000000111001000000000
+01111000010101000111110000000000
+01111000010101100111110000000000
+11011010001000000100100000100110
+00100000010000000100101110110011
+11000000011111111100101111110001
+00100000010000000100101111011100
+11000011000010111100101111101101
+01111001001111111111111000010111
+01110000100000001010000010011110
+10011000000000000011011000000000
+00110111110000011000001000000000
+01110000100000001010000000000000
+00100000001000000100101111100111
+11000010000000000100101111100100
+00100000011000000000000000000000
+00100000010000000100110000100001
+01011000000000000100110100100001
+01100000000000010100001010010000
+01011000000000000100110001011001
+01100000000000010100001010001110
+01011000000000000100110100110111
+01100000000000010100001010010010
+01011000000000000100110101111110
+01100000000000010100001010001010
+01011000000000000100110101111011
+01100000000000010100001010010100
+01011000000000000100110101111110
+01100000000000010100001010001000
+01011000000000000100110100100010
+01100000000000010100001010000110
+00100000011101011000000000000000
+01101000000000010100011111110100
+11000010100001100011111101111001
+00100000010000000011111100100011
+00100000001110100100110101111001
+00100000010000000011111101111110
+00100000001000000011111101101110
+00100000010000000100110000100001
+01011000000000000100110100100001
+01100000000000010100001010010000
+01011000000000000100110001011001
+01100000000000010100001010001110
+01011000000000000100110100110111
+01100000000000010100001010010010
+01011000000000000100110101111110
+01100000000000010100001010001010
+01011000000000000100110101111011
+01100000000000010100001010010100
+01011000000000000100110101111110
+01100000000000010100001010001000
+01011000000000000100110100100010
+01100000000000010100001010000110
+00100000011101011000000000000000
+01110000000001111101110000000000
+01110000000001111101110100000000
+01101000000000010100011111110100
+11000010100001100011111101111001
+00100000010000000011111100100011
+00100000001110100100110101111001
+00100000010000000011111101111110
+00100000001000000011111101101110
+01111001001000000000000000100101
+01000100110110110100000000110110
+01101000000000001000000101000000
+00100000001110100011101111110001
+01110000100000000111000000000000
+01110000100000000111100011111111
+01110000100000000111000111111111
+01110000100000000111001011111111
+01101000000100001000000001110011
+00011111111000011111111000001111
+01100000000100001000000001110011
+01110000100000001000000000000000
+01110000100000001000000100000000
+01110000100000001000001111111111
+01110000100000001000010011111111
+01101000000100001000000010000101
+00011111111000011111111000000011
+01100000000100001000000010000101
+01110000100000000110111100000000
+01011000000000000000000000010011
+00011111111010011111111000000000
+00011111111000001111111000000111
+01100000000100001000000001100100
+01101000000100001000000001000011
+01111001001000000111111000000010
+01100000000100001000000001000011
+01101000000100001000000001010001
+01111001001111111111111000000001
+01100000000100001000000001010001
+01110000100000000110001100001101
+01110000100000000110011111010011
+01110000100000000110010100000000
+01110000100000000110011000110001
+00100000010000000011111000001011
+01101000000010001100100000001110
+00100000010000000110100111011010
+01101000000010001100100000001111
+00100000010000000110100111011010
+01101000000010001100100000010000
+00100000010000000110100111011010
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110110111100000000110110
+11101000110000001000000000000000
+00011111111000100010001000000000
+01101000000010001100100000001111
+00101010001011111111111000000000
+00100000010000000110100111110000
+01101000000010001100100000001110
+00101010001011111111111000000001
+00100000010000000110100111110000
+01101000000010001100100000010000
+00101010001011111111111000000010
+00100000010000000110100111110000
+01110000010010000000100100000001
+00100000011000000000000000000000
+00100000010000000100110010011001
+00100100011101000000000000000000
+00100100011101100000000000000000
+01101000000000001000010001010000
+11000000000000001100110001101001
+01101000000000001100001010111100
+11000001100111111000000000000000
+11011010001000000000000000001010
+00100000010000000100101100101100
+01101000000000010100001010110111
+11100000101000010000000000000000
+01011000000000000000000110100001
+11100000101000010000000000000000
+01101000000001000100100000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+01101000000010001000010101001111
+01011000000000000000010101010000
+10011000010000001000101000000000
+01101000000000001100100000000010
+00100000001110100100110001110010
+11000000000101010100110001110100
+11000000100101000100110001111110
+01100000000010001000010101001111
+00100000001000000011111101101010
+01100000000010001000010101001111
+00100000011000000000000000000000
+01101000000000001000010101001111
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000010101001111
+11011000101000000000010101010000
+10011000101000001000101000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01111000001101100111110000000000
+00100000001000000100110010001101
+00011111111001100111110000011101
+00100000011000010000000000000000
+11011000010000000000000000110000
+00011111111001100111110000100111
+00100100011000010000000000000000
+00100000001000101100110010000111
+11011000010000000000000000011101
+10011000010001100000010000000000
+00011000010000011000010000110000
+11100000101010001000000000000000
+01101000000000001000010101001111
+00011111111000001111111000000001
+01100000000000001000010101001111
+01111000010101100111110000000000
+00100000001000000100110010001101
+01101000000000010100001010110111
+00100000011110100000000000000000
+11011010001000000000000000000011
+00100000010000000100101100101100
+01101000000000010100001010110111
+11100000101000010000000000000000
+01011000000000001111111110100001
+11100000101000010000000000000000
+01011000000000000000000000000000
+01111001001101100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+01111000010101100111110000000000
+01101000000100001000000100011001
+11000011100000000000000000000000
+01101000000100001000000100011011
+11000010100000000100110010100011
+01101000000100001000000100011001
+11000011000000110100110010100011
+01101000000100001000000100011010
+00100000001000000100110010011001
+01111000001101000111110000000000
+01111000001101100111110000000000
+01101000000100001000000100011011
+00101111111011000000000000000000
+01101000000100001000000100011010
+11011000110000000100100000010001
+10011000110000001000110000000000
+11101000110000001000000000000000
+11000010100000111100110011100100
+00100100001000001100110011001100
+01111000010101100111110000000000
+10011000000000000000010000000000
+01101000000000001100100000001000
+00011111111001100111110000000100
+00100100011000010000000000000000
+00011111111000100010001000000000
+11011111001000000000000000000011
+11011000110000000100100000000010
+11101000110000001000000000000000
+10011000010001100111110000000000
+00100000001000101100110010011001
+11000010000000000100110010110101
+00011010001000100111111000000000
+11011000101000000100100000000010
+10011000101000001000101000000000
+11100000101010001000000000000000
+00011111111000001111111000000001
+01100000000000001100100000001000
+01101000000100001000000100011011
+00011111111010010111111000000000
+00100100001110100100110011000011
+00100000001000000100110011001010
+00011111111000001111111111111111
+00100000001000101100110011001010
+01101000000100001000000100011011
+00011111111000010111111000000001
+11000000000000000100110010011001
+11000000000000001100110011001010
+00100000011000000000000000000000
+01111000001101100111110000000000
+00100000011000000000000000000000
+00011111111000010000010011111111
+01101000000000001100100000001000
+00100000011110100000000000000000
+10011000000000000111001000000000
+11011000110000000100100000000010
+11101000110000001000000000000000
+10011000010001100111110000000000
+00100000001000101100110011010110
+11000010000000000100110011010001
+00100000011000000000000000000000
+00011000110000001000101111111111
+00100000010000000111111001000101
+01101000000000001100100000001000
+00011111111000001111111111111111
+01100000000000001100100000001000
+01101000000100001000000100011011
+00011111111010010111111000000000
+00100100001110100100110011011111
+00100000011000000000000000000000
+01101000000100001000000100011011
+00011111111000010111111000000001
+11000000000000000100110011001010
+11000000000000001100110010011001
+00100000011000000000000000000000
+00011111111000010000111000000111
+01101000000000001100100000000000
+11111001001000001111111000000000
+01100000000000001100100000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000001000100100000000000
+01100000000000001100100000001000
+00100000011000000000000000000000
+01101000000100001000000100011011
+01101000000100001000000100011010
+01101000000100001000000100011001
+11000011000000000100110011101101
+01011000000000000000000011111111
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000010010100010011000010
+00100000010000000101100001100110
+11000100000000000000000000000000
+01101000000000001100011011111000
+11000100000000000000000000000000
+00100000010000000101011000011100
+00100100011110100000000000000000
+00100000010000000100110010011001
+00100100011101000000000000000000
+00100100011101100000000000000000
+00100000010000000011111101011110
+01110000010000100001001100000010
+01101000000010010100010011000010
+00100000010000000101101010001000
+00011000110000001000101000000001
+01101000000001000100100000000000
+11100000101001000000000000000000
+01110000000010110111110100011011
+00100000010000000101011000100000
+01101000000000001000001111100100
+11000010100000011011101111110010
+00100000011000000000000000000000
+00011010011000100111111000000000
+11000000000010000100110100010101
+11000000000010100100110100010011
+11000000000101000100110100010001
+11000000000101001100110100010001
+11000000000101110011111101010111
+00100000011000000000000000000000
+00100000010000000011111110100100
+00100000001000000011111110010010
+00100000010000000100110011101101
+00100000001000000100110011101001
+00100000010000000101101100110000
+00100000010000000011111110010000
+00100000010000000011111110001000
+00100000001000000011111110010100
+01101000000000001100010000101110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100010000101110
+00100100011110100000000000000000
+01101000000000001100010011011011
+00100000011110100000000000000000
+00100000001000000011111110011000
+00100000001000000100110100101110
+01101000000100011000000100011100
+00011111111000100010010000000000
+01101000000100001000000100011111
+00011111111000010111111000001111
+00011111111100000111111000000000
+00011111111011010111111000000000
+10011010010000011111111000000000
+01101000000010100100100000001010
+10011000010001100111111000000000
+00100000011110100000000000000000
+11011010010000000000000010111011
+00100000001000000011111101011110
+01101000000000001100000100110011
+00100100011110100000000000000000
+01101000000000001100001001111111
+00100100011110100000000000000000
+01101000000000001100011111101010
+00100000011110100000000000000000
+01101000000000001100011111101011
+00100100011110100000000000000000
+00100000001000000011111110011010
+00011010011000100111111000000000
+11000000000000110100110110001011
+11000000000001010100110101111100
+11000000000000110100110110001111
+11000000000010000100110101101000
+11000000000101110011111101010111
+11000000000000001100110101110111
+11000000000000010100110101010001
+11000000000000100100110101001110
+11000000000010011100110101001110
+00011111111000010000010000001111
+00011111111000010111111011110000
+11000000001010000100110101000101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110111000100000000110111
+01100000000010001000001001011001
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000100110101100010
+00100000001000000100110101001000
+01101000000000010100011111110100
+11000010100001100100110101111001
+00100000001000000011111100010000
+01111001001000000000000000100101
+01000100110111001100000000110111
+00100000010000000100110101011001
+01101000000000010100001010100000
+11000010100000000011111100010010
+11000010100000001100110101011100
+11000010100000010100110101011111
+00100000001000000100110101111001
+01110000010000100101111000000000
+01110000010001001000101100000000
+00100000011000000000000000000000
+11000010100000101011111100010000
+11000010100000011011111100010000
+00100000001000000100110101111001
+01101000000000010100011111110100
+11000010100001100100110101111001
+00100000001000000011111100010000
+01101000000000001100011111110010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011111110010
+00100100011110100000000000000000
+00100000001000000100110110001111
+00100000010000000100110101101010
+00100000001000000100110101111001
+01111001001000000000000000100101
+01000100110111010100000000110111
+01101000000000010100011111110100
+00101111111011111111111000000111
+00100000010000001011111101110101
+01101000000000010100011111111110
+01100000000000010100011111110000
+01101000000000010100001010100010
+01111001001000000111111000000000
+01100000000000010100001010100010
+01101000000000010100011111110100
+11000010100000000011111101110111
+00100000011000000000000000000000
+00100000010000000011111101111110
+00100000001000000011111110011000
+00100000010000000011111101111100
+00100000001000000011111110010100
+00100000001000000011111110011010
+01110000000001010100111100000000
+00100000011000000000000000000000
+01110000100000001000001100000000
+01110000100000001000010000000000
+01101000000100001000000010000101
+00011111111000010111111011110000
+01100000000100001000000010000101
+01011000000000000000000000000000
+01100000000000100000000010100111
+01011000000000000000000011111111
+01101000000010001100011111111101
+00011000010000100000111000000000
+11111001001000000111111000000000
+01100000000000100000000010100011
+00100000011000000000000000000000
+01011000000000000000000000000010
+01100000000000001100011111110010
+00100000010000000100110011101101
+00100000001000000100110011101001
+01111001001000000000000000100101
+01000100110111011100000000110111
+01110000010000100111111100000001
+00100000010000000011111110100100
+00100000010000000011111110100010
+01011000000000000000000000000000
+01100000000000010100011111110000
+01100000000000001100011111110010
+00100000001000000011111110011110
+00100000001101011100110110011101
+01011000000000000100001111001110
+11011000101000000100001010101111
+10011000101001100111001000000000
+00100000010000000111111000111111
+01111001001000000000000000100101
+01000100100010110100000000100010
+01011000000000000000010011011110
+11011000101000000000010010101001
+10011000101001100111001000000000
+00100000010000000111111000111111
+01011000000000000000001100110000
+11011000101000000000001011000100
+10011000101001100111001000000000
+00100000010000000111111000111111
+00100000001000000101001100101010
+01111001001000000000000000100101
+01000100100010111100000000100010
+00011000110000100000010000000000
+00011000010000100000110000000000
+11101000110000010000000000000000
+01100000000000010000001011001101
+11101000110000010000000000000000
+01100000000000010000001011001111
+00011000110000100111111000000000
+01100000000000010000001011001011
+01101000000000001100011111110011
+11000000000000000100110110110101
+00100000001000000101000011111010
+01111001001000000000000000100101
+01000100100011000100000000100011
+01101000000000010000001011001101
+00100000001110100100110111111100
+01101000000000001000001011001111
+11000000000000001100110111000000
+11000000001010000100110111100111
+11000000001010001100110111110100
+11000000001010010100110111110010
+11000000001010011100110111110010
+00100000001000000100110111111100
+00100000010000000101001001111010
+00100100011110100000000000000000
+01110000010000111100110100000000
+00100000010000000101001011000100
+00100000010000000100111000000001
+01101000000010010000001011010110
+00100000001110100100110111111011
+00100000010000000101001011001110
+01101000000000010000001011010110
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+00100000001000000100110111111100
+01101000000000001100000100110010
+11000001000000001000000000000000
+01101000000000001100001111001101
+00100000011110100000000000000000
+00011111111000100010001000000000
+01101000000000100000001100111100
+11011000010000000000000100000000
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+01110000010000111100110100000000
+00011010001000100111111000000000
+11000000001010000100110111011100
+00100000001000000011101111110001
+00100000010000000101001011000100
+00100000010000000100111010000100
+00100000010000000101001011010000
+00100000010000000111111000011100
+00100000010000000100111010110111
+00100000010000000101001011001110
+01011000000000000000000000001100
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+00100000001000000100110111111100
+00100000010000000101001001111110
+00100100011110100000000000000000
+00100000010000000101001011010010
+00100000010000000110111101110010
+00100000010000000101001011011100
+01101000000000010000001011011100
+00100000001110100100110111111011
+11100000101000010000000000000000
+01101000000000010100001010110001
+11100000101000010000000000000000
+00100000001000000100110111111100
+00100000010000000100101011111000
+00100000001000000100110111111100
+01111001001000000000000000100101
+01000100100011001100000000100011
+01110000000000101110101100000000
+00100000010000000110101111011100
+01101000000000001000001011101011
+11000001000000001000000000000000
+00100000001000000100110111111100
+00100000010000000101001001101111
+01011000000000000000000000000000
+01100000000000010000001011001101
+01100000000000010000001011001111
+01110000000000101101000100000001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100011010100000000100011
+00100000010000000101001011010000
+00011000000000000010010000000000
+01101000000000010000001011001101
+00011111111000100010011000000000
+01101000000000010000001011001011
+10011000000000000000110000000000
+00100000010000000100111000010001
+00011010011000100111111000000000
+00011010011000001010011111111100
+00011111111000001111111111111100
+00100100001110100100111000001001
+00011010010000100111111000000000
+01100000000000010000001011010110
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100011011100000000100011
+11101000110000001000000000000000
+11000000000000001100111001010100
+11000000000000010100111001011100
+11000000000000011100111011100000
+11000000000000100100111100001111
+11000000000000101100111110101101
+11000000000000110100111111010101
+11000000000000111101000000100100
+11000000000001000101000001011000
+11000000000001001101000001101000
+11000000000001010100111000100001
+11000000000001011101000001101001
+00100000010000000101000001101010
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00011010001000100111111000000000
+10011000110000001000110000000000
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+00011000000000000111111000001000
+11100000101000010000000000000000
+00011000000000000111111000000010
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001100
+10011010010000001010010000000000
+00100000001000000100111000100000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00011010001000100111111000000000
+10011000110000001000110000000000
+00100000010000000101001011010000
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+00011000000000000111111000001000
+11100000101000010000000000000000
+00011000000000000111111000000010
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001100
+10011010010000001010010000000000
+00100000001000000100111000100000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+10011000110000001000110000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111000100000
+00100000010000000111111000011100
+00100000010000000111111000100001
+11011001000000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+00011000010000100111111000000000
+11000000000000001100111001101110
+11000000000000011100111010010000
+11000000000010001100111010011100
+11000000000010011100111010100111
+00100000010000000101000001101010
+00100000001000000100111011011111
+00100000010000000111111000011100
+11011000010000000000000001010000
+01101000000000010100001010110001
+00100100001110100100111011011001
+00011001011000100111111000000000
+01100000000000010100001010110001
+00011100010000100111111000000000
+01100000000000100000001100111100
+00100000010000000100111001111000
+00100000001000000100111010110011
+01100000000010010000001100111010
+00011001011000100111111000000000
+01100000000000010000001100110000
+00011010001000100111111000000000
+01100000000000010000001100110010
+00011010010000100111111000000000
+01100000000000010000001100110100
+00011010011000100111111000000000
+01100000000000010000001100110110
+00011000111000100111111000000000
+01100000000000010000001100111000
+00100000011000000000000000000000
+01101000000010010000001100111010
+01101000000000010000001100110000
+00011111111000100001011000000000
+01101000000000010000001100110010
+00011111111000100010001000000000
+01101000000000010000001100110100
+00011111111000100010010000000000
+01101000000000010000001100110110
+00011111111000100010011000000000
+01101000000000010000001100111000
+00011111111000100000111000000000
+00100000011000000000000000000000
+00100000010000000111111000011100
+01011000000000000000000001010001
+11011000010000000000000001010001
+01101000000000010100001010110011
+00100100001110100100111011011001
+00011001011000100111111000000000
+01100000000000010100001010110011
+01101000000000001100001010111010
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001010111010
+00100000001000000100111010111011
+00100000010000000111111000011100
+11011000010000000000000001010010
+01101000000000010100001010110101
+00100100001110100100111011011001
+00011001011000100111111000000000
+01100000000000010100001010110101
+01101000000000001100001010111011
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001010111011
+00100000001000000100111010111011
+00100000010000000111111000011100
+00011011010000100111111000000000
+11011000010000000000000001010011
+01101000000000010100001010110111
+00100100001110100100111011011001
+00011001011000100111111000000000
+01100000000000010100001010110111
+01101000000000001100001010111100
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001010111100
+00100000001000000100111010111011
+01011000000000000000000000000001
+01100000000000010000001011100100
+01110000010000111100110101010000
+00100000001000000100111010111101
+01101000000000001100001010111001
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001010111001
+01011000000000000000000000000000
+01100000000000010000001011100100
+01111001001000000000000000100101
+01000100100011100100000000100011
+00100000010000000111111000100001
+01011000000000000000000000000011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+01101000000000010000001011100100
+11000000000000001100111011010100
+00101001000011000000000000000000
+00100000001000001100111011001111
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+01011000000000000000000000001100
+00100000001000000100111011011011
+11100000101000010000000000000000
+00011000000000000111111000000010
+11100000101000010000000000000000
+01011000000000000000000000001100
+00100000001000000100111011011011
+01111001001000000001000000000000
+00100000001000000100111010111011
+10011010010000001010010000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111011011111
+00100000001000000100111000100000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111011110111
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101100111011111101
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111100001001
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111100000011
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100000000000010100001010110001
+01101000000000001100001010111001
+01111001001000000111111000000001
+01100000000000001100001010111001
+00100000001000000100111000100000
+00011001011000100111111000000000
+01100000000000010100001010110011
+01101000000000001100001010111010
+01111001001000000111111000000001
+01100000000000001100001010111010
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100000000000010100001010110101
+01101000000000001100001010111100
+01111001001000000111111000000001
+01100000000000001100001010111100
+00100000011000000000000000000000
+00011001011000100111111000000000
+01100000000000010100001010110111
+01101000000000001100001010111011
+01111001001000000111111000000001
+01100000000000001100001010111011
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+00011000010000100010001000000000
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111100100101
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101100111101000011
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111100101111
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111100111001
+00100000001000000101000001101010
+00011000101000100001011000000000
+01101000000000001100001010111001
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111001
+00011001011000100000101000000000
+11011001011000000000000001010000
+01101000000000010100001010110001
+00011111111000100000010000000000
+00100000001000000100111101001100
+00011000101000100001011000000000
+01101000000000001100001010111011
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111011
+00011001011000100000101000000000
+11011001011000000000000001010010
+01101000000000010100001010110101
+00011111111000100000010000000000
+00100000001000000100111101001100
+00011000101000100001011000000000
+01101000000000001100001010111100
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111100
+00011001011000100000101000000000
+11011001011000000000000001010011
+01101000000000010100001010110111
+00011111111000100000010000000000
+00100000001000000100111101001100
+00011000101000100001011000000000
+01101000000000001100001010111010
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111010
+00011001011000100000101000000000
+11011001011000000000000001010001
+01101000000000010100001010110011
+00011111111000100000010000000000
+01111001001000000000000000100101
+01000100100011101100000000100011
+01011000000000000000000000000101
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000110
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001010
+10011010010000001010010000000000
+01100000000010010000001011101001
+00011000111000100111111000000000
+01100000000000001000001011101000
+00011000000000000111111001010000
+10101001011000011111111000000000
+00100000001000001100111101100011
+00011111111000001111111000000001
+00100000011000000000000000000000
+01111000010101000111110000000000
+11000011100000010000000000000000
+11000100000000000000000000000000
+11000100000000001000000000000000
+01111001001000000111111000000010
+00011000110000100000101000000000
+00011000101000001000101111111111
+11100000101000001000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000001100001010111001
+00100000010000000100111101100100
+00100100001101000100111101110101
+01110000000000101110011101010000
+01101000000000010100001010110001
+01100000000000010000001011101001
+00100000001000000100111110001001
+01101000000000001100001010111010
+00100000010000000100111101100100
+00100100001101000100111101111100
+01110000000000101110011101010001
+01101000000000010100001010110011
+01100000000000010000001011101001
+00100000001000000100111110001001
+01101000000000001100001010111011
+00100000010000000100111101100100
+00100100001101000100111110000011
+01110000000000101110011101010010
+01101000000000010100001010110101
+01100000000000010000001011101001
+00100000001000000100111110001001
+01101000000000001100001010111100
+00100000010000000100111101100100
+00100100011101000000000000000000
+01110000000000101110011101010011
+01101000000000010100001010110111
+01100000000000010000001011101001
+01111001001000000000000000100101
+01000100100011110100000000100011
+00100000010000000101001001000010
+00100000010000000101001011000100
+00011000000000000010010000000000
+00100000010000000101001011010000
+00011000000000000111111000000100
+11100000101000001000000000000000
+01101000000000001100001010111110
+11100000101000001000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000000010000001011101001
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000001000000000000000
+00011000000000000111111000000010
+11100000101000001000000000000000
+01101000000000001000001011100111
+11000000001010001100111110100010
+01011000000000000000000000110000
+11100000101000010000000000000000
+00100000001000000100111110100100
+01011000000000000000001111100011
+11100000101000010000000000000000
+11011000010000000000000000001100
+01100000000010010000001011010110
+00100000010000000101001011001110
+01101000000000010000001011010110
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+01110000000000101110011100000000
+00100000001000000100111000100000
+00011000110000001000110000000001
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+01011000000000000000000001010000
+10011010001001100111110000000000
+00100000001000101100111111000100
+01011000000000000000000001010001
+10011010001001100111110000000000
+00100000001000101100111111001000
+01011000000000000000000001010010
+10011010001001100111110000000000
+00100000001000101100111111001100
+01011000000000000000000001010011
+10011010001001100111110000000000
+00100000001000101100111111010000
+00011000110000001000110000000010
+11101000110000010000000000000000
+10011000000000000111110000000000
+00100000001000000100111000100000
+01101000000000001100001010111001
+01111001001000000111111000000101
+01100000000000001100001010111001
+00100000001000000100111000100000
+01101000000000001100001010111010
+01111001001000000111111000000101
+01100000000000001100001010111010
+00100000001000000100111000100000
+01101000000000001100001010111011
+01111001001000000111111000000101
+01100000000000001100001010111011
+00100000001000000100111000100000
+01101000000000001100001010111100
+01111001001000000111111000000101
+01100000000000001100001010111100
+01110000000010110111110100000110
+00100000001000000111110000100111
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+00011010001000100000010000000000
+00100000010000000111111000011100
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101100111111111011
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000000001011
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101100111111101111
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101100111111110101
+00100000010000000101000001101010
+00100000001000000101000000100000
+00011001011000100000010000000000
+01101000000000010100001010110101
+10011000010001100111110000000000
+00100000001000101101000000000001
+00100000010000000101000001101010
+00100000001000000101000000100000
+00011001011000100000010000000000
+01101000000000010100001010110111
+10011000010001100111110000000000
+00100000001000101101000000000011
+00100000010000000101000001101010
+00100000001000000101000000100000
+00011001011000100000010000000000
+01101000000000010100001010110001
+10011000010001100111110000000000
+00100000001000101101000000000111
+00100000010000000101000001101010
+00100000001000000101000000100000
+00100000010000000101000010000001
+00100000001000000101000000010011
+00100000010000000101000010000111
+01101000000000010100001010110101
+00100000001110100101000000010011
+00100000001000000101000000010011
+00100000010000000101000001111100
+01101000000000001000001011101111
+00100100001110100101000000010011
+00100000001000000101000000010011
+00011001011000100000010000000000
+01101000000000010100001010110011
+10011000010001100111110000000000
+00100000001000101101000000010001
+00100000010000000101000001101010
+00100000001000000101000000100000
+00100000010000000101000001110111
+00100000001000000101000000010011
+00100000010000000111111000100001
+01011000000000000000000000000111
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001000
+00100000001000000101000000100010
+00100000010000000111111000100001
+00100000001000000101000000100010
+10011010010000001010010000000000
+00100000001000000100111000100000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+00100000010000000111111000011100
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000000111101
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000001000011
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000001001001
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000001001111
+00100000010000000101000001101010
+00100000001000000101000001010111
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001010110001
+10011000010001100111110000000000
+00100000010000101101000001111100
+00100000001000000101000001010101
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001010110011
+10011000010001100111110000000000
+00100000010000101101000001110111
+00100000001000000101000001010101
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001010110101
+10011000010001100111110000000000
+00100000010000101101000010000001
+00100000001000000101000001010101
+00011000010000100010001000000000
+00011001011000100000010000000000
+01101000000000010100001010110111
+10011000010001100111110000000000
+00100000010000101101000010000111
+00100000001000000101000001010101
+00100000010000000111111000100001
+00100000001000000100111000100000
+00100000001000000100111000100000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+10011000110000001000110000000000
+01011000000000000000000000001001
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000100
+10011010010000001010010000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000001000000100111000100000
+00100000001000000100111000100000
+00100000001000000100111000100000
+00011000000000000010010000000000
+00100000010000000101001011010000
+01011000000000000000000000000001
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+00011010010000001010010000000110
+11011010011000000000000000000100
+00100000001000000100111000100000
+01011000000000000000000000000000
+01100000000000010000001011100010
+01100000000000010100001010110011
+01110000010000101011101000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010000001011011100
+01100000000000010100001010110001
+01110000010000101011100100000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001010110101
+01110000010000101011101100000000
+01101000000000001100001010111100
+11000000000000000101000010001101
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001010110111
+01110000010000101011110000000000
+01101000000000001100001010111011
+11000000000000000101000010001101
+00100000011000000000000000000000
+01110000000010110111110100000111
+00100000001000000111110000100111
+01101000000000001000001011100110
+01111001001111111111111000000000
+01100000000000001000001011100110
+01101000000000010100001010110111
+00100000011110100000000000000000
+00100000010000000101001011000100
+01101000000000010100001010110111
+00011111111000100010001000000000
+00011000000000000010010001010011
+00100000001000000101000010100010
+01101000000000001000001011100110
+01111001001111111111111000000111
+01100000000000001000001011100110
+01101000000000010100001010110101
+00100000011110100000000000000000
+00100000010000000101001011000100
+01101000000000010100001010110101
+00011111111000100010001000000000
+00011000000000000010010001010010
+00100000010000000101001001000010
+00100000010000000101001011010000
+00011000000000000111111000000110
+11100000101000001000000000000000
+01101000000000001100001010111110
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011010010000100111111000000000
+11100000101000010000000000000000
+00011000000000000000010000001000
+00100000001000000101000011101001
+01111001001000000000000000100101
+01000100100011111100000000100011
+00100000010000000101001001000010
+00100000010000000101001011010000
+01011000000000000000000000000010
+11100000101000001000000000000000
+01101000000000001100001010111110
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+11011000010000000000000000001000
+00100000001000000101000011101001
+01111001001000000000000000100101
+01000100100100000100000000100100
+00100000010000000101001001000010
+00100000010000000101001011010000
+01011000000000000000000000000100
+11100000101000001000000000000000
+01101000000000001100001010111110
+11100000101000001000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000001000000000000000
+01011000000000000000001111100011
+11100000101000010000000000000000
+11011000010000000000000000001100
+00100000001000000101000011101001
+01111001001000000000000000100101
+01000100100100001100000000100100
+00100000010000000101001001000010
+00100000010000000101001011010000
+01011000000000000000000000000110
+11100000101000001000000000000000
+01101000000000001100001010111110
+00011111111000001111111000000001
+00011000101000100010001000000000
+01100000000000001100001010111110
+00011010001000100000101000000000
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+11011000010000000000000000001000
+01100000000010010000001011010110
+00011000010000100111111000000000
+00100000001110100101001001101111
+00100000010000000101001011001110
+01101000000000010000001011010110
+11100000101000010000000000000000
+00011000000000000111111000000001
+11100000101000010000000000000000
+00100000011000000000000000000000
+01101000000000010000001011011100
+00100000001110100011101111110001
+00100000010000000101001011011100
+01101000000000010000001011011100
+11100000101000010000000000000000
+01101000000000010100001010110001
+11100000101000010000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100100010100000000100100
+01101000000000010000001011001101
+00100000001110100100110111111100
+01101000000000001000001011001111
+11000000000000001101000100000101
+11000000001010000100110111100111
+11000000001010001100110111110100
+11000000001010010100110111110010
+11000000001010011100110111110010
+00100000001000000100110111111100
+01111001001000000000000000100101
+01000100100100011100000000100100
+00100000010000000101001011000100
+00011000000000000010010000000000
+00100000010000000101001011010000
+00011111111000100000101000000000
+01101000000000010000001011001101
+00011111111000100010011000000000
+01101000000000010000001011001011
+10011000000000000000110000000000
+00100000010000000101000100010101
+00011010011000001010011111111100
+00100100001000101101000100001111
+00011010010000100000010000000000
+00100000010000000101000011101001
+00100000001000000100110111111100
+11101000110000001000000000000000
+11000000000000010101000100100000
+11000000000000001101000100100011
+11000000000000011101000100101101
+11000000000000101101000101101000
+11000000000000100101000110011001
+11000000000000111101001000011100
+11000000000000110101000111101011
+11000000000001000101000001011000
+11000000000001010100111000111010
+00100000001000000101001000110110
+00100000010000000111111000011100
+00100000010000000111111000100001
+00100000001000000100111001011100
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000001000000000000000
+00011010001000001010001111111111
+00100100001000101101000100101001
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+11101000110000010000000000000000
+00011111111001100111110000000000
+00100000001000101101000100111111
+11000000000000010101000100111011
+11000000000000100101000100111011
+00100000001000000101000100111101
+01110000000010110111110100010110
+00100000010000000111110000100111
+11101000110000010000000000000000
+00100000001000000101000101100101
+00100000010000000111111000011100
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000101001101
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000101010011
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000101011111
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000101011001
+00100000001000000101000101100101
+00011001011000100111111000000000
+01100000000000010100001010110001
+01101000000000001100001010111001
+01111001001000000111111000000001
+01100000000000001100001010111001
+00100000001000000101000101100100
+00011001011000100111111000000000
+01100000000000010100001010110011
+01101000000000001100001010111010
+01111001001000000111111000000001
+01100000000000001100001010111010
+00100000001000000101000101100100
+00011001011000100111111000000000
+01100000000000010100001010110101
+01101000000000001100001010111011
+01111001001000000111111000000001
+01100000000000001100001010111011
+00100000001000000101000101100100
+00011001011000100111111000000000
+01100000000000010100001010110111
+01101000000000001100001010111100
+01111001001000000111111000000001
+01100000000000001100001010111100
+00100000010000000111111000100001
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+11101000110000010000000000000000
+00100100001110100101000110010011
+00100000010000000111111000011100
+00011001011000100000010000000000
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000110000001
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000110000101
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000110001001
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000110001101
+01101000000000001100001010111001
+01111001001000000111111000000101
+01100000000000001100001010111001
+00100000011000000000000000000000
+01101000000000001100001010111010
+01111001001000000111111000000101
+01100000000000001100001010111010
+00100000011000000000000000000000
+01101000000000001100001010111011
+01111001001000000111111000000101
+01100000000000001100001010111011
+00100000011000000000000000000000
+01101000000000001100001010111100
+01111001001000000111111000000101
+01100000000000001100001010111100
+01110000000010110111110100000110
+00100000001000000111110000100111
+00100000010000000111111000100001
+00011010001000001010001111111010
+00100000001000101101000110011000
+00011000110000001000110000000001
+00011010001000001010001111111111
+00100000001000000101000110010100
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011000110000001000110000000010
+00011111111000100000010000000000
+01011000000000000000000000000101
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+00011010001000001010001000000010
+00011010001000100111111000000000
+11100000101000010000000000000000
+00100000010000000111111000011100
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101000110110111
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101000111001000
+01011000000000000000000001010010
+10011000010001100111110000000000
+00100000001000101101000111001110
+01011000000000000000000001010011
+10011000010001100111110000000000
+00100000001000101101000111010100
+00100000001000000101000111011001
+01101000000000001100001010111001
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111001
+11000010100000010101000111000101
+01101000000010001000001011100110
+01111001001000000000010000000110
+01100000000010001000001011100110
+00011000111000100111111000000000
+00011111111000001111111000000001
+01100000000000001000001011101000
+01101000000000001100001010111001
+01111001001000000111111000000010
+01100000000000001100001010111001
+01101000000000010100001010110001
+01100000000000010000001011101001
+00100000001000000101000111011001
+01101000000000001100001010111010
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111010
+01101000000000010100001010110011
+00100000001000000101000111011001
+01101000000000001100001010111011
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111011
+01101000000000010100001010110101
+00100000001000000101000111011001
+01101000000000001100001010111100
+01111001001000000111111000000100
+01111001001000000111111000000011
+01100000000000001100001010111100
+01101000000000010100001010110111
+00011111111000100001011000000000
+00100000010000000111111000100001
+00011001011000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001010
+10011010010000001010010000000000
+00011010001000001010001111111010
+00100000001000101101000111101010
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010010000001010010000000001
+00011010001000001010001111111111
+00100000001000000101000111100100
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+00100000010000000111111000011100
+01011000000000000000000001010000
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001000000011
+01011000000000000000000001010010
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001000001000
+01011000000000000000000001010011
+00011010001000100000010000000000
+10011000010001100111110000000000
+00100000001000101101001000001010
+00100000001000000101001000001100
+01011000000000000000000000000000
+01100000000000010000001011011100
+01100000000000010100001010110001
+01100000000000001100001010111001
+00100000001000000101001000001110
+00100000010000000101000010000001
+00100000001000000101001000001110
+00100000010000000101000010000111
+00100000001000000101001000001110
+01011000000000000000000000000000
+01100000000000010000001011100010
+00100000010000000111111000100001
+01011000000000000000000000000111
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000010000000000000000
+00011000000000000111111000001000
+10011010010000001010010000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100001011000000000
+11101000110000010000000000000000
+00011111111000100000010000000000
+00100000010000000111111000011100
+01101000000000001100001010111110
+10101000111000011111111000000000
+00100100001000001101001000110010
+01011000000000000000000001010000
+10011000010001100111110000000000
+00100000001000101101001000101111
+01011000000000000000000001010001
+10011000010001100111110000000000
+00100000001000101101001000110010
+00100000001000000101001000110010
+01110000010000101011000100000000
+01110000010000101011100100000000
+00100000001000000101001000110010
+00100000010000000111111000100001
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000011000000000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01011000000000000000000000000110
+10011010010000001010010000000000
+00011000000000000010011000000100
+00100000011000000000000000000000
+01101000000000001100001010111110
+00011111111000001111111000000001
+11000000100000000101001001000110
+00011111111000001111111000000001
+01100000000000001100001010111110
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100100100100000000100100
+11011010010000000000000000000000
+00100000010000000101001001111010
+00100100001110100011101111110001
+00100000010000000101001010000111
+11011010010000000001100000000000
+11011000111000000000000000000000
+01101000000010001100001010111111
+10101000010011111111111111111111
+00100000001000001101001001011000
+00100000010000000101001010101011
+00011001011001100111110000000000
+00100000001000010101001001011000
+00100000010000000101001010010010
+00100000001000000101001001011110
+00011010010000001010010010000000
+00011000111000001000111000000001
+01011000000000000000000000001000
+10011000111001100111110000000000
+00100000001000010101001001010000
+11011010010000000000000000000000
+00011010010000100111111000000000
+00100000001110100011101111110001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100100101100000000100100
+00100000010000000101001010000000
+00011000110000001000110000000001
+11101000110000010000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100100110100000000100100
+00100000010000000101001010000000
+00011000110000100000101000000000
+00011000110000100000010000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100100111100000000100100
+00100000010000000101001001111110
+00100000001110100011101111110001
+01101000000000011100001011000110
+01100000000000011100001011001001
+01101000000000011100001011000011
+01100000000000011100001011000110
+01101000000000011100001011000000
+01100000000000011100001011000011
+00100000011000000000000000000000
+01101000000000011100001011000000
+00100000011000000000000000000000
+01101000000000011100001011000011
+00100000011000000000000000000000
+01101000000000011100001011001001
+00100000011000000000000000000000
+00100000010000000101001001111110
+00100000001110100011101111110001
+11011000110000000100001011000000
+11101000110000011000000000000000
+00100000001110100101001010000011
+00011000110000001000110111111101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100101000100000000100101
+11011111001000000000000000000100
+11011000110000000100001011000000
+11011000010000000000000000000000
+11101000110000011000000000000000
+00011111111000010111111011111111
+10011000010000011000010000000000
+11000010000000000101001010001100
+01100000000010001100001010111111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100101001100000000100101
+00100000010000000101001001111010
+00100100001110100011101111110001
+00100000010000000101001001111110
+00100000001110100101001010100000
+01101000000000011100001011000011
+01100000000000011100001011000000
+11101000110000011000000000000000
+11100000101000011000000000000000
+11101000110000011000000000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+11011000010000000000000000000000
+00011001011000100111111000000000
+10011000111000001111111000000000
+11111001001000000000010000000000
+00011000111000001000111000000001
+10011000111001100111110000000000
+00100100001000101101001010100011
+00011010010011010111111000000000
+10011000010000011111111000000000
+01100000000000011100001011001001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100101010100000000100101
+00100000010000000101001010000111
+00011000111000100010011000000000
+11011000010000000000000000000000
+11011001011000000000000000000000
+00011000111000100111111000000000
+11000000000001000101001010111100
+01101000000000001100001010111111
+10101111111011111111111111111111
+00100000001000001101001010111100
+00011000010000001000010010000000
+00011000111000001000111000000001
+00011010001000100111111000000000
+10011000010001100111110000000000
+00100000001000101101001010111100
+00100000001000010101001010110001
+00011000010000100111111000000000
+10011010001001100111110000000000
+00100100001000010101001011000010
+00011000111000100111111000000000
+00011010011000100000010000000000
+10011000010001100001011000000000
+00011010011000100000111000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100101011100000000100101
+11011010001000000000000001111111
+00100000010000000101001001001000
+01100000000000010000001011010010
+00011111111000001111111000000100
+01100000000000010000001011010100
+01011000000000000000000000000000
+01100000000000010000001011010110
+00100000011000000000000000000000
+01101000000000010000001011010010
+00100000001000000101001011110010
+01101000000000010000001011010100
+00100000001000000101001011110010
+01111001001000000000000000100101
+01000100100101100100000000100101
+11011010001000000000001011111111
+00100000010000000101001001001000
+01100000000000010000001011011000
+00011111111000001111111000000100
+01100000000000010000001011011010
+01011000000000000000000000000000
+01100000000000010000001011011100
+00100000011000000000000000000000
+01101000000000010000001011011000
+00100000001000000101001011110010
+01101000000000010000001011011010
+00100000001000000101001011110010
+01111001001000000000000000100101
+01000100100101101100000000100101
+00100000010000000111111000000000
+01110000000000101110101100000001
+00100000010000000101001001111010
+00100100011110100000000000000000
+11011010001000000000000001111111
+00100000010000000101001001001000
+01100000000000010000001011011110
+00011111111000001111111000000100
+01100000000000010000001011100000
+01011000000000000000000000000000
+01100000000000010000001011100010
+01110000000000101110101100000000
+00100000001000000111111000001110
+01101000000000010000001011011110
+00100000001000000101001011110010
+01101000000000010000001011100000
+00100000001110100011101111110001
+00011111111000100000101000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100101110100000000100101
+11011010010000000000000000000000
+11011010001000000100001011000000
+00011010001000001010001111111110
+00011010001000001010001000000010
+01011000000000000100001011001100
+10011010001001100111110000000000
+00100000001000101101001100000110
+11101010001000001000000000000000
+00011010001000001010001000000001
+00100000001110100101001011111010
+11101010001010010000000000000000
+11101000010000010000000000000000
+10011010010000001010010000000000
+00011010010000001010010000000100
+00100000001000000101001011111010
+00011010010000100111111000000000
+00100000011000000000000000000000
+11011000111000000000000000001100
+00100000001000000011110111000010
+11011000111000000000000000001100
+00100000001000000011110111000110
+01111001001000000000000000100101
+01000100100101111100000000100101
+00100000010000000101001010000111
+01101000000000001100001010111111
+00100000011110100000000000000000
+00100000010000000101001011110101
+11011000010000000000000100000000
+10011000010001100111110000000000
+00100000001000010101001100001000
+00100000010000000101001100001010
+11011000101000000100001011001100
+11011010001000000100001011000000
+01011000000000000100001011001100
+10011010001001100111110000000000
+00100000011000101000000000000000
+11101010001000001000000000000000
+00011010001000001010001000000001
+00100100001110100101001100100001
+11100000101000010000000000000000
+00011010001000001010001000000010
+00100000001000000101001100011000
+11101010001000010000000000000000
+00011010001000001010001000000010
+00011111111000100000110000000000
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011111111000100111001000000000
+00011111001000001111001000000010
+00100000010000000111111001000101
+00100000001000000101001100011000
+01111001001000000000000000100101
+01000100100110000100000000100110
+00100000010000000101001010000111
+01101000000000001100001010111111
+00100000011110100000000000000000
+11011010001000000100001011000001
+00011010001000001010001111111101
+11011000110000000100001011001100
+00011010001000001010001000000011
+01011000000000000100001011001101
+10011010001001100111110000000000
+00100000011000101000000000000000
+11101000110000010000000000000000
+00100000001110100101001100110010
+00011111111000001111111000000100
+00011111111000100111001000000000
+00011000110000100010010000000000
+11101010001000010000000000000000
+00011111111000100000101000000000
+00011010010000100000110000000000
+00011000110000001000110111111110
+00100000010000000111111001000101
+00100000001000000101001100110010
+00100000011101011000000000000000
+01011000000000000000000000010000
+01100000000000010100001111010011
+01011000000000000000000000010000
+01100000000000010100001111010101
+00100000011000000000000000000000
+11011000010000000000000000010100
+00100000010000000101101010001000
+00011000110000001111111000000001
+01100000000000010000010000011001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100110010100000000100110
+01111000010101011111110000000000
+01110000010000100111111000000001
+01110000000000111101011000000001
+01110000000000111100000000000011
+01110000000000111101011100000001
+01011111111111111111111111111111
+01100000000000010000001111011010
+00011000000000000111111000000000
+01100000000000001000001111100011
+01100000000000001000001111011000
+01100000000000001000001111100100
+01100000000000011100001000001010
+01100000000000011100001000001101
+01100000000000101100010001100101
+01111001001000000111111000100111
+01100000000000101100010001101010
+00100000001000000101101000001011
+01111001001000000000000000100101
+01000100100110011100000000100110
+01111000001101001111110000000000
+01110000000000111100000100000011
+01110000000000111111101000000001
+01110000010001001011110000000001
+01011000000000001111111111111111
+01100000000000010100010010111110
+00011000000000000111111000000000
+01100000000000101100010001101010
+01111001001000000111111000100111
+01100000000000101100010001100101
+00100000001000000101001101001100
+01111001001000000000000000100101
+01000100100110100100000000100110
+01111000010101001111110000000000
+01110000000000111100000100000001
+01110000010000111101100000000000
+01110000000000001010001000000000
+00100000001000000101001101001100
+00100000010000000101001111010010
+00100000010000000101010111010011
+00100000010000000101101000001110
+00100000001000000101001111010111
+01111001001000000000000000100101
+01000100100110101100000000100110
+00100000010000000101001111010010
+00100000010000000011111001110001
+01101000000000001000001111000001
+11000000000000011101001101111110
+00100000001000000101001110010101
+01111001001000000000000000100101
+01000100100110110100000000100110
+01111000001101001111110000000000
+00100000010000000101101000000010
+00100000001000010101001110010010
+00100000010000000011111000101000
+00100000010000000101010000011100
+00100000010000000101011000100010
+01111000010101101111110000000000
+00100000010000000101010010110010
+00100100011101101000000000000000
+01111001001000000000000000100101
+01000100100110111100000000100110
+01101000000000001000000000000101
+00011111111000001111111000000001
+01100000000000001000000000000101
+00100000010000000101010110100010
+00100000010000000101101010011001
+01111000010101001111110000000000
+00100000011000000000000000000000
+00100000010000000101001110111010
+01111000010101001111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100111000100000000100111
+01111000010101110111110000000000
+00100000010000000101101000000010
+00100000001000010101001110111010
+00100000010000000011111000101000
+00100000010000000101010000011100
+00100000010000000101010001111000
+00100100001101101101001110101101
+01111001001000000000000000100101
+01000100100111001100000000100111
+00100000010000000101001111001000
+00100000010000000101010110100010
+00100000010000000101011000100010
+01101000000000001000001101000000
+11000010100000100101001110110100
+00100000010000000101011000011010
+00100100001110100101001110110100
+01111001001000000000000000100101
+01000100100111010100000000100111
+00100000010000000101010010111011
+00100000010000000111110001000101
+01101000000000001000001111100100
+11000010100000011101001110111010
+01111001001000000000000000100101
+01000100100111011100000000100111
+00100000010000000111111101000100
+00100000010000000101101100011001
+00100000010000000101010110010100
+00100000010000000101010101110110
+00100000001000000011100110101100
+01111001001000000000000000100101
+01000100100111100100000000100111
+01111000001101110111110000000000
+00100000010000000101010010110010
+00100000001101101101001110011110
+00100000001000000101001110101010
+01111001001000000000000000100101
+01000100100111101100000000100111
+00100000010000000101001111000000
+00100000010000000011111100011101
+01110000000010110111110100010101
+00100000001000000111110000100111
+01101000000010001000001111010110
+01110000000000101100000000001000
+00100000010000000100100011000100
+01110000000000111101011000000000
+01110000000000111100000100000000
+01110000000000111100000000000000
+01110000010000100111111000000000
+00100000011000000000000000000000
+01101000000000001000000000000101
+00011111111000001111111000000001
+01100000000000001000000000000101
+01101000000000001000001111000000
+11000011100000011000000000000000
+01111001001000000111111000000011
+01100000000000001000001111000000
+01011000000000000000000000000000
+01100000000000100100011011111001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100111110100000000100111
+01111000001110110111110000000000
+01110000100010010001010000000111
+00100000001000000011111000101000
+01111001001000000000000000100101
+01000100100111111100000000100111
+01111000010110110111110000000000
+01110000100010010001010000000011
+11011011011000000000000000000000
+00100000011000000000000000000000
+01111000010001001111110000000000
+01111000010000111111110000000000
+01101000000000011000001111101001
+10011000000000000001111000000000
+01101000000000001000000000010110
+00011111111011011000010000000000
+01111001001000000000010000000001
+00011000010000110001110000000000
+00100000011000000000000000000000
+00100000010000000101001111101110
+00100000010000000011101010000010
+01011000000000000000010100000000
+00100000010000000011101111110011
+00100000001000000011101010000111
+00100000001101101011101010011000
+00100000010000000101001111101110
+00100000001000000011101010010001
+01111001001000000000000000100101
+01000100101000000100000000101000
+00100000010000000011101001111010
+01101000000000001000010000001101
+00100100001110100101010000000010
+01101000000000001000000000010110
+00011111111001100111110000100100
+00100000001000010101001111111100
+00011000000000000000010000000000
+11000001000100101000000000000000
+00011000000000000000010000011000
+11000001000100110000000000000000
+00011000000000000000010001001110
+00100000011000000000000000000000
+00011111111001100111110000001010
+00100000001000010101001111111111
+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
+01100000000000011000001111101001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101000001100000000101000
+01111000001010000111110000000000
+01101000000000100000001111100101
+10011000000000000001001000000000
+00100000010000000101010001010011
+01011000000000000000001000000000
+00100000001101001101010000100110
+01101000000000010000001111001110
+00011111111000110111111000000000
+11011000010000000000010100000000
+10011000010000001111111000000000
+00100000010000000011101101111101
+00011011010000100111111000000000
+01100000000000110000010000010010
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101000010100000000101000
+01101000000000001000000000010110
+00011111111000001111111000000001
+01100000000000001000000000010110
+11000001100101000000000000000000
+01110000000000000001011000100101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101000011100000000101000
+00011010001000001000110000000001
+11101000110000001000000000000000
+11000100000000000000000000000000
+00011010001000001000101000011010
+11101000101000010000000000000000
+00011111111000001111111000000001
+11100000101000010000000000000000
+00011010001000001000110000011001
+11101000110000001000000000000000
+00011010001000001000101000011000
+11101000101010001000000000000000
+10011000010000001111111000000000
+00011111111001100111110000100100
+00100000001000010101010001000101
+00011111111000001111111111011011
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101000100100000000101000
+01101000000000101000001111110001
+00011000000000000000010000000000
+00011000000000000111001000100101
+11000011000000000101010001001110
+00011000010000001000010000000001
+00011111111000110111111000000000
+11000010000000000101010001001100
+00011000010000001111111111111111
+01100000000000001000001111100010
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101000101100000000101000
+01101000000000001000001111011000
+10011000000000000000111000000000
+01101000000010101000001111110001
+10101000010011111111111111111111
+00100000001000001101010001101011
+01111001001000000000000000100101
+01000100101000110100000000101000
+01101000000000001000001111100010
+10011000111001100111111000000000
+00100000001000010101010001100001
+00011111111001100000111111111111
+00100000001000000101010001011010
+00011000111000100111001000000000
+00011000000000000000111000000000
+10101000010011111111111111111111
+00100000001000001101010001100110
+00011111001000001111001000000001
+00011111001000100111111000000000
+00100000001110100101010001101011
+00011000111000001000111000000001
+00011111001000001111001111111111
+00100000001000000101010001100011
+00011000111000100111111000000000
+01100000000000001000000000010110
+00100000011000000000000000000000
+00100000001101001101010001110001
+00110111110000011000001000000000
+00100000011000000000000000000000
+11011001011000000000111010100000
+00110100011100110000001000000000
+00100000011000000000000000000000
+01111000010010000111110000000000
+01101000000000010100001111010101
+00011111111000100001011000000000
+00100000001000000101010001111110
+01111001001000000000000000100101
+01000100101000111100000000101000
+01111000001010000111110000000000
+01101000000000010000001111001110
+01101000000010100100011011111001
+10011000010000001001011000000000
+00100000010000000101001111100110
+01111001001000000000000000100101
+01000100101001000100000000101001
+00100000010000000101001111011101
+01111000010101101111110000000000
+01111000001001101111110000000000
+01111000001100001111110000000000
+01111000010100000111110000000000
+00011001011000100011011000000000
+00110111110000011000010000000000
+00100000001101110101010010001011
+00011011010000100000010000000000
+01100000000010110000000010011100
+00100100001011000011011101011100
+00100000001101110101010010010010
+11011101001000000000000111100000
+00011100001000100101000000000000
+01101000000000001000001111000000
+11000011000000011101010010010010
+00100000010101011011110010110110
+01111001001000000000000000100101
+01000100101001001100000000101001
+00100000010000000011101011110011
+01111000001000111111110000000000
+01111000001001001111110000000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+01100000000000001000001101000000
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+00011111111000010111001000111111
+00100000001000101101010010100011
+00001001100000000000000000001000
+00011001100010010111111000000000
+11100000101000001000000000000000
+11000010000000000101010010011111
+01111001001000000000000000100101
+01000100101001010100000000101001
+00001001100000000000000000011000
+01111000001010000111110000000000
+11011011011000000000011001100100
+00011111111011110111111000000000
+00011111111100010111111000000000
+11100000101000011000000000000000
+00100000001000110011011101011100
+01111000001101101111110000000000
+01101000000000001000000000010111
+00011111111000001010001000000010
+00100000010000000011101010110110
+01111000010001101111110000000000
+00100000001000000011101001111010
+01111001001000000000000000100101
+01000100101001011100000000101001
+00100000010000000101010010111101
+01101000000010001000000000010111
+00100000010000000011101010000010
+00100000010000000011101010000111
+01111000001010000111110000000000
+11011001011000000001001110001000
+00100000001000000101010001111111
+00100000010000000101010010111101
+00100000001000000011011101011100
+01111001001000000000000000100101
+01000100101001100100000000101001
+00100000010000000101001111011101
+00100000010000000101001111101011
+01111001001000000010101000000000
+01111000001011101111110000000000
+01111000001100000111110000000000
+01111000010100001111110000000000
+00100000010000000101010001101110
+00011001001100010111111000000000
+00011111111011001111111000000000
+00011111111100011111111000000000
+00001000000000001000011000101000
+01111000001000111111110000000000
+01111000001001001111110000000000
+01111001001000000000000000100101
+01000100101001101100000000101001
+01101000000000001100010000111110
+00001000000000001000011000001000
+11101000110000001000000000000000
+00011111111000010111001000111111
+00001000000000001000011000001000
+00100000001000101101010011010111
+11101000110000001000000000000000
+00001000000000001000011000001000
+11000010000000000101010011010100
+01111000001001000111110000000000
+00001000000000001000011000011000
+01111000010001000111110000000000
+00110111110100111000001000000000
+00100000000000000000000001100100
+01111000010011101111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101001110100000000101001
+01101000000000001100010011011011
+11000000000000001101010011101111
+01101000000000001100010011011100
+00011111111100100111111000000000
+00011111111010111111111000000000
+01100000000000001100010000111110
+01101000000010001100001111011001
+00011000010000001111111000000110
+01100000000000001100010000111111
+01101000000000110100010011111001
+01100000000000110100010001000000
+00011000010000100111001000000000
+11011000110000000100001111011010
+00100000010000000111111001000101
+00100000001000000101010011111111
+01101000000010010100010011000010
+00100000010000000101100001100110
+00011010001000100000101000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000001100010011011101
+00011111111100100111111000000000
+00011111111010111111111000000000
+00011111111000001111111000000001
+01100000000000001100010000111110
+01011000000000000000000000001100
+01100000000000001100010000111111
+01101000000000110100010011111001
+01100000000000110100010001000000
+01101000000000110100001001110100
+11100000101000110000000000000000
+01111001001000000000000000100101
+01000100101001111100000000101001
+01101000000000001000000000000000
+00011111111000001111111000000001
+01100000000000001000000000000000
+11011011011000000000011100001000
+01111000010101101111110000000000
+00100000001000000101010010110010
+01111001001000000000000000100101
+01000100101010000100000000101010
+01101000000000001100010011110110
+11000001100000001000000000000000
+01101000000000001000000000000000
+00011111111000001111111000000001
+01100000000000001000000000000000
+11011000010000000000110000000011
+01101000000000001100010011110111
+01111101001110100000010000000110
+00011010001000100111111000000000
+01111101001110100000010000000111
+01100000000010010100010000111110
+01101000000000110100010011111001
+11100000101000110000000000000000
+01101000000000110000001111010000
+11100000101000110000000000000000
+00100000001000000101010010110010
+01111001001000000000000000100101
+01000100101010001100000000101010
+11011000010000000000000000000100
+01101000000000001100010011011100
+01111101001110100000010000000110
+01100000000010001100010000111110
+01101000000010001100001111111001
+00011000010000001111111000000110
+01100000000000001100010000111111
+01101000000000110100010011111001
+01100000000000110100010001000000
+11011000110000000100001111111010
+00011000010000100111001000000000
+00100000010000000111111001000101
+00100000001000000101010010111011
+01111001001000000000000000100101
+01000100101010010100000000101010
+00011000000000000111111111111111
+00111000000010000000000000000001
+01100000000000101000001111110001
+00100000010000000101010001000111
+00011000000000000111001000000100
+11011000101000000000001111100101
+00100000010000000110001000100111
+01101000000000010100010011110100
+01100000000000010000001111101111
+00011000000010100111111000000000
+00011111111000010111111000001111
+00011111111001100111110000000100
+00100000001000010101010100110011
+01100000000000001000001111011001
+01100000000000001000011010000010
+01111001001000000000000000100101
+01000100101010011100000000101010
+01101000000010010100001111010000
+01100000000010010000001111000010
+00011000010000100010011000000000
+00011100010000001111111000000111
+10011010011001101111110000000000
+00100000010000000111111011111101
+00011000000001110010001000000000
+10011010001001100111111000000000
+10011010011000001111111000000000
+01101000000010010100001111001110
+10011000010000001111111000000000
+01100000000000100000001111000100
+10011100010001100010001000000000
+00011010001000001010001111111010
+11011010010000000010001000000101
+01101000000000001100010011101101
+01111101001110100010010000000110
+01101000000000001100010011100110
+01111101001110100010010000000111
+00011010010000100111111000000000
+01100000000000010100010000111110
+01101000000000110100010011111001
+11100000101000110000000000000000
+01101000000000110000001111010000
+11100000101000110000000000000000
+01101000000000100000001111100101
+11100000101000100000000000000000
+00011000000010100111111000000000
+11100000101000010000000000000000
+00011000000010100111111000000000
+11100000101000001000000000000000
+00011000000000000111111000000010
+11100000101000001000000000000000
+00011010001010110111111000000000
+11100000101000010000000000000000
+00011010011010110111111000000000
+11100000101000010000000000000000
+01111001001000000000000000100101
+01000100101010100100000000101010
+01101000000000010100010011110010
+11100000101000010000000000000000
+01101000000000010100010011110100
+11100000101000010000000000000000
+01101000000000101000001111110001
+11100000101000101000000000000000
+01101000000000001000001111011001
+11011000010000000000000010100000
+10011000010000011111111000000000
+11100000101000001000000000000000
+00100000010000000101010010111011
+01011000000000000100010000111110
+00011111111000001000110000010010
+11101000110000011000000000000000
+01100000000000011000001111101001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101010101100000000101010
+01111000010101001111110000000000
+00100000001000000101010000010101
+01111001001000000000000000100101
+01000100101010110100000000101010
+01101000000000001000001111000000
+11000100000000101000000000000000
+01101000000000010000001111011010
+01101000000010010000001111100000
+10011000010001100111111000000000
+00100100011000010000000000000000
+01101000000000001000001111000000
+01111001001111111111111000000101
+01111001001111111111111000000011
+01100000000000001000001111000000
+01101000000000100000001111000100
+01101000000010010000001111000010
+10011000010001100010001000000000
+01111001001000000000000000100101
+01000100101010111100000000101010
+01101000000000001100010000110100
+01100000000000001000001111101100
+11101000110010010000000000000000
+11101000110000010000000000000000
+00011111111010111111111000000000
+01100000000000010000001111000010
+00011000010010111000010000000000
+10011000010000001111111000000000
+11101000110010100000000000000000
+01100000000010100000001111101101
+10011010001000001111111000000000
+01100000000000100000001111000100
+00100000001000000101101000101011
+01111001001000000000000000100101
+01000100101011000100000000101011
+01101000000000001000001111000000
+11000100000000110000000000000000
+01101000000000010000001111011010
+01101000000010010000001111100000
+10011000010001100111111000000000
+00100100011000010000000000000000
+01101000000000001000001111000000
+01111001001111111111111000000110
+01100000000000001000001111000000
+01101000000000101100010000101111
+01100000000000101000001111110001
+00100000001000000101010001000111
+01111001001000000000000000100101
+01000100101011001100000000101011
+00100000010000000101101000001011
+00100000010000000101010110110111
+01101000000000001000001101000000
+00011111111000110111111000000000
+10011000010000101111111000000000
+00101111111011111111111000000010
+01111001001000001000000000001111
+01101000000000001000001101000001
+00100000001110100101010110110010
+01101000000000001000001111000000
+11000011000000100101010110110010
+00100000010000000111010110011001
+00100000010000000111010100001110
+00100100011110100000000000000000
+11000110000001111000000000000000
+01101000000010001000001111010111
+01111001010000000000010000000010
+01100000000010001000001111010111
+00100000001000000101100010101100
+01111001001000000000000000100101
+01000100101011010100000000101011
+01101000000010001000001111010111
+00101000010011000000000000000101
+00100000011000001000000000000000
+01101000000000001000001101000000
+00011111111000111111111000000000
+10011000010000101111111000000000
+11000100000000011000000000000000
+01111001001111111000010000000101
+01111001010000000000010000000011
+01100000000010001000001111010111
+00101000010000000000011000000011
+00100100011000001000000000000000
+01101000000000001100010001000000
+11000001100000101000000000000000
+01101000000000001000001111000000
+01111001001000000111111000000100
+01100000000000001000001111000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101011011100000000101011
+00100000010000000101010000101100
+00100000010000000101010001110100
+01101000000000001000000000000001
+00011111111000001111111000000001
+01100000000000001000000000000001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101011100100000000101011
+01101000000000001100001111010010
+11000001100000001000000000000000
+11011000111000000000000000000011
+00100000010000000111111001010011
+00100100011110100000000000000000
+01101000000000010100001111010011
+01101000000010010100001111010101
+10011000010001100111111000000000
+11011000111000000000000000000011
+00100000010000000111111001001100
+01111000010101001111110000000000
+00100000010000000101010101110010
+00100000010000000101010111001011
+00100100011101101000000000000000
+01111001001000000000000000100101
+01000100101011101100000000101011
+01101000000000110000001101000010
+01100000000000110000001111010000
+00100000010000000100001010100111
+00100000010000000101101100111001
+01101000000000001000000000000010
+00011111111000001111111000000001
+01100000000000001000000000000010
+00100000010000000101010111111001
+00100000011101001000000000000000
+00100000010000000100100011010001
+00100000010000000101010100000111
+00100100011101101000000000000000
+01111001001000000000000000100101
+01000100101011110100000000101011
+01101000000000001000000000000100
+00011111111000001111111000000001
+01100000000000001000000000000100
+01101000000001001000001101001000
+01100000000001001000000100000011
+00100000001000000100100011010001
+01111001001000000000000000100101
+01000100101011111100000000101011
+01101000000000001000010000011100
+11000001100011011000000000000000
+01101000000000110000001111010000
+01101000000010110100010011100111
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000011001011010110
+00100100011000101000000000000000
+00100000010000000101010100101000
+00100000010000000101001101011111
+01111001001000000000000000100101
+01000100101100000100000000101100
+01110000010000100111001000000000
+01110000000000111111100000000000
+01101000000000001100000100110010
+11000000100000100101011000001100
+01110000000000111110001100100001
+11011000010000000000000000000000
+00100000010000000100100011101010
+01110000010000111101001000000000
+01110000000001000001110000000000
+01110000000010110111110100101100
+00100000010000000101011000100000
+00100000001000000011001010111101
+11011010001000000000000000000001
+01101000000000001000001101000000
+11000011100000110000000000000000
+11011010001000000000000000000000
+00100000011000000000000000000000
+11011000110000000100010011111111
+00100000001000000111111110110010
+11011010001000000100010011111111
+00100000001000000111111110101100
+11011010001000000100010011111111
+00100000001000000111111110101110
+11011010001000000100010011111111
+00100000001000000111111110110000
+11011010001000000100010011111111
+00100000001000000111111110010010
+01111001001000000000000000100101
+01000100101100001100000000101100
+01101000000000001000001111010111
+11000011100000101000000000000000
+11011010001000000100010011111111
+00100000010000000111111110011111
+00100100001110100101011000110000
+01101000000000001100000100110010
+11000000100000001101100010010000
+11011000001000000000000000000000
+00100000010000000100010010100011
+00011000001000100111111000000000
+00100100011110100000000000000000
+00100000001000000101100010010000
+00011111111000100000010000000000
+01111001001000000000000000100101
+01000100101100010100000000101100
+00011000010000100111111000000000
+11000011000000101101011001001011
+00011000000000000000001000000011
+01111001001111111111111000000101
+01100000000000001100010001000000
+01111001001000000000000000100101
+01000100101100011100000000101100
+01101000000000001100010001000000
+11000000000000000101011010001111
+11000000000000001101011010010001
+11000000000000010101011010010011
+11000000000000011101011010010101
+11000000000000100101011010100110
+11000000000000101101011010110111
+11000000000000110101011010111001
+11000000000000111101011010111111
+11000000000001000101011011000001
+11000000000001001101011011000001
+11000000000001010101011011000101
+11000000000001011101011011000111
+11000000000001100101011011001001
+11000000000001101101011011001111
+11000000000001111101011011010001
+00100000001000000011101111110001
+01110000010001000100001100000000
+00011000000000000000001000000010
+11000011000000110101011001100010
+11000000001010010101011001100010
+11000000011010010101011001100010
+01110000010001000100001000000110
+01111001001111111111111000000110
+01100000000000001100010001000100
+01111001001000000000000000100101
+01000100101100100100000000101100
+01101000000000001100010001000100
+11000000000000001101011011100101
+11000000000000010101011011101101
+11000000000000011101011011110101
+11000000000000100101011011111010
+11000000000000101101011011111111
+11000000000000110101011100000001
+11000000000000111101011100001011
+11000000000001000101011100010010
+11000000000001001101011100010111
+11000000000001010101011100011110
+11000000000001011101011100100001
+00100000001000000011101111110001
+01110000010001000100001000000100
+01100000000000001100010001000100
+01111001001000000000000000100101
+01000100101100101100000000101100
+01101000000000001100010001000100
+11000000000000001101011100101001
+11000000000000010101011100101111
+11000000000000011101011100101111
+11000000000000100101011100110010
+11000000000000101101011100110111
+11000000000000110101011101001000
+11000000000000111101011101010010
+11000000000001000101011110010011
+11000000000001001101011110011011
+11000000000001010101011110111110
+11000000000001011101011111000110
+11000000000001100101011111010001
+11000000000001101101011111010110
+11000000000001110101011111100101
+11000000000001111101011111101100
+11000000000010000101100000010010
+11000000000010001101100000011010
+11000000000010010101100000111110
+11000000000010011101100001000101
+11000000000010110101100001011110
+11000000000010111101100001100000
+11000000000011000101100001100010
+11000000000011001101100001100100
+11000000000011011101100001110011
+11000000000011101101100010000010
+11000000000011110101100010000100
+11000000001010010101100010000110
+11000000011010010101100010001000
+11000000010011110101011010000110
+11000000010011111101011010001000
+00100000001000000011101111110001
+01110000000010110111110100010000
+00100000010000000101011000100000
+01011000000000000000000000010001
+01100000000000010100010000111110
+01101000000000001000001111010111
+01111001001000000111111000000101
+01100000000000001000001111010111
+01110000000010110111110100010010
+00100000001000000101011000100000
+00011000000000000000010000001100
+00100000001000000101100010010010
+00011000000000000000010000001000
+00100000001000000101100010010010
+00011000000000000000010000000010
+00100000001000000101100010010010
+00011000000000000111111000000000
+11100000101001000000000000000000
+11100000101000010000000000000000
+00011000101000100000010000000000
+11011000101000000000001110000000
+00011000000000000111001000001000
+00100000010000000110001000100111
+01101000000001000000001110000000
+11100000010001000000000000000000
+00011000101000100000010000000000
+11011000101000000100010001110011
+00011000000000000111001000000100
+00100000010000000110001000100111
+01101000000000100100010001110011
+11100000010000100000000000000000
+00011000000000000000010000010111
+00100000001000000101100010010010
+00011000101000100000010000000000
+11011000101000000000001110001000
+00011000000000000111001000001000
+00100000010000000110001000100111
+01101000000001000000001110001000
+11100000010001000000000000000000
+00011000101000100000010000000000
+11011000101000000100010001110111
+00011000000000000111001000000100
+00100000010000000110001000100111
+01101000000000100100010001110111
+11100000010000100000000000000000
+00100000010000000111010010110110
+01110000000010110111110100100101
+00100000010000000101011000100000
+00011000000000000000010000001101
+00100000001000000101100010010010
+00011000000000000000010000000001
+00100000001000000101100010010010
+00011000000000000000010000000001
+00100000001101001101100010010010
+01110000000010110111110101000110
+00100000010000000101011000100000
+00011000000000000000010000000001
+00100000001000000101100010010010
+00011000000000000000010000000010
+00100000001000000101100010010010
+01011000000000000000000000000001
+11100000101001000000000000000000
+00011000000000000000010000001001
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+01011000000000000000101000000110
+11100000101000011000000000000000
+01011000000000000001110110000111
+11100000101000010000000000000000
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000010
+00100000001000000101100010010010
+00011000101000001000101111111111
+01011000000000000000000000001100
+11100000101000010000000000000000
+01011000000000000000000000000101
+11100000101000010000000000000000
+01011000000000001011010000010010
+11100000101000010000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+01011000000000000000000000001000
+11100000101000010000000000000000
+01011000000000000000000000010000
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01011000000000000000000100101100
+11100000101000010000000000000000
+00100000010000000101100010001010
+00011000000000000000001000000010
+00100000001000000101100010010010
+01011001000000000000010000000001
+01100000000000100100010010101110
+01011000000001110000011100010000
+11100000101000011000000000000000
+01101000000000110100010010101111
+01100000000000110100010001000101
+00011000000000000000010000001011
+00100000001000000101100010010010
+01011001000000000000001100000010
+01100000000000100100010010110101
+01011000000000010000010000010000
+11100000101000011000000000000000
+01101000000000110100010010110110
+01100000000000110100010001000101
+00011000000000000000010000001011
+00100000001000000101100010010010
+00100000010000000111010010110000
+11011000101000000100010001000101
+00100000010000000111010110100011
+00011000000000000000010000010101
+00100000001000000101100010010010
+01101000000001000000001110110000
+00100000001101001101011011111101
+01101000000001000100010010011100
+00100000010000000101011100100011
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+01110000000010110111110100101001
+00100000010000000111110000100111
+01110000000010110111110101000111
+00100000010000000101011000100000
+11011000101000000000001110100000
+00100000010000000110001000100110
+01101000000001000000001110100000
+01101000000001000100010001111011
+00100000010000000101011100100011
+00100000001000000101100010010010
+01110000000010110111110101001000
+00100000010000000101011000100000
+11011000101000000100010001000101
+00011000000000000111001000001000
+00100000010000000110001000100111
+00011000000000000000010000001111
+00100000001000000101100010010010
+01110000000010110111110101001001
+00100000010000000101011000100000
+11011000101000000100010001000101
+00100000010000000110001000100110
+00100000001000000101100010001010
+01110000000010110111110101001010
+00100000010000000101011000100000
+00011000000000000111111000000000
+01100000000000001100010001000101
+01101000000000110100010011111001
+11100000101000110000000000000000
+00100000001000000101100010001010
+11011000101000000100010001000101
+00100000010000000110001000100110
+00100000001000000101100010001010
+00011000000000000000010000000110
+00100000001000000101100010010010
+01100000000001000100010001000101
+11101000110001000000000000000000
+11100000101001000000000000000000
+00011000000000000000010000010101
+00100000011000000000000000000000
+01110000000000111111110000001010
+01110000010001000100010000000001
+01101000000000011000001111111001
+01100000000000011100010001000101
+01101000000000001000001111111100
+11100000101000001000000000000000
+00100000001000000101100010001010
+01011000000000000000000000010111
+11100000101000010000000000000000
+00100000001000000101100010001010
+01101000000000010100010010111100
+01100000000000010100010001000101
+01101000000000010100010010111110
+11100000101000010000000000000000
+00100000001000000101100010001010
+00011000000000000111111000000001
+01100000000000001100010001000101
+00100000010000000101101001110100
+00100000010000000101101001111101
+00100000001110100101011101000110
+00100100001000010101011101000100
+01111000010101000111110000000000
+11100000101000010000000000000000
+11101000110000010000000000000000
+11100000101000010000000000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101011100111010
+00011000110000001000110000000010
+00100000001000000101011101000001
+00100000001101000101011100101000
+00100000001000000101100010001010
+01101000000000010100010010111100
+00100000001110100101011010001000
+01100000000000010100010001000101
+01101000000000010100010010111110
+11100000101000010000000000000000
+01101000000000010100010011000100
+11100000101000010000000000000000
+01101000000000010100010011000000
+11100000101000010000000000000000
+00100000001000000101100010001010
+00100000010000000101011101111011
+00100000011101000000000000000000
+01101000000010010100010011000100
+01011000000000000010100000000000
+10011000010001100111110000000000
+00100000001000101101011101100010
+01011000000000000010100000000001
+10011000010001100111110000000000
+00100000001000101101011100101000
+01011000000000000010100000000010
+10011000010001100111110000000000
+00100000001000101101011100101000
+01011000000000000010100000000011
+10011000010001100111110000000000
+00100000001000101101011100101000
+00100000001000000101011100101000
+01101000000010010100010011000000
+00011000110000001000110000000010
+11101000110000001000000000000000
+00011111111000100010011000000000
+00011010011000001010011000000001
+00011010011000001010011111111111
+00100000001000101101011100101000
+11101000110000010000000000000000
+10011000010001100111110000000000
+00100000001000101101011101101110
+00011000110000001000110000000100
+00100000001000000101011101100111
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+00011111111000100010010000000000
+00100000010000000101011110000101
+00100000011101000000000000000000
+01110000010001000100010000000111
+00011010001000100111111000000000
+01100000000000010100010001000101
+00011010010000100111111000000000
+11100000101000010000000000000000
+00011000000000000000010000001001
+00100000001000000101100010010010
+01111000010101000111110000000000
+01101000000010010100010010111100
+01101000000000010100010010111110
+10011000010001100111110000000000
+00100100001000010101011110000010
+00011000010000100111111000000000
+11000001100000000000000000000000
+01111000001101000111110000000000
+01110000000000111111110000000001
+00100000001000000101011100101001
+01111000010101000111110000000000
+01101000000010010100010010111100
+00011010001000100111111000000000
+10011000010001100111110000000000
+00100100001000010101011110010001
+01101000000000010100010010111110
+10011010010001100111110000000000
+00100100001000010101011110010001
+00011010010000100111111000000000
+10011010001001100111110000000000
+00100100001000010101011110010001
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000101011100101000
+01101000000000010100010010111100
+11100000101000010000000000000000
+01101000000000010100010010111110
+11100000101000010000000000000000
+01101000000000010100010011000000
+11100000101000010000000000000000
+00011000000000000000010000001011
+00100000001000000101100010010010
+01101000000010010100010011000000
+01011000000000000010100000000011
+10011000010001100111110000000000
+01011000000000000000000000000111
+00100000001000101101011110100101
+01011000000000000010100000000000
+10011000010001100111110000000000
+01011000000000000000000000000110
+00100000001000101101011110100101
+00100000001000000101011100101000
+01100000000000001100010001000101
+00100000010000000101101001110100
+00011000000000000110000000000011
+00100000010000000101101001111101
+00100000001110100101011110111100
+00100100001000010101011110111000
+10011000000000000010001000000000
+11101000110000010000000000000000
+10011000010001100111110000000000
+00100100001000101101011110111001
+01111000010101000111110000000000
+00011010001000100111111000000000
+11100000101000010000000000000000
+11101000110000001000000000000000
+00011111111000001111001000000100
+00100000010000000111111001000101
+00011110000000001110000111111111
+00100000001000101101011110111100
+00100000001000000101011110111001
+00011000110000001000110000000010
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101011110101000
+00100000001101000101011100101000
+00100000001000000101100010001010
+01101000000000001100010000111101
+00011111111000001111111111111111
+01100000000000001100010000111101
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101000110010010000000000000000
+01100000000010010100010001000101
+00100000001000000101100010001010
+01101000000010010000001111111010
+00100000010000000101101010001000
+00100000001110100101011100101000
+11101000110000001000000000000000
+00100000001110100101100010001010
+00011111111001100111110000010110
+00100000001000010101011111001110
+00011000000000000111111000010110
+00011111111000100111001000000000
+00100000010000000111111001000101
+00100000001000000101100010001010
+01011000000000000000000000000011
+01100000000000010100010001000101
+01011000000000000000000000001000
+11100000101000010000000000000000
+00100000001000000101100010001010
+01101000000000010100010011000000
+10011000000000000010001000000000
+01101000000010010000001111111010
+00100000010000000101101010001000
+00100000001110100101011100101000
+11101000110000001000000000000000
+10011010001001100111001000000000
+00100100001000010101011100101000
+00011111001001100111110000010110
+00100000001000010101011111100001
+00011000000000000111001000010110
+00011010001000100111111000000000
+10011000110000001000110000000000
+00100000010000000111111001000101
+00100000001000000101100010001010
+01011000000000000000000000000011
+11100000101000010000000000000000
+01011000000000000000000000000111
+11100000101000010000000000000000
+01011000000000000000000000001001
+11100000101000010000000000000000
+00100000001000000101100010001010
+01101000000000001100010000111101
+00011111111000100010011000000000
+11011010001000000000001101000111
+11011010010000000100010001000101
+11011001011000000000000000000000
+01111000010110001111110000000000
+00011010001000100000110000000000
+11101000110010010000000000000000
+00011000110000100010001000000000
+00100000010000000101101010001000
+00100000001110100101100000000101
+11101000110000001000000000000000
+00011111111000100111001000000000
+10011001011000001001011000000000
+00011001011001100111110000011000
+00100100001000010101100000001010
+00011010010000100000101000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+11000010000000000101011111111101
+00011000101000100010010000000000
+01111000001110001111110000000000
+00011010011000001010011111111111
+00100000001000101101100000000101
+00100000001000000101011111110010
+00100100001110001101100000010000
+01111000010110001111110000000000
+00011001011000100000010000000000
+00011000010000001000010000000101
+00100000001000000101100010010010
+00100100001110001101100000010000
+01111000010110001111110000000000
+00011001011000100111111000000000
+10011111001001100000010000000000
+00011000010000001000010000000101
+00100000001000000101100010010010
+01110000000000111111110000010000
+00100000001000000101011100101001
+01101000000000010000001111111010
+00100000001110100101011010001000
+11100000101000010000000000000000
+01011000000000001111111111111111
+11100000101000010000000000000000
+01011000000000000010100000000000
+11100000101000010000000000000000
+00100000001000000101100010001010
+01011000000000000000000000000110
+01100000000000001100010001000101
+01101000000000010100010011000000
+10011000000000000010001000000000
+00100000010000000101101001110100
+00011000000000000111001000000011
+00100000010000000101101001111101
+00100000001110100101100000110101
+00100100001000010101100000111010
+10011000000000000110000000000000
+11101000110000010000000000000000
+10011010001001100111110000000000
+00100100001000101101100000111011
+00011110000000100111111000000000
+00100000001101000101100000101111
+00011111111000001111111111111111
+11100000101000010000000000000000
+11100000101010010000000000000000
+00011111111000001111111000000001
+00011111001000001111001111111111
+00100000001000101101100010001010
+01111000010101000111110000000000
+11100000101000010000000000000000
+00011000110000001000110000000001
+11101000110010010000000000000000
+00011000110000001000110111111101
+00100000001000000101100000111011
+00100000001101000101011100101000
+00011000000000000111111111111111
+11100000101000010000000000000000
+11100000101010010000000000000000
+00100000001000000101100010001010
+00011000110000001000110000000010
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101100000100000
+01101000000000010100010011000010
+01100000000000010100010001000101
+01101000000000001100010011000110
+00011111111000100111001000000000
+11011000110000000100010011000111
+00100000010000000111111001000101
+00100000001000000101100010001010
+01101000000010010000001111111010
+00100000010000000101101010001000
+00100000001110100101100001011100
+00011000110000001000110111111110
+11101000110010010000000000000000
+01011000000000000010100100000010
+10011000010001100111110000000000
+00100100001000101101100001011100
+00011000110000001000110000000001
+11101000110010010000000000000000
+01011000000000000000000000000001
+10011000010001100111110000000000
+00100000001000101101100001010110
+01011000000000000000000000000000
+10011000010001100111110000000000
+00100100001000101101100001011100
+00100000001000000101100001011100
+00011000110000001000110111111001
+11101000110000010000000000000000
+00011111111000001111111111111111
+01100000000000010100010011000010
+01110000000010110111110100011011
+00100000010000000101011000100000
+00011000000000000000010000000101
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+01111001001000000000000000100101
+01000100101100110100000000101100
+00011000010000001000010000000001
+00100000010000000101101010001000
+00011000110000001000110111111110
+11101000110000010000000000000000
+11011000010000000010100100000010
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011000110000001000110000000001
+00011000110000100010001000000000
+11101000110000001000000000000000
+00100000011000000000000000000000
+01110000000001000001101100000000
+01101000000000010100001010011000
+00100000010000000111111101100110
+11011000101000000100010001000100
+00011000101000001000101000000001
+01101000000010010100010011000010
+11100000101010010000000000000000
+00100000010000000101101010001000
+11101000110000001000000000000000
+00011111111000100111001000000000
+00100000010000000111111001000101
+01101000000010001000010000011011
+00011000010000001000010000000111
+00100000010000000101100010010010
+00100000001000000101101011001110
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+00011000000000000000010000000110
+00100000001000000101100010010010
+01111001001000000000000000100101
+01000100101100111100000000101100
+01011000000000000100010001000000
+10011000101001100111111000000000
+00011111111001100000010000000000
+00100000001000000101100010010010
+00011000000000000000010000000000
+00011000000000000000001000000001
+01111001001000000000000000100101
+01000100101101000100000000101101
+01100000000010001100010000111111
+00101000001000000000011000000010
+00100100001000001101100010011001
+00011000010000001111111111111100
+01100000000000010100010001000000
+01101000000010001000001111010111
+00100000010000000101011000011010
+01111101001110100000010000000100
+01111001001000000000010000000101
+00011000010000010111111011111100
+10011000001000011111111000000000
+01100000000000001000001111010111
+00011111111000010111111000011111
+01100000000000001100010000111110
+01111001001000000000000000100101
+01000100101101001100000000101101
+01101000000000001100010000111110
+00101000001000000000011000000001
+00100000011000001000000000000000
+01101000000000111100010000111111
+01101000000000001000001111000000
+11000100000000100000000000000000
+00100000010000000111010110011001
+00100000001000000111010011110111
+01111001001000000000000000100101
+01000100101101010100000000101101
+00100000010000000101011000011100
+00100100001110100011101111110001
+00100100011110100000000000000000
+01101000000000001000001101000001
+00100000011110100000000000000000
+01101000000000001000001101000000
+00101111111000000000011000000001
+00100000001000001101100011001111
+01101000000000111000001101000001
+01101000000000001000001101000000
+00101111111000000000011000000010
+00100000001000001101100011001111
+01101000000000001000001101000010
+01100000000000001000010000011000
+00011111111000100010011000000000
+01111001001000000000000000100101
+01000100101101011100000000101101
+00011010011000100111111000000000
+11000000000000000101100100100100
+11000000000000001101100100101100
+11000000000000010101100100110100
+11000000000000011101100100111000
+11000000000000100101100100111111
+11000000000000101101100101000100
+11000000000000110101100101001001
+11000000000000111101100101001100
+11000000000001000101100101001101
+11000000000001001101100101001111
+11000000000001010101100101010000
+11000000000001011101100101010001
+11000000000001100101100101010010
+11000000000001101101100101010101
+00100000001000000011101111110001
+01101000000000001000001101000001
+00011111111000010111111000011111
+00100000011110100000000000000000
+01101000000000001100000100110010
+11000000000000001101100011011000
+01101000000000010000001101000100
+11000000000000100101100100000011
+11000000000000110101100011110100
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101101100100000000101101
+00100000010000000100100101110010
+01101000000000001000001111010110
+01101000000010001000001101000000
+00011000010000010000010000000011
+00011000010011010000010000000000
+00011000010100100000010000000000
+10011000010000011111111000000000
+11100001010000010000000000000000
+01101000000010001000001101000001
+00011000010000010000010000011111
+11100001010010010000000000000000
+00011000010000100111001000000000
+00100000010000000100100101110110
+00011000010000001111001000000100
+00100000010000000100010000100100
+00100000001000000100010000110101
+01111001001000000000000000100101
+01000100101101101100000000101101
+11011000001000000000000000000010
+11101000011000010000000000000000
+11101000011000010000000000000000
+00100000001110100011101111110001
+00011111111000100111001000000000
+11011000101000000100010001000000
+00100000010000000100100101111100
+00100000001000000101100010001010
+01111001001000000000000000100101
+01000100101101110100000000101101
+11101000110000001000000000000000
+11000000000000001101100101010110
+11000000000000010101100101011011
+11000000000000011101100101100000
+11000000000000100101100101100110
+11000000000000101101100101101111
+11000000000000110101100101110000
+11000000000000111101100101110010
+11000000000001000101100101110011
+11000000000001001101100101110100
+11000000000001010101100101110101
+11000000000001011101100101110110
+00100000001000000011101111110001
+01111001001000000000000000100101
+01000100101101111100000000101101
+11101000110000011000000000000000
+01100000000000011000001111111001
+11000000000000001101100101110111
+11000000000000010101100110001110
+11000000000000011101100110010000
+11000000000000100101100110010001
+11000000000000101101100110010111
+11000000000000110101100110011010
+11000000000000111101100110100100
+11000000000001000101100110100101
+11000000000001001101100110101101
+11000000000001010101100110101110
+11000000000001011101100110110010
+11000000000001100101100110110101
+11000000000001101101100110111001
+11000000000001110101100110111010
+11000000000001111101100111000000
+11000000000010000101100111000001
+11000000000010001101100111001001
+11000000000010010101100111001010
+11000000000010011101100111011010
+11000000000010110101100111011100
+11000000000010111101100111011101
+11000000000011000101100111011110
+11000000000011001101100111011111
+11000000000011011101100111100000
+11000000000011101101100111101011
+11000000000011110101100111101100
+11000000001010010101100111101101
+11000000011010010101101000000001
+00100000001000000011101111110001
+11101000110001001000000000000000
+01100000000001001100010000110100
+11101000110000010000000000000000
+01100000000000010000001111100000
+01101000000000001000001111000000
+01111001001000000111111000000101
+01100000000000001000001111000000
+00100000011000000000000000000000
+11101000110000101000000000000000
+01100000000000101100010000101111
+11101000110000010000000000000000
+01100000000000010000001111100000
+01101000000000001000001111000000
+01111001001000000111111000000110
+01100000000000001000001111000000
+00100000011000000000000000000000
+01101000000000001000001111100100
+01111001001000000111111000000011
+01100000000000001000001111100100
+00100000011000000000000000000000
+00011000110000001000110000001010
+11101000110001000000000000000000
+01100000000001000000001110000000
+11101000110000100000000000000000
+01100000000000100100010001110011
+01110000000010110111110100100100
+00100000001000000101011000100000
+11101000110001000000000000000000
+01100000000001000000001110001000
+11101000110000100000000000000000
+01100000000000100100010001110111
+00100000001000000111010010110110
+01101000000000001000001111000000
+01111001001000000111111000000100
+01100000000000001000001111000000
+01110000000010110111110100100110
+00100000001000000101011000100000
+00100000011101001000000000000000
+01110000000010110111110100100110
+00100000001000000101011000100000
+00100000011000000000000000000000
+01110000000010110111110100101001
+00100000001000000101011000100000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011101001000000000000000
+01110000000010110111110100101100
+00100000001000000101011000100000
+00100000011000000000000000000000
+01100000000000001100010010101110
+11101000110000110000000000000000
+11100000101000110000000000000000
+01110000000010110111110101000010
+00100000001000000101011000100000
+01100000000000001100010010110101
+11101000110000110000000000000000
+11100000101000110000000000000000
+01110000000010110111110101000011
+00100000001000000101011000100000
+11011000101000000100010010001100
+00100000010000000111111000110101
+01110000000010110111110101000100
+00100000001101001101011000100000
+01110000000010110111110101000011
+00100000001000000101011000100000
+00100000010000000111010010101000
+00100000001000101101100101101010
+01110000000010110111110101000101
+00100000001000000101011000100000
+00100000010000000111010010100101
+01110000000010110111110100100011
+00100000001101001101011000100000
+01110000000010110111110101000100
+00100000001000000101011000100000
+00100000011000000000000000000000
+11011000101000000000001110010000
+00100000001000000111111000110101
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00011000110000001000110111111110
+11101000110010001000000000000000
+01011000000000000000000000000110
+10011000010001100111110000000000
+00100000001000101101100110001001
+01011000000000000000000000000100
+10011000010001100111110000000000
+00100000001000101101100110001010
+01011000000000000000000000001000
+10011000010001100111110000000000
+00100000001000101101100110001011
+01011000000000000000000000001100
+10011000010001100111110000000000
+00100000001000101101100110001100
+01011000000000000000000000001110
+10011000010001100111110000000000
+00100000001000101101100110001101
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000010110111110100000011
+00100000001000000101011000100000
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100000000000010100010010111100
+11101000110000010000000000000000
+01100000000000010100010010111110
+01110000000010110111110100000101
+00100000001000000101011000100000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100000000000010100010010111100
+11101000110000010000000000000000
+01100000000000010100010010111110
+11101000110000010000000000000000
+01100000000000010100010011000100
+11101000110000010000000000000000
+01100000000000010100010011000000
+01110000000010110111110100000111
+00100000001000000101011000100000
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100000000000010100010010111100
+11101000110000010000000000000000
+01100000000000010100010010111110
+11101000110000010000000000000000
+01100000000000010100010011000000
+01110000000010110111110100001001
+00100000001000000101011000100000
+00100000011000000000000000000000
+01101000000000010000001101000111
+01100000000000010000001111111010
+01110000000010110111110100001011
+00100000001000000101011000100000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+11101000110000010000000000000000
+01100000000000010100010011000000
+01110000000010110111110100001101
+00100000001000000101011000100000
+00100000011000000000000000000000
+01101000000000001000001101000001
+00011111111000001111111111111011
+00011111111000110111111000000000
+01100000000000001100010000111101
+01110000000010110111110100001111
+00100000001000000101011000100000
+00100000011000000000000000000000
+00011111111011001111111000000000
+01100000000000010100010010111100
+11101000110000010000000000000000
+01100000000000010100010010111110
+11101000110000010000000000000000
+01100000000000010100010011000000
+01110000000010110111110100010001
+00100000001000000101011000100000
+00100000011000000000000000000000
+01101000000000001000001101000001
+00011111111000001111111111111001
+00011111111000100111001000000000
+01101000000010010000001111111010
+00100000010000000101101010001000
+00100000001110100101100111011000
+11101000110000001000000000000000
+10011111001001100111110000000000
+00100100001000010101100111011000
+00011000110000100000101000000000
+11011000110000000000001101001001
+00100000010000000111111001000101
+01110000000010110111110100101000
+00100000010000000111110000100111
+01110000000010110111110100010011
+00100000001000000101011000100000
+01101000000000001000001111100011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+11101000110000101000000000000000
+01100000000000101000111111110001
+01110000000011111111000000000001
+00100000010000000111110011011011
+00100000011000000000000000000000
+00011010001000100000110000000000
+11101000110001000000000000000000
+01100000000001000000111111110001
+01110000000011111111000000000010
+00100000010000000111110011011011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001000001101000001
+00011111111000001111111111111001
+00011111111000100111001000000000
+01101000000010010000001111111010
+00100000010000000101101010001000
+00100000001110100101100111111101
+11101000110000001000000000000000
+10011111001001100111110000000000
+00100100001000010101100111111101
+00011000110000100000101000000000
+00011000110000100010001000000000
+00011111001000100010010000000000
+11011000110000000000001101001001
+00100000010000000111111001000101
+01110000000001001000000100000001
+00100000010000000101100111111110
+00100000011000000000000000000000
+01101000000000010100001010010110
+00100000011110100000000000000000
+10011000000000000111101000000000
+00100000011000000000000000000000
+01101000000010100000001111011100
+00100000010000000011101111011110
+10011000010001100001011000000000
+00011001011000100111111000000000
+01101000000010010000001111101111
+00011000010100100000010000000000
+00011000010000111000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+00100000010000000011101111011110
+01100000000000100000001111011100
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101110000100000000101110
+01101000000000001100001111011000
+00100000011110100000000000000000
+11011000111000000000000000000001
+00100000010000000111111001010011
+00100100011110100000000000000000
+01111000010101001111110000000000
+01111000001010000111110000000000
+00100000010000000101010101110010
+00100000010000000101010000101100
+00100000010000000101010011011110
+00100100001101101101101000100100
+01111001001000000000000000100101
+01000100101110001100000000101110
+01101000000000001000000000000011
+00011111111000001111111000000001
+01100000000000001000000000000011
+01101000000000001000001101000000
+00011111111000010111111000001111
+11000000000000011101010100011001
+11000000000000101101101001000001
+00100000000000000010011100010000
+01101000000000001000000000010110
+11000000100100111101101000001110
+00100000010000000101101011011000
+11011000111000000000000000000001
+01101000000000010100010011011001
+00100000001000000111111001001100
+01111001001000000000000000100101
+01000100101110010100000000101110
+01101000000000001000001111111000
+00100000010000000101010000000101
+01101000000000010000001111000010
+10011000010011111111111000000000
+11011000010000000000000101110111
+10011000010011111111111000000000
+11011000010000011000011010100000
+10011000010001101111110000000000
+01101000000000001000001111101100
+11011000010000000100111000100000
+10011000010011111111111000000000
+01100000000000100100011011111001
+01111001001000000000000000100101
+01000100101110011100000000101110
+01101000000000010100000101100001
+00100000010000000111111011111101
+00011000000001111000010000000000
+10011000010000001111111000000000
+01100000000000010000001111001110
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101110100100000000101110
+01101000000000110000001101001000
+01101000000010110100010011111001
+10011000010001100111110000000000
+00100100011000101000000000000000
+00100000010000000101011000010011
+00011010001000100111111000000000
+01100000000000001100010011100110
+01101000000000111000001101010101
+01100000000000111000000100000011
+11101000110001000000000000000000
+11100000101001000000000000000000
+01101000000000110000001101000010
+01100000000000110000001111010000
+01111001001000000000000000100101
+01000100101110101100000000101110
+00011000110000001000110000000110
+11101000110001000000000000000000
+01100000000001000000001111100101
+11101000110010010000000000000000
+00011000010010111000010000000000
+11101000110000010000000000000000
+00011111111010111111111000000000
+01100000000000010000001111000010
+01100000000000100000001111000100
+10011000010001100111111000000000
+00011111111000001101000111111110
+11101000110001001000000000000000
+01100000000001001000001111101101
+01111001001000000000000000100101
+01000100101110110100000000101110
+11101000110000001000000000000000
+00011111111100011000010000000000
+00011000010000110000010000000000
+01100000000010001000001111111000
+00011111111000010111111000011111
+01100000000000001000001111011001
+00100000010000000101101000101011
+00100000010000000101010001000111
+00100000010000000101001101101100
+00100000010000000011001011010110
+00100100011000101000000000000000
+01111001001000000000000000100101
+01000100101110111100000000101110
+11011000010000000000000000000000
+00100000010000000100100011101010
+00100000010000000011100110101100
+01110000000010110111110100010100
+00100000010000000111110000100111
+00100000001000000011001010111101
+01111001001000000000000000100101
+01000100101111000100000000101111
+01101000000000010100010010111100
+10011000000000000010010000000000
+01101000000000010100010010111110
+10011000000000000010011000000000
+11011000110000000100010100000100
+01111000001101000111110000000000
+00100000011000000000000000000000
+11101000110000010000000000000000
+00100000011110100000000000000000
+10011010010001100111110000000000
+00100100011000010000000000000000
+10011010011001100111110000000000
+00100000011000101000000000000000
+00100000001000010101101010000110
+00011000000000000111110000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+11011000110000000100010100000100
+11101000110000010000000000000000
+00100000011110100000000000000000
+00011000110000001000110000000010
+10011000010001100111110000000000
+00100000011000101000000000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101101010001001
+01110000010001001100011000000010
+01011000000000000000000000000001
+01100000000000010100010011000111
+01110000000000111110001100100101
+01110000000010110111110100010010
+00100000001000000101011000100000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101111001100000000101111
+01101000000000001100000100110010
+11000001100000100000000000000000
+01101000000000001000001111100011
+11000000000100001101101010010001
+11000000000100101101101010010111
+11000000000100110101101010011000
+00100000011000000000000000000000
+01011000000000000101101010101110
+01100000000000010100001010001100
+01110000100000000110001010000001
+01011000000000000000000110100000
+01100000000100010000000001010010
+01110000100000000100001100000001
+01110000100000001000000100000100
+01011000000000000101101011000110
+01100000000000010100001010010110
+00100000010000000101001101000111
+00100000011101011000000000000000
+00100000001000000110100100011101
+01101000000000001000001111000001
+00101111111000011111111000000001
+01011000000000000000000000000101
+00100000010000001110101000000100
+00100100010000001110100111111111
+00100000010000000110100011111101
+00100000001110100101101010111110
+01101000000000010000010000011001
+10011000000000000000101000000000
+00011111001001100111110000010100
+00100000001000010101101010111010
+00011000000000000111001000010100
+11101000011000001000000000000000
+11100000101000001000000000000000
+11000010000000000101101010111010
+00100000010000000110100100000110
+01110000010001001100001000010100
+01101000000010010000010000011001
+11101000010000001000000000000000
+00100000011110100000000000000000
+00100000010000000101011000011100
+00100100011110100000000000000000
+01110000000010110111110100011011
+00100000001000000101011000100000
+00011010010000100000010000000000
+00100000010000000110100011110111
+00011010001000100000110000000000
+00011010010000100111001000000000
+11101000110000001000000000000000
+11100001010000001000000000000000
+11000010000000000101101011001010
+00100000001000000110100011111010
+01101000000000001100000100110010
+11000001100000110000000000000000
+01101000000000010100010011000010
+11000001100010100000000000000000
+01101000000010010000010000011001
+01011000000000000000000000000000
+11100000010001001000000000000000
+11100000101001001000000000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+01101000000010001100001111010111
+01111001010000000000010000000111
+00100000001000000110100111110011
+01111001001000000000000000100101
+01000100101111010100000000101111
+00100000010000000101101011011111
+00100000001000000101101011101101
+01101000000000001100010000011001
+00011111111000100111001000000000
+11011000010000000010101000000000
+00100000010000000101101100001100
+00011000110000001000110000000001
+00011000110000100000101000000000
+11011000110000000100010000011010
+00100000010000000111111001000101
+01101000000000001100010000011001
+00011111111001100111001000010100
+00011111001000100000010000000000
+00011111001000100111111000000000
+00100100010110100101101100010101
+00100000011000000000000000000000
+01101000000000001100001111011001
+01101000000010001100001111011010
+10011000010001100111111000000000
+00011111111000100111001000000000
+00011111111000100010001000000000
+01101000000000001100001111011010
+00011111111000001111111000000001
+11011000110000000100001111011010
+10011000110000001000110000000000
+11011000101000000000010000011101
+00100000010000000111111001000101
+01111001001000000000000000100101
+01000100101111011100000000101111
+01101000000000001100010000011001
+00011111111000100111001000000000
+00011111111000001111111000000001
+01100000000000001100001111011010
+11011000101000000100001111011100
+11011000110000000100010000011010
+00100000010000000111111001000101
+00011010001000100111001000000000
+11011000110000000000010000011101
+00100000010000000111111001000101
+01101000000000001100001111011010
+10011010001000001111111000000000
+01100000000000001100001111011001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101111100100000000101111
+11011000010000000010101000000000
+00100000001000000101101100001100
+11011000110000000100010100000100
+11101000110000010000000000000000
+00100000001110100011101111110001
+11101000110000010000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+11101000110000001000000000000000
+10011000110000001000110000000000
+00100000001000000101101100001101
+01011000000000000000000000100000
+11100000101000001000000000000000
+11000010000000000101101100010101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101111101100000000101111
+01111000010101011111110000000000
+00100000001101110101101100011110
+00100100001101101101101100101010
+00100000010000000011110101110110
+01101000000000010100000101100001
+01100000000000010000001111001110
+01101000000000001000001101000000
+00101111111000000000011000000001
+00100100001000001011110110001010
+01101000000000001100010000111110
+00101111111000000000011000000001
+00100100001000001011110110001010
+01101000000000001000001111000000
+11000010100000101011110110001010
+00100000001000000011110101101111
+01101000000010010100000101100001
+00011000010000110000010000000000
+01101000000000010000001111001110
+10011000010000001111111000000000
+01100000000000010000001111001110
+00100000001000000011110110000010
+01111001001000000000000000100101
+01000100101111110100000000101111
+01110000010001101111100000000000
+01101000000010010100010011000010
+00100000010000000101100001100110
+00011010001000100000101000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000001100000100110010
+11000001100001010000000000000000
+00100000010000000111111101101110
+11011010001000000000001111010000
+00100000010000000111111010011101
+01011000000000000000000000101100
+11100001010000001000000000000000
+00100000010000000100000111010100
+00100000001000000110100011111010
+11011000010000000000000000010100
+00100000010000000101100001100110
+11000100000000000000000000000000
+00100000010000000101011000011100
+00100100011110100000000000000000
+11011000010000000000000000010100
+01100000000010010100010011000010
+00100000010000000101101010001000
+00100000001110100011101111110001
+00011000110000001000101000000001
+11011111001000000000000000010100
+11011000110000000000010001101101
+00100000010000000111111001000101
+01110000000010110111110100011011
+00100000001000000101011000100000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100101111111100000000101111
+01101000000000001000001101000001
+11011000110000000000001101001000
+10011000110000001111001000000000
+11101000110010001000000000000000
+11101000110000001000000000000000
+10011010001001100111110000000000
+00100000011000101000000000000000
+00011000010000001111111111111111
+10011000110000001000110000000000
+00011111001000100111111000000000
+10011000110001100111110000000000
+00100000001000010101101101010111
+00011000000000000111110000000001
+00100000011000000000000000000000
+00100000011101011000000000000000
+01011000000000000000000000000000
+01100000000000001000000001001000
+01100000000000001000000001010101
+01100000000000001000000001111000
+01100000000000001000000001111100
+01100000000000001100000111111001
+01100000000000001000010001010011
+01100000000000001000000101110111
+01100000000000001000011111100001
+01110000010001110100100000000000
+01110000000000100101100000000000
+01110000000001000101010000000000
+01111001001000000000000000100101
+01000100111100000100000000111100
+01110000000001111110000100000000
+01110000000001111110000000000000
+01110000000001000100110100000000
+01101000000000001100000100110010
+11000001100000001000000000000000
+01110000010000100101111000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111100001100000000111100
+00100000010101001110001000011001
+00100100010101001110001000011101
+01101000000000001000000001111100
+00100100010110100110000111011001
+01101000000000001000000001111100
+00100100011110100000000000000000
+01101000000000001000000001001100
+11000100000000110000000000000000
+01111001001111111111111000000110
+01111001001111111000000000000001
+01100000000000001000000001001100
+01101000000000001000010011011110
+01101000000010001000000001001100
+00101111111011111111111000000000
+01111001001000001000010000000001
+01100000000010001000000001001100
+00011000010000010000010000000010
+01100000000010001000000001111111
+01101000000010001000000001001100
+00011111111000110111111000000000
+01100000000000001000000001111101
+01111001001000000000000000100101
+01000100111100010100000000111100
+01101000000000001000000001111101
+11000000001111111101101111011100
+11000000000000011101110001010110
+11000000000000100101110001100111
+11000000000111100101101111001111
+11000000000000101101101111001011
+11000000000001111101111001001000
+11000000000010000101110011100001
+11000000000100011101110011111111
+11000000000111001101111001100111
+11000000000111000101111001100010
+11000000000110001101110011100100
+11000000000110111101110101110010
+11000000000100111101110101101110
+11000000000110011101110101101000
+11000000000100101101110101110000
+11000000000100110101110011111011
+11000000000000111101110011110011
+11000000000101101101110011101010
+11000000000101110101110011101011
+11000000000000001101110101100100
+11000000000000010101110101001111
+11000000000101000101111001010011
+11000000000001001101110101000101
+11000000000001011101110100011010
+11000000000001000101110100000000
+11000000000001100101110100101100
+11000000000011111101110011110111
+11000000000100000101110011111001
+11000000000100001101110110001101
+11000000000100010101110110001110
+11000000000110101101110110001111
+11000000000110110101110110010000
+11000000000100100101110110010001
+11000000000101100101110110010010
+11000000000101011101110110010101
+11000000000110100101110110011111
+11000000000010111101110110100010
+11000000000010001101110110110111
+11000000000010010101110110111011
+11000000000010011101110110111101
+11000000000001101101110111001111
+11000000000001110101110111010000
+11000000000101111101110101101100
+11000000000110000101110111010001
+11000000000001010101110111010010
+11000000000011000101110111010011
+11000000000110010101110111011010
+11000000000111101101110111011011
+11000000000111110101110111111111
+11000000000111111101110111111001
+11000000001000000101111000100010
+11000000001000001101111000110100
+11000000000000110101111001000111
+11000000000111010101101111001101
+01110000000000000111111000011001
+01110000000000000111110000000100
+00100000011000000000000000000000
+01110000000000000111110000000110
+00100000011000000000000000000000
+01110000000000000111110000111011
+00100000011000000000000000000000
+01101000000000100000010011011111
+00011111111000111111111000000000
+01100000000000100100000101110011
+01101000000000001000010011100011
+01100000000000001100000101111010
+01101000000000101000010011100100
+01100000000000101100000110001000
+01101000000000101000010011101001
+11100000101000101000000000000000
+01101000000000001000000000110001
+01111001001000000111111000000011
+01100000000000001000000000110001
+00100000011000000000000000000000
+01101000000000001000010011011111
+01111001001000000111111000000111
+01100000000000001000000001111101
+11000000010000001101110000100110
+11000000010000010101110000101110
+11000000010010101101110101110011
+11000000010010110101110110001100
+11000000010001011101110110000001
+11000000010000011101110001001001
+11000000010000100101110001001011
+11000000010010000101101111110001
+11000000010010111101110001000010
+11000000010011000101110001000111
+11000000010011001101110000010100
+11000000010011010101110000011001
+11000000010001101101110000010001
+11000000010001100101101111110100
+11000001010000100000000000000000
+01110000000000000111110010000010
+01110000000000000111111000011001
+00100000011000000000000000000000
+01110000000000000111110010000010
+01110000000000000111111000101110
+00100000011000000000000000000000
+01101000000000001000010011100000
+01100000000000001000000010101101
+01101000000000001000010011100001
+01100000000000001100000111111001
+01101000000000001000010011100011
+01100000000000001000000010101111
+01101000000000001000010011100111
+01100000000000001000000010110000
+01101000000000001000010011101100
+01100000000000001000000010101011
+11000101000000111101110000000111
+01111001001000000000000000000111
+00100000010000000101110100010110
+01100000000000001000010001010010
+00011000000000000000010000000000
+00100000001000000100100000111001
+01110000000000000111110010001100
+01110000000000001011000100000001
+00100000001000000100100110111100
+01101000000000001000000010110000
+11000000100000111101110000001011
+01110000000000000111110010000001
+00100000001000000101110000001111
+01111001001111111000000000000111
+01110000000000000111110010000010
+00011000000000000000010000000001
+00100000010000000100100100010100
+01110000000000000111110110001100
+00100000011000000000000000000000
+01110000000000000111110010000001
+01110000000000000111110110001101
+00100000001000000011100001101001
+00100000010000000101110000011101
+01101000000000001100000100110010
+11000000000000001101110000100001
+01110000000000000111110010011010
+00100000011000000000000000000000
+00100000010000000101110000011101
+01101000000000001100000100110010
+11000000000000001101110000100001
+00100000001000000101110000100010
+11011000101000000000011111101001
+01101000000000011000010011100000
+11100000101000011000000000000000
+00100000011000000000000000000000
+00100000010000000100100000001111
+00100000010000000110001000010110
+00100100010000001100100000011011
+00100000001000001111100000001111
+00100000011000000000000000000000
+01101000000000001000010011100001
+01111001001000000111111000000111
+01100000000000001000010001000101
+11000000010001011101110000110110
+11000000010001100011100001001010
+11000000010001101101110000101101
+00100000011000000000000000000000
+00100000001000000011100001101001
+01101000000000001000010011100001
+01111001001000000111111000000111
+01100000000000001000010001000101
+11000000010001011101110000111010
+11000000010001100101110000110100
+00100000011000000000000000000000
+01111001001111111000000000000111
+00100000011000000000000000000000
+01101000000000001100000111111011
+01101000000010001000000001001100
+01111101001110100000010000000101
+01100000000010001000000001001100
+01101000000000001000000000110000
+11000100000000101000000000000000
+01111001001111111111111000000101
+01100000000000001000000000110000
+01101000000000001000010001010011
+00100100001110100100100001110010
+01110000000000000111110000110001
+00100000011000000000000000000000
+00100100001101001101110001000101
+01110000000000000111110000010010
+00100000001000000110001000000101
+01110000000000000111110010010111
+00100000011000000000000000000000
+00100000010000000110001000000101
+00100000001000000101111011001101
+01110000000000000111110010000100
+00100000011000000000000000000000
+01101000000010001000010011100010
+00011000010000010000010000000001
+01100000000010001000010001001100
+01101000000000001100001001110010
+11000000101010001101110001010010
+01110000010000100111001000000000
+00100000010000000100011111111001
+01101000000000001000000001010101
+11000001100010101000000000000000
+01110000000000000101010100000100
+00100000001000000110001000110101
+01101000000000001000010011011111
+01100000000000001000010001000101
+11000000000110011101110001111101
+11000000000001000101110010010000
+11000000000001111101110010010111
+11000000000010000101110010011101
+11000000000010001101110010011110
+11000000000010010101110010100110
+11000000000011000101110011001100
+11000000000010111101110011010001
+11000000000101011011100001001010
+11000000000010011101110001110100
+11000000000111101101110111101001
+11000000000111110101111000011000
+11000000001000000101110111101011
+11000000001000001101110111101111
+00100000011000000000000000000000
+01101000000000001000010011011111
+01100000000000001000010001000101
+11000000000000001101110011000011
+11000000000110011101110010000111
+11000000000001011101110010100111
+11000000000101011101110010001110
+11000000000001000101110010111010
+11000000000010011101110001110111
+11000000001000000101110011000100
+11000000001000001101110011000111
+11000000000011000101110011001010
+11000000000010111101110011011111
+00100000011000000000000000000000
+01110000000010110111110100100000
+00100000010000000111110000100111
+00100000001000000011001001000101
+01110000000010110111110100011001
+00100000010000000111110000100111
+01110000010001110100100000000010
+01011000000000000000000001010000
+11011000111000000000000000001010
+00100000001000000111111001001100
+01101000000000001000010001001101
+01111001001000000111111000000000
+01100000000000001000010001001101
+01110000000010110111110100000001
+00100000010000000111110000100111
+01110000000000000111110010001011
+01101000000000001000000001010101
+11000000100000101101101101110111
+01110000000000000101010100000110
+00100000011000000000000000000000
+01110000000001000100011000001011
+01110000000000000111110000000111
+00011000000000000000010000010000
+00100000010000000100100000100110
+01110000000000000101010100000000
+00100000001000001101101101110111
+00100000011000000000000000000000
+01110000000000000111110000101011
+00100000011000000000000000000000
+01101000000000001100001001011110
+00100100011110100000000000000000
+00100000010000000011010100000111
+00100000010000000101111011001011
+00100000011101001000000000000000
+01111001001000000000000000100001
+00100000011000000000000000000000
+00100100011101001000000000000000
+01110000000000000111110000010000
+01101000000000001000000001001100
+11000100000000010000000000000000
+01110000000000000111110000010010
+00100000011000000000000000000000
+00100000001000000101111011001101
+00100000010000000101111100101101
+01101000000000001000000000110000
+11000011100000100000000000000000
+01110000000000000111110000110001
+01101000000000001000000001010101
+11000001100001010000000000000000
+01110000000000000101010100001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001100000100110010
+11000000100000001101110010110111
+01101000000000001100001001011110
+00100000011110100000000000000000
+01101000000010001000000001010101
+01110000000000000101010100000000
+01110000010000100101111000000000
+01101000000000001000010011100000
+11000001100000110000000000000000
+01100000000010001000000001010101
+01110000000001111110000000000001
+01101000000000010000010001001010
+01101000000010001000010001001100
+10011000010000010111111000000000
+00100000001110100100100111011010
+00100000001000000100100111010111
+01110000000000000111110000000111
+01110000000001000100011000010011
+00100000011000000000000000000000
+01101000000000001000010011100000
+11000000000000110101110011000000
+11000001100011000000000000000000
+01110000000001000100011000011000
+01110000000000000111110000000111
+00100000011000000000000000000000
+01110000000001000100011000000110
+01110000000000000111110000000111
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000001111101101000000000
+01110000000000000111110000000111
+00100000001000000101101101110111
+01110000000001111101101000000000
+01110000000000000111110000000111
+00100000001000000101101101110111
+01110000000010110111110100100100
+00100000001000000111110000100111
+01110000000010110111110100100011
+00100000010000000111110000100111
+00100000010000000011100000000110
+00011000000000000000010000000000
+00100000001000000100100100000111
+01110000000010110111110100100010
+00100000010000000111110000100111
+00011000000000000000010000000010
+00100000010000000100100100000111
+01011000000000000000000000000000
+01100000000000010000000001110101
+01101000000000010100001010000000
+00011111111000111111111000000000
+01100000000000010000000000110010
+01101000000000001100001010000010
+01100000000000001000000001110011
+01101000000000001100001010000100
+01100000000000001000000001110100
+00100000001000000011011111100001
+01110000000010110111110100100001
+00100000001000000111110000100111
+01101000000010001000010011011111
+01100000000010001000000001010100
+00100000001000000101110011110101
+01101000000000001000010001001101
+01111001001000000111111000000010
+01100000000000001000010001001101
+11000011100000011000000000000000
+01110000000000000111110000110001
+00100000001000000101101101110111
+00100000011000000000000000000000
+01101000000000001100000101110001
+01101000000010001000010011011111
+10011000010001100111110000000000
+00100000001000010101110011110101
+01110000000000000111110000000100
+01110000000000000111111000011111
+01110000000000000111110100101110
+00100000011000000000000000000000
+00100000010000000110000001011010
+00100000001000000101110011110101
+01110000000000000111110000000011
+00100000011000000000000000000000
+01110000000000000111110000100001
+00100000011000000000000000000000
+01110000000000000111110000100010
+00100000011000000000000000000000
+01101000000000001000000001010101
+11000001000010011000000000000000
+01110000000000000101010100000010
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000101111011001000
+01110000000001000101000000000001
+01101000000000001100000100110010
+11000000000000001101110100000110
+01110000000010110111110100001010
+00100000010000000111110000100111
+00100000010000000100100001111011
+00100000010000000110001000001101
+00100100001000001101111011010000
+00100100001101001101110100001110
+01110000000000000111110000000100
+01110000000000000111110100001000
+01110000000000000111111000100011
+00100000011000000000000000000000
+01101000000000001000000001001011
+01111001001000000111111000000010
+01100000000000001000000001001011
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111101001110100000010000000001
+01100000000010001000000001001100
+00100000011000000000000000000000
+01101000000000001000000001111111
+00011111111000110111111000000000
+00011111111000010111111000000001
+00100000011000000000000000000000
+00100000010000000101110100010110
+01100000000000001000010001010001
+00100000010000000101111011001000
+01110000000000000111110000001100
+01101000000000001100001001011110
+00100100011110100000000000000000
+01101000000000001000000000110000
+11000011100000110000000000000000
+01110000000000000111111000000110
+01101000000000001100000100110010
+11000000100000001101101111001001
+01101000000000001000010001010011
+00100100001110100101101111001001
+01110000000000000111110000000000
+01101000000000001000000001001011
+01111001001000000111111000000000
+01100000000000001000000001001011
+00100000001000000100100001110010
+11011010001000000000000001000000
+00100000010000000111001110011101
+01101000000000100000010011011111
+01101000000010100000010100011111
+10011000010001100111110000000000
+00100000001000101101110100110101
+01110000000000000111110000000111
+01110000000001000100011000000101
+00100000011000000000000000000000
+00100000010000000111010010011011
+00100000010000000011001000010001
+01101000000000001000000001001011
+00101111111011111111111000000001
+01111001001111111111111000000001
+01100000000000001000000001001011
+00100000010000001100100010111100
+01101000000000001000000001010101
+11000000000011001101110101000000
+11000000000011000101110101000000
+00100000011000000000000000000000
+01101000000000001000011111100001
+11000001100000000000000000000000
+01101000000000001000000001001100
+11000011100000010000000000000000
+00100000001000000110001011001111
+11011010001000000000010011011111
+11011010010000000000010100001111
+11011000101000000000010011101111
+00100000010000000111010001100111
+11011010001000000000000001000000
+00100000010000000110001000101011
+01110000000000000111110000001011
+01101000000000001000000000110000
+11000011000000110101111011001011
+00100000011000000000000000000000
+01101000000000010000000101101001
+00011111111000001111001111111101
+01101000000010001000010011011111
+01011000000000000000000100000011
+10011000010000001000101000000000
+11011000110000000000010011100001
+00100000010000000111111001000101
+01101000000010001000000001010011
+01101000000000001000010011100000
+10011000010001100111111000000000
+00011111111001100111110000001110
+00100000001000010101110101011111
+00011000010000001111111000001110
+01100000000000001000000001010011
+01110000000000000111110000000001
+00100000011000000000000000000000
+01101000000000001000000001001100
+01111001001000000111111000000011
+01100000000000001000000001001100
+11000010100000100101111011010101
+00100000011000000000000000000000
+01101000000000001000010011011111
+01100000000000001000000001111101
+01110000000000000111110000000010
+00100000011000000000000000000000
+01101000000000001100000100110010
+11000000100000001101110011110101
+00011000000000000000010000000001
+00100000001000000100100000111001
+01110000000000000111110000110000
+00100000011000000000000000000000
+01110000000000000111110000101000
+00100000011000000000000000000000
+01110000000000000111110000100110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000010000000000110010
+10011000000000000000010000000000
+01101000000000001000010011100000
+01100000000000001000000010010111
+10011000010011111000010000000000
+01101000000000010000010011100001
+00011111111000111111111000000000
+01100000000000010000000010011000
+01101000000000100000010011100011
+00011111111000111111111000000000
+01100000000000100000000010010011
+00011000010000100111111000000000
+01100000000000010000000010011010
+00100000011000000000000000000000
+01101000000010001100000111111011
+01101000000000001000010011100000
+10011000010000101111110000000000
+00100100001000101101101111101110
+00101111111011111111111000000000
+01101000000000001000000001001100
+01111001001000001111111000000101
+01100000000000001000000001001100
+01110000000000000111110010000001
+01110000000000000111110110001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000001000000101110011110101
+00100000001000000101110011110101
+00100000011000000000000000000000
+00100000010000000011100001011110
+01110000000000000111110100101100
+00100000001000000101110011110101
+01101000000000001000010011011111
+01100000000000001000000010101101
+01101000000000001000010011100001
+01100000000000001000000010101111
+01101000000000001000010011100100
+01100000000000001000000010101011
+00100000010000000101110100010110
+01100000000000001000010001010010
+00011000000000000000010000000000
+00100000001000000100100000111001
+01101000000000010000010011011111
+01100000000000010000000101111011
+00100000011000000000000000000000
+01101000000000001000000000110000
+11000010100000001101110110110101
+01101000000000010000010011100000
+00011111111000111111111000000000
+01100000000000010000000001110101
+01101000000000010000010011100010
+00011111111000111111111000000000
+01100000000000010000000000110010
+01101000000000010000010011100100
+01100000000000001000000001110011
+10011000000000000000010000000000
+01101000000000010000010011100110
+01100000000000001000000001110100
+10011000010001100111110000000000
+00100100001000010101110110110010
+01100000000000001000000001110011
+01110000000000000111110000000011
+01110000000000000111110100010111
+00100000011000000000000000000000
+01110000000000000111111000100100
+00100000001000000101101111001001
+00100000010000000101110011110101
+00100000010000000101111011001000
+00100000010000000111001110100000
+00100000001000000011011111010000
+00100000010000000101110011110101
+00100000001000000011011111011010
+01101000000000100000010011011111
+00011111111000111111111000000000
+00100000001101001101110111001001
+01101000000010001100001001011110
+00100100001110100101110111000110
+01110000000000000111110000000100
+01110000000000000111110100010011
+01110000000000000111111000100100
+00100000011000000000000000000000
+01110000000000000111110000110100
+01110000000000000101010100000000
+00100000001000000011001001000001
+00100000010000000011001001000001
+01111001001000000000000000100010
+01101000000000001000000101110111
+01111001001111111111111000000010
+01100000000000001000000101110111
+00100000001000000101110011110101
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100011000
+01110000000010110111110100101110
+00100000010000000111110000100111
+00011000000000000000010000000000
+00100000010000000100100100000111
+00100000001000000011100000000110
+00100000011000000000000000000000
+01101000000000001000010011011111
+11000000100000001101110111100111
+01101000000000001000010011100000
+11000000100000001101110111100111
+01101000000000001000010011100001
+11000000100110000101110111100111
+00100000010000000110001000010110
+00100000001000001101110111100100
+01110000000001111101101000000001
+01110000000000000111110000000011
+01110000000000000111110100111101
+00100000001000000101101101110111
+01110000000000000111111000100100
+00100000001000000101101111001001
+01110000000000000111110000111110
+00100000011000000000000000000000
+00100000010000000110001000010110
+00100000011000001000000000000000
+01110000000001111101101000001000
+00100000011000000000000000000000
+00100000010000000110001000010110
+00100100010000001111101010011101
+00100000010000001111101010101011
+00100000010000000100100001100000
+00100000010000000100100001101001
+00100000010000000110001000010110
+00100000011000001000000000000000
+01110000000001111101101000001100
+01110000000001111101110000000001
+00100000011000000000000000000000
+11011000101000000000100010001000
+01101000000001000000010011011111
+11100000101001000000000000000000
+01101000000001000000010011100111
+11100000101001000000000000000000
+00100000001000000111100000001111
+01101000000000001000011111011011
+11000000000000111101111000000011
+01101000000000001000011111011010
+11000000100000001101111000010110
+01101000000000001000011111100011
+00011111111001100000101000100000
+00100100001000010101111000010110
+11011000101000000000011111110000
+10011000101000001000101000000000
+01101000000001000000010011011111
+11100000101001000000000000000000
+01101000000001000000010011100111
+11100000101001000000000000000000
+01101000000000001000011111100011
+00011111111000001111111000010000
+01100000000000001000011111100011
+11000000100110000101110011110101
+00100000010000000110001000010110
+00100000001000001101110011110101
+01110000000001111110010000000001
+01110000000001111101101000000010
+01110000000001111101110000000001
+00100000001000000101110011110101
+01110000000000000111111000100100
+00100000001000000101101111001001
+01101000000000001000011111100010
+11000000000110000101111000011100
+01110000000000000111110000111110
+00100000001000000101101101110111
+00100000010000000110001000010110
+00100000001000001101111000100001
+01110000000001111101110000000001
+01110000000001111101101000000100
+00100000001000000101101101110111
+00100000001000000101101101110111
+01101000000000001000011111011011
+11000000000000111101111000100110
+01101000000000001000011111011010
+11000000100000110101111000110010
+11011000101000000000100001001000
+01101000000001000000010011011111
+11100000101001000000000000000000
+01101000000001000000010011100111
+11100000101001000000000000000000
+00100000010000000110001000010110
+00100000001000001101111000110000
+01110000000001111101101000000111
+01110000000001111101110000000001
+00100000001000000101110011110101
+01110000000001111101101100000100
+00100000001000000111100000001111
+01110000000000000111111000100100
+00100000001000000101101111001001
+01101000000000001000011111011011
+11000000000001011101111000111000
+01101000000000001000011111011010
+11000000100001000101111001000101
+11011000101000000000100001111000
+01101000000001000000010011011111
+11100000101001000000000000000000
+01101000000001000000010011100111
+11100000101001000000000000000000
+00100000010000000110001000010110
+00100000001000001101111001000010
+01110000000001111101101000001001
+01110000000001111101110000000001
+00100000001000000101101101110111
+01110000000001111101101100001001
+01110000000001111101110100000001
+00100000001000000101101101110111
+01110000000000000111111000100100
+00100000001000000101101111001001
+00100000001000000101101101110111
+01101000000000001000000101110111
+01111001001111111111111000000001
+01100000000000001000000101110111
+00100000010000000101110011110101
+00100100011101001000000000000000
+01101000000000001000010011011111
+01101000000010001000000001001011
+01111001001110100000010000000100
+01111101001110100000010000000101
+01100000000010001000000001001011
+00100000011000000000000000000000
+01101000000011000000010011011111
+01101000000000001100001001110010
+11000000101010000101111001011000
+01110000010000100111001000000000
+00100000010000000100011111100101
+01101000000000001000000001010101
+11000001100000011000000000000000
+01101000000000001100000100110010
+11000000000000001101111001011110
+01101000000000001000000101110111
+11000011000000100101111001100000
+01110000000000000101010100010100
+00100000011000000000000000000000
+01110000000000000101010100000100
+00100000011000000000000000000000
+01101000000000001000000110001001
+01100000000000001000000101011101
+01110000000000000111110000000011
+01110000000000000111110100111000
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000000000111110100111001
+00011000000000000111001000001001
+11011000110000000000010011011111
+11011000101000000000000101010100
+11101000110000001000000000000000
+00011111111000101111111001010101
+11100000101000001000000000000000
+11000010000000000101111001101100
+01101000000000001000000101010100
+01101000000010001000000101010011
+01111001001111111000010000000111
+01111001001111111000010000000100
+11000000011111111101111010000000
+11000000000000000101111010011001
+11000000000000101101111010001101
+11000000000000111101111010001100
+11000000000000110101111010001101
+11000000000001000101111010001100
+11000000000000001101111010000101
+11000000000000010101111010000101
+11000000000000011101111010000101
+11000000000001001101111010000101
+11000000000000100101111010000101
+00100000011000000000000000000000
+01101000000000001000000101010011
+01111001001000000111111000000011
+01111001001000000111111000000010
+01100000000000001000000101010011
+00100000011000000000000000000000
+01111001001000000000010000000100
+01110000000000011000101000000101
+01101000000000010000000101011011
+10011000000000000111001000000000
+01100000000000010000000101101001
+11011000101000000000010011011110
+00100000010000000111111011011000
+01111001001000000000010000000111
+01111001001000000000010000000010
+00011000000000000111111000000000
+01100000000000001000000000001011
+01100000000000010000000011111100
+01100000000000010000000011111110
+01100000000000010000000011111010
+01100000000000010000000011111000
+01101000000000001000000101010101
+00101111111000011111111000000000
+01111001001000001000010000000110
+01100000000010001000000101010011
+00100000011000000000000000000000
+01111001001111111000000000010001
+01110000000000010101001100000000
+01101000000000001000000110001001
+01111001001111111111111000000110
+01100000000000001000000110001001
+00100000011000000000000000000000
+01101000000000001000000101010011
+11000100000000010000000000000000
+01101000000000001000000101011110
+00011111111000001111111000000001
+01100000000000001000000101011110
+11000001100000101000000000000000
+01110000000000010101111000000000
+01101000000000001000000101010011
+01111001001111111111111000000010
+01100000000000001000000101010011
+11000010100000011101111011000000
+00101111111011111111111000000111
+00100000010000001111111110000110
+00100100010000001111111110001010
+01101000000000001000000101011010
+00101111111000000110000000100000
+01101000000000001000000001001100
+01111001001000001111111000000101
+01100000000000001000000001001100
+01101000000000001000000101010011
+01101000000010001000000110001001
+00101111111011111111111000000100
+01111001001000001000010000000110
+00101111111011111111111000000110
+01111001001000001000010000000100
+01111001001000001000010000000101
+01100000000010001000000110001001
+01101000000000001000000101010110
+01100000000000001000010001000111
+01101000000000001000000101010111
+01100000000000001000010001001000
+01111001001000000000000000010001
+00100000011000000000000000000000
+01111001001111111000000000010001
+01110000000000010101001100000000
+01101000000000001000000101011101
+01100000000000001000000110001001
+01101000000100001000000001000011
+00011111111000010111111011111011
+01100000000100001000000001000011
+00100000011000000000000000000000
+11011000110000000000010011011111
+11011000101000000000010011101111
+00100000001000000111111000110101
+01110000000000000111110000001001
+00100000011000000000000000000000
+00100100011101001000000000000000
+01110000000000000111110000010001
+00100000011000000000000000000000
+11011010001000000100000101000000
+00100000010000000111001101101010
+01110000000000000111110000000011
+01110000000000000111110100001000
+00100000011000000000000000000000
+01110000000000000111001000001010
+01110000000000000111110000000111
+01110000000001000100011000010110
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111100011100000000111100
+01111000010101000111110000000000
+00100000010000000110000111011001
+01101000000000001000000001001000
+00100000011110100000000000000000
+11000010100000111101111100010000
+11000000000000001110000001110010
+11000000000000010101111110011011
+11000000000000011101111100011101
+11000000000000100101111100110110
+11000000000100111110000011110010
+11000000000101000101111110111111
+11000000000110000101111110101011
+11000000000100101110000011101101
+11000000000100110101111110111010
+11000000000110001110000011011100
+11000000000110111110000001101101
+11000000000110011110000001011111
+11000000000001000110000101110100
+11000000000001001110000101101010
+11000000000001011110000101111111
+11000000000001100110000110001000
+11000000000001111110000001100101
+11000000000010000110000110101111
+11000000000010001110000110100101
+11000000000000111110000001010101
+11000000000101010110000010000001
+11000000000001010110000010000010
+11000000000101011110000010110101
+11000000000000110101111110110000
+11000000000100001110000001100010
+11000000000101101110000011010010
+11000000000101110110000011010111
+11000000000100010110000001100010
+11000000000101100110000011001011
+11000000000110100110000010000011
+11000000000010011110000010011000
+11000000000010111110000010100111
+11000000000010010110000110101100
+11000000000101111110000010101101
+11000000000011000110000010110010
+11000000000111101110000100011001
+11000000000111110110000100100101
+11000000000111111110000100110111
+11000000001000000110000101000010
+11000000001000001110000101010111
+11000000000100011110000101100110
+11000000000111011110000101100001
+11000000000000101110000101100111
+11000000000101001110000101101000
+11000000000111000110000101101001
+11000000000111001110000001111000
+00100000001000000011101111110001
+00100000011000000000000000000000
+11000000010001100101111111000100
+11000000010001101101111111100011
+11000000010000001101111101000011
+11000000010000100101111101110110
+11000000010000010101111101010000
+11000000010000011101111111101100
+11000000010001011101111111110111
+11000000010010111110000001010001
+11000000010011001101111110001100
+11000000010011010101111110000001
+11000000010010101101111110010001
+11000000010010110101111110010010
+00100000001000000011101111110001
+00011000000000000111111000000010
+00100000010000000110000110110101
+01101000000000001000000001001001
+11100000101000001000000000000000
+11000000000101011101111101011010
+00100000010000000110000111000100
+01101000000000001000000001001001
+11000000000001000101111101011101
+11000000000001111101111101100001
+11000000000010000101111101101100
+11000000000010111101111100110011
+11000000000110011101111101101111
+11000000000101100101111101110100
+11000000001000001101111101110101
+11000000000010001101111100101101
+00100000011000000000000000000000
+01101000000000001000000001010101
+00100000011110100000000000000000
+01110000000000000101010100011011
+01011000000000000000000000001100
+11011000111000000000000000001011
+00100000001000000111111001001100
+00011000000000000000010000000010
+00100000010000000100100100000111
+00100000001000000011011111100001
+00011000000000000111111000000011
+00100000010000000110000110110101
+01101000000000001000000001001001
+11000000000001011101111100111110
+11100000101000001000000000000000
+01101000000000001000000001001010
+11100000101000001000000000000000
+00100000001000000110000111000100
+11100000101000001000000000000000
+01101000000000001000000001001010
+11100000101000001000000000000000
+11011000010000000000010001010001
+00100000001000000110000111111011
+00011000000000000000111000000100
+00100000010000000110000110111101
+01011000000000000000000001111111
+11100000101000001000000000000000
+01101000000000001000000001001001
+01111001001111111111111000000111
+11100000101000001000000000000000
+01101000000000001000000001001001
+11000000010001100101111101011010
+00100000010000000110000111000100
+01101000000000001000000001001001
+11000000010001101101111101110100
+00100000011000000000000000000000
+00011000000000000000111000000101
+00100000010000000110000110111101
+01011000000000000000000001111111
+11100000101000001000000000000000
+01101000000000001000000001001001
+01111001001111111111111000000111
+11100000101000001000000000000000
+01101000000000001000000001001010
+11100000101000001000000000000000
+00100000001000000110000111000100
+00100000010000000011100001001010
+11011000010000000000010001010010
+00100000001000000110000111111011
+00100000010000000011010100000111
+00100000010000000110001000001101
+00100000011000001000000000000000
+00100000001000000101111011001011
+01101000000000001000000001001011
+11000010100000101101111101101000
+11000100000000100000000000000000
+01110000000000000111110000010010
+01111001001111111111111000000100
+00100000010000000110001000000101
+00100000001000000101111101101010
+01110000000000000111110000010000
+01111001001111111111111000000101
+01100000000000001000000001001011
+00100000011000000000000000000000
+00100000010000000110001000010110
+00100000001000001101111011001101
+00100000011000000000000000000000
+01101000000000001000010001001101
+01111001001000000111111000000000
+01100000000000001000010001001101
+01110000000010110111110100000001
+00100000001000000111110000100111
+00100000011000000000000000000000
+00100000011000000000000000000000
+00011000000000000000111000001100
+00100000010000000110000110111101
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000010000010001001010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000100000000000000000
+00100000001000000110000111001101
+00011000000000000000111000000101
+00100000010000000110000110111101
+01101000000000001100000100110010
+11000000000000001101111110001001
+01011000000001000000000000000011
+11100000101000011000000000000000
+01100000000000011000011111100110
+00100000001000000110000111001101
+01101000000000011000011111100110
+11100000101000011000000000000000
+00100000001000000110000111001101
+00011000000000000000111000000101
+00100000010000000110000110111101
+01101000000000011000011111100110
+11100000101000011000000000000000
+00100000001000000110000111001111
+00100000011000000000000000000000
+00011000000000000000111000001001
+00100000010000000110000110111101
+01101000000000001000000010010111
+11100000101000001000000000000000
+01101000000000010000000010011000
+11100000101000010000000000000000
+01101000000000100000000010010011
+11100000101000100000000000000000
+00100000001000000110000111001101
+00011000000000000111111000010001
+00100000010000000110000110110101
+01101000000000001000000001001001
+00011111111000100000010000000000
+11000000000000000101111110100011
+11000000000001110101111110100011
+11000000000011100101111110100011
+00100000011000000000000000000000
+11100000101000001000000000000000
+01101000000000001100011100000010
+11100000101000001000000000000000
+00011111111000100111001000000000
+01011000000000000100011100000011
+10011000010000001000110000000000
+00100000010000000111111001000101
+00100000001000000110000111001101
+00011000000000000111111000000011
+00100000010000000110000110110101
+01011000000000000000000100010100
+11100000101000010000000000000000
+00100000001000000110000111001101
+00011000000000000111111000000011
+00100000010000000110000110110101
+01101000000000100000000101101111
+10011100010001100111111000000000
+00100000001101001101111110110110
+00011111111001100111111000000000
+00011111111010110111111000000000
+01111001001111111111111000001111
+11100000101000010000000000000000
+00100000001000000110000111001101
+00011000000000000111111000000110
+00100000010000000110000110110101
+01101000000000101100011011111101
+11100000101000101000000000000000
+00100000001000000110000111001101
+00011000000000000111111000001001
+00100000010000000110000110110101
+01101000000001000100000100111000
+11100000101001000000000000000000
+00100000001000000110000111001101
+00100000001101001101111111000110
+00100000001000000101111111000111
+01110000010000011111100100000111
+01110000000000001010111100000000
+00011000000000000000111000010000
+00100000010000000110000110111101
+01101000000000001000000010101101
+11100000101000001000000000000000
+01101000000000001100000111111001
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01101000000000001000000010101111
+11100000101000001000000000000000
+01011000000000000000000000000110
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000001000000000000000
+01011000000000000000000000000111
+11100000101000001000000000000000
+11100000101000001000000000000000
+01011000000000000000000000011110
+11100000101000010000000000000000
+11100000101000010000000000000000
+01101000000000001000000010101011
+11100000101000001000000000000000
+01101000000000001000000010110001
+11100000101000001000000000000000
+00100100001110100110000111001101
+00100000001101001110000111001101
+00100000001000000110000111001111
+00011000000000000000111000000100
+00100000010000000110000110111101
+01101000000000001000000010101101
+11100000101000001000000000000000
+01101000000000001000010001000110
+11100000101000001000000000000000
+01101000000000001000000010110100
+01100000000000001000000001000111
+00100000001000000110000111001111
+00011000000000000000111000001100
+00100000010000000110000110111101
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000010000010001001010
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000100000000000000000
+00100000001000000110000111001111
+00011000000000000000111000000011
+00100000010000000110000110111101
+01101000000000001100000111111011
+11100000101000001000000000000000
+01111000010101000111110000000000
+00100000010000000110000111001111
+00100100011101000000000000000000
+00100100011101001000000000000000
+01101000000000001100000101111001
+11000100000000000000000000000000
+00100000010000000110000000001111
+00100000001000000110000000011001
+01101000000000001100000100111110
+01111001001000000111111000000011
+01100000000000001100000100111110
+01011000000000000000000100000001
+01100000000000010000010001001010
+00100000011000000000000000000000
+01101000000000001100000100111110
+01111001001111111111111000000011
+01100000000000001100000100111110
+01011000000000000000000000000000
+01100000000000010000010001001010
+00100000011000000000000000000000
+01110000010000010111100100000011
+01011000000000000000000000000000
+01100000000000100100000111100011
+11011000101000000100000101111011
+00100000010000000110000000100011
+11011000101000000100000110001000
+00100000010000000110000000100011
+11011000101000000100000111100111
+00100000010000000110000000100011
+00100000001000000110000000101010
+11011000101000000100000110001000
+00100000010000000110000000100011
+00100000010000000110000000101010
+00100000001000000110000000101101
+01101000000000101100000111100111
+01100000000000101100000110001000
+11101000110000101000000000000000
+11100000101000101000000000000000
+00100000010000000110000000101010
+00100000001000000110000000101101
+01011000111111111111111111111111
+11100000101000011000000000000000
+11100000101000011000000000000000
+11100000101000011000000000000000
+01011000000000000000000001111111
+11100000101000001000000000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100000101110111
+00100000011000000000000000000000
+01101000000000001100000101111001
+01111001001000000111111000000010
+01100000000000001100000101111001
+00100000011000000000000000000000
+00100100011101001000000000000000
+00011000000000000111111000010000
+00100000010000000110000110110101
+00011100010000100111111000000000
+11011000010000000000000111011100
+10011000010000001111111000000000
+00011111111000110111111000000000
+00011111111000001111111000000001
+01111001001111111111111000000000
+11100000101000100000000000000000
+00011111111000100000010000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+01101000000000101100000110001000
+11100000101000101000000000000000
+11101000110000101000000000000000
+11100000101000101000000000000000
+00011000010000111000010000000000
+01100000000010100100000101110011
+00100000010000000110000111001111
+01101000000000001000000000110001
+01111001001000000111111000000011
+01100000000000001000000000110001
+01110000010000010111101000000001
+01101000000000100100000101110011
+11011000010000101110111000000000
+10011000010000001111111000000000
+01100000000000100100000111100011
+01101000000000001100000101111001
+11000011100000100000000000000000
+01110000000000000111110010010000
+00100000011000000000000000000000
+00011000000000000000111000000010
+00100000010000000110000110111101
+00100100001101001110000111001101
+00100000001000000110000111001111
+00011000000000000111111000000010
+00100000010000000110000110110101
+01101000000000001000010001000110
+11100000101000001000000000000000
+00100000010000000110000111001111
+01101000000000001000000001001011
+01111001001000000111111000000011
+01100000000000001000000001001011
+01110000000000000111001000110010
+00100000011000000000000000000000
+00011000000000000111111000000001
+00100000010000000110000110110101
+00100000001000000110000111001111
+00011000000000000111111000000001
+00100000010000000110000110110101
+00100000001000000110000111001101
+00011000000000000111111000000010
+00100000010000000110000110110101
+01101000000000001000000001001100
+00101111111011000000000000000010
+01111001001000001111111000000000
+00011111111000010111111000000001
+11100000101000001000000000000000
+00100000001000000110000111001111
+00011000000000000111111000000011
+00100000010000000110000110110101
+01101000000000010000000001010001
+11100000101000010000000000000000
+00100000001000000110000111001111
+01110000000000000111001011111010
+00011000000000000111111000000010
+00100000010000000110000110110101
+01101000000000001000000001010011
+11100000101000001000000000000000
+00100000001000000110000111001111
+00011000000000000111111000001010
+00100000010000000110000110110101
+11011000110000000000000101010100
+00011000000000000111001000001001
+11101000110000001000000000000000
+00011111111000101111111001010101
+11100000101000001000000000000000
+11000010000000000110000001111100
+00100000001000000110000111001111
+00100000001000000110000111001111
+00100000001000000110000111001111
+00100000011101001000000000000000
+00100000010000000011100110010111
+00011000000000000111111000001001
+00100000010000000110000110110101
+01101000000000010000000101111011
+11100000101000010000000000000000
+01101000000000011100000101000000
+11100000101000011000000000000000
+01101000000000001100000101000011
+11100000101000001000000000000000
+01101000000000010100000101000100
+11100000101000010000000000000000
+11000101100000011110000010010100
+01111001001111111000000000000011
+00100000010000000110000111001111
+01110000000000000111110000010011
+00100000011000000000000000000000
+00100000010000000110000111001101
+01110000000000000111110000000011
+01110000000000000111110100010011
+00100000011000000000000000000000
+11011000010000000000001000000000
+00100000001101001110000010011100
+00011101000000100111111000000000
+00100000001000000110000010011101
+00011100010000100111111000000000
+00011100001000100111111000000000
+10011000010000001111111000000000
+00011111111000010111111111111100
+01100000000000100000000000110100
+00011000000000000111111000000101
+00100000010000000110000110110101
+01101000000000100000000000110100
+00011111111000110111111000000000
+11100000101000100000000000000000
+00100000001000000110000111001111
+00011000000000000111111000001010
+00100000010000000110000110110101
+11011000110000000000010001010101
+11101000110001001000000000000000
+11100000101001001000000000000000
+00100000001000000110000111001111
+00011000000000000111111000000011
+00100000010000000110000110110101
+01011000000000000000000100010100
+11100000101000010000000000000000
+00100000001000000110000111001111
+00011000000000000111111000000001
+00100000010000000110000110110101
+00100000001000000110000111001111
+00100000001101001110000010111010
+01110000000000001010110100000000
+01101000000000001000000000110001
+01111001001000000111111000000100
+01100000000000001000000000110001
+01110000000000001010111100000000
+00011000000000000111111000000111
+00100000010000000110000110110101
+01101000000000001000000010101101
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01101000000000001000000010101111
+11100000101000001000000000000000
+01011000000000000000000000000110
+11100000101000001000000000000000
+01011000000000000000000000000010
+11100000101000001000000000000000
+01101000000000001000000010101011
+11100000101000001000000000000000
+00100000001101001110000111001101
+00100000001000000110000111001010
+00011000000000000111111000000011
+00100000010000000110000110110101
+01101000000000001000000010101101
+11100000101000001000000000000000
+00011000000000000111111000010011
+11100000101000001000000000000000
+00100000001000000110000111001111
+00011000000000000111111000000010
+00100000010000000110000110110101
+01101000000000001100000101110001
+11100000101000001000000000000000
+00100000001000000110000111001111
+00011000000000000111111000000010
+00100000010000000110000110110101
+01011000000000000000000000000101
+11100000101000001000000000000000
+00100000001000000110000111001111
+01101000000000001000000000110000
+01111001001000000111111000000100
+01100000000000001000000000110000
+00011100010000100111111000000000
+01100000000000100000010001100101
+01101000000000001000010001001101
+11000010100000011110000011101011
+01111001001000000111111000000011
+01100000000000001000010001001101
+01110000000010110111110100000101
+00100000010000000111110000100111
+00100000010000000100100000100101
+00011000000000000111111000000001
+00100000010000000110000110110101
+00100000001000000110000111001111
+01110000000000000100100000000000
+00100000011000000000000000000000
+00011000000000000111111000000110
+00100000010000000110000110110101
+01101000000000101100011011111101
+11100000101000101000000000000000
+00100000001000000110000111001111
+00011000000000000111111000001001
+00100000010000000110000110110101
+01101000000001000100000100111000
+11100000101001000000000000000000
+00100000001000000110000111001111
+00100000010000000100100000011011
+01101000000000001100000100110010
+11000000000000001110000011111101
+01110000000001111101110100000001
+01101000000000001100011110010011
+11000001100000001000000000000000
+01110000000001111101101100010011
+00100000011000000000000000000000
+00100000010000000110001000001001
+01110000000000000111110010011001
+01110000000001111101101100000011
+00100000011000000000000000000000
+00100000010000000110001000001001
+01110000000000000111110000111101
+01110000000001111101101100000111
+00100000011000000000000000000000
+11011010001000000000100001101000
+11011010010000000000100010001000
+11011111001000000000000000010000
+00100000010000000111111100100101
+00100000001000101110000100010001
+01110000000001111101101100000000
+00100000010000000111100000010001
+01110000000000000111111000100100
+01110000000000000111110101000000
+00100000001000000101101111001001
+01110000000001111101101100001010
+00100000010000000111100000001111
+01110000000000000111110101000000
+00100000001000000101110011110101
+01110000000000000111110001000000
+00100000011000000000000000000000
+01110000000000000111110000111101
+00100000011000000000000000000000
+01110000000001111110001000000000
+00011000000000000111111000000100
+00100000010000000110000110110101
+00011000000000000111111000000001
+11100000101000001000000000000000
+00011000000000000111111000000001
+11100000101000001000000000000000
+00011000000000000111111000110000
+11100000101000001000000000000000
+00100000010000000110001000010110
+00100000001000001110000111001111
+00100000001000000110000111001101
+00011000000000000111111000010001
+00100000010000000110000110110101
+01101000000000001000011111100010
+11011000110000000100011110101100
+10011000110000001000110000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+01101000000000001000011111100010
+00011111111000001111111000010000
+01100000000000001000011111100010
+00100000010000000110001000010110
+00100000001000001110000111001111
+00100000001000000110000111001101
+01110000000001111101101000000110
+01110000000000000111110000111111
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000110000110110101
+11011000110000000000100001101000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000001000000110000111001101
+00100000010000000110000111011001
+01110000000000000111110001000000
+00100000011000000000000000000000
+00100000010000000110001000010110
+00100000010000001111011101001101
+00011000000000000111111000010001
+00100000010000000110000110110101
+11011000110000000000100000111000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000010000000110001000010110
+00100100001000001110000111001101
+00100000001000001110000111001111
+01110000000001111101101100001111
+00100000010000000110001000001001
+01110000000000000111110000001011
+00100000010000000110001000100001
+00100000001000001111011110000101
+00100000001000000111011110001111
+00100000010000000110001000000101
+01110000000000000111110001000001
+00100000011000000000000000000000
+00011000000000000111111000010001
+00100000010000000110000110110101
+11011000110000000000100001101000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000010000000110001000010110
+00100100001000001110000111001101
+00100000001000001110000111001111
+00011000000000000111111000000011
+00100000010000000110000110110101
+01011000000000001111111111111110
+11100000101000010000000000000000
+00100000001000000110000111001101
+00100000001000000110000111001111
+00100000001000000110000111001111
+00100000001000000110000111001111
+00100000001000000110000111001111
+00100000010000000110001000100101
+11011010001000000100000101000000
+00100000010000000110001000101011
+00011000000000000111111000010001
+00100000010000000110000110110101
+11011010001000000000010100001111
+11011010010000000000010011101111
+00100000010000000111010001100111
+00100100001101001110000111000100
+00100000001000000110000111001010
+00100000010000000110001000100101
+11011010001000000000000001000000
+00100000010000000111001101101010
+00011000000000000111111000010001
+00100000010000000110000110110101
+11011000110000000000010011101111
+00100000010000000111111000110101
+01101000000000001000000001010101
+11000000000011001110000111001111
+11000000000011000110000111001111
+00100000001000000110000111001010
+01101000000000001000011111100001
+00100000001110100110000110000101
+00100000010000000110001000010110
+00100000010000001110001000001001
+00100100010000001110001000000101
+00100000001000000110000110000110
+00100000010000000110001000001001
+00100000010000000110001000100101
+00100000001000000110000101110111
+11011010001000000100000101000000
+00100000010000000111001110011101
+00011000000000000111111000000101
+00100000010000000110000110110101
+01101000000000100000010100011111
+11100000101000100000000000000000
+11011000010000000000010001010001
+00100000010000000110000111111011
+00100000010000000111010010011011
+00100000010000000110001000010110
+00100000001000001110000110010111
+01110000000001000101010000000001
+01101000000000001000011111100001
+00100000011110100000000000000000
+01110000000000000111110000001011
+01101000000000001100001001011110
+00100000011110100000000000000000
+00100000010000000110001000010110
+00100000010000001100100001010010
+00100000010000000110001000010110
+00100100001000001110000110100001
+01101000000000001000010001010011
+00100000011110100000000000000000
+01110000000000000111110000001111
+00100000011000000000000000000000
+11000110100100001000000000000000
+01111001001111111000000000100001
+01110000000000000111110000001111
+00100000011000000000000000000000
+00100000010000000110001000100101
+00100000010000000111001110100000
+00011000000000000111111000010001
+00100000010000000110000110110101
+11011000110000000000010011101111
+00100000010000000111111000110101
+00100000001000000110000111001010
+00011000000000000111111000000001
+00100000010000000110000110110101
+00100000001000000110000111001010
+00011000000000000111111000000010
+00100000010000000110000110110101
+00011000000000000111111000010000
+11100000101000001000000000000000
+01100000000000001000000001010100
+00100000001000000110000111001010
+00011111111010011111111000000000
+00011111111000011111111000000111
+01100000000000001000010000110010
+11011111001000000000000000010001
+11011000101000000000010000110100
+00100000010000000111111000111111
+11011000101000000000010000110100
+00100000011000000000000000000000
+00011111111000010010001001111111
+01110000000000000100100001111111
+00011000111000100111111000000000
+00100000010000000110000110110101
+00011010001000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000001000000001001000
+00011111111000111111111000000000
+01101000000010001000000001001100
+00101000010011111111111000000001
+01111001001000001111111000000000
+00100000001000000110000111010100
+01101000000010001000000001001100
+00011000010000010000010000000001
+00100000001000000110000111010000
+00011000000000000000010000000000
+00100000001000000110000111010000
+00011000000000000000010000000001
+01101000000000001000000001001000
+00011111111000111111111000000000
+01111001001101001111111000000000
+10011000010000101111111000000000
+01100000000000001000010000110011
+01110000000000000100100000000000
+00100000010000000110000111100000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111100100100000000111100
+01101000000000001000000001001000
+00100000001110100110000111100000
+01101000000000001000000001111000
+00100100011110100000000000000000
+00100000001000000110000111101010
+01101000000000001000000001111000
+00100000001110100110000111110000
+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
+01111001001000000000000000100101
+01000100111100101100000000111100
+01101000000000001000000001001100
+00011111111000100010011000000000
+11101000010000001000000000000000
+00100000010000000101110100010010
+00100000010000000110000111000100
+00011010011000100111111000000000
+01100000000000001000000001001100
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111001001111111000010000000000
+01100000000010001000000001001100
+00100000011000000000000000000000
+01101000000010001000000001001100
+01111001001000000000010000000000
+01100000000010001000000001001100
+00100000011000000000000000000000
+01111101001101001111111000000001
+01101000000010001000000001001100
+10011000010000101111111000000000
+00101111111011111111111000000001
+00100000011000000000000000000000
+01101000000000001000000001001100
+01111001001101001111111000000001
+01100000000000001000000001001100
+00100000011000000000000000000000
+01101000000000001000011111100000
+00101111111000001111111000000001
+00100000011000000000000000000000
+01101000000000001000011111100000
+01111001001000000111111000000111
+01100000000000001000011111100000
+00100000011000000000000000000000
+01101000000000001000011111100000
+01111001001111111111111000000111
+01100000000000001000011111100000
+00100000011000000000000000000000
+01101000000000001000011111100000
+00101111111011111111111000000111
+01100000000000001000011111100000
+00100000011000000000000000000000
+11011000101000000000010011101111
+00011000000000000111001000010000
+00011000000010100111111000000000
+11100000101000001000000000000000
+11000010000000000110001000100111
+00100000011000000000000000000000
+00100000010000000111001101101110
+11011010001000000100001001100010
+11011010010000000000010100011111
+11101010001001000000000000000000
+01101000000010001000000000110000
+01111101001110100000010000000110
+01100000000010001000000000110000
+00011010001000100000101000000000
+00100000010000000111010001100111
+00100000001000000011001000101001
+01111001001000000000000000100101
+01000100111100110100000000111100
+01101000000000001000000001111100
+00100000001110100110001000111100
+00100000010000000110000111011001
+01101000000000001000000001111100
+00100100011110100000000000000000
+01101000000000001000000001010101
+00100000011110100000000000000000
+11000000000000100110001010001101
+11000000000000101110001010010010
+11000000000000010110001010000100
+11000000000000011110001010011010
+11000000000001110110001010000111
+11000000000000110110001010110110
+11000000000000111110001011001110
+11000000000001001110001011001111
+11000000000001010110001011011000
+11000000000001011110001011011100
+11000000000001100110001010100100
+11000000000001101110001010100111
+11000000000001111110001010101101
+11000000000010010110001001110111
+11000000000010011110001010011010
+11000000000010000110001001111010
+11000000000010100110001001110100
+11000000000010101110001010011010
+11000000000010110110001001101110
+11000000000011000110001001110011
+11000000000010111110001001100111
+11000000000011001110001001101101
+11000000000011010110001001011000
+11000000000011011110001001100010
+01110000000000000101010100000000
+00100000011000000000000000000000
+01101000000000001000010001001101
+11000100000000010000000000000000
+11000100000000011000000000000000
+01110000000000000101010100000000
+00100000010000000110001001011110
+00100000001000000110111001000001
+01101000000000001000000101110111
+11000100000000001000000000000000
+01110000000000000101010100001010
+00100000011000000000000000000000
+11011000111000000000000000001011
+00100000010000000111111001010011
+00100100011110100000000000000000
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101000000000001000000101110111
+01111001001111111111111000000000
+01100000000000001000000101110111
+01110000000000000101010100011001
+01110000000000000111110000001011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001000010001010000
+11000001100000010000000000000000
+00100000010000000110001011011110
+01110000000000000101010100011000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000000000101010100010101
+01110000000000000111110010000011
+00100000011000000000000000000000
+01110000000000000101010100010011
+01110000000000000111110000100101
+00100000011000000000000000000000
+01101000000000001100011101001000
+11000001000000000000000000000000
+11000000000000001110001010000010
+11011000111000000000000000001010
+00100000010000000111111001010011
+00100100011110100000000000000000
+01110000010001110100100000000000
+00100000001000000110001010011011
+00100000011101001000000000000000
+00100000001000000110001010110110
+01110000000000000101010100000011
+01110000000000000111110000100111
+00100000011000000000000000000000
+01110000000000000111110000010011
+01111001001000000000000000000011
+01110000000000000101010100000101
+01011000000000000000000111111111
+01100000000000010000010001001110
+00100000011000000000000000000000
+01110000000000000101010100000101
+01110000000001000100111011111111
+01111001001111111000000000100010
+01110000000000000111110000110011
+00100000001000000101101101101111
+11000110000100010000000000000000
+01101000000000010000010001001110
+00011111111001100111111000000001
+00100000001000101110001010011000
+01100000000000010000010001001110
+00100000011000000000000000000000
+01110000000000000101010100001110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001000010001001101
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101000000000001000000101110111
+01111001001111111111111000000010
+01100000000000001000000101110111
+01110000000000000111110000010011
+01110000000000000101010100010000
+00100000011000000000000000000000
+01110000000000000101010100001101
+01110000000000000111110000110001
+00100000011000000000000000000000
+01101000000000001000010001001101
+11000100000000010000000000000000
+01110000000000000101010100000000
+00100000011000000000000000000000
+01110000000000000101010100000110
+00100000011000000000000000000000
+01101000000000001000010001001110
+00011111111000001111111111111111
+00100000001110100110001010110010
+01100000000000001000010001001110
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000001000100011000010110
+01110000000000000101010100000000
+00100000011000000000000000000000
+01101000000000001000000101110111
+11000010100000010110001010011011
+11000010100000000110001010111011
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101000000000001100001001011110
+00100000001110100110001011000111
+01101000000000001000010001001101
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101000000000100000010001100101
+11011000010000000000000001100100
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00100000001000000110001001100111
+01110000000000000101010100010110
+01110000000001010100111100000100
+01011000000000000011000000110000
+01100000000000010000010101010000
+11100000101000010000000000000000
+01110000000001000101000000000010
+00100000001000000110001001101110
+00100000011000000000000000000000
+01101000000000001000000101110111
+11000010100000001110001011010011
+01110000000000000101010100011010
+00100000011000000000000000000000
+01101000000000001000000101110111
+01111001001111111111111000000001
+01100000000000001000000101110111
+01110000000000000111110000001111
+00100000011000000000000000000000
+01101000000000001000010001010100
+00100000011110100000000000000000
+01110000000000000101010100000000
+00100000001000000110001011010011
+01110000000000000101010100001100
+00100000011000000000000000000000
+01101000000000001000000001001011
+11000010100000010110001011100011
+00100000010000000110001000001001
+01110000000000000111110000001000
+00100000001000000100100110111100
+01101000000000001000000001001011
+01111001001111111111111000000010
+01100000000000001000000001001011
+00100000010000000101111011010000
+00100000010000000110001000010010
+00100000001000000100100110111100
+01011000000000000000000000000100
+01100000000000001000010101001111
+01011000000000000011000000110000
+11100000101000010000000000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+00100000011101011000000000000000
+01110000010010000001001100000000
+00100000010000000110001100100001
+00100000010000000110010000111000
+01011000000000000110001100101110
+01100000000000010100001010010000
+01011000000000000110001100101111
+01100000000000010100001010001110
+01011000000000000110001100110111
+01100000000000010100001010010010
+01011000000000000110001110110110
+01100000000000010100001010010110
+01011000000000000110001100101111
+01100000000000010100001010001100
+01111001001000000000000000100101
+01000100110000000100000000110000
+01011000000000000110001100101010
+01100000000000010100001010000110
+01011000000000000110001110111110
+01100000000000010100001010011000
+01011000000000000000000000000000
+01100000000000100100100000001010
+01100000000000010100100000010000
+00100000010000000110001100001010
+00100000010000000011111111000101
+00100000010000000011111000101011
+00100000001000000110100100011101
+00100000011101011000000000000000
+01011000000000000000000110100000
+01100000000000010100001010101100
+00100000010000000110101000001101
+01011000000000000100101000000000
+01100000000100010000000001010100
+01011000000000000100111111111111
+01100000000100010000000001010110
+01011000000000000001110000000000
+01100000000100010000000001011010
+01011000000000000001111111111111
+01100000000100010000000001011100
+01110000100000001000000100000100
+01110000000000101001111111111111
+01110000100000000110001000000000
+01011000000000000001110000000000
+01100000000100010000000001011110
+01100000000100010000000001100000
+01011000000000000100101000000000
+01100000000100010000000001011000
+00100000001000000100010010000000
+00100000010000000110001100001101
+00100000001000000110001100100001
+00100000010000000111101111011001
+00100000010000000011111110010100
+01101000000010001100100000000011
+00100000010000000110100111011010
+00100000010000000110001110011110
+01101000000010001100100000000001
+00100000010000000110100111010001
+01101000000010001100100000000000
+00100000001000000110100111010010
+01101000000010001100100000000001
+00100000010000000110100111100101
+00100100001000001011111101011100
+00100000001000000011111101011010
+00100000001000000110001100110000
+00100000001000000110001100110000
+01111001001000000000000000100101
+01000100110000001100000000110000
+00100000010000000110010000011100
+00100000010000000110010000100001
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000001000000110001110100000
+00011010011000100111111000000000
+11000000000001010110001101101000
+11000000000000100110001110000011
+11000000000010011110001110000111
+11000000000000010110001101001100
+11000000000011001110001101101010
+11000000000100000110001101101111
+11000000000100010110001101110100
+11000000000100001110001101110101
+11000000000100011110001101110110
+11000000000100100110001101111001
+11000000000010100110001101111010
+11000000000000001110001110000010
+11000000000010101110001101100100
+11000000000000101110001101011101
+11000000000001011110001101010010
+11000000000001100011111110100110
+00011111111000010000010000001111
+00011111111000010111111011110000
+11000000001010000110001111101100
+00100000011000000000000000000000
+00100000010000000110001110001010
+01101000000000010100001010100000
+11000100000000100000000000000000
+11011111001000000000000000000011
+11011000110000000100100001001001
+00100000001000000111111101110001
+01101000000000010100000001000010
+00011111111000110111111000000000
+01101000000010010100001010000000
+10011000010001100111110000000000
+00100100001000101110001101011000
+00100000001000000011111110100100
+01101000000000001100100000010011
+11000011100000000000000000000000
+01101000000100010000000100010010
+00100100010110100110010000001100
+00100000001000000011111110011100
+00100000010000000110001110010101
+00100000010000000110010000101110
+00100000001000101110001101100001
+00100000001000000011111101110111
+11011111001000000000000000000100
+11011000110000000100100010001110
+00100000001000000111111101110001
+00100000010000000110001110001010
+11011111001000000000000000000101
+11011000110000000100100001000111
+00100000001000000111111101110001
+00100000010000000011111111000001
+00100000001000000011111101101010
+01101000000000001100100000010011
+11000100000000100000000000000000
+01111001001111111111111000000100
+01100000000000001100100000010011
+00100000001000000100001001111111
+01101000000000001100100000010011
+11000100000000100000000000000000
+01111001001111111111111000000100
+01100000000000001100100000010011
+00100000001000000100001010000110
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001100100000010011
+11000011000000000011111110011110
+00100000001000000110010000010000
+00100000011000000000000000000000
+00100000010000000110001110010101
+11011010010000000000001111010000
+00100000010000000110010000101110
+00100000001000101110001101111111
+00100000001000000011111110010000
+11011111001000000000000000000110
+11011000110000000100100010001100
+00100000001000000111111101110001
+00100000011000000000000000000000
+11011111001000000000000000000111
+11011000110000000100100010011001
+00100000010000000111111101110001
+00100000001000000110001110001010
+11011111001000000000000000000111
+11011000110000000100100010010010
+00100000010000000111111101110001
+00100000010000000110001110001100
+00100000001000000110001110010011
+01101000000000001100100000010010
+00101111111011111111111000000000
+00100000010000001011111101111100
+01101000000000001100100000010010
+00101111111011111111111000000001
+00100000010000001011111110001000
+00100000011000000000000000000000
+01101000000010001100100000000011
+00100000001000000110100111101111
+00100000010000000110001110010111
+00100000001000000110001110011110
+01101000000000001100100000010010
+00101111111011111111111000000000
+00100000010000001011111101111110
+01101000000000001100100000010010
+00101111111011111111111000000001
+00100000010000001011111110000110
+00100000011000000000000000000000
+01101000000010001100100000000011
+00100000001000000110100111101101
+01101000000000001100000100110010
+11000001100001010000000000000000
+01101000000100010000000100010010
+00100000011110100000000000000000
+01100000000000010100100000001110
+00100000010000000110001110101001
+00100000001000001011111111101111
+00100000010000000110010000000000
+00100000001000000110001110101111
+01101000000010001100100000000000
+00100000001000000110100111100101
+01101000000000001100100000010011
+11000011100000000000000000000000
+00100000010000000110010000001100
+00100000001000000011111110011100
+01101000000000001100000001000000
+11000011000000000100001010001100
+01101000000000001100000001000001
+11000010100000000110001111010101
+00100000010000000011111101000000
+00100000001000001110001110101011
+00100000001000000110110110010111
+00100000010000000101101010001000
+11101000110000001000000000000000
+00011000110000100010001000000000
+00100000010000000111111101101110
+00011010010000100111001000000000
+00011010001000100000110000000000
+00100000010000000100100101110110
+00100000001000000110100011111010
+01101000000000010100100000010000
+00100000011110100000000000000000
+11011000010000000000000000010100
+00100000010000000111111110111001
+01100000000000010000010001101001
+00011111111000100000010000000000
+01101000000000010100100000010000
+10011000010001100111111000000000
+01100000000000010100100000010000
+00100100001000010011101111110001
+11011000010000000000000000010100
+01100000000010010100010011000010
+00100000010000000101101010001000
+00100000001110100011101111110001
+00011000110000001000101000000001
+01101000000000010000010001101001
+00011111111000100111001000000000
+00100000010000000111111101101011
+00100000010000000100100101111100
+01101000000000010000010001101001
+01100000000000010100100000001110
+01100000000000010000010000011011
+00100000001000000100001010001100
+11000110100001001000000000000000
+00100000010000000110001111011000
+00100000010000000110001111011000
+00100000010000000101011000011110
+00100100011110100000000000000000
+01101000000100010000000100010010
+00100000011110100000000000000000
+01101000000010010100100000010000
+10011000010001100111111000000000
+00100100001000010011101111110001
+01100000000000010100100000001110
+00100000011110100000000000000000
+00100000010000000110010000000111
+01101000000000010100100000010000
+01101000000010010100100000001110
+10011000010000001111111000000000
+01100000000000010100100000010000
+01101000000010010100100000010000
+01101000000100010000000100010010
+10011000010001100010001000000000
+00100100001000010011101111110001
+01110000000010110111110100011011
+00100000001000000101011000100000
+01100000000010001000001001011001
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000110001111110011
+00100000001000000110001111101101
+01101000000000010100100000011010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100100000011010
+00100100011110100000000000000000
+01101000000000001100001010100100
+01110000010000101010010000000000
+11000010100000001110001111111101
+11000010100000000110001111111110
+00100000001000000011101111110001
+00100000001000000011111110001100
+01110000010000100111001000000010
+00100000011000000000000000000000
+01101000000000001100000001000001
+11000010100000000110010000000111
+01101000000000010100100000001110
+11011000010000000000000001101110
+00100000010000000111111110111001
+01100000000000010100100000001110
+00100000011000000000000000000000
+01101000000000010100100000001110
+11011000010000000000000000010100
+00100000010000000111111110111001
+01100000000000010100100000001110
+00100000011000000000000000000000
+01101000000000001100100000010011
+01111001001000000111111000000000
+01100000000000001100100000010011
+00100000011000000000000000000000
+01101000000000001100100000010011
+01111001001111111111111000000000
+01100000000000001100100000010011
+00100000011000000000000000000000
+01101000000000001100100000010011
+01111001001000000111111000000111
+01100000000000001100100000010011
+00100000011000000000000000000000
+01101000000000001100100000010011
+01111001001111111111111000000111
+01100000000000001100100000010011
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110000010100000000110000
+00100000010000000111111110001110
+00100000001000010011111101100110
+00100000001000000011111101101000
+00100000010000000110001110101001
+00100000001000001110010000101000
+01101000000110010000000001010010
+01101000000000010100001010101100
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000001000000110100100001001
+01101000000110010000000001010010
+01011000000000000000000110100000
+10011000010001100111110000000000
+00100000011000101000000000000000
+01100000000100010000000001010010
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110000011100000000110000
+01101000000000001100100000010010
+00101111111011000000000000000010
+00100000001000001110010000110110
+11011010001000000100100000010100
+11011111001000000000000000000110
+00100000001000000111111100100101
+00011000000000000111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110000100100000000110000
+11011000101000000100100000011100
+00111000000000110101001101010000
+00111000000001010101000100010101
+00111000000010010010010000010101
+00111000000011010000100101010001
+11100000101001001000000000000000
+00111000000000100100010101001100
+00111000000001110101000001010011
+00111000000010000010010001010100
+00111000000011010001010100110001
+11100000101001001000000000000000
+00111000000000110100010001000001
+00111000000001011001010011010100
+00111000000010010010010001010101
+00111000000011010000110101001101
+11100000101001001000000000000000
+00111000000000110100000101001100
+00111000000001001101010011010100
+00111000000010010010010011000100
+00111000000011010011000100011001
+11100000101001001000000000000000
+00111000000000010101001001000111
+00111000000001111101000011010001
+00111000000010001110010011100100
+00111000000011010001010100110001
+11100000101001001000000000000000
+00111000000000110100100101000100
+00111000000001010001010011010100
+00111000000010001110010100110101
+00111000000011010101000100000101
+11100000101001001000000000000000
+00111000000000010100110000101011
+00111000000001010001010011010010
+00111000000010001111010100100101
+00111000000011010001010100110001
+11100000101001001000000000000000
+00111000000000010100111001010011
+00111000000001011001000110010010
+00111000000010000100010011000100
+00111000000011010101100100010101
+11100000101001001000000000000000
+00111000000000110101001101010010
+00111000000001001101001001010100
+00111000000010000101010001000100
+00111000000011010000100101011001
+11100000101001001000000000000000
+00111000000000010100010101001100
+00111000000001000101001110010010
+00111000000010000011010100100101
+00111000000011010011110100110101
+11100000101001001000000000000000
+00111000000000010100010101000100
+00111000000001010001001111010011
+00111000000010000100010001010100
+00111000000011010100110100110101
+11100000101001001000000000000000
+00111000000000000100000101010100
+00111000000001010001000101010101
+00111000000010010011010010010100
+00111000000011010011110100001101
+11100000101001001000000000000000
+00111000000000000100111101010110
+00111000000001110001000001010101
+00111000000010000011010001010100
+00111000000011010011100100111101
+11100000101001001000000000000000
+00111000000000010101000001001110
+00111000000001010101000111010000
+00111000000010010101010011110100
+00111000000011010100100101010001
+11100000101001001000000000000000
+00111000000000100100001101000101
+00111000000001100101000001010001
+00111000000010000000010011000100
+11100000101000110000000000000000
+00100000011000000000000000000000
+01011000000000000110010111010111
+01100000000000010100001010001100
+01011000000000000110010100101110
+01100000000000010100001010001110
+01011000000000000110010011100011
+01100000000000010100001010001010
+01011000000000000110010111110011
+01100000000000010100001010010010
+01011000000000000110010010101001
+01100000000000010100001010010000
+01011000000000000110010101100001
+01100000000000010100001010011000
+01110000000001111101110000000000
+01110000000001111101110100000000
+01111001001111111000000000100101
+01000100111000000100000000011000
+00100000010000000110010011000100
+00100000011101011000000000000000
+00100000010000000110010010011111
+00100000010000000110010010100111
+01011000000000000110010011100000
+01100000000000010100001010001000
+01101000000000010100011111110100
+11000010100001100110011010010111
+00100000001000000110011010010011
+00100000010000000011111101001101
+00100000001000101110010010100100
+00100000010000000110100101100011
+00100000010000000110011010111010
+00100000001000000011111101000101
+00100000010000000110100100011101
+00100000010000000110100101100111
+00100000001000000110011011000000
+01110000010010000001110000000001
+00100000001000000110010010111011
+00100000010000000111110011010111
+00100000010000000110010010101100
+00100000001000000110010011110110
+01101000000010001100100000100101
+00100000010000000110100111100101
+00100100001000001110010010110011
+01101000000000001100100000011100
+11000001000000000000000000000000
+01110000010010000001110000000000
+00100000011000000000000000000000
+01101000000000001100100000011100
+11000001000000001000000000000000
+01110000010010000001110000000001
+01101000000000001100100000011011
+00011111111000001111111000000001
+00011111111000010111111000000011
+01100000000000001100100000011011
+00100000001000000110010010111011
+01011000000000000000000000000110
+00100000010000000110011011011000
+00011111111000010000010011111100
+01101000000000001100100000011011
+10011000010000001111111000000000
+00011111111011010111111000000000
+00011111111000001111111000000110
+00100000010000000110011011010111
+00100000001000000110011010111010
+00100000010000000110010111000101
+00100000010000000110010011001010
+01101000000100010000000001010000
+01111001001111111111111000001011
+01100000000100010000000001010000
+00100000011000000000000000000000
+00100000010000000011111000001011
+01101000000010001100100000100111
+00100000010000000110100111010001
+01101000000010001100100000101000
+00100000010000000110100111010001
+01101000000010001100100000100010
+00100000010000000110100111010001
+01101000000010001100100000100011
+00100000010000000110100111010001
+01101000000010001100100000100100
+00100000010000000110100111010001
+01101000000010001100100000100110
+00100000010000000110100111010001
+01101000000010001100100000100101
+00100000010000000110100111010001
+01101000000100001000000001111011
+00011111111000011111111000011000
+01100000000100001000000001111011
+01101000000100001000000001111111
+00011111111000010111111011100111
+01100000000100001000000001111111
+00100000011000000000000000000000
+01011000000000001011110000000101
+00100000010000000110011011010111
+01110000000000001010001000000001
+00100000010000000110010011110110
+11011000010000000000000000011001
+00100000010000000110100111011010
+01110000100000001000000100000000
+01101000000010001100100000100111
+00100000010000000110100110110100
+01101000000010001100100000101000
+00100000010000000110100110110100
+01101000000010001100100000100010
+00100000010000000110100110110100
+01101000000010001100100000100011
+00100000010000000110100110110100
+01101000000010001100100000100100
+00100000010000000110100110110100
+01101000000010001100100000100110
+00100000010000000110100110111001
+01101000000000001000000010100010
+00100100011110100000000000000000
+00100000001000000110100111000100
+01111001001111111000000000100101
+01000100111000001100000000011000
+11011010001000000000000000000000
+01101000000010001100100000100111
+00100000010000000110100111100101
+01111001001000001010001000000000
+01101000000010001100100000101000
+00100000010000000110100111100101
+01111001001000001010001000000001
+00011010001000100111111000000000
+00011111111000010111111000000011
+01101000000010001100100000001000
+01100000000000001100100000001000
+10011000010001100111110000000000
+00100000001000101110010100010100
+01101000000000001100100000000111
+01100000000000001100100000000110
+01100000000010001100100000000111
+01101000000000001100100000001000
+00011111111100100111111000000000
+01101000000010001100100000000111
+00011000010010111000010000000000
+10011000010000001111111000000000
+01101000000010001100100000000110
+10011000010000001111111000000000
+11000000000111000110010100010101
+11000000000110100110010100011001
+11000000000001011110010100011001
+11000000000000111110010100010101
+00100000011000000000000000000000
+00100000011000000000000000000000
+01101000000000001100100000001001
+00011111111000001111111000000001
+01100000000000001100100000001001
+00100000011000000000000000000000
+01101000000000001100100000001001
+00011111111000001111111111111111
+01100000000000001100100000001001
+00100000011000000000000000000000
+00100000011000000000000000000000
+01011000000000001011100000000101
+00100000001000000110011011010111
+00100000011000000000000000000000
+00100000010000000011111110100000
+01110000010010000010000000000010
+00100000010000000011111110100100
+00100000001000000011111110010010
+01101000000000010100100000011110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100100000011110
+00100100011110100000000000000000
+00100000001000000011111110011010
+01011000000000000000000000000010
+01100000000000001100011111110010
+00100000011000000000000000000000
+01101000000000001100001001111111
+00100000011110100000000000000000
+00100000010000000101001001111100
+00100100011110100000000000000000
+00100000010000000110010101111000
+00100100011101000000000000000000
+00100000010000000110010101011110
+00100000010000000110010101011010
+11011010001000000000000000001000
+00100000010000000100101100101100
+01101000000000010100001010110111
+11100000101000010000000000000000
+01011000000000000000001010100001
+11100000101000010000000000000000
+01101000000000001100100000000101
+11100000101000001000000000000000
+01101000000000010100100000000000
+11011000010000000000111111111111
+10011000010000010111111000000000
+01101000000010010100100000000010
+00011000010100100000010000000000
+00011000010011010000010000000000
+10011000010000011111111000000000
+11100000101000011000000000000000
+01101000000000001100100000000100
+11100000101000001000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01110000000010001010100000001000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111000010100000000011000
+01101000000000001100100000011010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100100000011010
+00100100011110100000000000000000
+00100000010000000101001001111110
+00100100011110100000000000000000
+01011000000000000000000000000000
+01100000000000101100100000000000
+00100000010000000110010100110110
+01110000010010000001101001010000
+00100000011000000000000000000000
+01101000000000010100100000010000
+01100000000000010100100000011000
+01110000010010000001101001010000
+00100000011000000000000000000000
+01101000000000010100100000001110
+01100000000000010100100000010110
+00100000011000000000000000000000
+01101000000010010100010011000010
+00100000010000000101101010001000
+11101000110000001000000000000000
+01100000000000001000010000011011
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111000011100000000011000
+01101000000010010100010011000010
+00100000010000000101101010001000
+00011000110000001000101000000001
+01101000000000001100100000000101
+11100000101000001000000000000000
+01101000000000010100100000000000
+11011000010000000000111111111111
+10011000010000010111111000000000
+01101000000010010100100000000010
+00011000010100100000010000000000
+00011000010011010000010000000000
+10011000010000011111111000000000
+11100000101000011000000000000000
+01101000000000001100100000000100
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111000100100000000011000
+01111000010101000111110000000000
+01011000000000000000000000000000
+01100000000000101100100000000000
+00100000010000000110010110000001
+00100000010000000110010110110100
+00100000010000000110010110011100
+00100000001000000110010110100010
+01101000000000001100100000100001
+11000001100000010000000000000000
+01101000000000001100100000001010
+00100000010110100110010110111010
+01110000010010000000101000000001
+01111000010101000111110000000000
+01101000000010001100100000100110
+00100000010000000110100111100101
+00100100011000001000000000000000
+01011000000000000000000000000000
+00100000010000000110011011011000
+11000000100110000110011011000110
+01011000000000000000000000000010
+00100000010000000110011011011000
+11000100000000111000000000000000
+01011000000000000000000000000011
+00100000010000000110011011011000
+00100000010000000110010111010011
+01100000000000010100100000000000
+01011000000000000000000000000100
+00100000010000000110011011011000
+00100000010000000110010111010011
+00011111111001100111111000000000
+01100000000000010100100000000010
+01101000000000100100100000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01101000000000001100100000001001
+00100000011110100000000000000000
+01100000000000001100100000000100
+01110000010010000000100100000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+11011010001000000000000000000000
+01101000000010001100100000100010
+00100000010000000110100111100101
+01111001001000001010001000000000
+01101000000010001100100000100011
+00100000010000000110100111100101
+01111001001000001010001000000001
+01101000000010001100100000100100
+00100000010000000110100111100101
+01111001001000001010001000000010
+00011010001000100111111000000000
+01101000000010001100100000000101
+01100000000000001100100000000101
+10011000010000101111111000000000
+00011111111001100111110000000000
+00100000011000101000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+11011000010000000000000000011010
+00100000010000000110100111100101
+00100000011000001000000000000000
+01011000000000000000000000000000
+00100000010000000110011011011000
+00100000001000000110010110110100
+11011111001000000000000000000000
+01011000000000000000000000000010
+00100000010000000110011011011000
+00100000000000000000000001100100
+00011111001000001111001000000001
+01101000000010001100100000100110
+00100000010000000110100111100101
+00100000001000001110010110111011
+00011111001000100111111000000000
+01100000000000010000010001101011
+00100000011000000000000000000000
+00100000010000000110011110001110
+00100000011101011000000000000000
+01011000000000000000000000000000
+00100000010000000110011011011000
+01100000000000001000001001010110
+11000000000110000110010111001110
+00100000010000000110011011000110
+00100000000000000010011100010000
+00100000001000000110010111000111
+01011000000000001000000000000110
+00100000010000000110011011010111
+00100000000000000000001111101000
+01110000010010000010000100000010
+00100000011000000000000000000000
+11000100000000111000000000000000
+11011000010000001111111100000000
+10011000010000011111111000000000
+00100000011000000000000000000000
+00100000010000000101011000011110
+00100100011110100000000000000000
+01101000000010010100010011000010
+00100000010000000101100001100110
+11000100000000000000000000000000
+01101000000000001100011011111000
+11000100000000000000000000000000
+00100000010000000110010101111000
+00100100011101000000000000000000
+00100000010000000110010101011110
+01110000000010110111110100011011
+00100000010000000101011000100000
+00100000001000000110010101100110
+00100000011101000000000000000000
+01101000000000001100100000011101
+00011111111000001111111000000001
+01100000000000001100100000011101
+11011000010000000000000000000001
+11000011000000111110010111101011
+11011000010000001111111111111111
+01100000000010101100100000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+01111000010101000111110000000000
+01101000000000001100100000100000
+11000001000000010000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+00011010011000100111111000000000
+11000000000010100110011000000110
+11000000000000001110011010100110
+11000000000010101110011000010111
+11000000000000010110011000010111
+11000000000000101110011000010110
+11000000000010000110011001101010
+11000000000010010110011010001010
+11000000000000110110011000010100
+11000000000101000110010100100001
+11000000000101001110010100100100
+11000000000000100110011000010001
+11000000000010011110011000010001
+11000000000001010110011000001111
+11000000000101110011111101010111
+00011111111000010000010000001111
+00011111111000010111111011110000
+11000000001010000110011000110100
+00100000011000000000000000000000
+01101000000000010100001010100010
+01111001001111111111111000000000
+01100000000000010100001010100010
+01011000000000000000000000000000
+01100000000000010100100000010100
+01101000000000001100100000101001
+00011111111000001111111000000001
+01100000000000001100100000101001
+00100000001000000110011010100110
+00100000010000000110001011101001
+00100000001000000011111101101010
+01101000000000010100011111110100
+11000010100001100110011010010111
+00100000001000000011111100010000
+00100000010000000110010100101011
+00100000011000000000000000000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111000101100000000011000
+00100000010000000110011000100001
+01101000000000010100001010100000
+11000010100000111110011000110000
+11000010100000000011111100010010
+11000010100000001110011000101010
+11000010100000010110011000101101
+11000010100000011110011000101101
+00100000001000000110011010010111
+01011000000000000000000000000000
+01100000000000100100100000000110
+01110000010010000001101000000000
+01110000010010000000101000000000
+01110000010000100111111100000000
+01110000010001001000101100000000
+01110000010010000010000000000000
+01110000010010000000101100000000
+00100000011000000000000000000000
+11000010100000101110011000101101
+11000010100000011110011000101101
+00100000001000000110011010010111
+01101000000000010100011111110100
+11000010100001100110011010010111
+00100000001000000011111100010000
+00100000010000000101101100110000
+01101000000000010100001010100000
+11000010100000000011111100010010
+00100000001000000011111100010000
+01111001001111111000000000100101
+01000100111000110100000000011000
+01100000000010001000001001011001
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000110011001001001
+00100000010000000110011001001111
+00100000010000000110011001010110
+00100000010000000110011001100100
+01101000000000001100100000100000
+00101111111000011111111000000010
+00100000010000001110011001001000
+01101000000000001100100000100000
+00101111111000011111111000000001
+00100000010000001110011001000110
+00100000001000000110011000110111
+00100000010000000110011001011101
+00100000001000000110010101001100
+00100000011000000000000000000000
+01101000000000001100011111110010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011111110010
+00100100011110100000000000000000
+00100000001000000110011010001010
+01101000000000010100100000010010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100100000010010
+00100100011110100000000000000000
+00100000010000000110011010100110
+00100000001000000011111110011010
+01101000000000010100100000010100
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100100000010100
+00100100011110100000000000000000
+00100000010000000011111110000100
+00100000001000000011111110011010
+01101000000000010100100000011000
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100100000011000
+00100100011110100000000000000000
+01110000010010000001101000000000
+00100000011000000000000000000000
+01101000000000010100100000010110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010100100000010110
+00100100011110100000000000000000
+00100000001000000110011010110001
+01111001001111111000000000100101
+01000100111000111100000000011000
+01110000010010000001101000000000
+01110000010010000000101100000001
+01011000000000000000000000000000
+01100000000000010100100000010100
+00100000010000000110011010110001
+01101000000000001100000100110010
+00101111111011111111111000000001
+00100000010000001110011010001000
+01101000000000001100000100110010
+00101111111011111111111000000000
+00100000010000001110011010000100
+00100000010000000011111110100110
+00100000001000000110011010010111
+01101000000000110100001001110100
+00100000001110100011111101111001
+00100000001000000011111101101110
+01101000000000110100001001110100
+00100000001110100110011010000010
+01101000000000010100100000001100
+01100000000000010100100000010100
+00100000010000000011111110100100
+00100000001000000011111110000010
+00100000010000000011111110010100
+00100000001000000011111110001000
+01101000000000010100011111110100
+00101111111011111111111000000111
+00100000010000001011111101110101
+00100000011000000000000000000000
+00100000010000000101101100110000
+00100000011000000000000000000000
+01110000010000100111111100000001
+00100000010000000011111110100100
+00100000010000000011111110100010
+01110000010010000010000000000001
+01011000000000000000000000000000
+01100000000000010100011111110000
+01100000000000001100011111110010
+00100000010000000011111110011110
+00100000001000000110010101011010
+01101000000000001100001010101001
+11000000000110011110011001111001
+11000000000110100110011001111100
+00100000001000000110011010010111
+01111001001111111000000000100101
+01000100111001000100000000011001
+01101000000000001100010011111001
+00011111111000001111111000000001
+01100000000000001100010011111001
+00100000010000000011111110100110
+01101000000000010100011111111110
+01100000000000010100100000010010
+01101000000000001100000100110010
+00101111111011111111111000000001
+00100000010000001011111110001000
+01101000000000001100000100110010
+00101111111011111111111000000000
+00100000010000001011111101111100
+00100000001000000011111110010100
+01111001001111111000000000100101
+01000100111001001100000000011001
+01011000000000000000000000000000
+01100000000000010100100000010010
+01101000000000001100000100110010
+00101111111011111111111000000001
+00100000010000001011111110000110
+01101000000000001100000100110010
+00101111111011111111111000000000
+00100000010000001011111101111110
+00100000001000000011111110011000
+01111001001111111000000000100101
+01000100111001010100000000011001
+01011000000000000000000000000000
+01100000000000010100100000010110
+01101000000000010100011111110100
+11000010100001001011111110010000
+01101000000000010100011111110100
+11000010100000000011111101110111
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111001011100000000011001
+11011000010000000000000000000001
+11011010001000000100100000011011
+11011010010000000000000011000110
+00100000001000000110100000111110
+01111001001111111000000000100101
+01000100111001100100000000011001
+11011000010000000000000000000001
+11011010001000000100100000011011
+11011010010000000000000011000110
+00100000001000000110100000011101
+01111001001111111000000000100101
+01000100111111110100000000011111
+01101000000100001000000001110011
+11011000010000000000000000000110
+10011000010000011111111000000000
+01100000000100001000000001110011
+01101000000100001000000001110111
+10011000010000011111111000000000
+01100000000100001000000001110111
+01110000100000001000000100000000
+01101000000100001000000001110111
+01111001001111111111111000000001
+01111001001111111111111000000010
+01100000000100001000000001110111
+00100000000000000000000000011110
+01110000100000001000000100000001
+00100000011000000000000000000000
+00100000001000000110011110100001
+00100000001000000110011110101001
+00100100001101000110011011011101
+01101000000100001000000010000101
+00011111111000011111111000100000
+01100000000100001000000010000101
+00011000010000100111110000000000
+00100000001000101110011011100000
+00011010011000100111101000000000
+00101111110011000000000000000000
+00100000001000000110011101100011
+00011000000000000000010000000100
+11011010001000000000001000101100
+01101000000100001000000010000101
+00011111111000010111111011011111
+01100000000100001000000010000101
+00100000010000000110011011011101
+11011010001000000101010110101010
+01101000000000010000001000101100
+11101000110010010000000000000000
+10011010001001100111110000000000
+00100000011000000000000000000000
+11011000010000000000000000000010
+11011010001000000000001000110010
+00100000010000000110011011011101
+01101000000000010000001000110010
+01100000000000010000001000100101
+00100000010101000110011011110100
+00100000011000000000000000000000
+11011000010000000000000000010000
+11011010001000000000001000110100
+01101000000100001000000010000101
+00011111111000010111111011011111
+01100000000100001000000010000101
+00100000010000000110011011011101
+11011000110000000000001000110100
+11011111001000000000000000010000
+00100000010000000111010110000100
+00100000010000000111010100111101
+00100000010000000111010110011101
+00100000001000000111010100110100
+01111000010101101111110000000000
+00100000010000000110011011100010
+00100100011000101000000000000000
+01111000001101101111110000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+11011010001000001000000000100101
+00100000010000000110011011011001
+01110000100000000010001100000000
+00100000010000000110011011100010
+00100100011000101000000000000000
+00011000000000000111111000000000
+01100000000100010000001010001000
+11011010001000001000001010001010
+00100000010000000110011011011001
+11011000010000000000000000000110
+00100000010000000110011011100011
+00100100011000101000000000000000
+11101000110000010000000000000000
+10011000000000000010001000000000
+00100000010000000110011011011101
+00100000001000000110011100010000
+00100000010000000111111100110110
+01011000000000000001000000000000
+01100000000000010000001000100101
+11011010011000000110100000100011
+11011111001000000000000000000010
+00100000010000000110011011100010
+00100100011000101000000000000000
+01101000000000010000001000100101
+00011111111100001111111000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000001000100101
+11000010000000000110011100011100
+00100000001000000110011100010000
+01110000100000000101000000100101
+01110000100000101000000000000101
+00100000010000000111111100110110
+01111000010101000111110000000000
+00100000010000000110100010001010
+01011000000000000000000000000000
+11011010001000000000001000100001
+11011000010000000000000000000010
+00100000010000000110100011010011
+01101000000000010000001000100001
+11000011000000111110011100111000
+01011000000000000000011111110000
+11011010001000000000001000110100
+11011000010000000000000000010000
+00100000010000000110100011010011
+01110000100000000000011000001000
+11011000110000000000001000110100
+00100000010000000111010110010000
+01111000001101000111110000000000
+01101000000000010000001000100001
+00011111111100001111111000000000
+11011000010000000000011111111111
+10011000010000010111111000000000
+00100000001000101110011101000100
+00100000010000000110100010001111
+11011010011000000110100011011000
+00100000010101000110011011110100
+00100000010000000110011100000000
+01101000000000001000001000100000
+00101111111000000000011000000011
+00100100001000001110011100111000
+00100000010000000110100010001101
+01101000000000001000001000100001
+11000010100000101110011101010001
+01011000000000000000000000000000
+01100000000000011000001000100100
+00100000010000000110011110111001
+11011010011000000110011111011011
+00100000010000000110011011101101
+00100000010000000110011100000000
+00100100001101101110011101010001
+01101000000000001000001000100000
+00101111111000000000011000000011
+00100100001000001110011101000100
+01101000000000001000001000100001
+11000010100000110110011101011101
+01011000000000000000000000000000
+01100000000000010000001000100101
+11011010011000000110100000100011
+00100000010000000110100000000101
+00100000010000000110011011101101
+00100000010000000110011100000000
+00100100001101101110011101011101
+01101000000000001000001000100000
+00101111111000000000011000000011
+00100100001000001110011101010001
+01110000100000000101000000100001
+01101000000000001000001000100001
+11000100000000100000000000000000
+00100000010000000100010001100001
+00100000010000000100010010100011
+00100000001000000110011101100001
+01101000000000001000001000100000
+00011111111000111111111000000000
+01111001001000001111111000000000
+00101010001011000000000000001111
+00100000011000001000000000000000
+01100000000000001000001000100000
+00100000011000000000000000000000
+01101000000100001000000010000101
+11000100000000101000000000000000
+00100000001000000110011101110000
+01101000000100001000000100101100
+10101111111011111111111111111111
+00100000011000001000000000000000
+01101000000100001000000100001000
+11000011000000001110011101101101
+00100000010000000111010100110100
+00100000001000000110011101101101
+00011111001000100000010000000000
+01100000000010010100001000111100
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+01100000000000010100001000111010
+10011000000000000000101000000000
+00011111001010111111001000000000
+01101000000100001000000000100101
+11100000101000001000000000000000
+11000010000000000110011101111100
+01110000100000000010001100000000
+00100000011000000000000000000000
+01101000000000010100001000111010
+00100000011110100000000000000000
+01110000100000000010001110000000
+01110000100000000010001000000000
+01110000100000000010010000000000
+01101000000010010100001000111100
+00011000010010111111001000000000
+10011000000000000000110000000000
+11101000110000001000000000000000
+01100000000100001000000000100101
+11000010000000000110011110001001
+01110000100000000010001100000000
+00100000011000000000000000000000
+01111001001111111000000000100101
+01000100111111111100000000011111
+01110000100000001000011001110101
+01110000100000001000011100001010
+01011000000000000000001000100011
+01100000000100010000000010001010
+01011000000000000000001000101000
+01100000000100010000000010001100
+01101000000100001000000010000001
+01111001001000000111111000000000
+01111001001111111111111000000001
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000010000110
+01111001001000000111111000000111
+01100000000100001000000010000110
+01111001001111111111111000000111
+01100000000100001000000010000110
+00100000011000000000000000000000
+01111001001000000111111000000111
+01100000000000010000001000100011
+01111001001000000000000000100101
+01000100100000000100000000100000
+01110000100000001000100000000010
+01110000100000001000111000000000
+01110000100000000000011000000010
+00100000001000000110011110110011
+00011000000000000000010000000001
+01100000000000001000001000100011
+01111001001000000000000000100101
+01000100100000001100000000100000
+01110000100000001000100000000001
+01100000000110010000000010001110
+01110000100000000000011000000010
+00100000010000000110011110110011
+01101000000000001000001000101000
+00100000011000000000000000000000
+01101000000000010100000101110111
+00011111111000001111111000000001
+01100000000000010100000101110111
+01101000000100001000000100101100
+11000011000000011110011110110011
+00100000011000000000000000000000
+01110000100000001000011001000000
+01110000100000001000011100000000
+01101000000100001000000010000001
+01111001001111111111111000000000
+01111001001000000111111000000001
+01100000000100001000000010000001
+01011000000000000000000000000000
+01100000000000100000001000100011
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000100010000000010001110
+01011000000000000000000000000001
+01100000000100001000000010001000
+01011000000000000000001000100011
+01100000000100010000000010001010
+01110000000000100010001100000110
+01110000100000000000011000000010
+00100000001000000110011110110011
+00011000010000001000010000000100
+01100000000110010000000010001000
+00011010001000001010001111111100
+11011000010000000000000000000010
+11100010001010001000000000000000
+00011111111100010000010000000000
+11100000101010001000000000000000
+00011111111011001000010000000000
+11100000101010001000000000000000
+11100000101000001000000000000000
+00011010001000100111111000000000
+01100000000100010000000010001010
+01011000000000000000000000000000
+01100000000100010000000010001110
+01110000100000000000011000000010
+00100000001000000110011110110011
+01100000000110010000000010001110
+01011000000000000000000000000100
+01100000000100010000000010001000
+01110000000000100010001100000011
+01011000000000000000001000100011
+01100000000100010000000010001010
+00011010001000100111111000000000
+01100000000100010000000010001100
+01101000000100001000000010000110
+00101010001011000000000000001111
+01111001001000001111111000000110
+01100000000100001000000010000110
+01110000100000000000011000000010
+01101000000100001000000100101100
+11000010100000111110011111101000
+11011000111000000000000000000011
+00100000010000000110011101101010
+00100000010000000110011110110011
+00101111111011111111111000000010
+00100000010000000110011101100011
+01101000000000001000001000100100
+00011111111100000010010000000000
+01101000000000001000001000100101
+00011111111011010111111000000000
+10011010010000011010010000000000
+01101000000000001000001000100110
+10011010010000011111111000000000
+10011000010000001111111000000000
+01100000000000001000001000100110
+00011111111011001111111000000000
+01100000000000001000001000100101
+00011111111011001111111000000000
+01100000000000001000001000100100
+00100000011000000000000000000000
+01110000100000000100001000001010
+01110000100000001001000100000010
+01110000100000001001001000000011
+01110000100000001001001100000011
+01110000100000001001010000000011
+01110000100000001001010100000011
+01110000100000001001011000000010
+00100000011000000000000000000000
+01110000100000001001000100000101
+01110000100000001001001000000111
+01110000100000001001001100000111
+01110000100000001001010000000111
+01110000100000001001010100000111
+01110000100000001001011000000101
+00100000011000000000000000000000
+01101000000100001000000100101100
+11000011000000101110100000001100
+00100000011000000000000000000000
+01100000000000001000001000100100
+01011000000000000000001000100100
+01100000000100010000000010011010
+01011000000000000000000000000001
+01100000000100010000000010011000
+01100000000110010000000010011110
+00011010001000100111111000000000
+01100000000100010000000010011100
+01110000100000001001000000000001
+01110000100000000000011000000100
+00100000001000000110100000001100
+00011111111100001111111000000000
+01100000000000010000001000100101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100000010100000000100000
+01101000000000010100001010011011
+10011010010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000001000100101
+01111001001000000000000000100101
+01000100100000011100000000100000
+01011000000000000000000000000100
+01100000000100010000000010011000
+01110000000000100010010010100000
+01110000000000100010011110100001
+01011000000000000000001000100100
+01100000000100010000000010011010
+01100000000110010000000010011110
+00011010001000100111111000000000
+01100000000100010000000010011100
+01011000000000000000000000000010
+00101010001011000000000000001111
+01111001001000001111111000000000
+01100000000100001000000010010000
+01110000100000000000011000000100
+11011000111000000000000000000101
+00100000010000000110011101101010
+00100000010000000110100000001100
+00101111111011111111111000000100
+00100000010000000110011101100011
+01101000000000010000001000100101
+00011111111100001111111000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010000001000100101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100000100100000000100000
+01101000000000010100001010011011
+10011010010000001111111000000000
+01100000000000010000000101100001
+01111001001000000000000000100101
+01000100100000101100000000100000
+01100000000010010000001010100000
+00011010001000100111111000000000
+01100000000000010000001010110111
+00100000010000000110100001011000
+01101000000010010000001010110000
+01101000000000010000001010110111
+00011111111000100010001000000000
+01101000000000010000000101100001
+00100000010000000110100001110000
+01101000000000010000001010110000
+01101000000010010000001010110111
+10011000010000001000010000000000
+01100000000010010000001010110111
+01101000000010010000000101100001
+10011000010000001000010000000000
+01100000000010010000000101100001
+01101000000000010000001010100000
+00100100001110100110100001001000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100000110100000000100000
+01101000000000010100001010101010
+00011111111000001111111111111111
+01101000000010010000000101100001
+10011000010000011111111000000000
+00011111111000001111111000000001
+01100000000000011000001010110100
+01101000000000010000001010100000
+10011000010000001111111000000000
+01101000000010011000001010110100
+10011000010001100111111000000000
+00100100001000010110100001101011
+01100000000000010000001010100000
+01101000000000011000001010110100
+01101000000010010000000101100001
+10011000010001100111111000000000
+01100000000000010000001010110000
+00100000011000000000000000000000
+01101000000000010000001010100000
+01100000000000010000001010110000
+01011000000000000000000000000000
+01100000000000010000001010100000
+00100000011000000000000000000000
+00011111111000100010010000000000
+01111001001000000000000000100101
+01000100100000111100000000100000
+00011010010000100111111000000000
+00011000010000001000010000000011
+01100000000110010000000010011000
+00011010001000001010001111111101
+11101010001010011000000000000000
+00011000010000100010010000000000
+11011000010000000000000010100000
+11100010001010001000000000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011010001000100111111000000000
+01100000000100010000000010011010
+01011000000000000000000000000000
+01100000000100010000000010011110
+01110000100000001001000000000001
+01110000100000000000011000000100
+00100000010000000110100000001100
+00011010010000100111111000000000
+11100010001000011000000000000000
+00100000000000000010011100010000
+00100000000000000010011100010000
+00100000000000000010011100010000
+00100000011000000000000000000000
+01110000100010010111001101110000
+00100000000000000000101110111000
+00100000011000000000000000000000
+01110000100010010111001100110000
+00100000011000000000000000000000
+00011111111010011111111000000000
+01100000000100010000000001000101
+01110000100000000100101100000000
+00100000011000000000000000000000
+00100000010000000110100010001111
+00100000010000000110100011000000
+11101010001010001000000000000000
+00011010001000001010001000000001
+00011000000000000000111000000000
+10101000010011000000000000000000
+00100000001000001110100010110111
+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
+00100000001000001110100010011000
+01101000000100010000000001000101
+00011111111000001111111000000001
+01100000000100010000000001000101
+00011000111000001000111000000001
+00101000111000000001111000001000
+00100100001000001110100010011000
+11000010000000000110100010010101
+01110000100000000100011110000011
+00100000011000000000000000000000
+01110000100000000100011110000010
+00100000000000000000000000001100
+01110000100000000100011110000000
+01110000100000000100011110000010
+00100000000000000000000010010110
+00100000011000000000000000000000
+00100000010000000110100011000000
+01110000100000000100011110100010
+00011010001000100111111000000000
+01100000000100010000000001001000
+01111001001000000000010000001011
+00101111111011000000000000001111
+01111001001000001000010000001111
+01100000000110010000000001001010
+01110000100000000000011000000001
+00100000011000000000000000000000
+01101000000100001000000100101100
+11000011000000001110100011010000
+00100000011000000000000000000000
+00100000010000000110100010001111
+00100000010000000110100011000110
+00100000010000000110100011010000
+01110000100000000100011110000011
+00100000011000000000000000000000
+01101000000100010000000100100100
+01100000000100010000000001000101
+00100000010000000110100011000110
+11011000111000000000000000000001
+00100000010000000110011101101010
+00100000010000000110100011010000
+00101111111011111111111000000000
+00100000010000000110011101100011
+01110000100000000100011110000011
+00100000011000000000000000000000
+01110000010000100111101000000001
+00011000000000000000111000001110
+01101000000000010100001001111100
+00100000001000000111111001001100
+01101000000100010000000100010010
+00100000011110100000000000000000
+01101000000010001100001001111011
+10011000010001100111110000000000
+00100000001000010110100011110010
+01101000000000001100001001111010
+00100000001110100110100011100010
+11011000111000000000000000001110
+00100000010000000111111001010011
+00100000001110100110100011110010
+01011000000000000000000000000000
+00100000011000000000000000000000
+00011000000000000000111000001110
+00100000010000000111111001001011
+01110000010000100111101000000000
+01101000000100010000000100010010
+00100000011000000000000000000000
+01101000000100010000000001011110
+10011000000000000001010000000000
+00100000011000000000000000000000
+00011001010000100111111000000000
+01100000000100010000000001011110
+00100000011000000000000000000000
+01101000000100010000000100010010
+00100000011110100000000000000000
+10011000000000000111001000000000
+01101000000100010000000001011000
+10011000000000000000011000000000
+00100000011000000000000000000000
+01101000000100010000000001011000
+10011000010000001111111000000000
+00011111111000100000011000000000
+00011000011000100111111000000000
+01100000000100010000000001011000
+00100000011000000000000000000000
+01101000000000010100001010101100
+01100000000100010000000001010010
+00100000011000000000000000000000
+01101000000000110000001111010000
+01100000000000110000000110110100
+01110000000000011011001100110100
+00100000001000000110100100010011
+01101000000000110000000001000000
+01100000000000110000000110110100
+01110000000000011011001100110011
+01111001001000000000000000100101
+01000100100001000100000000100001
+00100000010000000110100101010100
+00100000010000000110100101010000
+01101000000000001000000110110011
+11000000000110100110100100011011
+11000000000110011110100101111100
+00100000011000000000000000000000
+00100000010000000110100101111010
+00100000001000000110100101100011
+01111001001000000000000000100101
+01000100100001001100000000100001
+00100000010000000110100100101001
+01101000000000001000000110110010
+11000001011111111000000000000000
+01101000000000110000000110110100
+01100000000000110100001001110100
+01101000000000001000000110110011
+01100000000000001100001010101001
+11000000000110011110100100101101
+11000000000110100110100100101111
+00100000011000000000000000000000
+00100000010000000110100101001100
+01101000000000001000000110110010
+11000001011111111000000000000000
+00100000001000000110100101101011
+00100000010000000110100110000011
+00100000001000000110100110100010
+00100000010000000110100110000001
+00100000001000000110100110101000
+00100000010000000110100110001000
+01111000010101000111110000000000
+00100000010000000110100110001100
+00100100001101000100001001111111
+01101000000010010000000110111010
+00011000010000001000010111111111
+01011000000000000000000000000000
+11100000010000111000000000000000
+11011000010000000000000000011100
+11011010001000000000000110010101
+11011010010000000000000000000000
+00100000001000000110100000111110
+01111001001000000000000000100101
+01000100100001010100000000100001
+11011000101000000000000110001110
+00011000000000000111001000000100
+00100000010000000111111000111011
+11011000010000000000000000011100
+11011010001000000000000110001110
+11011010010000000000000000000000
+00100000001000000110100000111110
+01111001001000000000000000100101
+01000100100001011100000000100001
+01011000000000000000000000000000
+01100000000000011000000001000000
+11100000101000011000000000000000
+00100000001000000110100101010100
+11011000010000000000000000000001
+11011010001000000000000110110010
+11011010010000000000000000011100
+00100000001000000110100000011101
+11011000010000000000000000000001
+11011010001000000000000110110010
+11011010010000000000000000011100
+00100000001000000110100000111110
+01111001001000000000000000100101
+01000100100001100100000000100001
+00100000010000000110100110001000
+01111000010101000111110000000000
+00100000010000000110100110001100
+00100000011101000000000000000000
+01110000000000011011001000000000
+01101000000000110000000110110100
+01100000000000110000000110001111
+01101000000000001000000110110011
+01100000000000001000000110001110
+11011000010000000000000000011100
+11011010001000000000000110001110
+11011010010000000000000000000000
+00100000001000000110100000111110
+11011000010000000000000000000110
+11011010001000000100010011111001
+11011010010000000000000000011101
+00100000001000000110100000111110
+11011000010000000000000000000110
+11011010001000000100010011111001
+11011010010000000000000000011101
+00100000001000000110100000011101
+01111001001000000000000000100101
+01000100100001101100000000100001
+11011000010000000000000000000111
+11011010001000000000000110110011
+11011010010000000000000000000000
+01101000000000001000000110110010
+00011111111011111111111000000111
+10011010010000001010010000000000
+00100000001000000110100000011101
+11011000010000000000000000010000
+11011010010000000000000000100011
+01101000000000001000000110110010
+00011111111100100111111000000000
+10011010010000001010010000000000
+00100000011000000000000000000000
+11011010001000000100010001111011
+00100000001000000110100101111101
+11011010001000000100001001100010
+01111001001000000000000000100101
+01000100100001110100000000100001
+00100000010000000110100101110100
+00100000001000000110100000111110
+11011010001000000100010001111011
+00100000001000000110100110000100
+11011010001000000100001001100010
+01111001001000000000000000100101
+01000100100001111100000000100001
+00100000010000000110100101110100
+00100000001000000110100000011101
+11011000010000000000000000011100
+11011010001000000000000110010101
+11011010010000000000000000000000
+00100000001000000110100000011101
+01111001001000000000000000100101
+01000100100010000100000000100010
+01011000000000000000000110010101
+01100000000000010000000110111010
+01110000000000011011001000000000
+11011111001000000000000000000100
+00011111001000100111111000000000
+01100000000000001000000101100001
+01101000000000010000000110111010
+00011111111000100010001000000000
+00100000010000000110100110101100
+00100000011101000000000000000000
+01101000000000010000000110111010
+00011111111000001111111000000111
+01100000000000010000000110111010
+01101000000000001000000110110010
+00011111111000001111111000000001
+01100000000000001000000110110010
+01101000000000001000000101100001
+00011111111000100111001000000000
+11000010000000000110100110010010
+00100000011000000000000000000000
+01101000000001000100001001100010
+01101000000011000100001001101010
+10011000010000011111111000000000
+00100000011110100000000000000000
+01110000010000100101111000000001
+00100000011000000000000000000000
+01101000000000110100001001110100
+00100000011110100000000000000000
+01110000010001001000101100000001
+00100000011000000000000000000000
+11011010010000000000000110110011
+11011111001000000000000000000111
+00100000010000000111111100100101
+00100000001000101110100110110001
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+00100000001000000011101111110001
+01111001001000000000000000100101
+01000100100010001100000000100010
+01111001001000000000010000000111
+00100000010000000110100111100101
+01111101001000001000010000000111
+01111001001000000000000000100101
+01000100100010010100000000100010
+00101000010011000000000000000111
+00011000010000010000111000011111
+01101000000000100000000010100011
+11111001001000001111111000000000
+01100000000000100000000010100011
+01101000000000100000000010100111
+11111101001000001111111000000000
+01100000000000100000000010100111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100010011100000000100010
+00101000010011000000000000000111
+00011000010000010000111000011111
+01101000000000100000000010100011
+11111001001111111111111000000000
+01100000000000100000000010100011
+01101000000000100000000010100111
+11111001001111111111111000000000
+01100000000000100000000010100111
+00100000011000000000000000000000
+00100000010000000110100111000100
+00100000001000000110100111010010
+00100100010101011110100110111001
+11011000101000001000000001111100
+00100000010000000110100111110100
+01111001010000000000010000000111
+11011000101000001000000001111000
+00100000010000000110100111110100
+01111001001111111000010000000111
+11011000101000001000000001110000
+00100000001000000110100111110100
+01111001010000000000010000000111
+00100000010000000110100111110011
+01111001001000000000010000000111
+11011000101000001000000001110000
+00100000001000000110100111110100
+00011000010000010000111000000111
+00011000010010010111111000000000
+00011111111000010111111000000011
+10011000101000001000101000000000
+11101000101000001000000000000000
+00100000011000000000000000000000
+11011000101000001000000100011100
+00100000010000000110100111011111
+00101000010011111111111000000111
+00100000001000001110100111101011
+10101111111011000000000000000000
+00100000011000000000000000000000
+10101111111011111111111111111111
+00100000011000000000000000000000
+00101111110011111111111000000111
+00100000001000000110100111110000
+00101111110011000000000000000111
+01011000000000000000000000000000
+01111101001000001111111000000111
+10011000010000101000010000000000
+11011000101000001000000001110100
+00100000010000000110100111011111
+00101000010011111111111000000111
+11111001001000001111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000001100000101101110
+11000001001111111000000000000000
+01110000100000000111011100000000
+00100000000000000000000000011110
+01110000100000000111011100001000
+00100000011000000000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+01100000000100010000000010100010
+01100000000100010000000010100000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000100010000000010100010
+01011000000000000000000000000001
+01100000000100010000000010100000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000100010000000010100010
+01100000000100010000000010100000
+00100000011000000000000000000000
+11011000101000001000100000000000
+11011111001000000000000000100000
+00100000010000000111111000111011
+01011000000000000000010011111001
+01100000000100010000100001001000
+01100000000100010000100001001010
+01100000000100010000100001001100
+01100000000100010000100001101100
+01100000000100010000100010001100
+01100000000100010000100010101100
+01011000000000000000001000000100
+01100000000100010000100010101110
+01011000000000000000010100000110
+01100000000100010000100010110000
+01011000000000000000010100000100
+01100000000100010000100010110010
+01011000000000000000001000000000
+01100000000100010000100010110100
+01011000000000001111111011111011
+01100000000100010000100010110110
+01011000000000001111101011111001
+01100000000100010000100010111000
+01011000000000001111101011111011
+01100000000100010000100010111010
+01011000000000001111110100000000
+01100000000100010000100010111100
+01011000000000000000010000001000
+01100000000100010000100010111110
+01011000000000000000101000001100
+01100000000100010000100011000000
+01011000000000000000101100001001
+01100000000100010000100011000010
+01011000000000000000010100000000
+01100000000100010000100011000100
+01011000000000001111100011110001
+01100000000100010000100011000110
+01011000000000001110110011101000
+01100000000100010000100011001000
+01011000000000001110100111101011
+01100000000100010000100011001010
+01011000000000001111010100000000
+01100000000100010000100011001100
+01011000000000000001001000100011
+01100000000100010000100011001110
+01011000000000000011011101001011
+01100000000100010000100011010000
+01011000000000000101111001110001
+01100000000100010000100011010010
+01011000000000000111100001111111
+01100000000100010000100011010100
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100010100100000000100010
+01101000000100010000000001010000
+01111001001111111111111000001110
+01100000000100010000000001010000
+01110000100000001011000000010001
+01110000100000001011000100000001
+01110000100000001011001000000001
+01110000100000001011001100010001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100100010101100000000100010
+01101000000100010000000001010000
+01111001001000000111111000001110
+01100000000100010000000001010000
+01110000100000001011000000000100
+01110000100000001011001100000100
+01110000100000001011000100000000
+01110000100000001011001000000000
+00100000011000000000000000000000
+01101000000000001000000000110000
+11000100000000010000000000000000
+11011000101000000000000010110101
+11011111001000000000000000011110
+01101000000100001000000100110100
+11100000101000001000000000000000
+11000010000000000110101001011000
+00100000011000000000000000000000
+01101000000000001000000000110000
+11000100000000010000000000000000
+11011000110000000000000011010011
+00011000000000000111001000011110
+11101000110000001000000000000000
+01100000000100001000000000001001
+11000010000000000110101001100000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000010000000110101010000111
+11011000010000000000000000000110
+00100000001000000110100111011010
+00100000010000000110101001100101
+11011000010000000000000000000110
+00100000001000000110100111101101
+00100000010000000110101001100101
+11011000010000000000000000000110
+00100000001000000110100111101111
+00100000010000000110101010000111
+11011000010000000000000000000111
+00100000001000000110100111011010
+00100000010000000110101001101110
+11011000010000000000000000000111
+00100000001000000110100111101101
+00100000010000000110101001101110
+11011000010000000000000000000111
+00100000001000000110100111101111
+00100000010000000110101010000111
+01101000000100001000000001111000
+01111001001000000111111000000110
+01100000000100001000000001111000
+11011000010000000000000000000110
+00100000001000000110100111010001
+00100000010000000110101010000111
+01101000000100001000000001111000
+01111001001000000111111000000111
+01100000000100001000000001111000
+11011000010000000000000000000111
+00100000001000000110100111010001
+01101000000100001000000010000001
+00011111111000011111111000000100
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000010000001
+00011111111000010111111011111011
+01100000000100001000000010000001
+00100000011000000000000000000000
+01101000000100001000000010000001
+00101111111011111111111000000010
+00100000011000000000000000000000
+01011000000000000110101010010001
+01100000000000010100001010010110
+00100000011000000000000000000000
+00100000010000000110101100010100
+01101000000000001000010010000001
+11000000000000001110101010010110
+11000000000000010110101010011100
+00100000001000000011101111110001
+11011000010000000000000000010111
+01100000000010010100010011000010
+00100000010000000101101010001000
+11101000110000001000000000000000
+00100000010000000110101010011110
+00100000001000000101101101000010
+00100000010000000110101010011110
+00100000001000000101101101010001
+00011000110000100010001000000000
+01111001001000000000000000100101
+01000100100110001100000000100110
+11101000110000001000000000000000
+11000000000000000110101010110111
+11000000000000001110101010111100
+11000000000000010110101010111101
+11000000000000011110101010111110
+11000000000000100110101101010000
+11000000000000101110101011111111
+11000000000000110110101101010001
+11000000000000111110101101010010
+11000000000001000110101010111111
+11000000000001001110101011000000
+11000000000001010110101011000001
+11000000000001011110101011000010
+11000000000001100110101011000011
+11000000000001101110101011010101
+11000000000001110110101011100011
+11000000000001111110101011110000
+11000000000010000110101011110001
+11000000000010001110101011111000
+11000000000010010110101100011001
+11000000000010011110101101000101
+00100000011000000000000000000000
+00011010001000100000110000000000
+11101000110000001000000000000000
+00011111111011010111111000000000
+01100000000000011000010001101101
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+11101000110000100000000000000000
+01100000000100001000000010000010
+00011111111011001111111000000000
+01101000000110001000000010000001
+00011000010000010000010001111111
+10011000010000011000010000000000
+01100000000110001000000010000001
+00011111111011001111111000000000
+01101000000110001000000001010001
+00011000010000010000010011011111
+10011000010000011000010000000000
+01100000000110001000000001010001
+00011111111011001111111000000000
+01101000000110001000000001000010
+00011000010000010000010000111111
+10011000010000011000010000000000
+01100000000110001000000001000010
+00100000001000000110101010110111
+11101000110001001000000000000000
+01101000000110001000000010000101
+00011000010000010000010000111111
+10011000010000011000010000000000
+01100000000110001000000010000101
+00011111111011001111111000000000
+01100000000100010000000010100000
+00011111111100010111111000000000
+01100000000100010000000010100010
+00011111111100010111111000000000
+01100000000100010000000010100100
+00011111111100010111111000000000
+01100000000100010000000010100110
+00100000001000000110101010110111
+11101000110000100000000000000000
+01100000000100100000000001110000
+11101000110000100000000000000000
+01100000000100100000000001111000
+11101000110000100000000000000000
+01100000000100100000000001111100
+11101000110000001000000000000000
+01100000000100001000000010000000
+11101000110000001000000000000000
+01100000000100001000000010000001
+11101000110000001000000000000000
+01100000000100001000000010000010
+00100000001000000110101010110111
+00100000001000000110101011110001
+01110000000001000110110100010000
+11011000101000000000010001101110
+01101000000100100000000001110100
+11100000101000100000000000000000
+01101000000100100000000100011100
+11100000101000100000000000000000
+00100000011000000000000000000000
+11101000110010001000000000000000
+11101000110000001000000000000000
+00011111111010011111111000000000
+00011111111100100111111000000000
+10011000010000011000010000000000
+00100000010000000110100111110011
+00100000001000000110101010110111
+11101000110010001000000000000000
+01100000000110001000001100000001
+11101000110000001000000000000000
+00101111111000011111111000000001
+11101000110000001000000000000000
+01100000000100001000001100000111
+00100000001000001110101100001000
+11101000110000001000000000000000
+01100000000100001000001100000111
+11101000110000001000000000000000
+00011111111000100111001000000000
+00011111111000001111111111111111
+00011111111000011111111010010000
+01100000000100001000001100000010
+01110000100000110000001100000010
+00100000000000000000000000000001
+11011000101000000000010001101101
+01101000000100001000001100000111
+11100000101000001000000000000000
+11000010000000000110101100010000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000100000010001101101
+11100000101001000000000000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+00011010001000100111111000000000
+00011111111000001111111000000001
+01100000000000010000010010000011
+01101000000000010100011101001001
+11000000000000000110101100101000
+01101000000000010100011101001001
+01101000000010010000010010000011
+11101000010010010000000000000000
+10011000010000001111111000000000
+01101000000010010000010010000011
+00011000010000001000010000000010
+00011000010000100000110000000000
+11101000110010001000000000000000
+00011000110000100010001000000000
+00100000001000000110100001000010
+01011000000000000000000000000010
+00011111111100001111111000000000
+01100000000000010000001000100101
+11011010011000000110100000100011
+11011111001000000000000000000010
+00100000010000000110011011100010
+00100100001000101110101100110110
+01101000000000010000001000100101
+00011111111100001111111000000000
+10011000010000001111111000000000
+01100000000000010100011101001001
+00011111111100001111111000000000
+01100000000000010000001000100101
+11000010000000000110101100101101
+01101000000000010100011101001001
+00011111111100001111111000000000
+01100000000000010000001000100101
+11011010011000000110100000100011
+11011111001000001111111111111111
+00100000010000000110011011100010
+00100100001000101110101100011110
+01101000000000010000001000100101
+00011111111100001111111000000000
+10011000010000001111111000000000
+00011111111000001111111000000010
+01100000000000010100011101001001
+00011111111100001111111000000000
+01100000000000010000001000100101
+11000010000000000110101100111011
+01101000000000010100011101001001
+00011111111000001111111000000010
+00011111111100001111111000000000
+01100000000000010100011101001001
+11011010001000000100011101001001
+11011000010000000000000000000010
+11011111111000000000000000000000
+00100000010000000110100001000010
+01011000000000000000000000000000
+01100000000000010100011101001001
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011101011000000000000000
+01110000010001110101010100000000
+01110000000001001000010100000011
+01110000000001001000011000000011
+01110000000001001000101000010001
+01110000000001001000101100010011
+01011000000000000000000000000000
+01100000000000011000010010000111
+01100000000000001100001010111101
+01110000010001111111001100000000
+01111001001000000000000000100101
+01000100110111111100000000110111
+01011000000000000000000000000000
+01100000000000001100001010111101
+01100000000000001100011101010010
+01100000000000001100011101001011
+01110000010001110101011101010000
+00100000011000000000000000000000
+00011000010000011000010000000010
+00100000011000000000000000000000
+00011000010000100111111000000000
+00011111111011011111111000000000
+01100000000000001100011101010000
+00011000000000000111111000111111
+00011111111011011111111000000000
+01100000000000001100011101001111
+00011000000000000111111000000001
+00011111111011011111111000000000
+01100000000000001100011101001110
+00100000010000000110101110011101
+00011000010000100111111000000000
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100000000000001100011101010000
+00011000000000000111111001110011
+00011111111011011111111000000000
+01100000000000001100011101001111
+00011000000000000111111000000001
+00011111111011011111111000000000
+01100000000000001100011101001110
+00100000001000000110101110011101
+01101000000000001100011101010001
+00100000001110100110101110000000
+01011000000000000000000001110000
+00100000011000000000000000000000
+01011000000000000000000010101010
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100000000000001100011101010000
+00011000000000000111111011101111
+00100000010000000110101110010001
+01101000000010010000010010001111
+00011000010000100000101000000000
+11100000101000001000000000000000
+00011000101000100000010000000000
+01100000000010010000010010001111
+00011000000000000111111011111111
+00100000010000000110101110010001
+01101000000010010000010010001111
+00011000010000100000101000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+00011111111011011111111000000000
+01100000000000001100011101001111
+01101000000000010100011101001111
+00011111111011010111111000000000
+01100000000000011000010010001100
+11011010001000000000000100000111
+11011010010000000000000000001111
+00100000010000000110101110101010
+00011111111000101111111011010111
+00011111111001000111111000000000
+00011111111011011111111000000000
+00100000011000000000000000000000
+01101000000000011100011101001110
+01100000000000011000010010001100
+11011010001000000000000100000111
+11011010010000000000000000001111
+00100000010000000110101110101010
+00011111111011010111111000000000
+11011010010000000000000000000111
+00100000010000000110101110101010
+00011111111000101111111000101011
+00011111111001000111111000000000
+00011111111011011111111000000000
+00011111111000100000010000000000
+00100000011000000000000000000000
+11011010011000000000000000000000
+00011010010000100111001000000000
+00100000010000000111110111111011
+00011111111000100000010000000000
+00011000010000100111111000000000
+00011010011000111010011000000000
+11000011000001000110101110110011
+10011010001000101000010000000000
+00011010011000001010011000000001
+00011000010000111000010000000000
+01101000000000011000010010001100
+00011010010000001010010111111111
+00101010010000011111111011111111
+00100000001000001110101110111101
+00011010010000100111001000000000
+00100000010000000111110111111011
+00101111111011111111111000000000
+01111001001000001000010000000000
+00100000001000000110101110101110
+00011000010000110111111000000000
+00100000011000000000000000000000
+01101000000010001100011101001011
+00011000010010111000010000000000
+01111001001000000000010000000000
+01101000000000001100011101010001
+00100100010110100110101101100101
+01100000000010001000010010100101
+00100000011000000000000000000000
+00011000010010111000010000000000
+01111001001000000000010000000000
+01101000000000001100011101010001
+00100000010110100110101101100101
+00100000011000000000000000000000
+00011000010000111000010000000000
+01101000000000001100011101010001
+01111001001110100000010000000000
+00100000011000000000000000000000
+01101000000010001000010010010100
+01110000000001001001011011010111
+00100000010000000110110011110110
+01101000000000001100001010111010
+01111001001000000111111000000110
+01111001001000000111111000000111
+01100000000000001100001010111010
+01110000010001110101000100000000
+00100000001000000110110011010111
+01101000000000001100001010111010
+01111001001000000111111000000111
+01100000000000001100001010111010
+00100000001000000110110011010111
+01111001001000000000000000100101
+01000100111000000100000000111000
+01101000000000001100011111110011
+11000000000000000110101111100001
+00100000001000000110110010001011
+01101000000000010000001011001011
+00011111111000100000110000000000
+00100000010000000110110000001111
+01101000000000001000010010010100
+11000000000000000110101111100111
+00100000001000000110110001010111
+01111001001000000000000000100101
+01000100111000001100000000111000
+01101000000000001000010010010101
+11000000000111111110101111001111
+11000000001110011110101111011000
+11000000011101111110101111101111
+11000001001010011000000000000000
+00100000001000000011101111110001
+01101000000000010000010010011001
+00011111111000100000110000000000
+00100000010000000110110000011010
+01101000000000001000010010011011
+11000000001000001110101111111000
+11000000001000000110110000000100
+11000000001110001110110000111111
+11000000001110000110110001001110
+00100000001000000110110011010111
+00100000010000000110110000000110
+01101000000000001100011101001011
+00011111111000110111111000000000
+00011111111001100111110000000001
+00100000001000101110101111111110
+00100000001000000011101111110001
+01101000000000001100001010111101
+01111001001000000111111000000000
+01111001001000000111111000000001
+01100000000000001100001010111101
+00100000010000000110110100100010
+00100000001000000110110011010111
+00100000010000000110110000000110
+00100000001000000110110011010111
+00100000010000000110110000100010
+00100000001000000110110000110000
+00100000010000000110110000100010
+11101000110000001000000000000000
+00011111111010010111111000000000
+01100000000000001100011101011000
+11101000110000001000000000000000
+01100000000000001000010010100000
+00100000011000000000000000000000
+11101000110000001000000000000000
+01100000000000001000010010010011
+00011111111010010111111000000000
+01100000000000001000010010010100
+11101000110000001000000000000000
+01100000000000001000010010010101
+00100000010000000110110000100111
+01100000000010010000010010010111
+00011000110000100111111000000000
+01100000000000010000010010011001
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011111111000110111111000000000
+01100000000000001000010010011011
+00100000010000000110110000100111
+01100000000010010000010010011100
+00011000110000100111111000000000
+01100000000000010000010010011110
+00100000011000000000000000000000
+01101000000000010000010010011110
+00011111111000100000110000000000
+00100000011000000000000000000000
+01101000000000010000010010011110
+00011111111000100000110000000000
+11101000110000001000000000000000
+00011111111000100000010000000000
+00011000010000110000010000000000
+11000011100000000000000000000000
+11101000110000001000000000000000
+00011111111010011111111000000000
+00011111111100100111111000000000
+10011000010000001000010000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+01100000000000001100011101001011
+11101000110000001000000000000000
+01100000000000001000010010100001
+11101000110000001000000000000000
+01100000000000001000010010100010
+11101000110000001000000000000000
+01100000000000001000010010100011
+11101000110000010000000000000000
+01100000000000010100011101001100
+11101000110000001000000000000000
+01100000000000001000010010100100
+11101000110000001000000000000000
+01100000000000001100011101010110
+00100000011000000000000000000000
+00100000010000000110110000001000
+01101000000000001100011101011000
+00011111111001100111110000000001
+00100000001000101110110001000100
+00100000001000000011101111110001
+01101000000000001100001010111101
+01111001001000000111111000000101
+01111001001000000111111000000110
+01100000000000001100001010111101
+01101000000010001100011101001011
+00011000010010111000010000000000
+00011000010000011000010000000011
+00100000010000000110110101010101
+01110000010001110101010100000011
+00100000001000000110110011010111
+00100000010000000110110000001000
+01101000000000001100011101011000
+00011111111001100111110000000001
+00100000001000101110110001010011
+00100000001000000011101111110001
+01101000000000001100001010111101
+01111001001000000111111000000111
+01100000000000001100001010111101
+00100000001000000110110011010111
+01101000000000001000010010010100
+00011111111001100111110000000001
+00100000001000101110110001011011
+00100000001000000011101111110001
+01101000000000001000010010010101
+11000000001110011110110001100010
+11000000000111111110110001100110
+11000000011101111110110010000000
+11000000011111111110110001111000
+11000000001010011110110010000101
+00100000001000000011101111110001
+01101000000000001100001010111101
+01111001001000000111111000000011
+01100000000000001100001010111101
+00100000001000000110110011010111
+01101000000000001100001010111101
+01111001001000000111111000000011
+01111001001000000111111000000010
+01100000000000001100001010111101
+01101000000000001000010010010011
+00100000010000000110101101110011
+01100000000000001000010010010110
+00100000010000000110110011110110
+01101000000000001000010010010011
+00011111111010110111111000000000
+01100000000000001100011101001011
+00011111111010111111111000000000
+01111001001111111111111000000001
+01111001001000000111111000000000
+11011000010000000100011101010011
+01100000000010010000010010001111
+00100000010000000110101110000010
+00100000001000000110110011010111
+01101000000000010000010010011001
+00011111111000100000110000000000
+00011111111000001111111000000001
+01100000000000010000010010011001
+11101000110000001000000000000000
+01101000000010001100011101010110
+10011000010000001111111000000000
+01100000000000001100011101010110
+00100000010000000110110110001000
+00100000010000000110101110111111
+00100000010000000110110101101101
+00100000010000000110110110001110
+00100000001000000110110011010111
+00100000010000000110101101011101
+01101000000000001000010010010011
+00100000010000000110101101110011
+01100000000000001000010010010110
+00100000010000000110110011110110
+00100000001000000110110011010111
+01101000000000010000001011001011
+00011111111000100000110000000000
+00100000010000000110110000001111
+01101000000000001000010010010100
+11000000000000000110110010010001
+00100000001000000110110011000110
+01111001001000000000000000100101
+01000100111000010100000000111000
+01101000000000001000010010010101
+11000000000111111110101111001111
+11000000001110011110101111011000
+11000000011101111110110010011000
+00100000001000000110110011010111
+01101000000000010000010010011001
+00011111111000100000110000000000
+00100000010000000110110000011010
+01101000000000001000010010011011
+11000000001000001110110010100001
+11000000001000000110110010100001
+11000000001110001110110010101100
+11000000001110000110110010111100
+00100000001000000110110011010111
+00100000010000000110110000000110
+01101000000000001100011101001011
+00011111111000110111111000000000
+01101000000010001100011101010010
+10011000010001100111110000000000
+00100000001000101110110010101000
+00100000001000000011101111110001
+01101000000000001100001010111101
+01111001001000000111111000000001
+01100000000000001100001010111101
+00100000001000000110110011010111
+00100000010000000110110000001000
+01101000000000001100011101011000
+01101000000010001100011101010010
+10011000010001100111110000000000
+00100000001000101110110010110011
+00100000001000000011101111110001
+00100000001000000110110011010111
+01101000000000001100001010111101
+01111001001000000111111000000101
+01111001001000000111111000000110
+01100000000000001100001010111101
+01101000000010001100011101001011
+00011000010010111000010000000000
+00011000010000011000010000000011
+00100000010000000110110101010101
+00100000001000000110110011010111
+00100000010000000110110000001000
+01101000000000001100011101011000
+01101000000010001100011101010010
+10011000010001100111110000000000
+00100000001000101110110011000010
+00100000001000000011101111110001
+01101000000000001100001010111101
+01111001001000000111111000000111
+01100000000000001100001010111101
+00100000001000000110110011010111
+01101000000000001000010010010100
+01101000000010001100011101010010
+10011000010001100111110000000000
+00100000001000101110110011001100
+00100000001000000011101111110001
+00100000001000000110110011010111
+01101000000000001000010010010101
+11000000001110011110110011010001
+11000000011101111110110010000000
+11000000011111111110110001111000
+11000000001010011110110011010110
+01101000000000001100001010111101
+01111001001000000111111000000011
+01100000000000001100001010111101
+00100000001000000110110011010111
+00100000001000000110110011010101
+00100000001000000110110010000101
+00100000011000000000000000000000
+01101000000000001100011101010101
+00100000011110100000000000000000
+11000000000000011110110011011100
+00100000001000000011101111110001
+01110000010001110101010100000000
+00100000010000000101001011100000
+11011000010000000000000000000001
+00011000010010011000010000000000
+00011000010000011000010000000011
+11011010001000000000000010101010
+00100000010000000110110100111111
+00100000010000000101001011101111
+00011000101000100000110000000000
+11101000110000010000000000000000
+00100000001110100011101111110001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111000011100000000111000
+00100000010000000101001011101111
+01011000000000000000000000000100
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01101000000000001000010010010011
+11100000101000001000000000000000
+01011000000000000000000100111111
+11100000101000010000000000000000
+01101000000000001000010010010110
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111000100100000000111000
+00100000010000000101001011100000
+00100000010000000101001011101111
+01011000000000000000000000000100
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01101000000000001000010010010011
+11100000101000001000000000000000
+01011000000000000000000101110011
+11100000101000010000000000000000
+01101000000000001000010010010110
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111000101100000000111000
+00100000010000000101001011101111
+01011000000000000000000000001110
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01101000000000001100011101010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01011000000000000001010111101111
+11100000101000010000000000000000
+01011000000000000001000110000011
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000011110000
+11100000101000011000000000000000
+01011000000000000000000001111111
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01011000000000000000000000000001
+11100000101000001000000000000000
+00100000010000000110101101111100
+11100000101000001000000000000000
+01110000010001110101011100010000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111000110100000000111000
+00100000010000000101001011100000
+00100000010000000101001011101111
+01011000000000000000000000001110
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01101000000000001100011101010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01011000000000000001010111101111
+11100000101000010000000000000000
+01011000000000000001000110000001
+11100000101000010000000000000000
+01101000000000001100011101001011
+11100000101000001000000000000000
+01011000000000000000000011100000
+11100000101000011000000000000000
+01011000000000000000000001111111
+11100000101000010000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01011000000000000000000000000111
+11100000101000001000000000000000
+00100000010000000110101101111100
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111000111100000000111000
+00100000010000000101001011101111
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01101000000000001100011101010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01011000000000000000100111101111
+11100000101000010000000000000000
+01011000000000000000010111100011
+11100000101000010000000000000000
+00011000010000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000010001101
+11100000101000001000000000000000
+00100000010000000110101101111100
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111001000100000000111001
+00100000010000000101001011100000
+00100000010000000101001011101111
+01011000000000000000000000001000
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+00011000010000100001011000000000
+01101000000000001100011101010001
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+01011000000000000000100111101111
+11100000101000010000000000000000
+01011000000000000000010111100001
+11100000101000010000000000000000
+00011001011000100111111000000000
+11100000101000001000000000000000
+01011000000000000000000010001101
+11100000101000001000000000000000
+00100000010000000110101101111100
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111001001100000000111001
+01101000000000001100011101010111
+00100000011110100000000000000000
+01101000000100010000000100010010
+00100100011110100000000000000000
+00011010001000100111111000000000
+01100000000000001000000101100010
+01100000000010001000000101100001
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000010000000101001011100000
+00100000010000000101001011101111
+01011000000000000000000000000101
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01101000000000001000010010100101
+11100000101000001000000000000000
+01011000000000000000000111111111
+11100000101000010000000000000000
+01101000000000001100011101010111
+11100000101000001000000000000000
+01101000000000001100011101010100
+11100000101000001000000000000000
+01110000010001110101011100000000
+00100000011000000000000000000000
+01101000000000010000010010010111
+00100000011110100000000000000000
+01101000000000001100011101010111
+00011111111000001111111000000001
+01100000000000001100011101010111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111001010100000000111001
+01101000000000010000010010010111
+00011111111000100111001000000000
+00100000010000000110100011110111
+01101000000000010000010010011001
+00011111111000100000110000000000
+00100000010000000100100101110110
+00100000001000000110100011111010
+01111001001000000000000000100101
+01000100111001011100000000111001
+01101000000000001100011101010110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011101010110
+01101000000000010100011101001100
+01101000000010010100100000001110
+10011000010001100111110000000000
+00100000001000010110110110100010
+01100000000000010100100000001110
+01101000000000001100011101010111
+00100000001110100110110110101010
+01110000000001001010100000000001
+01101000000000001100011101010100
+01100000000000001000010010100111
+01011000000000000000000011111111
+01100000000000001000010010100110
+00100000001000000110110110101111
+01110000000001001010100000000000
+01101000000000001100011101010011
+01100000000000001000010010100111
+01011000000000000000000011101111
+01100000000000001000010010100110
+01111001001000000000000000100101
+01000100111001100100000000111001
+01101000000000001100100000001110
+00011111111001100111110001111111
+00100000001000010110110110110111
+01101000000000001000010010101000
+00011111111000001111111000000001
+01100000000000001000010010101000
+00100000010000000110101110111111
+01101000000000010100100000001110
+00011111111000001111111000001000
+01101000000010001000010010101000
+10011000010000001010001000000000
+00100000010000000101001001001000
+01100000000000010000001011011110
+00011111111000001111111000000100
+01100000000000010000001011100000
+00011111111000100000101000000000
+01101000000000001000010010100101
+11100000101000001000000000000000
+01101000000000001000010010100110
+11100000101000001000000000000000
+00100000010000000110110111011000
+00100000010000000110110111101000
+00100000010000000111111101101011
+01101000000000001100100000001110
+00011111111000100111001000000000
+00100000010000000100100101111100
+01101000000000001000010010100111
+11100000101000001000000000000000
+01101000000000010000001011011110
+00011111111000100000101000000000
+01101000000000010100100000001110
+01101000000010001000010010101000
+10011000010000001111111000000000
+00011111111000001111111000000100
+11100000101000010000000000000000
+01101000000000010100001010110011
+11100000101000010000000000000000
+01110000010001110101011100000000
+00100000001000000100001010001100
+01101000000000010100100000001110
+00011111111001100111110001111111
+00100100001000010110110111011111
+00011111111000111111111000000000
+01111001001000000111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01101000000000010100100000001110
+00011111111010010111111000000000
+00011111111100011000010000000000
+00011111111000010111111001111111
+00011111111000111111111000000000
+01111001001111111111111000000000
+11100000101000001000000000000000
+11100000101010001000000000000000
+00100000011000000000000000000000
+01101000000000001100011101010111
+00100000011110100000000000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110011101100000000110011
+00100000010000000111110001000101
+00100000010000000011111001110011
+00100000010000000110001000110101
+01111001001000000000000000100101
+01000100110011110100000000110011
+00100000010000000111100000010011
+00100000010000000111011111101110
+00100000010000000111011111111110
+01111001001000000000000000100101
+01000100110011111100000000110011
+01101000000000001100000100110010
+11000001000000001000000000000000
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000010000000100110111001101
+00100000010000000101001001111010
+00100100011110100000000000000000
+01111001001000000000000000100101
+01000100110100000100000000110100
+00100000010000000110111001000111
+00100000010000000100111101101110
+00100000010000000110110011011000
+00100000010000000110111000001010
+01111001001000000000000000100101
+01000100110100001100000000110100
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000001000000011111001101111
+01111001001000000000000000100101
+01000100110100010100000000110100
+01101000000000001000001011100110
+11000010100000000101000010001111
+11000010100000111101000010011001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110100011100000000110100
+00100000010000000101001001111110
+00100000011110100000000000000000
+01101000000000001000000001001011
+11000011100000110000000000000000
+00100000010000000101001001100001
+01100000000000010000000101111001
+00011111111000100000110000000000
+11101000110000010000000000000000
+00011111111000001111111000000100
+01100000000000010000000010010001
+01110000000000001001000000000110
+01111001001000000000000000100101
+01000100110100100100000000110100
+01101000000000010100001010101111
+00100000001110100110111000101101
+01101000000000001000000001001011
+11000100000000111000000000000000
+01111001001111111111111000000111
+01100000000000001000000001001011
+01110000000000001001000000000101
+01101000000010010100001010101111
+01101000000000010000000101111001
+10011000010000001111111000000000
+01100000000000010000000101111001
+01101000000000010000000010010001
+10011000010001100111111000000000
+01100000000000010000000010010001
+01111001001000000000000000100101
+01000100110100101100000000110100
+01101000000000010000000010010001
+00100000001110100011101111110001
+11011000010000000000000100000100
+10011000010001100111111000000000
+00100100001000010110111000111011
+01111001001000000000000000100101
+01000100110100110100000000110100
+01100000000010010000000010010001
+01101000000000010100001010101111
+10011000010000001111111000000000
+01100000000000010100001010101111
+00100000001000000110111000111101
+01011000000000000000000000000000
+01100000000000010100001010101111
+01101000000000001000000001001011
+01111001001000000111111000000110
+01100000000000001000000001001011
+00100000011000000000000000000000
+01101000000000001100011111110110
+11000010100000000110111001000101
+01110000000000101110111000000001
+00100000011000000000000000000000
+01110000000000101110111000001111
+00100000011000000000000000000000
+01101000000000001100011111110011
+00100100001110100110111001001101
+01101000000000001000001011101101
+00100000011110100000000000000000
+01110000000000101110110100000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110100111100000000110100
+01101000000000001000001011101110
+00100000011110100000000000000000
+11000000000000001110111001101110
+11000000000000010110111011000111
+11000000000000011110111001110100
+11000000000000100110111011001011
+11000000000111011110111001111110
+11000000000111100110111011001110
+11000000000001101110111010000011
+11000000000001110110111011010011
+11000000000001111110111010000110
+11000000000010000110111011011001
+11000000000010001110111010001100
+11000000000010010110111011011101
+11000000000010011110111010010010
+11000000000010100110111011100001
+11000000000010101110111010011000
+11000000000010110110111011100101
+11000000000010111110111010011110
+11000000000011000110111011101010
+11000000000011001110111010100100
+11000000000011010110111011101110
+11000000000011011110111010101010
+11000000000011100110111011110010
+11000000000011101110111010110000
+11000000000011110110111011110111
+11000000000011111110111010110110
+11000000000100000110111011111011
+11000000000100001110111011000001
+11000000000100010110111011111111
+00100000011000000000000000000000
+00100000010000000110111100001010
+01110000000000101110111000000010
+01101000000000001100001010111001
+01111001001000000111111000000000
+01100000000000001100001010111001
+00100000011000000000000000000000
+01110000000000101110111000000100
+01101000000000001100001010111001
+11000011100000010000000000000000
+01110000000000101110111000000011
+00100000010000000110111100010010
+01110000000000101110111000000100
+01101000000000001100001010111001
+01111001001000000111111000000010
+01100000000000001100001010111001
+00100000011000000000000000000000
+00100000010000000101001001111110
+00100100011110100000000000000000
+00100000010000000110111100100011
+01110000000000101110111000111100
+00100000011000000000000000000000
+00100000010000000110111100011000
+01110000000000101110111000001110
+00100000011000000000000000000000
+00100000010000000110111100110110
+01110000000000101110111000010000
+01101000000000001100001010111011
+01111001001000000111111000000000
+01100000000000001100001010111011
+00100000011000000000000000000000
+00100000010000000110111100111110
+01110000000000101110111000010010
+01101000000000001100001010111011
+01111001001000000111111000000010
+01100000000000001100001010111011
+00100000011000000000000000000000
+00100000010000000110111101000100
+01110000000000101110111000010100
+01101000000000001100001010111100
+01111001001000000111111000000000
+01100000000000001100001010111100
+00100000011000000000000000000000
+00100000010000000110111101001100
+01110000000000101110111000010110
+01101000000000001100001010111100
+01111001001000000111111000000010
+01100000000000001100001010111100
+00100000011000000000000000000000
+00100000010000000110111100101000
+01110000000000101110111000011000
+01101000000000001100001010111010
+01111001001000000111111000000000
+01100000000000001100001010111010
+00100000011000000000000000000000
+00100000010000000110111100110000
+01110000000000101110111000011010
+01101000000000001100001010111010
+01111001001000000111111000000010
+01100000000000001100001010111010
+00100000011000000000000000000000
+00100000010000000110111101010010
+01110000000000101110111000011100
+01101000000000001100001010111010
+01111001001000000111111000000110
+01100000000000001100001010111010
+00100000011000000000000000000000
+00100000010000000110111101011010
+01101000000000001100001010111101
+01111001001000000111111000000000
+01100000000000001100001010111101
+01110000000000101110111000011110
+00100000011000000000000000000000
+00100000010000000110111101100001
+01101000000000001100001010111101
+01111001001000000111111000000010
+01100000000000001100001010111101
+01110000000000101110111000100000
+01101000000000001100011101010010
+00011111111010011111111000000000
+00011111111000011111111000000011
+11011000010000000100011101010011
+01100000000010010000010010001111
+00100000001000000110101110000010
+00100000010000000110111101101100
+01101000000000001100001010111101
+01111001001000000111111000000100
+01100000000000001100001010111101
+01110000000000101110111000100010
+00100000011000000000000000000000
+01101000000000001100001010111001
+11000100000000001000000000000000
+01110000000000101110111000000011
+00100000001000000110111001001101
+01101000000000001100001010111001
+11000001100111111000000000000000
+01110000000000101110111000111011
+01101000000000001000001011101100
+11000001100010111000000000000000
+01110000000000101110110000000000
+01110000000000101110111000001101
+00100000001000000110111001001101
+01101000000000001100001010111001
+00100100011110100000000000000000
+01101000000000001100011111110110
+11000010100000000110111100000010
+11000010100000110110111100000100
+00100000001000000110111100001000
+01101000000000001100001010111011
+11000100000000001000000000000000
+01110000000000101110111000010001
+00100000001000000110111001001101
+01101000000000001100001010111011
+11000001100111111000000000000000
+01110000000000101110111000010011
+00100000001000000110111001001101
+01101000000000001100001010111100
+11000100000000001000000000000000
+01110000000000101110111000010101
+00100000001000000110111001001101
+01101000000000001100001010111100
+11000001100111111000000000000000
+01101000000000001100011111110110
+11000010100000110110111100000100
+00100000001000000110111100001000
+01101000000000001100001010111010
+11000100000000001000000000000000
+01110000000000101110111000011001
+00100000001000000110111001001101
+01101000000000001100001010111010
+11000001100111111000000000000000
+01110000000000101110111000011011
+00100000001000000110111001001101
+01101000000000001100001010111010
+11000001111111111000000000000000
+01101000000000001100011111110110
+11000010100000110110111100000110
+00100000001000000110111100001000
+01101000000000001100001010111101
+11000100000000001000000000000000
+01110000000000101110111000011111
+00100000001000000110111001001101
+01101000000000001100001010111101
+11000100000000011000000000000000
+01110000000000101110111000100001
+00100000001000000110111001001101
+01101000000000001100001010111101
+11000001111111111000000000000000
+00100000001000000110111100001000
+01110000000000101110111000001111
+00100000001000000110111001001101
+01110000000000101110111000010111
+00100000001000000110111001001101
+01110000000000101110111000011101
+00100000001000000110111001001101
+01110000000000101110111000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110101000100000000110101
+00100000010000000101001011000100
+01011000000000000000000000000001
+00011111111000100000010000000000
+01011000000000000000000001010000
+00011111111000100001011000000000
+00100000001000000101000010110000
+01111001001000000000000000100101
+01000100110101001100000000110101
+00100000010000000101001011000100
+01101000000000010100001010110001
+00011111111000100000010000000000
+00100000001000000101000011000000
+01111001001000000000000000100101
+01000100110101010100000000110101
+00100000010000000101001011000100
+01101000000000010100001010110001
+00011111111000100000010000000000
+11011001011000000000000001010000
+00100000010000000101000011010110
+01101000000000001100001010111001
+01111001001111111111111000000101
+01100000000000001100001010111001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110101011100000000110101
+00100000010000000101001011010010
+00100000010000000111000110110000
+00100000001000000101000011110010
+01111001001000000000000000100101
+01000100110101100100000000110101
+00100000010000000101001011000100
+01011000000000000000000000000011
+00011111111000100000010000000000
+01011000000000000000000001010001
+00011111111000100001011000000000
+00100000001000000101000010110000
+01111001001000000000000000100101
+01000100110101101100000000110101
+00100000010000000101001011000100
+01101000000000010100001010110011
+00011111111000100000010000000000
+00100000001000000101000011000000
+01111001001000000000000000100101
+01000100110101110100000000110101
+00100000010000000101001011000100
+01011000000000000000000000010001
+00011111111000100000010000000000
+01011000000000000000000001010010
+00011111111000100001011000000000
+00100000001000000101000010110000
+01111001001000000000000000100101
+01000100110101111100000000110101
+00100000010000000101001011000100
+01101000000000010100001010110101
+00011111111000100000010000000000
+00100000001000000101000011000000
+01111001001000000000000000100101
+01000100110110000100000000110110
+00100000010000000101001011000100
+01011000000000000000000000010011
+00011111111000100000010000000000
+01011000000000000000000001010011
+00011111111000100001011000000000
+00100000001000000101000010110000
+01111001001000000000000000100101
+01000100110110001100000000110110
+00100000010000000101001011000100
+01101000000000010100001010110111
+00011111111000100000010000000000
+00100000001000000101000011000000
+01111001001000000000000000100101
+01000100110110010100000000110110
+00100000010000000101001011100000
+01110000000001001001001100000011
+01110000000001001001011000011100
+00100000010000000110110011101000
+01110000010001110101000100000001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110110011100000000110110
+00100000010000000101001011100000
+01101000000010001100011101010010
+00100000010000000110101111001011
+01100000000010001100011101001011
+00100000001000000110110100000101
+01111001001000000000000000100101
+01000100110110100100000000110110
+00100000010000000101001011100000
+01101000000010001100011101001011
+00100000010000000110101111000000
+00100000010000000110101101100111
+01100000000000001000010010010110
+01101000000010001100011101001011
+00100000010000000110101111000000
+01100000000010001000010010010011
+00100000001000000110110011101000
+01111001001000000000000000100101
+01000100110110101100000000110110
+00100000010000000101001011100000
+01101000000010001100011101001011
+00100000010000000110101111000000
+00100000001000000110110100111111
+01111001001000000000000000100101
+01000100111100111100000000111100
+01101000000000010000001011001011
+10011000000000000000110000000000
+11101000110000001000000000000000
+00011111111000100010010000000000
+01100000000000001000010010101111
+11101000110000010000000000000000
+01100000000000010000010010110000
+11101000110000001000000000000000
+00011111111011010001011000000000
+11101000110000001000000000000000
+10011001011000001001011000000000
+01111001001000000000000000100101
+01000100111101000100000000111101
+00011010010000100111111000000000
+11000000000000010110111110000111
+11000000000000100110111110110000
+11000000000000110111000010001011
+11000000000000111111000111000111
+00100000001000000111001000111110
+00100000010000000111001001001101
+00101000010000011111111000000001
+00100000001000001111001010111011
+00101000010000011111111011111111
+00100000001000001111001001000001
+11101000110000010000000000000000
+01100000000000010000010010110100
+00011001011000001001011111111110
+00011001011000001001011111111111
+00100100001000101111001000111011
+11011001011000000000010010101001
+11101001011000010000000000000000
+00100000011110100000000000000000
+00011001011000001001011000000010
+00100000010000000111001100000111
+00100000010000000101001011011110
+00011000000000000111111000000011
+11100000101000001000000000000000
+01101000000000010000010010110000
+11100000101000010000000000000000
+00011000111010111111111000000000
+00011111111000001111111000000101
+00011111111000001010011000000101
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011000111000100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+11100000101000010000000000000000
+11011000110000000000010011000101
+00011000111000100111001000000000
+00100000001000101110111110101010
+11101000110000100000000000000000
+11100000101000100000000000000000
+11000010000000000110111110100111
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011010011000100111111000000000
+01100000000000001000001011011100
+00100000001110100011101111110001
+00100000011000000000000000000000
+11101000110000100000000000000000
+01100000000000100000010010111110
+00011001011000001001011111111100
+10011000000000000000010000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011111111000001111111111101110
+01100000000000010000010010110010
+00011001011000001001011111111110
+00100000010000000111001010100100
+00100000001000101111001001000001
+00101010001000011111111000000101
+00100000001000001110111111000000
+11011000101000000000010010010001
+00011000000000000000111000000000
+00100000001000000110111111010000
+11101000110000001000000000000000
+11000000100001010111001001000001
+11101000110000010000000000000000
+00100100001110100110111111001110
+11101000110000001000000000000000
+11000000111111111110111111001100
+11101000110000001000000000000000
+11000000111111111110111111001010
+00011000110000001000110111111011
+00100000001000000111000000100010
+00011000110000001000110111111011
+00100000001000000110111110111101
+00011000110000001000110111111100
+00100000001000000110111110111101
+00011000110000001000110111111101
+00100000001000000110111110111101
+11101000110000001000000000000000
+11000000000001001110111111100101
+11000000000001010110111111010011
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011111111100001010010000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011010010000001010010000000001
+10011010010001100111110000000000
+00100100001000010110111111100010
+00011111111000100010011000000000
+00011010010100001111111000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011010011000100111111000000000
+00100000001000000110111111011001
+00011001011000001001011111111011
+00011010001000001010001111111011
+00100000001000000110111111101010
+11101000110000010000000000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011001011000001001011111111101
+00011010001000001010001111111101
+00100100001000010111001001000001
+00100100001000101110111111010000
+00011001011000001001011111111111
+00100100001000101111001001000001
+00100000010000000101001011011110
+00011000101000001000101000001010
+11011010001000000000010010010001
+00011000111000100111111000000000
+00100000001110100111000000000100
+11101010001000010000000000000000
+00100000001110100111000000000100
+10011000000000000010010000000000
+01101000000000100000010010111110
+10011000000000000000010000000000
+00100000010000000111001101001110
+00100000001110100111000000000001
+00011000110000001000110111111101
+11101000110000011000000000000000
+11100000101000011000000000000000
+00100000010000000111000110011001
+00100000001110100111000000000001
+10011000000000000111001000000000
+00100000010000000111111001000101
+00011010001000001010001000000010
+00011000111000001000111111111111
+00100000001000000110111111110001
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011000101000001000101111111111
+01101000000010010000001011011010
+00011000010000001111111000001010
+10011000101001100111111000000000
+00011111111001100010001000000000
+00011010001100001111111000000000
+00011000010000001010010000001000
+11100010010000010000000000000000
+00011010001000001010001000000011
+00011010001100001111111000000000
+00011000010000001010010000000101
+11100010010000010000000000000000
+00011010001000001010001000000011
+00011010001100001111111000000000
+00011000010000001010010000000011
+11100010010000010000000000000000
+00011010001000001010001000000101
+00011010001000100111111000000000
+01100000000000010000001011011100
+01011000000000000000000000110110
+00011000010000001010010000000111
+11100010010000001000000000000000
+01011000000000000000000000000101
+11100000010000001000000000000000
+01101000000000010000010010110000
+00011000010000001010010000000001
+11100010010000010000000000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+11000000100001010111001001000001
+11101000110000010000000000000000
+00100100001110100111001001000001
+11101000110000001000000000000000
+11000000111111111111001001000001
+11101000110000001000000000000000
+11000000111111111111001001000001
+00011001011000001001011111111011
+11101000110000001000000000000000
+11000000000000000111000000101111
+11000000000000001111000000110010
+11000000000000010111000000110110
+01100000000000010000010010101101
+00011001011000001001011111111111
+00100000001000000111000000111010
+11101000110000001000000000000000
+01100000000000010000010010101101
+00011001011000001001011111111110
+00100000001000000111000000111010
+11101000110000010000000000000000
+00011111111100001111111000000000
+01100000000000010000010010101101
+00011001011000001001011111111101
+00100100001000101111001000111011
+00100000010000000111001100011110
+00100100001000101111001000111000
+00011000110000100010001000000000
+00100000010000000101001011011110
+00011010001000100000110000000000
+00011000101000001000101000000011
+00011000110000100001011000000000
+00100000010000000111001011101000
+00011111111000100010001000000000
+01101000000000010000010010101101
+00011111111000100010010000000000
+00011010001000100111111000000000
+10011010010001100010010000000000
+01101000000000010000010010110010
+10011010010001100111110000000000
+00100100001000010111000001100110
+01111000010101000111110000000000
+01101000000000010000010010101101
+00100000001110100111000001011001
+10011001011000001000110000000000
+00011010010000001010010000000011
+00011010010000100111001000000000
+00011111001000100111111000000000
+00011111111000001111111000000011
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011111001000100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00100000001000000111000001110100
+00011010001000001111001000000110
+00100000001101000111000001011101
+00011111001100001111111000000000
+00100000001000000111000001100000
+00011111001000100111111000000000
+00011111111000001111111000000010
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011111001000001111001111111101
+00011111001100001111111000000000
+11100000101000010000000000000000
+00011001011000100000110000000000
+00100000001000000111000001110100
+01111000001101000111110000000000
+01101000000000010000010010110010
+00011111111000100010001000000000
+00011111111000100111001000000000
+01101000000000010000010010101101
+00100000001110100111000001011001
+10011001011000001000110000000000
+00011010001000100111111000000000
+00011111111000001111111000000101
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011010001000100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+11000010000000000111000001110100
+00100100001101000111000001111111
+00011000000000000111111000000010
+11100000101000001000000000000000
+00011000110000100111111000000000
+10011001011001100111111000000000
+00011111111100001111111000000000
+11100000101000010000000000000000
+00100000001000000111000010000001
+00011000000000000111111000000000
+11100000101000001000000000000000
+01101000000000010000001011011010
+10011000101001100111111000000000
+00011111111001100111111000000000
+01100000000000010000001011011100
+00100000010000000101001011011110
+01011000000000000000000000000101
+11100000101000001000000000000000
+01101000000000010000010010110000
+11100000101000010000000000000000
+00100000011000000000000000000000
+00100000010000000111001001001101
+00101000010000011111111011111111
+00100000001000001111000010110100
+11101000110000010000000000000000
+01100000000000010000010010110010
+00011001011000001001011111111110
+00100000010000000111001010100100
+11011000101000000000010010010001
+00011000000000000000111000000000
+11101000110000011000000000000000
+11000000100001001111000010110100
+00011111111011001111111000000000
+11100000101000010000000000000000
+00011000111000001000111000000001
+00011001011000001001011111111101
+00011010001000001010001111111101
+00100100001000010111001001000001
+00100100001000101111000010010100
+00011001011000001001011111111111
+00100100001000101111001001000001
+00100000010000000101001011011110
+00011000101000001000101000001101
+01101000000000010000010010101001
+10011000000000000010011000000000
+11011010001000000000010010010001
+11101010001000100000000000000000
+00100000001110100111000011000100
+11101010001000010000000000000000
+10011000000000000010010000000000
+00100000010000000111001100101010
+00100000001110100111000010110010
+00011000110000001000110111111101
+11101000110000011000000000000000
+11100000101000011000000000000000
+00100000010000000111000110011001
+10011000000000000111001000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+11000010000000000111000010101111
+00011010001000001010001000000010
+00100000001000000111000010100100
+11101000110000001000000000000000
+11101000110000001000000000000000
+00011001011000001001011111111011
+00011010001000001010001111111011
+00100100001000010111001001000001
+11011001011000000000010010101001
+11101001011000010000000000000000
+00011001011000001001011000000010
+00100000010000000111001100000111
+00011000111000100111111000000000
+01100000000000001000010011011101
+00100000001110100111001010111110
+11011000111000000000000000000000
+00100000010000000101001011011110
+00011000101000001000101000001010
+00100000001000000111000100001000
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011000101000001000101111111111
+01101000000010010000001011011010
+00011000010000001111111000001101
+10011000101001100111111000000000
+00100000001000101111000011101000
+00011111111001100111111000000000
+00011000010000001010010000001100
+11100010010000001000000000000000
+00011111111000001111111000000011
+00011000010000001010010000001001
+11100010010000001000000000000000
+00011111111000001111111000000011
+00011111111100001111111000000000
+00011000010000001010010000000101
+11100010010000010000000000000000
+00011111111011001111111000000000
+00011111111000001111111000000011
+00011111111100001111111000000000
+00011000010000001010010000000011
+11100010010000010000000000000000
+00011111111011001111111000000000
+00011111111000001111111000000101
+01100000000000001000001011011100
+01101000000000010000010010110000
+00011000010000001010010000000001
+11100010010000010000000000000000
+01011000000000000000000000000111
+11100000010000001000000000000000
+01011000000000000000000000110110
+00011000010000001010010000000111
+11100010010000010000000000000000
+00011000010000001010010000001010
+11100010010000010000000000000000
+00100000011000000000000000000000
+01110000000000101101110000001010
+00100000010000000101001011011110
+01011000000000000000000000000111
+11100000101000001000000000000000
+01101000000000010000010010110000
+11100000101000010000000000000000
+01011000000000000000010100000000
+11100000101000010000000000000000
+01011000000000000000001000000000
+11100000101000010000000000000000
+01011000000000000000000000110101
+11100000101000011000000000000000
+00100000011000000000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010010000001010010000000001
+00011010001000001010001111111111
+00100000001000101111000011111011
+11000010000000000111000011110101
+00011000101000100001011000000000
+00011010010000100111111000000000
+01100000000000010000010010101101
+00011010001000100111111000000000
+01100000000000010000010010110010
+00100000001110100111000100010111
+00100000001101000111000101010010
+00011001011000100000101000000000
+00011000111000001000111000000001
+01101000000000001000010011011101
+10011000111001100111110000000000
+00100100001000101111000100001000
+00100000001000000111000101110001
+11011000110000000000010011000101
+00011000111010111111111000000000
+10011000110000001000110000000000
+11101000110000100000000000000000
+10011000000000000000010000000000
+00100000010000000111001100011110
+00011000110000100001011000000000
+00100000010000000111001011101000
+00011111111000001111001000000011
+01101000000000010000010010110010
+00011111111000100010001000000000
+01101000000000010000010010101101
+00011111111000100010010000000000
+00011001011000100000110000000000
+00100000001000000111000011110101
+11011000111000000000000000000000
+11011010010000000000000000000000
+11011000110000000000010011000101
+00011000111010111111111000000000
+10011000110000001000110000000000
+11101000110000100000000000000000
+10011000000000000000010000000000
+00100000010000000111001100011110
+00100000010000000111001011101000
+00011111111000001111111000000011
+10011010010000001010010000000000
+00011000111000001000111000000001
+01101000000000001000010011011101
+10011000111001100111110000000000
+00100100001000101111000100011001
+00011001011000100000101000000000
+00011000000000000111111000000010
+11100000101000001000000000000000
+01101000000000010000010010101101
+00011111111100001111111000000000
+11100000101000010000000000000000
+00011000101000001000101111111101
+01101000000010010000001011011010
+00011000010000001111111000001010
+10011000101001100111111000000000
+00011111111001100111111000000000
+10011000000000000010001000000000
+00011010010000100111111000000000
+00011000010000001010010000001001
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000001000
+11100010010000001000000000000000
+00011010001000001010001000000011
+00011010001000100111111000000000
+00011000010000001010010000000110
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000000101
+11100010010000001000000000000000
+00011010001000001010001000000101
+00011010001000100111111000000000
+00011000010000001010010000000100
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000000011
+11100010010000001000000000000000
+00011010001000001010001000000101
+00011010001000100111111000000000
+01100000000000010000001011011100
+01011000000000000000000000000111
+11100000010000001000000000000000
+01011000000000000000000000110110
+00011000010000001010010000000111
+11100010010000001000000000000000
+00011000010000001010010000000001
+01101000000000010000010010110000
+11100010010000010000000000000000
+00100000011000000000000000000000
+00011001011000100000101000000000
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011000101000001000101111111111
+01101000000010010000001011011010
+00011000010000001111111000000111
+10011000101001100111111000000000
+00011111111001100111111000000000
+10011000000000000010001000000000
+00011010001000100111111000000000
+00011000010000001010010000000110
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000000101
+11100010010000001000000000000000
+00011010001000001010001000000011
+00011010001000100111111000000000
+00011000010000001010010000000100
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000000011
+11100010010000001000000000000000
+00011010001000001010001000000101
+00011010001000100111111000000000
+01100000000000010000001011011100
+01011000000000000000000000000111
+11100000010000001000000000000000
+01101000000000010000010010110000
+00011000010000001010010000000001
+11100010010000010000000000000000
+00100000011000000000000000000000
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011000101000001000101111111111
+01101000000010010000001011011010
+00011000010000001111111000001010
+10011000101001100111111000000000
+00011111111001100111111000000000
+10011000000000000010001000000000
+00011010001000100111111000000000
+00011000010000001010010000001001
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000001000
+11100010010000001000000000000000
+00011010001000001010001000000011
+00011010001000100111111000000000
+00011000010000001010010000000110
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000000101
+11100010010000001000000000000000
+00011010001000001010001000000011
+00011010001000100111111000000000
+00011000010000001010010000000100
+11100010010000001000000000000000
+00011111111011001111111000000000
+00011000010000001010010000000011
+11100010010000001000000000000000
+00011010001000001010001000000101
+00011010001000100111111000000000
+01100000000000010000001011011100
+01011000000000000000000000110110
+00011000010000001010010000000111
+11100010010000001000000000000000
+01011000000000000000000000000111
+11100000010000001000000000000000
+01101000000000010000010010110000
+00011000010000001010010000000001
+11100010010000010000000000000000
+00100000011000000000000000000000
+00011000110000100001011000000000
+11101000110000001000000000000000
+00011111111000010111001000000111
+00011111111010010111111000000000
+11000000000000110111000110100010
+11000000000000001111001011100000
+11000000000000100111001011100101
+11000000000000101111001011100011
+00100000001000000111001011011110
+00100000010000000111000110100100
+00100000001000000111001011011110
+00011111001000100111111000000000
+11000000000000101111000110101001
+11000000000000110111000110101100
+00011000000000000111001000000011
+00100000001000000111001011101111
+11101000110000001000000000000000
+00011111111000001111111000000010
+00100000011000000000000000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+00011111111000001111111000000011
+00100000011000000000000000000000
+00100000010000000101001011011110
+00011111111000100000101000000000
+01011000000000000000000000000110
+11100000101000001000000000000000
+01011000000000000000000001101110
+11100000101000010000000000000000
+01011000000000000000111100000000
+11100000101000010000000000000000
+01011000000110100000010100110101
+11100000101000011000000000000000
+01011000000000000000000100010001
+00011111111100000111111000000000
+11100000101000100000000000000000
+01011000000000000010011000000000
+11100000101000010000000000000000
+01011000000000000000001100110101
+11100000101000010000000000000000
+01011000000000000000000000001001
+11100000101000010000000000000000
+01011000000000000000000000000100
+11100000101000010000000000000000
+01110000000000101101110000010100
+00100000011000000000000000000000
+00011000110000100000010000000000
+01101000000000010000010010110000
+11000000001101110111000111001011
+00100000001000000111000111010100
+00011000010000100000110000000000
+00011001011000001001011111111101
+00011001011000100111111000000000
+11000000000000010111000111010100
+00100000010000000111000111010101
+00100000011101000000000000000000
+01100000000000001100011101010010
+01110000000000101110110000010111
+00100000011000000000000000000000
+00100000011000000000000000000000
+01111000001101000111110000000000
+00011111111000100111001000000000
+11011000010000000000010000000000
+11101000110000010000000000000000
+10011000010001100111110000000000
+00100000001000101111000111011110
+00011000110000001000110111111111
+11000010000000000111000111011000
+00100000011000000000000000000000
+11011000010000000000001100000000
+11101000110000010000000000000000
+10011000010001100111110000000000
+00100000001000101111000111100101
+00011000110000001000110111111111
+11000010000000000111000111011111
+00100000011000000000000000000000
+11101000110000001000000000000000
+11101000110000001000000000000000
+01111000010101000111110000000000
+00100000011000000000000000000000
+00100000010000000111001010100100
+00100000001000101111001000110110
+00011000000000000010010000000000
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+00101111111000011111000000011000
+00100100001000001111001000110000
+00101111111000000000111000000100
+00100100001000001111000111111000
+00011000000000000010010000000001
+00011000110000001000110000000010
+00011010001000001010001111111110
+00011001011000001001011111111110
+00100000001000000111000111111101
+00101111111000000000111000000010
+00100100001000001111000111111011
+00100000001000000111000111110100
+00101111111000000000111000000001
+00100100001000001111001000110000
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000100000001111001000000111
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000100000000111001000110000
+01110000000001001100001111111111
+00100000001000000111001000110000
+11000000100000000111001000110000
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000100000011111001000110000
+00011010010000100111110000000000
+00100000001000101111001000010000
+00011000110000001000110111110100
+00011001011000001001011111110100
+00011000000000000111111011111111
+01100000000000001000010011000100
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+00101111111000011111000000001000
+00100100001000001111001000110000
+00101111111000000000111000000000
+00100000001000001111001000101101
+00101111111000000000111000000001
+00100000001000001111001000101010
+00101111111000000000111000000010
+00100000001000001111001000100111
+00101111111000000000111000000011
+00100000001000001111001000100100
+00101111111000000000111000000100
+00100100001000001111001000110000
+00011000110000001000110000001000
+00011010001000001010001111111000
+00011001011000001001011111111000
+00011000110000001000110000000100
+00011010001000001010001111111100
+00011001011000001001011111111100
+00011000110000001000110000000010
+00011010001000001010001111111110
+00011001011000001001011111111110
+00011000110000001000110000000001
+00011010001000001010001111111111
+00011001011000001001011111111111
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+00011001011000001001011111111111
+00011010001000001010001111111111
+00100000001000010111001000110000
+00011001011000001001011000000001
+00011000000000000111111000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01011000000000000000001000000000
+01100000000000010000010010110110
+00100000001000000111001001000011
+01011000000000000000010000000000
+01100000000000010000010010110110
+00100000001000000111001001000011
+01011000000000000000011000000000
+01100000000000010000010010110110
+00100000001000000111001001000011
+01011000000000000000001100000000
+01100000000000010000010010110110
+00100000010000000101001011011110
+11100000101000001000000000000000
+01101000000000010000010010110000
+11100000101000010000000000000000
+01011000000000000000001000000000
+11100000101000010000000000000000
+01101000000000010000010010110110
+11100000101000010000000000000000
+01110000000000101101110000000111
+00100000011000000000000000000000
+00011000000000000000010000000000
+11011000101000000000010010101001
+00100000010000000111001010100100
+00100000001000101111001010100010
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+00101111111000011111000000011000
+00100100001000001111001010100010
+00101111111000000000111000000100
+00100100001000001111001001101110
+00011000000000000000010000000001
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000100000000111001001100010
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+11000000000000000111001001110011
+00100000001000000111001001100101
+00011000110000001000110000000001
+00011010001000001010001111111111
+00011001011000001001011111111111
+00011000110000001000110000000010
+00011010001000001010001111111110
+00011001011000001001011111111110
+00101000010000011111111000000000
+00100000001000001111001010011101
+00011000110000001000110000001100
+00011010001000001010001111110100
+00011001011000001001011111110100
+00100000001000000111001010011101
+00101111111000000000111000000010
+00100100001000001111001001110001
+00100000001000000111001001011001
+00101111111000000000111000000001
+00100100001000001111001010100010
+11101000110000010000000000000000
+00011010001000001010001111111110
+00011001011000001001011111111110
+11100000101000010000000000000000
+00101000010000011111111000000000
+00100000001000001111001010011101
+00011000110000100000010000000000
+11101000110000001000000000000000
+11000000100000000111001010010010
+11101000110000001000000000000000
+11000000100000000111001010010010
+11101000110000001000000000000000
+11000000100010000111001010010010
+11101000110000001000000000000000
+11000000100000000111001010010010
+11101000110000001000000000000000
+11000000110000000111001010010010
+11101000110000001000000000000000
+11000000100000000111001010010010
+11101000110000001000000000000000
+11000000100000000111001010010010
+11101000110000001000000000000000
+11000000110000000111001010010010
+11101000110000001000000000000000
+11000000101011111111001010010010
+11101000110000001000000000000000
+11000000110011011111001010010010
+11101000110000001000000000000000
+11000000100110100111001010010010
+11101000110000001000000000000000
+11000000011111011111001010011011
+00011000010000100000110000000000
+00011000110000001000110000001100
+00011000000000000000111000000000
+00011000000000000000010000000000
+00100000001000000111001010011011
+11101000110000001000000000000000
+00011010001000001010001111111111
+00011001011000001001011111111111
+00100000001000000111001001110111
+00011001011000001001011111110100
+00011010001000001010001111110100
+00101010001000011111111000000000
+00100100001000001111001001010001
+00011000000000000111111000000000
+11100000101000010000000000000000
+00100000011000000000000000000000
+11011000010000000000000011111111
+00100000011000000000000000000000
+11101000110000001000000000000000
+00011001011000001001011111111111
+00101111111000011111000000110000
+00100100001000001111001010111001
+00101111111000000000111000000111
+00100000001000001111001010110010
+00101111111000000000111000000110
+00100000001000001111001010110100
+00101111111000000000111000000101
+00100100001000001111001010111001
+11101000110000001000000000000000
+00011111111000100010001000000000
+00011001011000001001011111111111
+00100000001000000111001010110111
+00011000110000001000110000000010
+00011001011000001001011111111110
+11101000110000010000000000000000
+00011111111100001010001000000000
+00011001011000001001011111111110
+00011000000000000111111000000001
+00100000011000000000000000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01011000000000000000000000000011
+01100000000000001000010010101111
+00100000001000000111001011000000
+01011000000000000000000000000111
+01100000000000001000010010101111
+00100000010000000101001011011110
+01101000000000001000010010101111
+11100000101000001000000000000000
+00011111111000100010010000000000
+01101000000000010000010010110000
+11100000101000010000000000000000
+01011000000000000000010100000000
+11100000101000010000000000000000
+00101010010000011111111000000101
+00100000001000001111001011010000
+00101010010000011111111000000111
+00100000001000001111001011010000
+01011000000000000000000000000000
+11100000101000011000000000000000
+11100000101000010000000000000000
+00100000001000000111001011010100
+01011000001101010000001000000000
+11100000101000011000000000000000
+01011000000000000000000000000000
+11100000101000010000000000000000
+01110000000000101101110000001010
+00100000011000000000000000000000
+00011000110000100001011000000000
+11101000110000001000000000000000
+00011111111000010111001000000111
+00011111111010010111111000000000
+11000000000000110111001011100101
+11000000000000001111001011100000
+11000000000000100111001011100101
+11000000000000101111001011100011
+00011001011000100000110000000000
+00100000011000000000000000000000
+00100000010000000111001100000001
+00011111111000001111111000000001
+00100000001000000111001011011110
+00011000000000000111111000000010
+00100000001000000111001011011110
+00100000010000000111001011110111
+00011111111000001111111000000010
+00100000001000000111001011011110
+11101000110000001000000000000000
+00011111111000010111001000000111
+00011111111010010111111000000000
+11000000000000110111001011110111
+11000000000000001111001011101111
+11000000000000101111001011111100
+00100000011000000000000000000000
+00100000010000000111001100000001
+10011000000000000111001000000000
+00011000000000000000010000000000
+00011000010011010000010000000000
+11101000110000001000000000000000
+10011000010000011000010000000000
+11000010000000000111001011110010
+00100000011000000000000000000000
+00011111001000100111111000000000
+11000000000000101111001011111100
+11000000000000110111001011111110
+00011000000000000111001000000011
+00100000001000000111001011101111
+11101000110000001000000000000000
+00100000011000000000000000000000
+11101000110000010000000000000000
+00011111111100001111111000000000
+00100000011000000000000000000000
+00011000000000000111111000000001
+00011111001000100111110000000000
+00100000011000101000000000000000
+00011111111000111111111000000000
+11000010000000000111001100000100
+00100000011000000000000000000000
+10011000000000000010011000000000
+01111001001000000000000000100101
+01000100111101001100000000111101
+00011000000000000000111000000000
+01101000000000010100011101011001
+10011000000000000000110000000000
+11011000101000000000010011000101
+01111000010101000111110000000000
+11101000110000001000000000000000
+00100000011110100000000000000000
+10011000000000000111001000000000
+11101000110000010000000000000000
+10011010011001100111110000000000
+00100100001000101111001100010110
+01111000001101000111110000000000
+11000010000000000111001100010010
+11101000110000100000000000000000
+00100100001101000111001100011011
+11100000101000100000000000000000
+00011000111000001000111000000001
+00100000010000000111001011101000
+10011000110000001000110000000000
+00100000001000000111001100001110
+01101000000000010100011101011001
+10011000000000000000110000000000
+11101000110000001000000000000000
+00100000011110100000000000000000
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101000110000100000000000000000
+10011000010001100111110000000000
+00100000011000101000000000000000
+00100000010000000111001011101000
+10011000110000001000110000000000
+00100000001000000111001100100000
+01111001001000000000000000100101
+01000100111101010100000000111101
+01101000000000010100011101011001
+10011000000000000000110000000000
+11101000110000001000000000000000
+00100000001110100111001101001011
+10011000000000000111001000000000
+11101000110000010000000000000000
+10011010011001100111110000000000
+00100000001000101111001100111001
+11000010000000000111001100110001
+00011000110000001000110000000100
+00100000010000000111001011101000
+10011000110000001000110000000000
+00100000001000000111001100101110
+00011111001000001111001111111111
+00011111001000111111111000000000
+10011000110000001000110000000000
+00011000110000001000110000000100
+00100000010000000111001011101000
+10011000110000001000010000000000
+00011000110000001000110000000001
+11101000110000010000000000000000
+10011010010001100001011000000000
+01111001001000101111111000000000
+00011001011000100001011000000000
+00100000011000101000000000000000
+00100000010000000111001011010110
+10011000110000001000110000000000
+00011000010000100111111000000000
+10011000110001100111110000000000
+00100000001000101111001101001011
+00100000001000000111001100111111
+00011000000000000000110000000000
+00011000000000000111111000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111101011100000000111101
+01101000000000010100011101011001
+10011000000000000000110000000000
+11101000110000001000000000000000
+00100000001110100111001101101000
+00011111111000111111111000000000
+10011000110000001000110000000000
+11101000110000100000000000000000
+10011000010001100111110000000000
+00100000001000101111001101011100
+00100000010000000111001011101000
+10011000110000001000110000000000
+00100000001000000111001101010010
+00100000010000000111001011101000
+10011000110000001000010000000000
+00011000110000001000110000000001
+11101000110000010000000000000000
+10011010010001100111110000000000
+00100000011000101000000000000000
+00100000010000000111001011010110
+10011000110000001000110000000000
+00011000010000100111111000000000
+10011000110001100111110000000000
+00100000001000101111001101101000
+00100000001000000111001101011110
+00011000000000000000110000000000
+00100000011000000000000000000000
+00100000010000000111001101111101
+11011000110000000000010100011111
+11011000101000000000010100001111
+00100000001000000111111000110101
+01111000010101000111110000000000
+00100000010000000111010001110100
+11011000110000000000010011101111
+11011000101000000000010100101111
+00011000000000000111001000001111
+00100000010000000111111001000101
+11101000110000001000000000000000
+00011111111000101111111000000110
+11100000101000001000000000000000
+01011000000000000000010100111111
+01100000000000010000010101110100
+01011000000000000000010100101111
+01100000000000010000010101110010
+01111001001000000000000000010010
+00100000001000000111001110111101
+01101000000010001000010101001111
+00011000000000000010010000010000
+00011000010000001010011000000110
+00011010011001100111110000010000
+00100000001000010111001110000011
+00011000000000000010011000010000
+11011000101000000000010100101111
+11011000110000000000010101010000
+00011000010000100111001000000000
+01111000010101000111110000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00011010010000001010010111111111
+00100000001000101111001110010001
+11000010000000000111001110000111
+00100000001101000111001110000100
+01111000001101000111110000000000
+00011000000000000111001000000110
+00011010001000100000110000000000
+00100000001000000111001110000111
+11011000110000000000010011101111
+11011000101000000000010100111111
+00100000010000000111111000110101
+01101000000000001000010101001110
+10011010011000101111111000000000
+01100000000000001000010101001110
+01011000000000000000010100111111
+01100000000000010000010101110100
+01011000000000000000010100101111
+01100000000000010000010101110010
+01111001001000000000000000010010
+00100000001000000111001110111101
+01111000010101000111110000000000
+00100000010000000111010001110100
+00100000001000000111001110100111
+11011010001000000000000001010110
+01111000001101000111110000000000
+00100000010000000111010001110100
+00100000010000000111001110100111
+11011000110000000000010100011111
+11011000101000000000000001100010
+00100000001000000111111000110101
+01011000000000000000010011101111
+01100000000000010000010101110100
+01011000000000000100001001100010
+01100000000000010000010101110010
+01111001001111111000000000010010
+00100000010000000111001110111101
+11011010001000000000010100011111
+11011010010000000000010011101111
+11011000101000000000010100101111
+00100000010000000111010001100111
+11011010001000000000010100101111
+11011010010000000000010100111111
+00011010010000100000101000000000
+01111000001101000111110000000000
+00100000010000000111010001100101
+00100000010000000111010001111111
+01011000000000000000010100111111
+01100000000000010000010101110100
+01011000000000000000010100101111
+01100000000000010000010101110010
+01111001001000000000000000010010
+00100000001000000111001110111101
+01110000000001010111011000000000
+01101000000000010000010101110010
+10011000000000000000110000000000
+11011000101000000000010101100000
+00100000010000000111111000110101
+01101000000000010000010101110100
+10011000000000000000110000000000
+11011000101000000000010100011111
+00100000010000000111111000110101
+00100000010000000111001111100100
+01111000010101000111110000000000
+11000101100010010111001111001110
+01101000000000001000010101110110
+11000000100000100111001111001110
+01101000000000010000010101110100
+10011000000000000010010000000000
+00100000010000000111010000010110
+00100000010000000111010000010101
+00100000010000000111010000101000
+01101000000000001000010101110110
+00011111111000001111111000000001
+01100000000000001000010101110110
+00100000010000000111001111100100
+01111000001101000111110000000000
+00100000010000000111010000010101
+00100000010000000111010000110111
+00100000010000000111010001000110
+00100000010000000111010000110111
+00100000010000000111010001000110
+00100000010000000111010000110111
+00100000010000000111010001000110
+00100000010000000111010000110111
+01101000000000001000010101110110
+00011111111000001111111000000001
+01100000000000001000010101110110
+11000000100010000111001111000110
+00100000010000000111001111100100
+01111000010101000111110000000000
+00100000001000000111010000010101
+01101000000000001000010101110110
+11011000110000000000010101100000
+00100000001110100111010000001011
+10011000000000000010010000000000
+00011000000000000111001000010001
+00011000110000100000101000000000
+11101000110000001000000000000000
+00011111111010011000010000000000
+00011111111010110111111000000000
+00011111111010010111111000000000
+10011000010000011111111000000000
+11100000101000001000000000000000
+11000010000000000111001111101010
+01011000000000000000010101100000
+10011010010000001000110000000000
+00011000000000000111001000010000
+11011000101000000000010011111111
+11101000110000001000000000000000
+11100000101000001000000000000000
+00101000110000011111111101110001
+00100100001000001111001111111010
+00011000110000001000110111101111
+11000010000000000111001111110101
+00011000000000000010001000000000
+00011010010000001010011111111111
+00011010011010111010011000000000
+00011010011010111010011000000000
+00100000010000000111010111000101
+01011000000000001000010000000000
+10011010011000001010011000000000
+11011000101000000000010011111111
+00011000000000000111001000010000
+11101010011010001000000000000000
+11101000101000001000000000000000
+10011000010000001111111000000000
+11100000101000001000000000000000
+00011010011000001010011000000001
+11000010000000000111010000000100
+00100000001000000111010111001001
+00011000000000000111001000010000
+00011000000000000000010000000000
+11101000110000001000000000000000
+10011000010000101000010000000000
+11000010000000000111010000001101
+00011000010000100111111000000000
+11100000110000001000000000000000
+11011000110000000000010101100000
+11011000101000000000010011111111
+00100000001000000111111000110101
+11011010010000000000010011111111
+00011000000000000111001000010000
+11011010001000000000010100011111
+00011010001000100000101000000000
+11101010001010001000000000000000
+11101010010000001000000000000000
+10011000010000101110000000000000
+00011111001000010010011000000011
+00100100001101000111010000011111
+00011010011000101010011000000011
+00011010011001100010011000000001
+00100000001000010111010000100010
+10011000010000001110000000000000
+00011110000000100111111000000000
+11100000101000001000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111010000011001
+00100000011000000000000000000000
+00100000010000000111010111000101
+00011000000000000111001000010000
+11011010001000000000010100011111
+11101010001000001000000000000000
+11011000110000001000010100000000
+00011111001000010010011000000011
+00011010011001100111110000000001
+00100000001000010111010000110001
+11011000110000001000011000000000
+10011000110000001000110000000000
+11101000110000001000000000000000
+11100010001000001000000000000000
+00011010001000001010001000000001
+11000010000000000111010000101011
+00100000001000000111010111001001
+00011000000000000111001000001000
+11011000110000000000010100011111
+00011000110000100000101000000000
+11101000110000001000000000000000
+10011000000000000010001000000000
+11101000110000001000000000000000
+10011000000000000010010000000000
+00011010001000111111111000000000
+10011010010000001111111000000000
+11100000101000001000000000000000
+00011010001000100111111000000000
+10011010010000001111111000000000
+11100000101000001000000000000000
+11000010000000000111010000111010
+00100000011000000000000000000000
+01011000100010101110010000101100
+10011000000000000000010000000000
+00011000000000000111001000000111
+00100000010000000111010001010101
+01011000000011010111010100011011
+10011000000000000000010000000000
+00011000000000000111001000000101
+00100000010000000111010001010101
+01101000000000001000010100101110
+10011000000000000010001000000000
+01101000000000001000010100100010
+01100000000000001000010100101110
+00011010001000100111111000000000
+01100000000000001000010100100010
+00100000011000000000000000000000
+00011000010000010010010000001111
+00011000010000010111111000001111
+11011000101000000000010100011111
+10011000101000001000101000000000
+11101000101000001000000000000000
+10011000000000000010011000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00011010011000100010001000000000
+00011000010100011000010000000000
+11000010000000000111010001010110
+01011000000000000000010100011111
+10011010010000001000101000000000
+00011010001000100111111000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+01111000001101000111110000000000
+00100000001000000111010001101000
+01111000010101000111110000000000
+00011000000000000111001000010000
+11101010001010001000000000000000
+11101010010000001000000000000000
+00100000001101000111010001101110
+10011000010000101111111000000000
+00100000001000000111010001101111
+10011000010000001111111000000000
+11100000101000001000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111010001101001
+00100000011000000000000000000000
+11011000101000000000010100111111
+11101010001000110000000000000000
+11100000101000110000000000000000
+00100000001101000111010001111010
+11101010001000110000000000000000
+00100000001000000111010001111011
+11101000110000110000000000000000
+11100000101000110000000000000000
+11101010001000100000000000000000
+11100000101000100000000000000000
+00100000011000000000000000000000
+11011000110000000100001001100010
+11011000101000000000010100101111
+11011000010000000000000000000000
+01011000100000111001010110100111
+00100000010000000111010010100000
+01011000101100111100000111011111
+00100000010000000111010010100000
+01011000000000001110010111101001
+00100000010000000111010010100001
+00011000010000100010100000000000
+01111000010101000111110000000000
+00100000010000000111010010001110
+00011010100000100000010000000000
+01111000001101000111110000000000
+00100000001000000111010010001110
+00011000000000000111001000001000
+11101000110000001000000000000000
+00101111001000000000001000000001
+00100000001101000111010010010101
+00100000001000001111010010010110
+10011000010000001111111000000000
+00100000001000000111010010010111
+00100000001000001111010010010011
+10011000010000101111111000000000
+11100000101000001000000000000000
+00011000010011001000010000000000
+11000010000000000111010010001111
+00100000011000000000000000000000
+01101000000000110000010100100011
+01100000000000110000000001010110
+11101000110000110000000000000000
+11100000101000110000000000000000
+00100000011000000000000000000000
+00011000010011010000010000000000
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000001000000111010010100100
+00100000010000000111010101000000
+11011000101000000100010001111011
+00100000001000000111010110100011
+11011000101000000100010010011100
+00100000001101001111010010101011
+11011000101000000000001110110000
+00011000110000100010001000000000
+00100000010000000111111000110101
+00100000010000000111010101010001
+11011000110000000100010010001100
+00100000001000000111010110111100
+11011010001000000000001110110000
+00100000001101001111010010110011
+11011010001000000100010010011100
+00011010001000100000101000000000
+00100000010000000110001000100110
+00100000001000000111010101010001
+11011000110000000000001110000000
+00100000010000000111010110010010
+11011000110000000100010001111011
+00100000010000000111010110010011
+00011000000000000110110000111000
+00011000000000000110110000000000
+00100000010000000111010100101111
+11011000101000000000001111111101
+00100000001000000111010110100011
+00011000000000000111111001001001
+00100000001000000111010011000010
+00011000000000000111111000000001
+00011000000000000111000000000000
+00011000010011010101111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00011000010011001101111000000000
+00011101111100010101111000000000
+01101000000000010100010001110011
+00011111111100000111111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101000110000010000000000000000
+00011010001100001101111000000000
+00011101111100000101111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00100000011000000000000000000000
+00011010011000001000110000000001
+11101000110000001000000000000000
+10011000000000000010001000000000
+00100000010000000111010010111111
+00100000010000000111010100110001
+00011000000000000111000000000000
+11101010011000001000000000000000
+00011111111000010111111000000011
+00011111111100000101111000000000
+01111001001000000101111000001000
+00100000010000000111010110011011
+00100000010000000111010100110100
+00011010001000100111001000000000
+00011010011000001000110000000010
+00100000010000000111010101111010
+00100000010000000111010110000100
+00100000010000000111010100110100
+00011111001000100111111000000000
+00100000001110100111010011101001
+00100000001000000111010011100100
+00011000000000000111000000001100
+00011101111000100111111000000000
+01100000000000100000001101111000
+00100000011000000000000000000000
+00011010001000001010001000000001
+00100000010000000111010011000001
+00011010011000100000110000000000
+00100000010000000111010110001110
+00100000010000000111010100110111
+00100000010000000111010110101010
+00011010011000001010011000010000
+00011010010000001010010111110000
+00100000001000010111010011101101
+00100000011000000000000000000000
+11011010011000000100010000111110
+01101000000010101100010001100101
+00100000010000000111010011010101
+00011000000000000111000000001000
+10011000000000000101111000000000
+00011000000000000010001000000000
+00100000010000000111010011000001
+00100000010000000111010100110111
+11011010011000000100010001000000
+01101000000000001100010000111111
+00011111111000001010010111111111
+10011010011000001000101000000000
+00011000000000000111000000001100
+00011101111000100111111000000000
+11100000101000100000000000000000
+00100000010000000111010011101101
+01101000000000001100010000111111
+00011111111000001111111000000100
+01100000000000001100010000111111
+01101000000010101100010001100101
+00011000010000001000010000000001
+01100000000010101100010001100101
+00100000011000000000000000000000
+01101000000000001000001101000001
+00011111111001100111110000010100
+00100000001000010111010100010001
+11011010011000000000001101000010
+00011111111000001010010111111111
+00011111111000001111111111111100
+01100000000000001000001101000001
+10011010011000001000110000000000
+11101000110000100000000000000000
+00011000000000000111000000001000
+10011000000000000101111000000000
+00011000000000000010001000000000
+01101000000010101100010001101010
+00100000010000000111010011000001
+00100000010000000111010100110111
+00011000000000000111000000001100
+00011101111000100111111000000000
+01100000000000100000001101111100
+00100000010000000111010011101101
+11011010011000000000001101000000
+00100000010000000111010011010101
+01101000000010100000001101111100
+10011000010001100111111000000000
+00100100011110100000000000000000
+01101000000000100100010001101111
+10011000010001100111111000000000
+00100000011110100000000000000000
+01100000000010100100010001101111
+01101000000000101100010001101010
+00011111111000001111111000000001
+01100000000000101100010001101010
+00011000000000000111111000000000
+00100000011000000000000000000000
+00100100001110111111010100101111
+00100000011000000000000000000000
+00011000000000000110110000110000
+00011000000000000110110000000000
+00100000001000000111010100101111
+00011000000000000110110000110010
+00011000000000000110110000000010
+00100000001000000111010100101111
+00011000000000000110110000110100
+00011000000000000110110000000100
+00100000001000000111010100101111
+00011000000000000110110000110110
+00011000000000000110110000000110
+00100000001000000111010100101111
+00011000000000000110110000000001
+00011000000000000110110000000000
+00100000011000000000000000000000
+00011000000000000111000000000000
+01101000000000100000001110110000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+01101000000000100100010010011100
+10011000000000000101111000000000
+00011111000000001111000000000001
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+00100000010000000111010110011110
+00011000000000000110110000111000
+00011000000000000110110000001000
+00100000001000000111010100101111
+01101000000000110100010011111001
+01101000000010110000001111010000
+00100000001101001111010101010110
+01101000000000110000001111010000
+01101000000010110100010011111001
+00011000000000000111000000001000
+00011000010000100101111000000000
+00011111000000001111000000000001
+00011000010011110101111000000000
+00011111111100000111111000000000
+10011101111000011101111000000000
+00011111000000001111000000000001
+00011111111011110101111000000000
+00011111000000001111000000000001
+00011000000000000101111000000000
+00011000000000000111111000000000
+01101000000000001100010011100110
+01101000000010001100010011011100
+00100100001101001111010101100110
+01101000000000001100010011101101
+01101000000010001100010011100110
+01100000000000001100010010101100
+01100000000010001100010010101101
+00011000000000000111000000000000
+11011010010000000100010010101100
+00011000000000000111001000000100
+11101010001000100000000000000000
+11101010010010100000000000000000
+10011000010000101101111000000000
+00011111000000001111000000000001
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111010101101011
+00100000010000000111010110011110
+00011000000000000110110000111000
+00011000000000000110110000001100
+00100000010000000111010100101111
+00100000010000000111010110011101
+00011000000000000110110000111010
+00011000000000000110110000001000
+00100000001000000111010100101111
+00101111001000000000011000000000
+00100000011000001000000000000000
+00011000110000100111111000000000
+10011111001000001000101000000000
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011111001000001111001000000001
+00101111001000000000011000000000
+00100000011000001000000000000000
+00100000001000000111010101111111
+00011000000000000111000000000000
+00011111001000100111111000000000
+00100000001110100111010110001001
+11101000110000100000000000000000
+00011111001000001111001111111100
+10011000000000000101111000000000
+00011111000000001111000000000001
+00101111000000000001111000000100
+00100000011000001000000000000000
+00100000001000000111010110000101
+00011000000000000111000000001000
+00100000001000000111010110010011
+00011000000000000111000000000100
+00100000001000000111010110010011
+00011000000000000111000000000000
+00011000000000000111001000000100
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111010110010100
+00100000011000000000000000000000
+11011000110000000000001111111101
+00100000001000000111010110010000
+00011000000000000111001000000100
+00100000001000000111010110100000
+00011000000000000111000000000000
+00011000000000000111001000000100
+00011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111010110011111
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000000000000111001000000100
+00011101111000100111111000000000
+11100000101000100000000000000000
+00011111000000001111000000000001
+11000010000000000111010110100101
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011010011000100000101000000000
+00011010010000001111001000000001
+00011111001001100111110000001111
+00100000001000010111010110110000
+00011000000000000111001000010000
+00011101111000100111111000000000
+00011111001001100111110000000011
+00100000001000010111010110111000
+11100000101000100000000000000000
+00011111001000001111001111111100
+00100000011000101000000000000000
+00011111000000001111000000000001
+00100000001000000111010110110000
+11100000101000001000000000000000
+00011111111011001111111000000000
+11000010000000000111010110111000
+00100000011000000000000000000000
+00011000000000000111000000001100
+00011000000000000111001000000100
+11101000110000100000000000000000
+10011101111001100111110000000000
+00100100011000101000000000000000
+00011111000000001111000000000001
+11000010000000000111010110111110
+00011000000000000111110000000000
+00100000011000000000000000000000
+01101000000100001000000001010000
+01111001001111111111111000000000
+01100000000100001000000001010000
+00100000011000000000000000000000
+01101000000100001000000001010000
+01111001001000000111111000000000
+01100000000100001000000001010000
+00100000011000000000000000000000
+11011000101000000000011101000010
+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
+01011000000000000111011001001100
+01100000000000010100001010001110
+01011000000000000111011100001111
+01100000000000010100001010010000
+01011000000000000111011010101100
+01100000000000010100001010010010
+01011000000000000111011100010000
+01100000000000010100001010001010
+01011000000000000111011100011000
+01100000000000010100001010010100
+01111001001000000000000000100101
+01000100111111001100000000111111
+00100000011101011000000000000000
+01110000100000001000000100000000
+00100000010000000111011000111111
+01011000000000000111011100010111
+01100000000000010100001010001000
+01110000010010000000111000000000
+01110000010010000000101000000000
+01110000010010000000101100000000
+01011000000000000000000000000000
+01100000000000100100100000000000
+00100000010000000011111100100011
+00100000001110100011111101111001
+00100000010000000011111110010110
+00100000010000000011111101111110
+00100000001000000011111101101110
+01101000000010001100100000001111
+00100000010000000110100111010001
+01101000000010001100100000010000
+00100000001000000110100111010001
+01111001001000000000000000100101
+01000100111111010100000000111111
+01101000000010100100100000000110
+00011100010000100111111000000000
+01100000000000100100100000000110
+10011000010001100111111000000000
+00100100011000010000000000000000
+00011111111001100111111011001000
+00100000011000000000000000000000
+01101000000000001100001010111100
+11000001100111111000000000000000
+01111001001000000000000000100101
+01000100111111011100000000111111
+01101000000000001100000100110010
+11000001100001001000000000000000
+01111000010101000111110000000000
+00100000010000000111011010011011
+00100100011101000000000000000000
+01111000010101000111110000000000
+01101000000000001100000100110011
+11000000000000011111011100000110
+01101000000000001100100000001011
+11000000000000001111011001100011
+11000000000000010111011001111101
+00100000010000000111011001000011
+00100000001000010111011001100000
+01101000000000001100100000001010
+11000010100000000111011001110100
+11000010100000001111011010000010
+01110000010010000000101000000000
+01110000010010000000101100000000
+00100000011000000000000000000000
+01110000010010000000101100000000
+00100000010000000111101111011110
+01101000000000001100100000010001
+11000000000000001111011001101010
+01110000010010000000010100000101
+01110000010010000000000000000011
+00100000001000000111011010001000
+01110000010010000000111000000000
+00100000001000000111011001101100
+01110000010010000000111000000010
+00100000001000000111011010000100
+01110000010010000000111000000011
+00100000001000000111011001111111
+01110000010010000000111000000100
+00100000001000000111011001111000
+01110000010010000000111000000000
+00100000001000000111011001100111
+01110000010010000000101100000001
+00100000010000000111101111100111
+01101000000000001100100000010001
+11000000000000001111011001111100
+01110000010010000000010100000101
+01011000000000100000000000000011
+01100000000000011100100000000000
+00100000001000000111011010001000
+00100000011000000000000000000000
+01110000010010000000101100000000
+00100000010000000111101111011110
+01110000010010000000010100001010
+01110000010010000000000000000001
+00100000001000000111011010001000
+01110000010010000000101100000010
+00100000010000000111101111100111
+01110000010010000000010100001010
+01110000010010000000000000000001
+01011000001010000000000000000000
+01100000000000011100100000000001
+01111001001000000000000000100101
+01000100111111100100000000111111
+01101000000000001100100000000101
+00011111111000100010001000000000
+00100000010000000100101100101100
+01101000000000010100001010110111
+11100000101000010000000000000000
+01011000000000000000000010100001
+11100000101000001000000000000000
+01101000000010100100100000000000
+11100000101011000000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+01100000000000100100100000000000
+01101000000000001100100000001110
+11000000000000010111011001101110
+11000000000000011111011001110000
+11000000000000100111011001110010
+00100000011000000000000000000000
+01101000000010001100100000001111
+00100000010000000110100111100101
+01011000000000000000000000000000
+01111001001000001111111000000000
+01100000000000001100100000000100
+01101000000010001100100000010000
+00100000010000000110100111100101
+01011000000000000000000000000000
+01111001001000001111111000000001
+01101000000010001100100000000100
+10011000010000011111111000000000
+01101000000010001100100000001010
+01100000000000001100100000001010
+10011000010000101111110000000000
+00100000011000101000000000000000
+01111000001101000111110000000000
+00100000011000000000000000000000
+00011010011000100111111000000000
+11000000000000101111011011011000
+11000000000000110111011011011010
+11000000000000111111011011011101
+11000000000100111111011011100001
+11000000000000010111011011001001
+11000000000000100111011011010000
+11000000000010011111011011010000
+11000000000000001111011011000110
+11000000000010010111011011000000
+11000000000101110011111101010111
+00011111111000010000010000001111
+00011111111000010111111011110000
+11000000001010000111011011100100
+00100000011000000000000000000000
+01101000000000001100011111110010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011111110010
+00100100011110100000000000000000
+01110000010000100111111100000001
+00100000010000000011111110100100
+00100000010000000011111110100010
+00100000010000000011111101111110
+00100000010000000011111110011000
+00100000001000000011111110011110
+01110000010010000000110100000000
+01110000010010000000110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111111101100000000111111
+01110000010000101001110100000000
+01110000010010000000110000000000
+01110000010010000000110100000000
+01101000000000010100001010100000
+11000011000000011111011011010100
+01101000000000010100011111111110
+01100000000000010100011111110000
+00100000010000000011111100010010
+00100000001000000011111101111011
+11000011000000001111011011010110
+00100000001000000111011011010000
+11000011000000010111011011010010
+00100000001000000111011011010000
+00100000010000000011111101111110
+00100000001000000011111110011000
+01011000000000000000000000000010
+01100000000000001100011111110010
+00100000011000000000000000000000
+01110000010010000000110000000000
+01011000000000000000000000000001
+01100000000000001100100000001101
+00100000011000000000000000000000
+01011000000000000000000000000101
+01100000000000001100100000001100
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111111110100000000111111
+01100000000010001000001001011001
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000111011011101111
+00100000010000000111011010111011
+00100000010000000111011011111010
+00100000001000000111011011100111
+01101000000000001100100000001100
+00100000011110100000000000000000
+01101000000000001100100000001100
+00011111111000001111111111111111
+01100000000000001100100000001100
+00100100011110100000000000000000
+01101000000000001000001011100110
+01111001001000000111111000000000
+01111001001000000111111000000111
+01100000000000001000001011100110
+00100000011000000000000000000000
+01101000000000001100100000001101
+00100000011110100000000000000000
+01101000000000001100100000001101
+00011111111000001111111111111111
+01100000000000001100100000001101
+00100100011110100000000000000000
+00100000001000000011111101110111
+01111001001000000000000000100101
+01000100111111111100000000111111
+01101000000000001100000100110011
+11000001100000011000000000000000
+00100000001000000111011001001110
+00100000010000000111011001000011
+00100000011000010000000000000000
+01101000000000001100100000001010
+00100000011110100000000000000000
+00100000010000000011111100100011
+00100000001110100011111101111001
+00100000010000000011111110010110
+00100000010000000011111101111110
+00100000001000000011111101101110
+00100000001000000111011100000001
+01101000000010001100100000001111
+00100000010000000110100110110100
+01101000000000001100100000010001
+11000000100000001111011100010101
+00100000011000000000000000000000
+01101000000010001100100000010000
+00100000001000000110100110110100
+00100000001000000111011000111111
+00100000001000000011111110011010
+01111001001000000000000000100101
+01000100111110010100000000111110
+01101000000000001100011111011100
+00100000001110100110000000001001
+00100000010000000110000000000011
+01011000000000000000000000000000
+01100000000001000000011111011010
+01100000000000100000011111100010
+11011000101000000000011111101001
+11100000101000111000000000000000
+01110000000001111110000000000000
+00100000001000000111011110100100
+01110000000001111101110000000001
+00100000001000000111011100101010
+01101000000000001100011110010011
+11000000000000001111011111000010
+00100000001000000011101111110001
+01101000000000001100011110010011
+11000000000000001111011100101101
+00100000001000000111011110100100
+00100000010000000111011111000010
+01101000000000001000011111011011
+00100100011110100000000000000000
+01110000000001111101101000000011
+00100000011000000000000000000000
+01101000000000001000011111011110
+11000000100000000111011101010000
+00100000010000000111011101001101
+11011000101000000000100010011000
+01011000000000000000100001001000
+11100000101000010000000000000000
+01011000000000000100011111000100
+11100000101000010000000000000000
+01011000000000000000100000001000
+11100000101000010000000000000000
+00100000001000000111011101000100
+11011000101000000000100010011000
+01011000000000000000100001011000
+11100000101000010000000000000000
+01011000000000000000100000001000
+11100000101000010000000000000000
+01011000000000000100011111000100
+11100000101000010000000000000000
+00100000010000000111101011010010
+01101000000000001000011111011011
+11000000000000100111011101001010
+01110000000001111101110000000001
+01110000000001111101101000000101
+00100000011000000000000000000000
+01110000000001111101101100010100
+00100000010000000111011100100111
+00100000001000000111100000001111
+11011000101000000000100000111000
+00011000000000000000111000001000
+00100000001000000111011111011011
+01110000000001111101110000000001
+00100000011000000000000000000000
+11011000101000000000011011000011
+01101000000000110100000101000000
+11100000101000110000000000000000
+01101000000000110000000001000000
+11100000101000110000000000000000
+01101000000000011000011111101001
+11100000101000011000000000000000
+00100000010000000111101100111100
+11011010001000000000100001101000
+11011010010000000000100001111000
+00011000000000000000111000000100
+00100000010000000111011111100000
+00100100001000001111011101101000
+01101000000000001000011111011011
+11000000000001001111011101100101
+01110000000001111101101000001010
+01110000000001111101110000000001
+01110000000000000111110000000011
+00100000011000000000000000000000
+01110000000000000111110000000011
+01110000000001111101101100010101
+00100000001000000111100000001111
+01101000000000001000011111011011
+11000000000001001111011101101110
+01110000000001111101101000000000
+01110000000000000111110000000100
+01110000000000000111111000000101
+00100000011000000000000000000000
+01110000000000000111110000000100
+01110000000001111101101100000000
+00100000011000000000000000000000
+01101000000000001000011111011111
+11000000000000001111011101110101
+01110000000001111101101100001010
+00100000001000000111100000001111
+11011000101000000000011011000011
+01101000000000110000000001000000
+11100000101000110000000000000000
+01101000000000110100000101000000
+11100000101000110000000000000000
+01101000000000011000011111100110
+11100000101000011000000000000000
+00100000010000000111101101001010
+01101000000000001000011111011011
+11000000000001010111011110000010
+01110000000001111101101000001011
+01110000000001111101110000000001
+00100000011000000000000000000000
+01110000000001111101101100001011
+01110000000001111101110100000001
+00100000011000000000000000000000
+11011000101000000000100010011000
+01101000000000110000000001000000
+11100000101000110000000000000000
+01101000000000110100000101000000
+11100000101000110000000000000000
+01011000000000000000100001001000
+11100000101000010000000000000000
+01011000000000000000100001011000
+11100000101000010000000000000000
+00100000001000000111011110011001
+01110000000001111101101000001111
+11011000101000000000100010011000
+01101000000000110100000101000000
+11100000101000110000000000000000
+01101000000000110000000001000000
+11100000101000110000000000000000
+01011000000000000000100001011000
+11100000101000010000000000000000
+01011000000000000000100001001000
+11100000101000010000000000000000
+11011000101000000000011011000011
+01101000000000110000100010011000
+11100000101000110000000000000000
+01101000000000110000100010011110
+11100000101000110000000000000000
+00100000010000000111101100000110
+01110000010000100101111000000001
+11011000101000000100001001100010
+11011000110000000000100001101000
+00100000010000000111111000110101
+00100000001000000011001000101001
+01111001001000000000000000100101
+01000100111110011100000000111110
+01101000000000001100011110010011
+11000001100000000000000000000000
+01101000000000001000011111011110
+11000001100000000000000000000000
+11011000101000000100011110010100
+00011000000000000000111000001011
+00100000010000000111011111011011
+00011000000010100111111000000000
+00011111111000110111111000000000
+11100000101000010000000000000000
+11011000101000000000011001011010
+11011000110000000100011110010100
+00100000010000000111111000110011
+11011000101000000000010110000010
+11011000110000000000011110001010
+00100000010000000111111000101101
+11011000101000000000010110110010
+00100000010000000111111000111010
+01110000000001011011001000000001
+00100000010000000111101101111111
+01110000000001111101111000000001
+00100000011000000000000000000000
+11011000101000000100011110101100
+11011000110000000000010111001010
+00100000010000000111111000101101
+01110000010001111001001100000001
+01110000000001111101111000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111110100100000000111110
+01101000000000001000011111100101
+11000001100000000000000000000000
+01101000000000001000011111011110
+11000001100000000000000000000000
+11011000101000000000011001011010
+11011000110000000100011110010100
+00100000010000000111111000110011
+11011000101000000000010110000010
+11011000110000000000011111110000
+00100000010000000111111000101101
+11011000101000000000010110110010
+00100000010000000111111000111010
+01110000000001011011001000000001
+00100000010000000111101101111111
+01110000000001111101111000000010
+00100000011000000000000000000000
+01110000000001111101111100000001
+11011000101000000000100000100000
+11011000110000000000010111001010
+00100000010000000111111000110011
+01110000000001111110010100000001
+01110000000001111101111000000000
+00100000011000000000000000000000
+00011000111000001000111111111111
+00100100011000010000000000000000
+00011000000010100111111000000000
+11100000101000010000000000000000
+00100000001000000111011111011011
+00011000111000001000111111111111
+00100100001000010111011111101100
+11101010001000100000000000000000
+00011111111000100000010000000000
+11101010010000100000000000000000
+10011000010000101111111000000000
+00100100001000101111011111101010
+00011010001000001010001000000100
+00011010010000001010010000000100
+00100000001000000111011111100000
+01111000010000001111110000000000
+00100000011000000000000000000000
+01111000001000001111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111110101100000000111110
+01101000000000001000011111011100
+00100000011110100000000000000000
+01110000000001111101110000000000
+01101000000000001000011111011010
+11000000000000011110000100010111
+11000000000000101110000100110100
+11000000000000111110000100111111
+11000000000001011110000101010101
+11000000000000010111011100100101
+11000000000000100111011100110010
+11000000000001001111011101010010
+11000000000001010111011101110001
+11000000000001100111011110001111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111110110100000000111110
+01101000000000001000011111011101
+00100000011110100000000000000000
+01110000000001111101110100000000
+01101000000000001000011111011011
+11000000000010010110000011110111
+11000000000010011110000011111111
+11000000000000011110000100000011
+11000000000000100111011100111101
+11000000000010100110000100000111
+11000000000000111110000100010101
+11000000000001010111011101110001
+11000000000001011110000101010100
+11000000000001001111011101010010
+11000000000010101110000101001110
+00100000011000000000000000000000
+01110000000001111101110100000001
+00100000011000000000000000000000
+01110000000001111101110100000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111110111100000000111110
+01101000000000001000011111011110
+00100000011110100000000000000000
+00011111111000001111111010000000
+01100000000000001000011111011110
+11000011100000111000000000000000
+01101000000000001000010110000001
+00100000001110100111100000011101
+00100000001000000111101110001010
+00100000010000000111101000001100
+01101000000000001000011111011110
+11000000000000001111011110111100
+11000000000000010111011111010100
+00100000011000000000000000000000
+00011111111000010000111000000111
+00011111111010010111111000000000
+10011000110000001000110000000000
+11101000110000001000000000000000
+10101111111011000000000000000000
+00100000011000000000000000000000
+00100000010000000111111000110011
+00100000010000000111111000110011
+00100000001000000111111000110011
+11101000110001000000000000000000
+00100100011110100000000000000000
+11101000110001000000000000000000
+00100100011110100000000000000000
+11101000110001000000000000000000
+00100000011000000000000000000000
+00011000000000000111001000000110
+11101010001000100000000000000000
+10011000000000000000010000000000
+11101010010000100000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111100000110010
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011010001000001010001000010100
+00011010010000001010010000010100
+11101010010000100000000000000000
+10011000000000000000010000000000
+11101010001000100000000000000000
+10011000010001100111111000000000
+00100100011000010000000000000000
+00100100011110100000000000000000
+00011010001000001010001111111100
+00011010010000001010010111111100
+11000010000000000111100000111110
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101010001000100000000000000000
+10011000000000000000010000000000
+11101010010000100000000000000000
+10011000010000001111111000000000
+10011010011000001111111000000000
+11100000101000100000000000000000
+00101111111011111111111000100000
+01111001001000001010011000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111100001001010
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101010010000100000000000000000
+10011000000000000000010000000000
+11101010001000100000000000000000
+10011000010001100111111000000000
+10011010011001100111111000000000
+11100000101000100000000000000000
+00101111111011111111111000100000
+01111001001000001010011000000000
+00011010001000001010001000000100
+00011010010000001010010000000100
+11000010000000000111100001011000
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011010001000001010001000010100
+00011000000000000010011000000000
+11101010001000100000000000000000
+00101111111011111111111000000000
+01111001001000001010011000000001
+00011111111000110111111000000000
+00101010011011111111111000000000
+01111001001000001111111000011111
+11100010001000100000000000000000
+00011010001000001010001111111100
+00011010011000110010011000000000
+11000010000000000111100001100111
+00100000011000000000000000000000
+00011000000000000111001000000110
+00011000000000000010011000000000
+11101010001000100000000000000000
+00101111111011111111111000011111
+01111001001000001010011000000001
+00011111111000111111111000000000
+00101010011011111111111000000000
+01111001001000001111111000000000
+11100010001000100000000000000000
+00011010001000001010001000000100
+00011010011000110010011000000000
+11000010000000000111100001110100
+00100000011000000000000000000000
+00100000010000000111100001110010
+00101010011011111111111000000000
+00100000001000001111100010001000
+11011010010000000000011101000010
+00011010001000100010011000000000
+00011010001000001010001111101000
+00100000010000000111100000111011
+00100100011000010000000000000000
+00011010011000100010001000000000
+00011010001000001010001111101000
+11011010010000000000011101000010
+00011010001000100000101000000000
+00100000001000000111100001010110
+00100000010000000111100001001000
+00011000101000100010001000000000
+00100000001000000111100010000000
+00100000010000000111100001010110
+00101010011011000000000000000000
+00100000011000001000000000000000
+11011010010000000000011101000010
+00011000101000001010001111101000
+00011010001000100000101000000000
+00100000001000000111100001001000
+00011000101000100001011000000000
+00011010001000100110000000000000
+11011010010000000000011010110010
+00011010010000100000101000000000
+00011010001000001000110000011000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+00011001011000100000101000000000
+00100000010000000111100010001100
+11011010010000000000011010110010
+00011010010000100000101000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+00011110000000001000110000100000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000010000000111100010001100
+11011010010000000000011010110010
+00011010010000100000101000000000
+00011110000000001000110000101000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011001011000100010001000000000
+00011010001000100000101000000000
+00100000001000000111100010001100
+00011000000000000111001000000110
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000111100010111000
+00100000011000000000000000000000
+00011000101000100001011000000000
+11011000101000000000011010000010
+00100000010000000111111000111010
+11011000101000000000011010000010
+00011010001000100000110000000000
+00011000000000000111000000000000
+00100000010000000111100010110111
+00011010010000100000110000000000
+00100000010000000111100010110111
+00011000000000000010010000000000
+00011000000000000000010000000000
+00011000000000000010011000000110
+11101000101000100000000000000000
+10011000000000000010001000000000
+00011010010000100111000000000000
+00011101111000100111111000000000
+00011010011000100111000000000000
+10011101111011111111111000000000
+10011010001000001111111000000000
+10011000010000001111111000000000
+11100000101000100000000000000000
+00011111111011110000010000000000
+00011010011000001010011000000001
+00101010011000011111111000001100
+00100100001000001111100011001001
+00011000010000100111111000000000
+11100000101000100000000000000000
+00011000101000001000101111101000
+00011010010000001010010000000001
+00101010010000011111111000000110
+00100100001000001111100011000111
+11011010001000000000011010000010
+00011001011000100000101000000000
+00100000001000000111100010010110
+00011010001000100010010000000000
+00100000001000000111100010111101
+00011010001000100110000000000000
+00011110000000100010001000000000
+11101010001000001000000000000000
+00101111111011111111111000000000
+00100000011000001000000000000000
+00100000010000000111100001100100
+11101010010000001000000000000000
+00101111111011000000000000000000
+00100000001000001111100011110001
+11011010001000000000011101000010
+00011010010000100000101000000000
+00100000010000000111100001001000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00011010010000001010010111101000
+00011010010000001010001000011000
+00011000000000000111001000000111
+00100000010000000111100001100110
+00100000001000000111100011100010
+00011000101000100001011000000000
+11011000101000000000011011100010
+00100000010000000111111000111010
+00011000000000000111111000000000
+01100000000000100000011010011010
+01100000000000100000011011111010
+01110000000001101110001000000001
+11011000101000000000011010000010
+00100000010000000111111000111010
+11011000110000000000011101000010
+11011000101000000000011010110010
+00100000010000000111111000110011
+00011010001000100000110000000000
+11011000101000000000011011001010
+00100000010000000111111000110011
+11011000110000000000011011001010
+00100000010000000111100000101011
+00100000001110100111100100101101
+11011010001000000000011011001010
+11011010010000000000011011100010
+00100000010000000111100011100001
+11011010001000000000011010110010
+11011010010000000000011010000010
+00100000010000000111100011100001
+11011010001000000000011011001010
+11011010010000000000011010110010
+00100000010000000111100000111011
+00100000001000010111100100011111
+11011010001000000000011010110010
+11011010010000000000011011001010
+00011010001000100000101000000000
+00100000010000000111100001010110
+11011010001000000000011011100010
+11011010010000000000011010000010
+00011010010000100000101000000000
+00100000010000000111100001001000
+11101010001000001000000000000000
+10011010011000001010011000000000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00100000001000000111100100000100
+11011010001000000000011011001010
+11011010010000000000011010110010
+00011010001000100000101000000000
+00100000010000000111100001010110
+11011010001000000000011010000010
+11011010010000000000011011100010
+00011010010000100000101000000000
+00100000010000000111100001001000
+11101010001000001000000000000000
+10011010011000001010011000000000
+11101010010000001000000000000000
+10011010011000001111111000000000
+11100010010000001000000000000000
+00100000001000000111100100000100
+11011000101000000000011011100010
+00100000010000000111111000111010
+01101000000000001000011010011010
+01100000000000001000011011100010
+01100000000000001000011011101010
+11011010001000000000011011100010
+11011010010000000000011010000010
+00011010010000100000101000000000
+00100000010000000111100010001100
+11011010001000000000011101000010
+11011010010000000000011010000010
+00011001011000100000101000000000
+00100000001000000111100010001111
+11011010001000000000011001000010
+11011000101000000000011011111010
+00100000010000000111100011011111
+11011010001000000000011011111010
+11011000101000000000011100010010
+00100000010000000111100011011111
+11011010001000000000011101011010
+11011010010000000000011100010010
+11011000101000000000011100010010
+00100000010000000111100010111101
+11011010001000000000011000010010
+11011000101000000000011011111010
+00100000010000000111100011011111
+11011000110000000000011011111010
+11011000101000000000011011001010
+00100000010000000111111000110011
+11011010001000000000011011001010
+00100000010000000111100001111111
+11011010001000000000011011111010
+11011010010000000000011011001010
+11011000101000000000011011111010
+00100000010000000111100010001100
+11011010001000000000011011111010
+11011010010000000000011100010010
+11011000101000000000011011111010
+00100000010000000111100010001100
+11011000110000000000011000010010
+11011000101000000000011011001010
+00100000010000000111111000110011
+11011010001000000000011000101010
+11011000101000000000011100010010
+00100000010000000111100011011111
+11011010001000000000011011001010
+00100000010000000111100001111111
+11011010001000000000011011001010
+00100000010000000111100001111111
+11011010001000000000011011001010
+11011010010000000000011100010010
+11011000101000000000011011001010
+00100000010000000111100010111101
+11011010001000000000011100010010
+11011000101000000000011011100010
+00100000010000000111100011011111
+11011010001000000000011011100010
+00100000010000000111100001111111
+11011010001000000000011011100010
+00100000010000000111100001111111
+11011010001000000000011011100010
+00100000010000000111100001111111
+11011000110000000000011000101010
+11011000101000000000011100010010
+00100000010000000111111000110011
+11011010001000000000011100010010
+00100000010000000111100001111111
+11011010001000000000011100010010
+11011010010000000000011001000010
+11011000101000000000011001000010
+00100000010000000111100010111101
+11011010001000000000011011111010
+11011000101000000000011100010010
+00100000010000000111100011011111
+11011010001000000000011100010010
+11011010010000000000011011001010
+11011000101000000000011100010010
+00100000010000000111100010001111
+11011010001000000000011100010010
+11011010010000000000011011001010
+11011000101000000000011000010010
+00100000010000000111100010001111
+11011010001000000000011011001010
+11011010010000000000011000010010
+11011000101000000000011100010010
+00100000010000000111100010001111
+11011010001000000000011100010010
+11011010010000000000011011111010
+11011000101000000000011100010010
+00100000010000000111100010111101
+11011010001000000000011100010010
+11011010010000000000011011100010
+11011000101000000000011000101010
+00100000001000000111100010001111
+11011010001000000000010110110010
+11011000101000000000011100101010
+00100000010000000111100011011111
+11011010001000000000011000010010
+11011010010000000000011100101010
+11011000101000000000011011100010
+00100000010000000111100010111101
+11011010001000000000010110110010
+11011010010000000000011100101010
+11011000101000000000011100101010
+00100000010000000111100010111101
+11011010001000000000011000101010
+11011010010000000000011100101010
+11011000101000000000011011001010
+00100000010000000111100010111101
+11011010001000000000011001000010
+11011000101000000000011100101010
+00100000010000000111100011011111
+11011010001000000000010110000010
+11011010010000000000011100101010
+11011000101000000000011011111010
+00100000010000000111100010111101
+11011010001000000000011001000010
+11011010010000000000011100101010
+11011000101000000000011100101010
+00100000010000000111100010111101
+11011010001000000000010110011010
+11011010010000000000011100101010
+11011000101000000000011100010010
+00100000010000000111100010111101
+11011010001000000000011011100010
+11011010010000000000011011111010
+11011000101000000000011100101010
+00100000010000000111100010001111
+11011010001000000000011011100010
+11011010010000000000011011111010
+11011000101000000000011011100010
+00100000010000000111100010001100
+11011010001000000000011011001010
+11011010010000000000011100010010
+11011000101000000000011011111010
+00100000010000000111100010001111
+11011010001000000000011011001010
+11011010010000000000011100010010
+11011000101000000000011011001010
+00100000010000000111100010001100
+11011010001000000000011011001010
+11011010010000000000011100101010
+11011000101000000000011011001010
+00100000010000000111100010111101
+11011010001000000000011001000010
+11011010010000000000010110110010
+11011000101000000000011100010010
+00100000010000000111100010111101
+11011010001000000000011100010010
+11011010010000000000011100101010
+11011000101000000000011001000010
+00100000010000000111100010111101
+11011010001000000000011100101010
+11011000101000000000011100101010
+00100000010000000111100011011111
+11011010001000000000011100101010
+11011010010000000000011011100010
+11011000101000000000011100010010
+00100000010000000111100010111101
+11011010001000000000011100101010
+11011010010000000000011011001010
+11011000101000000000011011001010
+00100000010000000111100010111101
+11011010001000000000011011111010
+11011000101000000000011000010010
+00100000010000000111100011011111
+11011010001000000000011000010010
+11011010010000000000011100010010
+11011000101000000000011000010010
+00100000010000000111100010001111
+11011000110000000000011000010010
+11011000101000000000011100101010
+00100000010000000111111000110011
+11011010001000000000011100101010
+00100000010000000111100001111111
+11011010001000000000011100010010
+11011010010000000000011100101010
+11011000101000000000011100010010
+00100000010000000111100010001111
+11011010001000000000011100010010
+11011010010000000000011011111010
+11011000101000000000011011111010
+00100000010000000111100010111101
+11011010001000000000011011111010
+11011010010000000000011011001010
+11011000101000000000011000101010
+00100000010000000111100010001111
+11011010001000000000011000101010
+11011010010000000000011101000010
+11011000101000000000011000101010
+00011000000000000010011000000000
+01101000000000001000011000101010
+00101111111011111111111000000000
+00100000010000001111100001001000
+00011010011000100110000000000000
+11011010001000000000011000101010
+00100000010000000111100001100100
+01101000000000001000011001000001
+00101110000011111111111000000000
+01111001001000001111111000000111
+01100000000000001000011001000001
+00100000011000000000000000000000
+01110000000001011000000111000000
+01110000000001011000000000000001
+01101000000000001000010110000001
+00011111111000001111111111111111
+00100100011000010000000000000000
+01100000000000001000010110000001
+01101000000000001000010110000000
+00100000010110100111100100111010
+01101000000000001000010110000001
+11011000110000000000011001011010
+00100000010000000111100000100010
+00100000001000001111100111111001
+01101000000000001000010110000000
+00100100001110100111101000000111
+00100000010000000111100110001011
+00100000001000000111100111111001
+01110000000001011000000000000000
+11011000110000000000010110000010
+11011000101000000000011000010010
+00100000010000000111100000101000
+00100000001000000111100111111001
+11011010001000000000011001000010
+11011000101000000000011100010010
+00100000010000000111100011110101
+11011010001000000000011100010010
+11011000101000000000011011001010
+00100000010000000111100011011111
+11011010001000000000011000010010
+11011010010000000000011011001010
+11011000101000000000010111001010
+00100000010000000111100010111101
+11011010001000000000011100010010
+11011010010000000000011011001010
+11011000101000000000011011111010
+00100000010000000111100010111101
+11011010001000000000011000101010
+11011010010000000000011011111010
+11011000101000000000010111100010
+00100000001000000111100010111101
+00011000000000000111001000010000
+11101000110000100000000000000000
+00011000000000000010001000000100
+00011000101000001000101000000011
+11100000101000001000000000000000
+00011111111011001111111000000000
+00011000101000001000101111111110
+00011010001000001010001111111111
+00100100001000101111101000100010
+00011000101000001000101000000101
+11000010000000000111101000011111
+00100000011000000000000000000000
+00011000111010111111111000000000
+10011001011000001000110000000000
+11101000110000100000000000000000
+00100000011000000000000000000000
+00011000000000000110000000010000
+11011001011000000000010110000010
+00011110000000001000111111111001
+00100000010000000111101000101010
+10011000000000000000010000000000
+00011110000000001000111111110000
+00100000010000000111101000101010
+10011000010000001000010000000000
+00011110000000001000111111111110
+00100000010000000111101000101010
+00011111111011100111111000000001
+10011000010000001000010000000000
+00011110000000001000111111110001
+00100000010000000111101000101010
+00011111111011100111111000000000
+10011000010000001000010000000000
+00011110000010111111111000000000
+10011001011000001000101000000000
+11100000101010100000000000000000
+00011110000000001110000000000001
+00101110000000011111111001000000
+00100100001000001111101000110000
+00100000011000000000000000000000
+11011000110000000000011110111010
+00011000000000000111000000000111
+11101000110000100000000000000000
+10011000000000000101111000000000
+00011111000000001111000111111111
+00100000001000010111101001000111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111111000100000000111111
+00100000010000000111101000101110
+11011000101000000000011010000010
+00011000000000000111000000000000
+00011101111000100111111000000000
+11100000101000100000000000000000
+00011111000000001111000000000001
+00101111000000011111111000001000
+00100100001000001111101001010001
+00100000010000000111010111000101
+11011001011000001000011100000000
+11011110000000000000010110000010
+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
+11000010000000000111101001011010
+11011000110000000000011010000010
+00011000000000000111000000000000
+11101000110000100000000000000000
+10011101111000001101111000000000
+00011111000000001111000000000001
+00101111000000011111111000001000
+00100100001000001111101010000011
+00100000001000000111010111001001
+11011000101000000000100001011000
+00011000000000000111000000000111
+00011101111000100111111000000000
+11100000101000100000000000000000
+00011111000000001111000111111111
+00100000001000010111101010001011
+00100000011000000000000000000000
+11011000101000000000010110000010
+00011000110000001000110111111100
+00011111001001100010001000010000
+11101000110000100000000000000000
+10011000010000101111111000000000
+11100000101000100000000000000000
+00011000110000001000110111111000
+11000010000000000111101010010011
+00011010001000100111001000000000
+00011000010000100111111000000000
+11100000101000100000000000000000
+11000010000000000111101010011010
+00100000011000000000000000000000
+11011000110000000000100000001000
+11011000101000000000010110000010
+00011000000000000111001000000110
+00100000010000000111101110010111
+11011000110000000100011111000100
+00011000000000000111001000000110
+00100000010000000111101110010111
+11011000110000000000100001011000
+00100000010000000111101110010110
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000100001001000
+11011000101000000000010110000010
+00100000001000000111101010111000
+11011000110000000100011111000100
+11011000101000000000010110000010
+00011000000000000111001000000110
+00100000010000000111101110010111
+11011000110000000000100000001000
+00011000000000000111001000000110
+00100000010000000111101110010111
+11011000110000000000100001001000
+00100000010000000111101110010110
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000100001011000
+11011000101000000000010110000010
+00100000010000000111101110010110
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00011000000000000111001000000101
+00100000010000000111111000111011
+01011000000000000000001010000000
+11100000101000100000000000000000
+00100000010000000111101001001100
+01101000000000100000100001011000
+11011010001000000000001111101000
+10011010001001101111110000000000
+00100000010000000111111011111101
+00011000000001110111111000000000
+01100000000000100000011111101100
+00011000000001111111111000000000
+11011010001000000000001111101000
+10011010001001101111110000000000
+00100000010000000111111011111101
+00011000000001110111111000000000
+11011010001000000000001111101000
+10011010001011111111111000000000
+01101000000010100000011111101100
+10011000010000001111111000000000
+01100000000000100000011111101100
+00100000011000000000000000000000
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+01101000000000010000100010011000
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+01101000000000010000100010011010
+00011111111000100000110000000000
+11011000101000000000010110000010
+00011000000000000111001000000110
+00100000010000000111101110010111
+01101000000000010000100010011100
+00011111111000100000110000000000
+00011000000000000111001000000110
+00100000010000000111101110010111
+01011000100000000000000000000000
+11100000101000011000000000000000
+00011000000000000111111000000000
+11100000101000001000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+01011000000000000000001110001000
+11100000101000100000000000000000
+00100000010000000111101001001100
+00100000010000000111101010001001
+11011000110000000000100001011000
+11011000101000000000011010100010
+00100000010000000111111000110001
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+01101000000000010000100010011000
+00011111111000100000110000000000
+00011000000000000111001000000100
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000011011000010
+11011000101000000000010110000010
+00011000000000000111001000001000
+00100000010000000111101110010111
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00100000010000000111111000111010
+01011000000000000000001100000000
+11100000101000100000000000000000
+00100000010000000111101001001100
+00100000001000000111101010001001
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100000111000
+00011000000000000111001000000110
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+01101000000000010000100010100100
+00011111111000100000110000000000
+11011000101000000000010110000010
+00100000010000000111101110010110
+01101000000000010000100010100110
+00011111111000100000110000000000
+00100000010000000111101110010110
+01011000011000100111010001101100
+00011111111011010111111000000000
+00011111111000011111111001101011
+11100000101000100000000000000000
+11011000110000000000011011001111
+00011000000000000111001000000011
+00100000010000000111101110010111
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00011000000000000111111000000000
+11100000101001000000000000000000
+01011000000000000000001110000000
+11100000101000100000000000000000
+00100000010000000111101001001100
+00100000010000000111101010001001
+11011000110000000000100001011000
+11011000101000000000011010100010
+00100000010000000111111000110001
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000100000111000
+00011000000000000111001000000110
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000011011000010
+11011000101000000000010110000010
+00011000000000000111001000001000
+00100000010000000111101110010111
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00100000010000000111111000111010
+01011000000000000000001100000000
+11100000101000100000000000000000
+00100000010000000111101001001100
+00100000001000000111101010001001
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100000111000
+00011000000000000111001000000110
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000100001011000
+11011000101000000000010110000010
+00100000010000000111101110010110
+11011000110000000000100001001000
+00100000010000000111101110010110
+00100000001000000111101101010111
+01011000001101100011011000110110
+00011111111011010000010000000000
+00011000010000011000010000110110
+11011000110000000000100000111000
+00011000000000000111001000000110
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000100001001000
+11011000101000000000010110000010
+00100000010000000111101110010110
+11011000110000000000100001011000
+00100000010000000111101110010110
+01011000000000000000000000000000
+11100000101001000000000000000000
+11100000101001000000000000000000
+00011000101000100000010000000000
+01110000000001101100001010000000
+00011000010000100000101000000000
+11011000110000000000011011010010
+00100000010000000111101110010110
+00100000010000000111101001001100
+11011000101000000000010110000010
+00011000000000000111001000000111
+00100000010000000111111000111011
+11100000101000100000000000000000
+01011000000000000000001111111000
+11100000101000100000000000000000
+00100000010000000111101001001100
+00100000010000000111101010001001
+11011000110000000000100001011000
+11011000101000000000011010100010
+00100000010000000111111000110001
+01011000010111000101110001011100
+00011111111011010000010000000000
+00011000010000011000010001011100
+11011000110000000000100000111000
+00011000000000000111001000000110
+00100000010000000111101010010000
+00100000010000000111101001000101
+00100000010000000111101001001100
+11011000110000000000011011000010
+11011000101000000000010110000010
+00011000000000000111001000001000
+00100000010000000111101110010111
+01011000100000000000000000000000
+00011111111011010111111000000000
+11100000101000100000000000000000
+00100000010000000111111000111010
+01011000000000000000001100000000
+11100000101000100000000000000000
+00100000010000000111101001001100
+00100000001000000111101010001001
+01110000000001011000000111000000
+01101000000000001000010110000001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000010110000001
+11011000110000000000011001011010
+00100000010000000111100000100010
+00100000001000001111101110000000
+11011000110000000000010110000010
+11011000101000000000011000010010
+00100000001000000111100000101000
+00100000010000000111100100111010
+01101000000000001000010110000001
+00011111111000001111111111111111
+01100000000000001000010110000001
+11011000110000000000011001011010
+00100000010000000111100000100010
+00100000011000001000000000000000
+00100000001000000111100110001011
+01110000000001011000000000000000
+11011000110000000000010110000010
+11011000101000000000011000010010
+00100000001000000111100000101000
+00011000000000000111001000000100
+00011000110000001000110111111100
+11101000110000100000000000000000
+11100000101000100000000000000000
+00011000110000001000110111111000
+11000010000000000111101110011000
+00100000011000000000000000000000
+00100000011101011000000000000000
+00100000010000000111101110100101
+00100000010000000111110000010011
+00100000001000000111101111011001
+01101000000000001100000100110010
+11000001000000001000000000000000
+00100000010000000111101111110010
+00100000001000000111110000000100
+01101000000000001100011111111101
+11000001011111111000000000000000
+10011000000000000000010000000000
+00100000010000000110100111011010
+01101000000010001100011111111101
+00100000010000000110100111101101
+00100000000000000000000001100100
+01101000000010001100011111111101
+00100000010000000110100111010001
+00100000001000000111101110110001
+01110000010001111111110111111111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110000101100000000110000
+01101000000000001100011111111101
+11000001011111111000000000000000
+00011111111000100000010000000000
+00100000010000000110100111100101
+00100100001000001111101111000100
+00100000010000000111101111001110
+01101000000000010100011111110100
+01111001001000000111111000001100
+01100000000000010100011111110100
+01101000000000001100011111101011
+11000001000000000000000000000000
+01110000010001111110101100000000
+01101000000000001100011111111100
+01100000000000001100011111101010
+00100000010000000111101111010101
+01110000000010110111110100101100
+00100000001000000111110000100111
+01101000000000010100011111110100
+01111001001111111111111000001100
+01100000000000010100011111110100
+01101000000000001100011111101011
+11000001000000001000000000000000
+01110000010001111110101100000001
+01110000010001111110101000000000
+00100000010000000111101111010111
+01110000000010110111110100101101
+00100000001000000111110000100111
+01101000000000001100011111101010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011111101010
+00100100011110100000000000000000
+01110000000010110111110100010000
+00100000001000000111110000100111
+11011000111000000000000000000111
+00100000001000000011110111000010
+11011000111000000000000000000111
+00100000001000000011110111000110
+01101000000000001100011111110111
+11000001011111111000000000000000
+10011000000000000000010000000000
+00100000010000000110100111011010
+00100000001000000111101111100010
+01101000000000010100011111110100
+01111001001111111111111000001101
+01100000000000010100011111110100
+01110000010001111110100100000000
+01101000000000010100011111110100
+01111001001111111111111000001110
+01100000000000010100011111110100
+01101000000010001100011111110111
+00100000001000000110100111101101
+01101000000000010100011111110100
+01111001001000000111111000001110
+01100000000000010100011111110100
+01110000010001111110100100000000
+01101000000010001100011111110111
+00100000001000000110100111101111
+01101000000000010100011111110100
+01111001001000000111111000001101
+01100000000000010100011111110100
+01110000010001111110100100000001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110000110100000000110000
+01101000000000001100011111101001
+11000001000000000000000000000000
+11011000111000000000000000001001
+00100000010000000111111001010011
+00100100011110100000000000000000
+01101000000000001100011111101001
+11000000000000010111101111111111
+00100000010000000111101111100111
+01110000010001111110100100000010
+01101000000000010100011111111010
+00100000001000000111110000000010
+00100000010000000111101111100010
+01110000010001111110100100000011
+01101000000000010100011111111000
+11011000111000000000000000001001
+00100000001000000111111001001100
+01111001001000000000000000100101
+01000100110000111100000000110000
+11011010001000000000000000000000
+01101000000010100100011111101100
+00011100010000100010010000000000
+00011010010000100111111000000000
+00011000010000001000010010100000
+00011000010000001000010010100000
+10011000010001100111110000000000
+00100100001000010111110000010110
+00011010001000001010001000000001
+00011010001000010111111000001111
+00100100001110100111110000001001
+11011010001000000000000000000000
+00100000010000000111110000011101
+00011100010000100111111000000000
+01100000000000100100011111101100
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110001000100000000110001
+00011010001000100111111000000000
+00100000011110100000000000000000
+00011000010000001000010101100000
+00011000010000001000010101100000
+01100000000010100100011111101100
+00011111111000001111111001010000
+01100000000000001000101101111101
+00100000001000000111110000100111
+01110000010001111101110100000001
+01101000000000001100011111011110
+00100100001110100111110000100001
+00100000011000000000000000000000
+01110000010001111101110100000000
+00100000011000000000000000000000
+00100000001000000111111110011111
+01111001001000000000000000100101
+01000100110001001100000000110001
+01101000000000001100000100110010
+11000001000000001000000000000000
+00100000010000000111110000100000
+00011010001000100111111000000000
+01100000000000100000100010101011
+11011010001000000100011111011111
+00100000010000000111111110010010
+01101000000000100000100010101011
+00011111111000100010001000000000
+00100000001000000111110000100100
+01111001001000000000000000100101
+01000100110001010100000000110001
+01101000000000001100000100110010
+11000001000000001000000000000000
+00100000010000000111110000100000
+00011010001000100111111000000000
+01100000000000100000100010101011
+11011010001000000100011111100100
+00100000010000000111111110010010
+01101000000000100000100010101011
+00011111111000100010001000000000
+00100000001000000111110000100100
+01111001001000000000000000100101
+01000100110001011100000000110001
+01011000000000000000000000000000
+01100000000000101100011111100100
+01100000000000101100011111011111
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110001100100000000110001
+01101000000000001100001001110010
+00100100011110100000000000000000
+11011010001000000100011111100100
+00100000010000000111111110101100
+00100000011110100000000000000000
+01110000000010001010101000000000
+00100000010000000111110001010001
+01101000000000001000100010101010
+00100000001110100111110001000101
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110001101100000000110001
+00100000010000000111110000100000
+11011010001000000100011111100100
+00100000010000000111111110011111
+00011111111000100000010000000000
+00100000010000000111110000100100
+00011000010000100111111000000000
+00100000011110100000000000000000
+11000000000000001111110010010111
+11000000000000010111110010011100
+11000000000000011111110010100010
+11000000000000111111110010100111
+11000000000001000111110010101000
+11000000000001001111110010101001
+11000000000001011111110010101100
+11000000000001100111110010101101
+11000000000001101111110010101110
+11000000000001110111110010110001
+11000000000001111111110010110011
+11000000000010000111110010110110
+11000000000010010111110010111011
+11000000000010101111101111101101
+11000000000010100111101111100111
+11000000000010011111101111011110
+11000000000010110111110010111100
+11000000000010111111110011000001
+11000000000011000111110011000011
+11000000000011001111110011001000
+11000000000011011111110011000110
+11000000000011100111110011010011
+11000000000011110111110011010101
+01100000000000001000101101111101
+01111001001000000000000000100101
+01000100110001110100000000110001
+01101000000000001000000001111100
+00100000001110100111110001111001
+00100000010000000110000111011001
+01101000000000001000000001111100
+00100100001110100111110010001100
+01101000000000001000101101111101
+11000101100001001111110010000111
+11000000000000101100101000011001
+11000000000000110100101000101000
+11000000000001010111110010101010
+11000000000000100111110010100100
+11000000000010001111110010111000
+11000000000011101111110010001110
+11000000000011111110100100001100
+11000000000100000110100100010000
+11000000000010010111110010000101
+00100000011000000000000000000000
+01110000000010110111110100101111
+00100000001000000101011000100000
+01100000000000001000101101111101
+00100000010000000011001011101110
+00100000001000101111110010001100
+00100000010000000011001011111001
+00100100011000101000000000000000
+01110000000010001010101000000001
+00100000001000000111110000110011
+01110000000000000111110000110100
+01111001001000000000000000000011
+00100100011101001000000000000000
+01110000010001110100100000000000
+01110000000000000111110000010011
+01101000000000001000000101110111
+01111001001111111111111000000010
+01100000000000001000000101110111
+00100000011000000000000000000000
+01101000000000010100011111110100
+01111001001000000111111000000110
+01100000000000010100011111110100
+01110000010000010011001100000011
+00100000011000000000000000000000
+01110000010001111111001000000000
+01110000010000010011001100000000
+01101000000000010100011111110100
+01111001001111111111111000000110
+01100000000000010100011111110100
+00100000011000000000000000000000
+01110000010000100111001000000101
+00100000011000000000000000000000
+01110000000000000111110000000111
+01110000000001000100011000010011
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000001000101000000000010
+00100000001000000100100111011010
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000010000111101100000000001
+01110000010001001101101100000000
+00100000011000000000000000000000
+01110000010000111101100000000000
+00100000011000000000000000000000
+01110000010000111101100000000001
+01110000010001001101101100000001
+00100000011000000000000000000000
+01110000010000111101100000000000
+00100000011000000000000000000000
+01011000000000000000000000000001
+01100000000000010000001111101111
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000010000111101001000000001
+01110000010000100111001000011011
+01101000000000110000001001101000
+01100000000000110100010011100111
+00100000011000000000000000000000
+01110000010000111101001000000001
+00100000011000000000000000000000
+01110000010000111101001000000000
+01110000010000100111001000000000
+00100000011000000000000000000000
+01110000000010110111110101001011
+00100000001000000101011000100000
+01111001001000000000000000100101
+01000100110001111100000000110001
+01101000000000010100001010001000
+00100000010000000111111101100110
+01101000000000001100011111111101
+11000000011111111111110011010000
+00011111111000100000010000000000
+00100000010000000110100111010001
+00100000010000000111101111100010
+00100000010000000111110000111111
+00100000001000000011110011001101
+01110000010001101111100000000001
+00100000011000000000000000000000
+00011000000000000000111000000100
+00100000001000000111111001001011
+01101000000000001100011111110100
+11000100000001100000000000000000
+11000100000000111000000000000000
+00100000001000000111110011010101
+01111001001000000000000000100101
+01000100111010101100000000111010
+00100000010000000111110111110011
+01101000000100001000110000100110
+01100000000000001000100010101111
+01101000000100001000110000100111
+01100000000000001000100010110000
+01110000100011000010011011100000
+01101000000000001000100010110000
+00101111111000000000001000000001
+00100000010000001111110100111010
+01111001001000000000000000100101
+01000100111010110100000000111010
+01101000000000001000100010101111
+00101111111000000000001000000001
+00100000010000001111110011111000
+01101000000000001000100011111000
+11000000100000010111110111000010
+01101000000000010000100011111001
+00011111111000001111111000000001
+01100000000000010000100011111001
+01101000000010010000100011111011
+10011000010001100111110000000000
+00100000001000010111110110110010
+01101000000000001000100010101111
+11000011000000110111110111000010
+01011000000000000000000000000000
+01100000000000010000100011111001
+00100000001000000111110111000010
+01111001001000000000000000100101
+01000100111010111100000000111010
+01110000100011000010011000010001
+01101000000100001000110000100000
+01100000000000001000100010110001
+00011111111000100111001000000000
+00100000001110100111110100011000
+11011000101000000000100011111111
+00100000010000000111110100110110
+01101000000000001000100010110001
+00011111111001100111110000000111
+00100000011000010000000000000000
+01111001001000000000000000100101
+01000100111011000100000000111011
+01101000000000001000100011111111
+11000000000100000111110100010110
+11000000000100001111110100100010
+11000000000000000111110100010000
+01101000000000001000100100000000
+11000000000000101111110110011011
+11000000000000110111110100111101
+11000000000001001111110110011000
+11000000000001011111110110100010
+00100000001000000111110100110010
+01101000000000001000100100000000
+11000000000000001111110110101111
+11000000000000011111110110101011
+11000000000001001111110100110100
+11000000000000101111110110011011
+00100000001000000111110100110010
+00100000010000000111110100110100
+00100000011000000000000000000000
+01101000000000001000100010101111
+11000010100000100111110100000100
+00100000011000000000000000000000
+01101000000000001000100011110110
+00011111111000001111111000000001
+01100000000000001000100011110110
+00101111111000011111111000000010
+00100100001000001111110100110100
+01110000000010001111011100000001
+00100000001000000111110100110100
+01101000000000001000100100000000
+11000000000001010111110100100111
+11000000000001001111110100101110
+11000000000001011111110100011011
+00100000001000000111110100110010
+01101000000000001000100011111000
+11000000000000101111110100101100
+11000000100000100111110100110100
+01110000000010001111100000000101
+00100000001000000111110100110100
+01110000000010001111100000000010
+00100000001000000111110100110100
+01110000000010001111011100000001
+11011010001000000000100011110111
+11011010010000000000000000000001
+00100000001000000111110101100101
+01110000100011000001000100000001
+00100000011000000000000000000000
+01110000100011000001001001000000
+00100000011000000000000000000000
+01101000000100001000110000011000
+11100000101000001000000000000000
+11000010000000000111110100110110
+00100000011000000000000000000000
+01110000100011000010011100000001
+00100000010000000111110101111100
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111011001100000000111011
+01111001001111111000000000100011
+01101000000000001000100100000010
+11000000000000001111110101000111
+11000000000000010111110101001001
+11000000000000011111110101001011
+11000000000100001111110101010111
+11000000000100010111110101011011
+00100000011000000000000000000000
+11011010001000000000100100010010
+00100000001000000111110101100010
+11011010001000000000101010110110
+00100000001000000111110101100010
+01101000000000001000100100000001
+00011111111000010111111000000011
+11011010001000000000101100011010
+11000000000000000111110101100010
+01111001001000000000000000100011
+11011010001000000000101100011111
+11000000000000001111110101100010
+11011010001000000000101100111101
+11000000000000010111110101100010
+11011010001000000000101101011011
+11000000000000011111110101100010
+00100000001000000011101111110001
+11011010001000000000101011001000
+01101000000000001000101011001000
+00011111111000100010010000000000
+00100000001000000111110101100101
+01101000000000010000100100000011
+11000000000000001111110101011111
+11011010001000000000100100100110
+00100000001000000111110101100010
+01110000000010001111100000000001
+11011010001000000000100111101110
+00100000001000000111110101100010
+11101010001000001000000000000000
+10011000000000000010010000000000
+00011010001000001010001000000001
+01111001001000000000000000100101
+01000100111011010100000000111011
+11000101100100011111110101110001
+00011010010000001111111000000001
+00011111111000111111111000000000
+01100000000100001000110000011000
+01110000100011000001100000000011
+01101000000000001000100100000101
+00011111111000001111111111111110
+00011111111000110111111000000000
+01100000000000001000100100000101
+11000000000000000111110101111010
+01101000000000001000100100000101
+10011010010001100111110000000000
+00100000001000010111110101110101
+00011111111000100010010000000000
+00011010001000100111111000000000
+01100000000000010000100100001111
+00011010010000100111111000000000
+01100000000000001000100100010001
+00100000001000000111110101111100
+11011000111000000000000000000000
+00100000001000000111110111010101
+01111001001000000000000000100101
+01000100111011011100000000111011
+01101000000000001000100100010001
+00100000011110100000000000000000
+00011111111000100111001000000000
+00011111111001100111110001000000
+00100000001000010111110110000100
+11011111001000000000000001000000
+01101000000000001000100100010001
+10011111001001100111111000000000
+01100000000000001000100100010001
+01101000000000010000100100001111
+00011111111000100000110000000000
+11101000110000001000000000000000
+01100000000100001000110000011000
+11000101100100011111110110001101
+01110000100011000001100000000000
+11000010000000000111110110001001
+00011000110000100111111000000000
+01100000000000010000100100001111
+11011000111000000000000000000000
+00100000010000000111110111010101
+01101000000000001000100100010001
+00100100011110100000000000000000
+01101000000000001000100011111000
+11000001100000001000000000000000
+01110000000010001111100000000010
+00100000011000000000000000000000
+01101000000000001000100100000001
+00011111111001100111110000000001
+00100100001000010111110100110010
+01101000000000001000100011111111
+11000000100000000111110100110010
+01101000000000010000100100000011
+11000000100000000111110100110010
+01101000000000001000100100000101
+11000000100000000111110100110010
+00100000001000000111110100110100
+01101000000000001000100011111111
+11000000100000001111110100110010
+01101000000000001000100100000001
+11000000100000000111110100110010
+01101000000000001000100100000010
+11000000100000000111110100110010
+01101000000000001000100100000101
+11000000100000000111110100110010
+00100000001000000111110100110100
+01101000000000001000100100000001
+11000000100000001111110100110010
+01110000000010001111100000000011
+00100000001000000111110100110100
+01101000000000001000100100000001
+11000000100000001111110100110010
+00100000001000000111110100110100
+01111001001000000000000000100101
+01000100111011100100000000111011
+01110000100011000000000000000000
+00100000000000000010011100010000
+01110000100011000001000011000000
+01101000000100010000000001010000
+01111001001111111111111000001010
+01100000000100010000000001010000
+01110000100011000000000000111100
+01110000100011000010011011111111
+01110000100011000010011111111111
+01110000000011111111000000000000
+01110000000010001111100000000000
+01011000000000000000000000000000
+01100000000000010000100011111001
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100111011101100000000111011
+01101000000000001000111111110000
+00100000011110100000000000000000
+01101000000000001000100011111000
+11000000000000011111110111101100
+11000001100000010000000000000000
+01101000000000001000111111110000
+01110000000011111111000000000000
+11011111001000000000000000000110
+11011000110000000000111111110001
+11000000000000010111110111010000
+11000000000000001111110111101001
+00100000001000000011101111110001
+11011010001000001000110000011001
+11011000111000000000000000000001
+11101000110000001000000000000000
+11100010001000001000000000000000
+11000010000000000111110111010010
+01111001001000000000000000100101
+01000100111011110100000000111011
+01111000010010000111110000000000
+01101000000000010000100011111101
+10011000000000000011011000000000
+01110000100011000010011001000000
+01101000000100001000110000100110
+00100000001000011111110110110010
+11000011000000110111110111011011
+01101000000000010000100011111101
+10011000000000000011011000000000
+11011000010000000000000000000000
+11111001001000000000010000000000
+01100000000110001000110000100111
+00100000001000011111110110110010
+01100000000110001000110000010000
+01101000000100001000110000100111
+10101111111011000000000000000000
+00100000001000001111110111100011
+00100000011000000000000000000000
+11011000111000000000000000000010
+11011010001000001000110000011010
+00100000001000000111110111010010
+01111001001000000000000000100101
+01000100111011111100000000111011
+01110000100011000000000011111100
+00100000000000000010011100010000
+01110000100011000000000000111100
+01110000000010001111100000000100
+00100000011000000000000000000000
+01101000000000001000111111110000
+00100100011110100000000000000000
+01101000000000010000100011110010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000010000100011110010
+01110000000011111111000000000001
+00100000011000000000000000000000
+00011111001001100111110000000000
+00100000011000101000000000000000
+00011111111000110111111000000000
+11000010000000000111110111111101
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100000000000010000001010111001
+01100000000011000000001010100000
+00011001011000100111111000000000
+01100000000000100000001010101000
+00011010001000100111111000000000
+01100000000000100000001010101100
+00011010010000100111111000000000
+01100000000000100000001010110000
+00011010011000100111111000000000
+01100000000000011000001010110100
+00011000110000100111111000000000
+01100000000000010000001010110111
+00100000011000000000000000000000
+01101000000011000000001010100000
+01101000000000100000001010101000
+10011000000000000001011000000000
+01101000000000100000001010101100
+10011000000000000010001000000000
+01101000000000100000001010110000
+10011000000000000010010000000000
+01101000000000011000001010110100
+10011000000000000010011000000000
+01101000000000010000001010111001
+10011000000000000000101000000000
+01101000000000010000001010110111
+10011000000000000000110000000000
+00100000011000000000000000000000
+00011000101000100111111000000000
+01100000000000010000101101111011
+00011000110000100111111000000000
+01100000000000010000101101111001
+00100000011000000000000000000000
+01101000000000010000101101111011
+00011111111000100000101000000000
+01101000000000010000101101111001
+00011111111000100000110000000000
+00100000011000000000000000000000
+00011100010000100111111000000000
+00011111111000001111111000010000
+00011111111000001111111000010000
+00011100010000100000010000000000
+10011000010001100111110000000000
+00100000001000010111111000101001
+00100000011000000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+11101000110001000000000000000000
+11100000101001000000000000000000
+00100000011000000000000000000000
+00011000000000000111001000000011
+00011000000000000111111000000000
+11100000101001000000000000000000
+11000010000000000111111000111100
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+01011000000000000000000000000000
+11100000101000001000000000000000
+11000010000000000111111001000010
+00100000011000000000000000000000
+00011111001000100111111000000000
+00100000011110100000000000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+11000010000000000111111001000111
+00100000011000000000000000000000
+01011000000000000000000000000000
+11011000101000000100001000111110
+10011000000000000000010000000000
+00011000111000111111111000000000
+10011000101000001000101000000000
+11100000101010010000000000000000
+00100000011000000000000000000000
+11011000111000000000000000000000
+01111001001000000000000000100101
+01000100110111100100000000110111
+01101000000010100100000100110100
+00011100010000110111111000000000
+01100000000000100100000100110100
+10011000010001100001011000000000
+00011001011000100000010000000000
+11011000110000000100001000111110
+00011000110000100000101000000000
+11011111001000000000000000010000
+11101000110000010000000000000000
+10011000010001100111111000000000
+00100000001000010111111001100001
+00011000000000000111111000000000
+11100000101000010000000000000000
+11000010000000000111111001011101
+11011000110000000100001000111110
+00011000111000111111111000000000
+10011000110000001000110000000000
+11101000110000010000000000000000
+00100000011000000000000000000000
+00011000111000001000111000000001
+00011000111000001000111111111111
+00100000011000101000000000000000
+00011111111011010111111000000000
+00100000001000000111111001101001
+10011000010000001000010000000000
+00011000010000100111001000000000
+01011000000000000000111010100110
+10011111001001100111111000000000
+00100000011000010000000000000000
+00011111111001100111111000000000
+00011000010100010000010000000000
+00011000010000001000010000000001
+00011000010100000000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+00100000010000000111111001111010
+00100000001000000111111010000100
+01111000010101000111110000000000
+10011000010001100111111000000000
+00100000001000010111111001111111
+01111000001101000111110000000000
+00011111111001100111111000000000
+11000100000001111000000000000000
+11011000010111110000111010100110
+10011000010000001111111000000000
+01111001001111111111111001000000
+00100000011000000000000000000000
+10011000000000000000110000000000
+00011111111100010111111000000000
+11011000010000000000111010100110
+10011000010011111111111000000000
+10011000110000001111111000000000
+00100000011000000000000000000000
+00011111111011010111111000000000
+00011111111100100111111000000000
+01101000000010011100001000010000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111000010000000000
+00100000011000000000000000000000
+11011000010000000000111010100110
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+00011111111100000111111000000000
+00011000000001110000010000000000
+10011000010000011000010000000000
+00100000011000000000000000000000
+11011111001000000000000000000011
+00100000001000000111111010011110
+11011111001000000000000000000010
+00100000001000000111111010011110
+11011111001000000000000000000110
+11101010001000001000000000000000
+00011111111000100000010000000000
+00011111111100011111111000000000
+00100000010000000111111010101010
+11100001010000001000000000000000
+00011000010000100111111000000000
+00011111111000010111111000001111
+00100000010000000111111010101010
+11100001010000001000000000000000
+00011010001000001010001000000001
+11000010000000000111111010011110
+00100000011000000000000000000000
+00011111111001100111110000001001
+00100000001000010111111010101110
+00011111111000001111111001010111
+00100000011000000000000000000000
+00011111111000001111111000110000
+00100000011000000000000000000000
+11011000010000000000000000000000
+00011000010000100010011000000000
+11101000011000001000000000000000
+00011111111001100111110000101100
+00100000011000101000000000000000
+00100000010000000111111011001001
+00011010011000100000010000000000
+00100000010000000111111100110010
+11011010010000000000000000001010
+10011010010011111111111000000000
+10011000010000001111111000000000
+00011111111000100000010000000000
+00100000001000000111111010110001
+11011111001000000000000000000010
+00100000001000000111111011000000
+11011111001000000000000000000110
+11101000011000001000000000000000
+00100000010000000111111011001001
+00011111111100100010011000000000
+11101000011000001000000000000000
+00100000010000000111111011001001
+10011010011000001111111000000000
+11100000101000001000000000000000
+11000010000000000111111011000000
+00100000011000000000000000000000
+11011000010000000000000000111010
+10011000010001100111110000000000
+00100100001000010111111011010010
+11011000010000000000000001100001
+10011000010001100111110000000000
+00100000001000010111111011010101
+11011000010000000000000000110111
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011000010000000000000000110000
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011000010000000000000001010111
+10011000010001100111111000000000
+00100000011000000000000000000000
+00011000010000100110000000000000
+01011000000000000000000111111111
+00011000000000000010010000000000
+00011111111010010010001000000000
+00011010001000110010001000000000
+10011010001000101010001000000000
+00101010001011111111111000000000
+01111001001000001111111000001001
+00011000010000110000010000000000
+00101111111011111111111000000000
+01111001001000001000010000000111
+00011111111000110111111000000000
+00011010010000001010010000000001
+00101010010000000000111000000000
+00100100001000001111111011011011
+11100000101010001000000000000000
+11000010000000000111111011011011
+00011110000000100000010000000000
+00100000011000000000000000000000
+00011111111001101111110000001010
+00100000010000000111111011111101
+00011000000001111111111000000000
+00011111111010111010001000000000
+00011010001010111010001000000000
+00011000000001110111111000000000
+10011010001000011111111000000000
+00100000011000000000000000000000
+00101010001011111111111000000000
+00100000001000001111111011110111
+10011000000000000010010000000000
+00100000011000000000000000000000
+00011111111010111111111000000000
+00011111111010111111111000000000
+10011010010000011111111000000000
+11100000101000001000000000000000
+00011000101000001000101111111110
+00100000011000000000000000000000
+00100000011110101000000000000000
+00100000001000000111111011111101
+01100000000001000000000101100001
+00011000000000000111111000100000
+00011000000000000111001000001000
+11011000101000000000000000101000
+11100000101000001000000000000000
+11000010000000000111111100000011
+11011000101000000000000000101000
+00011000101000001000101000000111
+01101000000001000000000101100001
+00011111111001101111110000001010
+00100000010000000111111011111101
+00011000000001110111111000000000
+00011111111000011111111000110000
+11100000101000001000000000000000
+00011000101000001000101111111110
+00011000000001111111111000000000
+00100000011110100000000000000000
+00100000001000000111111100001000
+01100000000001000000000101100001
+00011000000000000111111000000000
+01100000000001000000000000101000
+11011000101000000000000000101000
+00011000101000001000101000000111
+01101000000001000000000101100001
+00011000000000000010001000000000
+00011111111001101111110000001010
+00100000010000000111111011111101
+00011000000001110111111000000000
+00100000010000000111111011110011
+00011010001000001010001000000001
+00011000000001111111111000000000
+00011111111001100111110000001001
+00100100001000010111111100011000
+00100000010000000111111011110011
+00101010001011111111111000000000
+00100000011000001000000000000000
+11100000101000001000000000000000
+00100000011000000000000000000000
+11101010001000001000000000000000
+11101010010010001000000000000000
+10011000010001100111110000000000
+00100100011000101000000000000000
+00011010001000001010001000000001
+00011010010000001010010000000001
+11000010000000000111111100100101
+00011000000000000111110000000000
+00100000011000000000000000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
+10011000010000001111111000000000
+10011000010001100000010000000000
+10011000010001100111111000000000
+00100000011000000000000000000000
+11011111001000000000001000000000
+11011000101000000100000000000000
+00100000001000000111111000111011
+01101000000000101000000010011100
+01100000000000101000000101100001
+01101000000000010100001000010000
+11100000101000010000000000000000
+01011000000000000000000000000000
+01111001001101101111111000000111
+01111001001101011111111000000110
+01111001001011000111111000000101
+01111001001101110111111000000100
+11100000101000001000000000000000
+00100000001000000111111101010010
+01101000000000101000000010011100
+01100000000000101000000101100001
+01101000000000001000000000010110
+11100000101000001000000000000000
+01101000000000010000001111011010
+11011000110000000000111111111111
+10011000110000010111111000000000
+01111001001101101111111000001111
+01111001001101011111111000001110
+01111001001011000111111000001101
+01111001001101110111111000001100
+11100000101000010000000000000000
+00100000001000000111111101010010
+01100000000001000000000101100001
+01101000000000001100000101101110
+11000001001111111000000000000000
+00011111111000010111111001111111
+00011111111010011111111000000000
+11011000101000000100110000000000
+10011000101000001000101000000000
+01101000000001000000000101100001
+11100000101001000000000000000000
+01101000000000001100000101101110
+00101111111011111111111000000111
+00011111111000001111111000000001
+00011111111000010111111001111111
+01111001001000001111111000000111
+01100000000000001100000101101110
+01101000000001000000000101100001
+00100000011000000000000000000000
+11011111001000000000100000000000
+11011000101000000000000000000000
+01011001000000010000000100000001
+00100000001000000111111000111100
+00100000011110100000000000000000
+00011111111000100111101000000000
+01101000000100010000000100001110
+00100100001110100111111101101000
+00100000011000000000000000000000
+01101000000100010000000001011000
+00011111111000100000011000000000
+00100000011000000000000000000000
+01101000000100010000000001011110
+00011111111000100001010000000000
+00100000011000000000000000000000
+00011000110000100010001000000000
+00100000010000000111111101101110
+00011010001000100000110000000000
+00100000010000000100100101110110
+00100000010000000110100011111010
+00100000001000000111111101101000
+01110000100000100000001100000001
+00100000011000000000000000000000
+01100000000100010000001000000101
+01101000000100001000001000000011
+01111001001000000111111000000100
+01100000000100001000001000000011
+00100000011000000000000000000000
+01100000000100010000001000000111
+01101000000100001000001000000011
+01111001001000000111111000000110
+01100000000100001000001000000011
+00100000011000000000000000000000
+01100000000100010000001000000101
+01110000100000100000001100110000
+00100000011000000000000000000000
+01101000000100001000000001000011
+01111001001000000111111000000100
+01100000000100001000000001000011
+00100000011000000000000000000000
+01101000000100001000000001000011
+01111001001111111111111000000100
+01100000000100001000000001000011
+00100000011000000000000000000000
+01101000000100010000000100001110
+11011000010000000000001000000000
+10011000010001100111110000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110111101100000000110111
+11101010001010101000000000000000
+00011000010000010111111011111111
+00100100001110100111111110011001
+00011000010011001111111000000000
+11100010001000101000000000000000
+00011010001000001010001000000100
+11101010001000001000000000000000
+00100100001110100011101111110001
+01101000000000001000101101111101
+11100010001000001000000000000000
+00100000011000000000000000000000
+01111001001000000000000000100101
+01000100110111110100000000110111
+11011111001000000000000000000101
+11101010001000101000000000000000
+00100000011110100000000000000000
+11101010001000001000000000000000
+00100100001110100111111110101001
+00011010001000001010001000000001
+11000010000000000111111110100100
+00100000001000000011101111110001
+11011000010000000000000000000000
+11100010001010001000000000000000
+00100000011000000000000000000000
+11101010001000101000000000000000
+00100000011000000000000000000000
+11101010001000001000000000000000
+00100000011000000000000000000000
+11101010001000010000000000000000
+00100000011000000000000000000000
+11011000010000000000000000000000
+01101000000000001000000000000110
+11000010000000000111111110110011
+00011000010000001000010000000001
+11000010000000000111111110110011
+00011000010000100111111000000000
+00100000011000000000000000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00011000010000100111111000000000
+00100000011000000000000000000000
Index: KG9013/btkb/output/eeprom.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/eeprom.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/eeprom.dat	(working copy)
@@ -0,0 +1,5683 @@
+00
+02
+aa
+55
+36
+0e
+c5
+12
+80
+0f
+c0
+00
+00
+17
+c0
+01
+80
+1b
+c0
+02
+80
+1f
+c0
+48
+01
+5c
+c0
+49
+01
+26
+c0
+4a
+01
+2c
+c0
+4a
+81
+16
+c0
+58
+00
+d8
+c0
+58
+80
+da
+c0
+59
+00
+ee
+c0
+59
+81
+08
+c0
+5b
+01
+11
+c0
+5c
+80
+e2
+20
+20
+3b
+f1
+c0
+1f
+01
+cf
+c0
+1f
+81
+d3
+c0
+43
+80
+b6
+c0
+46
+81
+e1
+c0
+47
+81
+d7
+c0
+66
+81
+66
+c0
+68
+00
+c2
+20
+20
+3b
+f1
+68
+10
+81
+3b
+60
+00
+8b
+81
+70
+80
+06
+08
+20
+20
+30
+03
+20
+40
+00
+51
+20
+40
+00
+43
+20
+40
+00
+24
+20
+20
+30
+15
+20
+40
+33
+92
+20
+40
+34
+07
+20
+40
+30
+24
+20
+40
+01
+f4
+20
+20
+30
+22
+20
+40
+00
+b1
+20
+74
+00
+00
+1f
+f0
+fe
+00
+1f
+e2
+0c
+00
+20
+40
+00
+92
+60
+00
+cb
+a7
+c0
+00
+80
+37
+c0
+03
+00
+41
+1f
+e2
+04
+00
+18
+c2
+22
+00
+68
+00
+c0
+40
+c3
+00
+00
+34
+1a
+22
+0c
+00
+c6
+84
+80
+00
+18
+42
+7e
+00
+20
+60
+00
+00
+1a
+22
+0c
+00
+d8
+a0
+00
+f8
+20
+20
+00
+8a
+20
+40
+00
+92
+20
+40
+00
+92
+60
+00
+8b
+7d
+20
+40
+00
+3c
+20
+20
+7c
+33
+20
+40
+00
+95
+18
+c2
+04
+00
+18
+50
+84
+00
+60
+09
+4b
+9a
+20
+60
+00
+00
+d8
+a0
+0c
+d5
+20
+20
+00
+8a
+68
+0a
+4d
+4c
+1c
+42
+7e
+00
+98
+46
+7e
+00
+68
+09
+4d
+50
+98
+46
+fc
+00
+20
+40
+7e
+fd
+18
+07
+fe
+00
+20
+7a
+00
+00
+1c
+42
+04
+00
+60
+0a
+4d
+4c
+68
+00
+cd
+52
+1f
+e0
+fe
+01
+60
+00
+cd
+52
+20
+60
+00
+00
+68
+0a
+4c
+59
+1c
+42
+7e
+00
+98
+46
+7e
+00
+d8
+40
+06
+40
+98
+46
+fc
+00
+20
+40
+7e
+fd
+18
+07
+fe
+00
+20
+7a
+00
+00
+1c
+42
+04
+00
+60
+0a
+4c
+59
+68
+09
+4b
+a5
+18
+50
+84
+00
+98
+40
+fe
+00
+1f
+f0
+fe
+00
+60
+01
+4b
+a5
+1f
+f0
+fe
+00
+1f
+e1
+7e
+03
+c1
+80
+00
+00
+68
+00
+cc
+8f
+c2
+80
+00
+6e
+c2
+80
+80
+70
+da
+20
+00
+00
+20
+40
+00
+81
+70
+89
+71
+8f
+68
+00
+cc
+90
+60
+10
+89
+73
+20
+40
+00
+71
+da
+20
+00
+01
+20
+20
+00
+81
+70
+89
+71
+bf
+20
+20
+00
+71
+70
+89
+71
+af
+68
+10
+80
+53
+79
+20
+7e
+07
+60
+10
+80
+53
+68
+10
+89
+73
+1f
+e1
+fe
+30
+60
+10
+89
+73
+70
+89
+06
+7c
+70
+89
+72
+aa
+20
+00
+13
+88
+68
+19
+01
+50
+68
+10
+80
+53
+79
+3f
+fe
+07
+60
+10
+80
+53
+18
+50
+84
+00
+60
+09
+4c
+95
+20
+60
+00
+00
+d8
+40
+00
+21
+68
+00
+cc
+90
+98
+46
+04
+00
+1a
+22
+7e
+00
+79
+20
+04
+07
+24
+3a
+00
+88
+79
+3f
+84
+07
+d8
+a0
+80
+78
+20
+20
+69
+f4
+20
+40
+00
+92
+1f
+e2
+72
+00
+20
+40
+00
+8e
+20
+20
+00
+3c
+20
+40
+00
+92
+e0
+a0
+80
+00
+c2
+00
+00
+8e
+20
+60
+00
+00
+20
+40
+00
+95
+e8
+c0
+80
+00
+20
+60
+00
+00
+58
+00
+4b
+36
+98
+c6
+7c
+00
+24
+62
+80
+00
+d8
+c0
+4a
+a0
+20
+60
+00
+00
+df
+20
+00
+03
+d8
+c0
+4b
+a2
+18
+c2
+22
+00
+68
+01
+4b
+a0
+1f
+f0
+fe
+00
+1f
+e2
+0a
+00
+1a
+22
+0c
+00
+e8
+c0
+80
+00
+e0
+a0
+80
+00
+20
+40
+00
+a9
+c2
+00
+00
+a1
+18
+a2
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4b
+a0
+20
+60
+00
+00
+58
+00
+4b
+9a
+98
+a6
+7c
+00
+24
+62
+80
+00
+d8
+a0
+4b
+36
+20
+60
+00
+00
+68
+01
+4b
+9e
+68
+09
+4b
+a0
+20
+20
+00
+b3
+68
+01
+4b
+9a
+68
+09
+4b
+9c
+98
+46
+7c
+00
+20
+22
+e9
+b1
+20
+20
+32
+0b
+1c
+42
+7e
+00
+60
+02
+4d
+48
+68
+08
+c7
+ef
+68
+00
+cd
+4b
+98
+46
+7c
+00
+24
+41
+00
+bd
+20
+20
+7c
+06
+68
+0a
+4d
+48
+60
+0a
+47
+ec
+60
+0a
+4c
+59
+60
+0a
+4d
+4c
+20
+60
+00
+00
+60
+08
+82
+59
+68
+00
+cc
+8d
+1f
+e0
+fe
+01
+60
+00
+cc
+8d
+68
+00
+82
+59
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+82
+59
+20
+40
+00
+cc
+20
+20
+00
+c6
+68
+00
+cc
+15
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cc
+15
+20
+60
+00
+00
+1a
+62
+7e
+00
+1f
+e1
+7e
+f0
+c1
+28
+00
+00
+1a
+62
+7e
+00
+20
+7a
+00
+00
+60
+00
+cb
+a4
+20
+20
+00
+9a
+20
+40
+3b
+36
+20
+20
+3c
+dc
+70
+41
+6e
+7f
+20
+40
+3c
+f3
+68
+00
+cc
+97
+20
+7a
+00
+00
+70
+4c
+97
+00
+1c
+42
+7e
+00
+60
+02
+4c
+59
+20
+60
+00
+00
+68
+00
+c2
+19
+24
+7a
+00
+00
+70
+80
+42
+06
+58
+00
+0f
+0c
+20
+40
+3d
+a7
+58
+03
+0d
+40
+20
+40
+3b
+f3
+37
+d9
+82
+00
+1e
+22
+60
+00
+20
+40
+3b
+36
+20
+00
+13
+88
+20
+20
+3d
+9d
+c6
+11
+80
+00
+68
+01
+47
+f4
+c2
+84
+bd
+1e
+20
+40
+3c
+ab
+68
+01
+c2
+10
+20
+7a
+00
+00
+68
+00
+c1
+31
+20
+7a
+00
+00
+20
+40
+52
+7e
+24
+7a
+00
+00
+20
+40
+3d
+ca
+24
+7a
+00
+00
+20
+40
+3b
+36
+68
+00
+c7
+dc
+20
+3a
+3d
+25
+68
+00
+c7
+93
+20
+7a
+00
+00
+20
+20
+3d
+25
+20
+40
+00
+b1
+24
+74
+00
+00
+20
+40
+00
+ae
+24
+74
+00
+00
+70
+0b
+7f
+01
+70
+0b
+7e
+01
+20
+40
+01
+0d
+20
+20
+00
+b1
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+20
+3d
+2d
+68
+00
+8b
+7e
+20
+00
+00
+0a
+c0
+80
+01
+0d
+20
+60
+00
+00
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+20
+3d
+4f
+20
+40
+01
+18
+20
+20
+3a
+af
+68
+00
+c2
+19
+24
+3a
+01
+1e
+20
+40
+3d
+91
+20
+00
+75
+30
+20
+00
+75
+30
+20
+00
+75
+30
+20
+40
+3b
+0a
+70
+80
+42
+04
+68
+10
+89
+6b
+1f
+e1
+7e
+cf
+60
+10
+89
+6b
+1f
+e1
+fe
+30
+60
+10
+89
+6b
+20
+60
+00
+00
+60
+08
+80
+17
+18
+40
+a2
+04
+20
+20
+3a
+86
+60
+08
+80
+17
+18
+40
+a2
+00
+20
+20
+3a
+b6
+20
+40
+01
+29
+58
+00
+05
+00
+20
+40
+3b
+f3
+70
+89
+06
+01
+70
+89
+00
+3c
+70
+89
+01
+e0
+70
+89
+6d
+12
+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
+cb
+ef
+c0
+ff
+81
+44
+68
+02
+ca
+91
+e0
+a2
+80
+00
+e8
+c2
+80
+00
+e0
+a2
+80
+00
+70
+89
+56
+df
+20
+40
+01
+4b
+70
+89
+55
+df
+20
+60
+00
+00
+68
+02
+ca
+87
+e0
+a2
+80
+00
+e8
+c2
+80
+00
+e0
+a2
+80
+00
+70
+89
+56
+c2
+70
+89
+55
+d0
+20
+60
+00
+00
+20
+00
+00
+04
+70
+89
+55
+d1
+20
+00
+00
+04
+70
+89
+55
+d2
+20
+00
+00
+04
+70
+89
+55
+d4
+20
+00
+00
+04
+20
+60
+00
+00
+70
+89
+55
+d4
+20
+00
+00
+04
+70
+89
+55
+d2
+20
+00
+00
+04
+70
+89
+55
+d1
+20
+00
+00
+04
+70
+89
+55
+d0
+70
+89
+56
+c0
+20
+60
+00
+00
+20
+30
+ba
+6f
+20
+40
+01
+53
+20
+20
+3a
+6f
+78
+34
+7c
+00
+68
+12
+01
+38
+79
+34
+7e
+1a
+60
+12
+00
+4c
+20
+40
+3d
+b0
+70
+00
+a2
+01
+20
+60
+00
+00
+70
+0b
+7e
+00
+70
+01
+77
+06
+20
+40
+3f
+a4
+58
+00
+01
+65
+60
+01
+42
+8a
+58
+00
+00
+d1
+60
+01
+42
+92
+58
+00
+01
+d6
+60
+01
+42
+90
+58
+00
+00
+24
+60
+01
+42
+8c
+58
+00
+01
+5f
+60
+01
+42
+88
+58
+00
+4a
+a0
+1f
+f0
+fe
+00
+60
+01
+4b
+9a
+60
+01
+4b
+9c
+20
+40
+3e
+0b
+58
+00
+4b
+36
+1f
+f0
+fe
+00
+60
+01
+4b
+9e
+60
+01
+4b
+a0
+68
+00
+cc
+97
+c0
+2d
+01
+94
+20
+35
+81
+92
+68
+01
+4c
+91
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+68
+01
+4c
+93
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+20
+40
+01
+9f
+68
+04
+02
+a0
+24
+3a
+01
+8c
+68
+01
+4a
+d4
+1f
+f0
+fe
+00
+20
+3a
+01
+8c
+60
+01
+4c
+93
+20
+40
+01
+f1
+70
+4b
+a4
+2f
+20
+40
+00
+9a
+70
+4c
+97
+00
+70
+82
+80
+03
+20
+60
+00
+00
+70
+4b
+a4
+30
+20
+20
+01
+8e
+1c
+e2
+7e
+00
+20
+3a
+01
+d9
+20
+40
+5b
+63
+20
+40
+4d
+99
+58
+00
+00
+00
+60
+04
+40
+40
+60
+01
+47
+f4
+1c
+42
+7e
+00
+60
+02
+4c
+59
+70
+4b
+a4
+33
+20
+20
+01
+8e
+20
+40
+68
+8a
+58
+00
+07
+e2
+da
+20
+02
+a0
+d8
+40
+00
+0c
+20
+40
+68
+d3
+20
+40
+68
+8d
+68
+04
+02
+a0
+20
+7a
+00
+00
+68
+00
+cc
+8f
+c2
+80
+01
+b1
+c2
+80
+81
+bf
+68
+01
+02
+a0
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+68
+01
+02
+a6
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+20
+60
+00
+00
+68
+09
+02
+a4
+68
+01
+02
+aa
+18
+42
+24
+00
+1f
+e2
+22
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+1a
+22
+7e
+00
+98
+46
+26
+00
+1a
+63
+a6
+00
+1a
+42
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+20
+60
+00
+00
+68
+09
+02
+a2
+68
+01
+02
+a8
+18
+42
+24
+00
+1f
+e2
+22
+00
+98
+46
+26
+00
+1a
+6b
+26
+00
+1a
+42
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+1a
+63
+a6
+00
+1a
+22
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+20
+60
+00
+00
+70
+00
+16
+27
+70
+89
+0f
+36
+70
+89
+0b
+5f
+20
+20
+53
+d4
+70
+89
+0f
+2e
+70
+89
+0b
+ff
+20
+20
+53
+d9
+20
+60
+00
+00
+70
+0b
+7e
+03
+20
+40
+01
+0d
+70
+4c
+97
+5a
+20
+40
+3d
+b8
+68
+12
+01
+38
+79
+3f
+fe
+0f
+60
+12
+00
+4c
+20
+40
+3d
+b0
+d8
+5f
+ff
+ff
+20
+20
+3c
+da
+20
+40
+7c
+20
+da
+20
+47
+e4
+20
+40
+7f
+9f
+1f
+e2
+04
+00
+20
+40
+7c
+24
+18
+42
+7e
+00
+20
+7a
+00
+00
+c0
+10
+81
+ec
+c0
+11
+01
+ee
+c0
+11
+82
+7c
+20
+20
+7c
+5a
+70
+4b
+ef
+ff
+20
+20
+02
+af
+79
+3f
+80
+23
+70
+4b
+ef
+ff
+20
+20
+02
+6a
+58
+00
+00
+00
+60
+02
+4b
+a9
+20
+60
+00
+00
+c6
+91
+80
+00
+20
+40
+02
+18
+24
+34
+02
+0b
+70
+4c
+15
+0a
+20
+40
+02
+35
+68
+00
+cb
+ef
+c1
+ff
+80
+00
+70
+4c
+3d
+02
+68
+00
+cd
+46
+24
+7a
+00
+00
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+40
+3c
+ab
+68
+01
+c2
+10
+20
+7a
+00
+00
+68
+00
+c1
+31
+20
+7a
+00
+00
+58
+00
+e2
+90
+20
+40
+7e
+8a
+60
+0a
+41
+fc
+20
+20
+3c
+da
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+40
+3c
+ab
+68
+01
+c2
+10
+20
+7a
+00
+00
+68
+00
+c1
+31
+20
+7a
+00
+00
+68
+00
+cc
+15
+24
+3a
+02
+07
+68
+04
+4d
+3d
+20
+20
+02
+08
+68
+00
+cb
+ef
+c0
+ff
+82
+85
+20
+40
+02
+1e
+20
+40
+02
+f4
+70
+4b
+e6
+01
+20
+60
+00
+00
+78
+54
+7c
+00
+70
+4b
+e2
+02
+68
+00
+8c
+d5
+c0
+00
+82
+28
+c0
+01
+02
+2b
+c0
+01
+82
+31
+c0
+03
+02
+2e
+68
+00
+cd
+46
+24
+5a
+34
+df
+20
+60
+00
+00
+70
+0c
+d5
+00
+70
+4b
+e1
+0a
+20
+20
+02
+33
+70
+0c
+d5
+03
+70
+4b
+e1
+04
+20
+20
+02
+33
+70
+0c
+d5
+02
+70
+4b
+e1
+03
+20
+20
+02
+33
+70
+4b
+e2
+01
+70
+4b
+e1
+08
+70
+4b
+e7
+00
+20
+20
+34
+df
+70
+4b
+e8
+00
+d9
+60
+0d
+00
+34
+73
+02
+00
+20
+40
+02
+5e
+24
+37
+82
+45
+20
+40
+02
+6d
+68
+00
+cb
+e0
+1f
+e0
+fe
+01
+60
+00
+cb
+e0
+70
+4d
+46
+00
+68
+00
+cb
+ef
+c0
+ff
+82
+5d
+20
+40
+02
+57
+70
+4b
+e7
+00
+70
+4b
+e6
+00
+20
+60
+00
+00
+70
+4d
+46
+01
+68
+00
+cb
+e7
+1f
+e0
+fe
+01
+60
+00
+cb
+e7
+68
+00
+cb
+ef
+c0
+ff
+82
+69
+68
+00
+cb
+e7
+c0
+7f
+82
+6a
+68
+00
+cb
+e7
+d8
+40
+00
+10
+98
+46
+7c
+00
+20
+21
+03
+13
+68
+00
+cb
+e8
+1f
+e0
+fe
+01
+60
+00
+cb
+e8
+20
+00
+00
+0a
+c0
+83
+82
+36
+20
+20
+03
+13
+58
+00
+00
+00
+60
+04
+8c
+d5
+20
+60
+00
+00
+c5
+91
+f2
+b9
+68
+04
+0c
+d5
+20
+60
+00
+00
+20
+20
+02
+9f
+78
+57
+fc
+00
+20
+40
+03
+6c
+18
+00
+2a
+00
+68
+02
+4c
+00
+98
+00
+12
+00
+68
+08
+80
+17
+20
+40
+3a
+82
+20
+40
+3a
+87
+20
+40
+03
+2b
+20
+57
+83
+66
+20
+60
+00
+00
+20
+60
+00
+00
+70
+4d
+46
+00
+70
+0b
+7d
+32
+20
+20
+7c
+27
+20
+40
+02
+d4
+68
+00
+cb
+df
+20
+7a
+00
+00
+98
+00
+72
+00
+20
+40
+02
+75
+d8
+c0
+0c
+b5
+d8
+a0
+0d
+17
+20
+20
+7e
+45
+68
+00
+8c
+b4
+2f
+e1
+f0
+08
+24
+60
+80
+00
+68
+08
+8c
+b5
+60
+08
+cc
+b7
+70
+4d
+47
+00
+20
+60
+00
+00
+79
+20
+00
+23
+20
+40
+02
+81
+20
+40
+02
+41
+70
+4b
+ef
+01
+20
+60
+00
+00
+70
+4b
+e0
+00
+70
+4b
+e9
+4e
+68
+02
+4b
+eb
+20
+20
+02
+e6
+20
+40
+02
+81
+68
+00
+cb
+e6
+c0
+00
+b4
+df
+68
+00
+cb
+ef
+c0
+00
+82
+8d
+c0
+01
+02
+90
+c0
+01
+82
+93
+20
+20
+3b
+f1
+70
+4b
+ef
+11
+70
+0d
+37
+aa
+20
+20
+02
+95
+70
+4b
+ef
+12
+70
+0d
+37
+55
+20
+20
+02
+95
+70
+4b
+ef
+13
+70
+0d
+37
+22
+70
+0d
+38
+02
+68
+02
+4c
+06
+60
+02
+0d
+39
+70
+0d
+3d
+00
+da
+20
+0d
+37
+d8
+40
+00
+07
+20
+40
+02
+cf
+20
+40
+02
+f4
+20
+40
+02
+1c
+20
+20
+34
+df
+68
+00
+cb
+ef
+c1
+7f
+80
+00
+c0
+08
+82
+a5
+c0
+09
+02
+a7
+c0
+09
+82
+a9
+20
+60
+00
+00
+70
+4b
+ef
+02
+20
+20
+02
+41
+70
+4b
+ef
+03
+20
+20
+02
+41
+70
+4b
+ef
+ff
+70
+0b
+7d
+31
+20
+40
+7c
+27
+68
+02
+0d
+19
+20
+40
+02
+e6
+20
+20
+02
+41
+c6
+11
+80
+00
+20
+40
+02
+e7
+20
+40
+03
+13
+68
+00
+cb
+ef
+c1
+ff
+80
+00
+20
+40
+02
+c1
+58
+00
+00
+00
+60
+01
+4c
+04
+20
+40
+3c
+ab
+20
+00
+07
+d0
+68
+00
+cc
+04
+c0
+7f
+82
+6a
+20
+40
+02
+5e
+24
+37
+82
+ca
+20
+40
+02
+57
+79
+20
+00
+23
+70
+0b
+7d
+3c
+20
+20
+7c
+27
+70
+0d
+37
+ff
+68
+00
+cb
+e2
+60
+00
+8d
+38
+68
+02
+4c
+06
+60
+02
+0d
+39
+d8
+40
+00
+06
+da
+20
+0d
+37
+20
+40
+02
+cf
+20
+20
+02
+f4
+68
+01
+4c
+04
+1f
+e0
+fe
+01
+60
+01
+4c
+04
+20
+40
+03
+13
+20
+20
+02
+b7
+60
+08
+cb
+e1
+18
+42
+72
+00
+d8
+a0
+0c
+d5
+1a
+22
+0c
+00
+20
+20
+7e
+45
+68
+00
+8c
+b4
+1f
+e9
+7e
+00
+60
+00
+cb
+df
+1f
+e0
+fe
+01
+d8
+c0
+0c
+b4
+98
+c0
+8c
+00
+e8
+c1
+80
+00
+60
+01
+cc
+0b
+20
+60
+00
+00
+68
+08
+cc
+3c
+58
+00
+4c
+2b
+98
+40
+8a
+00
+1a
+22
+7e
+00
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+60
+08
+cc
+3c
+20
+60
+00
+00
+60
+02
+4c
+00
+da
+20
+00
+00
+df
+20
+00
+04
+d8
+c0
+4c
+00
+e8
+c0
+80
+00
+9a
+20
+a2
+00
+c2
+00
+02
+ea
+1a
+22
+7e
+00
+60
+01
+4c
+16
+68
+00
+cc
+16
+68
+08
+cc
+17
+98
+40
+fe
+00
+60
+00
+cc
+18
+20
+60
+00
+00
+68
+00
+cb
+e1
+1f
+e0
+fe
+02
+60
+00
+cb
+e3
+68
+00
+cb
+e2
+60
+00
+8c
+f5
+68
+00
+cb
+e1
+1f
+e9
+fe
+00
+68
+08
+cb
+e0
+18
+41
+04
+03
+18
+43
+84
+00
+98
+41
+fe
+00
+68
+08
+cc
+0a
+98
+40
+fe
+00
+e0
+a0
+80
+00
+68
+00
+cb
+ef
+c0
+ff
+83
+06
+68
+00
+cb
+e2
+e0
+a0
+80
+00
+68
+00
+cb
+e1
+98
+00
+72
+00
+68
+00
+cb
+e2
+c0
+00
+83
+11
+d8
+c0
+0c
+d5
+20
+40
+7e
+45
+68
+00
+8c
+d5
+c0
+01
+83
+0f
+20
+60
+00
+00
+70
+0c
+d5
+02
+20
+60
+00
+00
+d8
+c0
+0c
+d6
+20
+20
+7e
+45
+68
+08
+cb
+ea
+20
+40
+03
+19
+18
+40
+84
+01
+18
+41
+04
+03
+60
+08
+cb
+ea
+20
+60
+00
+00
+68
+00
+cc
+00
+1f
+e1
+7e
+03
+1f
+ef
+a2
+04
+58
+00
+4b
+f0
+9a
+20
+fe
+00
+98
+40
+8c
+00
+e8
+c0
+80
+00
+60
+00
+cb
+e9
+20
+60
+00
+00
+78
+44
+fc
+00
+78
+43
+fc
+00
+58
+55
+55
+55
+98
+00
+1e
+00
+68
+00
+cb
+e9
+1f
+ed
+84
+00
+79
+20
+04
+01
+18
+43
+1c
+00
+20
+60
+00
+00
+20
+40
+03
+22
+78
+26
+fc
+00
+78
+30
+fc
+00
+78
+50
+7c
+00
+78
+28
+7c
+00
+68
+01
+4b
+e4
+98
+00
+36
+00
+37
+c1
+84
+00
+24
+2c
+03
+66
+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
+19
+68
+08
+cc
+18
+98
+46
+7c
+00
+24
+22
+83
+66
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+8c
+b3
+68
+00
+8c
+b3
+68
+08
+cb
+e2
+a8
+40
+0e
+00
+24
+20
+83
+66
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+1f
+e9
+7e
+00
+1f
+e1
+72
+1f
+20
+22
+83
+4f
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+c2
+00
+03
+4b
+18
+a2
+22
+00
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cc
+2a
+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
+03
+66
+78
+37
+fc
+00
+68
+00
+80
+17
+1f
+e0
+a2
+00
+20
+40
+3a
+b6
+78
+46
+fc
+00
+20
+40
+3a
+7a
+68
+00
+cc
+2a
+1f
+e2
+22
+00
+20
+40
+02
+dd
+20
+60
+00
+00
+78
+4d
+fc
+00
+78
+45
+fc
+00
+20
+20
+37
+5c
+20
+40
+3a
+7a
+68
+08
+cb
+e9
+20
+20
+3a
+91
+20
+40
+53
+d2
+68
+02
+4c
+00
+98
+00
+12
+00
+20
+40
+03
+22
+20
+40
+03
+69
+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
+18
+08
+00
+86
+08
+68
+00
+cb
+e3
+98
+00
+72
+00
+d8
+c0
+0c
+f5
+e8
+c0
+80
+00
+08
+00
+86
+08
+c2
+00
+03
+82
+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
+23
+f7
+aa
+55
+40
+00
+00
+40
+29
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+35
+00
+00
+00
+4f
+02
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+c0
+00
+00
+00
+00
+00
+00
+00
+00
+80
+a0
+00
+00
+00
+00
+00
+00
+00
+20
+01
+00
+00
+00
+00
+00
+aa
+55
+02
+00
+50
+4d
+20
+00
+aa
+55
+01
+00
+31
+41
+01
+aa
+55
+02
+00
+13
+42
+40
+03
+aa
+55
+01
+00
+f7
+41
+0a
+aa
+55
+02
+00
+f5
+41
+10
+00
+aa
+55
+01
+00
+33
+41
+00
+aa
+55
+02
+00
+b1
+4c
+00
+00
+aa
+55
+03
+00
+4a
+41
+40
+25
+00
+aa
+55
+06
+00
+40
+41
+36
+08
+c2
+08
+66
+22
+aa
+55
+0f
+00
+02
+47
+0e
+42
+54
+33
+2e
+30
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+03
+00
+80
+42
+0e
+00
+01
+aa
+55
+01
+00
+84
+42
+01
+aa
+55
+01
+00
+47
+47
+0a
+aa
+55
+01
+00
+dc
+47
+00
+aa
+55
+01
+00
+f6
+47
+01
+aa
+55
+01
+00
+72
+41
+01
+aa
+55
+0e
+00
+5b
+47
+06
+03
+11
+00
+00
+01
+02
+10
+24
+11
+00
+12
+01
+00
+aa
+55
+01
+00
+71
+47
+00
+aa
+55
+76
+02
+11
+48
+04
+00
+11
+01
+00
+10
+02
+11
+24
+00
+01
+00
+00
+36
+01
+b6
+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
+3d
+42
+72
+6f
+61
+64
+63
+6f
+6d
+20
+42
+6c
+75
+65
+74
+6f
+6f
+74
+68
+20
+57
+69
+72
+65
+6c
+65
+73
+73
+20
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+09
+01
+01
+25
+08
+4b
+65
+79
+62
+6f
+61
+72
+64
+09
+01
+02
+25
+10
+42
+72
+6f
+61
+64
+63
+6f
+6d
+20
+43
+6f
+72
+70
+2e
+20
+20
+09
+02
+00
+09
+01
+00
+09
+02
+01
+09
+01
+11
+09
+02
+02
+08
+40
+09
+02
+03
+08
+21
+09
+02
+04
+28
+01
+09
+02
+05
+28
+01
+09
+02
+06
+35
+a5
+35
+a3
+08
+22
+25
+9f
+05
+01
+09
+06
+a1
+01
+85
+01
+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
+25
+ff
+05
+07
+19
+00
+29
+ff
+81
+00
+c0
+05
+0c
+09
+01
+a1
+01
+85
+02
+19
+00
+2a
+ff
+03
+15
+00
+26
+ff
+03
+95
+01
+75
+10
+81
+00
+c0
+05
+01
+09
+02
+a1
+01
+85
+03
+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
+80
+26
+ff
+7f
+75
+10
+95
+02
+81
+06
+09
+38
+15
+81
+25
+7f
+75
+08
+95
+01
+81
+06
+05
+0c
+0a
+38
+02
+95
+01
+81
+06
+c0
+c0
+09
+02
+07
+35
+08
+35
+06
+09
+04
+09
+09
+01
+00
+09
+02
+0b
+09
+01
+00
+09
+02
+0c
+09
+0c
+80
+09
+02
+0d
+28
+00
+09
+02
+0e
+28
+01
+09
+02
+0f
+09
+03
+18
+09
+02
+10
+09
+00
+00
+03
+10
+02
+12
+00
+00
+01
+00
+01
+00
+01
+36
+00
+a1
+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
+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
+2f
+42
+72
+6f
+61
+64
+63
+6f
+6d
+20
+42
+6c
+75
+65
+74
+6f
+6f
+74
+68
+20
+57
+69
+72
+65
+6c
+65
+73
+73
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+20
+50
+6e
+50
+20
+53
+65
+72
+76
+65
+72
+09
+01
+01
+25
+08
+4b
+65
+79
+62
+6f
+61
+72
+64
+09
+02
+00
+09
+01
+03
+09
+02
+01
+09
+04
+e8
+09
+02
+02
+09
+70
+21
+09
+02
+03
+09
+00
+01
+09
+02
+04
+28
+01
+09
+02
+05
+09
+00
+02
+00
+aa
+55
+02
+00
+59
+47
+11
+48
+aa
+55
+01
+00
+32
+41
+43
+aa
+55
+01
+00
+fb
+41
+00
+aa
+55
+08
+00
+38
+41
+ff
+ff
+8f
+f8
+83
+9d
+59
+82
+aa
+55
+01
+00
+dc
+07
+00
+aa
+55
+01
+00
+a2
+00
+00
+aa
+55
+01
+00
+dd
+07
+00
+aa
+55
+01
+00
+16
+00
+27
+aa
+55
+01
+00
+fd
+47
+ff
+aa
+55
+01
+00
+f7
+47
+ff
+aa
+55
+01
+00
+6e
+41
+80
+aa
+55
+02
+00
+a2
+4b
+02
+01
+aa
+55
+dd
+01
+04
+45
+01
+00
+00
+28
+02
+01
+18
+02
+00
+03
+28
+01
+20
+03
+00
+05
+2a
+01
+00
+04
+00
+02
+29
+02
+00
+00
+05
+00
+00
+28
+02
+00
+18
+06
+00
+03
+28
+01
+02
+07
+00
+00
+2a
+0e
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+08
+00
+03
+28
+01
+02
+09
+00
+01
+2a
+02
+c1
+03
+0a
+00
+03
+28
+01
+02
+0b
+00
+04
+2a
+08
+06
+00
+06
+00
+64
+00
+2c
+01
+0c
+00
+00
+28
+02
+0a
+18
+0d
+00
+03
+28
+01
+02
+0e
+00
+50
+2a
+07
+02
+e8
+04
+21
+70
+01
+00
+0f
+00
+00
+28
+02
+12
+18
+10
+00
+03
+28
+01
+06
+11
+00
+4e
+2a
+01
+01
+12
+00
+03
+28
+01
+12
+13
+00
+4d
+2a
+08
+00
+00
+00
+00
+00
+00
+00
+00
+14
+00
+02
+29
+02
+00
+00
+15
+00
+08
+29
+02
+01
+01
+16
+00
+03
+28
+01
+12
+17
+00
+4d
+2a
+02
+00
+00
+18
+00
+02
+29
+02
+00
+00
+19
+00
+08
+29
+02
+02
+01
+1a
+00
+03
+28
+01
+12
+1b
+00
+4d
+2a
+05
+00
+00
+00
+00
+00
+1c
+00
+02
+29
+02
+00
+00
+1d
+00
+08
+29
+02
+03
+01
+1e
+00
+03
+28
+01
+0e
+1f
+00
+4d
+2a
+02
+00
+00
+20
+00
+02
+29
+02
+00
+00
+21
+00
+08
+29
+02
+01
+02
+22
+00
+03
+28
+01
+0a
+23
+00
+4b
+2a
+a0
+05
+01
+09
+06
+a1
+01
+85
+01
+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
+02
+19
+00
+2a
+ff
+03
+15
+00
+26
+ff
+03
+95
+01
+75
+10
+81
+00
+c0
+05
+01
+09
+02
+a1
+01
+85
+03
+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
+80
+26
+ff
+7f
+75
+10
+95
+02
+81
+06
+09
+38
+15
+81
+25
+7f
+75
+08
+95
+01
+81
+06
+05
+0c
+0a
+38
+02
+95
+01
+81
+06
+c0
+c0
+24
+00
+03
+28
+01
+02
+25
+00
+4a
+2a
+04
+11
+01
+00
+01
+26
+00
+03
+28
+01
+04
+27
+00
+4c
+2a
+01
+00
+28
+00
+00
+28
+02
+0f
+18
+29
+00
+03
+28
+01
+12
+2a
+00
+19
+2a
+01
+64
+2b
+00
+02
+29
+02
+00
+00
+00
+00
+aa
+55
+01
+00
+6a
+4c
+17
+aa
+55
+01
+00
+f9
+46
+50
+aa
+55
+01
+00
+c2
+44
+14
+aa
+55
+06
+00
+f9
+44
+11
+46
+34
+54
+77
+dd
+aa
+55
+01
+00
+7e
+4c
+00
+aa
+55
+06
+00
+b8
+4c
+13
+00
+17
+00
+1b
+00
+aa
+55
+01
+00
+60
+4c
+50
+aa
+55
+10
+00
+6c
+4c
+0c
+00
+05
+00
+12
+b4
+08
+00
+10
+00
+10
+00
+00
+00
+2c
+01
+aa
+55
+0f
+00
+19
+44
+0e
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+01
+00
+e4
+44
+07
+aa
+55
+01
+00
+dd
+44
+01
+aa
+55
+1c
+00
+d9
+43
+1f
+02
+01
+05
+03
+19
+c1
+03
+03
+03
+12
+18
+0f
+09
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+11
+00
+f9
+43
+1f
+0f
+09
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+04
+00
+53
+4d
+20
+20
+08
+21
+aa
+55
+04
+00
+91
+4c
+9f
+3e
+cd
+4d
+aa
+55
+01
+00
+8f
+4c
+04
+aa
+55
+01
+00
+10
+4c
+01
+aa
+55
+01
+00
+e2
+4b
+02
+aa
+55
+01
+00
+0f
+4c
+40
+aa
+55
+01
+00
+0a
+4c
+00
+aa
+55
+02
+00
+e4
+4b
+c0
+12
+aa
+55
+10
+00
+f0
+4b
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+ef
+4b
+ff
+aa
+55
+04
+00
+eb
+4b
+20
+15
+10
+05
+aa
+55
+0a
+00
+37
+0d
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+08
+00
+3d
+4d
+00
+48
+5d
+00
+00
+00
+00
+00
+aa
+55
+05
+00
+19
+42
+00
+0a
+0b
+ef
+0f
+aa
+55
+01
+00
+f8
+41
+00
+aa
+55
+08
+00
+a3
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+02
+00
+5d
+41
+02
+24
+aa
+55
+08
+00
+4d
+41
+12
+00
+00
+02
+12
+00
+00
+02
+aa
+55
+02
+00
+5b
+41
+20
+00
+aa
+55
+04
+00
+57
+41
+20
+00
+00
+20
+aa
+55
+04
+00
+5f
+41
+80
+03
+00
+06
+aa
+55
+02
+00
+98
+4c
+00
+13
+aa
+55
+02
+00
+9b
+42
+30
+3f
+aa
+55
+01
+00
+aa
+42
+20
+aa
+55
+7f
+00
+70
+4f
+07
+ff
+0a
+fb
+0b
+ff
+1a
+fb
+1b
+fb
+1c
+fb
+1d
+f6
+1e
+f2
+1f
+ee
+20
+ea
+21
+e6
+22
+e2
+23
+de
+24
+da
+25
+d6
+26
+d2
+27
+ce
+28
+ca
+29
+c6
+2a
+c2
+2b
+bd
+2c
+b9
+2d
+b5
+2e
+b1
+2f
+ad
+30
+a9
+31
+80
+32
+80
+33
+80
+34
+c0
+35
+c1
+36
+c2
+37
+c3
+38
+c4
+39
+c5
+3a
+c6
+3b
+c7
+3c
+06
+3d
+07
+3e
+46
+3f
+85
+40
+86
+41
+87
+42
+c6
+43
+c7
+44
+d6
+45
+d7
+46
+e6
+47
+f5
+48
+00
+49
+f8
+4a
+7f
+4e
+ec
+4f
+5e
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+68
+e4
+69
+00
+6a
+00
+6b
+30
+ff
+aa
+55
+02
+00
+63
+41
+70
+4f
+aa
+55
+00
+00
+ee
+46
+aa
+55
+0a
+00
+91
+4a
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+aa
+55
+0a
+00
+87
+4a
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+9e
+75
Index: KG9013/btkb/output/memmap.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/memmap.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/memmap.format	(working copy)
@@ -0,0 +1,1114 @@
+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_nfreq_index_inq
+0x008d mem_nfreq_index_page
+0x008e mem_ninqy_index
+0x008f mem_fhs_misc
+0x0090 mem_tx_lch
+0x0091 mem_tx_len
+0x0093 mem_subsniff_instant
+0x0097 mem_subsniff_rate
+0x0098 mem_subsniff_tcmax
+0x009a mem_subsniff_tsniff
+0x009b mem_lpm_adjust
+0x009c mem_sync_clke
+0x00a2 mem_lpm_current_mult
+0x00a3 mem_gpio_wakeup_low
+0x00a7 mem_gpio_wakeup_high
+0x00ab mem_air_mode
+0x00ac mem_sco_asso_handle
+0x00ad mem_sco_handle
+0x00af mem_esco_desco
+0x00b0 mem_esco_type
+0x00b1 mem_neogotiation_state
+0x00b2 mem_saved_amaddr
+0x00b3 mem_esco_arq
+0x00b4 mem_esco_saved_arq
+0x00b5 mem_sco_obuf
+0x00d3 mem_sco_ibuf
+0x00f1 mem_sco_poll
+0x00f2 mem_npage_index
+0x00f3 mem_page_mode
+0x00f4 mem_page_clk
+0x00f8 mem_tst_pktcnt_sync
+0x00fa mem_tst_pktcnt_hec
+0x00fc mem_tst_pktcnt_crc
+0x00fe mem_tst_pktcnt_dmh
+0x0100 mem_tmp_buffer_head
+0x0103 mem_tmp_buffer
+0x0153 mem_tester_emulate
+0x0154 mem_temp_payload
+0x0154 test_mode_scenario
+0x0155 test_mode_hopping_mode
+0x0156 test_mode_tx_freq
+0x0157 test_mode_rx_freq
+0x0158 test_mode_power_mode
+0x0159 test_mode_poll_period
+0x015a test_mode_packet_type
+0x015b test_mode_data_length
+0x015d mem_test_mode_old_debug_config
+0x015e mem_tester_cnt
+0x015f mem_temp_am_addr
+0x0160 mem_temp_arq
+0x0161 mem_pdatatemp
+0x0169 mem_len
+0x016b mem_clkn_bt
+0x016f mem_clke_bt
+0x0173 mem_dpll_clkn
+0x0177 mem_connection_options
+0x0178 mem_nameres_cnt
+0x0179 mem_txptr
+0x017b mem_slot_offset
+0x017d extm_fhs_misc
+0x017e extm_newconn_am_addr
+0x017f extm_class
+0x0182 extm_lap
+0x0185 extm_uap
+0x0186 extm_nap
+0x0189 mem_debug_config
+0x018a mem_lch_code
+0x018b mem_fhs_am_addr
+0x018c mem_dpll_error
+0x018e mem_bdaddr_list_buff
+0x01b2 mem_select_list_item
+0x01b3 mem_temp_reconn_record
+0x01b3 mem_record_bt_mode
+0x01b4 mem_temp_lap
+0x01ba mem_list_item_ptr
+0x01bc mem_eir
+0x0220 mem_ucode_status
+0x0221 mem_otp_ucode_flag
+0x0223 mem_spid_tbuf/* spid buf: 03 addr[23:16] addr[15:8] addr[7:0] */
+0x0224 mem_iicd_tbuf/* iicd buf: iic_adr addr[15:8] addr[7:0] iic_adr */
+0x0224 mem_addr_hi
+0x0225 mem_addr_mi
+0x0226 mem_addr_lo
+0x0227 mem_iicd_addr
+0x0228 mem_spid_rbuf
+0x022c mem_ucode_buf
+0x022e mem_ucode_len
+0x0230 mem_sched_addr
+0x0232 mem_ucode_ptr
+0x0234 mem_ucode_keybuf
+0x0244 mem_check_plap_temp
+0x0256 mem_sensor_id
+0x0257 mem_reconnect_flag
+0x0258 mem_switch_fail_master_count
+0x0259 mem_app_evt_timer_count
+0x025a mem_dongle_count
+0x025b mem_le_addr_slave1
+0x0261 mem_le_addr_slave2
+0x0267 mem_le_peer_state
+0x0268 mem_app_peer_addr
+0x026e mem_dongle_peers
+0x026f mem_dongle_pairing_cnt
+0x0270 mem_dongle_signature
+0x0272 mem_h5rx_ackcnt
+0x0273 mem_check_err_acl_cont
+0x0274 mem_rp_packets
+0x0275 mem_packet_type
+0x0277 mem_hci_sniff_conn_handle
+0x0279 mem_hci_sniff_max_interval
+0x027b mem_hci_sniff_min_interval
+0x027d mem_hci_sniff_attempt
+0x027f mem_hci_sniff_timeout
+0x0281 mem_voice_setting
+0x0283 mem_retransmission_effort
+0x0284 mem_sco_ptype
+0x0286 mem_extm_uap_restore
+0x0289 mem_h5rx_rptr
+0x028b mem_h5rx_ack
+0x028c mem_h5tx_ack
+0x028d mem_h5tx_rptr
+0x028f mem_h5tx_wptr
+0x0291 mem_h5tx_free
+0x0293 mem_h5rx_tmp
+0x0294 mem_h5tx_seq
+0x0295 mem_hci_acl_queue_wptr
+0x0297 mem_hci_acl_queue_rptr
+0x0299 mem_hci_acl_queue_end
+0x029b mem_hci_acl_queue_wcnt
+0x029c mem_hci_acl_cnt
+0x029d mem_hci_acl_tx_trigger_wptr//tx via uart
+0x029f mem_ucode_id_local
+0x02a0 mem_temp//8 bytes
+0x02a8 mem_timeup// 4 bytes
+0x02ac mem_rega//4 bytes
+0x02b0 mem_regb//4 bytes
+0x02b4 mem_regc//3 bytes
+0x02b7 mem_contr//2 bytes
+0x02b9 mem_contw//2 bytes
+0x02bb mem_ucode_id_remote
+0x02bc mem_check_sum
+0x02bd mem_ucode_temp
+0x02be mem_ucode_temp1
+0x02bf mem_lock_in_enc//boolean
+0x02c0 mem_hci_disconn_reason
+0x02c1 mem_hci_curr_len
+0x02c2 mem_hci_curr_target
+0x02c4 mem_l2cap_mem_start
+0x02c4 mem_l2cap_rxbuff1_len
+0x02c6 mem_l2cap_rxbuff2_len
+0x02c8 mem_l2cap_rxbuff_new
+0x02ca mem_l2cap_rxbuff_inuse
+0x02cb mem_l2cap_payload_ptr
+0x02cd mem_l2cap_rx_pkt_length
+0x02cf mem_l2cap_rx_cid
+0x02d1 mem_l2cap_rx_done
+0x02d2 mem_l2cap_signal_tx_buff_ptr
+0x02d4 mem_l2cap_signal_tx_payload_ptr
+0x02d6 mem_l2cap_signal_tx_length
+0x02d8 mem_sdp_tx_buff_ptr
+0x02da mem_sdp_tx_payload_ptr
+0x02dc mem_sdp_tx_pkt_length
+0x02de mem_rfcomm_tx_buff_ptr
+0x02e0 mem_rfcomm_tx_payload_ptr
+0x02e2 mem_rfcomm_tx_pkt_length
+0x02e4 memL2CAP_T1
+0x02e6 mem_CONTROL_tasks
+0x02e7 mem_send_config_req
+0x02e8 mem_config_identifier
+0x02e9 mem_config_req_dest_CID
+0x02eb mem_rfcomm_malloc_fail_flag
+0x02ec mem_message_to_uppersm
+0x02ed mem_upper_sm_remote_page
+0x02ee mem_upper_sm_reconn
+0x02ef mem_upper_sm_ss
+0x02f0 mem_tx_malloc_log
+0x0330 mem_l2cap_mem_end
+0x0330 mem_scid
+0x0332 mem_cmd_length
+0x0334 mem_tt2
+0x0336 mem_tt3
+0x0338 mem_id
+0x033a mem_psm
+0x033c mem_l2cap_sdpres_delay_time
+0x0340 mem_le_rxbuf
+0x0378 mem_le_mic
+0x037c mem_le_peer_mic
+0x0380 mem_le_skdm
+0x0388 mem_le_skds
+0x0390 mem_le_peer_ltk
+0x03a0 mem_le_my_ltk
+0x03b0 mem_le_mrand
+0x03c0 mem_le_state
+0x03c1 mem_le_mode
+0x03c2 mem_le_tsniff
+0x03c4 mem_le_anchor
+0x03c8 mem_le_clk_offset
+0x03ce mem_le_receive_window
+0x03d0 mem_le_plap
+0x03d6 mem_le_conn_handle
+0x03d7 mem_le_arq
+0x03d8 mem_le_ch
+0x03d9 mem_le_hop
+0x03da mem_le_event_count
+0x03dc mem_le_supervision_timer
+0x03e0 mem_le_instant
+0x03e2 mem_le_channels
+0x03e3 mem_le_conn_sm
+0x03e4 mem_le_op
+0x03e5 mem_le_access
+0x03e9 mem_le_crcinit
+0x03ec mem_le_window_size
+0x03ed mem_le_slave_latency
+0x03ef mem_le_superto
+0x03f1 mem_le_channel_map
+0x03f6 mem_le_no_using
+0x03f8 mem_le_peer_sca
+0x03f9 mem_le_att_opcode
+0x03fa mem_le_att_handle
+0x03fc mem_le_err_code
+0x03fd mem_le_sk
+0x040d mem_le_testtype
+0x040e mem_le_test_sync
+0x0410 mem_le_test_pcnt
+0x0412 mem_le_rxon_ts
+0x0418 mem_le_rx_ll_opcode
+0x0419 mem_le_notify_attr_start
+0x041b mem_le_notify_len
+0x041c mem_cmd_le_create_conn
+0x041d mem_le_adv_temp
+0x0431 mem_24g_id
+0x0432 mem_lmo_header_length
+0x0433 mem_lmo_header_opcode
+0x0434 mem_lmo_payload
+0x0445 mem_lmi_accepted_opcode
+0x0446 mem_disconn_reason_send
+0x0447 mem_tx_fixed_freq
+0x0448 mem_rx_fixed_freq
+0x0449 mem_ext_features_page
+0x044a mem_lmpext_ssp_enable
+0x044c mem_remote_sppcap
+0x044d mem_lmp_conn_state
+0x044e mem_soft_timer
+0x0450 mem_pincode_state
+0x0451 mem_sres_tid
+0x0452 mem_accptsco_tid
+0x0453 mem_auth_enable
+0x0454 mem_wait_encryption
+0x0455 mem_sniff_payload
+0x0465 mem_aurand_send_delay_time
+0x0469 mem_module_temp_len
+0x046b mem_init_cnt
+0x046d mem_prcp_data
+0x0481 mem_prcp
+0x0482 mem_prcp_tx_len
+0x0483 rx_buf_data_ptr
+0x0485 memRemoteRPNBitRate
+0x0486 memRemotePRNDataBits
+0x0487 memRemotePRNStopBit
+0x0488 memRemotePRNParity
+0x0489 memRemotePRNFlowControl
+0x048a memRemotePRNXon
+0x048b memRemotePRNXoff
+0x048c mem_mod2div_temp
+0x048f mem_contw_temp
+0x0491 mem_attrib_list
+0x0493 mem_current_adss
+0x0494 mem_current_channel
+0x0495 mem_current_frame_type
+0x0496 mem_current_fcs
+0x0497 mem_current_length
+0x0499 mem_rfcomm_uih_payload_ptr
+0x049b mem_uih_cmd_type
+0x049c mem_uih_length
+0x049e mem_param_payload_ptr
+0x04a0 mem_ms_param
+0x04a1 mem_pn_credit_flow_type_info
+0x04a2 mem_pn_priority
+0x04a3 mem_pn_acknowledg_timer
+0x04a4 mem_pn_max_retrans
+0x04a5 mem_rfcomm_send_adss
+0x04a6 mem_rfcomm_send_frame_type
+0x04a7 mem_rfcomm_send_fcs
+0x04a8 mem_rfcomm_send_offset
+0x04a9 mem_sdp_mem_start
+0x04a9 mem_uuid_search_pat
+0x04ad mem_sdp_continue_byte
+0x04af mem_sdp_pduid
+0x04b0 mem_sdp_transactionid
+0x04b2 mem_sdp_attribute_maxbyte
+0x04b4 mem_sdp_record_maxcnt
+0x04b6 mem_sdp_error_code
+0x04be mem_sdp_record_handle
+0x04c2 mem_sdp_search_failed
+0x04c3 mem_sdp_LACAP_found
+0x04c4 mem_sdp_RFCOMM_found
+0x04c5 mem_handle_list
+0x04dd mem_handle_humber
+0x04de mem_sdp_mem_end
+0x04de mem_rxbuf
+0x04ef mem_random_number
+0x04ff mem_round_key
+0x050f mem_kinit
+0x051f mem_input_store
+0x052f mem_x
+0x053f mem_y
+0x054e mem_y15
+0x054f mem_pin_length
+0x0550 mem_pin
+0x0560 mem_key_store
+0x0571 mem_key_store_end
+0x0572 memp_ar_key
+0x0574 memp_ar_input
+0x0576 mem_ar_hround
+0x0580 mem_ec_infinite
+0x0581 mem_ec_loopc
+0x0582 memdat
+0x0582 mem_ax
+0x059a mem_ay
+0x05b2 mem_az
+0x05ca mem_bx
+0x05e2 mem_by
+0x05fa mem_bz
+0x0612 mem_cx
+0x062a mem_cy
+0x0641 mem_cy5
+0x0642 mem_cz
+0x065a mem_k
+0x0672 mem_align
+0x0682 mem_tmp1
+0x0682 memahbak
+0x069a mem_tmp5
+0x06a2 memahsave
+0x06b2 mem_tmp2
+0x06c2 memahsave_end
+0x06c2 mem_addr_padding
+0x06c3 mem_addr_value/* 12 bytes     */ 
+0x06ca mem_tmp3
+0x06ca mem_t1
+0x06cf mem_addr_value_end
+0x06d2 mem_addr_iocap_end
+0x06e2 mem_tmp0
+0x06e2 mem_t0
+0x06ea mem_tmp0a
+0x06fa mem_t2
+0x0712 mem_t3
+0x072a mem_t7
+0x0742 mem_p
+0x075a mem_a
+0x0772 mem_b
+0x078a mem_gx
+0x07a2 mem_gy
+0x07ba memh0
+0x07da mem_sp_state_start
+0x07da mem_sp_state
+0x07db mem_master_sp_state
+0x07dc mem_sp_flag
+0x07dd mem_master_sp_flag
+0x07de mem_sp_calc
+0x07df mem_sp_dh_ready
+0x07e0 mem_sp_localsm
+0x07e1 mem_pairing_auth
+0x07e2 mem_sp_flag_start
+0x07e2 mem_sp_local_key_send_count
+0x07e3 mem_sp_remote_key_recv_count
+0x07e4 mem_sp_remote_key_invalid
+0x07e5 mem_sp_dhkey_invalid
+0x07e6 mem_sp_iocap_local
+0x07e9 mem_sp_iocap_remote
+0x07ec mem_sp_gkey
+0x07f0 mem_sp_pubkey_remote
+0x07f0 mem_sp_pubkey_remote_x
+0x0808 mem_sp_pubkey_remote_x_end
+0x0808 mem_sp_pubkey_remote_y
+0x0820 mem_sp_dhkey
+0x0838 mem_sp_dhkey_end
+0x0838 mem_sp_random_local
+0x0848 mem_sp_random_local_end
+0x0848 mem_sp_random_remote
+0x0858 mem_sp_random_remote_end
+0x0858 memresult
+0x0858 mem_sp_calc_result
+0x0858 memh
+0x085c memg
+0x0860 memf
+0x0864 meme
+0x0868 mem_sp_calc_result_high
+0x0868 memd
+0x086c memc
+0x0870 memb
+0x0874 mema
+0x0878 mem_sp_check_result
+0x0888 mem_sp_confirm_remote
+0x0898 mem_sp_prarm_stack
+0x08a8 mem_UI_data_txbuff_length
+0x08aa mem_ipc_skip_continue_proc
+0x08ab mem_ui_timer_temp//length 4
+0x08ab mem_ipc_rega_temp
+0x08af mem_usb_status
+0x08b0 mem_usb_fifo_empty
+0x08b1 mem_usb_read_len
+0x08b2 mem_usb_rxbuf
+0x08f2 mem_usb_cnt
+0x08f4 mem_usb_tx_enable
+0x08f5 mem_usb_tx_count
+0x08f6 mem_usb_set_protocol_count
+0x08f7 mem_usb_desc
+0x08f8 mem_usb_state
+0x08f9 mem_usb_idle_cnt
+0x08fb mem_usb_idle_timeout
+0x08fd mem_usb_trig_timeout
+0x08ff mem_usb_setup
+0x08ff mem_usb_setup_bmRequestType
+0x0900 mem_usb_setup_bRequest
+0x0901 mem_usb_setup_bValue
+0x0902 mem_usb_setup_bValueH
+0x0903 mem_usb_setup_wIndex
+0x0905 mem_usb_setup_bLength
+0x0906 mem_usb_setup_bLengthH
+0x0907 mem_usb0_setup
+0x090f mem_bufptr
+0x0911 mem_remain
+0x0912 mem_devicedesc
+0x0926 mem_hidreportdesc_kb
+0x09ee mem_hidreportdesc_m
+0x0ab6 mem_confdesc
+0x0b1a mem_string0
+0x0b1f mem_string1
+0x0b3d mem_string2
+0x0b5b mem_string3
+0x0b79 mem_hold_contr
+0x0b7b mem_hold_contw
+0x0b7d mem_fifo_temp
+0x0b7e mem_c51_flag
+0x0b7f mem_c51_lpm_lock
+0x0b80 mem_c51_wait_lpm
+0x0b81 mem_wakup_from_power_flag
+0x0b82 mem_lmp_bb_disconnect_reason
+0x0b83 mem_c51_eeprom_buf
+0x0be7 mem_c51_ipc_txbuf
+0x0c4b mem_c51_ipc_rxbuf
+0x0caf mem_c51_iicd_buf
+0x0cb3 mem_24g_rxbuf
+0x0cd5 mem_24g_txbuf
+0x0cf5 mem_24g_txpayload
+0x0d17 mem_24g_rxpayload
+0x0d37 mem_24g_common_temp
+0x0d57 mem_packet_length_temp
+0x0d58 mem_le_cur_handle_start
+0x0d5a mem_le_cur_handle_end
+0x0d5c mem_le_search_res
+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
+0x4130 mem_current_amaddr
+0x4131 mem_lpm_mode
+0x4132 mem_device_option
+0x4133 mem_scan_mode
+0x4134 mem_last_clkn
+0x4138 mem_features
+0x4140 mem_lap
+0x4143 mem_uap
+0x4144 mem_nap
+0x4146 mem_npage
+0x4147 mem_glap
+0x414a mem_class
+0x414d mem_iscan_window
+0x414f mem_iscan_interval
+0x4151 mem_pscan_window
+0x4153 mem_pscan_interval
+0x4155 mem_page_interval
+0x4157 mem_page_window
+0x4159 mem_page_to
+0x415b mem_inq_window
+0x415d mem_fcomp_mul
+0x415e mem_fcomp_div
+0x415f mem_rx_window_init
+0x4161 mem_rx_window_sniff
+0x4163 mem_rf_init_ptr
+0x4165 mem_last_type
+0x4166 mem_last_type_esco
+0x4167 mem_last_type_saved
+0x4168 mem_retransmission_cnt
+0x416a mem_next_btclk
+0x416e mem_seqi
+0x416f mem_rf_rccal
+0x4170 mem_handle_num
+0x4171 mem_max_slot
+0x4172 mem_eir_enable
+0x4173 mem_afh_instant
+0x4177 mem_afh_error_total
+0x4179 mem_afh_cfg
+0x417a mem_afh_new_mod
+0x417b mem_afh_map_lo
+0x4180 mem_afh_map_hi
+0x4185 mem_afh_used
+0x4186 mem_afh_index
+0x4188 mem_afh_map_new
+0x4193 mem_afh_map
+0x41e3 mem_afh_timer
+0x41e7 mem_afh_classify_channel_map
+0x41f1 mem_chip_functions
+0x41f3 mem_lpm_wake_lock
+0x41f5 mem_lpm_interval
+0x41f7 mem_lpm_overhead
+0x41f8 mem_lpm_hibernate_switch
+0x41f9 mem_esco_addr
+0x41fa mem_sniff_unint_lost
+0x41fb mem_ptt
+0x41fc mem_sleep_counter//should be 0x41fc in REVC
+0x4200 mem_sleep_counter_all
+0x4204 mem_sleep_clkn
+0x420a mem_sniff_rcv
+0x420d mem_sniff_lost
+0x4210 mem_clks_per_lpo
+0x4213 mem_lpm_mult
+0x4214 mem_lpm_mult_timeout
+0x4215 mem_lpm_mult_cnt
+0x4216 mem_lpm_config
+0x4219 mem_lpm_xtalcnt
+0x421a mem_lpm_buckcnt
+0x421b mem_lpm_ldocnt
+0x421c mem_lpm_isogate
+0x421d mem_lpm_isogate_final
+0x421e mem_saved_gpio// should be 0x421e in REVC
+0x422e mem_saved_gsel
+0x4231 mem_saved_mark
+0x4239 mem_saved_spidctrl
+0x423a mem_patch_ptr
+0x423c mem_patch_len
+0x423e mem_timers
+0x425e mem_link_key_exists
+0x425f mem_link_key_eeprom_head
+0x4262 mem_link_key
+0x4272 mem_hci_cmd
+0x4273 mem_hci_conn_handle
+0x4274 mem_hci_plap
+0x4277 mem_hci_puap
+0x4278 mem_hci_pnap
+0x427a mem_uartd_rxitems_got_data
+0x427b mem_uartd_rxitems_threshold
+0x427c mem_uartd_rx_timeout
+0x427e mem_app_state
+0x427f mem_app_handshake_flag
+0x4280 mem_sniff_param_interval
+0x4282 mem_sniff_param_attempt
+0x4284 mem_sniff_param_timeout
+0x4286 mem_cb_check_wakelock
+0x4288 mem_cb_before_hibernate
+0x428a mem_cb_before_lpm
+0x428c mem_cb_le_process
+0x428e mem_cb_bt_process
+0x4290 mem_cb_idle_process
+0x4292 mem_cb_bb_event_process
+0x4294 mem_cb_discovry_timeout
+0x4296 mem_cb_att_write
+0x4298 mem_cb_update_notify_value
+0x429a mem_device_nums
+0x429b mem_eeprom_base
+0x429d mem_unsniff2sniff_timer_count
+0x429e mem_wake_up_delay_timer
+0x429f mem_app_connection_options
+0x42a0 mem_app_disconn_reason
+0x42a2 mem_app_disconn_reason_flag
+0x42a4 mem_at_using_flag
+0x42a5 mem_lpm_delay_after_sniff
+0x42a9 mem_xrecord_mode
+0x42aa mem_eeprom_block_size
+0x42ac mem_baud
+0x42ae mem_hci_lt_rx_state
+0x42af mem_l2cap_xmem_start
+0x42af mem_l2cap_tx_multi_offset//0 means single packet
+0x42b1 mem_sdp_remote_cid
+0x42b3 mem_rfcomm_remote_cid
+0x42b5 mem_hid_ctrl_remote_cid
+0x42b7 mem_hid_int_remote_cid
+0x42b9 mem_sdp_state
+0x42ba mem_rfcomm_state
+0x42bb mem_hid_control_state
+0x42bc mem_hid_interrupt_state
+0x42bd mem_spp_state
+0x42be mem_ML2CAP_comm_id
+0x42bf mem_used_map
+0x42c0 mem_tx_fifo0
+0x42c0 mem_tx_fifo0_map
+0x42c1 mem_tx_fifo0_ptr
+0x42c3 mem_tx_fifo1
+0x42c3 mem_tx_fifo1_map
+0x42c4 mem_tx_fifo1_ptr
+0x42c6 mem_tx_fifo2
+0x42c6 mem_tx_fifo2_map
+0x42c7 mem_tx_fifo2_ptr
+0x42c9 mem_tx_fifo3
+0x42c9 mem_tx_fifo3_map
+0x42ca mem_tx_fifo3_ptr
+0x42cc mem_tx_fifo_end
+0x42cc mem_l2cap_lpm_txbuf
+0x43cc mem_l2cap_flow_ctrl_flag
+0x43cd mem_l2cap_pending_item
+0x43ce mem_l2cap_xmem_end
+0x43ce mem_le_dsniff
+0x43d0 mem_le_conn_interval
+0x43d2 mem_le_scan_enable
+0x43d3 mem_le_scan_interval
+0x43d5 mem_le_scan_window
+0x43d7 mem_le_adv_led
+0x43d8 mem_le_adv_enable
+0x43d9 mem_le_adv_data_len
+0x43da mem_le_adv_data
+0x43f9 mem_le_scan_data_len
+0x43fa mem_le_scan_data
+0x4419 mem_le_name_len
+0x441a mem_le_name
+0x442e mem_le_led_on_time
+0x442f mem_le_new_map
+0x4434 mem_le_new_param
+0x4434 mem_le_new_window
+0x4435 mem_le_new_offset
+0x4437 mem_le_new_interval
+0x4439 mem_le_new_latency
+0x443b mem_le_new_timeout
+0x443d mem_le_temp
+0x443e mem_le_txheader
+0x443f mem_le_txlen
+0x4440 mem_le_txpayload
+0x4442 mem_le_txcid
+0x4444 mem_le_l2cap
+0x4445 mem_le_l2cap_response
+0x4446 mem_le_txbdy
+0x4465 mem_le_pcnt_tx
+0x446a mem_le_pcnt_rx
+0x446f mem_le_last_mic
+0x4473 mem_le_ivm
+0x4477 mem_le_ivs
+0x447b mem_le_ltk
+0x448b mem_ltk_exists
+0x448c mem_le_rconfirm
+0x449c mem_le_srand
+0x44ac mem_le_iat
+0x44ad mem_le_rat
+0x44ae mem_le_preq
+0x44b5 mem_le_pres
+0x44bc mem_le_search_handle_start
+0x44be mem_le_search_handle_end
+0x44c0 mem_le_att_offset
+0x44c0 mem_le_search_att_type
+0x44c2 mem_le_notify_handle
+0x44c4 mem_le_uuid
+0x44c6 mem_le_handle_data_len
+0x44c7 mem_le_handle_data
+0x44d7 mem_le_adv_param
+0x44d7 mem_le_adv_interval_min
+0x44d9 mem_le_adv_interval_max
+0x44db mem_le_adv_type
+0x44dc mem_le_adv_own_addr_type
+0x44dd mem_le_adv_direct_addr_type
+0x44de mem_le_adv_direct_addr
+0x44e4 mem_le_adv_channel_map
+0x44e5 mem_le_adv_filter_policy
+0x44e6 mem_le_conn_param
+0x44e6 mem_le_conn_peer_addr_type
+0x44e7 mem_le_conn_peer_addr
+0x44ed mem_le_conn_own_addr_type
+0x44ee mem_le_conn_interval_min
+0x44f0 mem_le_conn_interval_max
+0x44f2 mem_le_conn_latency
+0x44f4 mem_le_conn_superto
+0x44f6 mem_le_scan_params
+0x44f6 mem_le_scan_type
+0x44f7 mem_le_scan_own_addr_type
+0x44f8 mem_le_scan_filter_policy
+0x44f9 mem_le_lap
+0x44fc mem_le_uap
+0x44fd mem_le_nap
+0x44ff mem_le_xtype_fifo
+0x4504 mem_le_att_list
+0x46f8 mem_le_switch_send_data
+0x46f9 mem_le_transmit_window
+0x46fd mem_lmp_version
+0x4700 mem_lmp_subversion
+0x4702 mem_local_name_length
+0x4703 mem_local_name
+0x4706 mem_local_name2
+0x4746 mem_local_name_end
+0x4747 mem_unsniff2sniff_timer
+0x4748 mem_switch_flag
+0x4749 mem_eeprom_ota_base_addr/*the start- writing addr in eeprom  */
+0x474b mem_pn_dlci
+0x474c mem_pn_max_frame_size
+0x474e memFCStemp1
+0x474f memFCStemp2
+0x4750 memFCStemp3
+0x4751 mem_rfcomm_initiator
+0x4752 mem_remote_spp_channel
+0x4753 mem_HIUfcs_SPP
+0x4754 mem_HIUfcs_SPP_WCredits
+0x4755 mem_rfcomm_send_more_pkt
+0x4756 mem_remote_credits
+0x4757 mem_credit_given
+0x4758 mem_ms_channel
+0x4759 memui_uuid_table
+0x475b mem_all_uuid_16bits
+0x4771 mem_all_uuid_128bits
+0x4793 mem_sp_local_key_invalid
+0x4794 mem_sp_private_key
+0x47ac mem_sp_pubkey_local
+0x47ac mem_sp_pubkey_local_x
+0x47c4 mem_sp_pubkey_local_x_end
+0x47c4 mem_sp_pubkey_local_y
+0x47dc mem_ssp_enable
+0x47dd mem_ipc_lock_bt
+0x47de mem_ipc_lock_c51
+0x47df mem_ipc_fifo_bt2c51
+0x47e4 mem_ipc_fifo_c512bt
+0x47e9 mem_led_switch
+0x47ea mem_ui_button_timer
+0x47eb mem_ui_button_last_state
+0x47ec mem_ui_timer_last_btclk
+0x47f0 mem_discovery_timeout_timer_count
+0x47f2 mem_hid_handshake_timer_count
+0x47f3 memui_reconnect_mode
+0x47f4 mem_ui_state_map
+0x47f6 mem_ui_profile_supported
+0x47f7 mem_led_gpio
+0x47f8 mem_led_dark_time
+0x47fa mem_led_light_time
+0x47fc mem_ui_button_timeout
+0x47fd mem_ui_button_gpio
+0x47fe mem_discovery_timeout
+0x4800 mem_ir_ptr
+0x4802 mem_ir_type
+0x4803 mem_ir_cmd
+0x4804 mem_ir_play_count
+0x4805 mem_ir_report_len
+0x4807 mem_ir_pulse_zero
+0x4808 mem_ir_pulse_one
+0x4809 mem_ir_pulses
+0x4825 mem_ir_sequence_len
+0x4826 mem_ir_sequence
+0x4800 mem_acl_credits
+0x4802 mem_allow_switch
+0x4803 mem_hci_acl_queue_start/*param_acl_pktcnt+2 byte*/
+0x4807 mem_hci_wake_clk
+0x4800 mem_kb_state
+0x4802 mem_kb_report_data
+0x4808 mem_kb_keys
+0x4809 mem_kb_rcv_led_data
+0x480a mem_kb_fast_wake_last
+0x480e mem_led_cap_gpio
+0x480f mem_led_num_gpio
+0x4810 mem_led_scl_gpio
+0x4811 mem_kb_map
+0x4811 mem_kb_uuid_list
+0x4a87 mem_24g_paring_tx_power_param
+0x4a91 mem_5db_tx_power_param
+0x4a9b mem_current_event
+0x4a9c mem_ipc_lock_rx_data_bt
+0x4a9d mem_ipc_lock_rx_data_c51
+0x4a9e mem_ipc_lock_tx_data_bt
+0x4a9f mem_ipc_lock_tx_data_c51
+0x4aa0 mem_ipc_2bt_fifo_head
+0x4b36 mem_ipc_2bt_fifo_end
+0x4b36 mem_ipc_2C51_fifo_head
+0x4b9a mem_ipc_2C51_fifo_end
+0x4b9a mem_ipc_2bt_read_index
+0x4b9c mem_ipc_2bt_write_index
+0x4b9e mem_ipc_2C51_read_index
+0x4ba0 mem_ipc_2C51_write_index
+0x4ba2 mem_ipc_tx_evt_buff
+0x4ba4 mem_ipc_tx_evt
+0x4ba5 mem_ipc_bt_timer
+0x4ba7 mem_ipc_rx_type
+0x4ba8 mem_rfcomm_tx_buff
+0x4ba8 mem_queue_ele_num
+0x4ba9 mem_queue_write
+0x4bab mem_queue_read
+0x4bad mem_queue_start
+0x4bad mem_uart_packet
+0x4bb9 mem_data_ele0
+0x4bc5 mem_data_ele1
+0x4bd1 mem_data_ele2
+0x4bdd mem_queue_end
+0x4bdd mem_queue_temp
+0x4bdf mem_24g_rxdata_length
+0x4be0 mem_24g_pid
+0x4be1 mem_24g_datalen
+0x4be2 mem_24g_data_type
+0x4be3 mem_24g_txlen
+0x4be4 mem_24g_rx_window
+0x4be6 mem_24g_ensure
+0x4be7 mem_24g_get_ack_fail
+0x4be8 mem_24g_retry
+0x4be9 mem_24g_ch
+0x4bea mem_24g_current_ch_number
+0x4beb mem_24g_paring_addr
+0x4bef mem_24g_pairing_sm
+0x4bf0 mem_24g_ch_map1
+0x4bf4 mem_24g_ch_map2
+0x4bf8 mem_24g_ch_map3
+0x4bfc mem_24g_ch_map4
+0x4c00 mem_24g_addr
+0x4c04 mem_24g_check_dongle_times
+0x4c06 mem_24g_device_addr
+0x4c0a mem_24g_no_ack
+0x4c0b mem_24g_sta_crc
+0x4c0e mem_24g_sta_pid
+0x4c0f mem_24g_max_retry
+0x4c10 mem_24g_mode
+0x4c11 mem_24g_hop_pac_retry
+0x4c12 mem_24g_idle_timeout
+0x4c13 mem_24g_idle_cnt
+0x4c14 mem_24g_auto_paring_switch
+0x4c15 mem_24g_enter_lpm_timer
+0x4c16 mem_24g_syncword
+0x4c18 mem_24g_syncword_crc8
+0x4c19 mem_24g_get_syncword_crc8
+0x4c1a mem_24g_discard_cnt
+0x4c1c mem_cb_24g_data
+0x4c1e mem_24g_lasttx
+0x4c27 mem_power_ctrl_pac_succ_cnt
+0x4c28 mem_power_ctrl_level
+0x4c29 mem_rssi_avg_received
+0x4c2a mem_rssi_hex_received
+0x4c2b mem_rssi_signal_buf
+0x4c33 mem_rssi_noise_buf
+0x4c3b mem_rssi_noise_index
+0x4c3c mem_rssi_signal_index
+0x4c3d mem_tx_power
+0x4c3e mem_tx_power_temp
+0x4c3f mem_cnt
+0x4c42 mem_last_txlch
+0x4c43 mem_last_txlen
+0x4c45 mem_last_txdata
+0x4c59 mem_ipc_last_check_timer
+0x4c5d mem_prepare_write_len
+0x4c5e mem_ipc_c51_timer
+0x4c60 mem_le_rx_window
+0x4c61 mem_le_find_type_value_start_handle
+0x4c63 mem_le_find_type_value_end_handle
+0x4c65 mem_le_cur_att_type
+0x4c67 mem_le_search_len
+0x4c68 mem_le_ll_unknown_type
+0x4c69 mem_le_pairing_state
+0x4c6a mem_le_local_mtu
+0x4c6c mem_le_connection_updata_param
+0x4c7c mem_ltk_states
+0x4c7d mem_pair_state
+0x4c7e mem_empty_count
+0x4c7f mem_shutter_find_type_value_flag
+0x4c80 mem_le51_payload_len
+0x4c81 mem_le51_cmd
+0x4c82 mem_le51_tx_length
+0x4c83 mem_le51_txbuff_inuse
+0x4c84 mem_le51_txbuf
+0x4c8d mem_ipc_bt_100ms_timer
+0x4c8e mem_ipc_c51_100ms_timer
+0x4c8f mem_adc_config_flag
+0x4c90 mem_adc_channel
+0x4c91 mem_adc_0v
+0x4c93 mem_adc_3v
+0x4c95 mem_adc_current_value
+0x4c97 mem_hibernate_flag
+0x4c98 mem_new_supervision_to
+0x4c9a mem_kb_wake_timer
+0x4c9b mem_kb_last_data
+0x4caf mem_kb_keycount
+0x4cb0 mem_led_cap_delay_timer
+0x4cb1 mem_test
+0x4cb4 mem_seq
+0x4cb5 mem_recon_index
+0x4cb6 mem_power_on_flag
+0x4cb7 mem_caps_num_lock
+0x4cb8 mem_att_report1
+0x4cba mem_att_report2
+0x4cbc mem_att_report3
+0x4cbe mem_suspend_flag
+0x4cbf mem_32asm_data_end
+0x4d37 mem_store_ltk_timer
+0x4d38 mem_reconnect_continue
+0x4d39 mem_le_pin_code
+0x4d3d mem_24g_enter_hibernate
+0x4d45 mem_24g_txfail_cnt
+0x4d46 mem_mouse_retry_flag
+0x4d47 mem_24g_led_flag
+0x4d48 mem_ui_timer_last_btclk_temp
+0x4d4c mem_ui_check_timer_setup
+0x4d50 mem_customize_timer_setup
+0x4d52 mem_customize_timer
+0x4d53 mem_version_yy_mm_dd
+0x4800 mem_at_gpio
+0x4801 mem_module_wake_up_gpio
+0x4802 mem_module_state_gpio
+0x4803 mem_module_connect_state_gpio
+0x4804 mem_module_version
+0x480a mem_last_uart_clock
+0x480e mem_current_packet_length
+0x4810 mem_module_prepare_tx_len
+0x4812 mem_module_state
+0x4813 mem_module_task
+0x4814 mem_cmode_addr
+0x481a mem_at_scan_time
+0x481c mem_prarm_pswd
+0x4820 mem_prarm_uart
+0x4824 mem_prarm_blename
+0x4827 mem_prarm_name
+0x482b mem_prarm_bleadss
+0x482e mem_prarm_adss
+0x4832 mem_prarm_vers
+0x4836 mem_prarm_class
+0x483b mem_prarm_clrflg
+0x4841 mem_prarm_reconn
+0x4847 mem_prarm_bledis
+0x4849 mem_prarm_dis
+0x484c mem_prarm_stsn
+0x4850 mem_prarm_atp
+0x4853 mem_prarm_list
+0x4857 mem_prarm_role
+0x485b mem_prarm_sniff
+0x4860 mem_prarm_ldev
+0x4864 mem_prarm_rssi
+0x4868 mem_prarm_cdev
+0x486c mem_prarm_bleinqr
+0x486f mem_prarm_inqr
+0x4873 mem_prarm_cmode
+0x4878 mem_prarm_mode
+0x487c mem_prarm_dmstate
+0x4883 mem_prarm_discov
+0x4889 mem_prarm_ota
+0x488c mem_prarm_bleconn
+0x488e mem_prarm_conn
+0x4892 mem_prarm_pageout
+0x4899 mem_prarm_recfail
+0x48a0 mem_module_uuid_list
+0x4800 mem_mouse_x
+0x4802 mem_mouse_y
+0x4804 mem_mouse_z
+0x4805 mem_mouse_key
+0x4806 mem_mouse_z_last
+0x4807 mem_mouse_z_before
+0x4808 mem_mouse_z_now
+0x4809 mem_mouse_z_data
+0x480a mem_mouse_move_flag
+0x480b mem_reconnect_timeout
+0x480c mem_mouse_direct_timeout
+0x480e mem_mouse_no_data_timeout
+0x4810 mem_mouse_blank_data_timeout
+0x4812 mem_mouse_discovery_timer
+0x4814 mem_mouse_direct_timer
+0x4816 mem_mouse_no_data_timer
+0x4818 mem_mouse_blank_data_timer
+0x481a mem_mouse_send_blank_timer
+0x481b mem_mouse_dpi
+0x481c mem_mouse_dpi_button_state
+0x481d mem_mouse_test_cnt
+0x481e mem_le_hibernate_timer
+0x4820 mem_mouse_mode_state
+0x4821 mem_sensor_type
+0x4822 mem_lbutton_gpio
+0x4823 mem_rbutton_gpio
+0x4824 mem_mbutton_gpio
+0x4825 mem_dpi_button_gpio
+0x4826 mem_sensor_data_gpio
+0x4827 mem_whee_a_data_gpio
+0x4828 mem_whee_b_data_gpio
+0x4829 mem_conn_cnt
+0x482a mem_mouse_uuid_list
+0x4800 mem_shutter_send_data
+0x4804 mem_shutter_key_temp
+0x4805 mem_shutter_send_length
+0x4806 mem_shutter_clkn_bt_last
+0x480a mem_shutter_key
+0x480b mem_shutter_flag
+0x480c mem_shutter_cable_unplug_conut
+0x480d mem_shutter_hid_disconn_count
+0x480e mem_shutter_1key_send_sm
+0x480f mem_shutter_iphonekey_gpio
+0x4810 mem_shutter_androidkey_gpio
+0x4811 mem_shutter_key_number
+0x4812 mem_shutter_uuid_list
Index: KG9013/btkb/output/otp.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/otp.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/otp.dat	(working copy)
@@ -0,0 +1,8 @@
+00
+02
+aa
+55
+00
+00
+b3
+23
Index: KG9013/btkb/output/program.lis
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/program.lis	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/program.lis	(working copy)
@@ -0,0 +1,27560 @@
+include "bt_format "
+org 0x0000
+0000 c512800f bmark1 mark_ext_patch ,patch_ext 
+0001 c0000017 beq patch00_0 ,p_soft_reset 
+0002 c001801b beq patch00_3 ,p_main_loop 
+0003 c002801f beq patch00_5 ,p_main_loop_end 
+0004 c048015c beq patch12_0 ,p_shutdown_radio 
+0005 c0490126 beq patch12_2 ,p_set_freq_rx 
+0006 c04a012c beq patch12_4 ,p_set_freq_tx 
+0007 c04a8116 beq patch12_5 ,p_initialize_radio_cont 
+0008 c05800d8 beq patch16_0 ,p_lpm_sleep 
+0009 c05880da beq patch16_1 ,p_lpm_recover_clk 
+000a c05900ee beq patch16_2 ,p_lpm_dispatch 
+000b c0598108 beq patch16_3 ,p_lpm_dispatch_next 
+000c c05b0111 beq patch16_6 ,p_lpm_dispatch_unconn 
+000d c05c80e2 beq patch17_1 ,p_lpm_cal_xtal_startup 
+000e 20203bf1 branch assert 
+
+patch_ext:
+000f c01f01cf beq patch27_6 ,p_le_enable 
+0010 c01f81d3 beq patch27_7 ,p_le_disable 
+0011 c04380b6 beq patch30_7 ,p_ui_timer_check 
+0012 c04681e1 beq patch31_5 ,p_check_51cmd_once 
+0013 c04781d7 beq patch31_7 ,p_check_enter_hibernate 
+0014 c0668166 beq patch39_5 ,p_kb_init 
+0015 c06800c2 beq patch3a_0 ,p_kb_bb_event_timer 
+0016 20203bf1 branch assert 
+
+p_soft_reset:
+0017 6810813b hfetch 1 ,0x813b 
+0018 60008b81 store 1 ,mem_wakup_from_power_flag 
+0019 70800608 hjam lock_otp ,core_misc_ctrl 
+001a 20203003 branch soft_reset + 2 
+
+p_main_loop:
+001b 20400051 call p_ipc_timer_check 
+001c 20400043 call p_ui_check_timer_setup 
+001d 20400024 call p_ipc_rx 
+001e 20203015 branch main_loop + 2 
+
+p_main_loop_end:
+001f 20403392 call inquiry_scan_dispatch 
+0020 20403407 call page_scan_dispatch 
+0021 20403024 call connection_dispatch 
+0022 204001f4 call p_g24_dispatch 
+0023 20203022 branch main_loop + 15 
+
+p_ipc_rx:
+
+p_ipc_rx0:
+0024 204000b1 call p_check_ipc_2bt 
+0025 20740000 rtn user 
+0026 1ff0fe00 byteswap pdata ,pdata 
+0027 1fe20c00 copy pdata ,contr 
+0028 20400092 call p_ipc_rx_byte 
+0029 6000cba7 store 1 ,mem_ipc_rx_type 
+002a c0008037 beq ipc_type_cmd ,p_ipc_rx_cmd 
+002b c0030041 beq ipc_type_24g ,p_ipc_rx_24g 
+002c 1fe20400 copy pdata ,temp 
+002d 18c22200 copy contr ,rega 
+002e 6800c040 fetch 1 ,mem_context 
+002f c3000034 bbit0 state_inconn ,p_ipc_abondon_rx_data 
+0030 1a220c00 copy rega ,contr 
+0031 c6848000 rtnmark0 mark_context 
+0032 18427e00 copy temp ,pdata 
+0033 20600000 rtn 
+
+p_ipc_abondon_rx_data:
+0034 1a220c00 copy rega ,contr 
+0035 d8a000f8 arg mem_tst_pktcnt_sync ,contw 
+0036 2020008a branch p_ipc_rx_cpy 
+
+p_ipc_rx_cmd:
+0037 20400092 call p_ipc_rx_byte 
+0038 20400092 call p_ipc_rx_byte 
+0039 60008b7d store 1 ,mem_fifo_temp 
+003a 2040003c call p_ipc_next_rx 
+003b 20207c33 branch ui_ipc_send_cmd 
+
+p_ipc_next_rx:
+003c 20400095 call p_ipc_rx_updata_contr 
+003d 18c20400 copy contr ,temp 
+003e 18508400 byteswap temp ,temp 
+003f 60094b9a storet 2 ,mem_ipc_2bt_read_index 
+0040 20600000 rtn 
+
+p_ipc_rx_24g:
+0041 d8a00cd5 arg mem_24g_txbuf ,contw 
+0042 2020008a branch p_ipc_rx_cpy 
+
+p_ui_check_timer_setup:
+0043 680a4d4c fetcht 4 ,mem_ui_check_timer_setup 
+0044 1c427e00 copy clkn_bt ,pdata 
+0045 98467e00 isub temp ,pdata 
+0046 68094d50 fetcht 2 ,mem_customize_timer_setup 
+0047 9846fc00 idiv temp 
+0048 20407efd call wait_div_end 
+0049 1807fe00 quotient pdata 
+004a 207a0000 rtn blank 
+004b 1c420400 copy clkn_bt ,temp 
+004c 600a4d4c storet 4 ,mem_ui_check_timer_setup 
+004d 6800cd52 fetch 1 ,mem_customize_timer 
+004e 1fe0fe01 increase 1 ,pdata 
+004f 6000cd52 store 1 ,mem_customize_timer 
+0050 20600000 rtn 
+
+p_ipc_timer_check:
+0051 680a4c59 fetcht 4 ,mem_ipc_last_check_timer 
+0052 1c427e00 copy clkn_bt ,pdata 
+0053 98467e00 isub temp ,pdata 
+0054 d8400640 arg 1600 ,temp 
+0055 9846fc00 idiv temp 
+0056 20407efd call wait_div_end 
+0057 1807fe00 quotient pdata 
+0058 207a0000 rtn blank 
+0059 1c420400 copy clkn_bt ,temp 
+005a 600a4c59 storet 4 ,mem_ipc_last_check_timer 
+005b 68094ba5 fetcht 2 ,mem_ipc_bt_timer 
+005c 18508400 byteswap temp ,temp 
+005d 9840fe00 iadd temp ,pdata 
+005e 1ff0fe00 byteswap pdata ,pdata 
+005f 60014ba5 store 2 ,mem_ipc_bt_timer 
+0060 1ff0fe00 byteswap pdata ,pdata 
+0061 1fe17e03 and pdata ,0x3 ,pdata 
+0062 c1800000 rtnne 0 
+0063 6800cc8f fetch 1 ,mem_adc_config_flag 
+0064 c280006e bbit1 adc_config_vinlpm ,p_adc_check_vinlpm 
+0065 c2808070 bbit1 adc_config_hvin ,p_adc_check_hvin 
+
+p_adc_check_gpio:
+0066 da200000 arg 0 ,rega 
+0067 20400081 call p_setup_adc_gpio_pu_setup 
+0068 7089718f hjam 0x8f ,rf_adc_mode 
+0069 6800cc90 fetch 1 ,mem_adc_channel 
+006a 60108973 hstore 1 ,rf_adc_ch 
+006b 20400071 call p_read_adc 
+006c da200001 arg 1 ,rega 
+006d 20200081 branch p_setup_adc_gpio_pu_setup 
+
+p_adc_check_vinlpm:
+006e 708971bf hjam 0xbf ,rf_adc_mode 
+006f 20200071 branch p_read_adc 
+
+p_adc_check_hvin:
+0070 708971af hjam 0xaf ,rf_adc_mode 
+
+p_read_adc:
+0071 68108053 hfetch 1 ,core_uart_baud + 1 
+0072 79207e07 set1 7 ,pdata 
+0073 60108053 hstore 1 ,core_uart_baud + 1 
+0074 68108973 hfetch 1 ,rf_adc_ch 
+0075 1fe1fe30 or_into 0x30 ,pdata 
+0076 60108973 hstore 1 ,rf_adc_ch 
+0077 7089067c hjam 0x7c ,rfen_adc 
+0078 708972aa hjam 0xaa ,rf_adc_gc 
+0079 20001388 nop 5000 
+007a 68190150 hfetcht 2 ,core_adc_sum 
+007b 68108053 hfetch 1 ,core_uart_baud + 1 
+007c 793ffe07 set0 7 ,pdata 
+007d 60108053 hstore 1 ,core_uart_baud + 1 
+007e 18508400 byteswap temp ,temp 
+007f 60094c95 storet 2 ,mem_adc_current_value 
+0080 20600000 rtn 
+
+p_setup_adc_gpio_pu_setup:
+0081 d8400021 arg 0x21 ,temp 
+0082 6800cc90 fetch 1 ,mem_adc_channel 
+0083 98460400 isub temp ,temp 
+0084 1a227e00 copy rega ,pdata 
+0085 79200407 set1 gpio_active_bit ,temp 
+0086 243a0088 nbranch p_setup_adc_gpio_pu_setup_exit ,blank 
+0087 793f8407 set0 gpio_active_bit ,temp 
+
+p_setup_adc_gpio_pu_setup_exit:
+0088 d8a08078 arg core_gpio_pu0 ,contw 
+0089 202069f4 branch gpio_set_bit 
+
+p_ipc_rx_cpy:
+008a 20400092 call p_ipc_rx_byte 
+008b 1fe27200 copy pdata ,loopcnt 
+
+p_ipc_copy:
+008c 2040008e call p_ipc_cpy_loop 
+008d 2020003c branch p_ipc_next_rx 
+
+p_ipc_cpy_loop:
+008e 20400092 call p_ipc_rx_byte 
+008f e0a08000 istore 1 ,contw 
+0090 c200008e loop p_ipc_cpy_loop 
+0091 20600000 rtn 
+
+p_ipc_rx_byte:
+0092 20400095 call p_ipc_rx_updata_contr 
+0093 e8c08000 ifetch 1 ,contr 
+0094 20600000 rtn 
+
+p_ipc_rx_updata_contr:
+0095 58004b36 setarg mem_ipc_2bt_fifo_end 
+0096 98c67c00 isub contr ,null 
+0097 24628000 nrtn zero 
+0098 d8c04aa0 arg mem_ipc_2bt_fifo_head ,contr 
+0099 20600000 rtn 
+
+p_ipc_tx_evt:
+009a df200003 arg 3 ,loopcnt 
+009b d8c04ba2 arg mem_ipc_tx_evt_buff ,contr 
+
+p_ipc_tx_cpy:
+009c 18c22200 copy contr ,rega 
+009d 68014ba0 fetch 2 ,mem_ipc_2c51_write_index 
+009e 1ff0fe00 byteswap pdata ,pdata 
+009f 1fe20a00 copy pdata ,contw 
+00a0 1a220c00 copy rega ,contr 
+
+p_ipc_tx_loop:
+00a1 e8c08000 ifetch 1 ,contr 
+00a2 e0a08000 istore 1 ,contw 
+00a3 204000a9 call p_ipc_tx_updata_contw 
+00a4 c20000a1 loop p_ipc_tx_loop 
+00a5 18a27e00 copy contw ,pdata 
+00a6 1ff0fe00 byteswap pdata ,pdata 
+00a7 60014ba0 store 2 ,mem_ipc_2c51_write_index 
+00a8 20600000 rtn 
+
+p_ipc_tx_updata_contw:
+00a9 58004b9a setarg mem_ipc_2c51_fifo_end 
+00aa 98a67c00 isub contw ,null 
+00ab 24628000 nrtn zero 
+00ac d8a04b36 arg mem_ipc_2c51_fifo_head ,contw 
+00ad 20600000 rtn 
+
+p_check_ipc_2c51:
+00ae 68014b9e fetch 2 ,mem_ipc_2c51_read_index 
+00af 68094ba0 fetcht 2 ,mem_ipc_2c51_write_index 
+00b0 202000b3 branch p_check_ipc_common 
+
+p_check_ipc_2bt:
+00b1 68014b9a fetch 2 ,mem_ipc_2bt_read_index 
+00b2 68094b9c fetcht 2 ,mem_ipc_2bt_write_index 
+
+p_check_ipc_common:
+00b3 98467c00 isub temp ,null 
+00b4 2022e9b1 branch enable_usr ,zero 
+00b5 2020320b branch disable_usr 
+
+p_ui_timer_check:
+00b6 1c427e00 copy clkn_bt ,pdata 
+00b7 60024d48 store 4 ,mem_ui_timer_last_btclk_temp 
+00b8 6808c7ef fetcht 1 ,mem_ui_timer_last_btclk + 3 
+00b9 6800cd4b fetch 1 ,mem_ui_timer_last_btclk_temp + 3 
+00ba 98467c00 isub temp ,null 
+00bb 244100bd ncall p_ui_timer_reinit ,positive 
+00bc 20207c06 branch ui_timer_check + 2 
+
+p_ui_timer_reinit:
+00bd 680a4d48 fetcht 4 ,mem_ui_timer_last_btclk_temp 
+00be 600a47ec storet 4 ,mem_ui_timer_last_btclk 
+00bf 600a4c59 storet 4 ,mem_ipc_last_check_timer 
+00c0 600a4d4c storet 4 ,mem_ui_check_timer_setup 
+00c1 20600000 rtn 
+
+p_kb_bb_event_timer:
+00c2 60088259 storet 1 ,mem_app_evt_timer_count 
+00c3 6800cc8d fetch 1 ,mem_ipc_bt_100ms_timer 
+00c4 1fe0fe01 increase 1 ,pdata 
+00c5 6000cc8d store 1 ,mem_ipc_bt_100ms_timer 
+
+p_kb_bb_event_100ms_loop:
+00c6 68008259 fetch 1 ,mem_app_evt_timer_count 
+00c7 207a0000 rtn blank 
+00c8 1fe0ffff increase -1 ,pdata 
+00c9 60008259 store 1 ,mem_app_evt_timer_count 
+00ca 204000cc call p_kb_long_sleep_timer 
+00cb 202000c6 branch p_kb_bb_event_100ms_loop 
+
+p_kb_long_sleep_timer:
+00cc 6800cc15 fetch 1 ,mem_24g_enter_lpm_timer 
+00cd 207a0000 rtn blank 
+00ce 1fe0ffff increase -1 ,pdata 
+00cf 6000cc15 store 1 ,mem_24g_enter_lpm_timer 
+00d0 20600000 rtn 
+
+p_c51_user_event:
+00d1 1a627e00 copy regc ,pdata 
+00d2 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+00d3 c1280000 rtneq bt_evt_timer_init 
+00d4 1a627e00 copy regc ,pdata 
+00d5 207a0000 rtn blank 
+00d6 6000cba4 store 1 ,mem_ipc_tx_evt 
+00d7 2020009a branch p_ipc_tx_evt 
+
+p_lpm_sleep:
+00d8 20403b36 call xtal_fast_wake 
+00d9 20203cdc branch lpm_sleep + 2 
+
+p_lpm_recover_clk:
+00da 70416e7f jam 0x7f ,mem_seqi 
+00db 20403cf3 call lpm_recover_clk + 2 
+00dc 6800cc97 fetch 1 ,mem_hibernate_flag 
+00dd 207a0000 rtn blank 
+00de 704c9700 jam 0 ,mem_hibernate_flag 
+00df 1c427e00 copy clkn_bt ,pdata 
+00e0 60024c59 store 4 ,mem_ipc_last_check_timer 
+00e1 20600000 rtn 
+
+p_lpm_cal_xtal_startup:
+00e2 6800c219 fetch 1 ,mem_lpm_xtalcnt 
+00e3 247a0000 nrtn blank 
+00e4 70804206 hjam clksel_rc ,core_clksel 
+00e5 58000f0c setarg 0xf0c 
+00e6 20403da7 call lpm_write_config 
+00e7 58030d40 setarg 200000 
+00e8 20403bf3 call sleep 
+00e9 37d98200 until null ,lpo_edge 
+00ea 1e226000 copy lpo_time ,alarm 
+00eb 20403b36 call xtal_fast_wake 
+00ec 20001388 nop 5000 
+00ed 20203d9d branch lpm_cal_xtal_startup + 12 
+
+p_lpm_dispatch:
+00ee c6118000 rtnmark1 mark_24g 
+00ef 680147f4 fetch 2 ,mem_ui_state_map 
+00f0 c284bd1e bbit1 ui_state_ble_connected ,lpm_dispatch + 2 
+00f1 20403cab call lpo_calibration 
+00f2 6801c210 fetch 3 ,mem_clks_per_lpo 
+00f3 207a0000 rtn blank 
+00f4 6800c131 fetch 1 ,mem_lpm_mode 
+00f5 207a0000 rtn blank 
+00f6 2040527e call l2cap_malloc_is_fifo_empty 
+00f7 247a0000 nrtn blank 
+00f8 20403dca call lpm_check_wake_lock 
+00f9 247a0000 nrtn blank 
+00fa 20403b36 call xtal_fast_wake 
+00fb 6800c7dc fetch 1 ,mem_ssp_enable 
+00fc 203a3d25 branch lpm_dispatch0 ,blank 
+00fd 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+00fe 207a0000 rtn blank 
+00ff 20203d25 branch lpm_dispatch0 
+
+p_check_ipc_for_lpm:
+0100 204000b1 call p_check_ipc_2bt 
+0101 24740000 nrtn user 
+0102 204000ae call p_check_ipc_2c51 
+0103 24740000 nrtn user 
+0104 700b7f01 jam 1 ,mem_c51_lpm_lock 
+0105 700b7e01 jam syc_task_lpm ,mem_c51_flag 
+0106 2040010d call p_c51_wait 
+0107 202000b1 branch p_check_ipc_2bt 
+
+p_lpm_dispatch_next:
+0108 20400100 call p_check_ipc_for_lpm 
+0109 24740000 nrtn user 
+010a 68008b7f fetch 1 ,mem_c51_lpm_lock 
+010b 247a0000 nrtn blank 
+010c 20203d2d branch lpm_dispatch1 
+
+p_c51_wait:
+010d 68008b7e fetch 1 ,mem_c51_flag 
+010e 2000000a nop 10 
+010f c080010d bne 0 ,p_c51_wait 
+0110 20600000 rtn 
+
+p_lpm_dispatch_unconn:
+0111 20400100 call p_check_ipc_for_lpm 
+0112 24740000 nrtn user 
+0113 68008b7f fetch 1 ,mem_c51_lpm_lock 
+0114 247a0000 nrtn blank 
+0115 20203d4f branch lpm_dispatch_unconn + 2 
+
+p_initialize_radio_cont:
+0116 20400118 call p_switchto_dpllclk 
+0117 20203aaf branch initialize_radio_cont + 4 
+
+p_switchto_dpllclk:
+0118 6800c219 fetch 1 ,mem_lpm_xtalcnt 
+0119 243a011e nbranch p_switchdpll_nocal ,blank 
+011a 20403d91 call lpm_cal_xtal_startup 
+011b 20007530 nop 30000 
+011c 20007530 nop 30000 
+011d 20007530 nop 30000 
+
+p_switchdpll_nocal:
+011e 20403b0a call switchto_dpllclk 
+011f 70804204 hjam clksel_xtal ,core_clksel 
+0120 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+0121 1fe17ecf and_into 0xcf ,pdata 
+0122 6010896b hstore 1 ,rf_clkpll_frac + 2 
+0123 1fe1fe30 or_into 0x30 ,pdata 
+0124 6010896b hstore 1 ,rf_clkpll_frac + 2 
+0125 20600000 rtn 
+
+p_set_freq_rx:
+0126 60088017 storet 1 ,mem_last_freq 
+0127 1840a204 add temp ,rx_freq_offset ,rega 
+0128 20203a86 branch set_freq_rx + 4 
+
+p_set_freq_tx_common:
+0129 60088017 storet 1 ,mem_last_freq 
+012a 1840a200 add temp ,0 ,rega 
+012b 20203ab6 branch rf_write_freq 
+
+p_set_freq_tx:
+012c 20400129 call p_set_freq_tx_common 
+012d 58000500 setarg param_pll_setup 
+012e 20403bf3 call sleep 
+
+p_txon:
+012f 70890601 hjam 0x1 ,rfen_adc 
+0130 7089003c hjam 0x3c ,rfen_rx 
+0131 708901e0 hjam 0xe0 ,rfen_tx 
+0132 70896d12 hjam 0x12 ,0x96d 
+0133 2000000a nop 10 
+0134 70890201 hjam 0x01 ,rfen_mdm 
+0135 7089023d hjam 0x3d ,rfen_mdm 
+0136 2000000a nop 10 
+0137 708903b7 hjam 0xb7 ,rfen_sn 
+0138 2000000a nop 10 
+0139 7089027d hjam 0x7d ,rfen_mdm 
+013a 6800cbef fetch 1 ,mem_24g_pairing_sm 
+013b c0ff8144 bne state_24g_pairing_success ,p_txpower_0dbm 
+013c 6802ca91 fetch 5 ,mem_5db_tx_power_param 
+013d e0a28000 istore 5 ,contw 
+013e e8c28000 ifetch 5 ,contr 
+013f e0a28000 istore 5 ,contw 
+0140 708956df hjam 0xdf ,0x956 
+0141 2040014b call p_set_tx_step_power 
+0142 708955df hjam 0xdf ,0x955 
+0143 20600000 rtn 
+
+p_txpower_0dbm:
+0144 6802ca87 fetch 5 ,mem_24g_paring_tx_power_param 
+0145 e0a28000 istore 5 ,contw 
+0146 e8c28000 ifetch 5 ,contr 
+0147 e0a28000 istore 5 ,contw 
+0148 708956c2 hjam 0xc2 ,0x956 
+0149 708955d0 hjam 0xd0 ,0x955 
+014a 20600000 rtn 
+
+p_set_tx_step_power:
+014b 20000004 nop 4 
+014c 708955d1 hjam 0xd1 ,0x955 
+014d 20000004 nop 4 
+014e 708955d2 hjam 0xd2 ,0x955 
+014f 20000004 nop 4 
+0150 708955d4 hjam 0xd4 ,0x955 
+0151 20000004 nop 4 
+0152 20600000 rtn 
+
+p_tx_ramp_down_common:
+0153 708955d4 hjam 0xd4 ,0x955 
+0154 20000004 nop 4 
+0155 708955d2 hjam 0xd2 ,0x955 
+0156 20000004 nop 4 
+0157 708955d1 hjam 0xd1 ,0x955 
+0158 20000004 nop 4 
+0159 708955d0 hjam 0xd0 ,0x955 
+015a 708956c0 hjam 0xc0 ,0x956 
+015b 20600000 rtn 
+
+p_shutdown_radio:
+015c 2030ba6f branch shutdown_radio + 2 ,is_rx 
+015d 20400153 call p_tx_ramp_down_common 
+015e 20203a6f branch shutdown_radio + 2 
+
+p_kb_before_hibernate:
+015f 78347c00 enable user 
+0160 68120138 hfetch 4 ,0x8138 
+0161 79347e1a setflag user ,26 ,pdata 
+0162 6012004c hstore 4 ,core_lpm_reg 
+0163 20403db0 call lpm_write_ctrl 
+0164 7000a201 jam 1 ,mem_lpm_current_mult 
+
+p_kb_bt_lpm_before:
+0165 20600000 rtn 
+
+p_kb_init:
+0166 700b7e00 jam 0 ,mem_c51_flag 
+0167 70017706 jam 6 ,mem_connection_options 
+0168 20403fa4 call app_lpm_mult_enable 
+0169 58000165 setarg p_kb_bt_lpm_before 
+016a 6001428a store 2 ,mem_cb_before_lpm 
+016b 580000d1 setarg p_c51_user_event 
+016c 60014292 store 2 ,mem_cb_bb_event_process 
+016d 580001d6 setarg p_mouse_idle 
+016e 60014290 store 2 ,mem_cb_idle_process 
+016f 58000024 setarg p_ipc_rx 
+0170 6001428c store 2 ,mem_cb_le_process 
+0171 5800015f setarg p_kb_before_hibernate 
+0172 60014288 store 2 ,mem_cb_before_hibernate 
+0173 58004aa0 setarg mem_ipc_2bt_fifo_head 
+0174 1ff0fe00 byteswap pdata ,pdata 
+0175 60014b9a store 2 ,mem_ipc_2bt_read_index 
+0176 60014b9c store 2 ,mem_ipc_2bt_write_index 
+0177 20403e0b call lpm_disable_exen_output 
+0178 58004b36 setarg mem_ipc_2c51_fifo_head 
+0179 1ff0fe00 byteswap pdata ,pdata 
+017a 60014b9e store 2 ,mem_ipc_2c51_read_index 
+017b 60014ba0 store 2 ,mem_ipc_2c51_write_index 
+017c 6800cc97 fetch 1 ,mem_hibernate_flag 
+017d c02d0194 beq 0x5a ,p_device_init_init_hibwake 
+017e 20358192 branch p_deveice_init_wake ,wake 
+017f 68014c91 fetch 2 ,mem_adc_0v 
+0180 1ff0fe00 byteswap pdata ,pdata 
+0181 60014c91 store 2 ,mem_adc_0v 
+0182 68014c93 fetch 2 ,mem_adc_3v 
+0183 1ff0fe00 byteswap pdata ,pdata 
+0184 60014c93 store 2 ,mem_adc_3v 
+0185 2040019f call p_init_adc_from_otp 
+0186 680402a0 fetch 8 ,mem_temp 
+0187 243a018c nbranch p_deveice_init_reset ,blank 
+0188 68014ad4 fetch 2 ,0x4ad4 
+0189 1ff0fe00 byteswap pdata ,pdata 
+018a 203a018c branch p_deveice_init_reset ,blank 
+018b 60014c93 store 2 ,mem_adc_3v 
+
+p_deveice_init_reset:
+018c 204001f1 call p_le_queue_init 
+018d 704ba42f jam bt_evt_reset ,mem_ipc_tx_evt 
+
+p_device_init_common:
+018e 2040009a call p_ipc_tx_evt 
+018f 704c9700 jam 0 ,mem_hibernate_flag 
+0190 70828003 hjam start_c51_core ,core_docd_ctrl 
+0191 20600000 rtn 
+
+p_deveice_init_wake:
+0192 704ba430 jam bt_evt_wakeup ,mem_ipc_tx_evt 
+0193 2020018e branch p_device_init_common 
+
+p_device_init_init_hibwake:
+0194 1ce27e00 copy auxcnt ,pdata 
+0195 203a01d9 branch p_enter_hibernate_continue ,blank 
+0196 20405b63 call init_lmp_work 
+0197 20404d99 call l2cap_init_work 
+0198 58000000 setarg 0 
+0199 60044040 store 8 ,mem_context 
+019a 600147f4 store 2 ,mem_ui_state_map 
+019b 1c427e00 copy clkn_bt ,pdata 
+019c 60024c59 store 4 ,mem_ipc_last_check_timer 
+019d 704ba433 jam bt_evt_hibernate_wake ,mem_ipc_tx_evt 
+019e 2020018e branch p_device_init_common 
+
+p_init_adc_from_otp:
+019f 2040688a call otp_enable_chgpump 
+01a0 580007e2 setarg 0x7e2 
+01a1 da2002a0 arg mem_temp ,rega 
+01a2 d840000c arg 12 ,temp 
+01a3 204068d3 call otpd_read_data 
+01a4 2040688d call otp_disable_chgpump 
+01a5 680402a0 fetch 8 ,mem_temp 
+01a6 207a0000 rtn blank 
+01a7 6800cc8f fetch 1 ,mem_adc_config_flag 
+01a8 c28001b1 bbit1 adc_config_vinlpm ,p_calc_adc_base_vinlpm 
+01a9 c28081bf bbit1 adc_config_hvin ,p_calc_adc_base_hvin 
+
+p_calc_adc_check_gpio:
+01aa 680102a0 fetch 2 ,mem_temp 
+01ab 1ff0fe00 byteswap pdata ,pdata 
+01ac 60014c91 store 2 ,mem_adc_0v 
+01ad 680102a6 fetch 2 ,mem_temp + 6 
+01ae 1ff0fe00 byteswap pdata ,pdata 
+01af 60014c93 store 2 ,mem_adc_3v 
+01b0 20600000 rtn 
+
+p_calc_adc_base_vinlpm:
+01b1 680902a4 fetcht 2 ,mem_temp + 4 
+01b2 680102aa fetch 2 ,mem_temp + 10 
+01b3 18422400 copy temp ,regb 
+01b4 1fe22200 copy pdata ,rega 
+01b5 1ff0fe00 byteswap pdata ,pdata 
+01b6 60014c93 store 2 ,mem_adc_3v 
+01b7 1a227e00 copy rega ,pdata 
+01b8 98462600 isub temp ,regc 
+01b9 1a63a600 lshift regc ,regc 
+01ba 1a427e00 copy regb ,pdata 
+01bb 9a667e00 isub regc ,pdata 
+01bc 1ff0fe00 byteswap pdata ,pdata 
+01bd 60014c91 store 2 ,mem_adc_0v 
+01be 20600000 rtn 
+
+p_calc_adc_base_hvin:
+01bf 680902a2 fetcht 2 ,mem_temp + 2 
+01c0 680102a8 fetch 2 ,mem_temp + 8 
+01c1 18422400 copy temp ,regb 
+01c2 1fe22200 copy pdata ,rega 
+01c3 98462600 isub temp ,regc 
+01c4 1a6b2600 rshift2 regc ,regc 
+01c5 1a427e00 copy regb ,pdata 
+01c6 9a667e00 isub regc ,pdata 
+01c7 1ff0fe00 byteswap pdata ,pdata 
+01c8 60014c91 store 2 ,mem_adc_0v 
+01c9 1a63a600 lshift regc ,regc 
+01ca 1a227e00 copy rega ,pdata 
+01cb 9a667e00 isub regc ,pdata 
+01cc 1ff0fe00 byteswap pdata ,pdata 
+01cd 60014c93 store 2 ,mem_adc_3v 
+01ce 20600000 rtn 
+
+p_le_enable:
+01cf 70001627 jam 39 ,mem_le_ch_mapped 
+01d0 70890f36 hjam 0x36 ,0x90f 
+01d1 70890b5f hjam 0x5f ,0x90b 
+01d2 202053d4 branch le_enable + 2 
+
+p_le_disable:
+01d3 70890f2e hjam 0x2e ,0x90f 
+01d4 70890bff hjam 0xff ,0x90b 
+01d5 202053d9 branch le_disable + 2 
+
+p_mouse_idle:
+01d6 20600000 rtn 
+
+p_check_enter_hibernate:
+01d7 700b7e03 jam syc_task_hibernate ,mem_c51_flag 
+01d8 2040010d call p_c51_wait 
+
+p_enter_hibernate_continue:
+01d9 704c975a jam 0x5a ,mem_hibernate_flag 
+01da 20403db8 call lpm_write_gpio_wakeup 
+01db 68120138 hfetch 4 ,core_lpm_ctrl 
+01dc 793ffe0f set0 15 ,pdata 
+01dd 6012004c hstore 4 ,core_lpm_reg 
+01de 20403db0 call lpm_write_ctrl 
+01df d85fffff arg param_hibernate_clks ,temp 
+01e0 20203cda branch lpm_sleep 
+
+p_check_51cmd_once:
+01e1 20407c20 call ui_ipc_get_lock 
+01e2 da2047e4 arg mem_ipc_fifo_c512bt ,rega 
+01e3 20407f9f call fifo_out 
+01e4 1fe20400 copy pdata ,temp 
+01e5 20407c24 call ui_ipc_put_lock 
+01e6 18427e00 copy temp ,pdata 
+01e7 207a0000 rtn blank 
+01e8 c01081ec beq bt_cmd_start_24g ,p_check_51cmd_start24g 
+01e9 c01101ee beq bt_cmd_stop_24g ,p_check_51cmd_stop24g 
+01ea c011827c beq bt_cmd_pair_24g ,p_g24_start_pairing_sm1 
+01eb 20207c5a branch check_51cmd_once + 9 
+
+p_check_51cmd_start24g:
+01ec 704befff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+01ed 202002af branch p_g24_start_24g_mode 
+
+p_check_51cmd_stop24g:
+01ee 793f8023 set0 mark_24g ,mark 
+01ef 704befff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+01f0 2020026a branch p_g24_stop_g24_mode 
+
+p_le_queue_init:
+01f1 58000000 setarg 0 
+01f2 60024ba9 store 4 ,mem_queue_write 
+01f3 20600000 rtn 
+
+p_g24_dispatch:
+01f4 c6918000 rtnmark0 mark_24g 
+01f5 20400218 call p_g24_txdata_prep 
+01f6 2434020b nbranch p_g24_long_sleep ,user 
+01f7 704c150a jam 10 ,mem_24g_enter_lpm_timer 
+01f8 20400235 call p_g24_transmit_packet 
+01f9 6800cbef fetch 1 ,mem_24g_pairing_sm 
+01fa c1ff8000 rtnne state_24g_pairing_success 
+01fb 704c3d02 jam tx_power_5db ,mem_tx_power 
+
+p_g24_short_sleep:
+01fc 6800cd46 fetch 1 ,mem_mouse_retry_flag 
+01fd 247a0000 nrtn blank 
+01fe 20400100 call p_check_ipc_for_lpm 
+01ff 24740000 nrtn user 
+0200 68008b7f fetch 1 ,mem_c51_lpm_lock 
+0201 247a0000 nrtn blank 
+0202 20403cab call lpo_calibration 
+0203 6801c210 fetch 3 ,mem_clks_per_lpo 
+0204 207a0000 rtn blank 
+0205 6800c131 fetch 1 ,mem_lpm_mode 
+0206 207a0000 rtn blank 
+
+p_g24_short_sleep_1:
+0207 5800e290 setarg 58000 
+
+p_g24_short_sleep_2:
+0208 20407e8a call clk2lpo 
+0209 600a41fc storet 4 ,mem_sleep_counter 
+020a 20203cda branch lpm_sleep 
+
+p_g24_long_sleep:
+020b 20400100 call p_check_ipc_for_lpm 
+020c 24740000 nrtn user 
+020d 68008b7f fetch 1 ,mem_c51_lpm_lock 
+020e 247a0000 nrtn blank 
+020f 20403cab call lpo_calibration 
+0210 6801c210 fetch 3 ,mem_clks_per_lpo 
+0211 207a0000 rtn blank 
+0212 6800c131 fetch 1 ,mem_lpm_mode 
+0213 207a0000 rtn blank 
+0214 6800cc15 fetch 1 ,mem_24g_enter_lpm_timer 
+0215 243a0207 nbranch p_g24_short_sleep_1 ,blank 
+0216 68044d3d fetch 8 ,mem_24g_enter_hibernate 
+0217 20200208 branch p_g24_short_sleep_2 
+
+p_g24_txdata_prep:
+0218 6800cbef fetch 1 ,mem_24g_pairing_sm 
+0219 c0ff8285 bne state_24g_pairing_success ,p_g24_pairing_sm 
+021a 2040021e call p_g24_package_data 
+021b 204002f4 call p_g24_transmit_prep 
+
+p_g24_txdata_enable_tx:
+021c 704be601 jam ensure_on_24g ,mem_24g_ensure 
+021d 20600000 rtn 
+
+p_g24_package_data:
+021e 78547c00 disable user 
+021f 704be202 jam 2 ,mem_24g_data_type 
+0220 68008cd5 fetch 1 ,mem_24g_txbuf 
+0221 c0008228 beq 0x01 ,p_g24_dataready 
+0222 c001022b beq 0x02 ,p_g24_dataready_mk 
+0223 c0018231 beq 0x03 ,p_g24_dataready_ms 
+0224 c003022e beq 0x06 ,p_g24_dataready_sys 
+0225 6800cd46 fetch 1 ,mem_mouse_retry_flag 
+0226 245a34df ncall enable_user ,blank 
+0227 20600000 rtn 
+
+p_g24_dataready:
+0228 700cd500 jam 0x00 ,mem_24g_txbuf 
+0229 704be10a jam 10 ,mem_24g_datalen 
+022a 20200233 branch p_g24_package_data_rtn 
+
+p_g24_dataready_mk:
+022b 700cd503 jam 0x03 ,mem_24g_txbuf 
+022c 704be104 jam 4 ,mem_24g_datalen 
+022d 20200233 branch p_g24_package_data_rtn 
+
+p_g24_dataready_sys:
+022e 700cd502 jam 0x02 ,mem_24g_txbuf 
+022f 704be103 jam 3 ,mem_24g_datalen 
+0230 20200233 branch p_g24_package_data_rtn 
+
+p_g24_dataready_ms:
+0231 704be201 jam 1 ,mem_24g_data_type 
+0232 704be108 jam 8 ,mem_24g_datalen 
+
+p_g24_package_data_rtn:
+0233 704be700 jam 0 ,mem_24g_get_ack_fail 
+0234 202034df branch enable_user 
+
+p_g24_transmit_packet:
+0235 704be800 jam 0 ,mem_24g_retry 
+
+p_g24_transmit_loop:
+0236 d9600d00 arg param_rx_setup ,timeup 
+0237 34730200 until clkn_rt ,meet 
+0238 2040025e call p_g24_transmit_receive_ack 
+0239 24378245 nbranch p_g24_retransmit ,user3 
+023a 2040026d call p_g24_ackpayload_parse 
+023b 6800cbe0 fetch 1 ,mem_24g_pid 
+023c 1fe0fe01 increase 1 ,pdata 
+023d 6000cbe0 store 1 ,mem_24g_pid 
+023e 704d4600 jam 0 ,mem_mouse_retry_flag 
+023f 6800cbef fetch 1 ,mem_24g_pairing_sm 
+0240 c0ff825d bne state_24g_pairing_success ,p_g24_paring_mode_start 
+
+p_g24_transmit_abandon:
+0241 20400257 call p_g24_clear_txbuf 
+0242 704be700 jam 0 ,mem_24g_get_ack_fail 
+0243 704be600 jam ensure_off_24g ,mem_24g_ensure 
+0244 20600000 rtn 
+
+p_g24_retransmit:
+0245 704d4601 jam 1 ,mem_mouse_retry_flag 
+0246 6800cbe7 fetch 1 ,mem_24g_get_ack_fail 
+0247 1fe0fe01 increase 1 ,pdata 
+0248 6000cbe7 store 1 ,mem_24g_get_ack_fail 
+0249 6800cbef fetch 1 ,mem_24g_pairing_sm 
+024a c0ff8269 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
+024b 6800cbe7 fetch 1 ,mem_24g_get_ack_fail 
+024c c07f826a beq 0xff ,p_g24_stop_g24_mode 
+024d 6800cbe7 fetch 1 ,mem_24g_get_ack_fail 
+024e d8400010 arg 16 ,temp 
+024f 98467c00 isub temp ,null 
+0250 20210313 branch p_g24_ch ,positive 
+0251 6800cbe8 fetch 1 ,mem_24g_retry 
+0252 1fe0fe01 increase 1 ,pdata 
+0253 6000cbe8 store 1 ,mem_24g_retry 
+0254 2000000a nop 10 
+0255 c0838236 bne retry_24g ,p_g24_transmit_loop 
+0256 20200313 branch p_g24_ch 
+
+p_g24_clear_txbuf:
+0257 58000000 setarg 0 
+0258 60048cd5 store 9 ,mem_24g_txbuf 
+0259 20600000 rtn 
+
+p_g24_check_txbuf:
+025a c591f2b9 bmark0 mark_24g ,set_blank 
+025b 68040cd5 fetch 8 ,mem_24g_txbuf 
+025c 20600000 rtn 
+
+p_g24_paring_mode_start:
+025d 2020029f branch p_g24_paring_mode 
+
+p_g24_transmit_receive_ack:
+025e 7857fc00 disable user3 
+025f 2040036c call p_g24_transmit 
+0260 18002a00 force 0 ,radio_ctrl 
+0261 68024c00 fetch 4 ,mem_24g_addr 
+0262 98001200 iforce access 
+0263 68088017 fetcht 1 ,mem_last_freq 
+0264 20403a82 call set_freq_rx 
+0265 20403a87 call rf_rx_enable 
+0266 2040032b call p_g24_receive_rxon 
+0267 20578366 call p_g24_end_of_packet ,user3 
+0268 20600000 rtn 
+
+p_g24_tx_paring_retry:
+0269 20600000 rtn 
+
+p_g24_stop_g24_mode:
+026a 704d4600 jam 0 ,mem_mouse_retry_flag 
+026b 700b7d32 jam bt_evt_24g_attempt_fail ,mem_fifo_temp 
+026c 20207c27 branch ui_ipc_send_event 
+
+p_g24_ackpayload_parse:
+026d 204002d4 call p_g24_read_len_pid_crc 
+026e 6800cbdf fetch 1 ,mem_24g_rxdata_length 
+026f 207a0000 rtn blank 
+0270 98007200 iforce loopcnt 
+0271 20400275 call p_24g_kb_led 
+0272 d8c00cb5 arg mem_24g_rxbuf + 2 ,contr 
+0273 d8a00d17 arg mem_24g_rxpayload ,contw 
+0274 20207e45 branch memcpy 
+
+p_24g_kb_led:
+0275 68008cb4 fetch 1 ,mem_24g_rxbuf + 1 
+0276 2fe1f008 compare 0x08 ,pdata ,0xf8 
+0277 24608000 nrtn true 
+0278 68088cb5 fetcht 1 ,mem_24g_rxbuf + 2 
+0279 6008ccb7 storet 1 ,mem_caps_num_lock 
+027a 704d4700 jam 0 ,mem_24g_led_flag 
+027b 20600000 rtn 
+
+p_g24_start_pairing_sm1:
+027c 79200023 set1 mark_24g ,mark 
+027d 20400281 call p_g24_pair_init 
+027e 20400241 call p_g24_transmit_abandon 
+027f 704bef01 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+0280 20600000 rtn 
+
+p_g24_pair_init:
+0281 704be000 jam 0 ,mem_24g_pid 
+0282 704be94e jam g24_pair_ch ,mem_24g_ch 
+0283 68024beb fetch 4 ,mem_24g_paring_addr 
+0284 202002e6 branch p_g24_update_addr_and_synccrc8 
+
+p_g24_pairing_sm:
+0285 20400281 call p_g24_pair_init 
+0286 6800cbe6 fetch 1 ,mem_24g_ensure 
+0287 c000b4df beq ensure_on_24g ,enable_user 
+0288 6800cbef fetch 1 ,mem_24g_pairing_sm 
+0289 c000828d beq state_24g_pairing_1 ,p_g24_pairing_sm_1 
+028a c0010290 beq state_24g_pairing_2 ,p_g24_pairing_sm_2 
+028b c0018293 beq state_24g_pairing_3 ,p_g24_pairing_sm_3 
+028c 20203bf1 branch assert 
+
+p_g24_pairing_sm_1:
+028d 704bef11 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+028e 700d37aa jam 0xaa ,mem_24g_common_temp 
+028f 20200295 branch p_g24_pairing_sm_common 
+
+p_g24_pairing_sm_2:
+0290 704bef12 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+0291 700d3755 jam 0x55 ,mem_24g_common_temp 
+0292 20200295 branch p_g24_pairing_sm_common 
+
+p_g24_pairing_sm_3:
+0293 704bef13 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+0294 700d3722 jam 0x22 ,mem_24g_common_temp 
+
+p_g24_pairing_sm_common:
+0295 700d3802 jam 0x02 ,mem_24g_common_temp + 1 
+0296 68024c06 fetch 4 ,mem_24g_device_addr 
+0297 60020d39 store 4 ,mem_24g_common_temp + 2 
+0298 700d3d00 jam 0 ,mem_24g_common_temp + 6 
+0299 da200d37 arg mem_24g_common_temp ,rega 
+029a d8400007 arg 7 ,temp 
+029b 204002cf call p_g24_put_data_in_buff 
+029c 204002f4 call p_g24_transmit_prep 
+029d 2040021c call p_g24_txdata_enable_tx 
+029e 202034df branch enable_user 
+
+p_g24_paring_mode:
+029f 6800cbef fetch 1 ,mem_24g_pairing_sm 
+02a0 c17f8000 rtneq state_24g_pairing_success 
+02a1 c00882a5 beq state_24g_pairing_1_waiting_ack ,p_g24_pairing_sm_1_waiting_ack 
+02a2 c00902a7 beq state_24g_pairing_2_waiting_ack ,p_g24_pairing_sm_2_waiting_ack 
+02a3 c00982a9 beq state_24g_pairing_3_waiting_ack ,p_g24_pairing_sm_3_waiting_ack 
+02a4 20600000 rtn 
+
+p_g24_pairing_sm_1_waiting_ack:
+02a5 704bef02 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+02a6 20200241 branch p_g24_transmit_abandon 
+
+p_g24_pairing_sm_2_waiting_ack:
+02a7 704bef03 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+02a8 20200241 branch p_g24_transmit_abandon 
+
+p_g24_pairing_sm_3_waiting_ack:
+02a9 704befff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+02aa 700b7d31 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
+02ab 20407c27 call ui_ipc_send_event 
+02ac 68020d19 fetch 4 ,mem_24g_rxpayload + 2 
+02ad 204002e6 call p_g24_update_addr_and_synccrc8 
+02ae 20200241 branch p_g24_transmit_abandon 
+
+p_g24_start_24g_mode:
+02af c6118000 rtnmark1 mark_24g 
+02b0 204002e7 call p_g24_syncword_crc8 
+02b1 20400313 call p_g24_ch 
+02b2 6800cbef fetch 1 ,mem_24g_pairing_sm 
+02b3 c1ff8000 rtnne state_24g_pairing_success 
+02b4 204002c1 call p_g24_tx_attemp_data_prep 
+02b5 58000000 setarg 0 
+02b6 60014c04 store 2 ,mem_24g_check_dongle_times 
+
+p_g24_tx_attemp_dongle_loop:
+02b7 20403cab call lpo_calibration 
+02b8 200007d0 nop 2000 
+02b9 6800cc04 fetch 1 ,mem_24g_check_dongle_times 
+02ba c07f826a beq 0xff ,p_g24_stop_g24_mode 
+02bb 2040025e call p_g24_transmit_receive_ack 
+02bc 243782ca nbranch p_g24_attemp_txdata_retry ,user3 
+
+p_g24_tx_attemp_dongle_succ:
+02bd 20400257 call p_g24_clear_txbuf 
+02be 79200023 set1 mark_24g ,mark 
+02bf 700b7d3c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+02c0 20207c27 branch ui_ipc_send_event 
+
+p_g24_tx_attemp_data_prep:
+02c1 700d37ff jam 0xff ,mem_24g_common_temp 
+02c2 6800cbe2 fetch 1 ,mem_24g_data_type 
+02c3 60008d38 store 1 ,mem_24g_common_temp + 1 
+02c4 68024c06 fetch 4 ,mem_24g_device_addr 
+02c5 60020d39 store 4 ,mem_24g_common_temp + 2 
+02c6 d8400006 arg 6 ,temp 
+02c7 da200d37 arg mem_24g_common_temp ,rega 
+02c8 204002cf call p_g24_put_data_in_buff 
+02c9 202002f4 branch p_g24_transmit_prep 
+
+p_g24_attemp_txdata_retry:
+02ca 68014c04 fetch 2 ,mem_24g_check_dongle_times 
+02cb 1fe0fe01 increase 1 ,pdata 
+02cc 60014c04 store 2 ,mem_24g_check_dongle_times 
+02cd 20400313 call p_g24_ch 
+02ce 202002b7 branch p_g24_tx_attemp_dongle_loop 
+
+p_g24_put_data_in_buff:
+02cf 6008cbe1 storet 1 ,mem_24g_datalen 
+02d0 18427200 copy temp ,loopcnt 
+02d1 d8a00cd5 arg mem_24g_txbuf ,contw 
+02d2 1a220c00 copy rega ,contr 
+02d3 20207e45 branch memcpy 
+
+p_g24_read_len_pid_crc:
+02d4 68008cb4 fetch 1 ,mem_24g_rxbuf + 1 
+02d5 1fe97e00 rshift3 pdata ,pdata 
+02d6 6000cbdf store 1 ,mem_24g_rxdata_length 
+02d7 1fe0fe01 increase 1 ,pdata 
+02d8 d8c00cb4 arg mem_24g_rxbuf + 1 ,contr 
+02d9 98c08c00 iadd contr ,contr 
+02da e8c18000 ifetch 3 ,contr 
+02db 6001cc0b store 3 ,mem_24g_sta_crc 
+02dc 20600000 rtn 
+
+p_rssi_signal:
+02dd 6808cc3c fetcht 1 ,mem_rssi_signal_index 
+02de 58004c2b setarg mem_rssi_signal_buf 
+02df 98408a00 iadd temp ,contw 
+02e0 1a227e00 copy rega ,pdata 
+02e1 e0a08000 istore 1 ,contw 
+02e2 18408401 increase 1 ,temp 
+02e3 18410407 and_into rssi_buf_len_signal ,temp 
+02e4 6008cc3c storet 1 ,mem_rssi_signal_index 
+02e5 20600000 rtn 
+
+p_g24_update_addr_and_synccrc8:
+02e6 60024c00 store 4 ,mem_24g_addr 
+
+p_g24_syncword_crc8:
+02e7 da200000 arg 0 ,rega 
+02e8 df200004 arg 4 ,loopcnt 
+02e9 d8c04c00 arg mem_24g_addr ,contr 
+
+p_g24_syncword_crc8_loop:
+02ea e8c08000 ifetch 1 ,contr 
+02eb 9a20a200 iadd rega ,rega 
+02ec c20002ea loop p_g24_syncword_crc8_loop 
+02ed 1a227e00 copy rega ,pdata 
+02ee 60014c16 store 2 ,mem_24g_syncword 
+02ef 6800cc16 fetch 1 ,mem_24g_syncword 
+02f0 6808cc17 fetcht 1 ,mem_24g_syncword + 1 
+02f1 9840fe00 iadd temp ,pdata 
+02f2 6000cc18 store 1 ,mem_24g_syncword_crc8 
+02f3 20600000 rtn 
+
+p_g24_transmit_prep:
+02f4 6800cbe1 fetch 1 ,mem_24g_datalen 
+02f5 1fe0fe02 increase 2 ,pdata 
+02f6 6000cbe3 store 1 ,mem_24g_txlen 
+02f7 6800cbe2 fetch 1 ,mem_24g_data_type 
+02f8 60008cf5 store 1 ,mem_24g_txpayload 
+02f9 6800cbe1 fetch 1 ,mem_24g_datalen 
+02fa 1fe9fe00 lshift3 pdata ,pdata 
+02fb 6808cbe0 fetcht 1 ,mem_24g_pid 
+02fc 18410403 and temp ,0x03 ,temp 
+02fd 18438400 lshift temp ,temp 
+02fe 9841fe00 ior temp ,pdata 
+02ff 6808cc0a fetcht 1 ,mem_24g_no_ack 
+0300 9840fe00 iadd temp ,pdata 
+0301 e0a08000 istore 1 ,contw 
+0302 6800cbef fetch 1 ,mem_24g_pairing_sm 
+0303 c0ff8306 bne state_24g_pairing_success ,p_g24_transmit_prep_pair 
+0304 6800cbe2 fetch 1 ,mem_24g_data_type 
+0305 e0a08000 istore 1 ,contw 
+
+p_g24_transmit_prep_pair:
+0306 6800cbe1 fetch 1 ,mem_24g_datalen 
+0307 98007200 iforce loopcnt 
+0308 6800cbe2 fetch 1 ,mem_24g_data_type 
+0309 c0008311 beq 1 ,p_g24_transmit_prep_mouse 
+030a d8c00cd5 arg mem_24g_txbuf ,contr 
+030b 20407e45 call memcpy 
+030c 68008cd5 fetch 1 ,mem_24g_txbuf 
+030d c001830f beq 0x03 ,p_g24_multi_key_setup 
+030e 20600000 rtn 
+
+p_g24_multi_key_setup:
+030f 700cd502 jam 0x02 ,mem_24g_txbuf 
+0310 20600000 rtn 
+
+p_g24_transmit_prep_mouse:
+0311 d8c00cd6 arg mem_24g_txbuf + 1 ,contr 
+0312 20207e45 branch memcpy 
+
+p_g24_ch:
+0313 6808cbea fetcht 1 ,mem_24g_current_ch_number 
+0314 20400319 call p_g24_ch_calc 
+0315 18408401 increase 1 ,temp 
+0316 18410403 and_into 3 ,temp 
+0317 6008cbea storet 1 ,mem_24g_current_ch_number 
+0318 20600000 rtn 
+
+p_g24_ch_calc:
+0319 6800cc00 fetch 1 ,mem_24g_addr 
+031a 1fe17e03 and_into 0x03 ,pdata 
+031b 1fefa204 mul32 pdata ,4 ,rega 
+031c 58004bf0 setarg mem_24g_ch_map1 
+031d 9a20fe00 iadd rega ,pdata 
+031e 98408c00 iadd temp ,contr 
+031f e8c08000 ifetch 1 ,contr 
+0320 6000cbe9 store 1 ,mem_24g_ch 
+0321 20600000 rtn 
+
+p_g24_prep:
+0322 7844fc00 disable enable_crc 
+0323 7843fc00 disable enable_white 
+0324 58555555 setarg 0x555555 
+0325 98001e00 iforce crc24_init 
+0326 6800cbe9 fetch 1 ,mem_24g_ch 
+0327 1fed8400 reverse pdata ,temp 
+0328 79200401 set1 1 ,temp 
+0329 18431c00 rshift temp ,white_init 
+032a 20600000 rtn 
+
+p_g24_receive_rxon:
+032b 20400322 call p_g24_prep 
+032c 7826fc00 enable decode_fec0 
+032d 7830fc00 enable is_rx 
+032e 78507c00 disable is_tx 
+032f 78287c00 enable swfine 
+0330 68014be4 fetch 2 ,mem_24g_rx_window 
+0331 98003600 iforce stop_watch 
+0332 37c18400 correlate null ,timeout 
+0333 242c0366 nbranch p_g24_sync_timeout ,sync 
+0334 7846fc00 disable decode_fec0 
+0335 7825fc00 enable decode_fec1 
+0336 7823fc00 enable enable_white 
+0337 7824fc00 enable enable_crc 
+0338 09800008 parse demod ,bucket ,8 
+0339 19897e00 rshift3 pwindow ,pdata 
+033a 6000cc19 store 1 ,mem_24g_get_syncword_crc8 
+033b 6808cc18 fetcht 1 ,mem_24g_syncword_crc8 
+033c 98467c00 isub temp ,null 
+033d 24228366 nbranch p_g24_end_of_packet ,zero 
+033e 09800008 parse demod ,bucket ,8 
+033f 19897e00 rshift3 pwindow ,pdata 
+0340 60008cb3 store 1 ,mem_24g_rxbuf 
+0341 68008cb3 fetch 1 ,mem_24g_rxbuf 
+0342 6808cbe2 fetcht 1 ,mem_24g_data_type 
+0343 a8400e00 icompare bits_data ,temp 
+0344 24208366 nbranch p_g24_end_of_packet ,true 
+
+p_g24_receive_skip:
+0345 09800008 parse demod ,bucket ,8 
+0346 19897e00 rshift3 pwindow ,pdata 
+0347 e0a08000 istore 1 ,contw 
+0348 1fe97e00 rshift3 pdata ,pdata 
+0349 1fe1721f and pdata ,0x1f ,loopcnt 
+034a 2022834f branch p_g24rx_nopayload ,zero 
+
+p_g24rx_loop:
+034b 09800008 parse demod ,bucket ,8 
+034c 19897e00 rshift3 pwindow ,pdata 
+034d e0a08000 istore 1 ,contw 
+034e c200034b loop p_g24rx_loop 
+
+p_g24rx_nopayload:
+034f 18a22200 copy contw ,rega 
+0350 09800008 parse demod ,bucket ,8 
+0351 19897e00 rshift3 pwindow ,pdata 
+0352 6000cc2a store 1 ,mem_rssi_hex_received 
+0353 1a220a00 copy rega ,contw 
+0354 09800018 parse demod ,bucket ,24 
+0355 78287c00 enable swfine 
+0356 db600664 arg param_sifs ,stop_watch 
+0357 1fef7e00 rshift32 pdata ,pdata 
+0358 1ff17e00 rshift16 pdata ,pdata 
+0359 e0a18000 istore 3 ,contw 
+035a 7845fc00 disable decode_fec1 
+035b 20230366 branch p_g24_end_of_packet ,crc_failed 
+035c 7837fc00 enable user3 
+035d 68008017 fetch 1 ,mem_last_freq 
+035e 1fe0a200 add pdata ,0 ,rega 
+035f 20403ab6 call rf_write_freq 
+0360 7846fc00 disable decode_fec0 
+0361 20403a7a call set_sync_on 
+0362 6800cc2a fetch 1 ,mem_rssi_hex_received 
+0363 1fe22200 copy pdata ,rega 
+0364 204002dd call p_rssi_signal 
+0365 20600000 rtn 
+
+p_g24_sync_timeout:
+
+p_g24_end_of_packet:
+0366 784dfc00 disable encode_fec1 
+0367 7845fc00 disable decode_fec1 
+0368 2020375c branch end_of_packet 
+
+p_g24_set_freq_tx:
+0369 20403a7a call set_sync_on 
+036a 6808cbe9 fetcht 1 ,mem_24g_ch 
+036b 20203a91 branch set_freq_tx 
+
+p_g24_transmit:
+036c 204053d2 call le_enable 
+036d 68024c00 fetch 4 ,mem_24g_addr 
+036e 98001200 iforce access 
+036f 20400322 call p_g24_prep 
+0370 20400369 call p_g24_set_freq_tx 
+0371 79202a00 set1 txgfsk ,radio_ctrl 
+0372 782efc00 enable encode_fec0 
+0373 78307c00 enable is_tx 
+0374 7850fc00 disable is_rx 
+0375 19317e00 rshift16 access ,pdata 
+0376 1fecfe00 rshift8 pdata ,pdata 
+0377 1ff1fe00 rshift4 pdata ,pdata 
+0378 08008628 inject mod ,40 
+0379 784efc00 disable encode_fec0 
+037a 782dfc00 enable encode_fec1 
+037b 7823fc00 enable enable_white 
+037c 7824fc00 enable enable_crc 
+037d 6800cc18 fetch 1 ,mem_24g_syncword_crc8 
+037e 08008608 inject mod ,8 
+037f 6800cbe3 fetch 1 ,mem_24g_txlen 
+0380 98007200 iforce loopcnt 
+0381 d8c00cf5 arg mem_24g_txpayload ,contr 
+
+p_g24tr_loop:
+0382 e8c08000 ifetch 1 ,contr 
+0383 08008608 inject mod ,8 
+0384 c2000382 loop p_g24tr_loop 
+0385 78247c00 enable enable_parity 
+0386 08008618 inject mod ,24 
+0387 78447c00 disable enable_parity 
+0388 37d38200 until null ,tx_clear 
+0389 20000064 nop 100 
+038a 784efc00 disable encode_fec0 
+038b 784dfc00 disable encode_fec1 
+038c 20600000 rtn 
+org 0x3000
+
+start:
+3000 20403c74 call lpmstate 
+
+soft_reset:
+3001 793f8025 set0 mark_ext_patch ,mark 
+3002 44804000 bpatch patch00_0 ,mem_patch00 
+3003 20800000 clear_stack 
+3004 20403a9e call initialize_radio 
+3005 20406805 call iicd_init_12m 
+3006 20403bfa call init_param 
+3007 20404d98 call l2cap_init 
+3008 793f8025 set0 mark_ext_patch ,mark 
+3009 4480c000 bpatch patch00_1 ,mem_patch00 
+300a 20406b53 call rfcomm_init 
+300b 20405b62 call init_lmp 
+300c 20407b9d call ui_init 
+300d 20403e4f call app_init 
+300e 793f8025 set0 mark_ext_patch ,mark 
+300f 44814000 bpatch patch00_2 ,mem_patch00 
+3010 2055be5f call app_lpm_init ,wake 
+3011 20407719 call sp_initialize 
+3012 2055bcf1 call lpm_recover_clk ,wake 
+
+main_loop:
+3013 793f8025 set0 mark_ext_patch ,mark 
+3014 4481c000 bpatch patch00_3 ,mem_patch00 
+3015 20407813 call sp_calc_sequence 
+3016 20405373 call le_dispatch 
+3017 20404449 call hci_dispatch 
+3018 793f8025 set0 mark_ext_patch ,mark 
+3019 44824000 bpatch patch00_4 ,mem_patch00 
+301a 2040303e call idle_dispatch 
+301b 20403e6a call app_process_idle 
+301c 204030a1 call inquiry_dispatch 
+301d 793f8025 set0 mark_ext_patch ,mark 
+301e 4482c000 bpatch patch00_5 ,mem_patch00 
+301f 20403392 call inquiry_scan_dispatch 
+3020 20403407 call page_scan_dispatch 
+3021 20403024 call connection_dispatch 
+3022 20403d1c call lpm_dispatch 
+3023 20203013 branch main_loop 
+
+connection_dispatch:
+3024 20403029 call connection_incontext 
+3025 c6848000 rtnmark0 mark_context 
+3026 793f8009 set0 mark_context ,mark 
+3027 204032bd call context_save 
+3028 202053d7 branch le_disable 
+
+connection_incontext:
+3029 793f8025 set0 mark_ext_patch ,mark 
+302a 44834000 bpatch patch00_6 ,mem_patch00 
+302b 204032fe call context_search_insniff 
+302c 2422b033 nbranch connection_nosniff ,zero 
+302d 204032a3 call context_load 
+302e 1a208c01 add rega ,coffset_mode ,contr 
+302f e8c08000 ifetch 1 ,contr 
+3030 c2805377 bbit1 mode_le ,le_conn_dispatch 
+3031 c280b1a7 bbit1 mode_master ,master_dispatch 
+3032 20203473 branch slave_dispatch 
+
+connection_nosniff:
+3033 793f8025 set0 mark_ext_patch ,mark 
+3034 4483c000 bpatch patch00_7 ,mem_patch00 
+3035 204032c6 call context_get_next 
+3036 1f227c00 copy loopcnt ,null 
+3037 20628000 rtn zero 
+3038 204032a3 call context_load 
+3039 68008030 fetch 1 ,mem_state 
+303a c281b103 bbit1 state_inpage ,master_page 
+303b 68008031 fetch 1 ,mem_mode 
+303c c280b1a7 bbit1 mode_master ,master_dispatch 
+303d 20203473 branch slave_dispatch 
+
+idle_dispatch:
+303e 6800c272 fetch 1 ,mem_hci_cmd 
+303f 207a0000 rtn blank 
+3040 c000b04e beq hci_cmd_inquiry ,idle_inquiry 
+3041 c0013053 beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+3042 c001b056 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+3043 c002b05b beq hci_cmd_create_conn ,idle_create_conn 
+3044 c00db04b beq hci_cmd_le_create_conn ,idle_le_create_conn 
+3045 204032f6 call context_search_conn_handle 
+3046 20628000 rtn zero 
+3047 204032f9 call context_search_plap 
+3048 20628000 rtn zero 
+
+idle_exit:
+3049 70427200 jam 0 ,mem_hci_cmd 
+304a 20600000 rtn 
+
+idle_le_create_conn:
+304b 70041c1b jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+304c 70427200 jam 0 ,mem_hci_cmd 
+304d 20600000 rtn 
+
+idle_inquiry:
+304e 7920001c set1 mark_inquiry_on ,mark 
+304f 793f801e set0 mark_inquiry_trainb ,mark 
+3050 70008eff jam param_ninquiry ,mem_ninqy_index 
+3051 70008c1f jam 31 ,mem_nfreq_index_inq 
+3052 20203049 branch idle_exit 
+
+idle_inquiry_cancel:
+3053 793f801c set0 mark_inquiry_on ,mark 
+3054 18003600 force 0 ,stop_watch 
+3055 20203049 branch idle_exit 
+
+idle_remote_name_req:
+3056 204032f9 call context_search_plap 
+3057 20628000 rtn zero 
+3058 18000401 force lmp_name_req ,temp 
+3059 70017805 jam 5 ,mem_nameres_cnt 
+305a 20203068 branch idle_start_page 
+
+idle_create_conn:
+305b 793f8025 set0 mark_ext_patch ,mark 
+305c 44844001 bpatch patch01_0 ,mem_patch01 
+305d 6800c132 fetch 1 ,mem_device_option 
+305e c000b064 beq dvc_op_hci ,idle_create_conn_hci 
+
+idle_create_conn_device:
+305f 68034274 fetch 6 ,mem_hci_plap 
+3060 203a3049 branch idle_exit ,blank 
+3061 7047f301 jam reconnect_hid ,memui_reconnect_mode 
+3062 70005503 jam conn_sm_wait_features_res ,mem_conn_sm 
+3063 20203067 branch idle_create_conn_cont 
+
+idle_create_conn_hci:
+3064 68034274 fetch 6 ,mem_hci_plap 
+3065 203a3049 branch idle_exit ,blank 
+3066 60030040 store 6 ,mem_plap 
+
+idle_create_conn_cont:
+3067 18000425 force lmp_version_req ,temp 
+
+idle_start_page:
+3068 793f8025 set0 mark_ext_patch ,mark 
+3069 4484c001 bpatch patch01_1 ,mem_patch01 
+306a 680080f3 fetch 1 ,mem_page_mode 
+306b 203a306f branch idle_page_mode_r0 ,blank 
+306c 1fe9fe00 lshift3 pdata ,pdata 
+306d 1ff27e00 lshift4 pdata ,pdata 
+306e 1fe0ffff increase -1 ,pdata 
+
+idle_page_mode_r0:
+306f 6000c146 store 1 ,mem_npage 
+3070 600080f2 store 1 ,mem_npage_index 
+3071 70008d1f jam 31 ,mem_nfreq_index_page 
+3072 793f800c set0 mark_page_trainb ,mark 
+3073 204032d6 call context_new 
+3074 2422b090 nbranch idle_page_fail ,zero 
+3075 20403bd1 call get_free_amaddr 
+3076 60008077 store 1 ,mem_amaddr 
+3077 6008807c storet 1 ,mem_lmo_opcode2 
+3078 68034274 fetch 6 ,mem_hci_plap 
+3079 60030040 store 6 ,mem_plap 
+307a 793f8025 set0 mark_ext_patch ,mark 
+307b 44854001 bpatch patch01_2 ,mem_patch01 
+307c 18007e00 force 0 ,pdata 
+307d 2841fe01 compare lmp_name_req ,temp ,0xff 
+307e 7d20fe05 nsetflag true ,state_init_seq ,pdata 
+307f 79207e03 set1 state_inpage ,pdata 
+3080 60008030 store 1 ,mem_state 
+3081 700b7d03 jam bt_evt_reconn_started ,mem_fifo_temp 
+3082 20407c27 call ui_ipc_send_event 
+3083 18007e00 force 0 ,pdata 
+3084 7920fe04 setflag true ,smap_name_req ,pdata 
+3085 6000804c store 1 ,mem_state_map 
+3086 58000000 setarg 0 
+3087 79207e01 set1 mode_master ,pdata 
+3088 60008031 store 1 ,mem_mode 
+3089 7834fc00 enable master 
+308a 204032bd call context_save 
+308b 7854fc00 disable master 
+308c 18000e04 force page_length_timer ,queue 
+308d 68014159 fetch 2 ,mem_page_to 
+308e 20407e4c call timer_init 
+308f 20203049 branch idle_exit 
+
+idle_page_fail:
+3090 793f8025 set0 mark_ext_patch ,mark 
+3091 4485c001 bpatch patch01_3 ,mem_patch01 
+3092 68034274 fetch 6 ,mem_hci_plap 
+3093 60030040 store 6 ,mem_plap 
+3094 2841fe01 compare lmp_name_req ,temp ,0xff 
+3095 2020b099 branch idle_name_fail ,true 
+3096 18000407 force hci_error_memory_full ,temp 
+3097 20404826 call hci_send_connection_error 
+3098 20203049 branch idle_exit 
+
+idle_name_fail:
+3099 d8a00103 arg mem_tmp_buffer ,contw 
+309a df200008 arg 8 ,loopcnt 
+309b 20407e3b call memset0 
+309c 18000e07 force hci_error_memory_full ,queue 
+309d 20404898 call hci_send_name 
+309e 700b7d04 jam bt_evt_reconn_failed ,mem_fifo_temp 
+309f 20407c27 call ui_ipc_send_event 
+30a0 20203049 branch idle_exit 
+
+inquiry_dispatch:
+30a1 c68e0000 rtnmark0 mark_inquiry_on 
+30a2 18000e02 force inquiry_length_timer ,queue 
+30a3 20407e53 call timer_check 
+30a4 7d3a001c nsetflag blank ,mark_inquiry_on ,mark 
+30a5 243a30a7 nbranch inquiry_start ,blank 
+30a6 20600000 rtn 
+
+inquiry_start:
+30a7 793f8025 set0 mark_ext_patch ,mark 
+30a8 44864001 bpatch patch01_4 ,mem_patch01 
+30a9 6809415b fetcht 2 ,mem_inq_window 
+30aa 18000e04 force 4 ,queue 
+30ab 2040383d call sniff_check_window 
+30ac 20740000 rtn user 
+30ad 20403a12 call afh_clear 
+30ae 18004800 force 0 ,freq_mode 
+
+inquiry_restart:
+30af 20618000 rtn timeout 
+30b0 793f800b set0 mark_fhs_already_good ,mark 
+30b1 793f8000 set0 mark_fhs_eir ,mark 
+
+inquiry_rx_restart:
+30b2 1c40c201 add clkn_bt ,1 ,bt_clk 
+30b3 280ffe1e isolate1 mark_inquiry_trainb ,mark 
+30b4 7920c802 setflag true ,2 ,freq_mode 
+30b5 2c200400 compare 0x00 ,bt_clk ,0x02 
+30b6 2420b0d3 nbranch inquiry_receive ,true 
+
+inquiry_transmit:
+30b7 793f8025 set0 mark_ext_patch ,mark 
+30b8 4486c001 bpatch patch01_5 ,mem_patch01 
+30b9 68008012 fetch 1 ,mem_inquiry_transmit 
+30ba 1fe0fe01 increase 1 ,pdata 
+30bb 60008012 store 1 ,mem_inquiry_transmit 
+30bc 20403a49 call fetch_giac 
+30bd 20403a42 call tx_radio_freq 
+30be 20403a66 call fetch_diac 
+30bf 20403bae call start_transmitter 
+30c0 20403bb4 call start_tx_native 
+30c1 20403bc5 call send_access_word 
+30c2 2040375c call end_of_packet 
+30c3 204030c5 call inquiry_check_train 
+30c4 202030af branch inquiry_restart 
+
+inquiry_check_train:
+30c5 793f8025 set0 mark_ext_patch ,mark 
+30c6 44874001 bpatch patch01_6 ,mem_patch01 
+30c7 6800808c fetch 1 ,mem_nfreq_index_inq 
+30c8 1fe0ffff increase -1 ,pdata 
+30c9 6000808c store 1 ,mem_nfreq_index_inq 
+30ca 20610000 rtn positive 
+30cb 70008c1f jam 31 ,mem_nfreq_index_inq 
+30cc 6800808e fetch 1 ,mem_ninqy_index 
+30cd 1fe0ffff increase -1 ,pdata 
+30ce 6000808e store 1 ,mem_ninqy_index 
+30cf 20610000 rtn positive 
+30d0 7940001e setflip mark_inquiry_trainb ,mark 
+30d1 70008eff jam param_ninquiry ,mem_ninqy_index 
+30d2 20600000 rtn 
+
+inquiry_receive:
+30d3 793f8025 set0 mark_ext_patch ,mark 
+30d4 4487c001 bpatch patch01_7 ,mem_patch01 
+30d5 20403a49 call fetch_giac 
+30d6 20403a3b call rx_radio_freq 
+30d7 20403a66 call fetch_diac 
+30d8 20403bba call start_rx_native 
+30d9 20403b3a call start_receiver 
+30da 20403b63 call wait_access_clkn_rt 
+30db 202c30de branch inquiry_sync ,sync 
+30dc 204030c5 call inquiry_check_train 
+30dd 202030b2 branch inquiry_rx_restart 
+
+inquiry_sync:
+30de 793f8025 set0 mark_ext_patch ,mark 
+30df 44884002 bpatch patch02_0 ,mem_patch02 
+30e0 20403af3 call save_rssi 
+30e1 20403bcd call scan_mode_whiten 
+30e2 204035e1 call receive_packet_whitened 
+30e3 793f8001 set0 mark_rxbuf_inuse ,mark 
+30e4 c6858000 rtnmark0 mark_fhs_already_good 
+
+inquiry_receive_rtn:
+30e5 793f8025 set0 mark_ext_patch ,mark 
+30e6 4488c002 bpatch patch02_1 ,mem_patch02 
+30e7 6800c2a4 fetch 1 ,mem_at_using_flag 
+30e8 c2804221 bbit1 at_flag_inq ,at_inquiry_reply 
+30e9 2040477b call hci_inquiry_reply 
+
+inquiry_receive_eir_rtn:
+30ea 68008013 fetch 1 ,mem_inquiry_rcv 
+30eb 1fe0fe01 increase 1 ,pdata 
+30ec 60008013 store 1 ,mem_inquiry_rcv 
+30ed 20600000 rtn 
+
+inquiry_receive_eir:
+30ee 793f800b set0 mark_fhs_already_good ,mark 
+30ef 204030fe call rf_setup_time_slave_slot_eir 
+30f0 20403a49 call fetch_giac 
+30f1 20403a3b call rx_radio_freq 
+30f2 204034e1 call init_rx_packet_flags 
+30f3 20403bba call start_rx_native 
+30f4 20403b3a call start_receiver 
+30f5 20403b63 call wait_access_clkn_rt 
+30f6 202c30f8 branch inquiry_receive_eir_packet ,sync 
+30f7 20600000 rtn 
+
+inquiry_receive_eir_packet:
+30f8 20403bcd call scan_mode_whiten 
+30f9 204035e1 call receive_packet_whitened 
+30fa 793f8001 set0 mark_rxbuf_inuse ,mark 
+30fb 202330e5 branch inquiry_receive_rtn ,crc_failed 
+30fc 2040479b call hci_inquiry_reply_eir 
+30fd 202030ea branch inquiry_receive_eir_rtn 
+
+rf_setup_time_slave_slot_eir:
+30fe d9600600 arg param_rf_setup ,timeup 
+
+rf_setup_time_eir:
+30ff 34730200 until clkn_rt ,meet 
+3100 1c417e03 and clkn_bt ,3 ,pdata 
+3101 c080b0ff bne 1 ,rf_setup_time_eir 
+3102 20600000 rtn 
+
+master_page:
+3103 793f8025 set0 mark_ext_patch ,mark 
+3104 44894002 bpatch patch02_2 ,mem_patch02 
+3105 7834fc00 enable master 
+3106 78387c00 enable clknt 
+3107 68014155 fetch 2 ,mem_page_interval 
+3108 203a310c branch master_page_no_interval ,blank 
+3109 18000e0d force page_interval_timer ,queue 
+310a 20407e53 call timer_check 
+310b 247a0000 nrtn blank 
+
+master_page_no_interval:
+310c 793f8025 set0 mark_ext_patch ,mark 
+310d 4489c002 bpatch patch02_3 ,mem_patch02 
+310e 68094157 fetcht 2 ,mem_page_window 
+310f 18000e28 force 40 ,queue 
+3110 2040383d call sniff_check_window 
+3111 2034314e branch page_exit ,user 
+3112 18000e04 force page_length_timer ,queue 
+3113 20407e53 call timer_check 
+3114 243a3127 nbranch page_start ,blank 
+3115 6800804c fetch 1 ,mem_state_map 
+3116 c282311a bbit1 smap_name_req ,master_npage_timeout 
+3117 18000404 force hci_error_page_timeout ,temp 
+3118 20404826 call hci_send_connection_error 
+3119 2020311f branch master_page_timeout 
+
+master_npage_timeout:
+311a d8a00103 arg mem_tmp_buffer ,contw 
+311b df200008 arg 8 ,loopcnt 
+311c 20407e3b call memset0 
+311d 18000e04 force hci_error_page_timeout ,queue 
+311e 20404898 call hci_send_name 
+
+master_page_timeout:
+311f 793f8025 set0 mark_ext_patch ,mark 
+3120 448a4002 bpatch patch02_4 ,mem_patch02 
+3121 70003000 jam 0 ,mem_state 
+3122 20405b63 call init_lmp_work 
+3123 7047f300 jam 0 ,memui_reconnect_mode 
+3124 700b7d13 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+3125 20407c27 call ui_ipc_send_event 
+3126 2020314e branch page_exit 
+
+page_start:
+3127 793f8025 set0 mark_ext_patch ,mark 
+3128 448ac002 bpatch patch02_5 ,mem_patch02 
+3129 18001600 force 0 ,timeup 
+312a 34730200 until clkn_rt ,meet 
+312b 680080f4 fetch 1 ,mem_page_clk 
+312c 1fe0ffff increase -1 ,pdata 
+312d 9c42fe00 ixor clkn_bt ,pdata 
+312e 2fe00600 compare 0 ,pdata ,3 
+312f 2420b127 nbranch page_start ,true 
+3130 18827e00 deposit am_addr 
+3131 6000818b store 1 ,mem_fhs_am_addr 
+3132 18004c00 force 0 ,n_tx_slot 
+3133 18004800 force 0 ,freq_mode 
+
+page_restart:
+3134 793f8025 set0 mark_ext_patch ,mark 
+3135 448b4002 bpatch patch02_6 ,mem_patch02 
+3136 2021b14e branch page_exit ,timeout 
+3137 20403a4d call fetch_page_bt_adr 
+3138 d9600600 arg param_rf_setup ,timeup 
+3139 34730200 until clkn_rt ,meet 
+
+page_rx_restart:
+313a 793f8025 set0 mark_ext_patch ,mark 
+313b 448bc002 bpatch patch02_7 ,mem_patch02 
+313c 680200f4 fetch 4 ,mem_page_clk 
+313d 98004200 iforce bt_clk 
+313e 1fe0fe01 increase 1 ,pdata 
+313f 600200f4 store 4 ,mem_page_clk 
+3140 280ffe0c isolate1 mark_page_trainb ,mark 
+3141 7920c802 setflag true ,2 ,freq_mode 
+3142 2c200400 compare 0x00 ,bt_clk ,0x02 
+3143 2420b164 nbranch page_receive ,true 
+3144 6800800c fetch 1 ,mem_page_transmit 
+3145 1fe0fe01 increase 1 ,pdata 
+3146 6000800c store 1 ,mem_page_transmit 
+3147 20403a42 call tx_radio_freq 
+3148 20403bae call start_transmitter 
+3149 20403bb4 call start_tx_native 
+314a 20403bc5 call send_access_word 
+314b 2040375c call end_of_packet 
+314c 20403155 call page_check_train 
+314d 20203134 branch page_restart 
+
+master_dispatch_exit:
+
+page_exit:
+314e 793f8025 set0 mark_ext_patch ,mark 
+314f 448c4003 bpatch patch03_0 ,mem_patch03 
+3150 7854fc00 disable master 
+3151 68014155 fetch 2 ,mem_page_interval 
+3152 207a0000 rtn blank 
+3153 18000e0d force page_interval_timer ,queue 
+3154 20207e4c branch timer_init 
+
+page_check_train:
+3155 793f8025 set0 mark_ext_patch ,mark 
+3156 448cc003 bpatch patch03_1 ,mem_patch03 
+3157 6800808d fetch 1 ,mem_nfreq_index_page 
+3158 1fe0ffff increase -1 ,pdata 
+3159 6000808d store 1 ,mem_nfreq_index_page 
+315a 20610000 rtn positive 
+315b 70008d1f jam 31 ,mem_nfreq_index_page 
+315c 680080f2 fetch 1 ,mem_npage_index 
+315d 1fe0ffff increase -1 ,pdata 
+315e 600080f2 store 1 ,mem_npage_index 
+315f 20610000 rtn positive 
+3160 7940000c setflip mark_page_trainb ,mark 
+3161 6800c146 fetch 1 ,mem_npage 
+3162 600080f2 store 1 ,mem_npage_index 
+3163 20600000 rtn 
+
+page_receive:
+3164 793f8025 set0 mark_ext_patch ,mark 
+3165 448d4003 bpatch patch03_2 ,mem_patch03 
+3166 20403a3b call rx_radio_freq 
+3167 20403bba call start_rx_native 
+3168 20403b3a call start_receiver 
+3169 20403b63 call wait_access_clkn_rt 
+316a 202c316d branch page_sync ,sync 
+316b 20403155 call page_check_train 
+316c 2020313a branch page_rx_restart 
+
+page_sync:
+316d 2040375c call end_of_packet 
+316e 6800800d fetch 1 ,mem_page_rcv 
+316f 1fe0fe01 increase 1 ,pdata 
+3170 6000800d store 1 ,mem_page_rcv 
+3171 18003600 force 0 ,stop_watch 
+3172 680200f4 fetch 4 ,mem_page_clk 
+
+page_send_fhs:
+3173 793f8025 set0 mark_ext_patch ,mark 
+3174 448dc003 bpatch patch03_3 ,mem_patch03 
+3175 20403bac call rf_setup_time_master_slot 
+3176 20403a4d call fetch_page_bt_adr 
+3177 1cc0cc01 increase 1 ,n_tx_slot 
+
+page_send_fhs_continue:
+3178 1c2143fd and_into 0x1fd ,bt_clk 
+3179 1c8149fc and_into 0x1fc ,freq_mode 
+317a 20403a42 call tx_radio_freq 
+317b 20403bae call start_transmitter 
+317c 20403bb4 call start_tx_native 
+317d 20403bc5 call send_access_word 
+317e 1c427e00 deposit clkn_bt 
+317f 6002016b store 4 ,mem_clkn_bt 
+3180 18000800 force 0 ,am_addr 
+3181 18000202 force type_fhs ,type 
+3182 20403bcd call scan_mode_whiten 
+3183 204038c1 call transmit_packet_whitened 
+
+page_wait_fhs_reply:
+3184 793f8025 set0 mark_ext_patch ,mark 
+3185 448e4003 bpatch patch03_4 ,mem_patch03 
+3186 20403baa call rf_setup_time_slave_slot 
+3187 1c21c202 or_into 0x02 ,bt_clk 
+3188 1c8149fc and_into 0x1fc ,freq_mode 
+3189 20403a3b call rx_radio_freq 
+318a 20403bba call start_rx_native 
+318b 20403b3a call start_receiver 
+318c 20403b63 call wait_access_clkn_rt 
+318d 204c375c call end_of_packet ,sync 
+318e 202c3194 branch page_wait_fhs_reply_ok ,sync 
+318f 68008010 fetch 1 ,mem_fhs_wait_counter 
+3190 203a3134 branch page_restart ,blank 
+3191 1fe0ffff increase -1 ,pdata 
+3192 60008010 store 1 ,mem_fhs_wait_counter 
+3193 20203173 branch page_send_fhs 
+
+page_wait_fhs_reply_ok:
+3194 793f8025 set0 mark_ext_patch ,mark 
+3195 448ec003 bpatch patch03_5 ,mem_patch03 
+3196 6800800e fetch 1 ,mem_page_rcv_fhs 
+3197 1fe0fe01 increase 1 ,pdata 
+3198 6000800e store 1 ,mem_page_rcv_fhs 
+3199 204034ed call prepare_newconn 
+
+master_newconn_loop:
+319a 2040338b call master_newconn_once 
+319b 202c319f branch newconn_poll_responded ,sync 
+319c 2040350e call new_conn_timeout 
+319d 243a319a nbranch master_newconn_loop ,blank 
+319e 20203134 branch page_restart 
+
+newconn_poll_responded:
+319f 793f8025 set0 mark_ext_patch ,mark 
+31a0 448f4003 bpatch patch03_6 ,mem_patch03 
+31a1 68008030 fetch 1 ,mem_state 
+31a2 793ffe03 set0 state_inpage ,pdata 
+31a3 60008030 store 1 ,mem_state 
+31a4 204034f9 call newconn_init 
+31a5 7854fc00 disable master 
+31a6 20600000 rtn 
+
+master_dispatch:
+31a7 793f8025 set0 mark_ext_patch ,mark 
+31a8 448fc003 bpatch patch03_7 ,mem_patch03 
+31a9 7834fc00 enable master 
+31aa 78387c00 enable clknt 
+31ab 2040324e call role_switch_master 
+31ac 20740000 rtn user 
+31ad 20403e25 call check_bt_disabled 
+31ae 20403bac call rf_setup_time_master_slot 
+31af 1c40c201 add clkn_bt ,1 ,bt_clk 
+31b0 20403a54 call fetch_self_bt_adr 
+31b1 18004803 force 0x03 ,freq_mode 
+31b2 2040327c call load_esco 
+31b3 20406a54 call get_sco_data 
+31b4 20406e10 call scheduler_tx_l2cap_pkt 
+31b5 20403547 call prepare_tx 
+31b6 20403a42 call tx_radio_freq 
+31b7 20403bae call start_transmitter 
+31b8 20403bb4 call start_tx_native 
+31b9 20403bc5 call send_access_word 
+31ba 204038bf call transmit_packet 
+
+master_loop:
+31bb 793f8025 set0 mark_ext_patch ,mark 
+31bc 44904004 bpatch patch04_0 ,mem_patch04 
+31bd 20405b78 call parse_lmp 
+31be 20404995 call process_cmd 
+31bf 204048a9 call hci_send_num_complete_packets 
+31c0 2040337c call master_conn_recv_packet 
+31c1 2436b1c7 nbranch master_notmatch ,match 
+31c2 20403bec call supervision_flush 
+31c3 20403870 call parse_l2cap 
+31c4 6800800f fetch 1 ,mem_master_rcvcnt 
+31c5 1fe0fe01 increase 1 ,pdata 
+31c6 6000800f store 1 ,mem_master_rcvcnt 
+
+master_notmatch:
+31c7 793f8025 set0 mark_ext_patch ,mark 
+31c8 4490c004 bpatch patch04_1 ,mem_patch04 
+31c9 20406dec call scheduler_process 
+31ca 204031d5 call check_master_disconnect 
+31cb 24748000 nrtn master 
+31cc 20403812 call check_attempt 
+31cd 243a31d2 nbranch master_attempt ,blank 
+
+master_exit:
+31ce 20406a5c call process_sco_data 
+31cf 20403290 call restore_esco 
+31d0 7854fc00 disable master 
+31d1 20600000 rtn 
+
+master_attempt:
+31d2 20403547 call prepare_tx 
+31d3 20403371 call master_conn_send_packet 
+31d4 202031bb branch master_loop 
+
+check_master_disconnect:
+31d5 2036b1d8 branch check_master_match ,match 
+31d6 20403be2 call supervision_update 
+31d7 202131e6 branch master_disconnect ,positive 
+
+check_master_match:
+31d8 20403204 call check_disconnect_timeout 
+31d9 243431e6 nbranch master_disconnect ,user 
+31da 6800804c fetch 1 ,mem_state_map 
+31db c4020000 rtnbit0 smap_name_req 
+31dc c3818000 rtnbit1 smap_name_res 
+31dd 6800804b fetch 1 ,mem_op 
+31de c3818000 rtnbit1 op_disconn 
+31df 2040320d call conn_timer_expired 
+31e0 247a0000 nrtn blank 
+31e1 68008178 fetch 1 ,mem_nameres_cnt 
+31e2 1fe0ffff increase -1 ,pdata 
+31e3 60008178 store 1 ,mem_nameres_cnt 
+31e4 247a0000 nrtn blank 
+31e5 20205ed5 branch lmp_disconnect 
+
+master_disconnect:
+31e6 793f8025 set0 mark_ext_patch ,mark 
+31e7 44914004 bpatch patch04_2 ,mem_patch04 
+31e8 20403516 call quit_connection 
+31e9 7854fc00 disable master 
+31ea 6800804c fetch 1 ,mem_state_map 
+31eb c28231f2 bbit1 smap_name_req ,master_name_disconnect 
+31ec 68008030 fetch 1 ,mem_state 
+31ed c30231f0 bbit0 state_conn_comp ,master_disconnect_quiet 
+31ee 68088046 fetcht 1 ,mem_conn_handle 
+31ef 202048c4 branch hci_send_disconn_complete 
+
+master_disconnect_quiet:
+31f0 18000408 force hci_error_connection_timeout ,temp 
+31f1 20204826 branch hci_send_connection_error 
+
+master_name_disconnect:
+31f2 18000e00 force hci_success ,queue 
+31f3 6800804c fetch 1 ,mem_state_map 
+31f4 c281c898 bbit1 smap_name_res ,hci_send_name 
+
+master_name_error:
+31f5 18000e04 force hci_error_page_timeout ,queue 
+31f6 d8a00103 arg mem_tmp_buffer ,contw 
+31f7 df200008 arg 8 ,loopcnt 
+31f8 20407e3b call memset0 
+31f9 20204898 branch hci_send_name 
+
+disconnect_stop_sco:
+31fa 793f8025 set0 mark_ext_patch ,mark 
+31fb 4491c004 bpatch patch04_3 ,mem_patch04 
+31fc 68008030 fetch 1 ,mem_state 
+31fd c4010000 rtnbit0 state_insco 
+31fe 68088046 fetcht 1 ,mem_conn_handle 
+31ff 680080ac fetch 1 ,mem_sco_asso_handle 
+3200 98467c00 isub temp ,null 
+3201 24628000 nrtn zero 
+3202 20403869 call stop_esco 
+3203 20203293 branch restore_esco_check_no_mark 
+
+check_disconnect_timeout:
+3204 793f8025 set0 mark_ext_patch ,mark 
+3205 44924004 bpatch patch04_4 ,mem_patch04 
+3206 78347c00 enable user 
+3207 6800804b fetch 1 ,mem_op 
+3208 c4018000 rtnbit0 op_disconn 
+3209 2040320d call conn_timer_expired 
+320a 247a0000 nrtn blank 
+
+disable_usr:
+320b 78547c00 disable user 
+320c 20600000 rtn 
+
+conn_timer_expired:
+320d 68008072 fetch 1 ,mem_conn_timer 
+320e 1fe0ffff increase -1 ,pdata 
+320f 60008072 store 1 ,mem_conn_timer 
+3210 20600000 rtn 
+
+linkkey_ready:
+3211 793f8025 set0 mark_ext_patch ,mark 
+3212 4492c004 bpatch patch04_5 ,mem_patch04 
+3213 68008030 fetch 1 ,mem_state 
+3214 c283b21f bbit1 state_linkkey ,linkkey_set 
+3215 6800c132 fetch 1 ,mem_device_option 
+3216 c000b21d beq dvc_op_hci ,linkkey_send_hci 
+3217 680087e1 fetch 1 ,mem_pairing_auth 
+3218 203a321f branch linkkey_set ,blank 
+3219 7007e100 jam defalt_pairing_auth ,mem_pairing_auth 
+321a 700b7d18 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+321b 20407c27 call ui_ipc_send_event 
+321c 2020321f branch linkkey_set 
+
+linkkey_send_hci:
+321d 20406216 call check_localsm 
+321e 2440c852 ncall hci_send_linkkey_notification ,true 
+
+linkkey_set:
+321f 793f8025 set0 mark_ext_patch ,mark 
+3220 44934004 bpatch patch04_6 ,mem_patch04 
+3221 204032f0 call context_traverse_linkkey 
+3222 68008030 fetch 1 ,mem_state 
+3223 79207e07 set1 state_linkkey ,pdata 
+3224 60008030 store 1 ,mem_state 
+3225 70425e01 jam 1 ,mem_link_key_exists 
+3226 68008055 fetch 1 ,mem_conn_sm 
+3227 c08b3228 bne conn_sm_pairing ,linkkey_set_continue 
+
+linkkey_set_continue:
+3228 20600000 rtn 
+
+generate_linkkey_continue:
+3229 7007e101 jam pairing_auth ,mem_pairing_auth 
+
+clear_linkstate:
+322a 68008030 fetch 1 ,mem_state 
+322b 793ffe07 set0 state_linkkey ,pdata 
+322c 60008030 store 1 ,mem_state 
+322d 20600000 rtn 
+
+role_switch_check:
+322e 793f8025 set0 mark_ext_patch ,mark 
+322f 4493c004 bpatch patch04_7 ,mem_patch04 
+3230 78547c00 disable user 
+3231 68008030 fetch 1 ,mem_state 
+3232 c4008000 rtnbit0 state_insniff 
+3233 68010032 fetch 2 ,mem_tsniff 
+3234 247a0000 nrtn blank 
+3235 68020034 fetch 4 ,mem_sniff_anchor 
+3236 20383239 branch role_switch_clkn ,clknt 
+3237 9d067e00 isub clke_bt ,pdata 
+3238 2020323a branch role_switch_clke 
+
+role_switch_clkn:
+3239 9c467e00 isub clkn_bt ,pdata 
+
+role_switch_clke:
+323a 1fe67c04 sub pdata ,4 ,null 
+323b 24610000 nrtn positive 
+323c 68008030 fetch 1 ,mem_state 
+323d 793ffe01 set0 state_insniff ,pdata 
+323e 60008030 store 1 ,mem_state 
+323f 78347c00 enable user 
+3240 20600000 rtn 
+
+role_switch_prepare:
+3241 1fe20400 copy pdata ,temp 
+3242 793f8025 set0 mark_ext_patch ,mark 
+3243 44944005 bpatch patch05_0 ,mem_patch05 
+3244 60020034 store 4 ,mem_sniff_anchor 
+
+role_switch_prepare0:
+3245 70474801 jam switch_flag_accept ,mem_switch_flag 
+3246 68008030 fetch 1 ,mem_state 
+3247 79207e01 set1 state_insniff ,pdata 
+3248 60008030 store 1 ,mem_state 
+3249 18007e00 force 0 ,pdata 
+324a 60010032 store 2 ,mem_tsniff 
+324b 70008a0a jam 10 ,mem_current_sniff_attempt 
+324c 70007301 jam 1 ,mem_sniff_attempt 
+324d 20600000 rtn 
+
+role_switch_master:
+324e 793f8025 set0 mark_ext_patch ,mark 
+324f 4494c005 bpatch patch05_1 ,mem_patch05 
+3250 2040322e call role_switch_check 
+3251 24740000 nrtn user 
+3252 78547c00 disable user 
+3253 70001120 jam param_newconnto ,mem_newconnto_counter 
+3254 793f800b set0 mark_fhs_already_good ,mark 
+
+roles_waitfhs_loop:
+3255 20403bac call rf_setup_time_master_slot 
+3256 2040337f call master_recv_packet 
+3257 c505b263 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+3258 2040350e call new_conn_timeout 
+3259 243a3255 nbranch roles_waitfhs_loop ,blank 
+
+role_switch_fail_master:
+325a 793f8025 set0 mark_ext_patch ,mark 
+325b 44954005 bpatch patch05_2 ,mem_patch05 
+325c 78547c00 disable user 
+325d 1c427e00 deposit clkn_bt 
+325e 6002416a store 4 ,mem_next_btclk 
+325f 78387c00 enable clknt 
+3260 7834fc00 enable master 
+3261 700b7d2a jam bt_evt_switch_fail_master ,mem_fifo_temp 
+3262 20207c27 branch ui_ipc_send_event 
+
+roles_replyto_fhs:
+3263 793f8025 set0 mark_ext_patch ,mark 
+3264 4495c005 bpatch patch05_3 ,mem_patch05 
+3265 20403baa call rf_setup_time_slave_slot 
+3266 20403374 call master_send_packet 
+3267 78587c00 disable clknt 
+3268 7854fc00 disable master 
+3269 20403982 call apply_switch_clke 
+326a 204034ed call prepare_newconn 
+
+roles_newconns_loop:
+326b 793f8025 set0 mark_ext_patch ,mark 
+326c 44964005 bpatch patch05_4 ,mem_patch05 
+326d 20403539 call slave_newconn_once 
+326e 2036b272 branch roles_newconns_responded ,match 
+326f 2040350e call new_conn_timeout 
+3270 243a326b nbranch roles_newconns_loop ,blank 
+3271 2020325a branch role_switch_fail_master 
+
+roles_newconns_responded:
+3272 18000401 force 1 ,temp 
+3273 2040487f call hci_send_role_change 
+3274 68008031 fetch 1 ,mem_mode 
+3275 793ffe01 set0 mode_master ,pdata 
+3276 60008031 store 1 ,mem_mode 
+3277 20403bec call supervision_flush 
+3278 204039ac call calc_clke_offset 
+3279 78347c00 enable user 
+327a 700b7d2b jam bt_evt_switch_success_master ,mem_fifo_temp 
+327b 20207c27 branch ui_ipc_send_event 
+
+load_esco:
+327c 793f8025 set0 mark_ext_patch ,mark 
+327d 4496c005 bpatch patch05_5 ,mem_patch05 
+327e c6838000 rtnmark0 mark_esco 
+327f 68008030 fetch 1 ,mem_state 
+3280 c4010000 rtnbit0 state_insco 
+
+load_esco_do:
+3281 20403c23 call init_esco_ibuff 
+3282 680080b3 fetch 1 ,mem_esco_arq 
+3283 68088047 fetcht 1 ,mem_arq 
+3284 600880b4 storet 1 ,mem_esco_saved_arq 
+3285 60008047 store 1 ,mem_arq 
+3286 18827e00 deposit am_addr 
+3287 600080b2 store 1 ,mem_saved_amaddr 
+3288 6800c1f9 fetch 1 ,mem_esco_addr 
+3289 98000800 iforce am_addr 
+328a 793f8008 set0 mark_esco_rxok ,mark 
+328b 6800c165 fetch 1 ,mem_last_type 
+328c 6000c167 store 1 ,mem_last_type_saved 
+328d 6800c166 fetch 1 ,mem_last_type_esco 
+328e 6000c165 store 1 ,mem_last_type 
+328f 20600000 rtn 
+
+restore_esco:
+3290 793f8025 set0 mark_ext_patch ,mark 
+3291 44974005 bpatch patch05_6 ,mem_patch05 
+3292 c6838000 rtnmark0 mark_esco 
+
+restore_esco_check_no_mark:
+3293 20403847 call check_esco_amaddr 
+3294 24608000 nrtn true 
+
+restore_esco_do:
+3295 20403799 call clear_got_tx 
+3296 680080b4 fetch 1 ,mem_esco_saved_arq 
+3297 68088047 fetcht 1 ,mem_arq 
+3298 60008047 store 1 ,mem_arq 
+3299 600880b3 storet 1 ,mem_esco_arq 
+329a 680080b2 fetch 1 ,mem_saved_amaddr 
+329b 98000800 iforce am_addr 
+329c 6800c165 fetch 1 ,mem_last_type 
+329d 6000c166 store 1 ,mem_last_type_esco 
+329e 6800c167 fetch 1 ,mem_last_type_saved 
+329f 6000c165 store 1 ,mem_last_type 
+32a0 5800ffff setarg 0xffff 
+32a1 60014168 store 2 ,mem_retransmission_cnt 
+32a2 20600000 rtn 
+
+context_load:
+32a3 793f8025 set0 mark_ext_patch ,mark 
+32a4 4497c005 bpatch patch05_7 ,mem_patch05 
+32a5 79200009 set1 mark_context ,mark 
+32a6 1a227e00 deposit rega 
+32a7 6001001e store 2 ,mem_context_ptr 
+32a8 18007250 force context_size ,loopcnt 
+32a9 d8a003c0 arg mem_le_state ,contw 
+32aa 1a208c01 add rega ,coffset_mode ,contr 
+32ab e8c08000 ifetch 1 ,contr 
+32ac 1a220c00 copy rega ,contr 
+32ad c2807e45 bbit1 mode_le ,memcpy 
+32ae d8a00030 arg mem_state ,contw 
+32af 20407e45 call memcpy 
+32b0 78577c00 disable attempt 
+32b1 68008077 fetch 1 ,mem_amaddr 
+32b2 98000800 iforce am_addr 
+32b3 70008a01 jam 1 ,mem_current_sniff_attempt 
+32b4 2034b2b6 branch context_load_master ,master 
+32b5 70008a01 jam 1 ,mem_current_sniff_attempt 
+
+context_load_master:
+32b6 68008030 fetch 1 ,mem_state 
+32b7 c4008000 rtnbit0 state_insniff 
+32b8 68008073 fetch 1 ,mem_sniff_attempt 
+32b9 6000808a store 1 ,mem_current_sniff_attempt 
+32ba 68008074 fetch 1 ,mem_sniff_timeout 
+32bb 6000808b store 1 ,mem_current_sniff_timeout 
+32bc 20600000 rtn 
+
+context_save:
+32bd 793f8025 set0 mark_ext_patch ,mark 
+32be 44984006 bpatch patch06_0 ,mem_patch06 
+32bf 6801001e fetch 2 ,mem_context_ptr 
+32c0 98000a00 iforce contw 
+32c1 18007250 force context_size ,loopcnt 
+32c2 d8c003c0 arg mem_le_state ,contr 
+32c3 203b7e45 branch memcpy ,le 
+32c4 d8c00030 arg mem_state ,contr 
+32c5 20207e45 branch memcpy 
+
+context_get_next:
+32c6 68088015 fetcht 1 ,mem_current_context 
+32c7 df200003 arg context_num ,loopcnt 
+
+context_get_next_loop:
+32c8 18408401 increase 1 ,temp 
+32c9 2841fe03 compare context_num ,temp ,0xff 
+32ca 2420b2cc nbranch context_get_next_cont ,true 
+32cb d8400000 arg 0 ,temp 
+
+context_get_next_cont:
+32cc 60088015 storet 1 ,mem_current_context 
+32cd 184ffe50 mul32 temp ,context_size ,pdata 
+32ce da204040 arg mem_context ,rega 
+32cf 9a20a200 iadd rega ,rega 
+32d0 ea208000 ifetch 1 ,rega 
+32d1 c280b2d4 bbit1 state_insniff ,context_get_next_sniff 
+32d2 c3800000 rtnbit1 state_inconn 
+32d3 c3818000 rtnbit1 state_inpage 
+
+context_get_next_sniff:
+32d4 c20032c8 loop context_get_next_loop 
+32d5 20600000 rtn 
+
+context_new:
+32d6 793f8025 set0 mark_ext_patch ,mark 
+32d7 4498c006 bpatch patch06_1 ,mem_patch06 
+32d8 da60330b arg context_search_empty ,regc 
+32d9 20403301 call context_search 
+32da 24628000 nrtn zero 
+32db 1a227e00 deposit rega 
+32dc 6001001e store 2 ,mem_context_ptr 
+32dd 18007c00 force 0 ,null 
+32de 20600000 rtn 
+
+context_check_all_wack:
+32df 20403847 call check_esco_amaddr 
+32e0 2020b2e7 branch context_check_esco_wack ,true 
+32e1 6801001e fetch 2 ,mem_context_ptr 
+32e2 1fe08a17 add pdata ,coffset_arq ,contw 
+32e3 68008047 fetch 1 ,mem_arq 
+32e4 e0a08000 istore 1 ,contw 
+32e5 da603334 arg context_check_a_wack ,regc 
+32e6 20203301 branch context_search 
+
+context_check_esco_wack:
+32e7 68008047 fetch 1 ,mem_arq 
+32e8 2feffe03 isolate1 wack ,pdata 
+32e9 2020b2ec branch context_esco_wack ,true 
+32ea 18007c01 force 1 ,null 
+32eb 20600000 rtn 
+
+context_esco_wack:
+32ec 18007c00 force 0 ,null 
+32ed 20600000 rtn 
+
+context_check_idle:
+32ee da603331 arg context_check_inconn ,regc 
+32ef 20203301 branch context_search 
+
+context_traverse_linkkey:
+32f0 6809001e fetcht 2 ,mem_context_ptr 
+32f1 da603366 arg context_traverse_clearkey ,regc 
+32f2 20203301 branch context_search 
+
+context_traverse_max_slot:
+32f3 6809001e fetcht 2 ,mem_context_ptr 
+32f4 da603359 arg context_traverse_mslot ,regc 
+32f5 20203301 branch context_search 
+
+context_search_conn_handle:
+32f6 6808c273 fetcht 1 ,mem_hci_conn_handle 
+
+context_search_conn_handle2:
+32f7 da603316 arg context_search_handle ,regc 
+32f8 20203301 branch context_search 
+
+context_search_plap:
+32f9 793f8025 set0 mark_ext_patch ,mark 
+32fa 44994006 bpatch patch06_2 ,mem_patch06 
+32fb 680b4274 fetcht 6 ,mem_hci_plap 
+
+context_search_plap2:
+32fc da60330f arg context_search_lap ,regc 
+32fd 20203301 branch context_search 
+
+context_search_insniff:
+32fe da60331c arg context_search_sniff ,regc 
+32ff 20203301 branch context_search 
+
+context_search_sniff_window:
+3300 da603350 arg context_search_window ,regc 
+
+context_search:
+3301 793f8025 set0 mark_ext_patch ,mark 
+3302 4499c006 bpatch patch06_3 ,mem_patch06 
+3303 da204040 arg mem_context ,rega 
+3304 18007203 force context_num ,loopcnt 
+
+context_search_loop:
+3305 ea208000 ifetch 1 ,rega 
+3306 1a627a00 copy regc ,pc 
+
+context_search_next:
+3307 1a20a250 increase context_size ,rega 
+3308 c2003305 loop context_search_loop 
+3309 18007c01 force 1 ,null 
+330a 20600000 rtn 
+
+context_search_empty:
+330b c2803307 bbit1 state_inconn ,context_search_next 
+330c c281b307 bbit1 state_inpage ,context_search_next 
+330d 18007c00 force 0 ,null 
+330e 20600000 rtn 
+
+context_search_lap:
+330f c281b311 bbit1 state_inpage ,context_search_lap_cont 
+3310 c3003307 bbit0 state_inconn ,context_search_next 
+
+context_search_lap_cont:
+3311 1a208c10 add rega ,coffset_plap ,contr 
+3312 e8c30000 ifetch 6 ,contr 
+3313 98467c00 isub temp ,null 
+3314 20628000 rtn zero 
+3315 20203307 branch context_search_next 
+
+context_search_handle:
+3316 c3003307 bbit0 state_inconn ,context_search_next 
+3317 1a208c16 add rega ,coffset_conn_handle ,contr 
+3318 e8c08000 ifetch 1 ,contr 
+3319 98467c00 isub temp ,null 
+331a 20628000 rtn zero 
+331b 20203307 branch context_search_next 
+
+context_search_sniff:
+331c c300b307 bbit0 state_insniff ,context_search_next 
+
+context_search_sniff_loop:
+331d 2040333d call context_get_anchor 
+331e c28db322 bbit1 27 ,context_search_sniff_cont 
+331f 284c001b isolate0 27 ,temp 
+3320 2020b322 branch context_search_sniff_cont ,true 
+3321 79207e1c set1 28 ,pdata 
+
+context_search_sniff_cont:
+3322 98467e00 isub temp ,pdata 
+3323 1fe0fe01 increase 1 ,pdata 
+3324 2021332b branch context_search_sniff_miss ,positive 
+3325 1fe0fe05 increase 5 ,pdata 
+3326 24213307 nbranch context_search_next ,positive 
+
+context_search_meet:
+3327 18424200 copy temp ,bt_clk 
+3328 20403349 call context_next_anchor 
+3329 18007c00 force 0 ,null 
+332a 20600000 rtn 
+
+context_search_sniff_miss:
+332b 98002400 iforce regb 
+332c 1a208c02 add rega ,coffset_tsniff ,contr 
+332d e8c10000 ifetch 2 ,contr 
+332e 203a3327 branch context_search_meet ,blank 
+332f 20403349 call context_next_anchor 
+3330 2020331d branch context_search_sniff_loop 
+
+context_check_inconn:
+3331 c3003307 bbit0 state_inconn ,context_search_next 
+3332 18007c00 force 0 ,null 
+3333 20600000 rtn 
+
+context_check_a_wack:
+3334 c3003307 bbit0 state_inconn ,context_search_next 
+3335 1a208c01 add rega ,coffset_mode ,contr 
+3336 e8c08000 ifetch 1 ,contr 
+3337 c2803307 bbit1 mode_le ,context_search_next 
+3338 1a208c17 add rega ,coffset_arq ,contr 
+3339 e8c08000 ifetch 1 ,contr 
+333a c301b307 bbit0 wack ,context_search_next 
+333b 18007c00 force 0 ,null 
+333c 20600000 rtn 
+
+context_get_anchor:
+333d 1a208c01 add rega ,coffset_mode ,contr 
+333e e8c88000 ifetcht 1 ,contr 
+333f 1c427e00 deposit clkn_bt 
+3340 284ffe01 isolate1 mode_master ,temp 
+3341 1a208c04 add rega ,coffset_sniff_anchor ,contr 
+3342 e8ca0000 ifetcht 4 ,contr 
+3343 20608000 rtn true 
+3344 1a208c08 add rega ,coffset_clk_offset ,contr 
+3345 e8c30000 ifetch 6 ,contr 
+3346 204039c0 call calc_clke2 
+3347 1d027e00 deposit clke_bt 
+3348 20600000 rtn 
+
+context_next_anchor:
+3349 1a208c02 add rega ,coffset_tsniff ,contr 
+334a 1a208a04 add rega ,coffset_sniff_anchor ,contw 
+334b e8c10000 ifetch 2 ,contr 
+334c 98409600 iadd temp ,timeup 
+334d 19627e00 deposit timeup 
+334e e0a20000 istore 4 ,contw 
+334f 20205434 branch le_context_nexthop 
+
+context_search_window:
+3350 c300b307 bbit0 state_insniff ,context_search_next 
+3351 2040333d call context_get_anchor 
+3352 9b60fe00 iadd stop_watch ,pdata 
+3353 9b60fe00 iadd stop_watch ,pdata 
+3354 98e0fe00 iadd queue ,pdata 
+3355 98467c00 isub temp ,null 
+3356 24213307 nbranch context_search_next ,positive 
+3357 18007c00 force 0 ,null 
+3358 20600000 rtn 
+
+context_traverse_mslot:
+3359 c3003307 bbit0 state_inconn ,context_search_next 
+335a 18427e00 deposit temp 
+335b 9a267c00 isub rega ,null 
+335c 203f3307 branch context_search_next ,null 
+335d 1a208c01 add rega ,coffset_mode ,contr 
+335e e8c08000 ifetch 1 ,contr 
+335f c2803307 bbit1 mode_le ,context_search_next 
+3360 1a208a18 add rega ,coffset_lmp_to_send ,contw 
+3361 e8a08000 ifetch 1 ,contw 
+3362 243a3307 nbranch context_search_next ,blank 
+3363 18007e2d force lmp_max_slot ,pdata 
+3364 e0a08000 istore 1 ,contw 
+3365 20203307 branch context_search_next 
+
+context_traverse_clearkey:
+3366 c3003307 bbit0 state_inconn ,context_search_next 
+3367 18427e00 deposit temp 
+3368 9a267c00 isub rega ,null 
+3369 203f3307 branch context_search_next ,null 
+336a 1a208c01 add rega ,coffset_mode ,contr 
+336b e8c08000 ifetch 1 ,contr 
+336c c2803307 bbit1 mode_le ,context_search_next 
+336d ea208000 ifetch 1 ,rega 
+336e 793ffe07 set0 state_linkkey ,pdata 
+336f e2208000 istore 1 ,rega 
+3370 20203307 branch context_search_next 
+
+master_conn_send_packet:
+3371 793f8025 set0 mark_ext_patch ,mark 
+3372 449a4006 bpatch patch06_4 ,mem_patch06 
+3373 20403bac call rf_setup_time_master_slot 
+
+master_send_packet:
+3374 1c40c201 add clkn_bt ,1 ,bt_clk 
+3375 20403a54 call fetch_self_bt_adr 
+3376 18004803 force 0x03 ,freq_mode 
+3377 20403a42 call tx_radio_freq 
+3378 20403bae call start_transmitter 
+3379 20403bb4 call start_tx_native 
+337a 20403bc5 call send_access_word 
+337b 202038bf branch transmit_packet 
+
+master_conn_recv_packet:
+337c 793f8025 set0 mark_ext_patch ,mark 
+337d 449ac006 bpatch patch06_5 ,mem_patch06 
+337e 20403baa call rf_setup_time_slave_slot 
+
+master_recv_packet:
+337f 1c40c201 add clkn_bt ,1 ,bt_clk 
+3380 20403a54 call fetch_self_bt_adr 
+3381 18004803 force 0x03 ,freq_mode 
+3382 20403a3b call rx_radio_freq 
+3383 204034e1 call init_rx_packet_flags 
+3384 20403b41 call prep_crypt 
+3385 20403bba call start_rx_native 
+3386 20403b3a call start_receiver 
+
+master_rx_conn_finish_packet:
+3387 20403b63 call wait_access_clkn_rt 
+3388 246c0000 nrtn sync 
+3389 20403af3 call save_rssi 
+338a 202035df branch receive_packet 
+
+master_newconn_once:
+338b 793f8025 set0 mark_ext_patch ,mark 
+338c 449b4006 bpatch patch06_6 ,mem_patch06 
+338d 6800818b fetch 1 ,mem_fhs_am_addr 
+338e 98000800 iforce am_addr 
+338f 18000201 force type_poll ,type 
+3390 20403371 call master_conn_send_packet 
+3391 2020337c branch master_conn_recv_packet 
+
+inquiry_scan_dispatch:
+3392 6800c133 fetch 1 ,mem_scan_mode 
+3393 c4000000 rtnbit0 inq_scan_mode 
+3394 18000e05 force iscan_interval_timer ,queue 
+3395 20407e53 call timer_check 
+3396 247a0000 nrtn blank 
+3397 6809414d fetcht 2 ,mem_iscan_window 
+3398 18000e04 force 4 ,queue 
+3399 2040383d call sniff_check_window 
+339a 20740000 rtn user 
+339b 204033a2 call inquiry_scan_start 
+339c 18000e05 force iscan_interval_timer ,queue 
+339d 6801414f fetch 2 ,mem_iscan_interval 
+339e 242c7e4c nbranch timer_init ,sync 
+339f 180a7e00 random pdata 
+33a0 9ea17e00 iand mask3ff ,pdata 
+33a1 20207e4c branch timer_init 
+
+inquiry_scan_start:
+33a2 793f8025 set0 mark_ext_patch ,mark 
+33a3 449bc006 bpatch patch06_7 ,mem_patch06 
+33a4 70018b00 jam 0 ,mem_fhs_am_addr 
+33a5 78587c00 disable clknt 
+33a6 78577c00 disable attempt 
+33a7 20403a12 call afh_clear 
+33a8 1c4143fc and clkn_bt ,0x1fc ,bt_clk 
+33a9 18004801 force 0x01 ,freq_mode 
+33aa 20403a49 call fetch_giac 
+33ab 20403a3b call rx_radio_freq 
+33ac 7940001d setflip mark_inquiry_state ,mark 
+33ad 68008006 fetch 1 ,mem_inquiryscan_waitcnt 
+33ae 1fe0fe01 increase 1 ,pdata 
+33af 60008006 store 1 ,mem_inquiryscan_waitcnt 
+33b0 20403a66 call fetch_diac 
+33b1 20403b3a call start_receiver 
+33b2 20403b6b call wait_access_forever 
+33b3 246c0000 nrtn sync 
+33b4 793f8025 set0 mark_ext_patch ,mark 
+33b5 449c4007 bpatch patch07_0 ,mem_patch07 
+33b6 18003600 force 0 ,stop_watch 
+33b7 20403a6d call shutdown_radio 
+33b8 68008007 fetch 1 ,mem_inquiryscan_rcvcnt 
+33b9 1fe0fe01 increase 1 ,pdata 
+33ba 60008007 store 1 ,mem_inquiryscan_rcvcnt 
+33bb 20403a49 call fetch_giac 
+33bc 20403baa call rf_setup_time_slave_slot 
+33bd 1c21c202 or_into 0x002 ,bt_clk 
+33be 18004801 force 0x01 ,freq_mode 
+33bf 20403a42 call tx_radio_freq 
+33c0 20403a66 call fetch_diac 
+33c1 20403bae call start_transmitter 
+33c2 20403bbf call start_tx_external 
+33c3 1c427e00 deposit clkn_bt 
+33c4 6002016b store 4 ,mem_clkn_bt 
+33c5 20403bc5 call send_access_word 
+33c6 18000202 force type_fhs ,type 
+33c7 18000800 force 0 ,am_addr 
+33c8 20403bcd call scan_mode_whiten 
+33c9 204038c1 call transmit_packet_whitened 
+33ca 204033ce call send_eir 
+33cb 1c2143fd and_into 0x1fd ,bt_clk 
+33cc 1cc0cc01 increase 1 ,n_tx_slot 
+33cd 20600000 rtn 
+
+send_eir:
+33ce 793f8025 set0 mark_ext_patch ,mark 
+33cf 449cc007 bpatch patch07_1 ,mem_patch07 
+33d0 6800c172 fetch 1 ,mem_eir_enable 
+33d1 207a0000 rtn blank 
+33d2 d8a001bc arg mem_eir ,contw 
+33d3 6800c702 fetch 1 ,mem_local_name_length 
+33d4 1fe27200 copy pdata ,loopcnt 
+33d5 1fe0fe01 increase 1 ,pdata 
+33d6 e0a08000 istore 1 ,contw 
+33d7 18a20400 copy contw ,temp 
+33d8 1fe0fe01 increase 1 ,pdata 
+33d9 60010091 store 2 ,mem_tx_len 
+33da 18420a00 copy temp ,contw 
+33db 58000009 setarg 0x09 
+33dc e0a08000 istore 1 ,contw 
+33dd d8c04703 arg mem_local_name ,contr 
+33de 20407e45 call memcpy 
+33df da604771 arg mem_all_uuid_128bits ,regc 
+33e0 df200004 arg 4 ,loopcnt 
+33e1 204033f1 call get_all_uuid 
+33e2 da60475b arg mem_all_uuid_16bits ,regc 
+33e3 df200001 arg 1 ,loopcnt 
+33e4 204033f1 call get_all_uuid 
+33e5 1800020a force type_dm3 ,type 
+33e6 70009002 jam 2 ,mem_tx_lch 
+33e7 580001bc setarg mem_eir 
+33e8 60010179 store 2 ,mem_txptr 
+33e9 20403baa call rf_setup_time_slave_slot 
+33ea 20403a42 call tx_radio_freq 
+33eb 20403bae call start_transmitter 
+33ec 20403bbf call start_tx_external 
+33ed 20403bc5 call send_access_word 
+33ee 20403bcd call scan_mode_whiten 
+33ef 204038c1 call transmit_packet_whitened 
+33f0 20600000 rtn 
+
+get_all_uuid:
+33f1 18a20400 copy contw ,temp 
+33f2 1a620c00 copy regc ,contr 
+33f3 e8c08000 ifetch 1 ,contr 
+33f4 207a0000 rtn blank 
+
+lshift_loop:
+33f5 1fe3fe00 lshift pdata ,pdata 
+33f6 c20033f5 loop lshift_loop 
+33f7 1fe22200 copy pdata ,rega 
+33f8 1fe0fe02 increase 2 ,pdata 
+33f9 1fe20e00 copy pdata ,queue 
+33fa 68010091 fetch 2 ,mem_tx_len 
+33fb 98e0fe00 iadd queue ,pdata 
+33fc 60010091 store 2 ,mem_tx_len 
+33fd 18420a00 copy temp ,contw 
+33fe 1a227e00 copy rega ,pdata 
+33ff 1fe0fe01 increase 1 ,pdata 
+3400 e0a08000 istore 1 ,contw 
+3401 1a620c00 copy regc ,contr 
+3402 e8c08000 ifetch 1 ,contr 
+3403 e8c08000 ifetch 1 ,contr 
+3404 e0a08000 istore 1 ,contw 
+3405 1a227200 copy rega ,loopcnt 
+3406 20207e45 branch memcpy 
+
+page_scan_dispatch:
+3407 6800c133 fetch 1 ,mem_scan_mode 
+3408 c4008000 rtnbit0 page_scan_mode 
+3409 18000e06 force pscan_interval_timer ,queue 
+340a 20407e53 call timer_check 
+340b 247a0000 nrtn blank 
+340c 68094151 fetcht 2 ,mem_pscan_window 
+340d 18000e28 force 40 ,queue 
+340e 2040383d call sniff_check_window 
+340f 20740000 rtn user 
+3410 18000800 force 0 ,am_addr 
+3411 70001008 jam param_pagerespto ,mem_fhs_wait_counter 
+3412 793f800b set0 mark_fhs_already_good ,mark 
+3413 20403417 call page_scan_start 
+3414 18000e06 force pscan_interval_timer ,queue 
+3415 68014153 fetch 2 ,mem_pscan_interval 
+3416 20207e4c branch timer_init 
+
+page_scan_start:
+3417 793f8025 set0 mark_ext_patch ,mark 
+3418 449d4007 bpatch patch07_2 ,mem_patch07 
+3419 78587c00 disable clknt 
+341a 20403a12 call afh_clear 
+341b 68008008 fetch 1 ,mem_pagescan_waitcnt 
+341c 1fe0fe01 increase 1 ,pdata 
+341d 60008008 store 1 ,mem_pagescan_waitcnt 
+341e 18004c00 force 0 ,n_tx_slot 
+341f 20403a54 call fetch_self_bt_adr 
+3420 1c40c201 add clkn_bt ,1 ,bt_clk 
+3421 18004802 force 0x02 ,freq_mode 
+3422 793f8025 set0 mark_ext_patch ,mark 
+3423 449dc007 bpatch patch07_3 ,mem_patch07 
+3424 20403a3b call rx_radio_freq 
+3425 20403b3a call start_receiver 
+3426 20403b6b call wait_access_forever 
+3427 246c0000 nrtn sync 
+3428 20403a6d call shutdown_radio 
+3429 68008009 fetch 1 ,mem_pagescan_rcvcnt 
+342a 1fe0fe01 increase 1 ,pdata 
+342b 60008009 store 1 ,mem_pagescan_rcvcnt 
+342c 18003600 force 0 ,stop_watch 
+342d 20403baa call rf_setup_time_slave_slot 
+342e 1c21c202 or_into 0x002 ,bt_clk 
+342f 18004801 force 0x01 ,freq_mode 
+3430 20403a42 call tx_radio_freq 
+3431 20403bae call start_transmitter 
+3432 20403bbf call start_tx_external 
+3433 20403bc5 call send_access_word 
+3434 2040375c call end_of_packet 
+3435 18000800 force 0 ,am_addr 
+3436 d9600600 arg param_rf_setup ,timeup 
+3437 35330200 until clke_rt ,meet 
+3438 1d01d003 or_into 0x03 ,clke_bt 
+3439 1c2143fd and_into 0x1fd ,bt_clk 
+
+page_scan_wait_fhs_restart:
+343a 793f8025 set0 mark_ext_patch ,mark 
+343b 449e4007 bpatch patch07_4 ,mem_patch07 
+343c 1cc0cc01 increase 1 ,n_tx_slot 
+343d 20403a3b call rx_radio_freq 
+343e 20403b3a call start_receiver 
+343f 20403b5d call wait_access_mhalfbnd 
+3440 242c3444 nbranch page_scan_wait_fhs_again ,sync 
+3441 20403bcd call scan_mode_whiten 
+3442 204035e1 call receive_packet_whitened 
+3443 c505b44c bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+
+page_scan_wait_fhs_again:
+3444 793f8025 set0 mark_ext_patch ,mark 
+3445 449ec007 bpatch patch07_5 ,mem_patch07 
+3446 68008010 fetch 1 ,mem_fhs_wait_counter 
+3447 207a0000 rtn blank 
+3448 1fe0ffff increase -1 ,pdata 
+3449 60008010 store 1 ,mem_fhs_wait_counter 
+344a 20403bac call rf_setup_time_master_slot 
+344b 2020343a branch page_scan_wait_fhs_restart 
+
+page_scan_reply_to_fhs:
+344c 793f8025 set0 mark_ext_patch ,mark 
+344d 449f4007 bpatch patch07_6 ,mem_patch07 
+344e 793fd001 set0 1 ,clke_bt 
+344f 79205000 set1 0 ,clke_bt 
+3450 6800800a fetch 1 ,mem_pagescan_rcvfhscnt 
+3451 1fe0fe01 increase 1 ,pdata 
+3452 6000800a store 1 ,mem_pagescan_rcvfhscnt 
+3453 20403baa call rf_setup_time_slave_slot 
+3454 1c21c202 or_into 0x02 ,bt_clk 
+3455 20403a42 call tx_radio_freq 
+3456 20403bae call start_transmitter 
+3457 20403bbf call start_tx_external 
+3458 20403bc5 call send_access_word 
+3459 2040375c call end_of_packet 
+
+slave_apply_clke_bt:
+345a 2d000603 compare 0x03 ,clke_bt ,0x03 
+345b 2020b45e branch slave_apply_clke_bt_now ,true 
+345c 37cb8200 until null ,mhalfbnd 
+345d 2020345a branch slave_apply_clke_bt 
+
+slave_apply_clke_bt_now:
+345e 6802016f fetch 4 ,mem_clke_bt 
+345f 1fe1fe03 or_into 0x03 ,pdata 
+3460 1fe25000 icopy clke_bt 
+
+start_slave_connection:
+3461 793f8025 set0 mark_ext_patch ,mark 
+3462 449fc007 bpatch patch07_7 ,mem_patch07 
+3463 68030182 fetch 6 ,extm_lap 
+3464 60030040 store 6 ,mem_plap 
+3465 204034ed call prepare_newconn 
+
+slave_newconn_loop:
+3466 20403539 call slave_newconn_once 
+3467 2036b46b branch sconn_successful ,match 
+3468 2040350e call new_conn_timeout 
+3469 243a3466 nbranch slave_newconn_loop ,blank 
+346a 20600000 rtn 
+
+sconn_successful:
+346b 793f8025 set0 mark_ext_patch ,mark 
+346c 44a04008 bpatch patch08_0 ,mem_patch08 
+346d 204034f9 call newconn_init 
+346e 204032d6 call context_new 
+346f 24628000 nrtn zero 
+3470 70003100 jam 0 ,mem_mode 
+3471 204039ac call calc_clke_offset 
+3472 202032bd branch context_save 
+
+slave_dispatch:
+3473 793f8025 set0 mark_ext_patch ,mark 
+3474 44a0c008 bpatch patch08_1 ,mem_patch08 
+3475 204039bc call calc_clke 
+3476 204034a5 call role_switch_slave 
+3477 20740000 rtn user 
+3478 2040327c call load_esco 
+3479 20406a54 call get_sco_data 
+
+slave_loop:
+347a 793f8025 set0 mark_ext_patch ,mark 
+347b 44a14008 bpatch patch08_2 ,mem_patch08 
+347c 20403e25 call check_bt_disabled 
+347d 20406dec call scheduler_process 
+347e 204035d6 call slave_conn_recv_packet 
+347f 20407f39 call slave_savelist 
+3480 2436b48d nbranch slave_notmatch ,match 
+3481 20403bec call supervision_flush 
+3482 20403870 call parse_l2cap 
+3483 20406e10 call scheduler_tx_l2cap_pkt 
+3484 20403547 call prepare_tx 
+3485 204038b1 call slave_conn_send_packet 
+3486 20405b78 call parse_lmp 
+3487 20404995 call process_cmd 
+3488 204048a9 call hci_send_num_complete_packets 
+3489 6800800b fetch 1 ,mem_slave_rcvcnt 
+348a 1fe0fe01 increase 1 ,pdata 
+348b 6000800b store 1 ,mem_slave_rcvcnt 
+348c 204039ac call calc_clke_offset 
+
+slave_notmatch:
+348d 793f8025 set0 mark_ext_patch ,mark 
+348e 44a1c008 bpatch patch08_3 ,mem_patch08 
+348f 20403d61 call lpm_set_mult 
+3490 20403be2 call supervision_update 
+3491 20213498 branch slave_disconnect ,positive 
+3492 20403204 call check_disconnect_timeout 
+3493 24343498 nbranch slave_disconnect ,user 
+3494 20403812 call check_attempt 
+3495 243a347a nbranch slave_loop ,blank 
+3496 20406a5c call process_sco_data 
+3497 20203290 branch restore_esco 
+
+slave_disconnect:
+3498 793f8025 set0 mark_ext_patch ,mark 
+3499 44a24008 bpatch patch08_4 ,mem_patch08 
+349a 70015300 jam 0 ,mem_tester_emulate 
+349b 70018900 jam 0 ,mem_debug_config 
+349c 20403516 call quit_connection 
+349d 793f8011 set0 mark_testmode ,mark 
+349e 20407f8a call test_enable_white 
+349f 68008030 fetch 1 ,mem_state 
+34a0 c30234a3 bbit0 state_conn_comp ,slave_connection_fail 
+34a1 68088046 fetcht 1 ,mem_conn_handle 
+34a2 202048c4 branch hci_send_disconn_complete 
+
+slave_connection_fail:
+34a3 18000406 force hci_error_key_missing ,temp 
+34a4 20204826 branch hci_send_connection_error 
+
+role_switch_slave:
+34a5 793f8025 set0 mark_ext_patch ,mark 
+34a6 44a2c008 bpatch patch08_5 ,mem_patch08 
+34a7 2040322e call role_switch_check 
+34a8 24740000 nrtn user 
+34a9 18820400 copy am_addr ,temp 
+34aa 20403bd1 call get_free_amaddr 
+34ab 6000818b store 1 ,mem_fhs_am_addr 
+34ac 18420800 copy temp ,am_addr 
+34ad 70001120 jam param_newconnto ,mem_newconnto_counter 
+
+roles_sendfhs_loop:
+34ae 793f8025 set0 mark_ext_patch ,mark 
+34af 44a34008 bpatch patch08_6 ,mem_patch08 
+34b0 20403bac call rf_setup_time_master_slot 
+34b1 18000202 force type_fhs ,type 
+34b2 204038a8 call slave_send_access 
+34b3 1c427e00 deposit clkn_bt 
+34b4 6002016b store 4 ,mem_clkn_bt 
+34b5 204038bf call transmit_packet 
+34b6 20403baa call rf_setup_time_slave_slot 
+34b7 7837fc00 enable user3 
+34b8 204035b7 call slave_receive_access 
+34b9 202c34c1 branch roles_got_fhs_reply ,sync 
+34ba 20403a6d call shutdown_radio 
+34bb 2040350e call new_conn_timeout 
+34bc 243a34ae nbranch roles_sendfhs_loop ,blank 
+34bd c6820000 rtnmark0 mark_accept_switch 
+34be 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+34bf 79200003 set1 mark_switch_initiated ,mark 
+34c0 20600000 rtn 
+
+roles_got_fhs_reply:
+34c1 78387c00 enable clknt 
+34c2 204034ed call prepare_newconn 
+34c3 20403a12 call afh_clear 
+
+roles_newconn_loop:
+34c4 793f8025 set0 mark_ext_patch ,mark 
+34c5 44a3c008 bpatch patch08_7 ,mem_patch08 
+34c6 2040338b call master_newconn_once 
+34c7 202c34ce branch roles_newconn_responded ,sync 
+34c8 2040350e call new_conn_timeout 
+34c9 243a34c4 nbranch roles_newconn_loop ,blank 
+34ca 78587c00 disable clknt 
+34cb 1d027e00 deposit clke_bt 
+34cc 6002416a store 4 ,mem_next_btclk 
+34cd 20600000 rtn 
+
+roles_newconn_responded:
+34ce 18000400 force 0 ,temp 
+34cf 2040487f call hci_send_role_change 
+34d0 7834fc00 enable master 
+34d1 c58234d6 bmark0 mark_accept_switch ,roles_newconn_nolmp 
+34d2 793f8004 set0 mark_accept_switch ,mark 
+34d3 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+34d4 70007d33 jam lmp_host_connection_req ,mem_lmi_opcode2 
+34d5 20406212 call tid_set_reply 
+
+roles_newconn_nolmp:
+34d6 18827e00 deposit am_addr 
+34d7 60008077 store 1 ,mem_amaddr 
+34d8 18007e00 force 0 ,pdata 
+34d9 60030038 store 6 ,mem_clk_offset 
+34da 68008031 fetch 1 ,mem_mode 
+34db 79207e01 set1 mode_master ,pdata 
+34dc 60008031 store 1 ,mem_mode 
+34dd 20403bec call supervision_flush 
+34de 7854fc00 disable master 
+
+enable_user:
+34df 78347c00 enable user 
+34e0 20600000 rtn 
+
+init_rx_packet_flags:
+34e1 793f8025 set0 mark_ext_patch ,mark 
+34e2 44a44009 bpatch patch09_0 ,mem_patch09 
+34e3 7856fc00 disable match 
+34e4 793f8005 set0 mark_loopback ,mark 
+34e5 793f800a set0 mark_am_addr_broadcast ,mark 
+34e6 793f8010 set0 mark_longpacket ,mark 
+34e7 793f800f set0 mark_old_packet ,mark 
+34e8 68008047 fetch 1 ,mem_arq 
+34e9 793ffe05 set0 arqnx ,pdata 
+34ea 79207e04 set1 flowx ,pdata 
+34eb 60008047 store 1 ,mem_arq 
+34ec 20600000 rtn 
+
+prepare_newconn:
+34ed 793f8025 set0 mark_ext_patch ,mark 
+34ee 44a4c009 bpatch patch09_1 ,mem_patch09 
+34ef 70001120 jam param_newconnto ,mem_newconnto_counter 
+34f0 70004750 jam param_newconn_arq ,mem_arq 
+34f1 6801415f fetch 2 ,mem_rx_window_init 
+34f2 6001003e store 2 ,mem_rx_window 
+34f3 1c427e00 deposit clkn_bt 
+34f4 6002416a store 4 ,mem_next_btclk 
+34f5 20780000 rtn clknt 
+34f6 1d027e00 deposit clke_bt 
+34f7 6002416a store 4 ,mem_next_btclk 
+34f8 20600000 rtn 
+
+newconn_init:
+34f9 793f8025 set0 mark_ext_patch ,mark 
+34fa 44a54009 bpatch patch09_2 ,mem_patch09 
+34fb 20405b6f call init_lmp_reinit 
+34fc 20403512 call new_conn_handle 
+34fd 60008046 store 1 ,mem_conn_handle 
+34fe 58001c80 setarg param_supervision_to 
+34ff 60010051 store 2 ,mem_supervision_to 
+3500 68008030 fetch 1 ,mem_state 
+3501 79207e00 set1 state_inconn ,pdata 
+3502 60008030 store 1 ,mem_state 
+3503 70004b00 jam 0 ,mem_op 
+3504 70004c00 jam 0 ,mem_state_map 
+3505 7000a200 jam 0 ,mem_lpm_current_mult 
+3506 20203bec branch supervision_flush 
+
+clear_linkkey:
+3507 793f8025 set0 mark_ext_patch ,mark 
+3508 44a5c009 bpatch patch09_3 ,mem_patch09 
+3509 18007e00 force 0 ,pdata 
+350a 60044262 store 8 ,mem_link_key 
+350b e0a40000 istore 8 ,contw 
+350c 2040322a call clear_linkstate 
+350d 202032f0 branch context_traverse_linkkey 
+
+new_conn_timeout:
+350e 68008011 fetch 1 ,mem_newconnto_counter 
+350f 1fe0ffff increase -1 ,pdata 
+3510 60008011 store 1 ,mem_newconnto_counter 
+3511 20600000 rtn 
+
+new_conn_handle:
+3512 6800c170 fetch 1 ,mem_handle_num 
+3513 1fe0fe01 increase 1 ,pdata 
+3514 6000c170 store 1 ,mem_handle_num 
+3515 20600000 rtn 
+
+quit_connection:
+3516 793f8025 set0 mark_ext_patch ,mark 
+3517 44a64009 bpatch patch09_4 ,mem_patch09 
+3518 204031fa call disconnect_stop_sco 
+3519 6800c272 fetch 1 ,mem_hci_cmd 
+351a c001b51d beq hci_cmd_remote_name_req ,quit_connection_name 
+351b 68008048 fetch 1 ,mem_lmp_to_send 
+351c c080b521 bne lmp_name_req ,quit_connection_cont 
+
+quit_connection_name:
+351d 204049be call cmd_check_plap 
+351e 2422b521 nbranch quit_connection_cont ,zero 
+351f 204031f5 call master_name_error 
+3520 70427200 jam 0 ,mem_hci_cmd 
+
+quit_connection_cont:
+3521 793f8025 set0 mark_ext_patch ,mark 
+3522 44a6c009 bpatch patch09_5 ,mem_patch09 
+3523 20403f18 call app_disconn_reason_collect_bt 
+3524 20404995 call process_cmd 
+3525 20403806 call sniff_exit 
+3526 700b7d02 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+3527 20407c27 call ui_ipc_send_event 
+3528 20405b63 call init_lmp_work 
+3529 20404d99 call l2cap_init_work 
+352a 20407719 call sp_initialize 
+352b 68008030 fetch 1 ,mem_state 
+352c 793ffe00 set0 state_inconn 
+352d 60008030 store 1 ,mem_state 
+352e 7047f300 jam 0 ,memui_reconnect_mode 
+352f 6800804c fetch 1 ,mem_state_map 
+3530 2fe18000 compare 0x0 ,pdata ,0xc0 
+3531 2020b533 branch quit_connection_not_clear_mark ,true 
+3532 793f8001 set0 mark_rxbuf_inuse ,mark 
+
+quit_connection_not_clear_mark:
+3533 68008047 fetch 1 ,mem_arq 
+3534 c301b535 bbit0 wack ,quit_connection_not_clear_tx 
+
+quit_connection_not_clear_tx:
+3535 6800804b fetch 1 ,mem_op 
+3536 c4030000 rtnbit0 op_txl2cap 
+3537 793f8002 set0 mark_tx_l2cap ,mark 
+3538 20600000 rtn 
+
+slave_newconn_once:
+3539 793f8025 set0 mark_ext_patch ,mark 
+353a 44a74009 bpatch patch09_6 ,mem_patch09 
+353b 6800817e fetch 1 ,extm_newconn_am_addr 
+353c 207a0000 rtn blank 
+353d 1fe20800 icopy am_addr 
+353e 204035d6 call slave_conn_recv_packet 
+353f 24768000 nrtn match 
+3540 18000200 force type_null ,type 
+3541 204038b1 call slave_conn_send_packet 
+3542 18827e00 deposit am_addr 
+3543 60008077 store 1 ,mem_amaddr 
+3544 18007e00 force 0 ,pdata 
+3545 6000817e store 1 ,extm_newconn_am_addr 
+3546 20600000 rtn 
+
+prepare_tx:
+3547 793f8025 set0 mark_ext_patch ,mark 
+3548 44a7c009 bpatch patch09_7 ,mem_patch09 
+3549 68008030 fetch 1 ,mem_state 
+354a c3013555 bbit0 state_insco ,prepare_tx_not_sco 
+354b 18000207 force type_hv3 ,type 
+354c c583b554 bmark0 mark_esco ,prepare_tx_not_esco 
+354d 20403847 call check_esco_amaddr 
+354e 2420b555 nbranch prepare_tx_not_sco ,true 
+354f 20373555 branch prepare_tx_not_sco ,attempt 
+3550 20403583 call set_wait_ack 
+3551 58000002 setarg 2 
+3552 60014168 store 2 ,mem_retransmission_cnt 
+3553 20600000 rtn 
+
+prepare_tx_not_esco:
+3554 24770000 nrtn attempt 
+
+prepare_tx_not_sco:
+3555 793f8025 set0 mark_ext_patch ,mark 
+3556 44a8400a bpatch patch0a_0 ,mem_patch0a 
+3557 204032df call context_check_all_wack 
+3558 2422b568 nbranch prepare_tx_no_retransmit ,zero 
+3559 68008047 fetch 1 ,mem_arq 
+355a c301b571 bbit0 wack ,prepare_tx_pollnull 
+
+prepare_tx_retransmit:
+355b c502b575 bmark1 mark_loopback ,prepare_tx_loopback 
+355c 68008189 fetch 1 ,mem_debug_config 
+355d c283357c bbit1 debug_tx_pattern ,prepare_tx_txpat 
+355e 68014168 fetch 2 ,mem_retransmission_cnt 
+355f 1fe0ffff increase -1 ,pdata 
+3560 60014168 store 2 ,mem_retransmission_cnt 
+3561 203a3565 branch prepare_tx_nomore_retransmit ,blank 
+3562 6800c165 fetch 1 ,mem_last_type 
+3563 98000200 iforce type 
+3564 20600000 rtn 
+
+prepare_tx_nomore_retransmit:
+3565 793f8025 set0 mark_ext_patch ,mark 
+3566 44a8c00a bpatch patch0a_1 ,mem_patch0a 
+3567 20403799 call clear_got_tx 
+
+prepare_tx_no_retransmit:
+3568 20403847 call check_esco_amaddr 
+3569 2020b571 branch prepare_tx_pollnull ,true 
+356a 20405ed9 call send_lmp 
+356b 20343580 branch prepare_tx_sendlmp ,user 
+356c 6800804b fetch 1 ,mem_op 
+356d c2833582 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+356e c502b575 bmark1 mark_loopback ,prepare_tx_loopback 
+356f 68008189 fetch 1 ,mem_debug_config 
+3570 c283357c bbit1 debug_tx_pattern ,prepare_tx_txpat 
+
+prepare_tx_pollnull:
+3571 18000201 force type_poll ,type 
+3572 20748000 rtn master 
+3573 18000200 force type_null ,type 
+3574 20600000 rtn 
+
+prepare_tx_loopback:
+3575 793f8025 set0 mark_ext_patch ,mark 
+3576 44a9400a bpatch patch0a_2 ,mem_patch0a 
+3577 68008019 fetch 1 ,mem_rx_type 
+3578 98000200 iforce type 
+3579 c1808000 rtnne 1 
+357a 18000200 force type_null ,type 
+357b 20600000 rtn 
+
+prepare_tx_txpat:
+357c 6800815a fetch 1 ,test_mode_packet_type 
+357d 1fe1020f and pdata ,0xf ,type 
+357e 79200005 set1 mark_loopback ,mark 
+357f 20600000 rtn 
+
+prepare_tx_sendlmp:
+3580 18000213 force type_lmp ,type 
+3581 20203583 branch set_wait_ack 
+
+prepare_tx_sendl2cap:
+3582 2040358d call tx_l2cap_type 
+
+set_wait_ack:
+3583 793f8025 set0 mark_ext_patch ,mark 
+3584 44a9c00a bpatch patch0a_3 ,mem_patch0a 
+3585 68088047 fetcht 1 ,mem_arq 
+3586 79200403 set1 wack ,temp 
+3587 60088047 storet 1 ,mem_arq 
+3588 18227e00 deposit type 
+3589 6000c165 store 1 ,mem_last_type 
+358a 5800ffff setarg 0xffff 
+358b 60014168 store 2 ,mem_retransmission_cnt 
+358c 20600000 rtn 
+
+tx_l2cap_type:
+358d 793f8025 set0 mark_ext_patch ,mark 
+358e 44aa400a bpatch patch0a_4 ,mem_patch0a 
+358f 6800804c fetch 1 ,mem_state_map 
+3590 2feffe05 isolate1 smap_edr ,pdata 
+3591 68010091 fetch 2 ,mem_tx_len 
+3592 2020b5a1 branch tx_l2cap_type_edr ,true 
+3593 18000203 force type_dm1 ,type 
+3594 1fe67c11 sub pdata ,17 ,null 
+3595 20610000 rtn positive 
+3596 18000204 force type_dh1 ,type 
+3597 1fe67c1b sub pdata ,27 ,null 
+3598 20610000 rtn positive 
+3599 1800020a force type_dm3 ,type 
+359a 1fe67c79 sub pdata ,121 ,null 
+359b 20610000 rtn positive 
+359c 1800020e force type_dm5 ,type 
+359d 1fe67ce0 sub pdata ,224 ,null 
+359e 20610000 rtn positive 
+359f 1800020f force type_dh5 ,type 
+35a0 20600000 rtn 
+
+tx_l2cap_type_edr:
+35a1 18000203 force type_dm1 ,type 
+35a2 1fe67c11 sub pdata ,17 ,null 
+35a3 20610000 rtn positive 
+35a4 18000204 force type_dh1 ,type 
+35a5 1fe67c36 sub pdata ,54 ,null 
+35a6 20610000 rtn positive 
+35a7 1800020a force type_dm3 ,type 
+35a8 d840016f arg 367 ,temp 
+35a9 98467c00 isub temp ,null 
+35aa 24610000 nrtn positive 
+35ab 1800020e force type_dm5 ,type 
+35ac d84002a7 arg 679 ,temp 
+35ad 98467c00 isub temp ,null 
+35ae 24610000 nrtn positive 
+35af 1800020f force type_dh5 ,type 
+35b0 20600000 rtn 
+
+slave_receive_master_slot:
+35b1 68008030 fetch 1 ,mem_state 
+35b2 c300b5b6 bbit0 state_insniff ,slave_receive_notsniff 
+35b3 68010032 fetch 2 ,mem_tsniff 
+35b4 203a35b6 branch slave_receive_notsniff ,blank 
+35b5 243735b8 nbranch slave_receive_sniff ,attempt 
+
+slave_receive_notsniff:
+35b6 20403bac call rf_setup_time_master_slot 
+
+slave_receive_access:
+35b7 1d00c201 add clke_bt ,1 ,bt_clk 
+
+slave_receive_sniff:
+35b8 78287c00 enable swfine 
+35b9 6801003e fetch 2 ,mem_rx_window 
+35ba 1fe37e00 rshift pdata ,pdata 
+35bb d8400500 arg param_pll_setup ,temp 
+35bc 9840fe00 iadd temp ,pdata 
+35bd 20403b7d call ahead_window 
+35be 20403a5d call fetch_extm_bt_adr 
+35bf 18004803 force 0x03 ,freq_mode 
+35c0 20403a3b call rx_radio_freq 
+35c1 204034e1 call init_rx_packet_flags 
+35c2 20403b41 call prep_crypt 
+35c3 793f8025 set0 mark_ext_patch ,mark 
+35c4 44aac00a bpatch patch0a_5 ,mem_patch0a 
+35c5 6801003e fetch 2 ,mem_rx_window 
+35c6 1fe37e00 rshift pdata ,pdata 
+35c7 20403b7d call ahead_window 
+35c8 20403b3a call start_receiver 
+35c9 7826fc00 enable decode_fec0 
+35ca 6801003e fetch 2 ,mem_rx_window 
+35cb d84003bb arg param_clke_cal ,temp 
+35cc 9840b600 iadd temp ,stop_watch 
+35cd 37c18400 correlate null ,timeout 
+35ce 1b420400 copy clke ,temp 
+35cf 600b009c storet 6 ,mem_sync_clke 
+35d0 7846fc00 disable decode_fec0 
+35d1 246c0000 nrtn sync 
+35d2 dd2003bb arg param_clke_cal ,clke_rt 
+35d3 1c225000 copy bt_clk ,clke_bt 
+35d4 2035bcb6 branch lpm_adjust_clk ,wake 
+35d5 20600000 rtn 
+
+slave_conn_recv_packet:
+35d6 793f8025 set0 mark_ext_patch ,mark 
+35d7 44ab400a bpatch patch0a_6 ,mem_patch0a 
+35d8 204035b1 call slave_receive_master_slot 
+35d9 242c3a6d nbranch shutdown_radio ,sync 
+35da 20403af3 call save_rssi 
+35db c588b5df bmark0 mark_testmode ,receive_packet 
+35dc 680100f8 fetch 2 ,mem_tst_pktcnt_sync 
+35dd 1fe0fe01 increase 1 ,pdata 
+35de 600100f8 store 2 ,mem_tst_pktcnt_sync 
+
+receive_packet:
+35df 1c230400 rshift bt_clk ,temp 
+35e0 18419c40 or temp ,0x40 ,white_init 
+
+receive_packet_whitened:
+35e1 793f8025 set0 mark_ext_patch ,mark 
+35e2 44abc00a bpatch patch0a_7 ,mem_patch0a 
+35e3 7823fc00 enable enable_white 
+35e4 78257c00 enable enable_hec 
+35e5 7825fc00 enable decode_fec1 
+35e6 09800003 parse demod ,bucket ,3 
+35e7 198cfe00 rshift8 pwindow ,pdata 
+35e8 6000815f store 1 ,mem_temp_am_addr 
+35e9 09800004 parse demod ,bucket ,4 
+35ea 08008007 inject bucket ,7 
+35eb 19827e00 copy pwindow ,pdata 
+35ec 60008019 store 1 ,mem_rx_type 
+35ed 09800003 parse demod ,bucket ,3 
+35ee 198cfe00 rshift8 pwindow ,pdata 
+35ef 60008160 store 1 ,mem_temp_arq 
+35f0 68008019 fetch 1 ,mem_rx_type 
+35f1 1fe67c03 sub pdata ,3 ,null 
+35f2 202135f7 branch receive_packet_noedr ,positive 
+35f3 c003b5f7 beq 7 ,receive_packet_noedr 
+35f4 6800804c fetch 1 ,mem_state_map 
+35f5 2feffe05 isolate1 smap_edr ,pdata 
+35f6 7920aa01 setflag true ,psk ,radio_ctrl 
+
+receive_packet_noedr:
+35f7 793f8025 set0 mark_ext_patch ,mark 
+35f8 44ac400b bpatch patch0b_0 ,mem_patch0b 
+35f9 09800008 parse demod ,bucket ,8 
+35fa 7845fc00 disable decode_fec1 
+35fb 78457c00 disable enable_hec 
+35fc 2023373e branch error_header ,crc_failed 
+35fd c588b601 bmark0 mark_testmode ,receive_packet_amchk 
+35fe 680100fa fetch 2 ,mem_tst_pktcnt_hec 
+35ff 1fe0fe01 increase 1 ,pdata 
+3600 600100fa store 2 ,mem_tst_pktcnt_hec 
+
+receive_packet_amchk:
+3601 793f8025 set0 mark_ext_patch ,mark 
+3602 44acc00b bpatch patch0b_1 ,mem_patch0b 
+3603 6800815f fetch 1 ,mem_temp_am_addr 
+3604 2fe00e00 compare 0 ,pdata ,0x07 
+3605 7920800a setflag true ,mark_am_addr_broadcast ,mark 
+3606 2020b613 branch am_addr_ok ,true 
+3607 a8800e00 icompare 0x07 ,am_addr 
+3608 2020b612 branch am_addr_match ,true 
+3609 c583b75c bmark0 mark_esco ,end_of_packet 
+360a 680880b2 fetcht 1 ,mem_saved_amaddr 
+360b a8400e00 icompare 0x7 ,temp 
+360c 2420b75c nbranch end_of_packet ,true 
+360d 20403290 call restore_esco 
+360e 68008047 fetch 1 ,mem_arq 
+360f 793ffe05 set0 arqnx ,pdata 
+3610 79207e04 set1 flowx ,pdata 
+3611 60008047 store 1 ,mem_arq 
+
+am_addr_match:
+3612 7836fc00 enable match 
+
+am_addr_ok:
+3613 793f8025 set0 mark_ext_patch ,mark 
+3614 44ad400b bpatch patch0b_2 ,mem_patch0b 
+3615 68008019 fetch 1 ,mem_rx_type 
+3616 1fe20200 icopy type 
+3617 c5053623 bmark1 mark_am_addr_broadcast ,arqn_bypass 
+3618 68088160 fetcht 1 ,mem_temp_arq 
+3619 68008047 fetch 1 ,mem_arq 
+361a 793ffe00 set0 flow ,pdata 
+361b 284ffe00 isolate1 flow ,temp 
+361c 7920fe00 setflag true ,flow ,pdata 
+361d 284ffe01 isolate1 arqn ,temp 
+361e 7920fe01 setflag true ,arqn ,pdata 
+361f 60008047 store 1 ,mem_arq 
+3620 284c0001 isolate0 arqn ,temp 
+3621 2020b623 branch arqn_bypass ,true 
+3622 20403799 call clear_got_tx 
+
+arqn_bypass:
+3623 793f8025 set0 mark_ext_patch ,mark 
+3624 44adc00b bpatch patch0b_3 ,mem_patch0b 
+3625 d8400000 arg 0 ,temp 
+3626 20403b74 call reserve_slot 
+3627 18217e0f and type ,0xf ,pdata 
+3628 c000b656 beq type_poll ,process_poll 
+3629 c000375c beq type_null ,end_of_packet 
+362a c0013769 beq type_fhs ,process_fhs 
+362b 68088160 fetcht 1 ,mem_temp_arq 
+362c 68008047 fetch 1 ,mem_arq 
+362d a8400800 icompare 0x04 ,temp 
+362e 2420b632 nbranch rx_type_dispatch ,true 
+362f c5853631 bmark0 mark_am_addr_broadcast ,failed_seqn 
+3630 c303b632 bbit0 bcast1 ,rx_type_dispatch 
+
+failed_seqn:
+3631 7920000f set1 mark_old_packet ,mark 
+
+rx_type_dispatch:
+3632 793f8025 set0 mark_ext_patch ,mark 
+3633 44ae400b bpatch patch0b_4 ,mem_patch0b 
+3634 18227e00 deposit type 
+3635 c001b658 beq type_dm1 ,process_dm1 
+3636 c002365c beq type_dh1 ,process_dh1 
+3637 c003b642 beq type_hv3 ,process_hev 
+3638 c004365b beq type_3dh1 ,process_3dh1 
+3639 d8400004 arg 4 ,temp 
+363a 20403b74 call reserve_slot 
+363b c0053657 beq type_dm3 ,process_dm3 
+363c c005b65a beq type_dh3 ,process_dh3 
+363d d8400008 arg 8 ,temp 
+363e 20403b74 call reserve_slot 
+363f c0073657 beq type_dm5 ,process_dm5 
+3640 c007b65a beq type_dh5 ,process_dh5 
+3641 20600000 rtn 
+
+process_hev:
+3642 793f8025 set0 mark_ext_patch ,mark 
+3643 44aec00b bpatch patch0b_5 ,mem_patch0b 
+3644 7826fc00 enable decode_fec0 
+3645 7824fc00 enable enable_crc 
+3646 78277c00 enable encrypt 
+3647 d8a000d3 arg mem_sco_ibuf ,contw 
+3648 1800721e force 30 ,loopcnt 
+
+process_hev_loop:
+3649 09800008 parse demod ,bucket ,8 
+364a 19897e00 rshift3 pwindow ,pdata 
+364b e0a08000 istore 1 ,contw 
+364c c2003649 loop process_hev_loop 
+364d c583b75c bmark0 mark_esco ,end_of_packet 
+364e 09800010 parse demod ,bucket ,16 
+364f 7d230008 nsetflag crc_failed ,mark_esco_rxok ,mark 
+3650 20433653 call test_esco ,crc_failed 
+3651 2023374b branch error_payload ,crc_failed 
+3652 2020372c branch ack_payload 
+
+test_esco:
+3653 1b427e00 deposit clke 
+3654 60030020 store 6 ,mem_display 
+3655 20600000 rtn 
+
+process_poll:
+3656 2020375c branch end_of_packet 
+
+process_dm3:
+
+process_dm5:
+3657 79200010 set1 mark_longpacket ,mark 
+
+process_dm1:
+3658 78267c00 enable decode_fec2 
+3659 2020365d branch process_dmh 
+
+process_dh3:
+
+process_dh5:
+365a 79200010 set1 mark_longpacket ,mark 
+
+process_3dh1:
+365b 79202a02 set1 psk3m ,radio_ctrl 
+
+process_dh1:
+365c 7826fc00 enable decode_fec0 
+
+process_dmh:
+365d 793f8025 set0 mark_ext_patch ,mark 
+365e 44af400b bpatch patch0b_6 ,mem_patch0b 
+365f c500b75c bmark1 mark_rxbuf_inuse ,end_of_packet 
+3660 2aac0001 isolate0 psk ,radio_ctrl 
+3661 2020b66a branch process_dmh_noedr ,true 
+3662 7843fc00 disable enable_white 
+3663 7826fc00 enable decode_fec0 
+3664 78467c00 disable decode_fec2 
+3665 1c409602 add clkn_bt ,2 ,timeup 
+3666 34530400 correlate clkn_bt ,meet 
+3667 242c374b nbranch error_payload ,sync 
+3668 79200010 set1 mark_longpacket ,mark 
+3669 7823fc00 enable enable_white 
+
+process_dmh_noedr:
+366a 793f8025 set0 mark_ext_patch ,mark 
+366b 44afc00b bpatch patch0b_7 ,mem_patch0b 
+366c 78277c00 enable encrypt 
+366d 7824fc00 enable enable_crc 
+366e 09800003 parse demod ,bucket ,3 
+366f 198cfe00 rshift8 pwindow ,pdata 
+3670 6000818a store 1 ,mem_lch_code 
+3671 09800005 parse demod ,bucket ,5 
+3672 c5083676 bmark1 mark_longpacket ,process_dmh_long 
+3673 19897200 rshift3 pwindow ,loopcnt 
+3674 1f297200 rshift3 loopcnt ,loopcnt 
+3675 20203679 branch process_dmh_common 
+
+process_dmh_long:
+3676 09800005 parse demod ,bucket ,5 
+3677 19837200 rshift pwindow ,loopcnt 
+3678 09800003 parse demod ,bucket ,3 
+
+process_dmh_common:
+3679 793f8025 set0 mark_ext_patch ,mark 
+367a 44b0400c bpatch patch0c_0 ,mem_patch0c 
+367b 1f227e00 deposit loopcnt 
+367c 60010169 store 2 ,mem_len 
+367d 203a36ee branch process_dmh_data_end ,blank 
+367e 9ea67c00 isub mask3ff ,null 
+367f 2021374b branch error_payload ,positive 
+3680 793f8025 set0 mark_ext_patch ,mark 
+3681 44b0c00c bpatch patch0c_1 ,mem_patch0c 
+3682 793f8000 set0 mark_fhs_eir ,mark 
+3683 6800818a fetch 1 ,mem_lch_code 
+3684 1fe17e03 and_into 0x03 ,pdata 
+3685 d8a004de arg mem_rxbuf ,contw 
+3686 c001b68f beq llid_lmp ,process_lmp 
+3687 c508b6ea bmark1 mark_testmode ,process_dmh_data 
+3688 6800c132 fetch 1 ,mem_device_option 
+3689 c000b694 beq dvc_op_hci ,process_dmh_acl 
+368a 6800818a fetch 1 ,mem_lch_code 
+368b 1fe17e03 and_into 0x03 ,pdata 
+368c c00136c3 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+368d c000b6d8 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+368e 2020374b branch error_payload 
+
+process_lmp:
+368f 68010169 fetch 2 ,mem_len 
+3690 1fe67c70 sub pdata ,0x70 ,null 
+3691 2421374b nbranch error_payload ,positive 
+3692 c507b72c bmark1 mark_old_packet ,ack_payload 
+3693 202036ea branch process_dmh_data 
+
+process_dmh_acl:
+3694 793f8025 set0 mark_ext_patch ,mark 
+3695 44b1400c bpatch patch0c_2 ,mem_patch0c 
+3696 c507b72c bmark1 mark_old_packet ,ack_payload 
+3697 68010169 fetch 2 ,mem_len 
+3698 203a374b branch error_payload ,blank 
+3699 20404494 call hci_check_bcsp_protocol 
+369a 2420b6a1 nbranch process_dmh_acl_check_h4_buff ,true 
+
+process_dmh_acl_bcsp:
+369b 68090291 fetcht 2 ,mem_h5tx_free 
+369c 1fe0fe0a increase 10 ,pdata 
+369d 98467c00 isub temp ,null 
+369e 242136a7 nbranch process_dmh_acl_packet ,positive 
+369f 20404449 call hci_dispatch 
+36a0 2020369b branch process_dmh_acl_bcsp 
+
+process_dmh_acl_check_h4_buff:
+36a1 6811010e hfetch 2 ,core_uart_txitems 
+36a2 d840012c arg 300 ,temp 
+36a3 98467c00 isub temp ,null 
+36a4 2021374b branch error_payload ,positive 
+36a5 68014800 fetch 2 ,mem_acl_credits 
+36a6 203a374b branch error_payload ,blank 
+
+process_dmh_acl_packet:
+36a7 793f8025 set0 mark_ext_patch ,mark 
+36a8 44b1c00c bpatch patch0c_3 ,mem_patch0c 
+36a9 20404972 call hci_get_packet_ptr 
+36aa 68008046 fetch 1 ,mem_conn_handle 
+36ab 6808818a fetcht 1 ,mem_lch_code 
+36ac 18410403 and_into 3 ,temp 
+36ad 184d0400 lshift8 temp ,temp 
+36ae 18520400 lshift4 temp ,temp 
+36af 9841fe00 ior temp ,pdata 
+36b0 e1410000 istore 2 ,contwu 
+36b1 68090169 fetcht 2 ,mem_len 
+36b2 18427200 copy temp ,loopcnt 
+36b3 e1490000 istoret 2 ,contwu 
+
+process_dmh_acl_copy:
+36b4 793f8025 set0 mark_ext_patch ,mark 
+36b5 44b2400c bpatch patch0c_4 ,mem_patch0c 
+36b6 09800008 parse demod ,bucket ,8 
+36b7 19897e00 rshift3 pwindow ,pdata 
+36b8 e1408000 istore 1 ,contwu 
+36b9 c20036b4 loop process_dmh_acl_copy 
+36ba 1840f204 add temp ,4 ,loopcnt 
+36bb 20404494 call hci_check_bcsp_protocol 
+36bc 2420b6c1 nbranch process_dmh_acl_send_h4 ,true 
+36bd 79200013 set1 mark_h5tx_rp ,mark 
+36be 18000e06 force 6 ,queue 
+36bf 20404378 call bcsp_send_packet 
+36c0 202036ee branch process_dmh_data_end 
+
+process_dmh_acl_send_h4:
+36c1 20404424 call h4_send_packet_acl 
+36c2 202036ee branch process_dmh_data_end 
+
+process_dmh_data_l2cap_start_pkt:
+36c3 793f8025 set0 mark_ext_patch ,mark 
+36c4 44b2c00c bpatch patch0c_5 ,mem_patch0c 
+36c5 c507b72c bmark1 mark_old_packet ,ack_payload 
+36c6 68010169 fetch 2 ,mem_len 
+36c7 d84002e0 arg 0x2e0 ,temp 
+36c8 98467c00 isub temp ,null 
+36c9 2021374b branch error_payload ,positive 
+36ca 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+36cb c30036ce bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+36cc c300b6d3 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+36cd 2020375c branch end_of_packet 
+
+process_dmh_data_into_buff1:
+36ce 7002c801 jam 1 ,mem_l2cap_rxbuff_new 
+36cf 680102c4 fetch 2 ,mem_l2cap_rxbuff1_len 
+36d0 c080375c bne 0 ,end_of_packet 
+36d1 d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+36d2 202036ea branch process_dmh_data 
+
+process_dmh_data_into_buff2:
+36d3 7002c802 jam 2 ,mem_l2cap_rxbuff_new 
+36d4 680102c6 fetch 2 ,mem_l2cap_rxbuff2_len 
+36d5 c080375c bne 0 ,end_of_packet 
+36d6 d8a01400 arg mem_l2cap_rxbuff2 ,contw 
+36d7 202036ea branch process_dmh_data 
+
+process_dmh_data_l2cap_continue_pkt:
+36d8 793f8025 set0 mark_ext_patch ,mark 
+36d9 44b3400c bpatch patch0c_6 ,mem_patch0c 
+36da c507b72c bmark1 mark_old_packet ,ack_payload 
+36db 68010169 fetch 2 ,mem_len 
+36dc d84002e0 arg 0x2e0 ,temp 
+36dd 98467c00 isub temp ,null 
+36de 2021374b branch error_payload ,positive 
+36df 680082c8 fetch 1 ,mem_l2cap_rxbuff_new 
+36e0 c000b6e3 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+36e1 c00136e7 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+36e2 2020375c branch end_of_packet 
+
+process_dmh_data_l2cap_continue_pkt1:
+36e3 d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+36e4 680102c4 fetch 2 ,mem_l2cap_rxbuff1_len 
+36e5 98a08a00 iadd contw ,contw 
+36e6 202036ea branch process_dmh_data 
+
+process_dmh_data_l2cap_continue_pkt2:
+36e7 d8a01400 arg mem_l2cap_rxbuff2 ,contw 
+36e8 680102c6 fetch 2 ,mem_l2cap_rxbuff2_len 
+36e9 98a08a00 iadd contw ,contw 
+
+process_dmh_data:
+36ea 09800008 parse demod ,bucket ,8 
+36eb 19897e00 rshift3 pwindow ,pdata 
+36ec e0a08000 istore 1 ,contw 
+36ed c20036ea loop process_dmh_data 
+
+process_dmh_data_end:
+36ee 793f8025 set0 mark_ext_patch ,mark 
+36ef 44b3c00c bpatch patch0c_7 ,mem_patch0c 
+36f0 09800010 parse demod ,bucket ,16 
+36f1 20233745 branch error_payload_crc ,crc_failed 
+36f2 20403e0f call lpm_hci_wake_dispatch 
+36f3 6800c3cc fetch 1 ,mem_l2cap_flow_ctrl_flag 
+36f4 c000b75c beq l2cap_flow_ctrl_enable ,end_of_packet 
+36f5 c508b718 bmark1 mark_testmode ,process_dmh_cont 
+36f6 c507b759 bmark1 mark_old_packet ,redundant_payload 
+36f7 6800818a fetch 1 ,mem_lch_code 
+36f8 2fe00603 compare 3 ,pdata ,3 
+36f9 2020b718 branch process_dmh_cont ,true 
+36fa 68010169 fetch 2 ,mem_len 
+36fb 203a3718 branch process_dmh_cont ,blank 
+36fc 6800c132 fetch 1 ,mem_device_option 
+36fd c000b718 beq dvc_op_hci ,process_dmh_cont 
+36fe 793f8025 set0 mark_ext_patch ,mark 
+36ff 44b4400d bpatch patch0d_0 ,mem_patch0d 
+3700 680082c8 fetch 1 ,mem_l2cap_rxbuff_new 
+3701 c000b704 beq 1 ,process_l2cap_pass_crc_buff1 
+3702 c001370e beq 2 ,process_l2cap_pass_crc_buff2 
+3703 20203bf1 branch assert 
+
+process_l2cap_pass_crc_buff1:
+3704 680102c4 fetch 2 ,mem_l2cap_rxbuff1_len 
+3705 68090169 fetcht 2 ,mem_len 
+3706 9840fe00 iadd temp ,pdata 
+3707 600102c4 store 2 ,mem_l2cap_rxbuff1_len 
+3708 c0003bf1 beq 0 ,assert 
+3709 68091000 fetcht 2 ,mem_l2cap_rxbuff1 
+370a 18408404 increase 4 ,temp 
+370b 98467c00 isub temp ,null 
+370c 2042b8a0 call l2cap_buff1_inuse ,zero 
+370d 20203718 branch process_dmh_cont 
+
+process_l2cap_pass_crc_buff2:
+370e 680102c6 fetch 2 ,mem_l2cap_rxbuff2_len 
+370f 68090169 fetcht 2 ,mem_len 
+3710 9840fe00 iadd temp ,pdata 
+3711 600102c6 store 2 ,mem_l2cap_rxbuff2_len 
+3712 c0003bf1 beq 0 ,assert 
+3713 68091400 fetcht 2 ,mem_l2cap_rxbuff2 
+3714 18408404 add temp ,4 ,temp 
+3715 98467c00 isub temp ,null 
+3716 2042b8a4 call l2cap_buff2_inuse ,zero 
+3717 20203718 branch process_dmh_cont 
+
+process_dmh_cont:
+3718 793f8025 set0 mark_ext_patch ,mark 
+3719 44b4c00d bpatch patch0d_1 ,mem_patch0d 
+371a 6808804c fetcht 1 ,mem_state_map 
+371b 6800818a fetch 1 ,mem_lch_code 
+371c 2fe00603 compare 3 ,pdata ,0x03 
+371d 79208406 setflag true ,smap_rxlmp ,temp 
+371e 7d208407 nsetflag true ,smap_rxl2cap ,temp 
+371f 6008804c storet 1 ,mem_state_map 
+3720 2420b722 nbranch process_dmh_cont_rxbuf_not_use ,true 
+3721 79200001 set1 mark_rxbuf_inuse ,mark 
+
+process_dmh_cont_rxbuf_not_use:
+3722 c588b72c bmark0 mark_testmode ,ack_payload 
+3723 284ffe06 isolate1 smap_rxlmp ,temp 
+3724 2020b72c branch ack_payload ,true 
+3725 680100fc fetch 2 ,mem_tst_pktcnt_crc 
+3726 1fe0fe01 increase 1 ,pdata 
+3727 600100fc store 2 ,mem_tst_pktcnt_crc 
+3728 79200005 set1 mark_loopback ,mark 
+3729 793f8407 set0 smap_rxl2cap ,temp 
+372a 793f8001 set0 mark_rxbuf_inuse ,mark 
+372b 6008804c storet 1 ,mem_state_map 
+
+ack_payload:
+372c 793f8025 set0 mark_ext_patch ,mark 
+372d 44b5400d bpatch patch0d_2 ,mem_patch0d 
+372e 68088160 fetcht 1 ,mem_temp_arq 
+372f 68008047 fetch 1 ,mem_arq 
+3730 79207e05 set1 arqnx ,pdata 
+3731 284ffe02 isolate1 seqn ,temp 
+3732 7920fe02 setflag true ,seqn ,pdata 
+3733 280ffe0a isolate1 mark_am_addr_broadcast ,mark 
+3734 7920fe07 setflag true ,bcast1 ,pdata 
+3735 60008047 store 1 ,mem_arq 
+3736 68010169 fetch 2 ,mem_len 
+3737 243a375c nbranch end_of_packet ,blank 
+3738 6800804c fetch 1 ,mem_state_map 
+3739 793ffe07 set0 smap_rxl2cap ,pdata 
+373a 6000804c store 1 ,mem_state_map 
+373b 6800818a fetch 1 ,mem_lch_code 
+373c 2fe00e01 compare 0x01 ,pdata ,0x07 
+373d 2020375c branch end_of_packet 
+
+error_header:
+373e 793f8025 set0 mark_ext_patch ,mark 
+373f 44b5c00d bpatch patch0d_3 ,mem_patch0d 
+3740 7856fc00 disable match 
+3741 6801001a fetch 2 ,mem_rx_hec_err 
+3742 1fe0fe01 increase 1 ,pdata 
+3743 6001001a store 2 ,mem_rx_hec_err 
+3744 2020375c branch end_of_packet 
+
+error_payload_crc:
+3745 6801001c fetch 2 ,mem_rx_crc_err 
+3746 1fe0fe01 increase 1 ,pdata 
+3747 6001001c store 2 ,mem_rx_crc_err 
+3748 2040374c call discard_pkt 
+3749 c588b74b bmark0 mark_testmode ,error_payload 
+374a 79200005 set1 mark_loopback ,mark 
+
+error_payload:
+374b 2020375c branch end_of_packet 
+
+discard_pkt:
+374c 793f8025 set0 mark_ext_patch ,mark 
+374d 44b6400d bpatch patch0d_4 ,mem_patch0d 
+374e 6800818a fetch 1 ,mem_lch_code 
+374f 2fe00603 compare 3 ,pdata ,0x03 
+3750 2420b755 nbranch discard_pkt_l2cap ,true 
+
+discard_pkt_lmp:
+3751 6808804c fetcht 1 ,mem_state_map 
+3752 793f8406 set0 smap_rxlmp ,temp 
+3753 6008804c storet 1 ,mem_state_map 
+3754 20600000 rtn 
+
+discard_pkt_l2cap:
+3755 6808804c fetcht 1 ,mem_state_map 
+3756 793f8407 set0 smap_rxl2cap ,temp 
+3757 6008804c storet 1 ,mem_state_map 
+3758 2020443b branch h4_send_acl_trigger_clear 
+
+redundant_payload:
+3759 68008047 fetch 1 ,mem_arq 
+375a 79207e05 set1 arqnx ,pdata 
+375b 60008047 store 1 ,mem_arq 
+
+end_of_packet:
+375c 793f8025 set0 mark_ext_patch ,mark 
+375d 44b6c00d bpatch patch0d_5 ,mem_patch0d 
+375e 784efc00 disable encode_fec0 
+375f 784e7c00 disable encode_fec2 
+3760 7846fc00 disable decode_fec0 
+3761 78467c00 disable decode_fec2 
+3762 7844fc00 disable enable_crc 
+3763 78477c00 disable encrypt 
+3764 7843fc00 disable enable_white 
+3765 2030ba6d branch shutdown_radio ,is_rx 
+3766 37d38200 until null ,tx_clear 
+3767 20000064 nop 100 
+3768 20203a6d branch shutdown_radio 
+
+process_fhs:
+3769 793f8025 set0 mark_ext_patch ,mark 
+376a 44b7400d bpatch patch0d_6 ,mem_patch0d 
+376b 7824fc00 enable enable_crc 
+376c 78267c00 enable decode_fec2 
+376d 09800048 parse demod ,bucket ,72 
+376e 2feffe3a isolate1 58 ,pdata 
+376f 79208000 setflag true ,mark_fhs_eir ,mark 
+3770 1c020400 copy bt_adr ,temp 
+3771 57e04000 ialigned bt_adr 
+3772 57e03c00 ialigned fhs0 
+3773 782afc00 pulse recalc 
+3774 380bffff setsect 2 ,0xfffff 
+3775 380cffff setsect 3 ,0x0ffff 
+3776 20000020 nop 32 
+3777 29a80000 iverify fhs_parity 
+3778 1d827e00 deposit lap 
+3779 60018182 store 3 ,extm_lap 
+377a 1da27e00 deposit uap 
+377b 60008185 store 1 ,extm_uap 
+377c 18424000 copy temp ,bt_adr 
+377d 2020b77f branch fhs_parity_ok ,true 
+377e 2020374b branch error_payload 
+
+fhs_parity_ok:
+377f 793f8025 set0 mark_ext_patch ,mark 
+3780 44b7c00d bpatch patch0d_7 ,mem_patch0d 
+3781 09800048 parse demod ,bucket ,72 
+3782 57e03e00 ialigned fhs1 
+3783 57e00800 ialigned am_addr 
+3784 57e05c00 ialigned nap 
+3785 57e02400 ialigned regb 
+3786 18007e00 force 0 ,pdata 
+3787 09800010 parse demod ,bucket ,16 
+3788 2023374b branch error_payload ,crc_failed 
+3789 5ffffffc setarg 0x0ffffffc 
+378a 9a417e00 iand regb ,pdata 
+378b 6002016f store 4 ,mem_clke_bt 
+378c 1ba27e00 deposit fhs_class 
+378d 6001817f store 3 ,extm_class 
+378e 1b827e00 deposit fhs_misc 
+378f 6000817d store 1 ,extm_fhs_misc 
+3790 18827e00 deposit am_addr 
+3791 6000817e store 1 ,extm_newconn_am_addr 
+3792 1dc27e00 deposit nap 
+3793 60010186 store 2 ,extm_nap 
+3794 1c227e00 deposit bt_clk 
+3795 08008220 inject rxf ,32 
+3796 28201e02 compare type_fhs ,type ,0x0f 
+3797 7920800b setflag true ,mark_fhs_already_good ,mark 
+3798 2020375c branch end_of_packet 
+
+clear_got_tx:
+3799 793f8025 set0 mark_ext_patch ,mark 
+379a 44b8400e bpatch patch0e_0 ,mem_patch0e 
+379b 68008047 fetch 1 ,mem_arq 
+379c c4018000 rtnbit0 wack 
+379d 793ffe03 set0 wack ,pdata 
+379e 79407e06 setflip seqnx ,pdata 
+379f 60008047 store 1 ,mem_arq 
+37a0 6800c165 fetch 1 ,mem_last_type 
+37a1 c009b7b1 beq type_lmp ,clear_got_txlmp 
+37a2 c1038000 rtneq type_hv3 
+37a3 6800804b fetch 1 ,mem_op 
+37a4 c4030000 rtnbit0 op_txl2cap ,pdata 
+37a5 793ffe06 set0 op_txl2cap ,pdata 
+37a6 79207e07 set1 op_pkt_comp ,pdata 
+37a7 6000804b store 1 ,mem_op 
+37a8 793f8002 set0 mark_tx_l2cap ,mark 
+37a9 6800c132 fetch 1 ,mem_device_option 
+37aa c1008000 rtneq dvc_op_hci 
+37ab 680142af fetch 2 ,mem_l2cap_tx_multi_offset 
+37ac 247a0000 nrtn blank 
+37ad 6800804b fetch 1 ,mem_op 
+37ae 793ffe07 set0 op_pkt_comp ,pdata 
+37af 6000804b store 1 ,mem_op 
+37b0 20205267 branch l2cap_malloc_free 
+
+clear_got_txlmp:
+37b1 793f8025 set0 mark_ext_patch ,mark 
+37b2 44b8c00e bpatch patch0e_1 ,mem_patch0e 
+37b3 68008433 fetch 1 ,mem_lmo_header_opcode 
+37b4 1fe37e00 rshift pdata ,pdata 
+37b5 c008b7d0 beq lmp_start_encryption_req ,start_encryption 
+37b6 c00937da beq lmp_stop_encryption_req ,stop_encryption 
+37b7 c00c3806 beq lmp_unsniff_req ,sniff_exit 
+37b8 c03fb7bf beq lmp_escape ,clear_lmp_escape 
+37b9 c016385e beq lmp_remove_sco_link_req ,stop_sco 
+37ba c1818000 rtnne lmp_accepted 
+37bb 68008434 fetch 1 ,mem_lmo_payload 
+37bc c015b7c8 beq lmp_sco_link_req ,sco_link_req_by_slave 
+37bd c008b7c3 beq lmp_start_encryption_req ,clear_send_setup_complete 
+37be 20600000 rtn 
+
+clear_lmp_escape:
+37bf 68008434 fetch 1 ,mem_lmo_payload 
+37c0 79207e07 set1 7 ,pdata 
+37c1 c046b85e beq lmp_ext_remove_esco_req ,stop_sco 
+37c2 20600000 rtn 
+
+clear_send_setup_complete:
+37c3 20748000 rtn master 
+37c4 68008030 fetch 1 ,mem_state 
+37c5 c3820000 rtnbit1 state_conn_comp 
+37c6 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+37c7 20600000 rtn 
+
+sco_link_req_by_slave:
+37c8 20748000 rtn master 
+37c9 68008031 fetch 1 ,mem_mode 
+37ca 2feffe04 isolate1 send_sco_when_slave ,pdata 
+37cb 2020b7cd branch clean_mem_mode ,true 
+37cc 20600000 rtn 
+
+clean_mem_mode:
+37cd 793ffe04 set0 send_sco_when_slave ,pdata 
+37ce 60008031 store 1 ,mem_mode 
+37cf 20600000 rtn 
+
+start_encryption:
+37d0 793f8025 set0 mark_ext_patch ,mark 
+37d1 44b9400e bpatch patch0e_2 ,mem_patch0e 
+37d2 6800804c fetch 1 ,mem_state_map 
+37d3 79207e02 set1 smap_encryption ,pdata 
+37d4 6000804c store 1 ,mem_state_map 
+37d5 70801101 hjam 1 ,core_encrypt 
+37d6 68008030 fetch 1 ,mem_state 
+37d7 2feffe04 isolate1 state_conn_comp ,pdata 
+37d8 2020c845 branch hci_send_encryption_change ,true 
+37d9 20600000 rtn 
+
+stop_encryption:
+37da 793f8025 set0 mark_ext_patch ,mark 
+37db 44b9c00e bpatch patch0e_3 ,mem_patch0e 
+37dc 6800804c fetch 1 ,mem_state_map 
+37dd 793ffe02 set0 smap_encryption ,pdata 
+37de 6000804c store 1 ,mem_state_map 
+37df 70801100 hjam 0 ,core_encrypt 
+37e0 20600000 rtn 
+
+sniff_init:
+37e1 793f8025 set0 mark_ext_patch ,mark 
+37e2 44ba400e bpatch patch0e_4 ,mem_patch0e 
+37e3 1c427e00 copy clkn_bt ,pdata 
+37e4 600242a5 store 4 ,mem_lpm_delay_after_sniff 
+37e5 1c40a203 add clkn_bt ,3 ,rega 
+37e6 2034b7e8 branch sniff_init_master ,master 
+37e7 1d00a203 add clke_bt ,3 ,rega 
+
+sniff_init_master:
+37e8 68090032 fetcht 2 ,mem_tsniff 
+37e9 1a227e00 deposit rega 
+37ea 793ffe1b set0 27 ,pdata 
+37eb 9846fc00 idiv temp 
+37ec 68010075 fetch 2 ,mem_dsniff 
+37ed 20407efd call wait_div_end 
+37ee 18072600 remainder regc 
+37ef 9a667e00 isub regc ,pdata 
+37f0 202137f2 branch sniff_init_nowrap ,positive 
+37f1 9840fe00 iadd temp ,pdata 
+
+sniff_init_nowrap:
+37f2 9a20fe00 iadd rega ,pdata 
+37f3 60020034 store 4 ,mem_sniff_anchor 
+37f4 70474800 jam switch_flag_init ,mem_switch_flag 
+37f5 68008030 fetch 1 ,mem_state 
+37f6 79207e01 set1 state_insniff ,pdata 
+37f7 60008030 store 1 ,mem_state 
+37f8 68008073 fetch 1 ,mem_sniff_attempt 
+37f9 6000808a store 1 ,mem_current_sniff_attempt 
+37fa 70416e80 jam 0x80 ,mem_seqi 
+37fb 58000000 setarg 0 
+37fc 6001c20a store 3 ,mem_sniff_rcv 
+37fd 6001c20d store 3 ,mem_sniff_lost 
+37fe 6000c1fa store 1 ,mem_sniff_unint_lost 
+37ff 700b7d0b jam bt_evt_enter_sniff ,mem_fifo_temp 
+3800 20407c27 call ui_ipc_send_event 
+3801 68014161 fetch 2 ,mem_rx_window_sniff 
+3802 6001003e store 2 ,mem_rx_window 
+3803 24748000 nrtn master 
+3804 18808fff add am_addr ,-1 ,queue 
+3805 20600000 rtn 
+
+sniff_exit:
+3806 793f8025 set0 mark_ext_patch ,mark 
+3807 44bac00e bpatch patch0e_5 ,mem_patch0e 
+3808 68008030 fetch 1 ,mem_state 
+3809 c4008000 rtnbit0 state_insniff 
+380a 793ffe01 set0 state_insniff ,pdata 
+380b 60008030 store 1 ,mem_state 
+380c 70416e7f jam 0x7f ,mem_seqi 
+380d 6801415f fetch 2 ,mem_rx_window_init 
+380e 6001003e store 2 ,mem_rx_window 
+380f 7855fc00 disable wake 
+3810 700b7d0c jam bt_evt_exit_sniff ,mem_fifo_temp 
+3811 20207c27 branch ui_ipc_send_event 
+
+check_attempt:
+3812 793f8025 set0 mark_ext_patch ,mark 
+3813 44bb400e bpatch patch0e_6 ,mem_patch0e 
+3814 78377c00 enable attempt 
+3815 68008030 fetch 1 ,mem_state 
+3816 c280b820 bbit1 state_insniff ,check_attempt_sniff 
+3817 c6088000 rtnmark1 mark_testmode 
+3818 68008047 fetch 1 ,mem_arq 
+3819 c3818000 rtnbit1 wack 
+381a 68008048 fetch 1 ,mem_lmp_to_send 
+381b 247a0000 nrtn blank 
+381c 6800804b fetch 1 ,mem_op 
+381d c3830000 rtnbit1 op_txl2cap 
+
+check_attempt_nomore:
+381e 18007e00 force 0 ,pdata 
+381f 20600000 rtn 
+
+check_attempt_sniff:
+3820 c3013830 bbit0 state_insco ,check_attempt_not_sco 
+3821 6800808a fetch 1 ,mem_current_sniff_attempt 
+3822 c0013826 beq 2 ,check_attempt_sniff_restore_sco 
+3823 68008047 fetch 1 ,mem_arq 
+3824 c281b839 bbit1 wack ,check_attempt_notimeout 
+3825 c5843839 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+
+check_attempt_sniff_restore_sco:
+3826 20403290 call restore_esco 
+3827 2434b839 nbranch check_attempt_notimeout ,master 
+3828 68008048 fetch 1 ,mem_lmp_to_send 
+3829 243a3839 nbranch check_attempt_notimeout ,blank 
+
+check_attempt_sco_master:
+382a 680080f1 fetch 1 ,mem_sco_poll 
+382b 1fe0ffff increase -1 ,pdata 
+382c 600080f1 store 1 ,mem_sco_poll 
+382d 243a381e nbranch check_attempt_nomore ,blank 
+382e 7000f110 jam param_sco_poll ,mem_sco_poll 
+382f 20203839 branch check_attempt_notimeout 
+
+check_attempt_not_sco:
+3830 6800808a fetch 1 ,mem_current_sniff_attempt 
+3831 c080b839 bne 1 ,check_attempt_notimeout 
+3832 6800808b fetch 1 ,mem_current_sniff_timeout 
+3833 203a3839 branch check_attempt_notimeout ,blank 
+3834 1fe0ffff increase -1 ,pdata 
+3835 6000808b store 1 ,mem_current_sniff_timeout 
+3836 68008047 fetch 1 ,mem_arq 
+3837 c3818000 rtnbit1 wack 
+3838 24768000 nrtn match 
+
+check_attempt_notimeout:
+3839 6800808a fetch 1 ,mem_current_sniff_attempt 
+383a 1fe0ffff increase -1 ,pdata 
+383b 6000808a store 1 ,mem_current_sniff_attempt 
+383c 20600000 rtn 
+
+sniff_check_window:
+383d 793f8025 set0 mark_ext_patch ,mark 
+383e 44bbc00e bpatch patch0e_7 ,mem_patch0e 
+383f 78487c00 disable swfine 
+3840 18423600 copy temp ,stop_watch 
+3841 20403300 call context_search_sniff_window 
+3842 78547c00 disable user 
+3843 24628000 nrtn zero 
+3844 18003600 force 0 ,stop_watch 
+3845 78347c00 enable user 
+3846 20600000 rtn 
+
+check_esco_amaddr:
+3847 6800c1f9 fetch 1 ,mem_esco_addr 
+3848 a881fe00 icompare 0xff ,am_addr 
+3849 20600000 rtn 
+
+play_sco:
+384a 793f8025 set0 mark_ext_patch ,mark 
+384b 44bc400f bpatch patch0f_0 ,mem_patch0f 
+384c 70417101 jam 1 ,mem_max_slot 
+384d 20406a40 call enable_pcm 
+384e 18007e0c force 12 ,pdata 
+384f 60010032 store 2 ,mem_tsniff 
+3850 680080af fetch 1 ,mem_esco_desco 
+3851 1fe3fe00 lshift pdata ,pdata 
+3852 60010075 store 2 ,mem_dsniff 
+3853 68008030 fetch 1 ,mem_state 
+3854 79207e02 set1 state_insco ,pdata 
+3855 60008030 store 1 ,mem_state 
+3856 70007303 jam 3 ,mem_sniff_attempt 
+3857 70008a03 jam 3 ,mem_current_sniff_attempt 
+3858 204037e1 call sniff_init 
+3859 18000400 force 0 ,temp 
+385a 20404914 call hci_send_sco_complete 
+385b 7000b350 jam 0x50 ,mem_esco_arq 
+385c 7000f110 jam param_sco_poll ,mem_sco_poll 
+385d 20600000 rtn 
+
+stop_sco:
+385e 793f8025 set0 mark_ext_patch ,mark 
+385f 44bcc00f bpatch patch0f_1 ,mem_patch0f 
+3860 20403806 call sniff_exit 
+3861 70417105 jam 5 ,mem_max_slot 
+3862 20406a4a call disable_pcm 
+3863 68008030 fetch 1 ,mem_state 
+3864 793ffe02 set0 state_insco ,pdata 
+3865 60008030 store 1 ,mem_state 
+
+stop_sco_hci:
+3866 d8400e00 arg 0xe00 ,temp 
+3867 7002c013 jam hci_error_remote_user_ended_connection ,mem_hci_disconn_reason 
+3868 202048c4 branch hci_send_disconn_complete 
+
+stop_esco:
+3869 793f8025 set0 mark_ext_patch ,mark 
+386a 44bd400f bpatch patch0f_2 ,mem_patch0f 
+386b 7000b100 jam default_neogotiation_state ,mem_neogotiation_state 
+386c 2040385e call stop_sco 
+386d 20403290 call restore_esco 
+386e 793f8007 set0 mark_esco ,mark 
+386f 20600000 rtn 
+
+parse_l2cap:
+3870 793f8025 set0 mark_ext_patch ,mark 
+3871 44bdc00f bpatch patch0f_3 ,mem_patch0f 
+3872 6800c132 fetch 1 ,mem_device_option 
+3873 c000b898 beq dvc_op_hci ,parse_l2cap_hci 
+3874 793f8001 set0 mark_rxbuf_inuse ,mark 
+
+parse_l2cap_cont:
+3875 7002d100 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+3876 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+3877 207a0000 rtn blank 
+3878 2feffe00 isolate1 l2cap_inuse_buff1 ,pdata 
+3879 d8c01000 arg mem_l2cap_rxbuff1 ,contr 
+387a 2040cda8 call process_rx_l2cap_pkt ,true 
+387b 793f8025 set0 mark_ext_patch ,mark 
+387c 44be400f bpatch patch0f_4 ,mem_patch0f 
+387d 680082d1 fetch 1 ,mem_l2cap_rx_done 
+387e c000b88c beq l2cap_rx_done ,parse_l2cap_release_buff1 
+387f 7002d100 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+3880 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+3881 c4008000 rtnbit0 l2cap_inuse_buff2 
+3882 d8c01400 arg mem_l2cap_rxbuff2 ,contr 
+3883 20404da8 call process_rx_l2cap_pkt 
+3884 680082d1 fetch 1 ,mem_l2cap_rx_done 
+3885 c000b892 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+3886 20600000 rtn 
+
+parse_l2cap_exit:
+3887 6800804c fetch 1 ,mem_state_map 
+3888 793ffe07 set0 smap_rxl2cap ,pdata 
+3889 6000804c store 1 ,mem_state_map 
+388a 793f8001 set0 mark_rxbuf_inuse ,mark 
+388b 2020443b branch h4_send_acl_trigger_clear 
+
+parse_l2cap_release_buff1:
+388c 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+388d 793ffe00 set0 l2cap_inuse_buff1 ,pdata 
+388e 600082ca store 1 ,mem_l2cap_rxbuff_inuse 
+388f 58000000 setarg 0 
+3890 600102c4 store 2 ,mem_l2cap_rxbuff1_len 
+3891 20600000 rtn 
+
+parse_l2cap_release_buff2:
+3892 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+3893 793ffe01 set0 l2cap_inuse_buff2 ,pdata 
+3894 600082ca store 1 ,mem_l2cap_rxbuff_inuse 
+3895 58000000 setarg 0 
+3896 600102c6 store 2 ,mem_l2cap_rxbuff2_len 
+3897 20600000 rtn 
+
+parse_l2cap_hci:
+3898 6800804c fetch 1 ,mem_state_map 
+3899 c4038000 rtnbit0 smap_rxl2cap ,pdata 
+389a 20404435 call h4_send_acl_trigger 
+389b 68014800 fetch 2 ,mem_acl_credits 
+389c 203a3bf1 branch assert ,blank 
+389d 1fe0ffff increase -1 ,pdata 
+389e 60014800 store 2 ,mem_acl_credits 
+389f 20203887 branch parse_l2cap_exit 
+
+l2cap_buff1_inuse:
+38a0 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+38a1 79207e00 set1 l2cap_inuse_buff1 ,pdata 
+38a2 600082ca store 1 ,mem_l2cap_rxbuff_inuse 
+38a3 20600000 rtn 
+
+l2cap_buff2_inuse:
+38a4 680082ca fetch 1 ,mem_l2cap_rxbuff_inuse 
+38a5 79207e01 set1 l2cap_inuse_buff2 ,pdata 
+38a6 600082ca store 1 ,mem_l2cap_rxbuff_inuse 
+38a7 20600000 rtn 
+
+slave_send_access:
+38a8 793f8025 set0 mark_ext_patch ,mark 
+38a9 44bec00f bpatch patch0f_5 ,mem_patch0f 
+38aa 1d00c201 add clke_bt ,1 ,bt_clk 
+38ab 20403a5d call fetch_extm_bt_adr 
+38ac 18004803 force 0x03 ,freq_mode 
+38ad 20403a42 call tx_radio_freq 
+38ae 20403bae call start_transmitter 
+38af 20403bbf call start_tx_external 
+38b0 20203bc5 branch send_access_word 
+
+slave_conn_send_packet:
+38b1 793f8025 set0 mark_ext_patch ,mark 
+38b2 44bf400f bpatch patch0f_6 ,mem_patch0f 
+38b3 20403baa call rf_setup_time_slave_slot 
+38b4 1d027e00 deposit clke_bt 
+38b5 680a416a fetcht 4 ,mem_next_btclk 
+38b6 98467e00 isub temp ,pdata 
+38b7 c1808000 rtnne 1 
+38b8 28203e00 compare type_null ,type ,0x1f 
+38b9 2420b8bc nbranch slave_conn_send_access ,true 
+38ba 68008019 fetch 1 ,mem_rx_type 
+38bb 207a0000 rtn blank 
+
+slave_conn_send_access:
+38bc 204038a8 call slave_send_access 
+38bd 28203e10 compare type_id ,type ,0x1f 
+38be 2020b75c branch end_of_packet ,true 
+
+transmit_packet:
+38bf 1c230400 rshift bt_clk ,temp 
+38c0 18419c40 or temp ,0x40 ,white_init 
+
+transmit_packet_whitened:
+38c1 793f8025 set0 mark_ext_patch ,mark 
+38c2 44bfc00f bpatch patch0f_7 ,mem_patch0f 
+38c3 7823fc00 enable enable_white 
+38c4 78257c00 enable enable_hec 
+38c5 782dfc00 enable encode_fec1 
+38c6 793f8010 set0 mark_longpacket ,mark 
+38c7 18827e00 deposit am_addr 
+38c8 08008603 inject mod ,3 
+38c9 18227e00 deposit type 
+38ca 08008604 inject mod ,4 
+38cb 68008047 fetch 1 ,mem_arq 
+38cc 08008004 inject bucket ,4 
+38cd 08008603 inject mod ,3 
+38ce 78247c00 enable enable_parity 
+38cf 08008608 inject mod ,8 
+38d0 784dfc00 disable encode_fec1 
+38d1 78447c00 disable enable_parity 
+38d2 78457c00 disable enable_hec 
+38d3 793faa02 set0 psk3m ,radio_ctrl 
+38d4 d8400000 arg 0 ,temp 
+38d5 20403b74 call reserve_slot 
+38d6 793f8025 set0 mark_ext_patch ,mark 
+38d7 44c04010 bpatch patch10_0 ,mem_patch10 
+38d8 18217e1f and type ,0x1f ,pdata 
+38d9 c009b913 beq type_lmp ,transmit_lmp 
+38da c000375c beq type_null ,end_of_packet 
+38db c000b75c beq type_poll ,end_of_packet 
+38dc c00138f5 beq type_fhs ,transmit_fhs 
+38dd c001b925 beq type_dm1 ,transmit_dm1 
+38de c002392b beq type_dh1 ,transmit_dh1 
+38df c003b8e9 beq type_hv3 ,transmit_hev 
+38e0 c004392a beq type_3dh1 ,transmit_3dh1 
+38e1 d8400004 arg 4 ,temp 
+38e2 20403b74 call reserve_slot 
+38e3 c0053927 beq type_dm3 ,transmit_dm3 
+38e4 c005b92d beq type_dh3 ,transmit_dh3 
+38e5 d8400008 arg 8 ,temp 
+38e6 20403b74 call reserve_slot 
+38e7 c007b92d beq type_dh5 ,transmit_dh5 
+38e8 20203927 branch transmit_dm5 
+
+transmit_hev:
+38e9 793f8025 set0 mark_ext_patch ,mark 
+38ea 44c0c010 bpatch patch10_1 ,mem_patch10 
+38eb 782efc00 enable encode_fec0 
+38ec 7824fc00 enable enable_crc 
+38ed 78277c00 enable encrypt 
+38ee 1800721e force 30 ,loopcnt 
+38ef d8c000b5 arg mem_sco_obuf ,contr 
+
+transmit_ev_loop:
+38f0 e8c08000 ifetch 1 ,contr 
+38f1 08008608 inject mod ,8 
+38f2 c20038f0 loop transmit_ev_loop 
+38f3 c503b960 bmark1 mark_esco ,transmit_end 
+38f4 2020375c branch end_of_packet 
+
+transmit_fhs:
+38f5 793f8025 set0 mark_ext_patch ,mark 
+38f6 44c14010 bpatch patch10_2 ,mem_patch10 
+38f7 6800818b fetch 1 ,mem_fhs_am_addr 
+38f8 1fe20800 icopy am_addr 
+38f9 6800808f fetch 1 ,mem_fhs_misc 
+38fa 1fe23800 icopy fhs_misc 
+38fb 6801c14a fetch 3 ,mem_class 
+38fc 1fe23a00 icopy fhs_class 
+38fd 68014144 fetch 2 ,mem_nap 
+38fe 1fe25c00 icopy nap 
+38ff 7824fc00 enable enable_crc 
+3900 782e7c00 enable encode_fec2 
+3901 1c022200 copy bt_adr ,rega 
+3902 20403a54 call fetch_self_bt_adr 
+3903 782afc00 pulse recalc 
+3904 20000020 nop 32 
+3905 1c221600 copy bt_clk ,timeup 
+3906 6802016b fetch 4 ,mem_clkn_bt 
+3907 1fe24200 icopy bt_clk 
+3908 53c07e00 preload fhs0 
+3909 79207e3a set1 58 ,pdata 
+390a 08008648 inject mod ,72 
+390b 53e07e00 preload fhs1 
+390c 08008648 inject mod ,72 
+390d 19624200 copy timeup ,bt_clk 
+390e 1a224000 copy rega ,bt_adr 
+390f 78247c00 enable enable_parity 
+3910 08008610 inject mod ,16 
+3911 78447c00 disable enable_parity 
+3912 2020375c branch end_of_packet 
+
+transmit_lmp:
+3913 793f8025 set0 mark_ext_patch ,mark 
+3914 44c1c010 bpatch patch10_3 ,mem_patch10 
+3915 78277c00 enable encrypt 
+3916 7824fc00 enable enable_crc 
+3917 782e7c00 enable encode_fec2 
+3918 68008432 fetch 1 ,mem_lmo_header_length 
+3919 1fe105f8 and pdata ,0x1f8 ,temp 
+391a d8c00432 arg mem_lmo_header_length ,contr 
+391b 18408408 increase 8 ,temp 
+
+transmit_lmp_loop:
+391c 1840a7b8 add temp ,-72 ,regc 
+391d 24213922 nbranch transmit_lmp_finish ,positive 
+391e e8c48000 ifetch 9 ,contr 
+391f 08008648 inject mod ,72 
+3920 1a620400 copy regc ,temp 
+3921 2020391c branch transmit_lmp_loop 
+
+transmit_lmp_finish:
+3922 e8c48000 ifetch 9 ,contr 
+3923 08418600 iinject mod ,temp 
+3924 20203960 branch transmit_end 
+
+transmit_dm1:
+3925 782e7c00 enable encode_fec2 
+3926 20203930 branch transmit_dmh 
+
+transmit_dm3:
+
+transmit_dm5:
+3927 782e7c00 enable encode_fec2 
+3928 79200010 set1 mark_longpacket ,mark 
+3929 20203930 branch transmit_dmh 
+
+transmit_3dh1:
+392a 79202a02 set1 psk3m ,radio_ctrl 
+
+transmit_dh1:
+392b 782efc00 enable encode_fec0 
+392c 20203930 branch transmit_dmh 
+
+transmit_dh3:
+
+transmit_dh5:
+392d 79202a02 set1 psk3m ,radio_ctrl 
+392e 782efc00 enable encode_fec0 
+392f 79200010 set1 mark_longpacket ,mark 
+
+transmit_dmh:
+3930 793f8025 set0 mark_ext_patch ,mark 
+3931 44c24010 bpatch patch10_4 ,mem_patch10 
+3932 6800804c fetch 1 ,mem_state_map 
+3933 c302b946 bbit0 smap_edr ,transmit_noedr 
+3934 18267c03 sub type ,3 ,null 
+3935 20213946 branch transmit_noedr ,positive 
+3936 78477c00 disable encrypt 
+3937 784e7c00 disable encode_fec2 
+3938 782efc00 enable encode_fec0 
+3939 7843fc00 disable enable_white 
+393a 79202a01 set1 psk ,radio_ctrl 
+393b 2aaffe02 isolate1 psk3m ,radio_ctrl 
+393c 2020b940 branch transmit_edr3m ,true 
+393d 580abeee setarg 0xabeee 
+393e 08008614 inject mod ,20 
+393f 20203944 branch transmit_edr_sync_end 
+
+transmit_edr3m:
+3940 585faeba setarg 0x5faeba 
+3941 08008618 inject mod ,24 
+3942 58000012 setarg 0x12 
+3943 08008606 inject mod ,6 
+
+transmit_edr_sync_end:
+3944 7823fc00 enable enable_white 
+3945 79200010 set1 mark_longpacket ,mark 
+
+transmit_noedr:
+3946 78277c00 enable encrypt 
+3947 7824fc00 enable enable_crc 
+3948 c502b969 bmark1 mark_loopback ,transmit_loopback 
+3949 68008090 fetch 1 ,mem_tx_lch 
+394a 08008603 inject mod ,3 
+394b 68010091 fetch 2 ,mem_tx_len 
+394c 98007200 iforce loopcnt 
+394d c5083950 bmark1 mark_longpacket ,transmit_long 
+394e 08008605 inject mod ,5 
+394f 20203951 branch transmit_stuff 
+
+transmit_long:
+3950 0800860d inject mod ,13 
+
+transmit_stuff:
+3951 6800c132 fetch 1 ,mem_device_option 
+3952 c000b95b beq dvc_op_hci ,transmit_stuff_hci 
+3953 1f227e00 deposit loopcnt 
+3954 203a3960 branch transmit_end ,blank 
+3955 68010179 fetch 2 ,mem_txptr 
+3956 98000c00 iforce contr 
+
+transmit_stuff_loop:
+3957 e8c08000 ifetch 1 ,contr 
+3958 08008608 inject mod ,8 
+3959 c2003957 loop transmit_stuff_loop 
+395a 20203960 branch transmit_end 
+
+transmit_stuff_hci:
+395b 68010179 fetch 2 ,mem_txptr 
+395c 98000600 iforce contru 
+
+transmit_stuff_hci_loop:
+395d e8608000 ifetch 1 ,contru 
+395e 08008608 inject mod ,8 
+395f c200395d loop transmit_stuff_hci_loop 
+
+transmit_end:
+3960 78247c00 enable enable_parity 
+3961 08008610 inject mod ,16 
+3962 78447c00 disable enable_parity 
+3963 20403583 call set_wait_ack 
+3964 6800804c fetch 1 ,mem_state_map 
+3965 c302b75c bbit0 smap_edr ,end_of_packet 
+3966 18007e00 force 0 ,pdata 
+3967 08008606 inject mod ,6 
+3968 2020375c branch end_of_packet 
+
+transmit_loopback:
+3969 793f8025 set0 mark_ext_patch ,mark 
+396a 44c2c010 bpatch patch10_5 ,mem_patch10 
+396b c5083972 bmark1 mark_longpacket ,transmit_loopback_long 
+
+transmit_loopback_short:
+396c 6800818a fetch 1 ,mem_lch_code 
+396d 08008603 inject mod ,3 
+396e 68008169 fetch 1 ,mem_len 
+396f 98002600 iforce regc 
+3970 08008605 inject mod ,5 
+3971 20203977 branch transmit_loopback_cont 
+
+transmit_loopback_long:
+3972 6800818a fetch 1 ,mem_lch_code 
+3973 08008603 inject mod ,3 
+3974 68010169 fetch 2 ,mem_len 
+3975 98002600 iforce regc 
+3976 0800860d inject mod ,13 
+
+transmit_loopback_cont:
+3977 d8c004de arg mem_rxbuf ,contr 
+
+transmit_loopback_loop:
+3978 1a627c00 copy regc ,null 
+3979 2022b97e branch transmit_loopback_end ,zero 
+397a e8c08000 ifetch 1 ,contr 
+397b 08008608 inject mod ,8 
+397c 1a60a7ff increase -1 ,regc 
+397d 20203978 branch transmit_loopback_loop 
+
+transmit_loopback_end:
+397e 680100fe fetch 2 ,mem_tst_pktcnt_dmh 
+397f 1fe0fe01 increase 1 ,pdata 
+3980 600100fe store 2 ,mem_tst_pktcnt_dmh 
+3981 20203960 branch transmit_end 
+
+apply_switch_clke:
+3982 6802016f fetch 4 ,mem_clke_bt 
+3983 1fe0a207 add pdata ,7 ,rega 
+3984 6801017b fetch 2 ,mem_slot_offset 
+3985 243a3988 nbranch apply_switch_nozero ,blank 
+3986 1a20a3fd increase -3 ,rega 
+3987 20203990 branch apply_switch_wait_loop 
+
+apply_switch_nozero:
+3988 1feffe0c mul32 pdata ,12 ,pdata 
+3989 68190040 hfetcht 2 ,core_halfslot 
+398a 18408401 increase 1 ,temp 
+
+apply_switch_loop:
+398b 98467e00 isub temp ,pdata 
+398c 2421398f nbranch apply_switch_bt ,positive 
+398d 1a20a3ff increase -1 ,rega 
+398e 2020398b branch apply_switch_loop 
+
+apply_switch_bt:
+398f 1fe67e00 sub pdata ,0 ,pdata 
+
+apply_switch_wait_loop:
+3990 37d18200 until null ,oneslot 
+3991 2c400600 compare 0 ,clkn_bt ,3 
+3992 2420b990 nbranch apply_switch_wait_loop ,true 
+3993 98005200 iforce clke_rt 
+3994 1a225000 copy rega ,clke_bt 
+3995 98005200 iforce clke_rt 
+3996 20600000 rtn 
+
+calc_slot_offset:
+3997 793f8025 set0 mark_ext_patch ,mark 
+3998 44c34010 bpatch patch10_6 ,mem_patch10 
+3999 37d10200 until null ,halfslot 
+399a 1b427e00 deposit clke 
+399b 98000c00 iforce contr 
+399c 1ff17e00 rshift16 ,pdata ,pdata 
+399d 9c467200 isub clkn_bt ,loopcnt 
+399e 1f217203 and_into 3 ,loopcnt 
+399f 2422b9a2 nbranch calc_bt_portion ,zero 
+39a0 18007e00 force 0 ,pdata 
+39a1 202039a6 branch calc_skip_bt 
+
+calc_bt_portion:
+39a2 d8400ea6 arg 3750 ,temp 
+39a3 18007e00 force 0 ,pdata 
+
+calc_slot_offset_loop:
+39a4 9840fe00 iadd temp ,pdata 
+39a5 c20039a4 loop calc_slot_offset_loop 
+
+calc_skip_bt:
+39a6 98c0fe00 iadd contr ,pdata 
+39a7 1fe6fc0c div pdata ,12 
+39a8 20407efd call wait_div_end 
+39a9 1807fe00 quotient pdata 
+39aa 6001017b store 2 ,mem_slot_offset 
+39ab 20600000 rtn 
+
+calc_clke_offset:
+39ac 793f8025 set0 mark_ext_patch ,mark 
+39ad 44c3c010 bpatch patch10_7 ,mem_patch10 
+39ae 1b427e00 deposit clke 
+39af 1b220400 copy clkn ,temp 
+39b0 98467c00 isub temp ,null 
+39b1 7d217e2c nsetflag positive ,44 ,pdata 
+39b2 98460400 isub temp ,temp 
+39b3 58000ea6 setarg 3750 
+39b4 284c000f isolate0 15 ,temp 
+39b5 2020b9b8 branch calc_clke_pos ,true 
+39b6 5fff0ea6 setarg -61786 
+39b7 98408400 iadd temp ,temp 
+
+calc_clke_pos:
+39b8 600b03c8 storet 6 ,mem_le_clk_offset 
+39b9 207b0000 rtn le 
+39ba 600b0038 storet 6 ,mem_clk_offset 
+39bb 20600000 rtn 
+
+calc_clke:
+39bc 78587c00 disable clknt 
+39bd 680303c8 fetch 6 ,mem_le_clk_offset 
+39be 203b39c0 branch calc_clke2 ,le 
+39bf 68030038 fetch 6 ,mem_clk_offset 
+
+calc_clke2:
+39c0 9b20e000 iadd clkn ,alarm 
+39c1 1e00e00a increase 10 ,alarm 
+39c2 58000ea6 setarg 3750 
+39c3 9e067e00 isub alarm ,pdata 
+39c4 2fec000f isolate0 15 ,pdata 
+39c5 2020b9ca branch calc_clke_pos_adj ,true 
+39c6 5800f15a setarg 0xf15a 
+39c7 9e00e000 iadd alarm ,alarm 
+
+calc_clke_pos2:
+39c8 1e023400 copy alarm ,clke 
+39c9 20600000 rtn 
+
+calc_clke_pos_adj:
+39ca 18007c00 force 0 ,null 
+39cb 202039c8 branch calc_clke_pos2 
+
+calc_radio_freq:
+39cc 793f8025 set0 mark_ext_patch ,mark 
+39cd 44c44011 bpatch patch11_0 ,mem_patch11 
+39ce 20403a7a call set_sync_on 
+39cf 1c227e00 copy bt_clk ,pdata 
+39d0 1fe17f80 and_into 0x180 ,pdata 
+39d1 2c800e03 compare 3 ,freq_mode ,0x07 
+39d2 2420b9d6 nbranch freq_not_connection ,true 
+39d3 1fe97e00 rshift3 pdata ,pdata 
+39d4 9ae0fe00 iadd freq_index ,pdata 
+39d5 202039d7 branch do_hop_mod_now 
+
+freq_not_connection:
+39d6 1ae27e00 copy freq_index ,pdata 
+
+do_hop_mod_now:
+39d7 1fe6fc4f div pdata ,79 
+39d8 782afc00 pulse recalc 
+39d9 20407efd call wait_div_end 
+39da 18072200 remainder rega 
+39db 1a2085d8 add rega ,-40 ,temp 
+39dc 202139df branch odd_half ,positive 
+39dd 1a238400 lshift rega ,temp 
+39de 202039e1 branch freq_result 
+
+odd_half:
+39df 18438400 lshift temp ,temp 
+39e0 18408401 increase 1 ,temp 
+
+freq_result:
+39e1 793f8025 set0 mark_ext_patch ,mark 
+39e2 44c4c011 bpatch patch11_1 ,mem_patch11 
+39e3 68008031 fetch 1 ,mem_mode 
+39e4 c301b9f3 bbit0 afh_change ,afh_process_con 
+
+afh_process_0:
+39e5 68024173 fetch 4 ,mem_afh_instant 
+39e6 9c267c00 isub bt_clk ,null 
+39e7 202139f3 branch afh_process_con ,positive 
+39e8 20403a12 call afh_clear 
+39e9 6800c17a fetch 1 ,mem_afh_new_mod 
+39ea 207a0000 rtn blank 
+39eb 68008031 fetch 1 ,mem_mode 
+39ec 79207e02 set1 afh_enable ,pdata 
+39ed 60008031 store 1 ,mem_mode 
+39ee 6802c188 fetch 5 ,mem_afh_map_new 
+39ef 6002c17b store 5 ,mem_afh_map_lo 
+39f0 e8c28000 ifetch 5 ,contr 
+39f1 6002c180 store 5 ,mem_afh_map_hi 
+39f2 20403a17 call afh_process_freq_map 
+
+afh_process_con:
+39f3 68008031 fetch 1 ,mem_mode 
+39f4 c4010000 rtnbit0 afh_enable 
+39f5 2c2ffe01 isolate1 1 ,bt_clk 
+39f6 2020ba0f branch afh_same_channel ,true 
+39f7 18492200 rshift3 temp ,rega 
+39f8 18410e07 and temp ,7 ,queue 
+39f9 5800417b setarg mem_afh_map_lo 
+39fa 9a20a200 iadd rega ,rega 
+39fb ea208000 ifetch 1 ,rega 
+39fc afec0000 qisolate0 pdata 
+39fd 2020ba00 branch afh_process_1 ,true 
+39fe 18427e00 deposit temp 
+39ff 20203a0c branch afh_process_end 
+
+afh_process_1:
+3a00 6800c185 fetch 1 ,mem_afh_used 
+3a01 98002400 iforce regb 
+3a02 1c227e00 deposit bt_clk 
+3a03 1fe17f80 and_into 0x180 ,pdata 
+3a04 1fe97e00 rshift3 pdata ,pdata 
+3a05 9ae0fe00 iadd freq_index ,pdata 
+3a06 9a46fc00 idiv regb 
+3a07 58004193 setarg mem_afh_map 
+3a08 20407efd call wait_div_end 
+3a09 18072200 remainder rega 
+3a0a 9a208c00 iadd rega ,contr 
+3a0b e8c08000 ifetch 1 ,contr 
+
+afh_process_end:
+3a0c 6000c186 store 1 ,mem_afh_index 
+3a0d 98000400 iforce temp 
+3a0e 20600000 rtn 
+
+afh_same_channel:
+3a0f 6800c186 fetch 1 ,mem_afh_index 
+3a10 98000400 iforce temp 
+3a11 20600000 rtn 
+
+afh_clear:
+3a12 68008031 fetch 1 ,mem_mode 
+3a13 793ffe02 set0 afh_enable ,pdata 
+3a14 793ffe03 set0 afh_change ,pdata 
+3a15 60008031 store 1 ,mem_mode 
+3a16 20600000 rtn 
+
+afh_process_freq_map:
+3a17 793f8025 set0 mark_ext_patch ,mark 
+3a18 44c54011 bpatch patch11_2 ,mem_patch11 
+3a19 d8a04193 arg mem_afh_map ,contw 
+3a1a 1800720a force 10 ,loopcnt 
+3a1b 20407e3b call memset0 
+3a1c d8a04193 arg mem_afh_map ,contw 
+3a1d 18002600 force 0 ,regc 
+3a1e 18000e02 force 2 ,queue 
+
+process_freq_3:
+3a1f 6802c17b fetch 5 ,mem_afh_map_lo 
+3a20 98000400 iforce temp 
+3a21 28e1fe02 compare 2 ,queue ,0xff 
+3a22 2020ba24 branch process_freq_1 ,true 
+3a23 18430400 rshift temp ,temp 
+
+process_freq_1:
+3a24 284c0000 isolate0 0 ,temp 
+3a25 2020ba28 branch process_freq_0 ,true 
+3a26 1a627e00 deposit regc 
+3a27 e0a08000 istore 1 ,contw 
+
+process_freq_0:
+3a28 184b0400 rshift2 temp ,temp 
+3a29 1a60a602 increase 2 ,regc 
+3a2a 2a61fc28 compare 40 ,regc ,0xfe 
+3a2b 2420ba31 nbranch process_freq_2 ,true 
+3a2c 6802c180 fetch 5 ,mem_afh_map_hi 
+3a2d 98000400 iforce temp 
+3a2e 28e1fe02 compare 2 ,queue ,0xff 
+3a2f 2020ba31 branch process_freq_2 ,true 
+3a30 18430400 rshift temp ,temp 
+
+process_freq_2:
+3a31 1a667c4e sub regc ,78 ,null 
+3a32 20213a24 branch process_freq_1 ,positive 
+3a33 18002601 force 1 ,regc 
+3a34 18e08fff increase -1 ,queue 
+3a35 2422ba1f nbranch process_freq_3 ,zero 
+3a36 da204193 arg mem_afh_map ,rega 
+3a37 18a27e00 deposit contw 
+3a38 9a267e00 isub rega ,pdata 
+3a39 6000c185 store 1 ,mem_afh_used 
+3a3a 20600000 rtn 
+
+rx_radio_freq:
+3a3b 793f8025 set0 mark_ext_patch ,mark 
+3a3c 44c5c011 bpatch patch11_3 ,mem_patch11 
+3a3d 204039cc call calc_radio_freq 
+3a3e 68008189 fetch 1 ,mem_debug_config 
+3a3f c302ba41 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+3a40 68088448 fetcht 1 ,mem_rx_fixed_freq 
+
+rx_radio_freq_now:
+3a41 20203a82 branch set_freq_rx 
+
+tx_radio_freq:
+3a42 793f8025 set0 mark_ext_patch ,mark 
+3a43 44c64011 bpatch patch11_4 ,mem_patch11 
+3a44 204039cc call calc_radio_freq 
+3a45 68008189 fetch 1 ,mem_debug_config 
+3a46 c3023a48 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+3a47 68088447 fetcht 1 ,mem_tx_fixed_freq 
+
+tx_radio_freq_now:
+3a48 20203a91 branch set_freq_tx 
+
+fetch_giac:
+3a49 18005a00 force 0 ,uap 
+3a4a 6801c147 fetch 3 ,mem_glap 
+3a4b 98005800 iforce lap 
+3a4c 20600000 rtn 
+
+fetch_page_bt_adr:
+3a4d 793f8025 set0 mark_ext_patch ,mark 
+3a4e 44c6c011 bpatch patch11_5 ,mem_patch11 
+3a4f 6800c277 fetch 1 ,mem_hci_puap 
+3a50 1fe25a00 icopy uap 
+3a51 6801c274 fetch 3 ,mem_hci_plap 
+3a52 1fe25800 icopy lap 
+3a53 20600000 rtn 
+
+fetch_self_bt_adr:
+3a54 793f8025 set0 mark_ext_patch ,mark 
+3a55 44c74011 bpatch patch11_6 ,mem_patch11 
+3a56 68014144 fetch 2 ,mem_nap 
+3a57 1fe25c00 icopy nap 
+3a58 6800c143 fetch 1 ,mem_uap 
+3a59 1fe25a00 icopy uap 
+3a5a 6801c140 fetch 3 ,mem_lap 
+3a5b 1fe25800 icopy lap 
+3a5c 20600000 rtn 
+
+fetch_extm_bt_adr:
+3a5d 793f8025 set0 mark_ext_patch ,mark 
+3a5e 44c7c011 bpatch patch11_7 ,mem_patch11 
+3a5f 68010044 fetch 2 ,mem_pnap 
+3a60 1fe25c00 icopy nap 
+3a61 68008043 fetch 1 ,mem_puap 
+3a62 1fe25a00 icopy uap 
+3a63 68018040 fetch 3 ,mem_plap 
+3a64 1fe25800 icopy lap 
+3a65 20600000 rtn 
+
+fetch_diac:
+3a66 c5103a69 bmark1 mark_all_diac ,fetch_diac_do 
+3a67 c68e8000 rtnmark0 mark_inquiry_state 
+3a68 c68f8000 rtnmark0 mark_periodical_diac 
+
+fetch_diac_do:
+3a69 1d815900 and_into -256 ,lap 
+3a6a 782afc00 pulse recalc 
+3a6b 20000020 nop 32 
+3a6c 20600000 rtn 
+
+shutdown_radio:
+3a6d 793f8025 set0 mark_ext_patch ,mark 
+3a6e 44c84012 bpatch patch12_0 ,mem_patch12 
+3a6f 18002a00 force 0 ,radio_ctrl 
+3a70 7850fc00 disable is_rx 
+3a71 78507c00 disable is_tx 
+3a72 782f7c00 pulse packet_end 
+3a73 70890200 hjam 0x0 ,rfen_mdm 
+3a74 70890100 hjam 0x0 ,rfen_tx 
+3a75 70890000 hjam 0x0 ,rfen_rx 
+3a76 70890300 hjam 0 ,rfen_sn 
+3a77 70890470 hjam 0x70 ,rfen_msc 
+3a78 70890600 hjam 0x0 ,rfen_adc 
+3a79 20600000 rtn 
+
+set_sync_on:
+3a7a 793f8025 set0 mark_ext_patch ,mark 
+3a7b 44c8c012 bpatch patch12_1 ,mem_patch12 
+3a7c 70890200 hjam 0x0 ,rfen_mdm 
+3a7d 70890100 hjam 0x0 ,rfen_tx 
+3a7e 70890018 hjam 0x18 ,rfen_rx 
+3a7f 708903a7 hjam 0xa7 ,rfen_sn 
+3a80 7089047f hjam 0x7f ,rfen_msc 
+3a81 20600000 rtn 
+
+set_freq_rx:
+3a82 793f8025 set0 mark_ext_patch ,mark 
+3a83 44c94012 bpatch patch12_2 ,mem_patch12 
+3a84 60088017 storet 1 ,mem_last_freq 
+3a85 1840a204 add temp ,rx_freq_offset ,rega 
+3a86 20203ab6 branch rf_write_freq 
+
+rf_rx_enable:
+3a87 793f8025 set0 mark_ext_patch ,mark 
+3a88 44c9c012 bpatch patch12_3 ,mem_patch12 
+3a89 708901cf hjam 0xcf ,rfen_tx 
+3a8a 2000000a nop 10 
+3a8b 708900ff hjam 0xff ,rfen_rx 
+3a8c 708903af hjam 0xaf ,rfen_sn 
+3a8d 708904ff hjam 0xff ,rfen_msc 
+3a8e 2000000a nop 10 
+3a8f 708902a0 hjam 0xa0 ,rfen_mdm 
+3a90 20600000 rtn 
+
+set_freq_tx:
+3a91 793f8025 set0 mark_ext_patch ,mark 
+3a92 44ca4012 bpatch patch12_4 ,mem_patch12 
+3a93 60088017 storet 1 ,mem_last_freq 
+3a94 1840a202 add temp ,tx_freq_offset ,rega 
+3a95 20403ab6 call rf_write_freq 
+3a96 58000500 setarg param_pll_setup 
+3a97 20403bf3 call sleep 
+
+txon:
+3a98 70890601 hjam 0x1 ,rfen_adc 
+3a99 7089003c hjam 0x3c ,rfen_rx 
+3a9a 708901e0 hjam 0xe0 ,rfen_tx 
+3a9b 708903b7 hjam 0xb7 ,rfen_sn 
+3a9c 7089027f hjam 0x7f ,rfen_mdm 
+3a9d 20600000 rtn 
+
+initialize_radio:
+3a9e 70804206 hjam clksel_rc ,core_clksel 
+3a9f 20403c29 call init_rf_regs 
+3aa0 20403c3a call init_agc_table 
+
+initialize_radio_wait:
+3aa1 68014163 fetch 2 ,mem_rf_init_ptr 
+3aa2 c3073aa1 bbit0 14 ,initialize_radio_wait 
+3aa3 98000c00 iforce contr 
+3aa4 d8408900 arg 0x8900 ,temp 
+
+initialize_radio_loop:
+3aa5 e8c08000 ifetch 1 ,contr 
+3aa6 c07fbaab beq 0xff ,initialize_radio_cont 
+3aa7 98418a00 ior temp ,contw 
+3aa8 e8c08000 ifetch 1 ,contr 
+3aa9 e0a08000 istore 1 ,contw 
+3aaa 20203aa5 branch initialize_radio_loop 
+
+initialize_radio_cont:
+3aab 793f8025 set0 mark_ext_patch ,mark 
+3aac 44cac012 bpatch patch12_5 ,mem_patch12 
+3aad 20403d91 call lpm_cal_xtal_startup 
+3aae 20403b0a call switchto_dpllclk 
+3aaf 580007d0 setarg param_dpll_start_delay 
+3ab0 9c40fe00 iadd clkn_bt ,pdata 
+3ab1 60020173 store 4 ,mem_dpll_clkn 
+3ab2 79202a03 set1 reset ,radio_ctrl 
+3ab3 18002a00 force 0 ,radio_ctrl 
+3ab4 2455bace ncall do_rccal ,wake 
+3ab5 20203ae2 branch set_rccal 
+
+rf_write_freq:
+3ab6 793f8025 set0 mark_ext_patch ,mark 
+3ab7 44cb4012 bpatch patch12_6 ,mem_patch12 
+3ab8 58000960 setarg 2400 
+3ab9 9a208400 iadd rega ,temp 
+3aba 6800c15d fetch 1 ,mem_fcomp_mul 
+3abb 70895f04 hjam 0x04 ,rf_pll_rstn 
+3abc 984ffe00 imul32 temp ,pdata 
+3abd 6808c15e fetcht 1 ,mem_fcomp_div 
+3abe 9846fc00 idiv temp 
+3abf 20407efd call wait_div_end 
+3ac0 1807a200 quotient rega 
+3ac1 18077e00 remainder pdata 
+3ac2 1ff07e00 lshift16 pdata ,pdata 
+3ac3 1ff27e00 lshift4 pdata ,pdata 
+3ac4 9846fc00 idiv temp 
+3ac5 20407efd call wait_div_end 
+3ac6 1807fe00 quotient pdata 
+3ac7 1fed7e00 lshift8 pdata ,pdata 
+3ac8 1fe3fe00 lshift pdata ,pdata 
+3ac9 9a21fe00 ior rega ,pdata 
+3aca 60120960 hstore 4 ,rf_pll_intg 
+3acb 70895f44 hjam 0x44 ,rf_pll_rstn 
+3acc 70895fc4 hjam 0xc4 ,rf_pll_rstn 
+3acd 20600000 rtn 
+
+do_rccal:
+3ace 793f8025 set0 mark_ext_patch ,mark 
+3acf 44cbc012 bpatch patch12_7 ,mem_patch12 
+3ad0 70890602 hjam 0x02 ,rfen_adc 
+3ad1 5803d090 setarg 250000 
+3ad2 20403bf3 call sleep 
+3ad3 7089007f hjam 0x7f ,rfen_rx 
+3ad4 20000082 nop 130 
+3ad5 70895230 hjam 0x30 ,rf_rccal_ctrl 
+3ad6 708901d0 hjam 0xd0 ,rfen_tx 
+3ad7 70895270 hjam 0x70 ,rf_rccal_ctrl 
+3ad8 708952f0 hjam 0xf0 ,rf_rccal_ctrl 
+3ad9 18007232 force 50 ,loopcnt 
+
+do_rccal_loop:
+3ada 68108980 hfetch 1 ,rf_rccal_result 
+3adb c282badd bbit1 5 ,do_rccal_end 
+3adc c2003ada loop do_rccal_loop 
+
+do_rccal_end:
+3add 6000c16f store 1 ,mem_rf_rccal 
+3ade 70890100 hjam 0 ,rfen_tx 
+3adf 70890000 hjam 0 ,rfen_rx 
+3ae0 70890600 hjam 0x00 ,rfen_adc 
+3ae1 20600000 rtn 
+
+set_rccal:
+3ae2 793f8025 set0 mark_ext_patch ,mark 
+3ae3 44cc4013 bpatch patch13_0 ,mem_patch13 
+3ae4 6800c16f fetch 1 ,mem_rf_rccal 
+3ae5 79207e05 set1 5 ,pdata 
+3ae6 60108952 hstore 1 ,rf_rccal_ctrl 
+3ae7 68188950 hfetcht 1 ,rf_bpf_ctrim 
+3ae8 18410407 and_into 7 ,temp 
+3ae9 1fe9fe00 lshift3 pdata ,pdata 
+3aea 9841fe00 ior temp ,pdata 
+3aeb 60108950 hstore 1 ,rf_bpf_ctrim 
+3aec 68108951 hfetch 1 ,rf_bpf_ib 
+3aed 793ffe00 set0 bpf_rccal ,pdata 
+3aee 60108951 hstore 1 ,rf_bpf_ib 
+3aef 68108952 hfetch 1 ,rf_adc_rccal 
+3af0 793ffe05 set0 adc_rccal ,pdata 
+3af1 60108952 hstore 1 ,rf_adc_rccal 
+3af2 20600000 rtn 
+
+save_rssi:
+3af3 793f8025 set0 mark_ext_patch ,mark 
+3af4 44ccc013 bpatch patch13_1 ,mem_patch13 
+3af5 68110981 hfetch 2 ,rf_afc_d2a 
+3af6 1ff1fe00 rshift4 pdata ,pdata 
+3af7 1fe97e00 rshift3 pdata ,pdata 
+3af8 1fe67e00 sub pdata ,0 ,pdata 
+3af9 1fe17eff and_into 0xff ,pdata 
+3afa 1fe6fc0a div pdata ,10 
+3afb 20407efd call wait_div_end 
+3afc 1807fe00 quotient pdata 
+3afd 1ff27e00 lshift4 pdata ,pdata 
+3afe 18070400 remainder temp 
+3aff 9841fe00 ior temp ,pdata 
+3b00 60008018 store 1 ,mem_rssi 
+3b01 20600000 rtn 
+
+switchto_rcclk:
+3b02 7080420a hjam 0xa ,core_clksel 
+3b03 70890500 hjam 0 ,rfen_ck 
+3b04 68118138 hfetch 3 ,core_lpm_ctrl 
+3b05 6011804c hstore 3 ,core_lpm_reg 
+3b06 70804cfc hjam 0xfc ,core_lpm_reg 
+3b07 20403db0 call lpm_write_ctrl 
+3b08 200003e8 nop 1000 
+3b09 20600000 rtn 
+
+switchto_dpllclk:
+3b0a 70804206 hjam clksel_rc ,core_clksel 
+3b0b 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+3b0c 793ffe04 set0 4 ,pdata 
+3b0d 793ffe05 set0 5 ,pdata 
+3b0e 6010896b hstore 1 ,rf_clkpll_frac + 2 
+3b0f 70890500 hjam 0x00 ,rfen_ck 
+3b10 70890400 hjam 0x00 ,rfen_msc 
+3b11 70890470 hjam 0x70 ,rfen_msc 
+3b12 708905ff hjam 0xff ,rfen_ck 
+3b13 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+3b14 79207e04 set1 4 ,pdata 
+3b15 79207e05 set1 5 ,pdata 
+3b16 6010896b hstore 1 ,rf_clkpll_frac + 2 
+3b17 20403b38 call init_lpm_ctrl 
+3b18 68108968 hfetch 1 ,rf_clkpll_int 
+3b19 79207e07 set1 7 ,pdata 
+3b1a 60108968 hstore 1 ,rf_clkpll_int 
+3b1b 793ffe07 set0 7 ,pdata 
+3b1c 60108968 hstore 1 ,rf_clkpll_int 
+3b1d 79207e07 set1 7 ,pdata 
+3b1e 60108968 hstore 1 ,rf_clkpll_int 
+3b1f 70804205 hjam clksel_dpll ,core_clksel 
+3b20 20600000 rtn 
+
+check_dpll:
+3b21 200003e8 nop 1000 
+3b22 70804204 hjam clksel_xtal ,core_clksel 
+3b23 2000000a nop 10 
+3b24 7080b400 hjam 0x00 ,core_bist_ctrl 
+3b25 70800680 hjam ccnt_start ,core_misc_ctrl 
+
+check_dpll_loop:
+3b26 6810812d hfetch 1 ,core_perf_status 
+3b27 c300bb26 bbit0 1 ,check_dpll_loop 
+3b28 68198149 hfetcht 3 ,core_clk_counter 
+3b29 70804205 hjam clksel_dpll ,core_clksel 
+3b2a 2000000a nop 10 
+3b2b 70800680 hjam ccnt_start ,core_misc_ctrl 
+
+check_dpll_loop2:
+3b2c 6810812d hfetch 1 ,core_perf_status 
+3b2d c300bb2c bbit0 1 ,check_dpll_loop2 
+3b2e 68118149 hfetch 3 ,core_clk_counter 
+3b2f 98467e00 isub temp ,pdata 
+3b30 20213b32 branch check_dpll_pos ,positive 
+3b31 1fe67e00 sub pdata ,0 ,pdata 
+
+check_dpll_pos:
+3b32 6001018c store 2 ,mem_dpll_error 
+3b33 1fe67c46 sub pdata ,70 ,null 
+
+check_dpll_assert:
+3b34 24213b34 nbranch check_dpll_assert ,positive 
+3b35 20600000 rtn 
+
+xtal_fast_wake:
+3b36 58000f0f setarg 0xf0f 
+3b37 20203da7 branch lpm_write_config 
+
+init_lpm_ctrl:
+3b38 5800080f setarg 0x80f 
+3b39 20203da7 branch lpm_write_config 
+
+start_receiver:
+3b3a 793f8025 set0 mark_ext_patch ,mark 
+3b3b 44cd4013 bpatch patch13_2 ,mem_patch13 
+3b3c 20403a87 call rf_rx_enable 
+3b3d 78507c00 disable is_tx 
+3b3e 7830fc00 enable is_rx 
+3b3f 782b7c00 pulse init_encrypt 
+3b40 20600000 rtn 
+
+prep_crypt:
+3b41 793f8025 set0 mark_ext_patch ,mark 
+3b42 44cdc013 bpatch patch13_3 ,mem_patch13 
+3b43 6800804c fetch 1 ,mem_state_map 
+3b44 2feffe02 isolate1 smap_encryption ,pdata 
+3b45 7920fe00 setflag true ,0 ,pdata 
+3b46 60108011 hstore 1 ,core_encrypt 
+3b47 d8c00062 arg mem_kc ,contr 
+3b48 e8c48000 ifetch 9 ,contr 
+3b49 98006400 iforce kc_ls 
+3b4a e8c38000 ifetch 7 ,contr 
+3b4b 98006600 iforce kc_ms 
+3b4c 68008054 fetch 1 ,mem_key_size 
+3b4d 1fe0e9ff add pdata ,-1 ,g1l 
+3b4e 782d7c00 pulse kc_p_activate 
+3b4f 20600000 rtn 
+
+wait_access_clke_rt:
+3b50 793f8025 set0 mark_ext_patch ,mark 
+3b51 44ce4013 bpatch patch13_4 ,mem_patch13 
+3b52 7826fc00 enable decode_fec0 
+3b53 d9600600 arg param_conn_access ,timeup 
+3b54 35330400 correlate clke_rt ,meet 
+
+wait_access_end:
+3b55 1b427e00 deposit clke 
+3b56 6003009c store 6 ,mem_sync_clke 
+3b57 7846fc00 disable decode_fec0 
+3b58 242c3a6d nbranch shutdown_radio ,sync 
+3b59 dd2003bb arg param_clke_cal ,clke_rt 
+3b5a 1d00d001 increase 1 ,clke_bt 
+3b5b 1d0151fc and_into 0x1fc ,clke_bt 
+3b5c 20600000 rtn 
+
+wait_access_mhalfbnd:
+3b5d 7826fc00 enable decode_fec0 
+
+wait_access_mhalfbnd_correlate:
+3b5e 37cb8400 correlate null ,mhalfbnd 
+3b5f 202c3b55 branch wait_access_end ,sync 
+3b60 2d000402 compare 0x02 ,clke_bt ,0x02 
+3b61 2420bb5e nbranch wait_access_mhalfbnd_correlate ,true 
+3b62 20203b55 branch wait_access_end 
+
+wait_access_clkn_rt:
+3b63 793f8025 set0 mark_ext_patch ,mark 
+3b64 44cec013 bpatch patch13_5 ,mem_patch13 
+3b65 d9600600 arg param_conn_access ,timeup 
+3b66 7826fc00 enable decode_fec0 
+3b67 34730400 correlate clkn_rt ,meet 
+3b68 7846fc00 disable decode_fec0 
+3b69 242c3a6d nbranch shutdown_radio ,sync 
+3b6a 20600000 rtn 
+
+wait_access_forever:
+3b6b 793f8025 set0 mark_ext_patch ,mark 
+3b6c 44cf4013 bpatch patch13_6 ,mem_patch13 
+3b6d 7826fc00 enable decode_fec0 
+3b6e 37c18400 correlate null ,timeout 
+3b6f 7846fc00 disable decode_fec0 
+3b70 242c3a6d nbranch shutdown_radio ,sync 
+3b71 dd2003bb arg param_clke_cal ,clke_rt 
+3b72 1d0151fc and_into 0x1fc ,clke_bt 
+3b73 20600000 rtn 
+
+reserve_slot:
+3b74 793f8025 set0 mark_ext_patch ,mark 
+3b75 44cfc013 bpatch patch13_7 ,mem_patch13 
+3b76 98002200 iforce rega 
+3b77 1c227e00 deposit bt_clk 
+3b78 98409600 iadd temp ,timeup 
+3b79 19627e00 copy timeup ,pdata 
+3b7a 6002416a store 4 ,mem_next_btclk 
+3b7b 1a227e00 deposit rega 
+3b7c 20600000 rtn 
+
+ahead_window:
+3b7d 1fe20400 copy pdata ,temp 
+3b7e 793f8025 set0 mark_ext_patch ,mark 
+3b7f 44d04014 bpatch patch14_0 ,mem_patch14 
+3b80 18427e00 copy temp ,pdata 
+3b81 20407e91 call clk2bt 
+3b82 1c307e00 lshift16 bt_clk ,pdata 
+3b83 79207e2c set1 44 ,pdata 
+3b84 20407e7a call clk_diff 
+3b85 793ffe2c set0 44 ,pdata 
+3b86 20403bda call get_clk 
+3b87 20407e7a call clk_diff 
+3b88 20740000 rtn user 
+3b89 20407e84 call clk2rt 
+3b8a 98003600 iforce stop_watch 
+3b8b 37c18200 until null ,timeout 
+3b8c 20600000 rtn 
+
+setup_clk:
+3b8d 793f8025 set0 mark_ext_patch ,mark 
+3b8e 44d0c014 bpatch patch14_1 ,mem_patch14 
+3b8f 20383b93 branch setup_clkn ,clknt 
+3b90 35330200 until clke_rt ,meet 
+
+skip_setup_clke:
+3b91 1d020400 copy clke_bt ,temp 
+3b92 20203b96 branch setup_clknbt 
+
+setup_clkn:
+3b93 20373b95 branch skip_setup_clkn ,attempt 
+3b94 34730200 until clkn_rt ,meet 
+
+skip_setup_clkn:
+3b95 1c420400 copy clkn_bt ,temp 
+
+setup_clknbt:
+3b96 20343ba3 branch setup_clk11 ,user 
+3b97 28400601 compare 1 ,temp ,3 
+3b98 2420bb8d nbranch setup_clk ,true 
+
+setup_complete:
+3b99 793f8025 set0 mark_ext_patch ,mark 
+3b9a 44d14014 bpatch patch14_2 ,mem_patch14 
+3b9b 68008030 fetch 1 ,mem_state 
+3b9c c4000000 rtnbit0 state_inconn 
+3b9d 6802416a fetch 4 ,mem_next_btclk 
+3b9e 98467e00 isub temp ,pdata 
+3b9f 24610000 nrtn positive 
+3ba0 1fe67cff sub pdata ,0xff ,null 
+3ba1 20213b8d branch setup_clk ,positive 
+3ba2 20600000 rtn 
+
+setup_clk11:
+3ba3 28400603 compare 3 ,temp ,3 
+3ba4 2420bb8d nbranch setup_clk ,true 
+3ba5 20203b99 branch setup_complete 
+
+rf_setup_time:
+3ba6 793f8025 set0 mark_ext_patch ,mark 
+3ba7 44d1c014 bpatch patch14_3 ,mem_patch14 
+3ba8 d9600600 arg param_rf_setup ,timeup 
+3ba9 20203b8d branch setup_clk 
+
+rf_setup_time_slave_slot:
+3baa 78547c00 disable user 
+3bab 20203ba6 branch rf_setup_time 
+
+rf_setup_time_master_slot:
+3bac 78347c00 enable user 
+3bad 20203ba6 branch rf_setup_time 
+
+start_transmitter:
+3bae 793f8025 set0 mark_ext_patch ,mark 
+3baf 44d24014 bpatch patch14_4 ,mem_patch14 
+3bb0 20403b41 call prep_crypt 
+3bb1 7850fc00 disable is_rx 
+3bb2 78307c00 enable is_tx 
+3bb3 20600000 rtn 
+
+start_tx_native:
+3bb4 793f8025 set0 mark_ext_patch ,mark 
+3bb5 44d2c014 bpatch patch14_5 ,mem_patch14 
+3bb6 d9600e43 arg param_tx_setup ,timeup 
+3bb7 34730200 until clkn_rt ,meet 
+3bb8 782b7c00 pulse init_encrypt 
+3bb9 20600000 rtn 
+
+start_rx_native:
+3bba 793f8025 set0 mark_ext_patch ,mark 
+3bbb 44d34014 bpatch patch14_6 ,mem_patch14 
+3bbc d9600d00 arg param_rx_setup ,timeup 
+3bbd 34730200 until clkn_rt ,meet 
+3bbe 20600000 rtn 
+
+start_tx_external:
+3bbf 793f8025 set0 mark_ext_patch ,mark 
+3bc0 44d3c014 bpatch patch14_7 ,mem_patch14 
+3bc1 d9600e43 arg param_tx_setup ,timeup 
+3bc2 35330200 until clke_rt ,meet 
+3bc3 782b7c00 pulse init_encrypt 
+3bc4 20600000 rtn 
+
+send_access_word:
+3bc5 793f8025 set0 mark_ext_patch ,mark 
+3bc6 44d44015 bpatch patch15_0 ,mem_patch15 
+3bc7 51207e00 preload access 
+3bc8 782efc00 enable encode_fec0 
+3bc9 79202a00 set1 txgfsk ,radio_ctrl 
+3bca 08008648 inject mod ,72 
+3bcb 784efc00 disable encode_fec0 
+3bcc 20600000 rtn 
+
+scan_mode_whiten:
+3bcd 1ca20400 copy xin ,temp 
+3bce 18418460 or_into 0x60 ,temp 
+3bcf 18421c00 copy temp ,white_init 
+3bd0 20600000 rtn 
+
+get_free_amaddr:
+3bd1 793f8025 set0 mark_ext_patch ,mark 
+3bd2 44d4c015 bpatch patch15_1 ,mem_patch15 
+3bd3 6800c130 fetch 1 ,mem_current_amaddr 
+3bd4 1fe0fe01 increase 1 ,pdata 
+3bd5 c083bbd7 bne param_esco_addr ,get_free_amaddr_cont 
+3bd6 18007e01 force 1 ,pdata 
+
+get_free_amaddr_cont:
+3bd7 6000c130 store 1 ,mem_current_amaddr 
+3bd8 98000800 iforce am_addr 
+3bd9 20600000 rtn 
+
+get_clk:
+3bda 1b220400 copy clkn ,temp 
+3bdb 20748000 rtn master 
+3bdc 1b420400 copy clke ,temp 
+3bdd 20600000 rtn 
+
+get_clkbt:
+3bde 1c427e00 deposit clkn_bt 
+3bdf 20748000 rtn master 
+3be0 1d027e00 deposit clke_bt 
+3be1 20600000 rtn 
+
+supervision_update:
+3be2 793f8025 set0 mark_ext_patch ,mark 
+3be3 44d54015 bpatch patch15_2 ,mem_patch15 
+3be4 680a004d fetcht 4 ,mem_supervision_timer 
+3be5 20403bde call get_clkbt 
+3be6 98461600 isub temp ,timeup 
+3be7 19627e00 deposit timeup 
+3be8 68090051 fetcht 2 ,mem_supervision_to 
+3be9 18438400 lshift temp ,temp 
+3bea 98467e00 isub temp ,pdata 
+3beb 20600000 rtn 
+
+supervision_flush:
+3bec 793f8025 set0 mark_ext_patch ,mark 
+3bed 44d5c015 bpatch patch15_3 ,mem_patch15 
+3bee 20403bde call get_clkbt 
+3bef 6002004d store 4 ,mem_supervision_timer 
+3bf0 20600000 rtn 
+
+assert:
+3bf1 20203bf1 branch assert 
+
+loop:
+3bf2 20203bf2 branch loop 
+
+sleep:
+3bf3 207a0000 rtn blank 
+3bf4 1fe37e00 rshift pdata ,pdata 
+3bf5 1fe0fffd increase -3 ,pdata 
+
+sleep_loop:
+3bf6 1fe0ffff increase -1 ,pdata 
+3bf7 2422bbf6 nbranch sleep_loop ,zero 
+3bf8 18007e00 force 0 ,pdata 
+3bf9 20600000 rtn 
+
+init_param:
+3bfa df200010 arg 0x10 ,loopcnt 
+3bfb d8a00000 arg 0 ,contw 
+3bfc 20407e3b call memset0 
+3bfd d8a003c0 arg mem_le_state ,contw 
+3bfe df20000a arg 10 ,loopcnt 
+3bff 20407e3b call memset0 
+3c00 7007de00 jam 0 ,mem_sp_calc 
+3c01 700b7d00 jam 0 ,mem_fifo_temp 
+3c02 70040d00 jam 0 ,mem_le_testtype 
+3c03 70018900 jam 0 ,mem_debug_config 
+3c04 70044d00 jam 0 ,mem_lmp_conn_state 
+3c05 793f8025 set0 mark_ext_patch ,mark 
+3c06 44d64015 bpatch patch15_4 ,mem_patch15 
+3c07 70017700 jam 0 ,mem_connection_options 
+3c08 70015300 jam 0 ,mem_tester_emulate 
+3c09 70015e00 jam 0 ,mem_tester_cnt 
+3c0a 589e8b33 setarg param_glap 
+3c0b 6001c147 store 3 ,mem_glap 
+3c0c 58000153 setarg param_acl_pktlen 
+3c0d 60010083 store 2 ,mem_acl_pktlen 
+3c0e 7000851e jam param_sco_pktlen ,mem_sco_pktlen 
+3c0f 70008601 jam param_acl_pktcnt ,mem_acl_pktcnt 
+3c10 70008807 jam param_sco_pktcnt ,mem_sco_pktcnt 
+3c11 5812e904 setarg param_hci_version 
+3c12 60018080 store 3 ,mem_hci_version 
+3c13 58000a04 setarg param_lmp_version 
+3c14 6001c6fd store 3 ,mem_lmp_version 
+3c15 580012e9 setarg param_lmp_subversion 
+3c16 60014700 store 2 ,mem_lmp_subversion 
+3c17 70008f60 jam 0x60 ,mem_fhs_misc 
+3c18 70417105 jam param_max_slot ,mem_max_slot 
+3c19 70001402 jam 0x02 ,mem_fw_ver 
+3c1a 204075cd call init_memp 
+3c1b 793f8025 set0 mark_ext_patch ,mark 
+3c1c 44d6c015 bpatch patch15_5 ,mem_patch15 
+3c1d 20758000 rtn wake 
+3c1e 58000000 setarg 0 
+3c1f 60010091 store 2 ,mem_tx_len 
+3c20 1c437e00 rshift clkn_bt ,pdata 
+3c21 60024134 store 4 ,mem_last_clkn 
+3c22 20600000 rtn 
+
+init_esco_ibuff:
+3c23 580000aa setarg 0xaa ,pdata 
+3c24 d8a000d3 arg mem_sco_ibuf ,contw 
+3c25 1800721e force 30 ,loopcnt 
+
+init_esco_ibuff_loop:
+3c26 e0a08000 istore 1 ,contw 
+3c27 c2003c26 loop init_esco_ibuff_loop 
+3c28 20600000 rtn 
+
+init_rf_regs:
+3c29 70890702 hjam 0x02 ,0x907 
+3c2a 7089081f hjam 0x1f ,0x908 
+3c2b 7089091f hjam 0x1f ,0x909 
+3c2c 70890ae0 hjam 0xe0 ,0x90a 
+3c2d 70890b4e hjam 0x4e ,0x90b 
+3c2e 70891245 hjam 0x45 ,rf_agc_ctrl 
+3c2f 70895300 hjam 0x00 ,0x953 
+3c30 70894cfb hjam 0xfb ,0x94c 
+3c31 70894def hjam 0xef ,0x94d 
+3c32 70894e0c hjam 0x0c ,0x94e 
+3c33 70896f88 hjam 0x88 ,0x96f 
+3c34 70897330 hjam 0x30 ,0x973 
+3c35 70895300 hjam 0x00 ,0x953 
+3c36 708956c9 hjam 0xc9 ,0x956 
+3c37 7089586c hjam 0x6c ,0x958 
+3c38 70895950 hjam 0x50 ,0x959 
+3c39 20600000 rtn 
+
+init_agc_table:
+3c3a 708930a9 hjam 0xa9 ,0x930 
+3c3b 70892fb1 hjam 0xb1 ,0x92f 
+3c3c 70892eb9 hjam 0xb9 ,0x92e 
+3c3d 70892dad hjam 0xAD ,0x92d 
+3c3e 70892cb1 hjam 0xB1 ,0x92c 
+3c3f 70892bb5 hjam 0xB5 ,0x92b 
+3c40 70892aba hjam 0xBA ,0x92a 
+3c41 708929be hjam 0xBE ,0x929 
+3c42 708928c2 hjam 0xC2 ,0x928 
+3c43 708927c6 hjam 0xC6 ,0x927 
+3c44 708926ca hjam 0xCA ,0x926 
+3c45 708925ce hjam 0xCE ,0x925 
+3c46 708924d2 hjam 0xD2 ,0x924 
+3c47 708923d6 hjam 0xD6 ,0x923 
+3c48 708922da hjam 0xDA ,0x922 
+3c49 708921de hjam 0xDE ,0x921 
+3c4a 708920e2 hjam 0xE2 ,0x920 
+3c4b 70891fe6 hjam 0xE6 ,0x91f 
+3c4c 70891eea hjam 0xEA ,0x91e 
+3c4d 70891dee hjam 0xEE ,0x91d 
+3c4e 70891cf2 hjam 0xF2 ,0x91c 
+3c4f 70891bf6 hjam 0xF6 ,0x91b 
+3c50 70891afb hjam 0xFB ,0x91a 
+3c51 708947f5 hjam 0xf5 ,0x947 
+3c52 708946e5 hjam 0xe5 ,0x946 
+3c53 708945d5 hjam 0xd5 ,0x945 
+3c54 708944d8 hjam 0xD8 ,0x944 
+3c55 708943c9 hjam 0xC9 ,0x943 
+3c56 708942c8 hjam 0xC8 ,0x942 
+3c57 70894189 hjam 0x89 ,0x941 
+3c58 70894088 hjam 0x88 ,0x940 
+3c59 70893f87 hjam 0x87 ,0x93f 
+3c5a 70893e48 hjam 0x48 ,0x93e 
+3c5b 70893d09 hjam 0x09 ,0x93d 
+3c5c 70893c08 hjam 0x08 ,0x93c 
+3c5d 70893bc9 hjam 0xC9 ,0x93b 
+3c5e 70893ac8 hjam 0xC8 ,0x93a 
+3c5f 708939c7 hjam 0xC7 ,0x939 
+3c60 708938c6 hjam 0xC6 ,0x938 
+3c61 708937c5 hjam 0xC5 ,0x937 
+3c62 708936c4 hjam 0xC4 ,0x936 
+3c63 708935c3 hjam 0xC3 ,0x935 
+3c64 708934c2 hjam 0xC2 ,0x934 
+3c65 708933c1 hjam 0xC1 ,0x933 
+3c66 708932c0 hjam 0xC0 ,0x932 
+3c67 70893180 hjam 0x80 ,0x931 
+3c68 20600000 rtn 
+
+init_250k:
+3c69 783b7c00 enable le 
+3c6a 588e89be setarg 0x8e89be 
+3c6b 1fed7e00 lshift8 pdata ,pdata 
+3c6c 1fe1fed6 or_into 0xd6 ,pdata 
+3c6d 98001200 iforce access 
+3c6e 70891407 hjam 7 ,0x914 
+3c6f 70890aa0 hjam 0xa0 ,0x90a 
+3c70 70890d8f hjam 0x8f ,0x90d 
+3c71 7089110f hjam 0x0f ,0x911 
+3c72 70891287 hjam 0x87 ,0x912 
+3c73 20600000 rtn 
+
+lpmstate:
+3c74 5800ee21 setarg 0xee21 
+3c75 60110050 hstore 2 ,core_clkoff 
+3c76 6810813e hfetch 1 ,core_lpm_ldocnt 
+3c77 c301e725 bbit0 gpio_latch ,loadcode 
+3c78 7835fc00 enable wake 
+3c79 c303bc7f bbit0 cold_wake ,lpmwake 
+3c7a 7855fc00 disable wake 
+3c7b 1ce27e00 deposit auxcnt 
+3c7c 243a3c7f nbranch lpmwake ,blank 
+3c7d d85fffff arg param_hibernate_clks ,temp 
+3c7e 20203cec branch lpm_enter_sleep 
+
+lpmwake:
+3c7f 6811813c hfetch 3 ,core_lpm_xtalcnt 
+3c80 6011804c hstore 3 ,core_lpm_reg 
+3c81 e8c08000 ifetch 1 ,contr 
+3c82 1fe1feef or_into isogate_mask ,pdata 
+3c83 e0a08000 istore 1 ,contw 
+3c84 20403db2 call lpm_write_ctrl2 
+3c85 6810804f hfetch 1 ,core_lpm_isogate 
+3c86 79207e04 set1 enable_retmem ,pdata 
+3c87 6010804f hstore 1 ,core_lpm_isogate 
+3c88 20403db2 call lpm_write_ctrl2 
+3c89 2055bc90 call lpm_load_context ,wake 
+3c8a 6810804e hfetch 1 ,core_lpm_reg + 2 
+3c8b 793ffe03 set0 gpio_latch ,pdata 
+3c8c 6010804e hstore 1 ,core_lpm_reg + 2 
+3c8d 20403db2 call lpm_write_ctrl2 
+3c8e 20758000 rtn wake 
+3c8f 20206725 branch loadcode 
+
+lpm_load_context:
+3c90 6800c239 fetch 1 ,mem_saved_spidctrl 
+3c91 60108086 hstore 1 ,core_spid_ctrl 
+3c92 6801c22e fetch 3 ,mem_saved_gsel 
+3c93 60118080 hstore 3 ,core_gpio_sel 
+3c94 68024222 fetch 4 ,mem_saved_gpio + 4 
+3c95 60120074 hstore 4 ,core_gpio_out0 
+3c96 6802421e fetch 4 ,mem_saved_gpio 
+3c97 60120070 hstore 4 ,core_gpio_oe0 
+3c98 68044226 fetch 8 ,mem_saved_gpio + 8 
+3c99 60140078 hstore 8 ,core_gpio_pu0 
+3c9a 68044231 fetch 8 ,mem_saved_mark 
+3c9b 98000000 iforce mark 
+3c9c 68140140 hfetch 8 ,core_gpio_wakeup_low 
+3c9d 600400a3 store 8 ,mem_gpio_wakeup_low 
+3c9e 20406781 call load_ucode 
+3c9f 20600000 rtn 
+
+lpm_save_context:
+3ca0 18027e00 deposit mark 
+3ca1 60044231 store 8 ,mem_saved_mark 
+3ca2 68140070 hfetch 8 ,core_gpio_oe0 
+3ca3 6004421e store 8 ,mem_saved_gpio 
+3ca4 e8c40000 ifetch 8 ,contr 
+3ca5 e0a40000 istore 8 ,contw 
+3ca6 68118080 hfetch 3 ,core_gpio_sel 
+3ca7 6001c22e store 3 ,mem_saved_gsel 
+3ca8 68108086 hfetch 1 ,core_spid_ctrl 
+3ca9 6000c239 store 1 ,mem_saved_spidctrl 
+3caa 20203db8 branch lpm_write_gpio_wakeup 
+
+lpo_calibration:
+3cab 681080b4 hfetch 1 ,core_bist_ctrl 
+3cac 243a3cb1 nbranch lpo_cal_inited ,blank 
+3cad 6801c210 fetch 3 ,mem_clks_per_lpo 
+3cae 247a0000 nrtn blank 
+3caf 7080b4c0 hjam 0xc0 ,core_bist_ctrl 
+3cb0 70800680 hjam ccnt_start ,core_misc_ctrl 
+
+lpo_cal_inited:
+3cb1 6810812d hfetch 1 ,core_perf_status 
+3cb2 c4008000 rtnbit0 1 
+3cb3 68118149 hfetch 3 ,core_clk_counter 
+3cb4 6001c210 store 3 ,mem_clks_per_lpo 
+3cb5 20600000 rtn 
+
+lpm_adjust_clk:
+3cb6 793f8025 set0 mark_ext_patch ,mark 
+3cb7 44d74015 bpatch patch15_6 ,mem_patch15 
+3cb8 1b427e00 deposit clke 
+3cb9 20407e78 call clk_diff_rt 
+3cba 680a4200 fetcht 4 ,mem_sleep_counter_all 
+3cbb 18467cff sub temp ,0xff ,null 
+3cbc 20610000 rtn positive 
+3cbd 1fed7e00 lshift8 pdata ,pdata 
+3cbe 1ff27e00 lshift4 pdata ,pdata 
+3cbf 9846fc00 idiv temp 
+3cc0 20407efd call wait_div_end 
+3cc1 1807fe00 quotient pdata 
+3cc2 d84000c8 arg param_lpm_adjmax ,temp 
+3cc3 20407f2e call ceiling 
+3cc4 6000809b store 1 ,mem_lpm_adjust 
+3cc5 24343cc7 nbranch lpm_adjust_positive ,user 
+3cc6 1fe67e00 sub pdata ,0 ,pdata 
+
+lpm_adjust_positive:
+3cc7 6809c210 fetcht 3 ,mem_clks_per_lpo 
+3cc8 9840fe00 iadd temp ,pdata 
+3cc9 6001c210 store 3 ,mem_clks_per_lpo 
+
+lpm_clear_counter:
+3cca 58000000 setarg 0 
+3ccb 60024200 store 4 ,mem_sleep_counter_all 
+3ccc 20600000 rtn 
+
+lpm_hibernate:
+3ccd 793f8025 set0 mark_ext_patch ,mark 
+3cce 44d7c015 bpatch patch15_7 ,mem_patch15 
+3ccf 20403db8 call lpm_write_gpio_wakeup 
+3cd0 68120138 hfetch 4 ,core_lpm_ctrl 
+3cd1 793ffe0f set0 15 ,pdata 
+3cd2 6012004c hstore 4 ,core_lpm_reg 
+3cd3 20403db0 call lpm_write_ctrl 
+
+lpm_hibernate_normal:
+3cd4 d85fffff arg param_hibernate_clks ,temp 
+3cd5 6800c1f8 fetch 1 ,mem_lpm_hibernate_switch 
+3cd6 6000c21d store 1 ,mem_lpm_xtalcnt + 4 
+3cd7 6800c21b fetch 1 ,mem_lpm_xtalcnt + 2 
+3cd8 79207e07 set1 cold_wake ,pdata 
+3cd9 6000c21b store 1 ,mem_lpm_xtalcnt + 2 
+
+lpm_sleep:
+3cda 793f8025 set0 mark_ext_patch ,mark 
+3cdb 44d84016 bpatch patch16_0 ,mem_patch16 
+3cdc 68024200 fetch 4 ,mem_sleep_counter_all 
+3cdd 9840fe00 iadd temp ,pdata 
+3cde 60024200 store 4 ,mem_sleep_counter_all 
+3cdf 20403ca0 call lpm_save_context 
+3ce0 6802c219 fetch 5 ,mem_lpm_xtalcnt 
+3ce1 6012004c hstore 4 ,core_lpm_reg 
+3ce2 1fef2200 rshift32 pdata ,rega 
+3ce3 37d98200 until null ,lpo_edge 
+3ce4 1b227e00 deposit clkn 
+3ce5 60034204 store 6 ,mem_sleep_clkn 
+3ce6 70800502 hjam lpmreg_sel_ctrl2 ,core_lpm_wr 
+3ce7 37d98200 until null ,lpo_edge 
+3ce8 37d98200 until null ,lpo_edge 
+3ce9 1a227e00 deposit rega 
+3cea 6010804f hstore 1 ,core_lpm_isogate 
+3ceb 70800502 hjam lpmreg_sel_ctrl2 ,core_lpm_wr 
+
+lpm_enter_sleep:
+3cec 37d98200 until null ,lpo_edge 
+3ced 37d98200 until null ,lpo_edge 
+3cee 601a004c hstoret 4 ,core_lpm_reg 
+3cef 70800510 hjam lpmreg_sel_counter ,core_lpm_wr 
+3cf0 37df8200 until null ,never 
+
+lpm_recover_clk:
+3cf1 793f8025 set0 mark_ext_patch ,mark 
+3cf2 44d8c016 bpatch patch16_1 ,mem_patch16 
+3cf3 58000000 setarg 0 
+3cf4 1ce27c00 copy auxcnt ,null 
+3cf5 2022bcfd branch lpm_recover_timeout ,zero 
+3cf6 6810813c hfetch 1 ,core_lpm_xtalcnt 
+3cf7 6818813d hfetcht 1 ,core_lpm_buckcnt 
+3cf8 98467c00 isub temp ,null 
+3cf9 20213cfb branch lpm_recover_xtal ,positive 
+3cfa 18427e00 deposit temp 
+
+lpm_recover_xtal:
+3cfb 9ce67e00 isub auxcnt ,pdata 
+3cfc 1fe0fe01 increase 1 ,pdata 
+
+lpm_recover_timeout:
+3cfd 1fe0fe08 increase 8 ,pdata 
+3cfe 37d98200 until null ,lpo_edge 
+3cff 9e20fe00 iadd lpo_time ,pdata 
+3d00 680a41fc fetcht 4 ,mem_sleep_counter 
+3d01 9840fe00 iadd temp ,pdata 
+3d02 6809c210 fetcht 3 ,mem_clks_per_lpo 
+3d03 984ffe00 imul32 temp ,pdata 
+3d04 1fecfe00 rshift8 pdata ,pdata 
+3d05 1ff1fe00 rshift4 pdata ,pdata 
+3d06 1fe0fe6e increase param_lpm_fix ,pdata 
+3d07 d8400ea6 arg 3750 ,temp 
+3d08 9846fc00 idiv temp 
+3d09 20407efd call wait_div_end 
+3d0a 1807fe00 quotient pdata 
+3d0b 1ff07e00 lshift16 pdata ,pdata 
+3d0c 18070400 remainder temp 
+3d0d 9841fe00 ior temp ,pdata 
+3d0e 680b4204 fetcht 6 ,mem_sleep_clkn 
+3d0f 20407e6d call clk_add 
+3d10 18423200 copy temp ,clkn 
+3d11 68034048 fetch 6 ,mem_context + coffset_clk_offset 
+3d12 204039c0 call calc_clke2 
+3d13 1b427e00 deposit clke 
+3d14 60030161 store 6 ,mem_pdatatemp 
+3d15 1ce27e00 deposit auxcnt 
+3d16 e0a08000 istore 1 ,contw 
+3d17 6810811d hfetch 1 ,core_gpio_in1 
+3d18 1fe1fef0 or_into 0xf0 ,pdata 
+3d19 e0a08000 istore 1 ,contw 
+3d1a 20407f52 call savelist_2 
+3d1b 20600000 rtn 
+
+lpm_dispatch:
+3d1c 793f8025 set0 mark_ext_patch ,mark 
+3d1d 44d94016 bpatch patch16_2 ,mem_patch16 
+3d1e 20403cab call lpo_calibration 
+3d1f 6801c210 fetch 3 ,mem_clks_per_lpo 
+3d20 207a0000 rtn blank 
+3d21 6800c131 fetch 1 ,mem_lpm_mode 
+3d22 207a0000 rtn blank 
+3d23 20403dca call lpm_check_wake_lock 
+3d24 247a0000 nrtn blank 
+
+lpm_dispatch0:
+3d25 6800c040 fetch 1 ,mem_context 
+3d26 2fe00e03 compare 3 ,pdata ,0x7 
+3d27 2420bd4d nbranch lpm_dispatch_unconn ,true 
+3d28 68014042 fetch 2 ,mem_context + coffset_tsniff 
+3d29 207a0000 rtn blank 
+3d2a 20758000 rtn wake 
+3d2b 793f8025 set0 mark_ext_patch ,mark 
+3d2c 44d9c016 bpatch patch16_3 ,mem_patch16 
+
+lpm_dispatch1:
+3d2d 680880a2 fetcht 1 ,mem_lpm_current_mult 
+3d2e 68014042 fetch 2 ,mem_context + coffset_tsniff 
+3d2f 984ffe00 imul32 temp ,pdata 
+3d30 18518400 rshift4 temp ,temp 
+3d31 184b0400 rshift2 temp ,temp 
+3d32 98467e00 isub temp ,pdata 
+3d33 680a4044 fetcht 4 ,mem_context + coffset_sniff_anchor 
+3d34 9840fe00 iadd temp ,pdata 
+3d35 6808c1f7 fetcht 1 ,mem_lpm_overhead 
+3d36 98467e00 isub temp ,pdata 
+3d37 1ff06000 lshift16 pdata ,alarm 
+3d38 793f8025 set0 mark_ext_patch ,mark 
+3d39 44da4016 bpatch patch16_4 ,mem_patch16 
+3d3a 6801404e fetch 2 ,mem_context + coffset_rx_window 
+3d3b 1fe37e00 rshift pdata ,pdata 
+3d3c 20407e91 call clk2bt 
+3d3d 1e027e00 deposit alarm 
+3d3e 20407e7a call clk_diff 
+3d3f 1b420400 copy clke ,temp 
+3d40 20407e78 call clk_diff_rt 
+3d41 20740000 rtn user 
+
+lpm_dispatch_sleep:
+3d42 20407e8a call clk2lpo 
+
+lpm_dispatch_lpo:
+3d43 793f8025 set0 mark_ext_patch ,mark 
+3d44 44dac016 bpatch patch16_5 ,mem_patch16 
+3d45 6800c219 fetch 1 ,mem_lpm_xtalcnt 
+3d46 98467c00 isub temp ,null 
+3d47 20213cca branch lpm_clear_counter ,positive 
+3d48 600a41fc storet 4 ,mem_sleep_counter 
+3d49 20403ea9 call app_will_enter_lpm 
+3d4a 2040530c call l2cap_lpm_save_txbuf 
+3d4b 680a41fc fetcht 4 ,mem_sleep_counter 
+3d4c 20203cda branch lpm_sleep 
+
+lpm_dispatch_unconn:
+3d4d 793f8025 set0 mark_ext_patch ,mark 
+3d4e 44db4016 bpatch patch16_6 ,mem_patch16 
+3d4f 6800c040 fetch 1 ,mem_context 
+3d50 c3800000 rtnbit1 state_inconn 
+3d51 c3818000 rtnbit1 state_inpage 
+3d52 6800c7dc fetch 1 ,mem_ssp_enable 
+3d53 203a3d56 branch lpm_unconn_nossp ,blank 
+3d54 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+3d55 207a0000 rtn blank 
+
+lpm_unconn_nossp:
+3d56 6800c3d8 fetch 1 ,mem_le_adv_enable 
+3d57 243a3d5a nbranch lpm_unconn_cont ,blank 
+3d58 6800c133 fetch 1 ,mem_scan_mode 
+3d59 207a0000 rtn blank 
+
+lpm_unconn_cont:
+3d5a 680141f5 fetch 2 ,mem_lpm_interval 
+3d5b 207a0000 rtn blank 
+
+lpm_sleep_btclk:
+3d5c 6808c1f7 fetcht 1 ,mem_lpm_overhead 
+3d5d 98467e00 isub temp ,pdata 
+3d5e d8401d4c arg 7500 ,temp 
+3d5f 984ffe00 imul32 temp ,pdata 
+3d60 20203d42 branch lpm_dispatch_sleep 
+
+lpm_set_mult:
+3d61 793f8025 set0 mark_ext_patch ,mark 
+3d62 44dbc016 bpatch patch16_7 ,mem_patch16 
+3d63 7855fc00 disable wake 
+3d64 68008030 fetch 1 ,mem_state 
+3d65 c4008000 rtnbit0 state_insniff 
+3d66 2436bd7b nbranch lpm_not_match ,match 
+3d67 20403d76 call lpm_match 
+3d68 68014161 fetch 2 ,mem_rx_window_sniff 
+3d69 6001003e store 2 ,mem_rx_window 
+3d6a 68008047 fetch 1 ,mem_arq 
+3d6b c281bd8a bbit1 wack ,lpm_mult_short 
+3d6c c586bd8a bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+3d6d 2040527e call l2cap_malloc_is_fifo_empty 
+3d6e 243a3d8a nbranch lpm_mult_short ,blank 
+
+lpm_mult_wait_timeout:
+3d6f 7000a200 jam 0 ,mem_lpm_current_mult 
+3d70 c586bd8a bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+3d71 6800c215 fetch 1 ,mem_lpm_mult_cnt 
+3d72 203a3d8e branch lpm_mult_long ,blank 
+3d73 1fe0ffff increase -1 ,pdata 
+3d74 6000c215 store 1 ,mem_lpm_mult_cnt 
+3d75 20600000 rtn 
+
+lpm_match:
+3d76 7041fa00 jam 0 ,mem_sniff_unint_lost 
+3d77 6801c20a fetch 3 ,mem_sniff_rcv 
+3d78 1fe0fe01 increase 1 ,pdata 
+3d79 6001c20a store 3 ,mem_sniff_rcv 
+3d7a 20600000 rtn 
+
+lpm_not_match:
+3d7b 793f8025 set0 mark_ext_patch ,mark 
+3d7c 44dc4017 bpatch patch17_0 ,mem_patch17 
+3d7d 68094161 fetcht 2 ,mem_rx_window_sniff 
+3d7e 18430400 rshift temp ,temp 
+3d7f 6801003e fetch 2 ,mem_rx_window 
+3d80 9840fe00 iadd temp ,pdata 
+3d81 6001003e store 2 ,mem_rx_window 
+
+lpm_lost:
+3d82 7000a200 jam 0 ,mem_lpm_current_mult 
+3d83 6801c20d fetch 3 ,mem_sniff_lost 
+3d84 1fe0fe01 increase 1 ,pdata 
+3d85 6001c20d store 3 ,mem_sniff_lost 
+3d86 6800c1fa fetch 1 ,mem_sniff_unint_lost 
+3d87 1fe0fe01 increase 1 ,pdata 
+3d88 6000c1fa store 1 ,mem_sniff_unint_lost 
+3d89 20600000 rtn 
+
+lpm_mult_short:
+3d8a 7000a200 jam 0 ,mem_lpm_current_mult 
+3d8b 6800c214 fetch 1 ,mem_lpm_mult_timeout 
+3d8c 6000c215 store 1 ,mem_lpm_mult_cnt 
+3d8d 20600000 rtn 
+
+lpm_mult_long:
+3d8e 6808c213 fetcht 1 ,mem_lpm_mult 
+3d8f 600880a2 storet 1 ,mem_lpm_current_mult 
+3d90 20600000 rtn 
+
+lpm_cal_xtal_startup:
+3d91 793f8025 set0 mark_ext_patch ,mark 
+3d92 44dcc017 bpatch patch17_1 ,mem_patch17 
+3d93 6800c219 fetch 1 ,mem_lpm_xtalcnt 
+3d94 247a0000 nrtn blank 
+3d95 70804206 hjam clksel_rc ,core_clksel 
+3d96 58000f0c setarg 0xf0c 
+3d97 20403da7 call lpm_write_config 
+3d98 58030d40 setarg 200000 
+3d99 20403bf3 call sleep 
+3d9a 37d98200 until null ,lpo_edge 
+3d9b 1e226000 copy lpo_time ,alarm 
+3d9c 20403b36 call xtal_fast_wake 
+3d9d 70804204 hjam clksel_xtal ,core_clksel 
+3d9e 2000000a nop 10 
+3d9f 37d98200 until null ,lpo_edge 
+3da0 1e227e00 deposit lpo_time 
+3da1 9e067e00 isub alarm ,pdata 
+3da2 1fe0fe30 increase 0x30 ,pdata 
+3da3 d84000ff arg 0xff ,temp 
+3da4 20407f2e call ceiling 
+3da5 6000c219 store 1 ,mem_lpm_xtalcnt 
+3da6 20600000 rtn 
+
+lpm_write_config:
+3da7 d8a00fff arg 0xfff ,contw 
+3da8 98a10a00 iand contw ,contw 
+3da9 6800c216 fetch 1 ,mem_lpm_config 
+3daa 1fe17ef0 and_into 0xf0 ,pdata 
+3dab 1fed7e00 lshift8 pdata ,pdata 
+3dac 98a1fe00 ior contw ,pdata 
+3dad 6011004c hstore 2 ,core_lpm_reg 
+3dae e8c10000 ifetch 2 ,contr 
+3daf e0a10000 istore 2 ,contw 
+
+lpm_write_ctrl:
+3db0 58000001 setarg lpmreg_sel_ctrl 
+3db1 20203db3 branch lpm_write 
+
+lpm_write_ctrl2:
+3db2 58000002 setarg lpmreg_sel_ctrl2 
+
+lpm_write:
+3db3 37d98200 until null ,lpo_edge 
+3db4 60108005 hstore 1 ,core_lpm_wr 
+3db5 37d98200 until null ,lpo_edge 
+3db6 37d98200 until null ,lpo_edge 
+3db7 20600000 rtn 
+
+lpm_write_gpio_wakeup:
+3db8 793f8025 set0 mark_ext_patch ,mark 
+3db9 44dd4017 bpatch patch17_2 ,mem_patch17 
+3dba 680200a3 fetch 4 ,mem_gpio_wakeup_low 
+3dbb 6012004c hstore 4 ,core_lpm_reg 
+3dbc 58000004 setarg lpmreg_sel_gpiolow 
+3dbd 20403db3 call lpm_write 
+3dbe 680200a7 fetch 4 ,mem_gpio_wakeup_high 
+3dbf 6012004c hstore 4 ,core_lpm_reg 
+3dc0 58000008 setarg lpmreg_sel_gpiohigh 
+3dc1 20203db3 branch lpm_write 
+
+lpm_get_wake_lock:
+3dc2 680141f3 fetch 2 ,mem_lpm_wake_lock 
+3dc3 f9207e00 qset1 pdata 
+3dc4 600141f3 store 2 ,mem_lpm_wake_lock 
+3dc5 20600000 rtn 
+
+lpm_put_wake_lock:
+3dc6 680141f3 fetch 2 ,mem_lpm_wake_lock 
+3dc7 f93ffe00 qset0 pdata 
+3dc8 600141f3 store 2 ,mem_lpm_wake_lock 
+3dc9 20600000 rtn 
+
+lpm_check_wake_lock:
+3dca 793f8025 set0 mark_ext_patch ,mark 
+3dcb 44ddc017 bpatch patch17_3 ,mem_patch17 
+3dcc 20403ea7 call app_check_wake_lock 
+3dcd 680141f3 fetch 2 ,mem_lpm_wake_lock 
+3dce 1fe22200 copy pdata ,rega 
+3dcf 6800804c fetch 1 ,mem_state_map 
+3dd0 2feffe06 isolate1 smap_rxlmp ,pdata 
+3dd1 7920a20b setflag true ,wake_lock_lmp_rx ,rega 
+3dd2 68008078 fetch 1 ,mem_lmo_opcode1 
+3dd3 6808807c fetcht 1 ,mem_lmo_opcode2 
+3dd4 9840fe00 iadd temp ,pdata 
+3dd5 68088048 fetcht 1 ,mem_lmp_to_send 
+3dd6 9840fe00 iadd temp ,pdata 
+3dd7 7d3a220a nsetflag blank ,wake_lock_lmp_tx ,rega 
+3dd8 793f8025 set0 mark_ext_patch ,mark 
+3dd9 44de4017 bpatch patch17_4 ,mem_patch17 
+3dda 680102c4 fetch 2 ,mem_l2cap_rxbuff1_len 
+3ddb 680902c6 fetcht 2 ,mem_l2cap_rxbuff2_len 
+3ddc 9840fe00 iadd temp ,pdata 
+3ddd 7d3a220d nsetflag blank ,wake_lock_l2cap_rx ,rega 
+3dde 6802c7df fetch 5 ,mem_ipc_fifo_bt2c51 
+3ddf 7d3a220f nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+3de0 6802c7e4 fetch 5 ,mem_ipc_fifo_c512bt 
+3de1 7d3a220e nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+3de2 6800c272 fetch 1 ,mem_hci_cmd 
+3de3 7d3a2208 nsetflag blank ,wake_lock_cmd ,rega 
+3de4 6800c132 fetch 1 ,mem_device_option 
+3de5 2fe1fe0a compare dvc_op_module ,pdata ,0xff 
+3de6 2040bdf5 call lpm_uart_wake_lock ,true 
+3de7 793f8025 set0 mark_ext_patch ,mark 
+3de8 44dec017 bpatch patch17_5 ,mem_patch17 
+3de9 6800c132 fetch 1 ,mem_device_option 
+3dea c080bdfa bne dvc_op_hci ,lpm_check_wake_lock_nothci 
+3deb 20403df5 call lpm_uart_wake_lock 
+3dec 6800c25e fetch 1 ,mem_link_key_exists 
+3ded 793a2203 setflag blank ,wake_link_key_exists ,rega 
+3dee 680242a5 fetch 4 ,mem_lpm_delay_after_sniff 
+3def d8401710 arg 0x1710 ,temp 
+3df0 98408400 iadd temp ,temp 
+3df1 1c427e00 copy clkn_bt ,pdata 
+3df2 98467c00 isub temp ,null 
+3df3 7d212204 nsetflag positive ,wake_lock_delay ,rega 
+3df4 20203dfc branch lpm_check_wake_lock_end 
+
+lpm_uart_wake_lock:
+3df5 68110112 hfetch 2 ,core_uart_rxitems 
+3df6 7d3a2206 nsetflag blank ,wake_lock_uart_rx ,rega 
+3df7 6811010e hfetch 2 ,core_uart_txitems 
+3df8 7d3a2205 nsetflag blank ,wake_lock_uart_tx ,rega 
+3df9 20600000 rtn 
+
+lpm_check_wake_lock_nothci:
+3dfa 5ffffff8 setarg -8 
+3dfb 9a212200 iand rega ,rega 
+
+lpm_check_wake_lock_end:
+3dfc 1a227e00 copy rega ,pdata 
+3dfd 600141f3 store 2 ,mem_lpm_wake_lock 
+3dfe 207a0000 rtn blank 
+3dff 20768000 rtn match 
+3e00 7835fc00 enable wake 
+3e01 20600000 rtn 
+
+lpm_shut_down:
+3e02 68120138 hfetch 4 ,core_lpm_ctrl 
+3e03 793ffe1b set0 27 ,pdata 
+3e04 6012004c hstore 4 ,core_lpm_reg 
+3e05 20403db0 call lpm_write_ctrl 
+3e06 20203bf1 branch assert 
+
+lpm_enable_exen_output:
+3e07 6812013c hfetch 4 ,core_lpm_xtalcnt 
+3e08 79207e14 set1 20 ,pdata 
+3e09 6012004c hstore 4 ,core_lpm_reg 
+3e0a 20203db2 branch lpm_write_ctrl2 
+
+lpm_disable_exen_output:
+3e0b 6812013c hfetch 4 ,core_lpm_xtalcnt 
+3e0c 793ffe14 set0 20 ,pdata 
+3e0d 6012004c hstore 4 ,core_lpm_reg 
+3e0e 20203db2 branch lpm_write_ctrl2 
+
+lpm_hci_wake_dispatch:
+3e0f 793f8025 set0 mark_ext_patch ,mark 
+3e10 44df4017 bpatch patch17_6 ,mem_patch17 
+3e11 6800c132 fetch 1 ,mem_device_option 
+3e12 c1808000 rtnne dvc_op_hci 
+3e13 20406a8b call gpio_check_uart_state 
+3e14 20608000 rtn true 
+3e15 68024807 fetch 4 ,mem_hci_wake_clk 
+3e16 243a3e1a nbranch lpm_hci_check_wake_time ,blank 
+3e17 1c427e00 copy clkn_bt ,pdata 
+3e18 60024807 store 4 ,mem_hci_wake_clk 
+3e19 20206a6b branch gpio_pd_uart_tx 
+
+lpm_hci_check_wake_time:
+3e1a 793f8025 set0 mark_ext_patch ,mark 
+3e1b 44dfc017 bpatch patch17_7 ,mem_patch17 
+3e1c 1c427e00 copy clkn_bt ,pdata 
+3e1d 680a4807 fetcht 4 ,mem_hci_wake_clk 
+3e1e 98467e00 isub temp ,pdata 
+3e1f d8400021 arg host_wake_time ,temp 
+3e20 98467c00 isub temp ,null 
+3e21 24610000 nrtn positive 
+3e22 58000000 setarg 0 
+3e23 60024807 store 4 ,mem_hci_wake_clk 
+3e24 20204599 branch hci_exit_lpm 
+
+check_bt_disabled:
+3e25 680141f1 fetch 2 ,mem_chip_functions 
+3e26 c2803bf1 bbit1 bt_disabled ,assert 
+3e27 20600000 rtn 
+
+check_ble_disabled:
+3e28 680141f1 fetch 2 ,mem_chip_functions 
+3e29 c280bbf1 bbit1 ble_disabled ,assert 
+3e2a 20600000 rtn 
+
+check_module_disabled:
+3e2b 680141f1 fetch 2 ,mem_chip_functions 
+3e2c c2813bf1 bbit1 module_disable ,assert 
+3e2d 20600000 rtn 
+
+test_init:
+3e2e 58003e37 setarg test_proc 
+3e2f 6001428e store 2 ,mem_cb_bt_process 
+3e30 58003e3d setarg test_sleep 
+3e31 60014292 store 2 ,mem_cb_bb_event_process 
+3e32 58003e37 setarg test_proc 
+3e33 60014290 store 2 ,mem_cb_idle_process 
+3e34 20758000 rtn wake 
+3e35 7047e901 jam ui_led_start ,mem_led_switch 
+3e36 20600000 rtn 
+
+test_proc:
+3e37 68008030 fetch 1 ,mem_state 
+3e38 c300de9f bbit0 state_insniff ,check_test_cond 
+3e39 7920000d set1 mark_lpm_mult_enable ,mark 
+3e3a 6803420a fetch 6 ,mem_sniff_rcv 
+3e3b 60034703 store 6 ,mem_local_name 
+3e3c 20207bde branch ui_led_blink_stop 
+
+test_sleep:
+3e3d 1a627e00 deposit regc 
+3e3e c1880000 rtnne bt_evt_button_long_pressed 
+
+test_sleep_loop:
+3e3f 20407bb1 call ui_button_polling 
+3e40 6800c7eb fetch 1 ,mem_ui_button_last_state 
+3e41 c000be3f beq 1 ,test_sleep_loop 
+3e42 20407be2 call ui_led_off 
+3e43 20203ccd branch lpm_hibernate 
+
+test_tx:
+3e44 18000402 force 2 ,temp 
+3e45 184085fe increase -2 ,temp 
+3e46 20403a7a call set_sync_on 
+3e47 20403a91 call set_freq_tx 
+3e48 7843fc00 disable enable_white 
+3e49 782efc00 enable encode_fec0 
+3e4a 79202a00 set1 txgfsk ,radio_ctrl 
+3e4b 20403bae call start_transmitter 
+
+test_tx_loop:
+3e4c 68008000 fetch 1 ,0 
+3e4d 08008608 inject mod ,8 
+3e4e 20203e4c branch test_tx_loop 
+
+app_init:
+3e4f 79200025 set1 mark_ext_patch ,mark 
+3e50 44e6c039 bpatch patch39_5 ,mem_patch39 
+3e51 6800c132 fetch 1 ,mem_device_option 
+3e52 203a3e4f branch app_init ,blank 
+3e53 c0035aa2 beq dvc_op_ukey ,le_ukey_init 
+3e54 c003cb33 beq dvc_op_ir ,le_ir_init 
+3e55 c0024293 beq dvc_op_dongle ,le_dongle_init 
+3e56 c001cc09 beq dvc_op_kb ,kb_init 
+3e57 c000c461 beq dvc_op_hci ,hci_init 
+3e58 c004f624 beq dvc_op_shutter ,shutter_init 
+3e59 c00562ef beq dvc_op_module ,module_init 
+3e5a c0064bf3 beq dvc_op_ble_kb ,le_kb_init 
+3e5b c006ea8e beq dvc_op_ble_prcp ,prcp_init 
+3e5c c07fbe2e beq dvc_op_test ,test_init 
+3e5d c2836486 bbit1 dvc_op_mouse ,mouse_init 
+3e5e 20600000 rtn 
+
+app_lpm_init:
+3e5f 79200025 set1 mark_ext_patch ,mark 
+3e60 44e74039 bpatch patch39_6 ,mem_patch39 
+3e61 70015300 jam 0 ,mem_tester_emulate 
+3e62 70018900 jam 0 ,mem_debug_config 
+3e63 70018a00 jam 0 ,mem_lch_code 
+3e64 58000000 setarg 0 
+3e65 600287da store 5 ,mem_sp_state_start 
+3e66 6800c132 fetch 1 ,mem_device_option 
+3e67 203a3e5f branch app_lpm_init ,blank 
+3e68 c005631f beq dvc_op_module ,module_lpm_init 
+3e69 20600000 rtn 
+
+app_process_idle:
+3e6a 20407ba1 call ui_dispatch 
+3e6b 20407c45 call check_51cmd 
+3e6c 20403e73 call app_process_bb_event 
+3e6d 68014290 fetch 2 ,mem_cb_idle_process 
+3e6e 20207f66 branch callback_func 
+
+app_process_bt:
+3e6f 6801428e fetch 2 ,mem_cb_bt_process 
+3e70 20207f66 branch callback_func 
+
+app_process_ble:
+3e71 6801428c fetch 2 ,mem_cb_le_process 
+3e72 20207f66 branch callback_func 
+
+app_process_bb_event:
+3e73 79200025 set1 mark_ext_patch ,mark 
+3e74 44e7c039 bpatch patch39_7 ,mem_patch39 
+3e75 da2047df arg mem_ipc_fifo_bt2c51 ,rega 
+3e76 20407f9f call fifo_out 
+3e77 207a0000 rtn blank 
+3e78 1fe22600 copy pdata ,regc 
+3e79 20403e7d call app_event_normal_process 
+3e7a 20203ea5 branch app_process_bb_event_priority 
+
+app_discard_event:
+3e7b da600000 arg 0 ,regc 
+3e7c 20600000 rtn 
+
+app_event_normal_process:
+3e7d c000be92 beq bt_evt_bb_connected ,app_evt_bt_conn 
+3e7e c0083ed9 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+3e7f c002beb6 beq bt_evt_setup_complete ,app_evt_setup_complete 
+3e80 c0093ebd beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+3e81 c0033ed5 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+3e82 c0023efe beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+3e83 c0013f03 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+3e84 c009befe beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+3e85 c00a3ecc beq bt_evt_le_connected ,app_le_event_bb_connected 
+3e86 c00abed0 beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+3e87 c001beaf beq bt_evt_reconn_started ,app_event_reconn_start 
+3e88 c005bec1 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+3e89 c0063ec8 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+3e8a c00b3edd beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+3e8b c00c3eab beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+3e8c c0153e9b beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+3e8d c015be99 beq bt_evt_switch_success_master ,app_event_switch_success 
+3e8e 1fe1040f and pdata ,0x0f ,temp 
+3e8f 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+3e90 c0283ee1 beq bt_evt_timer_init ,app_evt_timer 
+3e91 20600000 rtn 
+
+app_evt_bt_conn:
+3e92 680147f4 fetch 2 ,mem_ui_state_map 
+3e93 79207e00 set1 ui_state_bt_connected ,pdata 
+3e94 600147f4 store 2 ,mem_ui_state_map 
+3e95 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3e96 793ffe00 set0 app_disc_by_button ,pdata 
+3e97 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3e98 20600000 rtn 
+
+app_event_switch_success:
+3e99 70025800 jam 0 ,mem_switch_fail_master_count 
+3e9a 20600000 rtn 
+
+app_event_switch_fail_master:
+3e9b 68008258 fetch 1 ,mem_switch_fail_master_count 
+3e9c 1fe0fe01 increase 1 ,pdata 
+3e9d 60008258 store 1 ,mem_switch_fail_master_count 
+3e9e 1fe67c01 sub pdata ,1 ,null 
+3e9f 20213f6c branch app_bt_role_switch ,positive 
+3ea0 70025800 jam 0 ,mem_switch_fail_master_count 
+3ea1 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ea2 79207e09 set1 app_disc_switch_fail ,pdata 
+3ea3 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ea4 20203f77 branch app_bt_disconnect 
+
+app_process_bb_event_priority:
+3ea5 68014292 fetch 2 ,mem_cb_bb_event_process 
+3ea6 20207f66 branch callback_func 
+
+app_check_wake_lock:
+3ea7 68014286 fetch 2 ,mem_cb_check_wakelock 
+3ea8 20207f66 branch callback_func 
+
+app_will_enter_lpm:
+3ea9 6801428a fetch 2 ,mem_cb_before_lpm 
+3eaa 20207f66 branch callback_func 
+
+app_event_linkkey_generate:
+3eab 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3eac 79207e01 set1 app_disc_after_pairing ,pdata 
+3ead 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3eae 20203fa2 branch app_bt_store_reconn_info 
+
+app_event_reconn_start:
+3eaf 680147f4 fetch 2 ,mem_ui_state_map 
+3eb0 79207e07 set1 ui_state_bt_reconnect ,pdata 
+3eb1 600147f4 store 2 ,mem_ui_state_map 
+3eb2 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3eb3 79207e02 set1 app_disc_after_reconn ,pdata 
+3eb4 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3eb5 20600000 rtn 
+
+app_evt_setup_complete:
+3eb6 680147f4 fetch 2 ,mem_ui_state_map 
+3eb7 79207e01 set1 ui_state_bt_setup_complete ,pdata 
+3eb8 600147f4 store 2 ,mem_ui_state_map 
+3eb9 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3eba 79207e04 set1 app_disc_after_setup_done ,pdata 
+3ebb 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ebc 20600000 rtn 
+
+app_evt_hid_handshake:
+3ebd 680147f4 fetch 2 ,mem_ui_state_map 
+3ebe 79207e03 set1 ui_state_bt_hid_handshake ,pdata 
+3ebf 600147f4 store 2 ,mem_ui_state_map 
+3ec0 20600000 rtn 
+
+app_event_enter_sniff:
+3ec1 680147f4 fetch 2 ,mem_ui_state_map 
+3ec2 79207e05 set1 ui_state_bt_sniff ,pdata 
+3ec3 600147f4 store 2 ,mem_ui_state_map 
+3ec4 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ec5 79207e03 set1 app_disc_after_sniff ,pdata 
+3ec6 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ec7 20600000 rtn 
+
+app_event_exit_sniff:
+3ec8 680147f4 fetch 2 ,mem_ui_state_map 
+3ec9 793ffe05 set0 ui_state_bt_sniff ,pdata 
+3eca 600147f4 store 2 ,mem_ui_state_map 
+3ecb 20600000 rtn 
+
+app_le_event_bb_connected:
+3ecc 680147f4 fetch 2 ,mem_ui_state_map 
+3ecd 79207e09 set1 ui_state_ble_connected ,pdata 
+3ece 600147f4 store 2 ,mem_ui_state_map 
+3ecf 20600000 rtn 
+
+app_le_event_bb_disconn:
+3ed0 680147f4 fetch 2 ,mem_ui_state_map 
+3ed1 793ffe09 set0 ui_state_ble_connected ,pdata 
+3ed2 600147f4 store 2 ,mem_ui_state_map 
+3ed3 7046f800 jam 0 ,mem_le_switch_send_data 
+3ed4 20203fa6 branch app_lpm_mult_disable 
+
+app_bb_event_hid_connected:
+3ed5 680147f4 fetch 2 ,mem_ui_state_map 
+3ed6 79207e02 set1 ui_state_bt_hid_conn ,pdata 
+3ed7 600147f4 store 2 ,mem_ui_state_map 
+3ed8 20600000 rtn 
+
+app_evt_button_long_pressed:
+3ed9 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3eda 79207e00 set1 app_disc_by_button ,pdata 
+3edb 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3edc 20600000 rtn 
+
+app_event_ml2cap_conn_refused:
+3edd 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ede 79207e08 set1 app_disc_l2cap_refused ,pdata 
+3edf 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3ee0 20203f77 branch app_bt_disconnect 
+
+app_evt_timer:
+3ee1 79200025 set1 mark_ext_patch ,mark 
+3ee2 44e8403a bpatch patch3a_0 ,mem_patch3a 
+3ee3 60088259 storet 1 ,mem_app_evt_timer_count 
+
+app_evt_100ms_loop:
+3ee4 68008259 fetch 1 ,mem_app_evt_timer_count 
+3ee5 207a0000 rtn blank 
+3ee6 1fe0ffff increase -1 ,pdata 
+3ee7 60008259 store 1 ,mem_app_evt_timer_count 
+3ee8 20407bb1 call ui_button_polling 
+3ee9 20403f60 call app_lpm_wake_auto_lock_timer 
+3eea 20403eed call app_unsniff_delay_timer 
+3eeb 20403ef5 call app_discovery_timer 
+3eec 20203ee4 branch app_evt_100ms_loop 
+
+app_unsniff_delay_timer:
+3eed 6800c29d fetch 1 ,mem_unsniff2sniff_timer_count 
+3eee 207a0000 rtn blank 
+3eef 1fe0ffff increase -1 ,pdata 
+3ef0 6000c29d store 1 ,mem_unsniff2sniff_timer_count 
+3ef1 247a0000 nrtn blank 
+3ef2 204032ee call context_check_idle 
+3ef3 2022bf9e branch app_bt_enter_sniff ,zero 
+3ef4 20600000 rtn 
+
+app_discovery_timer:
+3ef5 680147f0 fetch 2 ,mem_discovery_timeout_timer_count 
+3ef6 207a0000 rtn blank 
+3ef7 1fe0ffff increase -1 ,pdata 
+3ef8 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+3ef9 247a0000 nrtn blank 
+3efa 20403f7e call app_bt_stop_discovery 
+3efb 20403f98 call app_led_off 
+3efc 68014294 fetch 2 ,mem_cb_discovry_timeout 
+3efd 20207f66 branch callback_func 
+
+app_bb_event_reconn_failed:
+3efe 20403f15 call app_disconn_reason_flag_clear 
+
+app_clear_reconnect_flag:
+3eff 680147f4 fetch 2 ,mem_ui_state_map 
+3f00 793ffe07 set0 ui_state_bt_reconnect ,pdata 
+3f01 600147f4 store 2 ,mem_ui_state_map 
+3f02 20600000 rtn 
+
+app_bb_event_bb_disconn:
+3f03 70429d00 jam 0 ,mem_unsniff2sniff_timer_count 
+3f04 680147f4 fetch 2 ,mem_ui_state_map 
+3f05 c283bf08 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+3f06 2fec0001 isolate0 ui_state_bt_setup_complete ,pdata 
+3f07 2040be7b call app_discard_event ,true 
+
+app_bb_event_bb_reconn_disconn:
+3f08 680147f4 fetch 2 ,mem_ui_state_map 
+3f09 793ffe00 set0 ui_state_bt_connected ,pdata 
+3f0a 793ffe01 set0 ui_state_bt_setup_complete ,pdata 
+3f0b 793ffe02 set0 ui_state_bt_hid_conn ,pdata 
+3f0c 793ffe03 set0 ui_state_bt_hid_handshake ,pdata 
+3f0d 793ffe04 set0 ui_state_bt_spp_conn ,pdata 
+3f0e 600147f4 store 2 ,mem_ui_state_map 
+3f0f 20203fa6 branch app_lpm_mult_disable 
+
+app_bb_hibernate:
+3f10 20403f12 call app_disconn_reason_clear 
+3f11 20203f9a branch app_enter_hibernate 
+
+app_event_do_nothing:
+
+app_disconn_reason_clear:
+3f12 58000000 setarg 0 
+3f13 600142a0 store app_disc_rsn_size ,mem_app_disconn_reason 
+3f14 20600000 rtn 
+
+app_disconn_reason_flag_clear:
+3f15 58000000 setarg 0 
+3f16 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3f17 20600000 rtn 
+
+app_disconn_reason_collect_bt:
+3f18 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3f19 600142a0 store app_disc_rsn_size ,mem_app_disconn_reason 
+3f1a 58000000 setarg 0 
+3f1b 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3f1c 20600000 rtn 
+
+app_disconn_reason_collect_ble:
+3f1d 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3f1e 79207e07 set1 app_disc_ble ,pdata 
+3f1f 600142a0 store app_disc_rsn_size ,mem_app_disconn_reason 
+3f20 58000000 setarg 0 
+3f21 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+3f22 20600000 rtn 
+
+app_check_reconn_target:
+3f23 2040691d call eeprom_load_reconn_info 
+3f24 68034274 fetch 6 ,mem_hci_plap 
+3f25 20600000 rtn 
+
+app_le_check_reconn_target:
+3f26 6800c48b fetch 1 ,mem_ltk_exists 
+3f27 203a3f2a branch app_le_check_reconn_target_none ,blank 
+3f28 20403f96 call app_led_on 
+3f29 20203f82 branch app_ble_start_direct_adv 
+
+app_le_check_reconn_target_none:
+3f2a 20403f94 call app_led_start_blink 
+3f2b 20203f88 branch app_ble_start_adv 
+
+app_check_plap:
+3f2c 79200025 set1 mark_ext_patch ,mark 
+3f2d 44e8c03a bpatch patch3a_1 ,mem_patch3a 
+3f2e da400244 arg mem_check_plap_temp ,regb 
+3f2f da603f31 arg app_check_one_plap ,regc 
+3f30 20203301 branch context_search 
+
+app_check_one_plap:
+3f31 d8400000 arg 0 ,temp 
+3f32 c3003f35 bbit0 state_inconn ,app_check_one_plap_next 
+3f33 1a208c10 add rega ,coffset_plap ,contr 
+3f34 e8cb0000 ifetcht 6 ,contr 
+
+app_check_one_plap_next:
+3f35 18427e00 copy temp ,pdata 
+3f36 245a3f3a ncall app_check_one_plap_device_exist ,blank 
+3f37 e24b0000 istoret 6 ,regb 
+3f38 1a40a406 increase 6 ,regb 
+3f39 20203307 branch context_search_next 
+
+app_check_one_plap_device_exist:
+3f3a 6800c29a fetch 1 ,mem_device_nums 
+3f3b 1fe0fe01 increase 1 ,pdata 
+3f3c 6000c29a store 1 ,mem_device_nums 
+3f3d 20600000 rtn 
+
+app_check_conn_device_nums_addr:
+3f3e 70429a00 jam 0 ,mem_device_nums 
+3f3f 20203f2c branch app_check_plap 
+
+app_check_sniff:
+3f40 6800c7f4 fetch 1 ,mem_ui_state_map 
+3f41 2feffe05 isolate1 ui_state_bt_sniff ,pdata 
+3f42 20600000 rtn 
+
+app_clearflag_store:
+3f43 58000000 setarg 0 
+3f44 20203f46 branch app_flag_store 
+
+app_initflag_store:
+3f45 5800aa55 setarg eeprom_init_flag 
+
+app_flag_store:
+3f46 600102a8 store 2 ,mem_timeup 
+3f47 79200025 set1 mark_ext_patch ,mark 
+3f48 44e9403a bpatch patch3a_2 ,mem_patch3a 
+3f49 d8400002 arg 2 ,temp 
+3f4a da2002a8 arg mem_timeup ,rega 
+3f4b da4000c3 arg eeprom_module_init_flag ,regb 
+3f4c 2020683e branch iicd_write_eep_data 
+
+app_initflag_check:
+3f4d 79200025 set1 mark_ext_patch ,mark 
+3f4e 44e9c03a bpatch patch3a_3 ,mem_patch3a 
+3f4f d8400002 arg 2 ,temp 
+3f50 da200161 arg mem_pdatatemp ,rega 
+3f51 da4000c3 arg eeprom_module_init_flag ,regb 
+3f52 2040681d call iicd_read_eep_data 
+3f53 68010161 fetch 2 ,mem_pdatatemp 
+3f54 d840aa55 arg eeprom_init_flag ,temp 
+3f55 98467c00 isub temp ,null 
+3f56 20600000 rtn 
+
+app_start_auto_sniff:
+3f57 6800c747 fetch 1 ,mem_unsniff2sniff_timer 
+3f58 6000c29d store 1 ,mem_unsniff2sniff_timer_count 
+3f59 20600000 rtn 
+
+app_get_lpm_wake_lock:
+3f5a d8e00009 arg wake_lock_app ,queue 
+3f5b 20203dc2 branch lpm_get_wake_lock 
+
+app_put_lpm_wake_lock:
+3f5c d8e00009 arg wake_lock_app ,queue 
+3f5d 20203dc6 branch lpm_put_wake_lock 
+
+app_lpm_wake_auto_lock:
+3f5e 70429e05 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+3f5f 20203f5a branch app_get_lpm_wake_lock 
+
+app_lpm_wake_auto_lock_timer:
+3f60 6800c29e fetch 1 ,mem_wake_up_delay_timer 
+3f61 207a0000 rtn blank 
+3f62 1fe0ffff increase -1 ,pdata 
+3f63 6000c29e store 1 ,mem_wake_up_delay_timer 
+3f64 247a0000 nrtn blank 
+3f65 20203f5c branch app_put_lpm_wake_lock 
+
+app_l2cap_flow_control_enable:
+3f66 7043cc01 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+3f67 20600000 rtn 
+
+app_l2cap_flow_control_disable:
+3f68 7043cc00 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+3f69 20600000 rtn 
+
+app_bt_set_pincode:
+3f6a 700b7d0a jam bt_cmd_set_pin_code ,mem_fifo_temp 
+3f6b 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_role_switch:
+3f6c 700b7d1d jam bt_cmd_role_switch ,mem_fifo_temp 
+3f6d 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_start_reconnect:
+3f6e 79200025 set1 mark_ext_patch ,mark 
+3f6f 44ea403a bpatch patch3a_4 ,mem_patch3a 
+3f70 6800c29f fetch 1 ,mem_app_connection_options 
+3f71 60008177 store 1 ,mem_connection_options 
+3f72 70025701 jam app_flag_reconnect ,mem_reconnect_flag 
+3f73 700b7d03 jam bt_cmd_reconnect ,mem_fifo_temp 
+3f74 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_reconnect_cancel:
+3f75 700b7d1e jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+3f76 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_disconnect:
+3f77 700b7d04 jam bt_cmd_disconnect ,mem_fifo_temp 
+3f78 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_start_discovery_short:
+3f79 680147fe fetch 2 ,mem_discovery_timeout 
+3f7a 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+
+app_bt_start_discovery_led_blink:
+3f7b 20403f94 call app_led_start_blink 
+
+app_bt_start_discovery:
+3f7c 700b7d01 jam bt_cmd_start_discovery ,mem_fifo_temp 
+3f7d 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_stop_discovery:
+3f7e 58000000 setarg 0 
+3f7f 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+3f80 700b7d02 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+3f81 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_start_direct_adv:
+3f82 700b7d0f jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+3f83 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_stop_direct_adv:
+3f84 700b7d10 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+3f85 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_stop_adv:
+3f86 700b7d0e jam bt_cmd_stop_adv ,mem_fifo_temp 
+3f87 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_start_adv:
+3f88 700b7d0d jam bt_cmd_start_adv ,mem_fifo_temp 
+3f89 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_start_scan:
+3f8a 700b7d17 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+3f8b 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_stop_scan:
+3f8c 700b7d18 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+3f8d 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_start_conn:
+3f8e 700b7d16 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+3f8f 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_disconnect:
+3f90 700b7d11 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+3f91 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_start_write:
+3f92 700b7d1c jam bt_cmd_le_start_write ,mem_fifo_temp 
+3f93 20207c33 branch ui_ipc_send_cmd 
+
+app_led_start_blink:
+3f94 700b7d15 jam bt_cmd_led_blink ,mem_fifo_temp 
+3f95 20207c33 branch ui_ipc_send_cmd 
+
+app_led_on:
+3f96 700b7d14 jam bt_cmd_led_on ,mem_fifo_temp 
+3f97 20207c33 branch ui_ipc_send_cmd 
+
+app_led_stop_blink:
+
+app_led_off:
+3f98 700b7d13 jam bt_cmd_led_off ,mem_fifo_temp 
+3f99 20207c33 branch ui_ipc_send_cmd 
+
+app_enter_hibernate:
+3f9a 700b7d19 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+3f9b 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_sniff_exit:
+3f9c 700b7d06 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+3f9d 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_enter_sniff:
+3f9e 700b7d05 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+3f9f 20207c33 branch ui_ipc_send_cmd 
+
+app_ble_store_reconn_info:
+3fa0 700b7d1f jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+3fa1 20207c33 branch ui_ipc_send_cmd 
+
+app_bt_store_reconn_info:
+3fa2 700b7d20 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+3fa3 20207c33 branch ui_ipc_send_cmd 
+
+app_lpm_mult_enable:
+3fa4 7920000d set1 mark_lpm_mult_enable ,mark 
+3fa5 20600000 rtn 
+
+app_lpm_mult_disable:
+3fa6 793f800d set0 mark_lpm_mult_enable ,mark 
+3fa7 20600000 rtn 
+
+at_restore_param:
+3fa8 79200025 set1 mark_ext_patch ,mark 
+3fa9 44c84032 bpatch patch32_0 ,mem_patch32 
+3faa d8400020 arg 32 ,temp 
+3fab da204419 arg mem_le_name_len ,rega 
+3fac da4000a0 arg eeprom_module_ble_name_length ,regb 
+3fad 2040681d call iicd_read_eep_data 
+3fae d8400020 arg 32 ,temp 
+3faf da204702 arg mem_local_name_length ,rega 
+3fb0 da40007f arg eeprom_module_bt_name_length ,regb 
+3fb1 2040681d call iicd_read_eep_data 
+3fb2 d8400006 arg 6 ,temp 
+3fb3 da204140 arg mem_lap ,rega 
+3fb4 da400063 arg eeprom_module_bt_adss ,regb 
+3fb5 2040681d call iicd_read_eep_data 
+3fb6 d8400006 arg 6 ,temp 
+3fb7 da2044f9 arg mem_le_lap ,rega 
+3fb8 da400069 arg eeprom_module_le_adss ,regb 
+3fb9 2040681d call iicd_read_eep_data 
+3fba 20405adb call le_modified_name 
+3fbb d8400002 arg 2 ,temp 
+3fbc da2042ac arg mem_baud ,rega 
+3fbd da4000c0 arg eeprom_module_trans_baud ,regb 
+3fbe 2040681d call iicd_read_eep_data 
+3fbf 20406909 call uart_set_baud_by_mem 
+3fc0 20203fc1 branch at_restore_pin_code 
+
+at_restore_pin_code:
+3fc1 d840000e arg 14 ,temp 
+3fc2 da20054f arg mem_pin_length ,rega 
+3fc3 da40006f arg eeprom_module_pincode_length ,regb 
+3fc4 2020681d branch iicd_read_eep_data 
+
+init_module_environment:
+3fc5 79200025 set1 mark_ext_patch ,mark 
+3fc6 44c8c032 bpatch patch32_1 ,mem_patch32 
+3fc7 20403f4d call app_initflag_check 
+3fc8 2022bfa8 branch at_restore_param ,zero 
+
+init_module_eeprom:
+3fc9 20403fd2 call at_store_bt_name 
+3fca 20403fd7 call at_store_le_name 
+3fcb 20405adb call le_modified_name 
+3fcc 20403fdc call at_store_le_adss 
+3fcd 20403fe0 call at_store_bt_adss 
+3fce 204062e9 call pincode_reinit 
+3fcf 20403fe4 call at_store_bt_pincode 
+3fd0 20403fe9 call at_store_throughput_uart_baud115200 
+3fd1 20203f45 branch app_initflag_store 
+
+at_store_bt_name:
+3fd2 6808c702 fetcht 1 ,mem_local_name_length 
+3fd3 18408401 increase 1 ,temp 
+3fd4 da204702 arg mem_local_name_length ,rega 
+3fd5 da40007f arg eeprom_module_bt_name_length ,regb 
+3fd6 2020683e branch iicd_write_eep_data 
+
+at_store_le_name:
+3fd7 6808c419 fetcht 1 ,mem_le_name_len 
+3fd8 18408401 increase 1 ,temp 
+3fd9 da204419 arg mem_le_name_len ,rega 
+3fda da4000a0 arg eeprom_module_ble_name_length ,regb 
+3fdb 2020683e branch iicd_write_eep_data 
+
+at_store_le_adss:
+3fdc d8400006 arg 6 ,temp 
+3fdd da2044f9 arg mem_le_lap ,rega 
+3fde da400069 arg eeprom_module_le_adss ,regb 
+3fdf 2020683e branch iicd_write_eep_data 
+
+at_store_bt_adss:
+3fe0 d8400006 arg 6 ,temp 
+3fe1 da204140 arg mem_lap ,rega 
+3fe2 da400063 arg eeprom_module_bt_adss ,regb 
+3fe3 2020683e branch iicd_write_eep_data 
+
+at_store_bt_pincode:
+3fe4 6808854f fetcht 1 ,mem_pin_length 
+3fe5 18408401 increase 1 ,temp 
+3fe6 da20054f arg mem_pin_length ,rega 
+3fe7 da40006f arg eeprom_module_pincode_length ,regb 
+3fe8 2020683e branch iicd_write_eep_data 
+
+at_store_throughput_uart_baud115200:
+3fe9 580001a0 setarg at_baud_115200 
+3fea 600102a8 store 2 ,mem_timeup 
+
+at_store_throughput_uart_baud:
+3feb d8400002 arg 2 ,temp 
+3fec da2002a8 arg mem_timeup ,rega 
+3fed da4000c0 arg eeprom_module_trans_baud ,regb 
+3fee 2020683e branch iicd_write_eep_data 
+
+at_process:
+3fef 79200025 set1 mark_ext_patch ,mark 
+3ff0 44c94032 bpatch patch32_2 ,mem_patch32 
+3ff1 6801480e fetch 2 ,mem_current_packet_length 
+3ff2 d840012c arg 300 ,temp 
+3ff3 98467c00 isub temp ,null 
+3ff4 2021427f branch at_error_rev_end ,positive 
+3ff5 20403e2b call check_module_disabled 
+3ff6 20407f6b call get_uart_rrptr 
+3ff7 18622200 copy contru ,rega 
+3ff8 6801480e fetch 2 ,mem_current_packet_length 
+3ff9 1fe0fffe increase -2 ,pdata 
+3ffa 98608600 iadd contru ,contru 
+3ffb e8610000 ifetch 2 ,contru 
+3ffc d8400a0d arg at_cmd_end ,temp 
+3ffd 98467c00 isub temp ,null 
+3ffe 24628000 nrtn zero 
+3fff 1a220600 copy rega ,contru 
+4000 da404850 arg mem_prarm_atp ,regb 
+4001 df200003 arg 3 ,loopcnt 
+4002 20404237 call string_compare_uart_follow 
+4003 2420c27f nbranch at_error_rev_end ,true 
+4004 20204005 branch at_dispatch 
+
+at_dispatch:
+4005 79200025 set1 mark_ext_patch ,mark 
+4006 44c9c032 bpatch patch32_3 ,mem_patch32 
+4007 18622200 copy contru ,rega 
+4008 da404827 arg mem_prarm_name ,regb 
+4009 18007204 force 4 ,loopcnt 
+400a 20404237 call string_compare_uart_follow 
+400b 2020c06d branch at_rev_name ,true 
+400c da404824 arg mem_prarm_blename ,regb 
+400d 18007207 force 7 ,loopcnt 
+400e 20404237 call string_compare_uart_follow 
+400f 2020c074 branch at_rev_le_name ,true 
+4010 da40482e arg mem_prarm_adss ,regb 
+4011 18007204 force 4 ,loopcnt 
+4012 20404237 call string_compare_uart_follow 
+4013 2020c07b branch at_rev_adss ,true 
+4014 da40482b arg mem_prarm_bleadss ,regb 
+4015 18007207 force 7 ,loopcnt 
+4016 20404237 call string_compare_uart_follow 
+4017 2020c081 branch at_rev_leadss ,true 
+4018 da404832 arg mem_prarm_vers ,regb 
+4019 18007204 force 4 ,loopcnt 
+401a 20404237 call string_compare_uart_follow 
+401b 2020c087 branch at_rev_vers ,true 
+401c da404820 arg mem_prarm_uart ,regb 
+401d 18007204 force 4 ,loopcnt 
+401e 20404237 call string_compare_uart_follow 
+401f 2020c08c branch at_rev_uart ,true 
+4020 da40481c arg mem_prarm_pswd ,regb 
+4021 18007204 force 4 ,loopcnt 
+4022 20404237 call string_compare_uart_follow 
+4023 2020c08f branch at_rev_pswd ,true 
+4024 da404836 arg mem_prarm_class ,regb 
+4025 18007205 force 5 ,loopcnt 
+4026 20404237 call string_compare_uart_follow 
+4027 2020c095 branch at_rev_class ,true 
+4028 da404853 arg mem_prarm_list ,regb 
+4029 18007204 force 4 ,loopcnt 
+402a 20404237 call string_compare_uart_follow 
+402b 2020c09b branch at_rev_list ,true 
+402c da404857 arg mem_prarm_role ,regb 
+402d 18007204 force 4 ,loopcnt 
+402e 20404237 call string_compare_uart_follow 
+402f 2020c0a1 branch at_rev_role ,true 
+4030 da40485b arg mem_prarm_sniff ,regb 
+4031 18007205 force 5 ,loopcnt 
+4032 20404237 call string_compare_uart_follow 
+4033 2020c0a5 branch at_rev_sniff ,true 
+4034 da404860 arg mem_prarm_ldev ,regb 
+4035 18007204 force 4 ,loopcnt 
+4036 20404237 call string_compare_uart_follow 
+4037 2020c0ab branch at_rev_ldev ,true 
+4038 da404864 arg mem_prarm_rssi ,regb 
+4039 18007204 force 4 ,loopcnt 
+403a 20404237 call string_compare_uart_follow 
+403b 2020c0b0 branch at_rev_rssi ,true 
+403c da404868 arg mem_prarm_cdev ,regb 
+403d 18007204 force 4 ,loopcnt 
+403e 20404237 call string_compare_uart_follow 
+403f 2020c0b7 branch at_rev_cdev ,true 
+4040 da40486f arg mem_prarm_inqr ,regb 
+4041 18007204 force 4 ,loopcnt 
+4042 20404237 call string_compare_uart_follow 
+4043 2020c0d6 branch at_rev_inqr ,true 
+4044 da40486c arg mem_prarm_bleinqr ,regb 
+4045 18007207 force 7 ,loopcnt 
+4046 20404237 call string_compare_uart_follow 
+4047 2020c0dd branch at_rev_leinqr ,true 
+4048 da404873 arg mem_prarm_cmode ,regb 
+4049 18007205 force 5 ,loopcnt 
+404a 20404237 call string_compare_uart_follow 
+404b 2020c0f2 branch at_rev_cmode ,true 
+404c da404878 arg mem_prarm_mode ,regb 
+404d 18007204 force 4 ,loopcnt 
+404e 20404237 call string_compare_uart_follow 
+404f 2020c0f8 branch at_rev_mode ,true 
+4050 da40487c arg mem_prarm_dmstate ,regb 
+4051 18007207 force 7 ,loopcnt 
+4052 20404237 call string_compare_uart_follow 
+4053 2020c0fb branch at_rev_dmstate ,true 
+4054 da404841 arg mem_prarm_reconn ,regb 
+4055 18007206 force 6 ,loopcnt 
+4056 20404237 call string_compare_uart_follow 
+4057 2020c100 branch at_rev_reconn ,true 
+4058 da404883 arg mem_prarm_discov ,regb 
+4059 18007206 force 6 ,loopcnt 
+405a 20404237 call string_compare_uart_follow 
+405b 2020c12c branch at_rev_discov ,true 
+405c da404849 arg mem_prarm_dis ,regb 
+405d 18007203 force 3 ,loopcnt 
+405e 20404237 call string_compare_uart_follow 
+405f 2020c10e branch at_rev_dis ,true 
+4060 da40484c arg mem_prarm_stsn ,regb 
+4061 18007204 force 4 ,loopcnt 
+4062 20404237 call string_compare_uart_follow 
+4063 2020c117 branch at_rev_stsn ,true 
+4064 da40483b arg mem_prarm_clrflg ,regb 
+4065 18007206 force 6 ,loopcnt 
+4066 20404237 call string_compare_uart_follow 
+4067 2020c127 branch at_rev_clrflg ,true 
+4068 da404889 arg mem_prarm_ota ,regb 
+4069 18007203 force 3 ,loopcnt 
+406a 20404237 call string_compare_uart_follow 
+406b 2020c129 branch at_rev_ota ,true 
+406c 2020427f branch at_error_rev_end 
+
+at_rev_name:
+406d e8608000 ifetch 1 ,contru 
+406e c01fc071 beq at_ques ,at_rev_name_inquiry 
+406f c01ec131 beq at_equ ,at_rev_name_set 
+4070 2020427f branch at_error_rev_end 
+
+at_rev_name_inquiry:
+4071 20407f6e call get_uart_twptr 
+4072 20404194 call at_group_name_inquiry 
+4073 20204286 branch at_nomal_rev_end 
+
+at_rev_le_name:
+4074 e8608000 ifetch 1 ,contru 
+4075 c01fc078 beq at_ques ,at_rev_le_name_inquiry 
+4076 c01ec136 beq at_equ ,at_rev_le_name_set 
+4077 2020427f branch at_error_rev_end 
+
+at_rev_le_name_inquiry:
+4078 20407f6e call get_uart_twptr 
+4079 2040419b call at_group_le_name_inquiry 
+407a 20204286 branch at_nomal_rev_end 
+
+at_rev_adss:
+407b e8608000 ifetch 1 ,contru 
+407c c01fc07f beq at_ques ,at_rev_adss_inquiry 
+407d c01ec13c beq at_equ ,at_rev_adss_set 
+407e 2020427f branch at_error_rev_end 
+
+at_rev_adss_inquiry:
+407f 204041a2 call at_group_adss_inquiry 
+4080 20204286 branch at_nomal_rev_end 
+
+at_rev_leadss:
+4081 e8608000 ifetch 1 ,contru 
+4082 c01fc085 beq at_ques ,at_rev_leadss_inquiry 
+4083 c01ec140 beq at_equ ,at_rev_leadss_set 
+4084 2020427f branch at_error_rev_end 
+
+at_rev_leadss_inquiry:
+4085 204041a8 call at_group_leadss_inquiry 
+4086 20204286 branch at_nomal_rev_end 
+
+at_rev_vers:
+4087 e8608000 ifetch 1 ,contru 
+4088 c01fc08a beq at_ques ,at_rev_vers_inquiry 
+4089 2020427f branch at_error_rev_end 
+
+at_rev_vers_inquiry:
+408a 204041ae call at_group_version_inquiry 
+408b 20204286 branch at_nomal_rev_end 
+
+at_rev_uart:
+408c e8608000 ifetch 1 ,contru 
+408d c01ec149 beq at_equ ,at_rev_uart_set 
+408e 2020427f branch at_error_rev_end 
+
+at_rev_pswd:
+408f e8608000 ifetch 1 ,contru 
+4090 c01fc093 beq at_ques ,at_rev_pswd_inquiry 
+4091 c01ec144 beq at_equ ,at_rev_pswd_set 
+4092 2020427f branch at_error_rev_end 
+
+at_rev_pswd_inquiry:
+4093 20404204 call at_group_pswd_inquiry 
+4094 20204286 branch at_nomal_rev_end 
+
+at_rev_class:
+4095 e8608000 ifetch 1 ,contru 
+4096 c01fc099 beq at_ques ,at_rev_class_inquiry 
+4097 c01ec157 beq at_equ ,at_rev_class_set 
+4098 2020427f branch at_error_rev_end 
+
+at_rev_class_inquiry:
+4099 204041b4 call at_group_class_inquiry 
+409a 20204286 branch at_nomal_rev_end 
+
+at_rev_list:
+409b e8608000 ifetch 1 ,contru 
+409c c01fc09f beq at_ques ,at_rev_list_inquiry 
+409d c01ec172 beq at_equ ,at_rev_list_set 
+409e 2020427f branch at_error_rev_end 
+
+at_rev_list_inquiry:
+409f 204041ba call at_group_list_inquiry 
+40a0 20204286 branch at_nomal_rev_end 
+
+at_rev_role:
+40a1 e8608000 ifetch 1 ,contru 
+40a2 c01fc0e1 beq at_ques ,at_rev_role_inquiry 
+40a3 c01ec15a beq at_equ ,at_rev_role_set 
+40a4 2020427f branch at_error_rev_end 
+
+at_rev_sniff:
+40a5 e8608000 ifetch 1 ,contru 
+40a6 c01fc0a9 beq at_ques ,at_rev_sniff_inquiry 
+40a7 c01ec16b beq at_equ ,at_rev_sniff_set 
+40a8 2020427f branch at_error_rev_end 
+
+at_rev_sniff_inquiry:
+40a9 2040420b call at_group_sniff_inquiry 
+40aa 20204286 branch at_nomal_rev_end 
+
+at_rev_ldev:
+40ab e8608000 ifetch 1 ,contru 
+40ac c01fc0ae beq at_ques ,at_rev_ldev_inquiry 
+40ad 2020427f branch at_error_rev_end 
+
+at_rev_ldev_inquiry:
+40ae 204041c0 call at_group_ldev_inquiry 
+40af 20204286 branch at_nomal_rev_end 
+
+at_rev_rssi:
+40b0 e8608000 ifetch 1 ,contru 
+40b1 c01fc0b3 beq at_ques ,at_rev_rssi_inquiry 
+40b2 20204286 branch at_nomal_rev_end 
+
+at_rev_rssi_inquiry:
+40b3 204032ee call context_check_idle 
+40b4 2422c27f nbranch at_error_rev_end ,zero 
+40b5 204041cd call at_group_rssi_inquiry 
+40b6 20204286 branch at_nomal_rev_end 
+
+at_rev_cdev:
+40b7 e8608000 ifetch 1 ,contru 
+40b8 c01fc0ba beq at_ques ,at_rev_cdev_inquiry 
+40b9 2020427f branch at_error_rev_end 
+
+at_rev_cdev_inquiry:
+40ba 6800c040 fetch 1 ,mem_context 
+40bb c300427f bbit0 state_inconn ,at_error_rev_end 
+40bc 20407f6e call get_uart_twptr 
+40bd 6800c041 fetch 1 ,mem_context + coffset_mode 
+40be c28040c0 bbit1 mode_le ,le_cdev_inquiry 
+40bf 202040cb branch at_cdev_unle_inq 
+
+le_cdev_inquiry:
+40c0 da204868 arg mem_prarm_cdev ,rega 
+40c1 df200004 arg 4 ,loopcnt 
+40c2 20404232 call at_group_inquiryhead_common 
+40c3 20404247 call at_rev_uart_write_62 
+40c4 58000034 setarg 0x34 
+40c5 e1408000 istore 1 ,contwu 
+40c6 2040424e call at_rev_uart_write_44 
+40c7 da2003d0 arg mem_le_plap ,rega 
+40c8 20407e9d call adss_hex2string_to_uart 
+40c9 204068fa call uartd_send 
+40ca 20204286 branch at_nomal_rev_end 
+
+at_cdev_unle_inq:
+40cb da204868 arg mem_prarm_cdev ,rega 
+40cc df200004 arg 4 ,loopcnt 
+40cd 20404232 call at_group_inquiryhead_common 
+40ce 20404247 call at_rev_uart_write_62 
+40cf 58000033 setarg 0x33 
+40d0 e1408000 istore 1 ,contwu 
+40d1 2040424e call at_rev_uart_write_44 
+40d2 da200040 arg mem_plap ,rega 
+40d3 20407e9d call adss_hex2string_to_uart 
+40d4 204068fa call uartd_send 
+40d5 20204286 branch at_nomal_rev_end 
+
+at_rev_inqr:
+40d6 79200025 set1 mark_ext_patch ,mark 
+40d7 44ca4032 bpatch patch32_4 ,mem_patch32 
+40d8 20403f3e call app_check_conn_device_nums_addr 
+40d9 6800c29a fetch 1 ,mem_device_nums 
+40da c080427f bne 0 ,at_error_rev_end 
+40db 204041f0 call do_at_inquiry 
+40dc 20204286 branch at_nomal_rev_end 
+
+at_rev_leinqr:
+40dd 79200025 set1 mark_ext_patch ,mark 
+40de 44cac032 bpatch patch32_5 ,mem_patch32 
+40df 204041f6 call do_at_leinquiry 
+40e0 20204286 branch at_nomal_rev_end 
+
+at_rev_role_inquiry:
+40e1 da204857 arg mem_prarm_role ,rega 
+40e2 df200004 arg 4 ,loopcnt 
+40e3 20404232 call at_group_inquiryhead_common 
+40e4 204032ee call context_check_idle 
+40e5 2422c24a nbranch at_rev_uart_write_n ,zero 
+40e6 6800c041 fetch 1 ,mem_context + coffset_mode 
+40e7 c280c0eb bbit1 mode_master ,at_rev_uart_write_m 
+40e8 204040ef call at_rev_uart_write_s 
+40e9 204068fa call uartd_send 
+40ea 20204286 branch at_nomal_rev_end 
+
+at_rev_uart_write_m:
+40eb 5800004d setarg 0x4d 
+40ec e1408000 istore 1 ,contwu 
+40ed 204068fa call uartd_send 
+40ee 20204286 branch at_nomal_rev_end 
+
+at_rev_uart_write_s:
+40ef 58000053 setarg 0x53 
+40f0 e1408000 istore 1 ,contwu 
+40f1 20600000 rtn 
+
+at_rev_cmode:
+40f2 e8608000 ifetch 1 ,contru 
+40f3 c01fc0f6 beq at_ques ,at_rev_cmode_inquiry 
+40f4 c01ec17e beq at_equ ,at_rev_cmode_set 
+40f5 2020427f branch at_error_rev_end 
+
+at_rev_cmode_inquiry:
+40f6 204041d8 call at_group_cmode_inquiry 
+40f7 20204286 branch at_nomal_rev_end 
+
+at_rev_mode:
+40f8 e8608000 ifetch 1 ,contru 
+40f9 c01ec151 beq at_equ ,at_rev_mode_set 
+40fa 2020427f branch at_error_rev_end 
+
+at_rev_dmstate:
+40fb e8608000 ifetch 1 ,contru 
+40fc c01fc0fe beq at_ques ,at_rev_dmstate_inquiry 
+40fd 2020427f branch at_error_rev_end 
+
+at_rev_dmstate_inquiry:
+40fe 204041de call at_group_dmstate_inquiry 
+40ff 20204286 branch at_nomal_rev_end 
+
+at_rev_reconn:
+4100 6800c29f fetch 1 ,mem_app_connection_options 
+4101 60008177 store 1 ,mem_connection_options 
+4102 2040691d call eeprom_load_reconn_info 
+4103 20403f3e call app_check_conn_device_nums_addr 
+4104 6800c29a fetch 1 ,mem_device_nums 
+4105 c080427f bne 0 ,at_error_rev_end 
+4106 6800c2a9 fetch 1 ,mem_xrecord_mode 
+4107 c019c10c beq rec_3_mode ,at_rev_unle_reconn 
+4108 c01a410a beq rec_4_mode ,at_rev_lereconn 
+4109 2020427f branch at_error_rev_end 
+
+at_rev_lereconn:
+410a 20403f82 call app_ble_start_direct_adv 
+410b 20204286 branch at_nomal_rev_end 
+
+at_rev_unle_reconn:
+410c 20403f6e call app_bt_start_reconnect 
+410d 20204286 branch at_nomal_rev_end 
+
+at_rev_dis:
+410e 20403f3e call app_check_conn_device_nums_addr 
+410f 6800c29a fetch 1 ,mem_device_nums 
+4110 c080c27f bne 1 ,at_error_rev_end 
+4111 6800c041 fetch 1 ,mem_context + coffset_mode 
+4112 c2804115 bbit1 mode_le ,at_rev_ledis 
+4113 20403f77 call app_bt_disconnect 
+4114 20204286 branch at_nomal_rev_end 
+
+at_rev_ledis:
+4115 20403f90 call app_ble_disconnect 
+4116 20204286 branch at_nomal_rev_end 
+
+at_rev_stsn:
+4117 e8608000 ifetch 1 ,contru 
+4118 c01ec11a beq at_equ ,at_rev_stsn_set 
+4119 2020427f branch at_error_rev_end 
+
+at_rev_stsn_set:
+411a e8608000 ifetch 1 ,contru 
+411b c018c122 beq 0x31 ,at_exit_sniff 
+411c c018411e beq 0x30 ,at_enter_sniff 
+411d 2020427f branch at_error_rev_end 
+
+at_enter_sniff:
+411e 20403f40 call app_check_sniff 
+411f 2020c286 branch at_nomal_rev_end ,true 
+4120 20403f9e call app_bt_enter_sniff 
+4121 20204286 branch at_nomal_rev_end 
+
+at_exit_sniff:
+4122 20403f40 call app_check_sniff 
+4123 2420c286 nbranch at_nomal_rev_end ,true 
+4124 204063ab call module_exit_sniff 
+4125 20406414 call at_set_cmd_task_flag 
+4126 20204286 branch at_nomal_rev_end 
+
+at_rev_clrflg:
+4127 20403f43 call app_clearflag_store 
+4128 20204286 branch at_nomal_rev_end 
+
+at_rev_ota:
+4129 e8608000 ifetch 1 ,contru 
+412a c01ec187 beq at_equ ,at_rev_ota_process 
+412b 2020427f branch at_error_rev_end 
+
+at_rev_discov:
+412c 20403f3e call app_check_conn_device_nums_addr 
+412d 6800c29a fetch 1 ,mem_device_nums 
+412e c080427f bne 0 ,at_error_rev_end 
+412f 2040638a call module_disconn_start 
+4130 20204286 branch at_nomal_rev_end 
+
+at_rev_name_set:
+4131 da204703 arg mem_local_name ,rega 
+4132 2040422b call at_set_common 
+4133 6008c702 storet 1 ,mem_local_name_length 
+4134 20403fd2 call at_store_bt_name 
+4135 20204286 branch at_nomal_rev_end 
+
+at_rev_le_name_set:
+4136 da20441a arg mem_le_name ,rega 
+4137 2040422b call at_set_common 
+4138 6008c419 storet 1 ,mem_le_name_len 
+4139 20403fd7 call at_store_le_name 
+413a 20405adb call le_modified_name 
+413b 20204286 branch at_nomal_rev_end 
+
+at_rev_adss_set:
+413c d8a04140 arg mem_lap ,contw 
+413d 20407ebf call adss_string2hex_from_uart 
+413e 20403fe0 call at_store_bt_adss 
+413f 20204286 branch at_nomal_rev_end 
+
+at_rev_leadss_set:
+4140 d8a044f9 arg mem_le_lap ,contw 
+4141 20407ebf call adss_string2hex_from_uart 
+4142 20403fdc call at_store_le_adss 
+4143 20204286 branch at_nomal_rev_end 
+
+at_rev_pswd_set:
+4144 da200550 arg mem_pin ,rega 
+4145 2040422b call at_set_common 
+4146 6008854f storet 1 ,mem_pin_length 
+4147 20403fe4 call at_store_bt_pincode 
+4148 20204286 branch at_nomal_rev_end 
+
+at_rev_uart_set:
+4149 20407eb0 call string2dec_from_uart 
+414a 5adc6c00 setarg uart_clk 
+414b 9846fc00 idiv temp 
+414c 20407efd call wait_div_end 
+414d 1807fe00 quotient pdata 
+414e 600102a8 store 2 ,mem_timeup 
+414f 20403feb call at_store_throughput_uart_baud 
+4150 20204286 branch at_nomal_rev_end 
+
+at_rev_mode_set:
+4151 e8608000 ifetch 1 ,contru 
+4152 1fe67c33 sub pdata ,0x33 ,null 
+4153 2421427f nbranch at_error_rev_end ,positive 
+4154 1fe17e03 and pdata ,0x3 ,pdata 
+4155 6000c812 store 1 ,mem_module_state 
+4156 20204286 branch at_nomal_rev_end 
+
+at_rev_class_set:
+4157 e8618000 ifetch 3 ,contru 
+4158 6001c14a store 3 ,mem_class 
+4159 20204286 branch at_nomal_rev_end 
+
+at_rev_role_set:
+415a 204032ee call context_check_idle 
+415b 2422c27f nbranch at_error_rev_end ,zero 
+415c e8608000 ifetch 1 ,contru 
+415d c029c160 beq 0x53 ,at_role_slave 
+415e c026c163 beq 0x4D ,at_role_master 
+415f 2020427f branch at_error_rev_end 
+
+at_role_slave:
+4160 6800c041 fetch 1 ,mem_context + coffset_mode 
+4161 c280c166 bbit1 mode_master ,at_switch_role 
+4162 2020427f branch at_error_rev_end 
+
+at_role_master:
+4163 6800c041 fetch 1 ,mem_context + coffset_mode 
+4164 c300c166 bbit0 mode_master ,at_switch_role 
+4165 2020427f branch at_error_rev_end 
+
+at_switch_role:
+4166 6800c813 fetch 1 ,mem_module_task 
+4167 79207e04 set1 at_task_switch ,pdata 
+4168 6000c813 store 1 ,mem_module_task 
+4169 70427218 jam hci_cmd_role_switch ,mem_hci_cmd 
+416a 2020428c branch at_rev_end 
+
+at_rev_sniff_set:
+416b d8a04280 arg mem_sniff_param_interval ,contw 
+416c 20407ebd call mem2_string2hex_from_uart 
+416d d8a04282 arg mem_sniff_param_attempt ,contw 
+416e 20407ebd call mem2_string2hex_from_uart 
+416f d8a04284 arg mem_sniff_param_timeout ,contw 
+4170 20407ebd call mem2_string2hex_from_uart 
+4171 20204286 branch at_nomal_rev_end 
+
+at_rev_list_set:
+4172 e8608000 ifetch 1 ,contru 
+4173 c018c176 beq 0x31 ,at_rev_list_set_1 
+4174 c019417c beq 0x32 ,at_rev_list_set_2 
+4175 2020427f branch at_error_rev_end 
+
+at_rev_list_set_1:
+4176 e8608000 ifetch 1 ,contru 
+4177 d8a001b4 arg mem_temp_lap ,contw 
+4178 20407ebf call adss_string2hex_from_uart 
+4179 20406931 call eeprom_clear_bd_reconn_info 
+417a 24740000 nrtn user 
+417b 20204286 branch at_nomal_rev_end 
+
+at_rev_list_set_2:
+417c 2040693d call eeprom_clear_all_reconn_info 
+417d 20204286 branch at_nomal_rev_end 
+
+at_rev_cmode_set:
+417e e8608000 ifetch 1 ,contru 
+417f 6808c812 fetcht 1 ,mem_module_state 
+4180 7d3a0402 nsetflag blank ,at_state_cmode ,temp 
+4181 6008c812 storet 1 ,mem_module_state 
+4182 203a4286 branch at_nomal_rev_end ,blank 
+4183 e8608000 ifetch 1 ,contru 
+4184 d8a04814 arg mem_cmode_addr ,contw 
+4185 20407ebf call adss_string2hex_from_uart 
+4186 20204286 branch at_nomal_rev_end 
+
+at_rev_ota_process:
+4187 79200025 set1 mark_ext_patch ,mark 
+4188 44cb4032 bpatch patch32_6 ,mem_patch32 
+4189 df200014 arg 20 ,loopcnt 
+418a d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+418b 2040497c call uart_copy_rx_bytes 
+418c da201000 arg mem_l2cap_rxbuff1 ,rega 
+418d 68009000 fetch 1 ,mem_l2cap_rxbuff1 
+418e 2fe1fe12 compare ota_write_req ,pdata ,0xff 
+418f 2040eb19 call prcp_parse_ota_write_req ,true 
+4190 68009000 fetch 1 ,mem_l2cap_rxbuff1 
+4191 2fe1fe13 compare ota_end_cmd ,pdata ,0xff 
+4192 2040eb45 call prcp_parse_ota_end_cmd ,true 
+4193 20204286 branch at_nomal_rev_end 
+
+at_group_name_inquiry:
+4194 da204827 arg mem_prarm_name ,rega 
+4195 df200004 arg 4 ,loopcnt 
+4196 20404232 call at_group_inquiryhead_common 
+4197 6800c702 fetch 1 ,mem_local_name_length 
+4198 1fe27200 copy pdata ,loopcnt 
+4199 d8c04703 arg mem_local_name ,contr 
+419a 20207f74 branch send_mem_to_uart0 
+
+at_group_le_name_inquiry:
+419b da204824 arg mem_prarm_blename ,rega 
+419c 18007207 force 7 ,loopcnt 
+419d 20404232 call at_group_inquiryhead_common 
+419e 20405b08 call le_get_device_name 
+419f e8c08000 ifetch 1 ,contr 
+41a0 1fe27200 copy pdata ,loopcnt 
+41a1 20207f74 branch send_mem_to_uart0 
+
+at_group_adss_inquiry:
+41a2 da20482e arg mem_prarm_adss ,rega 
+41a3 df200004 arg 4 ,loopcnt 
+41a4 20404232 call at_group_inquiryhead_common 
+41a5 da204140 arg mem_lap ,rega 
+41a6 20407e9d call adss_hex2string_to_uart 
+41a7 202068fa branch uartd_send 
+
+at_group_leadss_inquiry:
+41a8 da20482b arg mem_prarm_bleadss ,rega 
+41a9 df200007 arg 7 ,loopcnt 
+41aa 20404232 call at_group_inquiryhead_common 
+41ab da2044f9 arg mem_le_lap ,rega 
+41ac 20407e9d call adss_hex2string_to_uart 
+41ad 202068fa branch uartd_send 
+
+at_group_version_inquiry:
+41ae da204832 arg mem_prarm_vers ,rega 
+41af df200004 arg 4 ,loopcnt 
+41b0 20404232 call at_group_inquiryhead_common 
+41b1 df200006 arg 6 ,loopcnt 
+41b2 d8c04804 arg mem_module_version ,contr 
+41b3 20207f74 branch send_mem_to_uart0 
+
+at_group_class_inquiry:
+41b4 da204836 arg mem_prarm_class ,rega 
+41b5 df200005 arg 5 ,loopcnt 
+41b6 20404232 call at_group_inquiryhead_common 
+41b7 df200003 arg 3 ,loopcnt 
+41b8 d8c0414a arg mem_class ,contr 
+41b9 20207f74 branch send_mem_to_uart0 
+
+at_group_list_inquiry:
+41ba da204853 arg mem_prarm_list ,rega 
+41bb df200004 arg 4 ,loopcnt 
+41bc 20404232 call at_group_inquiryhead_common 
+41bd 20406988 call eeprom_load_bdaddr_list 
+41be 20404253 call at_group_list_reply 
+41bf 202068fa branch uartd_send 
+
+at_group_ldev_inquiry:
+41c0 20406929 call eeprom_load_reconn_bdaddr 
+41c1 da204860 arg mem_prarm_ldev ,rega 
+41c2 df200004 arg 4 ,loopcnt 
+41c3 20404232 call at_group_inquiryhead_common 
+41c4 680081b3 fetch 1 ,mem_record_bt_mode 
+41c5 c019c1c8 beq rec_3_mode ,at_group_ldev_inquiry0 
+41c6 c01a41c8 beq rec_4_mode ,at_group_ldev_inquiry0 
+41c7 202068fa branch uartd_send 
+
+at_group_ldev_inquiry0:
+41c8 e1408000 istore 1 ,contwu 
+41c9 2040424e call at_rev_uart_write_44 
+41ca da2001b4 arg mem_temp_lap ,rega 
+41cb 20407e9d call adss_hex2string_to_uart 
+41cc 202068fa branch uartd_send 
+
+at_group_rssi_inquiry:
+41cd 79200025 set1 mark_ext_patch ,mark 
+41ce 44cbc032 bpatch patch32_7 ,mem_patch32 
+41cf da204864 arg mem_prarm_rssi ,rega 
+41d0 df200004 arg 4 ,loopcnt 
+41d1 20404232 call at_group_inquiryhead_common 
+41d2 204041d4 call at_rssi_result 
+41d3 202068fa branch uartd_send 
+
+at_rssi_result:
+41d4 da200018 arg mem_rssi ,rega 
+41d5 df200001 arg 1 ,loopcnt 
+41d6 20207e9e branch hex2string_to_uart0 
+
+at_group_cdev_inquiry:
+41d7 20600000 rtn 
+
+at_group_cmode_inquiry:
+41d8 da204873 arg mem_prarm_cmode ,rega 
+41d9 df200005 arg 5 ,loopcnt 
+41da 20404232 call at_group_inquiryhead_common 
+41db da204814 arg mem_cmode_addr ,rega 
+41dc 20407e9d call adss_hex2string_to_uart 
+41dd 202068fa branch uartd_send 
+
+at_group_dmstate_inquiry:
+41de da20487c arg mem_prarm_dmstate ,rega 
+41df df200007 arg 7 ,loopcnt 
+41e0 20404232 call at_group_inquiryhead_common 
+41e1 6800c812 fetch 1 ,mem_module_state 
+41e2 1fe22200 copy pdata ,rega 
+41e3 6800c040 fetch 1 ,mem_context 
+41e4 2feffe00 isolate1 state_inconn ,pdata 
+41e5 7920a203 setflag true ,at_state_isconn ,rega 
+41e6 2feffe01 isolate1 state_insniff ,pdata 
+41e7 7920a205 setflag true ,at_state_sniff ,rega 
+41e8 6800c041 fetch 1 ,mem_context + coffset_mode 
+41e9 2feffe01 isolate1 mode_master ,pdata 
+41ea 7920a204 setflag true ,at_state_role ,rega 
+41eb 2feffe00 isolate1 mode_le ,pdata 
+41ec 7920a206 setflag true ,at_state_le ,rega 
+41ed 1a227e00 copy rega ,pdata 
+41ee e1408000 istore 1 ,contwu 
+41ef 202068fa branch uartd_send 
+
+do_at_inquiry:
+41f0 589e8b33 setarg param_glap 
+41f1 6001c147 store 3 ,mem_glap 
+41f2 6800c2a4 fetch 1 ,mem_at_using_flag 
+41f3 79207e00 set1 at_flag_inq ,pdata 
+41f4 6000c2a4 store 1 ,mem_at_using_flag 
+41f5 20204636 branch do_at_inquiry0 
+
+do_at_leinquiry:
+41f6 20403f3e call app_check_conn_device_nums_addr 
+41f7 6800c29a fetch 1 ,mem_device_nums 
+41f8 c080427f bne 0 ,at_error_rev_end 
+41f9 20403f8a call app_ble_start_scan 
+41fa 6800c2a4 fetch 1 ,mem_at_using_flag 
+41fb 79207e01 set1 at_flag_leinq ,pdata 
+41fc 6000c2a4 store 1 ,mem_at_using_flag 
+41fd 58000200 setarg 0x200 
+41fe 6001481a store 2 ,mem_at_scan_time 
+41ff da20486c arg mem_prarm_bleinqr ,rega 
+4200 df200006 arg 6 ,loopcnt 
+4201 20404232 call at_group_inquiryhead_common 
+4202 20407f74 call send_mem_to_uart0 
+4203 2020428c branch at_rev_end 
+
+at_group_pswd_inquiry:
+4204 da20481c arg mem_prarm_pswd ,rega 
+4205 df200004 arg 4 ,loopcnt 
+4206 20404232 call at_group_inquiryhead_common 
+4207 6800854f fetch 1 ,mem_pin_length 
+4208 1fe27200 copy pdata ,loopcnt 
+4209 d8c00550 arg mem_pin ,contr 
+420a 20207f74 branch send_mem_to_uart0 
+
+at_group_sniff_inquiry:
+420b da20485b arg mem_prarm_sniff ,rega 
+420c df200005 arg 5 ,loopcnt 
+420d 20404232 call at_group_inquiryhead_common 
+420e 20404247 call at_rev_uart_write_62 
+420f 58000054 setarg 84 
+4210 e1408000 istore 1 ,contwu 
+4211 20404244 call at_rev_uart_write_colon 
+4212 da204280 arg mem_sniff_param_interval ,rega 
+4213 20407e9b call mem2_hex2string_to_uart 
+4214 20404247 call at_rev_uart_write_62 
+4215 58000041 setarg 65 
+4216 e1408000 istore 1 ,contwu 
+4217 20404244 call at_rev_uart_write_colon 
+4218 da204282 arg mem_sniff_param_attempt ,rega 
+4219 20407e9b call mem2_hex2string_to_uart 
+421a 20404247 call at_rev_uart_write_62 
+421b 5800004f setarg 79 
+421c e1408000 istore 1 ,contwu 
+421d 20404244 call at_rev_uart_write_colon 
+421e da204284 arg mem_sniff_param_timeout ,rega 
+421f 20407e9b call mem2_hex2string_to_uart 
+4220 20207f74 branch send_mem_to_uart0 
+
+at_inquiry_reply:
+4221 20407f6e call get_uart_twptr 
+4222 20404247 call at_rev_uart_write_62 
+4223 da200182 arg extm_lap ,rega 
+4224 20407e9d call adss_hex2string_to_uart 
+4225 2040424e call at_rev_uart_write_44 
+4226 da20017f arg extm_class ,rega 
+4227 20407e99 call mem3_hex2string_to_uart 
+4228 2040424e call at_rev_uart_write_44 
+4229 204041d4 call at_rssi_result 
+422a 202068fa branch uartd_send 
+
+at_set_common:
+422b 2040422d call at_set_setprarm 
+422c 2020497c branch uart_copy_rx_bytes 
+
+at_set_setprarm:
+422d 20404269 call uart_get_remain_length 
+422e 1fe20400 copy pdata ,temp 
+422f 1fe27200 copy pdata ,loopcnt 
+4230 1a220a00 copy rega ,contw 
+4231 20600000 rtn 
+
+at_group_inquiryhead_common:
+4232 20407f6e call get_uart_twptr 
+4233 20404241 call at_rev_uart_write_plus 
+
+at_group_inquiryhead_common0:
+4234 1a220c00 copy rega ,contr 
+4235 20404976 call uart_copy_tx_bytes 
+4236 20204244 branch at_rev_uart_write_colon 
+
+string_compare_uart_follow:
+4237 e8608000 ifetch 1 ,contru 
+4238 ea488000 ifetcht 1 ,regb 
+4239 98467c00 isub temp ,null 
+423a 7840fc00 disable true 
+423b 2422c240 nbranch string_compare_uart_follow_diff ,zero 
+423c 1a40a401 increase 1 ,regb 
+423d c2004237 loop string_compare_uart_follow 
+423e 7820fc00 enable true 
+423f 20600000 rtn 
+
+string_compare_uart_follow_diff:
+4240 20204251 branch restore_contru 
+
+at_rev_uart_write_plus:
+4241 5800002b setarg ui_plus 
+4242 e1408000 istore 1 ,contwu 
+4243 20600000 rtn 
+
+at_rev_uart_write_colon:
+4244 5800003a setarg ui_colon 
+4245 e1408000 istore 1 ,contwu 
+4246 20600000 rtn 
+
+at_rev_uart_write_62:
+4247 5800003e setarg 62 
+4248 e1408000 istore 1 ,contwu 
+4249 20600000 rtn 
+
+at_rev_uart_write_n:
+424a 5800004e setarg 78 
+424b e1408000 istore 1 ,contwu 
+424c 204068fa call uartd_send 
+424d 20204286 branch at_nomal_rev_end 
+
+at_rev_uart_write_44:
+424e 5800002c setarg at_comma 
+424f e1408000 istore 1 ,contwu 
+4250 20600000 rtn 
+
+restore_contru:
+4251 1a220600 copy rega ,contru 
+4252 20600000 rtn 
+
+at_group_list_reply:
+4253 da600195 arg mem_bdaddr_list_buff + 7 ,regc 
+4254 df200004 arg 4 ,loopcnt 
+
+at_group_list_reply_loop:
+4255 1f227e00 copy loopcnt ,pdata 
+4256 60008161 store 1 ,mem_pdatatemp 
+4257 ea608000 ifetch 1 ,regc 
+4258 c019c25b beq rec_3_mode ,at_group_list_isrecord 
+4259 c01a425b beq rec_4_mode ,at_group_list_isrecord 
+425a 20204267 branch at_group_list_notrecord 
+
+at_group_list_isrecord:
+425b 20404247 call at_rev_uart_write_62 
+425c ea608000 ifetch 1 ,regc 
+425d e1408000 istore 1 ,contwu 
+425e 1a60a601 increase 1 ,regc 
+425f 2040424e call at_rev_uart_write_44 
+4260 1a622200 copy regc ,rega 
+4261 20407e9d call adss_hex2string_to_uart 
+
+at_group_list_notrecord0:
+4262 1a60a606 increase 6 ,regc 
+4263 68008161 fetch 1 ,mem_pdatatemp 
+4264 1fe27200 copy pdata ,loopcnt 
+4265 c2004255 loop at_group_list_reply_loop 
+4266 20600000 rtn 
+
+at_group_list_notrecord:
+4267 1a60a601 increase 1 ,regc 
+4268 20204262 branch at_group_list_notrecord0 
+
+uart_get_remain_length:
+4269 79200025 set1 mark_ext_patch ,mark 
+426a 44cc4033 bpatch patch33_0 ,mem_patch33 
+426b 68110058 hfetch 2 ,core_uart_rrptr 
+426c 98667e00 isub contru ,pdata 
+426d 20628000 rtn zero 
+426e 20214273 branch uart_get_remain_length0 ,positive 
+
+uart_get_remain_length_common:
+426f 6809480e fetcht 2 ,mem_current_packet_length 
+4270 9840fe00 iadd temp ,pdata 
+4271 1fe0fffe increase -2 ,pdata 
+4272 20600000 rtn 
+
+uart_get_remain_length0:
+4273 20404278 call uart_get_rx_buff_length 
+4274 98608400 iadd contru ,temp 
+4275 68110058 hfetch 2 ,core_uart_rrptr 
+4276 98467e00 isub temp ,pdata 
+4277 2020426f branch uart_get_remain_length_common 
+
+uart_get_rx_buff_length:
+4278 dfe04fff arg mem_module_rx_buf_end ,pdata 
+4279 1fe0fe01 increase 1 ,pdata 
+427a d8404a00 arg mem_module_rx_buf ,temp 
+427b 98467e00 isub temp ,pdata 
+427c 20600000 rtn 
+
+release_packet:
+427d 6809480e fetcht 2 ,mem_current_packet_length 
+427e 20206903 branch uartd_rxdone_by_len 
+
+at_error_rev_end:
+427f 79200025 set1 mark_ext_patch ,mark 
+4280 44ccc033 bpatch patch33_1 ,mem_patch33 
+4281 20407f6e call get_uart_twptr 
+4282 58525245 setarg 0x525245 
+4283 e1418000 istore 3 ,contwu 
+4284 204068fa call uartd_send 
+4285 2020428c branch at_rev_end 
+
+at_nomal_rev_end:
+4286 79200025 set1 mark_ext_patch ,mark 
+4287 44cd4033 bpatch patch33_2 ,mem_patch33 
+4288 20407f6e call get_uart_twptr 
+4289 58004b4f setarg 0x4b4f 
+428a e1410000 istore 2 ,contwu 
+428b 204068fa call uartd_send 
+
+spp_send_end:
+
+at_rev_end:
+428c 79200025 set1 mark_ext_patch ,mark 
+428d 44cdc033 bpatch patch33_3 ,mem_patch33 
+428e 2040427d call release_packet 
+
+spp_ipc_end:
+428f 58000000 setarg 0 
+4290 6001480e store 2 ,mem_current_packet_length 
+4291 6002480a store 4 ,mem_last_uart_clock 
+4292 20600000 rtn 
+
+le_dongle_init:
+4293 20407db2 call usb_init 
+4294 20403f94 call app_led_start_blink 
+4295 5800429f setarg le_dongle 
+4296 6001428c store 2 ,mem_cb_le_process 
+4297 580042be setarg dongle_process_bb_event 
+4298 60014292 store 2 ,mem_cb_bb_event_process 
+4299 58007cdb setarg usb_isr 
+429a 60014290 store 2 ,mem_cb_idle_process 
+429b 70025a05 jam 5 ,mem_dongle_count 
+429c 70026e00 jam 0 ,mem_dongle_peers 
+429d 7042721b jam hci_cmd_le_create_conn ,mem_hci_cmd 
+429e 20600000 rtn 
+
+le_dongle:
+429f 7840fc00 disable true 
+42a0 20403f3e call app_check_conn_device_nums_addr 
+42a1 70041c1b jam 0x1b ,mem_cmd_le_create_conn 
+42a2 6800c29a fetch 1 ,mem_device_nums 
+42a3 2fe00602 compare 2 ,pdata ,0x3 
+42a4 24608000 nrtn true 
+42a5 7043d200 jam 0 ,mem_le_scan_enable 
+42a6 20600000 rtn 
+
+le_scan_dongle:
+42a7 68008340 fetch 1 ,mem_le_rxbuf 
+42a8 c30042b0 bbit0 0 ,dongle_add_peer 
+42a9 68030342 fetch 6 ,mem_le_rxbuf + 2 
+42aa 680b03d0 fetcht 6 ,mem_le_plap 
+42ab 98467c00 isub temp ,null 
+42ac 24628000 nrtn zero 
+
+dongle_peer_paired:
+42ad 680303d0 fetch 6 ,mem_le_plap 
+42ae 600344e7 store 6 ,mem_le_conn_peer_addr 
+42af 20600000 rtn 
+
+dongle_add_peer:
+42b0 da2000ff arg 0xff ,rega 
+42b1 20405b52 call le_search_adtype 
+42b2 24628000 nrtn zero 
+42b3 e8c10000 ifetch 2 ,contr 
+42b4 68090270 fetcht 2 ,mem_dongle_signature 
+42b5 98467c00 isub temp ,null 
+42b6 24628000 nrtn zero 
+42b7 6800826e fetch 1 ,mem_dongle_peers 
+42b8 1fe0fe01 increase 1 ,pdata 
+42b9 6000826e store 1 ,mem_dongle_peers 
+42ba 6808826f fetcht 1 ,mem_dongle_pairing_cnt 
+42bb 98467c00 isub temp ,null 
+42bc 202142ad branch dongle_peer_paired ,positive 
+42bd 20600000 rtn 
+
+dongle_process_bb_event:
+42be 1a627e00 copy regc ,pdata 
+42bf c00ac2c5 beq bt_evt_le_disconnected ,dongle_le_event_bb_disconnected 
+42c0 c00a42d7 beq bt_evt_le_connected ,dongle_bb_event_connected 
+42c1 1fe1040f and pdata ,0x0f ,temp 
+42c2 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+42c3 c02842cd beq bt_evt_timer_init ,dongle_bb_event_100ms 
+42c4 20600000 rtn 
+
+dongle_le_event_bb_disconnected:
+42c5 58000000 setarg 0 
+42c6 600344e7 store 6 ,mem_le_conn_peer_addr 
+42c7 70026e00 jam 0 ,mem_dongle_peers 
+42c8 58000000 setarg 0 
+42c9 60028ff1 store 5 ,mem_mouse_data 
+42ca 700ff001 jam send_mouse_data_cmd ,mem_mcmd 
+42cb 20407cdb call usb_isr 
+42cc 20203f8a branch app_ble_start_scan 
+
+dongle_bb_event_100ms:
+42cd 20600000 rtn 
+42ce 6800c3d2 fetch 1 ,mem_le_scan_enable 
+42cf 207a0000 rtn blank 
+42d0 6800825a fetch 1 ,mem_dongle_count 
+42d1 207a0000 rtn blank 
+42d2 1fe0ffff increase -1 ,pdata 
+42d3 6000825a store 1 ,mem_dongle_count 
+42d4 247a0000 nrtn blank 
+42d5 204042d8 call le_change_peer_addr 
+42d6 20203f8e branch app_ble_start_conn 
+
+dongle_bb_event_connected:
+42d7 20203f8c branch app_ble_stop_scan 
+
+le_change_peer_addr:
+42d8 70025a05 jam 5 ,mem_dongle_count 
+42d9 68008267 fetch 1 ,mem_le_peer_state 
+42da c000c2e1 beq le_context_state_kb ,addr_slave2 
+42db c00142dd beq le_context_state_mouse ,addr_slave1 
+42dc 20600000 rtn 
+
+addr_slave1:
+42dd 6803025b fetch 6 ,mem_le_addr_slave1 
+42de 60030268 store 6 ,mem_app_peer_addr 
+42df 70026701 jam le_context_state_kb ,mem_le_peer_state 
+42e0 20600000 rtn 
+
+addr_slave2:
+42e1 68030261 fetch 6 ,mem_le_addr_slave2 
+42e2 60030268 store 6 ,mem_app_peer_addr 
+42e3 70026702 jam le_context_state_mouse ,mem_le_peer_state 
+42e4 20600000 rtn 
+
+hci_rx_bcsp:
+42e5 e8610000 ifetch 2 ,contru 
+42e6 203a4490 branch hci_reset_uart ,blank 
+42e7 98002600 iforce regc 
+42e8 e8608000 ifetch 1 ,contru 
+42e9 60008293 store 1 ,mem_h5rx_tmp 
+42ea 98002200 iforce rega 
+42eb c30342ed bbit0 6 ,hci_rx_bcsp_nocrc 
+42ec 1a60a7fe increase -2 ,regc 
+
+hci_rx_bcsp_nocrc:
+42ed e8610000 ifetch 2 ,contru 
+42ee 1ff1f200 rshift4 pdata ,loopcnt 
+42ef 1fe1100f and pdata ,0xf ,debug 
+42f0 9a20a200 iadd rega ,rega 
+42f1 1fecfe00 rshift8 pdata ,pdata 
+42f2 9a20a200 iadd rega ,rega 
+42f3 e8608000 ifetch 1 ,contru 
+42f4 9a20fe00 iadd rega ,pdata 
+42f5 c0ffc319 bne 0xff ,hci_rx_bcsp_discard_packet 
+42f6 1a60fffc add regc ,-4 ,pdata 
+42f7 9f267c00 isub loopcnt ,null 
+42f8 2422c316 nbranch hci_rx_bcsp_discard_packet_err ,zero 
+42f9 68008293 fetch 1 ,mem_h5rx_tmp 
+42fa 2fec0007 isolate0 7 ,pdata 
+42fb 2020c302 branch hci_rx_bcsp_check_ack_skip ,true 
+42fc 793f801b set0 mark_h5_reset ,mark 
+42fd c50dc302 bmark1 mark_h5_reset ,hci_rx_bcsp_check_ack_skip 
+42fe 1fe17e07 and_into 7 ,pdata 
+42ff 6808828c fetcht 1 ,mem_h5tx_ack 
+4300 98467c00 isub temp ,null 
+4301 2422c316 nbranch hci_rx_bcsp_discard_packet_err ,zero 
+
+hci_rx_bcsp_check_ack_skip:
+4302 58000640 setarg 1600 
+4303 18000e07 force lpo_delay_timer ,queue 
+4304 20407e4c call timer_init 
+4305 19027e00 deposit debug 
+4306 20404320 call hci_bcsp_parse_packet 
+4307 20740000 rtn user 
+4308 68008293 fetch 1 ,mem_h5rx_tmp 
+4309 98002200 iforce rega 
+430a 1fe90400 rshift3 pdata ,temp 
+430b 18410407 and_into 7 ,temp 
+430c 6800828b fetch 1 ,mem_h5rx_ack 
+430d 98467e00 isub temp ,pdata 
+430e 1fe67e00 sub pdata ,0 ,pdata 
+430f 1fe17e07 and_into 7 ,pdata 
+4310 c080c316 bne 1 ,hci_rx_bcsp_discard_packet_err 
+4311 6008828b storet 1 ,mem_h5rx_ack 
+4312 68008272 fetch 1 ,mem_h5rx_ackcnt 
+4313 1fe0fe01 increase 1 ,pdata 
+4314 60008272 store 1 ,mem_h5rx_ackcnt 
+4315 20204319 branch hci_rx_bcsp_discard_packet 
+
+hci_rx_bcsp_discard_packet_err:
+4316 68008273 fetch 1 ,mem_check_err_acl_cont 
+4317 1fe0fe01 increase 1 ,pdata 
+4318 60008273 store 1 ,mem_check_err_acl_cont 
+
+hci_rx_bcsp_discard_packet:
+4319 68110058 hfetch 2 ,core_uart_rrptr 
+431a 98000600 iforce contru 
+431b e8610000 ifetch 2 ,contru 
+431c 98608600 iadd contru ,contru 
+431d 18627e00 deposit contru 
+431e 60110058 hstore 2 ,core_uart_rrptr 
+431f 20600000 rtn 
+
+hci_bcsp_parse_packet:
+4320 78547c00 disable user 
+4321 207a0000 rtn blank 
+4322 c000c328 beq 1 ,parse_bcsp_link_establish 
+4323 c0014346 beq 2 ,parse_bcsp_bccmd 
+4324 c002c507 beq 5 ,process_hci_cmd 
+4325 c00344dd beq 6 ,process_acl 
+4326 c0044a56 beq 8 ,process_hci_patch 
+4327 20600000 rtn 
+
+parse_bcsp_link_establish:
+4328 793f8018 set0 mark_h5_reinit ,mark 
+4329 e8608000 ifetch 1 ,contru 
+432a c06d432f beq 0xda ,parse_bcsp_link_establish_sync 
+432b c0564336 beq 0xac ,parse_bcsp_link_establish_syncrsp 
+432c c056c33a beq 0xad ,parse_bcsp_link_establish_conf 
+432d c06f4344 beq 0xde ,parse_bcsp_link_establish_confrsp 
+432e 20600000 rtn 
+
+parse_bcsp_link_establish_sync:
+432f c50bc333 bmark1 mark_h5_sync ,parse_bcsp_link_establish_send_syncrsp 
+4330 180004da force 0xda ,temp 
+4331 58ededdc setarg 0xededdc 
+4332 2040433c call parse_bcsp_link_establish_send 
+
+parse_bcsp_link_establish_send_syncrsp:
+4333 180004ac force 0xac ,temp 
+4334 58eeefaf setarg 0xeeefaf 
+4335 2020433c branch parse_bcsp_link_establish_send 
+
+parse_bcsp_link_establish_syncrsp:
+4336 79200017 set1 mark_h5_sync ,mark 
+4337 180004ad force 0xad ,temp 
+4338 58edacef setarg 0xedacef 
+4339 2020433c branch parse_bcsp_link_establish_send 
+
+parse_bcsp_link_establish_conf:
+433a 180004de force 0xde ,temp 
+433b 58d0d0ad setarg 0xd0d0ad 
+
+parse_bcsp_link_establish_send:
+433c 1fed7e00 lshift8 pdata ,pdata 
+433d 98418400 ior temp ,temp 
+433e 20404972 call hci_get_packet_ptr 
+433f e14a0000 istoret 4 ,contwu 
+4340 18000e01 force 1 ,queue 
+4341 18007204 force 4 ,loopcnt 
+4342 793f8013 set0 mark_h5tx_rp ,mark 
+4343 20204378 branch bcsp_send_packet 
+
+parse_bcsp_link_establish_confrsp:
+4344 18006000 force 0 ,alarm 
+4345 20204933 branch hci_command_status 
+
+parse_bcsp_bccmd:
+4346 1f226000 copy loopcnt ,alarm 
+4347 20404371 call bcsp_send_ack 
+4348 18002400 force 0 ,regb 
+4349 20404972 call hci_get_packet_ptr 
+434a 1e027200 copy alarm ,loopcnt 
+434b e8608000 ifetch 1 ,contru 
+434c 58000001 setarg 1 
+434d e1408000 istore 1 ,contwu 
+434e 793f801a set0 mark_temp ,mark 
+
+parse_bcsp_bccmd_loop:
+434f e8608000 ifetch 1 ,contru 
+4350 1a40a401 increase 1 ,regb 
+4351 c00e435b beq 0x1c ,parse_bcsp_bccmd_sco_link 
+4352 2a41fe04 compare 4 ,regb ,0xff 
+4353 2420c35d nbranch parse_bcsp_bccmd_next ,true 
+4354 793a001a setflag blank ,mark_temp ,mark 
+4355 c09d435d bne 0x3a ,parse_bcsp_bccmd_next 
+4356 580007d0 setarg 2000 
+4357 18000e00 force h5_reinit_timer ,queue 
+4358 20407e4c call timer_init 
+4359 79200018 set1 mark_h5_reinit ,mark 
+435a 20600000 rtn 
+
+parse_bcsp_bccmd_sco_link:
+435b 2a41fe06 compare 6 ,regb ,0xff 
+435c 2020c366 branch parse_bcsp_bccmd_next_ok ,true 
+
+parse_bcsp_bccmd_next:
+435d 280ffe1a isolate1 mark_temp ,mark 
+435e 2040c368 call parse_bcsp_bccmd_replace ,true 
+435f e1408000 istore 1 ,contwu 
+4360 c200434f loop parse_bcsp_bccmd_loop 
+4361 793f8019 set0 mark_bccmd_patch ,mark 
+4362 1e027200 copy alarm ,loopcnt 
+4363 79200013 set1 mark_h5tx_rp ,mark 
+4364 18000e02 force 2 ,queue 
+4365 20204378 branch bcsp_send_packet 
+
+parse_bcsp_bccmd_next_ok:
+4366 79200019 set1 mark_bccmd_patch ,mark 
+4367 2020435d branch parse_bcsp_bccmd_next 
+
+parse_bcsp_bccmd_replace:
+4368 c60c8000 rtnmark1 mark_bccmd_patch 
+4369 2a41fe0a compare 10 ,regb ,0xff 
+436a 2020c36f branch parse_bcsp_bccmd_replace1 ,true 
+436b 2a41fe0b compare 11 ,regb ,0xff 
+436c 24608000 nrtn true 
+436d 58000012 setarg 0x12 
+436e 20600000 rtn 
+
+parse_bcsp_bccmd_replace1:
+436f 580000e9 setarg 0xe9 
+4370 20600000 rtn 
+
+bcsp_send_ack:
+4371 68008293 fetch 1 ,mem_h5rx_tmp 
+4372 1fe0fe01 increase 1 ,pdata 
+4373 1fe17e07 and_into 7 ,pdata 
+4374 6000828c store 1 ,mem_h5tx_ack 
+4375 18007200 force 0 ,loopcnt 
+4376 18000e00 force 0 ,queue 
+4377 793f8013 set0 mark_h5tx_rp ,mark 
+
+bcsp_send_packet:
+4378 1f20a404 add loopcnt ,4 ,regb 
+4379 6800828c fetch 1 ,mem_h5tx_ack 
+437a 1fe9a600 lshift3 pdata ,regc 
+437b 280c0014 isolate0 mark_h5tx_crc ,mark 
+437c 7d20a606 nsetflag true ,6 ,regc 
+437d 2020c37f branch bcsp_send_packet_nocrc ,true 
+437e 1a40a402 increase 2 ,regb 
+
+bcsp_send_packet_nocrc:
+437f c589c389 bmark0 mark_h5tx_rp ,bcsp_send_packet_form_nonrp 
+4380 79202607 set1 7 ,regc 
+4381 68008294 fetch 1 ,mem_h5tx_seq 
+4382 9a61a600 ior regc ,regc 
+4383 1fe0fe01 increase 1 ,pdata 
+4384 1fe17e07 and_into 7 ,pdata 
+4385 60008294 store 1 ,mem_h5tx_seq 
+4386 68008274 fetch 1 ,mem_rp_packets 
+4387 1fe0fe01 increase 1 ,pdata 
+4388 60008274 store 1 ,mem_rp_packets 
+
+bcsp_send_packet_form_nonrp:
+4389 6801028f fetch 2 ,mem_h5tx_wptr 
+438a 98001400 iforce contwu 
+438b 1a427e00 deposit regb 
+438c 280ffe13 isolate1 mark_h5tx_rp ,mark 
+438d 7920fe0f setflag true ,hci_flag_rp ,pdata 
+438e e1410000 istore 2 ,contwu 
+438f 19422200 copy contwu ,rega 
+4390 1a627e00 deposit regc 
+4391 e1408000 istore 1 ,contwu 
+4392 1f327e00 lshift4 loopcnt ,pdata 
+4393 98e1fe00 ior queue ,pdata 
+4394 9a60a600 iadd regc ,regc 
+4395 e1410000 istore 2 ,contwu 
+4396 1fecfe00 rshift8 pdata ,pdata 
+4397 9a60fe00 iadd regc ,pdata 
+4398 1fe67eff sub pdata ,0xff ,pdata 
+4399 e1408000 istore 1 ,contwu 
+439a c58a439f bmark0 mark_h5tx_crc ,bcsp_send_packet_form_nocrc 
+439b 1f20f204 increase 4 ,loopcnt 
+439c 1a221400 copy rega ,contwu 
+439d 20404986 call calc_tx_crc16 
+439e e1410000 istore 2 ,contwu 
+
+bcsp_send_packet_form_nocrc:
+439f 6801028f fetch 2 ,mem_h5tx_wptr 
+43a0 9a409400 iadd regb ,contwu 
+43a1 19409402 increase 2 ,contwu 
+43a2 19427e00 deposit contwu 
+43a3 6001028f store 2 ,mem_h5tx_wptr 
+43a4 6011005e hstore 2 ,core_uart_twptr 
+43a5 6809028d fetcht 2 ,mem_h5tx_rptr 
+43a6 204043d8 call bcsp_update_free 
+43a7 204043ab call bcsp_init_retransmit 
+43a8 58000640 setarg 1600 
+43a9 18000e07 force lpo_delay_timer ,queue 
+43aa 20207e4c branch timer_init 
+
+bcsp_init_retransmit:
+43ab 58000190 setarg 400 
+43ac 18000e01 force hci_retransmit_timer ,queue 
+43ad 20407e4c call timer_init 
+43ae 79200015 set1 mark_h5tx_retransmit ,mark 
+43af 20600000 rtn 
+
+bcsp_retransmit:
+43b0 c68a8000 rtnmark0 mark_h5tx_retransmit 
+43b1 18000e01 force hci_retransmit_timer ,queue 
+43b2 20407e53 call timer_check 
+43b3 247a0000 nrtn blank 
+43b4 6801028d fetch 2 ,mem_h5tx_rptr 
+43b5 60110060 hstore 2 ,core_uart_trptrp 
+43b6 202043ab branch bcsp_init_retransmit 
+
+bcsp_freepacket:
+43b7 6801028f fetch 2 ,mem_h5tx_wptr 
+43b8 6809028d fetcht 2 ,mem_h5tx_rptr 
+43b9 98467c00 isub temp ,null 
+43ba 2022c3d6 branch bcsp_noretransmit ,zero 
+43bb 18421400 copy temp ,contwu 
+43bc e9410000 ifetch 2 ,contwu 
+43bd 98002200 iforce rega 
+43be 9ea17e00 iand mask3ff ,pdata 
+43bf 99409400 iadd contwu ,contwu 
+43c0 68110110 hfetch 2 ,core_uart_trptr 
+43c1 99467e00 isub contwu ,pdata 
+43c2 9ea12400 iand mask3ff ,regb 
+43c3 6801028f fetch 2 ,mem_h5tx_wptr 
+43c4 99467e00 isub contwu ,pdata 
+43c5 9ea17e00 iand mask3ff ,pdata 
+43c6 9a467e00 isub regb ,pdata 
+43c7 24610000 nrtn positive 
+43c8 2a2c000f isolate0 hci_flag_rp ,rega 
+43c9 2020c3d1 branch bcsp_discardnrp ,true 
+43ca 68008272 fetch 1 ,mem_h5rx_ackcnt 
+43cb 207a0000 rtn blank 
+43cc 1fe0ffff increase -1 ,pdata 
+43cd 60008272 store 1 ,mem_h5rx_ackcnt 
+43ce 68008274 fetch 1 ,mem_rp_packets 
+43cf 1fe0ffff increase -1 ,pdata 
+43d0 60008274 store 1 ,mem_rp_packets 
+
+bcsp_discardnrp:
+43d1 19420400 copy contwu ,temp 
+43d2 6009028d storet 2 ,mem_h5tx_rptr 
+43d3 6801028f fetch 2 ,mem_h5tx_wptr 
+43d4 204043d8 call bcsp_update_free 
+43d5 202043b7 branch bcsp_freepacket 
+
+bcsp_noretransmit:
+43d6 793f8015 set0 mark_h5tx_retransmit ,mark 
+43d7 20600000 rtn 
+
+bcsp_update_free:
+43d8 98467e00 isub temp ,pdata 
+43d9 9ea17e00 iand mask3ff ,pdata 
+43da 9ea67e00 isub mask3ff ,pdata 
+43db 1fe67e00 sub pdata ,0 ,pdata 
+43dc 60010291 store 2 ,mem_h5tx_free 
+43dd 20600000 rtn 
+
+bcsp_get_tx_ptr:
+43de 6801028f fetch 2 ,mem_h5tx_wptr 
+43df 99409400 iadd contwu ,contwu 
+43e0 20600000 rtn 
+
+hci_log:
+43e1 20600000 rtn 
+
+hci_rx_h4:
+43e2 79200025 set1 mark_ext_patch ,mark 
+43e3 44f6403d bpatch patch3d_4 ,mem_patch3d 
+43e4 6800c272 fetch 1 ,mem_hci_cmd 
+43e5 247a0000 nrtn blank 
+
+hci_rx_h4_1:
+43e6 204043e9 call hci_h4_parse_packet 
+43e7 2454440e ncall h4_rx_discard_packet ,user 
+43e8 20600000 rtn 
+
+hci_h4_parse_packet:
+43e9 79200025 set1 mark_ext_patch ,mark 
+43ea 44f6c03d bpatch patch3d_5 ,mem_patch3d 
+43eb 18622200 copy contru ,rega 
+43ec d8400004 arg 4 ,temp 
+43ed e8608000 ifetch 1 ,contru 
+43ee c000c3f4 beq hci_h4_type_cmd ,hci_h4_parse_packet_wait_len 
+43ef 18408401 increase 1 ,temp 
+43f0 c00143f4 beq hci_h4_type_acl ,hci_h4_parse_packet_wait_len 
+43f1 18627e00 copy contru ,pdata 
+43f2 60110058 hstore 2 ,core_uart_rrptr 
+43f3 20600000 rtn 
+
+hci_h4_parse_packet_wait_len:
+43f4 68110112 hfetch 2 ,core_uart_rxitems 
+43f5 98467c00 isub temp ,null 
+43f6 242143f4 nbranch hci_h4_parse_packet_wait_len ,positive 
+43f7 78547c00 disable user 
+43f8 1a220600 copy rega ,contru 
+43f9 20404417 call h4_get_rx_payload_len 
+43fa 98408400 iadd temp ,temp 
+
+hci_h4_parse_packet_wait:
+43fb 68110112 hfetch 2 ,core_uart_rxitems 
+43fc 98467c00 isub temp ,null 
+43fd 242143fb nbranch hci_h4_parse_packet_wait ,positive 
+43fe 1a220600 copy rega ,contru 
+43ff e8608000 ifetch 1 ,contru 
+4400 c000c507 beq hci_h4_type_cmd ,process_hci_cmd 
+4401 c0014403 beq hci_h4_type_acl ,hci_h4_parse_packet_acl 
+4402 20203bf1 branch assert 
+
+hci_h4_parse_packet_acl:
+4403 79200025 set1 mark_ext_patch ,mark 
+4404 44f7403d bpatch patch3d_6 ,mem_patch3d 
+4405 18622200 copy contru ,rega 
+4406 e8610000 ifetch 2 ,contru 
+4407 1a220600 copy rega ,contru 
+4408 68088046 fetcht 1 ,mem_conn_handle 
+4409 a841fe00 icompare 0xff ,temp 
+440a 2020c4dd branch process_acl ,true 
+440b 203b58ea branch le_acl_downgoing ,le 
+440c 78347c00 enable user 
+440d 20600000 rtn 
+
+h4_rx_discard_packet:
+440e 79200025 set1 mark_ext_patch ,mark 
+440f 44f7c03d bpatch patch3d_7 ,mem_patch3d 
+4410 68110058 hfetch 2 ,core_uart_rrptr 
+4411 98000600 iforce contru 
+4412 20404417 call h4_get_rx_payload_len 
+4413 98608600 iadd contru ,contru 
+4414 18627e00 deposit contru 
+4415 60110058 hstore 2 ,core_uart_rrptr 
+4416 20600000 rtn 
+
+h4_get_rx_payload_len:
+4417 e8608000 ifetch 1 ,contru 
+4418 18608602 increase 2 ,contru 
+4419 c001441c beq hci_h4_type_acl ,h4_get_rx_payload_len_acl 
+441a e8608000 ifetch 1 ,contru 
+441b 20600000 rtn 
+
+h4_get_rx_payload_len_acl:
+441c e8610000 ifetch 2 ,contru 
+441d 20600000 rtn 
+
+h4_get_tx_ptr:
+441e 6811005e hfetch 2 ,core_uart_twptr 
+441f 194095fb increase -5 ,contwu 
+4420 99409400 iadd contwu ,contwu 
+4421 20600000 rtn 
+
+h4_send_packet_event:
+4422 d8400004 arg hci_h4_type_event ,temp 
+4423 20204425 branch h4_send_packet 
+
+h4_send_packet_acl:
+4424 d8400002 arg hci_h4_type_acl ,temp 
+
+h4_send_packet:
+4425 79200025 set1 mark_ext_patch ,mark 
+4426 44f8403e bpatch patch3e_0 ,mem_patch3e 
+4427 1f20f201 increase 1 ,loopcnt 
+4428 6811005e hfetch 2 ,core_uart_twptr 
+4429 1fe21400 copy pdata ,contwu 
+442a 1f227e00 copy loopcnt ,pdata 
+442b e1488000 istoret 1 ,contwu 
+442c 1fe0ffff increase -1 ,pdata 
+442d 99409400 iadd contwu ,contwu 
+442e 19427e00 copy contwu ,pdata 
+442f 6001029d store 2 ,mem_hci_acl_tx_trigger_wptr 
+4430 18427e00 copy temp ,pdata 
+4431 c1010000 rtneq hci_h4_type_acl 
+4432 6801029d fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+4433 6011005e hstore 2 ,core_uart_twptr 
+4434 2020443b branch h4_send_acl_trigger_clear 
+
+h4_send_acl_trigger:
+4435 79200025 set1 mark_ext_patch ,mark 
+4436 44f8c03e bpatch patch3e_1 ,mem_patch3e 
+4437 6801029d fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+4438 203a3bf1 branch assert ,blank 
+4439 6011005e hstore 2 ,core_uart_twptr 
+443a 2020443b branch h4_send_acl_trigger_clear 
+
+h4_send_acl_trigger_clear:
+443b 58000000 setarg 0 
+443c 6001029d store 2 ,mem_hci_acl_tx_trigger_wptr 
+443d 20600000 rtn 
+
+h4_tx_buffer_remain:
+443e 68190110 hfetcht 2 ,core_uart_trptr 
+443f 6811005e hfetch 2 ,core_uart_twptr 
+4440 98462200 isub temp ,rega 
+4441 24214447 nbranch h4_tx_buffer_remain_negative ,positive 
+4442 6819005a hfetcht 2 ,core_uart_tsaddr 
+4443 6811005c hfetch 2 ,core_uart_teaddr 
+4444 98467e00 isub temp ,pdata 
+4445 9a260400 isub rega ,temp 
+4446 20600000 rtn 
+
+h4_tx_buffer_remain_negative:
+4447 1a2605ff sub rega ,-1 ,temp 
+4448 20600000 rtn 
+
+hci_dispatch:
+4449 793f8025 set0 mark_ext_patch ,mark 
+444a 44e6c019 bpatch patch19_5 ,mem_patch19 
+444b 6800c132 fetch 1 ,mem_device_option 
+444c c1808000 rtnne dvc_op_hci 
+444d 204044a3 call hci_rx_packet 
+444e 20404494 call hci_check_bcsp_protocol 
+444f 2040c3b0 call bcsp_retransmit ,true 
+4450 20404494 call hci_check_bcsp_protocol 
+4451 2040c3b7 call bcsp_freepacket ,true 
+4452 202044e6 branch process_send_acl 
+4453 c68c0000 rtnmark0 mark_h5_reinit 
+4454 18000e00 force h5_reinit_timer ,queue 
+4455 20407e53 call timer_check 
+4456 247a0000 nrtn blank 
+4457 20404472 call hci_reinit 
+4458 20404494 call hci_check_bcsp_protocol 
+4459 24608000 nrtn true 
+445a 793f8017 set0 mark_h5_sync ,mark 
+445b 180004da force 0xda ,temp 
+445c 58ededdc setarg 0xededdc 
+445d 2040433c call parse_bcsp_link_establish_send 
+445e 580007d0 setarg 2000 
+445f 18000e00 force h5_reinit_timer ,queue 
+4460 20207e4c branch timer_init 
+
+hci_init:
+4461 793f8025 set0 mark_ext_patch ,mark 
+4462 44e74019 bpatch patch19_6 ,mem_patch19 
+4463 20758000 rtn wake 
+4464 58004aed setarg hci_idle_dispatch 
+4465 60014290 store 2 ,mem_cb_idle_process 
+4466 580001a0 setarg uart_baud_115200 
+4467 600142ac store uart_baud_len ,mem_baud 
+
+hci_lpm_init:
+4468 793f8025 set0 mark_ext_patch ,mark 
+4469 44e7c019 bpatch patch19_7 ,mem_patch19 
+446a 20406a0d call init_filter_ram 
+446b 58001800 setarg mem_h5rx_buf 
+446c 60110054 hstore 2 ,core_uart_rsaddr 
+446d 58001bff setarg mem_h5rx_buf_end 
+446e 60110056 hstore 2 ,core_uart_readdr 
+446f 58001c00 setarg mem_h5tx_buf 
+4470 6011005a hstore 2 ,core_uart_tsaddr 
+4471 20404489 call hci_sel_init 
+
+hci_reinit:
+4472 793f8025 set0 mark_ext_patch ,mark 
+4473 44e8401a bpatch patch1a_0 ,mem_patch1a 
+4474 70806200 hjam 0x0 ,core_uart_ctrl 
+4475 70028b00 jam 0 ,mem_h5rx_ack 
+4476 70028c00 jam 0 ,mem_h5tx_ack 
+4477 70029400 jam 0 ,mem_h5tx_seq 
+4478 58001c00 setarg mem_h5tx_buf 
+4479 6001028f store 2 ,mem_h5tx_wptr 
+447a 6001028d store 2 ,mem_h5tx_rptr 
+447b 6011005e hstore 2 ,core_uart_twptr 
+447c 60110060 hstore 2 ,core_uart_trptrp 
+447d 58001800 setarg mem_h5rx_buf 
+447e 60110058 hstore 2 ,core_uart_rrptr 
+447f 60010289 store 2 ,mem_h5rx_rptr 
+
+hci_init_common:
+4480 793f8025 set0 mark_ext_patch ,mark 
+4481 44e8c01a bpatch patch1a_1 ,mem_patch1a 
+4482 68110050 hfetch 2 ,core_clkoff 
+4483 793ffe0f set0 clock_off_uart ,pdata 
+4484 60110050 hstore 2 ,core_clkoff 
+4485 20406909 call uart_set_baud_by_mem 
+4486 70804301 hjam uartclk_dpll ,core_uart_clksel 
+4487 70806281 hjam uart_ctrl_h4 ,core_uart_ctrl 
+4488 20204497 branch hci_init_queue_ack 
+
+hci_sel_init:
+4489 58001fff setarg mem_h5tx_buf_end 
+448a 6011005c hstore 2 ,core_uart_teaddr 
+448b 68108081 hfetch 1 ,core_gpio_sel1 
+448c 1fe1fe07 or_into 0x07 ,pdata 
+448d 60108081 hstore 1 ,core_gpio_sel1 
+448e 70029fff jam 0xff ,mem_ucode_id_local 
+448f 20600000 rtn 
+
+hci_reset_uart:
+4490 68110116 hfetch 2 ,core_uart_rwptr 
+4491 60110058 hstore 2 ,core_uart_rrptr 
+4492 7920001b set1 mark_h5_reset ,mark 
+4493 20600000 rtn 
+
+hci_check_bcsp_protocol:
+4494 68108062 hfetch 1 ,core_uart_ctrl 
+4495 2feffe03 isolate1 uart_ctrl_bit_slip_protocol ,pdata 
+4496 20600000 rtn 
+
+hci_init_queue_ack:
+4497 58004803 setarg mem_hci_acl_queue_start 
+4498 60010295 store 2 ,mem_hci_acl_queue_wptr 
+4499 60010297 store 2 ,mem_hci_acl_queue_rptr 
+449a 18000401 force param_acl_pktcnt ,temp 
+449b 9840fe00 iadd temp ,pdata 
+449c 9840fe00 iadd temp ,pdata 
+449d 1fe0fe02 increase 2 ,pdata 
+449e 60010299 store 2 ,mem_hci_acl_queue_end 
+449f 58000000 setarg 0x00 
+44a0 6000829c store 1 ,mem_hci_acl_cnt 
+44a1 6000829b store 1 ,mem_hci_acl_queue_wcnt 
+44a2 20600000 rtn 
+
+hci_rx_packet:
+44a3 793f8025 set0 mark_ext_patch ,mark 
+44a4 44e9401a bpatch patch1a_2 ,mem_patch1a 
+44a5 6810810c hfetch 1 ,core_uart_status 
+44a6 98002400 iforce regb 
+44a7 c301c4ad bbit0 uart_status_rx_fifo_empty ,hci_rx_packet_cont 
+44a8 68110112 hfetch 2 ,core_uart_rxitems 
+44a9 98002600 iforce regc 
+44aa d840044f arg 0x44f ,temp 
+44ab 98467c00 isub temp ,null 
+44ac 24628000 nrtn zero 
+
+hci_rx_packet_cont:
+44ad 68110058 hfetch 2 ,core_uart_rrptr 
+44ae 98000600 iforce contru 
+44af 20404494 call hci_check_bcsp_protocol 
+44b0 2020c2e5 branch hci_rx_bcsp ,true 
+44b1 202043e2 branch hci_rx_h4 
+
+hci_send_ack:
+44b2 20404494 call hci_check_bcsp_protocol 
+44b3 2020c371 branch bcsp_send_ack ,true 
+44b4 20600000 rtn 
+
+uart_send_byte:
+44b5 6818810c hfetcht 1 ,core_uart_status 
+44b6 284ffe06 isolate1 6 ,temp 
+44b7 2020c4b5 branch uart_send_byte ,true 
+44b8 60108015 hstore 1 ,core_uart_txd 
+44b9 20600000 rtn 
+
+process_acl_into_queue:
+44ba 68090299 fetcht 2 ,mem_hci_acl_queue_end 
+44bb 68010295 fetch 2 ,mem_hci_acl_queue_wptr 
+44bc 98000a00 iforce contw 
+44bd 18627e00 deposit contru 
+44be e0a10000 istore 2 ,contw 
+44bf 18a27e00 deposit contw 
+44c0 60010295 store 2 ,mem_hci_acl_queue_wptr 
+44c1 a841fe00 icompare 0xff ,temp 
+44c2 2040c4c7 call process_acl_into_queue_loop ,true 
+44c3 6800829b fetch 1 ,mem_hci_acl_queue_wcnt 
+44c4 1fe0fe01 increase 1 ,pdata 
+44c5 6000829b store 1 ,mem_hci_acl_queue_wcnt 
+44c6 20600000 rtn 
+
+process_acl_into_queue_loop:
+44c7 58004803 setarg mem_hci_acl_queue_start 
+44c8 60010295 store 2 ,mem_hci_acl_queue_wptr 
+44c9 20600000 rtn 
+
+process_acl_dequeue:
+44ca 6800829b fetch 1 ,mem_hci_acl_queue_wcnt 
+44cb 207a0000 rtn blank 
+44cc 68090299 fetcht 2 ,mem_hci_acl_queue_end 
+44cd 68010297 fetch 2 ,mem_hci_acl_queue_rptr 
+44ce 98000c00 iforce contr 
+44cf e8c10000 ifetch 2 ,contr 
+44d0 98000600 iforce contru 
+44d1 18c27e00 deposit contr 
+44d2 60010297 store 2 ,mem_hci_acl_queue_rptr 
+44d3 a841fe00 icompare 0xff ,temp 
+44d4 2040c4da call process_acl_dequeue_loop ,true 
+44d5 6800829b fetch 1 ,mem_hci_acl_queue_wcnt 
+44d6 1fe0ffff increase -1 ,pdata 
+44d7 6000829b store 1 ,mem_hci_acl_queue_wcnt 
+44d8 18007e01 force 1 ,pdata 
+44d9 20600000 rtn 
+
+process_acl_dequeue_loop:
+44da 58004803 setarg mem_hci_acl_queue_start 
+44db 60010297 store 2 ,mem_hci_acl_queue_rptr 
+44dc 20600000 rtn 
+
+process_acl:
+44dd 793f8025 set0 mark_ext_patch ,mark 
+44de 44e9c01a bpatch patch1a_3 ,mem_patch1a 
+44df 6800829b fetch 1 ,mem_hci_acl_queue_wcnt 
+44e0 1fe67c02 sub pdata ,2 ,null 
+44e1 202144e4 branch process_acl_queue_check_ok ,positive 
+44e2 78347c00 enable user 
+44e3 202044e6 branch process_send_acl 
+
+process_acl_queue_check_ok:
+44e4 204044b2 call hci_send_ack 
+44e5 204044ba call process_acl_into_queue 
+
+process_send_acl:
+44e6 793f8025 set0 mark_ext_patch ,mark 
+44e7 44ea401a bpatch patch1a_4 ,mem_patch1a 
+44e8 c6010000 rtnmark1 mark_tx_l2cap 
+44e9 204044ca call process_acl_dequeue 
+44ea 207a0000 rtn blank 
+44eb e8688000 ifetcht 1 ,contru 
+44ec 204032f7 call context_search_conn_handle2 
+44ed 24628000 nrtn zero 
+44ee e8608000 ifetch 1 ,contru 
+44ef 1ff1fe00 rshift4 pdata ,pdata 
+44f0 1fe17e03 and pdata ,0x3 ,pdata 
+44f1 243a44f3 nbranch process_send_acl_good_lch ,blank 
+44f2 79207e01 set1 1 ,pdata 
+
+process_send_acl_good_lch:
+44f3 79207e02 set1 2 ,pdata 
+44f4 60008090 store 1 ,mem_tx_lch 
+44f5 e8610000 ifetch 2 ,contru 
+44f6 60010091 store 2 ,mem_tx_len 
+44f7 18627e00 deposit contru 
+44f8 60010179 store 2 ,mem_txptr 
+44f9 79200002 set1 mark_tx_l2cap ,mark 
+44fa c584c502 bmark0 mark_context ,process_acl_ncontext 
+44fb 68008046 fetch 1 ,mem_conn_handle 
+44fc 98467c00 isub temp ,null 
+44fd 2422c502 nbranch process_acl_ncontext ,zero 
+44fe 6800804b fetch 1 ,mem_op 
+44ff 79207e06 set1 op_txl2cap ,pdata 
+4500 6000804b store 1 ,mem_op 
+4501 20600000 rtn 
+
+process_acl_ncontext:
+4502 1a20a21b increase coffset_op ,rega 
+4503 ea208000 ifetch 1 ,rega 
+4504 79207e06 set1 op_txl2cap ,pdata 
+4505 e2208000 istore 1 ,rega 
+4506 20600000 rtn 
+
+process_hci_cmd:
+4507 793f8025 set0 mark_ext_patch ,mark 
+4508 44eac01a bpatch patch1a_5 ,mem_patch1a 
+4509 6800c272 fetch 1 ,mem_hci_cmd 
+450a 203a450d branch process_hci_cmd_cont ,blank 
+450b 78347c00 enable user 
+450c 20600000 rtn 
+
+process_hci_cmd_cont:
+450d 204044b2 call hci_send_ack 
+450e e8610000 ifetch 2 ,contru 
+450f 98006000 iforce alarm 
+4510 98000e00 iforce queue 
+4511 e8608000 ifetch 1 ,contru 
+4512 98000400 iforce temp 
+4513 1e0b7e00 rshift2 alarm ,pdata 
+4514 1fecfe00 rshift8 pdata ,pdata 
+4515 c000c51e beq hci_ogf_link_control ,phci_grp_link_control 
+4516 c001453d beq hci_ogf_link_policy ,phci_grp_link_policy 
+4517 c001c54f beq hci_ogf_baseband ,phci_grp_baseband 
+4518 c0024569 beq hci_ogf_info ,phci_grp_info 
+4519 c002c572 beq hci_ogf_status ,phci_grp_status 
+451a c003457c beq hci_ogf_test ,phci_grp_test 
+451b c01fc585 beq hci_ogf_vendor_specific ,phci_grp_vendor_specific 
+451c c00445e0 beq hci_ogf_low_energy ,phci_grp_low_energy 
+451d 20600000 rtn 
+
+phci_grp_link_control:
+451e 793f8025 set0 mark_ext_patch ,mark 
+451f 44eb401a bpatch patch1a_6 ,mem_patch1a 
+4520 18e27e00 deposit queue 
+4521 c000c634 beq hci_inquiry ,phci_inquiry 
+4522 c0014643 beq hci_inquiry_cancel ,phci_inquiry_cancel 
+4523 c001c949 beq hci_periodic_inquiry_mode ,hci_normal_reply 
+4524 c0024949 beq hci_exit_periodic_inquiry_mode ,hci_normal_reply 
+4525 c002c645 beq hci_create_connection ,phci_create_connection 
+4526 c003464f beq hci_disconnect ,phci_disconnect 
+4527 c003c949 beq hci_add_sco_connection ,hci_normal_reply 
+4528 c004465d beq hci_create_connection_cancel ,phci_create_connection_cancel 
+4529 c004c739 beq hci_accept_connection ,phci_accept_connection 
+452a c005473f beq hci_reject_connection ,phci_reject_connection 
+452b c005c664 beq hci_link_key_request_reply ,phci_link_key_request_reply 
+452c c006466a beq hci_link_key_request_negative_reply ,phci_link_key_request_negative_reply 
+452d c006c66d beq hci_pin_code_request_reply ,phci_pin_code_request_reply 
+452e c0074675 beq hci_pin_code_request_negative_reply ,phci_pin_code_request_negative_reply 
+452f c007c743 beq hci_change_connection_packet_type ,phci_change_connection_packet_type 
+4530 c008c688 beq hci_authentication_requested ,phci_authentication_requested 
+4531 c009c68b beq hci_set_connection_encryption ,phci_set_connection_encryption 
+4532 c00ac949 beq hci_change_connection_link_key ,hci_normal_reply 
+4533 c00bc949 beq hci_master_link_key ,hci_normal_reply 
+4534 c00cc690 beq hci_remote_name_request ,phci_remote_name_request 
+4535 c00dc69b beq hci_read_remote_supported_features ,phci_read_remote_supported_features 
+4536 c00e4696 beq hci_read_remote_ext_features ,phci_read_remote_ext_features 
+4537 c00ec6a1 beq hci_read_remote_version_information ,phci_read_remote_version_information 
+4538 c00fc6a7 beq hci_read_clock_offset ,phci_read_clock_offset 
+4539 c01446ab beq hci_setup_sco_connection ,phci_setup_sco_connection 
+453a c014c6b6 beq hci_accept_sco_connection ,phci_accept_sco_connection 
+453b c015c67b beq hci_io_cap_request_reply ,phci_io_cap_request_reply 
+453c 2020474d branch phci_unknown_command 
+
+phci_grp_link_policy:
+453d 793f8025 set0 mark_ext_patch ,mark 
+453e 44ebc01a bpatch patch1a_7 ,mem_patch1a 
+453f 18e27e00 deposit queue 
+4540 c004c6cc beq hci_role_discovery ,phci_role_discovery 
+4541 c006c6d7 beq hci_write_link_policy_settings ,phci_write_link_policy_settings 
+4542 c000c949 beq hci_hold_mode ,hci_normal_reply 
+4543 c001c74f beq hci_sniff_mode ,phci_sniff_mode 
+4544 c002475a beq hci_exit_sniff_mode ,phci_exit_sniff_mode 
+4545 c002c949 beq hci_park_mode ,hci_normal_reply 
+4546 c0034949 beq hci_exit_park_mode ,hci_normal_reply 
+4547 c003c949 beq hci_qos_setup ,hci_normal_reply 
+4548 c005c760 beq hci_switch_role ,phci_switch_role 
+4549 c0064949 beq hci_read_link_policy_settings ,hci_normal_reply 
+454a c0074949 beq hci_read_default_link_policy_settings ,hci_normal_reply 
+454b c007c949 beq hci_write_default_link_policy_settings ,hci_normal_reply 
+454c c0084949 beq hci_flow_specification ,hci_normal_reply 
+454d c008c75f beq hci_sniff_subrating ,phci_sniff_subrating 
+454e 2020474d branch phci_unknown_command 
+
+phci_grp_baseband:
+454f 793f8025 set0 mark_ext_patch ,mark 
+4550 44ec401b bpatch patch1b_0 ,mem_patch1b 
+4551 18e27e00 deposit queue 
+4552 c000c725 beq hci_set_event_mask ,phci_set_event_mask 
+4553 c001c949 beq hci_reset ,hci_normal_reply 
+4554 c00946da beq hci_delete_stored_link_key ,phci_delete_stored_link_key 
+4555 c009c6c2 beq hci_write_local_name ,phci_change_local_name 
+4556 c00a46b8 beq hci_read_local_name ,phci_read_local_name 
+4557 c00c46db beq hci_write_page_timeout ,phci_write_page_timeout 
+4558 c00cc705 beq hci_read_scan_enable ,phci_read_scan_enable 
+4559 c00d46de beq hci_write_scan_enable ,phci_write_scan_enable 
+455a c00e46e1 beq hci_write_page_scan_activity ,phci_write_page_scan_activity 
+455b c00f46e6 beq hci_write_inquiry_scan_activity ,phci_write_inquiry_scan_activity 
+455c c01046ec beq hci_write_authentication_enable ,phci_write_authentication_enable 
+455d c01146eb beq hci_write_encryption_mode ,phci_write_encryption_mode 
+455e c01246ef beq hci_write_class_of_device ,phci_write_class_of_device 
+455f c0134949 beq hci_write_voice_setting ,hci_normal_reply 
+4560 c018c949 beq hci_set_controller_to_host_flow_control ,hci_normal_reply 
+4561 c019c949 beq hci_host_buffer_size ,hci_normal_reply 
+4562 c01ac62e beq hci_host_num_completed_packets ,phci_host_num_completed 
+4563 c021c949 beq hci_write_inquiry_scan_type ,hci_normal_reply 
+4564 c022c949 beq hci_write_inquiry_mode ,hci_normal_reply 
+4565 c023c949 beq hci_write_page_scan_type ,hci_normal_reply 
+4566 c028c6f2 beq hci_read_extended_inquiry_response ,phci_read_ext_inquiry_response 
+4567 c02b4701 beq hci_write_simple_pairing_mode ,phci_write_ssp_mode 
+4568 2020474d branch phci_unknown_command 
+
+phci_grp_info:
+4569 793f8025 set0 mark_ext_patch ,mark 
+456a 44ecc01b bpatch patch1b_1 ,mem_patch1b 
+456b 18e27e00 deposit queue 
+456c c000c70a beq hci_read_local_version_information ,phci_read_local_version_information 
+456d c001c70f beq hci_read_local_supported_features ,phci_read_local_supported_features 
+456e c0024714 beq hci_read_local_ext_features ,phci_read_local_ext_features 
+456f c002c71b beq hci_read_buffer_size ,phci_read_buffer_size 
+4570 c004c720 beq hci_read_bd_addr ,phci_read_bd_addr 
+4571 2020474d branch phci_unknown_command 
+
+phci_grp_status:
+4572 793f8025 set0 mark_ext_patch ,mark 
+4573 44ed401b bpatch patch1b_2 ,mem_patch1b 
+4574 18e27e00 deposit queue 
+4575 c000c949 beq hci_read_failed_contact_counter ,hci_normal_reply 
+4576 c0014726 beq hci_reset_failed_contact_counter ,phci_reset_failed_contact_counter 
+4577 c001c727 beq hci_get_link_quality ,phci_get_link_quality 
+4578 c002c72d beq hci_read_rssi ,phci_read_rssi 
+4579 c0034733 beq hci_read_afh_channel_map ,phci_read_afh_channel_map 
+457a c003c736 beq hci_read_bd_clock ,phci_read_bd_clock 
+457b 2020474d branch phci_unknown_command 
+
+phci_grp_test:
+457c 793f8025 set0 mark_ext_patch ,mark 
+457d 44edc01b bpatch patch1b_3 ,mem_patch1b 
+457e 18e27e00 deposit queue 
+457f c000c949 beq hci_read_loopback_mode ,hci_normal_reply 
+4580 c0014949 beq hci_write_loopback_mode ,hci_normal_reply 
+4581 c001c949 beq hci_enable_device_under_test_mode ,hci_normal_reply 
+4582 c0024949 beq hci_write_simple_pairing_debug_mode ,hci_normal_reply 
+4583 2020474d branch phci_unknown_command 
+4584 20600000 rtn 
+
+phci_grp_vendor_specific:
+4585 793f8025 set0 mark_ext_patch ,mark 
+4586 44ee401b bpatch patch1b_4 ,mem_patch1b 
+4587 18e27e00 deposit queue 
+4588 c0004949 beq hci_vendor_cmd_reset ,hci_normal_reply 
+4589 c000c59d beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+458a c00145a2 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+458b c001c5a6 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+458c c00245b9 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+458d c002c949 beq hci_vendor_cmd_echo ,hci_normal_reply 
+458e c00345ca beq hci_vendor_cmd_bdaddr ,phci_grp_vendor_bdaddr 
+458f c003c593 beq hci_vendor_cmd_enter_lpm ,phci_grp_vendor_enter_lpm 
+4590 c00845cd beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+4591 c008c5d5 beq hci_vendor_cmd_eep ,phci_grp_vendor_eep 
+4592 20204949 branch hci_normal_reply 
+
+phci_grp_vendor_enter_lpm:
+4593 20404949 call hci_normal_reply 
+4594 20407f68 call wait_uarttx 
+4595 20406a68 call gpio_pu_uart_tx 
+
+hci_enter_lpm:
+4596 20403f5c call app_put_lpm_wake_lock 
+4597 20403f66 call app_l2cap_flow_control_enable 
+4598 20206a7d branch gpio_rx_config_input_with_pu 
+
+hci_exit_lpm:
+4599 7042ae00 jam hci_rx_ready ,mem_hci_lt_rx_state 
+459a 20403f5a call app_get_lpm_wake_lock 
+459b 20404468 call hci_lpm_init 
+459c 20203f68 branch app_l2cap_flow_control_disable 
+
+phci_grp_vendor_chipid:
+459d 2040496e call hci_get_cmd_complete_ptr 
+459e 68110000 hfetch 2 ,core_chipid 
+459f e1410000 istore 2 ,contwu 
+45a0 18007206 force 6 ,loopcnt 
+45a1 2020494c branch hci_command_complete 
+
+phci_grp_vendor_baud:
+45a2 e8610000 ifetch 2 ,contru 
+45a3 600142ac store 2 ,mem_baud 
+45a4 60110052 hstore 2 ,core_uart_baud 
+45a5 20600000 rtn 
+
+phci_grp_vendor_patch:
+45a6 e8608000 ifetch 1 ,contru 
+45a7 1fe20400 copy pdata ,temp 
+45a8 60108024 hstore 1 ,core_ucode_low 
+45a9 e8608000 ifetch 1 ,contru 
+45aa 98408400 iadd temp ,temp 
+45ab 79207e07 set1 7 ,pdata 
+45ac 60108023 hstore 1 ,core_ucode_ctrl 
+45ad e8608000 ifetch 1 ,contru 
+45ae 98408400 iadd temp ,temp 
+45af 1fe27200 copy pdata ,loopcnt 
+
+phci_grp_vendor_patch_loop:
+45b0 e8608000 ifetch 1 ,contru 
+45b1 60108025 hstore 1 ,core_ucode_data 
+45b2 98408400 iadd temp ,temp 
+45b3 c20045b0 loop phci_grp_vendor_patch_loop 
+45b4 184104ff and temp ,0xff ,temp 
+45b5 e8608000 ifetch 1 ,contru 
+45b6 98467c00 isub temp ,null 
+45b7 2422c5c8 nbranch phci_grp_vendor_patch_bad ,zero 
+45b8 20204949 branch hci_normal_reply 
+
+phci_grp_vendor_done:
+45b9 df200020 arg 0x20 ,loopcnt 
+45ba d8a04000 arg mem_patch00 ,contw 
+45bb d8400000 arg 0 ,temp 
+
+phci_grp_vendor_done_loop:
+45bc e8608000 ifetch 1 ,contru 
+45bd e0a08000 istore 1 ,contw 
+45be 98408400 iadd temp ,temp 
+45bf c20045bc loop phci_grp_vendor_done_loop 
+45c0 184104ff and temp ,0xff ,temp 
+45c1 e8608000 ifetch 1 ,contru 
+45c2 98467c00 isub temp ,null 
+45c3 2422c5c8 nbranch phci_grp_vendor_patch_bad ,zero 
+45c4 70802300 hjam 0 ,core_ucode_ctrl 
+45c5 20404949 call hci_normal_reply 
+45c6 2040440e call h4_rx_discard_packet 
+45c7 20203001 branch soft_reset 
+
+phci_grp_vendor_patch_bad:
+45c8 70802300 hjam 0 ,core_ucode_ctrl 
+45c9 20203000 branch start 
+
+phci_grp_vendor_bdaddr:
+45ca e8630000 ifetch 6 ,contru 
+45cb 60034140 store 6 ,mem_lap 
+45cc 20204949 branch hci_normal_reply 
+
+phci_grp_vendor_mem:
+45cd e8608000 ifetch 1 ,contru 
+45ce 600082c1 store 1 ,mem_hci_curr_len 
+45cf 1fe27200 copy pdata ,loopcnt 
+45d0 e8610000 ifetch 2 ,contru 
+45d1 600102c2 store 2 ,mem_hci_curr_target 
+45d2 1fe20a00 copy pdata ,contw 
+45d3 2040497c call uart_copy_rx_bytes 
+45d4 20204949 branch hci_normal_reply 
+
+phci_grp_vendor_eep:
+45d5 e8608000 ifetch 1 ,contru 
+45d6 600082c1 store 1 ,mem_hci_curr_len 
+45d7 1fe27200 copy pdata ,loopcnt 
+45d8 e8610000 ifetch 2 ,contru 
+45d9 600102c2 store 2 ,mem_hci_curr_target 
+45da d8a01000 arg mem_l2cap_rxbuff1 ,contw 
+45db 2040497c call uart_copy_rx_bytes 
+45dc 680882c1 fetcht 1 ,mem_hci_curr_len 
+45dd da201000 arg mem_l2cap_rxbuff1 ,rega 
+45de 680102c2 fetch 2 ,mem_hci_curr_target 
+45df 20206842 branch iicd_write_ota_data 
+
+phci_grp_low_energy:
+45e0 793f8025 set0 mark_ext_patch ,mark 
+45e1 44eec01b bpatch patch1b_5 ,mem_patch1b 
+45e2 18e27e00 deposit queue 
+45e3 c000c949 beq hci_le_set_event_mask ,hci_normal_reply 
+45e4 c00145f3 beq hci_le_read_buffer_size ,phci_le_read_buffer_size 
+45e5 c001c5f8 beq hci_le_read_local_supported_features ,phci_le_read_local_supported_features 
+45e6 c00345ff beq hci_le_set_advertising_parameters ,phci_le_set_adv_param 
+45e7 c0044603 beq hci_le_set_advertising_data ,phci_le_set_adv_data 
+45e8 c004c607 beq hci_le_set_scan_response_data ,phci_le_set_scan_response_data 
+45e9 c005460b beq hci_le_set_advertise_enable ,phci_le_set_adv_enable 
+45ea c005c60e beq hci_le_set_scan_parameters ,phci_le_set_scan_param 
+45eb c0064611 beq hci_le_set_scan_enable ,phci_le_set_scan_enable 
+45ec c006c614 beq hci_le_create_connection ,phci_le_create_conn 
+45ed c0074626 beq hci_le_create_connection_cancel ,phci_le_create_conn_cancel 
+45ee c00ac627 beq hci_le_read_channel_map ,phci_le_read_channel_map 
+45ef c00b4933 beq hci_le_read_remote_used_features ,hci_command_status 
+45f0 c009c949 beq hci_le_connection_update ,hci_normal_reply 
+45f1 2020474d branch phci_unknown_command 
+45f2 20600000 rtn 
+
+phci_le_read_buffer_size:
+45f3 2040496e call hci_get_cmd_complete_ptr 
+45f4 58000000 setarg 0 
+45f5 e1418000 istore 3 ,contwu 
+45f6 18007207 force 0x07 ,loopcnt 
+45f7 2020494c branch hci_command_complete 
+
+phci_le_read_local_supported_features:
+45f8 2040496e call hci_get_cmd_complete_ptr 
+45f9 58000001 setarg 1 
+45fa e1410000 istore 2 ,contwu 
+45fb 58000000 setarg 0 
+45fc e1430000 istore 6 ,contwu 
+45fd 1800720c force 0x0c ,loopcnt 
+45fe 2020494c branch hci_command_complete 
+
+phci_le_set_adv_param:
+45ff df20000f arg 15 ,loopcnt 
+4600 d8a044d7 arg mem_le_adv_param ,contw 
+4601 2040497c call uart_copy_rx_bytes 
+4602 20204949 branch hci_normal_reply 
+
+phci_le_set_adv_data:
+4603 df200020 arg 32 ,loopcnt 
+4604 d8a043d9 arg mem_le_adv_data_len ,contw 
+4605 2040497c call uart_copy_rx_bytes 
+4606 20204949 branch hci_normal_reply 
+
+phci_le_set_scan_response_data:
+4607 df200020 arg 32 ,loopcnt 
+4608 d8a043f9 arg mem_le_scan_data_len ,contw 
+4609 2040497c call uart_copy_rx_bytes 
+460a 20204949 branch hci_normal_reply 
+
+phci_le_set_adv_enable:
+460b e8608000 ifetch 1 ,contru 
+460c 6000c3d8 store 1 ,mem_le_adv_enable 
+460d 20204949 branch hci_normal_reply 
+
+phci_le_set_scan_param:
+460e e8638000 ifetch 7 ,contru 
+460f 6003c4f6 store 7 ,mem_le_scan_params 
+4610 20204949 branch hci_normal_reply 
+
+phci_le_set_scan_enable:
+4611 e8608000 ifetch 1 ,contru 
+4612 6000c3d2 store 1 ,mem_le_scan_enable 
+4613 20204949 branch hci_normal_reply 
+
+phci_le_create_conn:
+4614 e8620000 ifetch 4 ,contru 
+4615 600243d3 store 4 ,mem_le_scan_interval 
+4616 e8608000 ifetch 1 ,contru 
+4617 6000c4f8 store 1 ,mem_le_scan_filter_policy 
+4618 df200014 arg 20 ,loopcnt 
+4619 d8a044e6 arg mem_le_conn_param ,contw 
+461a 2040497c call uart_copy_rx_bytes 
+461b 7043d201 jam 1 ,mem_le_scan_enable 
+461c 6800c4ed fetch 1 ,mem_le_conn_own_addr_type 
+461d 6000c4f7 store 1 ,mem_le_scan_own_addr_type 
+461e 680144f0 fetch 2 ,mem_le_conn_interval_max 
+461f 600143d0 store 2 ,mem_le_conn_interval 
+4620 680144f2 fetch 2 ,mem_le_conn_latency 
+4621 600103ed store 2 ,mem_le_slave_latency 
+4622 680144f4 fetch 2 ,mem_le_conn_superto 
+4623 600103ef store 2 ,mem_le_superto 
+4624 7042721b jam hci_cmd_le_create_conn ,mem_hci_cmd 
+4625 20204933 branch hci_command_status 
+
+phci_le_create_conn_cancel:
+4626 20204949 branch hci_normal_reply 
+
+phci_le_read_channel_map:
+4627 2040496e call hci_get_cmd_complete_ptr 
+4628 e8610000 ifetch 2 ,contru 
+4629 e1410000 istore 2 ,contwu 
+462a 581fffff setarg 0x1fffff 
+462b e1428000 istore 5 ,contwu 
+462c 1800720b force 0x0b ,loopcnt 
+462d 2020494c branch hci_command_complete 
+
+phci_host_num_completed:
+462e e8618000 ifetch 3 ,contru 
+462f e8698000 ifetcht 3 ,contru 
+4630 68014800 fetch 2 ,mem_acl_credits 
+4631 9840fe00 iadd temp ,pdata 
+4632 60014800 store 2 ,mem_acl_credits 
+4633 20600000 rtn 
+
+phci_inquiry:
+4634 e8618000 ifetch 3 ,contru 
+4635 6001c147 store 3 ,mem_glap 
+
+do_at_inquiry0:
+4636 70427201 jam hci_cmd_inquiry ,mem_hci_cmd 
+4637 e8608000 ifetch 1 ,contru 
+4638 d8400640 arg 1600 ,temp 
+4639 984ffe00 imul32 temp ,pdata 
+463a d840ffff arg 0xffff ,temp 
+463b 98467c00 isub temp ,null 
+463c 2421463e nbranch phci_inquiry_nowrap ,positive 
+463d 18427e00 deposit temp 
+
+phci_inquiry_nowrap:
+463e 18000e02 force inquiry_length_timer ,queue 
+463f 20407e4c call timer_init 
+4640 6800c2a4 fetch 1 ,mem_at_using_flag 
+4641 c280428c bbit1 at_flag_inq ,at_rev_end 
+4642 20204933 branch hci_command_status 
+
+phci_inquiry_cancel:
+4643 70427202 jam hci_cmd_inquiry_cancel ,mem_hci_cmd 
+4644 20204949 branch hci_normal_reply 
+
+phci_create_connection:
+4645 20404763 call phci_read_plap 
+4646 e8610000 ifetch 2 ,contru 
+4647 60010275 store 2 ,mem_packet_type 
+4648 e8610000 ifetch 2 ,contru 
+4649 600080f3 store 1 ,mem_page_mode 
+464a 20404776 call phci_read_clock 
+464b e8608000 ifetch 1 ,contru 
+464c 6000c802 store 1 ,mem_allow_switch 
+464d 70427205 jam hci_cmd_create_conn ,mem_hci_cmd 
+464e 20204933 branch hci_command_status 
+
+phci_disconnect:
+464f 70427206 jam hci_cmd_disconn ,mem_hci_cmd 
+4650 e8610000 ifetch 2 ,contru 
+4651 6000c273 store 1 ,mem_hci_conn_handle 
+4652 e8608000 ifetch 1 ,contru 
+4653 60008446 store 1 ,mem_disconn_reason_send 
+4654 7002c016 jam hci_error_connection_terminated_by_local_host ,mem_hci_disconn_reason 
+4655 6800c273 fetch 1 ,mem_hci_conn_handle 
+4656 680880ad fetcht 1 ,mem_sco_handle 
+4657 98467c00 isub temp ,null 
+4658 2422c933 nbranch hci_command_status ,zero 
+4659 70427211 jam hci_cmd_disconn_sco ,mem_hci_cmd 
+465a 680080ac fetch 1 ,mem_sco_asso_handle 
+465b 6000c273 store 1 ,mem_hci_conn_handle 
+465c 20204933 branch hci_command_status 
+
+phci_create_connection_cancel:
+465d 2040496e call hci_get_cmd_complete_ptr 
+465e 20404965 call hci_write_plap 
+465f 1800720a force 10 ,loopcnt 
+4660 2040494c call hci_command_complete 
+4661 7042721a jam hci_cmd_detach ,mem_hci_cmd 
+4662 18000402 force hci_error_no_connection ,temp 
+4663 20204826 branch hci_send_connection_error 
+
+phci_link_key_request_reply:
+4664 20404763 call phci_read_plap 
+4665 d8a04262 arg mem_link_key ,contw 
+4666 18007210 force 16 ,loopcnt 
+4667 2040497c call uart_copy_rx_bytes 
+4668 7042720b jam hci_cmd_linkkey ,mem_hci_cmd 
+4669 20204677 branch phci_pin_code_reply 
+
+phci_link_key_request_negative_reply:
+466a 20404763 call phci_read_plap 
+466b 7042720c jam hci_cmd_nokey ,mem_hci_cmd 
+466c 20204677 branch phci_pin_code_reply 
+
+phci_pin_code_request_reply:
+466d 20404763 call phci_read_plap 
+466e e8608000 ifetch 1 ,contru 
+466f 6000854f store 1 ,mem_pin_length 
+4670 98007200 iforce loopcnt 
+4671 d8a00550 arg mem_pin ,contw 
+4672 2040497c call uart_copy_rx_bytes 
+4673 70427209 jam hci_cmd_pair ,mem_hci_cmd 
+4674 20204677 branch phci_pin_code_reply 
+
+phci_pin_code_request_negative_reply:
+4675 20404763 call phci_read_plap 
+4676 7042720a jam hci_cmd_nopair ,mem_hci_cmd 
+
+phci_pin_code_reply:
+4677 2040496e call hci_get_cmd_complete_ptr 
+4678 20404965 call hci_write_plap 
+4679 1800720a force 10 ,loopcnt 
+467a 2020494c branch hci_command_complete 
+
+phci_io_cap_request_reply:
+467b 18608606 increase 6 ,contru 
+467c e8618000 ifetch 3 ,contru 
+467d 600187e6 store 3 ,mem_sp_iocap_local 
+467e 680087db fetch 1 ,mem_master_sp_state 
+467f c009c683 beq sp_master_stat_start_done ,phci_io_cap_request_reply_master 
+4680 c001c683 beq sp_stat_key_send ,phci_io_cap_request_reply_master 
+4681 70427216 jam hci_cmd_io_cap ,mem_hci_cmd 
+4682 20204684 branch phci_io_cap_request_reply_commom 
+
+phci_io_cap_request_reply_master:
+4683 7007dd01 jam sp_flag_commit ,mem_master_sp_flag 
+
+phci_io_cap_request_reply_commom:
+4684 2040496e call hci_get_cmd_complete_ptr 
+4685 20404965 call hci_write_plap 
+4686 1800720a force 10 ,loopcnt 
+4687 2020494c branch hci_command_complete 
+
+phci_authentication_requested:
+4688 20404766 call phci_read_handle 
+4689 7042720d jam hci_cmd_auth ,mem_hci_cmd 
+468a 20204933 branch hci_command_status 
+
+phci_set_connection_encryption:
+468b 20404766 call phci_read_handle 
+468c e8608000 ifetch 1 ,contru 
+468d 1fe0fe0e increase hci_cmd_stopencrypt ,pdata 
+468e 6000c272 store 1 ,mem_hci_cmd 
+468f 20204933 branch hci_command_status 
+
+phci_remote_name_request:
+4690 20404763 call phci_read_plap 
+4691 e8610000 ifetch 2 ,contru 
+4692 600080f3 store 1 ,mem_page_mode 
+4693 20404776 call phci_read_clock 
+4694 70427203 jam hci_cmd_remote_name_req ,mem_hci_cmd 
+4695 20204933 branch hci_command_status 
+
+phci_read_remote_ext_features:
+4696 e8610000 ifetch 2 ,contru 
+4697 e8608000 ifetch 1 ,contru 
+4698 60008449 store 1 ,mem_ext_features_page 
+4699 70427215 jam hci_cmd_remote_ext_features_req ,mem_hci_cmd 
+469a 20204933 branch hci_command_status 
+
+phci_read_remote_supported_features:
+469b 68008046 fetch 1 ,mem_conn_handle 
+469c 18002202 force hci_error_no_connection ,rega 
+469d 203a493d branch hci_command_status_err ,blank 
+469e 20404766 call phci_read_handle 
+469f 70427204 jam hci_cmd_remote_feature_req ,mem_hci_cmd 
+46a0 20204933 branch hci_command_status 
+
+phci_read_remote_version_information:
+46a1 68008046 fetch 1 ,mem_conn_handle 
+46a2 18002202 force hci_error_no_connection ,rega 
+46a3 203a493d branch hci_command_status_err ,blank 
+46a4 20404766 call phci_read_handle 
+46a5 70427214 jam hci_cmd_remote_version_req ,mem_hci_cmd 
+46a6 20204933 branch hci_command_status 
+
+phci_read_clock_offset:
+46a7 2040476e call phci_status_reply_temp 
+46a8 18000e1c force hci_event_read_clock_offset_complete ,queue 
+46a9 18007205 force 5 ,loopcnt 
+46aa 20204952 branch hci_send_event 
+
+phci_setup_sco_connection:
+46ab 20404766 call phci_read_handle 
+46ac 1860860a increase 10 ,contru 
+46ad e8610000 ifetch 2 ,contru 
+46ae 60010281 store 2 ,mem_voice_setting 
+46af e8608000 ifetch 1 ,contru 
+46b0 60008283 store 1 ,mem_retransmission_effort 
+46b1 e8610000 ifetch 2 ,contru 
+46b2 60010284 store 2 ,mem_sco_ptype 
+46b3 7000ab02 jam 2 ,mem_air_mode 
+46b4 70427210 jam hci_cmd_setup_sco ,mem_hci_cmd 
+46b5 20204933 branch hci_command_status 
+
+phci_accept_sco_connection:
+46b6 7042721c jam hci_cmd_accept_sco_conn ,mem_hci_cmd 
+46b7 20204933 branch hci_command_status 
+
+phci_read_local_name:
+46b8 2040496e call hci_get_cmd_complete_ptr 
+46b9 d8c04703 arg mem_local_name ,contr 
+46ba 18c672ff sub contr ,0xff ,loopcnt 
+46bb 20404976 call uart_copy_tx_bytes 
+46bc 18007e00 force 0 ,pdata 
+46bd 18c67303 sub contr ,mem_local_name ,loopcnt 
+46be 1f20f2f8 increase 0xf8 ,loopcnt 
+46bf 20404982 call uart_write_bytes 
+46c0 180072fc force 0xfc ,loopcnt 
+46c1 2020494c branch hci_command_complete 
+
+phci_change_local_name:
+46c2 d8a04703 arg mem_local_name ,contw 
+46c3 18a672ff sub contw ,0xff ,loopcnt 
+
+phci_change_local_name_loop:
+46c4 e8608000 ifetch 1 ,contru 
+46c5 e0a08000 istore 1 ,contw 
+46c6 203a46c8 branch phci_write_local_name_end ,blank 
+46c7 c20046c4 loop phci_change_local_name_loop 
+
+phci_write_local_name_end:
+46c8 18a67f03 sub contw ,mem_local_name ,pdata 
+46c9 1fe67e00 sub pdata ,0 ,pdata 
+46ca 6000c702 store 1 ,mem_local_name_length 
+46cb 20204949 branch hci_normal_reply 
+
+phci_role_discovery:
+46cc 2040496e call hci_get_cmd_complete_ptr 
+46cd 2040496b call hci_write_handle 
+46ce 18007e00 force 0 ,pdata 
+46cf 7d34fe00 nsetflag master ,0 ,pdata 
+46d0 e1408000 istore 1 ,contwu 
+46d1 18007207 force 7 ,loopcnt 
+46d2 de000809 arg 0x809 ,alarm 
+46d3 2040494c call hci_command_complete 
+46d4 202049bc branch cmd_exit 
+46d5 70427217 jam hci_cmd_role_discovery ,mem_hci_cmd 
+46d6 20600000 rtn 
+
+phci_write_link_policy_settings:
+46d7 20404769 call phci_copy_handle 
+46d8 18007206 force 6 ,loopcnt 
+46d9 2020494c branch hci_command_complete 
+
+phci_delete_stored_link_key:
+46da 20204949 branch hci_normal_reply 
+
+phci_write_page_timeout:
+46db e8610000 ifetch 2 ,contru 
+46dc 60014159 store 2 ,mem_page_to 
+46dd 20204949 branch hci_normal_reply 
+
+phci_write_scan_enable:
+46de e8608000 ifetch 1 ,contru 
+46df 6000c133 store 1 ,mem_scan_mode 
+46e0 20204949 branch hci_normal_reply 
+
+phci_write_page_scan_activity:
+46e1 e8610000 ifetch 2 ,contru 
+46e2 60014153 store 2 ,mem_pscan_interval 
+46e3 e8610000 ifetch 2 ,contru 
+46e4 60014151 store 2 ,mem_pscan_window 
+46e5 20204949 branch hci_normal_reply 
+
+phci_write_inquiry_scan_activity:
+46e6 e8610000 ifetch 2 ,contru 
+46e7 6001414f store 2 ,mem_iscan_interval 
+46e8 e8610000 ifetch 2 ,contru 
+46e9 6001414d store 2 ,mem_iscan_window 
+46ea 20204949 branch hci_normal_reply 
+
+phci_write_encryption_mode:
+46eb 20204949 branch hci_normal_reply 
+
+phci_write_authentication_enable:
+46ec e8608000 ifetch 1 ,contru 
+46ed 60008453 store 1 ,mem_auth_enable 
+46ee 20204949 branch hci_normal_reply 
+
+phci_write_class_of_device:
+46ef e8618000 ifetch 3 ,contru 
+46f0 6001c14a store 3 ,mem_class 
+46f1 20204949 branch hci_normal_reply 
+
+phci_read_ext_inquiry_response:
+46f2 18427e00 deposit temp 
+46f3 203a4949 branch hci_normal_reply ,blank 
+46f4 20404970 call hci_get_payload_ptr 
+46f5 18007e01 force 0x1 ,pdata 
+46f6 e1408000 istore 1 ,contwu 
+46f7 1e027e00 deposit alarm 
+46f8 e1410000 istore 2 ,contwu 
+46f9 18007e12 force hci_error_invalid_hci_command_parameters ,pdata 
+46fa e1408000 istore 1 ,contwu 
+46fb 58000000 setarg 0 
+46fc 1f20f2f1 increase 0xf1 ,loopcnt 
+46fd 20404982 call uart_write_bytes 
+46fe 18000e0e force hci_event_command_complete ,queue 
+46ff 180072f5 force 0xf5 ,loopcnt 
+4700 20204952 branch hci_send_event 
+
+phci_write_ssp_mode:
+4701 e8608000 ifetch 1 ,contru 
+4702 245a6003 ncall ssp_enable ,blank 
+4703 205a6009 call ssp_disable ,blank 
+4704 20204949 branch hci_normal_reply 
+
+phci_read_scan_enable:
+4705 2040496e call hci_get_cmd_complete_ptr 
+4706 6800c133 fetch 1 ,mem_scan_mode 
+4707 e1408000 istore 1 ,contwu 
+4708 18007205 force 5 ,loopcnt 
+4709 2020494c branch hci_command_complete 
+
+phci_read_local_version_information:
+470a 2040496e call hci_get_cmd_complete_ptr 
+470b 68040080 fetch 8 ,mem_hci_version 
+470c e1440000 istore 8 ,contwu 
+470d 1800720c force 12 ,loopcnt 
+470e 2020494c branch hci_command_complete 
+
+phci_read_local_supported_features:
+470f 2040496e call hci_get_cmd_complete_ptr 
+4710 68044138 fetch 8 ,mem_features 
+4711 e1440000 istore 8 ,contwu 
+4712 1800720c force 12 ,loopcnt 
+4713 2020494c branch hci_command_complete 
+
+phci_read_local_ext_features:
+4714 2040496e call hci_get_cmd_complete_ptr 
+4715 58000101 setarg 0x0101 
+4716 e1410000 istore 2 ,contwu 
+4717 58000001 setarg 0x01 
+4718 e1440000 istore 8 ,contwu 
+4719 1800720e force 14 ,loopcnt 
+471a 2020494c branch hci_command_complete 
+
+phci_read_buffer_size:
+471b 2040496e call hci_get_cmd_complete_ptr 
+471c 68038083 fetch 7 ,mem_acl_pktlen 
+471d e1438000 istore 7 ,contwu 
+471e 1800720b force 11 ,loopcnt 
+471f 2020494c branch hci_command_complete 
+
+phci_read_bd_addr:
+4720 2040496e call hci_get_cmd_complete_ptr 
+4721 68034140 fetch 6 ,mem_lap 
+4722 e1430000 istore 6 ,contwu 
+4723 1800720a force 10 ,loopcnt 
+4724 2020494c branch hci_command_complete 
+
+phci_set_event_mask:
+4725 20204949 branch hci_normal_reply 
+
+phci_reset_failed_contact_counter:
+4726 20204949 branch hci_normal_reply 
+
+phci_get_link_quality:
+4727 2040496e call hci_get_cmd_complete_ptr 
+4728 2040496b call hci_write_handle 
+4729 580000ff setarg 0xff 
+472a e1408000 istore 1 ,contwu 
+472b 18007207 force 7 ,loopcnt 
+472c 2020494c branch hci_command_complete 
+
+phci_read_rssi:
+472d 2040496e call hci_get_cmd_complete_ptr 
+472e 2040496b call hci_write_handle 
+472f 58000000 setarg 0x00 
+4730 e1408000 istore 1 ,contwu 
+4731 18007207 force 7 ,loopcnt 
+4732 2020494c branch hci_command_complete 
+
+phci_read_afh_channel_map:
+4733 793f8025 set0 mark_ext_patch ,mark 
+4734 44ef401b bpatch patch1b_6 ,mem_patch1b 
+4735 20204949 branch hci_normal_reply 
+
+phci_read_bd_clock:
+4736 793f8025 set0 mark_ext_patch ,mark 
+4737 44efc01b bpatch patch1b_7 ,mem_patch1b 
+4738 20204949 branch hci_normal_reply 
+
+phci_accept_connection:
+4739 20404763 call phci_read_plap 
+473a 70427207 jam hci_cmd_accept_conn ,mem_hci_cmd 
+473b e8608000 ifetch 1 ,contru 
+473c c000c933 beq 1 ,hci_command_status 
+473d 70427219 jam hci_cmd_accept_with_switch ,mem_hci_cmd 
+473e 20204933 branch hci_command_status 
+
+phci_reject_connection:
+473f 20204739 branch phci_accept_connection 
+4740 20404763 call phci_read_plap 
+4741 70427208 jam hci_cmd_reject_conn ,mem_hci_cmd 
+4742 20204949 branch hci_normal_reply 
+
+phci_change_connection_packet_type:
+4743 20404933 call hci_command_status 
+4744 20404970 call hci_get_payload_ptr 
+4745 58000000 setarg 0 
+4746 e1408000 istore 1 ,contwu 
+4747 e8620000 ifetch 4 ,contru 
+4748 e1420000 istore 4 ,contwu 
+4749 18007208 force 8 ,loopcnt 
+474a d8e0001d arg hci_event_connection_packet_type_changed ,queue 
+474b df200005 arg 5 ,loopcnt 
+474c 20204952 branch hci_send_event 
+
+phci_unknown_command:
+474d 18002201 force hci_error_unknown_hci_command ,rega 
+474e 2020493d branch hci_command_status_err 
+
+phci_sniff_mode:
+474f 20404766 call phci_read_handle 
+4750 e8610000 ifetch 2 ,contru 
+4751 60014280 store 2 ,mem_sniff_param_interval 
+4752 e8610000 ifetch 2 ,contru 
+4753 6001027b store 2 ,mem_hci_sniff_min_interval 
+4754 e8610000 ifetch 2 ,contru 
+4755 60014282 store 2 ,mem_sniff_param_attempt 
+4756 e8610000 ifetch 2 ,contru 
+4757 60014284 store 2 ,mem_sniff_param_timeout 
+4758 70427212 jam hci_cmd_in_sniff ,mem_hci_cmd 
+4759 20204933 branch hci_command_status 
+
+phci_exit_sniff_mode:
+475a 20404766 call phci_read_handle 
+475b 2040475d call exit_sniff 
+475c 20204933 branch hci_command_status 
+
+exit_sniff:
+475d 70427213 jam hci_cmd_exit_sniff ,mem_hci_cmd 
+475e 20600000 rtn 
+
+phci_sniff_subrating:
+475f 20204949 branch hci_normal_reply 
+
+phci_switch_role:
+4760 20404763 call phci_read_plap 
+4761 70427218 jam hci_cmd_role_switch ,mem_hci_cmd 
+4762 20204933 branch hci_command_status 
+
+phci_read_plap:
+4763 e8630000 ifetch 6 ,contru 
+4764 60034274 store 6 ,mem_hci_plap 
+4765 20600000 rtn 
+
+phci_read_handle:
+4766 e8610000 ifetch 2 ,contru 
+4767 6000c273 store 1 ,mem_hci_conn_handle 
+4768 20600000 rtn 
+
+phci_copy_handle:
+4769 20404766 call phci_read_handle 
+476a 2040496e call hci_get_cmd_complete_ptr 
+476b 6800c273 fetch 1 ,mem_hci_conn_handle 
+476c e1410000 istore 2 ,contwu 
+476d 20600000 rtn 
+
+phci_status_reply_temp:
+476e 20404766 call phci_read_handle 
+476f 20404933 call hci_command_status 
+4770 20404970 call hci_get_payload_ptr 
+4771 18007e00 force 0 ,pdata 
+4772 e1408000 istore 1 ,contwu 
+4773 6800c273 fetch 1 ,mem_hci_conn_handle 
+4774 e1410000 istore 2 ,contwu 
+4775 20600000 rtn 
+
+phci_read_clock:
+4776 e8610000 ifetch 2 ,contru 
+4777 9c40fe00 iadd clkn_bt ,pdata 
+4778 1fe17ffc and_into 0x1fc ,pdata 
+4779 600200f4 store 4 ,mem_page_clk 
+477a 20600000 rtn 
+
+hci_inquiry_reply:
+477b 793f8025 set0 mark_ext_patch ,mark 
+477c 44f0401c bpatch patch1c_0 ,mem_patch1c 
+477d 68008274 fetch 1 ,mem_rp_packets 
+477e 1fe67c02 sub pdata ,2 ,null 
+477f 24610000 nrtn positive 
+4780 680b0182 fetcht 6 ,extm_lap 
+4781 204032fc call context_search_plap2 
+4782 20628000 rtn zero 
+4783 20404972 call hci_get_packet_ptr 
+4784 58010f22 setarg 0x10f22 
+4785 e1418000 istore 3 ,contwu 
+4786 68030182 fetch 6 ,extm_lap 
+4787 e1430000 istore 6 ,contwu 
+4788 6800817d fetch 1 ,extm_fhs_misc 
+4789 1fe20400 copy pdata ,temp 
+478a 1fe97e00 rshift3 pdata ,pdata 
+478b 1fe97e00 rshift3 pdata ,pdata 
+478c e1408000 istore 1 ,contwu 
+478d 18427e00 copy temp ,pdata 
+478e 1fe17e30 and pdata ,0x30 ,pdata 
+478f 1fe97e00 rshift3 pdata ,pdata 
+4790 1fe37e00 rshift pdata ,pdata 
+4791 e1408000 istore 1 ,contwu 
+4792 6801817f fetch 3 ,extm_class 
+4793 e1418000 istore 3 ,contwu 
+4794 6802016f fetch 4 ,mem_clke_bt 
+4795 9c467e00 isub clkn_bt ,pdata 
+4796 e1410000 istore 2 ,contwu 
+4797 580000c8 setarg 0xc8 
+4798 e1408000 istore 1 ,contwu 
+4799 1800720f force 15 ,loopcnt 
+479a 20204959 branch hci_send_event_raw 
+
+hci_inquiry_reply_eir:
+479b 793f8025 set0 mark_ext_patch ,mark 
+479c 44f0c01c bpatch patch1c_1 ,mem_patch1c 
+479d 1800041c force 540 ,temp 
+479e 68010291 fetch 2 ,mem_h5tx_free 
+479f 98467c00 isub temp ,null 
+47a0 24610000 nrtn positive 
+47a1 68098286 fetcht 3 ,mem_extm_uap_restore 
+47a2 68018185 fetch 3 ,extm_uap 
+47a3 98467c00 isub temp ,null 
+47a4 20628000 rtn zero 
+47a5 207a0000 rtn blank 
+47a6 60018286 store 3 ,mem_extm_uap_restore 
+47a7 68008274 fetch 1 ,mem_rp_packets 
+47a8 1fe67c02 sub pdata ,2 ,null 
+47a9 24610000 nrtn positive 
+47aa 680b0182 fetcht 6 ,extm_lap 
+47ab 204032fc call context_search_plap2 
+47ac 20628000 rtn zero 
+47ad 204047cc call hci_eir_reply 
+47ae 1800040f force 15 ,temp 
+47af 680084df fetch 1 ,mem_rxbuf + 1 
+47b0 c084c7c5 bne 0x09 ,hci_inquiry_reply_eir_end 
+47b1 680084de fetch 1 ,mem_rxbuf 
+47b2 203a47c5 branch hci_inquiry_reply_eir_end ,blank 
+47b3 98007200 iforce loopcnt 
+47b4 e1408000 istore 1 ,contwu 
+47b5 98408400 iadd temp ,temp 
+47b6 18408401 increase 1 ,temp 
+47b7 d8c004df arg mem_rxbuf + 1 ,contr 
+
+hci_inquiry_name_loop:
+47b8 e8c08000 ifetch 1 ,contr 
+47b9 e1408000 istore 1 ,contwu 
+47ba c20047b8 loop hci_inquiry_name_loop 
+
+hci_inquiry_other_rtn_loop:
+47bb e8c08000 ifetch 1 ,contr 
+47bc 203a47c5 branch hci_inquiry_reply_eir_end ,blank 
+47bd 98007200 iforce loopcnt 
+47be e1408000 istore 1 ,contwu 
+47bf 98408400 iadd temp ,temp 
+47c0 18408401 increase 1 ,temp 
+
+hci_inquiry_other_loop:
+47c1 e8c08000 ifetch 1 ,contr 
+47c2 e1408000 istore 1 ,contwu 
+47c3 c20047c1 loop hci_inquiry_other_loop 
+47c4 202047bb branch hci_inquiry_other_rtn_loop 
+
+hci_inquiry_reply_eir_end:
+47c5 18467eff sub temp ,0xff ,pdata 
+47c6 98007200 iforce loopcnt 
+
+hci_inquiry_fill_zero:
+47c7 58000000 setarg 0x00 
+47c8 e1408000 istore 1 ,contwu 
+47c9 c20047c7 loop hci_inquiry_fill_zero 
+47ca 180072ff force 0xff ,loopcnt 
+47cb 20204959 branch hci_send_event_raw 
+
+hci_eir_reply:
+47cc 793f8025 set0 mark_ext_patch ,mark 
+47cd 44f1401c bpatch patch1c_2 ,mem_patch1c 
+47ce 20404972 call hci_get_packet_ptr 
+47cf 5801ff2f setarg 0x1ff2f 
+47d0 e1418000 istore 3 ,contwu 
+47d1 68030182 fetch 6 ,extm_lap 
+47d2 e1430000 istore 6 ,contwu 
+47d3 6800817d fetch 1 ,extm_fhs_misc 
+47d4 1fe20400 copy pdata ,temp 
+47d5 1fe97e00 rshift3 pdata ,pdata 
+47d6 1fe97e00 rshift3 pdata ,pdata 
+47d7 e1408000 istore 1 ,contwu 
+47d8 18427e00 copy temp ,pdata 
+47d9 1fe17e30 and pdata ,0x30 ,pdata 
+47da 1fe97e00 rshift3 pdata ,pdata 
+47db 1fe37e00 rshift pdata ,pdata 
+47dc e1408000 istore 1 ,contwu 
+47dd 6801817f fetch 3 ,extm_class 
+47de e1418000 istore 3 ,contwu 
+47df 6802016f fetch 4 ,mem_clke_bt 
+47e0 9c467e00 isub clkn_bt ,pdata 
+47e1 e1410000 istore 2 ,contwu 
+47e2 580000c8 setarg 0xc8 
+47e3 e1408000 istore 1 ,contwu 
+47e4 20600000 rtn 
+
+hci_send_remote_features:
+47e5 793f8025 set0 mark_ext_patch ,mark 
+47e6 44f1c01c bpatch patch1c_3 ,mem_patch1c 
+47e7 6800c132 fetch 1 ,mem_device_option 
+47e8 c1808000 rtnne dvc_op_hci 
+47e9 20404968 call hci_write_handle3 
+47ea e14c0000 istoret 8 ,contwu 
+47eb 1800720b force 11 ,loopcnt 
+47ec 18000e0b force hci_event_read_remote_features_complete ,queue 
+47ed 20204952 branch hci_send_event 
+
+hci_send_remote_ext_features_notification:
+47ee 793f8025 set0 mark_ext_patch ,mark 
+47ef 44f2401c bpatch patch1c_4 ,mem_patch1c 
+47f0 6800c132 fetch 1 ,mem_device_option 
+47f1 c1808000 rtnne dvc_op_hci 
+47f2 20404970 call hci_get_payload_ptr 
+47f3 68030040 fetch 6 ,mem_plap 
+47f4 e1430000 istore 6 ,contwu 
+47f5 e14c0000 istoret 8 ,contwu 
+47f6 1800720e force 14 ,loopcnt 
+47f7 18000e3d force hci_event_remote_host_supported_features_notification ,queue 
+47f8 20204952 branch hci_send_event 
+
+hci_send_remote_ext_features_event:
+47f9 793f8025 set0 mark_ext_patch ,mark 
+47fa 44f2c01c bpatch patch1c_5 ,mem_patch1c 
+47fb 6800c132 fetch 1 ,mem_device_option 
+47fc c1808000 rtnne dvc_op_hci 
+47fd 20404968 call hci_write_handle3 
+47fe 68008449 fetch 1 ,mem_ext_features_page 
+47ff e1408000 istore 1 ,contwu 
+4800 58000001 setarg 1 
+4801 e1408000 istore 1 ,contwu 
+4802 e14c0000 istoret 8 ,contwu 
+4803 1800720d force 13 ,loopcnt 
+4804 18000e23 force hci_event_read_remote_ext_features_complete ,queue 
+4805 20204952 branch hci_send_event 
+
+hci_send_version_information:
+4806 793f8025 set0 mark_ext_patch ,mark 
+4807 44f3401c bpatch patch1c_6 ,mem_patch1c 
+4808 6800c132 fetch 1 ,mem_device_option 
+4809 c1808000 rtnne dvc_op_hci 
+480a 20404968 call hci_write_handle3 
+480b e14a8000 istoret 5 ,contwu 
+480c 18007208 force 8 ,loopcnt 
+480d 18000e0c force hci_event_read_remote_version_information_complete ,queue 
+480e 20204952 branch hci_send_event 
+
+hci_send_io_cap_response_event:
+480f 793f8025 set0 mark_ext_patch ,mark 
+4810 44f3c01c bpatch patch1c_7 ,mem_patch1c 
+4811 6800c132 fetch 1 ,mem_device_option 
+4812 c1808000 rtnne dvc_op_hci 
+4813 20404970 call hci_get_payload_ptr 
+4814 68030040 fetch 6 ,mem_plap 
+4815 e1430000 istore 6 ,contwu 
+4816 680187e9 fetch 3 ,mem_sp_iocap_remote 
+4817 e1418000 istore 3 ,contwu 
+4818 18007209 force 9 ,loopcnt 
+4819 18000e32 force hci_event_io_cap_response ,queue 
+481a 20204952 branch hci_send_event 
+
+hci_send_io_cap_req_event:
+481b 793f8025 set0 mark_ext_patch ,mark 
+481c 44f4401d bpatch patch1d_0 ,mem_patch1d 
+481d 6800c132 fetch 1 ,mem_device_option 
+481e c1808000 rtnne dvc_op_hci 
+481f 20404970 call hci_get_payload_ptr 
+4820 68030040 fetch 6 ,mem_plap 
+4821 e1430000 istore 6 ,contwu 
+4822 18007206 force 6 ,loopcnt 
+4823 18000e31 force hci_event_io_cap_req ,queue 
+4824 20204952 branch hci_send_event 
+
+hci_send_connection_complete:
+4825 18000400 force 0 ,temp 
+
+hci_send_connection_error:
+4826 793f8025 set0 mark_ext_patch ,mark 
+4827 44f4c01d bpatch patch1d_1 ,mem_patch1d 
+4828 6800c132 fetch 1 ,mem_device_option 
+4829 c1808000 rtnne dvc_op_hci 
+482a 18000e03 force hci_event_connection_complete ,queue 
+482b 70480005 jam 5 ,mem_acl_credits 
+482c 20404970 call hci_get_payload_ptr 
+482d e1488000 istoret 1 ,contwu 
+482e 2040496b call hci_write_handle 
+482f 20404965 call hci_write_plap 
+4830 18007e01 force 1 ,pdata 
+4831 e1408000 istore 1 ,contwu 
+4832 18007e00 force 0 ,pdata 
+4833 6808804c fetcht 1 ,mem_state_map 
+4834 284ffe02 isolate1 smap_encryption ,temp 
+4835 7920fe00 setflag true ,0 ,pdata 
+4836 e1408000 istore 1 ,contwu 
+4837 1800720b force 11 ,loopcnt 
+4838 20204952 branch hci_send_event 
+
+hci_send_conn_req_event:
+4839 793f8025 set0 mark_ext_patch ,mark 
+483a 44f5401d bpatch patch1d_2 ,mem_patch1d 
+483b 6800c132 fetch 1 ,mem_device_option 
+483c c1808000 rtnne dvc_op_hci 
+483d 18000e04 force hci_event_connection_request ,queue 
+483e 20404970 call hci_get_payload_ptr 
+483f 20404965 call hci_write_plap 
+4840 6801817f fetch 3 ,extm_class 
+4841 e1418000 istore 3 ,contwu 
+4842 e1488000 istoret 1 ,contwu 
+4843 1800720a force 10 ,loopcnt 
+4844 20204952 branch hci_send_event 
+
+hci_send_encryption_change:
+4845 793f8025 set0 mark_ext_patch ,mark 
+4846 44f5c01d bpatch patch1d_3 ,mem_patch1d 
+4847 6800c132 fetch 1 ,mem_device_option 
+4848 c1808000 rtnne dvc_op_hci 
+4849 20404968 call hci_write_handle3 
+484a 18007e00 force 0 ,pdata 
+484b 6808804c fetcht 1 ,mem_state_map 
+484c 284ffe02 isolate1 smap_encryption ,temp 
+484d 7920fe00 setflag true ,0 ,pdata 
+484e e1408000 istore 1 ,contwu 
+484f 18000e08 force hci_event_encryption_change_complete ,queue 
+4850 18007204 force 4 ,loopcnt 
+4851 20204952 branch hci_send_event 
+
+hci_send_linkkey_notification:
+4852 793f8025 set0 mark_ext_patch ,mark 
+4853 44f6401d bpatch patch1d_4 ,mem_patch1d 
+4854 6800c132 fetch 1 ,mem_device_option 
+4855 c1808000 rtnne dvc_op_hci 
+4856 18000e18 force hci_event_link_key_notification ,queue 
+4857 20404970 call hci_get_payload_ptr 
+4858 20404965 call hci_write_plap 
+4859 d8c04262 arg mem_link_key ,contr 
+485a 18007210 force 16 ,loopcnt 
+485b 20404976 call uart_copy_tx_bytes 
+485c 18007e05 force 0x05 ,pdata 
+485d e1408000 istore 1 ,contwu 
+485e 18007217 force 0x17 ,loopcnt 
+485f 20204952 branch hci_send_event 
+
+hci_send_user_confirmation_req:
+4860 6800c132 fetch 1 ,mem_device_option 
+4861 c1808000 rtnne dvc_op_hci 
+4862 18000e33 force hci_event_user_confirmation_request ,queue 
+4863 20404970 call hci_get_payload_ptr 
+4864 20404965 call hci_write_plap 
+4865 680207ec fetch 4 ,mem_sp_gkey 
+4866 e1420000 istore 4 ,contwu 
+4867 1800720a force 0xa ,loopcnt 
+4868 20204952 branch hci_send_event 
+
+hci_send_ssp_complete:
+4869 6800c132 fetch 1 ,mem_device_option 
+486a c1808000 rtnne dvc_op_hci 
+486b 18000e36 force hci_event_simple_pairing_complete ,queue 
+486c 20404970 call hci_get_payload_ptr 
+486d 58000000 setarg 0 
+486e e1408000 istore 1 ,contwu 
+486f 20404965 call hci_write_plap 
+4870 18007207 force 0x7 ,loopcnt 
+4871 20204952 branch hci_send_event 
+
+hci_send_linkkey_req:
+4872 793f8025 set0 mark_ext_patch ,mark 
+4873 44f6c01d bpatch patch1d_5 ,mem_patch1d 
+4874 18000e17 force hci_event_link_key_request ,queue 
+
+hci_send_sec_req:
+4875 6800c132 fetch 1 ,mem_device_option 
+4876 c1808000 rtnne dvc_op_hci 
+4877 20404970 call hci_get_payload_ptr 
+4878 20404965 call hci_write_plap 
+4879 18007206 force 6 ,loopcnt 
+487a 20204952 branch hci_send_event 
+
+hci_send_pincode_req:
+487b 6800c132 fetch 1 ,mem_device_option 
+487c c1808000 rtnne dvc_op_hci 
+487d 18000e16 force hci_event_pin_code_request ,queue 
+487e 20204875 branch hci_send_sec_req 
+
+hci_send_role_change:
+487f 6800c132 fetch 1 ,mem_device_option 
+4880 c1808000 rtnne dvc_op_hci 
+4881 18000e12 force hci_event_role_change ,queue 
+4882 20404970 call hci_get_payload_ptr 
+4883 18007e00 force 0 ,pdata 
+4884 e1408000 istore 1 ,contwu 
+4885 20404965 call hci_write_plap 
+4886 e1488000 istoret 1 ,contwu 
+4887 18007208 force 8 ,loopcnt 
+4888 20204952 branch hci_send_event 
+
+hci_send_role_change_err:
+4889 6800c132 fetch 1 ,mem_device_option 
+488a c1808000 rtnne dvc_op_hci 
+488b 18000400 force 0 ,temp 
+488c 2434c88e nbranch hci_send_role_change_err_slave ,master 
+488d 18000401 force 1 ,temp 
+
+hci_send_role_change_err_slave:
+488e 6800c132 fetch 1 ,mem_device_option 
+488f c1808000 rtnne dvc_op_hci 
+4890 18000e12 force hci_event_role_change ,queue 
+4891 20404970 call hci_get_payload_ptr 
+4892 18007e35 force 0x35 ,pdata 
+4893 e1408000 istore 1 ,contwu 
+4894 20404965 call hci_write_plap 
+4895 e1488000 istoret 1 ,contwu 
+4896 18007208 force 8 ,loopcnt 
+4897 20204952 branch hci_send_event 
+
+hci_send_name:
+4898 793f8025 set0 mark_ext_patch ,mark 
+4899 44f7401d bpatch patch1d_6 ,mem_patch1d 
+489a 6800c132 fetch 1 ,mem_device_option 
+489b c1808000 rtnne dvc_op_hci 
+489c 20404972 call hci_get_packet_ptr 
+489d 5800ff07 setarg 0xff07 
+489e e1410000 istore 2 ,contwu 
+489f 18e27e00 deposit queue 
+48a0 e1408000 istore 1 ,contwu 
+48a1 20404965 call hci_write_plap 
+48a2 d8c00103 arg mem_tmp_buffer ,contr 
+48a3 180072f8 force 248 ,loopcnt 
+
+hci_read_remote_name_loop:
+48a4 e8c08000 ifetch 1 ,contr 
+48a5 e1408000 istore 1 ,contwu 
+48a6 c20048a4 loop hci_read_remote_name_loop 
+48a7 180072ff force 0xff ,loopcnt 
+48a8 20204959 branch hci_send_event_raw 
+
+hci_send_num_complete_packets:
+48a9 793f8025 set0 mark_ext_patch ,mark 
+48aa 44f7c01d bpatch patch1d_7 ,mem_patch1d 
+48ab 6800c132 fetch 1 ,mem_device_option 
+48ac c1808000 rtnne dvc_op_hci 
+48ad 6810810e hfetch 1 ,core_uart_txitems 
+48ae 247a0000 nrtn blank 
+48af 6800804b fetch 1 ,mem_op 
+48b0 c4038000 rtnbit0 op_pkt_comp 
+48b1 793ffe07 set0 op_pkt_comp ,pdata 
+48b2 6000804b store 1 ,mem_op 
+48b3 20404970 call hci_get_payload_ptr 
+48b4 18007e01 force 1 ,pdata 
+48b5 e1408000 istore 1 ,contwu 
+48b6 2040496b call hci_write_handle 
+48b7 18007e01 force 1 ,pdata 
+48b8 e1410000 istore 2 ,contwu 
+48b9 18000e13 force hci_event_num_completed_packets ,queue 
+48ba 18007205 force 5 ,loopcnt 
+48bb 20204952 branch hci_send_event 
+
+hci_send_auth_complete:
+48bc 793f8025 set0 mark_ext_patch ,mark 
+48bd 44f8401e bpatch patch1e_0 ,mem_patch1e 
+48be 6800c132 fetch 1 ,mem_device_option 
+48bf c1808000 rtnne dvc_op_hci 
+48c0 20404968 call hci_write_handle3 
+48c1 18000e06 force hci_event_authentication_complete ,queue 
+48c2 18007203 force 3 ,loopcnt 
+48c3 20204952 branch hci_send_event 
+
+hci_send_disconn_complete:
+48c4 793f8025 set0 mark_ext_patch ,mark 
+48c5 44f8c01e bpatch patch1e_1 ,mem_patch1e 
+48c6 6800c132 fetch 1 ,mem_device_option 
+48c7 c1808000 rtnne dvc_op_hci 
+48c8 20404970 call hci_get_payload_ptr 
+48c9 18007e00 force 0 ,pdata 
+48ca e1408000 istore 1 ,contwu 
+48cb e1490000 istoret 2 ,contwu 
+48cc 680082c0 fetch 1 ,mem_hci_disconn_reason 
+48cd e1408000 istore 1 ,contwu 
+48ce 18000e05 force hci_event_disconnection_complete ,queue 
+48cf 18007204 force 4 ,loopcnt 
+48d0 20204952 branch hci_send_event 
+
+hci_send_le_adv_report_event:
+48d1 793f8025 set0 mark_ext_patch ,mark 
+48d2 44f9401e bpatch patch1e_2 ,mem_patch1e 
+48d3 6800c132 fetch 1 ,mem_device_option 
+48d4 c1808000 rtnne dvc_op_hci ,pdata 
+48d5 20404970 call hci_get_payload_ptr 
+48d6 58000102 setarg 0x0102 
+48d7 e1410000 istore 2 ,contwu 
+48d8 68088340 fetcht 1 ,mem_le_rxbuf 
+48d9 18417e0f and temp ,0xf ,pdata 
+48da e1408000 istore 1 ,contwu 
+48db 1a227e00 copy rega ,pdata 
+48dc e1408000 istore 1 ,contwu 
+48dd 68088341 fetcht 1 ,mem_le_rxbuf + 1 
+48de 184085fa increase -6 ,temp 
+48df 68030342 fetch 6 ,mem_le_rxbuf + 2 
+48e0 e1430000 istore 6 ,contwu 
+48e1 e1488000 istoret 1 ,contwu 
+48e2 18427200 copy temp ,loopcnt 
+48e3 20404976 call uart_copy_tx_bytes 
+48e4 5800007f setarg 127 
+48e5 e1408000 istore 1 ,contwu 
+48e6 18427200 copy temp ,loopcnt 
+48e7 1f20f20c add loopcnt ,12 ,loopcnt 
+48e8 18000e3e force hci_event_le_meta_event ,queue 
+48e9 20204952 branch hci_send_event 
+
+hci_send_le_conn_complete:
+48ea 793f8025 set0 mark_ext_patch ,mark 
+48eb 44f9c01e bpatch patch1e_3 ,mem_patch1e 
+48ec 6800c132 fetch 1 ,mem_device_option 
+48ed c1808000 rtnne dvc_op_hci ,pdata 
+48ee 20404970 call hci_get_payload_ptr 
+48ef 58000001 setarg hci_le_subevent_conn_complete 
+48f0 e1408000 istore 1 ,contwu 
+48f1 e1488000 istoret 1 ,contwu 
+48f2 680083d6 fetch 1 ,mem_le_conn_handle 
+48f3 e1410000 istore 2 ,contwu 
+48f4 680083c1 fetch 1 ,mem_le_mode 
+48f5 1fe37e00 rshift pdata ,pdata 
+48f6 79407e00 setflip 0 ,pdata 
+48f7 e1408000 istore 1 ,contwu 
+48f8 6800c4e6 fetch 1 ,mem_le_conn_peer_addr_type 
+48f9 e1408000 istore 1 ,contwu 
+48fa 680303d0 fetch 6 ,mem_le_plap 
+48fb e1430000 istore 6 ,contwu 
+48fc 680143d0 fetch 2 ,mem_le_conn_interval 
+48fd e1410000 istore 2 ,contwu 
+48fe 680103ed fetch 2 ,mem_le_slave_latency 
+48ff e1410000 istore 2 ,contwu 
+4900 680103ef fetch 2 ,mem_le_superto 
+4901 e1410000 istore 2 ,contwu 
+4902 680083f8 fetch 1 ,mem_le_peer_sca 
+4903 e1408000 istore 1 ,contwu 
+4904 18000e3e force hci_event_le_meta_event ,queue 
+4905 df200013 arg 19 ,loopcnt 
+4906 20204952 branch hci_send_event 
+
+hci_send_mode_change:
+4907 793f8025 set0 mark_ext_patch ,mark 
+4908 44fa401e bpatch patch1e_4 ,mem_patch1e 
+4909 6800c132 fetch 1 ,mem_device_option 
+490a c1808000 rtnne dvc_op_hci 
+490b 20404970 call hci_get_payload_ptr 
+490c 20404968 call hci_write_handle3 
+490d e1488000 istoret 1 ,contwu 
+490e 68010032 fetch 2 ,mem_tsniff 
+490f 1fe37e00 rshift pdata ,pdata 
+4910 e1410000 istore 2 ,contwu 
+4911 18007206 force 6 ,loopcnt 
+4912 18000e14 force hci_event_mode_change ,queue 
+4913 20204952 branch hci_send_event 
+
+hci_send_sco_complete:
+4914 793f8025 set0 mark_ext_patch ,mark 
+4915 44fac01e bpatch patch1e_5 ,mem_patch1e 
+4916 6800c132 fetch 1 ,mem_device_option 
+4917 c1808000 rtnne dvc_op_hci 
+4918 793f8025 set0 mark_ext_patch ,mark 
+4919 44fb401e bpatch patch1e_6 ,mem_patch1e 
+491a 20404970 call hci_get_payload_ptr 
+491b e1488000 istoret 1 ,contwu 
+491c 58000e00 setarg 0xe00 
+491d e1410000 istore 2 ,contwu 
+491e 20404965 call hci_write_plap 
+491f 18007e00 force 0 ,pdata 
+4920 c503c924 bmark1 mark_esco ,hci_send_esco 
+4921 18007e00 force 0 ,pdata 
+4922 e1438000 istore 7 ,contwu 
+4923 2020492c branch hci_send_sco_cont 
+
+hci_send_esco:
+4924 6800c132 fetch 1 ,mem_device_option 
+4925 c1808000 rtnne dvc_op_hci 
+4926 58020602 setarg 0x020602 
+4927 e1418000 istore 3 ,contwu 
+4928 5800001e setarg 30 
+4929 e1410000 istore 2 ,contwu 
+492a 5800001e setarg 30 
+492b e1410000 istore 2 ,contwu 
+
+hci_send_sco_cont:
+492c 6800c132 fetch 1 ,mem_device_option 
+492d c1808000 rtnne dvc_op_hci 
+492e 680080ab fetch 1 ,mem_air_mode 
+492f e1408000 istore 1 ,contwu 
+4930 18000e2c force hci_event_sco_connection_complete ,queue 
+4931 18007211 force 17 ,loopcnt 
+4932 20204952 branch hci_send_event 
+
+hci_command_status:
+4933 793f8025 set0 mark_ext_patch ,mark 
+4934 44fbc01e bpatch patch1e_7 ,mem_patch1e 
+4935 20404970 call hci_get_payload_ptr 
+4936 58000100 setarg 0x100 
+4937 e1410000 istore 2 ,contwu 
+4938 1e027e00 deposit alarm 
+4939 e1410000 istore 2 ,contwu 
+493a 18007204 force 4 ,loopcnt 
+493b 18000e0f force hci_event_command_status ,queue 
+493c 20204952 branch hci_send_event 
+
+hci_command_status_err:
+493d 793f8025 set0 mark_ext_patch ,mark 
+493e 44fc401f bpatch patch1f_0 ,mem_patch1f 
+493f 20404970 call hci_get_payload_ptr 
+4940 1a227e00 deposit rega 
+4941 e1408000 istore 1 ,contwu 
+4942 58000001 setarg 0x01 
+4943 e1408000 istore 1 ,contwu 
+4944 1e027e00 deposit alarm 
+4945 e1410000 istore 2 ,contwu 
+4946 18007204 force 4 ,loopcnt 
+4947 18000e0f force hci_event_command_status ,queue 
+4948 20204952 branch hci_send_event 
+
+hci_normal_reply:
+4949 793f8025 set0 mark_ext_patch ,mark 
+494a 44fcc01f bpatch patch1f_1 ,mem_patch1f 
+494b 18007204 force 4 ,loopcnt 
+
+hci_command_complete:
+494c 20404970 call hci_get_payload_ptr 
+494d 18007e01 force 0x1 ,pdata 
+494e e1408000 istore 1 ,contwu 
+494f 1e027e00 deposit alarm 
+4950 e1418000 istore 3 ,contwu 
+4951 18000e0e force hci_event_command_complete ,queue 
+
+hci_send_event:
+4952 793f8025 set0 mark_ext_patch ,mark 
+4953 44fd401f bpatch patch1f_2 ,mem_patch1f 
+4954 20404972 call hci_get_packet_ptr 
+4955 18e27e00 deposit queue 
+4956 e1408000 istore 1 ,contwu 
+4957 1f227e00 deposit loopcnt 
+4958 e1408000 istore 1 ,contwu 
+
+hci_send_event_raw:
+4959 79200013 set1 mark_h5tx_rp ,mark 
+495a 18000e05 force 5 ,queue 
+495b 1f20f202 increase 2 ,loopcnt 
+
+hci_send_packet:
+495c 20404494 call hci_check_bcsp_protocol 
+495d 2020c378 branch bcsp_send_packet ,true 
+495e 20204422 branch h4_send_packet_event 
+
+hci_send_commu_ready_event:
+495f 18000eff force hci_event_vendor_specific ,queue 
+4960 20404970 call hci_get_payload_ptr 
+4961 58000001 setarg hci_vendor_event_commu_ready 
+4962 e1408000 istore 1 ,contwu 
+4963 18007201 force 1 ,loopcnt 
+4964 20204952 branch hci_send_event 
+
+hci_write_plap:
+4965 68030040 fetch 6 ,mem_plap 
+4966 e1430000 istore 6 ,contwu 
+4967 20600000 rtn 
+
+hci_write_handle3:
+4968 20404970 call hci_get_payload_ptr 
+4969 18007e00 force 0 ,pdata 
+496a e1408000 istore 1 ,contwu 
+
+hci_write_handle:
+496b 68008046 fetch 1 ,mem_conn_handle 
+496c e1410000 istore 2 ,contwu 
+496d 20600000 rtn 
+
+hci_get_cmd_complete_ptr:
+496e 1800140c force 12 ,contwu 
+496f 20204973 branch hci_get_tx_ptr 
+
+hci_get_payload_ptr:
+4970 18001408 force 8 ,contwu 
+4971 20204973 branch hci_get_tx_ptr 
+
+hci_get_packet_ptr:
+4972 18001406 force 6 ,contwu 
+
+hci_get_tx_ptr:
+4973 20404494 call hci_check_bcsp_protocol 
+4974 2020c3de branch bcsp_get_tx_ptr ,true 
+4975 2020441e branch h4_get_tx_ptr 
+
+uart_copy_tx_bytes:
+4976 1f227e00 deposit loopcnt 
+4977 207a0000 rtn blank 
+
+uart_copy_tx_bytes_loop:
+4978 e8c08000 ifetch 1 ,contr 
+4979 e1408000 istore 1 ,contwu 
+497a c2004978 loop uart_copy_tx_bytes_loop 
+497b 20600000 rtn 
+
+uart_copy_rx_bytes:
+497c 1f227e00 deposit loopcnt 
+497d 207a0000 rtn blank 
+
+uart_copy_rx_bytes_loop:
+497e e8608000 ifetch 1 ,contru 
+497f e0a08000 istore 1 ,contw 
+4980 c200497e loop uart_copy_rx_bytes_loop 
+4981 20600000 rtn 
+
+uart_write_bytes:
+4982 e1408000 istore 1 ,contwu 
+4983 1fecfe00 rshift8 pdata ,pdata 
+4984 c2004982 loop uart_write_bytes 
+4985 20600000 rtn 
+
+calc_tx_crc16:
+4986 7827fc00 pulse crc16 
+4987 7824fc00 enable enable_crc 
+
+crcloop:
+4988 e9408000 ifetch 1 ,contwu 
+4989 08008008 inject bucket ,8 
+498a c2004988 loop crcloop 
+498b 78247c00 enable enable_parity 
+498c 08008010 inject bucket ,16 
+498d 78447c00 disable enable_parity 
+498e 7844fc00 disable enable_crc 
+498f 7847fc00 disable crc16 
+4990 1ff0fe00 byteswap pdata ,pdata 
+4991 20600000 rtn 
+
+stop_loop:
+4992 20000001 nop 1 
+4993 70820301 hjam 1 ,0x8203 
+4994 20204992 branch stop_loop 
+
+process_cmd:
+4995 793f8025 set0 mark_ext_patch ,mark 
+4996 44fdc01f bpatch patch1f_3 ,mem_patch1f 
+4997 6800c272 fetch 1 ,mem_hci_cmd 
+4998 207a0000 rtn blank 
+4999 6800807c fetch 1 ,mem_lmo_opcode2 
+499a 247a0000 nrtn blank 
+499b 204049be call cmd_check_plap 
+499c 2422c9aa nbranch process_cmd_conn_handle ,zero 
+499d 6800c272 fetch 1 ,mem_hci_cmd 
+499e c001c9d4 beq hci_cmd_remote_name_req ,cmd_namereq 
+499f c004c9da beq hci_cmd_pair ,cmd_pair 
+49a0 c00549e6 beq hci_cmd_nopair ,cmd_nopair 
+49a1 c005c9ed beq hci_cmd_linkkey ,cmd_has_key 
+49a2 c00649f7 beq hci_cmd_nokey ,cmd_no_key 
+49a3 c0044a32 beq hci_cmd_reject_conn ,cmd_disconn 
+49a4 c00c49cc beq hci_cmd_role_switch ,cmd_role_switch 
+49a5 c003c9c6 beq hci_cmd_accept_conn ,cmd_accept_conn 
+49a6 c00cc9ca beq hci_cmd_accept_with_switch ,cmd_accept_with_switch 
+49a7 c00d4a53 beq hci_cmd_detach ,cmd_detach 
+49a8 c0094a19 beq hci_cmd_in_sniff ,cmd_in_sniff 
+49a9 c009ca28 beq hci_cmd_exit_sniff ,cmd_exit_sniff 
+
+process_cmd_conn_handle:
+49aa 793f8025 set0 mark_ext_patch ,mark 
+49ab 44fe401f bpatch patch1f_4 ,mem_patch1f 
+49ac 204049c2 call cmd_check_handle 
+49ad 247a0000 nrtn blank 
+49ae 6800c272 fetch 1 ,mem_hci_cmd 
+49af c006ca01 beq hci_cmd_auth ,cmd_auth 
+49b0 c007ca0b beq hci_cmd_startencrypt ,cmd_start_encrypt 
+49b1 c0074a0d beq hci_cmd_stopencrypt ,cmd_stop_encrypt 
+49b2 c0084a2a beq hci_cmd_setup_sco ,cmd_setup_sco 
+49b3 c008ca34 beq hci_cmd_disconn_sco ,cmd_disconn_sco 
+49b4 c00e4a38 beq hci_cmd_accept_sco_conn ,cmd_accept_sco_conn 
+49b5 c0024a0f beq hci_cmd_remote_feature_req ,cmd_feature_req 
+49b6 c00aca14 beq hci_cmd_remote_ext_features_req ,cmd_ext_feature_req 
+49b7 c00a4a17 beq hci_cmd_remote_version_req ,cmd_version_req 
+49b8 c00bca48 beq hci_cmd_role_discovery ,cmd_role_discovery 
+49b9 c00b4a51 beq hci_cmd_io_cap ,cmd_io_cap 
+49ba c1830000 rtnne hci_cmd_disconn 
+49bb 20405ed5 call lmp_disconnect 
+
+cmd_exit:
+49bc 70427200 jam 0 ,mem_hci_cmd 
+49bd 20600000 rtn 
+
+cmd_check_plap:
+49be 68034274 fetch 6 ,mem_hci_plap 
+49bf 680b0040 fetcht 6 ,mem_plap 
+49c0 98467c00 isub temp ,null 
+49c1 20600000 rtn 
+
+cmd_check_handle:
+49c2 6800c273 fetch 1 ,mem_hci_conn_handle 
+49c3 68088046 fetcht 1 ,mem_conn_handle 
+49c4 98467e00 isub temp ,pdata 
+49c5 20600000 rtn 
+
+cmd_accept_conn:
+49c6 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+49c7 70007d33 jam lmp_host_connection_req ,mem_lmi_opcode2 
+49c8 20406212 call tid_set_reply 
+49c9 202049bc branch cmd_exit 
+
+cmd_accept_with_switch:
+49ca 2034ca38 branch cmd_accept_sco_conn ,master 
+49cb 79200004 set1 mark_accept_switch ,mark 
+
+cmd_role_switch:
+49cc 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+49cd 79200003 set1 mark_switch_initiated ,mark 
+49ce 2434c9bc nbranch cmd_exit ,master 
+49cf 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+49d0 68008177 fetch 1 ,mem_connection_options 
+49d1 793ffe02 set0 connection_switch ,pdata 
+49d2 60008177 store 1 ,mem_connection_options 
+49d3 202049bc branch cmd_exit 
+
+cmd_namereq:
+49d4 70007c01 jam lmp_name_req ,mem_lmo_opcode2 
+49d5 70005300 jam 0 ,mem_name_offset 
+49d6 202049bc branch cmd_exit 
+
+cmd_ssp:
+49d7 7007dd01 jam sp_flag_commit ,mem_master_sp_flag 
+49d8 7007db12 jam sp_master_stat_start_skip ,mem_master_sp_state 
+49d9 202049bc branch cmd_exit 
+
+cmd_pair:
+49da 6800804b fetch 1 ,mem_op 
+49db c28149df bbit1 op_inrand_req ,cmd_pair_passive 
+49dc 20406209 call tid_initiate 
+49dd 70007c08 jam lmp_in_rand ,mem_lmo_opcode2 
+49de 202049bc branch cmd_exit 
+
+cmd_pair_passive:
+49df 793ffe02 set0 op_inrand_req ,pdata 
+49e0 6000804b store 1 ,mem_op 
+49e1 20405ed0 call lmp_accept_inrand 
+49e2 58000000 setarg 0 
+49e3 7934fe01 setflag master ,smap_lmptid ,pdata 
+49e4 6000807f store 1 ,mem_lmo_tid2 
+49e5 202049bc branch cmd_exit 
+
+cmd_nopair:
+49e6 70044618 jam pairing_not_allowed ,mem_disconn_reason_send 
+49e7 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+49e8 68008030 fetch 1 ,mem_state 
+49e9 c28049bc bbit1 state_inconn ,cmd_exit 
+49ea 18000418 force hci_error_pairing_not_allowed ,temp 
+49eb 20404826 call hci_send_connection_error 
+49ec 202049bc branch cmd_exit 
+
+cmd_has_key:
+49ed 2040321f call linkkey_set 
+49ee 6800804b fetch 1 ,mem_op 
+49ef c280ca08 bbit1 op_auth_req ,cmd_send_aurand 
+49f0 c28049f3 bbit1 op_send_sres ,cmd_send_sres 
+49f1 c28149df bbit1 op_inrand_req ,cmd_pair_passive 
+49f2 202049bc branch cmd_exit 
+
+cmd_send_sres:
+49f3 793ffe00 set0 op_send_sres ,pdata 
+49f4 6000804b store 1 ,mem_op 
+49f5 70007c0c jam lmp_sres ,mem_lmo_opcode2 
+49f6 202049bc branch cmd_exit 
+
+cmd_no_key:
+49f7 6800804b fetch 1 ,mem_op 
+49f8 c28049fb bbit1 op_send_sres ,cmd_no_key_reject 
+49f9 2040487b call hci_send_pincode_req 
+49fa 202049bc branch cmd_exit 
+
+cmd_no_key_reject:
+49fb 793ffe00 set0 op_send_sres ,pdata 
+49fc 6000804b store 1 ,mem_op 
+49fd 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+49fe 70007d0b jam lmp_au_rand ,mem_lmi_opcode2 
+49ff 70007e06 jam key_missing ,mem_lmo_reason2 
+4a00 202049bc branch cmd_exit 
+
+cmd_auth:
+4a01 6800804b fetch 1 ,mem_op 
+4a02 79207e01 set1 op_auth_req ,pdata 
+4a03 6000804b store 1 ,mem_op 
+4a04 68008030 fetch 1 ,mem_state 
+4a05 c283ca08 bbit1 state_linkkey ,cmd_auth_sendaurand 
+4a06 20404872 call hci_send_linkkey_req 
+4a07 202049bc branch cmd_exit 
+
+cmd_send_aurand:
+
+cmd_auth_sendaurand:
+4a08 20406209 call tid_initiate 
+4a09 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+4a0a 202049bc branch cmd_exit 
+
+cmd_start_encrypt:
+4a0b 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+4a0c 202049bc branch cmd_exit 
+
+cmd_stop_encrypt:
+4a0d 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+4a0e 202049bc branch cmd_exit 
+
+cmd_feature_req:
+4a0f 793f8025 set0 mark_ext_patch ,mark 
+4a10 44fec01f bpatch patch1f_5 ,mem_patch1f 
+4a11 70007c27 jam lmp_features_req ,mem_lmo_opcode2 
+4a12 70427250 jam hci_cmd_wait_remote_feature ,mem_hci_cmd 
+4a13 20600000 rtn 
+
+cmd_ext_feature_req:
+4a14 70007c83 jam lmp_ext_features_req ,mem_lmo_opcode2 
+4a15 70427251 jam hci_cmd_wait_remote_ext_feature ,mem_hci_cmd 
+4a16 20600000 rtn 
+
+cmd_version_req:
+4a17 70007c25 jam lmp_version_req ,mem_lmo_opcode2 
+4a18 202049bc branch cmd_exit 
+
+cmd_in_sniff:
+4a19 70007c17 jam lmp_sniff_req ,mem_lmo_opcode2 
+4a1a d8a00455 arg mem_sniff_payload ,contw 
+4a1b 58000000 setarg 0 
+4a1c 2d0ffe1b isolate1 27 ,clke_bt 
+4a1d 7920fe01 setflag true ,1 ,pdata 
+4a1e e0a08000 istore 1 ,contw 
+4a1f 58000000 setarg 0 
+4a20 e0a10000 istore 2 ,contw 
+4a21 68014280 fetch 2 ,mem_sniff_param_interval 
+4a22 e0a10000 istore 2 ,contw 
+4a23 6800c282 fetch 1 ,mem_sniff_param_attempt 
+4a24 e0a10000 istore 2 ,contw 
+4a25 6800c284 fetch 1 ,mem_sniff_param_timeout 
+4a26 e0a10000 istore 2 ,contw 
+4a27 202049bc branch cmd_exit 
+
+cmd_exit_sniff:
+4a28 70007c18 jam lmp_unsniff_req ,mem_lmo_opcode2 
+4a29 202049bc branch cmd_exit 
+
+cmd_setup_sco:
+4a2a 20403512 call new_conn_handle 
+4a2b 600080ad store 1 ,mem_sco_handle 
+4a2c 68008046 fetch 1 ,mem_conn_handle 
+4a2d 600080ac store 1 ,mem_sco_asso_handle 
+4a2e 70007c2b jam lmp_sco_link_req ,mem_lmo_opcode2 
+4a2f 79200007 set1 mark_esco ,mark 
+4a30 70007c8c jam lmp_ext_esco_link_req ,mem_lmo_opcode2 
+4a31 202049bc branch cmd_exit 
+
+cmd_disconn:
+4a32 20405ed5 call lmp_disconnect 
+4a33 202049bc branch cmd_exit 
+
+cmd_disconn_sco:
+4a34 70007c2c jam lmp_remove_sco_link_req ,mem_lmo_opcode2 
+4a35 c583c9bc bmark0 mark_esco ,cmd_exit 
+4a36 70007c8d jam lmp_ext_remove_esco_req ,mem_lmo_opcode2 
+4a37 202049bc branch cmd_exit 
+
+cmd_accept_sco_conn:
+4a38 2034ca41 branch cmd_accept_sco_conn_master ,master 
+4a39 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+4a3a 70007d2b jam lmp_sco_link_req ,mem_lmi_opcode2 
+4a3b c583c9bc bmark0 mark_esco ,cmd_exit 
+4a3c 680080b0 fetch 1 ,mem_esco_type 
+4a3d c083dc04 bne type_hv3 ,parse_lmpext_esco_link_req_change_param 
+4a3e 70007c81 jam lmp_ext_accepted ,mem_lmo_opcode2 
+4a3f 70007d8c jam lmp_ext_esco_link_req ,mem_lmi_opcode2 
+4a40 202049bc branch cmd_exit 
+
+cmd_accept_sco_conn_master:
+4a41 20403512 call new_conn_handle 
+4a42 600080ad store 1 ,mem_sco_handle 
+4a43 68008046 fetch 1 ,mem_conn_handle 
+4a44 600080ac store 1 ,mem_sco_asso_handle 
+4a45 70007c2b jam lmp_sco_link_req ,mem_lmo_opcode2 
+4a46 c583c9bc bmark0 mark_esco ,cmd_exit 
+4a47 20205c04 branch parse_lmpext_esco_link_req_change_param 
+
+cmd_role_discovery:
+4a48 2040496e call hci_get_cmd_complete_ptr 
+4a49 2040496b call hci_write_handle 
+4a4a 18007e00 force 0 ,pdata 
+4a4b 7d34fe00 nsetflag master ,0 ,pdata 
+4a4c e1408000 istore 1 ,contwu 
+4a4d 18007207 force 7 ,loopcnt 
+4a4e de000809 arg 0x809 ,alarm 
+4a4f 2040494c call hci_command_complete 
+4a50 202049bc branch cmd_exit 
+
+cmd_io_cap:
+4a51 70007c9a jam lmp_io_cap_res ,mem_lmo_opcode2 
+4a52 202049bc branch cmd_exit 
+
+cmd_detach:
+4a53 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+4a54 70044613 jam other_end_terminated ,mem_disconn_reason_send 
+4a55 202049bc branch cmd_exit 
+
+process_hci_patch:
+4a56 7002bc00 jam 0 ,mem_check_sum 
+4a57 e8608000 ifetch 1 ,contru 
+4a58 600082bb store 1 ,mem_ucode_id_remote 
+4a59 20404a6d call hci_ucode_checksum_add 
+4a5a 20407e00 call push_stack 
+4a5b 680082bb fetch 1 ,mem_ucode_id_remote 
+4a5c 1fe20400 copy pdata ,temp 
+4a5d 6800829f fetch 1 ,mem_ucode_id_local 
+4a5e 1fe0fe01 increase 1 ,pdata 
+4a5f a841fe00 icompare 0xff ,temp 
+4a60 2420ca77 nbranch hci_nak_ucode_with_stack ,true 
+4a61 6000829f store 1 ,mem_ucode_id_local 
+4a62 20407e0e call pop_stack 
+4a63 e8608000 ifetch 1 ,contru 
+4a64 c000cad8 beq 0x01 ,hci_enable_ucode_load 
+4a65 c0014aae beq 0x02 ,process_hci_ucode 
+4a66 c001cadf beq 0x03 ,hci_disable_ucode_load 
+4a67 c002cac3 beq 0x05 ,process_hci_n_sched_data 
+4a68 c0034a80 beq 0x06 ,hci_write_register 
+4a69 c003ca91 beq 0x07 ,hci_read_register 
+4a6a c0044aa8 beq 0x08 ,hci_enable_ucode 
+4a6b c004cae6 beq 0x09 ,hci_soft_branch 
+4a6c 20600000 rtn 
+
+hci_ucode_checksum_add:
+4a6d 1fe20400 copy pdata ,temp 
+4a6e 20407e00 call push_stack 
+4a6f 680082bc fetch 1 ,mem_check_sum 
+4a70 9840fe00 iadd temp ,pdata 
+4a71 600082bc store 1 ,mem_check_sum 
+4a72 20207e0e branch pop_stack 
+
+hci_ack_ucode:
+4a73 18007e01 force 1 ,pdata 
+4a74 204044b5 call uart_send_byte 
+4a75 6800829f fetch 1 ,mem_ucode_id_local 
+4a76 202044b5 branch uart_send_byte 
+
+hci_nak_ucode_with_stack:
+4a77 20407e0e call pop_stack 
+4a78 20204a7c branch hci_nak_ucode_ucode_id 
+
+hci_nak_ucode:
+4a79 6800829f fetch 1 ,mem_ucode_id_local 
+4a7a 1fe0ffff increase -1 ,pdata 
+4a7b 6000829f store 1 ,mem_ucode_id_local 
+
+hci_nak_ucode_ucode_id:
+4a7c 18007e00 force 0 ,pdata 
+4a7d 204044b5 call uart_send_byte 
+4a7e 6800829f fetch 1 ,mem_ucode_id_local 
+4a7f 202044b5 branch uart_send_byte 
+
+hci_write_register:
+4a80 20404a6d call hci_ucode_checksum_add 
+4a81 e8608000 ifetch 1 ,contru 
+4a82 600082bd store 1 ,mem_ucode_temp 
+4a83 20404a6d call hci_ucode_checksum_add 
+4a84 e8608000 ifetch 1 ,contru 
+4a85 1fed0a00 lshift8 pdata ,contw 
+4a86 20404a6d call hci_ucode_checksum_add 
+4a87 680082bd fetch 1 ,mem_ucode_temp 
+4a88 98a08a00 iadd contw ,contw 
+4a89 e8608000 ifetch 1 ,contru 
+4a8a e0a08000 istore 1 ,contw 
+4a8b 20404a6d call hci_ucode_checksum_add 
+4a8c e8608000 ifetch 1 ,contru 
+4a8d 20404a6d call hci_ucode_checksum_add 
+4a8e 680082bc fetch 1 ,mem_check_sum 
+4a8f c0ffca79 bne 0xff ,hci_nak_ucode 
+4a90 20204a73 branch hci_ack_ucode 
+
+hci_read_register:
+4a91 20404a6d call hci_ucode_checksum_add 
+4a92 e8608000 ifetch 1 ,contru 
+4a93 600082bd store 1 ,mem_ucode_temp 
+4a94 20404a6d call hci_ucode_checksum_add 
+4a95 e8608000 ifetch 1 ,contru 
+4a96 600082be store 1 ,mem_ucode_temp1 
+4a97 20404a6d call hci_ucode_checksum_add 
+4a98 e8608000 ifetch 1 ,contru 
+4a99 20404a6d call hci_ucode_checksum_add 
+4a9a 680082bc fetch 1 ,mem_check_sum 
+4a9b c0ffca79 bne 0xff ,hci_nak_ucode 
+4a9c 680082be fetch 1 ,mem_ucode_temp1 
+4a9d 1fed0400 lshift8 pdata ,temp 
+4a9e 680082bd fetch 1 ,mem_ucode_temp 
+4a9f 98408600 iadd temp ,contru 
+4aa0 e8608000 ifetch 1 ,contru 
+4aa1 600082bd store 1 ,mem_ucode_temp 
+
+hci_read_register_ack:
+4aa2 18007e01 force 1 ,pdata 
+4aa3 204044b5 call uart_send_byte 
+4aa4 680082bd fetch 1 ,mem_ucode_temp 
+4aa5 204044b5 call uart_send_byte 
+4aa6 70029fff jam 0xff ,mem_ucode_id_local 
+4aa7 20600000 rtn 
+
+hci_enable_ucode:
+4aa8 20404a6d call hci_ucode_checksum_add 
+4aa9 e8608000 ifetch 1 ,contru 
+4aaa 20404a6d call hci_ucode_checksum_add 
+4aab 680082bc fetch 1 ,mem_check_sum 
+4aac c0ffca79 bne 0xff ,hci_nak_ucode 
+4aad 20204a73 branch hci_ack_ucode 
+
+process_hci_ucode:
+4aae 20404a6d call hci_ucode_checksum_add 
+4aaf e8608000 ifetch 1 ,contru 
+4ab0 60108024 hstore 1 ,core_ucode_low 
+4ab1 20404a6d call hci_ucode_checksum_add 
+4ab2 e8608000 ifetch 1 ,contru 
+4ab3 79207e07 set1 7 ,pdata 
+4ab4 60108023 hstore 1 ,core_ucode_ctrl 
+4ab5 793ffe07 set0 7 ,pdata 
+4ab6 20404a6d call hci_ucode_checksum_add 
+4ab7 e8608000 ifetch 1 ,contru 
+4ab8 1fe27200 copy pdata ,loopcnt 
+4ab9 20404a6d call hci_ucode_checksum_add 
+
+write_ucode_loop:
+4aba e8608000 ifetch 1 ,contru 
+4abb 60108025 hstore 1 ,core_ucode_data 
+4abc 20404a6d call hci_ucode_checksum_add 
+4abd c2004aba loop write_ucode_loop 
+4abe e8608000 ifetch 1 ,contru 
+4abf 20404a6d call hci_ucode_checksum_add 
+4ac0 680082bc fetch 1 ,mem_check_sum 
+4ac1 c0ffca79 bne 0xff ,hci_nak_ucode 
+4ac2 20204a73 branch hci_ack_ucode 
+
+process_hci_n_sched_data:
+4ac3 20404a6d call hci_ucode_checksum_add 
+4ac4 e8608000 ifetch 1 ,contru 
+4ac5 600082bd store 1 ,mem_ucode_temp 
+4ac6 20404a6d call hci_ucode_checksum_add 
+4ac7 e8608000 ifetch 1 ,contru 
+4ac8 1fed0a00 lshift8 pdata ,contw 
+4ac9 20404a6d call hci_ucode_checksum_add 
+4aca 680082bd fetch 1 ,mem_ucode_temp 
+4acb 98a08a00 iadd contw ,contw 
+4acc e8608000 ifetch 1 ,contru 
+4acd 98007200 iforce loopcnt 
+4ace 20404a6d call hci_ucode_checksum_add 
+
+process_hci_n_sched_loop:
+4acf e8608000 ifetch 1 ,contru 
+4ad0 e0a08000 istore 1 ,contw 
+4ad1 20404a6d call hci_ucode_checksum_add 
+4ad2 c2004acf loop process_hci_n_sched_loop 
+4ad3 e8608000 ifetch 1 ,contru 
+4ad4 20404a6d call hci_ucode_checksum_add 
+4ad5 680082bc fetch 1 ,mem_check_sum 
+4ad6 c0ffca79 bne 0xff ,hci_nak_ucode 
+4ad7 20204a73 branch hci_ack_ucode 
+
+hci_enable_ucode_load:
+4ad8 20404a6d call hci_ucode_checksum_add 
+4ad9 e8608000 ifetch 1 ,contru 
+4ada 20404a6d call hci_ucode_checksum_add 
+4adb 680082bc fetch 1 ,mem_check_sum 
+4adc c0ffca79 bne 0xff ,hci_nak_ucode 
+4add 70802380 hjam 0x80 ,core_ucode_ctrl 
+4ade 20204a73 branch hci_ack_ucode 
+
+hci_disable_ucode_load:
+4adf 20404a6d call hci_ucode_checksum_add 
+4ae0 e8608000 ifetch 1 ,contru 
+4ae1 20404a6d call hci_ucode_checksum_add 
+4ae2 680082bc fetch 1 ,mem_check_sum 
+4ae3 c0ffca79 bne 0xff ,hci_nak_ucode 
+4ae4 70802300 hjam 0 ,core_ucode_ctrl 
+4ae5 20204a73 branch hci_ack_ucode 
+
+hci_soft_branch:
+4ae6 20404a6d call hci_ucode_checksum_add 
+4ae7 e8608000 ifetch 1 ,contru 
+4ae8 20404a6d call hci_ucode_checksum_add 
+4ae9 680082bc fetch 1 ,mem_check_sum 
+4aea c0ffca79 bne 0xff ,hci_nak_ucode 
+4aeb 20404a73 call hci_ack_ucode 
+4aec 20203001 branch soft_reset 
+
+hci_idle_dispatch:
+4aed 20406a8b call gpio_check_uart_state 
+4aee 20608000 rtn true 
+4aef d8400007 arg uart_wakeup_rx ,temp 
+4af0 204069e5 call gpio_get_bit 
+4af1 2420caf4 nbranch uart_wake_up ,true 
+4af2 7042ae01 jam hci_rx_wake ,mem_hci_lt_rx_state 
+4af3 20600000 rtn 
+
+uart_wake_up:
+4af4 6800c2ae fetch 1 ,mem_hci_lt_rx_state 
+4af5 c1808000 rtnne hci_rx_wake 
+4af6 20404599 call hci_exit_lpm 
+4af7 2020495f branch hci_send_commu_ready_event 
+
+hid_rx_process:
+4af8 79200025 set1 mark_ext_patch ,mark 
+4af9 44ce4033 bpatch patch33_4 ,mem_patch33 
+4afa 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+4afb 1fe20c00 copy pdata ,contr 
+4afc e8c08000 ifetch 1 ,contr 
+4afd 1fe1040f and pdata ,0x0f ,temp 
+4afe 1ff1fe00 rshift4 pdata ,pdata 
+4aff c004cb18 beq hid_type_set_idle ,hid_rx_process_handshake 
+4b00 c003cb18 beq hid_type_set_protocol ,hid_rx_process_handshake 
+4b01 c0054b24 beq hid_type_data ,hid_rx_process_data 
+4b02 c002cb11 beq hid_type_set_report ,hid_rx_process_set_report 
+4b03 c000cb05 beq hid_type_control ,hid_rx_process_hid_control 
+4b04 20600000 rtn 
+
+hid_rx_process_hid_control:
+4b05 18427e00 copy temp ,pdata 
+4b06 c002cb09 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+4b07 c001cb10 beq hid_control_p_suspend ,hid_rx_process_suspend 
+4b08 20600000 rtn 
+
+hid_rx_process_virtual_cable_unplug:
+4b09 700b7d27 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+4b0a 20407c27 call ui_ipc_send_event 
+4b0b 6800c132 fetch 1 ,mem_device_option 
+4b0c c1830000 rtnne dvc_op_mouse ,pdata 
+4b0d 18427e00 copy temp ,pdata 
+4b0e c002e946 beq hid_control_p_virtualcableunplug ,eeprom_erase_reconn_info 
+4b0f 20600000 rtn 
+
+hid_rx_process_suspend:
+4b10 20600000 rtn 
+
+hid_rx_process_set_report:
+4b11 da200001 arg 0x01 ,rega 
+4b12 20404b2c call hid_malloc_tx_buff 
+4b13 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+4b14 e0a10000 istore 2 ,contw 
+4b15 58000000 setarg 0x00 
+4b16 e0a08000 istore 1 ,contw 
+4b17 20600000 rtn 
+
+hid_rx_process_handshake:
+4b18 da200001 arg 1 ,rega 
+4b19 20404b2c call hid_malloc_tx_buff 
+4b1a 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+4b1b e0a10000 istore 2 ,contw 
+4b1c 58000000 setarg 0 
+4b1d e0a08000 istore 1 ,contw 
+4b1e 7008a801 jam 1 ,mem_ui_data_txbuff_length 
+4b1f 6800c2bb fetch 1 ,mem_hid_control_state 
+4b20 79207e06 set1 l2cap_channel_hid_handshake_done 
+4b21 6000c2bb store 1 ,mem_hid_control_state 
+
+hid_handshake_event:
+4b22 700b7d12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+4b23 20207c27 branch ui_ipc_send_event 
+
+hid_rx_process_data:
+4b24 e8c08000 ifetch 1 ,contr 
+4b25 c000cb27 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+4b26 20600000 rtn 
+
+hid_rx_process_data_hid_kb:
+4b27 18c22200 copy contr ,rega 
+4b28 6800c132 fetch 1 ,mem_device_option 
+4b29 c1818000 rtnne dvc_op_kb ,pdata 
+4b2a 1a220c00 copy rega ,contr 
+4b2b 20204c4a branch kb_process_kb_report 
+
+hid_malloc_tx_buff:
+4b2c 20405248 call l2cap_malloc 
+4b2d 1a220400 copy rega ,temp 
+4b2e 600888a8 storet 1 ,mem_ui_data_txbuff_length 
+4b2f 1fe20a00 copy pdata ,contw 
+4b30 1a227e00 copy rega ,pdata 
+4b31 e0a10000 istore 2 ,contw 
+4b32 20600000 rtn 
+
+le_ir_init:
+4b33 58004b5b setarg le_ir 
+4b34 6001428c store 2 ,mem_cb_le_process 
+4b35 58004b44 setarg le_ir_wcb 
+4b36 60014296 store 2 ,mem_cb_att_write 
+4b37 2040691d call eeprom_load_reconn_info 
+4b38 20405347 call le_init_att 
+4b39 7080a29e hjam 158 ,core_pwm_ncnt0 
+4b3a 70808108 hjam 8 ,core_gpio_sel1 
+4b3b 70807505 hjam 5 ,core_gpio_out1 
+4b3c 5fffffff setarg -1 
+4b3d 793ffe01 set0 1 ,pdata 
+4b3e 793ffe15 set0 21 ,pdata 
+4b3f 60120070 hstore 4 ,core_gpio_oe0 
+4b40 70807802 hjam 2 ,core_gpio_pu0 
+4b41 20758000 rtn wake 
+4b42 7043d801 jam 1 ,mem_le_adv_enable 
+4b43 20600000 rtn 
+
+le_ir_wcb:
+4b44 ea208000 ifetch 1 ,rega 
+4b45 6000c803 store 1 ,mem_ir_cmd 
+4b46 c001cb4f beq ircmd_write_pulse ,le_ir_write_pulse 
+4b47 c0024b51 beq ircmd_write_seq ,le_ir_write_seq 
+4b48 c002cb53 beq ircmd_write_next ,le_ir_write_next 
+4b49 c00a4b64 beq ircmd_screen_on ,le_ir_screen_on 
+4b4a c00acb67 beq ircmd_screen_off ,le_ir_screen_off 
+4b4b c1810000 rtnne ircmd_play 
+4b4c e8c08000 ifetch 1 ,contr 
+4b4d 6000c804 store 1 ,mem_ir_play_count 
+4b4e 20600000 rtn 
+
+le_ir_write_pulse:
+4b4f d8a04807 arg mem_ir_pulse_zero ,contw 
+4b50 20204b55 branch le_ir_write 
+
+le_ir_write_seq:
+4b51 d8a04825 arg mem_ir_sequence_len ,contw 
+4b52 20204b55 branch le_ir_write 
+
+le_ir_write_next:
+4b53 68014800 fetch 2 ,mem_ir_ptr 
+4b54 98000a00 iforce contw 
+
+le_ir_write:
+4b55 df200013 arg 19 ,loopcnt 
+4b56 20407e45 call memcpy 
+4b57 18a27e00 deposit contw 
+4b58 60014800 store 2 ,mem_ir_ptr 
+4b59 70480300 jam 0 ,mem_ir_cmd 
+4b5a 20600000 rtn 
+
+le_ir:
+4b5b 6800c803 fetch 1 ,mem_ir_cmd 
+4b5c c000cb71 beq ircmd_record ,le_ir_start_record 
+4b5d c0014b8d beq ircmd_play ,le_ir_play 
+4b5e c0054b7a beq ircmd_report_pulse ,le_ir_report 
+4b5f c005cb7a beq ircmd_report_seq ,le_ir_report 
+4b60 c0064b7a beq ircmd_report_raw ,le_ir_report 
+4b61 c0044b8d beq ircmd_test_play ,le_ir_play 
+4b62 c004cb6a beq ircmd_test_rec ,le_ir_rec 
+4b63 20600000 rtn 
+
+le_ir_screen_on:
+4b64 70421300 jam 0 ,mem_lpm_mult 
+4b65 70480300 jam 0 ,mem_ir_cmd 
+4b66 20600000 rtn 
+
+le_ir_screen_off:
+4b67 7042131e jam 30 ,mem_lpm_mult 
+4b68 70480300 jam 0 ,mem_ir_cmd 
+4b69 20600000 rtn 
+
+le_ir_rec:
+4b6a 70480300 jam 0 ,mem_ir_cmd 
+4b6b db6fffff arg 0xfffff ,stop_watch 
+4b6c 20404b91 call ir_record 
+4b6d 20600000 rtn 
+
+le_ir_next_anchor:
+4b6e 680903c2 fetcht 2 ,mem_le_tsniff 
+4b6f 9840fe00 iadd temp ,pdata 
+4b70 600203c4 store 4 ,mem_le_anchor 
+
+le_ir_start_record:
+4b71 680203c4 fetch 4 ,mem_le_anchor 
+4b72 9d067e00 isub clke_bt ,pdata 
+4b73 24214b6e nbranch le_ir_next_anchor ,positive 
+4b74 1fe33600 rshift pdata ,stop_watch 
+4b75 20404b91 call ir_record 
+4b76 207a0000 rtn blank 
+4b77 7048030c jam ircmd_report_raw ,mem_ir_cmd 
+4b78 d8401800 arg mem_ir_record ,temp 
+4b79 60094800 storet 2 ,mem_ir_ptr 
+
+le_ir_report:
+4b7a 2040561c call le_xtype_fifo_is_full 
+4b7b 247a0000 nrtn blank 
+4b7c 7044c214 jam notify_handle ,mem_le_notify_handle 
+4b7d 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+4b7e 20405620 call le_xtype_fifo_in 
+4b7f 68010419 fetch 2 ,mem_le_notify_attr_start 
+4b80 98000a00 iforce contw 
+4b81 68014800 fetch 2 ,mem_ir_ptr 
+4b82 98000c00 iforce contr 
+4b83 df200014 arg 20 ,loopcnt 
+4b84 20407e45 call memcpy 
+4b85 18c27e00 deposit contr 
+4b86 60014800 store 2 ,mem_ir_ptr 
+4b87 68014805 fetch 2 ,mem_ir_report_len 
+4b88 1fe0ffec increase -20 ,pdata 
+4b89 60014805 store 2 ,mem_ir_report_len 
+4b8a 20610000 rtn positive 
+4b8b 70480300 jam 0 ,mem_ir_cmd 
+4b8c 20600000 rtn 
+
+le_ir_play:
+4b8d 6800c804 fetch 1 ,mem_ir_play_count 
+4b8e 20404be2 call ir_play 
+4b8f 70480300 jam 0 ,mem_ir_cmd 
+4b90 20600000 rtn 
+
+ir_record:
+4b91 20404b97 call ir_receive 
+4b92 58001800 setarg mem_ir_record 
+4b93 98a67e00 isub contw ,pdata 
+4b94 1fe67e00 sub pdata ,0 ,pdata 
+4b95 60014805 store 2 ,mem_ir_report_len 
+4b96 20600000 rtn 
+
+ir_receive:
+4b97 78487c00 disable swfine 
+4b98 d8a01800 arg mem_ir_record ,contw 
+
+ir_receive_waitsync:
+4b99 20618000 rtn timeout 
+4b9a 6810811e hfetch 1 ,core_gpio_in + 2 
+4b9b c302cb99 bbit0 5 ,ir_receive_waitsync 
+4b9c 1b220400 copy clkn ,temp 
+4b9d df200080 arg 0x80 ,loopcnt 
+4b9e 20407e3b call memset0 
+4b9f d8a01800 arg mem_ir_record ,contw 
+4ba0 da600000 arg 0x0 ,regc 
+
+ir_receive_loop:
+4ba1 db6000b4 arg 180 ,stop_watch 
+
+ir_receive_waitedge:
+4ba2 20618000 rtn timeout 
+4ba3 6810811e hfetch 1 ,core_gpio_in + 2 
+4ba4 9a62fe00 ixor regc ,pdata 
+4ba5 c282cba2 bbit1 5 ,ir_receive_waitedge 
+4ba6 1b227e00 copy clkn ,pdata 
+4ba7 98006000 iforce alarm 
+4ba8 20407e78 call clk_diff_rt 
+4ba9 1fe67cff sub pdata ,0xff ,null 
+4baa 20214ba2 branch ir_receive_waitedge ,positive 
+4bab 2a6c0005 isolate0 5 ,regc 
+4bac 7920fe17 setflag true ,23 ,pdata 
+4bad e0a18000 istore 3 ,contw 
+4bae 18acfe00 rshift8 contw ,pdata 
+4baf c10e0000 rtneq mem_ir_record_max 
+4bb0 1e020400 copy alarm ,temp 
+4bb1 1a62a620 xor_into 0x20 ,regc 
+4bb2 20204ba1 branch ir_receive_loop 
+
+ir_get_next_seq:
+4bb3 20344bc7 branch ir_get_next_seq_saved ,user 
+4bb4 20364bca branch ir_get_next_encoded ,user2 
+
+ir_get_next_seq_fetch:
+4bb5 d8404826 arg mem_ir_sequence ,temp 
+4bb6 6800c825 fetch 1 ,mem_ir_sequence_len 
+4bb7 9840fe00 iadd temp ,pdata 
+4bb8 9a267c00 isub rega ,null 
+4bb9 2022cbda branch ir_get_next_seq_exit ,zero 
+4bba ea208000 ifetch 1 ,rega 
+4bbb 18c22200 copy contr ,rega 
+4bbc c303cbc1 bbit0 7 ,ir_get_next_cont 
+4bbd 78367c00 enable user2 
+4bbe 1fe1247f and pdata ,0x7f ,regb 
+4bbf 1a29a200 lshift3 rega ,rega 
+4bc0 20204bca branch ir_get_next_encoded 
+
+ir_get_next_cont:
+4bc1 1ff19000 rshift4 pdata ,debug 
+4bc2 1fe17e0f and_into 0xf ,pdata 
+4bc3 99067c00 isub debug ,null 
+4bc4 20628000 rtn zero 
+4bc5 78347c00 enable user 
+4bc6 20600000 rtn 
+
+ir_get_next_seq_saved:
+4bc7 19027e00 deposit debug 
+4bc8 78547c00 disable user 
+4bc9 20600000 rtn 
+
+ir_get_next_encoded:
+4bca 1a427e00 deposit regb 
+4bcb 203a4bd6 branch ir_get_next_encoded_end ,blank 
+4bcc 1a210e07 and rega ,0x7 ,queue 
+4bcd 1a290c00 rshift3 rega ,contr 
+4bce e8c08000 ifetch 1 ,contr 
+4bcf 1a20a201 increase 1 ,rega 
+4bd0 1a40a5ff increase -1 ,regb 
+4bd1 afec0000 qisolate0 pdata 
+4bd2 6800c807 fetch 1 ,mem_ir_pulse_zero 
+4bd3 2020cbc1 branch ir_get_next_cont ,true 
+4bd4 6800c808 fetch 1 ,mem_ir_pulse_one 
+4bd5 20204bc1 branch ir_get_next_cont 
+
+ir_get_next_encoded_end:
+4bd6 78567c00 disable user2 
+4bd7 1a20a207 increase 7 ,rega 
+4bd8 1a292200 rshift3 rega ,rega 
+4bd9 20204bb5 branch ir_get_next_seq_fetch 
+
+ir_get_next_seq_exit:
+4bda 580000ff setarg 0xff 
+4bdb 20600000 rtn 
+
+ir_get_pulse:
+4bdc 1fe38c00 lshift pdata ,contr 
+4bdd 98c0fe00 iadd contr ,pdata 
+4bde d8c04809 arg mem_ir_pulses ,contr 
+4bdf 98c08c00 iadd contr ,contr 
+4be0 e8c18000 ifetch 3 ,contr 
+4be1 20600000 rtn 
+
+ir_play:
+4be2 78287c00 enable swfine 
+4be3 98007200 iforce loopcnt 
+
+ir_play_nloop:
+4be4 78547c00 disable user 
+4be5 78567c00 disable user2 
+4be6 da204826 arg mem_ir_sequence ,rega 
+
+ir_play_loop:
+4be7 20404bb3 call ir_get_next_seq 
+4be8 c07fcbf1 beq 0xff ,ir_play_end 
+4be9 20404bdc call ir_get_pulse 
+4bea c30bcbed bbit0 23 ,ir_play_silence 
+4beb 793ffe17 set0 23 ,pdata 
+4bec 7080a09e hjam 158 ,core_pwm_pcnt0 
+
+ir_play_silence:
+4bed 98003600 iforce stop_watch 
+4bee 37c18200 until null ,timeout 
+4bef 7080a000 hjam 0 ,core_pwm_pcnt0 
+4bf0 20204be7 branch ir_play_loop 
+
+ir_play_end:
+4bf1 c2004be4 loop ir_play_nloop 
+4bf2 20600000 rtn 
+
+le_kb_init:
+4bf3 20404c21 call kb_init_common 
+4bf4 58004d21 setarg kb_process_idle 
+4bf5 60014290 store 2 ,mem_cb_idle_process 
+4bf6 58004c59 setarg kb_send_process 
+4bf7 6001428e store 2 ,mem_cb_bt_process 
+4bf8 58004d37 setarg kb_process_bb_event 
+4bf9 60014292 store 2 ,mem_cb_bb_event_process 
+4bfa 58004d7e setarg kb_process_lpm_before 
+4bfb 6001428a store 2 ,mem_cb_before_lpm 
+4bfc 58004d7b setarg kb_discovery_timeout_sleep 
+4bfd 60014294 store 2 ,mem_cb_discovry_timeout 
+4bfe 58004d7e setarg kb_before_hibernate 
+4bff 60014288 store 2 ,mem_cb_before_hibernate 
+4c00 58004d22 setarg kb_wakeup_check 
+4c01 60014286 store 2 ,mem_cb_check_wakelock 
+4c02 20758000 rtn wake 
+4c03 680147f4 fetch 2 ,mem_ui_state_map 
+4c04 c2863f79 bbit1 ui_state_btn_down ,app_bt_start_discovery_short 
+4c05 20403f23 call app_check_reconn_target 
+4c06 203a4d79 branch kb_start_discovery ,blank 
+4c07 20403f7e call app_bt_stop_discovery 
+4c08 20203f6e branch app_bt_start_reconnect 
+
+kb_init:
+4c09 20404c21 call kb_init_common 
+4c0a 58004d21 setarg kb_process_idle 
+4c0b 60014290 store 2 ,mem_cb_idle_process 
+4c0c 58004c59 setarg kb_send_process 
+4c0d 6001428e store 2 ,mem_cb_bt_process 
+4c0e 58004d37 setarg kb_process_bb_event 
+4c0f 60014292 store 2 ,mem_cb_bb_event_process 
+4c10 58004d7e setarg kb_process_lpm_before 
+4c11 6001428a store 2 ,mem_cb_before_lpm 
+4c12 58004d7b setarg kb_discovery_timeout_sleep 
+4c13 60014294 store 2 ,mem_cb_discovry_timeout 
+4c14 58004d7e setarg kb_before_hibernate 
+4c15 60014288 store 2 ,mem_cb_before_hibernate 
+4c16 58004d22 setarg kb_wakeup_check 
+4c17 60014286 store 2 ,mem_cb_check_wakelock 
+4c18 20758000 rtn wake 
+4c19 7007dc00 jam 0 ,mem_sp_flag 
+4c1a 7007dd00 jam 0 ,mem_master_sp_flag 
+4c1b 680147f4 fetch 2 ,mem_ui_state_map 
+4c1c c2863f79 bbit1 ui_state_btn_down ,app_bt_start_discovery_short 
+4c1d 20403f23 call app_check_reconn_target 
+4c1e 203a4d79 branch kb_start_discovery ,blank 
+4c1f 20403f7e call app_bt_stop_discovery 
+4c20 20203f6e branch app_bt_start_reconnect 
+
+kb_init_common:
+4c21 79200025 set1 mark_ext_patch ,mark 
+4c22 44db4036 bpatch patch36_6 ,mem_patch36 
+4c23 68008140 fetch 1 ,0x8140 
+4c24 203a3bf1 branch assert ,blank 
+4c25 70807000 hjam 0 ,core_gpio_oe0 
+4c26 708078ff hjam 0xff ,core_gpio_pu0 
+4c27 708071ff hjam 0xff ,core_gpio_oe1 
+4c28 708072ff hjam 0xff ,core_gpio_oe2 
+4c29 68108073 hfetch 1 ,core_gpio_oe3 
+4c2a 1fe1fe0f or_into 0x0f ,pdata 
+4c2b 60108073 hstore 1 ,core_gpio_oe3 
+4c2c 70808000 hjam 0x00 ,core_gpio_sel 
+4c2d 70808100 hjam 0x00 ,core_gpio_sel1 
+4c2e 708083ff hjam 0xff ,core_gpio_key0 
+4c2f 708084ff hjam 0xFf ,core_gpio_key1 
+4c30 68108085 hfetch 1 ,core_gpio_key2 
+4c31 1fe1fe03 or_into 0x03 ,pdata 
+4c32 60108085 hstore 1 ,core_gpio_key2 
+4c33 70806f00 hjam 0x00 ,core_kscn_rowmask 
+4c34 58000013 setarg kb_kscan_col_1 
+4c35 1fe9fe00 lshift3 pdata ,pdata 
+4c36 1fe0fe07 add pdata ,kb_kscan_row_1 ,pdata 
+4c37 60108064 hstore 1 ,core_kscn_rctc 
+4c38 68108043 hfetch 1 ,core_config 
+4c39 79207e02 set1 2 ,pdata 
+4c3a 60108043 hstore 1 ,core_config 
+4c3b 68108051 hfetch 1 ,core_clkoff + 1 
+4c3c 793ffe01 set0 1 ,pdata 
+4c3d 60108051 hstore 1 ,core_clkoff + 1 
+4c3e 7080630d hjam 0xd ,core_kscn_ksctrl 
+4c3f 708067d3 hjam 0xd3 ,core_kscn_m_debounce 
+4c40 70806500 hjam 0 ,core_kscn_scancycle_timer_l 
+4c41 70806631 hjam 0x31 ,core_kscn_scancycle_timer_h 
+4c42 20403e0b call lpm_disable_exen_output 
+4c43 6808c80e fetcht 1 ,mem_led_cap_gpio 
+4c44 204069da call gpio_config_output 
+4c45 6808c80f fetcht 1 ,mem_led_num_gpio 
+4c46 204069da call gpio_config_output 
+4c47 6808c810 fetcht 1 ,mem_led_scl_gpio 
+4c48 204069da call gpio_config_output 
+4c49 20600000 rtn 
+
+kb_process_kb_report:
+4c4a 79200025 set1 mark_ext_patch ,mark 
+4c4b 44dbc036 bpatch patch36_7 ,mem_patch36 
+4c4c e8c08000 ifetch 1 ,contr 
+4c4d 1fe22200 copy pdata ,rega 
+4c4e 6808c80f fetcht 1 ,mem_led_num_gpio 
+4c4f 2a2ffe00 isolate1 kb_num_lock_selected ,rega 
+4c50 204069f0 call gpio_out_flag 
+4c51 6808c80e fetcht 1 ,mem_led_cap_gpio 
+4c52 2a2ffe01 isolate1 kb_caps_lock_selected ,rega 
+4c53 204069f0 call gpio_out_flag 
+4c54 6808c810 fetcht 1 ,mem_led_scl_gpio 
+4c55 2a2ffe02 isolate1 kb_scroll_lock_selected ,rega 
+4c56 204069f0 call gpio_out_flag 
+4c57 70480901 jam 1 ,mem_kb_rcv_led_data 
+4c58 20600000 rtn 
+
+kb_send_process:
+4c59 20404c99 call kb_kscan_check_if_empty 
+4c5a 24740000 nrtn user 
+4c5b 24760000 nrtn user2 
+4c5c 68008450 fetch 1 ,mem_pincode_state 
+4c5d c000cc69 beq pincode_state_wait_pincode ,kb_pincode 
+4c5e 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+4c5f c19f8000 rtnne 0x3f 
+4c60 da20000a arg 10 ,rega 
+4c61 20404b2c call hid_malloc_tx_buff 
+4c62 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4c63 e0a10000 istore 2 ,contw 
+4c64 580001a1 setarg 0x01a1 
+4c65 e0a10000 istore 2 ,contw 
+4c66 68044800 fetch 8 ,mem_kb_state 
+4c67 e0a40000 istore 8 ,contw 
+4c68 20600000 rtn 
+
+kb_pincode:
+4c69 6808854f fetcht 1 ,mem_pin_length 
+4c6a 58000550 setarg mem_pin 
+4c6b 98408a00 iadd temp ,contw 
+4c6c 6800c802 fetch 1 ,mem_kb_report_data 
+4c6d 203a4c72 branch kb_pincode_rtn ,blank 
+4c6e c0154c74 beq kb_kcode_bksp ,kb_pincode_bksp 
+4c6f c0944c7e bne kb_kcode_enter ,kb_pincode_data 
+4c70 6008854f storet 1 ,mem_pin_length 
+4c71 20203f6a branch app_bt_set_pincode 
+
+kb_pincode_rtn:
+4c72 6008854f storet 1 ,mem_pin_length 
+4c73 20600000 rtn 
+
+kb_pincode_bksp:
+4c74 6800854f fetch 1 ,mem_pin_length 
+4c75 207a0000 rtn blank 
+4c76 1fe0ffff increase -1 ,pdata 
+4c77 6000854f store 1 ,mem_pin_length 
+4c78 d8a00550 arg mem_pin ,contw 
+4c79 98a08a00 iadd contw ,contw 
+4c7a 58000000 setarg 0 
+4c7b e0a08000 istore 1 ,contw 
+4c7c 78367c00 enable user2 
+4c7d 20204c8d branch kb_send_pin 
+
+kb_pincode_data:
+4c7e 1fe67c1d sub pdata ,kb_kcode_1_m1 ,null 
+4c7f 20610000 rtn positive 
+4c80 d8400030 arg 0x30 ,temp 
+4c81 1fe67c27 sub pdata ,kb_kcode_0 ,null 
+4c82 24610000 nrtn positive 
+4c83 2022cc87 branch kb_pincode_0 ,zero 
+4c84 d840001d arg kb_kcode_1_m1 ,temp 
+4c85 98460400 isub temp ,temp 
+4c86 18418430 or_into 0x30 ,temp 
+
+kb_pincode_0:
+4c87 e0a88000 istoret 1 ,contw 
+4c88 6800854f fetch 1 ,mem_pin_length 
+4c89 1fe0fe01 increase 1 ,pdata 
+4c8a 6000854f store 1 ,mem_pin_length 
+4c8b 78567c00 disable user2 
+4c8c 20204c8d branch kb_send_pin 
+
+kb_send_pin:
+4c8d 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4c8e 207a0000 rtn blank 
+4c8f da200003 arg 3 ,rega 
+4c90 20404b2c call hid_malloc_tx_buff 
+4c91 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4c92 e0a10000 istore 2 ,contw 
+4c93 5800ffa1 setarg 0xffa1 
+4c94 e0a10000 istore 2 ,contw 
+4c95 58000000 setarg 0 
+4c96 79367e00 setflag user2 ,0 ,pdata 
+4c97 e0a08000 istore 1 ,contw 
+4c98 20600000 rtn 
+
+kb_kscan_check_if_empty:
+4c99 78547c00 disable user 
+4c9a 78567c00 disable user2 
+4c9b 68108119 hfetch 1 ,core_kscn_kstat 
+4c9c c3800000 rtnbit1 kb_kscan_stat_empty 
+
+kb_kscan_check_ghost:
+4c9d 6810811b hfetch 1 ,core_kscn_event_num 
+4c9e c2804ca3 bbit1 kb_kscan_key_event_stat ,kb_kscan_process_event 
+4c9f 68108119 hfetch 1 ,core_kscn_kstat 
+4ca0 c3034ca3 bbit0 kb_kscan_stat_ghost ,kb_kscan_process_event 
+4ca1 6810811a hfetch 1 ,core_kscn_event 
+4ca2 20204c99 branch kb_kscan_check_if_empty 
+
+kb_kscan_process_event:
+4ca3 78347c00 enable user 
+4ca4 78367c00 enable user2 
+4ca5 6810811b hfetch 1 ,core_kscn_event_num 
+4ca6 2fec0000 isolate0 kb_kscan_key_event_stat ,pdata 
+4ca7 6810811a hfetch 1 ,core_kscn_event 
+4ca8 d8c04811 arg mem_kb_map ,contr 
+4ca9 98c08c00 iadd contr ,contr 
+4caa e8c08000 ifetch 1 ,contr 
+4cab c283cce4 bbit1 7 ,kb_kscan_read_statekey 
+4cac 2420cccc nbranch kb_kscan_release_a_key_data ,true 
+4cad 78567c00 disable user2 
+4cae 98000400 iforce temp 
+4caf 6800c808 fetch 1 ,mem_kb_keys 
+4cb0 1fe67c04 sub pdata ,4 ,null 
+4cb1 24610000 nrtn positive 
+4cb2 1fe22200 copy pdata ,rega 
+4cb3 df200003 arg 3 ,loopcnt 
+4cb4 d8c04802 arg mem_kb_report_data ,contr 
+
+kb_kscan_check_report_data:
+4cb5 e8c08000 ifetch 1 ,contr 
+4cb6 98467c00 isub temp ,null 
+4cb7 2022cc99 branch kb_kscan_check_if_empty ,zero 
+4cb8 c2004cb5 loop kb_kscan_check_report_data 
+
+kb_kscan_store_a_key_data:
+4cb9 1a227e00 copy rega ,pdata 
+4cba d8a04802 arg mem_kb_report_data ,contw 
+4cbb 98a08a00 iadd contw ,contw 
+4cbc e0a88000 istoret 1 ,contw 
+4cbd 1fe0fe01 increase 1 ,pdata 
+4cbe 6000c808 store 1 ,mem_kb_keys 
+4cbf 6810811b hfetch 1 ,core_kscn_event_num 
+4cc0 1fe97e00 rshift3 pdata ,pdata 
+4cc1 243a4cc3 nbranch kb_kscan_check_nextevent ,blank 
+4cc2 20204cca branch kb_kscan_prepare_send 
+
+kb_kscan_check_nextevent:
+4cc3 1fe0ffff increase -1 ,pdata 
+4cc4 2022ccca branch kb_kscan_prepare_send ,zero 
+4cc5 6810811b hfetch 1 ,core_kscn_event_num 
+4cc6 1fe17e01 and_into 0x01 ,pdata 
+4cc7 c0004c99 beq kb_kscan_key_press ,kb_kscan_check_if_empty 
+4cc8 c000ccca beq kb_kscan_key_release ,kb_kscan_prepare_send 
+4cc9 20600000 rtn 
+
+kb_kscan_prepare_send:
+4cca 78367c00 enable user2 
+4ccb 20600000 rtn 
+
+kb_kscan_release_a_key_data:
+4ccc 1fe104ff and pdata ,0xff ,temp 
+4ccd 6800c808 fetch 1 ,mem_kb_keys 
+4cce 207a0000 rtn blank 
+4ccf 98007200 iforce loopcnt 
+4cd0 d8c04802 arg mem_kb_report_data ,contr 
+
+kb_kscan_find_same_key_data:
+4cd1 e8c08000 ifetch 1 ,contr 
+4cd2 98467c00 isub temp ,null 
+4cd3 2022ccd6 branch kb_kscan_release_foundkey ,zero 
+4cd4 c2004cd1 loop kb_kscan_find_same_key_data 
+4cd5 20600000 rtn 
+
+kb_kscan_release_foundkey:
+4cd6 18c08bff add contr ,-1 ,contw 
+4cd7 20407e45 call memcpy 
+4cd8 6800c808 fetch 1 ,mem_kb_keys 
+4cd9 1fe0ffff increase -1 ,pdata 
+4cda 6000c808 store 1 ,mem_kb_keys 
+4cdb 6810811b hfetch 1 ,core_kscn_event_num 
+4cdc 1fe97e00 rshift3 pdata ,pdata 
+4cdd 243a4cdf nbranch kb_kscan_check_nextevent2 ,blank 
+4cde 20600000 rtn 
+
+kb_kscan_check_nextevent2:
+4cdf 6810811b hfetch 1 ,core_kscn_event_num 
+4ce0 1fe17e01 and_into 0x01 ,pdata 
+4ce1 c0004cca beq kb_kscan_key_press ,kb_kscan_prepare_send 
+4ce2 c000cc99 beq kb_kscan_key_release ,kb_kscan_check_if_empty 
+4ce3 20600000 rtn 
+
+kb_kscan_read_statekey:
+4ce4 1fe10e07 and pdata ,7 ,queue 
+4ce5 6800c800 fetch 1 ,mem_kb_state 
+4ce6 f920fe00 qsetflag true ,pdata 
+4ce7 6000c800 store 1 ,mem_kb_state 
+4ce8 20600000 rtn 
+
+kb_clear_keys:
+4ce9 58000000 setarg 0 
+4cea 60044800 store 8 ,mem_kb_state 
+4ceb 6000c808 store 1 ,mem_kb_keys 
+4cec 20600000 rtn 
+
+kb_clean_kscan_fifo:
+4ced 6810811b hfetch 1 ,core_kscn_event_num 
+4cee 6810811a hfetch 1 ,core_kscn_event 
+4cef 68108119 hfetch 1 ,core_kscn_kstat 
+4cf0 c3004ced bbit0 kb_kscan_stat_empty ,kb_clean_kscan_fifo 
+4cf1 580000ff setarg 0xff 
+4cf2 78347c00 enable user 
+4cf3 20600000 rtn 
+
+le_keyboard:
+4cf4 680944c2 fetcht 2 ,mem_le_notify_handle 
+4cf5 20405866 call le_att_check_notification_enable 
+4cf6 c4000000 rtnbit0 0 
+4cf7 6800c6f8 fetch 1 ,mem_le_switch_send_data 
+4cf8 c4000000 rtnbit0 0 
+4cf9 2040561c call le_xtype_fifo_is_full 
+4cfa 247a0000 nrtn blank 
+4cfb 20404c99 call kb_kscan_check_if_empty 
+4cfc 24740000 nrtn user 
+4cfd 24760000 nrtn user2 
+
+le_slave_keyboard_send_data:
+4cfe 20403f5e call app_lpm_wake_auto_lock 
+4cff 70421302 jam 2 ,mem_lpm_mult 
+4d00 680944c2 fetcht 2 ,mem_le_notify_handle 
+4d01 20405a88 call le_att_get_handle_ptr 
+4d02 18c08a01 add contr ,1 ,contw 
+4d03 68044800 fetch 8 ,mem_kb_state 
+4d04 e0a40000 istore 8 ,contw 
+4d05 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+4d06 20405620 call le_xtype_fifo_in 
+4d07 680083e4 fetch 1 ,mem_le_op 
+4d08 c281bbf2 bbit1 op_disconn ,loop 
+4d09 20600000 rtn 
+
+le_keyboard_process_bb_event:
+4d0a 1a627e00 copy regc ,pdata 
+4d0b c0084d15 beq bt_evt_button_long_pressed ,le_keyboard_bb_event_discovery_btn 
+4d0c c00a4d13 beq bt_evt_le_connected ,le_kb_connected 
+4d0d c0144d11 beq bt_evt_le_write_request ,le_kb_bb_event_write_request 
+4d0e c014cd11 beq bt_evt_le_enc_info ,le_kb_bb_event_enc_info 
+4d0f c0173f57 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+4d10 20600000 rtn 
+
+le_kb_bb_event_enc_info:
+
+le_kb_bb_event_write_request:
+4d11 20403fa4 call app_lpm_mult_enable 
+4d12 20203f92 branch app_ble_start_write 
+
+le_kb_connected:
+4d13 20404ced call kb_clean_kscan_fifo 
+4d14 20204ce9 branch kb_clear_keys 
+
+le_keyboard_bb_event_discovery_btn:
+4d15 20405b30 call le_clean_att_list_handle_enable 
+4d16 20403f90 call app_ble_disconnect 
+4d17 20403f88 call app_ble_start_adv 
+4d18 20203f94 branch app_led_start_blink 
+
+le_keyboard_bb_event_hud_ms:
+4d19 6800c42e fetch 1 ,mem_le_led_on_time 
+4d1a 207a0000 rtn blank 
+4d1b 1fe0ffff increase -1 ,pdata 
+4d1c 6000c42e store 1 ,mem_le_led_on_time 
+4d1d 247a0000 nrtn blank 
+4d1e 6800c4db fetch 1 ,mem_le_adv_type 
+4d1f 207a0000 rtn blank 
+4d20 20203f98 branch app_led_off 
+
+kb_process_idle:
+4d21 20204d2e branch kb_pairing_button_check 
+
+kb_wakeup_check:
+4d22 6811811c hfetch 3 ,core_gpio_in 
+4d23 1fe22400 copy pdata ,regb 
+4d24 6810811f hfetch 1 ,core_gpio_in + 3 
+4d25 1fe17e0f and_into 0x0f ,pdata 
+4d26 1ff07e00 lshift16 pdata ,pdata 
+4d27 1fed7e00 lshift8 pdata ,pdata 
+4d28 9a41fe00 ior regb ,pdata 
+4d29 680a480a fetcht 4 ,mem_kb_fast_wake_last 
+4d2a 98467e00 isub temp ,pdata 
+4d2b 207a0000 rtn blank 
+4d2c da4000bb arg 0xbb ,regb 
+4d2d 20203f5e branch app_lpm_wake_auto_lock 
+
+kb_pairing_button_check:
+4d2e 6800c133 fetch 1 ,mem_scan_mode 
+4d2f 247a0000 nrtn blank 
+4d30 6800c27f fetch 1 ,mem_app_handshake_flag 
+4d31 247a0000 nrtn blank 
+4d32 6800c7ea fetch 1 ,mem_ui_button_timer 
+4d33 207a0000 rtn blank 
+4d34 6800c7eb fetch 1 ,mem_ui_button_last_state 
+4d35 247a0000 nrtn blank 
+4d36 20203f9a branch app_enter_hibernate 
+
+kb_process_bb_event:
+4d37 1a627e00 copy regc ,pdata 
+4d38 c0034d8b beq bt_evt_hid_connected ,kb_hid_connected 
+4d39 c0054d7c beq bt_evt_pincode_req ,kb_process_pincode 
+4d3a c0034d8f beq bt_evt_hid_connected ,kb_bt_hid_handshake 
+4d3b c0084d68 beq bt_evt_button_long_pressed ,kb_bb_event_discovery_btn 
+4d3c c0173f57 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+4d3d c000cd77 beq bt_evt_bb_connected ,kb_stop_discovery 
+4d3e c0014d51 beq bt_evt_bb_disconnected ,kb_bb_disconnected 
+4d3f c0024d4e beq bt_evt_reconn_failed ,kb_bb_event_reconn_failed 
+4d40 c009cd4e beq bt_evt_reconn_page_timeout ,kb_bb_event_reconn_failed 
+4d41 1fe1040f and pdata ,0x0f ,temp 
+4d42 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+4d43 c0284d45 beq bt_evt_timer_init ,kb_bb_event_timer 
+4d44 20600000 rtn 
+
+kb_bb_event_timer:
+4d45 79200025 set1 mark_ext_patch ,mark 
+4d46 44dc4037 bpatch patch37_0 ,mem_patch37 
+4d47 60088259 storet 1 ,mem_app_evt_timer_count 
+
+kb_bb_event_100ms_loop:
+4d48 68008259 fetch 1 ,mem_app_evt_timer_count 
+4d49 207a0000 rtn blank 
+4d4a 1fe0ffff increase -1 ,pdata 
+4d4b 60008259 store 1 ,mem_app_evt_timer_count 
+4d4c 20404d62 call kb_check_hid_handshake_timer 
+4d4d 20204d48 branch kb_bb_event_100ms_loop 
+
+kb_bb_event_reconn_failed:
+4d4e 680147f4 fetch 2 ,mem_ui_state_map 
+4d4f c2864d79 bbit1 ui_state_btn_down ,kb_start_discovery 
+4d50 20203f10 branch app_bb_hibernate 
+
+kb_bb_disconnected:
+4d51 79200025 set1 mark_ext_patch ,mark 
+4d52 44dcc037 bpatch patch37_1 ,mem_patch37 
+4d53 20404d59 call kb_bb_discon_clear_stack 
+4d54 680142a0 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+4d55 c2803f12 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+4d56 c280cd5c bbit1 app_disc_after_pairing ,kb_event_light_state_pairing 
+4d57 c2814d5f bbit1 app_disc_after_reconn ,kb_event_light_state_reconn 
+4d58 20204d79 branch kb_start_discovery 
+
+kb_bb_discon_clear_stack:
+4d59 70425e00 jam 0 ,mem_link_key_exists 
+4d5a 70448b00 jam 0 ,mem_ltk_exists 
+4d5b 20600000 rtn 
+
+kb_event_light_state_pairing:
+4d5c c282bf10 bbit1 app_disc_after_handshake ,app_bb_hibernate 
+4d5d c281bf10 bbit1 app_disc_after_sniff ,app_bb_hibernate 
+4d5e 20204d79 branch kb_start_discovery 
+
+kb_event_light_state_reconn:
+4d5f 680147f4 fetch 2 ,mem_ui_state_map 
+4d60 c2864d79 bbit1 ui_state_btn_down ,kb_start_discovery 
+4d61 20203f10 branch app_bb_hibernate 
+
+kb_check_hid_handshake_timer:
+4d62 6800c7f2 fetch 1 ,mem_hid_handshake_timer_count 
+4d63 207a0000 rtn blank 
+4d64 1fe0ffff increase -1 ,pdata 
+4d65 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+4d66 247a0000 nrtn blank 
+4d67 20204d8f branch kb_bt_hid_handshake 
+
+kb_bb_event_discovery_btn:
+4d68 20404d6a call kb_3_0_bb_event_discovery_btn 
+4d69 20204d79 branch kb_start_discovery 
+
+kb_3_0_bb_event_discovery_btn:
+4d6a 79200025 set1 mark_ext_patch ,mark 
+4d6b 44dd4037 bpatch patch37_2 ,mem_patch37 
+4d6c 680147f4 fetch 2 ,mem_ui_state_map 
+4d6d 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+4d6e 2040bf75 call app_bt_reconnect_cancel ,true 
+4d6f 680147fe fetch 2 ,mem_discovery_timeout 
+4d70 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+4d71 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+4d72 79207e00 set1 app_disc_by_button ,pdata 
+4d73 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+4d74 680147f4 fetch 2 ,mem_ui_state_map 
+4d75 c2803f77 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+4d76 20600000 rtn 
+
+kb_stop_discovery:
+4d77 20403f7e call app_bt_stop_discovery 
+4d78 20203f98 branch app_led_stop_blink 
+
+kb_start_discovery:
+4d79 20403f7c call app_bt_start_discovery 
+4d7a 20203f94 branch app_led_start_blink 
+
+kb_discovery_timeout_sleep:
+4d7b 20203f9a branch app_enter_hibernate 
+
+kb_process_pincode:
+4d7c 70054f00 jam 0 ,mem_pin_length 
+4d7d 20600000 rtn 
+
+kb_before_hibernate:
+
+kb_process_lpm_before:
+4d7e 70808300 hjam 0x00 ,core_gpio_key0 
+4d7f 70808400 hjam 0x00 ,core_gpio_key1 
+4d80 68108085 hfetch 1 ,core_gpio_key2 
+4d81 1fe17ef0 and_into 0xf0 ,pdata 
+4d82 60108085 hstore 1 ,core_gpio_key2 
+4d83 58000000 setarg 0x00 
+4d84 600200a7 store 4 ,mem_gpio_wakeup_high 
+4d85 580000ff setarg 0xff 
+4d86 6808c7fd fetcht 1 ,mem_ui_button_gpio 
+4d87 18420e00 copy temp ,queue 
+4d88 f9207e00 qset1 pdata 
+4d89 600200a3 store 4 ,mem_gpio_wakeup_low 
+4d8a 20600000 rtn 
+
+kb_hid_connected:
+4d8b 58000002 setarg hid_handshake_timeout 
+4d8c 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+4d8d 20404ced call kb_clean_kscan_fifo 
+4d8e 20204ce9 branch kb_clear_keys 
+
+kb_bt_hid_handshake:
+4d8f 79200025 set1 mark_ext_patch ,mark 
+4d90 44ddc037 bpatch patch37_3 ,mem_patch37 
+4d91 70427f01 jam app_handshake_done ,mem_app_handshake_flag 
+4d92 20403fa4 call app_lpm_mult_enable 
+4d93 20403fa2 call app_bt_store_reconn_info 
+4d94 58000000 setarg 0 
+4d95 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+4d96 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+4d97 20203f9e branch app_bt_enter_sniff 
+
+l2cap_init:
+4d98 2035cd9d branch l2cap_init_wake ,wake 
+
+l2cap_init_work:
+4d99 580043ce setarg mem_l2cap_xmem_end 
+4d9a d8a042af arg mem_l2cap_xmem_start ,contw 
+4d9b 98a67200 isub contw ,loopcnt 
+4d9c 20407e3f call clear_mem 
+
+l2cap_init_wake:
+4d9d 79200025 set1 mark_ext_patch ,mark 
+4d9e 448b4022 bpatch patch22_6 ,mem_patch22 
+4d9f 580004de setarg mem_sdp_mem_end 
+4da0 d8a004a9 arg mem_sdp_mem_start ,contw 
+4da1 98a67200 isub contw ,loopcnt 
+4da2 20407e3f call clear_mem 
+4da3 58000330 setarg mem_l2cap_mem_end 
+4da4 d8a002c4 arg mem_l2cap_mem_start ,contw 
+4da5 98a67200 isub contw ,loopcnt 
+4da6 20407e3f call clear_mem 
+4da7 2020532a branch l2cap_lpm_load_txbuf 
+
+process_rx_l2cap_pkt:
+4da8 79200025 set1 mark_ext_patch ,mark 
+4da9 448bc022 bpatch patch22_7 ,mem_patch22 
+4daa 18c20400 copy contr ,temp 
+4dab 18420c00 copy temp ,contr 
+4dac e8c10000 ifetch 2 ,contr 
+4dad 600102cd store 2 ,mem_l2cap_rx_pkt_length 
+4dae e8c10000 ifetch 2 ,contr 
+4daf 600102cf store 2 ,mem_l2cap_rx_cid 
+4db0 18c27e00 deposit contr 
+4db1 600102cb store 2 ,mem_l2cap_payload_ptr 
+4db2 6800c7f3 fetch 1 ,memui_reconnect_mode 
+4db3 c0004db5 beq no_reconnection ,l2cap_rx_multiplexing 
+4db4 202050fa branch ml2cap_rx_multiplexing 
+
+l2cap_rx_multiplexing:
+4db5 79200025 set1 mark_ext_patch ,mark 
+4db6 448c4023 bpatch patch23_0 ,mem_patch23 
+4db7 680102cd fetch 2 ,mem_l2cap_rx_pkt_length 
+4db8 203a4dfc branch l2cap_rx_reset_state ,blank 
+4db9 680082cf fetch 1 ,mem_l2cap_rx_cid 
+4dba c000cdc0 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+
+l2cap_rx_multiplexing0:
+4dbb c0284de7 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+4dbc c028cdf4 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+4dbd c0294df2 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+4dbe c029cdf2 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+4dbf 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_signal:
+4dc0 2040527a call l2cap_malloc_is_fifo_full 
+4dc1 247a0000 nrtn blank 
+4dc2 7043cd00 jam 0 ,mem_l2cap_pending_item 
+
+l2cap_call_proc_signal0:
+4dc3 204052c4 call l2cap_malloc_signal_channel 
+4dc4 20404e01 call l2cap_process_signal_pkt 
+4dc5 680902d6 fetcht 2 ,mem_l2cap_signal_tx_length 
+4dc6 203a4dfb branch l2cap_call_proc_no_reply ,blank 
+4dc7 204052ce call l2cap_get_signal_tx_buff 
+4dc8 680102d6 fetch 2 ,mem_l2cap_signal_tx_length 
+4dc9 e0a10000 istore 2 ,contw 
+4dca 18007e01 force l2cap_signal_channel ,pdata 
+4dcb e0a10000 istore 2 ,contw 
+4dcc 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_sigal_pending:
+4dcd 6800c132 fetch 1 ,mem_device_option 
+4dce c1008000 rtneq dvc_op_hci 
+4dcf 6800c3cd fetch 1 ,mem_l2cap_pending_item 
+4dd0 207a0000 rtn blank 
+4dd1 1fe22200 copy pdata ,rega 
+4dd2 6802033c fetch 4 ,mem_l2cap_sdpres_delay_time 
+4dd3 d8400100 arg 0x100 ,temp 
+4dd4 98408400 iadd temp ,temp 
+4dd5 1c427e00 copy clkn_bt ,pdata 
+4dd6 98467c00 isub temp ,null 
+4dd7 24610000 nrtn positive 
+4dd8 7043cd00 jam 0 ,mem_l2cap_pending_item 
+4dd9 1a227e00 copy rega ,pdata 
+4dda c0284ddc beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+4ddb 20203bf1 branch assert 
+
+l2cap_sdp_conn_succ:
+4ddc 204052c4 call l2cap_malloc_signal_channel 
+4ddd 20404e84 call restore_l2cap_req_param 
+4dde 204052d0 call l2cap_get_signal_tx_payload 
+4ddf 20407e1c call save_cont_pointers 
+4de0 20404eb7 call send_connection_sdp_res 
+4de1 204052ce call l2cap_get_signal_tx_buff 
+4de2 5800000c setarg 0x000c 
+4de3 e0a10000 istore 2 ,contw 
+4de4 18007e01 force l2cap_signal_channel ,pdata 
+4de5 e0a10000 istore 2 ,contw 
+4de6 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_sdp:
+4de7 2040527e call l2cap_malloc_is_fifo_empty 
+4de8 247a0000 nrtn blank 
+4de9 204052d2 call l2cap_malloc_sdp_channel 
+4dea 20406f72 call sdp_process 
+4deb 204052dc call l2cap_get_sdp_tx_buff 
+4dec 680102dc fetch 2 ,mem_sdp_tx_pkt_length 
+4ded 203a4dfb branch l2cap_call_proc_no_reply ,blank 
+4dee e0a10000 istore 2 ,contw 
+4def 680142b1 fetch 2 ,mem_sdp_remote_cid 
+4df0 e0a10000 istore 2 ,contw 
+4df1 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_hid:
+4df2 20404af8 call hid_rx_process 
+4df3 20204dfc branch l2cap_rx_reset_state 
+
+l2cap_call_proc_rfcomm:
+4df4 79200025 set1 mark_ext_patch ,mark 
+4df5 448cc023 bpatch patch23_1 ,mem_patch23 
+4df6 7002eb00 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+4df7 20406bdc call rfcomm_rx_process 
+4df8 680082eb 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 2040526f call l2cap_malloc_discard 
+
+l2cap_rx_reset_state:
+4dfc 58000000 setarg 0 
+4dfd 600102cd store 2 ,mem_l2cap_rx_pkt_length 
+4dfe 600102cf store 2 ,mem_l2cap_rx_cid 
+4dff 7002d101 jam l2cap_rx_done ,mem_l2cap_rx_done 
+4e00 20600000 rtn 
+
+l2cap_process_signal_pkt:
+4e01 79200025 set1 mark_ext_patch ,mark 
+4e02 448d4023 bpatch patch23_2 ,mem_patch23 
+4e03 204052d0 call l2cap_get_signal_tx_payload 
+4e04 18002400 force 0 ,regb 
+4e05 680102cd fetch 2 ,mem_l2cap_rx_pkt_length 
+4e06 1fe22600 copy pdata ,regc 
+4e07 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+4e08 98000c00 iforce contr 
+
+l2cap_process_signal_pkt_loop:
+4e09 20404e11 call l2cap_process_one_signal 
+4e0a 1a627e00 deposit regc 
+4e0b 1a60a7fc increase -4 ,regc 
+4e0c 1fe0fffc increase -4 ,pdata 
+4e0d 243a4e09 nbranch l2cap_process_signal_pkt_loop ,blank 
+4e0e 1a427e00 copy regb ,pdata 
+4e0f 600102d6 store 2 ,mem_l2cap_signal_tx_length 
+4e10 20600000 rtn 
+
+l2cap_process_one_signal:
+4e11 79200025 set1 mark_ext_patch ,mark 
+4e12 448dc023 bpatch patch23_3 ,mem_patch23 
+4e13 e8c08000 ifetch 1 ,contr 
+4e14 c000ce54 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+4e15 c0014e5c beq signal_connect_req ,l2cap_proc_signal_connect_req 
+4e16 c001cee0 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+4e17 c0024f0f beq signal_config_req ,l2cap_proc_signal_config_req 
+4e18 c002cfad beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+4e19 c0034fd5 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+4e1a c003d024 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+4e1b c0045058 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+4e1c c004d068 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+4e1d c0054e21 beq signal_info_req ,l2cap_proc_signal_info_req 
+4e1e c005d069 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+4e1f 2040506a call l2cap_reject_command 
+
+l2cap_process_one_signal_rtn:
+4e20 20600000 rtn 
+
+l2cap_proc_signal_info_req:
+4e21 e8c08000 ifetch 1 ,contr 
+4e22 1fe20e00 copy pdata ,queue 
+4e23 e8c10000 ifetch 2 ,contr 
+4e24 1fe22200 copy pdata ,rega 
+4e25 1a627e00 copy regc ,pdata 
+4e26 9a262600 isub rega ,regc 
+4e27 1a227e00 copy rega ,pdata 
+4e28 98c08c00 iadd contr ,contr 
+4e29 5800000b setarg 0x0b 
+4e2a e0a08000 istore 1 ,contw 
+4e2b 18e27e00 copy queue ,pdata 
+4e2c e0a08000 istore 1 ,contw 
+4e2d 18007e08 force 0x0008 ,pdata 
+4e2e e0a10000 istore 2 ,contw 
+4e2f 18007e02 force 0x0002 ,pdata 
+4e30 e0a10000 istore 2 ,contw 
+4e31 18007e00 force 0x0000 ,pdata 
+4e32 e0a10000 istore 2 ,contw 
+4e33 18007e00 force 0x0400 ,pdata 
+4e34 e0a10000 istore 2 ,contw 
+4e35 18007e00 force 0x0000 ,pdata 
+4e36 e0a10000 istore 2 ,contw 
+4e37 18007e0c force 12 ,pdata 
+4e38 9a40a400 iadd regb ,regb 
+4e39 20204e20 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 1a627e00 copy regc ,pdata 
+4e3f 9a262600 isub rega ,regc 
+4e40 1a227e00 copy rega ,pdata 
+4e41 98c08c00 iadd contr ,contr 
+4e42 204052d0 call l2cap_get_signal_tx_payload 
+4e43 5800000b setarg 0x0b 
+4e44 e0a08000 istore 1 ,contw 
+4e45 18e27e00 copy queue ,pdata 
+4e46 e0a08000 istore 1 ,contw 
+4e47 18007e08 force 0x0008 ,pdata 
+4e48 e0a10000 istore 2 ,contw 
+4e49 18007e02 force 0x0002 ,pdata 
+4e4a e0a10000 istore 2 ,contw 
+4e4b 18007e00 force 0x0000 ,pdata 
+4e4c e0a10000 istore 2 ,contw 
+4e4d 18007e00 force 0x0400 ,pdata 
+4e4e e0a10000 istore 2 ,contw 
+4e4f 18007e00 force 0x0000 ,pdata 
+4e50 e0a10000 istore 2 ,contw 
+4e51 18007e0c force 12 ,pdata 
+4e52 9a40a400 iadd regb ,regb 
+4e53 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_cmd_reject:
+4e54 e8c08000 ifetch 1 ,contr 
+4e55 1fe20e00 copy pdata ,queue 
+4e56 e8c10000 ifetch 2 ,contr 
+4e57 1fe22200 copy pdata ,rega 
+4e58 98c08c00 iadd contr ,contr 
+4e59 1a627e00 copy regc ,pdata 
+4e5a 9a262600 isub rega ,regc 
+
+l2cap_proc_signal_cmd_reject_rtn:
+4e5b 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_req:
+4e5c 20407e1c call save_cont_pointers 
+4e5d 20407e21 call load_cont_pointers 
+4e5e d9000000 arg 0 ,debug 
+4e5f e8c08000 ifetch 1 ,contr 
+4e60 1fe20e00 copy pdata ,queue 
+4e61 e8c10000 ifetch 2 ,contr 
+4e62 1fe22200 copy pdata ,rega 
+4e63 e8c10000 ifetch 2 ,contr 
+4e64 1fe20400 copy pdata ,temp 
+4e65 e8c10000 ifetch 2 ,contr 
+4e66 1fe21600 copy pdata ,timeup 
+4e67 18427e00 copy temp ,pdata 
+4e68 c000ce6e beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+4e69 c001ce90 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+4e6a c008ce9c beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+4e6b c009cea7 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+4e6c 2040506a call l2cap_reject_command 
+4e6d 20204edf branch l2cap_proc_signal_connect_req_rtn 
+
+l2cap_proc_signal_connect_req_sdp:
+4e6e 20407e1c call save_cont_pointers 
+4e6f d8400050 arg l2cap_sdp_channel ,temp 
+4e70 680142b1 fetch 2 ,mem_sdp_remote_cid 
+4e71 243a4ed9 nbranch already_connected ,blank 
+4e72 19627e00 copy timeup ,pdata 
+4e73 600142b1 store 2 ,mem_sdp_remote_cid 
+4e74 1c427e00 copy clkn_bt ,pdata 
+4e75 6002033c store 4 ,mem_l2cap_sdpres_delay_time 
+4e76 20404e78 call store_l2cap_req_param 
+4e77 20204eb3 branch send_connection_pending 
+
+store_l2cap_req_param:
+4e78 6009033a storet 2 ,mem_psm 
+4e79 19627e00 deposit timeup 
+4e7a 60010330 store 2 ,mem_scid 
+4e7b 1a227e00 deposit rega 
+4e7c 60010332 store 2 ,mem_cmd_length 
+4e7d 1a427e00 deposit regb 
+4e7e 60010334 store 2 ,mem_tt2 
+4e7f 1a627e00 deposit regc 
+4e80 60010336 store 2 ,mem_tt3 
+4e81 18e27e00 deposit queue 
+4e82 60010338 store 2 ,mem_id 
+4e83 20600000 rtn 
+
+restore_l2cap_req_param:
+4e84 6809033a fetcht 2 ,mem_psm 
+4e85 68010330 fetch 2 ,mem_scid 
+4e86 1fe21600 copy pdata ,timeup 
+4e87 68010332 fetch 2 ,mem_cmd_length 
+4e88 1fe22200 copy pdata ,rega 
+4e89 68010334 fetch 2 ,mem_tt2 
+4e8a 1fe22400 copy pdata ,regb 
+4e8b 68010336 fetch 2 ,mem_tt3 
+4e8c 1fe22600 copy pdata ,regc 
+4e8d 68010338 fetch 2 ,mem_id 
+4e8e 1fe20e00 copy pdata ,queue 
+4e8f 20600000 rtn 
+
+l2cap_proc_signal_connect_req_rfcomm:
+4e90 20407e1c call save_cont_pointers 
+4e91 58000051 setarg l2cap_rfcomm_channel 
+4e92 d8400051 arg l2cap_rfcomm_channel ,temp 
+4e93 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+4e94 243a4ed9 nbranch already_connected ,blank 
+4e95 19627e00 copy timeup ,pdata 
+4e96 600142b3 store 2 ,mem_rfcomm_remote_cid 
+4e97 6800c2ba fetch 1 ,mem_rfcomm_state 
+4e98 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4e99 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4e9a 6000c2ba store 1 ,mem_rfcomm_state 
+4e9b 20204ebb branch send_connection_res 
+
+l2cap_proc_signal_connect_req_hid_ctrl:
+4e9c 20407e1c call save_cont_pointers 
+4e9d d8400052 arg l2cap_hid_control_channel ,temp 
+4e9e 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+4e9f 243a4ed9 nbranch already_connected ,blank 
+4ea0 19627e00 copy timeup ,pdata 
+4ea1 600142b5 store 2 ,mem_hid_ctrl_remote_cid 
+4ea2 6800c2bb fetch 1 ,mem_hid_control_state 
+4ea3 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4ea4 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4ea5 6000c2bb store 1 ,mem_hid_control_state 
+4ea6 20204ebb branch send_connection_res 
+
+l2cap_proc_signal_connect_req_hid_int:
+4ea7 20407e1c call save_cont_pointers 
+4ea8 1b427e00 deposit clke 
+4ea9 d8400053 arg l2cap_hid_interrupt_channel ,temp 
+4eaa 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4eab 243a4ed9 nbranch already_connected ,blank 
+4eac 19627e00 copy timeup ,pdata 
+4ead 600142b7 store 2 ,mem_hid_int_remote_cid 
+4eae 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+4eaf 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4eb0 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4eb1 6000c2bc store 1 ,mem_hid_interrupt_state 
+4eb2 20204ebb branch send_connection_res 
+
+send_connection_pending:
+4eb3 58000001 setarg l2cap_connect_pending 
+4eb4 600102e4 store 2 ,meml2cap_t1 
+4eb5 7043cd50 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+4eb6 20204ebd branch send_connection_res0 
+
+send_connection_sdp_res:
+4eb7 6800c2b9 fetch 1 ,mem_sdp_state 
+4eb8 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+4eb9 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4eba 6000c2b9 store 1 ,mem_sdp_state 
+
+send_connection_res:
+4ebb 58000000 setarg l2cap_connect_successful 
+4ebc 600102e4 store 2 ,meml2cap_t1 
+
+send_connection_res0:
+4ebd 79200025 set1 mark_ext_patch ,mark 
+4ebe 448e4023 bpatch patch23_4 ,mem_patch23 
+4ebf 20407e21 call load_cont_pointers 
+4ec0 58000003 setarg signal_connect_rsp 
+4ec1 e0a08000 istore 1 ,contw 
+4ec2 18e27e00 copy queue ,pdata 
+4ec3 e0a08000 istore 1 ,contw 
+4ec4 58000008 setarg 0x0008 
+4ec5 e0a10000 istore 2 ,contw 
+4ec6 18427e00 copy temp ,pdata 
+4ec7 e0a10000 istore 2 ,contw 
+4ec8 19627e00 copy timeup ,pdata 
+4ec9 e0a10000 istore 2 ,contw 
+4eca 680102e4 fetch 2 ,meml2cap_t1 
+4ecb c000ced4 beq l2cap_connect_pending ,connect_pending 
+4ecc 290c0000 isolate0 0 ,debug 
+4ecd 2020cecf branch connect_suc ,true 
+4ece 58000004 setarg l2cap_connect_refused_no_resources 
+
+connect_suc:
+4ecf e0a10000 istore 2 ,contw 
+4ed0 18007e00 force 0x0000 ,pdata 
+4ed1 e0a10000 istore 2 ,contw 
+4ed2 5800000c setarg 12 
+4ed3 20204edb branch connect_req_update_byte_counts 
+
+connect_pending:
+4ed4 e0a10000 istore 2 ,contw 
+4ed5 18007e02 force 0x0002 ,pdata 
+4ed6 e0a10000 istore 2 ,contw 
+4ed7 5800000c setarg 12 
+4ed8 20204edb branch connect_req_update_byte_counts 
+
+already_connected:
+4ed9 79201000 set1 0 ,debug 
+4eda 20204ebb branch send_connection_res 
+
+connect_req_update_byte_counts:
+4edb 9a40a400 iadd regb ,regb 
+4edc 1a627e00 copy regc ,pdata 
+4edd 9a262600 isub rega ,regc 
+4ede 20204edf branch l2cap_proc_signal_connect_req_rtn 
+
+l2cap_proc_signal_connect_req_rtn:
+4edf 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_rsp:
+4ee0 e8c08000 ifetch 1 ,contr 
+4ee1 1fe20e00 copy pdata ,queue 
+4ee2 e8c10000 ifetch 2 ,contr 
+4ee3 1fe22200 copy pdata ,rega 
+4ee4 1a627e00 copy regc ,pdata 
+4ee5 9a262600 isub rega ,regc 
+4ee6 e8c10000 ifetch 2 ,contr 
+4ee7 1fe21600 copy pdata ,timeup 
+4ee8 e8c10000 ifetch 2 ,contr 
+4ee9 1fe20400 copy pdata ,temp 
+4eea 58000050 setarg l2cap_sdp_channel 
+4eeb 98467c00 isub temp ,null 
+4eec 2022cef7 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+4eed 58000051 setarg l2cap_rfcomm_channel 
+4eee 98467c00 isub temp ,null 
+4eef 2022cefd branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+4ef0 58000052 setarg l2cap_hid_control_channel 
+4ef1 98467c00 isub temp ,null 
+4ef2 2022cf09 branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+4ef3 58000053 setarg l2cap_hid_interrupt_channel 
+4ef4 98467c00 isub temp ,null 
+4ef5 2022cf03 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+4ef6 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_sdp:
+4ef7 19627e00 copy timeup ,pdata 
+4ef8 600142b1 store 2 ,mem_sdp_remote_cid 
+4ef9 6800c2b9 fetch 1 ,mem_sdp_state 
+4efa 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4efb 6000c2b9 store 1 ,mem_sdp_state 
+4efc 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_connect_rsp_rfcomm:
+4efd 19627e00 copy timeup ,pdata 
+4efe 600142b3 store 2 ,mem_rfcomm_remote_cid 
+4eff 6800c2ba fetch 1 ,mem_rfcomm_state 
+4f00 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f01 6000c2ba store 1 ,mem_rfcomm_state 
+4f02 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_hid_int:
+4f03 19627e00 copy timeup ,pdata 
+4f04 600142b5 store 2 ,mem_hid_ctrl_remote_cid 
+4f05 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+4f06 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f07 6000c2bc store 1 ,mem_hid_interrupt_state 
+4f08 20600000 rtn 
+
+l2cap_proc_signal_connect_rsp_hid_ctrl:
+4f09 19627e00 copy timeup ,pdata 
+4f0a 600142b7 store 2 ,mem_hid_int_remote_cid 
+4f0b 6800c2bb fetch 1 ,mem_hid_control_state 
+4f0c 79207e01 set1 l2cap_channel_state_conn_res ,pdata 
+4f0d 6000c2bb store 1 ,mem_hid_control_state 
+4f0e 20600000 rtn 
+
+l2cap_proc_signal_config_req:
+4f0f e8c08000 ifetch 1 ,contr 
+4f10 1fe20e00 copy pdata ,queue 
+4f11 e8c10000 ifetch 2 ,contr 
+4f12 1fe22200 copy pdata ,rega 
+4f13 1a627e00 copy regc ,pdata 
+4f14 9a262600 isub rega ,regc 
+4f15 e8c10000 ifetch 2 ,contr 
+4f16 1fe20400 copy pdata ,temp 
+4f17 18422200 copy temp ,rega 
+4f18 58000050 setarg l2cap_sdp_channel 
+4f19 98467c00 isub temp ,null 
+4f1a 2022cf25 branch l2cap_proc_signal_config_req_sdp ,zero 
+4f1b 58000051 setarg l2cap_rfcomm_channel 
+4f1c 98467c00 isub temp ,null 
+4f1d 2022cf43 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+4f1e 58000052 setarg l2cap_hid_control_channel 
+4f1f 98467c00 isub temp ,null 
+4f20 2022cf2f branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+4f21 58000053 setarg l2cap_hid_interrupt_channel 
+4f22 98467c00 isub temp ,null 
+4f23 2022cf39 branch l2cap_proc_signal_config_req_hid_int ,zero 
+4f24 2020506a branch l2cap_reject_command 
+
+l2cap_proc_signal_config_req_sdp:
+4f25 18a21600 copy contw ,timeup 
+4f26 6800c2b9 fetch 1 ,mem_sdp_state 
+4f27 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f28 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f29 6000c2b9 store 1 ,mem_sdp_state 
+4f2a 19620a00 copy timeup ,contw 
+4f2b d9600050 arg l2cap_sdp_channel ,timeup 
+4f2c 680142b1 fetch 2 ,mem_sdp_remote_cid 
+4f2d 1fe20400 copy pdata ,temp 
+4f2e 20204f4c branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_hid_ctrl:
+4f2f 18a21600 copy contw ,timeup 
+4f30 6800c2bb fetch 1 ,mem_hid_control_state 
+4f31 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f32 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f33 6000c2bb store 1 ,mem_hid_control_state 
+4f34 19620a00 copy timeup ,contw 
+4f35 d9600052 arg l2cap_hid_control_channel ,timeup 
+4f36 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+4f37 1fe20400 copy pdata ,temp 
+4f38 20204f4c branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_hid_int:
+4f39 18a21600 copy contw ,timeup 
+4f3a 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+4f3b 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f3c 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f3d 6000c2bc store 1 ,mem_hid_interrupt_state 
+4f3e 19620a00 copy timeup ,contw 
+4f3f d9600053 arg l2cap_hid_interrupt_channel ,timeup 
+4f40 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4f41 1fe20400 copy pdata ,temp 
+4f42 20204f4c branch l2cap_send_config_rsp 
+
+l2cap_proc_signal_config_req_rfcomm:
+4f43 18a21600 copy contw ,timeup 
+4f44 6800c2ba fetch 1 ,mem_rfcomm_state 
+4f45 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+4f46 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+4f47 6000c2ba store 1 ,mem_rfcomm_state 
+4f48 19620a00 copy timeup ,contw 
+4f49 d9600051 arg l2cap_rfcomm_channel ,timeup 
+4f4a 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+4f4b 1fe20400 copy pdata ,temp 
+
+l2cap_send_config_rsp:
+4f4c 79200025 set1 mark_ext_patch ,mark 
+4f4d 448ec023 bpatch patch23_5 ,mem_patch23 
+4f4e 58000005 setarg signal_config_rsp 
+4f4f e0a08000 istore 1 ,contw 
+4f50 18e27e00 copy queue ,pdata 
+4f51 e0a08000 istore 1 ,contw 
+4f52 58000006 setarg 0x0006 
+4f53 e0a10000 istore 2 ,contw 
+4f54 18427e00 copy temp ,pdata 
+4f55 e0a10000 istore 2 ,contw 
+4f56 18007e00 force 0x00 ,pdata 
+4f57 e0a10000 istore 2 ,contw 
+4f58 18007e00 force l2cap_config_success ,pdata 
+4f59 e0a10000 istore 2 ,contw 
+4f5a 18007e0a force 10 ,pdata 
+4f5b 9a40a400 iadd regb ,regb 
+4f5c 600902e9 storet 2 ,mem_config_req_dest_cid 
+4f5d 18e27e00 copy queue ,pdata 
+4f5e 600082e8 store 1 ,mem_config_identifier 
+4f5f 18007e50 force l2cap_sdp_channel ,pdata 
+4f60 a961fe00 icompare 0xff ,timeup 
+4f61 2020cf63 branch l2cap_send_config_rsp_is_sdp ,true 
+4f62 1fe0fe01 increase 1 ,pdata 
+
+l2cap_send_config_rsp_is_sdp:
+4f63 20600000 rtn 
+
+l2cap_check_channel_state:
+4f64 78547c00 disable user 
+4f65 c3810000 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+4f66 c4000000 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+4f67 c4008000 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+4f68 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+4f69 18c20a00 copy contr ,contw 
+4f6a 18a08bff increase -1 ,contw 
+4f6b e0a08000 istore 1 ,contw 
+4f6c 78347c00 enable user 
+4f6d 20600000 rtn 
+
+l2cap_send_config_req:
+
+l2cap_send_config_req_sdp:
+4f6e 6800c2b9 fetch 1 ,mem_sdp_state 
+4f6f 20404f64 call l2cap_check_channel_state 
+4f70 24344f75 nbranch l2cap_send_config_req_rfcomm ,user 
+4f71 7002e750 jam l2cap_sdp_channel ,mem_send_config_req 
+4f72 680142b1 fetch 2 ,mem_sdp_remote_cid 
+4f73 600102e9 store 2 ,mem_config_req_dest_cid 
+4f74 20204f89 branch l2cap_generate_config_req 
+
+l2cap_send_config_req_rfcomm:
+4f75 6800c2ba fetch 1 ,mem_rfcomm_state 
+4f76 20404f64 call l2cap_check_channel_state 
+4f77 24344f7c nbranch l2cap_send_config_req_hid_ctrl ,user 
+4f78 7002e751 jam l2cap_rfcomm_channel ,mem_send_config_req 
+4f79 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+4f7a 600102e9 store 2 ,mem_config_req_dest_cid 
+4f7b 20204f89 branch l2cap_generate_config_req 
+
+l2cap_send_config_req_hid_ctrl:
+4f7c 6800c2bb fetch 1 ,mem_hid_control_state 
+4f7d 20404f64 call l2cap_check_channel_state 
+4f7e 24344f83 nbranch l2cap_send_config_req_hid_int ,user 
+4f7f 7002e752 jam l2cap_hid_control_channel ,mem_send_config_req 
+4f80 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+4f81 600102e9 store 2 ,mem_config_req_dest_cid 
+4f82 20204f89 branch l2cap_generate_config_req 
+
+l2cap_send_config_req_hid_int:
+4f83 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+4f84 20404f64 call l2cap_check_channel_state 
+4f85 24740000 nrtn user 
+4f86 7002e753 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+4f87 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4f88 600102e9 store 2 ,mem_config_req_dest_cid 
+
+l2cap_generate_config_req:
+4f89 79200025 set1 mark_ext_patch ,mark 
+4f8a 448f4023 bpatch patch23_6 ,mem_patch23 
+4f8b 20405242 call l2cap_get_req_id 
+4f8c 204052c4 call l2cap_malloc_signal_channel 
+4f8d 18002400 force 0 ,regb 
+4f8e 204052d0 call l2cap_get_signal_tx_payload 
+4f8f 18007e04 force signal_config_req ,pdata 
+4f90 e0a08000 istore 1 ,contw 
+4f91 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+4f92 e0a08000 istore 1 ,contw 
+4f93 58000008 setarg 0x0008 
+4f94 e0a10000 istore 2 ,contw 
+4f95 680102e9 fetch 2 ,mem_config_req_dest_cid 
+4f96 e0a10000 istore 2 ,contw 
+4f97 58000000 setarg 0x0000 
+4f98 e0a10000 istore 2 ,contw 
+4f99 18007e01 force 1 ,pdata 
+4f9a e0a08000 istore 1 ,contw 
+4f9b 18007e02 force 2 ,pdata 
+4f9c e0a08000 istore 1 ,contw 
+4f9d 680082e7 fetch 1 ,mem_send_config_req 
+4f9e c028cfa2 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+4f9f 58000030 setarg l2cap_config_mtu_sdp 
+4fa0 e0a10000 istore 2 ,contw 
+4fa1 20204fa4 branch l2cap_generate_config_req_done 
+
+l2cap_generate_config_req_rfcomm:
+4fa2 580003e3 setarg l2cap_config_mtu_rfcomm 
+4fa3 e0a10000 istore 2 ,contw 
+
+l2cap_generate_config_req_done:
+4fa4 d840000c arg 0x0c ,temp 
+4fa5 600902d6 storet 2 ,mem_l2cap_signal_tx_length 
+4fa6 204052ce call l2cap_get_signal_tx_buff 
+4fa7 680102d6 fetch 2 ,mem_l2cap_signal_tx_length 
+4fa8 e0a10000 istore 2 ,contw 
+4fa9 18007e01 force l2cap_signal_channel ,pdata 
+4faa e0a10000 istore 2 ,contw 
+4fab 7002e700 jam 0 ,mem_send_config_req 
+
+l2cap_proc_signal_config_req_rtn:
+4fac 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp:
+4fad 18c08c01 increase 1 ,contr 
+4fae e8c10000 ifetch 2 ,contr 
+4faf 1fe22200 copy pdata ,rega 
+4fb0 1a627e00 copy regc ,pdata 
+4fb1 9a262600 isub rega ,regc 
+4fb2 e8c10000 ifetch 2 ,contr 
+4fb3 1fe22200 copy pdata ,rega 
+4fb4 58000050 setarg l2cap_sdp_channel 
+4fb5 9a267c00 isub rega ,null 
+4fb6 2022cfc4 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+4fb7 58000051 setarg l2cap_rfcomm_channel 
+4fb8 9a267c00 isub rega ,null 
+4fb9 2022cfc8 branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+4fba 58000052 setarg l2cap_hid_control_channel 
+4fbb 9a267c00 isub rega ,null 
+4fbc 2022cfcc branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+4fbd 58000053 setarg l2cap_hid_interrupt_channel 
+4fbe 9a267c00 isub rega ,null 
+4fbf 2022cfd0 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+4fc0 18c08c02 increase 2 ,contr 
+4fc1 e8c10000 ifetch 2 ,contr 
+4fc2 98007c00 iforce null 
+4fc3 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_sdp:
+4fc4 6800c2b9 fetch 1 ,mem_sdp_state 
+4fc5 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fc6 6000c2b9 store 1 ,mem_sdp_state 
+4fc7 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_rfcomm:
+4fc8 6800c2ba fetch 1 ,mem_rfcomm_state 
+4fc9 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fca 6000c2ba store 1 ,mem_rfcomm_state 
+4fcb 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_hid_ctrl:
+4fcc 6800c2bb fetch 1 ,mem_hid_control_state 
+4fcd 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fce 6000c2bb store 1 ,mem_hid_control_state 
+4fcf 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_config_rsp_hid_int:
+4fd0 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+4fd1 79207e05 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+4fd2 6000c2bc store 1 ,mem_hid_interrupt_state 
+4fd3 700b7d06 jam bt_evt_hid_connected ,mem_fifo_temp 
+4fd4 20207c27 branch ui_ipc_send_event 
+
+l2cap_proc_signal_disconnect_req:
+4fd5 e8c08000 ifetch 1 ,contr 
+4fd6 1fe20e00 copy pdata ,queue 
+4fd7 e8c10000 ifetch 2 ,contr 
+4fd8 1fe22200 copy pdata ,rega 
+4fd9 1a627e00 copy regc ,pdata 
+4fda 9a262600 isub rega ,regc 
+4fdb e8c10000 ifetch 2 ,contr 
+4fdc 1fe22200 copy pdata ,rega 
+4fdd e8c10000 ifetch 2 ,contr 
+4fde 1fe21600 copy pdata ,timeup 
+4fdf 1a220400 copy rega ,temp 
+4fe0 20407e1c call save_cont_pointers 
+4fe1 58000050 setarg l2cap_sdp_channel 
+4fe2 98467c00 isub temp ,null 
+4fe3 2022cffb branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+4fe4 58000051 setarg l2cap_rfcomm_channel 
+4fe5 98467c00 isub temp ,null 
+4fe6 2022d00b branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+4fe7 58000052 setarg l2cap_hid_control_channel 
+4fe8 98467c00 isub temp ,null 
+4fe9 2022cfef branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+4fea 58000053 setarg l2cap_hid_interrupt_channel 
+4feb 98467c00 isub temp ,null 
+4fec 2022cff5 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+4fed 2040506a call l2cap_reject_command 
+4fee 20205020 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_hid_ctrl:
+4fef 19620400 copy timeup ,temp 
+4ff0 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+4ff1 98467c00 isub temp ,null 
+4ff2 2022d001 branch l2cap_disconnect_hid_control_now ,zero 
+4ff3 2040506a call l2cap_reject_command 
+4ff4 20205020 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_hid_int:
+4ff5 19620400 copy timeup ,temp 
+4ff6 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+4ff7 98467c00 isub temp ,null 
+4ff8 2022d003 branch l2cap_disconnect_hid_interrupt_now ,zero 
+4ff9 2040506a call l2cap_reject_command 
+4ffa 20205020 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_proc_signal_disconnect_req_sdp:
+4ffb 19620400 copy timeup ,temp 
+4ffc 680142b1 fetch 2 ,mem_sdp_remote_cid 
+4ffd 98467c00 isub temp ,null 
+4ffe 2022d007 branch l2cap_disconnect_sdp_now ,zero 
+4fff 2040506a call l2cap_reject_command 
+5000 20205020 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_disconnect_hid_control_now:
+5001 20405081 call l2cap_reset_hid_ctrl_state 
+5002 20205013 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_disconnect_hid_interrupt_now:
+5003 20405087 call l2cap_reset_hid_int_state 
+5004 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+5005 203a5013 branch l2cap_send_disconnect_rsp_pkt ,blank 
+5006 20205013 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_disconnect_sdp_now:
+5007 2040507c call l2cap_reset_sdp_channel_state 
+5008 680082ef fetch 1 ,mem_upper_sm_ss 
+5009 243a5013 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+500a 20205013 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_proc_signal_disconnect_req_rfcomm:
+500b 19620400 copy timeup ,temp 
+500c 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+500d 98467c00 isub temp ,null 
+500e 2022d011 branch l2cap_disconnect_rfcomm_now ,zero 
+500f 2040506a call l2cap_reject_command 
+5010 20205020 branch l2cap_proc_signal_disconnect_req_err_rtn 
+
+l2cap_disconnect_rfcomm_now:
+5011 20405077 call l2cap_reset_rfcomm_channel_state 
+5012 20205013 branch l2cap_send_disconnect_rsp_pkt 
+
+l2cap_send_disconnect_rsp_pkt:
+5013 20407e21 call load_cont_pointers 
+5014 58000007 setarg signal_disconnect_rsp 
+5015 e0a08000 istore 1 ,contw 
+5016 18e27e00 copy queue ,pdata 
+5017 e0a08000 istore 1 ,contw 
+5018 58000004 setarg 0x0004 
+5019 e0a10000 istore 2 ,contw 
+501a 1a227e00 copy rega ,pdata 
+501b e0a10000 istore 2 ,contw 
+501c 19627e00 copy timeup ,pdata 
+501d e0a10000 istore 2 ,contw 
+501e 18007e08 force 8 ,pdata 
+501f 20205022 branch l2cap_proc_signal_disconnect_req_rtn 
+
+l2cap_proc_signal_disconnect_req_err_rtn:
+5020 20407e21 call load_cont_pointers 
+5021 20205022 branch l2cap_proc_signal_disconnect_req_rtn 
+
+l2cap_proc_signal_disconnect_req_rtn:
+5022 9a40a400 iadd regb ,regb 
+5023 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_disconnect_rsp:
+5024 e8c08000 ifetch 1 ,contr 
+5025 1fe20e00 copy pdata ,queue 
+5026 e8c10000 ifetch 2 ,contr 
+5027 1fe22200 copy pdata ,rega 
+5028 1a627e00 copy regc ,pdata 
+5029 9a262600 isub rega ,regc 
+502a e8c10000 ifetch 2 ,contr 
+502b 1fe21600 copy pdata ,timeup 
+502c e8c10000 ifetch 2 ,contr 
+502d 1fe20400 copy pdata ,temp 
+502e 20407e1c call save_cont_pointers 
+502f 58000050 setarg l2cap_sdp_channel 
+5030 98467c00 isub temp ,null 
+5031 2022d03d branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+5032 58000051 setarg l2cap_rfcomm_channel 
+5033 98467c00 isub temp ,null 
+5034 2022d043 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+5035 58000052 setarg l2cap_hid_control_channel 
+5036 98467c00 isub temp ,null 
+5037 2022d049 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+5038 58000053 setarg l2cap_hid_interrupt_channel 
+5039 98467c00 isub temp ,null 
+503a 2022d04f branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+503b 2040506a call l2cap_reject_command 
+503c 20205057 branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+
+l2cap_proc_signal_disconnect_rsp_sdp:
+503d 18422200 copy temp ,rega 
+503e 19620400 copy timeup ,temp 
+503f 680142b1 fetch 2 ,mem_sdp_remote_cid 
+5040 98467c00 isub temp ,null 
+5041 2042d07c call l2cap_reset_sdp_channel_state ,zero 
+5042 20205055 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_rfcomm:
+5043 18422200 copy temp ,rega 
+5044 19620400 copy timeup ,temp 
+5045 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+5046 98467c00 isub temp ,null 
+5047 2042d077 call l2cap_reset_rfcomm_channel_state ,zero 
+5048 20205055 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+5049 18422200 copy temp ,rega 
+504a 19620400 copy timeup ,temp 
+504b 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+504c 98467c00 isub temp ,null 
+504d 2042d081 call l2cap_reset_hid_ctrl_state ,zero 
+504e 20205055 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_hid_int:
+504f 18422200 copy temp ,rega 
+5050 19620400 copy timeup ,temp 
+5051 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+5052 98467c00 isub temp ,null 
+5053 2042d087 call l2cap_reset_hid_int_state ,zero 
+5054 20205055 branch l2cap_proc_signal_disconnect_rsp_rtn 
+
+l2cap_proc_signal_disconnect_rsp_rtn:
+5055 20407e21 call load_cont_pointers 
+5056 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_disconnect_rsp_err_rtn:
+5057 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_echo_req:
+5058 e8c08000 ifetch 1 ,contr 
+5059 1fe20e00 copy pdata ,queue 
+505a e8c10000 ifetch 2 ,contr 
+505b 1fe22200 copy pdata ,rega 
+505c 98c08c00 iadd contr ,contr 
+505d 58000009 setarg 9 
+505e e0a08000 istore 1 ,contw 
+505f 18e27e00 copy queue ,pdata 
+5060 e0a08000 istore 1 ,contw 
+5061 18007e00 force 0x0000 ,pdata 
+5062 e0a10000 istore 2 ,contw 
+5063 18007e04 force 4 ,pdata 
+5064 9a40a400 iadd regb ,regb 
+5065 1a627e00 copy regc ,pdata 
+5066 9a262600 isub rega ,regc 
+5067 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_echo_rsp:
+5068 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_proc_signal_info_rsp:
+5069 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_reject_command:
+506a 18002400 force 0 ,regb 
+506b 204052d0 call l2cap_get_signal_tx_payload 
+506c 58000001 setarg signal_cmd_reject 
+506d e0a08000 istore 1 ,contw 
+506e 18e27e00 copy queue ,pdata 
+506f e0a08000 istore 1 ,contw 
+5070 58000002 setarg 2 
+5071 e0a10000 istore 2 ,contw 
+5072 58000000 setarg cmd_not_understood 
+5073 e0a10000 istore 2 ,contw 
+5074 1a40a406 increase 6 ,regb 
+5075 da600004 arg 4 ,regc 
+5076 20204e20 branch l2cap_process_one_signal_rtn 
+
+l2cap_reset_rfcomm_channel_state:
+5077 58000000 setarg 0 
+5078 600102e2 store 2 ,mem_rfcomm_tx_pkt_length 
+5079 600142b3 store 2 ,mem_rfcomm_remote_cid 
+507a 7042ba00 jam 0 ,mem_rfcomm_state 
+507b 20600000 rtn 
+
+l2cap_reset_sdp_channel_state:
+507c 58000000 setarg 0 
+507d 600102dc store 2 ,mem_sdp_tx_pkt_length 
+507e 600142b1 store 2 ,mem_sdp_remote_cid 
+507f 7042b900 jam 0 ,mem_sdp_state 
+5080 20600000 rtn 
+
+l2cap_reset_hid_ctrl_state:
+5081 58000000 setarg 0 
+5082 600142b5 store 2 ,mem_hid_ctrl_remote_cid 
+5083 7042bb00 jam 0 ,mem_hid_control_state 
+5084 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+5085 c000508d beq 0 ,l2cap_reset_hid_disconnected 
+5086 20600000 rtn 
+
+l2cap_reset_hid_int_state:
+5087 58000000 setarg 0 
+5088 600142b7 store 2 ,mem_hid_int_remote_cid 
+5089 7042bc00 jam 0 ,mem_hid_interrupt_state 
+508a 6800c2bb fetch 1 ,mem_hid_control_state 
+508b c000508d beq 0 ,l2cap_reset_hid_disconnected 
+508c 20600000 rtn 
+
+l2cap_reset_hid_disconnected:
+508d 700b7d07 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+508e 20207c27 branch ui_ipc_send_event 
+
+l2cap_disconnect_interrupt_req:
+508f 680082e6 fetch 1 ,mem_control_tasks 
+5090 793ffe00 set0 l2cap_disconnect_interrupt ,pdata 
+5091 600082e6 store 1 ,mem_control_tasks 
+5092 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+5093 207a0000 rtn blank 
+5094 204052c4 call l2cap_malloc_signal_channel 
+5095 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+5096 1fe22200 copy pdata ,rega 
+5097 18002453 force l2cap_hid_interrupt_channel ,regb 
+5098 202050a2 branch l2cap_generate_disconnect_req 
+
+l2cap_disconnect_control_req:
+5099 680082e6 fetch 1 ,mem_control_tasks 
+509a 793ffe07 set0 l2cap_disconnect_control ,pdata 
+509b 600082e6 store 1 ,mem_control_tasks 
+509c 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+509d 207a0000 rtn blank 
+509e 204052c4 call l2cap_malloc_signal_channel 
+509f 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+50a0 1fe22200 copy pdata ,rega 
+50a1 18002452 force l2cap_hid_control_channel ,regb 
+
+l2cap_generate_disconnect_req:
+50a2 20405242 call l2cap_get_req_id 
+50a3 204052d0 call l2cap_get_signal_tx_payload 
+50a4 18007e06 force signal_disconnect_req ,pdata 
+50a5 e0a08000 istore 1 ,contw 
+50a6 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+50a7 e0a08000 istore 1 ,contw 
+50a8 58000004 setarg 0x0004 
+50a9 e0a10000 istore 2 ,contw 
+50aa 1a227e00 copy rega ,pdata 
+50ab e0a10000 istore 2 ,contw 
+50ac 1a427e00 copy regb ,pdata 
+50ad e0a10000 istore 2 ,contw 
+50ae 18000408 force 0x08 ,temp 
+50af 202050e9 branch ml2cap_send_signal 
+
+ml2cap_send_signal_connect_req:
+50b0 79200025 set1 mark_ext_patch ,mark 
+50b1 448fc023 bpatch patch23_7 ,mem_patch23 
+50b2 20405242 call l2cap_get_req_id 
+50b3 204052d0 call l2cap_get_signal_tx_payload 
+50b4 58000002 setarg signal_connect_req 
+50b5 e0a08000 istore 1 ,contw 
+50b6 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+50b7 e0a08000 istore 1 ,contw 
+50b8 58000004 setarg 0x0004 
+50b9 e0a10000 istore 2 ,contw 
+50ba 18427e00 copy temp ,pdata 
+50bb e0a10000 istore 2 ,contw 
+50bc 19627e00 copy timeup ,pdata 
+50bd e0a10000 istore 2 ,contw 
+50be d8400008 arg 8 ,temp 
+50bf 202050e9 branch ml2cap_send_signal 
+
+ml2cap_send_signal_config_req:
+50c0 79200025 set1 mark_ext_patch ,mark 
+50c1 44904024 bpatch patch24_0 ,mem_patch24 
+50c2 20405242 call l2cap_get_req_id 
+50c3 204052d0 call l2cap_get_signal_tx_payload 
+50c4 58000004 setarg signal_config_req 
+50c5 e0a08000 istore 1 ,contw 
+50c6 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+50c7 e0a08000 istore 1 ,contw 
+50c8 58000008 setarg 0x0008 
+50c9 e0a10000 istore 2 ,contw 
+50ca 18427e00 copy temp ,pdata 
+50cb e0a10000 istore 2 ,contw 
+50cc 58000000 setarg 0x0000 
+50cd e0a10000 istore 2 ,contw 
+50ce 58000001 setarg 0x01 
+50cf e0a08000 istore 1 ,contw 
+50d0 58000002 setarg 0x02 
+50d1 e0a08000 istore 1 ,contw 
+50d2 580003e3 setarg l2cap_config_mtu_rfcomm 
+50d3 e0a10000 istore 2 ,contw 
+50d4 d840000c arg 0xc ,temp 
+50d5 202050e9 branch ml2cap_send_signal 
+
+ml2cap_send_signal_disconn_req:
+50d6 79200025 set1 mark_ext_patch ,mark 
+50d7 4490c024 bpatch patch24_1 ,mem_patch24 
+50d8 20405242 call l2cap_get_req_id 
+50d9 204052d0 call l2cap_get_signal_tx_payload 
+50da 58000006 setarg signal_disconnect_req 
+50db e0a08000 istore 1 ,contw 
+50dc 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+50dd 1fe0fe01 increase 1 ,pdata 
+50de 18a22200 copy contw ,rega 
+50df 6000c2be store 1 ,mem_ml2cap_comm_id 
+50e0 1a220a00 copy rega ,contw 
+50e1 e0a08000 istore 1 ,contw 
+50e2 58000004 setarg 0x0004 
+50e3 e0a10000 istore 2 ,contw 
+50e4 18427e00 copy temp ,pdata 
+50e5 e0a10000 istore 2 ,contw 
+50e6 19627e00 copy timeup ,pdata 
+50e7 e0a10000 istore 2 ,contw 
+50e8 d8400008 arg 0x8 ,temp 
+
+ml2cap_send_signal:
+50e9 600902d6 storet 2 ,mem_l2cap_signal_tx_length 
+50ea 18427e00 copy temp ,pdata 
+50eb 203a526f branch l2cap_malloc_discard ,blank 
+50ec 204052ce call l2cap_get_signal_tx_buff 
+50ed 680102d6 fetch 2 ,mem_l2cap_signal_tx_length 
+50ee e0a10000 istore 2 ,contw 
+50ef 18007e01 force l2cap_signal_channel ,pdata 
+50f0 e0a10000 istore 2 ,contw 
+50f1 20600000 rtn 
+
+msdp_send_req_done:
+50f2 680102dc fetch 2 ,mem_sdp_tx_pkt_length 
+50f3 203a3bf1 branch assert ,blank 
+50f4 204052dc call l2cap_get_sdp_tx_buff 
+50f5 680102dc fetch 2 ,mem_sdp_tx_pkt_length 
+50f6 e0a10000 istore 2 ,contw 
+50f7 680142b1 fetch 2 ,mem_sdp_remote_cid 
+50f8 e0a10000 istore 2 ,contw 
+50f9 20600000 rtn 
+
+ml2cap_rx_multiplexing:
+50fa 79200025 set1 mark_ext_patch ,mark 
+50fb 44914024 bpatch patch24_2 ,mem_patch24 
+50fc 680102cd fetch 2 ,mem_l2cap_rx_pkt_length 
+50fd 203a4dfc branch l2cap_rx_reset_state ,blank 
+50fe 680082cf fetch 1 ,mem_l2cap_rx_cid 
+50ff c000d105 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+5100 c0284de7 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+5101 c028cdf4 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+5102 c0294df2 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+5103 c029cdf2 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+5104 20204dfc branch l2cap_rx_reset_state 
+
+ml2cap_call_proc_signal:
+5105 79200025 set1 mark_ext_patch ,mark 
+5106 4491c024 bpatch patch24_3 ,mem_patch24 
+5107 204052c4 call l2cap_malloc_signal_channel 
+5108 18002400 force 0 ,regb 
+5109 204052d0 call l2cap_get_signal_tx_payload 
+510a 1fe20a00 copy pdata ,contw 
+510b 680102cd fetch 2 ,mem_l2cap_rx_pkt_length 
+510c 1fe22600 copy pdata ,regc 
+510d 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+510e 98000c00 iforce contr 
+
+ml2cap_proc_one_comm_loop:
+510f 20405115 call ml2cap_proc_one_comm 
+5110 1a60a7fc increase -4 ,regc 
+5111 2422d10f nbranch ml2cap_proc_one_comm_loop ,zero 
+5112 1a420400 copy regb ,temp 
+5113 204050e9 call ml2cap_send_signal 
+5114 20204dfc branch l2cap_rx_reset_state 
+
+ml2cap_proc_one_comm:
+5115 e8c08000 ifetch 1 ,contr 
+5116 c0015120 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+5117 c000d123 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+5118 c001d12d beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+5119 c002d168 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+511a c0025199 beq signal_config_req ,ml2cap_proc_signal_config_req 
+511b c003d21c beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+511c c00351eb beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+511d c0045058 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+511e c0054e3a beq signal_info_req ,ml2cap_proc_signal_info_req 
+511f 20205236 branch ml2cap_proc_send_reject 
+
+ml2cap_proc_signal_connect_req:
+5120 20407e1c call save_cont_pointers 
+5121 20407e21 call load_cont_pointers 
+5122 20204e5c branch l2cap_proc_signal_connect_req 
+
+ml2cap_proc_signal_cmd_reject:
+5123 e8c08000 ifetch 1 ,contr 
+5124 1fe20e00 copy pdata ,queue 
+5125 e8c10000 ifetch 2 ,contr 
+5126 1fe22200 copy pdata ,rega 
+5127 1a627e00 copy regc ,pdata 
+5128 9a262600 isub rega ,regc 
+
+mvptr:
+5129 e8c08000 ifetch 1 ,contr 
+512a 1a20a3ff increase -1 ,rega 
+512b 2422d129 nbranch mvptr ,zero 
+512c 20600000 rtn 
+
+ml2cap_proc_signal_connect_rsp:
+512d e8c08000 ifetch 1 ,contr 
+512e 1fe20e00 copy pdata ,queue 
+512f e8c10000 ifetch 2 ,contr 
+5130 1fe22200 copy pdata ,rega 
+5131 e8c10000 ifetch 2 ,contr 
+5132 1fe21600 copy pdata ,timeup 
+5133 e8c10000 ifetch 2 ,contr 
+5134 1fe20400 copy pdata ,temp 
+5135 e8c10000 ifetch 2 ,contr 
+5136 1fe67c00 sub pdata ,0 ,null 
+5137 2022d13f branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+5138 c001513b beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+5139 c002513b beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+513a 2020513d branch ml2cap_proc_signal_connect_rsp_mnosucc 
+
+ml2cap_proc_signal_connect_refused_result:
+513b 700b7d16 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+513c 20407c27 call ui_ipc_send_event 
+
+ml2cap_proc_signal_connect_rsp_mnosucc:
+513d e8c10000 ifetch 2 ,contr 
+513e 20205165 branch mnosucc 
+
+ml2cap_proc_signal_connect_rsp_sucessful:
+513f 20407e1c call save_cont_pointers 
+5140 58000050 setarg l2cap_sdp_channel 
+5141 98467c00 isub temp ,null 
+5142 2022d14d branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+5143 58000051 setarg l2cap_rfcomm_channel 
+5144 98467c00 isub temp ,null 
+5145 2022d153 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+5146 58000053 setarg l2cap_hid_interrupt_channel 
+5147 98467c00 isub temp ,null 
+5148 2022d15f branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+5149 58000052 setarg l2cap_hid_control_channel 
+514a 98467c00 isub temp ,null 
+514b 2022d159 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+514c 20205165 branch mnosucc 
+
+ml2cap_proc_signal_connect_rsp_sdp:
+514d 19627e00 copy timeup ,pdata 
+514e 600142b1 store 2 ,mem_sdp_remote_cid 
+514f 6800c2b9 fetch 1 ,mem_sdp_state 
+5150 79207e01 set1 l2cap_channel_state_conn_res 
+5151 6000c2b9 store 1 ,mem_sdp_state 
+5152 20205164 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_rfcomm:
+5153 19627e00 copy timeup ,pdata 
+5154 600142b3 store 2 ,mem_rfcomm_remote_cid 
+5155 6800c2ba fetch 1 ,mem_rfcomm_state 
+5156 79207e01 set1 l2cap_channel_state_conn_res 
+5157 6000c2ba store 1 ,mem_rfcomm_state 
+5158 20205164 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_hid_ctrl:
+5159 19627e00 copy timeup ,pdata 
+515a 600142b5 store 2 ,mem_hid_ctrl_remote_cid 
+515b 6800c2bb fetch 1 ,mem_hid_control_state 
+515c 79207e01 set1 l2cap_channel_state_conn_res 
+515d 6000c2bb store 1 ,mem_hid_control_state 
+515e 20205164 branch mnosucc1 
+
+ml2cap_proc_signal_connect_rsp_hid_int:
+515f 19627e00 copy timeup ,pdata 
+5160 600142b7 store 2 ,mem_hid_int_remote_cid 
+5161 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+5162 79207e01 set1 l2cap_channel_state_conn_res 
+5163 6000c2bc store 1 ,mem_hid_interrupt_state 
+
+mnosucc1:
+5164 20407e21 call load_cont_pointers 
+
+mnosucc:
+5165 1a627e00 copy regc ,pdata 
+5166 9a262600 isub rega ,regc 
+5167 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp:
+5168 e8c08000 ifetch 1 ,contr 
+5169 1fe20e00 copy pdata ,queue 
+516a e8c10000 ifetch 2 ,contr 
+516b 1fe22200 copy pdata ,rega 
+516c 1a627e00 copy regc ,pdata 
+516d 9a262600 isub rega ,regc 
+516e e8c10000 ifetch 2 ,contr 
+516f 1fe21600 copy pdata ,timeup 
+5170 e8c10000 ifetch 2 ,contr 
+5171 e8c10000 ifetch 2 ,contr 
+5172 243a5193 nbranch mcrsdone1 ,blank 
+5173 20407e1c call save_cont_pointers 
+5174 19620400 copy timeup ,temp 
+5175 58000050 setarg l2cap_sdp_channel 
+5176 98467c00 isub temp ,null 
+5177 2022d181 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+5178 58000051 setarg l2cap_rfcomm_channel 
+5179 98467c00 isub temp ,null 
+517a 2022d185 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+517b 58000052 setarg l2cap_hid_control_channel 
+517c 98467c00 isub temp ,null 
+517d 2022d189 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+517e 58000053 setarg l2cap_hid_interrupt_channel 
+517f 98467c00 isub temp ,null 
+5180 2022d18d branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+
+ml2cap_proc_signal_config_rsp_sdp:
+5181 6800c2b9 fetch 1 ,mem_sdp_state 
+5182 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+5183 6000c2b9 store 1 ,mem_sdp_state 
+5184 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_rfcomm:
+5185 6800c2ba fetch 1 ,mem_rfcomm_state 
+5186 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+5187 6000c2ba store 1 ,mem_rfcomm_state 
+5188 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_hid_ctrl:
+5189 6800c2bb fetch 1 ,mem_hid_control_state 
+518a 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+518b 6000c2bb store 1 ,mem_hid_control_state 
+518c 20600000 rtn 
+
+ml2cap_proc_signal_config_rsp_hid_int:
+518d 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+518e 79207e05 set1 l2cap_channel_state_rcv_cfg_res 
+518f 6000c2bc store 1 ,mem_hid_interrupt_state 
+5190 700b7d06 jam bt_evt_hid_connected ,mem_fifo_temp 
+5191 20207c27 branch ui_ipc_send_event 
+
+mcfrsdone:
+5192 20407e21 call load_cont_pointers 
+
+mcrsdone1:
+5193 1a20a3fa increase -6 ,rega 
+
+mloop2:
+5194 2022d198 branch mcrsdone ,zero 
+5195 18c08c01 increase 1 ,contr 
+5196 1a20a3ff increase -1 ,rega 
+5197 20205194 branch mloop2 
+
+mcrsdone:
+5198 20600000 rtn 
+
+ml2cap_proc_signal_config_req:
+5199 e8c08000 ifetch 1 ,contr 
+519a 1fe20e00 copy pdata ,queue 
+519b e8c10000 ifetch 2 ,contr 
+519c 1fe22200 copy pdata ,rega 
+519d 1a627e00 copy regc ,pdata 
+519e 9a262600 isub rega ,regc 
+519f e8c10000 ifetch 2 ,contr 
+51a0 18c08c02 increase 2 ,contr 
+51a1 1fe20400 copy pdata ,temp 
+51a2 58000005 setarg signal_config_rsp 
+51a3 e0a08000 istore 1 ,contw 
+51a4 18e27e00 copy queue ,pdata 
+51a5 e0a08000 istore 1 ,contw 
+51a6 1a20a202 increase 2 ,rega 
+51a7 1a227e00 copy rega ,pdata 
+51a8 e0a10000 istore 2 ,contw 
+51a9 20407e1c call save_cont_pointers 
+51aa 58000050 setarg l2cap_sdp_channel 
+51ab 98467c00 isub temp ,null 
+51ac 2022d1b7 branch ml2cap_proc_signal_config_req_sdp ,zero 
+51ad 58000051 setarg l2cap_rfcomm_channel 
+51ae 98467c00 isub temp ,null 
+51af 2022d1c8 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+51b0 58000052 setarg l2cap_hid_control_channel 
+51b1 98467c00 isub temp ,null 
+51b2 2022d1ce branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+51b3 58000053 setarg l2cap_hid_interrupt_channel 
+51b4 98467c00 isub temp ,null 
+51b5 2022d1d4 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+51b6 202051d9 branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_sdp:
+51b7 6800c2b9 fetch 1 ,mem_sdp_state 
+51b8 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51b9 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51ba 6000c2b9 store 1 ,mem_sdp_state 
+51bb c28151c5 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+51bc 680882e6 fetcht 1 ,mem_control_tasks 
+51bd 79200406 set1 l2cap_init_config_req ,temp 
+51be 600882e6 storet 1 ,mem_control_tasks 
+51bf 18e27e00 copy queue ,pdata 
+51c0 1fe0fe01 increase 1 ,pdata 
+51c1 600082e8 store 1 ,mem_config_identifier 
+51c2 6800c2b9 fetch 1 ,mem_sdp_state 
+51c3 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+51c4 6000c2b9 store 1 ,mem_sdp_state 
+
+ml2cap_proc_signal_config_req_sdp_nsndreq:
+51c5 680142b1 fetch 2 ,mem_sdp_remote_cid 
+51c6 600102e9 store 2 ,mem_config_req_dest_cid 
+51c7 202051d9 branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_rfcomm:
+51c8 6800c2ba fetch 1 ,mem_rfcomm_state 
+51c9 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51ca 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51cb 6000c2ba store 1 ,mem_rfcomm_state 
+51cc 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+51cd 202051d9 branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_hid_ctrl:
+51ce 6800c2bb fetch 1 ,mem_hid_control_state 
+51cf 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51d0 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51d1 6000c2bb store 1 ,mem_hid_control_state 
+51d2 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+51d3 202051d9 branch mcfgrq_done 
+
+ml2cap_proc_signal_config_req_hid_int:
+51d4 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+51d5 79207e04 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+51d6 79207e03 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+51d7 6000c2bc store 1 ,mem_hid_interrupt_state 
+51d8 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+
+mcfgrq_done:
+51d9 1fe21600 copy pdata ,timeup 
+51da 20407e21 call load_cont_pointers 
+51db 19627e00 copy timeup ,pdata 
+51dc e0a10000 istore 2 ,contw 
+51dd 18007e00 force 0x0000 ,pdata 
+51de e0a10000 istore 2 ,contw 
+51df 18007e00 force 0x0000 ,pdata 
+51e0 e0a10000 istore 2 ,contw 
+51e1 18007e0a force 10 ,pdata 
+51e2 9a40a400 iadd regb ,regb 
+51e3 1a20a3fa increase -6 ,rega 
+
+mloop1:
+51e4 2022d1ea branch mcrqdone ,zero 
+51e5 e8c08000 ifetch 1 ,contr 
+51e6 e0a08000 istore 1 ,contw 
+51e7 1a40a401 increase 1 ,regb 
+51e8 1a20a3ff increase -1 ,rega 
+51e9 202051e4 branch mloop1 
+
+mcrqdone:
+51ea 20600000 rtn 
+
+ml2cap_proc_signal_disconn_req:
+51eb e8c08000 ifetch 1 ,contr 
+51ec 1fe20e00 copy pdata ,queue 
+51ed e8c10000 ifetch 2 ,contr 
+51ee 1fe22200 copy pdata ,rega 
+51ef 1a627e00 copy regc ,pdata 
+51f0 9a262600 isub rega ,regc 
+51f1 e8c10000 ifetch 2 ,contr 
+51f2 1fe22200 copy pdata ,rega 
+51f3 e8c10000 ifetch 2 ,contr 
+51f4 1fe21600 copy pdata ,timeup 
+51f5 20407e1c call save_cont_pointers 
+51f6 58000050 setarg l2cap_sdp_channel 
+51f7 1a220400 copy rega ,temp 
+51f8 98467c00 isub temp ,null 
+51f9 2022d203 branch ml2cap_proc_signal_disconn_sdp ,zero 
+51fa 58000052 setarg l2cap_hid_control_channel 
+51fb 1a220400 copy rega ,temp 
+51fc 98467c00 isub temp ,null 
+51fd 2022d208 branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+51fe 58000053 setarg l2cap_hid_interrupt_channel 
+51ff 1a220400 copy rega ,temp 
+5200 98467c00 isub temp ,null 
+5201 2022d20a branch ml2cap_proc_signal_disconn_hid_int ,zero 
+5202 2020520c branch mclsrfc 
+
+ml2cap_proc_signal_disconn_sdp:
+5203 58000000 setarg 0x0000 
+5204 600102dc store 2 ,mem_sdp_tx_pkt_length 
+5205 600142b1 store 2 ,mem_sdp_remote_cid 
+5206 6000c2b9 store 1 ,mem_sdp_state 
+5207 2020520e branch mclssdp 
+
+ml2cap_proc_signal_disconn_hid_ctrl:
+5208 20405081 call l2cap_reset_hid_ctrl_state 
+5209 2020520e branch mclssdp 
+
+ml2cap_proc_signal_disconn_hid_int:
+520a 20405087 call l2cap_reset_hid_int_state 
+520b 2020520e branch mclssdp 
+
+mclsrfc:
+520c 58000000 setarg 0x0000 
+520d 600102e2 store 2 ,mem_rfcomm_tx_pkt_length 
+
+mclssdp:
+520e 20407e21 call load_cont_pointers 
+520f 58000007 setarg signal_disconnect_rsp 
+5210 e0a08000 istore 1 ,contw 
+5211 18e27e00 copy queue ,pdata 
+5212 e0a08000 istore 1 ,contw 
+5213 58000004 setarg 0x0004 
+5214 e0a10000 istore 2 ,contw 
+5215 1a227e00 copy rega ,pdata 
+5216 e0a10000 istore 2 ,contw 
+5217 19627e00 copy timeup ,pdata 
+5218 e0a10000 istore 2 ,contw 
+5219 18007e08 force 8 ,pdata 
+521a 9a40a400 iadd regb ,regb 
+521b 20600000 rtn 
+
+ml2cap_proc_signal_disconn_rsp:
+521c e8c08000 ifetch 1 ,contr 
+521d 1fe20e00 copy pdata ,queue 
+521e e8c10000 ifetch 2 ,contr 
+521f 1fe22200 copy pdata ,rega 
+5220 e8c10000 ifetch 2 ,contr 
+5221 1fe21600 copy pdata ,timeup 
+5222 e8c10000 ifetch 2 ,contr 
+5223 1fe20400 copy pdata ,temp 
+5224 20407e1c call save_cont_pointers 
+5225 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+5226 a8e1fe00 icompare 0xff ,queue 
+5227 2420d232 nbranch mdisdone ,true 
+5228 58000050 setarg l2cap_sdp_channel 
+5229 98467c00 isub temp ,null 
+522a 2022d22f branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+522b 58000051 setarg l2cap_rfcomm_channel 
+522c 98467c00 isub temp ,null 
+522d 2022d232 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+522e 20205232 branch mdisdone 
+
+ml2cap_proc_signal_disconn_rsp_sdp:
+522f 7042b100 jam 0 ,mem_sdp_remote_cid 
+5230 7042b900 jam 0 ,mem_sdp_state 
+5231 20205232 branch mdisdone 
+
+ml2cap_proc_signal_disconn_rsp_rfcomm:
+
+mdisdone:
+5232 20407e21 call load_cont_pointers 
+5233 1a627e00 copy regc ,pdata 
+5234 9a262600 isub rega ,regc 
+5235 20600000 rtn 
+
+ml2cap_proc_send_reject:
+5236 58000001 setarg signal_cmd_reject 
+5237 e0a08000 istore 1 ,contw 
+5238 e8c08000 ifetch 1 ,contr 
+5239 e0a08000 istore 1 ,contw 
+523a 58000002 setarg 0x0002 
+523b e0a10000 istore 2 ,contw 
+523c 58000000 setarg 0x0000 
+523d e0a10000 istore 2 ,contw 
+523e 58000006 setarg 0x0006 
+523f 9a40a400 iadd regb ,regb 
+5240 18002604 force 4 ,regc 
+5241 20600000 rtn 
+
+l2cap_get_req_id:
+5242 6800c2be fetch 1 ,mem_ml2cap_comm_id 
+5243 1fe0fe01 increase 1 ,pdata 
+5244 c0805246 bne 0 ,l2cap_get_req_id_ok 
+5245 1fe0fe01 increase 1 ,pdata 
+
+l2cap_get_req_id_ok:
+5246 6000c2be store 1 ,mem_ml2cap_comm_id 
+5247 20600000 rtn 
+
+l2cap_malloc:
+5248 79200025 set1 mark_ext_patch ,mark 
+5249 44924024 bpatch patch24_4 ,mem_patch24 
+524a da400000 arg 0 ,regb 
+524b 2040527a call l2cap_malloc_is_fifo_full 
+524c 243a3bf1 nbranch assert ,blank 
+524d 20405287 call l2cap_malloc_get_full_map 
+524e da401800 arg mem_tx_buff0 ,regb 
+524f d8e00000 arg 0 ,queue 
+
+l2cap_malloc_loop:
+5250 6808c2bf fetcht 1 ,mem_used_map 
+5251 a84fffff qisolate1 temp 
+5252 2020d258 branch l2cap_malloc_next ,true 
+5253 204052ab call l2cap_malloc_enough 
+5254 19667c00 sub timeup ,0 ,null 
+5255 20215258 branch l2cap_malloc_next ,positive 
+5256 20405292 call l2cap_malloc_into_fifo 
+5257 2020525e branch l2cap_malloc_rtn 
+
+l2cap_malloc_next:
+5258 1a40a480 increase 128 ,regb 
+5259 18e08e01 increase 1 ,queue 
+525a 58000008 setarg 8 
+525b 98e67c00 isub queue ,null 
+525c 20215250 branch l2cap_malloc_loop ,positive 
+525d da400000 arg 0 ,regb 
+
+l2cap_malloc_rtn:
+525e 1a427e00 copy regb ,pdata 
+525f 203a3bf1 branch assert ,blank 
+5260 20600000 rtn 
+
+l2cap_malloc_fifo_out:
+5261 79200025 set1 mark_ext_patch ,mark 
+5262 4492c024 bpatch patch24_5 ,mem_patch24 
+5263 20405280 call l2cap_malloc_fifo_get_first_ptr 
+5264 18c08c01 increase 1 ,contr 
+5265 e8c10000 ifetch 2 ,contr 
+5266 20600000 rtn 
+
+l2cap_malloc_free:
+5267 79200025 set1 mark_ext_patch ,mark 
+5268 44934024 bpatch patch24_6 ,mem_patch24 
+5269 20405280 call l2cap_malloc_fifo_get_first_ptr 
+526a 18c20a00 copy contr ,contw 
+526b 18c20400 copy contr ,temp 
+526c 58000000 setarg 0 
+526d e0a18000 istore 3 ,contw 
+526e 20600000 rtn 
+
+l2cap_malloc_discard:
+526f 79200025 set1 mark_ext_patch ,mark 
+5270 4493c024 bpatch patch24_7 ,mem_patch24 
+5271 2040527e call l2cap_malloc_is_fifo_empty 
+5272 203a3bf1 branch assert ,blank 
+5273 6801c2c6 fetch 3 ,mem_tx_fifo2 
+5274 6001c2c9 store 3 ,mem_tx_fifo3 
+5275 6801c2c3 fetch 3 ,mem_tx_fifo1 
+5276 6001c2c6 store 3 ,mem_tx_fifo2 
+5277 6801c2c0 fetch 3 ,mem_tx_fifo0 
+5278 6001c2c3 store 3 ,mem_tx_fifo1 
+5279 20600000 rtn 
+
+l2cap_malloc_is_fifo_full:
+527a 6801c2c0 fetch 3 ,mem_tx_fifo0 
+527b 20600000 rtn 
+
+l2cap_malloc_is_fifo_nearly_full:
+527c 6801c2c3 fetch 3 ,mem_tx_fifo1 
+527d 20600000 rtn 
+
+l2cap_malloc_is_fifo_empty:
+527e 6801c2c9 fetch 3 ,mem_tx_fifo3 
+527f 20600000 rtn 
+
+l2cap_malloc_fifo_get_first_ptr:
+5280 2040527e call l2cap_malloc_is_fifo_empty 
+5281 203a3bf1 branch assert ,blank 
+5282 d8c042c0 arg mem_tx_fifo0 ,contr 
+
+l2cap_malloc_free_loop:
+5283 e8c18000 ifetch 3 ,contr 
+5284 203a5283 branch l2cap_malloc_free_loop ,blank 
+5285 18c08dfd increase -3 ,contr 
+5286 20600000 rtn 
+
+l2cap_malloc_get_full_map:
+5287 79200025 set1 mark_ext_patch ,mark 
+5288 44944025 bpatch patch25_0 ,mem_patch25 
+5289 df200004 arg 4 ,loopcnt 
+528a d8c042c0 arg mem_tx_fifo0_map ,contr 
+528b d8400000 arg 0 ,temp 
+
+l2cap_malloc_get_full_map_loop:
+528c e8c18000 ifetch 3 ,contr 
+528d 1fe17eff and pdata ,0xff ,pdata 
+528e 98418400 ior temp ,temp 
+528f c200528c loop l2cap_malloc_get_full_map_loop 
+5290 6008c2bf storet 1 ,mem_used_map 
+5291 20600000 rtn 
+
+l2cap_malloc_into_fifo:
+5292 79200025 set1 mark_ext_patch ,mark 
+5293 4494c025 bpatch patch25_1 ,mem_patch25 
+5294 2040527a call l2cap_malloc_is_fifo_full 
+5295 243a3bf1 nbranch assert ,blank 
+5296 2040527e call l2cap_malloc_is_fifo_empty 
+5297 203a52a0 branch l2cap_malloc_into_fifo_no_push ,blank 
+5298 6801c2c3 fetch 3 ,mem_tx_fifo1 
+5299 6001c2c0 store 3 ,mem_tx_fifo0 
+529a e8c18000 ifetch 3 ,contr 
+529b e0a18000 istore 3 ,contw 
+529c e8c18000 ifetch 3 ,contr 
+529d e0a18000 istore 3 ,contw 
+529e 58000000 setarg 0 
+529f e0a18000 istore 3 ,contw 
+
+l2cap_malloc_into_fifo_no_push:
+52a0 d8400000 arg 0 ,temp 
+52a1 19627e00 copy timeup ,pdata 
+52a2 98e0fe00 iadd queue ,pdata 
+
+l2cap_malloc_into_fifo_loop:
+52a3 f9200400 qset1 temp 
+52a4 18e08e01 increase 1 ,queue 
+52a5 98e67c00 isub queue ,null 
+52a6 2422d2a3 nbranch l2cap_malloc_into_fifo_loop ,zero 
+52a7 1a4d7e00 lshift8 regb ,pdata 
+52a8 9841fe00 ior temp ,pdata 
+52a9 6001c2c9 store 3 ,mem_tx_fifo3 
+52aa 20600000 rtn 
+
+l2cap_malloc_enough:
+52ab 79200025 set1 mark_ext_patch ,mark 
+52ac 44954025 bpatch patch25_2 ,mem_patch25 
+52ad 20405287 call l2cap_malloc_get_full_map 
+52ae 18e22600 copy queue ,regc 
+52af d8400000 arg 0 ,temp 
+52b0 d9600000 arg 0 ,timeup 
+
+l2cap_malloc_enough_loop:
+52b1 18e27e00 copy queue ,pdata 
+52b2 c00452bc beq 8 ,l2cap_malloc_enough_end 
+52b3 6800c2bf fetch 1 ,mem_used_map 
+52b4 afefffff qisolate1 pdata 
+52b5 2020d2bc branch l2cap_malloc_enough_end ,true 
+52b6 18408480 increase 128 ,temp 
+52b7 18e08e01 increase 1 ,queue 
+52b8 1a227e00 copy rega ,pdata 
+52b9 98467c00 isub temp ,null 
+52ba 2022d2bc branch l2cap_malloc_enough_end ,zero 
+52bb 202152b1 branch l2cap_malloc_enough_loop ,positive 
+
+l2cap_malloc_enough_end:
+52bc 18427e00 copy temp ,pdata 
+52bd 9a267c00 isub rega ,null 
+52be 242152c2 nbranch l2cap_malloc_enough_rtn ,positive 
+52bf 18e27e00 copy queue ,pdata 
+52c0 1a620400 copy regc ,temp 
+52c1 98461600 isub temp ,timeup 
+
+l2cap_malloc_enough_rtn:
+52c2 1a620e00 copy regc ,queue 
+52c3 20600000 rtn 
+
+l2cap_malloc_signal_channel:
+52c4 79200025 set1 mark_ext_patch ,mark 
+52c5 4495c025 bpatch patch25_3 ,mem_patch25 
+52c6 da20007f arg l2cap_signal_malloc_size ,rega 
+52c7 20405248 call l2cap_malloc 
+52c8 600102d2 store 2 ,mem_l2cap_signal_tx_buff_ptr 
+52c9 1fe0fe04 increase 4 ,pdata 
+52ca 600102d4 store 2 ,mem_l2cap_signal_tx_payload_ptr 
+52cb 58000000 setarg 0 
+52cc 600102d6 store 2 ,mem_l2cap_signal_tx_length 
+52cd 20600000 rtn 
+
+l2cap_get_signal_tx_buff:
+52ce 680102d2 fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+52cf 202052f2 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_signal_tx_payload:
+52d0 680102d4 fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+52d1 202052f2 branch l2cap_util_pdata_to_contw 
+
+l2cap_malloc_sdp_channel:
+52d2 79200025 set1 mark_ext_patch ,mark 
+52d3 44964025 bpatch patch25_4 ,mem_patch25 
+52d4 da2002ff arg sdp_malloc_size ,rega 
+52d5 20405248 call l2cap_malloc 
+52d6 600102d8 store 2 ,mem_sdp_tx_buff_ptr 
+52d7 1fe0fe04 increase 4 ,pdata 
+52d8 600102da store 2 ,mem_sdp_tx_payload_ptr 
+52d9 58000000 setarg 0 
+52da 600102dc store 2 ,mem_sdp_tx_pkt_length 
+52db 20600000 rtn 
+
+l2cap_get_sdp_tx_buff:
+52dc 680102d8 fetch 2 ,mem_sdp_tx_buff_ptr 
+52dd 202052f2 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_sdp_tx_payload:
+52de 680102da fetch 2 ,mem_sdp_tx_payload_ptr 
+52df 202052f2 branch l2cap_util_pdata_to_contw 
+
+l2cap_malloc_rfcomm_channel:
+52e0 79200025 set1 mark_ext_patch ,mark 
+52e1 4496c025 bpatch patch25_5 ,mem_patch25 
+52e2 20407e00 call push_stack 
+52e3 7002eb01 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+52e4 2040527a call l2cap_malloc_is_fifo_full 
+52e5 247a0000 nrtn blank 
+52e6 da20007f arg rfcomm_malloc_size ,rega 
+52e7 20405248 call l2cap_malloc 
+52e8 600102de store 2 ,mem_rfcomm_tx_buff_ptr 
+52e9 1fe0fe04 increase 4 ,pdata 
+52ea 600102e0 store 2 ,mem_rfcomm_tx_payload_ptr 
+52eb 58000000 setarg 0 
+52ec 600102e2 store 2 ,mem_rfcomm_tx_pkt_length 
+52ed 7002eb00 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+52ee 20207e0e branch pop_stack 
+
+l2cap_get_rfcomm_tx_buff:
+52ef 680102de fetch 2 ,mem_rfcomm_tx_buff_ptr 
+52f0 202052f2 branch l2cap_util_pdata_to_contw 
+
+l2cap_get_rfcomm_tx_payload:
+52f1 680102e0 fetch 2 ,mem_rfcomm_tx_payload_ptr 
+
+l2cap_util_pdata_to_contw:
+52f2 203a3bf1 branch assert ,blank 
+52f3 1fe20a00 copy pdata ,contw 
+52f4 20600000 rtn 
+
+l2cap_lpm_save_calc_len:
+52f5 79200025 set1 mark_ext_patch ,mark 
+52f6 44974025 bpatch patch25_6 ,mem_patch25 
+52f7 da400000 arg 0 ,regb 
+52f8 da2042c0 arg mem_tx_fifo0_map ,rega 
+52f9 1a20a3fe increase -2 ,rega 
+
+l2cap_lpm_save_calc_len_loop:
+52fa 1a20a202 increase 2 ,rega 
+52fb 580042cc setarg mem_tx_fifo_end 
+52fc 9a267c00 isub rega ,null 
+52fd 2022d306 branch l2cap_lpm_save_calc_len_end ,zero 
+52fe ea208000 ifetch 1 ,rega 
+52ff 1a20a201 increase 1 ,rega 
+5300 203a52fa branch l2cap_lpm_save_calc_len_loop ,blank 
+5301 ea290000 ifetcht 2 ,rega 
+5302 e8410000 ifetch 2 ,temp 
+5303 9a40a400 iadd regb ,regb 
+5304 1a40a404 increase 4 ,regb 
+5305 202052fa branch l2cap_lpm_save_calc_len_loop 
+
+l2cap_lpm_save_calc_len_end:
+5306 1a427e00 copy regb ,pdata 
+5307 20600000 rtn 
+
+l2cap_lpm_get_wake_lock:
+5308 d8e0000c arg wake_lock_l2cap_tx ,queue 
+5309 20203dc2 branch lpm_get_wake_lock 
+
+l2cap_lpm_put_wake_lock:
+530a d8e0000c arg wake_lock_l2cap_tx ,queue 
+530b 20203dc6 branch lpm_put_wake_lock 
+
+l2cap_lpm_save_txbuf:
+530c 79200025 set1 mark_ext_patch ,mark 
+530d 4497c025 bpatch patch25_7 ,mem_patch25 
+530e 20405287 call l2cap_malloc_get_full_map 
+530f 6800c2bf fetch 1 ,mem_used_map 
+5310 207a0000 rtn blank 
+5311 204052f5 call l2cap_lpm_save_calc_len 
+5312 d8400100 arg l2cap_lpm_txbuf_len ,temp 
+5313 98467c00 isub temp ,null 
+5314 20215308 branch l2cap_lpm_get_wake_lock ,positive 
+5315 2040530a call l2cap_lpm_put_wake_lock 
+5316 d8a042cc arg mem_l2cap_lpm_txbuf ,contw 
+5317 da2042c0 arg mem_tx_fifo0 ,rega 
+
+l2cap_lpm_save_txbuf_loop:
+5318 580042cc setarg mem_tx_fifo_end 
+5319 9a267c00 isub rega ,null 
+531a 20628000 rtn zero 
+531b ea208000 ifetch 1 ,rega 
+531c 1a20a201 increase 1 ,rega 
+531d 243a5321 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+531e e0a10000 istore 2 ,contw 
+531f 1a20a202 increase 2 ,rega 
+5320 20205318 branch l2cap_lpm_save_txbuf_loop 
+
+l2cap_lpm_save_txbuf_nempty:
+5321 ea210000 ifetch 2 ,rega 
+5322 1a20a202 increase 2 ,rega 
+5323 1fe20c00 copy pdata ,contr 
+5324 e8c10000 ifetch 2 ,contr 
+5325 e0a10000 istore 2 ,contw 
+5326 1fe27200 copy pdata ,loopcnt 
+5327 1f20f202 increase 2 ,loopcnt 
+5328 20407e45 call memcpy 
+5329 20205318 branch l2cap_lpm_save_txbuf_loop 
+
+l2cap_lpm_load_txbuf:
+532a 79200025 set1 mark_ext_patch ,mark 
+532b 44984026 bpatch patch26_0 ,mem_patch26 
+532c 20405287 call l2cap_malloc_get_full_map 
+532d 6800c2bf fetch 1 ,mem_used_map 
+532e 207a0000 rtn blank 
+532f da2042c1 arg mem_tx_fifo0_ptr ,rega 
+5330 1a20a3fd increase -3 ,rega 
+5331 d8c042cc arg mem_l2cap_lpm_txbuf ,contr 
+
+l2cap_lpm_load_txbuf_loop:
+5332 1a20a203 increase 3 ,rega 
+5333 580042cd setarg mem_tx_fifo_end + 1 
+5334 9a267c00 isub rega ,null 
+5335 20628000 rtn zero 
+5336 e8c10000 ifetch 2 ,contr 
+5337 203a5332 branch l2cap_lpm_load_txbuf_loop ,blank 
+5338 1fe0fe04 increase 4 ,pdata 
+5339 1fe27200 copy pdata ,loopcnt 
+533a 18c22400 copy contr ,regb 
+533b ea210000 ifetch 2 ,rega 
+533c 1fe20a00 copy pdata ,contw 
+533d 1a420c00 copy regb ,contr 
+533e 18c08dfe increase -2 ,contr 
+533f 20407e45 call memcpy 
+5340 20205332 branch l2cap_lpm_load_txbuf_loop 
+
+le_init_param:
+5341 20758000 rtn wake 
+5342 58000010 setarg param_le_scan_interval 
+5343 600143d3 store 2 ,mem_le_scan_interval 
+5344 58000010 setarg param_le_scan_window 
+5345 600143d5 store 2 ,mem_le_scan_window 
+5346 20600000 rtn 
+
+le_init_att:
+5347 d8400014 arg notify_handle ,temp 
+5348 20405a88 call le_att_get_handle_ptr 
+5349 18c0fe01 add contr ,1 ,pdata 
+534a 60010419 store 2 ,mem_le_notify_attr_start 
+534b 20600000 rtn 
+
+le_init_conn:
+534c 79200025 set1 mark_ext_patch ,mark 
+534d 44994026 bpatch patch26_2 ,mem_patch26 
+534e 7855fc00 disable wake 
+534f 70427e01 jam 1 ,mem_app_state 
+5350 7003d601 jam 1 ,mem_le_conn_handle 
+5351 7003c003 jam 3 ,mem_le_state 
+5352 7003d701 jam 1 ,mem_le_arq 
+5353 5fffffff setarg -1 
+5354 600103da store 2 ,mem_le_event_count 
+5355 18007e00 force 0 ,pdata 
+5356 600083e3 store 1 ,mem_le_conn_sm 
+5357 600083d8 store 1 ,mem_le_ch 
+5358 600083e4 store 1 ,mem_le_op 
+5359 6001c20a store 3 ,mem_sniff_rcv 
+535a 6001c20d store 3 ,mem_sniff_lost 
+535b 6002c465 store 5 ,mem_le_pcnt_tx 
+535c 79207e27 set1 39 ,pdata 
+535d 6002c46a store 5 ,mem_le_pcnt_rx 
+535e 20205a0b branch le_supervision_flush 
+
+le_init_master:
+535f 79200025 set1 mark_ext_patch ,mark 
+5360 4499c026 bpatch patch26_3 ,mem_patch26 
+5361 7834fc00 enable master 
+5362 7003c103 jam lemode_master ,mem_le_mode 
+5363 7003fa01 jam 1 ,mem_le_att_handle 
+5364 7044bc01 jam 1 ,mem_le_search_handle_start 
+5365 5800ffff setarg 0xffff 
+5366 600144be store 2 ,mem_le_search_handle_end 
+5367 18007e00 force 0 ,pdata 
+5368 6002c46a store 5 ,mem_le_pcnt_rx 
+5369 79207e27 set1 39 ,pdata 
+536a 6002c465 store 5 ,mem_le_pcnt_tx 
+536b 2020534c branch le_init_conn 
+
+le_init_slave:
+536c 79200025 set1 mark_ext_patch ,mark 
+536d 449a4026 bpatch patch26_4 ,mem_patch26 
+536e 7854fc00 disable master 
+536f 7003c101 jam lemode_slave ,mem_le_mode 
+5370 7043d800 jam 0 ,mem_le_adv_enable 
+5371 7000a200 jam 0 ,mem_lpm_current_mult 
+5372 2020534c branch le_init_conn 
+
+le_dispatch:
+5373 204053d2 call le_enable 
+5374 204055d3 call le_scan 
+5375 20405a0e call le_adv 
+5376 202053d7 branch le_disable 
+
+le_conn_dispatch:
+5377 79200025 set1 mark_ext_patch ,mark 
+5378 449ac026 bpatch patch26_5 ,mem_patch26 
+5379 204053d2 call le_enable 
+537a 20403e71 call app_process_ble 
+537b 680083c1 fetch 1 ,mem_le_mode 
+537c c001d37e beq lemode_master ,le_master_dispatch 
+537d 20205395 branch le_slave_dispatch 
+
+le_master_dispatch:
+537e 79200025 set1 mark_ext_patch ,mark 
+537f 449b4026 bpatch patch26_6 ,mem_patch26 
+5380 7834fc00 enable master 
+5381 20405a02 call le_supervision_update 
+5382 20215392 branch le_master_disconn ,positive 
+5383 20403e28 call check_ble_disabled 
+5384 2040541c call le_setup 
+5385 20405622 call le_prepare_tx 
+5386 7856fc00 disable match 
+5387 204054b2 call le_transmit_receive_sifs 
+5388 24768000 nrtn match 
+5389 79200025 set1 mark_ext_patch ,mark 
+538a 449bc026 bpatch patch26_7 ,mem_patch26 
+538b 68008005 fetch 1 ,mem_le_conn_rcv 
+538c 1fe0fe01 increase 1 ,pdata 
+538d 60008005 store 1 ,mem_le_conn_rcv 
+538e 204055a2 call le_acknowledge 
+538f 20405a99 call le_conn_sm_master 
+5390 7854fc00 disable master 
+5391 20600000 rtn 
+
+le_master_disconn:
+5392 204053ba call le_disconnect 
+5393 7854fc00 disable master 
+5394 20600000 rtn 
+
+le_slave_dispatch:
+5395 79200025 set1 mark_ext_patch ,mark 
+5396 449c4027 bpatch patch27_0 ,mem_patch27 
+5397 78577c00 disable attempt 
+5398 20405a02 call le_supervision_update 
+5399 202153ba branch le_slave_disconn ,positive 
+539a 20403e28 call check_ble_disabled 
+539b 2040541c call le_setup 
+539c 20405478 call le_receive_slave 
+539d 2436d3ad nbranch le_slave_unsync ,match 
+
+le_slave_match:
+539e 79200025 set1 mark_ext_patch ,mark 
+539f 449cc027 bpatch patch27_1 ,mem_patch27 
+53a0 204053c8 call le_got_first_packet 
+53a1 204055a2 call le_acknowledge 
+53a2 20405622 call le_prepare_tx 
+53a3 68008340 fetch 1 ,mem_le_rxbuf 
+53a4 c28253b4 bbit1 md ,le_slave_more_data 
+53a5 2040561a call le_xtype_fifo_is_empty 
+53a6 243a53b4 nbranch le_slave_more_data ,blank 
+
+le_slave_transmit_last:
+53a7 79200025 set1 mark_ext_patch ,mark 
+53a8 449d4027 bpatch patch27_2 ,mem_patch27 
+53a9 204054bb call le_transmit_norx 
+
+le_slave_cont:
+53aa 20407c45 call check_51cmd 
+53ab 680083e4 fetch 1 ,mem_le_op 
+53ac c281d3ba bbit1 op_disconn ,le_slave_disconn 
+
+le_slave_unsync:
+53ad 79200025 set1 mark_ext_patch ,mark 
+53ae 449dc027 bpatch patch27_3 ,mem_patch27 
+53af 20407f44 call le_savelist 
+53b0 20405b19 call le_lpm_set_mult 
+53b1 20405594 call le_update_channel_map 
+53b2 20405576 call le_update_param 
+53b3 202039ac branch calc_clke_offset 
+
+le_slave_more_data:
+53b4 79200025 set1 mark_ext_patch ,mark 
+53b5 449e4027 bpatch patch27_4 ,mem_patch27 
+53b6 78377c00 enable attempt 
+53b7 204054b2 call le_transmit_receive_sifs 
+53b8 2036d39e branch le_slave_match ,match 
+53b9 202053aa branch le_slave_cont 
+
+le_slave_disconn:
+
+le_disconnect:
+53ba 79200025 set1 mark_ext_patch ,mark 
+53bb 449ec027 bpatch patch27_5 ,mem_patch27 
+53bc 204053c0 call le_clear_connection_info 
+53bd 20403f1d call app_disconn_reason_collect_ble 
+53be 700b7d15 jam bt_evt_le_disconnected ,mem_fifo_temp 
+53bf 20207c27 branch ui_ipc_send_event 
+
+le_clear_connection_info:
+53c0 680883d6 fetcht 1 ,mem_le_conn_handle 
+53c1 7002c008 jam hci_error_connection_timeout ,mem_hci_disconn_reason 
+53c2 204048c4 call hci_send_disconn_complete 
+53c3 7003d600 jam 0 ,mem_le_conn_handle 
+53c4 7003c100 jam lemode_idle ,mem_le_mode 
+53c5 7003c000 jam 0 ,mem_le_state 
+53c6 70427e00 jam 0 ,mem_app_state 
+53c7 20600000 rtn 
+
+le_got_first_packet:
+53c8 68008005 fetch 1 ,mem_le_conn_rcv 
+53c9 1fe0fe01 increase 1 ,pdata 
+53ca 60008005 store 1 ,mem_le_conn_rcv 
+53cb 680083c0 fetch 1 ,mem_le_state 
+53cc c3818000 rtnbit1 lestate_got_first_packet 
+53cd 79207e03 set1 lestate_got_first_packet 
+53ce 600083c0 store 1 ,mem_le_state 
+53cf 58000000 setarg 0 
+53d0 600246f9 store 4 ,mem_le_transmit_window 
+53d1 20600000 rtn 
+
+le_enable:
+53d2 79200025 set1 mark_ext_patch ,mark 
+53d3 449f4027 bpatch patch27_6 ,mem_patch27 
+53d4 783b7c00 enable le 
+53d5 70891407 hjam 7 ,rfen_ulp 
+53d6 20203e28 branch check_ble_disabled 
+
+le_disable:
+53d7 79200025 set1 mark_ext_patch ,mark 
+53d8 449fc027 bpatch patch27_7 ,mem_patch27 
+53d9 785b7c00 disable le 
+53da 70891403 hjam 3 ,rfen_ulp 
+53db db600000 arg 0 ,stop_watch 
+53dc 20600000 rtn 
+
+le_prep:
+53dd 7844fc00 disable enable_crc 
+53de 7843fc00 disable enable_white 
+53df 680183e9 fetch 3 ,mem_le_crcinit 
+53e0 98001e00 iforce crc24_init 
+53e1 68008016 fetch 1 ,mem_le_ch_mapped 
+53e2 1fed8400 reverse pdata ,temp 
+53e3 79200401 set1 1 ,temp 
+53e4 18431c00 rshift temp ,white_init 
+53e5 20600000 rtn 
+
+lerx_setfreq:
+53e6 204053ee call le_setfreq 
+53e7 20403a82 call set_freq_rx 
+53e8 58000500 setarg param_pll_setup 
+53e9 20403bf3 call sleep 
+53ea 20203a87 branch rf_rx_enable 
+
+letx_setfreq:
+53eb 2036ba98 branch txon ,match 
+53ec 204053ee call le_setfreq 
+53ed 20203a91 branch set_freq_tx 
+
+le_setfreq:
+53ee 79200025 set1 mark_ext_patch ,mark 
+53ef 44a04028 bpatch patch28_0 ,mem_patch28 
+53f0 20403a7a call set_sync_on 
+53f1 6800840d fetch 1 ,mem_le_testtype 
+53f2 243a5402 nbranch le_ctf_test ,blank 
+53f3 68008016 fetch 1 ,mem_le_ch_mapped 
+53f4 1fe67c24 sub pdata ,36 ,null 
+53f5 202153fc branch le_ctf_normal ,positive 
+53f6 18000400 force 0 ,temp 
+53f7 c1128000 rtneq 37 
+53f8 18000418 force 24 ,temp 
+53f9 c1130000 rtneq 38 
+53fa 1800044e force 78 ,temp 
+53fb 20600000 rtn 
+
+le_ctf_normal:
+53fc 1fe67c0a sub pdata ,10 ,null 
+53fd 202153ff branch le_ctf_low ,positive 
+53fe 1fe0fe01 increase 1 ,pdata 
+
+le_ctf_low:
+53ff 1fe3fe00 lshift pdata ,pdata 
+5400 1fe08402 add pdata ,2 ,temp 
+5401 20600000 rtn 
+
+le_ctf_test:
+5402 68008016 fetch 1 ,mem_le_ch_mapped 
+5403 1fe38400 lshift pdata ,temp 
+5404 20600000 rtn 
+
+le_sca_map:
+5405 d84001f4 arg 500 ,temp 
+5406 207a0000 rtn blank 
+5407 d84000fa arg 250 ,temp 
+5408 c1008000 rtneq 1 
+5409 d8400096 arg 150 ,temp 
+540a c1010000 rtneq 2 
+540b d8400064 arg 100 ,temp 
+540c c1018000 rtneq 3 
+540d d840004b arg 75 ,temp 
+540e c1020000 rtneq 4 
+540f d8400032 arg 50 ,temp 
+5410 c1028000 rtneq 5 
+5411 d8400028 arg 40 ,temp 
+5412 c1030000 rtneq 6 
+5413 d8400014 arg 20 ,temp 
+5414 20600000 rtn 
+
+le_adv_access:
+5415 588e89be setarg 0x8e89be 
+5416 1fed7e00 lshift8 pdata ,pdata 
+5417 1fe1fed6 or_into 0xd6 ,pdata 
+5418 98001200 iforce access 
+5419 58555555 setarg 0x555555 
+541a 600183e9 store 3 ,mem_le_crcinit 
+541b 20600000 rtn 
+
+le_setup:
+541c 79200025 set1 mark_ext_patch ,mark 
+541d 44a0c028 bpatch patch28_1 ,mem_patch28 
+541e 78287c00 enable swfine 
+541f 680203e5 fetch 4 ,mem_le_access 
+5420 98001200 iforce access 
+5421 20405453 call le_map_channel 
+5422 58000200 setarg 0x200 
+5423 2034d426 branch le_setup_master ,master 
+5424 680103ce fetch 2 ,mem_le_receive_window 
+5425 1fe37e00 rshift pdata ,pdata 
+
+le_setup_master:
+5426 d8400500 arg param_pll_setup ,temp 
+5427 9840fe00 iadd temp ,pdata 
+5428 20403b7d call ahead_window 
+5429 1b427e00 deposit clke 
+542a 60030412 store 6 ,mem_le_rxon_ts 
+542b 20600000 rtn 
+
+le_next_adv_channel:
+542c 79200025 set1 mark_ext_patch ,mark 
+542d 44a14028 bpatch patch28_2 ,mem_patch28 
+542e 68008016 fetch 1 ,mem_le_ch_mapped 
+542f 1fe0fe01 increase 1 ,pdata 
+5430 60008016 store 1 ,mem_le_ch_mapped 
+5431 c1940000 rtnne 40 
+5432 70001625 jam 37 ,mem_le_ch_mapped 
+5433 20600000 rtn 
+
+le_context_nexthop:
+5434 79200025 set1 mark_ext_patch ,mark 
+5435 44a1c028 bpatch patch28_3 ,mem_patch28 
+5436 1a208c01 add rega ,coffset_mode ,contr 
+5437 e8c08000 ifetch 1 ,contr 
+5438 c4000000 rtnbit0 mode_le 
+5439 1a208a1a add rega ,coffset_le_event_cnt ,contw 
+543a e8a10000 ifetch 2 ,contw 
+543b 1fe0fe01 increase 1 ,pdata 
+543c e0a10000 istore 2 ,contw 
+543d 1a208c19 add rega ,coffset_le_hop ,contr 
+543e e8c08000 ifetch 1 ,contr 
+543f 1a208a18 add rega ,coffset_le_ch ,contw 
+5440 e8a88000 ifetcht 1 ,contw 
+5441 9840fe00 iadd temp ,pdata 
+5442 1fe67c24 sub pdata ,36 ,null 
+5443 20215445 branch le_nexthop_nowrap ,positive 
+5444 1fe0ffdb increase -37 ,pdata 
+
+le_nexthop_nowrap:
+5445 e0a08000 istore 1 ,contw 
+5446 20600000 rtn 
+
+le_calc_channel_map:
+5447 79200025 set1 mark_ext_patch ,mark 
+5448 44a24028 bpatch patch28_4 ,mem_patch28 
+5449 680283f1 fetch 5 ,mem_le_channel_map 
+544a 18000400 force 0 ,temp 
+544b 18007225 force 37 ,loopcnt 
+
+le_count_channels_loop:
+544c c300544e bbit0 0 ,le_count_channels_notused 
+544d 18408401 increase 1 ,temp 
+
+le_count_channels_notused:
+544e 1fe37e00 rshift pdata ,pdata 
+544f c200544c loop le_count_channels_loop 
+5450 1840ffff add temp ,-1 ,pdata 
+5451 600083e2 store 1 ,mem_le_channels 
+5452 20600000 rtn 
+
+le_map_channel:
+5453 79200025 set1 mark_ext_patch ,mark 
+5454 44a2c028 bpatch patch28_5 ,mem_patch28 
+5455 680083d8 fetch 1 ,mem_le_ch 
+5456 98000e00 iforce queue 
+5457 680a83f1 fetcht 5 ,mem_le_channel_map 
+5458 a84fffff qisolate1 temp 
+5459 2020d46b branch le_map_channel_end ,true 
+
+le_map_channel_next:
+545a 79200025 set1 mark_ext_patch ,mark 
+545b 44a34028 bpatch patch28_6 ,mem_patch28 
+545c 680083e2 fetch 1 ,mem_le_channels 
+545d 98e67e00 isub queue ,pdata 
+545e 20215461 branch le_map_channel_cont ,positive 
+545f 1fe60fff sub pdata ,-1 ,queue 
+5460 2020545a branch le_map_channel_next 
+
+le_map_channel_cont:
+5461 18e27200 copy queue ,loopcnt 
+5462 18000e00 force 0 ,queue 
+
+le_map_channel_loop:
+5463 a84fffff qisolate1 temp 
+5464 2020d466 branch le_map_channel_skip ,true 
+5465 1f20f201 increase 1 ,loopcnt 
+
+le_map_channel_skip:
+5466 1f227e00 deposit loopcnt 
+5467 203a546b branch le_map_channel_end ,blank 
+5468 18e08e01 increase 1 ,queue 
+5469 1f20f3ff increase -1 ,loopcnt 
+546a 20205463 branch le_map_channel_loop 
+
+le_map_channel_end:
+546b 18e27e00 deposit queue 
+546c 60008016 store 1 ,mem_le_ch_mapped 
+546d 20600000 rtn 
+
+le_wait_tx:
+546e 2034d471 branch le_wait_master ,master 
+546f 37c18200 until null ,timeout 
+5470 20600000 rtn 
+
+le_wait_master:
+5471 d9600ea0 arg 0xea0 ,timeup 
+5472 34730200 until clkn_rt ,meet 
+5473 20600000 rtn 
+
+le_receive_adv:
+5474 78487c00 disable swfine 
+5475 680143d5 fetch 2 ,mem_le_scan_window 
+5476 1fe21600 copy pdata ,timeup 
+5477 2020547e branch le_receive_packet 
+
+le_receive_slave:
+5478 79200025 set1 mark_ext_patch ,mark 
+5479 44a3c028 bpatch patch28_7 ,mem_patch28 
+547a 78287c00 enable swfine 
+547b 680103ce fetch 2 ,mem_le_receive_window 
+547c 680a46f9 fetcht 4 ,mem_le_transmit_window 
+547d 98409600 iadd temp ,timeup 
+
+le_receive_packet:
+547e 204053e6 call lerx_setfreq 
+
+le_receive_rxon:
+547f 79200025 set1 mark_ext_patch ,mark 
+5480 44a44029 bpatch patch29_0 ,mem_patch29 
+5481 204053dd call le_prep 
+5482 7856fc00 disable match 
+5483 7826fc00 enable decode_fec0 
+5484 7830fc00 enable is_rx 
+5485 78507c00 disable is_tx 
+5486 19623600 copy timeup ,stop_watch 
+5487 37c18400 correlate null ,timeout 
+5488 2037548b branch le_receive_on_attempt ,attempt 
+5489 1b420400 copy clke ,temp 
+548a 600b009c storet 6 ,mem_sync_clke 
+
+le_receive_on_attempt:
+548b 242c375c nbranch end_of_packet ,sync 
+548c 20375492 branch le_receive_skip ,attempt 
+548d dd2001e0 arg param_clke_cal_le ,clke_rt 
+548e 1c225000 copy bt_clk ,clke_bt 
+548f 680083c0 fetch 1 ,mem_le_state 
+5490 c301d492 bbit0 lestate_got_first_packet ,le_receive_skip 
+5491 2055bcb6 call lpm_adjust_clk ,wake 
+
+le_receive_skip:
+5492 79200025 set1 mark_ext_patch ,mark 
+5493 44a4c029 bpatch patch29_1 ,mem_patch29 
+5494 20403af3 call save_rssi 
+5495 7823fc00 enable enable_white 
+5496 7824fc00 enable enable_crc 
+5497 09800008 parse demod ,bucket ,8 
+5498 19897e00 rshift3 pwindow ,pdata 
+5499 60008340 store 1 ,mem_le_rxbuf 
+549a 09800008 parse demod ,bucket ,8 
+549b 19897e00 rshift3 pwindow ,pdata 
+549c e0a08000 istore 1 ,contw 
+549d 1fe1723f and pdata ,0x3f ,loopcnt 
+549e 2022d4a3 branch lerx_nopayload ,zero 
+
+lerx_loop:
+549f 09800008 parse demod ,bucket ,8 
+54a0 19897e00 rshift3 pwindow ,pdata 
+54a1 e0a08000 istore 1 ,contw 
+54a2 c200549f loop lerx_loop 
+
+lerx_nopayload:
+54a3 79200025 set1 mark_ext_patch ,mark 
+54a4 44a54029 bpatch patch29_2 ,mem_patch29 
+54a5 09800018 parse demod ,bucket ,24 
+54a6 78287c00 enable swfine 
+54a7 db600664 arg param_sifs ,stop_watch 
+54a8 1fef7e00 rshift32 pdata ,pdata 
+54a9 1ff17e00 rshift16 pdata ,pdata 
+54aa e0a18000 istore 3 ,contw 
+54ab 2023375c branch end_of_packet ,crc_failed 
+54ac 7836fc00 enable match 
+54ad 68008017 fetch 1 ,mem_last_freq 
+54ae 1fe0a202 add pdata ,2 ,rega 
+54af 20403ab6 call rf_write_freq 
+54b0 7846fc00 disable decode_fec0 
+54b1 20203a7a branch set_sync_on 
+
+le_transmit_receive_sifs:
+54b2 79200025 set1 mark_ext_patch ,mark 
+54b3 44a5c029 bpatch patch29_3 ,mem_patch29 
+54b4 204054bd call le_transmit 
+54b5 68088017 fetcht 1 ,mem_last_freq 
+54b6 20403a82 call set_freq_rx 
+54b7 20403a87 call rf_rx_enable 
+54b8 78287c00 enable swfine 
+54b9 d9601388 arg 5000 ,timeup 
+54ba 2020547f branch le_receive_rxon 
+
+le_transmit_norx:
+54bb 204054bd call le_transmit 
+54bc 2020375c branch end_of_packet 
+
+le_transmit:
+54bd 79200025 set1 mark_ext_patch ,mark 
+54be 44a64029 bpatch patch29_4 ,mem_patch29 
+54bf 204053dd call le_prep 
+54c0 204053eb call letx_setfreq 
+54c1 79202a00 set1 txgfsk ,radio_ctrl 
+54c2 782efc00 enable encode_fec0 
+54c3 78307c00 enable is_tx 
+54c4 7850fc00 disable is_rx 
+54c5 2040546e call le_wait_tx 
+54c6 19317e00 rshift16 access ,pdata 
+54c7 1fecfe00 rshift8 pdata ,pdata 
+54c8 1ff1fe00 rshift4 pdata ,pdata 
+54c9 08008628 inject mod ,40 
+54ca 7823fc00 enable enable_white 
+54cb 7824fc00 enable enable_crc 
+54cc 79200025 set1 mark_ext_patch ,mark 
+54cd 44a6c029 bpatch patch29_5 ,mem_patch29 
+54ce 6800c43e fetch 1 ,mem_le_txheader 
+54cf 08008608 inject mod ,8 
+54d0 e8c08000 ifetch 1 ,contr 
+54d1 1fe1723f and pdata ,0x3f ,loopcnt 
+54d2 08008608 inject mod ,8 
+54d3 2022d4d7 branch letr_nopayload ,zero 
+
+letr_loop:
+54d4 e8c08000 ifetch 1 ,contr 
+54d5 08008608 inject mod ,8 
+54d6 c20054d4 loop letr_loop 
+
+letr_nopayload:
+54d7 78247c00 enable enable_parity 
+54d8 08008618 inject mod ,24 
+54d9 78447c00 disable enable_parity 
+54da 37d38200 until null ,tx_clear 
+54db 20000064 nop 100 
+54dc 784efc00 disable encode_fec0 
+54dd 20600000 rtn 
+
+le_send_adv_ind:
+54de 79200025 set1 mark_ext_patch ,mark 
+54df 44a74029 bpatch patch29_6 ,mem_patch29 
+54e0 6800c4db fetch 1 ,mem_le_adv_type 
+54e1 c000d4ef beq adv_direct_ind ,le_send_adv_direct_ind 
+54e2 6800c4dc fetch 1 ,mem_le_adv_own_addr_type 
+54e3 1ff27e00 lshift4 pdata ,pdata 
+54e4 1febfe00 lshift2 pdata ,pdata 
+54e5 6000c43e store 1 ,mem_le_txheader 
+54e6 6808c3d9 fetcht 1 ,mem_le_adv_data_len 
+54e7 1840fe06 add temp ,6 ,pdata 
+54e8 6000c43f store 1 ,mem_le_txlen 
+54e9 680344f9 fetch 6 ,mem_le_lap 
+54ea 60034440 store 6 ,mem_le_txpayload 
+54eb 18427200 copy temp ,loopcnt 
+54ec d8c043da arg mem_le_adv_data ,contr 
+54ed 20407e45 call memcpy 
+54ee 202054ff branch le_send_adv_transmit 
+
+le_send_adv_direct_ind:
+54ef 680944c2 fetcht 2 ,mem_le_notify_handle 
+54f0 20405866 call le_att_check_notification_enable 
+54f1 1a220a00 copy rega ,contw 
+54f2 58000001 setarg 1 
+54f3 e0a08000 istore 1 ,contw 
+54f4 6800c4dd fetch 1 ,mem_le_adv_direct_addr_type 
+54f5 1ff27e00 lshift4 pdata ,pdata 
+54f6 1febfe00 lshift2 pdata ,pdata 
+54f7 1fe0fe01 increase 1 ,pdata 
+54f8 6000c43e store 1 ,mem_le_txheader 
+54f9 5800000c setarg 12 
+54fa 6000c43f store 1 ,mem_le_txlen 
+54fb 680344f9 fetch 6 ,mem_le_lap 
+54fc 60034440 store 6 ,mem_le_txpayload 
+54fd 68034274 fetch 6 ,mem_hci_plap 
+54fe e0a30000 istore 6 ,contw 
+
+le_send_adv_transmit:
+54ff 79200025 set1 mark_ext_patch ,mark 
+5500 44a7c029 bpatch patch29_7 ,mem_patch29 
+5501 68008000 fetch 1 ,mem_le_adv_transmit 
+5502 1fe0fe01 increase 1 ,pdata 
+5503 60008000 store 1 ,mem_le_adv_transmit 
+5504 db600708 arg 1800 ,stop_watch 
+5505 7856fc00 disable match 
+5506 202054b2 branch le_transmit_receive_sifs 
+
+le_send_scan_request:
+5507 79200025 set1 mark_ext_patch ,mark 
+5508 44a8402a bpatch patch2a_0 ,mem_patch2a 
+5509 6800c4f6 fetch 1 ,mem_le_scan_type 
+550a c1808000 rtnne le_scan_type_active ,pdata 
+550b 68008000 fetch 1 ,mem_le_adv_transmit 
+550c 1fe0fe01 increase 1 ,pdata 
+550d 60008000 store 1 ,mem_le_adv_transmit 
+550e d8400c03 arg 0x0c03 ,temp 
+550f 6800c4f7 fetch 1 ,mem_le_scan_own_addr_type 
+5510 7d3a0406 nsetflag blank ,le_sender_addr_bit ,temp 
+5511 1a227e00 copy rega ,pdata 
+5512 7d3a0407 nsetflag blank ,le_receiver_addr_bit ,temp 
+5513 6009443e storet 2 ,mem_le_txheader 
+5514 680344f9 fetch 6 ,mem_le_lap 
+5515 e0a30000 istore 6 ,contw 
+5516 680303d0 fetch 6 ,mem_le_plap 
+5517 e0a30000 istore 6 ,contw 
+5518 202054b2 branch le_transmit_receive_sifs 
+
+le_send_scan_response:
+5519 79200025 set1 mark_ext_patch ,mark 
+551a 44a8c02a bpatch patch2a_1 ,mem_patch2a 
+551b d8400004 arg scan_rsp ,temp 
+551c 6800c4dc fetch 1 ,mem_le_adv_own_addr_type 
+551d 7d3a0406 nsetflag blank ,le_sender_addr_bit ,temp 
+551e 6008c43e storet 1 ,mem_le_txheader 
+551f 6808c3f9 fetcht 1 ,mem_le_scan_data_len 
+5520 1840fe06 add temp ,6 ,pdata 
+5521 6000c43f store 1 ,mem_le_txlen 
+5522 680344f9 fetch 6 ,mem_le_lap 
+5523 60034440 store 6 ,mem_le_txpayload 
+5524 d8c043fa arg mem_le_scan_data ,contr 
+5525 18427200 copy temp ,loopcnt 
+5526 20407e45 call memcpy 
+5527 202054bb branch le_transmit_norx 
+
+le_connect_request:
+5528 79200025 set1 mark_ext_patch ,mark 
+5529 44a9402a bpatch patch2a_2 ,mem_patch2a 
+552a 18007fff force -1 ,pdata 
+552b 38080001 setsect 2 ,1 
+552c 600283f1 store 5 ,mem_le_channel_map 
+552d 20405447 call le_calc_channel_map 
+552e 18007204 force 4 ,loopcnt 
+552f d8a003e5 arg mem_le_access ,contw 
+5530 20406227 call generate_random_loop 
+5531 680144f4 fetch 2 ,mem_le_conn_superto 
+5532 600103ef store 2 ,mem_le_superto 
+
+le_con_req_hop_retry:
+5533 180a7e00 random pdata 
+5534 1fe17e0f and_into 0xf ,pdata 
+5535 1fe67c04 sub pdata ,4 ,null 
+5536 20215533 branch le_con_req_hop_retry ,positive 
+5537 600083d9 store 1 ,mem_le_hop 
+5538 60008682 store 1 ,mem_tmp1 
+5539 79200025 set1 mark_ext_patch ,mark 
+553a 44a9c02a bpatch patch2a_3 ,mem_patch2a 
+553b 680943d0 fetcht 2 ,mem_le_conn_interval 
+553c 600903c2 storet 2 ,mem_le_tsniff 
+553d 18422600 copy temp ,regc 
+553e 1c40fe07 add clkn_bt ,7 ,pdata 
+553f 9a66fc00 idiv regc 
+5540 20407efd call wait_div_end 
+5541 18072200 remainder rega 
+5542 9a267e00 isub rega ,pdata 
+5543 9a60fe00 iadd regc ,pdata 
+5544 680943ce fetcht 2 ,mem_le_dsniff 
+5545 9840fe00 iadd temp ,pdata 
+5546 600203c4 store 4 ,mem_le_anchor 
+5547 9c462200 isub clkn_bt ,rega 
+5548 1a20a3fa increase -6 ,rega 
+5549 da402205 arg 0x2205 ,regb 
+554a 6800c4ed fetch 1 ,mem_le_conn_own_addr_type 
+554b 7d3a2406 nsetflag blank ,le_sender_addr_bit ,regb 
+554c 6800c4e6 fetch 1 ,mem_le_conn_peer_addr_type 
+554d 7d3a2407 nsetflag blank ,le_receiver_addr_bit ,regb 
+554e 1a427e00 copy regb ,pdata 
+554f 6001443e store 2 ,mem_le_txheader 
+5550 680344f9 fetch 6 ,mem_le_lap 
+5551 e0a30000 istore 6 ,contw 
+5552 680303d0 fetch 6 ,mem_le_plap 
+5553 e0a30000 istore 6 ,contw 
+5554 680203e5 fetch 4 ,mem_le_access 
+5555 e0a20000 istore 4 ,contw 
+5556 180a7e00 random pdata 
+5557 e0a10000 istore 2 ,contw 
+5558 180a7e00 random pdata 
+5559 e0a08000 istore 1 ,contw 
+555a 18007e02 force 2 ,pdata 
+555b e0a08000 istore 1 ,contw 
+555c 1a2b7e00 rshift2 rega ,pdata 
+555d e0a10000 istore 2 ,contw 
+555e 1a6b7e00 rshift2 regc ,pdata 
+555f e0a10000 istore 2 ,contw 
+5560 79200025 set1 mark_ext_patch ,mark 
+5561 44aa402a bpatch patch2a_4 ,mem_patch2a 
+5562 680144f2 fetch 2 ,mem_le_conn_latency 
+5563 e0a10000 istore 2 ,contw 
+5564 680144f4 fetch 2 ,mem_le_conn_superto 
+5565 e0a10000 istore 2 ,contw 
+5566 680283f1 fetch 5 ,mem_le_channel_map 
+5567 e0a28000 istore 5 ,contw 
+5568 680083d9 fetch 1 ,mem_le_hop 
+5569 d84000a0 arg param_le_sca ,temp 
+556a 9841fe00 ior temp ,pdata 
+556b e0a08000 istore 1 ,contw 
+556c 204054bb call le_transmit_norx 
+556d 5800443e setarg mem_le_txheader 
+556e 1fe08c12 add pdata ,18 ,contr 
+556f e8c18000 ifetch 3 ,contr 
+5570 600183e9 store 3 ,mem_le_crcinit 
+5571 20600000 rtn 
+
+le_init_adv:
+5572 79200025 set1 mark_ext_patch ,mark 
+5573 44aac02a bpatch patch2a_5 ,mem_patch2a 
+5574 7854fc00 disable master 
+5575 20205415 branch le_adv_access 
+
+le_update_param:
+5576 79200025 set1 mark_ext_patch ,mark 
+5577 44ab402a bpatch patch2a_6 ,mem_patch2a 
+5578 680083c0 fetch 1 ,mem_le_state 
+5579 c4028000 rtnbit0 lestate_update_param 
+557a 680103da fetch 2 ,mem_le_event_count 
+557b 680903e0 fetcht 2 ,mem_le_instant 
+557c 98467e00 isub temp ,pdata 
+557d 24610000 nrtn positive 
+557e 680083c0 fetch 1 ,mem_le_state 
+557f 793ffe05 set0 lestate_update_param ,pdata 
+5580 793ffe03 set0 lestate_got_first_packet ,pdata 
+5581 600083c0 store 1 ,mem_le_state 
+5582 680203c4 fetch 4 ,mem_le_anchor 
+5583 680903c2 fetcht 2 ,mem_le_tsniff 
+5584 98462200 isub temp ,rega 
+5585 79200025 set1 mark_ext_patch ,mark 
+5586 44abc02a bpatch patch2a_7 ,mem_patch2a 
+5587 6800c434 fetch 1 ,mem_le_new_param 
+5588 600083ec store 1 ,mem_le_window_size 
+5589 e8c90000 ifetcht 2 ,contr 
+558a e8c10000 ifetch 2 ,contr 
+558b 1febfe00 lshift2 pdata ,pdata 
+558c 600103c2 store 2 ,mem_le_tsniff 
+558d 184b8400 lshift2 temp ,temp 
+558e 9840fe00 iadd temp ,pdata 
+558f e8ca0000 ifetcht 4 ,contr 
+5590 600a03ed storet 4 ,mem_le_slave_latency 
+5591 9a20fe00 iadd rega ,pdata 
+5592 600203c4 store 4 ,mem_le_anchor 
+5593 20205a2b branch le_receive_window_size 
+
+le_update_channel_map:
+5594 79200025 set1 mark_ext_patch ,mark 
+5595 44ac402b bpatch patch2b_0 ,mem_patch2b 
+5596 680083c0 fetch 1 ,mem_le_state 
+5597 c4030000 rtnbit0 lestate_update_map 
+5598 680103da fetch 2 ,mem_le_event_count 
+5599 680903e0 fetcht 2 ,mem_le_instant 
+559a 98467e00 isub temp ,pdata 
+559b 24610000 nrtn positive 
+559c 680083c0 fetch 1 ,mem_le_state 
+559d 793ffe06 set0 lestate_update_map ,pdata 
+559e 600083c0 store 1 ,mem_le_state 
+559f 6802c42f fetch 5 ,mem_le_new_map 
+55a0 600283f1 store 5 ,mem_le_channel_map 
+55a1 20205447 branch le_calc_channel_map 
+
+le_acknowledge:
+55a2 79200025 set1 mark_ext_patch ,mark 
+55a3 44acc02b bpatch patch2b_1 ,mem_patch2b 
+55a4 20405a0b call le_supervision_flush 
+55a5 204055b7 call le_check_wak 
+55a6 68008340 fetch 1 ,mem_le_rxbuf 
+55a7 1fe37e00 rshift pdata ,pdata 
+55a8 9842fe00 ixor temp ,pdata 
+55a9 2feffe02 isolate1 nesn ,pdata 
+55aa 7920800f setflag true ,mark_old_packet ,mark 
+55ab 68008341 fetch 1 ,mem_le_rxbuf + 1 
+55ac 203a55b2 branch le_ack_unenc ,blank 
+55ad 680083c0 fetch 1 ,mem_le_state 
+55ae c30255b2 bbit0 lestate_encryption ,le_ack_unenc 
+55af 20407599 call load_sk 
+55b0 2040750e call le_decrypt 
+55b1 247a0000 nrtn blank 
+
+le_ack_unenc:
+55b2 c6078000 rtnmark1 mark_old_packet 
+55b3 680883d7 fetcht 1 ,mem_le_arq 
+55b4 79400402 setflip nesn ,temp 
+55b5 600883d7 storet 1 ,mem_le_arq 
+55b6 202058ac branch le_parse 
+
+le_check_wak:
+55b7 79200025 set1 mark_ext_patch ,mark 
+55b8 44ad402b bpatch patch2b_2 ,mem_patch2b 
+55b9 680883d7 fetcht 1 ,mem_le_arq 
+55ba 284c0005 isolate0 wak ,temp 
+55bb 20608000 rtn true 
+55bc 68008340 fetch 1 ,mem_le_rxbuf 
+55bd 1fe3fe00 lshift pdata ,pdata 
+55be 9842fe00 ixor temp ,pdata 
+55bf c4018000 rtnbit0 sn 
+55c0 793f8405 set0 wak ,temp 
+55c1 79400403 setflip sn ,temp 
+55c2 600883d7 storet 1 ,mem_le_arq 
+55c3 28400603 compare 3 ,temp ,3 
+55c4 24608000 nrtn true 
+55c5 6800c440 fetch 1 ,mem_le_txpayload 
+55c6 c1828000 rtnne ll_start_enc_req 
+55c7 680083c0 fetch 1 ,mem_le_state 
+55c8 79207e04 set1 lestate_encryption ,pdata 
+55c9 600083c0 store 1 ,mem_le_state 
+55ca 20600000 rtn 
+
+le_wait_adv:
+55cb 79200025 set1 mark_ext_patch ,mark 
+55cc 44adc02b bpatch patch2b_3 ,mem_patch2b 
+55cd 2040542c call le_next_adv_channel 
+55ce 20405474 call le_receive_adv 
+55cf 68008001 fetch 1 ,mem_le_adv_waitcnt 
+55d0 1fe0fe01 increase 1 ,pdata 
+55d1 60008001 store 1 ,mem_le_adv_waitcnt 
+55d2 20600000 rtn 
+
+le_scan:
+55d3 79200025 set1 mark_ext_patch ,mark 
+55d4 44ae402b bpatch patch2b_4 ,mem_patch2b 
+55d5 6800c3d2 fetch 1 ,mem_le_scan_enable 
+55d6 c1808000 rtnne le_scan_enable 
+55d7 d8e00003 arg le_scan_interval_timer ,queue 
+55d8 20407e53 call timer_check 
+55d9 247a0000 nrtn blank 
+55da 680143d3 fetch 2 ,mem_le_scan_interval 
+55db 680943d5 fetcht 2 ,mem_le_scan_window 
+55dc 98467e00 isub temp ,pdata 
+55dd d8e00003 arg le_scan_interval_timer ,queue 
+55de 20407e4c call timer_init 
+55df 7854fc00 disable master 
+55e0 20405572 call le_init_adv 
+55e1 204055cb call le_wait_adv 
+55e2 24768000 nrtn match 
+55e3 79200025 set1 mark_ext_patch ,mark 
+55e4 44aec02b bpatch patch2b_5 ,mem_patch2b 
+55e5 68030342 fetch 6 ,mem_le_rxbuf + 2 
+55e6 600303d0 store 6 ,mem_le_plap 
+55e7 204042a7 call le_scan_dongle 
+55e8 20405b39 call le_scan_addr_to_uart 
+55e9 68008002 fetch 1 ,mem_le_adv_rcv 
+55ea 1fe0fe01 increase 1 ,pdata 
+55eb 60008002 store 1 ,mem_le_adv_rcv 
+55ec 204055f9 call le_create_conn 
+55ed 20748000 rtn master 
+55ee 204048d1 call hci_send_le_adv_report_event 
+55ef 20405507 call le_send_scan_request 
+55f0 24768000 nrtn match 
+55f1 79200025 set1 mark_ext_patch ,mark 
+55f2 44af402b bpatch patch2b_6 ,mem_patch2b 
+55f3 68008004 fetch 1 ,mem_le_scanrsp_rcv 
+55f4 1fe0fe01 increase 1 ,pdata 
+55f5 60008004 store 1 ,mem_le_scanrsp_rcv 
+55f6 68048348 fetch 9 ,mem_le_rxbuf + 8 
+55f7 60048103 store 9 ,mem_tmp_buffer 
+55f8 202048d1 branch hci_send_le_adv_report_event 
+
+le_create_conn:
+55f9 79200025 set1 mark_ext_patch ,mark 
+55fa 44afc02b bpatch patch2b_7 ,mem_patch2b 
+55fb 6800841c fetch 1 ,mem_cmd_le_create_conn 
+55fc c18d8000 rtnne hci_cmd_le_create_conn ,pdata 
+55fd 680303d0 fetch 6 ,mem_le_plap 
+55fe 680b44e7 fetcht 6 ,mem_le_conn_peer_addr 
+55ff 98467c00 isub temp ,null 
+5600 24628000 nrtn zero 
+5601 204032d6 call context_new 
+5602 24628000 nrtn zero 
+5603 20405528 call le_connect_request 
+5604 2040535f call le_init_master 
+5605 79200025 set1 mark_ext_patch ,mark 
+5606 44b0402c bpatch patch2c_0 ,mem_patch2c 
+5607 70427200 jam 0 ,mem_hci_cmd 
+5608 7003f800 jam 0 ,mem_le_peer_sca 
+5609 6800c132 fetch 1 ,mem_device_option 
+560a c082560c bne dvc_op_dongle ,le_create_conn_ndongle 
+560b 7003e321 jam conn_sm_send_write_req ,mem_le_conn_sm 
+
+le_create_conn_ndongle:
+560c d8400000 arg 0 ,temp 
+560d 204048ea call hci_send_le_conn_complete 
+560e 7043d200 jam 0 ,mem_le_scan_enable 
+560f 70041c00 jam 0 ,mem_cmd_le_create_conn 
+5610 700b7d2c jam xt_ll_version_ind ,mem_fifo_temp 
+5611 20405620 call le_xtype_fifo_in 
+5612 202032bd branch context_save 
+
+le_scan_check_sender_addr_type:
+5613 da200001 arg 1 ,rega 
+5614 68008340 fetch 1 ,mem_le_rxbuf 
+5615 c3830000 rtnbit1 le_sender_addr_bit 
+5616 da200000 arg 0 ,rega 
+5617 20600000 rtn 
+
+le_xtype_fifo_count:
+5618 d8c044ff arg mem_le_xtype_fifo ,contr 
+5619 20207fb2 branch fifo_content_count 
+
+le_xtype_fifo_is_empty:
+561a da2044ff arg mem_le_xtype_fifo ,rega 
+561b 20207fac branch fifo_is_empty 
+
+le_xtype_fifo_is_full:
+561c da2044ff arg mem_le_xtype_fifo ,rega 
+561d 20207fae branch fifo_is_full 
+
+le_xtype_fifo_is_near_full:
+561e da2044ff arg mem_le_xtype_fifo ,rega 
+561f 20207fb0 branch fifo_is_near_full 
+
+le_xtype_fifo_in:
+5620 da2044ff arg mem_le_xtype_fifo ,rega 
+5621 20207f92 branch fifo_in 
+
+le_prepare_tx:
+5622 79200025 set1 mark_ext_patch ,mark 
+5623 44b0c02c bpatch patch2c_1 ,mem_patch2c 
+5624 680083d7 fetch 1 ,mem_le_arq 
+5625 c3828000 rtnbit1 wak 
+5626 da2044ff arg mem_le_xtype_fifo ,rega 
+5627 20407f9f call fifo_out 
+5628 243a5630 nbranch le_prepare_tx_cmd ,blank 
+5629 6800c132 fetch 1 ,mem_device_option 
+562a c080d890 bne dvc_op_hci ,le_send_empty 
+562b d8200000 arg 0 ,type 
+562c 204044a3 call hci_rx_packet 
+562d 18227e00 copy type ,pdata 
+562e 247a0000 nrtn blank 
+562f 20205890 branch le_send_empty 
+
+le_prepare_tx_cmd:
+5630 1fe20400 copy pdata ,temp 
+5631 79200025 set1 mark_ext_patch ,mark 
+5632 44b1402c bpatch patch2c_2 ,mem_patch2c 
+5633 18427e00 copy temp ,pdata 
+5634 c302d64b bbit0 5 ,le_prepare_l2cap 
+5635 18000203 force 3 ,type 
+5636 793ffe05 set0 5 ,pdata 
+5637 6000c440 store 1 ,mem_le_txpayload 
+5638 79200025 set1 mark_ext_patch ,mark 
+5639 44b1c02c bpatch patch2c_3 ,mem_patch2c 
+563a 6800c440 fetch 1 ,mem_le_txpayload 
+563b c000568f beq ll_connection_update_req ,le_send_connection_update_req 
+563c c000d691 beq ll_channel_map_req ,le_send_channel_map_req 
+563d c0015693 beq ll_terminate_ind ,le_send_terminate_ind 
+563e c001d695 beq ll_enc_req ,le_send_enc_req 
+563f c00256a6 beq ll_enc_rsp ,le_send_enc_rsp 
+5640 c002d6b7 beq ll_start_enc_req ,le_send_start_enc_req 
+5641 c00356b9 beq ll_start_enc_rsp ,le_send_start_enc_rsp 
+5642 c003d6bf beq ll_unknown_rsp ,le_send_unknown_rsp 
+5643 c00456c1 beq ll_feature_req ,le_send_feature 
+5644 c004d6c1 beq ll_feature_rsp ,le_send_feature 
+5645 c00556c5 beq ll_pause_enc_req ,le_send_pause_enc_req 
+5646 c005d6c7 beq ll_pause_enc_rsp ,le_send_pause_enc_rsp 
+5647 c00656c9 beq ll_version_ind ,le_send_version_ind 
+5648 c006d6cf beq ll_reject_ind ,le_send_reject_ind 
+5649 c007d6d1 beq ll_connection_param_req ,le_send_conn_param_req 
+564a 20203bf1 branch assert 
+
+le_prepare_l2cap:
+564b 70444300 jam 0 ,mem_le_txcid + 1 
+564c 18000202 force 2 ,type 
+564d c3035662 bbit0 6 ,le_prepare_att 
+564e c0295662 beq attop_write_command ,le_prepare_att 
+564f c0695662 beq attop_signed_write_command ,le_prepare_att 
+5650 70444206 jam le_l2cap_cid_smp ,mem_le_txcid 
+5651 793ffe06 set0 6 ,pdata 
+5652 6000c444 store 1 ,mem_le_l2cap 
+
+le_prepare_smp:
+5653 79200025 set1 mark_ext_patch ,mark 
+5654 44b2402c bpatch patch2c_4 ,mem_patch2c 
+5655 6800c444 fetch 1 ,mem_le_l2cap 
+
+le_prepare_smp0:
+5656 c000d6e5 beq smp_pairing_request ,le_send_smp_pairing_request 
+5657 c00156ed beq smp_pairing_response ,le_send_smp_pairing_response 
+5658 c001d6f5 beq smp_pairing_confirm ,le_send_smp_pairing_confirm 
+5659 c00256fa beq smp_pairing_random ,le_send_smp_pairing_random 
+565a c002d6ff beq smp_pairing_failed ,le_send_smp_pairing_failed 
+565b c0035701 beq smp_encryption_information ,le_send_smp_encryption_information 
+565c c003d70b beq smp_master_identification ,le_send_smp_master_identification 
+565d c0045712 beq smp_identity_information ,le_send_smp_identity_information 
+565e c004d717 beq smp_identity_address_information ,le_send_smp_identity_address_information 
+565f c005571e beq smp_signing_information ,le_send_smp_signing_information 
+5660 c005d721 beq smp_security_request ,le_send_smp_security_request 
+5661 20203bf1 branch assert 
+
+le_prepare_att:
+5662 70444204 jam le_l2cap_cid_att ,mem_le_txcid 
+5663 6000c444 store 1 ,mem_le_l2cap 
+5664 79200025 set1 mark_ext_patch ,mark 
+5665 44b2c02c bpatch patch2c_5 ,mem_patch2c 
+
+le_prepare_att0:
+5666 6800c444 fetch 1 ,mem_le_l2cap 
+5667 c000d729 beq attop_error_response ,le_send_att_error_response 
+5668 c001572f beq attop_exchange_mtu_request ,le_send_att_exchange_mtu 
+5669 c001d72f beq attop_exchange_mtu_response ,le_send_att_exchange_mtu 
+566a c0025732 beq attop_find_information_request ,le_send_att_find_information_request 
+566b c002d737 beq attop_find_information_response ,le_send_att_find_information_response 
+566c c0035748 beq attop_find_by_type_value_request ,le_send_att_find_by_type_value_request 
+566d c003d752 beq attop_find_by_type_value_response ,le_send_att_find_by_type_value_response 
+566e c0045793 beq attop_read_by_type_request ,le_send_att_read_by_type_request 
+566f c004d79b beq attop_read_by_type_response ,le_send_att_read_by_type_response 
+5670 c00557be beq attop_read_request ,le_send_att_read_request 
+5671 c005d7c6 beq attop_read_response ,le_send_att_read_response 
+5672 c00657d1 beq attop_read_blob_request ,le_send_att_read_blob_request 
+5673 c006d7d6 beq attop_read_blob_response ,le_send_att_read_blob_response 
+5674 c00757e5 beq attop_read_multiple_request ,le_send_att_read_multiple_request 
+5675 c007d7ec beq attop_read_multiple_response ,le_send_att_read_multiple_response 
+5676 c0085812 beq attop_read_by_group_type_request ,le_send_att_read_by_group_type_request 
+5677 c008d81a beq attop_read_by_group_type_response ,le_send_att_read_by_group_type_response 
+5678 c009583e beq attop_write_request ,le_send_att_write_request 
+5679 c009d845 beq attop_write_response ,le_send_att_write_response 
+567a c00b585e beq attop_prepare_write_request ,le_send_att_prepare_write_request 
+567b c00bd860 beq attop_prepare_write_response ,le_send_att_prepare_write_response 
+567c c00c5862 beq attop_execute_write_request ,le_send_att_execute_write_request 
+567d c00cd864 beq attop_execute_write_response ,le_send_att_execute_write_response 
+567e c00dd873 beq attop_handle_value_notification ,le_send_att_handle_value_notification 
+567f c00ed882 beq attop_handle_value_indication ,le_send_att_handle_value_indication 
+5680 c00f5884 beq attop_handle_value_confirmation ,le_send_att_handle_value_confirmation 
+5681 c0295886 beq attop_write_command ,le_send_att_write_command 
+5682 c0695888 beq attop_signed_write_command ,le_send_att_signed_write_command 
+5683 c04f5686 beq empty_le_data_pre ,le_send_empty_le_data_pre 
+5684 c04fd688 beq empty_le_data ,le_send_empty_le_data 
+5685 20203bf1 branch assert 
+
+le_send_empty_le_data_pre:
+5686 700b7d10 jam attop_read_by_group_type_request ,mem_fifo_temp 
+5687 20405620 call le_xtype_fifo_in 
+
+le_send_empty_le_data:
+5688 58000011 setarg 0x0011 
+5689 6001443e store 2 ,mem_le_txheader 
+568a 680083d7 fetch 1 ,mem_le_arq 
+568b 79207e05 set1 wak ,pdata 
+568c 600083d7 store 1 ,mem_le_arq 
+568d 700b7d12 jam attop_write_request ,mem_fifo_temp 
+568e 20205620 branch le_xtype_fifo_in 
+
+le_send_connection_update_req:
+568f 1800040c force 12 ,temp 
+5690 20205892 branch le_send_packet 
+
+le_send_channel_map_req:
+5691 18000408 force 8 ,temp 
+5692 20205892 branch le_send_packet 
+
+le_send_terminate_ind:
+5693 18000402 force 2 ,temp 
+5694 20205892 branch le_send_packet 
+
+le_send_enc_req:
+5695 18007e00 force 0 ,pdata 
+5696 e0a40000 istore 8 ,contw 
+5697 e0a10000 istore 2 ,contw 
+5698 18a20400 copy contw ,temp 
+5699 d8a00380 arg mem_le_skdm ,contw 
+569a 18007208 force 8 ,loopcnt 
+569b 20406227 call generate_random_loop 
+569c 68040380 fetch 8 ,mem_le_skdm 
+569d e0440000 istore 8 ,temp 
+569e 18a20400 copy contw ,temp 
+569f d8a04473 arg mem_le_ivm ,contw 
+56a0 18007204 force 4 ,loopcnt 
+56a1 20406227 call generate_random_loop 
+56a2 68024473 fetch 4 ,mem_le_ivm 
+56a3 e0420000 istore 4 ,temp 
+56a4 18000417 force 23 ,temp 
+56a5 20205892 branch le_send_packet 
+
+le_send_enc_rsp:
+56a6 18a20400 copy contw ,temp 
+56a7 d8a00388 arg mem_le_skds ,contw 
+56a8 18007208 force 8 ,loopcnt 
+56a9 20406227 call generate_random_loop 
+56aa 68040388 fetch 8 ,mem_le_skds 
+56ab e0440000 istore 8 ,temp 
+56ac 18a20400 copy contw ,temp 
+56ad d8a04477 arg mem_le_ivs ,contw 
+56ae 18007204 force 4 ,loopcnt 
+56af 20406227 call generate_random_loop 
+56b0 68024477 fetch 4 ,mem_le_ivs 
+56b1 e0420000 istore 4 ,temp 
+56b2 204074b6 call generate_sk 
+56b3 700b7d25 jam xt_ll_start_enc_req ,mem_fifo_temp 
+56b4 20405620 call le_xtype_fifo_in 
+56b5 1800040d force 13 ,temp 
+56b6 20205892 branch le_send_packet 
+
+le_send_start_enc_req:
+56b7 18000401 force 1 ,temp 
+56b8 20205892 branch le_send_packet 
+
+le_send_start_enc_rsp:
+56b9 18000401 force 1 ,temp 
+56ba 2034d892 branch le_send_packet ,master 
+56bb 700b7d46 jam xt_smp_encryption_information ,mem_fifo_temp 
+56bc 20405620 call le_xtype_fifo_in 
+56bd 18000401 force 1 ,temp 
+56be 20205892 branch le_send_packet 
+
+le_send_unknown_rsp:
+56bf 18000402 force 2 ,temp 
+56c0 20205892 branch le_send_packet 
+
+le_send_feature:
+56c1 58000001 setarg param_le_features 
+56c2 e0a40000 istore 8 ,contw 
+56c3 18000409 force 9 ,temp 
+56c4 20205892 branch le_send_packet 
+
+le_send_pause_enc_req:
+56c5 18000406 force 6 ,temp 
+56c6 20205892 branch le_send_packet 
+
+le_send_pause_enc_rsp:
+56c7 18000406 force 6 ,temp 
+56c8 20205892 branch le_send_packet 
+
+le_send_version_ind:
+56c9 58000a06 setarg param_le_version 
+56ca e0a18000 istore 3 ,contw 
+56cb 58001d87 setarg param_le_subversion 
+56cc e0a10000 istore 2 ,contw 
+56cd 18000406 force 6 ,temp 
+56ce 20205892 branch le_send_packet 
+
+le_send_reject_ind:
+56cf 18000402 force 2 ,temp 
+56d0 20205892 branch le_send_packet 
+
+le_send_conn_param_req:
+56d1 18a08bff increase -1 ,contw 
+56d2 5800000c setarg 0x000c 
+56d3 e0a10000 istore 2 ,contw 
+56d4 58000005 setarg 0x0005 
+56d5 e0a10000 istore 2 ,contw 
+56d6 5800b412 setarg 0xb412 
+56d7 e0a10000 istore 2 ,contw 
+56d8 58000008 setarg 0x0008 
+56d9 e0a10000 istore 2 ,contw 
+56da 58000008 setarg 0x0008 
+56db e0a10000 istore 2 ,contw 
+56dc 58000010 setarg 0x0010 
+56dd e0a10000 istore 2 ,contw 
+56de 58000000 setarg 0 
+56df e0a10000 istore 2 ,contw 
+56e0 5800012c setarg 0x012c 
+56e1 e0a10000 istore 2 ,contw 
+56e2 2040588a call le_send_autolen 
+56e3 18000202 force 2 ,type 
+56e4 20205892 branch le_send_packet 
+
+le_send_smp_pairing_request:
+56e5 59000401 setarg 0x1000401 
+56e6 600244ae store 4 ,mem_le_preq 
+56e7 58070710 setarg 0x070710 
+56e8 e0a18000 istore 3 ,contw 
+56e9 680344af fetch 6 ,mem_le_preq + 1 
+56ea 60034445 store 6 ,mem_le_l2cap_response 
+56eb 1800040b force 11 ,temp 
+56ec 20205892 branch le_send_packet 
+
+le_send_smp_pairing_response:
+56ed 59000302 setarg param_smp_paring_response 
+56ee 600244b5 store 4 ,mem_le_pres 
+56ef 58010410 setarg param_smp_key_dist 
+56f0 e0a18000 istore 3 ,contw 
+56f1 680344b6 fetch 6 ,mem_le_pres + 1 
+56f2 60034445 store 6 ,mem_le_l2cap_response 
+56f3 1800040b force 11 ,temp 
+56f4 20205892 branch le_send_packet 
+
+le_send_smp_pairing_confirm:
+56f5 204074b0 call generate_confirm 
+56f6 d8a04445 arg mem_le_l2cap_response ,contw 
+56f7 204075a3 call store_aes_result 
+56f8 18000415 force 21 ,temp 
+56f9 20205892 branch le_send_packet 
+
+le_send_smp_pairing_random:
+56fa 680403b0 fetch 8 ,mem_le_mrand 
+56fb 2034d6fd branch le_send_smp_mrandom ,master 
+56fc 6804449c fetch 8 ,mem_le_srand 
+
+le_send_smp_mrandom:
+56fd 20405723 call le_send_smp_128 
+56fe 20205892 branch le_send_packet 
+
+le_send_smp_pairing_failed:
+56ff 18000406 force 6 ,temp 
+5700 20205892 branch le_send_packet 
+
+le_send_smp_encryption_information:
+5701 700b7d29 jam bt_evt_le_enc_info ,mem_fifo_temp 
+5702 20407c27 call ui_ipc_send_event 
+5703 700b7d47 jam xt_smp_master_identification ,mem_fifo_temp 
+5704 20405620 call le_xtype_fifo_in 
+5705 d8a003a0 arg mem_le_my_ltk ,contw 
+5706 20406226 call generate_random 
+5707 680403a0 fetch 8 ,mem_le_my_ltk 
+5708 6804447b fetch 8 ,mem_le_ltk 
+5709 20405723 call le_send_smp_128 
+570a 20205892 branch le_send_packet 
+
+le_send_smp_master_identification:
+570b 700b7d48 jam xt_smp_identity_information ,mem_fifo_temp 
+570c 20405620 call le_xtype_fifo_in 
+570d d8a04445 arg mem_le_l2cap_response ,contw 
+570e 18007208 force 8 ,loopcnt 
+570f 20406227 call generate_random_loop 
+5710 1800040f force 15 ,temp 
+5711 20205892 branch le_send_packet 
+
+le_send_smp_identity_information:
+5712 700b7d49 jam xt_smp_identity_address_information ,mem_fifo_temp 
+5713 20405620 call le_xtype_fifo_in 
+5714 d8a04445 arg mem_le_l2cap_response ,contw 
+5715 20406226 call generate_random 
+5716 2020588a branch le_send_autolen 
+
+le_send_smp_identity_address_information:
+5717 700b7d4a jam xt_smp_signing_information ,mem_fifo_temp 
+5718 20405620 call le_xtype_fifo_in 
+5719 18007e00 force 0 ,pdata 
+571a 6000c445 store 1 ,mem_le_l2cap_response 
+571b 680344f9 fetch 6 ,mem_le_lap 
+571c e0a30000 istore 6 ,contw 
+571d 2020588a branch le_send_autolen 
+
+le_send_smp_signing_information:
+571e d8a04445 arg mem_le_l2cap_response ,contw 
+571f 20406226 call generate_random 
+5720 2020588a branch le_send_autolen 
+
+le_send_smp_security_request:
+5721 18000406 force 6 ,temp 
+5722 20205892 branch le_send_packet 
+
+le_send_smp_128:
+5723 60044445 store 8 ,mem_le_l2cap_response 
+5724 e8c40000 ifetch 8 ,contr 
+5725 e0a40000 istore 8 ,contw 
+5726 18000415 force 21 ,temp 
+5727 20600000 rtn 
+
+le_send_att_error_response_notfound:
+5728 7003fc0a jam att_err_attribute_not_found ,mem_le_err_code 
+
+le_send_att_error_response:
+5729 70444401 jam attop_error_response ,mem_le_l2cap 
+572a 680183f9 fetch 3 ,mem_le_att_opcode 
+572b 6001c445 store 3 ,mem_le_l2cap_response 
+572c 680083fc fetch 1 ,mem_le_err_code 
+572d e0a08000 istore 1 ,contw 
+572e 2020588a branch le_send_autolen 
+
+le_send_att_exchange_mtu:
+572f 58000017 setarg param_le_mtu 
+5730 e0a10000 istore 2 ,contw 
+5731 2020588a branch le_send_autolen 
+
+le_send_att_find_information_request:
+5732 680144bc fetch 2 ,mem_le_search_handle_start 
+5733 60014445 store 2 ,mem_le_l2cap_response 
+5734 680144be fetch 2 ,mem_le_search_handle_end 
+5735 e0a10000 istore 2 ,contw 
+5736 2020588a branch le_send_autolen 
+
+le_send_att_find_information_response:
+5737 18007e01 force 1 ,pdata 
+5738 6000c445 store 1 ,mem_le_l2cap_response 
+5739 20405a74 call le_init_attlist_search 
+
+le_send_att_find_information_res_loop:
+573a 20405a7d call le_att_handle_inrange 
+573b 203a5746 branch le_send_att_find_information_res_end ,blank 
+573c 24215744 nbranch le_send_att_find_information_res_next ,positive 
+573d 78547c00 disable user 
+573e e0a10000 istore 2 ,contw 
+573f e8c10000 ifetch 2 ,contr 
+5740 e0a10000 istore 2 ,contw 
+
+le_send_att_find_information_res_cont:
+5741 e8c08000 ifetch 1 ,contr 
+5742 98c08c00 iadd contr ,contr 
+5743 2020573a branch le_send_att_find_information_res_loop 
+
+le_send_att_find_information_res_next:
+5744 18c08c02 increase 2 ,contr 
+5745 20205741 branch le_send_att_find_information_res_cont 
+
+le_send_att_find_information_res_end:
+5746 20345728 branch le_send_att_error_response_notfound ,user 
+5747 2020588a branch le_send_autolen 
+
+le_send_att_find_by_type_value_request:
+5748 680144bc fetch 2 ,mem_le_search_handle_start 
+5749 203a5688 branch le_send_empty_le_data ,blank 
+574a 60014445 store 2 ,mem_le_l2cap_response 
+574b 680144be fetch 2 ,mem_le_search_handle_end 
+574c e0a10000 istore 2 ,contw 
+574d 680144c4 fetch 2 ,mem_le_uuid 
+574e e0a10000 istore 2 ,contw 
+574f 680144c0 fetch 2 ,mem_le_search_att_type 
+5750 e0a10000 istore 2 ,contw 
+5751 2020588a branch le_send_autolen 
+
+le_send_att_find_by_type_value_response:
+5752 2040577b call le_start_end_handle_check_1 
+5753 20740000 rtn user 
+5754 680944c4 fetcht 2 ,mem_le_uuid 
+5755 58002800 setarg uuid_gatt_primary_service 
+5756 98467c00 isub temp ,null 
+5757 2022d762 branch le_send_att_find_by_type_value_res_primary ,zero 
+5758 58002801 setarg uuid_gatt_secondary_service 
+5759 98467c00 isub temp ,null 
+575a 2022d728 branch le_send_att_error_response_notfound ,zero 
+575b 58002802 setarg uuid_gatt_include 
+575c 98467c00 isub temp ,null 
+575d 2022d728 branch le_send_att_error_response_notfound ,zero 
+575e 58002803 setarg uuid_gatt_characteristic 
+575f 98467c00 isub temp ,null 
+5760 2022d728 branch le_send_att_error_response_notfound ,zero 
+5761 20205728 branch le_send_att_error_response_notfound 
+
+le_send_att_find_by_type_value_res_primary:
+5762 680944c0 fetcht 2 ,mem_le_search_att_type 
+5763 18c08c02 increase 2 ,contr 
+5764 e8c08000 ifetch 1 ,contr 
+5765 1fe22600 icopy regc 
+5766 1a60a601 increase 1 ,regc 
+
+le_send_att_find_by_type_value_res_primary_search_loop:
+5767 1a60a7ff increase -1 ,regc 
+5768 2022d728 branch le_send_att_error_response_notfound ,zero 
+5769 e8c10000 ifetch 2 ,contr 
+576a 98467c00 isub temp ,null 
+576b 2022d76e branch le_send_att_find_by_type_value_res_primary_search_end ,zero 
+576c 18c08c04 increase 4 ,contr 
+576d 20205767 branch le_send_att_find_by_type_value_res_primary_search_loop 
+
+le_send_att_find_by_type_value_res_primary_search_end:
+576e e8c10000 ifetch 2 ,contr 
+576f 1fe22200 icopy rega 
+5770 e8c10000 ifetch 2 ,contr 
+5771 1fe22400 icopy regb 
+5772 20405785 call le_start_end_handle_check_2 
+5773 20740000 rtn user 
+5774 70444407 jam attop_find_by_type_value_response ,mem_le_l2cap 
+5775 1a227e00 deposit rega 
+5776 60014445 store 2 ,mem_le_l2cap_response 
+5777 1a427e00 deposit regb 
+5778 e0a10000 istore 2 ,contw 
+5779 18000409 force 9 ,temp 
+577a 20205892 branch le_send_packet 
+
+le_start_end_handle_check_1:
+577b 78547c00 disable user 
+577c 680944bc fetcht 2 ,mem_le_search_handle_start 
+577d 680144be fetch 2 ,mem_le_search_handle_end 
+577e 98467c00 isub temp ,null 
+577f 24215782 nbranch le_start_end_handle_check_1_fail ,positive 
+5780 18427e00 deposit temp 
+5781 c1800000 rtnne 0 
+
+le_start_end_handle_check_1_fail:
+5782 78347c00 enable user 
+
+le_send_att_invalid_handle:
+5783 7003fc01 jam att_err_invalid_handle ,mem_le_err_code 
+5784 20205729 branch le_send_att_error_response 
+
+le_start_end_handle_check_2:
+5785 78547c00 disable user 
+5786 680944bc fetcht 2 ,mem_le_search_handle_start 
+5787 1a227e00 deposit rega 
+5788 98467c00 isub temp ,null 
+5789 24215791 nbranch le_start_end_handle_check_2_fail ,positive 
+578a 680144be fetch 2 ,mem_le_search_handle_end 
+578b 9a467c00 isub regb ,null 
+578c 24215791 nbranch le_start_end_handle_check_2_fail ,positive 
+578d 1a427e00 deposit regb 
+578e 9a267c00 isub rega ,null 
+578f 24215791 nbranch le_start_end_handle_check_2_fail ,positive 
+5790 20600000 rtn 
+
+le_start_end_handle_check_2_fail:
+5791 78347c00 enable user 
+5792 20205728 branch le_send_att_error_response_notfound 
+
+le_send_att_read_by_type_request:
+5793 680144bc fetch 2 ,mem_le_search_handle_start 
+5794 e0a10000 istore 2 ,contw 
+5795 680144be fetch 2 ,mem_le_search_handle_end 
+5796 e0a10000 istore 2 ,contw 
+5797 680144c0 fetch 2 ,mem_le_search_att_type 
+5798 e0a10000 istore 2 ,contw 
+5799 1800040b force 11 ,temp 
+579a 20205892 branch le_send_packet 
+
+le_send_att_read_by_type_response:
+579b 680944c0 fetcht 2 ,mem_le_search_att_type 
+579c 58002803 setarg uuid_gatt_characteristic 
+579d 98467c00 isub temp ,null 
+579e 58000007 setarg 7 
+579f 2022d7a5 branch le_send_att_read_by_type_res_cont ,zero 
+57a0 58002800 setarg uuid_gatt_primary_service 
+57a1 98467c00 isub temp ,null 
+57a2 58000006 setarg 6 
+57a3 2022d7a5 branch le_send_att_read_by_type_res_cont ,zero 
+57a4 20205728 branch le_send_att_error_response_notfound 
+
+le_send_att_read_by_type_res_cont:
+57a5 6000c445 store 1 ,mem_le_l2cap_response 
+57a6 20405a74 call le_init_attlist_search 
+57a7 18006003 force 3 ,alarm 
+
+le_send_att_read_by_type_res_loop:
+57a8 20405a7d call le_att_handle_inrange 
+57a9 203a57bc branch le_send_att_read_by_type_res_end ,blank 
+57aa 242157b8 nbranch le_send_att_read_by_type_res_next ,positive 
+57ab 98002200 iforce rega 
+57ac e8c10000 ifetch 2 ,contr 
+57ad 98467c00 isub temp ,null 
+57ae 2422d7b9 nbranch le_send_att_read_by_type_res_next2 ,zero 
+57af 78547c00 disable user 
+57b0 1a227e00 deposit rega 
+57b1 e0a10000 istore 2 ,contw 
+57b2 e8c08000 ifetch 1 ,contr 
+57b3 1fe0f204 add pdata ,4 ,loopcnt 
+57b4 20407e45 call memcpy 
+57b5 1e00e1ff increase -1 ,alarm 
+57b6 2022d7bc branch le_send_att_read_by_type_res_end ,zero 
+57b7 202057b9 branch le_send_att_read_by_type_res_next2 
+
+le_send_att_read_by_type_res_next:
+57b8 18c08c02 increase 2 ,contr 
+
+le_send_att_read_by_type_res_next2:
+57b9 e8c08000 ifetch 1 ,contr 
+57ba 98c08c00 iadd contr ,contr 
+57bb 202057a8 branch le_send_att_read_by_type_res_loop 
+
+le_send_att_read_by_type_res_end:
+57bc 20345728 branch le_send_att_error_response_notfound ,user 
+57bd 2020588a branch le_send_autolen 
+
+le_send_att_read_request:
+57be 6800c43d fetch 1 ,mem_le_temp 
+57bf 1fe0ffff increase -1 ,pdata 
+57c0 6000c43d store 1 ,mem_le_temp 
+57c1 1fe3fe00 lshift pdata ,pdata 
+57c2 98c08c00 iadd contr ,contr 
+57c3 e8c90000 ifetcht 2 ,contr 
+57c4 60094445 storet 2 ,mem_le_l2cap_response 
+57c5 2020588a branch le_send_autolen 
+
+le_send_att_read_response:
+57c6 680903fa fetcht 2 ,mem_le_att_handle 
+57c7 20405a88 call le_att_get_handle_ptr 
+57c8 203a5728 branch le_send_att_error_response_notfound ,blank 
+57c9 e8c08000 ifetch 1 ,contr 
+57ca 203a588a branch le_send_autolen ,blank 
+57cb 1fe67c16 sub pdata ,22 ,null 
+57cc 202157ce branch le_send_att_read_response_less ,positive 
+57cd 18007e16 force 22 ,pdata 
+
+le_send_att_read_response_less:
+57ce 1fe27200 icopy loopcnt 
+57cf 20407e45 call memcpy 
+57d0 2020588a branch le_send_autolen 
+
+le_send_att_read_blob_request:
+57d1 58000003 setarg 0x0003 
+57d2 60014445 store 2 ,mem_le_l2cap_response 
+57d3 58000008 setarg 0x0008 
+57d4 e0a10000 istore 2 ,contw 
+57d5 2020588a branch le_send_autolen 
+
+le_send_att_read_blob_response:
+57d6 680144c0 fetch 2 ,mem_le_att_offset 
+57d7 98002200 iforce rega 
+57d8 680903fa fetcht 2 ,mem_le_att_handle 
+57d9 20405a88 call le_att_get_handle_ptr 
+57da 203a5728 branch le_send_att_error_response_notfound ,blank 
+57db e8c08000 ifetch 1 ,contr 
+57dc 9a267200 isub rega ,loopcnt 
+57dd 24215728 nbranch le_send_att_error_response_notfound ,positive 
+57de 1f267c16 sub loopcnt ,22 ,null 
+57df 202157e1 branch le_send_att_read_blob_response_less ,positive 
+57e0 18007216 force 22 ,loopcnt 
+
+le_send_att_read_blob_response_less:
+57e1 1a227e00 deposit rega 
+57e2 98c08c00 iadd contr ,contr 
+57e3 20407e45 call memcpy 
+57e4 2020588a branch le_send_autolen 
+
+le_send_att_read_multiple_request:
+57e5 58000003 setarg 0x0003 
+57e6 e0a10000 istore 2 ,contw 
+57e7 58000007 setarg 0x0007 
+57e8 e0a10000 istore 2 ,contw 
+57e9 58000009 setarg 0x0009 
+57ea e0a10000 istore 2 ,contw 
+57eb 2020588a branch le_send_autolen 
+
+le_send_att_read_multiple_response:
+57ec 6800c43d fetch 1 ,mem_le_temp 
+57ed 1fe22600 icopy regc 
+57ee da200347 arg mem_le_rxbuf + 7 ,rega 
+57ef da404445 arg mem_le_l2cap_response ,regb 
+57f0 d9600000 arg 0 ,timeup 
+57f1 7858fc00 disable user7 
+
+le_send_att_read_multiple_response_loop:
+57f2 1a220c00 copy rega ,contr 
+57f3 e8c90000 ifetcht 2 ,contr 
+57f4 18c22200 copy contr ,rega 
+57f5 20405a88 call le_att_get_handle_ptr 
+57f6 203a5805 branch le_send_att_read_multiple_response_end ,blank 
+57f7 e8c08000 ifetch 1 ,contr 
+57f8 1fe27200 icopy loopcnt 
+57f9 99609600 iadd timeup ,timeup 
+57fa 19667c18 sub timeup ,24 ,null 
+57fb 2421580a nbranch le_send_att_read_multiple_response_end_1 ,positive 
+57fc 1a420a00 copy regb ,contw 
+
+le_copy_att_value_loop_3:
+57fd e8c08000 ifetch 1 ,contr 
+57fe e0a08000 istore 1 ,contw 
+57ff c20057fd loop le_copy_att_value_loop_3 
+5800 18a22400 copy contw ,regb 
+5801 7838fc00 enable user7 
+5802 1a60a7ff increase -1 ,regc 
+5803 2022d805 branch le_send_att_read_multiple_response_end ,zero 
+5804 202057f2 branch le_send_att_read_multiple_response_loop 
+
+le_send_att_read_multiple_response_end:
+5805 2438d810 nbranch le_send_att_read_multiple_response_fail ,user7 
+5806 7858fc00 disable user7 
+5807 19620400 copy timeup ,temp 
+5808 18408405 increase 5 ,temp 
+5809 20205892 branch le_send_packet 
+
+le_send_att_read_multiple_response_end_1:
+580a 2438d810 nbranch le_send_att_read_multiple_response_fail ,user7 
+580b 7858fc00 disable user7 
+580c 19627e00 deposit timeup 
+580d 9f260400 isub loopcnt ,temp 
+580e 18408405 increase 5 ,temp 
+580f 20205892 branch le_send_packet 
+
+le_send_att_read_multiple_response_fail:
+5810 7003fc10 jam att_err_unsupported_group_type ,mem_le_err_code 
+5811 20205729 branch le_send_att_error_response 
+
+le_send_att_read_by_group_type_request:
+5812 680103fa fetch 2 ,mem_le_att_handle 
+5813 203a5688 branch le_send_empty_le_data ,blank 
+5814 e0a10000 istore 2 ,contw 
+5815 5800ffff setarg 0xffff 
+5816 e0a10000 istore 2 ,contw 
+5817 58002800 setarg 0x2800 
+5818 e0a10000 istore 2 ,contw 
+5819 2020588a branch le_send_autolen 
+
+le_send_att_read_by_group_type_response:
+581a 58000006 setarg 0x06 
+581b 6000c445 store 1 ,mem_le_l2cap_response 
+581c 680144c0 fetch 2 ,mem_le_search_att_type 
+581d 98002200 iforce rega 
+581e 20405a74 call le_init_attlist_search 
+581f 18007203 force 3 ,loopcnt 
+
+le_send_att_read_by_group_type_response_loop:
+5820 20405a7d call le_att_handle_inrange 
+5821 203a5835 branch le_send_att_read_by_group_type_response_last ,blank 
+5822 2421583a nbranch le_send_att_read_by_group_type_response_next ,positive 
+5823 98006000 iforce alarm 
+5824 e8c10000 ifetch 2 ,contr 
+5825 9a267c00 isub rega ,null 
+5826 2422d83b nbranch le_send_att_read_by_group_type_response_cont ,zero 
+5827 1e027e00 deposit alarm 
+5828 2034582f branch le_send_att_read_by_group_type_response_first ,user 
+5829 1fe0ffff increase -1 ,pdata 
+582a e0a10000 istore 2 ,contw 
+582b e0a90000 istoret 2 ,contw 
+582c 1fe0fe01 increase 1 ,pdata 
+582d 1f20f3ff increase -1 ,loopcnt 
+582e 2022d88a branch le_send_autolen ,zero 
+
+le_send_att_read_by_group_type_response_first:
+582f 78547c00 disable user 
+5830 e0a10000 istore 2 ,contw 
+5831 18c08c01 increase 1 ,contr 
+5832 e8c90000 ifetcht 2 ,contr 
+5833 18c08dfd increase -3 ,contr 
+5834 2020583b branch le_send_att_read_by_group_type_response_cont 
+
+le_send_att_read_by_group_type_response_last:
+5835 20345728 branch le_send_att_error_response_notfound ,user 
+5836 18007fff force -1 ,pdata 
+5837 e0a10000 istore 2 ,contw 
+5838 e0a90000 istoret 2 ,contw 
+5839 2020588a branch le_send_autolen 
+
+le_send_att_read_by_group_type_response_next:
+583a 18c08c02 increase 2 ,contr 
+
+le_send_att_read_by_group_type_response_cont:
+583b e8c08000 ifetch 1 ,contr 
+583c 98c08c00 iadd contr ,contr 
+583d 20205820 branch le_send_att_read_by_group_type_response_loop 
+
+le_send_att_write_request:
+583e 680144c2 fetch 2 ,mem_le_notify_handle 
+583f 60014445 store 2 ,mem_le_l2cap_response 
+5840 6800c4c6 fetch 1 ,mem_le_handle_data_len 
+5841 1fe27200 copy pdata ,loopcnt 
+5842 d8c044c7 arg mem_le_handle_data ,contr 
+5843 20407e45 call memcpy 
+5844 2020588a branch le_send_autolen 
+
+le_send_att_write_response:
+5845 680903fa fetcht 2 ,mem_le_att_handle 
+5846 20405a88 call le_att_get_handle_ptr 
+5847 203a585c branch le_send_att_write_response_go ,blank 
+5848 18c08dfe increase -2 ,contr 
+5849 e8c90000 ifetcht 2 ,contr 
+584a 58002902 setarg uuid_client_characteristic 
+584b 98467c00 isub temp ,null 
+584c 2422d85c nbranch le_send_att_write_response_go ,zero 
+584d 18c08c01 increase 1 ,contr 
+584e e8c90000 ifetcht 2 ,contr 
+584f 58000001 setarg 0x0001 
+5850 98467c00 isub temp ,null 
+5851 2022d856 branch le_send_att_write_response_notify ,zero 
+5852 58000000 setarg 0x0000 
+5853 98467c00 isub temp ,null 
+5854 2422d85c nbranch le_send_att_write_response_go ,zero 
+5855 2020585c branch le_send_att_write_response_go 
+
+le_send_att_write_response_notify:
+5856 18c08df9 increase -7 ,contr 
+5857 e8c10000 ifetch 2 ,contr 
+5858 1fe0ffff increase -1 ,pdata 
+5859 600144c2 store 2 ,mem_le_notify_handle 
+585a 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+585b 20405620 call le_xtype_fifo_in 
+
+le_send_att_write_response_go:
+585c 18000405 force 5 ,temp 
+585d 20205892 branch le_send_packet 
+
+le_send_att_prepare_write_request:
+585e 18000406 force 6 ,temp 
+585f 20205892 branch le_send_packet 
+
+le_send_att_prepare_write_response:
+5860 18000406 force 6 ,temp 
+5861 20205892 branch le_send_packet 
+
+le_send_att_execute_write_request:
+5862 18000406 force 6 ,temp 
+5863 20205892 branch le_send_packet 
+
+le_send_att_execute_write_response:
+5864 18000406 force 6 ,temp 
+5865 20205892 branch le_send_packet 
+
+le_att_check_notification_enable:
+5866 79200025 set1 mark_ext_patch ,mark 
+5867 44b3402c bpatch patch2c_6 ,mem_patch2c 
+5868 18408401 increase 1 ,temp 
+5869 20405a88 call le_att_get_handle_ptr 
+586a 18c08dfe increase -2 ,contr 
+586b e8c10000 ifetch 2 ,contr 
+586c d8402902 arg client_charactertic_configuration ,temp 
+586d 98467c00 isub temp ,null 
+586e 24628000 nrtn zero 
+586f 18c08c01 increase 1 ,contr 
+5870 18c22200 copy contr ,rega 
+5871 e8c08000 ifetch 1 ,contr 
+5872 20600000 rtn 
+
+le_send_att_handle_value_notification:
+5873 70041b00 jam 0 ,mem_le_notify_len 
+5874 68014298 fetch 2 ,mem_cb_update_notify_value 
+5875 20407f66 call callback_func 
+5876 d8a04444 arg mem_le_l2cap ,contw 
+5877 18a08a01 increase 1 ,contw 
+5878 680944c2 fetcht 2 ,mem_le_notify_handle 
+5879 e0a90000 istoret 2 ,contw 
+587a 20405a88 call le_att_get_handle_ptr 
+587b e8c08000 ifetch 1 ,contr 
+587c 1fe27200 icopy loopcnt 
+587d 20407e45 call memcpy 
+587e 6808841b fetcht 1 ,mem_le_notify_len 
+587f 18408407 increase 7 ,temp 
+5880 20405892 call le_send_packet 
+5881 20205ace branch le_clear_notify_att 
+
+le_send_att_handle_value_indication:
+5882 18000406 force 6 ,temp 
+5883 20205892 branch le_send_packet 
+
+le_send_att_handle_value_confirmation:
+5884 18000406 force 6 ,temp 
+5885 20205892 branch le_send_packet 
+
+le_send_att_write_command:
+5886 18000406 force 6 ,temp 
+5887 20205892 branch le_send_packet 
+
+le_send_att_signed_write_command:
+5888 18000406 force 6 ,temp 
+5889 20205892 branch le_send_packet 
+
+le_send_autolen:
+588a 79200025 set1 mark_ext_patch ,mark 
+588b 44b3c02c bpatch patch2c_7 ,mem_patch2c 
+588c 58004440 setarg mem_le_txpayload 
+588d 98a67e00 isub contw ,pdata 
+588e 1fe60400 sub pdata ,0 ,temp 
+588f 20205892 branch le_send_packet 
+
+le_send_empty:
+5890 18000400 force 0 ,temp 
+5891 18000201 force 1 ,type 
+
+le_send_packet:
+5892 79200025 set1 mark_ext_patch ,mark 
+5893 44b4402d bpatch patch2d_0 ,mem_patch2d 
+5894 6008c43f storet 1 ,mem_le_txlen 
+5895 28200602 compare 2 ,type ,3 
+5896 2420d899 nbranch le_send_non_l2cap ,true 
+5897 1840fffc add temp ,-4 ,pdata 
+5898 60014440 store 2 ,mem_le_txpayload 
+
+le_send_non_l2cap:
+5899 680883d7 fetcht 1 ,mem_le_arq 
+589a 2040561a call le_xtype_fifo_is_empty 
+589b 7d3a0404 nsetflag blank ,md ,temp 
+589c 79200405 set1 wak ,temp 
+589d 18417efc and temp ,0xfc ,pdata 
+589e 9821fe00 ior type ,pdata 
+589f 600083d7 store 1 ,mem_le_arq 
+58a0 1fe17e1f and_into 0x1f ,pdata 
+58a1 6000c43e store 1 ,mem_le_txheader 
+58a2 79200025 set1 mark_ext_patch ,mark 
+58a3 44b4c02d bpatch patch2d_1 ,mem_patch2d 
+58a4 6800c43e fetch 1 ,mem_le_txheader 
+58a5 28200601 compare 1 ,type ,3 
+58a6 20608000 rtn true 
+58a7 6803c43f fetch 7 ,mem_le_txheader + 1 
+58a8 680083c0 fetch 1 ,mem_le_state 
+58a9 c4020000 rtnbit0 lestate_encryption 
+58aa 20407599 call load_sk 
+58ab 202074f7 branch le_encrypt 
+
+le_parse:
+58ac 79200025 set1 mark_ext_patch ,mark 
+58ad 44b5402d bpatch patch2d_2 ,mem_patch2d 
+58ae 2040561c call le_xtype_fifo_is_full 
+58af 243a3bf1 nbranch assert ,blank 
+58b0 247a0000 nrtn blank 
+58b1 68008341 fetch 1 ,mem_le_rxbuf + 1 
+58b2 207a0000 rtn blank 
+58b3 68008340 fetch 1 ,mem_le_rxbuf 
+58b4 2fe00601 compare 1 ,pdata ,3 
+58b5 2020d8cf branch le_parse_l2cap ,true 
+58b6 68038341 fetch 7 ,mem_le_rxbuf + 1 
+58b7 68008340 fetch 1 ,mem_le_rxbuf 
+58b8 2fe00602 compare 2 ,pdata ,3 
+58b9 2020d8cf branch le_parse_l2cap ,true 
+58ba 68008342 fetch 1 ,mem_le_rxbuf + 2 
+58bb 60008418 store 1 ,mem_le_rx_ll_opcode 
+58bc 1fe22600 copy pdata ,regc 
+58bd 79200025 set1 mark_ext_patch ,mark 
+58be 44b5c02d bpatch patch2d_3 ,mem_patch2d 
+58bf 1a627e00 copy regc ,pdata 
+58c0 c0005924 beq ll_connection_update_req ,le_parse_connection_update_req 
+58c1 c000d92c beq ll_channel_map_req ,le_parse_channel_map_req 
+58c2 c0015934 beq ll_terminate_ind ,le_parse_terminate_ind 
+58c3 c001d938 beq ll_enc_req ,le_parse_enc_req 
+58c4 c002593f beq ll_enc_rsp ,le_parse_enc_rsp 
+58c5 c002d944 beq ll_start_enc_req ,le_parse_start_enc_req 
+58c6 c0035949 beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+58c7 c003d94c beq ll_unknown_rsp ,le_parse_unknown_rsp 
+58c8 c004594d beq ll_feature_req ,le_parse_feature_req 
+58c9 c004d94f beq ll_feature_rsp ,le_parse_feature_rsp 
+58ca c0055950 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+58cb c005d951 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+58cc c0065952 beq ll_version_ind ,le_parse_version_ind 
+58cd c006d955 beq ll_reject_ind ,le_parse_reject_ind 
+58ce 20203bf1 branch assert 
+
+le_parse_l2cap:
+58cf 68008341 fetch 1 ,mem_le_rxbuf + 1 
+58d0 1fe17e1f and pdata ,0x1f ,pdata 
+58d1 207a0000 rtn blank 
+58d2 6800c132 fetch 1 ,mem_device_option 
+58d3 c000d8d8 beq dvc_op_hci ,le_acl_upgoing 
+58d4 68010344 fetch 2 ,mem_le_rxbuf + 4 
+58d5 c0025903 beq le_l2cap_cid_att ,le_parse_att 
+58d6 c00358f4 beq le_l2cap_cid_smp ,le_parse_smp 
+58d7 20600000 rtn 
+
+le_acl_upgoing:
+58d8 79200025 set1 mark_ext_patch ,mark 
+58d9 44b6402d bpatch patch2d_4 ,mem_patch2d 
+58da 20404972 call hci_get_packet_ptr 
+58db 680083d6 fetch 1 ,mem_le_conn_handle 
+58dc 68088340 fetcht 1 ,mem_le_rxbuf 
+58dd 18410403 and_into 3 ,temp 
+58de 184d0400 lshift8 temp ,temp 
+58df 18520400 lshift4 temp ,temp 
+58e0 9841fe00 ior temp ,pdata 
+58e1 e1410000 istore 2 ,contwu 
+58e2 68088341 fetcht 1 ,mem_le_rxbuf + 1 
+58e3 1841041f and temp ,0x1f ,temp 
+58e4 e1490000 istoret 2 ,contwu 
+58e5 18427200 copy temp ,loopcnt 
+58e6 20404976 call uart_copy_tx_bytes 
+58e7 1840f204 add temp ,4 ,loopcnt 
+58e8 20404424 call h4_send_packet_acl 
+58e9 20204435 branch h4_send_acl_trigger 
+
+le_acl_downgoing:
+58ea 79200025 set1 mark_ext_patch ,mark 
+58eb 44b6c02d bpatch patch2d_5 ,mem_patch2d 
+58ec d8200002 arg 0x2 ,type 
+58ed e8610000 ifetch 2 ,contru 
+58ee e8610000 ifetch 2 ,contru 
+58ef 203a3bf1 branch assert ,blank 
+58f0 1fe27200 copy pdata ,loopcnt 
+58f1 d8a04440 arg mem_le_txpayload ,contw 
+58f2 2040497c call uart_copy_rx_bytes 
+58f3 2020588a branch le_send_autolen 
+
+le_parse_smp:
+58f4 79200025 set1 mark_ext_patch ,mark 
+58f5 44b7402d bpatch patch2d_6 ,mem_patch2d 
+58f6 e8c08000 ifetch 1 ,contr 
+58f7 c000d956 beq smp_pairing_request ,le_parse_smp_pairing_request 
+58f8 c001595b beq smp_pairing_response ,le_parse_smp_pairing_response 
+58f9 c001d960 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+58fa c0025966 beq smp_pairing_random ,le_parse_smp_pairing_random 
+58fb c002d96f beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+58fc c0035970 beq smp_encryption_information ,le_parse_smp_encryption_information 
+58fd c003d972 beq smp_master_identification ,le_parse_smp_master_identification 
+58fe c0045973 beq smp_identity_information ,le_parse_smp_identity_information 
+58ff c004d974 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+5900 c0055975 beq smp_signing_information ,le_parse_smp_signing_information 
+5901 c005d976 beq smp_security_request ,le_parse_smp_security_request 
+5902 20203bf1 branch assert 
+
+le_parse_att:
+5903 79200025 set1 mark_ext_patch ,mark 
+5904 44b7c02d bpatch patch2d_7 ,mem_patch2d 
+5905 e8c18000 ifetch 3 ,contr 
+5906 600183f9 store 3 ,mem_le_att_opcode 
+
+le_parse_att_p:
+5907 c000d977 beq attop_error_response ,le_parse_att_error_response 
+5908 c001598e beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+5909 c001d990 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+590a c0025991 beq attop_find_information_request ,le_parse_att_find_information_request 
+590b c002d997 beq attop_find_information_response ,le_parse_att_find_information_response 
+590c c003599a beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+590d c003d9a4 beq attop_find_by_type_value_response ,le_parse_att_find_by_type_value_response 
+590e c00459a5 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+590f c004d9ad beq attop_read_by_type_response ,le_parse_att_read_by_type_response 
+5910 c00559ae beq attop_read_request ,le_parse_att_read_request 
+5911 c005d9b2 beq attop_read_response ,le_parse_att_read_response 
+5912 c00659b5 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+5913 c006d9b9 beq attop_read_blob_response ,le_parse_att_read_blob_response 
+5914 c00759ba beq attop_read_multiple_request ,le_parse_att_read_multiple_request 
+5915 c007d9c0 beq attop_read_multiple_response ,le_parse_att_read_multiple_response 
+5916 c00859c1 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+5917 c008d9c9 beq attop_read_by_group_type_response ,le_parse_att_read_by_group_type_response 
+5918 c00959ca beq attop_write_request ,le_parse_att_write_request 
+5919 c009d9da beq attop_write_response ,le_parse_att_write_response 
+591a c00b59dc beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+591b c00bd9dd beq attop_prepare_write_response ,le_parse_att_prepare_write_response 
+591c c00c59de beq attop_execute_write_request ,le_parse_att_execute_write_request 
+591d c00cd9df beq attop_execute_write_response ,le_parse_att_execute_write_response 
+591e c00dd9e0 beq attop_handle_value_notification ,le_parse_att_handle_value_notification 
+591f c00ed9eb beq attop_handle_value_indication ,le_parse_att_handle_value_indication 
+5920 c00f59ec beq attop_handle_value_confirmation ,le_parse_att_handle_value_confirmation 
+5921 c02959ed beq attop_write_command ,le_parse_att_write_command 
+5922 c0695a01 beq attop_signed_write_command ,le_parse_att_signed_write_command 
+5923 20203bf1 branch assert 
+
+le_parse_connection_update_req:
+5924 e8c48000 ifetch 9 ,contr 
+5925 6004c434 store 9 ,mem_le_new_param 
+5926 e8c10000 ifetch 2 ,contr 
+5927 600103e0 store 2 ,mem_le_instant 
+5928 680083c0 fetch 1 ,mem_le_state 
+5929 79207e05 set1 lestate_update_param ,pdata 
+592a 600083c0 store 1 ,mem_le_state 
+592b 20600000 rtn 
+
+le_parse_channel_map_req:
+592c e8c28000 ifetch 5 ,contr 
+592d 6002c42f store 5 ,mem_le_new_map 
+592e e8c10000 ifetch 2 ,contr 
+592f 600103e0 store 2 ,mem_le_instant 
+5930 680083c0 fetch 1 ,mem_le_state 
+5931 79207e06 set1 lestate_update_map ,pdata 
+5932 600083c0 store 1 ,mem_le_state 
+5933 20600000 rtn 
+
+le_parse_terminate_ind:
+5934 680083e4 fetch 1 ,mem_le_op 
+5935 79207e03 set1 op_disconn ,pdata 
+5936 600083e4 store 1 ,mem_le_op 
+5937 20600000 rtn 
+
+le_parse_enc_req:
+5938 18c08c0a increase 10 ,contr 
+5939 e8c40000 ifetch 8 ,contr 
+593a 60040380 store 8 ,mem_le_skdm 
+593b e8c20000 ifetch 4 ,contr 
+593c 60024473 store 4 ,mem_le_ivm 
+593d 700b7d24 jam xt_ll_enc_rsp ,mem_fifo_temp 
+593e 20205620 branch le_xtype_fifo_in 
+
+le_parse_enc_rsp:
+593f e8c40000 ifetch 8 ,contr 
+5940 60040388 store 8 ,mem_le_skds 
+5941 e8c20000 ifetch 4 ,contr 
+5942 60024477 store 4 ,mem_le_ivs 
+5943 202074b6 branch generate_sk 
+
+le_parse_start_enc_req:
+5944 680083c0 fetch 1 ,mem_le_state 
+5945 79207e04 set1 lestate_encryption ,pdata 
+5946 600083c0 store 1 ,mem_le_state 
+5947 700b7d26 jam xt_ll_start_enc_rsp ,mem_fifo_temp 
+5948 20205620 branch le_xtype_fifo_in 
+
+le_parse_start_enc_rsp:
+5949 20748000 rtn master 
+594a 700b7d26 jam xt_ll_start_enc_rsp ,mem_fifo_temp 
+594b 20205620 branch le_xtype_fifo_in 
+
+le_parse_unknown_rsp:
+594c 20600000 rtn 
+
+le_parse_feature_req:
+594d 700b7d29 jam xt_ll_feature_rsp ,mem_fifo_temp 
+594e 20205620 branch le_xtype_fifo_in 
+
+le_parse_feature_rsp:
+594f 20600000 rtn 
+
+le_parse_pause_enc_req:
+5950 20600000 rtn 
+
+le_parse_pause_enc_rsp:
+5951 20600000 rtn 
+
+le_parse_version_ind:
+5952 20748000 rtn master 
+5953 700b7d2c jam xt_ll_version_ind ,mem_fifo_temp 
+5954 20205620 branch le_xtype_fifo_in 
+
+le_parse_reject_ind:
+5955 20600000 rtn 
+
+le_parse_smp_pairing_request:
+5956 6000c4ae store 1 ,mem_le_preq 
+5957 e8c30000 ifetch 6 ,contr 
+5958 e0a30000 istore 6 ,contw 
+5959 700b7d42 jam xt_smp_pairing_response ,mem_fifo_temp 
+595a 20205620 branch le_xtype_fifo_in 
+
+le_parse_smp_pairing_response:
+595b 6000c4b5 store 1 ,mem_le_pres 
+595c e8c30000 ifetch 6 ,contr 
+595d e0a30000 istore 6 ,contw 
+595e 700b7d43 jam xt_smp_pairing_confirm ,mem_fifo_temp 
+595f 20205620 branch le_xtype_fifo_in 
+
+le_parse_smp_pairing_confirm:
+5960 d8a0448c arg mem_le_rconfirm ,contw 
+5961 20407e35 call memcpy16 
+5962 700b7d44 jam xt_smp_pairing_random ,mem_fifo_temp 
+5963 2034d620 branch le_xtype_fifo_in ,master 
+5964 700b7d43 jam xt_smp_pairing_confirm ,mem_fifo_temp 
+5965 20205620 branch le_xtype_fifo_in 
+
+le_parse_smp_pairing_random:
+5966 204074a8 call authenticate_rconfirm 
+5967 2022d96a branch le_parse_smp_pairing_random_success ,zero 
+5968 700b7d45 jam xt_smp_pairing_failed ,mem_fifo_temp 
+5969 20205620 branch le_xtype_fifo_in 
+
+le_parse_smp_pairing_random_success:
+596a 204074a5 call generate_stk 
+596b 700b7d23 jam xt_ll_enc_req ,mem_fifo_temp 
+596c 2034d620 branch le_xtype_fifo_in ,master 
+596d 700b7d44 jam xt_smp_pairing_random ,mem_fifo_temp 
+596e 20205620 branch le_xtype_fifo_in 
+
+le_parse_smp_pairing_failed:
+596f 20600000 rtn 
+
+le_parse_smp_encryption_information:
+5970 d8a00390 arg mem_le_peer_ltk ,contw 
+5971 20207e35 branch memcpy16 
+
+le_parse_smp_master_identification:
+5972 20600000 rtn 
+
+le_parse_smp_identity_information:
+5973 20600000 rtn 
+
+le_parse_smp_identity_address_information:
+5974 20600000 rtn 
+
+le_parse_smp_signing_information:
+5975 20600000 rtn 
+
+le_parse_smp_security_request:
+5976 20600000 rtn 
+
+le_parse_att_error_response:
+5977 18c08dfe increase -2 ,contr 
+5978 e8c88000 ifetcht 1 ,contr 
+5979 58000006 setarg attop_find_by_type_value_request 
+597a 98467c00 isub temp ,null 
+597b 2022d989 branch le_parse_att_error_res_find_by_type_value ,zero 
+597c 58000004 setarg attop_find_information_request 
+597d 98467c00 isub temp ,null 
+597e 2022d98a branch le_parse_att_error_res_find_info ,zero 
+597f 58000008 setarg attop_read_by_type_request 
+5980 98467c00 isub temp ,null 
+5981 2022d98b branch le_parse_att_error_res_read_by_type ,zero 
+5982 5800000c setarg attop_read_blob_request 
+5983 98467c00 isub temp ,null 
+5984 2022d98c branch le_parse_att_error_res_read_blob ,zero 
+5985 5800000e setarg attop_read_multiple_request 
+5986 98467c00 isub temp ,null 
+5987 2022d98d branch le_parse_att_error_res_read_multiple ,zero 
+5988 20600000 rtn 
+
+le_parse_att_error_res_find_by_type_value:
+5989 20600000 rtn 
+
+le_parse_att_error_res_find_info:
+598a 20600000 rtn 
+
+le_parse_att_error_res_read_by_type:
+598b 20600000 rtn 
+
+le_parse_att_error_res_read_blob:
+598c 20600000 rtn 
+
+le_parse_att_error_res_read_multiple:
+598d 20600000 rtn 
+
+le_parse_att_exchange_mtu_request:
+598e 700b7d03 jam attop_exchange_mtu_response ,mem_fifo_temp 
+598f 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_exchange_mtu_response:
+5990 20600000 rtn 
+
+le_parse_att_find_information_request:
+5991 1fecfe00 rshift8 pdata ,pdata 
+5992 600144bc store 2 ,mem_le_search_handle_start 
+5993 e8c10000 ifetch 2 ,contr 
+5994 600144be store 2 ,mem_le_search_handle_end 
+5995 700b7d05 jam attop_find_information_response ,mem_fifo_temp 
+5996 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_find_information_response:
+5997 20600000 rtn 
+
+le_parse_att_find_info_res_multi:
+5998 20600000 rtn 
+
+le_parse_att_find_info_res_error:
+5999 20600000 rtn 
+
+le_parse_att_find_by_type_value_request:
+599a 1fecfe00 rshift8 pdata ,pdata 
+599b 600144bc store 2 ,mem_le_search_handle_start 
+599c e8c10000 ifetch 2 ,contr 
+599d 600144be store 2 ,mem_le_search_handle_end 
+599e e8c10000 ifetch 2 ,contr 
+599f 600144c4 store 2 ,mem_le_uuid 
+59a0 e8c10000 ifetch 2 ,contr 
+59a1 600144c0 store 2 ,mem_le_search_att_type 
+59a2 700b7d07 jam attop_find_by_type_value_response ,mem_fifo_temp 
+59a3 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_find_by_type_value_response:
+59a4 20600000 rtn 
+
+le_parse_att_read_by_type_request:
+59a5 1fecfe00 rshift8 pdata ,pdata 
+59a6 600144bc store 2 ,mem_le_search_handle_start 
+59a7 e8c10000 ifetch 2 ,contr 
+59a8 600144be store 2 ,mem_le_search_handle_end 
+59a9 e8c10000 ifetch 2 ,contr 
+59aa 600144c0 store 2 ,mem_le_search_att_type 
+59ab 700b7d09 jam attop_read_by_type_response ,mem_fifo_temp 
+59ac 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_read_by_type_response:
+59ad 20600000 rtn 
+
+le_parse_att_read_request:
+59ae 68010347 fetch 2 ,mem_le_rxbuf + 7 
+59af 600103fa store 2 ,mem_le_att_handle 
+59b0 700b7d0b jam attop_read_response ,mem_fifo_temp 
+59b1 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_read_response:
+59b2 20600000 rtn 
+
+le_send_att_read_res_end:
+59b3 20600000 rtn 
+
+le_prepare_descriptor:
+59b4 20600000 rtn 
+
+le_parse_att_read_blob_request:
+59b5 e8c10000 ifetch 2 ,contr 
+59b6 600144c0 store 2 ,mem_le_att_offset 
+59b7 700b7d0d jam attop_read_blob_response ,mem_fifo_temp 
+59b8 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_read_blob_response:
+59b9 20600000 rtn 
+
+le_parse_att_read_multiple_request:
+59ba 68008341 fetch 1 ,mem_le_rxbuf + 1 
+59bb 1fe0fffb increase -5 ,pdata 
+59bc 1fe37e00 rshift pdata ,pdata 
+59bd 6000c43d store 1 ,mem_le_temp 
+59be 700b7d0f jam attop_read_multiple_response ,mem_fifo_temp 
+59bf 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_read_multiple_response:
+59c0 20600000 rtn 
+
+le_parse_att_read_by_group_type_request:
+59c1 1fecfe00 rshift8 pdata ,pdata 
+59c2 600144bc store 2 ,mem_le_search_handle_start 
+59c3 e8c10000 ifetch 2 ,contr 
+59c4 600144be store 2 ,mem_le_search_handle_end 
+59c5 e8c10000 ifetch 2 ,contr 
+59c6 600144c0 store 2 ,mem_le_search_att_type 
+59c7 700b7d11 jam attop_read_by_group_type_response ,mem_fifo_temp 
+59c8 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_read_by_group_type_response:
+59c9 20600000 rtn 
+
+le_parse_att_write_request:
+59ca 68008341 fetch 1 ,mem_le_rxbuf + 1 
+59cb 1fe0fff9 increase -7 ,pdata 
+59cc 1fe27200 icopy loopcnt 
+59cd 680903fa fetcht 2 ,mem_le_att_handle 
+59ce 20405a88 call le_att_get_handle_ptr 
+59cf 203a59d8 branch le_parse_att_write_request_fail ,blank 
+59d0 e8c08000 ifetch 1 ,contr 
+59d1 9f267c00 isub loopcnt ,null 
+59d2 242159d8 nbranch le_parse_att_write_request_fail ,positive 
+59d3 18c20a00 copy contr ,contw 
+59d4 d8c00349 arg mem_le_rxbuf + 9 ,contr 
+59d5 20407e45 call memcpy 
+59d6 700b7d28 jam bt_evt_le_write_request ,mem_fifo_temp 
+59d7 20407c27 call ui_ipc_send_event 
+
+le_parse_att_write_request_fail:
+59d8 700b7d13 jam attop_write_response ,mem_fifo_temp 
+59d9 20205620 branch le_xtype_fifo_in 
+
+le_parse_att_write_response:
+59da 680083e3 fetch 1 ,mem_le_conn_sm 
+59db 20600000 rtn 
+
+le_parse_att_prepare_write_request:
+59dc 20600000 rtn 
+
+le_parse_att_prepare_write_response:
+59dd 20600000 rtn 
+
+le_parse_att_execute_write_request:
+59de 20600000 rtn 
+
+le_parse_att_execute_write_response:
+59df 20600000 rtn 
+
+le_parse_att_handle_value_notification:
+59e0 e8c28000 ifetch 5 ,contr 
+59e1 60028ff1 store 5 ,mem_mouse_data 
+59e2 700ff001 jam send_mouse_data_cmd ,mem_mcmd 
+59e3 20407cdb call usb_isr 
+59e4 20600000 rtn 
+
+le_kb_handle_value_notification:
+59e5 1a220c00 copy rega ,contr 
+59e6 e8c40000 ifetch 8 ,contr 
+59e7 60040ff1 store 8 ,mem_mouse_data 
+59e8 700ff002 jam send_kb_data_cmd ,mem_mcmd 
+59e9 20407cdb call usb_isr 
+59ea 20600000 rtn 
+
+le_parse_att_handle_value_indication:
+59eb 20600000 rtn 
+
+le_parse_att_handle_value_confirmation:
+59ec 20600000 rtn 
+
+le_parse_att_write_command:
+59ed 68008341 fetch 1 ,mem_le_rxbuf + 1 
+59ee 1fe0fff9 increase -7 ,pdata 
+59ef 1fe27200 icopy loopcnt 
+59f0 680903fa fetcht 2 ,mem_le_att_handle 
+59f1 20405a88 call le_att_get_handle_ptr 
+59f2 203a59fd branch le_parse_att_write_command_fail ,blank 
+59f3 e8c08000 ifetch 1 ,contr 
+59f4 9f267c00 isub loopcnt ,null 
+59f5 242159fd nbranch le_parse_att_write_command_fail ,positive 
+59f6 18c20a00 copy contr ,contw 
+59f7 18c22200 copy contr ,rega 
+59f8 1f222400 copy loopcnt ,regb 
+59f9 d8c00349 arg mem_le_rxbuf + 9 ,contr 
+59fa 20407e45 call memcpy 
+59fb 70048101 jam prcp_le ,mem_prcp 
+59fc 204059fe call le_writeatt_cb 
+
+le_parse_att_write_command_fail:
+59fd 20600000 rtn 
+
+le_writeatt_cb:
+59fe 68014296 fetch 2 ,mem_cb_att_write 
+59ff 207a0000 rtn blank 
+5a00 98007a00 iforce pc 
+
+le_parse_att_signed_write_command:
+5a01 20600000 rtn 
+
+le_supervision_update:
+5a02 680a03dc fetcht 4 ,mem_le_supervision_timer 
+5a03 20403bde call get_clkbt 
+5a04 98461600 isub temp ,timeup 
+5a05 19627e00 deposit timeup 
+5a06 680903ef fetcht 2 ,mem_le_superto 
+5a07 18520400 lshift4 temp ,temp 
+5a08 18438400 lshift temp ,temp 
+5a09 98467e00 isub temp ,pdata 
+5a0a 20600000 rtn 
+
+le_supervision_flush:
+5a0b 20403bde call get_clkbt 
+5a0c 600203dc store 4 ,mem_le_supervision_timer 
+5a0d 20600000 rtn 
+
+le_adv:
+5a0e 79200025 set1 mark_ext_patch ,mark 
+5a0f 44b8402e bpatch patch2e_0 ,mem_patch2e 
+5a10 6800c3d8 fetch 1 ,mem_le_adv_enable 
+5a11 207a0000 rtn blank 
+5a12 d8e00001 arg le_adv_interval_timer ,queue 
+5a13 20407e53 call timer_check 
+5a14 247a0000 nrtn blank 
+5a15 7854fc00 disable master 
+5a16 78287c00 enable swfine 
+5a17 20405572 call le_init_adv 
+5a18 2040542c call le_next_adv_channel 
+5a19 204054de call le_send_adv_ind 
+5a1a 2436da24 nbranch le_adv_not_match ,match 
+5a1b 79200025 set1 mark_ext_patch ,mark 
+5a1c 44b8c02e bpatch patch2e_1 ,mem_patch2e 
+5a1d 68008003 fetch 1 ,mem_le_req_rcv 
+5a1e 1fe0fe01 increase 1 ,pdata 
+5a1f 60008003 store 1 ,mem_le_req_rcv 
+5a20 68008340 fetch 1 ,mem_le_rxbuf 
+5a21 1fe17e0f and pdata ,0x0f ,pdata 
+5a22 c001d519 beq scan_req ,le_send_scan_response 
+5a23 c002da41 beq connect_req ,parse_connect_req 
+
+le_adv_not_match:
+5a24 20002710 nop 10000 
+5a25 68008016 fetch 1 ,mem_le_ch_mapped 
+5a26 c093da0e bne 39 ,le_adv 
+5a27 20405ad8 call le_ledoff 
+5a28 d8e00001 arg le_adv_interval_timer ,queue 
+5a29 680144d9 fetch 2 ,mem_le_adv_interval_max 
+5a2a 20207e4c branch timer_init 
+
+le_receive_window_size:
+5a2b 79200025 set1 mark_ext_patch ,mark 
+5a2c 44b9402e bpatch patch2e_2 ,mem_patch2e 
+5a2d 680083f8 fetch 1 ,mem_le_peer_sca 
+5a2e 20405405 call le_sca_map 
+5a2f 680103c2 fetch 2 ,mem_le_tsniff 
+5a30 984ffe00 imul32 temp ,pdata 
+5a31 d8400177 arg 375 ,temp 
+5a32 984ffe00 imul32 temp ,pdata 
+5a33 d84186a0 arg 100000 ,temp 
+5a34 9846fc00 idiv temp 
+5a35 680083ec fetch 1 ,mem_le_window_size 
+5a36 d8404e20 arg 20000 ,temp 
+5a37 984ffe00 imul32 temp ,pdata 
+5a38 600246f9 store 4 ,mem_le_transmit_window 
+5a39 79200025 set1 mark_ext_patch ,mark 
+5a3a 44b9c02e bpatch patch2e_3 ,mem_patch2e 
+5a3b 68014161 fetch 2 ,mem_rx_window_sniff 
+5a3c 20407efd call wait_div_end 
+5a3d 18078400 quotient temp 
+5a3e 9840fe00 iadd temp ,pdata 
+5a3f 600103ce store 2 ,mem_le_receive_window 
+5a40 20600000 rtn 
+
+parse_connect_req:
+5a41 79200025 set1 mark_ext_patch ,mark 
+5a42 44ba402e bpatch patch2e_4 ,mem_patch2e 
+5a43 68030348 fetch 6 ,mem_le_rxbuf + 8 
+5a44 680b44f9 fetcht 6 ,mem_le_lap 
+5a45 98467c00 isub temp ,null 
+5a46 24628000 nrtn zero 
+5a47 20405613 call le_scan_check_sender_addr_type 
+5a48 1a227e00 copy rega ,pdata 
+5a49 6000c4e6 store 1 ,mem_le_conn_peer_addr_type 
+5a4a 68038355 fetch 7 ,mem_le_rxbuf + 21 
+5a4b 60038103 store 7 ,mem_tmp_buffer 
+5a4c e8c40000 ifetch 8 ,contr 
+5a4d e0a40000 istore 8 ,contw 
+5a4e 68030342 fetch 6 ,mem_le_rxbuf + 2 
+5a4f 600303d0 store 6 ,mem_le_plap 
+5a50 79200025 set1 mark_ext_patch ,mark 
+5a51 44bac02e bpatch patch2e_5 ,mem_patch2e 
+5a52 18c08c06 increase 6 ,contr 
+5a53 e8c40000 ifetch 8 ,contr 
+5a54 600403e5 store 8 ,mem_le_access 
+5a55 e8c90000 ifetcht 2 ,contr 
+5a56 184b8400 lshift2 temp ,temp 
+5a57 e8c10000 ifetch 2 ,contr 
+5a58 1febfe00 lshift2 pdata ,pdata 
+5a59 600103c2 store 2 ,mem_le_tsniff 
+5a5a 600203c4 store 4 ,mem_le_anchor 
+5a5b 98467e00 isub temp ,pdata 
+5a5c 1fe0d1fe add pdata ,-2 ,clke_bt 
+5a5d e8c48000 ifetch 9 ,contr 
+5a5e 600483ed store 9 ,mem_le_slave_latency 
+5a5f 79200025 set1 mark_ext_patch ,mark 
+5a60 44bb402e bpatch patch2e_6 ,mem_patch2e 
+5a61 e8c08000 ifetch 1 ,contr 
+5a62 1ff18400 rshift4 pdata ,temp 
+5a63 18430400 rshift temp ,temp 
+5a64 600883f8 storet 1 ,mem_le_peer_sca 
+5a65 1fe17e1f and_into 0x1f ,pdata 
+5a66 600083d9 store 1 ,mem_le_hop 
+5a67 20405a2b call le_receive_window_size 
+5a68 20405447 call le_calc_channel_map 
+5a69 2040536c call le_init_slave 
+5a6a 204032d6 call context_new 
+5a6b 24628000 nrtn zero 
+5a6c 79200025 set1 mark_ext_patch ,mark 
+5a6d 44bbc02e bpatch patch2e_7 ,mem_patch2e 
+5a6e d8400000 arg 0 ,temp 
+5a6f 204048ea call hci_send_le_conn_complete 
+5a70 204039ac call calc_clke_offset 
+5a71 700b7d14 jam bt_evt_le_connected ,mem_fifo_temp 
+5a72 20407c27 call ui_ipc_send_event 
+5a73 202032bd branch context_save 
+
+le_init_attlist_search:
+5a74 79200025 set1 mark_ext_patch ,mark 
+5a75 44bc402f bpatch patch2f_0 ,mem_patch2f 
+5a76 680144bc fetch 2 ,mem_le_search_handle_start 
+5a77 98002400 iforce regb 
+5a78 680144be fetch 2 ,mem_le_search_handle_end 
+5a79 98002600 iforce regc 
+5a7a d8c04504 arg mem_le_att_list ,contr 
+5a7b 78347c00 enable user 
+5a7c 20600000 rtn 
+
+le_att_handle_inrange:
+5a7d e8c10000 ifetch 2 ,contr 
+5a7e 207a0000 rtn blank 
+5a7f 9a467c00 isub regb ,null 
+5a80 24610000 nrtn positive 
+5a81 9a667c00 isub regc ,null 
+5a82 20628000 rtn zero 
+5a83 20215a86 branch le_att_handle_blank ,positive 
+5a84 18007c01 force 1 ,null 
+5a85 20600000 rtn 
+
+le_att_handle_blank:
+5a86 18007e00 force 0 ,pdata 
+5a87 20600000 rtn 
+
+le_att_get_handle_ptr:
+5a88 d8c04504 arg mem_le_att_list ,contr 
+
+le_att_get_handle_loop:
+5a89 e8c10000 ifetch 2 ,contr 
+5a8a 207a0000 rtn blank 
+5a8b 18c08c02 increase 2 ,contr 
+5a8c 98467c00 isub temp ,null 
+5a8d 20628000 rtn zero 
+5a8e e8c08000 ifetch 1 ,contr 
+5a8f 98c08c00 iadd contr ,contr 
+5a90 20205a89 branch le_att_get_handle_loop 
+
+le_data_send_write_req:
+5a91 7044c602 jam 0x2 ,mem_le_handle_data_len 
+5a92 58000001 setarg 0x0001 
+5a93 600144c7 store 2 ,mem_le_handle_data 
+5a94 7003e325 jam conn_sm_wait_write_res ,mem_le_conn_sm 
+5a95 700b7d12 jam attop_write_request ,mem_fifo_temp 
+5a96 20205620 branch le_xtype_fifo_in 
+
+le_data_wait_write_res:
+5a97 20600000 rtn 
+
+le_data_wait_write_res1:
+5a98 20600000 rtn 
+
+le_conn_sm_master:
+5a99 79200025 set1 mark_ext_patch ,mark 
+5a9a 44bcc02f bpatch patch2f_1 ,mem_patch2f 
+5a9b 6800c132 fetch 1 ,mem_device_option 
+5a9c c1820000 rtnne dvc_op_dongle 
+5a9d 680083e3 fetch 1 ,mem_le_conn_sm 
+5a9e c010da91 beq conn_sm_send_write_req ,le_data_send_write_req 
+5a9f c012da97 beq conn_sm_wait_write_res ,le_data_wait_write_res 
+5aa0 c0135a98 beq conn_sm_wait_write_res1 ,le_data_wait_write_res1 
+5aa1 20600000 rtn 
+
+le_ukey_init:
+5aa2 58005aae setarg le_ukey 
+5aa3 6001428c store 2 ,mem_cb_le_process 
+5aa4 70806281 hjam uart_ctrl_normal ,core_uart_ctrl 
+5aa5 580001a0 setarg uart_baud_115200 
+5aa6 60110052 hstore uart_baud_len ,core_uart_baud 
+5aa7 70804301 hjam uartclk_dpll ,core_uart_clksel 
+5aa8 70808104 hjam 0x4 ,core_gpio_sel1 
+5aa9 58005ac6 setarg le_ukey_wcb 
+5aaa 60014296 store 2 ,mem_cb_att_write 
+5aab 20405347 call le_init_att 
+5aac 20758000 rtn wake 
+5aad 2020691d branch eeprom_load_reconn_info 
+
+le_ukey:
+5aae 680083c1 fetch 1 ,mem_le_mode 
+5aaf 2fe1fe01 compare lemode_slave ,pdata ,0xff 
+5ab0 58000005 setarg 5 
+5ab1 2040ea04 call set_pwm_steadyon ,true 
+5ab2 2440e9ff ncall set_pwm_blink ,true 
+5ab3 204068fd call uartd_prepare_rx 
+5ab4 203a5abe branch le_ukey_senddata ,blank 
+5ab5 68010419 fetch 2 ,mem_le_notify_attr_start 
+5ab6 98000a00 iforce contw 
+5ab7 1f267c14 sub loopcnt ,20 ,null 
+5ab8 20215aba branch le_ukey_loop ,positive 
+5ab9 18007214 force 20 ,loopcnt 
+
+le_ukey_loop:
+5aba e8608000 ifetch 1 ,contru 
+5abb e0a08000 istore 1 ,contw 
+5abc c2005aba loop le_ukey_loop 
+5abd 20406906 call uartd_rxdone 
+
+le_ukey_senddata:
+5abe 7044c214 jam notify_handle ,mem_le_notify_handle 
+5abf 68090419 fetcht 2 ,mem_le_notify_attr_start 
+5ac0 e8408000 ifetch 1 ,temp 
+5ac1 207a0000 rtn blank 
+5ac2 2040561c call le_xtype_fifo_is_full 
+5ac3 247a0000 nrtn blank 
+5ac4 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+5ac5 20205620 branch le_xtype_fifo_in 
+
+le_ukey_wcb:
+5ac6 1a420400 copy regb ,temp 
+5ac7 204068f7 call uartd_prepare_tx 
+5ac8 1a220c00 copy rega ,contr 
+5ac9 1a427200 copy regb ,loopcnt 
+
+le_writeatt_cb_loop:
+5aca e8c08000 ifetch 1 ,contr 
+5acb e1408000 istore 1 ,contwu 
+5acc c2005aca loop le_writeatt_cb_loop 
+5acd 202068fa branch uartd_send 
+
+le_clear_notify_att:
+5ace 6800c132 fetch 1 ,mem_device_option 
+5acf c1830000 rtnne dvc_op_ukey 
+5ad0 680144c2 fetch 2 ,mem_le_notify_handle 
+5ad1 c18a0000 rtnne notify_handle 
+5ad2 68090419 fetcht 2 ,mem_le_notify_attr_start 
+5ad3 58000000 setarg 0 
+5ad4 e0448000 istore 9 ,temp 
+5ad5 e0a48000 istore 9 ,contw 
+5ad6 e0a10000 istore 2 ,contw 
+5ad7 20600000 rtn 
+
+le_ledoff:
+5ad8 6808c3d7 fetcht 1 ,mem_le_adv_led 
+5ad9 79400407 setflip gpio_active_bit ,temp 
+5ada 202069f3 branch gpio_out 
+
+le_modified_name:
+5adb 79200025 set1 mark_ext_patch ,mark 
+5adc 44bd402f bpatch patch2f_2 ,mem_patch2f 
+5add 20405adf call le_modified_name_att_list 
+5ade 20205aed branch le_modified_name_adv 
+
+le_modified_name_att_list:
+5adf 6800c419 fetch 1 ,mem_le_name_len 
+5ae0 1fe27200 copy pdata ,loopcnt 
+5ae1 d8402a00 arg uuid_chrctr_device_name ,temp 
+5ae2 20405b0c call le_att_get_uuid_ptr 
+5ae3 18c08c01 increase 1 ,contr 
+5ae4 18c20a00 copy contr ,contw 
+5ae5 d8c0441a arg mem_le_name ,contr 
+5ae6 20407e45 call memcpy 
+5ae7 6800c419 fetch 1 ,mem_le_name_len 
+5ae8 1fe67214 sub pdata ,max_name_len ,loopcnt 
+5ae9 1f220400 copy loopcnt ,temp 
+5aea 1f227e00 copy loopcnt ,pdata 
+5aeb 245a5b15 ncall memcpy_empty ,blank 
+5aec 20600000 rtn 
+
+le_modified_name_adv:
+5aed 6800c3d9 fetch 1 ,mem_le_adv_data_len 
+5aee 6808c3da fetcht 1 ,mem_le_adv_data 
+5aef 98467e00 isub temp ,pdata 
+5af0 1fe27200 copy pdata ,loopcnt 
+5af1 1fe22200 copy pdata ,rega 
+5af2 6800c3da fetch 1 ,mem_le_adv_data 
+5af3 1fe0fe01 increase 1 ,pdata 
+5af4 d8c043da arg mem_le_adv_data ,contr 
+5af5 98c08c00 iadd contr ,contr 
+5af6 d8a0041d arg mem_le_adv_temp ,contw 
+5af7 20407e45 call memcpy 
+5af8 79200025 set1 mark_ext_patch ,mark 
+5af9 44bdc02f bpatch patch2f_3 ,mem_patch2f 
+5afa 6800c419 fetch 1 ,mem_le_name_len 
+5afb 1fe27200 copy pdata ,loopcnt 
+5afc 1fe0fe01 increase 1 ,pdata 
+5afd 6000c3da store 1 ,mem_le_adv_data 
+5afe d8a043dc arg mem_le_adv_data + 2 ,contw 
+5aff d8c0441a arg mem_le_name ,contr 
+5b00 20407e45 call memcpy 
+5b01 1a227200 copy rega ,loopcnt 
+5b02 d8c0041d arg mem_le_adv_temp ,contr 
+5b03 20407e45 call memcpy 
+5b04 6800c3da fetch 1 ,mem_le_adv_data 
+5b05 9a20fe00 iadd rega ,pdata 
+5b06 6000c3d9 store 1 ,mem_le_adv_data_len 
+5b07 20600000 rtn 
+
+le_get_device_name:
+5b08 79200025 set1 mark_ext_patch ,mark 
+5b09 44be402f bpatch patch2f_4 ,mem_patch2f 
+5b0a d8402a00 arg uuid_chrctr_device_name ,temp 
+5b0b 20205b0c branch le_att_get_uuid_ptr 
+
+le_att_get_uuid_ptr:
+5b0c d8c04504 arg mem_le_att_list ,contr 
+
+le_att_get_uuid_loop:
+5b0d e8c10000 ifetch 2 ,contr 
+5b0e 203a3bf1 branch assert ,blank 
+5b0f e8c10000 ifetch 2 ,contr 
+5b10 98467c00 isub temp ,null 
+5b11 20628000 rtn zero 
+5b12 e8c08000 ifetch 1 ,contr 
+5b13 98c08c00 iadd contr ,contr 
+5b14 20205b0d branch le_att_get_uuid_loop 
+
+memcpy_empty:
+5b15 58000020 setarg space 
+5b16 e0a08000 istore 1 ,contw 
+5b17 c2005b15 loop memcpy_empty 
+5b18 20600000 rtn 
+
+le_lpm_set_mult:
+5b19 79200025 set1 mark_ext_patch ,mark 
+5b1a 44bec02f bpatch patch2f_5 ,mem_patch2f 
+5b1b 7855fc00 disable wake 
+5b1c 20375b1e branch le_lpm_set_mult_attempt ,attempt 
+5b1d 2436db2a nbranch le_lpm_lost ,match 
+
+le_lpm_set_mult_attempt:
+5b1e 20403d76 call lpm_match 
+5b1f 68014161 fetch 2 ,mem_rx_window_sniff 
+5b20 600103ce store 2 ,mem_le_receive_window 
+5b21 68008340 fetch 1 ,mem_le_rxbuf 
+5b22 2fe00601 compare 1 ,pdata ,3 
+5b23 2420bd8a nbranch lpm_mult_short ,true 
+5b24 6800c43e fetch 1 ,mem_le_txheader 
+5b25 2fe00601 compare 1 ,pdata ,3 
+5b26 2420bd8a nbranch lpm_mult_short ,true 
+5b27 680083c0 fetch 1 ,mem_le_state 
+5b28 c282bd8a bbit1 lestate_update_param ,lpm_mult_short 
+5b29 20203d6f branch lpm_mult_wait_timeout 
+
+le_lpm_lost:
+5b2a 68094161 fetcht 2 ,mem_rx_window_sniff 
+5b2b 18430400 rshift temp ,temp 
+5b2c 680103ce fetch 2 ,mem_le_receive_window 
+5b2d 9840fe00 iadd temp ,pdata 
+5b2e 600103ce store 2 ,mem_le_receive_window 
+5b2f 20203d82 branch lpm_lost 
+
+le_clean_att_list_handle_enable:
+5b30 79200025 set1 mark_ext_patch ,mark 
+5b31 44bf402f bpatch patch2f_6 ,mem_patch2f 
+5b32 7046f800 jam 0 ,mem_le_switch_send_data 
+5b33 680944c2 fetcht 2 ,mem_le_notify_handle 
+5b34 20405866 call le_att_check_notification_enable 
+5b35 1a220a00 copy rega ,contw 
+5b36 58000000 setarg 0 
+5b37 e0a08000 istore 1 ,contw 
+5b38 20600000 rtn 
+
+le_scan_addr_to_uart:
+5b39 6800c132 fetch 1 ,mem_device_option 
+5b3a c1850000 rtnne dvc_op_module 
+5b3b 20407f6e call get_uart_twptr 
+5b3c da2003d0 arg mem_le_plap ,rega 
+5b3d 20407e9d call adss_hex2string_to_uart 
+5b3e 5800002c setarg 0x2c 
+5b3f e1408000 istore 1 ,contwu 
+5b40 204041d4 call at_rssi_result 
+5b41 202068fa branch uartd_send 
+
+prcp_le_tx:
+5b42 d8400014 arg prcp_tx_le ,temp 
+5b43 20405866 call le_att_check_notification_enable 
+5b44 c4000000 rtnbit0 0 
+5b45 2040561c call le_xtype_fifo_is_full 
+5b46 247a0000 nrtn blank 
+5b47 d8400014 arg prcp_tx_le ,temp 
+5b48 600944c2 storet 2 ,mem_le_notify_handle 
+5b49 20405a88 call le_att_get_handle_ptr 
+5b4a 203a3bf1 branch assert ,blank 
+5b4b 18c08a01 add contr ,1 ,contw 
+5b4c df200014 arg prcp_tx_data_len ,loopcnt 
+5b4d d8c0046d arg mem_prcp_data ,contr 
+5b4e 20407e45 call memcpy 
+5b4f 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+5b50 20205620 branch le_xtype_fifo_in 
+
+prcp_tx:
+5b51 20600000 rtn 
+
+le_search_adtype:
+5b52 79200025 set1 mark_ext_patch ,mark 
+5b53 44bfc02f bpatch patch2f_7 ,mem_patch2f 
+5b54 68008341 fetch 1 ,mem_le_rxbuf + 1 
+5b55 d8c00348 arg mem_le_rxbuf + 8 ,contr 
+5b56 98c0f200 iadd contr ,loopcnt 
+
+le_search_adtype_loop:
+5b57 e8c88000 ifetcht 1 ,contr 
+5b58 e8c08000 ifetch 1 ,contr 
+5b59 9a267c00 isub rega ,null 
+5b5a 20628000 rtn zero 
+5b5b 1840ffff add temp ,-1 ,pdata 
+5b5c 98c08c00 iadd contr ,contr 
+5b5d 1f227e00 deposit loopcnt 
+5b5e 98c67c00 isub contr ,null 
+5b5f 20215b57 branch le_search_adtype_loop ,positive 
+5b60 18007c01 force 1 ,null 
+5b61 20600000 rtn 
+
+init_lmp:
+5b62 20758000 rtn wake 
+
+init_lmp_work:
+5b63 58000000 setarg 0 
+5b64 60008048 store 1 ,mem_lmp_to_send 
+5b65 60008055 store 1 ,mem_conn_sm 
+5b66 60008078 store 1 ,mem_lmo_opcode1 
+5b67 6000807c store 1 ,mem_lmo_opcode2 
+5b68 6000c1f9 store 1 ,mem_esco_addr 
+5b69 60008453 store 1 ,mem_auth_enable 
+5b6a 60008177 store 1 ,mem_connection_options 
+5b6b 600087e1 store 1 ,mem_pairing_auth 
+5b6c 70474800 jam switch_flag_init ,mem_switch_flag 
+5b6d 70025800 jam 0 ,mem_switch_fail_master_count 
+5b6e 70045400 jam null_encryp ,mem_wait_encryption 
+
+init_lmp_reinit:
+5b6f 79200025 set1 mark_ext_patch ,mark 
+5b70 44f0403c bpatch patch3c_0 ,mem_patch3c 
+5b71 7007e100 jam 0 ,mem_pairing_auth 
+5b72 7007e000 jam 0 ,mem_sp_localsm 
+5b73 70044d00 jam 0 ,mem_lmp_conn_state 
+5b74 6800c132 fetch 1 ,mem_device_option 
+5b75 c1808000 rtnne dvc_op_hci ,pdata 
+5b76 70425e00 jam 0 ,mem_link_key_exists 
+
+parse_rx_done:
+5b77 20600000 rtn 
+
+parse_lmp:
+5b78 79200025 set1 mark_ext_patch ,mark 
+5b79 44f0c03c bpatch patch3c_1 ,mem_patch3c 
+5b7a 2054e219 call setlocalsm_master ,master 
+5b7b 2454e21d ncall setlocalsm_slave ,master 
+5b7c 6800807c fetch 1 ,mem_lmo_opcode2 
+5b7d 245a61d9 ncall lmo_fifo_process ,blank 
+5b7e 6800807c fetch 1 ,mem_lmo_opcode2 
+5b7f 247a0000 nrtn blank 
+5b80 6800804c fetch 1 ,mem_state_map 
+5b81 c4030000 rtnbit0 smap_rxlmp 
+5b82 793ffe06 set0 smap_rxlmp ,pdata 
+5b83 793f8001 set0 mark_rxbuf_inuse ,mark 
+5b84 6000804c store 1 ,mem_state_map 
+5b85 680084de fetch 1 ,mem_rxbuf 
+5b86 6808804c fetcht 1 ,mem_state_map 
+5b87 2feffe00 isolate1 smap_lmptidinit ,pdata 
+5b88 79208401 setflag true ,smap_lmptid ,temp 
+5b89 6008804c storet 1 ,mem_state_map 
+5b8a 18410402 and_into 0x2 ,temp 
+5b8b 6008807f storet 1 ,mem_lmo_tid2 
+5b8c 6808804c fetcht 1 ,mem_state_map 
+5b8d 1fe37e00 rshift pdata ,pdata 
+5b8e 6000807d store 1 ,mem_lmi_opcode2 
+5b8f 79200025 set1 mark_ext_patch ,mark 
+5b90 44f1403c bpatch patch3c_2 ,mem_patch3c 
+5b91 6800807d fetch 1 ,mem_lmi_opcode2 
+5b92 c03fdbdc beq lmp_escape ,parse_lmp_escape 
+5b93 c001dc56 beq lmp_accepted ,parse_lmp_accepted 
+5b94 c0025c67 beq lmp_not_accepted ,parse_lmp_not_accepted 
+5b95 c01e5bcf beq lmp_set_afh ,parse_lmp_set_afh 
+5b96 c002dbcb beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+5b97 c007de48 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+5b98 c0085ce1 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+5b99 c011dcff beq lmp_auto_rate ,parse_lmp_auto_rate 
+5b9a c01cde67 beq lmp_test_control ,parse_lmp_test_control 
+5b9b c01c5e62 beq lmp_test_activate ,parse_lmp_test_activate 
+5b9c c018dce4 beq lmp_setup_complete ,parse_lmp_setup_complete 
+5b9d c01bdd72 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+5b9e c013dd6e beq lmp_features_req ,parse_lmp_features_req 
+5b9f c019dd68 beq lmp_host_connection_req ,parse_lmp_conn_req 
+5ba0 c012dd70 beq lmp_version_req ,parse_lmp_version_req 
+5ba1 c0135cfb beq lmp_version_res ,parse_lmp_version_res 
+5ba2 c003dcf3 beq lmp_detach ,parse_lmp_detach 
+5ba3 c016dcea beq lmp_max_slot ,parse_lmp_max_slot 
+5ba4 c0175ceb beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+5ba5 c000dd64 beq lmp_name_req ,parse_lmp_name_req 
+5ba6 c0015d4f beq lmp_name_res ,parse_lmp_name_res 
+5ba7 c0145e53 beq lmp_features_res ,parse_lmp_features_res 
+5ba8 c004dd45 beq lmp_comb_key ,parse_lmp_comb_key 
+5ba9 c005dd1a beq lmp_au_rand ,parse_lmp_au_rand 
+5baa c0045d00 beq lmp_in_rand ,parse_lmp_in_rand 
+5bab c0065d2c beq lmp_sres ,parse_lmp_sres 
+5bac c00fdcf7 beq lmp_incr_power_req ,parse_lmp_incr_power 
+5bad c0105cf9 beq lmp_decr_power_req ,parse_lmp_decr_power 
+5bae c010dd8d beq lmp_max_power ,parse_lmp_max_power 
+5baf c0115d8e beq lmp_min_power ,parse_lmp_min_power 
+5bb0 c01add8f beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+5bb1 c01b5d90 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+5bb2 c0125d91 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+5bb3 c0165d92 beq lmp_remove_sco_link_req ,parse_lmp_remove_sco_link_req 
+5bb4 c015dd95 beq lmp_sco_link_req ,parse_lmp_sco_link_req 
+5bb5 c01a5d9f beq lmp_slot_offset ,parse_lmp_slot_offset 
+5bb6 c00bdda2 beq lmp_sniff_req ,parse_lmp_sniff_req 
+5bb7 c008ddb7 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+5bb8 c0095dbb beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+5bb9 c009ddbd beq lmp_switch_req ,parse_lmp_switch_req 
+5bba c006ddcf beq lmp_temp_rand ,parse_lmp_temp_rand 
+5bbb c0075dd0 beq lmp_temp_key ,parse_lmp_temp_key 
+5bbc c017dd6c beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+5bbd c0185dd1 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+5bbe c0055dd2 beq lmp_unit_key ,parse_lmp_unit_key 
+5bbf c00c5dd3 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+5bc0 c0195dda beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+5bc1 c01edddb beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+5bc2 c01f5dff beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+5bc3 c01fddf9 beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+5bc4 c0205e22 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+5bc5 c020de34 beq lmp_dhkey_check ,parse_dhkey_check 
+5bc6 c0035e47 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+5bc7 c01d5bcd beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+
+reject_unknown_packet:
+5bc8 70007e19 jam unknown_lmp_pdu ,mem_lmo_reason2 
+
+reject_lmp_packet:
+5bc9 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5bca 20600000 rtn 
+
+parse_lmp_clkoffset_req:
+5bcb 70007c06 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+5bcc 20600000 rtn 
+
+parse_enc_key_size_mask_req:
+5bcd 70007c3b jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+5bce 20600000 rtn 
+
+parse_lmp_set_afh:
+5bcf 680204df fetch 4 ,mem_rxbuf + 1 
+5bd0 1fe3fe00 lshift pdata ,pdata 
+5bd1 60024173 store 4 ,mem_afh_instant 
+5bd2 680084e3 fetch 1 ,mem_rxbuf + 5 
+5bd3 6000c17a store 1 ,mem_afh_new_mod 
+5bd4 680284e4 fetch 5 ,mem_rxbuf + 6 
+5bd5 6002c188 store 5 ,mem_afh_map_new 
+5bd6 680284e9 fetch 5 ,mem_rxbuf + 11 
+5bd7 e0a28000 istore 5 ,contw 
+5bd8 68008031 fetch 1 ,mem_mode 
+5bd9 79207e03 set1 afh_change ,pdata 
+5bda 60008031 store 1 ,mem_mode 
+5bdb 20600000 rtn 
+
+parse_lmp_escape:
+5bdc 680084df fetch 1 ,mem_rxbuf + 1 
+5bdd 79207e07 set1 7 ,pdata 
+5bde 6000807d store 1 ,mem_lmi_opcode2 
+5bdf c040dc26 beq lmp_ext_accepted ,parse_lmpext_accepted 
+5be0 c0415c2e beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+5be1 c04add73 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+5be2 c04b5d8c beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+5be3 c045dd81 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+5be4 c041dc49 beq lmp_ext_features_req ,parse_lmpext_features_req 
+5be5 c0425c4b beq lmp_ext_features_res ,parse_lmpext_features_res 
+5be6 c0485bf1 beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+5be7 c04bdc42 beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+5be8 c04c5c47 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+5be9 c04cdc14 beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+5bea c04d5c19 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+5beb c046dc11 beq lmp_ext_remove_esco_req ,parse_lmpext_remove_esco_req 
+5bec c0465bf4 beq lmp_ext_esco_link_req ,parse_lmpext_esco_link_req 
+5bed c1420000 rtneq lmp_ext_features_res 
+
+reject_unknown_ext_packet:
+5bee 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+5bef 70007e19 jam unknown_lmp_pdu ,mem_lmo_reason2 
+5bf0 20600000 rtn 
+
+parse_lmpext_chn_classification_req:
+5bf1 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+5bf2 70007e2e jam not_support_chn_classification ,mem_lmo_reason2 
+5bf3 20600000 rtn 
+
+parse_lmpext_esco_link_req:
+5bf4 680084e0 fetch 1 ,mem_rxbuf + 2 
+5bf5 600080ad store 1 ,mem_sco_handle 
+5bf6 680084e1 fetch 1 ,mem_rxbuf + 3 
+5bf7 6000c1f9 store 1 ,mem_esco_addr 
+5bf8 680084e3 fetch 1 ,mem_rxbuf + 5 
+5bf9 600080af store 1 ,mem_esco_desco 
+5bfa 680084e7 fetch 1 ,mem_rxbuf + 9 
+5bfb 600080b0 store 1 ,mem_esco_type 
+5bfc 680084ec fetch 1 ,mem_rxbuf + 14 
+5bfd 600080ab store 1 ,mem_air_mode 
+5bfe c503dc07 bmark1 mark_esco ,check_esco_prarm 
+5bff 79200007 set1 mark_esco ,mark 
+5c00 20405d16 call push_tid_follow 
+5c01 60008452 store 1 ,mem_accptsco_tid 
+5c02 18000400 force 0 ,temp 
+5c03 20204839 branch hci_send_conn_req_event 
+
+parse_lmpext_esco_link_req_change_param:
+5c04 70007c8c jam lmp_ext_esco_link_req ,mem_lmo_opcode2 
+5c05 7000b101 jam prarm_neogotiation ,mem_neogotiation_state 
+5c06 202049bc branch cmd_exit 
+
+check_esco_prarm:
+5c07 680080b0 fetch 1 ,mem_esco_type 
+5c08 c083dc0b bne type_hv3 ,reject_esco_prarm 
+5c09 70007c81 jam lmp_ext_accepted ,mem_lmo_opcode2 
+5c0a 20205c0f branch esco_prarm_common 
+
+reject_esco_prarm:
+5c0b 793f8007 set0 mark_esco ,mark 
+5c0c 70007c82 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+5c0d 18000401 force hci_error_unknown_hci_command ,temp 
+5c0e 20404914 call hci_send_sco_complete 
+
+esco_prarm_common:
+5c0f 70007d8c jam lmp_ext_esco_link_req ,mem_lmi_opcode2 
+5c10 20600000 rtn 
+
+parse_lmpext_remove_esco_req:
+5c11 70007c81 jam lmp_ext_accepted ,mem_lmo_opcode2 
+5c12 70007d8d jam lmp_ext_remove_esco_req ,mem_lmi_opcode2 
+5c13 20203869 branch stop_esco 
+
+parse_lmpext_iocap_req:
+5c14 20405c1d call iocap_lmpext_load 
+5c15 6800c132 fetch 1 ,mem_device_option 
+5c16 c000dc21 beq dvc_op_hci ,iocap_lmpext_hci 
+5c17 70007c9a jam lmp_io_cap_res ,mem_lmo_opcode2 
+5c18 20600000 rtn 
+
+parse_lmpext_iocap_res:
+5c19 20405c1d call iocap_lmpext_load 
+5c1a 6800c132 fetch 1 ,mem_device_option 
+5c1b c000dc21 beq dvc_op_hci ,iocap_lmpext_hci 
+5c1c 20205c22 branch iocap_lmpext_common 
+
+iocap_lmpext_load:
+5c1d d8a007e9 arg mem_sp_iocap_remote ,contw 
+5c1e 680184e0 fetch 3 ,mem_rxbuf + 2 
+5c1f e0a18000 istore 3 ,contw 
+5c20 20600000 rtn 
+
+iocap_lmpext_hci:
+5c21 2040480f call hci_send_io_cap_response_event 
+
+iocap_lmpext_common:
+5c22 20406216 call check_localsm 
+5c23 2440c81b ncall hci_send_io_cap_req_event ,true 
+5c24 2020f80f branch master_set_mem_master_sp_flag ,true 
+5c25 20600000 rtn 
+
+parse_lmpext_accepted:
+5c26 680084e1 fetch 1 ,mem_rxbuf + 3 
+5c27 79207e07 set1 7 ,pdata 
+5c28 60008445 store 1 ,mem_lmi_accepted_opcode 
+5c29 c045dc36 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+5c2a c046384a beq lmp_ext_esco_link_req ,play_sco 
+5c2b c046dc2d beq lmp_ext_remove_esco_req ,parse_lmpext_stop_esco 
+5c2c 20600000 rtn 
+
+parse_lmpext_stop_esco:
+5c2d 20203869 branch stop_esco 
+
+parse_lmpext_not_accepted:
+5c2e 680084e1 fetch 1 ,mem_rxbuf + 3 
+5c2f 79207e07 set1 7 ,pdata 
+5c30 60008445 store 1 ,mem_lmi_accepted_opcode 
+5c31 c045dc3a beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+5c32 c0465c34 beq lmp_ext_esco_link_req ,parse_lmpext_not_accepted_esco 
+5c33 20600000 rtn 
+
+parse_lmpext_not_accepted_esco:
+5c34 793f8007 set0 mark_esco ,mark 
+5c35 20600000 rtn 
+
+parse_lmpext_accepted_ptt:
+5c36 6800c1fb fetch 1 ,mem_ptt 
+5c37 6808804c fetcht 1 ,mem_state_map 
+5c38 7d3a0405 nsetflag blank ,smap_edr ,temp 
+5c39 6008804c storet 1 ,mem_state_map 
+
+parse_lmpext_not_accepted_ptt:
+5c3a 68008030 fetch 1 ,mem_state 
+5c3b c4028000 rtnbit0 state_init_seq 
+5c3c 793ffe05 set0 state_init_seq ,pdata 
+5c3d 60008030 store 1 ,mem_state 
+5c3e 68008453 fetch 1 ,mem_auth_enable 
+5c3f 243a4872 nbranch hci_send_linkkey_req ,blank 
+5c40 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5c41 20600000 rtn 
+
+parse_lmpext_pause_encrypt:
+5c42 2434dc45 nbranch parse_lmpext_pause_encrypt_slave ,master 
+5c43 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+5c44 20206205 branch tid_reply 
+
+parse_lmpext_pause_encrypt_slave:
+5c45 70007c97 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+5c46 20600000 rtn 
+
+parse_lmpext_resume_encrypt:
+5c47 20406205 call tid_reply 
+5c48 20205ecd branch lmp_start_encryption 
+
+parse_lmpext_features_req:
+5c49 70007c84 jam lmp_ext_features_res ,mem_lmo_opcode2 
+5c4a 20600000 rtn 
+
+parse_lmpext_features_res:
+5c4b 680884e2 fetcht 1 ,mem_rxbuf + 4 
+5c4c 18410401 and temp ,0x1 ,temp 
+5c4d 6008844c storet 1 ,mem_remote_sppcap 
+5c4e 6800c272 fetch 1 ,mem_hci_cmd 
+5c4f c0a8dc52 bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+5c50 70427200 jam 0 ,mem_hci_cmd 
+5c51 204047f9 call hci_send_remote_ext_features_event 
+
+parse_lmpext_features_res_not_hci:
+5c52 68008055 fetch 1 ,mem_conn_sm 
+5c53 c18a8000 rtnne conn_sm_wait_features_ext 
+5c54 70005504 jam conn_sm_send_conn_req ,mem_conn_sm 
+5c55 20206235 branch process_conn_sm 
+
+parse_lmp_accepted:
+5c56 680084df fetch 1 ,mem_rxbuf + 1 
+5c57 60008445 store 1 ,mem_lmi_accepted_opcode 
+5c58 c019dc7d beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+5c59 c0045c90 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+5c5a c007dc97 beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+5c5b c0085c9d beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+5c5c c008dc9e beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+5c5d c0095ca6 beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+5c5e c00c5ccc beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+5c5f c00bdcd1 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+5c60 c015b84a beq lmp_sco_link_req ,play_sco 
+5c61 c009dc74 beq lmp_switch_req ,parse_lmp_accepted_switch 
+5c62 c01edde9 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+5c63 c01f5e18 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+5c64 c0205deb beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+5c65 c020ddef beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+5c66 20600000 rtn 
+
+parse_lmp_not_accepted:
+5c67 680084df fetch 1 ,mem_rxbuf + 1 
+5c68 60008445 store 1 ,mem_lmi_accepted_opcode 
+5c69 c000dcc3 beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+5c6a c019dc87 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+5c6b c005dca7 beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+5c6c c015dc8e beq lmp_sco_link_req ,parse_lmp_not_accepted_sco_link_req 
+5c6d c0045cba beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+5c6e c009dc77 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+5c6f c0205cc4 beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+5c70 c020dcc7 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+5c71 c00c5cca beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+5c72 c00bdcdf beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+5c73 20600000 rtn 
+
+parse_lmp_accepted_switch:
+5c74 700b7d20 jam bt_evt_switch_accept ,mem_fifo_temp 
+5c75 20407c27 call ui_ipc_send_event 
+5c76 20203245 branch role_switch_prepare0 
+
+parse_lmp_not_accepted_switch:
+5c77 700b7d19 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+5c78 20407c27 call ui_ipc_send_event 
+5c79 70474802 jam switch_flag_not_accept ,mem_switch_flag 
+5c7a 58000050 setarg timer_switch_waite 
+5c7b d8e0000a arg switch_wait_timer ,queue 
+5c7c 20207e4c branch timer_init 
+
+parse_lmp_accepted_hostconn:
+5c7d 6800844d fetch 1 ,mem_lmp_conn_state 
+5c7e 79207e00 set1 received_conn_req ,pdata 
+5c7f 6000844d store 1 ,mem_lmp_conn_state 
+5c80 700b7d01 jam bt_evt_bb_connected ,mem_fifo_temp 
+5c81 20407c27 call ui_ipc_send_event 
+5c82 70007c8b jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+
+parse_lmp_accepted_hostconn_ctn:
+5c83 68008055 fetch 1 ,mem_conn_sm 
+5c84 c082db77 bne conn_sm_wait_conn_accept ,parse_rx_done 
+5c85 70005506 jam conn_sm_auth_pair ,mem_conn_sm 
+5c86 20600000 rtn 
+
+parse_lmp_not_accepted_hostconn:
+5c87 7004460b jam acl_connection_already_exists ,mem_disconn_reason_send 
+5c88 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5c89 18000410 force hci_error_host_timeout ,temp 
+5c8a 20404826 call hci_send_connection_error 
+5c8b 70005500 jam conn_sm_standby ,mem_conn_sm 
+5c8c 2020db77 branch parse_rx_done ,true 
+5c8d 20600000 rtn 
+
+parse_lmp_not_accepted_sco_link_req:
+5c8e 70007c2b jam lmp_sco_link_req ,mem_lmo_opcode2 
+5c8f 20600000 rtn 
+
+parse_lmp_accepted_inrand:
+5c90 6800c25e fetch 1 ,mem_link_key_exists 
+5c91 247a0000 nrtn blank 
+5c92 20403507 call clear_linkkey 
+5c93 20405ecb call lmp_generate_key 
+5c94 20748000 rtn master 
+5c95 79200021 set1 mark_slave_in_rand_accepted ,mark 
+5c96 20600000 rtn 
+
+parse_lmp_accepted_enc_mode:
+5c97 24748000 nrtn master 
+5c98 70007c10 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+5c99 6800804c fetch 1 ,mem_state_map 
+5c9a c4010000 rtnbit0 smap_encryption 
+5c9b 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+5c9c 20600000 rtn 
+
+parse_lmp_accepted_enc_keysize:
+5c9d 20205ecd branch lmp_start_encryption 
+
+parse_lmp_accepted_start_enc:
+5c9e 20405f2d call send_create_conn_start_l2cap_timer_sm 
+5c9f 68008030 fetch 1 ,mem_state 
+5ca0 c3820000 rtnbit1 state_conn_comp 
+5ca1 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5ca2 68008055 fetch 1 ,mem_conn_sm 
+5ca3 c1850000 rtnne conn_sm_encrypt_wait 
+5ca4 7000550b jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+5ca5 20600000 rtn 
+
+parse_lmp_accepted_stop_enc:
+5ca6 20600000 rtn 
+
+parse_lmp_not_accepted_aurand:
+5ca7 6800c132 fetch 1 ,mem_device_option 
+5ca8 c080dcb7 bne dvc_op_hci ,parse_lmp_not_accepted_aurand_send_detach 
+5ca9 6800c25e fetch 1 ,mem_link_key_exists 
+5caa 207a0000 rtn blank 
+5cab 68088055 fetcht 1 ,mem_conn_sm 
+5cac 70005500 jam 0 ,mem_conn_sm 
+5cad 70425e00 jam 0 ,mem_link_key_exists 
+5cae 680084e0 fetch 1 ,mem_rxbuf + 2 
+5caf c1830000 rtnne key_missing 
+5cb0 60088055 storet 1 ,mem_conn_sm 
+5cb1 7007e001 jam local_statemachine ,mem_sp_localsm 
+5cb2 6801044a fetch 2 ,mem_lmpext_ssp_enable 
+5cb3 6808844c fetcht 1 ,mem_remote_sppcap 
+5cb4 98417e00 iand temp ,pdata 
+5cb5 203a49da branch cmd_pair ,blank 
+5cb6 202049d7 branch cmd_ssp 
+
+parse_lmp_not_accepted_aurand_send_detach:
+5cb7 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5cb8 70044613 jam other_end_terminated ,mem_disconn_reason_send 
+5cb9 20600000 rtn 
+
+parse_lmp_not_accepted_inrand:
+5cba 680084e0 fetch 1 ,mem_rxbuf + 2 
+5cbb c0035cc0 beq key_missing ,parse_lmp_inrand_key_missing 
+5cbc c18c0000 rtnne pairing_not_allowed 
+5cbd 70044618 jam pairing_not_allowed ,mem_disconn_reason_send 
+5cbe 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5cbf 20600000 rtn 
+
+parse_lmp_inrand_key_missing:
+5cc0 70044606 jam key_missing ,mem_disconn_reason_send 
+5cc1 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5cc2 20600000 rtn 
+
+parse_lmp_not_accepted_name_req:
+5cc3 20600000 rtn 
+
+parse_lmp_not_accepted_simple_pairing_number:
+5cc4 7007da00 jam sp_stat_null ,mem_sp_state 
+5cc5 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5cc6 20205b77 branch parse_rx_done 
+
+parse_lmp_not_accepted_dhkey_check:
+5cc7 7007da00 jam sp_stat_null ,mem_sp_state 
+5cc8 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5cc9 20205b77 branch parse_rx_done 
+
+parse_lmp_not_accepted_unsniff_req:
+5cca 700b7d24 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+5ccb 20207c27 branch ui_ipc_send_event 
+
+parse_lmp_accepted_unsniff_req:
+5ccc 700b7d23 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+5ccd 20407c27 call ui_ipc_send_event 
+5cce 20403806 call sniff_exit 
+5ccf 18000400 force 0 ,temp 
+5cd0 20204907 branch hci_send_mode_change 
+
+parse_lmp_accepted_sniff_req:
+5cd1 700b7d22 jam bt_evt_sniff_accept ,mem_fifo_temp 
+5cd2 20407c27 call ui_ipc_send_event 
+5cd3 18000402 force 0x02 ,temp 
+5cd4 20404907 call hci_send_mode_change 
+5cd5 58000000 setarg 0 
+5cd6 60010075 store 2 ,mem_dsniff 
+5cd7 68014280 fetch 2 ,mem_sniff_param_interval 
+5cd8 1fe3fe00 lshift pdata ,pdata 
+5cd9 60010032 store 2 ,mem_tsniff 
+5cda 6800c282 fetch 1 ,mem_sniff_param_attempt 
+5cdb 60008073 store 1 ,mem_sniff_attempt 
+5cdc 6800c284 fetch 1 ,mem_sniff_param_timeout 
+5cdd 60008074 store 1 ,mem_sniff_timeout 
+5cde 202037e1 branch sniff_init 
+
+parse_lmp_not_acdcept_sniff_req:
+5cdf 700b7d21 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+5ce0 20207c27 branch ui_ipc_send_event 
+
+parse_lmp_crypt_key:
+5ce1 680884df fetcht 1 ,mem_rxbuf + 1 
+5ce2 60088054 storet 1 ,mem_key_size 
+5ce3 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_setup_complete:
+5ce4 6800844d fetch 1 ,mem_lmp_conn_state 
+5ce5 79207e02 set1 received_setup_complete ,pdata 
+5ce6 6000844d store 1 ,mem_lmp_conn_state 
+5ce7 c3818000 rtnbit1 sent_setup_complete 
+5ce8 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+5ce9 20205b77 branch parse_rx_done 
+
+parse_lmp_max_slot:
+5cea 20600000 rtn 
+
+parse_lmp_max_slot_req:
+5ceb 6800c171 fetch 1 ,mem_max_slot 
+5cec 680884df fetcht 1 ,mem_rxbuf + 1 
+5ced 98467c00 isub temp ,null 
+5cee 20215cf5 branch accept_lmp_msg ,positive 
+5cef 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5cf0 70007e1f jam unspecified_error ,mem_lmo_reason2 
+5cf1 70007d2e jam lmp_max_slot_req ,mem_lmi_opcode2 
+5cf2 20600000 rtn 
+
+parse_lmp_detach:
+5cf3 2040605a call prepare_disconnect 
+5cf4 20205cf5 branch accept_lmp_msg 
+
+accept_lmp_msg:
+5cf5 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5cf6 20600000 rtn 
+
+parse_lmp_incr_power:
+5cf7 70007c21 jam lmp_max_power ,mem_lmo_opcode2 
+5cf8 20600000 rtn 
+
+parse_lmp_decr_power:
+5cf9 70007c22 jam lmp_min_power ,mem_lmo_opcode2 
+5cfa 20600000 rtn 
+
+parse_lmp_version_res:
+5cfb 68008055 fetch 1 ,mem_conn_sm 
+5cfc c1098000 rtneq conn_sm_wait_version 
+5cfd 70005502 jam conn_sm_send_features ,mem_conn_sm 
+5cfe 20600000 rtn 
+
+parse_lmp_auto_rate:
+5cff 20600000 rtn 
+
+parse_lmp_in_rand:
+5d00 20405ec8 call lmp_copy_rand 
+5d01 70045001 jam pincode_state_wait_pincode ,mem_pincode_state 
+5d02 6800c132 fetch 1 ,mem_device_option 
+5d03 c000dd06 beq dvc_op_hci ,parse_lmp_in_rand_hci 
+5d04 700b7d0a jam bt_evt_pincode_req ,mem_fifo_temp 
+5d05 20407c27 call ui_ipc_send_event 
+
+parse_lmp_in_rand_hci:
+5d06 2040487b call hci_send_pincode_req 
+5d07 2040620d call tid_check 
+5d08 2420ded0 nbranch lmp_accept_inrand ,true 
+5d09 2434dd0e nbranch parse_lmp_inrand_res ,master 
+5d0a 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5d0b 70007d08 jam lmp_in_rand ,mem_lmi_opcode2 
+5d0c 70007e23 jam transaction_collision ,mem_lmo_reason2 
+5d0d 20600000 rtn 
+
+parse_lmp_inrand_res:
+5d0e 6800804b fetch 1 ,mem_op 
+5d0f 79207e02 set1 op_inrand_req ,pdata 
+5d10 6000804b store 1 ,mem_op 
+5d11 20600000 rtn 
+
+pop_tid_follow:
+5d12 6808804c fetcht 1 ,mem_state_map 
+5d13 7d3a0401 nsetflag blank ,smap_lmptid ,temp 
+5d14 6008804c storet 1 ,mem_state_map 
+5d15 20600000 rtn 
+
+push_tid_follow:
+5d16 6800807f fetch 1 ,mem_lmo_tid2 
+5d17 1fe37e00 rshift pdata ,pdata 
+5d18 1fe17e01 and_into 1 ,pdata 
+5d19 20600000 rtn 
+
+parse_lmp_au_rand:
+5d1a 20405d16 call push_tid_follow 
+5d1b 60008451 store 1 ,mem_sres_tid 
+5d1c 20405ec8 call lmp_copy_rand 
+5d1d 70007c0c jam lmp_sres ,mem_lmo_opcode2 
+5d1e 6800c25e fetch 1 ,mem_link_key_exists 
+5d1f 247a0000 nrtn blank 
+5d20 68008030 fetch 1 ,mem_state 
+5d21 c3830000 rtnbit1 state_combkey 
+5d22 70007e06 jam key_missing ,mem_lmo_reason2 
+5d23 6800c132 fetch 1 ,mem_device_option 
+5d24 c080dbc9 bne dvc_op_hci ,reject_lmp_packet 
+5d25 68008453 fetch 1 ,mem_auth_enable 
+5d26 243a5bc9 nbranch reject_lmp_packet ,blank 
+5d27 70007c00 jam 0 ,mem_lmo_opcode2 
+
+parse_lmp_inrand_sres:
+5d28 6800804b fetch 1 ,mem_op 
+5d29 79207e00 set1 op_send_sres ,pdata 
+5d2a 6000804b store 1 ,mem_op 
+5d2b 20204872 branch hci_send_linkkey_req 
+
+parse_lmp_sres:
+5d2c da200040 arg mem_plap ,rega 
+5d2d 2040739d call function_e1 
+5d2e 680204df fetch 4 ,mem_rxbuf + 1 
+5d2f 680a051f fetcht 4 ,mem_input_store 
+5d30 98467c00 isub temp ,null 
+5d31 2022dd35 branch authentication_ok ,zero 
+5d32 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5d33 70044605 jam authentication_failure_error ,mem_disconn_reason_send 
+5d34 20600000 rtn 
+
+authentication_ok:
+5d35 2040749b call copy_aco 
+5d36 20403211 call linkkey_ready 
+5d37 6800804b fetch 1 ,mem_op 
+5d38 2feffe01 isolate1 op_auth_req ,pdata 
+5d39 793ffe01 set0 op_auth_req ,pdata 
+5d3a 6000804b store 1 ,mem_op 
+5d3b 2040c8bc call hci_send_auth_complete ,true 
+5d3c 68008055 fetch 1 ,mem_conn_sm 
+5d3d c00cdd40 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+5d3e c00c5d40 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+5d3f 20600000 rtn 
+
+authentication_ok_conn_sm:
+5d40 680087e1 fetch 1 ,mem_pairing_auth 
+5d41 c1800000 rtnne defalt_pairing_auth 
+5d42 6800804c fetch 1 ,mem_state_map 
+5d43 c3810000 rtnbit1 smap_encryption 
+5d44 202062cf branch host_create_conn_encrypt 
+
+parse_lmp_comb_key:
+5d45 da2004df arg mem_rxbuf + 1 ,rega 
+5d46 da40050f arg mem_kinit ,regb 
+5d47 d8a004ef arg mem_random_number ,contw 
+5d48 20407467 call xor16 
+5d49 da200040 arg mem_plap ,rega 
+5d4a 2040622b call generate_linkkey 
+5d4b 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+5d4c 68008030 fetch 1 ,mem_state 
+5d4d c3035ecb bbit0 state_combkey ,lmp_generate_key 
+5d4e 20600000 rtn 
+
+parse_lmp_name_res:
+5d4f 68010169 fetch 2 ,mem_len 
+5d50 1fe0f3fd add pdata ,-3 ,loopcnt 
+5d51 680884df fetcht 1 ,mem_rxbuf + 1 
+5d52 58000103 setarg mem_tmp_buffer 
+5d53 98408a00 iadd temp ,contw 
+5d54 d8c004e1 arg mem_rxbuf + 3 ,contr 
+5d55 20407e45 call memcpy 
+5d56 68088053 fetcht 1 ,mem_name_offset 
+5d57 680084e0 fetch 1 ,mem_rxbuf + 2 
+5d58 98467e00 isub temp ,pdata 
+5d59 1fe67c0e sub pdata ,14 ,null 
+5d5a 20215d5f branch parse_lmp_name_res_end ,positive 
+5d5b 1840fe0e add temp ,14 ,pdata 
+5d5c 60008053 store 1 ,mem_name_offset 
+5d5d 70007c01 jam lmp_name_req ,mem_lmo_opcode2 
+5d5e 20600000 rtn 
+
+parse_lmp_name_res_end:
+5d5f 6800804c fetch 1 ,mem_state_map 
+5d60 79207e03 set1 smap_name_res ,pdata 
+5d61 6000804c store 1 ,mem_state_map 
+5d62 c2825ed5 bbit1 smap_name_req ,lmp_disconnect 
+5d63 20600000 rtn 
+
+parse_lmp_name_req:
+5d64 680084df fetch 1 ,mem_rxbuf + 1 
+5d65 6000807d store 1 ,mem_lmi_opcode2 
+5d66 70007c02 jam lmp_name_res ,mem_lmo_opcode2 
+5d67 20600000 rtn 
+
+parse_lmp_conn_req:
+5d68 6800c132 fetch 1 ,mem_device_option 
+5d69 c080dcf5 bne dvc_op_hci ,accept_lmp_msg 
+5d6a 18000401 force 1 ,temp 
+5d6b 20204839 branch hci_send_conn_req_event 
+
+parse_lmp_timing_accuracy_req:
+5d6c 70007c30 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+5d6d 20600000 rtn 
+
+parse_lmp_features_req:
+5d6e 70007c28 jam lmp_features_res ,mem_lmo_opcode2 
+5d6f 20600000 rtn 
+
+parse_lmp_version_req:
+5d70 70007c26 jam lmp_version_res ,mem_lmo_opcode2 
+5d71 20600000 rtn 
+
+parse_lmp_supervision_timeout:
+5d72 20600000 rtn 
+
+parse_lmp_sniff_subrating_req:
+5d73 68010032 fetch 2 ,mem_tsniff 
+5d74 98000400 iforce temp 
+5d75 680084e0 fetch 1 ,mem_rxbuf + 2 
+5d76 60008097 store 1 ,mem_subsniff_rate 
+5d77 984f8400 imul32 temp ,temp 
+5d78 680104e1 fetch 2 ,mem_rxbuf + 3 
+5d79 1fe3fe00 lshift pdata ,pdata 
+5d7a 60010098 store 2 ,mem_subsniff_tcmax 
+5d7b 680204e3 fetch 4 ,mem_rxbuf + 5 
+5d7c 1fe3fe00 lshift pdata ,pdata 
+5d7d 60020093 store 4 ,mem_subsniff_instant 
+5d7e 18427e00 deposit temp 
+5d7f 6001009a store 2 ,mem_subsniff_tsniff 
+5d80 20600000 rtn 
+
+parse_lmpext_packet_type_table_req:
+5d81 6808c1fb fetcht 1 ,mem_ptt 
+5d82 680084e0 fetch 1 ,mem_rxbuf + 2 
+5d83 9842fc00 ixor temp ,null 
+5d84 2422dbee nbranch reject_unknown_ext_packet ,zero 
+5d85 2feffe00 isolate1 0 ,pdata 
+5d86 6800804c fetch 1 ,mem_state_map 
+5d87 7920fe05 setflag true ,smap_edr ,pdata 
+5d88 6000804c store 1 ,mem_state_map 
+5d89 70007c81 jam lmp_ext_accepted ,mem_lmo_opcode2 
+5d8a 70007d8b jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+5d8b 20600000 rtn 
+
+parse_lmp_sniff_subrating_res:
+5d8c 20600000 rtn 
+
+parse_lmp_max_power:
+5d8d 20600000 rtn 
+
+parse_lmp_min_power:
+5d8e 20600000 rtn 
+
+parse_lmp_page_mode_req:
+5d8f 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_page_scan_mode_req:
+5d90 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_preferred_rate:
+5d91 20600000 rtn 
+
+parse_lmp_remove_sco_link_req:
+5d92 2040385e call stop_sco 
+5d93 70007d2c jam lmp_remove_sco_link_req ,mem_lmi_opcode2 
+5d94 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_sco_link_req:
+5d95 680084df fetch 1 ,mem_rxbuf + 1 
+5d96 600080ad store 1 ,mem_sco_handle 
+5d97 680084e1 fetch 1 ,mem_rxbuf + 3 
+5d98 600080af store 1 ,mem_esco_desco 
+5d99 680084e4 fetch 1 ,mem_rxbuf + 6 
+5d9a 600080ab store 1 ,mem_air_mode 
+5d9b 20405d16 call push_tid_follow 
+5d9c 60008452 store 1 ,mem_accptsco_tid 
+5d9d 18000400 force 0 ,temp 
+5d9e 20204839 branch hci_send_conn_req_event 
+
+parse_lmp_slot_offset:
+5d9f 680104df fetch 2 ,mem_rxbuf + 1 
+5da0 6001017b store 2 ,mem_slot_offset 
+5da1 20600000 rtn 
+
+parse_lmp_sniff_req:
+5da2 68008030 fetch 1 ,mem_state 
+5da3 c280ddb5 bbit1 state_insniff ,lmp_reject_sniff 
+5da4 680104e0 fetch 2 ,mem_rxbuf + 2 
+5da5 1fe3fe00 lshift pdata ,pdata 
+5da6 60010075 store 2 ,mem_dsniff 
+5da7 680104e2 fetch 2 ,mem_rxbuf + 4 
+5da8 1fe3fe00 lshift pdata ,pdata 
+5da9 60010032 store 2 ,mem_tsniff 
+5daa 680104e4 fetch 2 ,mem_rxbuf + 6 
+5dab 60008073 store 1 ,mem_sniff_attempt 
+5dac 98000400 iforce temp 
+5dad 680104e6 fetch 2 ,mem_rxbuf + 8 
+5dae 60008074 store 1 ,mem_sniff_timeout 
+5daf 98467c00 isub temp ,null 
+5db0 24215db2 nbranch set_big_value_to_attempt ,positive 
+5db1 60008073 store 1 ,mem_sniff_attempt 
+
+set_big_value_to_attempt:
+5db2 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5db3 70007d17 jam lmp_sniff_req ,mem_lmi_opcode2 
+5db4 20600000 rtn 
+
+lmp_reject_sniff:
+5db5 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5db6 20205bc9 branch reject_lmp_packet 
+
+parse_lmp_start_encryption_req:
+5db7 20405cf5 call accept_lmp_msg 
+5db8 20405ec8 call lmp_copy_rand 
+5db9 204073a0 call function_e3 
+5dba 202037d0 branch start_encryption 
+
+parse_lmp_stop_encryption_req:
+5dbb 20405cf5 call accept_lmp_msg 
+5dbc 202037da branch stop_encryption 
+
+parse_lmp_switch_req:
+5dbd 680204df fetch 4 ,mem_rxbuf + 1 
+5dbe 1fe3fe00 lshift pdata ,pdata 
+5dbf 2034ddc9 branch parse_lmp_switch_accept ,master 
+5dc0 6808c25e fetcht 1 ,mem_link_key_exists 
+5dc1 243a5dc6 nbranch parse_lmp_switch_req_clear_mark ,blank 
+
+parse_lmp_switch_req_not_accept:
+5dc2 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+5dc3 70007d13 jam lmp_switch_req ,mem_lmi_opcode2 
+5dc4 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5dc5 20600000 rtn 
+
+parse_lmp_switch_req_clear_mark:
+5dc6 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+5dc7 70005500 jam 0 ,mem_conn_sm 
+5dc8 20203241 branch role_switch_prepare 
+
+parse_lmp_switch_accept:
+5dc9 20403241 call role_switch_prepare 
+5dca 79200022 set1 mark_reconn_recieve_switch ,mark 
+5dcb 68008177 fetch 1 ,mem_connection_options 
+5dcc 793ffe02 set0 connection_switch ,pdata 
+5dcd 60008177 store 1 ,mem_connection_options 
+5dce 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_temp_rand:
+5dcf 20600000 rtn 
+
+parse_lmp_temp_key:
+5dd0 20600000 rtn 
+
+parse_lmp_timing_accuracy_res:
+5dd1 20600000 rtn 
+
+parse_lmp_unit_key:
+5dd2 20600000 rtn 
+
+parse_lmp_unsniff_req:
+5dd3 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5dd4 70007d18 jam lmp_unsniff_req ,mem_lmi_opcode2 
+5dd5 700b7d2e jam bt_evt_remote_unsniff ,mem_fifo_temp 
+5dd6 20407c27 call ui_ipc_send_event 
+5dd7 18000400 force 0 ,temp 
+5dd8 20404907 call hci_send_mode_change 
+5dd9 20203806 branch sniff_exit 
+
+parse_lmp_use_semi_permanend_key:
+5dda 20600000 rtn 
+
+parse_lmp_encapsulated_header:
+5ddb 680084df fetch 1 ,mem_rxbuf + 1 
+5ddc c080dde7 bne encapsulated_major_type_p192 ,parse_lmp_encapsulated_header_reject 
+5ddd 680084e0 fetch 1 ,mem_rxbuf + 2 
+5dde c080dde7 bne encapsulated_minor_type_p192 ,parse_lmp_encapsulated_header_reject 
+5ddf 680084e1 fetch 1 ,mem_rxbuf + 3 
+5de0 c0985de7 bne encapsulated_len_p192 ,parse_lmp_encapsulated_header_reject 
+5de1 20406216 call check_localsm 
+5de2 2020dde4 branch parse_lmp_encapsulated_header_master ,true 
+5de3 7007da01 jam sp_stat_key_recv ,mem_sp_state 
+
+parse_lmp_encapsulated_header_master:
+5de4 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5de5 70007d3d jam lmp_encapsulated_header ,mem_lmi_opcode2 
+5de6 20205b77 branch parse_rx_done 
+
+parse_lmp_encapsulated_header_reject:
+5de7 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5de8 20205bc9 branch reject_lmp_packet 
+
+parse_lmp_accepted_encapsulated_header:
+5de9 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+5dea 20600000 rtn 
+
+parse_lmp_accepted_simple_pairing_number:
+5deb 20406216 call check_localsm 
+5dec 20608000 rtn true 
+5ded 7007da08 jam sp_stat_confirm_recv ,mem_sp_state 
+5dee 20600000 rtn 
+
+parse_lmp_accepted_dhkey_check:
+5def 20406216 call check_localsm 
+5df0 2440fa9d ncall g_noninit ,true 
+5df1 2040faab call g_init ,true 
+5df2 20404860 call hci_send_user_confirmation_req 
+5df3 20404869 call hci_send_ssp_complete 
+5df4 20406216 call check_localsm 
+5df5 20608000 rtn true 
+5df6 7007da0c jam sp_stat_link_key_calc ,mem_sp_state 
+5df7 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+5df8 20600000 rtn 
+
+parse_simple_pairing_confirm:
+5df9 d8a00888 arg mem_sp_confirm_remote ,contw 
+5dfa 680404df fetch 8 ,mem_rxbuf + 1 
+5dfb e0a40000 istore 8 ,contw 
+5dfc 680404e7 fetch 8 ,mem_rxbuf + 9 
+5dfd e0a40000 istore 8 ,contw 
+5dfe 2020780f branch master_set_mem_master_sp_flag 
+
+parse_lmp_encapsulated_payload:
+5dff 680087db fetch 1 ,mem_master_sp_state 
+5e00 c003de03 beq sp_stat_random_send ,parse_encapsulated_payload_master 
+5e01 680087da fetch 1 ,mem_sp_state 
+5e02 c080de16 bne sp_stat_key_recv ,parse_lmp_encapsulated_payload_reject 
+
+parse_encapsulated_payload_master:
+5e03 680087e3 fetch 1 ,mem_sp_remote_key_recv_count 
+5e04 1fe60a20 sub pdata ,0x20 ,contw 
+5e05 24215e16 nbranch parse_lmp_encapsulated_payload_reject ,positive 
+5e06 d8a007f0 arg mem_sp_pubkey_remote ,contw 
+5e07 98a08a00 iadd contw ,contw 
+5e08 680404df fetch 8 ,mem_rxbuf + 1 
+5e09 e0a40000 istore 8 ,contw 
+5e0a 680404e7 fetch 8 ,mem_rxbuf + 9 
+5e0b e0a40000 istore 8 ,contw 
+5e0c 680087e3 fetch 1 ,mem_sp_remote_key_recv_count 
+5e0d 1fe0fe10 increase 16 ,pdata 
+5e0e 600087e3 store 1 ,mem_sp_remote_key_recv_count 
+5e0f c0985cf5 bne encapsulated_len_p192 ,accept_lmp_msg 
+
+parse_lmp_encapsulated_payload_completed:
+5e10 20406216 call check_localsm 
+5e11 2020dcf5 branch accept_lmp_msg ,true 
+5e12 7007e401 jam sp_key_valid ,mem_sp_remote_key_invalid 
+5e13 7007da02 jam sp_stat_key_generate ,mem_sp_state 
+5e14 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+5e15 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_encapsulated_payload_reject:
+5e16 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5e17 20205bc9 branch reject_lmp_packet 
+
+parse_lmp_accepted_encapsulated_payload:
+5e18 680087e2 fetch 1 ,mem_sp_local_key_send_count 
+5e19 c0185e1c beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+5e1a 70007c3e jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+5e1b 20205b77 branch parse_rx_done 
+
+parse_lmp_encapsulated_payload_all_accepted:
+5e1c 20406216 call check_localsm 
+5e1d 2020de21 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+5e1e 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+5e1f 7007da04 jam sp_stat_commit_calc ,mem_sp_state 
+5e20 20205b77 branch parse_rx_done 
+
+parse_lmp_encapsulated_payload_all_accepted_master:
+5e21 20205b77 branch parse_rx_done 
+
+parse_lmp_simple_pairing_number:
+5e22 680087db fetch 1 ,mem_master_sp_state 
+5e23 c003de26 beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+5e24 680087da fetch 1 ,mem_sp_state 
+5e25 c0835e32 bne sp_stat_random_recv ,parse_lmp_simple_pairing_number_reject 
+
+parse_lmp_simple_pairing_number_master:
+5e26 d8a00848 arg mem_sp_random_remote ,contw 
+5e27 680404df fetch 8 ,mem_rxbuf + 1 
+5e28 e0a40000 istore 8 ,contw 
+5e29 680404e7 fetch 8 ,mem_rxbuf + 9 
+5e2a e0a40000 istore 8 ,contw 
+5e2b 20406216 call check_localsm 
+5e2c 2020de30 branch parse_lmp_simple_pairing_number_master0 ,true 
+5e2d 7007da07 jam sp_stat_random_send ,mem_sp_state 
+5e2e 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+5e2f 20205cf5 branch accept_lmp_msg 
+
+parse_lmp_simple_pairing_number_master0:
+5e30 7007db04 jam sp_stat_commit_calc ,mem_master_sp_state 
+5e31 2020780f branch master_set_mem_master_sp_flag 
+
+parse_lmp_simple_pairing_number_reject:
+5e32 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5e33 20205bc9 branch reject_lmp_packet 
+
+parse_dhkey_check:
+5e34 680087db fetch 1 ,mem_master_sp_state 
+5e35 c005de38 beq sp_stat_confirm_send ,parse_dhkey_check_master 
+5e36 680087da fetch 1 ,mem_sp_state 
+5e37 c0845e45 bne sp_stat_confirm_recv ,parse_lmp_dhkey_check_reject 
+
+parse_dhkey_check_master:
+5e38 d8a00878 arg mem_sp_check_result ,contw 
+5e39 680404df fetch 8 ,mem_rxbuf + 1 
+5e3a e0a40000 istore 8 ,contw 
+5e3b 680404e7 fetch 8 ,mem_rxbuf + 9 
+5e3c e0a40000 istore 8 ,contw 
+5e3d 20406216 call check_localsm 
+5e3e 2020de42 branch parse_dhkey_check_master0 ,true 
+5e3f 7007da09 jam sp_stat_confirm_check ,mem_sp_state 
+5e40 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+5e41 20205b77 branch parse_rx_done 
+
+parse_dhkey_check_master0:
+5e42 7007db09 jam sp_stat_confirm_check ,mem_master_sp_state 
+5e43 7007dd01 jam sp_flag_commit ,mem_master_sp_flag 
+5e44 20205b77 branch parse_rx_done 
+
+parse_lmp_dhkey_check_reject:
+5e45 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+5e46 20205bc9 branch reject_lmp_packet 
+
+parse_lmp_clkoffset_res:
+5e47 20205b77 branch parse_rx_done 
+
+parse_lmp_encryption_mode_req:
+5e48 68008177 fetch 1 ,mem_connection_options 
+5e49 793ffe01 set0 connection_encrypt 
+5e4a 60008177 store 1 ,mem_connection_options 
+5e4b 20405cf5 call accept_lmp_msg 
+5e4c 24748000 nrtn master 
+5e4d 680084df fetch 1 ,mem_rxbuf + 1 
+5e4e 6808804b fetcht 1 ,mem_op 
+5e4f 793a0404 setflag blank ,op_stop_enc ,temp 
+5e50 7d3a0405 nsetflag blank ,op_start_enc ,temp 
+5e51 6008804b storet 1 ,mem_op 
+5e52 20600000 rtn 
+
+parse_lmp_features_res:
+5e53 680c04df fetcht 8 ,mem_rxbuf + 1 
+5e54 6800c272 fetch 1 ,mem_hci_cmd 
+5e55 c0a85e58 bne hci_cmd_wait_remote_feature ,parse_lmp_features_res_not_hci 
+5e56 70427200 jam 0 ,mem_hci_cmd 
+5e57 204047e5 call hci_send_remote_features 
+
+parse_lmp_features_res_not_hci:
+5e58 68008055 fetch 1 ,mem_conn_sm 
+5e59 c1818000 rtnne conn_sm_wait_features_res 
+5e5a 6800c132 fetch 1 ,mem_device_option 
+5e5b c000de5e beq dvc_op_hci ,parse_lmp_feature_ext_sm 
+5e5c 68008177 fetch 1 ,mem_connection_options 
+5e5d c3025e60 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+
+parse_lmp_feature_ext_sm:
+5e5e 70005514 jam conn_sm_send_features_ext ,mem_conn_sm 
+5e5f 20600000 rtn 
+
+parse_lmp_send_conn:
+5e60 70005504 jam conn_sm_send_conn_req ,mem_conn_sm 
+5e61 20600000 rtn 
+
+parse_lmp_test_activate:
+5e62 68008189 fetch 1 ,mem_debug_config 
+5e63 6000815d store 1 ,mem_test_mode_old_debug_config 
+5e64 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5e65 70007d38 jam lmp_test_activate ,mem_lmi_opcode2 
+5e66 20600000 rtn 
+
+parse_lmp_test_control:
+5e67 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5e68 70007d39 jam lmp_test_control ,mem_lmi_opcode2 
+5e69 18007209 force 9 ,loopcnt 
+5e6a d8c004df arg mem_rxbuf + 1 ,contr 
+5e6b d8a00154 arg mem_temp_payload ,contw 
+
+parse_lmp_test_xor:
+5e6c e8c08000 ifetch 1 ,contr 
+5e6d 1fe2fe55 xor_into 0x55 ,pdata 
+5e6e e0a08000 istore 1 ,contw 
+5e6f c2005e6c loop parse_lmp_test_xor 
+5e70 68008154 fetch 1 ,test_mode_scenario 
+5e71 68088153 fetcht 1 ,mem_tester_emulate 
+5e72 793f8407 set0 tester_no_whitening ,temp 
+5e73 793f8404 set0 tester_pattern_test ,temp 
+5e74 c07fde80 beq exit_test_mode ,parse_lmp_test_control_exit 
+5e75 c0005e99 beq pause_test_mode ,parse_lmp_test_control_pause 
+5e76 c002de8d beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+5e77 c003de8c beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+5e78 c0035e8d beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+5e79 c0045e8c beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+5e7a c000de85 beq zero_pattern ,parse_lmp_test_control_pattern 
+5e7b c0015e85 beq one_pattern ,parse_lmp_test_control_pattern 
+5e7c c001de85 beq alt_pattern ,parse_lmp_test_control_pattern 
+5e7d c004de85 beq alt2_pattern ,parse_lmp_test_control_pattern 
+5e7e c0025e85 beq pseudorandom ,parse_lmp_test_control_pattern 
+5e7f 20600000 rtn 
+
+parse_lmp_test_control_exit:
+5e80 68008153 fetch 1 ,mem_tester_emulate 
+5e81 79207e03 set1 tester_exit ,pdata 
+5e82 79207e02 set1 tester_change ,pdata 
+5e83 60008153 store 1 ,mem_tester_emulate 
+5e84 20600000 rtn 
+
+parse_lmp_test_control_pattern:
+5e85 79200404 set1 tester_pattern_test ,temp 
+5e86 70018a05 jam 5 ,mem_lch_code 
+5e87 6801015b fetch 2 ,test_mode_data_length 
+5e88 98007200 iforce loopcnt 
+5e89 60010169 store 2 ,mem_len 
+5e8a d8a004de arg mem_rxbuf ,contw 
+5e8b 20407ed8 call pn9 
+
+parse_lmp_test_control_loopback_nowhite:
+5e8c 79200407 set1 tester_no_whitening ,temp 
+
+parse_lmp_test_control_loopback:
+5e8d 79200402 set1 tester_change ,temp 
+5e8e 18007e00 force 0 ,pdata 
+5e8f 6000800b store 1 ,mem_slave_rcvcnt 
+5e90 600100fc store 2 ,mem_tst_pktcnt_crc 
+5e91 600100fe store 2 ,mem_tst_pktcnt_dmh 
+5e92 600100fa store 2 ,mem_tst_pktcnt_hec 
+5e93 600100f8 store 2 ,mem_tst_pktcnt_sync 
+5e94 68008155 fetch 1 ,test_mode_hopping_mode 
+5e95 2fe1fe00 compare fixed_freq ,pdata ,0xff 
+5e96 79208406 setflag true ,tester_fixed_freq ,temp 
+5e97 60088153 storet 1 ,mem_tester_emulate 
+5e98 20600000 rtn 
+
+parse_lmp_test_control_pause:
+5e99 793f8011 set0 mark_testmode ,mark 
+5e9a 70015300 jam 0 ,mem_tester_emulate 
+5e9b 68008189 fetch 1 ,mem_debug_config 
+5e9c 793ffe06 set0 debug_tx_pattern ,pdata 
+5e9d 60008189 store 1 ,mem_debug_config 
+5e9e 20600000 rtn 
+
+check_test_cond:
+5e9f 68008153 fetch 1 ,mem_tester_emulate 
+5ea0 c4010000 rtnbit0 tester_change 
+5ea1 6800815e fetch 1 ,mem_tester_cnt 
+5ea2 1fe0fe01 increase 1 ,pdata 
+5ea3 6000815e store 1 ,mem_tester_cnt 
+5ea4 c1828000 rtnne 5 
+5ea5 70015e00 jam 0 ,mem_tester_cnt 
+5ea6 68008153 fetch 1 ,mem_tester_emulate 
+5ea7 793ffe02 set0 tester_change ,pdata 
+5ea8 60008153 store 1 ,mem_tester_emulate 
+5ea9 c281dec0 bbit1 tester_exit ,check_test_exit 
+5eaa 2feffe07 isolate1 tester_no_whitening ,pdata 
+5eab 2040ff86 call test_no_white ,true 
+5eac 2440ff8a ncall test_enable_white ,true 
+5ead 6800815a fetch 1 ,test_mode_packet_type 
+5eae 2fe06020 compare 0x20 ,pdata ,0x30 
+5eaf 6800804c fetch 1 ,mem_state_map 
+5eb0 7920fe05 setflag true ,smap_edr ,pdata 
+5eb1 6000804c store 1 ,mem_state_map 
+5eb2 68008153 fetch 1 ,mem_tester_emulate 
+5eb3 68088189 fetcht 1 ,mem_debug_config 
+5eb4 2feffe04 isolate1 tester_pattern_test ,pdata 
+5eb5 79208406 setflag true ,debug_tx_pattern ,temp 
+5eb6 2feffe06 isolate1 tester_fixed_freq ,pdata 
+5eb7 79208404 setflag true ,debug_tx_fixed_freq ,temp 
+5eb8 79208405 setflag true ,debug_rx_fixed_freq ,temp 
+5eb9 60088189 storet 1 ,mem_debug_config 
+5eba 68008156 fetch 1 ,test_mode_tx_freq 
+5ebb 60008447 store 1 ,mem_tx_fixed_freq 
+5ebc 68008157 fetch 1 ,test_mode_rx_freq 
+5ebd 60008448 store 1 ,mem_rx_fixed_freq 
+5ebe 79200011 set1 mark_testmode ,mark 
+5ebf 20600000 rtn 
+
+check_test_exit:
+5ec0 793f8011 set0 mark_testmode ,mark 
+5ec1 70015300 jam 0 ,mem_tester_emulate 
+5ec2 6800815d fetch 1 ,mem_test_mode_old_debug_config 
+5ec3 60008189 store 1 ,mem_debug_config 
+5ec4 68108043 hfetch 1 ,core_config 
+5ec5 1fe17efb and_into 0xfb ,pdata 
+5ec6 60108043 hstore 1 ,core_config 
+5ec7 20600000 rtn 
+
+lmp_copy_rand:
+5ec8 d8c004df arg mem_rxbuf + 1 ,contr 
+5ec9 d8a004ef arg mem_random_number ,contw 
+5eca 20207e35 branch memcpy16 
+
+lmp_generate_key:
+5ecb 70007c09 jam lmp_comb_key ,mem_lmo_opcode2 
+5ecc 20600000 rtn 
+
+lmp_start_encryption:
+5ecd 24748000 nrtn master 
+5ece 70007c11 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+5ecf 20600000 rtn 
+
+lmp_accept_inrand:
+5ed0 da204140 arg mem_lap ,rega 
+5ed1 2040736a call generate_kinit 
+5ed2 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+5ed3 70007d08 jam lmp_in_rand ,mem_lmi_opcode2 
+5ed4 20600000 rtn 
+
+lmp_disconnect:
+5ed5 7000720a jam 10 ,mem_conn_timer 
+5ed6 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+5ed7 70044616 jam local_host ,mem_disconn_reason_send 
+5ed8 20600000 rtn 
+
+send_lmp:
+5ed9 79200025 set1 mark_ext_patch ,mark 
+5eda 44f1c03c bpatch patch3c_3 ,mem_patch3c 
+5edb 78547c00 disable user 
+5edc 204061d9 call lmo_fifo_process 
+5edd 68008048 fetch 1 ,mem_lmp_to_send 
+5ede 207a0000 rtn blank 
+5edf c283df10 bbit1 7 ,send_lmp_escape 
+5ee0 c000e072 beq lmp_name_req ,send_lmp_name_req 
+5ee1 c0015f9b beq lmp_name_res ,send_lmp_name_res 
+5ee2 c001df1d beq lmp_accepted ,send_lmp_accepted 
+5ee3 c0025f36 beq lmp_not_accepted ,send_lmp_not_accepted 
+5ee4 c013e0f2 beq lmp_features_req ,send_lmp_features_req 
+5ee5 c0145fbf beq lmp_features_res ,send_lmp_features_res 
+5ee6 c0185fab beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+5ee7 c012e0ed beq lmp_version_req ,send_lmp_version_req 
+5ee8 c0135fba beq lmp_version_res ,send_lmp_version_res 
+5ee9 c018e0dc beq lmp_setup_complete ,send_lmp_setup_complete 
+5eea c01be06d beq lmp_supervision_timeout ,send_lmp_superto 
+5eeb c019e05f beq lmp_host_connection_req ,send_lmp_no_payload 
+5eec c0046174 beq lmp_in_rand ,send_lmp_inrand 
+5eed c004e16a beq lmp_comb_key ,send_lmp_comb_key 
+5eee c005e17f beq lmp_au_rand ,send_lmp_aurand 
+5eef c0066188 beq lmp_sres ,send_lmp_sres 
+5ef0 c007e065 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+5ef1 c00861af beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+5ef2 c008e1a5 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+5ef3 c003e055 beq lmp_detach ,send_lmp_detach 
+5ef4 c0156081 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+5ef5 c0056082 beq lmp_unit_key ,send_lmp_unit_key 
+5ef6 c015e0b5 beq lmp_sco_link_req ,send_lmp_sco_link_req 
+5ef7 c0035fb0 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+5ef8 c010e062 beq lmp_max_power ,send_lmp_nopayload_reply 
+5ef9 c016e0d2 beq lmp_max_slot ,send_lmp_max_slot 
+5efa c01760d7 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+5efb c0116062 beq lmp_min_power ,send_lmp_nopayload_reply 
+5efc c01660cb beq lmp_remove_sco_link_req ,send_lmp_remove_sco_link_req 
+5efd c01a6083 beq lmp_slot_offset ,send_lmp_slot_offset 
+5efe c009e098 beq lmp_switch_req ,send_lmp_switch_req 
+5eff c00be0a7 beq lmp_sniff_req ,send_lmp_sniff_req 
+5f00 c00961ac beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+5f01 c017e0ad beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+5f02 c00c60b2 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+5f03 c01ee119 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+5f04 c01f6125 beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+5f05 c01fe137 beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+5f06 c0206142 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+5f07 c020e157 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+5f08 c011e166 beq lmp_auto_rate ,send_lmp_auto_rate 
+5f09 c01de161 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+5f0a c002e167 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+5f0b c014e168 beq lmp_quality_of_service ,send_lmp_quality_of_service 
+5f0c c01c6169 beq lmp_test_activate ,send_lmp_test_activate 
+5f0d c01ce078 beq lmp_test_control ,send_lmp_test_control 
+
+send_lmp_error:
+5f0e 20203bf1 branch assert 
+5f0f 20600000 rtn 
+
+send_lmp_escape:
+5f10 c0465fc4 beq lmp_ext_esco_link_req ,send_lmpext_esco_req 
+5f11 c046dfe3 beq lmp_ext_remove_esco_req ,send_lmpext_remove_esco 
+5f12 c040df43 beq lmp_ext_accepted ,send_lmpext_accepted 
+5f13 c0425f76 beq lmp_ext_features_res ,send_lmpext_features_res 
+5f14 c0415f50 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+5f15 c041dfec beq lmp_ext_features_req ,send_lmpext_features_req 
+5f16 c045dff7 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+5f17 c04be051 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+5f18 c04cdf8c beq lmp_io_cap_req ,send_lmp_io_cap_req 
+5f19 c04d5f81 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+5f1a c04adf91 beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+5f1b c04b5f92 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+5f1c 20203bf1 branch assert 
+
+send_lmp_accepted:
+5f1d 18007e02 force 2 ,pdata 
+5f1e 204061b5 call msg_send_lmp 
+5f1f 68008049 fetch 1 ,mem_lmi_opcode 
+5f20 e0a08000 istore 1 ,contw 
+5f21 c015df5a beq lmp_sco_link_req ,send_lmp_accptsco 
+5f22 204061c4 call send_lmp_follow 
+5f23 68008049 fetch 1 ,mem_lmi_opcode 
+5f24 c0045f5d beq lmp_in_rand ,send_lmp_accepted_inrand 
+5f25 c007df61 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+5f26 c0085f6c beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+5f27 c00bdf33 beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+5f28 c019df6f beq lmp_host_connection_req ,send_lmp_accepted_connection 
+5f29 c0165f74 beq lmp_remove_sco_link_req ,send_lmp_accept_remove_sco_link_req 
+5f2a c020df75 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+5f2b c008df2d beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+5f2c 20600000 rtn 
+
+send_create_conn_start_l2cap_timer_sm:
+5f2d 68008055 fetch 1 ,mem_conn_sm 
+5f2e 207a0000 rtn blank 
+5f2f 7000551b jam conn_sm_wait_done ,mem_conn_sm 
+5f30 5800000c setarg timer_enpt_waite 
+5f31 d8e0000b arg enpt_delay_timer ,queue 
+5f32 20207e4c branch timer_init 
+
+send_lmp_accept_sniff_req:
+5f33 18000402 force 0x02 ,temp 
+5f34 20404907 call hci_send_mode_change 
+5f35 202037e1 branch sniff_init 
+
+send_lmp_not_accepted:
+5f36 18007e03 force 3 ,pdata 
+5f37 204061b5 call msg_send_lmp 
+5f38 68008049 fetch 1 ,mem_lmi_opcode 
+5f39 c005df3e beq lmp_au_rand ,send_not_accept_aurand 
+5f3a e0a08000 istore 1 ,contw 
+5f3b 6800804a fetch 1 ,mem_lmo_reason 
+5f3c e0a08000 istore 1 ,contw 
+5f3d 202061c4 branch send_lmp_follow 
+
+send_not_accept_aurand:
+5f3e e0a08000 istore 1 ,contw 
+5f3f 6800804a fetch 1 ,mem_lmo_reason 
+5f40 e0a08000 istore 1 ,contw 
+5f41 d8400451 arg mem_sres_tid ,temp 
+5f42 202061fb branch special_tid_store 
+
+send_lmpext_accepted:
+5f43 18000e04 force 4 ,queue 
+5f44 204061bd call send_lmpext 
+5f45 5800007f setarg lmp_escape 
+5f46 e0a08000 istore 1 ,contw 
+5f47 68008049 fetch 1 ,mem_lmi_opcode 
+5f48 793ffe07 set0 7 ,pdata 
+5f49 e0a08000 istore 1 ,contw 
+5f4a 68008049 fetch 1 ,mem_lmi_opcode 
+5f4b c0465f5a beq lmp_ext_esco_link_req ,send_lmp_accptsco 
+5f4c 204061c4 call send_lmp_follow 
+5f4d 68008049 fetch 1 ,mem_lmi_opcode 
+5f4e c046df74 beq lmp_ext_remove_esco_req ,send_lmp_accept_remove_sco_link_req 
+5f4f 20600000 rtn 
+
+send_lmpext_not_accepted:
+5f50 18000e05 force 5 ,queue 
+5f51 204061bd call send_lmpext 
+5f52 5800007f setarg lmp_escape 
+5f53 e0a08000 istore 1 ,contw 
+5f54 68008049 fetch 1 ,mem_lmi_opcode 
+5f55 793ffe07 set0 7 ,pdata 
+5f56 e0a08000 istore 1 ,contw 
+5f57 6800804a fetch 1 ,mem_lmo_reason 
+5f58 e0a08000 istore 1 ,contw 
+5f59 202061c4 branch send_lmp_follow 
+
+send_lmp_accptsco:
+5f5a 2040384a call play_sco 
+5f5b d8400452 arg mem_accptsco_tid ,temp 
+5f5c 202061fb branch special_tid_store 
+
+send_lmp_accepted_inrand:
+5f5d 20403507 call clear_linkkey 
+5f5e 2040620d call tid_check 
+5f5f 20608000 rtn true 
+5f60 20205ecb branch lmp_generate_key 
+
+send_lmp_accepted_enc_mode:
+5f61 6800804b fetch 1 ,mem_op 
+5f62 c282df68 bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+5f63 c4020000 rtnbit0 op_stop_enc 
+5f64 70007c12 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+5f65 793ffe04 set0 op_stop_enc ,pdata 
+5f66 20406205 call tid_reply 
+5f67 20205f6a branch send_lmp_accepted_enc_exit 
+
+send_lmp_accepted_enc_start:
+5f68 70007c10 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+5f69 793ffe05 set0 op_start_enc ,pdata 
+
+send_lmp_accepted_enc_exit:
+5f6a 6000804b store 1 ,mem_op 
+5f6b 20600000 rtn 
+
+send_lmp_accepted_enc_key:
+5f6c 20406216 call check_localsm 
+5f6d 2020decd branch lmp_start_encryption ,true 
+5f6e 20600000 rtn 
+
+send_lmp_accepted_connection:
+5f6f 6800844d fetch 1 ,mem_lmp_conn_state 
+5f70 79207e00 set1 received_conn_req ,pdata 
+5f71 6000844d store 1 ,mem_lmp_conn_state 
+5f72 700b7d01 jam bt_evt_bb_connected ,mem_fifo_temp 
+5f73 20207c27 branch ui_ipc_send_event 
+
+send_lmp_accept_remove_sco_link_req:
+5f74 20600000 rtn 
+
+send_lmp_accept_dhkey_check:
+5f75 20600000 rtn 
+
+send_lmpext_features_res:
+5f76 18000e0c force 12 ,queue 
+5f77 204061bd call send_lmpext 
+5f78 58000001 setarg 0x01 
+5f79 e0a08000 istore 1 ,contw 
+5f7a 6801044a fetch 2 ,mem_lmpext_ssp_enable 
+5f7b e0a10000 istore 2 ,contw 
+5f7c 58000000 setarg 0 
+5f7d e0a18000 istore 3 ,contw 
+5f7e 58000000 setarg 0x00 
+5f7f e0a20000 istore 4 ,contw 
+5f80 202061cd branch send_lmp_reply 
+
+send_lmpext_io_cap_res:
+5f81 18000e05 force 5 ,queue 
+5f82 204061bd call send_lmpext 
+5f83 6800c132 fetch 1 ,mem_device_option 
+5f84 c000df89 beq dvc_op_hci ,send_lmpext_io_cap_res_hci 
+5f85 58040003 setarg 0x040003 
+5f86 e0a18000 istore 3 ,contw 
+5f87 600187e6 store 3 ,mem_sp_iocap_local 
+5f88 202061cd branch send_lmp_reply 
+
+send_lmpext_io_cap_res_hci:
+5f89 680187e6 fetch 3 ,mem_sp_iocap_local 
+5f8a e0a18000 istore 3 ,contw 
+5f8b 202061cd branch send_lmp_reply 
+
+send_lmp_io_cap_req:
+5f8c 18000e05 force 5 ,queue 
+5f8d 204061bd call send_lmpext 
+5f8e 680187e6 fetch 3 ,mem_sp_iocap_local 
+5f8f e0a18000 istore 3 ,contw 
+5f90 202061cf branch send_lmp_request 
+
+send_lmpext_sniff_subrating_req:
+5f91 20600000 rtn 
+
+send_lmpext_sniff_subrating_res:
+5f92 18000e09 force 9 ,queue 
+5f93 204061bd call send_lmpext 
+5f94 68008097 fetch 1 ,mem_subsniff_rate 
+5f95 e0a08000 istore 1 ,contw 
+5f96 68010098 fetch 2 ,mem_subsniff_tcmax 
+5f97 e0a10000 istore 2 ,contw 
+5f98 68020093 fetch 4 ,mem_subsniff_instant 
+5f99 e0a20000 istore 4 ,contw 
+5f9a 202061cd branch send_lmp_reply 
+
+send_lmp_name_res:
+5f9b 18007e11 force 17 ,pdata 
+5f9c 204061b5 call msg_send_lmp 
+5f9d 68008049 fetch 1 ,mem_lmi_opcode 
+5f9e 1fe20400 copy pdata ,temp 
+5f9f c0005fa3 beq 0x00 ,send_lmp_name_res_offset_ok 
+5fa0 c0075fa3 beq 0x0e ,send_lmp_name_res_offset_ok 
+5fa1 c00e5fa3 beq 0x1c ,send_lmp_name_res_offset_ok 
+5fa2 20600000 rtn 
+
+send_lmp_name_res_offset_ok:
+5fa3 e0a08000 istore 1 ,contw 
+5fa4 6800c702 fetch 1 ,mem_local_name_length 
+5fa5 e0a08000 istore 1 ,contw 
+5fa6 1fe27200 copy pdata ,loopcnt 
+5fa7 58004703 setarg mem_local_name 
+5fa8 98408c00 iadd temp ,contr 
+5fa9 20407e45 call memcpy 
+5faa 202061cd branch send_lmp_reply 
+
+send_lmp_timing_accuracy_res:
+5fab 18007e03 force 3 ,pdata 
+5fac 204061b5 call msg_send_lmp 
+5fad 58000114 setarg 0x0114 
+5fae e0a10000 istore 2 ,contw 
+5faf 202061cd branch send_lmp_reply 
+
+send_lmp_clkoffset_res:
+5fb0 18007e03 force 3 ,pdata 
+5fb1 204061b5 call msg_send_lmp 
+5fb2 6802016f fetch 4 ,mem_clke_bt 
+5fb3 9c467e00 isub clkn_bt ,pdata 
+5fb4 2034dfb6 branch send_lmp_clkoffset_res_master ,master 
+5fb5 1fe67e00 sub pdata ,0 ,pdata 
+
+send_lmp_clkoffset_res_master:
+5fb6 1feb7e00 rshift2 pdata ,pdata 
+5fb7 793ffe0f set0 15 ,pdata 
+5fb8 e0a10000 istore 2 ,contw 
+5fb9 202061cd branch send_lmp_reply 
+
+send_lmp_version_res:
+5fba 18007e06 force 6 ,pdata 
+5fbb 204061b5 call msg_send_lmp 
+5fbc 6802c6fd fetch 5 ,mem_lmp_version 
+5fbd e0a28000 istore 5 ,contw 
+5fbe 202061cd branch send_lmp_reply 
+
+send_lmp_features_res:
+5fbf 18007e09 force 9 ,pdata 
+5fc0 204061b5 call msg_send_lmp 
+5fc1 68044138 fetch 8 ,mem_features 
+5fc2 e0a40000 istore 8 ,contw 
+5fc3 202061cd branch send_lmp_reply 
+
+send_lmpext_esco_req:
+5fc4 2034dfc6 branch send_lmpext_esco_req_master ,master 
+5fc5 20205fc7 branch send_lmpext_esco_req_slave 
+
+send_lmpext_esco_req_master:
+5fc6 7041f907 jam 0x07 ,mem_esco_addr 
+
+send_lmpext_esco_req_slave:
+5fc7 7000af00 jam 0 ,mem_esco_desco 
+5fc8 18000e10 force 16 ,queue 
+5fc9 204061bd call send_lmpext 
+5fca 680080ad fetch 1 ,mem_sco_handle 
+5fcb e0a08000 istore 1 ,contw 
+5fcc 6800c1f9 fetch 1 ,mem_esco_addr 
+5fcd e0a08000 istore 1 ,contw 
+5fce 58000000 setarg 0 
+5fcf e0a08000 istore 1 ,contw 
+5fd0 680080af fetch 1 ,mem_esco_desco 
+5fd1 e0a08000 istore 1 ,contw 
+5fd2 58000006 setarg 6 
+5fd3 e0a08000 istore 1 ,contw 
+5fd4 58000002 setarg 2 
+5fd5 e0a08000 istore 1 ,contw 
+5fd6 58000007 setarg 7 
+5fd7 e0a08000 istore 1 ,contw 
+5fd8 e0a08000 istore 1 ,contw 
+5fd9 5800001e setarg 30 
+5fda e0a10000 istore 2 ,contw 
+5fdb e0a10000 istore 2 ,contw 
+5fdc 680080ab fetch 1 ,mem_air_mode 
+5fdd e0a08000 istore 1 ,contw 
+5fde 680080b1 fetch 1 ,mem_neogotiation_state 
+5fdf e0a08000 istore 1 ,contw 
+5fe0 243a61cd nbranch send_lmp_reply ,blank 
+5fe1 2034e1cd branch send_lmp_reply ,master 
+5fe2 202061cf branch send_lmp_request 
+
+send_lmpext_remove_esco:
+5fe3 18000e04 force 4 ,queue 
+5fe4 204061bd call send_lmpext 
+5fe5 680080ad fetch 1 ,mem_sco_handle 
+5fe6 e0a08000 istore 1 ,contw 
+5fe7 68008446 fetch 1 ,mem_disconn_reason_send 
+5fe8 e0a08000 istore 1 ,contw 
+5fe9 680080b4 fetch 1 ,mem_esco_saved_arq 
+5fea 60008047 store 1 ,mem_arq 
+5feb 202061cf branch send_lmp_request 
+
+send_lmpext_features_req:
+5fec 18000e0c force 12 ,queue 
+5fed 204061bd call send_lmpext 
+5fee 58000001 setarg 0x01 
+5fef e0a08000 istore 1 ,contw 
+5ff0 6801044a fetch 2 ,mem_lmpext_ssp_enable 
+5ff1 e0a10000 istore 2 ,contw 
+5ff2 58000000 setarg 0 
+5ff3 e0a18000 istore 3 ,contw 
+5ff4 58000000 setarg 0x00 
+5ff5 e0a20000 istore 4 ,contw 
+5ff6 202061cf branch send_lmp_request 
+
+send_lmpext_packet_type_table_req:
+5ff7 18000e03 force 3 ,queue 
+5ff8 204061bd call send_lmpext 
+5ff9 6800c1fb fetch 1 ,mem_ptt 
+5ffa e0a08000 istore 1 ,contw 
+5ffb 78547c00 disable user 
+5ffc 204061cf call send_lmp_request 
+5ffd 24740000 nrtn user 
+5ffe 24748000 nrtn master 
+5fff 6800c179 fetch 1 ,mem_afh_cfg 
+6000 c4000000 rtnbit0 afh_cfg_on 
+6001 2040600f call afh_init 
+6002 20206019 branch afh_open_all_channels 
+
+ssp_enable:
+6003 6800c13e fetch 1 ,mem_features + 6 
+6004 79207e03 set1 param_featrue_ssp ,pdata 
+6005 6000c13e store 1 ,mem_features + 6 
+6006 58000101 setarg param_lmpext_ssp_enable 
+6007 6001044a store 2 ,mem_lmpext_ssp_enable 
+6008 20600000 rtn 
+
+ssp_disable:
+6009 6800c13e fetch 1 ,mem_features + 6 
+600a 793ffe03 set0 param_featrue_ssp ,pdata 
+600b 6000c13e store 1 ,mem_features + 6 
+600c 58000000 setarg 0 
+600d 6001044a store 2 ,mem_lmpext_ssp_enable 
+600e 20600000 rtn 
+
+afh_init:
+600f 70417903 jam 0x3 ,mem_afh_cfg 
+6010 58000000 setarg 0 
+6011 600241e3 store 4 ,mem_afh_timer 
+6012 d8a0417b arg mem_afh_map_lo ,contw 
+6013 20406023 call afh_reset_map 
+6014 d8a04188 arg mem_afh_map_new ,contw 
+6015 20406023 call afh_reset_map 
+6016 d8a041e7 arg mem_afh_classify_channel_map ,contw 
+6017 20406023 call afh_reset_map 
+6018 2020602a branch afh_clear_error_counter 
+
+afh_open_all_channels:
+6019 d8a04188 arg mem_afh_map_new ,contw 
+601a 20406023 call afh_reset_map 
+601b 2040602a call afh_clear_error_counter 
+601c 2020602d branch afh_set_send_flag 
+
+afh_open_classify_map:
+601d 6802c1e7 fetch 5 ,mem_afh_classify_channel_map 
+601e 6002c188 store 5 ,mem_afh_map_new 
+601f e8c28000 ifetch 5 ,contr 
+6020 e0a28000 istore 5 ,contw 
+6021 2040602a call afh_clear_error_counter 
+6022 2020602d branch afh_set_send_flag 
+
+afh_reset_map:
+6023 58ffffff setarg 0xffffff 
+6024 e0a18000 istore 3 ,contw 
+6025 e0a18000 istore 3 ,contw 
+6026 e0a18000 istore 3 ,contw 
+6027 5800007f setarg 0x7f 
+6028 e0a08000 istore 1 ,contw 
+6029 20600000 rtn 
+
+afh_clear_error_counter:
+602a 58000000 setarg 0 
+602b 60014177 store 2 ,mem_afh_error_total 
+602c 20600000 rtn 
+
+afh_set_send_flag:
+602d 6800c179 fetch 1 ,mem_afh_cfg 
+602e 79207e02 set1 send_lmp_set_afh ,pdata 
+602f 6000c179 store 1 ,mem_afh_cfg 
+6030 20600000 rtn 
+
+send_set_afh:
+6031 24748000 nrtn master 
+6032 18007e10 force 16 ,pdata 
+6033 204061b5 call msg_send_lmp 
+6034 1c427e00 deposit clkn_bt 
+6035 d84001dc arg 476 ,temp 
+6036 9840fe00 iadd temp ,pdata 
+6037 1fe37e00 rshift pdata ,pdata 
+6038 1fe0fe01 increase 1 ,pdata 
+6039 793ffe00 set0 0 ,pdata 
+603a e0a20000 istore 4 ,contw 
+603b 1fe20400 copy pdata ,temp 
+603c 58000001 setarg 1 
+603d e0a08000 istore 1 ,contw 
+603e 6802c188 fetch 5 ,mem_afh_map_new 
+603f e0a28000 istore 5 ,contw 
+6040 e8c28000 ifetch 5 ,contr 
+6041 e0a28000 istore 5 ,contw 
+6042 18438400 lshift temp ,temp 
+6043 600a4173 storet 4 ,mem_afh_instant 
+6044 204061cf call send_lmp_request 
+6045 68008031 fetch 1 ,mem_mode 
+6046 79207e03 set1 afh_change ,pdata 
+6047 60008031 store 1 ,mem_mode 
+6048 70417a01 jam 1 ,mem_afh_new_mod 
+6049 68024173 fetch 4 ,mem_afh_instant 
+604a d842ee00 arg timer_one_minute ,temp 
+604b 9840fe00 iadd temp ,pdata 
+604c 600241e3 store 4 ,mem_afh_timer 
+604d 6800c179 fetch 1 ,mem_afh_cfg 
+604e c3820000 rtnbit1 afh_cfg_master_sent_req 
+604f 70007c90 jam lmp_ext_chn_classification_req ,mem_lmo_opcode2 
+6050 20600000 rtn 
+
+send_lmpext_pause_encryption_req:
+6051 18000e02 force 2 ,queue 
+6052 204061bd call send_lmpext 
+6053 2434e1cd nbranch send_lmp_reply ,master 
+6054 202061cf branch send_lmp_request 
+
+send_lmp_detach:
+6055 18007e02 force 2 ,pdata 
+6056 204061b5 call msg_send_lmp 
+6057 68008446 fetch 1 ,mem_disconn_reason_send 
+6058 e0a08000 istore 1 ,contw 
+6059 204061cf call send_lmp_request 
+
+prepare_disconnect:
+605a 6800804b fetch 1 ,mem_op 
+605b 79207e03 set1 op_disconn ,pdata 
+605c 6000804b store 1 ,mem_op 
+605d 70007232 jam 50 ,mem_conn_timer 
+605e 20600000 rtn 
+
+send_lmp_no_payload:
+605f 18007e01 force 1 ,pdata 
+6060 204061b5 call msg_send_lmp 
+6061 202061cf branch send_lmp_request 
+
+send_lmp_nopayload_reply:
+6062 18007e01 force 1 ,pdata 
+6063 204061b5 call msg_send_lmp 
+6064 202061cd branch send_lmp_reply 
+
+send_lmp_encryption_mode_req:
+6065 18007e02 force 2 ,pdata 
+6066 204061b5 call msg_send_lmp 
+6067 6800804c fetch 1 ,mem_state_map 
+6068 2fec0002 isolate0 smap_encryption ,pdata 
+6069 7920fe00 setflag true ,0 ,pdata 
+606a 1fe17e01 and_into 1 ,pdata 
+606b e0a08000 istore 1 ,contw 
+606c 202061cf branch send_lmp_request 
+
+send_lmp_superto:
+606d 18007e03 force 3 ,pdata 
+606e 204061b5 call msg_send_lmp 
+606f 68010051 fetch 2 ,mem_supervision_to 
+6070 e0a10000 istore 2 ,contw 
+6071 202061cf branch send_lmp_request 
+
+send_lmp_name_req:
+6072 700072fa jam 250 ,mem_conn_timer 
+6073 18007e02 force 2 ,pdata 
+6074 204061b5 call msg_send_lmp 
+6075 68008053 fetch 1 ,mem_name_offset 
+6076 e0a08000 istore 1 ,contw 
+6077 202061cf branch send_lmp_request 
+
+send_lmp_test_control:
+6078 18007e0a force 10 ,pdata 
+6079 204061b5 call msg_send_lmp 
+607a d8c00154 arg mem_temp_payload ,contr 
+607b 18007209 force 9 ,loopcnt 
+
+send_lmp_test_control_loop:
+607c e8c08000 ifetch 1 ,contr 
+607d 1fe2fe55 xor_into 0x55 ,pdata 
+607e e0a08000 istore 1 ,contw 
+607f c200607c loop send_lmp_test_control_loop 
+6080 202061cf branch send_lmp_request 
+
+send_lmp_quality_of_service_req:
+6081 202061cf branch send_lmp_request 
+
+send_lmp_unit_key:
+6082 202061cf branch send_lmp_request 
+
+send_lmp_slot_offset:
+6083 20748000 rtn master 
+6084 20403997 call calc_slot_offset 
+6085 18007e09 force 9 ,pdata 
+6086 204061b5 call msg_send_lmp 
+6087 6801017b fetch 2 ,mem_slot_offset 
+6088 e0a10000 istore 2 ,contw 
+6089 6801c140 fetch 3 ,mem_lap 
+608a e0a18000 istore 3 ,contw 
+608b 6800c143 fetch 1 ,mem_uap 
+608c e0a08000 istore 1 ,contw 
+608d 68014144 fetch 2 ,mem_nap 
+608e e0a10000 istore 2 ,contw 
+608f c581e094 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+6090 793f8003 set0 mark_switch_initiated ,mark 
+6091 204061cf call send_lmp_request 
+6092 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+6093 20600000 rtn 
+
+send_lmp_slot_offset_reply:
+6094 204061cd call send_lmp_reply 
+6095 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+6096 70007d13 jam lmp_switch_req ,mem_lmi_opcode2 
+6097 20600000 rtn 
+
+send_lmp_switch_req:
+6098 d8400200 arg 0x200 ,temp 
+6099 2034e09c branch switch_on_native ,master 
+609a 1d027e00 deposit clke_bt 
+609b 2020609d branch switch_slack 
+
+switch_on_native:
+609c 1c427e00 deposit clkn_bt 
+
+switch_slack:
+609d 1c227e00 deposit bt_clk 
+609e 9840fe00 iadd temp ,pdata 
+609f 1fe17ffc and_into 0x1fc ,pdata 
+60a0 60020034 store 4 ,mem_sniff_anchor 
+60a1 18007e05 force 5 ,pdata 
+60a2 204061b5 call msg_send_lmp 
+60a3 68020034 fetch 4 ,mem_sniff_anchor 
+60a4 1fe37e00 rshift pdata ,pdata 
+60a5 e0a20000 istore 4 ,contw 
+60a6 202061cf branch send_lmp_request 
+
+send_lmp_sniff_req:
+60a7 18007e0a force 10 ,pdata 
+60a8 204061b5 call msg_send_lmp 
+60a9 d8c00455 arg mem_sniff_payload ,contr 
+60aa e8c48000 ifetch 9 ,contr 
+60ab e0a48000 istore 9 ,contw 
+60ac 202061cf branch send_lmp_request 
+
+send_lmp_timing_accuracy_req:
+60ad 18007e03 force 3 ,pdata 
+60ae 204061b5 call msg_send_lmp 
+60af 58000114 setarg 0x0114 
+60b0 e0a10000 istore 2 ,contw 
+60b1 202061cf branch send_lmp_request 
+
+send_lmp_unsniff_req:
+60b2 18007e01 force 1 ,pdata 
+60b3 204061b5 call msg_send_lmp 
+60b4 202061cf branch send_lmp_request 
+
+send_lmp_sco_link_req:
+60b5 2034e0ba branch send_lmp_sco_link_master ,master 
+60b6 7000ad00 jam 0x00 ,mem_sco_handle 
+60b7 68008031 fetch 1 ,mem_mode 
+60b8 79207e04 set1 send_sco_when_slave ,pdata 
+60b9 60008031 store 1 ,mem_mode 
+
+send_lmp_sco_link_master:
+60ba 7000af00 jam 0 ,mem_esco_desco 
+60bb 18007e07 force 7 ,pdata 
+60bc 204061b5 call msg_send_lmp 
+60bd 680080ad fetch 1 ,mem_sco_handle 
+60be e0a08000 istore 1 ,contw 
+60bf 58000000 setarg 0x00 
+60c0 e0a08000 istore 1 ,contw 
+60c1 680080af fetch 1 ,mem_esco_desco 
+60c2 e0a08000 istore 1 ,contw 
+60c3 58000006 setarg 0x06 
+60c4 e0a08000 istore 1 ,contw 
+60c5 58000002 setarg 0x02 
+60c6 e0a08000 istore 1 ,contw 
+60c7 680080ab fetch 1 ,mem_air_mode 
+60c8 e0a08000 istore 1 ,contw 
+60c9 2034e1cd branch send_lmp_reply ,master 
+60ca 202061ca branch send_lmp_tid 
+
+send_lmp_remove_sco_link_req:
+60cb 18007e03 force 3 ,pdata 
+60cc 204061b5 call msg_send_lmp 
+60cd 680080ad fetch 1 ,mem_sco_handle 
+60ce e0a08000 istore 1 ,contw 
+60cf 18007e13 force other_end_terminated ,pdata 
+60d0 e0a08000 istore 1 ,contw 
+60d1 202061cf branch send_lmp_request 
+
+send_lmp_max_slot:
+60d2 18007e02 force 2 ,pdata 
+60d3 204061b5 call msg_send_lmp 
+60d4 6800c171 fetch 1 ,mem_max_slot 
+60d5 e0a08000 istore 1 ,contw 
+60d6 202061cf branch send_lmp_request 
+
+send_lmp_max_slot_req:
+60d7 18007e02 force 2 ,pdata 
+60d8 204061b5 call msg_send_lmp 
+60d9 58000005 setarg 0x05 
+60da e0a08000 istore 1 ,contw 
+60db 202061cf branch send_lmp_request 
+
+send_lmp_setup_complete:
+60dc 68008030 fetch 1 ,mem_state 
+60dd 79207e04 set1 state_conn_comp ,pdata 
+60de 60008030 store 1 ,mem_state 
+60df 1c427e00 copy clkn_bt ,pdata 
+60e0 60020465 store 4 ,mem_aurand_send_delay_time 
+60e1 6800844d fetch 1 ,mem_lmp_conn_state 
+60e2 c281e0eb bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+60e3 79207e03 set1 sent_setup_complete ,pdata 
+60e4 6000844d store 1 ,mem_lmp_conn_state 
+60e5 700b7d05 jam bt_evt_setup_complete ,mem_fifo_temp 
+60e6 20407c27 call ui_ipc_send_event 
+60e7 20404825 call hci_send_connection_complete 
+60e8 18007e01 force 1 ,pdata 
+60e9 204061b5 call msg_send_lmp 
+60ea 202061cf branch send_lmp_request 
+
+send_lmp_setup_complete_has_sent:
+60eb 70004800 jam 0 ,mem_lmp_to_send 
+60ec 20600000 rtn 
+
+send_lmp_version_req:
+60ed 18007e06 force 6 ,pdata 
+60ee 204061b5 call msg_send_lmp 
+60ef 6802c6fd fetch 5 ,mem_lmp_version 
+60f0 e0a28000 istore 5 ,contw 
+60f1 202061cf branch send_lmp_request 
+
+send_lmp_features_req:
+60f2 18007e09 force 9 ,pdata 
+60f3 204061b5 call msg_send_lmp 
+60f4 68044138 fetch 8 ,mem_features 
+60f5 e0a40000 istore 8 ,contw 
+60f6 202061cf branch send_lmp_request 
+
+sp_master_send_io_cap_get:
+60f7 2040481b call hci_send_io_cap_req_event 
+60f8 6800c132 fetch 1 ,mem_device_option 
+60f9 c000e0fd beq dvc_op_hci ,sp_master_send_io_cap_get_hci 
+60fa 7007dd01 jam sp_flag_commit ,mem_master_sp_flag 
+60fb 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+60fc c1808000 rtnne sp_key_valid 
+
+sp_master_send_io_cap_get_hci:
+60fd 7007db13 jam sp_master_stat_start_done ,mem_master_sp_state 
+60fe 20600000 rtn 
+
+sp_master_send_io_cap_send:
+60ff 20406209 call tid_initiate 
+6100 70007c99 jam lmp_io_cap_req ,mem_lmo_opcode2 
+6101 7007db03 jam sp_stat_key_send ,mem_master_sp_state 
+6102 20600000 rtn 
+
+sp_master_send_lmp_encapsulated_header:
+6103 20406209 call tid_initiate 
+6104 70007c3d jam lmp_encapsulated_header ,mem_lmo_opcode2 
+6105 7007db07 jam sp_stat_random_send ,mem_master_sp_state 
+6106 20600000 rtn 
+
+sp_master_commitment_compare:
+6107 da200868 arg mem_sp_calc_result_high ,rega 
+6108 da400888 arg mem_sp_confirm_remote ,regb 
+6109 df200010 arg 16 ,loopcnt 
+610a 20407f25 call string_compare 
+610b 2022e111 branch sp_master_commitment_compare_success ,zero 
+610c 7007db00 jam sp_stat_null ,mem_master_sp_state 
+610d 20407811 call master_clear_mem_master_sp_flag 
+610e 70007e24 jam pdu_not_allowed ,mem_lmo_reason2 
+610f 70007d40 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+6110 20205bc9 branch reject_lmp_packet 
+
+sp_master_commitment_compare_success:
+6111 7007db0a jam sp_stat_confirm_calc ,mem_master_sp_state 
+6112 2040780f call master_set_mem_master_sp_flag 
+6113 70007d40 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+6114 20205cf5 branch accept_lmp_msg 
+
+sp_master_send_lmp_simple_pairing_number:
+6115 70007c40 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+6116 20600000 rtn 
+
+sp_send_lmp_encapsulated_header:
+6117 70007c3d jam lmp_encapsulated_header ,mem_lmo_opcode2 
+6118 20600000 rtn 
+
+send_lmp_encapsulated_header:
+6119 7007e200 jam 0 ,mem_sp_local_key_send_count 
+611a 18007e04 force 4 ,pdata 
+611b 204061b5 call msg_send_lmp 
+611c 18007e01 force encapsulated_major_type_p192 ,pdata 
+611d e0a08000 istore 1 ,contw 
+611e 18007e01 force encapsulated_minor_type_p192 ,pdata 
+611f e0a08000 istore 1 ,contw 
+6120 18007e30 force encapsulated_len_p192 ,pdata 
+6121 e0a08000 istore 1 ,contw 
+6122 20406216 call check_localsm 
+6123 2020e1cf branch send_lmp_request ,true 
+6124 202061cd branch send_lmp_reply 
+
+send_lmp_encapsulated_payload:
+6125 18007e11 force 17 ,pdata 
+6126 204061b5 call msg_send_lmp 
+6127 680087e2 fetch 1 ,mem_sp_local_key_send_count 
+6128 d8c047ac arg mem_sp_pubkey_local ,contr 
+6129 98c08c00 iadd contr ,contr 
+612a e8c40000 ifetch 8 ,contr 
+612b e0a40000 istore 8 ,contw 
+612c e8c40000 ifetch 8 ,contr 
+612d e0a40000 istore 8 ,contw 
+612e 680087e2 fetch 1 ,mem_sp_local_key_send_count 
+612f 1fe0fe10 increase 16 ,pdata 
+6130 600087e2 store 1 ,mem_sp_local_key_send_count 
+6131 20406216 call check_localsm 
+6132 2020e1cf branch send_lmp_request ,true 
+6133 202061cd branch send_lmp_reply 
+
+sp_send_lmp_simple_pairing_comfirm:
+6134 7007da06 jam sp_stat_random_recv ,mem_sp_state 
+6135 70007c3f jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+6136 20600000 rtn 
+
+send_lmp_simple_pairing_comfirm:
+6137 18007e11 force 17 ,pdata 
+6138 204061b5 call msg_send_lmp 
+6139 d8c00868 arg mem_sp_calc_result_high ,contr 
+613a e8c40000 ifetch 8 ,contr 
+613b e0a40000 istore 8 ,contw 
+613c e8c40000 ifetch 8 ,contr 
+613d e0a40000 istore 8 ,contw 
+613e 202061cd branch send_lmp_reply 
+
+sp_send_lmp_simple_pairing_number:
+613f 204061d9 call lmo_fifo_process 
+6140 70007c40 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+6141 20600000 rtn 
+
+send_lmp_simple_pairing_number:
+6142 20406216 call check_localsm 
+6143 2040f74d call sp_local_random_key_generator ,true 
+6144 18007e11 force 17 ,pdata 
+6145 204061b5 call msg_send_lmp 
+6146 d8c00838 arg mem_sp_random_local ,contr 
+6147 e8c40000 ifetch 8 ,contr 
+6148 e0a40000 istore 8 ,contw 
+6149 e8c40000 ifetch 8 ,contr 
+614a e0a40000 istore 8 ,contw 
+614b 20406216 call check_localsm 
+614c 2420e1cd nbranch send_lmp_reply ,true 
+614d 2020e1cf branch send_lmp_request ,true 
+
+master_sp_sm_end:
+614e 7007db0f jam sp_stat_done ,mem_master_sp_state 
+
+sp_aurand_send:
+614f 20406209 call tid_initiate 
+6150 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+6151 20406221 call check_localsm_master 
+6152 2020f785 branch sp_master_key_prarm_push ,true 
+6153 2020778f branch sp_link_key_prarm_push 
+
+master_sp_send_lmp_dhkey_check:
+6154 20406205 call tid_reply 
+
+sp_send_lmp_dhkey_check:
+6155 70007c41 jam lmp_dhkey_check ,mem_lmo_opcode2 
+6156 20600000 rtn 
+
+send_lmp_dhkey_check:
+6157 18007e11 force 17 ,pdata 
+6158 204061b5 call msg_send_lmp 
+6159 d8c00868 arg mem_sp_calc_result_high ,contr 
+615a e8c40000 ifetch 8 ,contr 
+615b e0a40000 istore 8 ,contw 
+615c e8c40000 ifetch 8 ,contr 
+615d e0a40000 istore 8 ,contw 
+615e 20406216 call check_localsm 
+615f 2420e1cd nbranch send_lmp_reply ,true 
+6160 2020e1cf branch send_lmp_request ,true 
+
+send_lmp_enc_key_size_mask_res:
+6161 18007e03 force 3 ,pdata 
+6162 204061b5 call msg_send_lmp 
+6163 5800fffe setarg 0xfffe 
+6164 e0a10000 istore 2 ,contw 
+6165 202061cd branch send_lmp_reply 
+
+send_lmp_auto_rate:
+6166 202061cf branch send_lmp_request 
+
+send_lmp_clkoffset_req:
+6167 202061cf branch send_lmp_request 
+
+send_lmp_quality_of_service:
+6168 202061cf branch send_lmp_request 
+
+send_lmp_test_activate:
+6169 202061cf branch send_lmp_request 
+
+send_lmp_comb_key:
+616a 20406225 call generate_random_number 
+616b da204140 arg mem_lap ,rega 
+616c 2040622b call generate_linkkey 
+616d 18007e11 force 17 ,pdata 
+616e 204061b5 call msg_send_lmp 
+616f da20050f arg mem_kinit ,rega 
+6170 da4004ef arg mem_random_number ,regb 
+6171 20407467 call xor16 
+6172 2434e1c4 nbranch send_lmp_follow ,master 
+6173 202061ca branch send_lmp_tid 
+
+send_lmp_inrand:
+6174 20406225 call generate_random_number 
+6175 da200040 arg mem_plap ,rega 
+6176 2040736a call generate_kinit 
+
+send_lmp_rand:
+6177 18007e11 force 17 ,pdata 
+6178 204061b5 call msg_send_lmp 
+6179 d8c004ef arg mem_random_number ,contr 
+617a 20407e35 call memcpy16 
+617b 68008055 fetch 1 ,mem_conn_sm 
+617c c00ce1cf beq conn_sm_auth_wait ,send_lmp_request 
+617d c00c61cf beq conn_sm_pairing_wait ,send_lmp_request 
+617e 202061ca branch send_lmp_tid 
+
+send_lmp_aurand:
+617f 680087e1 fetch 1 ,mem_pairing_auth 
+6180 203a6185 branch send_lmp_aurand_notpairing ,blank 
+6181 20406216 call check_localsm 
+6182 2040e209 call tid_initiate ,true 
+6183 2440e205 ncall tid_reply ,true 
+6184 20206186 branch send_lmp_aurand_common 
+
+send_lmp_aurand_notpairing:
+6185 20406209 call tid_initiate 
+
+send_lmp_aurand_common:
+6186 20406225 call generate_random_number 
+6187 20206177 branch send_lmp_rand 
+
+send_lmp_sres:
+6188 da204140 arg mem_lap ,rega 
+6189 2040739d call function_e1 
+618a 18007e05 force 5 ,pdata 
+618b 204061b5 call msg_send_lmp 
+618c 6802051f fetch 4 ,mem_input_store 
+618d e0a20000 istore 4 ,contw 
+618e d8400451 arg mem_sres_tid ,temp 
+618f 204061fb call special_tid_store 
+6190 2040749b call copy_aco 
+6191 20406216 call check_localsm 
+6192 2020e197 branch send_lmp_sres_master ,true 
+6193 70045401 jam done_encryp ,mem_wait_encryption 
+6194 680087e1 fetch 1 ,mem_pairing_auth 
+6195 207a0000 rtn blank 
+6196 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+
+send_lmp_sres_master:
+6197 6800c25e fetch 1 ,mem_link_key_exists 
+6198 207a0000 rtn blank 
+6199 20406216 call check_localsm 
+619a 2040c852 call hci_send_linkkey_notification ,true 
+
+send_lmp_sres_startenc:
+619b 20406216 call check_localsm 
+619c 2420e1a1 nbranch send_lmp_sres_startenc_slave ,true 
+619d 68008453 fetch 1 ,mem_auth_enable 
+619e 207a0000 rtn blank 
+619f 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+61a0 20600000 rtn 
+
+send_lmp_sres_startenc_slave:
+61a1 c6908000 rtnmark0 mark_slave_in_rand_accepted 
+61a2 793f8021 set0 mark_slave_in_rand_accepted ,mark 
+61a3 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+61a4 20600000 rtn 
+
+send_lmp_start_encryption:
+61a5 20406225 call generate_random_number 
+61a6 204073a0 call function_e3 
+61a7 18007e11 force 17 ,pdata 
+61a8 204061b5 call msg_send_lmp 
+61a9 d8c004ef arg mem_random_number ,contr 
+61aa 20407e35 call memcpy16 
+61ab 202061ca branch send_lmp_tid 
+
+send_lmp_stop_encryption_req:
+61ac 18007e01 force 1 ,pdata 
+61ad 204061b5 call msg_send_lmp 
+61ae 202061ca branch send_lmp_tid 
+
+send_lmp_encryption_key_size_req:
+61af 18007e02 force 2 ,pdata 
+61b0 204061b5 call msg_send_lmp 
+61b1 18007e10 force 16 ,pdata 
+61b2 e0a08000 istore 1 ,contw 
+61b3 60008054 store 1 ,mem_key_size 
+61b4 202061ca branch send_lmp_tid 
+
+msg_send_lmp:
+61b5 1fe9fe00 lshift3 pdata ,pdata 
+61b6 1fe1fe07 or_into 0x07 ,pdata 
+61b7 60008432 store 1 ,mem_lmo_header_length 
+61b8 df200011 arg 17 ,loopcnt 
+61b9 d8a00434 arg mem_lmo_payload ,contw 
+61ba 20407e3f call clear_mem 
+61bb d8a00434 arg mem_lmo_payload ,contw 
+61bc 20600000 rtn 
+
+send_lmpext:
+61bd 1fe1227f and pdata ,0x7f ,rega 
+61be 7000487f jam lmp_escape ,mem_lmp_to_send 
+61bf 18e27e00 deposit queue 
+61c0 204061b5 call msg_send_lmp 
+61c1 1a227e00 deposit rega 
+61c2 e0a08000 istore 1 ,contw 
+61c3 20600000 rtn 
+
+send_lmp_follow:
+61c4 68008048 fetch 1 ,mem_lmp_to_send 
+61c5 1fe3fe00 lshift pdata ,pdata 
+61c6 6808804c fetcht 1 ,mem_state_map 
+61c7 284ffe01 isolate1 smap_lmptid ,temp 
+61c8 7920fe00 setflag true ,0 ,pdata 
+61c9 202061d4 branch send_lmp_exit 
+
+send_lmp_tid:
+61ca 6808804c fetcht 1 ,mem_state_map 
+61cb 18410401 and_into 1 ,temp 
+61cc 202061d0 branch send_lmp_end 
+
+send_lmp_reply:
+61cd 18000400 force 0 ,temp 
+61ce 202061d0 branch send_lmp_end 
+
+send_lmp_request:
+61cf 18000401 force 1 ,temp 
+
+send_lmp_end:
+61d0 68008048 fetch 1 ,mem_lmp_to_send 
+61d1 1fe3fe00 lshift pdata ,pdata 
+61d2 7934fe00 setflag master ,0 ,pdata 
+61d3 9842fe00 ixor temp ,pdata 
+
+send_lmp_exit:
+61d4 60008433 store 1 ,mem_lmo_header_opcode 
+61d5 70004800 jam 0 ,mem_lmp_to_send 
+61d6 204061e0 call lmo_fifo_process_lmo0empty 
+61d7 78347c00 enable user 
+61d8 20600000 rtn 
+
+lmo_fifo_process:
+61d9 79200025 set1 mark_ext_patch ,mark 
+61da 44f2403c bpatch patch3c_4 ,mem_patch3c 
+61db 68008048 fetch 1 ,mem_lmp_to_send 
+61dc 203a61e0 branch lmo_fifo_process_lmo0empty ,blank 
+61dd 68008078 fetch 1 ,mem_lmo_opcode1 
+61de 247a0000 nrtn blank 
+61df 202061ea branch lmo_fifo_process_lmo2to1 
+
+lmo_fifo_process_lmo0empty:
+61e0 68008078 fetch 1 ,mem_lmo_opcode1 
+61e1 203a61f0 branch lmo_fifo_process_lmo1_empty ,blank 
+61e2 68018078 fetch 3 ,mem_lmo_opcode1 
+61e3 60018048 store 3 ,mem_lmp_to_send 
+61e4 6808807b fetcht 1 ,mem_lmo_tid1 
+61e5 6800804c fetch 1 ,mem_state_map 
+61e6 793ffe01 set0 smap_lmptid ,pdata 
+61e7 9841fe00 ior temp ,pdata 
+61e8 6000804c store 1 ,mem_state_map 
+61e9 70007800 jam 0 ,mem_lmo_opcode1 
+
+lmo_fifo_process_lmo2to1:
+61ea 6800807c fetch 1 ,mem_lmo_opcode2 
+61eb 207a0000 rtn blank 
+61ec 6802007c fetch 4 ,mem_lmo_opcode2 
+61ed 60020078 store 4 ,mem_lmo_opcode1 
+61ee 70007c00 jam 0 ,mem_lmo_opcode2 
+61ef 20600000 rtn 
+
+lmo_fifo_process_lmo1_empty:
+61f0 6800807c fetch 1 ,mem_lmo_opcode2 
+61f1 207a0000 rtn blank 
+61f2 6801807c fetch 3 ,mem_lmo_opcode2 
+61f3 60018048 store 3 ,mem_lmp_to_send 
+61f4 6808807f fetcht 1 ,mem_lmo_tid2 
+61f5 6800804c fetch 1 ,mem_state_map 
+61f6 793ffe01 set0 smap_lmptid ,pdata 
+61f7 9841fe00 ior temp ,pdata 
+61f8 6000804c store 1 ,mem_state_map 
+61f9 70007c00 jam 0 ,mem_lmo_opcode2 
+61fa 20600000 rtn 
+
+special_tid_store:
+61fb 79200025 set1 mark_ext_patch ,mark 
+61fc 44f2c03c bpatch patch3c_5 ,mem_patch3c 
+61fd 6800804c fetch 1 ,mem_state_map 
+61fe 1fe22600 copy pdata ,regc 
+61ff e8408000 ifetch 1 ,temp 
+6200 20405d12 call pop_tid_follow 
+6201 204061c4 call send_lmp_follow 
+6202 1a627e00 copy regc ,pdata 
+6203 6000804c store 1 ,mem_state_map 
+6204 20600000 rtn 
+
+tid_reply:
+6205 6808804c fetcht 1 ,mem_state_map 
+6206 793f8400 set0 smap_lmptidinit ,temp 
+6207 6008804c storet 1 ,mem_state_map 
+6208 20600000 rtn 
+
+tid_initiate:
+6209 6808804c fetcht 1 ,mem_state_map 
+620a 79200400 set1 smap_lmptidinit ,temp 
+620b 6008804c storet 1 ,mem_state_map 
+620c 20600000 rtn 
+
+tid_check:
+620d 7d34fe01 nsetflag master ,smap_lmptid ,pdata 
+620e 6808804c fetcht 1 ,mem_state_map 
+620f 9842fe00 ixor temp ,pdata 
+6210 2feffe01 isolate1 smap_lmptid ,pdata 
+6211 20600000 rtn 
+
+tid_set_reply:
+6212 6800804c fetch 1 ,mem_state_map 
+6213 7934fe01 setflag master ,smap_lmptid ,pdata 
+6214 6000804c store 1 ,mem_state_map 
+6215 20600000 rtn 
+
+check_localsm:
+6216 680087e0 fetch 1 ,mem_sp_localsm 
+6217 2fe0fe01 compare local_statemachine ,pdata ,0x7f 
+6218 20600000 rtn 
+
+setlocalsm_master:
+6219 680087e0 fetch 1 ,mem_sp_localsm 
+621a 79207e07 set1 7 ,pdata 
+621b 600087e0 store 1 ,mem_sp_localsm 
+621c 20600000 rtn 
+
+setlocalsm_slave:
+621d 680087e0 fetch 1 ,mem_sp_localsm 
+621e 793ffe07 set0 7 ,pdata 
+621f 600087e0 store 1 ,mem_sp_localsm 
+6220 20600000 rtn 
+
+check_localsm_master:
+6221 680087e0 fetch 1 ,mem_sp_localsm 
+6222 2feffe07 isolate1 7 ,pdata 
+6223 600087e0 store 1 ,mem_sp_localsm 
+6224 20600000 rtn 
+
+generate_random_number:
+6225 d8a004ef arg mem_random_number ,contw 
+
+generate_random:
+6226 18007210 force 16 ,loopcnt 
+
+generate_random_another:
+
+generate_random_loop:
+6227 180a7e00 random pdata 
+6228 e0a08000 istore 1 ,contw 
+6229 c2006227 loop generate_random_another 
+622a 20600000 rtn 
+
+generate_linkkey:
+622b 2040736e call function_e21 
+622c da204262 arg mem_link_key ,rega 
+622d da40051f arg mem_input_store ,regb 
+622e ea240000 ifetch 8 ,rega 
+622f 68088030 fetcht 1 ,mem_state 
+6230 7d3a0406 nsetflag blank ,state_combkey ,temp 
+6231 60088030 storet 1 ,mem_state 
+6232 1a220a00 copy rega ,contw 
+6233 20407467 call xor16 
+6234 20203229 branch generate_linkkey_continue 
+
+process_conn_sm:
+6235 79200025 set1 mark_ext_patch ,mark 
+6236 44f3403c bpatch patch3c_6 ,mem_patch3c 
+6237 6800807c fetch 1 ,mem_lmo_opcode2 
+6238 203a623c branch process_conn_sm_continue ,blank 
+6239 204061d9 call lmo_fifo_process 
+623a 6800807c fetch 1 ,mem_lmo_opcode2 
+623b 247a0000 nrtn blank 
+
+process_conn_sm_continue:
+623c 68008055 fetch 1 ,mem_conn_sm 
+623d 207a0000 rtn blank 
+623e c002628d beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+623f c002e292 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+6240 c0016284 beq conn_sm_send_features ,host_create_conn_send_features 
+6241 c001e29a beq conn_sm_wait_features_res ,host_create_conn_waiting 
+6242 c0076287 beq conn_sm_send_switch ,host_create_conn_send_switch 
+6243 c00362b6 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+6244 c003e2ce beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+6245 c004e2cf beq conn_sm_encrypt ,host_create_conn_encrypt 
+6246 c00562d8 beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+6247 c005e2dc beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+6248 c00662a4 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+6249 c006e2a7 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+624a c007e2ad beq conn_sm_detach_delay ,host_create_conn_master_detach 
+624b c0096277 beq conn_sm_send_version ,host_create_conn_send_version 
+624c c009e29a beq conn_sm_wait_version ,host_create_conn_waiting 
+624d c008627a beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+624e c00a6274 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+624f c00ae29a beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+6250 c00b626e beq conn_sm_pairing ,host_create_conn_pairing 
+6251 c00c6273 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+6252 c00be267 beq conn_sm_auth ,host_create_conn_auth 
+6253 c00ce26d beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+6254 c00d6258 beq conn_sm_done ,host_create_conn_done 
+6255 c00de262 beq conn_sm_wait_done ,host_create_conn_done_wait 
+6256 70005500 jam conn_sm_standby ,mem_conn_sm 
+6257 20600000 rtn 
+
+host_create_conn_done:
+6258 6800844d fetch 1 ,mem_lmp_conn_state 
+6259 c4010000 rtnbit0 received_setup_complete 
+625a c4018000 rtnbit0 sent_setup_complete 
+625b 70005500 jam conn_sm_standby ,mem_conn_sm 
+625c 2040625e call host_conn_judge_encrypt 
+625d 20206e41 branch scheduler_start_upper_sm 
+
+host_conn_judge_encrypt:
+625e 68008177 fetch 1 ,mem_connection_options 
+625f c4008000 rtnbit0 connection_encrypt 
+6260 7000550a jam conn_sm_encrypt_wait ,mem_conn_sm 
+6261 20600000 rtn 
+
+host_create_conn_done_wait:
+6262 d8e0000b arg enpt_delay_timer ,queue 
+6263 20407e53 call timer_check 
+6264 247a0000 nrtn blank 
+6265 7000551a jam conn_sm_done ,mem_conn_sm 
+6266 20600000 rtn 
+
+host_create_conn_auth:
+6267 68008177 fetch 1 ,mem_connection_options 
+6268 793ffe00 set0 connection_auth ,pdata 
+6269 60008177 store 1 ,mem_connection_options 
+626a 70005519 jam conn_sm_auth_wait ,mem_conn_sm 
+626b 70007c0b jam lmp_au_rand ,mem_lmo_opcode2 
+626c 20600000 rtn 
+
+host_create_conn_auth_wait:
+626d 20600000 rtn 
+
+host_create_conn_pairing:
+626e 68008450 fetch 1 ,mem_pincode_state 
+626f c1810000 rtnne pincode_state_pincode_ready 
+6270 204062de call host_auth 
+6271 70005518 jam conn_sm_pairing_wait ,mem_conn_sm 
+6272 20600000 rtn 
+
+host_create_conn_pairing_wait:
+6273 20600000 rtn 
+
+host_creat_conn_send_feat_ext:
+6274 70005515 jam conn_sm_wait_features_ext ,mem_conn_sm 
+6275 70007c83 jam lmp_ext_features_req ,mem_lmo_opcode2 
+6276 20600000 rtn 
+
+host_create_conn_send_version:
+6277 70005513 jam conn_sm_wait_version ,mem_conn_sm 
+6278 70007c25 jam lmp_version_req ,mem_lmo_opcode2 
+6279 20600000 rtn 
+
+host_creat_conn_wait_switch:
+627a 6800c748 fetch 1 ,mem_switch_flag 
+627b c1000000 rtneq switch_flag_init 
+627c c000e282 beq switch_flag_accept ,host_create_conn_switch_accept 
+627d d8e0000a arg switch_wait_timer ,queue 
+627e 20407e53 call timer_check 
+627f 247a0000 nrtn blank 
+6280 70474800 jam switch_flag_init ,mem_switch_flag 
+6281 2020629b branch host_create_conn_switch 
+
+host_create_conn_switch_accept:
+6282 20748000 rtn master 
+6283 202062b6 branch host_create_conn_auth_pair 
+
+host_create_conn_send_features:
+6284 70005503 jam conn_sm_wait_features_res ,mem_conn_sm 
+6285 70007c27 jam lmp_features_req ,mem_lmo_opcode2 
+6286 20600000 rtn 
+
+host_create_conn_send_switch:
+6287 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+6288 79200003 set1 mark_switch_initiated ,mark 
+6289 70005505 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+628a 580001ff setarg 0x1ff 
+628b 6001044e store 2 ,mem_soft_timer 
+628c 20600000 rtn 
+
+host_create_conn_send_conn_req:
+628d 70005505 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+628e 70044eff jam 0xff ,mem_soft_timer 
+628f 793f8022 set0 mark_reconn_recieve_switch ,mark 
+6290 70007c33 jam lmp_host_connection_req ,mem_lmo_opcode2 
+6291 20205b6f branch init_lmp_reinit 
+
+host_create_conn_wait_accept:
+6292 c6110000 rtnmark1 mark_reconn_recieve_switch 
+6293 6801044e fetch 2 ,mem_soft_timer 
+6294 1fe67e01 sub pdata ,1 ,pdata 
+6295 2022e298 branch host_create_conn_resend ,zero 
+6296 6001044e store 2 ,mem_soft_timer 
+6297 20600000 rtn 
+
+host_create_conn_resend:
+6298 7000550e jam conn_sm_send_switch ,mem_conn_sm 
+6299 20600000 rtn 
+
+host_create_conn_waiting:
+629a 20600000 rtn 
+
+host_create_conn_switch:
+629b 6800844d fetch 1 ,mem_lmp_conn_state 
+629c c4018000 rtnbit0 sent_setup_complete 
+629d c4010000 rtnbit0 received_setup_complete 
+629e 68008177 fetch 1 ,mem_connection_options 
+629f 793ffe02 set0 connection_switch ,pdata 
+62a0 60008177 store 1 ,mem_connection_options 
+62a1 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+62a2 70005510 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+62a3 20600000 rtn 
+
+host_create_conn_send_setup_complete:
+62a4 7000550d jam conn_sm_wait_setup_complete ,mem_conn_sm 
+62a5 70007c31 jam lmp_setup_complete ,mem_lmo_opcode2 
+62a6 20600000 rtn 
+
+host_create_conn_wait_setup_complete:
+62a7 6800844d fetch 1 ,mem_lmp_conn_state 
+62a8 c4010000 rtnbit0 received_setup_complete 
+62a9 70005500 jam conn_sm_standby ,mem_conn_sm 
+62aa 20600000 rtn 
+
+host_create_conn_wait_setup_complete_rtn:
+62ab 70005506 jam conn_sm_auth_pair ,mem_conn_sm 
+62ac 20600000 rtn 
+
+host_create_conn_master_detach:
+62ad 6800844e fetch 1 ,mem_soft_timer 
+62ae 1fe0ffff increase -1 ,pdata 
+62af 203a62b2 branch host_create_conn_send_detach ,blank 
+62b0 6000844e store 1 ,mem_soft_timer 
+62b1 20600000 rtn 
+
+host_create_conn_send_detach:
+62b2 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+62b3 70044616 jam local_host ,mem_disconn_reason_send 
+62b4 70005500 jam 0 ,mem_conn_sm 
+62b5 20600000 rtn 
+
+host_create_conn_auth_pair:
+62b6 68008177 fetch 1 ,mem_connection_options 
+62b7 c281629b bbit1 connection_switch ,host_create_conn_switch 
+62b8 c28062bb bbit1 connection_auth ,host_create_conn_auth_pair_true 
+
+host_create_conn_sm_done:
+62b9 7000551a jam conn_sm_done ,mem_conn_sm 
+62ba 20600000 rtn 
+
+host_create_conn_auth_pair_true:
+62bb 6800c25e fetch 1 ,mem_link_key_exists 
+62bc 203a62c7 branch host_create_conn_auth_pair_nokey ,blank 
+62bd 6800844d fetch 1 ,mem_lmp_conn_state 
+62be c4018000 rtnbit0 sent_setup_complete 
+62bf c4010000 rtnbit0 received_setup_complete 
+62c0 68020465 fetch 4 ,mem_aurand_send_delay_time 
+62c1 d8400064 arg 100 ,temp 
+62c2 98408400 iadd temp ,temp 
+62c3 1c427e00 copy clkn_bt ,pdata 
+62c4 98467c00 isub temp ,null 
+62c5 24610000 nrtn positive 
+62c6 20206267 branch host_create_conn_auth 
+
+host_create_conn_auth_pair_nokey:
+62c7 70005516 jam conn_sm_pairing ,mem_conn_sm 
+62c8 70054f04 jam 4 ,mem_pin_length 
+62c9 58003030 setarg 0x3030 
+62ca 60010550 store 2 ,mem_pin 
+62cb e0a10000 istore 2 ,contw 
+62cc 70045002 jam pincode_state_pincode_ready ,mem_pincode_state 
+62cd 2020626e branch host_create_conn_pairing 
+
+host_create_conn_auth_pair_wait:
+62ce 20600000 rtn 
+
+host_create_conn_encrypt:
+62cf 68008177 fetch 1 ,mem_connection_options 
+62d0 c280e2d3 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+62d1 7000551a jam conn_sm_done ,mem_conn_sm 
+62d2 20600000 rtn 
+
+host_create_conn_encrypt_start:
+62d3 68008177 fetch 1 ,mem_connection_options 
+62d4 793ffe01 set0 connection_encrypt ,pdata 
+62d5 60008177 store 1 ,mem_connection_options 
+62d6 70007c0f jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+62d7 20600000 rtn 
+
+host_create_conn_encrypt_wait:
+62d8 68008454 fetch 1 ,mem_wait_encryption 
+62d9 207a0000 rtn blank 
+62da 70005500 jam conn_sm_standby ,mem_conn_sm 
+62db 202062d3 branch host_create_conn_encrypt_start 
+
+host_create_conn_encrypt_wait_clear:
+62dc 7000550c jam conn_sm_send_setup_complete ,mem_conn_sm 
+62dd 20600000 rtn 
+
+host_auth:
+62de 6800804b fetch 1 ,mem_op 
+62df c28162e3 bbit1 op_inrand_req ,remote_auth 
+62e0 20406209 call tid_initiate 
+62e1 70007c08 jam lmp_in_rand ,mem_lmo_opcode2 
+62e2 202049bc branch cmd_exit 
+
+remote_auth:
+62e3 6800804b fetch 1 ,mem_op 
+62e4 793ffe02 set0 op_inrand_req ,pdata 
+62e5 6000804b store 1 ,mem_op 
+62e6 20405ed0 call lmp_accept_inrand 
+62e7 20406212 call tid_set_reply 
+62e8 202049bc branch cmd_exit 
+
+pincode_reinit:
+62e9 58000004 setarg 4 
+62ea 6000854f store 1 ,mem_pin_length 
+62eb 58003030 setarg 0x3030 
+62ec e0a10000 istore 2 ,contw 
+62ed e0a10000 istore 2 ,contw 
+62ee 20600000 rtn 
+
+module_init:
+62ef 20758000 rtn wake 
+62f0 70481300 jam 0 ,mem_module_task 
+62f1 20406321 call module_gpio_init 
+62f2 20406438 call module_init_static_string 
+62f3 5800632e setarg module_process_idle 
+62f4 60014290 store 2 ,mem_cb_idle_process 
+62f5 5800632f setarg module_conn_process 
+62f6 6001428e store 2 ,mem_cb_bt_process 
+62f7 58006337 setarg module_process_bb_event 
+62f8 60014292 store 2 ,mem_cb_bb_event_process 
+62f9 580063b6 setarg module_le_rx 
+62fa 60014296 store 2 ,mem_cb_att_write 
+62fb 5800632f setarg module_conn_process 
+62fc 6001428c store 2 ,mem_cb_le_process 
+62fd 79200025 set1 mark_ext_patch ,mark 
+62fe 44c04030 bpatch patch30_0 ,mem_patch30 
+62ff 5800632a setarg module_lpm_lock 
+6300 60014286 store 2 ,mem_cb_check_wakelock 
+6301 580063be setarg module_le_tx_update_data 
+6302 60014298 store 2 ,mem_cb_update_notify_value 
+6303 58000000 setarg 0 
+6304 6002480a store 4 ,mem_last_uart_clock 
+6305 60014810 store 2 ,mem_module_prepare_tx_len 
+6306 2040630a call module_hardware_init 
+6307 20403fc5 call init_module_environment 
+6308 20403e2b call check_module_disabled 
+6309 2020691d branch eeprom_load_reconn_info 
+
+module_hardware_init:
+630a 20758000 rtn wake 
+630b 580001a0 setarg uart_baud_115200 
+630c 600142ac store uart_baud_len ,mem_baud 
+
+module_lpm_uart_init:
+630d 20406a0d call init_filter_ram 
+630e 58004a00 setarg mem_module_rx_buf 
+630f 60110054 hstore 2 ,core_uart_rsaddr 
+6310 58004fff setarg mem_module_rx_buf_end 
+6311 60110056 hstore 2 ,core_uart_readdr 
+6312 58001c00 setarg mem_module_tx_buf 
+6313 6011005a hstore 2 ,core_uart_tsaddr 
+6314 58001fff setarg mem_module_tx_buf_end 
+6315 6011005c hstore 2 ,core_uart_teaddr 
+6316 70808104 hjam 0x4 ,core_gpio_sel1 
+6317 70029fff jam 0xff ,mem_ucode_id_local 
+6318 70806200 hjam 0x0 ,core_uart_ctrl 
+6319 58001c00 setarg mem_module_tx_buf 
+631a 6011005e hstore 2 ,core_uart_twptr 
+631b 60110060 hstore 2 ,core_uart_trptrp 
+631c 58004a00 setarg mem_module_rx_buf 
+631d 60110058 hstore 2 ,core_uart_rrptr 
+631e 20204480 branch hci_init_common 
+
+module_lpm_init:
+631f 2040630d call module_lpm_uart_init 
+6320 20206321 branch module_gpio_init 
+
+module_gpio_init:
+6321 20407bd9 call ui_led_init 
+6322 20403f94 call app_led_start_blink 
+6323 6808c803 fetcht 1 ,mem_module_connect_state_gpio 
+6324 204069da call gpio_config_output 
+6325 2040639e call module_set_conn_pin_low 
+6326 6808c801 fetcht 1 ,mem_module_wake_up_gpio 
+6327 204069d1 call gpio_config_input 
+6328 6808c800 fetcht 1 ,mem_at_gpio 
+6329 202069d2 branch gpio_config_input_without_wake 
+
+module_lpm_lock:
+632a 6808c801 fetcht 1 ,mem_module_wake_up_gpio 
+632b 204069e5 call gpio_get_bit 
+632c 2420bf5c nbranch app_put_lpm_wake_lock ,true 
+632d 20203f5a branch app_get_lpm_wake_lock 
+
+module_process_idle:
+632e 20206330 branch module_app_dispatch 
+
+module_conn_process:
+632f 20206330 branch module_app_dispatch 
+
+module_app_dispatch:
+6330 79200025 set1 mark_ext_patch ,mark 
+6331 44c0c030 bpatch patch30_1 ,mem_patch30 
+6332 2040641c call module_control_air_flow 
+6333 20406421 call module_uart_set 
+6334 2040527a call l2cap_malloc_is_fifo_full 
+6335 247a0000 nrtn blank 
+6336 202063a0 branch module_process 
+
+module_process_bb_event:
+6337 1a627e00 copy regc ,pdata 
+6338 c0056368 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+6339 c0026383 beq bt_evt_reconn_failed ,module_reconn_fail 
+633a c009e387 beq bt_evt_reconn_page_timeout ,module_page_time_out 
+633b c001634c beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+633c c00ce36a beq bt_evt_switch_not_accept ,module_process_switch_not_accept 
+633d c010636f beq bt_evt_switch_accept ,module_process_switch_accept 
+633e c0116374 beq bt_evt_sniff_accept ,module_process_sniff_accept 
+633f c010e375 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+6340 c011e376 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+6341 c0126379 beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+6342 c00a637a beq bt_evt_le_connected ,module_process_le_conn 
+6343 c000e382 beq bt_evt_bb_connected ,module_process_bb_conn 
+6344 c00ae364 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+6345 c002e35d beq bt_evt_setup_complete ,module_process_setup_complete 
+6346 c005e352 beq bt_evt_enter_sniff ,module_sniff_param_check 
+6347 c0063fa6 beq bt_evt_exit_sniff ,app_lpm_mult_disable 
+6348 1fe1040f and pdata ,0x0f ,temp 
+6349 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+634a c02863ec beq bt_evt_timer_init ,module_bb_event_timer 
+634b 20600000 rtn 
+
+module_process_bb_event_disconned:
+634c 2040638a call module_disconn_start 
+634d 680142a0 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+634e c4020000 rtnbit0 app_disc_after_setup_done 
+634f df200003 arg 3 ,loopcnt 
+6350 d8c04849 arg mem_prarm_dis ,contr 
+6351 20207f71 branch send_mem_to_uart 
+
+module_sniff_param_check:
+6352 68014042 fetch 2 ,mem_context + coffset_tsniff 
+6353 1fe37e00 rshift pdata ,pdata 
+6354 68094280 fetcht 2 ,mem_sniff_param_interval 
+6355 98467c00 isub temp ,null 
+6356 2422e358 nbranch module_sniff_param_check_unsniff ,zero 
+6357 20203fa4 branch app_lpm_mult_enable 
+
+module_sniff_param_check_unsniff:
+6358 6800c813 fetch 1 ,mem_module_task 
+6359 c3800000 rtnbit1 at_task_unsinff 
+635a 68110112 hfetch 2 ,core_uart_rxitems 
+635b 245a640c ncall at_set_unsniff_task_flag ,blank 
+635c 20203f9c branch app_bt_sniff_exit 
+
+module_process_setup_complete:
+635d 20406395 call module_conn_start 
+635e 2040642e call module_check_cmode 
+635f 2022e361 branch module_uart_send_conn ,zero 
+6360 20203f77 branch app_bt_disconnect 
+
+module_uart_send_conn:
+6361 df200004 arg 4 ,loopcnt 
+6362 d8c0488e arg mem_prarm_conn ,contr 
+6363 20207f71 branch send_mem_to_uart 
+
+module_process_bb_even_le_disconn:
+6364 2040638a call module_disconn_start 
+6365 df200005 arg 5 ,loopcnt 
+6366 d8c04847 arg mem_prarm_bledis ,contr 
+6367 20207f71 branch send_mem_to_uart 
+
+module_process_evt_pincode_req:
+6368 20403fc1 call at_restore_pin_code 
+6369 20203f6a branch app_bt_set_pincode 
+
+module_process_switch_not_accept:
+636a 6800c813 fetch 1 ,mem_module_task 
+636b c4020000 rtnbit0 at_task_switch 
+636c 793ffe04 set0 at_task_switch ,pdata 
+636d 6000c813 store 1 ,mem_module_task 
+636e 2020427f branch at_error_rev_end 
+
+module_process_switch_accept:
+636f 6800c813 fetch 1 ,mem_module_task 
+6370 c4020000 rtnbit0 at_task_switch 
+6371 793ffe04 set0 at_task_switch ,pdata 
+6372 6000c813 store 1 ,mem_module_task 
+6373 20204286 branch at_nomal_rev_end 
+
+module_process_sniff_accept:
+6374 20600000 rtn 
+
+module_process_sniff_not_accept:
+6375 20600000 rtn 
+
+module_process_unsniff_accept:
+6376 6800c813 fetch 1 ,mem_module_task 
+6377 c3003f9e bbit0 at_task_unsinff ,app_bt_enter_sniff 
+6378 20206410 branch at_clear_unsniff_task_flag 
+
+module_process_unsniff_not_accept:
+6379 20600000 rtn 
+
+module_process_le_conn:
+637a 20406395 call module_conn_start 
+637b da4003d0 arg mem_le_plap ,regb 
+637c 2040642e call module_check_cmode 
+637d 2022e37f branch module_uart_send_leconn ,zero 
+637e 20203f90 branch app_ble_disconnect 
+
+module_uart_send_leconn:
+637f df200006 arg 6 ,loopcnt 
+6380 d8c0488c arg mem_prarm_bleconn ,contr 
+6381 20207f71 branch send_mem_to_uart 
+
+module_process_bb_conn:
+6382 20600000 rtn 
+
+module_reconn_fail:
+6383 df200007 arg 7 ,loopcnt 
+6384 d8c04899 arg mem_prarm_recfail ,contr 
+6385 20407f71 call send_mem_to_uart 
+6386 2020638a branch module_disconn_start 
+
+module_page_time_out:
+6387 df200007 arg 7 ,loopcnt 
+6388 d8c04892 arg mem_prarm_pageout ,contr 
+6389 20407f71 call send_mem_to_uart 
+
+module_disconn_start:
+638a 2040638c call module_start_adv_discovery 
+638b 20206393 branch module_set_conn_pin_high 
+
+module_start_adv_discovery:
+638c 6800c812 fetch 1 ,mem_module_state 
+638d 2feffe00 isolate1 at_state_set30 ,pdata 
+638e 2040bf7c call app_bt_start_discovery ,true 
+638f 6800c812 fetch 1 ,mem_module_state 
+6390 2feffe01 isolate1 at_state_set40 ,pdata 
+6391 2040bf88 call app_ble_start_adv ,true 
+6392 20600000 rtn 
+
+module_set_conn_pin_high:
+6393 6808c803 fetcht 1 ,mem_module_connect_state_gpio 
+6394 202069ef branch gpio_out_active 
+
+module_conn_start:
+6395 20406397 call module_stop_adv_discovery 
+6396 2020639e branch module_set_conn_pin_low 
+
+module_stop_adv_discovery:
+6397 6800c812 fetch 1 ,mem_module_state 
+6398 2feffe00 isolate1 at_state_set30 ,pdata 
+6399 2040bf7e call app_bt_stop_discovery ,true 
+639a 6800c812 fetch 1 ,mem_module_state 
+639b 2feffe01 isolate1 at_state_set40 ,pdata 
+639c 2040bf86 call app_ble_stop_adv ,true 
+639d 20600000 rtn 
+
+module_set_conn_pin_low:
+639e 6808c803 fetcht 1 ,mem_module_connect_state_gpio 
+639f 202069ed branch gpio_out_inactive 
+
+module_process:
+63a0 6800c132 fetch 1 ,mem_device_option 
+63a1 c1850000 rtnne dvc_op_module 
+63a2 68110112 hfetch 2 ,core_uart_rxitems 
+63a3 207a0000 rtn blank 
+63a4 6001480e store 2 ,mem_current_packet_length 
+63a5 204063a9 call spp_mode 
+63a6 2020bfef branch at_process ,true 
+63a7 20406400 call at_ckeck_send_buff 
+63a8 202063af branch module_tx_packet 
+
+spp_mode:
+63a9 6808c800 fetcht 1 ,mem_at_gpio 
+63aa 202069e5 branch gpio_get_bit 
+
+module_exit_sniff:
+63ab 6800c813 fetch 1 ,mem_module_task 
+63ac c3800000 rtnbit1 at_task_unsinff 
+63ad 2040640c call at_set_unsniff_task_flag 
+63ae 20203f9c branch app_bt_sniff_exit 
+
+module_tx_packet:
+63af 6800c040 fetch 1 ,mem_context 
+63b0 c300428c bbit0 state_inconn ,spp_send_end 
+63b1 6800c041 fetch 1 ,mem_context + coffset_mode 
+63b2 c28063d5 bbit1 mode_le ,modle_le_tx 
+63b3 20403f40 call app_check_sniff 
+63b4 2020e3ab branch module_exit_sniff ,true 
+63b5 20206d97 branch spp_tx_rfcomm_packet 
+
+module_le_rx:
+63b6 20405a88 call le_att_get_handle_ptr 
+63b7 e8c08000 ifetch 1 ,contr 
+63b8 18c22200 copy contr ,rega 
+63b9 20407f6e call get_uart_twptr 
+63ba 1a427200 copy regb ,loopcnt 
+63bb 1a220c00 copy rega ,contr 
+63bc 20404976 call uart_copy_tx_bytes 
+63bd 202068fa branch uartd_send 
+
+module_le_tx_update_data:
+63be 68014810 fetch 2 ,mem_module_prepare_tx_len 
+63bf 207a0000 rtn blank 
+63c0 d8400014 arg dm_le_buff_len ,temp 
+63c1 20407fb9 call not_greater_than 
+63c2 60010469 store 2 ,mem_module_temp_len 
+63c3 1fe20400 copy pdata ,temp 
+63c4 68014810 fetch 2 ,mem_module_prepare_tx_len 
+63c5 98467e00 isub temp ,pdata 
+63c6 60014810 store 2 ,mem_module_prepare_tx_len 
+63c7 24213bf1 nbranch assert ,positive 
+63c8 d8400014 arg prcp_tx_le ,temp 
+63c9 600944c2 storet 2 ,mem_le_notify_handle 
+63ca 20405a88 call le_att_get_handle_ptr 
+63cb 203a3bf1 branch assert ,blank 
+63cc 18c08a01 add contr ,1 ,contw 
+63cd 68010469 fetch 2 ,mem_module_temp_len 
+63ce 1fe27200 copy pdata ,loopcnt 
+63cf 20407f6b call get_uart_rrptr 
+63d0 2040497c call uart_copy_rx_bytes 
+63d1 68010469 fetch 2 ,mem_module_temp_len 
+63d2 6001480e store 2 ,mem_current_packet_length 
+63d3 6001041b store 2 ,mem_le_notify_len 
+63d4 2020428c branch spp_send_end 
+
+modle_le_tx:
+63d5 c6848000 rtnmark0 mark_context 
+63d6 204063d8 call modle_le_tx_once 
+63d7 204063d8 call modle_le_tx_once 
+
+modle_le_tx_once:
+63d8 2040561e call le_xtype_fifo_is_near_full 
+63d9 247a0000 nrtn blank 
+63da 68110112 hfetch 2 ,core_uart_rxitems 
+63db 207a0000 rtn blank 
+63dc 68094810 fetcht 2 ,mem_module_prepare_tx_len 
+63dd 98467e00 isub temp ,pdata 
+63de 24213bf1 nbranch assert ,positive 
+63df 6001480e store 2 ,mem_current_packet_length 
+63e0 207a0000 rtn blank 
+63e1 20406407 call at_ckeck_send_buff_le 
+63e2 68014810 fetch 2 ,mem_module_prepare_tx_len 
+63e3 6809480e fetcht 2 ,mem_current_packet_length 
+63e4 9840fe00 iadd temp ,pdata 
+63e5 60014810 store 2 ,mem_module_prepare_tx_len 
+63e6 68094810 fetcht 2 ,mem_module_prepare_tx_len 
+63e7 68110112 hfetch 2 ,core_uart_rxitems 
+63e8 98462200 isub temp ,rega 
+63e9 24213bf1 nbranch assert ,positive 
+63ea 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+63eb 20205620 branch le_xtype_fifo_in 
+
+module_bb_event_timer:
+63ec 60088259 storet 1 ,mem_app_evt_timer_count 
+
+module_bb_event_100ms_loop:
+63ed 68008259 fetch 1 ,mem_app_evt_timer_count 
+63ee 207a0000 rtn blank 
+63ef 1fe0ffff increase -1 ,pdata 
+63f0 60008259 store 1 ,mem_app_evt_timer_count 
+63f1 204063f3 call module_bb_event_hud_ms 
+63f2 202063ed branch module_bb_event_100ms_loop 
+
+module_bb_event_hud_ms:
+63f3 6801481a fetch 2 ,mem_at_scan_time 
+63f4 207a0000 rtn blank 
+63f5 1fe0ffff increase -1 ,pdata 
+63f6 6001481a store 2 ,mem_at_scan_time 
+63f7 247a0000 nrtn blank 
+63f8 6800c2a4 fetch 1 ,mem_at_using_flag 
+63f9 7042a400 jam 0 ,mem_at_using_flag 
+63fa c280e3fd bbit1 at_flag_leinq ,modue_le_inq 
+63fb c28063fe bbit1 at_flag_inq ,module_inq 
+63fc 20203bf1 branch assert 
+
+modue_le_inq:
+63fd 20203f8c branch app_ble_stop_scan 
+
+module_inq:
+63fe 70427202 jam hci_cmd_inquiry_cancel ,mem_hci_cmd 
+63ff 20600000 rtn 
+
+at_ckeck_send_buff:
+6400 6800c041 fetch 1 ,mem_context + coffset_mode 
+6401 c2806407 bbit1 mode_le ,at_ckeck_send_buff_le 
+6402 6801480e fetch 2 ,mem_current_packet_length 
+6403 d840006e arg dm_refcom_buff_len ,temp 
+6404 20407fb9 call not_greater_than 
+6405 6001480e store 2 ,mem_current_packet_length 
+6406 20600000 rtn 
+
+at_ckeck_send_buff_le:
+6407 6801480e fetch 2 ,mem_current_packet_length 
+6408 d8400014 arg dm_le_buff_len ,temp 
+6409 20407fb9 call not_greater_than 
+640a 6001480e store 2 ,mem_current_packet_length 
+640b 20600000 rtn 
+
+at_set_unsniff_task_flag:
+640c 6800c813 fetch 1 ,mem_module_task 
+640d 79207e00 set1 at_task_unsinff ,pdata 
+640e 6000c813 store 1 ,mem_module_task 
+640f 20600000 rtn 
+
+at_clear_unsniff_task_flag:
+6410 6800c813 fetch 1 ,mem_module_task 
+6411 793ffe00 set0 at_task_unsinff ,pdata 
+6412 6000c813 store 1 ,mem_module_task 
+6413 20600000 rtn 
+
+at_set_cmd_task_flag:
+6414 6800c813 fetch 1 ,mem_module_task 
+6415 79207e07 set1 at_task_cmd_flag ,pdata 
+6416 6000c813 store 1 ,mem_module_task 
+6417 20600000 rtn 
+
+at_clear_cmd_task_flag:
+6418 6800c813 fetch 1 ,mem_module_task 
+6419 793ffe07 set0 at_task_cmd_flag ,pdata 
+641a 6000c813 store 1 ,mem_module_task 
+641b 20600000 rtn 
+
+module_control_air_flow:
+641c 79200025 set1 mark_ext_patch ,mark 
+641d 44c14030 bpatch patch30_2 ,mem_patch30 
+641e 20407f8e call check_uart_tx_buff 
+641f 20213f66 branch app_l2cap_flow_control_enable ,positive 
+6420 20203f68 branch app_l2cap_flow_control_disable 
+
+module_uart_set:
+6421 204063a9 call spp_mode 
+6422 2020e428 branch module_set_baud_115200 ,true 
+6423 68190052 hfetcht uart_baud_len ,core_uart_baud 
+6424 680142ac fetch 2 ,mem_baud 
+6425 98467c00 isub temp ,null 
+6426 20628000 rtn zero 
+6427 20206909 branch uart_set_baud_by_mem 
+
+module_set_baud_115200:
+6428 68190052 hfetcht uart_baud_len ,core_uart_baud 
+6429 580001a0 setarg at_baud_115200 
+642a 98467c00 isub temp ,null 
+642b 20628000 rtn zero 
+642c 60110052 hstore uart_baud_len ,core_uart_baud 
+642d 20600000 rtn 
+
+module_check_cmode:
+642e 79200025 set1 mark_ext_patch ,mark 
+642f 44c1c030 bpatch patch30_3 ,mem_patch30 
+6430 6800c812 fetch 1 ,mem_module_state 
+6431 2fec0002 isolate0 at_state_cmode ,pdata 
+6432 2020e436 branch module_check_cmode_close ,true 
+6433 da204814 arg mem_cmode_addr ,rega 
+6434 df200006 arg 6 ,loopcnt 
+6435 20207f25 branch string_compare 
+
+module_check_cmode_close:
+6436 18007c00 force 0 ,null 
+6437 20600000 rtn 
+
+module_init_static_string:
+6438 79200025 set1 mark_ext_patch ,mark 
+6439 44c24030 bpatch patch30_4 ,mem_patch30 
+643a d8a0481c arg mem_prarm_pswd ,contw 
+643b 38035350 setsect 0 ,0x35350 
+643c 38055115 setsect 1 ,0x15115 
+643d 38092415 setsect 2 ,0x12415 
+643e 380d0951 setsect 3 ,0x10951 
+643f e0a48000 istore 9 ,contw 
+6440 3802454c setsect 0 ,0x2454c 
+6441 38075053 setsect 1 ,0x35053 
+6442 38082454 setsect 2 ,0x2454 
+6443 380d1531 setsect 3 ,0x11531 
+6444 e0a48000 istore 9 ,contw 
+6445 38034441 setsect 0 ,0x34441 
+6446 380594d4 setsect 1 ,0x194d4 
+6447 38092455 setsect 2 ,0x12455 
+6448 380d0d4d setsect 3 ,0x10d4d 
+6449 e0a48000 istore 9 ,contw 
+644a 3803414c setsect 0 ,0x3414c 
+644b 3804d4d4 setsect 1 ,0xd4d4 
+644c 380924c4 setsect 2 ,0x124c4 
+644d 380d3119 setsect 3 ,0x13119 
+644e e0a48000 istore 9 ,contw 
+644f 38015247 setsect 0 ,0x15247 
+6450 3807d0d1 setsect 1 ,0x3d0d1 
+6451 3808e4e4 setsect 2 ,0xe4e4 
+6452 380d1531 setsect 3 ,0x11531 
+6453 e0a48000 istore 9 ,contw 
+6454 38034944 setsect 0 ,0x34944 
+6455 380514d4 setsect 1 ,0x114d4 
+6456 3808e535 setsect 2 ,0xe535 
+6457 380d5105 setsect 3 ,0x15105 
+6458 e0a48000 istore 9 ,contw 
+6459 38014c2b setsect 0 ,0x14c2b 
+645a 380514d2 setsect 1 ,0x114d2 
+645b 3808f525 setsect 2 ,0xf525 
+645c 380d1531 setsect 3 ,0x11531 
+645d e0a48000 istore 9 ,contw 
+645e 38014e53 setsect 0 ,0x14e53 
+645f 38059192 setsect 1 ,0x19192 
+6460 380844c4 setsect 2 ,0x44c4 
+6461 380d5915 setsect 3 ,0x15915 
+6462 e0a48000 istore 9 ,contw 
+6463 38035352 setsect 0 ,0x35352 
+6464 3804d254 setsect 1 ,0xd254 
+6465 38085444 setsect 2 ,0x5444 
+6466 380d0959 setsect 3 ,0x10959 
+6467 e0a48000 istore 9 ,contw 
+6468 3801454c setsect 0 ,0x1454c 
+6469 38045392 setsect 1 ,0x5392 
+646a 38083525 setsect 2 ,0x3525 
+646b 380d3d35 setsect 3 ,0x13d35 
+646c e0a48000 istore 9 ,contw 
+646d 38014544 setsect 0 ,0x14544 
+646e 380513d3 setsect 1 ,0x113d3 
+646f 38084454 setsect 2 ,0x4454 
+6470 380d4d35 setsect 3 ,0x14d35 
+6471 e0a48000 istore 9 ,contw 
+6472 38004154 setsect 0 ,0x4154 
+6473 38051155 setsect 1 ,0x11155 
+6474 38093494 setsect 2 ,0x13494 
+6475 380d3d0d setsect 3 ,0x13d0d 
+6476 e0a48000 istore 9 ,contw 
+6477 38004f56 setsect 0 ,0x4f56 
+6478 38071055 setsect 1 ,0x31055 
+6479 38083454 setsect 2 ,0x3454 
+647a 380d393d setsect 3 ,0x1393d 
+647b e0a48000 istore 9 ,contw 
+647c 3801504e setsect 0 ,0x1504e 
+647d 380551d0 setsect 1 ,0x151d0 
+647e 380954f4 setsect 2 ,0x154f4 
+647f 380d4951 setsect 3 ,0x14951 
+6480 e0a48000 istore 9 ,contw 
+6481 38024345 setsect 0 ,0x24345 
+6482 38065051 setsect 1 ,0x25051 
+6483 380804c4 setsect 2 ,0x4c4 
+6484 e0a30000 istore 6 ,contw 
+6485 20600000 rtn 
+
+mouse_init:
+6486 580065d7 setarg le_mouse 
+6487 6001428c store 2 ,mem_cb_le_process 
+6488 5800652e setarg mouse_send_process 
+6489 6001428e store 2 ,mem_cb_bt_process 
+648a 580064e3 setarg mouse_process_lpm_before 
+648b 6001428a store 2 ,mem_cb_before_lpm 
+648c 580065f3 setarg mouse_priority_bb_event 
+648d 60014292 store 2 ,mem_cb_bb_event_process 
+648e 580064a9 setarg mouse_idle 
+648f 60014290 store 2 ,mem_cb_idle_process 
+6490 58006561 setarg mouse_le_notify_update_data 
+6491 60014298 store 2 ,mem_cb_update_notify_value 
+6492 7007dc00 jam 0 ,mem_sp_flag 
+6493 7007dd00 jam 0 ,mem_master_sp_flag 
+6494 793f8025 set0 mark_ext_patch ,mark 
+6495 44e04018 bpatch patch18_0 ,mem_patch18 
+6496 204064c4 call mouse_init_common 
+6497 20758000 rtn wake 
+6498 2040649f call mouse_init_environment 
+6499 204064a7 call mouse_dpi_init 
+649a 580064e0 setarg mouse_before_hibernate 
+649b 60014288 store 2 ,mem_cb_before_hibernate 
+649c 680147f4 fetch 2 ,mem_ui_state_map 
+649d c2866697 bbit1 ui_state_btn_down ,mouse_start_discovery 
+649e 20206693 branch mouse_check_reconn_target 
+
+mouse_init_environment:
+649f 20403f4d call app_initflag_check 
+64a0 2022e4a4 branch mouse_load_eeprom_param ,zero 
+64a1 20406963 call eeprom_store_le_local_addr 
+64a2 204066ba call eeprom_store_mouse_dpi 
+64a3 20203f45 branch app_initflag_store 
+
+mouse_load_eeprom_param:
+64a4 2040691d call eeprom_load_reconn_info 
+64a5 20406967 call eeprom_load_le_loacal_addr 
+64a6 202066c0 branch eeprom_load_mouse_dpi 
+
+mouse_dpi_init:
+64a7 70481c01 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+64a8 202064bb branch mouse_modified_dpi 
+
+mouse_idle:
+64a9 20407cd7 call ui_check_paring_button 
+64aa 204064ac call mouse_check_dpi 
+64ab 202064f6 branch mouse_wheel_check 
+
+mouse_check_dpi:
+64ac 6808c825 fetcht 1 ,mem_dpi_button_gpio 
+64ad 204069e5 call gpio_get_bit 
+64ae 2420e4b3 nbranch mouse_dpi_up ,true 
+
+mouse_dpi_down:
+64af 6800c81c fetch 1 ,mem_mouse_dpi_button_state 
+64b0 c1000000 rtneq dpi_button_state_down 
+64b1 70481c00 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+64b2 20600000 rtn 
+
+mouse_dpi_up:
+64b3 6800c81c fetch 1 ,mem_mouse_dpi_button_state 
+64b4 c1008000 rtneq dpi_button_state_up 
+64b5 70481c01 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+64b6 6800c81b fetch 1 ,mem_mouse_dpi 
+64b7 1fe0fe01 increase 1 ,pdata 
+64b8 1fe17e03 and pdata ,0x03 ,pdata 
+64b9 6000c81b store 1 ,mem_mouse_dpi 
+64ba 202064bb branch mouse_modified_dpi 
+
+mouse_modified_dpi:
+64bb 58000006 setarg mouse_dpi_address 
+64bc 204066d8 call twspi_read 
+64bd 1fe104fc and pdata ,0xfc ,temp 
+64be 6800c81b fetch 1 ,mem_mouse_dpi 
+64bf 9840fe00 iadd temp ,pdata 
+64c0 1fed7e00 lshift8 pdata ,pdata 
+64c1 1fe0fe06 add pdata ,mouse_dpi_address ,pdata 
+64c2 204066d7 call twspi_write 
+64c3 202066ba branch eeprom_store_mouse_dpi 
+
+mouse_init_common:
+64c4 204065c5 call mouse_init_sunt 
+64c5 204064ca call mouse_gpio_init 
+64c6 68110050 hfetch 2 ,core_clkoff 
+64c7 793ffe0b set0 clock_off_qdecoder ,pdata 
+64c8 60110050 hstore 2 ,core_clkoff 
+64c9 20600000 rtn 
+
+mouse_gpio_init:
+64ca 20403e0b call lpm_disable_exen_output 
+64cb 6808c827 fetcht 1 ,mem_whee_a_data_gpio 
+64cc 204069d1 call gpio_config_input 
+64cd 6808c828 fetcht 1 ,mem_whee_b_data_gpio 
+64ce 204069d1 call gpio_config_input 
+64cf 6808c822 fetcht 1 ,mem_lbutton_gpio 
+64d0 204069d1 call gpio_config_input 
+64d1 6808c823 fetcht 1 ,mem_rbutton_gpio 
+64d2 204069d1 call gpio_config_input 
+64d3 6808c824 fetcht 1 ,mem_mbutton_gpio 
+64d4 204069d1 call gpio_config_input 
+64d5 6808c826 fetcht 1 ,mem_sensor_data_gpio 
+64d6 204069d1 call gpio_config_input 
+64d7 6808c825 fetcht 1 ,mem_dpi_button_gpio 
+64d8 204069d1 call gpio_config_input 
+64d9 6810807b hfetch 1 ,core_gpio_pu3 
+64da 1fe1fe18 or_into 0x18 ,pdata 
+64db 6010807b hstore 1 ,core_gpio_pu3 
+64dc 6810807f hfetch 1 ,core_gpio_pd2 + 1 
+64dd 1fe17ee7 and_into 0xe7 ,pdata 
+64de 6010807f hstore 1 ,core_gpio_pd2 + 1 
+64df 20600000 rtn 
+
+mouse_before_hibernate:
+64e0 5800bc05 setarg 0xbc05 
+64e1 204066d7 call twspi_write 
+64e2 7000a201 jam 1 ,mem_lpm_current_mult 
+
+mouse_process_lpm_before:
+64e3 204064f6 call mouse_wheel_check 
+64e4 d8400019 arg 25 ,temp 
+64e5 204069da call gpio_config_output 
+64e6 70808100 hjam 0 ,core_gpio_sel1 
+64e7 6808c827 fetcht 1 ,mem_whee_a_data_gpio 
+64e8 204069b4 call gpio_set_wake_by_current_state 
+64e9 6808c828 fetcht 1 ,mem_whee_b_data_gpio 
+64ea 204069b4 call gpio_set_wake_by_current_state 
+64eb 6808c822 fetcht 1 ,mem_lbutton_gpio 
+64ec 204069b4 call gpio_set_wake_by_current_state 
+64ed 6808c823 fetcht 1 ,mem_rbutton_gpio 
+64ee 204069b4 call gpio_set_wake_by_current_state 
+64ef 6808c824 fetcht 1 ,mem_mbutton_gpio 
+64f0 204069b4 call gpio_set_wake_by_current_state 
+64f1 6808c826 fetcht 1 ,mem_sensor_data_gpio 
+64f2 204069b9 call gpio_set_wake 
+64f3 680080a2 fetch 1 ,mem_lpm_current_mult 
+64f4 247a0000 nrtn blank 
+64f5 202069c4 branch gpio_clr_wake 
+
+mouse_wheel_check:
+64f6 793f8025 set0 mark_ext_patch ,mark 
+64f7 44e0c018 bpatch patch18_1 ,mem_patch18 
+64f8 da200000 arg 0 ,rega 
+64f9 6808c827 fetcht 1 ,mem_whee_a_data_gpio 
+64fa 204069e5 call gpio_get_bit 
+64fb 7920a200 setflag true ,0 ,rega 
+64fc 6808c828 fetcht 1 ,mem_whee_b_data_gpio 
+64fd 204069e5 call gpio_get_bit 
+64fe 7920a201 setflag true ,1 ,rega 
+64ff 1a227e00 copy rega ,pdata 
+6500 1fe17e03 and_into 0x3 ,pdata 
+6501 6808c808 fetcht 1 ,mem_mouse_z_now 
+6502 6000c808 store 1 ,mem_mouse_z_now 
+6503 98467c00 isub temp ,null 
+6504 2022e514 branch mouse_wheel_clear ,zero 
+6505 6800c807 fetch 1 ,mem_mouse_z_before 
+6506 6000c806 store 1 ,mem_mouse_z_last 
+6507 6008c807 storet 1 ,mem_mouse_z_before 
+6508 6800c808 fetch 1 ,mem_mouse_z_now 
+6509 1ff27e00 lshift4 pdata ,pdata 
+650a 6808c807 fetcht 1 ,mem_mouse_z_before 
+650b 184b8400 lshift2 temp ,temp 
+650c 9840fe00 iadd temp ,pdata 
+650d 6808c806 fetcht 1 ,mem_mouse_z_last 
+650e 9840fe00 iadd temp ,pdata 
+650f c01c6515 beq 0x38 ,mouse_wheel_forward 
+6510 c01a6519 beq 0x34 ,mouse_wheel_back 
+6511 c005e519 beq 0x0b ,mouse_wheel_back 
+6512 c003e515 beq 0x07 ,mouse_wheel_forward 
+6513 20600000 rtn 
+
+mouse_wheel_clear:
+6514 20600000 rtn 
+
+mouse_wheel_forward:
+6515 6800c809 fetch 1 ,mem_mouse_z_data 
+6516 1fe0fe01 increase 1 ,pdata 
+6517 6000c809 store 1 ,mem_mouse_z_data 
+6518 20600000 rtn 
+
+mouse_wheel_back:
+6519 6800c809 fetch 1 ,mem_mouse_z_data 
+651a 1fe0ffff increase -1 ,pdata 
+651b 6000c809 store 1 ,mem_mouse_z_data 
+651c 20600000 rtn 
+
+mouse_process_ble:
+651d 20600000 rtn 
+
+mouse_sleep_sensor:
+651e 5800b805 setarg 0xB805 
+651f 202066d7 branch twspi_write 
+
+mouse_bb_connected:
+6520 20600000 rtn 
+
+le_mouse_bb_event_write_request:
+6521 20403fa0 call app_ble_store_reconn_info 
+6522 70482002 jam mouse_mode_state_ble ,mem_mouse_mode_state 
+6523 20403fa4 call app_lpm_mult_enable 
+
+le_mouse_bb_event_enc_info:
+6524 20203f92 branch app_ble_start_write 
+
+le_hibernate_timer:
+6525 6801481e fetch 2 ,mem_le_hibernate_timer 
+6526 207a0000 rtn blank 
+6527 1fe0ffff increase -1 ,pdata 
+6528 6001481e store 2 ,mem_le_hibernate_timer 
+6529 247a0000 nrtn blank 
+652a 20203f9a branch app_enter_hibernate 
+
+mouse_hid_connected:
+652b 58000002 setarg hid_handshake_timeout 
+652c 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+652d 20600000 rtn 
+
+mouse_send_process:
+652e 6800c27f fetch 1 ,mem_app_handshake_flag 
+652f 207a0000 rtn blank 
+6530 2040527c call l2cap_malloc_is_fifo_nearly_full 
+6531 247a0000 nrtn blank 
+6532 20406578 call mouse_motion 
+6533 24740000 nrtn user 
+6534 2040655e call mouse_no_data_timer_init 
+6535 2040655a call mouse_send_blank_packet_timer_init 
+
+mouse_send_data:
+6536 da200008 arg 8 ,rega 
+6537 20404b2c call hid_malloc_tx_buff 
+6538 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+6539 e0a10000 istore 2 ,contw 
+653a 580002a1 setarg 0x02a1 
+653b e0a10000 istore 2 ,contw 
+653c 6800c805 fetch 1 ,mem_mouse_key 
+653d e0a08000 istore 1 ,contw 
+653e 68014800 fetch 2 ,mem_mouse_x 
+653f d8400fff arg 0xfff ,temp 
+6540 98417e00 iand temp ,pdata 
+6541 68094802 fetcht 2 ,mem_mouse_y 
+6542 18520400 lshift4 temp ,temp 
+6543 184d0400 lshift8 temp ,temp 
+6544 9841fe00 ior temp ,pdata 
+6545 e0a18000 istore 3 ,contw 
+6546 6800c804 fetch 1 ,mem_mouse_z 
+6547 e0a08000 istore 1 ,contw 
+6548 58000000 setarg 0 
+6549 e0a08000 istore 1 ,contw 
+654a 7008a808 jam 8 ,mem_ui_data_txbuff_length 
+654b 20600000 rtn 
+
+mouse_send_blank_packet_timer:
+654c 793f8025 set0 mark_ext_patch ,mark 
+654d 44e14018 bpatch patch18_2 ,mem_patch18 
+654e 6800c81a fetch 1 ,mem_mouse_send_blank_timer 
+654f 207a0000 rtn blank 
+6550 1fe0ffff increase -1 ,pdata 
+6551 6000c81a store 1 ,mem_mouse_send_blank_timer 
+6552 247a0000 nrtn blank 
+6553 2040527e call l2cap_malloc_is_fifo_empty 
+6554 247a0000 nrtn blank 
+6555 58000000 setarg 0 
+6556 6002c800 store 5 ,mem_mouse_x 
+6557 20406536 call mouse_send_data 
+6558 70481a50 jam mouse_send_blank_timer ,mem_mouse_send_blank_timer 
+6559 20600000 rtn 
+
+mouse_send_blank_packet_timer_init:
+655a 68014810 fetch 2 ,mem_mouse_blank_data_timeout 
+655b 60014818 store 2 ,mem_mouse_blank_data_timer 
+655c 70481a50 jam mouse_send_blank_timer ,mem_mouse_send_blank_timer 
+655d 20600000 rtn 
+
+mouse_no_data_timer_init:
+655e 6801480e fetch 2 ,mem_mouse_no_data_timeout 
+655f 60014816 store 2 ,mem_mouse_no_data_timer 
+6560 20600000 rtn 
+
+mouse_le_notify_update_data:
+6561 680944c2 fetcht 2 ,mem_le_notify_handle 
+6562 20405a88 call le_att_get_handle_ptr 
+6563 e8c08000 ifetch 1 ,contr 
+6564 6000841b store 1 ,mem_le_notify_len 
+6565 20600000 rtn 
+
+mouse_fill_data_le:
+6566 793f8025 set0 mark_ext_patch ,mark 
+6567 44e1c018 bpatch patch18_3 ,mem_patch18 
+6568 680944c2 fetcht 2 ,mem_le_notify_handle 
+6569 20405a88 call le_att_get_handle_ptr 
+656a 18c08a01 add contr ,1 ,contw 
+
+mouse_fill_data:
+656b 6800c805 fetch 1 ,mem_mouse_key 
+656c e0a08000 istore 1 ,contw 
+656d 68014800 fetch 2 ,mem_mouse_x 
+656e d8400fff arg 0xfff ,temp 
+656f 98417e00 iand temp ,pdata 
+6570 68094802 fetcht 2 ,mem_mouse_y 
+6571 18520400 lshift4 temp ,temp 
+6572 184d0400 lshift8 temp ,temp 
+6573 9841fe00 ior temp ,pdata 
+6574 e0a18000 istore 3 ,contw 
+6575 6800c804 fetch 1 ,mem_mouse_z 
+6576 e0a08000 istore 1 ,contw 
+6577 20600000 rtn 
+
+mouse_motion:
+6578 793f8025 set0 mark_ext_patch ,mark 
+6579 44e24018 bpatch patch18_4 ,mem_patch18 
+657a 78547c00 disable user 
+657b 58000000 setarg 0 
+657c 6002c800 store 5 ,mem_mouse_x 
+657d 20406581 call p3204_motion 
+657e 204065b4 call p3204_sdio_low 
+657f 2040659c call mouse_zwheel 
+6580 202065a2 branch mouse_key 
+
+p3204_motion:
+6581 6800c821 fetch 1 ,mem_sensor_type 
+6582 c1810000 rtnne sensor_type_p3204 
+6583 6800c80a fetch 1 ,mem_mouse_move_flag 
+6584 205a65ba call p3204_clear_data ,blank 
+6585 70480a01 jam 1 ,mem_mouse_move_flag 
+6586 78547c00 disable user 
+6587 6808c826 fetcht 1 ,mem_sensor_data_gpio 
+6588 204069e5 call gpio_get_bit 
+6589 24608000 nrtn true 
+658a 58000000 setarg 0 
+658b 204066d8 call twspi_read 
+658c c09866c6 bne p3204_id ,twspi_reset 
+658d 58000002 setarg 2 
+658e 204066d8 call twspi_read 
+658f c4038000 rtnbit0 7 
+6590 58000003 setarg 3 
+6591 204066d8 call twspi_read 
+6592 204065d3 call extsign 
+6593 60014800 store 2 ,mem_mouse_x 
+6594 58000004 setarg 4 
+6595 204066d8 call twspi_read 
+6596 204065d3 call extsign 
+6597 1fe67e00 sub pdata ,0 ,pdata 
+6598 60014802 store 2 ,mem_mouse_y 
+6599 68024800 fetch 4 ,mem_mouse_x 
+659a 78347c00 enable user 
+659b 20600000 rtn 
+
+mouse_zwheel:
+659c 6800c809 fetch 1 ,mem_mouse_z_data 
+659d 207a0000 rtn blank 
+659e 6000c804 store 1 ,mem_mouse_z 
+659f 70480900 jam 0 ,mem_mouse_z_data 
+65a0 78347c00 enable user 
+65a1 20600000 rtn 
+
+mouse_key:
+65a2 da200000 arg 0 ,rega 
+65a3 6808c822 fetcht 1 ,mem_lbutton_gpio 
+65a4 204069e5 call gpio_get_bit 
+65a5 7920a200 setflag true ,0 ,rega 
+65a6 6808c823 fetcht 1 ,mem_rbutton_gpio 
+65a7 204069e5 call gpio_get_bit 
+65a8 7920a201 setflag true ,1 ,rega 
+65a9 6808c824 fetcht 1 ,mem_mbutton_gpio 
+65aa 204069e5 call gpio_get_bit 
+65ab 7920a202 setflag true ,2 ,rega 
+65ac 1a227e00 deposit rega 
+65ad 6808c805 fetcht 1 ,mem_mouse_key 
+65ae 6000c805 store 1 ,mem_mouse_key 
+65af 9842fe00 ixor temp ,pdata 
+65b0 1fe67c00 sub pdata ,0 ,null 
+65b1 20628000 rtn zero 
+65b2 78347c00 enable user 
+65b3 20600000 rtn 
+
+p3204_sdio_low:
+65b4 d840001a arg 26 ,temp 
+65b5 204069e5 call gpio_get_bit 
+65b6 20608000 rtn true 
+65b7 58000000 setarg 0 
+65b8 204066d8 call twspi_read 
+65b9 202065b4 branch p3204_sdio_low 
+
+p3204_clear_data:
+65ba df200000 arg 0 ,loopcnt 
+
+p3204_clear_data_loop:
+65bb 58000002 setarg 2 
+65bc 204066d8 call twspi_read 
+65bd 20000064 nop 100 
+65be 1f20f201 increase 1 ,loopcnt 
+65bf 6808c826 fetcht 1 ,mem_sensor_data_gpio 
+65c0 204069e5 call gpio_get_bit 
+65c1 2020e5bb branch p3204_clear_data_loop ,true 
+65c2 1f227e00 deposit loopcnt 
+65c3 6001046b store 2 ,mem_init_cnt 
+65c4 20600000 rtn 
+
+mouse_init_sunt:
+65c5 2040678e call spid_init 
+65c6 20758000 rtn wake 
+
+mouse_init_p3204:
+65c7 58000000 setarg 0 
+65c8 204066d8 call twspi_read 
+65c9 60008256 store 1 ,mem_sensor_id 
+65ca c01865ce beq p3204_id ,mouse_init_p3204_cont 
+65cb 204066c6 call twspi_reset 
+65cc 20002710 nop 10000 
+65cd 202065c7 branch mouse_init_p3204 
+
+mouse_init_p3204_cont:
+65ce 58008006 setarg 0x8006 
+65cf 204066d7 call twspi_write 
+65d0 200003e8 nop 1000 
+65d1 70482102 jam sensor_type_p3204 ,mem_sensor_type 
+65d2 20600000 rtn 
+
+extsign:
+65d3 c4038000 rtnbit0 7 
+65d4 d840ff00 arg 0xff00 ,temp 
+65d5 9841fe00 ior temp ,pdata 
+65d6 20600000 rtn 
+
+le_mouse:
+65d7 2040561e call le_xtype_fifo_is_near_full 
+65d8 247a0000 nrtn blank 
+65d9 680944c2 fetcht 2 ,mem_le_notify_handle 
+65da 20405866 call le_att_check_notification_enable 
+65db c4000000 rtnbit0 0 
+65dc 6800c6f8 fetch 1 ,mem_le_switch_send_data 
+65dd c4000000 rtnbit0 0 
+65de 20406578 call mouse_motion 
+65df 24740000 nrtn user 
+65e0 2040655e call mouse_no_data_timer_init 
+65e1 700b7d1b jam attop_handle_value_notification ,mem_fifo_temp 
+65e2 20405620 call le_xtype_fifo_in 
+65e3 20206566 branch mouse_fill_data_le 
+
+mouse_test:
+65e4 20740000 rtn user 
+65e5 6800c81d fetch 1 ,mem_mouse_test_cnt 
+65e6 1fe0fe01 increase 1 ,pdata 
+65e7 6000c81d store 1 ,mem_mouse_test_cnt 
+65e8 d8400001 arg 1 ,temp 
+65e9 c303e5eb bbit0 7 ,mouse_test_pos 
+65ea d840ffff arg 0xffff ,temp 
+
+mouse_test_pos:
+65eb 600ac800 storet 5 ,mem_mouse_x 
+65ec 78347c00 enable user 
+65ed 20600000 rtn 
+
+mouse_check_mode_state:
+65ee 78547c00 disable user 
+65ef 6800c820 fetch 1 ,mem_mouse_mode_state 
+65f0 c1010000 rtneq mouse_mode_state_ble 
+65f1 78347c00 enable user 
+65f2 20600000 rtn 
+
+mouse_priority_bb_event:
+65f3 1a627e00 copy regc ,pdata 
+65f4 c00a6606 beq bt_evt_le_connected ,le_mouse_bb_event_connected 
+65f5 c000e6a6 beq bt_evt_bb_connected ,mouse_stop_discovery 
+65f6 c00ae617 beq bt_evt_le_disconnected ,mouse_bb_disconnected 
+65f7 c0016617 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+65f8 c002e616 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+65f9 c008666a beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+65fa c009668a beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+65fb c0036614 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+65fc c0146521 beq bt_evt_le_write_request ,le_mouse_bb_event_write_request 
+65fd c014e524 beq bt_evt_le_enc_info ,le_mouse_bb_event_enc_info 
+65fe c0026611 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+65ff c009e611 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_failed 
+6600 c005660f beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+6601 c0173f57 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+6602 1fe1040f and pdata ,0x0f ,temp 
+6603 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+6604 c0286634 beq bt_evt_timer_init ,mouse_bb_event_timer 
+6605 20600000 rtn 
+
+le_mouse_bb_event_connected:
+6606 680142a2 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+6607 793ffe00 set0 app_disc_by_button ,pdata 
+6608 600142a2 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+6609 58000000 setarg 0 
+660a 60014814 store 2 ,mem_mouse_direct_timer 
+660b 6800c829 fetch 1 ,mem_conn_cnt 
+660c 1fe0fe01 increase 1 ,pdata 
+660d 6000c829 store 1 ,mem_conn_cnt 
+660e 202066a6 branch mouse_stop_discovery 
+
+mouse_bb_event_pincode:
+660f 204062e9 call pincode_reinit 
+6610 20203f6a branch app_bt_set_pincode 
+
+mouse_bb_event_reconn_failed:
+6611 680147f4 fetch 2 ,mem_ui_state_map 
+6612 c2866697 bbit1 ui_state_btn_down ,mouse_start_discovery 
+6613 20203f10 branch app_bb_hibernate 
+
+mouse_bt_hid_connected:
+6614 2040652b call mouse_hid_connected 
+6615 20600000 rtn 
+
+mouse_bt_event_setup_complete:
+6616 20600000 rtn 
+
+mouse_bb_disconnected:
+6617 793f8025 set0 mark_ext_patch ,mark 
+6618 44e2c018 bpatch patch18_5 ,mem_patch18 
+6619 20406621 call mouse_bb_discon_clear_stack 
+661a 680142a0 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+661b c283e630 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+661c c2803f12 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+661d c280e62a bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+661e c281662d bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+661f c281e62d bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+6620 20206697 branch mouse_start_discovery 
+
+mouse_bb_discon_clear_stack:
+6621 58000000 setarg 0 
+6622 60024806 store 4 ,mem_mouse_z_last 
+6623 70481a00 jam 0 ,mem_mouse_send_blank_timer 
+6624 70480a00 jam 0 ,mem_mouse_move_flag 
+6625 70427f00 jam app_handshake_null ,mem_app_handshake_flag 
+6626 70448b00 jam 0 ,mem_ltk_exists 
+6627 70482000 jam 0 ,mem_mouse_mode_state 
+6628 70480b00 jam 0 ,mem_reconnect_timeout 
+6629 20600000 rtn 
+
+mouse_event_light_state_pairing:
+662a c282e62d bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+662b c281e62d bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+662c 20206697 branch mouse_start_discovery 
+
+mouse_event_light_state_hibernate:
+662d 680147f4 fetch 2 ,mem_ui_state_map 
+662e c2866697 bbit1 ui_state_btn_down ,mouse_start_discovery 
+662f 20203f10 branch app_bb_hibernate 
+
+mouse4_0_event_bb_disconn:
+6630 20405b30 call le_clean_att_list_handle_enable 
+6631 680142a0 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+6632 c2803f12 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+6633 20203f10 branch app_bb_hibernate 
+
+mouse_bb_event_timer:
+6634 793f8025 set0 mark_ext_patch ,mark 
+6635 44e34018 bpatch patch18_6 ,mem_patch18 
+6636 60088259 storet 1 ,mem_app_evt_timer_count 
+
+mouse_bb_event_100ms_loop:
+6637 68008259 fetch 1 ,mem_app_evt_timer_count 
+6638 207a0000 rtn blank 
+6639 1fe0ffff increase -1 ,pdata 
+663a 60008259 store 1 ,mem_app_evt_timer_count 
+663b 20406649 call mouse_check_hid_handshake_timer 
+663c 2040664f call mouse_check_discovery_timeout_timer 
+663d 20406656 call mouse_check_direct_timeout_timer 
+663e 20406664 call mouse_check_no_data_timeout_timer 
+663f 6800c820 fetch 1 ,mem_mouse_mode_state 
+6640 2fe1fe02 compare mouse_mode_state_ble ,pdata ,0xff 
+6641 2040e648 call mouse4_0_bb_event_100ms ,true 
+6642 6800c820 fetch 1 ,mem_mouse_mode_state 
+6643 2fe1fe01 compare mouse_mode_state_bt ,pdata ,0xff 
+6644 2040e646 call mouse3_0_bb_event_100ms ,true 
+6645 20206637 branch mouse_bb_event_100ms_loop 
+
+mouse3_0_bb_event_100ms:
+6646 2040665d call mouse_check_blank_data_timeout_timer 
+6647 2020654c branch mouse_send_blank_packet_timer 
+
+mouse4_0_bb_event_100ms:
+6648 20600000 rtn 
+
+mouse_check_hid_handshake_timer:
+6649 6800c7f2 fetch 1 ,mem_hid_handshake_timer_count 
+664a 207a0000 rtn blank 
+664b 1fe0ffff increase -1 ,pdata 
+664c 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+664d 247a0000 nrtn blank 
+664e 2020668a branch mouse_bt_hid_handshake 
+
+mouse_check_discovery_timeout_timer:
+664f 68014812 fetch 2 ,mem_mouse_discovery_timer 
+6650 207a0000 rtn blank 
+6651 1fe0ffff increase -1 ,pdata 
+6652 60014812 store 2 ,mem_mouse_discovery_timer 
+6653 247a0000 nrtn blank 
+6654 204066a6 call mouse_stop_discovery 
+6655 20203f9a branch app_enter_hibernate 
+
+mouse_check_direct_timeout_timer:
+6656 68014814 fetch 2 ,mem_mouse_direct_timer 
+6657 207a0000 rtn blank 
+6658 1fe0ffff increase -1 ,pdata 
+6659 60014814 store 2 ,mem_mouse_direct_timer 
+665a 247a0000 nrtn blank 
+665b 20403f84 call app_ble_stop_direct_adv 
+665c 20203f9a branch app_enter_hibernate 
+
+mouse_check_blank_data_timeout_timer:
+665d 68014818 fetch 2 ,mem_mouse_blank_data_timer 
+665e 207a0000 rtn blank 
+665f 1fe0ffff increase -1 ,pdata 
+6660 60014818 store 2 ,mem_mouse_blank_data_timer 
+6661 247a0000 nrtn blank 
+6662 70481a00 jam 0 ,mem_mouse_send_blank_timer 
+6663 20600000 rtn 
+
+mouse_check_no_data_timeout_timer:
+6664 68014816 fetch 2 ,mem_mouse_no_data_timer 
+6665 207a0000 rtn blank 
+6666 1fe0ffff increase -1 ,pdata 
+6667 60014816 store 2 ,mem_mouse_no_data_timer 
+6668 247a0000 nrtn blank 
+6669 202066b1 branch mouse_disconnect 
+
+mouse_bb_event_discovery_btn:
+666a 793f8025 set0 mark_ext_patch ,mark 
+666b 44e3c018 bpatch patch18_7 ,mem_patch18 
+666c 70481a00 jam 0 ,mem_mouse_send_blank_timer 
+666d 70480b01 jam 1 ,mem_reconnect_timeout 
+666e 58000000 setarg 0 
+666f 60014814 store 2 ,mem_mouse_direct_timer 
+6670 204066b1 call mouse_disconnect 
+6671 6800c132 fetch 1 ,mem_device_option 
+6672 2feffe01 isolate1 mode_4_mouse ,pdata 
+6673 2040e688 call mouse4_0_bb_event_discovery_btn ,true 
+6674 6800c132 fetch 1 ,mem_device_option 
+6675 2feffe00 isolate1 mode_3_mouse ,pdata 
+6676 2040e684 call mouse3_0_bb_event_discovery_btn ,true 
+6677 20403fa6 call app_lpm_mult_disable 
+6678 20206697 branch mouse_start_discovery 
+
+mouse3_0_check_reconn_target:
+6679 68034274 fetch 6 ,mem_hci_plap 
+667a 203a3f79 branch app_bt_start_discovery_short ,blank 
+667b 20203f6e branch app_bt_start_reconnect 
+
+mouse4_0_check_reconn_target:
+667c 68034274 fetch 6 ,mem_hci_plap 
+667d 203a6682 branch mouse4_0_no_reconn_target ,blank 
+667e 6801480c fetch 2 ,mem_mouse_direct_timeout 
+667f 60014814 store 2 ,mem_mouse_direct_timer 
+6680 20403fa4 call app_lpm_mult_enable 
+6681 20203f82 branch app_ble_start_direct_adv 
+
+mouse4_0_no_reconn_target:
+6682 20403f94 call app_led_start_blink 
+6683 20203f88 branch app_ble_start_adv 
+
+mouse3_0_bb_event_discovery_btn:
+6684 680147f4 fetch 2 ,mem_ui_state_map 
+6685 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+6686 2040bf75 call app_bt_reconnect_cancel ,true 
+6687 20600000 rtn 
+
+mouse4_0_bb_event_discovery_btn:
+6688 20405b30 call le_clean_att_list_handle_enable 
+6689 20600000 rtn 
+
+mouse_bt_hid_handshake:
+668a 70427f01 jam app_handshake_done ,mem_app_handshake_flag 
+668b 20403fa4 call app_lpm_mult_enable 
+668c 20403fa2 call app_bt_store_reconn_info 
+668d 70482001 jam mouse_mode_state_bt ,mem_mouse_mode_state 
+668e 58000000 setarg 0 
+668f 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+6690 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+6691 20403f9e call app_bt_enter_sniff 
+6692 2020655a branch mouse_send_blank_packet_timer_init 
+
+mouse_check_reconn_target:
+6693 6800c2a9 fetch 1 ,mem_xrecord_mode 
+6694 c019e679 beq rec_3_mode ,mouse3_0_check_reconn_target 
+6695 c01a667c beq rec_4_mode ,mouse4_0_check_reconn_target 
+6696 20206697 branch mouse_start_discovery 
+
+mouse_start_discovery:
+6697 793f8025 set0 mark_ext_patch ,mark 
+6698 44e44019 bpatch patch19_0 ,mem_patch19 
+6699 6800c4f9 fetch 1 ,mem_le_lap 
+669a 1fe0fe01 increase 1 ,pdata 
+669b 6000c4f9 store 1 ,mem_le_lap 
+669c 20403fa6 call app_lpm_mult_disable 
+669d 680147fe fetch 2 ,mem_discovery_timeout 
+669e 60014812 store 2 ,mem_mouse_discovery_timer 
+669f 6800c132 fetch 1 ,mem_device_option 
+66a0 2feffe01 isolate1 mode_4_mouse ,pdata 
+66a1 2040bf88 call app_ble_start_adv ,true 
+66a2 6800c132 fetch 1 ,mem_device_option 
+66a3 2feffe00 isolate1 mode_3_mouse ,pdata 
+66a4 2040bf7c call app_bt_start_discovery ,true 
+66a5 20203f94 branch app_led_start_blink 
+
+mouse_stop_discovery:
+66a6 793f8025 set0 mark_ext_patch ,mark 
+66a7 44e4c019 bpatch patch19_1 ,mem_patch19 
+66a8 58000000 setarg 0 
+66a9 60014812 store 2 ,mem_mouse_discovery_timer 
+66aa 6800c132 fetch 1 ,mem_device_option 
+66ab 2feffe01 isolate1 mode_4_mouse ,pdata 
+66ac 2040bf86 call app_ble_stop_adv ,true 
+66ad 6800c132 fetch 1 ,mem_device_option 
+66ae 2feffe00 isolate1 mode_3_mouse ,pdata 
+66af 2040bf7e call app_bt_stop_discovery ,true 
+66b0 20203f98 branch app_led_stop_blink 
+
+mouse_disconnect:
+66b1 793f8025 set0 mark_ext_patch ,mark 
+66b2 44e54019 bpatch patch19_2 ,mem_patch19 
+66b3 58000000 setarg 0 
+66b4 60014816 store 2 ,mem_mouse_no_data_timer 
+66b5 680147f4 fetch 2 ,mem_ui_state_map 
+66b6 c284bf90 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+66b7 680147f4 fetch 2 ,mem_ui_state_map 
+66b8 c2803f77 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+66b9 20600000 rtn 
+
+eeprom_store_mouse_dpi:
+66ba 793f8025 set0 mark_ext_patch ,mark 
+66bb 44e5c019 bpatch patch19_3 ,mem_patch19 
+66bc d8400001 arg 1 ,temp 
+66bd da20481b arg mem_mouse_dpi ,rega 
+66be da4000c6 arg mouse_dpi_eeprom_addr ,regb 
+66bf 2020683e branch iicd_write_eep_data 
+
+eeprom_load_mouse_dpi:
+66c0 793f8025 set0 mark_ext_patch ,mark 
+66c1 44e64019 bpatch patch19_4 ,mem_patch19 
+66c2 d8400001 arg 1 ,temp 
+66c3 da20481b arg mem_mouse_dpi ,rega 
+66c4 da4000c6 arg mouse_dpi_eeprom_addr ,regb 
+66c5 2020681d branch iicd_read_eep_data 
+
+twspi_reset:
+66c6 793f8025 set0 mark_ext_patch ,mark 
+66c7 44ff401f bpatch patch1f_6 ,mem_patch1f 
+66c8 68108073 hfetch 1 ,core_gpio_oe3 
+66c9 d8400006 arg 0x06 ,temp 
+66ca 9841fe00 ior temp ,pdata 
+66cb 60108073 hstore 1 ,core_gpio_oe3 
+66cc 68108077 hfetch 1 ,core_gpio_out3 
+66cd 9841fe00 ior temp ,pdata 
+66ce 60108077 hstore 1 ,core_gpio_out3 
+66cf 70808100 hjam 0 ,core_gpio_sel1 
+66d0 68108077 hfetch 1 ,core_gpio_out3 
+66d1 793ffe01 set0 1 ,pdata 
+66d2 793ffe02 set0 2 ,pdata 
+66d3 60108077 hstore 1 ,core_gpio_out3 
+66d4 2000001e nop 30 
+66d5 70808101 hjam 1 ,core_gpio_sel1 
+66d6 20600000 rtn 
+
+twspi_write:
+66d7 202067a1 branch spid_write_reg 
+
+twspi_read:
+66d8 202067a9 branch spid_read_reg 
+
+read_function_aes:
+66d9 243466dd nbranch read_function ,user 
+66da 68108085 hfetch 1 ,core_gpio_key2 
+66db 1fe1fe20 or_into 0x20 ,pdata 
+66dc 60108085 hstore 1 ,core_gpio_key2 
+
+read_function:
+66dd 18427c00 copy temp ,null 
+66de 2022e6e0 branch read_fuction_zero ,zero 
+66df 1a627a00 copy regc ,pc 
+
+read_fuction_zero:
+66e0 2fcc0000 isolate0 0 ,null 
+66e1 20206763 branch set_ucode_status 
+
+get_block_header:
+66e2 18000404 force 4 ,temp 
+
+get_block_header0:
+66e3 da20022c arg mem_ucode_buf ,rega 
+66e4 68108085 hfetch 1 ,core_gpio_key2 
+66e5 1fe17edf and_into 0xdf ,pdata 
+66e6 60108085 hstore 1 ,core_gpio_key2 
+66e7 204066dd call read_function 
+66e8 da2055aa arg 0x55aa ,rega 
+66e9 6801022c fetch 2 ,mem_ucode_buf 
+66ea e8c90000 ifetcht 2 ,contr 
+66eb 9a267c00 isub rega ,null 
+66ec 20600000 rtn 
+
+read_first_block:
+66ed d8400002 arg 2 ,temp 
+66ee da200232 arg mem_ucode_ptr ,rega 
+66ef 204066dd call read_function 
+66f0 68010232 fetch 2 ,mem_ucode_ptr 
+66f1 60010225 store 2 ,mem_addr_mi 
+66f2 205466f4 call get_iv ,user 
+66f3 20600000 rtn 
+
+get_iv:
+66f4 d8400010 arg 16 ,temp 
+66f5 da200234 arg mem_ucode_keybuf ,rega 
+66f6 68108085 hfetch 1 ,core_gpio_key2 
+66f7 1fe17edf and_into 0xdf ,pdata 
+66f8 60108085 hstore 1 ,core_gpio_key2 
+66f9 204066dd call read_function 
+66fa d8c00234 arg mem_ucode_keybuf ,contr 
+66fb df200010 arg 16 ,loopcnt 
+66fc 20407584 call aes_load_data 
+66fd 2040753d call aes_init 
+66fe 2040759d call aes_clear_data 
+66ff 20207534 branch do_aes_cbc 
+
+load_storage:
+6700 7856fc00 disable match 
+6701 204066e2 call get_block_header 
+6702 24628000 nrtn zero 
+6703 7836fc00 enable match 
+6704 70802380 hjam 0x80 ,core_ucode_ctrl 
+6705 70802200 hjam 0 ,core_ucode_hi 
+6706 70802400 hjam 0 ,core_ucode_low 
+6707 da208025 arg core_ucode_data ,rega 
+6708 204066d9 call read_function_aes 
+6709 70802300 hjam 0x0 ,core_ucode_ctrl 
+670a 204066e2 call get_block_header 
+670b 24628000 nrtn zero 
+670c 18007e00 force 0 ,pdata 
+670d 60110288 hstore 2 ,core_docd_paddr 
+670e da20828a arg core_docd_pdata ,rega 
+670f 204066d9 call read_function_aes 
+
+load_storage_loop:
+6710 d8400006 arg 6 ,temp 
+6711 204066e3 call get_block_header0 
+6712 24628000 nrtn zero 
+6713 e8c10000 ifetch 2 ,contr 
+6714 98002200 iforce rega 
+6715 204066dd call read_function 
+6716 20206710 branch load_storage_loop 
+
+reload_eeprom:
+6717 20407f36 call clean_mem 
+6718 58001000 setarg 0x1000 
+6719 60010225 store 2 ,mem_addr_mi 
+671a da606823 arg iicd_read_eep ,regc 
+671b df200002 arg 2 ,loopcnt 
+
+reload_eeprom_loop:
+671c 204066e2 call get_block_header 
+671d 24628000 nrtn zero 
+671e 68010225 fetch 2 ,mem_addr_mi 
+671f 1ff0fe00 byteswap pdata ,pdata 
+6720 9840fe00 iadd temp ,pdata 
+6721 1ff0fe00 byteswap pdata ,pdata 
+6722 60010225 store 2 ,mem_addr_mi 
+6723 c200671c loop reload_eeprom_loop 
+6724 20206710 branch load_storage_loop 
+
+loadcode:
+6725 70805025 hjam 0x25 ,core_clkoff 
+6726 70828005 hjam 5 ,core_docd_ctrl 
+6727 20407f36 call clean_mem 
+
+loadcode_lpm:
+6728 78547c00 disable user 
+6729 2040688a call otp_enable_chgpump 
+672a 58000000 setarg otp_ucode_flag 
+672b da200221 arg mem_otp_ucode_flag ,rega 
+672c d8400002 arg 2 ,temp 
+672d 204068d3 call otpd_read_data 
+672e 68010221 fetch 2 ,mem_otp_ucode_flag 
+672f c303e738 bbit0 otp_uflag_aes ,loadcode_otp 
+6730 580007f0 setarg otp_ucode_aeskey 
+6731 da200234 arg mem_ucode_keybuf ,rega 
+6732 d8400010 arg 16 ,temp 
+6733 204068d3 call otpd_read_data 
+6734 70800608 hjam lock_otp ,core_misc_ctrl 
+6735 d8c00234 arg mem_ucode_keybuf ,contr 
+6736 20407590 call load_key 
+6737 78347c00 enable user 
+
+loadcode_otp:
+6738 68010221 fetch 2 ,mem_otp_ucode_flag 
+6739 1ff0fe00 byteswap pdata ,pdata 
+673a d84007ff arg 0x7ff ,temp 
+673b 98417e00 iand temp ,pdata 
+673c 2022e744 branch loadcode_spi ,zero 
+673d 2040688f call otp_set_addr 
+673e da6068d8 arg otpd_read_code ,regc 
+673f 205466f4 call get_iv ,user 
+6740 20406700 call load_storage 
+6741 68008220 fetch 1 ,mem_ucode_status 
+6742 2fe00603 compare 3 ,pdata ,3 
+6743 2420e738 nbranch loadcode_otp ,true 
+
+loadcode_spi:
+6744 2040688d call otp_disable_chgpump 
+6745 68008221 fetch 1 ,mem_otp_ucode_flag 
+6746 c282e751 bbit1 otp_uflag_skip_flash ,loadcode_iic 
+6747 58000000 setarg 0x0 
+6748 60018224 store 3 ,mem_addr_hi 
+6749 204067b9 call spid_init_flash 
+674a da6067db arg spid_read_flash ,regc 
+674b 204066ed call read_first_block 
+674c 20406700 call load_storage 
+674d 2436e751 nbranch loadcode_iic ,match 
+674e 68008220 fetch 1 ,mem_ucode_status 
+674f 2fe00603 compare 3 ,pdata ,3 
+6750 2420e744 nbranch loadcode_spi ,true 
+
+loadcode_iic:
+6751 68008221 fetch 1 ,mem_otp_ucode_flag 
+6752 c283675d bbit1 otp_uflag_skip_eep ,loadcode_hci 
+6753 58000000 setarg 0x0 
+6754 60010225 store 2 ,mem_addr_mi 
+6755 da606823 arg iicd_read_eep ,regc 
+6756 20406805 call iicd_init_12m 
+6757 204066ed call read_first_block 
+6758 20406700 call load_storage 
+6759 2436e75d nbranch loadcode_hci ,match 
+675a 68008220 fetch 1 ,mem_ucode_status 
+675b 2fe00603 compare 3 ,pdata ,3 
+675c 2420e751 nbranch loadcode_iic ,true 
+
+loadcode_hci:
+675d 70805021 hjam 0x21 ,core_clkoff 
+675e 68008221 fetch 1 ,mem_otp_ucode_flag 
+675f c4020000 rtnbit0 otp_uflag_hci 
+6760 20404461 call hci_init 
+
+loadcode_hci_loop:
+6761 204044a3 call hci_rx_packet 
+6762 20206761 branch loadcode_hci_loop 
+
+set_ucode_status:
+6763 68008220 fetch 1 ,mem_ucode_status 
+6764 1fe3fe00 lshift pdata ,pdata 
+6765 7920fe00 setflag true ,0 ,pdata 
+6766 2a2c000f isolate0 15 ,rega 
+6767 20608000 rtn true 
+6768 60008220 store 1 ,mem_ucode_status 
+6769 20600000 rtn 
+
+decrypt_code:
+676a 68108085 hfetch 1 ,core_gpio_key2 
+676b c4028000 rtnbit0 5 
+676c 20206770 branch decrypt_code_skip 
+
+decrypt_code_loop:
+676d 6810812c hfetch 1 ,core_dma_status 
+676e afefffff qisolate1 pdata 
+676f 20608000 rtn true 
+
+decrypt_code_skip:
+6770 68108108 hfetch 1 ,core_misc_status 
+6771 c300e76d bbit0 1 ,decrypt_code_loop 
+6772 20407534 call do_aes_cbc 
+6773 2020676d branch decrypt_code_loop 
+
+save_ucode:
+6774 1f220400 copy loopcnt ,temp 
+6775 6009423c storet 2 ,mem_patch_len 
+6776 70802380 hjam 0x80 ,core_ucode_ctrl 
+6777 70802200 hjam 0 ,core_ucode_hi 
+6778 70802400 hjam 0 ,core_ucode_low 
+6779 6001423a store 2 ,mem_patch_ptr 
+677a 98000a00 iforce contw 
+677b 1f2bf200 lshift2 loopcnt ,loopcnt 
+
+save_ucode_loop:
+677c 68108025 hfetch 1 ,core_ucode_data 
+677d e0a08000 istore 1 ,contw 
+677e c200677c loop save_ucode_loop 
+677f 70802300 hjam 0x0 ,core_ucode_ctrl 
+6780 20600000 rtn 
+
+load_ucode:
+6781 6801423a fetch 2 ,mem_patch_ptr 
+6782 207a0000 rtn blank 
+6783 70802380 hjam 0x80 ,core_ucode_ctrl 
+6784 70802200 hjam 0 ,core_ucode_hi 
+6785 70802400 hjam 0 ,core_ucode_low 
+6786 6809423c fetcht 2 ,mem_patch_len 
+6787 184bf200 lshift2 temp ,loopcnt 
+6788 98000c00 iforce contr 
+
+load_ucode_loop:
+6789 e8c08000 ifetch 1 ,contr 
+678a 60108025 hstore 1 ,core_ucode_data 
+678b c2006789 loop load_ucode_loop 
+678c 70802300 hjam 0x0 ,core_ucode_ctrl 
+678d 20600000 rtn 
+
+spid_init:
+678e 793f8025 set0 mark_ext_patch ,mark 
+678f 44ffc01f bpatch patch1f_7 ,mem_patch1f 
+6790 70808675 hjam 0x75 ,core_spid_ctrl 
+6791 7080870a hjam 10 ,core_spid_delay 
+6792 58000223 setarg mem_spid_tbuf 
+6793 6011008a hstore 2 ,core_spid_txaddr 
+6794 58000228 setarg mem_spid_rbuf 
+6795 6011008c hstore 2 ,core_spid_rxaddr 
+6796 68108081 hfetch 1 ,core_gpio_sel1 
+6797 79207e00 set1 0 ,pdata 
+6798 793ffe01 set0 1 ,pdata 
+6799 60108081 hstore 1 ,core_gpio_sel1 
+679a 20600000 rtn 
+
+spid_reset:
+679b 68108086 hfetch 1 ,core_spid_ctrl 
+679c 79207e07 set1 7 ,pdata 
+679d 60108086 hstore 1 ,core_spid_ctrl 
+679e 793ffe07 set0 7 ,pdata 
+679f 60108086 hstore 1 ,core_spid_ctrl 
+67a0 20600000 rtn 
+
+spid_write_reg:
+67a1 79207e07 set1 7 ,pdata 
+67a2 60010223 store 2 ,mem_spid_tbuf 
+67a3 79200025 set1 mark_ext_patch ,mark 
+67a4 44804020 bpatch patch20_0 ,mem_patch20 
+67a5 70808802 hjam 2 ,core_spid_txlen 
+67a6 70808e00 hjam 0 ,core_spid_rxlen 
+67a7 70800602 hjam spid_start ,core_misc_ctrl 
+67a8 202067b3 branch wait_spid_done 
+
+spid_read_reg:
+67a9 18000401 force 1 ,temp 
+
+spid_read_regs:
+67aa 60008223 store 1 ,mem_spid_tbuf 
+67ab 79200025 set1 mark_ext_patch ,mark 
+67ac 4480c020 bpatch patch20_1 ,mem_patch20 
+67ad 70808801 hjam 1 ,core_spid_txlen 
+67ae 6019008e hstoret 2 ,core_spid_rxlen 
+67af 70800602 hjam spid_start ,core_misc_ctrl 
+67b0 204067b3 call wait_spid_done 
+67b1 68008228 fetch 1 ,mem_spid_rbuf 
+67b2 20600000 rtn 
+
+wait_spid_done:
+67b3 68014177 fetch 2 ,mem_afh_error_total 
+67b4 1fe0fe01 increase 1 ,pdata 
+67b5 60014177 store 2 ,mem_afh_error_total 
+67b6 6810812c hfetch 1 ,core_dma_status 
+67b7 c301e7b3 bbit0 spid_done ,wait_spid_done 
+67b8 20600000 rtn 
+
+spid_init_flash:
+67b9 70808640 hjam 0x40 ,core_spid_ctrl 
+67ba 70808700 hjam 0x0 ,core_spid_delay 
+67bb 68108081 hfetch 1 ,core_gpio_sel1 
+67bc 793ffe00 set0 0 ,pdata 
+67bd 79207e01 set1 1 ,pdata 
+67be 60108081 hstore 1 ,core_gpio_sel1 
+67bf 58000000 setarg 0 
+67c0 60020223 store 4 ,mem_spid_tbuf 
+67c1 20600000 rtn 
+
+spid_unlock_flash:
+67c2 58000000 setarg 0 
+67c3 6011008e hstore 2 ,core_spid_rxlen 
+67c4 58000001 setarg 1 
+67c5 60108088 hstore 1 ,core_spid_txlen 
+67c6 58000223 setarg mem_spid_tbuf 
+67c7 6011008a hstore 2 ,core_spid_txaddr 
+67c8 70022306 jam 6 ,mem_spid_tbuf 
+67c9 70800602 hjam spid_start ,core_misc_ctrl 
+67ca 202067b3 branch wait_spid_done 
+
+spid_write_flash:
+67cb 18408404 increase 4 ,temp 
+67cc 60190088 hstoret 2 ,core_spid_txlen 
+67cd 1a20a3fc increase -4 ,rega 
+67ce d8400002 arg 2 ,temp 
+67cf e2288000 istoret 1 ,rega 
+67d0 1ff10400 rshift16 pdata ,temp 
+67d1 e0a88000 istoret 1 ,contw 
+67d2 1fec8400 rshift8 pdata ,temp 
+67d3 e0a88000 istoret 1 ,contw 
+67d4 e0a08000 istore 1 ,contw 
+67d5 1a227e00 deposit rega 
+67d6 6011008a hstore 2 ,core_spid_txaddr 
+67d7 58000000 setarg 0 
+67d8 6011008e hstore 2 ,core_spid_rxlen 
+67d9 70800602 hjam spid_start ,core_misc_ctrl 
+67da 202067b3 branch wait_spid_done 
+
+spid_read_flash:
+67db 6019008e hstoret 2 ,core_spid_rxlen 
+67dc 58000004 setarg 4 
+67dd 60110088 hstore 2 ,core_spid_txlen 
+67de 70022303 jam 3 ,mem_spid_tbuf 
+67df 58000223 setarg mem_spid_tbuf 
+67e0 6011008a hstore 2 ,core_spid_txaddr 
+67e1 1a227e00 deposit rega 
+67e2 6011008c hstore 2 ,core_spid_rxaddr 
+67e3 68108086 hfetch 1 ,core_spid_ctrl 
+67e4 2a2c000f isolate0 15 ,rega 
+67e5 7920fe06 setflag true ,6 ,pdata 
+67e6 60108086 hstore 1 ,core_spid_ctrl 
+67e7 70800602 hjam spid_start ,core_misc_ctrl 
+
+spi_read_flash_wait:
+67e8 6810812c hfetch 1 ,core_dma_status 
+67e9 c283e7e8 bbit1 7 ,spi_read_flash_wait 
+67ea d8e00003 arg spid_done ,queue 
+67eb 2040676a call decrypt_code 
+67ec 204067b3 call wait_spid_done 
+67ed 2feffe02 isolate1 spid_crcok ,pdata 
+67ee 20406763 call set_ucode_status 
+67ef 68008224 fetch 1 ,mem_addr_hi 
+67f0 1ff02400 lshift16 pdata ,regb 
+67f1 68008225 fetch 1 ,mem_addr_mi 
+67f2 1fed7e00 lshift8 pdata ,pdata 
+67f3 9a41a400 ior regb ,regb 
+67f4 68008226 fetch 1 ,mem_addr_lo 
+67f5 9a41fe00 ior regb ,pdata 
+67f6 9840fe00 iadd temp ,pdata 
+67f7 60008226 store 1 ,mem_addr_lo 
+67f8 1fecfe00 rshift8 pdata ,pdata 
+67f9 60008225 store 1 ,mem_addr_mi 
+67fa 1fecfe00 rshift8 pdata ,pdata 
+67fb 60008224 store 1 ,mem_addr_hi 
+67fc 20600000 rtn 
+
+iicd_init_5m:
+67fd 7080420a hjam 0xa ,core_clksel 
+67fe 70809102 hjam 2 ,core_iicd_scl_low 
+67ff 70809203 hjam 3 ,core_iicd_scl_high 
+6800 70809303 hjam 3 ,core_iicd_start_setup 
+6801 70809403 hjam 3 ,core_iicd_start_hold 
+6802 70809503 hjam 3 ,core_iicd_stop_setup 
+6803 70809602 hjam 2 ,core_iicd_data_setup 
+6804 20600000 rtn 
+
+iicd_init_12m:
+6805 70809105 hjam 5 ,core_iicd_scl_low 
+6806 70809207 hjam 7 ,core_iicd_scl_high 
+6807 70809307 hjam 7 ,core_iicd_start_setup 
+6808 70809407 hjam 7 ,core_iicd_start_hold 
+6809 70809507 hjam 7 ,core_iicd_stop_setup 
+680a 70809605 hjam 5 ,core_iicd_data_setup 
+680b 20600000 rtn 
+
+wait_iicd_done:
+680c 6810812c hfetch 1 ,core_dma_status 
+680d c302e80c bbit0 iicd_done ,wait_iicd_done 
+680e 20600000 rtn 
+
+iicd_read_data:
+680f 60008224 store 1 ,mem_iicd_tbuf 
+6810 58000224 setarg mem_iicd_tbuf 
+6811 6011009a hstore 2 ,core_iicd_txaddr 
+6812 58000001 setarg 1 
+6813 60110098 hstore 2 ,core_iicd_txlen 
+6814 6019009e hstoret 2 ,core_iicd_rxlen 
+6815 1a227e00 deposit rega 
+6816 6011009c hstore 2 ,core_iicd_rxaddr 
+6817 70809001 hjam 1 ,core_iicd_ctrl 
+6818 70800604 hjam iicd_start ,core_misc_ctrl 
+6819 2020680c branch wait_iicd_done 
+
+byteswap_addr_mi:
+681a 1ff0fe00 byteswap pdata ,pdata 
+681b 60010225 store 2 ,mem_addr_mi 
+681c 20600000 rtn 
+
+iicd_read_eep_data:
+681d 79200025 set1 mark_ext_patch ,mark 
+681e 44814020 bpatch patch20_2 ,mem_patch20 
+681f 6801429b fetch 2 ,mem_eeprom_base 
+6820 9a40fe00 iadd regb ,pdata 
+
+iicd_read_eep_adr:
+6821 1ff0fe00 byteswap pdata ,pdata 
+6822 60010225 store 2 ,mem_addr_mi 
+
+iicd_read_eep:
+6823 79200025 set1 mark_ext_patch ,mark 
+6824 4481c020 bpatch patch20_3 ,mem_patch20 
+6825 58000004 setarg 4 
+6826 60110098 hstore 2 ,core_iicd_txlen 
+6827 700224a0 jam 0xa0 ,mem_iicd_tbuf 
+6828 700227a1 jam 0xa1 ,mem_iicd_tbuf + 3 
+6829 58000224 setarg mem_iicd_tbuf 
+682a 6011009a hstore 2 ,core_iicd_txaddr 
+682b 6019009e hstoret 2 ,core_iicd_rxlen 
+682c 1a227e00 deposit rega 
+682d 6011009c hstore 2 ,core_iicd_rxaddr 
+682e 58000002 setarg 2 
+682f 2a2c000f isolate0 15 ,rega 
+6830 7920fe00 setflag true ,0 ,pdata 
+6831 60108090 hstore 1 ,core_iicd_ctrl 
+6832 70800604 hjam iicd_start ,core_misc_ctrl 
+6833 d8e00005 arg iicd_done ,queue 
+6834 2040676a call decrypt_code 
+6835 2040680c call wait_iicd_done 
+6836 2feffe04 isolate1 iicd_crcok ,pdata 
+6837 20406763 call set_ucode_status 
+6838 68010225 fetch 2 ,mem_addr_mi 
+6839 1ff0fe00 byteswap pdata ,pdata 
+683a 9840fe00 iadd temp ,pdata 
+683b 1ff0fe00 byteswap pdata ,pdata 
+683c 60010225 store 2 ,mem_addr_mi 
+683d 20600000 rtn 
+
+iicd_write_eep_data:
+683e 79200025 set1 mark_ext_patch ,mark 
+683f 44824020 bpatch patch20_4 ,mem_patch20 
+6840 6801429b fetch 2 ,mem_eeprom_base 
+6841 9a40fe00 iadd regb ,pdata 
+
+iicd_write_ota_data:
+6842 60010161 store 2 ,mem_pdatatemp 
+6843 79200025 set1 mark_ext_patch ,mark 
+6844 4482c020 bpatch patch20_5 ,mem_patch20 
+6845 600902a0 storet 2 ,mem_temp 
+6846 1a227e00 copy rega ,pdata 
+6847 600102b7 store 2 ,mem_contr 
+
+iicd_write_eep_loop:
+6848 20406858 call iicd_eep_transparency 
+6849 680902b0 fetcht 2 ,mem_regb 
+684a 680102b7 fetch 2 ,mem_contr 
+684b 1fe22200 copy pdata ,rega 
+684c 68010161 fetch 2 ,mem_pdatatemp 
+684d 20406870 call iicd_write_eep 
+684e 680102b0 fetch 2 ,mem_regb 
+684f 680902b7 fetcht 2 ,mem_contr 
+6850 98408400 iadd temp ,temp 
+6851 600902b7 storet 2 ,mem_contr 
+6852 68090161 fetcht 2 ,mem_pdatatemp 
+6853 98408400 iadd temp ,temp 
+6854 60090161 storet 2 ,mem_pdatatemp 
+6855 680102a0 fetch 2 ,mem_temp 
+6856 243a6848 nbranch iicd_write_eep_loop ,blank 
+6857 20600000 rtn 
+
+iicd_eep_transparency:
+6858 79200025 set1 mark_ext_patch ,mark 
+6859 44834020 bpatch patch20_6 ,mem_patch20 
+685a 680142aa fetch 2 ,mem_eeprom_block_size 
+685b 1fe0ffff increase -1 ,pdata 
+685c 68090161 fetcht 2 ,mem_pdatatemp 
+685d 9841fe00 ior temp ,pdata 
+685e 1fe0fe01 increase 1 ,pdata 
+685f 600182b4 store 3 ,mem_regc 
+6860 680102a0 fetch 2 ,mem_temp 
+6861 9840fe00 iadd temp ,pdata 
+6862 680982b4 fetcht 3 ,mem_regc 
+6863 98467e00 isub temp ,pdata 
+6864 2421686b nbranch iicd_eep_deal_short_packet ,positive 
+6865 600102a0 store 2 ,mem_temp 
+6866 680182b4 fetch 3 ,mem_regc 
+6867 68090161 fetcht 2 ,mem_pdatatemp 
+6868 98467e00 isub temp ,pdata 
+6869 600102b0 store 2 ,mem_regb 
+686a 20600000 rtn 
+
+iicd_eep_deal_short_packet:
+686b 680102a0 fetch 2 ,mem_temp 
+686c 600102b0 store 2 ,mem_regb 
+686d 58000000 setarg 0 
+686e 600102a0 store 2 ,mem_temp 
+686f 20600000 rtn 
+
+iicd_write_eep:
+6870 1fe22400 copy pdata ,regb 
+6871 79200025 set1 mark_ext_patch ,mark 
+6872 4483c020 bpatch patch20_7 ,mem_patch20 
+6873 1a427e00 copy regb ,pdata 
+6874 18408403 increase 3 ,temp 
+6875 60190098 hstoret 2 ,core_iicd_txlen 
+6876 1a20a3fd increase -3 ,rega 
+6877 ea298000 ifetcht 3 ,rega 
+6878 18422400 copy temp ,regb 
+6879 d84000a0 arg 0xa0 ,temp 
+687a e2288000 istoret 1 ,rega 
+687b 1ff0fe00 byteswap pdata ,pdata 
+687c e0a10000 istore 2 ,contw 
+687d 1a227e00 deposit rega 
+687e 6011009a hstore 2 ,core_iicd_txaddr 
+687f 58000000 setarg 0 
+6880 6011009e hstore 2 ,core_iicd_rxlen 
+6881 70809001 hjam 1 ,core_iicd_ctrl 
+6882 70800604 hjam iicd_start ,core_misc_ctrl 
+6883 2040680c call wait_iicd_done 
+6884 1a427e00 copy regb ,pdata 
+6885 e2218000 istore 3 ,rega 
+6886 20002710 nop 10000 
+6887 20002710 nop 10000 
+6888 20002710 nop 10000 
+6889 20600000 rtn 
+
+otp_enable_chgpump:
+688a 70897370 hjam 0x70 ,rfen_chgpump 
+688b 20000bb8 nop param_chgpump_delay 
+688c 20600000 rtn 
+
+otp_disable_chgpump:
+688d 70897330 hjam 0x30 ,rfen_chgpump 
+688e 20600000 rtn 
+
+otp_set_addr:
+688f 1fe9fe00 lshift3 pdata ,pdata 
+6890 60110045 hstore 2 ,core_otp_addr 
+6891 70804b00 hjam 0 ,core_otpd_ctrl 
+6892 20600000 rtn 
+
+otp_write:
+6893 2040688f call otp_set_addr 
+6894 204068c0 call otp_ce 
+
+otp_program:
+6895 ea288000 ifetcht 1 ,rega 
+6896 1a20a201 increase 1 ,rega 
+6897 18000e00 force 0 ,queue 
+
+otp_program_bit:
+6898 a84c0000 qisolate0 temp 
+6899 2020e8b7 branch otp_skip_0 ,true 
+689a 68108046 hfetch 1 ,core_otp_din 
+689b 79207e06 set1 6 ,pdata 
+689c 79207e07 set1 7 ,pdata 
+689d 60108046 hstore 1 ,core_otp_din 
+689e 70804702 hjam 0x02 ,core_otp_ctrl 
+689f 70804782 hjam 0x82 ,core_otp_ctrl 
+68a0 793ffe07 set0 7 ,pdata 
+68a1 60108046 hstore 1 ,core_otp_din 
+68a2 7080478a hjam 0x8a ,core_otp_ctrl 
+68a3 2000000b nop 11 
+68a4 708047ca hjam 0xca ,core_otp_ctrl 
+68a5 20000021 nop 33 
+68a6 7080474a hjam 0x4a ,core_otp_ctrl 
+68a7 2000002c nop 44 
+68a8 708047ca hjam 0xca ,core_otp_ctrl 
+68a9 20000016 nop 22 
+68aa 7080478a hjam 0x8a ,core_otp_ctrl 
+68ab 20000021 nop 33 
+68ac 70804782 hjam 0x82 ,core_otp_ctrl 
+68ad 20000001 nop 1 
+68ae 70804792 hjam 0x92 ,core_otp_ctrl 
+68af 2000000a nop 10 
+68b0 708047b2 hjam 0xb2 ,core_otp_ctrl 
+68b1 68108007 hfetch 1 ,core_otp_rdata 
+68b2 70804792 hjam 0x92 ,core_otp_ctrl 
+68b3 20000001 nop 1 
+68b4 70804782 hjam 0x82 ,core_otp_ctrl 
+68b5 afec0000 qisolate0 pdata 
+68b6 2020e898 branch otp_program_bit ,true 
+
+otp_skip_0:
+68b7 68110045 hfetch 2 ,core_otp_addr 
+68b8 1fe0fe01 increase 1 ,pdata 
+68b9 60110045 hstore 2 ,core_otp_addr 
+68ba 18e08e01 increase 1 ,queue 
+68bb 28e01e08 compare 8 ,queue ,0xf 
+68bc 2420e898 nbranch otp_program_bit ,true 
+68bd c2006895 loop otp_program 
+68be 70804783 hjam 0x83 ,core_otp_ctrl 
+68bf 20600000 rtn 
+
+otp_ce:
+68c0 70804782 hjam 0x82 ,core_otp_ctrl 
+68c1 2000000c nop 12 
+68c2 70804780 hjam 0x80 ,core_otp_ctrl 
+68c3 70804782 hjam 0x82 ,core_otp_ctrl 
+68c4 20000096 nop 150 
+68c5 20600000 rtn 
+
+otpd_read_init:
+68c6 204068c0 call otp_ce 
+
+otpd_read_special:
+68c7 708047a2 hjam 0xa2 ,core_otp_ctrl 
+68c8 1a227e00 deposit rega 
+68c9 60110048 hstore 2 ,core_otpd_addr 
+68ca 7920040b set1 11 ,temp 
+68cb 2fec000f isolate0 15 ,pdata 
+68cc 7920840f setflag true ,15 ,temp 
+68cd 6019004a hstoret 2 ,core_otpd_len 
+68ce 70800601 hjam otpd_start ,core_misc_ctrl 
+68cf 20600000 rtn 
+
+otpd_wait_end:
+68d0 6810812c hfetch 1 ,core_dma_status 
+68d1 c300e8d0 bbit0 otpd_done ,otpd_wait_end 
+68d2 20600000 rtn 
+
+otpd_read_data:
+68d3 2040688f call otp_set_addr 
+68d4 204068c6 call otpd_read_init 
+68d5 204068d0 call otpd_wait_end 
+68d6 70804783 hjam 0x83 ,core_otp_ctrl 
+68d7 20600000 rtn 
+
+otpd_read_code:
+68d8 68110124 hfetch 2 ,core_current_otp_addr 
+68d9 60110045 hstore 2 ,core_otp_addr 
+68da 204068c6 call otpd_read_init 
+68db d8e00001 arg otpd_done ,queue 
+68dc 2040676a call decrypt_code 
+68dd 204068d0 call otpd_wait_end 
+68de 2feffe00 isolate1 otpd_crcok ,pdata 
+68df 20406763 call set_ucode_status 
+68e0 70804783 hjam 0x83 ,core_otp_ctrl 
+68e1 20600000 rtn 
+
+uartd_rx_cnt_got_first_byte:
+68e2 70427a01 jam 1 ,mem_uartd_rxitems_got_data 
+68e3 18000e0e force uart_rx_timer ,queue 
+68e4 6801427c fetch 2 ,mem_uartd_rx_timeout 
+68e5 20207e4c branch timer_init 
+
+uartd_rx_cnt_with_threshold:
+68e6 68110112 hfetch 2 ,core_uart_rxitems 
+68e7 207a0000 rtn blank 
+68e8 6808c27b fetcht 1 ,mem_uartd_rxitems_threshold 
+68e9 98467c00 isub temp ,null 
+68ea 202168f2 branch uartd_rx_cnt_rtn_value ,positive 
+68eb 6800c27a fetch 1 ,mem_uartd_rxitems_got_data 
+68ec 203a68e2 branch uartd_rx_cnt_got_first_byte ,blank 
+68ed d8e0000e arg uart_rx_timer ,queue 
+68ee 20407e53 call timer_check 
+68ef 203a68f2 branch uartd_rx_cnt_rtn_value ,blank 
+68f0 58000000 setarg 0 
+68f1 20600000 rtn 
+
+uartd_rx_cnt_rtn_value:
+68f2 18000e0e force uart_rx_timer ,queue 
+68f3 20407e4b call timer_stop 
+68f4 70427a00 jam 0 ,mem_uartd_rxitems_got_data 
+68f5 68110112 hfetch 2 ,core_uart_rxitems 
+68f6 20600000 rtn 
+
+uartd_prepare_tx:
+68f7 6811005e hfetch 2 ,core_uart_twptr 
+68f8 98001400 iforce contwu 
+68f9 20600000 rtn 
+
+uartd_send:
+68fa 19427e00 deposit contwu 
+68fb 6011005e hstore 2 ,core_uart_twptr 
+68fc 20600000 rtn 
+
+uartd_prepare_rx:
+68fd 68110112 hfetch 2 ,core_uart_rxitems 
+68fe 207a0000 rtn blank 
+68ff 98007200 iforce loopcnt 
+6900 68110058 hfetch 2 ,core_uart_rrptr 
+6901 98000600 iforce contru 
+6902 20600000 rtn 
+
+uartd_rxdone_by_len:
+6903 68110058 hfetch 2 ,core_uart_rrptr 
+6904 9840fe00 iadd temp ,pdata 
+6905 1fe20600 copy pdata ,contru 
+
+uartd_rxdone:
+6906 18627e00 deposit contru 
+6907 60110058 hstore 2 ,core_uart_rrptr 
+6908 20600000 rtn 
+
+uart_set_baud_by_mem:
+6909 680142ac fetch uart_baud_len ,mem_baud 
+690a 60110052 hstore uart_baud_len ,core_uart_baud 
+690b 20600000 rtn 
+
+eeprom_store_le_reconn_info:
+690c 680303d0 fetch 6 ,mem_le_plap 
+690d 600301b4 store 6 ,mem_temp_lap 
+690e 7001b334 jam rec_4_mode ,mem_record_bt_mode 
+690f 20206913 branch eeprom_store_reconn_info 
+
+eeprom_store_bd_reconn_info:
+6910 68030040 fetch 6 ,mem_plap 
+6911 600301b4 store 6 ,mem_temp_lap 
+6912 7001b333 jam rec_3_mode ,mem_record_bt_mode 
+
+eeprom_store_reconn_info:
+6913 79200025 set1 mark_ext_patch ,mark 
+6914 44844021 bpatch patch21_0 ,mem_patch21 
+6915 20406954 call eeprom_store_remote_bdaddr 
+6916 20406950 call eeprom_store_last_record_index 
+6917 680081b3 fetch 1 ,mem_record_bt_mode 
+6918 c01a691b beq rec_4_mode ,eeprom_store_rec_4_mode 
+6919 c019e97c beq rec_3_mode ,eeprom_store_link_key 
+691a 20600000 rtn 
+
+eeprom_store_rec_4_mode:
+691b 2040697a call eeprom_store_le_ltl 
+691c 20206963 branch eeprom_store_le_local_addr 
+
+eeprom_load_reconn_info:
+691d 79200025 set1 mark_ext_patch ,mark 
+691e 4484c021 bpatch patch21_1 ,mem_patch21 
+691f 20406929 call eeprom_load_reconn_bdaddr 
+6920 680081b2 fetch 1 ,mem_select_list_item 
+6921 c17f8000 rtneq 0xff 
+6922 680301b4 fetch 6 ,mem_temp_lap 
+6923 60034274 store 6 ,mem_hci_plap 
+6924 680081b3 fetch 1 ,mem_record_bt_mode 
+6925 6000c2a9 store 1 ,mem_xrecord_mode 
+6926 c019e92d beq rec_3_mode ,eeprom_load_rec_3_mode 
+6927 c01a692f beq rec_4_mode ,eeprom_load_rec_4_mode 
+6928 20600000 rtn 
+
+eeprom_load_reconn_bdaddr:
+6929 2040694c call eeprom_load_last_record_index 
+692a 680081b2 fetch 1 ,mem_select_list_item 
+692b c17f8000 rtneq 0xff 
+692c 2020696b branch eeprom_load_remote_bdaddr 
+
+eeprom_load_rec_3_mode:
+692d 20406983 call eeprom_load_link_key 
+692e 202069a2 branch check_link_key_load 
+
+eeprom_load_rec_4_mode:
+692f 20406981 call eeprom_load_ltk_key 
+6930 202069a8 branch check_ltk_load 
+
+eeprom_clear_bd_reconn_info:
+6931 20406988 call eeprom_load_bdaddr_list 
+6932 78547c00 disable user 
+6933 2040698c call find_addr_from_bd_list 
+6934 2434427f nbranch at_error_rev_end ,user 
+
+eeprom_clear_reconn_info_common:
+6935 680901ba fetcht 2 ,mem_list_item_ptr 
+6936 184085ff increase -1 ,temp 
+6937 58000000 setarg 0 
+6938 e0438000 istore 7 ,temp 
+6939 d840001c arg 28 ,temp 
+693a da200195 arg mem_bdaddr_list_buff + 7 ,rega 
+693b da400000 arg eeprom_bdaddr_list ,regb 
+693c 2020683e branch iicd_write_eep_data 
+
+eeprom_clear_all_reconn_info:
+693d 79200025 set1 mark_ext_patch ,mark 
+693e 44854021 bpatch patch21_2 ,mem_patch21 
+693f d8a0018e arg mem_bdaddr_list_buff ,contw 
+6940 18007204 force 4 ,loopcnt 
+6941 20407e3b call memset0 
+6942 d840001c arg 28 ,temp 
+6943 da20018e arg mem_bdaddr_list_buff ,rega 
+6944 da400000 arg eeprom_bdaddr_list ,regb 
+6945 2020683e branch iicd_write_eep_data 
+
+eeprom_erase_reconn_info:
+6946 79200025 set1 mark_ext_patch ,mark 
+6947 4485c021 bpatch patch21_3 ,mem_patch21 
+6948 58000000 setarg 0x0 
+6949 60018040 store 3 ,mem_plap 
+694a e0a18000 istore 3 ,contw 
+694b 20206954 branch eeprom_store_remote_bdaddr 
+
+eeprom_load_last_record_index:
+694c d8400001 arg 1 ,temp 
+694d da2001b2 arg mem_select_list_item ,rega 
+694e da40001c arg eeprom_last_record ,regb 
+694f 2020681d branch iicd_read_eep_data 
+
+eeprom_store_last_record_index:
+6950 d8400001 arg 1 ,temp 
+6951 da2001b2 arg mem_select_list_item ,rega 
+6952 da40001c arg eeprom_last_record ,regb 
+6953 2020683e branch iicd_write_eep_data 
+
+eeprom_store_remote_bdaddr:
+6954 79200025 set1 mark_ext_patch ,mark 
+6955 44864021 bpatch patch21_4 ,mem_patch21 
+6956 20406988 call eeprom_load_bdaddr_list 
+6957 78547c00 disable user 
+6958 2040698c call find_addr_from_bd_list 
+6959 20740000 rtn user 
+
+eeprom_store_remote_addr_unfind:
+695a 7001b200 jam 0 ,mem_select_list_item 
+695b 680301b4 fetch 6 ,mem_temp_lap 
+695c 6003018f store 6 ,mem_bdaddr_list_buff + 1 
+695d 680081b3 fetch 1 ,mem_record_bt_mode 
+695e 6000818e store 1 ,mem_bdaddr_list_buff 
+695f d840001c arg 28 ,temp 
+6960 da20018e arg mem_bdaddr_list_buff ,rega 
+6961 da400000 arg eeprom_bdaddr_list ,regb 
+6962 2020683e branch iicd_write_eep_data 
+
+eeprom_store_le_local_addr:
+6963 d8400006 arg 6 ,temp 
+6964 da2044f9 arg mem_le_lap ,rega 
+6965 da40001d arg eeprom_le_reconn_local_addr ,regb 
+6966 2020683e branch iicd_write_eep_data 
+
+eeprom_load_le_loacal_addr:
+6967 d8400006 arg 6 ,temp 
+6968 da2044f9 arg mem_le_lap ,rega 
+6969 da40001d arg eeprom_le_reconn_local_addr ,regb 
+696a 2020681d branch iicd_read_eep_data 
+
+eeprom_load_remote_bdaddr:
+696b 79200025 set1 mark_ext_patch ,mark 
+696c 4486c021 bpatch patch21_5 ,mem_patch21 
+696d d8400007 arg 7 ,temp 
+696e da2001b3 arg mem_temp_reconn_record ,rega 
+696f da400000 arg eeprom_bdaddr_list ,regb 
+6970 680081b2 fetch 1 ,mem_select_list_item 
+6971 1feffe07 mul32 pdata ,7 ,pdata 
+6972 9a40a400 iadd regb ,regb 
+6973 2020681d branch iicd_read_eep_data 
+
+eeprom_linkkey_addr:
+6974 d8400010 arg 0x10 ,temp 
+6975 da400023 arg eeprom_linkkey_list ,regb 
+6976 680081b2 fetch 1 ,mem_select_list_item 
+6977 1ff27e00 lshift4 pdata ,pdata 
+6978 9a40a400 iadd regb ,regb 
+6979 20600000 rtn 
+
+eeprom_store_le_ltl:
+697a da20447b arg mem_le_ltk ,rega 
+697b 2020697d branch eeprom_store_link_key_common 
+
+eeprom_store_link_key:
+697c da204262 arg mem_link_key ,rega 
+
+eeprom_store_link_key_common:
+697d 79200025 set1 mark_ext_patch ,mark 
+697e 44874021 bpatch patch21_6 ,mem_patch21 
+697f 20406974 call eeprom_linkkey_addr 
+6980 2020683e branch iicd_write_eep_data 
+
+eeprom_load_ltk_key:
+6981 da20447b arg mem_le_ltk ,rega 
+6982 20206984 branch eeprom_load_link_key_common 
+
+eeprom_load_link_key:
+6983 da204262 arg mem_link_key ,rega 
+
+eeprom_load_link_key_common:
+6984 79200025 set1 mark_ext_patch ,mark 
+6985 4487c021 bpatch patch21_7 ,mem_patch21 
+6986 20406974 call eeprom_linkkey_addr 
+6987 2020681d branch iicd_read_eep_data 
+
+eeprom_load_bdaddr_list:
+6988 d840001c arg 28 ,temp 
+6989 da200195 arg mem_bdaddr_list_buff + 7 ,rega 
+698a da400000 arg eeprom_bdaddr_list ,regb 
+698b 2020681d branch iicd_read_eep_data 
+
+find_addr_from_bd_list:
+698c 79200025 set1 mark_ext_patch ,mark 
+698d 44884022 bpatch patch22_0 ,mem_patch22 
+698e 58000195 setarg mem_bdaddr_list_buff + 7 
+698f 600101ba store 2 ,mem_list_item_ptr 
+6990 7001b200 jam 0 ,mem_select_list_item 
+6991 df200004 arg 4 ,loopcnt 
+
+find_addr_from_list:
+6992 1f227e00 copy loopcnt ,pdata 
+6993 60008161 store 1 ,mem_pdatatemp 
+6994 680101ba fetch 2 ,mem_list_item_ptr 
+6995 1fe22200 copy pdata ,rega 
+6996 204069ac call find_addr_from_list_compare 
+6997 20740000 rtn user 
+6998 680101ba fetch 2 ,mem_list_item_ptr 
+6999 1fe0fe07 increase 7 ,pdata 
+699a 600101ba store 2 ,mem_list_item_ptr 
+699b 680081b2 fetch 1 ,mem_select_list_item 
+699c 1fe0fe01 increase 1 ,pdata 
+699d 600081b2 store 1 ,mem_select_list_item 
+699e 68008161 fetch 1 ,mem_pdatatemp 
+699f 1fe27200 copy pdata ,loopcnt 
+69a0 c2006992 loop find_addr_from_list 
+69a1 20600000 rtn 
+
+check_link_key_load:
+69a2 68044262 fetch 8 ,mem_link_key 
+69a3 680c426a fetcht 8 ,mem_link_key + 8 
+69a4 9841fe00 ior temp ,pdata 
+69a5 207a0000 rtn blank 
+69a6 70425e01 jam 1 ,mem_link_key_exists 
+69a7 20600000 rtn 
+
+check_ltk_load:
+69a8 68034274 fetch 6 ,mem_hci_plap 
+69a9 207a0000 rtn blank 
+69aa 70448b01 jam 1 ,mem_ltk_exists 
+69ab 20600000 rtn 
+
+find_addr_from_list_compare:
+69ac da4001b3 arg mem_temp_reconn_record ,regb 
+69ad df200007 arg 7 ,loopcnt 
+69ae 20407f25 call string_compare 
+69af 2022e9b1 branch enable_usr ,zero 
+69b0 20600000 rtn 
+
+enable_usr:
+69b1 78347c00 enable user 
+69b2 20600000 rtn 
+
+le_eeprom_load_reconn_info:
+69b3 20203bf1 branch assert 
+
+gpio_set_wake_by_current_state:
+69b4 79200025 set1 mark_ext_patch ,mark 
+69b5 4488c022 bpatch patch22_1 ,mem_patch22 
+69b6 79200407 set1 7 ,temp 
+69b7 204069e5 call gpio_get_bit 
+69b8 7d208407 nsetflag true ,7 ,temp 
+
+gpio_set_wake:
+69b9 79200025 set1 mark_ext_patch ,mark 
+69ba 44894022 bpatch patch22_2 ,mem_patch22 
+69bb 284c0007 isolate0 7 ,temp 
+69bc 18410e1f and temp ,0x1f ,queue 
+69bd 680200a3 fetch 4 ,mem_gpio_wakeup_low 
+69be f920fe00 qsetflag true ,pdata 
+69bf 600200a3 store 4 ,mem_gpio_wakeup_low 
+69c0 680200a7 fetch 4 ,mem_gpio_wakeup_high 
+69c1 fd20fe00 nqsetflag true ,pdata 
+69c2 600200a7 store 4 ,mem_gpio_wakeup_high 
+69c3 20600000 rtn 
+
+gpio_clr_wake:
+69c4 79200025 set1 mark_ext_patch ,mark 
+69c5 4489c022 bpatch patch22_3 ,mem_patch22 
+69c6 284c0007 isolate0 7 ,temp 
+69c7 18410e1f and temp ,0x1f ,queue 
+69c8 680200a3 fetch 4 ,mem_gpio_wakeup_low 
+69c9 f93ffe00 qset0 pdata 
+69ca 600200a3 store 4 ,mem_gpio_wakeup_low 
+69cb 680200a7 fetch 4 ,mem_gpio_wakeup_high 
+69cc f93ffe00 qset0 pdata 
+69cd 600200a7 store 4 ,mem_gpio_wakeup_high 
+69ce 20600000 rtn 
+
+gpio_config_input_nowake:
+69cf 204069c4 call gpio_clr_wake 
+69d0 202069d2 branch gpio_config_input_without_wake 
+
+gpio_config_input:
+69d1 2455e9b9 ncall gpio_set_wake ,wake 
+
+gpio_config_input_without_wake:
+69d2 d8a0807c arg core_gpio_pd0 ,contw 
+69d3 204069f4 call gpio_set_bit 
+69d4 79400407 setflip gpio_active_bit ,temp 
+69d5 d8a08078 arg core_gpio_pu0 ,contw 
+69d6 204069f4 call gpio_set_bit 
+69d7 793f8407 set0 gpio_active_bit ,temp 
+69d8 d8a08070 arg core_gpio_oe0 ,contw 
+69d9 202069f4 branch gpio_set_bit 
+
+gpio_config_output:
+69da 79400407 setflip gpio_active_bit ,temp 
+69db 204069f3 call gpio_out 
+69dc 79200407 set1 gpio_active_bit ,temp 
+69dd d8a08070 arg core_gpio_oe0 ,contw 
+69de 202069f4 branch gpio_set_bit 
+
+gpio_common:
+69df 18410e07 and temp ,0x07 ,queue 
+69e0 18497e00 rshift3 temp ,pdata 
+69e1 1fe17e03 and_into 3 ,pdata 
+69e2 98a08a00 iadd contw ,contw 
+69e3 e8a08000 ifetch 1 ,contw 
+69e4 20600000 rtn 
+
+gpio_get_bit:
+69e5 d8a0811c arg core_gpio_in ,contw 
+69e6 204069df call gpio_common 
+69e7 284ffe07 isolate1 gpio_active_bit ,temp 
+69e8 2020e9eb branch gpio_get_bit_reverse ,true 
+69e9 afec0000 qisolate0 pdata 
+69ea 20600000 rtn 
+
+gpio_get_bit_reverse:
+69eb afefffff qisolate1 pdata 
+69ec 20600000 rtn 
+
+gpio_out_inactive:
+69ed 2fcffe07 isolate1 7 ,null 
+69ee 202069f0 branch gpio_out_flag 
+
+gpio_out_active:
+69ef 2fcc0007 isolate0 7 ,null 
+
+gpio_out_flag:
+69f0 58000000 setarg 0 
+69f1 7d20fe07 nsetflag true ,gpio_active_bit ,pdata 
+69f2 98428400 ixor temp ,temp 
+
+gpio_out:
+69f3 d8a08074 arg core_gpio_out0 ,contw 
+
+gpio_set_bit:
+69f4 204069df call gpio_common 
+69f5 284ffe07 isolate1 gpio_active_bit ,temp 
+69f6 f920fe00 qsetflag true ,pdata 
+69f7 e0a08000 istore 1 ,contw 
+69f8 20600000 rtn 
+
+gpio_test:
+69f9 6800c16e fetch 1 ,mem_seqi 
+69fa c13f8000 rtneq 0x7f 
+69fb 70807700 hjam 0 ,core_gpio_out3 
+69fc 2000001e nop 30 
+69fd 70807708 hjam 8 ,core_gpio_out3 
+69fe 20600000 rtn 
+
+set_pwm_blink:
+69ff 1fed7e00 lshift8 pdata ,pdata 
+6a00 1ff27e00 lshift4 pdata ,pdata 
+6a01 601100a2 hstore 2 ,core_pwm_ncnt0 
+6a02 601100a0 hstore 2 ,core_pwm_pcnt0 
+6a03 20600000 rtn 
+
+set_pwm_steadyon:
+6a04 58000000 setarg 0 
+6a05 601100a2 hstore 2 ,core_pwm_ncnt0 
+6a06 58000001 setarg 1 
+6a07 601100a0 hstore 2 ,core_pwm_pcnt0 
+6a08 20600000 rtn 
+
+set_pwm_off:
+6a09 58000000 setarg 0 
+6a0a 601100a2 hstore 2 ,core_pwm_ncnt0 
+6a0b 601100a0 hstore 2 ,core_pwm_pcnt0 
+6a0c 20600000 rtn 
+
+init_filter_ram:
+6a0d d8a08800 arg 0x8800 ,contw 
+6a0e df200020 arg 0x20 ,loopcnt 
+6a0f 20407e3b call memset0 
+6a10 580004f9 setarg 0x4f9 
+6a11 60110848 hstore 2 ,0x8848 
+6a12 6011084a hstore 2 ,0x884a 
+6a13 6011084c hstore 2 ,0x884c 
+6a14 6011086c hstore 2 ,0x886c 
+6a15 6011088c hstore 2 ,0x888c 
+6a16 601108ac hstore 2 ,0x88ac 
+6a17 58000204 setarg 0x204 
+6a18 601108ae hstore 2 ,0x88ae 
+6a19 58000506 setarg 0x0506 
+6a1a 601108b0 hstore 2 ,0x88b0 
+6a1b 58000504 setarg 0x0504 
+6a1c 601108b2 hstore 2 ,0x88b2 
+6a1d 58000200 setarg 0x0200 
+6a1e 601108b4 hstore 2 ,0x88b4 
+6a1f 5800fefb setarg 0xFEFB 
+6a20 601108b6 hstore 2 ,0x88b6 
+6a21 5800faf9 setarg 0xFAF9 
+6a22 601108b8 hstore 2 ,0x88b8 
+6a23 5800fafb setarg 0xFAFB 
+6a24 601108ba hstore 2 ,0x88ba 
+6a25 5800fd00 setarg 0xFD00 
+6a26 601108bc hstore 2 ,0x88bc 
+6a27 58000408 setarg 0x0408 
+6a28 601108be hstore 2 ,0x88be 
+6a29 58000a0c setarg 0x0A0C 
+6a2a 601108c0 hstore 2 ,0x88c0 
+6a2b 58000b09 setarg 0x0B09 
+6a2c 601108c2 hstore 2 ,0x88c2 
+6a2d 58000500 setarg 0x0500 
+6a2e 601108c4 hstore 2 ,0x88c4 
+6a2f 5800f8f1 setarg 0xF8F1 
+6a30 601108c6 hstore 2 ,0x88c6 
+6a31 5800ece8 setarg 0xECE8 
+6a32 601108c8 hstore 2 ,0x88c8 
+6a33 5800e9eb setarg 0xE9EB 
+6a34 601108ca hstore 2 ,0x88ca 
+6a35 5800f500 setarg 0xF500 
+6a36 601108cc hstore 2 ,0x88cc 
+6a37 58001223 setarg 0x1223 
+6a38 601108ce hstore 2 ,0x88ce 
+6a39 5800374b setarg 0x374B 
+6a3a 601108d0 hstore 2 ,0x88d0 
+6a3b 58005e71 setarg 0x5E71 
+6a3c 601108d2 hstore 2 ,0x88d2 
+6a3d 5800787f setarg 0x787F 
+6a3e 601108d4 hstore 2 ,0x88d4 
+6a3f 20600000 rtn 
+
+enable_pcm:
+6a40 79200025 set1 mark_ext_patch ,mark 
+6a41 448a4022 bpatch patch22_4 ,mem_patch22 
+6a42 68110050 hfetch 2 ,core_clkoff 
+6a43 793ffe0e set0 clock_off_codec ,pdata 
+6a44 60110050 hstore 2 ,core_clkoff 
+6a45 7080b011 hjam 0x11 ,core_enc_ctrl 
+6a46 7080b101 hjam 0x1 ,core_cvsd_ctrl 
+6a47 7080b201 hjam 0x1 ,core_codec_ctrl 
+6a48 7080b311 hjam 0x11 ,core_dec_ctrl 
+6a49 20600000 rtn 
+
+disable_pcm:
+6a4a 79200025 set1 mark_ext_patch ,mark 
+6a4b 448ac022 bpatch patch22_5 ,mem_patch22 
+6a4c 68110050 hfetch 2 ,core_clkoff 
+6a4d 79207e0e set1 clock_off_codec ,pdata 
+6a4e 60110050 hstore 2 ,core_clkoff 
+6a4f 7080b004 hjam 0x4 ,core_enc_ctrl 
+6a50 7080b304 hjam 0x4 ,core_dec_ctrl 
+6a51 7080b100 hjam 0x0 ,core_cvsd_ctrl 
+6a52 7080b200 hjam 0x0 ,core_codec_ctrl 
+6a53 20600000 rtn 
+
+get_sco_data:
+6a54 68008030 fetch 1 ,mem_state 
+6a55 c4010000 rtnbit0 state_insco 
+6a56 d8a000b5 arg mem_sco_obuf ,contw 
+6a57 df20001e arg 30 ,loopcnt 
+
+get_sco_data_loop:
+6a58 68108134 hfetch 1 ,core_pcminfifo 
+6a59 e0a08000 istore 1 ,contw 
+6a5a c2006a58 loop get_sco_data_loop 
+6a5b 20600000 rtn 
+
+process_sco_data:
+6a5c 68008030 fetch 1 ,mem_state 
+6a5d c4010000 rtnbit0 state_insco 
+6a5e d8c000d3 arg mem_sco_ibuf ,contr 
+6a5f 1800721e force 30 ,loopcnt 
+
+process_sco_loop:
+6a60 e8c08000 ifetch 1 ,contr 
+6a61 60108009 hstore 1 ,core_pcmoutfifo 
+6a62 c2006a60 loop process_sco_loop 
+6a63 20600000 rtn 
+
+init_sched:
+6a64 20600000 rtn 
+
+gpio_cfg_uart_tx_output:
+6a65 20406a87 call gpio_uart2gpio 
+6a66 d8400006 arg uart_wakeup_tx ,temp 
+6a67 202069da branch gpio_config_output 
+
+gpio_pu_uart_tx:
+6a68 20406a65 call gpio_cfg_uart_tx_output 
+6a69 d8400006 arg uart_wakeup_tx ,temp 
+6a6a 202069ed branch gpio_out_inactive 
+
+gpio_pd_uart_tx:
+6a6b 20406a65 call gpio_cfg_uart_tx_output 
+6a6c d8400006 arg uart_wakeup_tx ,temp 
+6a6d 202069ef branch gpio_out_active 
+
+gpio_cfg_uart_rx_output:
+6a6e 20406a87 call gpio_uart2gpio 
+6a6f d8400007 arg uart_wakeup_rx ,temp 
+6a70 202069da branch gpio_config_output 
+
+gpio_pu_uart_rx:
+6a71 20406a6e call gpio_cfg_uart_rx_output 
+6a72 d8400007 arg uart_wakeup_rx ,temp 
+6a73 202069ed branch gpio_out_inactive 
+
+gpio_pd_uart_rx:
+6a74 20406a6e call gpio_cfg_uart_rx_output 
+6a75 d8400007 arg uart_wakeup_rx ,temp 
+6a76 202069ef branch gpio_out_active 
+
+gpio_tx_config_input_with_pu:
+6a77 20406a87 call gpio_uart2gpio 
+6a78 68108078 hfetch 1 ,core_gpio_pu0 
+6a79 79207e06 set1 uart_wakeup_tx ,pdata 
+6a7a 60108078 hstore 1 ,core_gpio_pu0 
+6a7b d8400006 arg uart_wakeup_tx ,temp 
+6a7c 202069d1 branch gpio_config_input 
+
+gpio_rx_config_input_with_pu:
+6a7d 20406a87 call gpio_uart2gpio 
+6a7e 68108078 hfetch 1 ,core_gpio_pu0 
+6a7f 79207e07 set1 uart_wakeup_rx ,pdata 
+6a80 60108078 hstore 1 ,core_gpio_pu0 
+6a81 d8400007 arg uart_wakeup_rx ,temp 
+6a82 202069d1 branch gpio_config_input 
+
+gpio_gpio2uart:
+6a83 68108081 hfetch 1 ,core_gpio_sel1 
+6a84 1fe1fe04 or_into 0x04 ,pdata 
+6a85 60108081 hstore 1 ,core_gpio_sel1 
+6a86 20600000 rtn 
+
+gpio_uart2gpio:
+6a87 68108081 hfetch 1 ,core_gpio_sel1 
+6a88 1fe17efb and_into 0xfb ,pdata 
+6a89 60108081 hstore 1 ,core_gpio_sel1 
+6a8a 20600000 rtn 
+
+gpio_check_uart_state:
+6a8b 68108081 hfetch 1 ,core_gpio_sel1 
+6a8c 2feffe02 isolate1 2 ,pdata 
+6a8d 20600000 rtn 
+
+prcp_init:
+6a8e 58006a91 setarg prcp_process 
+6a8f 60014296 store 2 ,mem_cb_att_write 
+6a90 20600000 rtn 
+
+prcp_process:
+6a91 20406b14 call clear_prcp_sendbuff 
+6a92 68008481 fetch 1 ,mem_prcp 
+6a93 c000ea96 beq prcp_le ,le_prcp 
+6a94 c0016a9c beq prcp_ssp ,prcp 
+6a95 20203bf1 branch assert 
+
+le_prcp:
+6a96 d8400017 arg prcp_rx_le ,temp 
+6a97 600944c2 storet 2 ,mem_le_notify_handle 
+6a98 20405a88 call le_att_get_handle_ptr 
+6a99 e8c08000 ifetch 1 ,contr 
+6a9a 20406a9e call prcp_parse 
+6a9b 20205b42 branch prcp_le_tx 
+
+prcp:
+6a9c 20406a9e call prcp_parse 
+6a9d 20205b51 branch prcp_tx 
+
+prcp_parse:
+6a9e 18c22200 copy contr ,rega 
+6a9f 79200025 set1 mark_ext_patch ,mark 
+6aa0 4498c026 bpatch patch26_1 ,mem_patch26 
+6aa1 e8c08000 ifetch 1 ,contr 
+6aa2 c0006ab7 beq common_res ,prcp_parse_common_res 
+6aa3 c000eabc beq read_registers_req ,prcp_parse_read_registers_req 
+6aa4 c0016abd beq read_registers_res ,prcp_parse_read_registers_res 
+6aa5 c001eabe beq write_registers_req ,prcp_parse_write_registers_req 
+6aa6 c0026b50 beq i2c_config_req ,prcp_parse_i2c_config_req 
+6aa7 c002eaff beq i2c_read_req ,prcp_parse_i2c_read_req 
+6aa8 c0036b51 beq i2c_read_res ,prcp_parse_i2c_read_res 
+6aa9 c003eb52 beq i2c_write_req ,prcp_parse_i2c_write_req 
+6aaa c0046abf beq spi_config_req ,prcp_parse_spi_config_req 
+6aab c004eac0 beq spi_read_req ,prcp_parse_spi_read_req 
+6aac c0056ac1 beq spi_read_res ,prcp_parse_spi_read_res 
+6aad c005eac2 beq spi_write_req ,prcp_parse_spi_write_req 
+6aae c0066ac3 beq pwm_config_req ,prcp_parse_pwm_config_req 
+6aaf c006ead5 beq pwm_write_req ,prcp_parse_pwm_write_req 
+6ab0 c0076ae3 beq gpio_config_req ,prcp_parse_gpio_config_req 
+6ab1 c007eaf0 beq gpio_read_req ,prcp_parse_gpio_read_req 
+6ab2 c0086af1 beq gpio_read_res ,prcp_parse_gpio_read_res 
+6ab3 c008eaf8 beq gpio_write_req ,prcp_parse_gpio_write_req 
+6ab4 c0096b19 beq ota_write_req ,prcp_parse_ota_write_req 
+6ab5 c009eb45 beq ota_end_cmd ,prcp_parse_ota_end_cmd 
+6ab6 20600000 rtn 
+
+prcp_parse_common_res:
+6ab7 1a220c00 copy rega ,contr 
+6ab8 e8c08000 ifetch 1 ,contr 
+6ab9 1fed7e00 lshift8 pdata ,pdata 
+6aba 6001846d store 3 ,mem_prcp_data 
+6abb 20600000 rtn 
+
+prcp_parse_read_registers_req:
+6abc 20600000 rtn 
+
+prcp_parse_read_registers_res:
+6abd 20600000 rtn 
+
+prcp_parse_write_registers_req:
+6abe 20600000 rtn 
+
+prcp_parse_spi_config_req:
+6abf 20600000 rtn 
+
+prcp_parse_spi_read_req:
+6ac0 20600000 rtn 
+
+prcp_parse_spi_read_res:
+6ac1 20600000 rtn 
+
+prcp_parse_spi_write_req:
+6ac2 20600000 rtn 
+
+prcp_parse_pwm_config_req:
+6ac3 e8c20000 ifetch 4 ,contr 
+6ac4 60108082 hstore 1 ,core_gpio_sel2 
+6ac5 1fecfe00 rshift8 pdata ,pdata 
+6ac6 68188081 hfetcht 1 ,core_gpio_sel1 
+6ac7 1841047f and_into 0x7f ,temp 
+6ac8 98418400 ior temp ,temp 
+6ac9 60188081 hstoret 1 ,core_gpio_sel1 
+6aca 1fecfe00 rshift8 pdata ,pdata 
+6acb 68188051 hfetcht 1 ,core_clkoff + 1 
+6acc 184104df and_into 0xdf ,temp 
+6acd 98418400 ior temp ,temp 
+6ace 60188051 hstoret 1 ,core_clkoff + 1 
+6acf 1fecfe00 rshift8 pdata ,pdata 
+6ad0 68188042 hfetcht 1 ,core_clksel 
+6ad1 1841043f and_into 0x3f ,temp 
+6ad2 98418400 ior temp ,temp 
+6ad3 60188042 hstoret 1 ,core_clksel 
+6ad4 20206ab7 branch prcp_parse_common_res 
+
+prcp_parse_pwm_write_req:
+6ad5 e8c48000 ifetch 9 ,contr 
+6ad6 68188085 hfetcht 1 ,core_gpio_key2 
+6ad7 1841043f and_into 0x3f ,temp 
+6ad8 98418400 ior temp ,temp 
+6ad9 60188085 hstoret 1 ,core_gpio_key2 
+6ada 1fecfe00 rshift8 pdata ,pdata 
+6adb 601100a0 hstore 2 ,core_pwm_pcnt0 
+6adc 1ff17e00 rshift16 pdata ,pdata 
+6add 601100a2 hstore 2 ,core_pwm_ncnt0 
+6ade 1ff17e00 rshift16 pdata ,pdata 
+6adf 601100a4 hstore 2 ,core_pwm_pcnt1 
+6ae0 1ff17e00 rshift16 pdata ,pdata 
+6ae1 601100a6 hstore 2 ,core_pwm_ncnt1 
+6ae2 20206ab7 branch prcp_parse_common_res 
+
+prcp_parse_gpio_config_req:
+6ae3 e8c20000 ifetch 4 ,contr 
+6ae4 60120070 hstore 4 ,core_gpio_oe0 
+6ae5 e8c20000 ifetch 4 ,contr 
+6ae6 60120078 hstore 4 ,core_gpio_pu0 
+6ae7 e8c20000 ifetch 4 ,contr 
+6ae8 6012007c hstore 4 ,core_gpio_pd0 
+6ae9 e8c08000 ifetch 1 ,contr 
+6aea 60108080 hstore 1 ,core_gpio_sel 
+6aeb e8c08000 ifetch 1 ,contr 
+6aec 60108081 hstore 1 ,core_gpio_sel1 
+6aed e8c08000 ifetch 1 ,contr 
+6aee 60108082 hstore 1 ,core_gpio_sel2 
+6aef 20206ab7 branch prcp_parse_common_res 
+
+prcp_parse_gpio_read_req:
+6af0 20206af1 branch prcp_parse_gpio_read_res 
+
+prcp_parse_gpio_read_res:
+6af1 70046d10 jam 0x10 ,mem_prcp_data 
+6af2 d8a0046e arg mem_prcp_data + 1 ,contw 
+6af3 68120074 hfetch 4 ,core_gpio_out0 
+6af4 e0a20000 istore 4 ,contw 
+6af5 6812011c hfetch 4 ,core_gpio_in 
+6af6 e0a20000 istore 4 ,contw 
+6af7 20600000 rtn 
+
+prcp_parse_gpio_write_req:
+6af8 e8c88000 ifetcht 1 ,contr 
+6af9 e8c08000 ifetch 1 ,contr 
+6afa 1fe9fe00 lshift3 pdata ,pdata 
+6afb 1ff27e00 lshift4 pdata ,pdata 
+6afc 98418400 ior temp ,temp 
+6afd 204069f3 call gpio_out 
+6afe 20206ab7 branch prcp_parse_common_res 
+
+prcp_parse_i2c_read_req:
+6aff e8c88000 ifetcht 1 ,contr 
+6b00 60188301 hstoret 1 ,iic_slave_addr 
+6b01 e8c08000 ifetch 1 ,contr 
+6b02 2fe1fe01 compare 1 ,pdata ,0xff 
+6b03 e8c08000 ifetch 1 ,contr 
+6b04 60108307 hstore 1 ,iic_fifo 
+6b05 2020eb08 branch iic_read_data_len ,true 
+6b06 e8c08000 ifetch 1 ,contr 
+6b07 60108307 hstore 1 ,iic_fifo 
+
+iic_read_data_len:
+6b08 e8c08000 ifetch 1 ,contr 
+6b09 1fe27200 copy pdata ,loopcnt 
+6b0a 1fe0ffff increase -1 ,pdata 
+6b0b 1fe1fe90 or_into 0x90 ,pdata 
+6b0c 60108302 hstore 1 ,iic_ctr 
+6b0d 70830302 hjam 2 ,iic_cr 
+6b0e 20000001 nop 1 
+6b0f d8a0046d arg mem_prcp_data ,contw 
+
+iic_read_loop:
+6b10 68108307 hfetch 1 ,iic_fifo 
+6b11 e0a08000 istore 1 ,contw 
+6b12 c2006b10 loop iic_read_loop 
+6b13 20600000 rtn 
+
+clear_prcp_sendbuff:
+6b14 58000000 setarg 0 
+6b15 6002046d store 4 ,mem_prcp_data 
+6b16 e0a40000 istore 8 ,contw 
+6b17 e0a40000 istore 8 ,contw 
+6b18 20600000 rtn 
+
+prcp_parse_ota_write_req:
+6b19 1a227e00 copy rega ,pdata 
+6b1a 1fe0fe01 increase 1 ,pdata 
+6b1b 60010483 store 2 ,rx_buf_data_ptr 
+6b1c 68014749 fetch 2 ,mem_eeprom_ota_base_addr 
+6b1d c0006b28 beq 0x0000 ,prcp_parse_ota_start1 
+
+prcp_parse_ota_load:
+6b1e 68014749 fetch 2 ,mem_eeprom_ota_base_addr 
+6b1f 68090483 fetcht 2 ,rx_buf_data_ptr 
+6b20 e8490000 ifetcht 2 ,temp 
+6b21 9840fe00 iadd temp ,pdata 
+6b22 68090483 fetcht 2 ,rx_buf_data_ptr 
+6b23 18408402 increase 2 ,temp 
+6b24 18420c00 copy temp ,contr 
+6b25 e8c88000 ifetcht 1 ,contr 
+6b26 18c22200 copy contr ,rega 
+6b27 20206842 branch iicd_write_ota_data 
+
+prcp_parse_ota_start1:
+6b28 58000002 setarg 0x0002 
+6b29 1ff0fe00 byteswap pdata ,pdata 
+6b2a 60010225 store 2 ,mem_addr_mi 
+6b2b da606823 arg iicd_read_eep ,regc 
+6b2c df200002 arg 0x2 ,loopcnt 
+
+prcp_parse_ota_loop1:
+6b2d 204066e2 call get_block_header 
+6b2e 2422eb36 nbranch prcp_parse_ota_start2 ,zero 
+6b2f 68010225 fetch 2 ,mem_addr_mi 
+6b30 1ff0fe00 byteswap pdata ,pdata 
+6b31 9840fe00 iadd temp ,pdata 
+6b32 60014749 store 2 ,mem_eeprom_ota_base_addr 
+6b33 1ff0fe00 byteswap pdata ,pdata 
+6b34 60010225 store 2 ,mem_addr_mi 
+6b35 c2006b2d loop prcp_parse_ota_loop1 
+
+prcp_parse_ota_start2:
+6b36 68014749 fetch 2 ,mem_eeprom_ota_base_addr 
+6b37 1ff0fe00 byteswap pdata ,pdata 
+6b38 60010225 store 2 ,mem_addr_mi 
+6b39 da606823 arg iicd_read_eep ,regc 
+6b3a df20ffff arg 0xffff ,loopcnt 
+
+prcp_parse_ota_loop2:
+6b3b 204066e2 call get_block_header 
+6b3c 2422eb1e nbranch prcp_parse_ota_load ,zero 
+6b3d 68010225 fetch 2 ,mem_addr_mi 
+6b3e 1ff0fe00 byteswap pdata ,pdata 
+6b3f 9840fe00 iadd temp ,pdata 
+6b40 1fe0fe02 increase 2 ,pdata 
+6b41 60014749 store 2 ,mem_eeprom_ota_base_addr 
+6b42 1ff0fe00 byteswap pdata ,pdata 
+6b43 60010225 store 2 ,mem_addr_mi 
+6b44 c2006b3b loop prcp_parse_ota_loop2 
+
+prcp_parse_ota_end_cmd:
+6b45 68014749 fetch 2 ,mem_eeprom_ota_base_addr 
+6b46 1fe0fe02 increase 2 ,pdata 
+6b47 1ff0fe00 byteswap pdata ,pdata 
+6b48 60014749 store 2 ,mem_eeprom_ota_base_addr 
+6b49 da204749 arg mem_eeprom_ota_base_addr ,rega 
+6b4a d8400002 arg 0x02 ,temp 
+6b4b dfe00000 arg 0x0000 ,pdata 
+6b4c 20406842 call iicd_write_ota_data 
+6b4d 58000000 setarg 0x0000 
+6b4e 60014749 store 2 ,mem_eeprom_ota_base_addr 
+6b4f 20600000 rtn 
+
+prcp_parse_i2c_config_req:
+6b50 20600000 rtn 
+
+prcp_parse_i2c_read_res:
+6b51 20600000 rtn 
+
+prcp_parse_i2c_write_req:
+6b52 20600000 rtn 
+
+rfcomm_init:
+6b53 20758000 rtn wake 
+6b54 70475500 jam 0 ,mem_rfcomm_send_more_pkt 
+6b55 70048503 jam bits9600 ,memremoterpnbitrate 
+6b56 70048603 jam databits8 ,memremoteprndatabits 
+6b57 70048a11 jam 0x11 ,memremoteprnxon 
+6b58 70048b13 jam 0x13 ,memremoteprnxoff 
+6b59 58000000 setarg 0 
+6b5a 60018487 store 3 ,memremoteprnstopbit 
+6b5b 6000c2bd store 1 ,mem_spp_state 
+6b5c 7047f300 jam 0 ,memui_reconnect_mode 
+
+rfcomm_init_spp:
+6b5d 79200025 set1 mark_ext_patch ,mark 
+6b5e 44dfc037 bpatch patch37_7 ,mem_patch37 
+6b5f 58000000 setarg 0 
+6b60 6000c2bd store 1 ,mem_spp_state 
+6b61 6000c752 store 1 ,mem_remote_spp_channel 
+6b62 6000c74b store 1 ,mem_pn_dlci 
+6b63 70475750 jam 0x50 ,mem_credit_given 
+6b64 20600000 rtn 
+
+set_cr_bit:
+6b65 18418402 or_into 0x02 ,temp 
+6b66 20600000 rtn 
+
+rfcomm_calculate_fcs_sabm:
+6b67 18427e00 copy temp ,pdata 
+6b68 1fedfe00 reverse pdata ,pdata 
+6b69 6000c750 store 1 ,memfcstemp3 
+6b6a 18007e3f force ini_tx_sabm ,pdata 
+6b6b 1fedfe00 reverse pdata ,pdata 
+6b6c 6000c74f store 1 ,memfcstemp2 
+6b6d 18007e01 force 0x01 ,pdata 
+6b6e 1fedfe00 reverse pdata ,pdata 
+6b6f 6000c74e store 1 ,memfcstemp1 
+6b70 20406b9d call caculate_fcs 
+6b71 18427e00 copy temp ,pdata 
+6b72 20600000 rtn 
+
+rfcomm_calculate_fcs_ua:
+6b73 1fedfe00 reverse pdata ,pdata 
+6b74 6000c750 store 1 ,memfcstemp3 
+6b75 18007e73 force rsp_tx_ua ,pdata 
+6b76 1fedfe00 reverse pdata ,pdata 
+6b77 6000c74f store 1 ,memfcstemp2 
+6b78 18007e01 force 0x01 ,pdata 
+6b79 1fedfe00 reverse pdata ,pdata 
+6b7a 6000c74e store 1 ,memfcstemp1 
+6b7b 20206b9d branch caculate_fcs 
+
+rfcomm_calculate_fcs_dlci0:
+6b7c 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6b7d 203a6b80 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+6b7e 58000070 setarg 0x70 
+6b7f 20600000 rtn 
+
+rfcomm_calculate_fcs_dlci0_res:
+6b80 580000aa setarg 0xaa 
+6b81 20600000 rtn 
+
+rfcomm_save_fcs_uih:
+6b82 1fedfe00 reverse pdata ,pdata 
+6b83 6000c750 store 1 ,memfcstemp3 
+6b84 18007eef force rsp_rx_uih ,pdata 
+6b85 20406b91 call caculate_uihdata_fcs 
+6b86 6809048f fetcht 2 ,mem_contw_temp 
+6b87 18420a00 copy temp ,contw 
+6b88 e0a08000 istore 1 ,contw 
+6b89 18a20400 copy contw ,temp 
+6b8a 6009048f storet 2 ,mem_contw_temp 
+6b8b 18007eff force rsp_rx_uih_wdata ,pdata 
+6b8c 20406b91 call caculate_uihdata_fcs 
+6b8d 6809048f fetcht 2 ,mem_contw_temp 
+6b8e 18420a00 copy temp ,contw 
+6b8f e0a08000 istore 1 ,contw 
+6b90 20600000 rtn 
+
+caculate_uihdata_fcs:
+6b91 1fedfe00 reverse pdata ,pdata 
+6b92 6000c74f store 1 ,memfcstemp2 
+6b93 6801474f fetch 2 ,memfcstemp2 
+6b94 1fed7e00 lshift8 pdata ,pdata 
+6b95 6001848c store 3 ,mem_mod2div_temp 
+6b96 da200107 arg 0x107 ,rega 
+6b97 da40000f arg 0xf ,regb 
+6b98 20406baa call mod2div 
+6b99 1fe2fed7 xor_into 0xd7 ,pdata 
+6b9a 1fe47e00 invert pdata ,pdata 
+6b9b 1fedfe00 reverse pdata ,pdata 
+6b9c 20600000 rtn 
+
+caculate_fcs:
+6b9d 6801c74e fetch 3 ,memfcstemp1 
+6b9e 6001848c store 3 ,mem_mod2div_temp 
+6b9f da200107 arg 0x107 ,rega 
+6ba0 da40000f arg 0xf ,regb 
+6ba1 20406baa call mod2div 
+6ba2 1fed7e00 lshift8 pdata ,pdata 
+6ba3 da400007 arg 0x7 ,regb 
+6ba4 20406baa call mod2div 
+6ba5 1fe2fe2b xor_into 0x2b ,pdata 
+6ba6 1fe47e00 invert pdata ,pdata 
+6ba7 1fedfe00 reverse pdata ,pdata 
+6ba8 1fe20400 copy pdata ,temp 
+6ba9 20600000 rtn 
+
+mod2div:
+6baa da600000 arg 0 ,regc 
+6bab 1a427200 copy regb ,loopcnt 
+6bac 20407dfb call right_shift_n 
+6bad 1fe20400 icopy temp 
+
+mod2div_loop:
+6bae 18427e00 copy temp ,pdata 
+6baf 1a63a600 lshift regc ,regc 
+6bb0 c3046bb3 bbit0 8 ,mod2div_not_enough_reduction 
+6bb1 9a228400 ixor rega ,temp 
+6bb2 1a60a601 increase 1 ,regc 
+
+mod2div_not_enough_reduction:
+6bb3 18438400 lshift temp ,temp 
+6bb4 6801848c fetch 3 ,mem_mod2div_temp 
+6bb5 1a40a5ff increase -1 ,regb 
+6bb6 2a41feff compare 0xff ,regb ,0xff 
+6bb7 2020ebbd branch mod2div_end ,true 
+6bb8 1a427200 copy regb ,loopcnt 
+6bb9 20407dfb call right_shift_n 
+6bba 2feffe00 isolate1 0 ,pdata 
+6bbb 79208400 setflag true ,0 ,temp 
+6bbc 20206bae branch mod2div_loop 
+
+mod2div_end:
+6bbd 18437e00 rshift temp ,pdata 
+6bbe 20600000 rtn 
+
+get_rfcomm_snd_adss:
+6bbf 6808c74b fetcht 1 ,mem_pn_dlci 
+
+dlci_to_address_cmd:
+6bc0 184b8400 lshift2 temp ,temp 
+6bc1 79200400 set1 rfcomm_address_ext_len ,temp 
+6bc2 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6bc3 245a6b65 ncall set_cr_bit ,blank 
+6bc4 600884a5 storet 1 ,mem_rfcomm_send_adss 
+6bc5 20600000 rtn 
+
+dlci_to_address_res:
+6bc6 184b8400 lshift2 temp ,temp 
+6bc7 79200400 set1 rfcomm_address_ext_len ,temp 
+6bc8 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6bc9 205a6b65 call set_cr_bit ,blank 
+6bca 20600000 rtn 
+
+channel_to_dlci:
+6bcb 18438400 lshift temp ,temp 
+6bcc 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6bcd 793a0400 setflag blank ,0 ,temp 
+6bce 20600000 rtn 
+
+rfcomm_rx_process_dlci0_sabm:
+6bcf 68088494 fetcht 1 ,mem_current_channel 
+6bd0 700496d7 jam 0xd7 ,mem_current_fcs 
+6bd1 20406cf6 call rfcomm_send_ua 
+6bd2 6800c2ba fetch 1 ,mem_rfcomm_state 
+6bd3 79207e06 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+6bd4 79207e07 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+6bd5 6000c2ba store 1 ,mem_rfcomm_state 
+6bd6 70475100 jam 0 ,mem_rfcomm_initiator 
+6bd7 20206cd7 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process_dlci0_ua:
+6bd8 6800c2ba fetch 1 ,mem_rfcomm_state 
+6bd9 79207e07 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+6bda 6000c2ba store 1 ,mem_rfcomm_state 
+6bdb 20206cd7 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process:
+6bdc 79200025 set1 mark_ext_patch ,mark 
+6bdd 44e04038 bpatch patch38_0 ,mem_patch38 
+6bde 6800c7f3 fetch 1 ,memui_reconnect_mode 
+6bdf c0006be1 beq no_reconnection ,rfcomm_rx_process_remote_page 
+6be0 20206c8b branch rfcomm_rx_process_reconn 
+
+rfcomm_rx_process_remote_page:
+6be1 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+6be2 1fe20c00 copy pdata ,contr 
+6be3 20406c0f call get_rfcomm_head_struct 
+6be4 68008494 fetch 1 ,mem_current_channel 
+6be5 c0006be7 beq 0 ,parse_dlci0_rp 
+6be6 20206c57 branch parse_uih_rp 
+
+parse_dlci0_rp:
+6be7 79200025 set1 mark_ext_patch ,mark 
+6be8 44e0c038 bpatch patch38_1 ,mem_patch38 
+6be9 68008495 fetch 1 ,mem_current_frame_type 
+6bea c01febcf beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+6beb c039ebd8 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+6bec c077ebef beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+6bed c1298000 rtneq rfcomm_frame_type_disconn 
+6bee 20203bf1 branch assert 
+
+parse_dlci0_rp_uih:
+6bef 68010499 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6bf0 1fe20c00 copy pdata ,contr 
+6bf1 20406c1a call get_rfcomm_uih_head_struct 
+6bf2 6800849b fetch 1 ,mem_uih_cmd_type 
+6bf3 c020ebf8 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+6bf4 c0206c04 beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+6bf5 c038ec3f beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+6bf6 c0386c4e beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+6bf7 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_cmd:
+6bf8 20406c06 call parse_dlci0_rp_uih_pn_res_common 
+6bf9 6800c74b fetch 1 ,mem_pn_dlci 
+6bfa 1fe37e00 rshift pdata ,pdata 
+6bfb 1fe67c01 sub pdata ,spp_slave_channel ,null 
+6bfc 2022ebfe branch parse_dlci0_rp_uih_pn_cmd_spp ,zero 
+6bfd 20203bf1 branch assert 
+
+parse_dlci0_rp_uih_pn_cmd_spp:
+6bfe 6800c2bd fetch 1 ,mem_spp_state 
+6bff 79207e00 set1 rfcomm_channel_state_pn_cmd ,pdata 
+6c00 79207e01 set1 rfcomm_channel_state_pn_res ,pdata 
+6c01 6000c2bd store 1 ,mem_spp_state 
+6c02 20406d22 call rfcomm_send_param_neg_res 
+6c03 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_res:
+6c04 20406c06 call parse_dlci0_rp_uih_pn_res_common 
+6c05 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_pn_res_common:
+6c06 20406c22 call get_param_payload_ptr 
+6c07 20206c30 branch get_rfcomm_prarmer_negotiation 
+
+get_rfcomm_param_modem_status:
+6c08 20406c22 call get_param_payload_ptr 
+6c09 e8c08000 ifetch 1 ,contr 
+6c0a 1fe97e00 rshift3 pdata ,pdata 
+6c0b 6000c758 store 1 ,mem_ms_channel 
+6c0c e8c08000 ifetch 1 ,contr 
+6c0d 600084a0 store 1 ,mem_ms_param 
+6c0e 20600000 rtn 
+
+get_rfcomm_head_struct:
+6c0f e8c08000 ifetch 1 ,contr 
+6c10 60008493 store 1 ,mem_current_adss 
+6c11 1fe97e00 rshift3 pdata ,pdata 
+6c12 60008494 store 1 ,mem_current_channel 
+6c13 e8c08000 ifetch 1 ,contr 
+6c14 60008495 store 1 ,mem_current_frame_type 
+
+get_rfcomm_current_length:
+6c15 20406c27 call get_rfcomm_length_common 
+6c16 60090497 storet 2 ,mem_current_length 
+6c17 18c27e00 copy contr ,pdata 
+6c18 60010499 store 2 ,mem_rfcomm_uih_payload_ptr 
+6c19 20600000 rtn 
+
+get_rfcomm_uih_head_struct:
+6c1a e8c08000 ifetch 1 ,contr 
+6c1b 1fe37e00 rshift pdata ,pdata 
+6c1c 6000849b store 1 ,mem_uih_cmd_type 
+6c1d 20406c27 call get_rfcomm_length_common 
+6c1e 6009049c storet 2 ,mem_uih_length 
+6c1f 18c27e00 copy contr ,pdata 
+6c20 6001049e store 2 ,mem_param_payload_ptr 
+6c21 20600000 rtn 
+
+get_param_payload_ptr:
+6c22 6801049e fetch 2 ,mem_param_payload_ptr 
+6c23 1fe20c00 copy pdata ,contr 
+6c24 20600000 rtn 
+
+get_rfcomm_param_length_common:
+6c25 6801049e fetch 2 ,mem_param_payload_ptr 
+6c26 1fe20c00 copy pdata ,contr 
+
+get_rfcomm_length_common:
+6c27 e8c08000 ifetch 1 ,contr 
+6c28 1fe20400 copy pdata ,temp 
+6c29 18430400 rshift temp ,temp 
+6c2a c3800000 rtnbit1 0 
+6c2b e8c08000 ifetch 1 ,contr 
+6c2c 1fe9fe00 lshift3 pdata ,pdata 
+6c2d 1ff27e00 lshift4 pdata ,pdata 
+6c2e 98408400 iadd temp ,temp 
+6c2f 20600000 rtn 
+
+get_rfcomm_prarmer_negotiation:
+6c30 e8c08000 ifetch 1 ,contr 
+6c31 6000c74b store 1 ,mem_pn_dlci 
+6c32 e8c08000 ifetch 1 ,contr 
+6c33 600084a1 store 1 ,mem_pn_credit_flow_type_info 
+6c34 e8c08000 ifetch 1 ,contr 
+6c35 600084a2 store 1 ,mem_pn_priority 
+6c36 e8c08000 ifetch 1 ,contr 
+6c37 600084a3 store 1 ,mem_pn_acknowledg_timer 
+6c38 e8c10000 ifetch 2 ,contr 
+6c39 6001474c store 2 ,mem_pn_max_frame_size 
+6c3a e8c08000 ifetch 1 ,contr 
+6c3b 600084a4 store 1 ,mem_pn_max_retrans 
+6c3c e8c08000 ifetch 1 ,contr 
+6c3d 6000c756 store 1 ,mem_remote_credits 
+6c3e 20600000 rtn 
+
+parse_dlci0_rp_uih_ms_cmd:
+6c3f 20406c08 call get_rfcomm_param_modem_status 
+6c40 6800c758 fetch 1 ,mem_ms_channel 
+6c41 1fe67c01 sub pdata ,1 ,null 
+6c42 2022ec44 branch parse_dlci0_rp_uih_ms_cmd_spp ,zero 
+6c43 20203bf1 branch assert 
+
+parse_dlci0_rp_uih_ms_cmd_spp:
+6c44 6800c2bd fetch 1 ,mem_spp_state 
+6c45 79207e05 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+6c46 79207e06 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+6c47 6000c2bd store 1 ,mem_spp_state 
+6c48 6808c74b fetcht 1 ,mem_pn_dlci 
+6c49 184b8400 lshift2 temp ,temp 
+6c4a 18418403 or_into 3 ,temp 
+6c4b 20406d55 call rfcomm_send_modem_status_res 
+6c4c 70475503 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+6c4d 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_rp_uih_ms_res:
+6c4e 20406c08 call get_rfcomm_param_modem_status 
+6c4f 6800c758 fetch 1 ,mem_ms_channel 
+6c50 1fe67c01 sub pdata ,1 ,null 
+6c51 2022ec53 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+6c52 20203bf1 branch assert 
+
+parse_dlci0_rp_uih_ms_res_spp:
+6c53 6800c2bd fetch 1 ,mem_spp_state 
+6c54 79207e07 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+6c55 6000c2bd store 1 ,mem_spp_state 
+6c56 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_rp:
+6c57 68008494 fetch 1 ,mem_current_channel 
+6c58 1fe67c01 sub pdata ,spp_slave_channel ,null 
+6c59 2022ec5b branch parse_uih_rp_spp ,zero 
+6c5a 20203bf1 branch assert 
+
+parse_uih_rp_spp:
+6c5b 68008495 fetch 1 ,mem_current_frame_type 
+6c5c c039ec62 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+6c5d c01fec66 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+6c5e c077ec80 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+6c5f c07fec78 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+6c60 c029ec85 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+6c61 20203bf1 branch assert 
+
+parse_uih_rp_spp_ua:
+6c62 6800c2bd fetch 1 ,mem_spp_state 
+6c63 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6c64 6000c2bd store 1 ,mem_spp_state 
+6c65 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_rp_spp_sabm:
+6c66 6800c2bd fetch 1 ,mem_spp_state 
+6c67 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6c68 79207e02 set1 rfcomm_channel_state_sabm ,pdata 
+6c69 6000c2bd store 1 ,mem_spp_state 
+6c6a 68008493 fetch 1 ,mem_current_adss 
+6c6b 20406b73 call rfcomm_calculate_fcs_ua 
+6c6c 60008496 store 1 ,mem_current_fcs 
+6c6d 20406cf6 call rfcomm_send_ua 
+6c6e 68008493 fetch 1 ,mem_current_adss 
+6c6f 1feb7e00 rshift2 pdata ,pdata 
+6c70 6000c74b store 1 ,mem_pn_dlci 
+6c71 1febfe00 lshift2 pdata ,pdata 
+6c72 793ffe01 set0 rfcomm_address_cr ,pdata 
+6c73 79207e00 set1 rfcomm_address_ext_len ,pdata 
+6c74 d8404753 arg mem_hiufcs_spp ,temp 
+6c75 6009048f storet 2 ,mem_contw_temp 
+6c76 20406b82 call rfcomm_save_fcs_uih 
+6c77 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_spp_uih_credits:
+6c78 68010499 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6c79 1fe20c00 copy pdata ,contr 
+6c7a 1fe0fe01 increase 1 ,pdata 
+6c7b 60010499 store 2 ,mem_rfcomm_uih_payload_ptr 
+6c7c e8c08000 ifetch 1 ,contr 
+6c7d 6808c756 fetcht 1 ,mem_remote_credits 
+6c7e 9840fe00 iadd temp ,pdata 
+6c7f 6000c756 store 1 ,mem_remote_credits 
+
+parse_uih_spp_uih:
+6c80 20406d88 call rfcomm_increase_credit_given 
+
+parse_uih_spp_uih_cont:
+6c81 20406bbf call get_rfcomm_snd_adss 
+6c82 20406d6d call rfcomm_send_uih_without_payload 
+6c83 20406d8e call spp_process_rx_data 
+6c84 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_rp_spp_disconn:
+6c85 20406b5d call rfcomm_init_spp 
+6c86 68008493 fetch 1 ,mem_current_adss 
+6c87 20406b73 call rfcomm_calculate_fcs_ua 
+6c88 60008496 store 1 ,mem_current_fcs 
+6c89 20406cf6 call rfcomm_send_ua 
+6c8a 20206cd7 branch rfcomm_rx_process_end 
+
+rfcomm_rx_process_reconn:
+6c8b 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+6c8c 1fe20c00 copy pdata ,contr 
+6c8d 20406c0f call get_rfcomm_head_struct 
+6c8e 68008494 fetch 1 ,mem_current_channel 
+6c8f c0006c91 beq 0 ,parse_dlci0_reconn 
+6c90 20206cc6 branch parse_uih_reconn 
+
+parse_dlci0_reconn:
+6c91 79200025 set1 mark_ext_patch ,mark 
+6c92 44e14038 bpatch patch38_2 ,mem_patch38 
+6c93 68008495 fetch 1 ,mem_current_frame_type 
+6c94 c01febcf beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+6c95 c039ebd8 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+6c96 c077ec98 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+6c97 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih:
+6c98 68010499 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6c99 1fe20c00 copy pdata ,contr 
+6c9a 20406c1a call get_rfcomm_uih_head_struct 
+6c9b 6800849b fetch 1 ,mem_uih_cmd_type 
+6c9c c020eca1 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+6c9d c0206ca1 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+6c9e c038ecac beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+6c9f c0386cbc beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+6ca0 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_pn_cmd:
+6ca1 20406c06 call parse_dlci0_rp_uih_pn_res_common 
+6ca2 6800c74b fetch 1 ,mem_pn_dlci 
+6ca3 1fe37e00 rshift pdata ,pdata 
+6ca4 6808c752 fetcht 1 ,mem_remote_spp_channel 
+6ca5 98467c00 isub temp ,null 
+6ca6 2022eca8 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+6ca7 20203bf1 branch assert 
+
+parse_dlci0_reconn_uih_pn_cmd_spp:
+6ca8 6800c2bd fetch 1 ,mem_spp_state 
+6ca9 79207e01 set1 rfcomm_channel_state_pn_res ,pdata 
+6caa 6000c2bd store 1 ,mem_spp_state 
+6cab 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_cmd:
+6cac 20406c08 call get_rfcomm_param_modem_status 
+6cad 6800c758 fetch 1 ,mem_ms_channel 
+6cae 6808c752 fetcht 1 ,mem_remote_spp_channel 
+6caf 98467c00 isub temp ,null 
+6cb0 2022ecb3 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+6cb1 20203bf1 branch assert 
+6cb2 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_cmd_spp:
+6cb3 6800c2bd fetch 1 ,mem_spp_state 
+6cb4 79207e05 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+6cb5 79207e06 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+6cb6 6000c2bd store 1 ,mem_spp_state 
+6cb7 6808c74b fetcht 1 ,mem_pn_dlci 
+6cb8 184b8400 lshift2 temp ,temp 
+6cb9 18418403 or_into 3 ,temp 
+6cba 20406d55 call rfcomm_send_modem_status_res 
+6cbb 20206cd7 branch rfcomm_rx_process_end 
+
+parse_dlci0_reconn_uih_ms_res:
+6cbc 20406c08 call get_rfcomm_param_modem_status 
+6cbd 6800c758 fetch 1 ,mem_ms_channel 
+6cbe 6808c752 fetcht 1 ,mem_remote_spp_channel 
+6cbf 98467c00 isub temp ,null 
+6cc0 2022ecc2 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+6cc1 20203bf1 branch assert 
+
+parse_dlci0_reconn_uih_ms_res_spp:
+6cc2 6800c2bd fetch 1 ,mem_spp_state 
+6cc3 79207e07 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+6cc4 6000c2bd store 1 ,mem_spp_state 
+6cc5 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_reconn:
+6cc6 68008494 fetch 1 ,mem_current_channel 
+6cc7 6808c752 fetcht 1 ,mem_remote_spp_channel 
+6cc8 98467c00 isub temp ,null 
+6cc9 2022eccc branch parse_uih_reconn_spp ,zero 
+6cca 20203bf1 branch assert 
+6ccb 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_reconn_spp:
+6ccc 68008495 fetch 1 ,mem_current_frame_type 
+6ccd c039ecd1 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+6cce c077ec80 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+6ccf c07fec78 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+6cd0 c029ecd6 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+
+parse_uih_reconn_spp_ua:
+6cd1 6800c2bd fetch 1 ,mem_spp_state 
+6cd2 79207e03 set1 rfcomm_channel_state_ua ,pdata 
+6cd3 6000c2bd store 1 ,mem_spp_state 
+6cd4 20206cd7 branch rfcomm_rx_process_end 
+
+parse_uih_reconn_spp_sabm:
+6cd5 20206cd5 branch parse_uih_reconn_spp_sabm 
+
+parse_uih_reconn_spp_disconn:
+6cd6 20206c85 branch parse_uih_rp_spp_disconn 
+
+rfcomm_rx_process_end:
+6cd7 20600000 rtn 
+
+rfcomm_send_more_pkt:
+6cd8 6800c755 fetch 1 ,mem_rfcomm_send_more_pkt 
+6cd9 207a0000 rtn blank 
+6cda c001ecdc beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+6cdb 20203bf1 branch assert 
+
+rfcomm_send_more_pkt_msc_cmd_spp:
+6cdc 70475500 jam 0 ,mem_rfcomm_send_more_pkt 
+6cdd 204052e0 call l2cap_malloc_rfcomm_channel 
+6cde d8400001 arg spp_slave_channel ,temp 
+6cdf 18498400 lshift3 temp ,temp 
+
+rfcomm_send_more_pkt_msc_cmd_spp0:
+6ce0 18418403 or_into 0x03 ,temp 
+6ce1 da2000aa arg 0xaa ,rega 
+6ce2 20406d3f call rfcomm_send_modem_status_cmd 
+6ce3 204052ef call l2cap_get_rfcomm_tx_buff 
+6ce4 18a20c00 copy contw ,contr 
+6ce5 e8c10000 ifetch 2 ,contr 
+6ce6 203a3bf1 branch assert ,blank 
+6ce7 20600000 rtn 
+
+rfcomm_send_sabm:
+6ce8 79200025 set1 mark_ext_patch ,mark 
+6ce9 44e1c038 bpatch patch38_3 ,mem_patch38 
+6cea 204052ef call l2cap_get_rfcomm_tx_buff 
+6ceb 58000004 setarg 0x0004 
+6cec e0a10000 istore 2 ,contw 
+6ced 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6cee e0a10000 istore 2 ,contw 
+6cef 68008493 fetch 1 ,mem_current_adss 
+6cf0 e0a08000 istore 1 ,contw 
+6cf1 5800013f setarg 0x013f 
+6cf2 e0a10000 istore 2 ,contw 
+6cf3 68008496 fetch 1 ,mem_current_fcs 
+6cf4 e0a08000 istore 1 ,contw 
+6cf5 20600000 rtn 
+
+rfcomm_send_ua:
+6cf6 79200025 set1 mark_ext_patch ,mark 
+6cf7 44e24038 bpatch patch38_4 ,mem_patch38 
+6cf8 204052e0 call l2cap_malloc_rfcomm_channel 
+6cf9 204052ef call l2cap_get_rfcomm_tx_buff 
+6cfa 58000004 setarg 0x0004 
+6cfb e0a10000 istore 2 ,contw 
+6cfc 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6cfd e0a10000 istore 2 ,contw 
+6cfe 68008493 fetch 1 ,mem_current_adss 
+6cff e0a08000 istore 1 ,contw 
+6d00 58000173 setarg 0x0173 
+6d01 e0a10000 istore 2 ,contw 
+6d02 68008496 fetch 1 ,mem_current_fcs 
+6d03 e0a08000 istore 1 ,contw 
+6d04 20600000 rtn 
+
+rfcomm_send_param_neg_cmd:
+6d05 79200025 set1 mark_ext_patch ,mark 
+6d06 44e2c038 bpatch patch38_5 ,mem_patch38 
+6d07 204052ef call l2cap_get_rfcomm_tx_buff 
+6d08 5800000e setarg 0x000e 
+6d09 e0a10000 istore 2 ,contw 
+6d0a 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6d0b e0a10000 istore 2 ,contw 
+6d0c 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6d0d 1fe3fe00 lshift pdata ,pdata 
+6d0e 79207e00 set1 0 ,pdata 
+6d0f e0a08000 istore 1 ,contw 
+6d10 580015ef setarg 0x15ef 
+6d11 e0a10000 istore 2 ,contw 
+6d12 58001183 setarg 0x1183 
+6d13 e0a10000 istore 2 ,contw 
+6d14 18427e00 copy temp ,pdata 
+6d15 e0a08000 istore 1 ,contw 
+6d16 580000f0 setarg 0x0000f0 
+6d17 e0a18000 istore 3 ,contw 
+6d18 5800007f setarg rfcomm_max_frame_size 
+6d19 e0a10000 istore 2 ,contw 
+6d1a 58000000 setarg 0 
+6d1b e0a08000 istore 1 ,contw 
+6d1c 58000001 setarg 0x01 
+6d1d e0a08000 istore 1 ,contw 
+6d1e 20406b7c call rfcomm_calculate_fcs_dlci0 
+6d1f e0a08000 istore 1 ,contw 
+6d20 70475710 jam 0x10 ,mem_credit_given 
+6d21 20600000 rtn 
+
+rfcomm_send_param_neg_res:
+6d22 79200025 set1 mark_ext_patch ,mark 
+6d23 44e34038 bpatch patch38_6 ,mem_patch38 
+6d24 204052e0 call l2cap_malloc_rfcomm_channel 
+6d25 204052ef call l2cap_get_rfcomm_tx_buff 
+6d26 5800000e setarg 0x000e 
+6d27 e0a10000 istore 2 ,contw 
+6d28 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6d29 e0a10000 istore 2 ,contw 
+6d2a 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6d2b 1fe3fe00 lshift pdata ,pdata 
+6d2c 79207e00 set1 0 ,pdata 
+6d2d e0a08000 istore 1 ,contw 
+6d2e 580015ef setarg 0x15ef 
+6d2f e0a10000 istore 2 ,contw 
+6d30 58001181 setarg 0x1181 
+6d31 e0a10000 istore 2 ,contw 
+6d32 6800c74b fetch 1 ,mem_pn_dlci 
+6d33 e0a08000 istore 1 ,contw 
+6d34 580000e0 setarg 0x0000e0 
+6d35 e0a18000 istore 3 ,contw 
+6d36 5800007f setarg rfcomm_max_frame_size 
+6d37 e0a10000 istore 2 ,contw 
+6d38 58000000 setarg 0x00 
+6d39 e0a08000 istore 1 ,contw 
+6d3a 58000007 setarg 0x07 
+6d3b e0a08000 istore 1 ,contw 
+6d3c 20406b7c call rfcomm_calculate_fcs_dlci0 
+6d3d e0a08000 istore 1 ,contw 
+6d3e 20600000 rtn 
+
+rfcomm_send_modem_status_cmd:
+6d3f 79200025 set1 mark_ext_patch ,mark 
+6d40 44e3c038 bpatch patch38_7 ,mem_patch38 
+6d41 204052ef call l2cap_get_rfcomm_tx_buff 
+6d42 58000008 setarg 0x0008 
+6d43 e0a10000 istore 2 ,contw 
+6d44 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6d45 e0a10000 istore 2 ,contw 
+6d46 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6d47 1fe3fe00 lshift pdata ,pdata 
+6d48 79207e00 set1 0 ,pdata 
+6d49 e0a08000 istore 1 ,contw 
+6d4a 580009ef setarg 0x09ef 
+6d4b e0a10000 istore 2 ,contw 
+6d4c 580005e3 setarg 0x05e3 
+6d4d e0a10000 istore 2 ,contw 
+6d4e 18427e00 copy temp ,pdata 
+6d4f e0a08000 istore 1 ,contw 
+6d50 5800008d setarg 0x8d 
+6d51 e0a08000 istore 1 ,contw 
+6d52 20406b7c call rfcomm_calculate_fcs_dlci0 
+6d53 e0a08000 istore 1 ,contw 
+6d54 20600000 rtn 
+
+rfcomm_send_modem_status_res:
+6d55 79200025 set1 mark_ext_patch ,mark 
+6d56 44e44039 bpatch patch39_0 ,mem_patch39 
+6d57 204052e0 call l2cap_malloc_rfcomm_channel 
+6d58 204052ef call l2cap_get_rfcomm_tx_buff 
+6d59 58000008 setarg 0x0008 
+6d5a e0a10000 istore 2 ,contw 
+6d5b 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6d5c e0a10000 istore 2 ,contw 
+6d5d 18421600 copy temp ,timeup 
+6d5e 6800c751 fetch 1 ,mem_rfcomm_initiator 
+6d5f 1fe3fe00 lshift pdata ,pdata 
+6d60 79207e00 set1 0 ,pdata 
+6d61 e0a08000 istore 1 ,contw 
+6d62 580009ef setarg 0x09ef 
+6d63 e0a10000 istore 2 ,contw 
+6d64 580005e1 setarg 0x05e1 
+6d65 e0a10000 istore 2 ,contw 
+6d66 19627e00 copy timeup ,pdata 
+6d67 e0a08000 istore 1 ,contw 
+6d68 5800008d setarg 0x8d 
+6d69 e0a08000 istore 1 ,contw 
+6d6a 20406b7c call rfcomm_calculate_fcs_dlci0 
+6d6b e0a08000 istore 1 ,contw 
+6d6c 20600000 rtn 
+
+rfcomm_send_uih_without_payload:
+6d6d 79200025 set1 mark_ext_patch ,mark 
+6d6e 44e4c039 bpatch patch39_1 ,mem_patch39 
+6d6f 6800c757 fetch 1 ,mem_credit_given 
+6d70 207a0000 rtn blank 
+6d71 68110112 hfetch 2 ,core_uart_rxitems 
+6d72 247a0000 nrtn blank 
+6d73 1a227e00 copy rega ,pdata 
+6d74 60008162 store 1 ,mem_pdatatemp + 1 
+6d75 60088161 storet 1 ,mem_pdatatemp 
+6d76 2040527a call l2cap_malloc_is_fifo_full 
+6d77 247a0000 nrtn blank 
+6d78 204052e0 call l2cap_malloc_rfcomm_channel 
+6d79 204052ef call l2cap_get_rfcomm_tx_buff 
+6d7a 58000005 setarg 0x05 
+6d7b e0a10000 istore 2 ,contw 
+6d7c 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6d7d e0a10000 istore 2 ,contw 
+6d7e 680084a5 fetch 1 ,mem_rfcomm_send_adss 
+6d7f e0a08000 istore 1 ,contw 
+6d80 580001ff setarg 0x01ff 
+6d81 e0a10000 istore 2 ,contw 
+6d82 6800c757 fetch 1 ,mem_credit_given 
+6d83 e0a08000 istore 1 ,contw 
+6d84 6800c754 fetch 1 ,mem_hiufcs_spp_wcredits 
+6d85 e0a08000 istore 1 ,contw 
+6d86 70475700 jam 0 ,mem_credit_given 
+6d87 20600000 rtn 
+
+rfcomm_increase_credit_given:
+6d88 68010497 fetch 2 ,mem_current_length 
+6d89 207a0000 rtn blank 
+6d8a 6800c757 fetch 1 ,mem_credit_given 
+6d8b 1fe0fe01 increase 1 ,pdata 
+6d8c 6000c757 store 1 ,mem_credit_given 
+6d8d 20600000 rtn 
+
+spp_process_rx_data:
+6d8e 79200025 set1 mark_ext_patch ,mark 
+6d8f 44e54039 bpatch patch39_2 ,mem_patch39 
+6d90 68010497 fetch 2 ,mem_current_length 
+6d91 1fe27200 copy pdata ,loopcnt 
+6d92 204068f7 call uartd_prepare_tx 
+6d93 68010499 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+6d94 1fe20c00 copy pdata ,contr 
+6d95 20404976 call uart_copy_tx_bytes 
+6d96 202068fa branch uartd_send 
+
+spp_tx_rfcomm_packet:
+6d97 79200025 set1 mark_ext_patch ,mark 
+6d98 44e5c039 bpatch patch39_3 ,mem_patch39 
+6d99 6800c756 fetch 1 ,mem_remote_credits 
+6d9a 207a0000 rtn blank 
+6d9b 1fe0ffff increase -1 ,pdata 
+6d9c 6000c756 store 1 ,mem_remote_credits 
+6d9d 6801474c fetch 2 ,mem_pn_max_frame_size 
+6d9e 6809480e fetcht 2 ,mem_current_packet_length 
+6d9f 98467c00 isub temp ,null 
+6da0 20216da2 branch spp_tx_rfcomm_from_uart ,positive 
+6da1 6001480e store 2 ,mem_current_packet_length 
+
+spp_tx_rfcomm_from_uart:
+6da2 6800c757 fetch 1 ,mem_credit_given 
+6da3 203a6daa branch spp_tx_rfcomm_from_uart_without_credit ,blank 
+6da4 7004a801 jam 1 ,mem_rfcomm_send_offset 
+6da5 6800c754 fetch 1 ,mem_hiufcs_spp_wcredits 
+6da6 600084a7 store 1 ,mem_rfcomm_send_fcs 
+6da7 580000ff setarg rsp_rx_uih_wdata 
+6da8 600084a6 store 1 ,mem_rfcomm_send_frame_type 
+6da9 20206daf branch spp_tx_rfcomm_from_uart_common 
+
+spp_tx_rfcomm_from_uart_without_credit:
+6daa 7004a800 jam 0 ,mem_rfcomm_send_offset 
+6dab 6800c753 fetch 1 ,mem_hiufcs_spp 
+6dac 600084a7 store 1 ,mem_rfcomm_send_fcs 
+6dad 580000ef setarg rsp_tx_uih 
+6dae 600084a6 store 1 ,mem_rfcomm_send_frame_type 
+
+spp_tx_rfcomm_from_uart_common:
+6daf 79200025 set1 mark_ext_patch ,mark 
+6db0 44e64039 bpatch patch39_4 ,mem_patch39 
+6db1 6800c80e fetch 1 ,mem_current_packet_length 
+6db2 1fe67c7f sub pdata ,127 ,null 
+6db3 20216db7 branch spp_tx_rfcomm_from_uart_common0 ,positive 
+6db4 680084a8 fetch 1 ,mem_rfcomm_send_offset 
+6db5 1fe0fe01 increase 1 ,pdata 
+6db6 600084a8 store 1 ,mem_rfcomm_send_offset 
+
+spp_tx_rfcomm_from_uart_common0:
+6db7 20406bbf call get_rfcomm_snd_adss 
+6db8 6801480e fetch 2 ,mem_current_packet_length 
+6db9 1fe0fe08 increase 8 ,pdata 
+6dba 680884a8 fetcht 1 ,mem_rfcomm_send_offset 
+6dbb 9840a200 iadd temp ,rega 
+6dbc 20405248 call l2cap_malloc 
+6dbd 600102de store 2 ,mem_rfcomm_tx_buff_ptr 
+6dbe 1fe0fe04 increase 4 ,pdata 
+6dbf 600102e0 store 2 ,mem_rfcomm_tx_payload_ptr 
+6dc0 1fe20a00 copy pdata ,contw 
+6dc1 680084a5 fetch 1 ,mem_rfcomm_send_adss 
+6dc2 e0a08000 istore 1 ,contw 
+6dc3 680084a6 fetch 1 ,mem_rfcomm_send_frame_type 
+6dc4 e0a08000 istore 1 ,contw 
+6dc5 20406dd8 call spp_tx_write_length 
+6dc6 20406de8 call spp_tx_write_given_credit 
+6dc7 20407f6b call get_uart_rrptr 
+6dc8 6800c80e fetch 1 ,mem_current_packet_length 
+6dc9 1fe27200 copy pdata ,loopcnt 
+6dca 2040497c call uart_copy_rx_bytes 
+6dcb 680084a7 fetch 1 ,mem_rfcomm_send_fcs 
+6dcc e0a08000 istore 1 ,contw 
+6dcd 680102de fetch 2 ,mem_rfcomm_tx_buff_ptr 
+6dce 1fe20a00 copy pdata ,contw 
+6dcf 6801480e fetch 2 ,mem_current_packet_length 
+6dd0 680884a8 fetcht 1 ,mem_rfcomm_send_offset 
+6dd1 9840fe00 iadd temp ,pdata 
+6dd2 1fe0fe04 increase 4 ,pdata 
+6dd3 e0a10000 istore 2 ,contw 
+6dd4 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6dd5 e0a10000 istore 2 ,contw 
+6dd6 70475700 jam 0 ,mem_credit_given 
+6dd7 2020428c branch spp_send_end 
+
+spp_tx_write_length:
+6dd8 6801480e fetch 2 ,mem_current_packet_length 
+6dd9 1fe67c7f sub pdata ,0x7f ,null 
+6dda 24216ddf nbranch spp_tx_write_long_packet ,positive 
+6ddb 1fe3fe00 lshift pdata ,pdata 
+6ddc 79207e00 set1 0 ,pdata 
+6ddd e0a08000 istore 1 ,contw 
+6dde 20600000 rtn 
+
+spp_tx_write_long_packet:
+6ddf 6801480e fetch 2 ,mem_current_packet_length 
+6de0 1fe97e00 rshift3 pdata ,pdata 
+6de1 1ff18400 rshift4 pdata ,temp 
+6de2 1fe17e7f and_into 0x7f ,pdata 
+6de3 1fe3fe00 lshift pdata ,pdata 
+6de4 793ffe00 set0 0 ,pdata 
+6de5 e0a08000 istore 1 ,contw 
+6de6 e0a88000 istoret 1 ,contw 
+6de7 20600000 rtn 
+
+spp_tx_write_given_credit:
+6de8 6800c757 fetch 1 ,mem_credit_given 
+6de9 207a0000 rtn blank 
+6dea e0a08000 istore 1 ,contw 
+6deb 20600000 rtn 
+
+scheduler_process:
+6dec 79200025 set1 mark_ext_patch ,mark 
+6ded 44cec033 bpatch patch33_5 ,mem_patch33 
+6dee 20407c45 call check_51cmd 
+6def 20403e73 call app_process_bb_event 
+6df0 20406235 call process_conn_sm 
+6df1 79200025 set1 mark_ext_patch ,mark 
+6df2 44cf4033 bpatch patch33_6 ,mem_patch33 
+6df3 20407813 call sp_calc_sequence 
+6df4 204077ee call simple_pairing_sequence 
+6df5 204077fe call master_simple_paring_sequence 
+6df6 79200025 set1 mark_ext_patch ,mark 
+6df7 44cfc033 bpatch patch33_7 ,mem_patch33 
+6df8 6800c132 fetch 1 ,mem_device_option 
+6df9 c1008000 rtneq dvc_op_hci 
+6dfa 2040527a call l2cap_malloc_is_fifo_full 
+6dfb 247a0000 nrtn blank 
+6dfc 20404dcd call l2cap_call_proc_sigal_pending 
+
+scheduler_process1:
+6dfd 2040527a call l2cap_malloc_is_fifo_full 
+6dfe 247a0000 nrtn blank 
+6dff 79200025 set1 mark_ext_patch ,mark 
+6e00 44d04034 bpatch patch34_0 ,mem_patch34 
+6e01 20406e47 call process_upper_sm 
+6e02 20404f6e call l2cap_send_config_req 
+6e03 20406cd8 call rfcomm_send_more_pkt 
+
+scheduler_process0:
+6e04 20406e0a call scheduler_tx_disconnect_hid 
+6e05 79200025 set1 mark_ext_patch ,mark 
+6e06 44d0c034 bpatch patch34_1 ,mem_patch34 
+6e07 2040527a call l2cap_malloc_is_fifo_full 
+6e08 247a0000 nrtn blank 
+6e09 20203e6f branch app_process_bt 
+
+scheduler_tx_disconnect_hid:
+6e0a 79200025 set1 mark_ext_patch ,mark 
+6e0b 44d14034 bpatch patch34_2 ,mem_patch34 
+6e0c 680082e6 fetch 1 ,mem_control_tasks 
+6e0d c280508f bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+6e0e c283d099 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+6e0f 20600000 rtn 
+
+scheduler_tx_l2cap_pkt:
+6e10 79200025 set1 mark_ext_patch ,mark 
+6e11 44d1c034 bpatch patch34_3 ,mem_patch34 
+6e12 2040527e call l2cap_malloc_is_fifo_empty 
+6e13 207a0000 rtn blank 
+6e14 6800804b fetch 1 ,mem_op 
+6e15 c3830000 rtnbit1 op_txl2cap 
+6e16 20405261 call l2cap_malloc_fifo_out 
+6e17 60010179 store 2 ,mem_txptr 
+6e18 1fe20c00 copy pdata ,contr 
+6e19 e8c10000 ifetch 2 ,contr 
+6e1a 1fe0fe04 increase 4 ,pdata 
+6e1b 60010091 store 2 ,mem_tx_len 
+6e1c 70009006 jam 6 ,mem_tx_lch 
+6e1d 79200025 set1 mark_ext_patch ,mark 
+6e1e 44d24034 bpatch patch34_4 ,mem_patch34 
+6e1f 680142af fetch 2 ,mem_l2cap_tx_multi_offset 
+6e20 203a6e2d branch scheduler_tx_l2cap_start_pkt ,blank 
+6e21 6800804b fetch 1 ,mem_op 
+6e22 c4038000 rtnbit0 op_pkt_comp 
+6e23 793ffe07 set0 op_pkt_comp ,pdata 
+6e24 6000804b store 1 ,mem_op 
+6e25 70009005 jam 5 ,mem_tx_lch 
+6e26 680942af fetcht 2 ,mem_l2cap_tx_multi_offset 
+6e27 68010179 fetch 2 ,mem_txptr 
+6e28 9840fe00 iadd temp ,pdata 
+6e29 60010179 store 2 ,mem_txptr 
+6e2a 68010091 fetch 2 ,mem_tx_len 
+6e2b 98467e00 isub temp ,pdata 
+6e2c 60010091 store 2 ,mem_tx_len 
+
+scheduler_tx_l2cap_start_pkt:
+6e2d 79200025 set1 mark_ext_patch ,mark 
+6e2e 44d2c034 bpatch patch34_5 ,mem_patch34 
+6e2f 68010091 fetch 2 ,mem_tx_len 
+6e30 203a3bf1 branch assert ,blank 
+6e31 d8400104 arg l2cap_max_pkt_len ,temp 
+6e32 98467e00 isub temp ,pdata 
+6e33 24216e3b nbranch scheduler_tx_l2cap_last_pkt ,positive 
+6e34 79200025 set1 mark_ext_patch ,mark 
+6e35 44d34034 bpatch patch34_6 ,mem_patch34 
+6e36 60090091 storet 2 ,mem_tx_len 
+6e37 680142af fetch 2 ,mem_l2cap_tx_multi_offset 
+6e38 9840fe00 iadd temp ,pdata 
+6e39 600142af store 2 ,mem_l2cap_tx_multi_offset 
+6e3a 20206e3d branch scheduler_tx_l2cap_pkt_end 
+
+scheduler_tx_l2cap_last_pkt:
+6e3b 58000000 setarg 0 
+6e3c 600142af store 2 ,mem_l2cap_tx_multi_offset 
+
+scheduler_tx_l2cap_pkt_end:
+6e3d 6800804b fetch 1 ,mem_op 
+6e3e 79207e06 set1 op_txl2cap ,pdata 
+6e3f 6000804b store 1 ,mem_op 
+6e40 20600000 rtn 
+
+scheduler_start_upper_sm:
+6e41 6800c7f6 fetch 1 ,mem_ui_profile_supported 
+6e42 c2806e45 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+6e43 7002ee01 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+6e44 20600000 rtn 
+
+scheduler_start_upper_sm_hid:
+6e45 7002ee0f jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+6e46 20600000 rtn 
+
+process_upper_sm:
+6e47 6800c7f3 fetch 1 ,memui_reconnect_mode 
+6e48 243a6e4d nbranch process_upper_sm_reconn ,blank 
+
+process_upper_sm_remote_page:
+6e49 680082ed fetch 1 ,mem_upper_sm_remote_page 
+6e4a 207a0000 rtn blank 
+6e4b 7002ed00 jam 0 ,mem_upper_sm_remote_page 
+
+process_upper_sm_rp_wait:
+6e4c 20600000 rtn 
+
+process_upper_sm_reconn:
+6e4d 79200025 set1 mark_ext_patch ,mark 
+6e4e 44d3c034 bpatch patch34_7 ,mem_patch34 
+6e4f 680082ee fetch 1 ,mem_upper_sm_reconn 
+6e50 207a0000 rtn blank 
+6e51 c000ee6e beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+6e52 c0016ec7 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+6e53 c001ee74 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+6e54 c0026ecb beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+6e55 c01dee7e beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+6e56 c01e6ece beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+6e57 c006ee83 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+6e58 c0076ed3 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+6e59 c007ee86 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+6e5a c0086ed9 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+6e5b c008ee8c beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+6e5c c0096edd beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+6e5d c009ee92 beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+6e5e c00a6ee1 beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+6e5f c00aee98 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+6e60 c00b6ee5 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+6e61 c00bee9e beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+6e62 c00c6eea beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+6e63 c00ceea4 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+6e64 c00d6eee beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+6e65 c00deeaa beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+6e66 c00e6ef2 beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+6e67 c00eeeb0 beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+6e68 c00f6ef7 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+6e69 c00feeb6 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+6e6a c0106efb beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+6e6b c010eec1 beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+6e6c c0116eff beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+
+process_upper_sm_reconn_wait:
+6e6d 20600000 rtn 
+
+process_upper_sm_reconn_sdp_conn:
+6e6e 20406f0a call upper_sm_send_sdp_conn 
+6e6f 7002ee02 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+6e70 6800c2b9 fetch 1 ,mem_sdp_state 
+6e71 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6e72 6000c2b9 store 1 ,mem_sdp_state 
+6e73 20600000 rtn 
+
+process_upper_sm_reconn_sdp_cfg:
+6e74 7002ee04 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+6e75 6800c2b9 fetch 1 ,mem_sdp_state 
+6e76 c3810000 rtnbit1 l2cap_channel_state_snd_cfg_req 
+6e77 7002ee03 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+6e78 20406f12 call upper_sm_send_sdp_cfg 
+6e79 7002ee04 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+6e7a 6800c2b9 fetch 1 ,mem_sdp_state 
+6e7b 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6e7c 6000c2b9 store 1 ,mem_sdp_state 
+6e7d 20600000 rtn 
+
+process_upper_sm_reconn_ss_spp:
+6e7e 2040527e call l2cap_malloc_is_fifo_empty 
+6e7f 247a0000 nrtn blank 
+6e80 20406f23 call upper_sm_send_ss_spp 
+6e81 7002ee3c jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+6e82 20600000 rtn 
+
+process_upper_sm_reconn_sdp_disconn:
+6e83 20406f18 call upper_sm_send_sdp_disconn 
+6e84 7002ee0e jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+6e85 20600000 rtn 
+
+process_upper_sm_reconn_hid_ctrl_conn:
+6e86 20406f36 call upper_sm_send_hid_ctrl_conn 
+6e87 7002ee10 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+6e88 6800c2bb fetch 1 ,mem_hid_control_state 
+6e89 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6e8a 6000c2bb store 1 ,mem_hid_control_state 
+6e8b 20600000 rtn 
+
+process_upper_sm_reconn_hid_ctrl_cfg:
+6e8c 20406f3e call upper_sm_send_hid_ctrl_cfg 
+6e8d 7002ee12 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+6e8e 6800c2bb fetch 1 ,mem_hid_control_state 
+6e8f 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6e90 6000c2bb store 1 ,mem_hid_control_state 
+6e91 20600000 rtn 
+
+process_upper_sm_reconn_hid_int_conn:
+6e92 20406f44 call upper_sm_send_hid_int_conn 
+6e93 7002ee14 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+6e94 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+6e95 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6e96 6000c2bc store 1 ,mem_hid_interrupt_state 
+6e97 20600000 rtn 
+
+process_upper_sm_reconn_hid_int_cfg:
+6e98 20406f4c call upper_sm_send_hid_int_cfg 
+6e99 7002ee16 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+6e9a 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+6e9b 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6e9c 6000c2bc store 1 ,mem_hid_interrupt_state 
+6e9d 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_conn:
+6e9e 20406f28 call upper_sm_send_rfcomm_conn 
+6e9f 7002ee18 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+6ea0 6800c2ba fetch 1 ,mem_rfcomm_state 
+6ea1 79207e00 set1 l2cap_channel_state_conn_req ,pdata 
+6ea2 6000c2ba store 1 ,mem_rfcomm_state 
+6ea3 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_cfg:
+6ea4 20406f30 call upper_sm_send_rfcomm_cfg 
+6ea5 7002ee1a jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+6ea6 6800c2ba fetch 1 ,mem_rfcomm_state 
+6ea7 79207e02 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+6ea8 6000c2ba store 1 ,mem_rfcomm_state 
+6ea9 20600000 rtn 
+
+process_upper_sm_reconn_rfcomm_sabm:
+6eaa 20406f52 call upper_sm_send_rfcomm_sabm 
+6eab 7002ee1c jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+6eac 6800c2ba fetch 1 ,mem_rfcomm_state 
+6ead 79207e06 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+6eae 6000c2ba store 1 ,mem_rfcomm_state 
+6eaf 20600000 rtn 
+
+process_upper_sm_reconn_spp_cmd_pn:
+6eb0 20406f5a call upper_sm_send_spp_cmd_pn 
+6eb1 6800c2bd fetch 1 ,mem_spp_state 
+6eb2 79207e00 set1 rfcomm_channel_state_pn_cmd 
+6eb3 6000c2bd store 1 ,mem_spp_state 
+6eb4 7002ee1e jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+6eb5 20600000 rtn 
+
+process_upper_sm_reconn_spp_sabm:
+6eb6 20406f61 call upper_sm_send_spp_sabm 
+6eb7 6800c2bd fetch 1 ,mem_spp_state 
+6eb8 79207e02 set1 rfcomm_channel_state_sabm 
+6eb9 6000c2bd store 1 ,mem_spp_state 
+6eba 7002ee20 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+6ebb 6800c752 fetch 1 ,mem_remote_spp_channel 
+6ebc 1fe9fe00 lshift3 pdata ,pdata 
+6ebd 1fe1fe03 or_into 3 ,pdata 
+6ebe d8404753 arg mem_hiufcs_spp ,temp 
+6ebf 6009048f storet 2 ,mem_contw_temp 
+6ec0 20206b82 branch rfcomm_save_fcs_uih 
+
+process_upper_sm_reconn_spp_cmd_ms:
+6ec1 20406f6c call upper_sm_send_spp_cmd_ms 
+6ec2 6800c2bd fetch 1 ,mem_spp_state 
+6ec3 79207e04 set1 rfcomm_channel_state_snd_ms_cmd 
+6ec4 6000c2bd store 1 ,mem_spp_state 
+6ec5 7002ee22 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+6ec6 20600000 rtn 
+
+process_upper_sm_reconn_sdp_conn_wait:
+6ec7 6800c2b9 fetch 1 ,mem_sdp_state 
+6ec8 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6ec9 7002ee03 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+6eca 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_sdp_cfg_wait:
+6ecb 6800c2b9 fetch 1 ,mem_sdp_state 
+6ecc c19f8000 rtnne l2cap_channel_setup_complete 
+6ecd 7002ee3b jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+
+process_upper_sm_reconn_ss_spp_wait:
+6ece 680082ec fetch 1 ,mem_message_to_uppersm 
+6ecf c18b8000 rtnne recieve_ss_reasult_hf 
+6ed0 7002ec00 jam 0 ,mem_message_to_uppersm 
+6ed1 7002ee0d jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+6ed2 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_sdp_disconn_wait:
+6ed3 6800c2b9 fetch 1 ,mem_sdp_state 
+6ed4 247a0000 nrtn blank 
+6ed5 6800c7f6 fetch 1 ,mem_ui_profile_supported 
+6ed6 c2806f02 bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+6ed7 c2836f04 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+6ed8 20206f08 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_hid_ctrl_conn_wait:
+6ed9 6800c2bb fetch 1 ,mem_hid_control_state 
+6eda c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6edb 7002ee11 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+6edc 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_ctrl_cfg_wait:
+6edd 6800c2bb fetch 1 ,mem_hid_control_state 
+6ede c19f8000 rtnne l2cap_channel_setup_complete 
+6edf 7002ee13 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+6ee0 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_int_conn_wait:
+6ee1 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+6ee2 c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6ee3 7002ee15 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+6ee4 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_hid_int_cfg_wait:
+6ee5 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+6ee6 c19f8000 rtnne l2cap_channel_setup_complete 
+6ee7 6800c7f6 fetch 1 ,mem_ui_profile_supported 
+6ee8 c2836f04 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+6ee9 20206f08 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_rfcomm_conn_wait:
+6eea 6800c2ba fetch 1 ,mem_rfcomm_state 
+6eeb c4008000 rtnbit0 l2cap_channel_state_conn_res 
+6eec 7002ee19 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+6eed 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_rfcomm_cfg_wait:
+6eee 6800c2ba fetch 1 ,mem_rfcomm_state 
+6eef c19f8000 rtnne l2cap_channel_setup_complete 
+6ef0 7002ee1b jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+6ef1 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_rfcomm_sabm_wait:
+6ef2 6800c2ba fetch 1 ,mem_rfcomm_state 
+6ef3 c1ff8000 rtnne l2cap_channel_rfcomm_dlci0_opened 
+6ef4 6800c7f6 fetch 1 ,mem_ui_profile_supported 
+6ef5 c2836f06 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+6ef6 20206f08 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_spp_cmd_pn_wait:
+6ef7 6800c2bd fetch 1 ,mem_spp_state 
+6ef8 c4008000 rtnbit0 rfcomm_channel_state_pn_res 
+6ef9 7002ee1f jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+6efa 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_spp_sabm_wait:
+6efb 6800c2bd fetch 1 ,mem_spp_state 
+6efc c4018000 rtnbit0 rfcomm_channel_state_ua 
+6efd 7002ee21 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+6efe 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_spp_cmd_ms_wait:
+6eff 6800c2bd fetch 1 ,mem_spp_state 
+6f00 c1ff8000 rtnne rfcomm_channel_setup_complete 
+6f01 20206f08 branch process_upper_sm_reconn_termination 
+
+process_upper_sm_reconn_setup_hid:
+6f02 7002ee0f jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+6f03 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_setup_rfcomm:
+6f04 7002ee17 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+6f05 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_setup_spp:
+6f06 7002ee1d jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+6f07 20206e4d branch process_upper_sm_reconn 
+
+process_upper_sm_reconn_termination:
+6f08 7002ee00 jam 0 ,mem_upper_sm_reconn 
+6f09 20600000 rtn 
+
+upper_sm_send_sdp_conn:
+6f0a 79200025 set1 mark_ext_patch ,mark 
+6f0b 44d44035 bpatch patch35_0 ,mem_patch35 
+6f0c 204052c4 call l2cap_malloc_signal_channel 
+6f0d 58000001 setarg psm_sdp 
+6f0e 1fe20400 copy pdata ,temp 
+6f0f 58000050 setarg l2cap_sdp_channel 
+6f10 1fe21600 copy pdata ,timeup 
+6f11 202050b0 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_sdp_cfg:
+6f12 79200025 set1 mark_ext_patch ,mark 
+6f13 44d4c035 bpatch patch35_1 ,mem_patch35 
+6f14 204052c4 call l2cap_malloc_signal_channel 
+6f15 680142b1 fetch 2 ,mem_sdp_remote_cid 
+6f16 1fe20400 copy pdata ,temp 
+6f17 202050c0 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_sdp_disconn:
+6f18 79200025 set1 mark_ext_patch ,mark 
+6f19 44d54035 bpatch patch35_2 ,mem_patch35 
+6f1a 204052c4 call l2cap_malloc_signal_channel 
+6f1b 680142b1 fetch 2 ,mem_sdp_remote_cid 
+6f1c 1fe20400 copy pdata ,temp 
+6f1d d9600050 arg l2cap_sdp_channel ,timeup 
+6f1e 204050d6 call ml2cap_send_signal_disconn_req 
+6f1f 6800c2b9 fetch 1 ,mem_sdp_state 
+6f20 793ffe05 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+6f21 6000c2b9 store 1 ,mem_sdp_state 
+6f22 20600000 rtn 
+
+upper_sm_send_ss_spp:
+6f23 79200025 set1 mark_ext_patch ,mark 
+6f24 44d5c035 bpatch patch35_3 ,mem_patch35 
+6f25 204052d2 call l2cap_malloc_sdp_channel 
+6f26 204071b0 call sdp_send_spp_request 
+6f27 202050f2 branch msdp_send_req_done 
+
+upper_sm_send_rfcomm_conn:
+6f28 79200025 set1 mark_ext_patch ,mark 
+6f29 44d64035 bpatch patch35_4 ,mem_patch35 
+6f2a 204052c4 call l2cap_malloc_signal_channel 
+6f2b 58000003 setarg psm_rfcomm 
+6f2c 1fe20400 copy pdata ,temp 
+6f2d 58000051 setarg l2cap_rfcomm_channel 
+6f2e 1fe21600 copy pdata ,timeup 
+6f2f 202050b0 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_rfcomm_cfg:
+6f30 79200025 set1 mark_ext_patch ,mark 
+6f31 44d6c035 bpatch patch35_5 ,mem_patch35 
+6f32 204052c4 call l2cap_malloc_signal_channel 
+6f33 680142b3 fetch 2 ,mem_rfcomm_remote_cid 
+6f34 1fe20400 copy pdata ,temp 
+6f35 202050c0 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_hid_ctrl_conn:
+6f36 79200025 set1 mark_ext_patch ,mark 
+6f37 44d74035 bpatch patch35_6 ,mem_patch35 
+6f38 204052c4 call l2cap_malloc_signal_channel 
+6f39 58000011 setarg psm_hid_control 
+6f3a 1fe20400 copy pdata ,temp 
+6f3b 58000052 setarg l2cap_hid_control_channel 
+6f3c 1fe21600 copy pdata ,timeup 
+6f3d 202050b0 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_hid_ctrl_cfg:
+6f3e 79200025 set1 mark_ext_patch ,mark 
+6f3f 44d7c035 bpatch patch35_7 ,mem_patch35 
+6f40 204052c4 call l2cap_malloc_signal_channel 
+6f41 680142b5 fetch 2 ,mem_hid_ctrl_remote_cid 
+6f42 1fe20400 copy pdata ,temp 
+6f43 202050c0 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_hid_int_conn:
+6f44 79200025 set1 mark_ext_patch ,mark 
+6f45 44d84036 bpatch patch36_0 ,mem_patch36 
+6f46 204052c4 call l2cap_malloc_signal_channel 
+6f47 58000013 setarg psm_hid_interrupt 
+6f48 1fe20400 copy pdata ,temp 
+6f49 58000053 setarg l2cap_hid_interrupt_channel 
+6f4a 1fe21600 copy pdata ,timeup 
+6f4b 202050b0 branch ml2cap_send_signal_connect_req 
+
+upper_sm_send_hid_int_cfg:
+6f4c 79200025 set1 mark_ext_patch ,mark 
+6f4d 44d8c036 bpatch patch36_1 ,mem_patch36 
+6f4e 204052c4 call l2cap_malloc_signal_channel 
+6f4f 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+6f50 1fe20400 copy pdata ,temp 
+6f51 202050c0 branch ml2cap_send_signal_config_req 
+
+upper_sm_send_rfcomm_sabm:
+6f52 79200025 set1 mark_ext_patch ,mark 
+6f53 44d94036 bpatch patch36_2 ,mem_patch36 
+6f54 204052e0 call l2cap_malloc_rfcomm_channel 
+6f55 70049303 jam 3 ,mem_current_adss 
+6f56 7004961c jam 0x1c ,mem_current_fcs 
+6f57 20406ce8 call rfcomm_send_sabm 
+6f58 70475101 jam 1 ,mem_rfcomm_initiator 
+6f59 20600000 rtn 
+
+upper_sm_send_spp_cmd_pn:
+6f5a 79200025 set1 mark_ext_patch ,mark 
+6f5b 44d9c036 bpatch patch36_3 ,mem_patch36 
+6f5c 204052e0 call l2cap_malloc_rfcomm_channel 
+6f5d 6808c752 fetcht 1 ,mem_remote_spp_channel 
+6f5e 20406bcb call channel_to_dlci 
+6f5f 6008c74b storet 1 ,mem_pn_dlci 
+6f60 20206d05 branch rfcomm_send_param_neg_cmd 
+
+upper_sm_send_spp_sabm:
+6f61 79200025 set1 mark_ext_patch ,mark 
+6f62 44da4036 bpatch patch36_4 ,mem_patch36 
+6f63 204052e0 call l2cap_malloc_rfcomm_channel 
+6f64 6808c74b fetcht 1 ,mem_pn_dlci 
+6f65 20406bc0 call dlci_to_address_cmd 
+6f66 20406b67 call rfcomm_calculate_fcs_sabm 
+6f67 60008496 store 1 ,mem_current_fcs 
+6f68 6808c74b fetcht 1 ,mem_pn_dlci 
+6f69 20406bc0 call dlci_to_address_cmd 
+6f6a 60088493 storet 1 ,mem_current_adss 
+6f6b 20206ce8 branch rfcomm_send_sabm 
+
+upper_sm_send_spp_cmd_ms:
+6f6c 79200025 set1 mark_ext_patch ,mark 
+6f6d 44dac036 bpatch patch36_5 ,mem_patch36 
+6f6e 204052e0 call l2cap_malloc_rfcomm_channel 
+6f6f 6808c74b fetcht 1 ,mem_pn_dlci 
+6f70 20406bc0 call dlci_to_address_cmd 
+6f71 20206d3f branch rfcomm_send_modem_status_cmd 
+
+sdp_process:
+6f72 79200025 set1 mark_ext_patch ,mark 
+6f73 44f3c03c bpatch patch3c_7 ,mem_patch3c 
+6f74 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+6f75 98000c00 iforce contr 
+6f76 e8c08000 ifetch 1 ,contr 
+6f77 1fe22400 copy pdata ,regb 
+6f78 600084af store 1 ,mem_sdp_pduid 
+6f79 e8c10000 ifetch 2 ,contr 
+6f7a 600104b0 store 2 ,mem_sdp_transactionid 
+6f7b e8c08000 ifetch 1 ,contr 
+6f7c 1fed1600 lshift8 pdata ,timeup 
+6f7d e8c08000 ifetch 1 ,contr 
+6f7e 99609600 iadd timeup ,timeup 
+6f7f 79200025 set1 mark_ext_patch ,mark 
+6f80 44f4403d bpatch patch3d_0 ,mem_patch3d 
+6f81 1a427e00 deposit regb 
+6f82 c0016f87 beq sdp_service_search_request ,servicesearch_req 
+6f83 c0026fb0 beq sdp_service_attribute_request ,serviceattribute_req 
+6f84 c003708b beq sdp_service_search_attribute_request ,servicesearchattribute_req 
+6f85 c003f1c7 beq sdp_service_search_attribute_response ,servicesearchattribute_res 
+6f86 2020723e branch sdp_insufficient_resource 
+
+servicesearch_req:
+6f87 2040724d call ask_serviceclassid 
+6f88 2841fe01 compare 1 ,temp ,0xff 
+6f89 2020f2bb branch empth_sa_rsp ,true 
+6f8a 2841feff compare 0xff ,temp ,0xff 
+6f8b 2020f241 branch sdp_invalid_reqest_syntax ,true 
+6f8c e8c10000 ifetch 2 ,contr 
+6f8d 600104b4 store 2 ,mem_sdp_record_maxcnt 
+6f8e 196097fe increase -2 ,timeup 
+6f8f 196097ff increase -1 ,timeup 
+6f90 2422f23b nbranch sdp_invalid_pdu_size ,zero 
+6f91 d96004a9 arg mem_uuid_search_pat ,timeup 
+6f92 e9610000 ifetch 2 ,timeup 
+6f93 207a0000 rtn blank 
+6f94 19609602 increase 2 ,timeup 
+6f95 20407307 call search_uuid 
+6f96 204052de call l2cap_get_sdp_tx_payload 
+6f97 18007e03 force 3 ,pdata 
+6f98 e0a08000 istore 1 ,contw 
+6f99 680104b0 fetch 2 ,mem_sdp_transactionid 
+6f9a e0a10000 istore 2 ,contw 
+6f9b 18ebfe00 lshift2 queue ,pdata 
+6f9c 1fe0fe05 add pdata ,5 ,pdata 
+6f9d 1fe0a605 add pdata ,5 ,regc 
+6f9e 1ff0fe00 byteswap pdata ,pdata 
+6f9f e0a10000 istore 2 ,contw 
+6fa0 18e27e00 deposit queue 
+6fa1 1ff0fe00 byteswap pdata ,pdata 
+6fa2 e0a10000 istore 2 ,contw 
+6fa3 e0a10000 istore 2 ,contw 
+6fa4 d8c004c5 arg mem_handle_list ,contr 
+6fa5 18e27200 copy queue ,loopcnt 
+6fa6 2022efaa branch servicesearch_req_blank ,zero 
+
+servicesearch_req_loop:
+6fa7 e8c20000 ifetch 4 ,contr 
+6fa8 e0a20000 istore 4 ,contw 
+6fa9 c2006fa7 loop servicesearch_req_loop 
+
+servicesearch_req_blank:
+6faa 18007e00 force 0 ,pdata 
+6fab e0a08000 istore 1 ,contw 
+6fac 1a627e00 deposit regc 
+6fad 600082dc store 1 ,mem_sdp_tx_pkt_length 
+6fae 203a3bf1 branch assert ,blank 
+6faf 20600000 rtn 
+
+serviceattribute_req:
+6fb0 e8c20000 ifetch 4 ,contr 
+6fb1 600204be store 4 ,mem_sdp_record_handle 
+6fb2 196097fc increase -4 ,timeup 
+6fb3 98000400 iforce temp 
+6fb4 e8c10000 ifetch 2 ,contr 
+6fb5 1ff0fe00 byteswap pdata ,pdata 
+6fb6 1fe0ffee increase -18 ,pdata 
+6fb7 600104b2 store 2 ,mem_sdp_attribute_maxbyte 
+6fb8 196097fe increase -2 ,timeup 
+6fb9 204072a4 call dataelementtype6 
+6fba 2022f241 branch sdp_invalid_reqest_syntax ,zero 
+6fbb 2a21fe05 compare 5 ,rega ,0xff 
+6fbc 2020efc0 branch serviceattribute_judge_wholerangle ,true 
+
+serviceattribute_isnot_wholerangle:
+6fbd d8a00491 arg mem_attrib_list ,contw 
+6fbe 18000e00 force 0 ,queue 
+6fbf 20206fd0 branch serviceattribute_req_loop 
+
+serviceattribute_judge_wholerangle:
+6fc0 e8c08000 ifetch 1 ,contr 
+6fc1 c0857241 bne 0xa ,sdp_invalid_reqest_syntax 
+6fc2 e8c10000 ifetch 2 ,contr 
+6fc3 243a6fce nbranch serviceattribute_judge_wholerangle_false1 ,blank 
+6fc4 e8c08000 ifetch 1 ,contr 
+6fc5 c0ffefcc bne 0xff ,serviceattribute_judge_wholerangle_false2 
+6fc6 e8c08000 ifetch 1 ,contr 
+6fc7 c0ffefca bne 0xff ,serviceattribute_judge_wholerangle_false3 
+6fc8 18c08dfb increase -5 ,contr 
+6fc9 20207022 branch serviceattribute_req_all 
+
+serviceattribute_judge_wholerangle_false3:
+6fca 18c08dfb increase -5 ,contr 
+6fcb 20206fbd branch serviceattribute_isnot_wholerangle 
+
+serviceattribute_judge_wholerangle_false2:
+6fcc 18c08dfc increase -4 ,contr 
+6fcd 20206fbd branch serviceattribute_isnot_wholerangle 
+
+serviceattribute_judge_wholerangle_false1:
+6fce 18c08dfd increase -3 ,contr 
+6fcf 20206fbd branch serviceattribute_isnot_wholerangle 
+
+serviceattribute_req_loop:
+6fd0 e8c08000 ifetch 1 ,contr 
+6fd1 c004efe5 beq 0x09 ,serviceattribute_req_one_id 
+6fd2 c0056fd3 beq 0x0a ,serviceattribute_req_range_id 
+
+serviceattribute_req_range_id:
+6fd3 e8c10000 ifetch 2 ,contr 
+6fd4 e0a10000 istore 2 ,contw 
+6fd5 18e08e01 increase 1 ,queue 
+6fd6 1ff0a400 byteswap pdata ,regb 
+6fd7 e8c10000 ifetch 2 ,contr 
+6fd8 1ff0fe00 byteswap pdata ,pdata 
+
+serviceattribute_req_range_id_increase:
+6fd9 1a40a401 increase 1 ,regb 
+6fda 9a467c00 isub regb ,null 
+6fdb 24216fe2 nbranch serviceattribute_req_range_id_finish ,positive 
+6fdc 1fe22600 copy pdata ,regc 
+6fdd 1a50fe00 byteswap regb ,pdata 
+6fde e0a10000 istore 2 ,contw 
+6fdf 18e08e01 increase 1 ,queue 
+6fe0 1a627e00 copy regc ,pdata 
+6fe1 20206fd9 branch serviceattribute_req_range_id_increase 
+
+serviceattribute_req_range_id_finish:
+6fe2 196097fb increase -5 ,timeup 
+6fe3 1a20a3fb increase -5 ,rega 
+6fe4 20206fea branch serviceattribute_req_check_next_id 
+
+serviceattribute_req_one_id:
+6fe5 e8c10000 ifetch 2 ,contr 
+6fe6 e0a10000 istore 2 ,contw 
+6fe7 18e08e01 increase 1 ,queue 
+6fe8 196097fd increase -3 ,timeup 
+6fe9 1a20a3fd increase -3 ,rega 
+
+serviceattribute_req_check_next_id:
+6fea 24217241 nbranch sdp_invalid_reqest_syntax ,positive 
+6feb 2422efd0 nbranch serviceattribute_req_loop ,zero 
+6fec 196097ff increase -1 ,timeup 
+6fed 2422f241 nbranch sdp_invalid_reqest_syntax ,zero 
+6fee 204052de call l2cap_get_sdp_tx_payload 
+6fef 18a08a0a increase 10 ,contw 
+6ff0 da200491 arg mem_attrib_list ,rega 
+
+answer_handle_attributelist_next:
+6ff1 18e27e00 copy queue ,pdata 
+6ff2 203a7004 branch answer_handle_attributelist_end ,blank 
+6ff3 ea210000 ifetch 2 ,rega 
+6ff4 203a7004 branch answer_handle_attributelist_end ,blank 
+6ff5 98002400 iforce regb 
+6ff6 680204be fetch 4 ,mem_sdp_record_handle 
+6ff7 98000400 iforce temp 
+6ff8 2040734e call search_handle_attrib 
+6ff9 203a7001 branch answer_handle_attributelist_notfound ,blank 
+6ffa 18c08dfd increase -3 ,contr 
+6ffb e8c18000 ifetch 3 ,contr 
+6ffc e0a18000 istore 3 ,contw 
+6ffd 20407199 call sdp_data_len_obs 
+6ffe 203a7001 branch answer_handle_attributelist_notfound ,blank 
+6fff 98007200 iforce loopcnt 
+7000 20407e45 call memcpy 
+
+answer_handle_attributelist_notfound:
+7001 1a20a202 increase 2 ,rega 
+7002 18e08fff increase -1 ,queue 
+7003 20206ff1 branch answer_handle_attributelist_next 
+
+answer_handle_attributelist_end:
+7004 18007e00 force 0 ,pdata 
+7005 e0a08000 istore 1 ,contw 
+7006 18a08bff increase -1 ,contw 
+7007 680902da fetcht 2 ,mem_sdp_tx_payload_ptr 
+7008 1840fe0a add temp ,10 ,pdata 
+7009 98a67e00 isub contw ,pdata 
+700a 1fe62200 sub pdata ,0 ,rega 
+700b 1a30fe00 byteswap rega ,pdata 
+700c 1840a408 add temp ,8 ,regb 
+700d e2410000 istore 2 ,regb 
+700e 1a20a203 increase 3 ,rega 
+700f 1a30fe00 byteswap rega ,pdata 
+7010 1840a405 add temp ,5 ,regb 
+7011 e2410000 istore 2 ,regb 
+7012 1a20a203 increase 3 ,rega 
+7013 1a30fe00 byteswap rega ,pdata 
+7014 1840a403 add temp ,3 ,regb 
+7015 e2410000 istore 2 ,regb 
+7016 1a20a205 increase 5 ,rega 
+7017 1a227e00 copy rega ,pdata 
+7018 600102dc store 2 ,mem_sdp_tx_pkt_length 
+7019 58000036 setarg 0x36 
+701a 1840a407 add temp ,7 ,regb 
+701b e2408000 istore 1 ,regb 
+701c 58000005 setarg 5 
+701d e0408000 istore 1 ,temp 
+701e 680104b0 fetch 2 ,mem_sdp_transactionid 
+701f 1840a401 add temp ,1 ,regb 
+7020 e2410000 istore 2 ,regb 
+7021 20600000 rtn 
+
+serviceattribute_req_all:
+7022 e8c08000 ifetch 1 ,contr 
+7023 c0857241 bne 0xa ,sdp_invalid_reqest_syntax 
+7024 e8c10000 ifetch 2 ,contr 
+7025 243a7241 nbranch sdp_invalid_reqest_syntax ,blank 
+7026 e8c08000 ifetch 1 ,contr 
+7027 c0fff241 bne 0xff ,sdp_invalid_reqest_syntax 
+7028 e8c08000 ifetch 1 ,contr 
+7029 c0fff241 bne 0xff ,sdp_invalid_reqest_syntax 
+702a 196097fb increase -5 ,timeup 
+702b e8c08000 ifetch 1 ,contr 
+702c c000702f beq 0 ,continue_zero 
+702d c000f032 beq 1 ,continue_one_byte 
+702e c0017036 beq 2 ,continue_two_byte 
+
+continue_zero:
+702f 600104ad store 2 ,mem_sdp_continue_byte 
+7030 196097ff increase -1 ,timeup 
+7031 2020703a branch continue_end 
+
+continue_one_byte:
+7032 e8c08000 ifetch 1 ,contr 
+7033 600104ad store 2 ,mem_sdp_continue_byte 
+7034 196097fe increase -2 ,timeup 
+7035 2020703a branch continue_end 
+
+continue_two_byte:
+7036 e8c10000 ifetch 2 ,contr 
+7037 1ff0fe00 byteswap pdata ,pdata 
+7038 600104ad store 2 ,mem_sdp_continue_byte 
+7039 196097fd increase -3 ,timeup 
+
+continue_end:
+703a 2422f23b nbranch sdp_invalid_pdu_size ,zero 
+703b 2040731e call search_handle 
+703c 2422f238 nbranch sdp_invalid_service_record_handle ,zero 
+703d 18c22200 copy contr ,rega 
+703e 204052de call l2cap_get_sdp_tx_payload 
+703f 1a220c00 copy rega ,contr 
+7040 18a08a03 increase 3 ,contw 
+7041 18c21600 copy contr ,timeup 
+7042 204072e8 call sdp_get_data 
+7043 1fe22200 copy pdata ,rega 
+7044 680104ad fetch 2 ,mem_sdp_continue_byte 
+7045 1fe22400 copy pdata ,regb 
+7046 1a227e00 copy rega ,pdata 
+7047 9a462400 isub regb ,regb 
+7048 680104b2 fetch 2 ,mem_sdp_attribute_maxbyte 
+7049 9a467c00 isub regb ,null 
+704a 24217066 nbranch fragment_sdp ,positive 
+704b 78547c00 disable user 
+704c 680104ad fetch 2 ,mem_sdp_continue_byte 
+704d 203a7059 branch fisrt_fragment ,blank 
+704e 99608c00 iadd timeup ,contr 
+704f 1a40a403 increase 3 ,regb 
+7050 1a427200 copy regb ,loopcnt 
+7051 1f227e00 copy loopcnt ,pdata 
+7052 1fe0fe03 increase 3 ,pdata 
+7053 1ff0fe00 byteswap pdata ,pdata 
+7054 e0a10000 istore 2 ,contw 
+7055 1f227e00 copy loopcnt ,pdata 
+7056 1ff0fe00 byteswap pdata ,pdata 
+7057 e0a10000 istore 2 ,contw 
+7058 20207074 branch answer_attributelist_full_loop 
+
+fisrt_fragment:
+7059 1a20f206 add rega ,6 ,loopcnt 
+705a 2034705d branch parlength_continue_byte ,user 
+705b 1f30fe00 byteswap loopcnt ,pdata 
+705c 20207060 branch parlength_continue_byte_end 
+
+parlength_continue_byte:
+705d 1f227e00 copy loopcnt ,pdata 
+705e 1fe0fe02 increase 2 ,pdata 
+705f 1ff0fe00 byteswap pdata ,pdata 
+
+parlength_continue_byte_end:
+7060 e0a10000 istore 2 ,contw 
+7061 1f20f3fd increase -3 ,loopcnt 
+7062 1f30fe00 byteswap loopcnt ,pdata 
+7063 e0a10000 istore 2 ,contw 
+7064 19620c00 copy timeup ,contr 
+7065 20207074 branch answer_attributelist_full_loop 
+
+fragment_sdp:
+7066 78347c00 enable user 
+7067 680104b2 fetch 2 ,mem_sdp_attribute_maxbyte 
+7068 1fe22200 copy pdata ,rega 
+7069 1fe27200 copy pdata ,loopcnt 
+706a 680104ad fetch 2 ,mem_sdp_continue_byte 
+706b 203a7059 branch fisrt_fragment ,blank 
+706c 99608c00 iadd timeup ,contr 
+706d 1a227e00 copy rega ,pdata 
+706e 1fe0fe05 increase 5 ,pdata 
+706f 1ff0fe00 byteswap pdata ,pdata 
+7070 e0a10000 istore 2 ,contw 
+7071 1a227e00 copy rega ,pdata 
+7072 1ff0fe00 byteswap pdata ,pdata 
+7073 e0a10000 istore 2 ,contw 
+
+answer_attributelist_full_loop:
+7074 e8c08000 ifetch 1 ,contr 
+7075 e0a08000 istore 1 ,contw 
+7076 c2007074 loop answer_attributelist_full_loop 
+7077 2434707f nbranch last_frag_continue ,user 
+7078 18007e02 force 2 ,pdata 
+7079 e0a08000 istore 1 ,contw 
+707a 18c27e00 copy contr ,pdata 
+707b 99667e00 isub timeup ,pdata 
+707c 1ff0fe00 byteswap pdata ,pdata 
+707d e0a10000 istore 2 ,contw 
+707e 20207081 branch sdp_frag_end 
+
+last_frag_continue:
+707f 18007e00 force 0 ,pdata 
+7080 e0a08000 istore 1 ,contw 
+
+sdp_frag_end:
+7081 680102da fetch 2 ,mem_sdp_tx_payload_ptr 
+7082 98a67e00 isub contw ,pdata 
+7083 1fe67e00 sub pdata ,0 ,pdata 
+7084 600102dc store 2 ,mem_sdp_tx_pkt_length 
+7085 204052de call l2cap_get_sdp_tx_payload 
+7086 58000005 setarg 5 
+7087 e0a08000 istore 1 ,contw 
+7088 680104b0 fetch 2 ,mem_sdp_transactionid 
+7089 e0a10000 istore 2 ,contw 
+708a 20600000 rtn 
+
+servicesearchattribute_req:
+708b 2040724d call ask_serviceclassid 
+708c 2841feff compare 0xff ,temp ,0xff 
+708d 2020f0b4 branch servicesearchattribute_req_all ,true 
+708e e8c10000 ifetch 2 ,contr 
+708f 600104b2 store 2 ,mem_sdp_attribute_maxbyte 
+7090 196097fe increase -2 ,timeup 
+7091 204072a4 call dataelementtype6 
+7092 d8a00491 arg mem_attrib_list ,contw 
+7093 18000e00 force 0 ,queue 
+
+servicesearchattribute_req_loop:
+7094 e8c18000 ifetch 3 ,contr 
+7095 c084f0b4 bne 0x09 ,servicesearchattribute_req_all 
+
+servicesearchattribute_req_uuid:
+7096 1fecfe00 rshift8 pdata ,pdata 
+7097 e0a10000 istore 2 ,contw 
+7098 18e08e01 increase 1 ,queue 
+7099 196097fd increase -3 ,timeup 
+709a 1a20a3fd increase -3 ,rega 
+709b 24217241 nbranch sdp_invalid_reqest_syntax ,positive 
+709c 2422f094 nbranch servicesearchattribute_req_loop ,zero 
+709d 196097ff increase -1 ,timeup 
+709e 2422f241 nbranch sdp_invalid_reqest_syntax ,zero 
+
+servicesearchattribute_req_search:
+709f 204052de call l2cap_get_sdp_tx_payload 
+70a0 18a08a0d increase 13 ,contw 
+70a1 680104a9 fetch 2 ,mem_uuid_search_pat 
+70a2 98002600 iforce regc 
+70a3 da200491 arg mem_attrib_list ,rega 
+
+answer_attributelist_next:
+70a4 ea220000 ifetch 4 ,rega 
+70a5 203a70c4 branch answer_attributelist_end ,blank 
+70a6 ea210000 ifetch 2 ,rega 
+70a7 98002400 iforce regb 
+70a8 2040732a call search_attrib 
+70a9 203a70b2 branch answer_attributelist_notfound ,blank 
+70aa 18c08dfd increase -3 ,contr 
+70ab e8c18000 ifetch 3 ,contr 
+70ac e0a18000 istore 3 ,contw 
+70ad 20407199 call sdp_data_len_obs 
+70ae 98007200 iforce loopcnt 
+
+answer_attributelist_attrib_loop:
+70af e8c08000 ifetch 1 ,contr 
+70b0 e0a08000 istore 1 ,contw 
+70b1 c20070af loop answer_attributelist_attrib_loop 
+
+answer_attributelist_notfound:
+70b2 1a20a202 increase 2 ,rega 
+70b3 202070a4 branch answer_attributelist_next 
+
+servicesearchattribute_req_all:
+70b4 e8c08000 ifetch 1 ,contr 
+70b5 e8c08000 ifetch 1 ,contr 
+70b6 196097fb increase -5 ,timeup 
+70b7 1a20a3fb increase -5 ,rega 
+70b8 24217241 nbranch sdp_invalid_reqest_syntax ,positive 
+70b9 d96004a9 arg mem_uuid_search_pat ,timeup 
+70ba e9610000 ifetch 2 ,timeup 
+70bb 19609602 increase 2 ,timeup 
+70bc 20407307 call search_uuid 
+70bd 18e27e00 deposit queue 
+70be 600084dd store 1 ,mem_handle_humber 
+70bf 203a72be branch empty_ssa_rsp ,blank 
+70c0 d8e00000 arg 0 ,queue 
+70c1 204052de call l2cap_get_sdp_tx_payload 
+70c2 18a08a0a increase 10 ,contw 
+70c3 20207108 branch servicesearchattribute_req_next_handle 
+
+answer_attributelist_end:
+70c4 18007e00 force 0 ,pdata 
+70c5 e0a08000 istore 1 ,contw 
+70c6 18a08bff increase -1 ,contw 
+70c7 680902da fetcht 2 ,mem_sdp_tx_payload_ptr 
+70c8 1840fe0d add temp ,13 ,pdata 
+70c9 98a67e00 isub contw ,pdata 
+70ca 2022f0e8 branch no_attribute_return ,zero 
+70cb 1fe67e00 sub pdata ,0 ,pdata 
+70cc 1840a40c add temp ,12 ,regb 
+70cd e2408000 istore 1 ,regb 
+70ce 1fe0fe03 increase 3 ,pdata 
+70cf 1840a409 add temp ,9 ,regb 
+70d0 e2408000 istore 1 ,regb 
+70d1 1fe0fe03 increase 3 ,pdata 
+70d2 1ff0fe00 byteswap pdata ,pdata 
+70d3 1840a405 add temp ,5 ,regb 
+70d4 e2410000 istore 2 ,regb 
+70d5 1fecfe00 rshift8 pdata ,pdata 
+70d6 1fe0fe03 increase 3 ,pdata 
+70d7 1ff0fe00 byteswap pdata ,pdata 
+70d8 1840a403 add temp ,3 ,regb 
+70d9 e2410000 istore 2 ,regb 
+70da 1fecfe00 rshift8 pdata ,pdata 
+70db 1fe0fe05 increase 5 ,pdata 
+70dc 600082dc store 1 ,mem_sdp_tx_pkt_length 
+70dd 680104b0 fetch 2 ,mem_sdp_transactionid 
+70de 1840a401 add temp ,1 ,regb 
+70df e2410000 istore 2 ,regb 
+70e0 58000007 setarg 7 
+70e1 e0408000 istore 1 ,temp 
+70e2 58000036 setarg 0x0036 
+70e3 1840a407 add temp ,7 ,regb 
+70e4 e2410000 istore 2 ,regb 
+70e5 1840a40a add temp ,10 ,regb 
+70e6 e2410000 istore 2 ,regb 
+70e7 20600000 rtn 
+
+no_attribute_return:
+70e8 7002dc0a jam 10 ,mem_sdp_tx_pkt_length 
+70e9 204052de call l2cap_get_sdp_tx_payload 
+70ea 58000007 setarg 7 
+70eb e0a08000 istore 1 ,contw 
+70ec 680104b0 fetch 2 ,mem_sdp_transactionid 
+70ed e0a10000 istore 2 ,contw 
+70ee 58000500 setarg 0x0500 
+70ef e0a10000 istore 2 ,contw 
+70f0 58000200 setarg 0x0200 
+70f1 e0a10000 istore 2 ,contw 
+70f2 58000035 setarg 0x000035 
+70f3 e0a18000 istore 3 ,contw 
+70f4 20600000 rtn 
+
+servicesearchattribute_req_attributelist_loop:
+70f5 e8c08000 ifetch 1 ,contr 
+70f6 e0a08000 istore 1 ,contw 
+70f7 1a40a401 increase 1 ,regb 
+70f8 1a20a3ff increase -1 ,rega 
+70f9 2022f0fb branch servicesearchattribute_req_check_next_ctn ,zero 
+70fa c20070f5 loop servicesearchattribute_req_attributelist_loop 
+
+servicesearchattribute_req_check_next_ctn:
+70fb 18a21600 copy contw ,timeup 
+70fc 1a427e00 copy regb ,pdata 
+70fd 600104ad store 2 ,mem_sdp_continue_byte 
+70fe 1a227e00 copy rega ,pdata 
+70ff 600104b2 store 2 ,mem_sdp_attribute_maxbyte 
+7100 203a7117 branch answer_attributelist_with_ctn_bytes ,blank 
+7101 20347152 branch answer_attributelist_with_ctn_end ,user 
+7102 19620a00 copy timeup ,contw 
+
+servicesearchattribute_req_check_handle:
+7103 18e08e01 increase 1 ,queue 
+7104 680084dd fetch 1 ,mem_handle_humber 
+7105 98e67c00 isub queue ,null 
+7106 2422f108 nbranch servicesearchattribute_req_next_handle ,zero 
+7107 20207171 branch answer_attributelist_end_long 
+
+servicesearchattribute_req_next_handle:
+7108 d8c004c5 arg mem_handle_list ,contr 
+7109 18ebfe00 lshift2 queue ,pdata 
+710a 98c08c00 iadd contr ,contr 
+710b e8c20000 ifetch 4 ,contr 
+710c 98000400 iforce temp 
+710d 2040731e call search_handle 
+710e 18c21600 copy contr ,timeup 
+710f 204072e8 call sdp_get_data 
+7110 1fe0f203 add pdata ,3 ,loopcnt 
+7111 680104b2 fetch 2 ,mem_sdp_attribute_maxbyte 
+7112 1fe22200 copy pdata ,rega 
+7113 680104ad fetch 2 ,mem_sdp_continue_byte 
+7114 1fe22400 copy pdata ,regb 
+7115 19620c00 copy timeup ,contr 
+7116 202070f5 branch servicesearchattribute_req_attributelist_loop 
+
+answer_attributelist_with_ctn_bytes:
+7117 d8e00000 arg 0 ,queue 
+7118 da400000 arg 0 ,regb 
+
+answer_attributelist_calc_attribute_length:
+7119 d8c004c5 arg mem_handle_list ,contr 
+711a 18ebfe00 lshift2 queue ,pdata 
+711b 98c08c00 iadd contr ,contr 
+711c e8c20000 ifetch 4 ,contr 
+711d 98000400 iforce temp 
+711e 2040731e call search_handle 
+711f 204072e8 call sdp_get_data 
+7120 1fe0fe03 add pdata ,3 ,pdata 
+7121 9a40a400 iadd regb ,regb 
+7122 18e08e01 increase 1 ,queue 
+7123 680084dd fetch 1 ,mem_handle_humber 
+7124 98e67c00 isub queue ,null 
+7125 2422f119 nbranch answer_attributelist_calc_attribute_length ,zero 
+7126 19620a00 copy timeup ,contw 
+7127 18007e02 force 2 ,pdata 
+7128 e0a08000 istore 1 ,contw 
+7129 680104ad fetch 2 ,mem_sdp_continue_byte 
+712a 1ff0fe00 byteswap pdata ,pdata 
+712b e0a10000 istore 2 ,contw 
+712c 18a08bfd increase -3 ,contw 
+712d 680902da fetcht 2 ,mem_sdp_tx_payload_ptr 
+712e 1840fe0a add temp ,10 ,pdata 
+712f 98a67e00 isub contw ,pdata 
+7130 1fe67e00 sub pdata ,0 ,pdata 
+7131 98002200 iforce rega 
+7132 1a427e00 deposit regb 
+7133 1840a409 add temp ,9 ,regb 
+7134 e2408000 istore 1 ,regb 
+7135 1fecfe00 rshift8 pdata ,pdata 
+7136 1840a408 add temp ,8 ,regb 
+7137 e2408000 istore 1 ,regb 
+7138 1a20a203 increase 3 ,rega 
+7139 1a227e00 deposit rega 
+713a 1840a406 add temp ,6 ,regb 
+713b e2408000 istore 1 ,regb 
+713c 1fecfe00 rshift8 pdata ,pdata 
+713d 1840a405 add temp ,5 ,regb 
+713e e2408000 istore 1 ,regb 
+713f 1a20a205 increase 5 ,rega 
+7140 1a227e00 deposit rega 
+7141 1840a404 add temp ,4 ,regb 
+7142 e2408000 istore 1 ,regb 
+7143 1fecfe00 rshift8 pdata ,pdata 
+7144 1840a403 add temp ,3 ,regb 
+7145 e2408000 istore 1 ,regb 
+7146 1a20a205 increase 5 ,rega 
+7147 1a227e00 deposit rega 
+7148 600102dc store 2 ,mem_sdp_tx_pkt_length 
+7149 58000007 setarg 7 
+714a e0408000 istore 1 ,temp 
+714b 58000036 setarg 0x36 
+714c 1840a407 add temp ,7 ,regb 
+714d e2408000 istore 1 ,regb 
+714e 1840a401 add temp ,1 ,regb 
+714f 680104b0 fetch 2 ,mem_sdp_transactionid 
+7150 e2410000 istore 2 ,regb 
+7151 20600000 rtn 
+
+answer_attributelist_with_ctn_end:
+7152 19620a00 copy timeup ,contw 
+7153 18007e00 force 0 ,pdata 
+7154 e0a08000 istore 1 ,contw 
+7155 18a08bff increase -1 ,contw 
+7156 680902da fetcht 2 ,mem_sdp_tx_payload_ptr 
+7157 1840fe07 add temp ,7 ,pdata 
+7158 98a67e00 isub contw ,pdata 
+7159 1fe67e00 sub pdata ,0 ,pdata 
+715a 98002200 iforce rega 
+715b 1a227e00 deposit rega 
+715c 1840a406 add temp ,6 ,regb 
+715d e2408000 istore 1 ,regb 
+715e 1fecfe00 rshift8 pdata ,pdata 
+715f 1840a405 add temp ,5 ,regb 
+7160 e2408000 istore 1 ,regb 
+7161 1a20a203 increase 3 ,rega 
+7162 1a227e00 deposit rega 
+7163 1840a404 add temp ,4 ,regb 
+7164 e2408000 istore 1 ,regb 
+7165 1fecfe00 rshift8 pdata ,pdata 
+7166 1840a403 add temp ,3 ,regb 
+7167 e2408000 istore 1 ,regb 
+7168 1a20a205 increase 5 ,rega 
+7169 1a227e00 deposit rega 
+716a 600102dc store 2 ,mem_sdp_tx_pkt_length 
+716b 58000007 setarg 7 
+716c e0408000 istore 1 ,temp 
+716d 680104b0 fetch 2 ,mem_sdp_transactionid 
+716e 1840a401 add temp ,1 ,regb 
+716f e2410000 istore 2 ,regb 
+7170 20600000 rtn 
+
+answer_attributelist_end_long:
+7171 18007e00 force 0 ,pdata 
+7172 e0a08000 istore 1 ,contw 
+7173 18a08bff increase -1 ,contw 
+7174 680902da fetcht 2 ,mem_sdp_tx_payload_ptr 
+7175 1840fe0a add temp ,10 ,pdata 
+7176 98a67e00 isub contw ,pdata 
+7177 1fe67e00 sub pdata ,0 ,pdata 
+7178 98002200 iforce rega 
+7179 1a227e00 deposit rega 
+717a 1840a409 add temp ,9 ,regb 
+717b e2408000 istore 1 ,regb 
+717c 1fecfe00 rshift8 pdata ,pdata 
+717d 1840a408 add temp ,8 ,regb 
+717e e2408000 istore 1 ,regb 
+717f 1a20a203 increase 3 ,rega 
+7180 1a227e00 deposit rega 
+7181 1840a406 add temp ,6 ,regb 
+7182 e2408000 istore 1 ,regb 
+7183 1fecfe00 rshift8 pdata ,pdata 
+7184 1840a405 add temp ,5 ,regb 
+7185 e2408000 istore 1 ,regb 
+7186 1a20a203 increase 3 ,rega 
+7187 1a227e00 deposit rega 
+7188 1840a404 add temp ,4 ,regb 
+7189 e2408000 istore 1 ,regb 
+718a 1fecfe00 rshift8 pdata ,pdata 
+718b 1840a403 add temp ,3 ,regb 
+718c e2408000 istore 1 ,regb 
+718d 1a20a205 increase 5 ,rega 
+718e 1a227e00 deposit rega 
+718f 600102dc store 2 ,mem_sdp_tx_pkt_length 
+7190 58000036 setarg 0x36 
+7191 1840a407 add temp ,7 ,regb 
+7192 e2408000 istore 1 ,regb 
+7193 58000007 setarg 7 
+7194 e0408000 istore 1 ,temp 
+7195 680104b0 fetch 2 ,mem_sdp_transactionid 
+7196 1840a401 add temp ,1 ,regb 
+7197 e2410000 istore 2 ,regb 
+7198 20600000 rtn 
+
+sdp_data_len_obs:
+7199 18c21600 copy contr ,timeup 
+719a e8c08000 ifetch 1 ,contr 
+719b 1fe17207 and pdata ,0x07 ,loopcnt 
+719c 1fe97e00 rshift3 pdata ,pdata 
+719d c00371a2 beq 6 ,sdp_data_len_6_obs 
+719e c000f2e0 beq 1 ,sdp_data_len_1 
+719f c00272e5 beq 4 ,sdp_data_len_6 
+71a0 c002f2e3 beq 5 ,sdp_data_len_5 
+71a1 202072de branch sdp_data_len_rtn 
+
+sdp_data_len_6_obs:
+71a2 204071a4 call sdp_get_data_6_obs 
+71a3 202072de branch sdp_data_len_rtn 
+
+sdp_get_data_6_obs:
+71a4 1f227e00 deposit loopcnt 
+71a5 c002f1a9 beq 5 ,sdp_get_data_6_8bit_obs 
+71a6 c00371ac beq 6 ,sdp_get_data_6_16bit_obs 
+71a7 18007203 force 3 ,loopcnt 
+71a8 202072ef branch sdp_get_data_1 
+
+sdp_get_data_6_8bit_obs:
+71a9 e8c08000 ifetch 1 ,contr 
+71aa 1fe0fe02 increase 2 ,pdata 
+71ab 20600000 rtn 
+
+sdp_get_data_6_16bit_obs:
+71ac e8c10000 ifetch 2 ,contr 
+71ad 1ff0fe00 byteswap pdata ,pdata 
+71ae 1fe0fe03 increase 3 ,pdata 
+71af 20600000 rtn 
+
+sdp_send_spp_request:
+71b0 204052de call l2cap_get_sdp_tx_payload 
+71b1 1fe20a00 copy pdata ,contw 
+71b2 58000006 setarg 6 
+71b3 e0a08000 istore 1 ,contw 
+71b4 5800006e setarg sdp_tid_spp 
+71b5 e0a10000 istore 2 ,contw 
+71b6 58000f00 setarg 0x0f00 
+71b7 e0a10000 istore 2 ,contw 
+71b8 581a0535 setarg 0x1a0535 
+71b9 e0a18000 istore 3 ,contw 
+71ba 58000111 setarg 0x0111 
+71bb 1ff07e00 lshift16 pdata ,pdata 
+71bc e0a20000 istore 4 ,contw 
+71bd 58002600 setarg 0x2600 
+71be e0a10000 istore 2 ,contw 
+71bf 58000335 setarg 0x0335 
+71c0 e0a10000 istore 2 ,contw 
+71c1 58000009 setarg 0x0009 
+71c2 e0a10000 istore 2 ,contw 
+71c3 58000004 setarg 0x0004 
+71c4 e0a10000 istore 2 ,contw 
+71c5 7002dc14 jam 0x14 ,mem_sdp_tx_pkt_length 
+71c6 20600000 rtn 
+
+servicesearchattribute_res:
+71c7 18c20400 copy contr ,temp 
+71c8 680104b0 fetch 2 ,mem_sdp_transactionid 
+71c9 c03771cb beq sdp_tid_spp ,servicesearchattribute_res_spp 
+71ca 202071d4 branch srchfail 
+
+servicesearchattribute_res_spp:
+71cb 18420c00 copy temp ,contr 
+71cc 196097fd increase -3 ,timeup 
+71cd 19627e00 copy timeup ,pdata 
+71ce c00171d4 beq 2 ,srchfail 
+71cf 204071d5 call find_rfcomm_channel_number 
+71d0 20740000 rtn user 
+71d1 6000c752 store 1 ,mem_remote_spp_channel 
+71d2 7002ec17 jam recieve_ss_reasult_hf ,mem_message_to_uppersm 
+71d3 20600000 rtn 
+
+srchfail:
+71d4 20600000 rtn 
+
+find_rfcomm_channel_number:
+71d5 78347c00 enable user 
+71d6 1fe27200 copy pdata ,loopcnt 
+71d7 d8400400 arg 0x0400 ,temp 
+
+find_rfcomm_channel_number_loop:
+71d8 e8c10000 ifetch 2 ,contr 
+71d9 98467c00 isub temp ,null 
+71da 2022f1de branch find_rfcomm_channel_number_find_adl ,zero 
+71db 18c08dff increase -1 ,contr 
+71dc c20071d8 loop find_rfcomm_channel_number_loop 
+71dd 20600000 rtn 
+
+find_rfcomm_channel_number_find_adl:
+71de d8400300 arg 0x0300 ,temp 
+
+find_rfcomm_channel_number_loop2:
+71df e8c10000 ifetch 2 ,contr 
+71e0 98467c00 isub temp ,null 
+71e1 2022f1e5 branch find_rfcomm_channel_number_find_rfcomm ,zero 
+71e2 18c08dff increase -1 ,contr 
+71e3 c20071df loop find_rfcomm_channel_number_loop2 
+71e4 20600000 rtn 
+
+find_rfcomm_channel_number_find_rfcomm:
+71e5 e8c08000 ifetch 1 ,contr 
+71e6 e8c08000 ifetch 1 ,contr 
+71e7 78547c00 disable user 
+71e8 20600000 rtn 
+
+attribute_reading:
+71e9 204072a4 call dataelementtype6 
+71ea 2022f236 branch rdnortn ,zero 
+71eb 18002400 force 0 ,regb 
+71ec e8c08000 ifetch 1 ,contr 
+71ed 1a20a3ff increase -1 ,rega 
+71ee 196097ff increase -1 ,timeup 
+71ef 2fe1f018 compare 0x18 ,pdata ,0xf8 
+71f0 2420f230 nbranch rduuid3 ,true 
+71f1 2fe00e04 compare 0x04 ,pdata ,0x07 
+71f2 2420f1f8 nbranch is032 ,true 
+71f3 18002401 force 1 ,regb 
+
+skp2bytes:
+71f4 18c08c02 increase 2 ,contr 
+71f5 1a20a3fe increase -2 ,rega 
+71f6 196097fe increase -2 ,timeup 
+71f7 202071fd branch rduuid1 
+
+is032:
+71f8 2fe00e02 compare 0x02 ,pdata ,0x07 
+71f9 2420f1fb nbranch is016 ,true 
+71fa 202071f4 branch skp2bytes 
+
+is016:
+71fb 2fe00e01 compare 0x01 ,pdata ,0x07 
+71fc 2420f230 nbranch rduuid3 ,true 
+
+rduuid1:
+71fd e8c08000 ifetch 1 ,contr 
+71fe 1a20a3ff increase -1 ,rega 
+71ff 196097ff increase -1 ,timeup 
+7200 c080f207 bne 0x01 ,rduuid2 
+7201 e8c08000 ifetch 1 ,contr 
+7202 1a20a3ff increase -1 ,rega 
+7203 196097ff increase -1 ,timeup 
+7204 c0807230 bne 0x00 ,rduuid3 
+7205 7004c3ff jam 0xff ,mem_sdp_lacap_found 
+7206 20207230 branch rduuid3 
+
+rduuid2:
+7207 c0807230 bne 0x00 ,rduuid3 
+7208 e8c08000 ifetch 1 ,contr 
+7209 1a20a3ff increase -1 ,rega 
+720a 196097ff increase -1 ,timeup 
+720b c081f230 bne 0x03 ,rduuid3 
+720c 1a427c00 copy regb ,null 
+720d 2022f210 branch not16by ,zero 
+720e 18c08df4 increase -12 ,contr 
+720f 196097f4 increase -12 ,timeup 
+
+not16by:
+7210 18007eff force 0xff ,pdata 
+7211 600084c4 store 1 ,mem_sdp_rfcomm_found 
+7212 e8c08000 ifetch 1 ,contr 
+7213 1a20a3ff increase -1 ,rega 
+7214 196097ff increase -1 ,timeup 
+7215 2fe1f008 compare 0x08 ,pdata ,0xf8 
+7216 2420f230 nbranch rduuid3 ,true 
+7217 2fe00e00 compare 0x00 ,pdata ,0x07 
+7218 2020f22d branch unsign1 ,true 
+7219 2fe00e01 compare 0x01 ,pdata ,0x07 
+721a 2020f22a branch unsign2 ,true 
+721b 2fe00e02 compare 0x02 ,pdata ,0x07 
+721c 2020f227 branch unsign4 ,true 
+721d 2fe00e03 compare 0x03 ,pdata ,0x07 
+721e 2020f224 branch unsign8 ,true 
+721f 2fe00e04 compare 0x04 ,pdata ,0x07 
+7220 2420f230 nbranch rduuid3 ,true 
+7221 18c08c08 increase 8 ,contr 
+7222 1a20a3f8 increase -8 ,rega 
+7223 196097f8 increase -8 ,timeup 
+
+unsign8:
+7224 18c08c04 increase 4 ,contr 
+7225 1a20a3fc increase -4 ,rega 
+7226 196097fc increase -4 ,timeup 
+
+unsign4:
+7227 18c08c02 increase 2 ,contr 
+7228 1a20a3fe increase -2 ,rega 
+7229 196097fe increase -2 ,timeup 
+
+unsign2:
+722a 18c08c01 increase 1 ,contr 
+722b 1a20a3ff increase -1 ,rega 
+722c 196097ff increase -1 ,timeup 
+
+unsign1:
+722d e8c08000 ifetch 1 ,contr 
+722e 1a20a3ff increase -1 ,rega 
+722f 196097ff increase -1 ,timeup 
+
+rduuid3:
+7230 196097ff increase -1 ,timeup 
+7231 1a20a3ff increase -1 ,rega 
+7232 20217230 branch rduuid3 ,positive 
+7233 19609601 increase 1 ,timeup 
+7234 18007e01 force 0x01 ,pdata 
+7235 20600000 rtn ,
+
+rdnortn:
+7236 18007e00 force 0x00 ,pdata 
+7237 20600000 rtn ,
+
+sdp_invalid_service_record_handle:
+7238 58000200 setarg 0x0200 
+7239 600104b6 store 2 ,mem_sdp_error_code 
+723a 20207243 branch sdp_error_rsp 
+
+sdp_invalid_pdu_size:
+723b 58000400 setarg 0x0400 
+723c 600104b6 store 2 ,mem_sdp_error_code 
+723d 20207243 branch sdp_error_rsp 
+
+sdp_insufficient_resource:
+723e 58000600 setarg 0x0600 
+723f 600104b6 store 2 ,mem_sdp_error_code 
+7240 20207243 branch sdp_error_rsp 
+
+sdp_invalid_reqest_syntax:
+7241 58000300 setarg 0x0300 
+7242 600104b6 store 2 ,mem_sdp_error_code 
+
+sdp_error_rsp:
+7243 204052de call l2cap_get_sdp_tx_payload 
+7244 e0a08000 istore 1 ,contw 
+7245 680104b0 fetch 2 ,mem_sdp_transactionid 
+7246 e0a10000 istore 2 ,contw 
+7247 58000200 setarg 0x0200 
+7248 e0a10000 istore 2 ,contw 
+7249 680104b6 fetch 2 ,mem_sdp_error_code 
+724a e0a10000 istore 2 ,contw 
+724b 7002dc07 jam 7 ,mem_sdp_tx_pkt_length 
+724c 20600000 rtn 
+
+ask_serviceclassid:
+724d 18000400 force 0 ,temp 
+724e d8a004a9 arg mem_uuid_search_pat ,contw 
+724f 204072a4 call dataelementtype6 
+7250 2022f2a2 branch asksrv_error ,zero 
+
+classidloop:
+7251 e8c08000 ifetch 1 ,contr 
+7252 1a20a3ff increase -1 ,rega 
+7253 196097ff increase -1 ,timeup 
+7254 2fe1f018 compare 0x18 ,pdata ,0xf8 
+7255 2420f2a2 nbranch asksrv_error ,true 
+7256 2fe00e04 compare 0x04 ,pdata ,0x07 
+7257 2420f26e nbranch cmp032 ,true 
+7258 18000401 force 1 ,temp 
+
+skip2bytes:
+7259 e8c08000 ifetch 1 ,contr 
+725a 1a20a3ff increase -1 ,rega 
+725b 196097ff increase -1 ,timeup 
+725c c0807262 bne 0x00 ,frstbwrong 
+725d e8c08000 ifetch 1 ,contr 
+725e 1a20a3ff increase -1 ,rega 
+725f 196097ff increase -1 ,timeup 
+7260 c0007273 beq 0x00 ,cmpuuid 
+7261 20207265 branch scndbwrong 
+
+frstbwrong:
+7262 18c08c01 increase 1 ,contr 
+7263 1a20a3ff increase -1 ,rega 
+7264 196097ff increase -1 ,timeup 
+
+scndbwrong:
+7265 18c08c02 increase 2 ,contr 
+7266 1a20a3fe increase -2 ,rega 
+7267 196097fe increase -2 ,timeup 
+7268 2841fe00 compare 0x00 ,temp ,0xff 
+7269 2020f29d branch loopornot ,true 
+726a 18c08c0c increase 12 ,contr 
+726b 1a20a3f4 increase -12 ,rega 
+726c 196097f4 increase -12 ,timeup 
+726d 2020729d branch loopornot 
+
+cmp032:
+726e 2fe00e02 compare 0x02 ,pdata ,0x07 
+726f 2420f271 nbranch cmp016 ,true 
+7270 20207259 branch skip2bytes 
+
+cmp016:
+7271 2fe00e01 compare 0x01 ,pdata ,0x07 
+7272 2420f2a2 nbranch asksrv_error ,true 
+
+cmpuuid:
+7273 e8c10000 ifetch 2 ,contr 
+7274 1a20a3fe increase -2 ,rega 
+7275 196097fe increase -2 ,timeup 
+7276 e0a10000 istore 2 ,contw 
+
+uuidsize:
+7277 2841fe00 compare 0x00 ,temp ,0xff 
+7278 2020f29d branch loopornot ,true 
+7279 18c20400 copy contr ,temp 
+727a e8c08000 ifetch 1 ,contr 
+727b c0807292 bne 0x00 ,wrong12b 
+727c e8c08000 ifetch 1 ,contr 
+727d c0807292 bne 0x00 ,wrong12b 
+727e e8c08000 ifetch 1 ,contr 
+727f c0887292 bne 0x10 ,wrong12b 
+7280 e8c08000 ifetch 1 ,contr 
+7281 c0807292 bne 0x00 ,wrong12b 
+7282 e8c08000 ifetch 1 ,contr 
+7283 c0c07292 bne 0x80 ,wrong12b 
+7284 e8c08000 ifetch 1 ,contr 
+7285 c0807292 bne 0x00 ,wrong12b 
+7286 e8c08000 ifetch 1 ,contr 
+7287 c0807292 bne 0x00 ,wrong12b 
+7288 e8c08000 ifetch 1 ,contr 
+7289 c0c07292 bne 0x80 ,wrong12b 
+728a e8c08000 ifetch 1 ,contr 
+728b c0aff292 bne 0x5f ,wrong12b 
+728c e8c08000 ifetch 1 ,contr 
+728d c0cdf292 bne 0x9b ,wrong12b 
+728e e8c08000 ifetch 1 ,contr 
+728f c09a7292 bne 0x34 ,wrong12b 
+7290 e8c08000 ifetch 1 ,contr 
+7291 c07df29b beq 0xfb ,chck12dn 
+
+wrong12b:
+7292 18420c00 copy temp ,contr 
+
+wrong12b1:
+7293 18c08c0c increase 12 ,contr 
+7294 18000e00 force 0x00 ,queue 
+7295 18000400 force 0x00 ,temp 
+7296 2020729b branch chck12dn 
+
+noclass:
+7297 e8c08000 ifetch 1 ,contr 
+7298 1a20a3ff increase -1 ,rega 
+7299 196097ff increase -1 ,timeup 
+729a 20207277 branch uuidsize 
+
+chck12dn:
+729b 196097f4 increase -12 ,timeup 
+729c 1a20a3f4 increase -12 ,rega 
+
+loopornot:
+729d 2a21fe00 compare 0x00 ,rega ,0xff 
+729e 2420f251 nbranch classidloop ,true 
+729f 18007e00 force 0 ,pdata 
+72a0 e0a10000 istore 2 ,contw 
+72a1 20600000 rtn ,
+
+asksrv_error:
+72a2 d84000ff arg 0xff ,temp 
+72a3 20600000 rtn 
+
+dataelementtype6:
+72a4 e8c08000 ifetch 1 ,contr 
+72a5 196097ff increase -1 ,timeup 
+72a6 2fe1f030 compare 0x30 ,pdata ,0xf8 
+72a7 2420f2b9 nbranch dsize_error ,true 
+72a8 2fe00e07 compare 0x07 ,pdata ,0x07 
+72a9 2020f2b2 branch dsize32 ,true 
+72aa 2fe00e06 compare 0x06 ,pdata ,0x07 
+72ab 2020f2b4 branch dsize16 ,true 
+72ac 2fe00e05 compare 0x05 ,pdata ,0x07 
+72ad 2420f2b9 nbranch dsize_error ,true 
+72ae e8c08000 ifetch 1 ,contr 
+72af 1fe22200 copy pdata ,rega 
+72b0 196097ff increase -1 ,timeup 
+72b1 202072b7 branch dsize 
+
+dsize32:
+72b2 18c08c02 increase 2 ,contr 
+72b3 196097fe increase -2 ,timeup 
+
+dsize16:
+72b4 e8c10000 ifetch 2 ,contr 
+72b5 1ff0a200 byteswap pdata ,rega 
+72b6 196097fe increase -2 ,timeup 
+
+set_nblank:
+
+dsize:
+72b7 18007e01 force 0x01 ,pdata 
+72b8 20600000 rtn 
+
+set_blank:
+
+dsize_error:
+72b9 18007e00 force 0x00 ,pdata 
+72ba 20600000 rtn 
+
+empth_sa_rsp:
+72bb 58000003 setarg 0x03 
+72bc 600084af store 1 ,mem_sdp_pduid 
+72bd 202072c0 branch empty_response 
+
+empty_ssa_rsp:
+72be 58000007 setarg 0x07 
+72bf 600084af store 1 ,mem_sdp_pduid 
+
+empty_response:
+72c0 204052de call l2cap_get_sdp_tx_payload 
+72c1 680084af fetch 1 ,mem_sdp_pduid 
+72c2 e0a08000 istore 1 ,contw 
+72c3 1fe22400 copy pdata ,regb 
+72c4 680104b0 fetch 2 ,mem_sdp_transactionid 
+72c5 e0a10000 istore 2 ,contw 
+72c6 58000500 setarg 0x0500 
+72c7 e0a10000 istore 2 ,contw 
+72c8 2a41fe05 compare 0x05 ,regb ,0xff 
+72c9 2020f2d0 branch fullsearch ,true 
+72ca 2a41fe07 compare 0x07 ,regb ,0xff 
+72cb 2020f2d0 branch fullsearch ,true 
+72cc 58000000 setarg 0x000000 
+72cd e0a18000 istore 3 ,contw 
+72ce e0a10000 istore 2 ,contw 
+72cf 202072d4 branch outempty 
+
+fullsearch:
+72d0 58350200 setarg 0x350200 
+72d1 e0a18000 istore 3 ,contw 
+72d2 58000000 setarg 0 
+72d3 e0a10000 istore 2 ,contw 
+
+outempty:
+72d4 7002dc0a jam 10 ,mem_sdp_tx_pkt_length 
+72d5 20600000 rtn 
+
+sdp_data_len:
+72d6 18c21600 copy contr ,timeup 
+72d7 e8c08000 ifetch 1 ,contr 
+72d8 1fe17207 and pdata ,0x7 ,loopcnt 
+72d9 1fe97e00 rshift3 pdata ,pdata 
+72da c00372e5 beq 6 ,sdp_data_len_6 
+72db c000f2e0 beq 1 ,sdp_data_len_1 
+72dc c00272e5 beq 4 ,sdp_data_len_6 
+72dd c002f2e3 beq 5 ,sdp_data_len_5 
+
+sdp_data_len_rtn:
+72de 19620c00 copy timeup ,contr 
+72df 20600000 rtn 
+
+sdp_data_len_1:
+72e0 20407301 call sdp_data_size 
+72e1 1fe0fe01 increase 1 ,pdata 
+72e2 202072de branch sdp_data_len_rtn 
+
+sdp_data_len_5:
+72e3 18007e02 force 2 ,pdata 
+72e4 202072de branch sdp_data_len_rtn 
+
+sdp_data_len_6:
+72e5 204072f7 call sdp_get_data_6 
+72e6 1fe0fe02 increase 2 ,pdata 
+72e7 202072de branch sdp_data_len_rtn 
+
+sdp_get_data:
+72e8 e8c08000 ifetch 1 ,contr 
+72e9 1fe17207 and pdata ,0x7 ,loopcnt 
+72ea 1fe97e00 rshift3 pdata ,pdata 
+72eb c00372f7 beq 6 ,sdp_get_data_6 
+72ec c000f2ef beq 1 ,sdp_get_data_1 
+72ed c002f2fc beq 5 ,sdp_get_data_6_8bit 
+72ee 20600000 rtn 
+
+sdp_get_data_1:
+72ef 20407301 call sdp_data_size 
+72f0 98007200 iforce loopcnt 
+72f1 18000400 force 0 ,temp 
+
+sdp_get_data_1_loop:
+72f2 184d0400 lshift8 temp ,temp 
+72f3 e8c08000 ifetch 1 ,contr 
+72f4 98418400 ior temp ,temp 
+72f5 c20072f2 loop sdp_get_data_1_loop 
+72f6 20600000 rtn 
+
+sdp_get_data_6:
+72f7 1f227e00 deposit loopcnt 
+72f8 c002f2fc beq 5 ,sdp_get_data_6_8bit 
+72f9 c00372fe beq 6 ,sdp_get_data_6_16bit 
+72fa 18007203 force 3 ,loopcnt 
+72fb 202072ef branch sdp_get_data_1 
+
+sdp_get_data_6_8bit:
+72fc e8c08000 ifetch 1 ,contr 
+72fd 20600000 rtn 
+
+sdp_get_data_6_16bit:
+72fe e8c10000 ifetch 2 ,contr 
+72ff 1ff0fe00 byteswap pdata ,pdata 
+7300 20600000 rtn 
+
+sdp_data_size:
+7301 18007e01 force 1 ,pdata 
+7302 1f227c00 copy loopcnt ,null 
+7303 20628000 rtn zero 
+
+sdp_data_size_loop:
+7304 1fe3fe00 lshift pdata ,pdata 
+7305 c2007304 loop sdp_data_size_loop 
+7306 20600000 rtn 
+
+search_uuid:
+7307 98002600 iforce regc 
+7308 79200025 set1 mark_ext_patch ,mark 
+7309 44f4c03d bpatch patch3d_1 ,mem_patch3d 
+730a 18000e00 force 0 ,queue 
+730b 68014759 fetch 2 ,memui_uuid_table 
+730c 98000c00 iforce contr 
+730d d8a004c5 arg mem_handle_list ,contw 
+
+search_uuid_next:
+730e 78547c00 disable user 
+730f e8c08000 ifetch 1 ,contr 
+7310 207a0000 rtn blank 
+7311 98007200 iforce loopcnt 
+
+search_uuid_loop:
+7312 e8c10000 ifetch 2 ,contr 
+7313 9a667c00 isub regc ,null 
+7314 2422f316 nbranch search_uuid_not_found ,zero 
+7315 78347c00 enable user 
+
+search_uuid_not_found:
+7316 c2007312 loop search_uuid_loop 
+7317 e8c20000 ifetch 4 ,contr 
+7318 2434731b nbranch search_uuid_nomatch ,user 
+7319 e0a20000 istore 4 ,contw 
+731a 18e08e01 increase 1 ,queue 
+
+search_uuid_nomatch:
+731b 204072e8 call sdp_get_data 
+731c 98c08c00 iadd contr ,contr 
+731d 2020730e branch search_uuid_next 
+
+search_handle:
+731e 68014759 fetch 2 ,memui_uuid_table 
+731f 98000c00 iforce contr 
+
+search_handle_loop:
+7320 e8c08000 ifetch 1 ,contr 
+7321 207a0000 rtn blank 
+7322 1fe3fe00 lshift pdata ,pdata 
+7323 98c08c00 iadd contr ,contr 
+7324 e8c20000 ifetch 4 ,contr 
+7325 98467c00 isub temp ,null 
+7326 20628000 rtn zero 
+7327 204072e8 call sdp_get_data 
+7328 98c08c00 iadd contr ,contr 
+7329 20207320 branch search_handle_loop 
+
+search_attrib:
+732a 79200025 set1 mark_ext_patch ,mark 
+732b 44f5403d bpatch patch3d_2 ,mem_patch3d 
+732c 68014759 fetch 2 ,memui_uuid_table 
+732d 98000c00 iforce contr 
+
+search_attrib_next:
+732e e8c08000 ifetch 1 ,contr 
+732f 203a734b branch search_attrib_end ,blank 
+7330 98007200 iforce loopcnt 
+
+search_attrib_loop:
+7331 e8c10000 ifetch 2 ,contr 
+7332 9a667c00 isub regc ,null 
+7333 2022f339 branch search_attrib_found_uuid ,zero 
+7334 c2007331 loop search_attrib_loop 
+7335 18c08c04 increase 4 ,contr 
+7336 204072e8 call sdp_get_data 
+7337 98c08c00 iadd contr ,contr 
+7338 2020732e branch search_attrib_next 
+
+search_attrib_found_uuid:
+7339 1f20f3ff increase -1 ,loopcnt 
+733a 1f23fe00 lshift loopcnt ,pdata 
+733b 98c08c00 iadd contr ,contr 
+733c 18c08c04 increase 4 ,contr 
+733d 204072e8 call sdp_get_data 
+733e 98c08400 iadd contr ,temp 
+
+search_attrib_loop_attribs:
+733f 18c08c01 increase 1 ,contr 
+7340 e8c10000 ifetch 2 ,contr 
+7341 9a461600 isub regb ,timeup 
+7342 7922fe00 setflag zero ,0 ,pdata 
+7343 19621600 copy timeup ,timeup 
+7344 20628000 rtn zero 
+7345 204072d6 call sdp_data_len 
+7346 98c08c00 iadd contr ,contr 
+7347 18427e00 deposit temp 
+7348 98c67c00 isub contr ,null 
+7349 2022f34b branch search_attrib_end ,zero 
+734a 2020733f branch search_attrib_loop_attribs 
+
+search_attrib_end:
+734b 18000c00 force 0 ,contr 
+734c 18007e00 force 0 ,pdata 
+734d 20600000 rtn 
+
+search_handle_attrib:
+734e 79200025 set1 mark_ext_patch ,mark 
+734f 44f5c03d bpatch patch3d_3 ,mem_patch3d 
+7350 68014759 fetch 2 ,memui_uuid_table 
+7351 98000c00 iforce contr 
+
+search_handle_attrib_next:
+7352 e8c08000 ifetch 1 ,contr 
+7353 203a7368 branch search_handle_attrib_end ,blank 
+7354 1fe3fe00 lshift pdata ,pdata 
+7355 98c08c00 iadd contr ,contr 
+7356 e8c20000 ifetch 4 ,contr 
+7357 98467c00 isub temp ,null 
+7358 2022f35c branch search_handl_attrib_found_handle ,zero 
+7359 204072e8 call sdp_get_data 
+735a 98c08c00 iadd contr ,contr 
+735b 20207352 branch search_handle_attrib_next 
+
+search_handl_attrib_found_handle:
+735c 204072e8 call sdp_get_data 
+735d 98c08400 iadd contr ,temp 
+
+search_handle_attrib_loop_attribs:
+735e 18c08c01 increase 1 ,contr 
+735f e8c10000 ifetch 2 ,contr 
+7360 9a467c00 isub regb ,null 
+7361 20628000 rtn zero 
+7362 204072d6 call sdp_data_len 
+7363 98c08c00 iadd contr ,contr 
+7364 18427e00 deposit temp 
+7365 98c67c00 isub contr ,null 
+7366 2022f368 branch search_handle_attrib_end ,zero 
+7367 2020735e branch search_handle_attrib_loop_attribs 
+
+search_handle_attrib_end:
+7368 18000c00 force 0 ,contr 
+7369 20600000 rtn 
+
+generate_kinit:
+736a 2040737d call function_e22 
+736b d8c0051f arg mem_input_store ,contr 
+736c d8a0050f arg mem_kinit ,contw 
+736d 20207e35 branch memcpy16 
+
+function_e21:
+736e 78547c00 disable user 
+736f 20407474 call function_expand 
+7370 d8c004ef arg mem_random_number ,contr 
+7371 d8a0052f arg mem_x ,contw 
+7372 1800720f force 15 ,loopcnt 
+7373 20407e45 call memcpy 
+7374 e8c08000 ifetch 1 ,contr 
+7375 1fe2fe06 xor_into 6 ,pdata 
+7376 e0a08000 istore 1 ,contw 
+7377 5800053f setarg mem_y 
+7378 60010574 store 2 ,memp_ar_input 
+7379 5800052f setarg mem_x 
+737a 60010572 store 2 ,memp_ar_key 
+737b 79200012 set1 mark_ar2 ,mark 
+737c 202073bd branch function_ar 
+
+function_e22:
+737d 6808854f fetcht 1 ,mem_pin_length 
+737e 18002410 force 16 ,regb 
+737f 1840a606 add temp ,6 ,regc 
+7380 1a667c10 sub regc ,16 ,null 
+7381 20217383 branch function_e22_pin_init ,positive 
+7382 18002610 force 16 ,regc 
+
+function_e22_pin_init:
+7383 d8a0052f arg mem_x ,contw 
+
+function_e22_genx_pin:
+7384 d8c00550 arg mem_pin ,contr 
+7385 18427200 copy temp ,loopcnt 
+7386 78547c00 disable user 
+
+function_e22_genx_loop:
+7387 e8c08000 ifetch 1 ,contr 
+7388 e0a08000 istore 1 ,contw 
+7389 1a40a5ff increase -1 ,regb 
+738a 2022f391 branch function_e22_genx_end ,zero 
+738b c2007387 loop function_e22_genx_loop 
+738c 20347384 branch function_e22_genx_pin ,user 
+738d 78347c00 enable user 
+738e 18007206 force 6 ,loopcnt 
+738f 1a220c00 copy rega ,contr 
+7390 20207387 branch function_e22_genx_loop 
+
+function_e22_genx_end:
+7391 d8c004ef arg mem_random_number ,contr 
+7392 d8a0053f arg mem_y ,contw 
+7393 20407e35 call memcpy16 
+7394 6800854e fetch 1 ,mem_y15 
+7395 9a62fe00 ixor regc ,pdata 
+7396 6000854e store 1 ,mem_y15 
+7397 5800053f setarg mem_y 
+7398 60010574 store 2 ,memp_ar_input 
+7399 5800052f setarg mem_x 
+739a 60010572 store 2 ,memp_ar_key 
+739b 79200012 set1 mark_ar2 ,mark 
+739c 202073bd branch function_ar 
+
+function_e1:
+739d 78547c00 disable user 
+739e 20407474 call function_expand 
+739f 202073a7 branch function_hash 
+
+function_e3:
+73a0 da200056 arg mem_aco ,rega 
+73a1 78347c00 enable user 
+73a2 20407474 call function_expand 
+73a3 204073a7 call function_hash 
+73a4 d8c0051f arg mem_input_store ,contr 
+73a5 d8a00062 arg mem_kc ,contw 
+73a6 20207e35 branch memcpy16 
+
+function_hash:
+73a7 580004ef setarg mem_random_number 
+73a8 60010574 store 2 ,memp_ar_input 
+73a9 58004262 setarg mem_link_key 
+73aa 60010572 store 2 ,memp_ar_key 
+73ab 793f8012 set0 mark_ar2 ,mark 
+73ac 204073bd call function_ar 
+73ad da20051f arg mem_input_store ,rega 
+73ae da4004ef arg mem_random_number ,regb 
+73af d8a0052f arg mem_x ,contw 
+73b0 20407467 call xor16 
+73b1 da20052f arg mem_x ,rega 
+73b2 da40053f arg mem_y ,regb 
+73b3 1a420a00 copy regb ,contw 
+73b4 78347c00 enable user 
+73b5 20407465 call add16 
+73b6 2040747f call key_offset 
+73b7 5800053f setarg mem_y 
+73b8 60010574 store 2 ,memp_ar_input 
+73b9 5800052f setarg mem_x 
+73ba 60010572 store 2 ,memp_ar_key 
+73bb 79200012 set1 mark_ar2 ,mark 
+73bc 202073bd branch function_ar 
+
+function_ar:
+73bd 70057600 jam 0 ,mem_ar_hround 
+73be 68010572 fetch 2 ,memp_ar_key 
+73bf 98000c00 iforce contr 
+73c0 d8a00560 arg mem_key_store ,contw 
+73c1 20407e35 call memcpy16 
+73c2 68010574 fetch 2 ,memp_ar_input 
+73c3 98000c00 iforce contr 
+73c4 d8a0051f arg mem_input_store ,contw 
+73c5 20407e35 call memcpy16 
+
+function_ar_loop:
+73c6 204073e4 call key_scheduling 
+73c7 78547c00 disable user 
+73c8 c58973ce bmark0 mark_ar2 ,function_ar_original 
+73c9 68008576 fetch 1 ,mem_ar_hround 
+73ca c08273ce bne 4 ,function_ar_original 
+73cb 68010574 fetch 2 ,memp_ar_input 
+73cc 98002400 iforce regb 
+73cd 20407416 call xor_mod32_ar2 
+
+function_ar_original:
+73ce 20407415 call xor_mod32 
+73cf 20407428 call el_boxes 
+73d0 68008576 fetch 1 ,mem_ar_hround 
+73d1 1fe0fe01 increase 1 ,pdata 
+73d2 60008576 store 1 ,mem_ar_hround 
+73d3 204073e4 call key_scheduling 
+73d4 78347c00 enable user 
+73d5 20407415 call xor_mod32 
+73d6 20407437 call pht 
+73d7 20407446 call permute 
+73d8 20407437 call pht 
+73d9 20407446 call permute 
+73da 20407437 call pht 
+73db 20407446 call permute 
+73dc 20407437 call pht 
+73dd 68008576 fetch 1 ,mem_ar_hround 
+73de 1fe0fe01 increase 1 ,pdata 
+73df 60008576 store 1 ,mem_ar_hround 
+73e0 c08873c6 bne 16 ,function_ar_loop 
+73e1 204073e4 call key_scheduling 
+73e2 78547c00 disable user 
+73e3 20207415 branch xor_mod32 
+
+key_scheduling:
+73e4 68008576 fetch 1 ,mem_ar_hround 
+73e5 d8c00560 arg mem_key_store ,contr 
+73e6 203a740b branch key_sched_zero ,blank 
+73e7 98002400 iforce regb 
+73e8 18007211 force 17 ,loopcnt 
+73e9 18c20a00 copy contr ,contw 
+
+key_rotateloop:
+73ea e8c08000 ifetch 1 ,contr 
+73eb 1fe98400 lshift3 pdata ,temp 
+73ec 1feb7e00 rshift2 pdata ,pdata 
+73ed 1fe97e00 rshift3 pdata ,pdata 
+73ee 9841fe00 ior temp ,pdata 
+73ef e0a08000 istore 1 ,contw 
+73f0 c20073ea loop key_rotateloop 
+73f1 58000560 setarg mem_key_store 
+73f2 9a408c00 iadd regb ,contr 
+73f3 18007210 force 16 ,loopcnt 
+73f4 d8a004ff arg mem_round_key ,contw 
+
+key_select_octet_loop:
+73f5 e8c08000 ifetch 1 ,contr 
+73f6 e0a08000 istore 1 ,contw 
+73f7 28c1ff71 compare mem_key_store_end ,contr ,0xff 
+73f8 2420f3fa nbranch key_select_octet_nwrap ,true 
+73f9 18c08def increase -17 ,contr 
+
+key_select_octet_nwrap:
+73fa c20073f5 loop key_select_octet_loop 
+73fb 18002200 force 0 ,rega 
+73fc 1a40a7ff add regb ,-1 ,regc 
+73fd 1a6ba600 lshift2 regc ,regc 
+73fe 1a6ba600 lshift2 regc ,regc 
+73ff 204075c5 call enable_authrom 
+7400 58008400 setarg mem_b_box 
+7401 9a60a600 iadd regc ,regc 
+7402 d8a004ff arg mem_round_key ,contw 
+7403 18007210 force 16 ,loopcnt 
+
+bias_round_key_loop:
+7404 ea688000 ifetcht 1 ,regc 
+7405 e8a08000 ifetch 1 ,contw 
+7406 9840fe00 iadd temp ,pdata 
+7407 e0a08000 istore 1 ,contw 
+7408 1a60a601 increase 1 ,regc 
+7409 c2007404 loop bias_round_key_loop 
+740a 202075c9 branch disable_authrom 
+
+key_sched_zero:
+740b 18007210 force 16 ,loopcnt 
+740c 18000400 force 0 ,temp 
+
+create_byte_16_loop:
+740d e8c08000 ifetch 1 ,contr 
+740e 98428400 ixor temp ,temp 
+740f c200740d loop create_byte_16_loop 
+7410 18427e00 deposit temp 
+7411 e0c08000 istore 1 ,contr 
+7412 d8c00560 arg mem_key_store ,contr 
+7413 d8a004ff arg mem_round_key ,contw 
+7414 20207e35 branch memcpy16 
+
+xor_mod32:
+7415 da4004ff arg mem_round_key ,regb 
+
+xor_mod32_ar2:
+7416 18007210 force 16 ,loopcnt 
+7417 da20051f arg mem_input_store ,rega 
+7418 1a220a00 copy rega ,contw 
+
+xor_mod32_loop:
+7419 ea288000 ifetcht 1 ,rega 
+741a ea408000 ifetch 1 ,regb 
+741b 9842e000 ixor temp ,alarm 
+741c 1f212603 and loopcnt ,3 ,regc 
+741d 2434741f nbranch xor_mod32_invert ,user 
+741e 1a62a603 xor_into 3 ,regc 
+
+xor_mod32_invert:
+741f 1a662601 sub regc ,1 ,regc 
+7420 20217422 branch xor_even ,positive 
+7421 9840e000 iadd temp ,alarm 
+
+xor_even:
+7422 1e027e00 deposit alarm 
+7423 e0a08000 istore 1 ,contw 
+7424 1a20a201 increase 1 ,rega 
+7425 1a40a401 increase 1 ,regb 
+7426 c2007419 loop xor_mod32_loop 
+7427 20600000 rtn 
+
+el_boxes:
+7428 204075c5 call enable_authrom 
+7429 18007210 force 16 ,loopcnt 
+742a da20051f arg mem_input_store ,rega 
+
+el_box_loop:
+742b ea208000 ifetch 1 ,rega 
+742c d8c08500 arg mem_e_box ,contr 
+742d 1f212603 and loopcnt ,3 ,regc 
+742e 1a667c01 sub regc ,1 ,null 
+742f 20217431 branch e_boxes ,positive 
+7430 d8c08600 arg mem_l_box ,contr 
+
+e_boxes:
+7431 98c08c00 iadd contr ,contr 
+7432 e8c08000 ifetch 1 ,contr 
+7433 e2208000 istore 1 ,rega 
+7434 1a20a201 increase 1 ,rega 
+7435 c200742b loop el_box_loop 
+7436 202075c9 branch disable_authrom 
+
+pht:
+7437 18007208 force 8 ,loopcnt 
+7438 d8c0051f arg mem_input_store ,contr 
+7439 18c20a00 copy contr ,contw 
+
+pht_loop:
+743a e8c08000 ifetch 1 ,contr 
+743b 98002200 iforce rega 
+743c e8c08000 ifetch 1 ,contr 
+743d 98002400 iforce regb 
+743e 1a23fe00 lshift rega ,pdata 
+743f 9a40fe00 iadd regb ,pdata 
+7440 e0a08000 istore 1 ,contw 
+7441 1a227e00 deposit rega 
+7442 9a40fe00 iadd regb ,pdata 
+7443 e0a08000 istore 1 ,contw 
+7444 c200743a loop pht_loop 
+7445 20600000 rtn 
+
+permute:
+7446 588ae42c setarg 0x8ae42c 
+7447 98000400 iforce temp 
+7448 18007207 force 7 ,loopcnt 
+7449 20407455 call permute_exchange 
+744a 580d751b setarg 0xd751b 
+744b 98000400 iforce temp 
+744c 18007205 force 5 ,loopcnt 
+744d 20407455 call permute_exchange 
+744e 6800852e fetch 1 ,mem_input_store + 15 
+744f 98002200 iforce rega 
+7450 68008522 fetch 1 ,mem_input_store + 3 
+7451 6000852e store 1 ,mem_input_store + 15 
+7452 1a227e00 deposit rega 
+7453 60008522 store 1 ,mem_input_store + 3 
+7454 20600000 rtn 
+
+permute_exchange:
+7455 1841240f and temp ,0xf ,regb 
+
+permute_loop:
+7456 18417e0f and temp ,0xf ,pdata 
+7457 d8a0051f arg mem_input_store ,contw 
+7458 98a08a00 iadd contw ,contw 
+7459 e8a08000 ifetch 1 ,contw 
+745a 98002600 iforce regc 
+745b 1a227e00 deposit rega 
+745c e0a08000 istore 1 ,contw 
+745d 1a622200 copy regc ,rega 
+745e 18518400 rshift4 temp ,temp 
+745f c2007456 loop permute_loop 
+7460 5800051f setarg mem_input_store 
+7461 9a408a00 iadd regb ,contw 
+7462 1a227e00 deposit rega 
+7463 e0a08000 istore 1 ,contw 
+7464 20600000 rtn 
+
+add16:
+7465 78347c00 enable user 
+7466 20207468 branch xor_add16 
+
+xor16:
+7467 78547c00 disable user 
+
+xor_add16:
+7468 18007210 force 16 ,loopcnt 
+
+xoradd_loop:
+7469 ea288000 ifetcht 1 ,rega 
+746a ea408000 ifetch 1 ,regb 
+746b 2034746e branch xoradd_add ,user 
+746c 9842fe00 ixor temp ,pdata 
+746d 2020746f branch xoradd_store 
+
+xoradd_add:
+746e 9840fe00 iadd temp ,pdata 
+
+xoradd_store:
+746f e0a08000 istore 1 ,contw 
+7470 1a20a201 increase 1 ,rega 
+7471 1a40a401 increase 1 ,regb 
+7472 c2007469 loop xoradd_loop 
+7473 20600000 rtn 
+
+function_expand:
+7474 d8a0053f arg mem_y ,contw 
+7475 ea230000 ifetch 6 ,rega 
+7476 e0a30000 istore 6 ,contw 
+7477 2034747a branch expand_12 ,user 
+7478 ea230000 ifetch 6 ,rega 
+7479 2020747b branch expand_cont 
+
+expand_12:
+747a e8c30000 ifetch 6 ,contr 
+
+expand_cont:
+747b e0a30000 istore 6 ,contw 
+747c ea220000 ifetch 4 ,rega 
+747d e0a20000 istore 4 ,contw 
+747e 20600000 rtn 
+
+key_offset:
+747f d8c04262 arg mem_link_key ,contr 
+7480 d8a0052f arg mem_x ,contw 
+7481 d8400000 arg 0 ,temp 
+7482 588395a7 setarg 0x8395a7 
+7483 204074a0 call concatenate_temp24 
+7484 58b3c1df setarg 0xb3c1df 
+7485 204074a0 call concatenate_temp24 
+7486 5800e5e9 setarg 0xe5e9 
+7487 204074a1 call concatenate_temp16 
+7488 18422800 copy temp ,regab 
+7489 78547c00 disable user 
+748a 2040748e call key_addxor 
+748b 1a820400 copy regab ,temp 
+748c 78347c00 enable user 
+748d 2020748e branch key_addxor 
+
+key_addxor:
+748e 18007208 force 8 ,loopcnt 
+
+key_addxor_loop:
+748f e8c08000 ifetch 1 ,contr 
+7490 2f200201 compare 1 ,loopcnt ,1 
+7491 20347495 branch key_high ,user 
+7492 2020f496 branch key_xor ,true 
+
+key_add:
+7493 9840fe00 iadd temp ,pdata 
+7494 20207497 branch key_store 
+
+key_high:
+7495 2020f493 branch key_add ,true 
+
+key_xor:
+7496 9842fe00 ixor temp ,pdata 
+
+key_store:
+7497 e0a08000 istore 1 ,contw 
+7498 184c8400 rshift8 temp ,temp 
+7499 c200748f loop key_addxor_loop 
+749a 20600000 rtn 
+
+copy_aco:
+749b 68030523 fetch 6 ,mem_input_store + 4 
+749c 60030056 store 6 ,mem_aco 
+749d e8c30000 ifetch 6 ,contr 
+749e e0a30000 istore 6 ,contw 
+749f 20600000 rtn 
+
+concatenate_temp24:
+74a0 184d0400 lshift8 temp ,temp 
+
+concatenate_temp16:
+74a1 18500400 lshift16 temp ,temp 
+74a2 98418400 ior temp ,temp 
+74a3 20600000 rtn 
+
+loop1:
+74a4 202074a4 branch loop1 
+
+generate_stk:
+74a5 20407540 call function_s1 
+74a6 d8a0447b arg mem_le_ltk ,contw 
+74a7 202075a3 branch store_aes_result 
+
+authenticate_rconfirm:
+74a8 d8a0449c arg mem_le_srand ,contw 
+74a9 2034f4ab branch authenticate_mconfirm ,master 
+74aa d8a003b0 arg mem_le_mrand ,contw 
+
+authenticate_mconfirm:
+74ab 18c22200 copy contr ,rega 
+74ac 20407e35 call memcpy16 
+74ad 20407551 call function_c1 
+74ae d8c0448c arg mem_le_rconfirm ,contr 
+74af 202075bc branch compare_res 
+
+generate_confirm:
+74b0 da2003b0 arg mem_le_mrand ,rega 
+74b1 2034f4b3 branch generate_mrand ,master 
+74b2 da20449c arg mem_le_srand ,rega 
+
+generate_mrand:
+74b3 1a220a00 copy rega ,contw 
+74b4 20406226 call generate_random 
+74b5 20207551 branch function_c1 
+
+generate_sk:
+74b6 d8c00380 arg mem_le_skdm ,contr 
+74b7 20407592 call load_data128 
+74b8 d8c0447b arg mem_le_ltk ,contr 
+74b9 20407593 call load_regext 
+74ba 18006c38 force 0x38 ,aes_ctrl 
+74bb 18006c00 force 0x0 ,aes_ctrl 
+74bc 2040752f call wait_aes 
+74bd d8a003fd arg mem_le_sk ,contw 
+74be 202075a3 branch store_aes_result 
+
+first_block_counter:
+74bf 18007e49 force 0x49 ,pdata 
+74c0 202074c2 branch first_block 
+
+first_block_data:
+74c1 18007e01 force 1 ,pdata 
+
+first_block:
+74c2 18007000 force regidx_data ,regext_index 
+74c3 184d5e00 lshift8 temp ,regext 
+74c4 9de1de00 ior regext ,regext 
+74c5 1f00f001 increase 1 ,regext_index 
+74c6 184cde00 rshift8 temp ,regext 
+74c7 1df15e00 rshift16 regext ,regext 
+74c8 68014473 fetch 2 ,mem_le_ivm 
+74c9 1ff07e00 lshift16 ,pdata ,pdata 
+74ca 9de1de00 ior regext ,regext 
+74cb 1f00f001 increase 1 ,regext_index 
+74cc e8c20000 ifetch 4 ,contr 
+74cd 98005e00 iforce regext 
+74ce 1f00f001 increase 1 ,regext_index 
+74cf e8c10000 ifetch 2 ,contr 
+74d0 1a30de00 byteswap rega ,regext 
+74d1 1df05e00 lshift16 regext ,regext 
+74d2 9de1de00 ior regext ,regext 
+74d3 1f00f001 increase 1 ,regext_index 
+74d4 20600000 rtn 
+
+generate_mic:
+74d5 1a608c01 add regc ,1 ,contr 
+74d6 e8c08000 ifetch 1 ,contr 
+74d7 98002200 iforce rega 
+74d8 204074bf call first_block_counter 
+74d9 20407531 call do_aes_ocb 
+74da 18007000 force regidx_data ,regext_index 
+74db ea608000 ifetch 1 ,regc 
+74dc 1fe17e03 and_into 0x3 ,pdata 
+74dd 1ff05e00 lshift16 pdata ,regext 
+74de 79205e08 set1 8 ,regext 
+74df 2040759b call clear_hidata 
+74e0 20407534 call do_aes_cbc 
+74e1 1a227200 copy rega ,loopcnt 
+74e2 1a608c02 add regc ,2 ,contr 
+74e3 2040757a call padding_data 
+
+generate_mic_loop:
+74e4 20407584 call aes_load_data 
+74e5 20407534 call do_aes_cbc 
+74e6 1f227e00 deposit loopcnt 
+74e7 203a74e9 branch generate_mic_end ,blank 
+74e8 202074e4 branch generate_mic_loop 
+
+generate_mic_end:
+74e9 1800700c force regidx_result ,regext_index 
+74ea 1de27e00 deposit regext 
+74eb 60020378 store 4 ,mem_le_mic 
+74ec 20600000 rtn 
+
+aes_crypt_data:
+74ed 1a20a201 increase 1 ,rega 
+74ee 204074c1 call first_block_data 
+74ef 1a620c00 copy regc ,contr 
+74f0 2040758e call aes_load_xor 
+74f1 20407537 call do_aes_ctr 
+74f2 204075aa call store_enc_data 
+74f3 1a60a610 increase 16 ,regc 
+74f4 1a40a5f0 increase -16 ,regb 
+74f5 202174ed branch aes_crypt_data ,positive 
+74f6 20600000 rtn 
+
+le_encrypt:
+74f7 da60443e arg mem_le_txheader ,regc 
+74f8 680ac465 fetcht 5 ,mem_le_pcnt_tx 
+74f9 204074d5 call generate_mic 
+74fa 18007008 force regidx_xor ,regext_index 
+74fb 98005e00 iforce regext 
+74fc 18002200 force 0 ,rega 
+74fd 204074c1 call first_block_data 
+74fe 20407537 call do_aes_ctr 
+74ff da604440 arg mem_le_txpayload ,regc 
+7500 6800c43f fetch 1 ,mem_le_txlen 
+7501 1fe0a5ff add pdata ,-1 ,regb 
+7502 9a608a00 iadd regc ,contw 
+7503 1800700c force regidx_result ,regext_index 
+7504 1de27e00 deposit regext 
+7505 e0a20000 istore 4 ,contw 
+7506 204074ed call aes_crypt_data 
+7507 6800c43f fetch 1 ,mem_le_txlen 
+7508 1fe0fe04 increase 4 ,pdata 
+7509 6000c43f store 1 ,mem_le_txlen 
+750a 680ac465 fetcht 5 ,mem_le_pcnt_tx 
+750b 18408401 increase 1 ,temp 
+750c 600ac465 storet 5 ,mem_le_pcnt_tx 
+750d 20600000 rtn 
+
+le_decrypt:
+750e 68008341 fetch 1 ,mem_le_rxbuf + 1 
+750f 1fe67c14 sub pdata ,20 ,null 
+7510 20217511 branch le_dec_cont ,positive 
+
+le_dec_cont:
+7511 da600342 arg mem_le_rxbuf + 2 ,regc 
+7512 1fe0a5ff add pdata ,-1 ,regb 
+7513 1fe0fffc increase -4 ,pdata 
+7514 60008341 store 1 ,mem_le_rxbuf + 1 
+7515 9a608c00 iadd regc ,contr 
+7516 e8c20000 ifetch 4 ,contr 
+7517 18007008 force regidx_xor ,regext_index 
+7518 98005e00 iforce regext 
+7519 18002200 force 0 ,rega 
+751a 680ac46a fetcht 5 ,mem_le_pcnt_rx 
+751b 204074c1 call first_block_data 
+751c 20407537 call do_aes_ctr 
+751d 1800700c force regidx_result ,regext_index 
+751e 1de27e00 deposit regext 
+751f 6002037c store 4 ,mem_le_peer_mic 
+7520 204074ed call aes_crypt_data 
+7521 da600340 arg mem_le_rxbuf ,regc 
+7522 204074d5 call generate_mic 
+7523 680a037c fetcht 4 ,mem_le_peer_mic 
+7524 98467e00 isub temp ,pdata 
+7525 247a0000 nrtn blank 
+7526 6802446f fetch 4 ,mem_le_last_mic 
+7527 98467e00 isub temp ,pdata 
+7528 207a0000 rtn blank 
+7529 600a446f storet 4 ,mem_le_last_mic 
+752a 6802c46a fetch 5 ,mem_le_pcnt_rx 
+752b 1fe0fe01 increase 1 ,pdata 
+752c 6002c46a store 5 ,mem_le_pcnt_rx 
+752d 18007e00 force 0 ,pdata 
+752e 20600000 rtn 
+
+wait_aes:
+752f 243bf52f nbranch wait_aes ,aes_ready 
+7530 20600000 rtn 
+
+do_aes_ocb:
+7531 18006c30 force 0x30 ,aes_ctrl 
+7532 18006c00 force 0x0 ,aes_ctrl 
+7533 2020752f branch wait_aes 
+
+do_aes_cbc:
+7534 18006c32 force 0x32 ,aes_ctrl 
+7535 18006c02 force 0x2 ,aes_ctrl 
+7536 2020752f branch wait_aes 
+
+do_aes_ctr:
+7537 18006c34 force 0x34 ,aes_ctrl 
+7538 18006c04 force 0x4 ,aes_ctrl 
+7539 2020752f branch wait_aes 
+
+do_aes_cfb:
+753a 18006c36 force 0x36 ,aes_ctrl 
+753b 18006c06 force 0x6 ,aes_ctrl 
+753c 2020752f branch wait_aes 
+
+aes_init:
+753d 18006c01 force 1 ,aes_ctrl 
+753e 18006c00 force 0 ,aes_ctrl 
+753f 20600000 rtn 
+
+function_s1:
+7540 18007000 force regidx_data ,regext_index 
+7541 680203b0 fetch 4 ,mem_le_mrand 
+7542 98005e00 iforce regext 
+7543 1f00f001 increase 1 ,regext_index 
+7544 e8c20000 ifetch 4 ,contr 
+7545 98005e00 iforce regext 
+7546 1f00f001 increase 1 ,regext_index 
+7547 6802449c fetch 4 ,mem_le_srand 
+7548 98005e00 iforce regext 
+7549 1f00f001 increase 1 ,regext_index 
+754a e8c20000 ifetch 4 ,contr 
+754b 98005e00 iforce regext 
+754c 1f00f001 increase 1 ,regext_index 
+754d 2040759e call aes_clear 
+754e 18006c38 force 0x38 ,aes_ctrl 
+754f 18006c08 force 0x8 ,aes_ctrl 
+7550 2020752f branch wait_aes 
+
+function_c1:
+7551 680344f9 fetch 6 ,mem_le_lap 
+7552 680b03d0 fetcht 6 ,mem_le_plap 
+7553 2034f556 branch function_c1_master ,master 
+7554 680303d0 fetch 6 ,mem_le_plap 
+7555 680b44f9 fetcht 6 ,mem_le_lap 
+
+function_c1_master:
+7556 18007008 force regidx_xor ,regext_index 
+7557 18425e00 copy temp ,regext 
+7558 1f00f001 increase 1 ,regext_index 
+7559 184f5e00 rshift32 temp ,regext 
+755a 1ff07e00 lshift16 pdata ,pdata 
+755b 9de1de00 ior regext ,regext 
+755c 1f00f001 increase 1 ,regext_index 
+755d 1fef5e00 rshift32 pdata ,regext 
+755e 1f00f001 increase 1 ,regext_index 
+755f 18005e00 force 0 ,regext 
+7560 18007e00 force 0 ,pdata 
+7561 6800c4e6 fetch 1 ,mem_le_conn_peer_addr_type 
+7562 6808c4dc fetcht 1 ,mem_le_adv_own_addr_type 
+7563 2434f566 nbranch function_c1_irat ,master 
+7564 6800c4ed fetch 1 ,mem_le_conn_own_addr_type 
+7565 6808c4e6 fetcht 1 ,mem_le_conn_peer_addr_type 
+
+function_c1_irat:
+7566 6000c4ac store 1 ,mem_le_iat 
+7567 6008c4ad storet 1 ,mem_le_rat 
+7568 18007000 force regidx_data ,regext_index 
+7569 da4044ac arg mem_le_iat ,regb 
+756a 18007204 force 4 ,loopcnt 
+
+function_c1_loop1:
+756b ea220000 ifetch 4 ,rega 
+756c ea4a0000 ifetcht 4 ,regb 
+756d 9842de00 ixor temp ,regext 
+756e 1f00f001 increase 1 ,regext_index 
+756f 1a20a204 increase 4 ,rega 
+7570 1a40a404 increase 4 ,regb 
+7571 c200756b loop function_c1_loop1 
+7572 2040759e call aes_clear 
+7573 18006c38 force 0x38 ,aes_ctrl 
+7574 18006c0c force 0xc ,aes_ctrl 
+7575 2040752f call wait_aes 
+7576 2040759d call aes_clear_data 
+7577 18006c3a force 0x3a ,aes_ctrl 
+7578 18006c08 force 0x8 ,aes_ctrl 
+7579 2020752f branch wait_aes 
+
+padding_data:
+757a 2f200600 compare 0 ,loopcnt ,3 
+757b 20608000 rtn true 
+757c 18c27e00 deposit contr 
+757d 9f208a00 iadd loopcnt ,contw 
+757e 18007e00 force 0 ,pdata 
+
+padding_loop:
+757f e0a08000 istore 1 ,contw 
+7580 1f20f201 increase 1 ,loopcnt 
+7581 2f200600 compare 0 ,loopcnt ,3 
+7582 20608000 rtn true 
+7583 2020757f branch padding_loop 
+
+aes_load_data:
+7584 18007000 force regidx_data ,regext_index 
+
+load_data_loop:
+7585 1f227e00 deposit loopcnt 
+7586 203a7589 branch load_data_padding ,blank 
+7587 e8c20000 ifetch 4 ,contr 
+7588 1f20f3fc increase -4 ,loopcnt 
+
+load_data_padding:
+7589 98005e00 iforce regext 
+758a 1f00f001 increase 1 ,regext_index 
+758b 2f001e04 compare regidx_key ,regext_index ,0xf 
+758c 20608000 rtn true 
+758d 20207585 branch load_data_loop 
+
+aes_load_xor:
+758e 18007008 force regidx_xor ,regext_index 
+758f 20207593 branch load_regext 
+
+load_key:
+7590 18007004 force regidx_key ,regext_index 
+7591 20207593 branch load_regext 
+
+load_data128:
+7592 18007000 force regidx_data ,regext_index 
+
+load_regext:
+7593 18007204 force 4 ,loopcnt 
+
+load_regext_loop:
+7594 e8c20000 ifetch 4 ,contr 
+7595 98005e00 iforce regext 
+7596 1f00f001 increase 1 ,regext_index 
+7597 c2007594 loop load_regext_loop 
+7598 20600000 rtn 
+
+load_sk:
+7599 d8c003fd arg mem_le_sk ,contr 
+759a 20207590 branch load_key 
+
+clear_hidata:
+759b 18007204 force 4 ,loopcnt 
+759c 202075a0 branch clear_data_rest 
+
+aes_clear_data:
+759d 18007000 force regidx_data ,regext_index 
+
+aes_clear:
+759e 18007204 force 4 ,loopcnt 
+
+clear_loop:
+759f 18005e00 force 0 ,regext 
+
+clear_data_rest:
+75a0 1f00f001 increase 1 ,regext_index 
+75a1 c200759f loop clear_loop 
+75a2 20600000 rtn 
+
+store_aes_result:
+75a3 1800700c force regidx_result ,regext_index 
+75a4 18007204 force 4 ,loopcnt 
+
+send_aes_result_loop:
+75a5 1de27e00 deposit regext 
+75a6 e0a20000 istore 4 ,contw 
+75a7 1f00f001 increase 1 ,regext_index 
+75a8 c20075a5 loop send_aes_result_loop 
+75a9 20600000 rtn 
+
+store_enc_data:
+75aa 1800700c force regidx_result ,regext_index 
+75ab 1a620a00 copy regc ,contw 
+75ac 1a40f201 add regb ,1 ,loopcnt 
+75ad 1f267c0f sub loopcnt ,15 ,null 
+75ae 202175b0 branch store_enc_loop ,positive 
+75af 18007210 force 16 ,loopcnt 
+
+store_enc_loop:
+75b0 1de27e00 deposit regext 
+75b1 1f267c03 sub loopcnt ,3 ,null 
+75b2 202175b8 branch store_enc_byte ,positive 
+75b3 e0a20000 istore 4 ,contw 
+75b4 1f20f3fc increase -4 ,loopcnt 
+75b5 20628000 rtn zero 
+75b6 1f00f001 increase 1 ,regext_index 
+75b7 202075b0 branch store_enc_loop 
+
+store_enc_byte:
+75b8 e0a08000 istore 1 ,contw 
+75b9 1fecfe00 rshift8 pdata ,pdata 
+75ba c20075b8 loop store_enc_byte 
+75bb 20600000 rtn 
+
+compare_res:
+75bc 1800700c force regidx_result ,regext_index 
+75bd 18007204 force 4 ,loopcnt 
+
+compare_res_loop:
+75be e8c20000 ifetch 4 ,contr 
+75bf 9de67c00 isub regext ,null 
+75c0 24628000 nrtn zero 
+75c1 1f00f001 increase 1 ,regext_index 
+75c2 c20075be loop compare_res_loop 
+75c3 18007c00 force 0 ,null 
+75c4 20600000 rtn 
+
+enable_authrom:
+75c5 68108050 hfetch 1 ,core_clkoff 
+75c6 793ffe00 set0 clock_off_auth_rom ,pdata 
+75c7 60108050 hstore 1 ,core_clkoff 
+75c8 20600000 rtn 
+
+disable_authrom:
+75c9 68108050 hfetch 1 ,core_clkoff 
+75ca 79207e00 set1 clock_off_auth_rom ,pdata 
+75cb 60108050 hstore 1 ,core_clkoff 
+75cc 20600000 rtn 
+
+init_memp:
+75cd d8a00742 arg mem_p ,contw 
+75ce 3803ffff setsect 0 ,0x3ffff 
+75cf 3807ffff setsect 1 ,0x3ffff 
+75d0 380bffff setsect 2 ,0x3ffff 
+75d1 380ffbff setsect 3 ,0x3fbff 
+75d2 e0a48000 istore 9 ,contw 
+75d3 3803ffff setsect 0 ,0x3ffff 
+75d4 3807ffff setsect 1 ,0x3ffff 
+75d5 380bffff setsect 2 ,0x3ffff 
+75d6 380fffff setsect 3 ,0x3ffff 
+75d7 e0a48000 istore 9 ,contw 
+75d8 3803ffff setsect 0 ,0x3ffff 
+75d9 3807ffff setsect 1 ,0x3ffff 
+75da 380bcfff setsect 2 ,0x3cfff 
+75db 380fffff setsect 3 ,0x3ffff 
+75dc e0a48000 istore 9 ,contw 
+75dd 3803ffff setsect 0 ,0x3ffff 
+75de 3807ffff setsect 1 ,0x3ffff 
+75df 380bffef setsect 2 ,0x3ffef 
+75e0 380fffff setsect 3 ,0x3ffff 
+75e1 e0a48000 istore 9 ,contw 
+75e2 3803ffff setsect 0 ,0x3ffff 
+75e3 3807ffff setsect 1 ,0x3ffff 
+75e4 380bffff setsect 2 ,0x3ffff 
+75e5 380fffff setsect 3 ,0x3ffff 
+75e6 e0a48000 istore 9 ,contw 
+75e7 3803ffff setsect 0 ,0x3ffff 
+75e8 38066c7f setsect 1 ,0x26c7f 
+75e9 3808146b setsect 2 ,0x146b 
+75ea 380f7bb3 setsect 3 ,0x37bb3 
+75eb e0a48000 istore 9 ,contw 
+75ec 3801feb8 setsect 0 ,0x1feb8 
+75ed 38050c12 setsect 1 ,0x10c12 
+75ee 380ab722 setsect 2 ,0x2b722 
+75ef 380e9fa6 setsect 3 ,0x29fa6 
+75f0 e0a48000 istore 9 ,contw 
+75f1 3800e70f setsect 0 ,0xe70f 
+75f2 38056720 setsect 1 ,0x16720 
+75f3 3808519e setsect 2 ,0x519e 
+75f4 380d9084 setsect 3 ,0x19084 
+75f5 e0a48000 istore 9 ,contw 
+75f6 38031012 setsect 0 ,0x31012 
+75f7 380760bf setsect 1 ,0x360bf 
+75f8 380bf0af setsect 2 ,0x3f0af 
+75f9 380c03d3 setsect 3 ,0x3d3 
+75fa e0a48000 istore 9 ,contw 
+75fb 3803a188 setsect 0 ,0x3a188 
+75fc 38043ad0 setsect 1 ,0x3ad0 
+75fd 380bcbf2 setsect 2 ,0x3cbf2 
+75fe 380e43d9 setsect 3 ,0x243d9 
+75ff e0a48000 istore 9 ,contw 
+7600 3802b030 setsect 0 ,0x2b030 
+7601 38076a03 setsect 1 ,0x36a03 
+7602 38091188 setsect 2 ,0x11188 
+7603 380de520 setsect 3 ,0x1e520 
+7604 e0a48000 istore 9 ,contw 
+7605 3803a11e setsect 0 ,0x3a11e 
+7606 3804fe5d setsect 1 ,0xfe5d 
+7607 3808dd57 setsect 2 ,0xdd57 
+7608 380dac93 setsect 3 ,0x1ac93 
+7609 e0a48000 istore 9 ,contw 
+760a 380011ed setsect 0 ,0x11ed 
+760b 380618c4 setsect 1 ,0x218c4 
+760c 38088da7 setsect 2 ,0x8da7 
+760d 380e57ff setsect 3 ,0x257ff 
+760e e0a48000 istore 9 ,contw 
+760f 3803192b setsect 0 ,0x3192b 
+7610 38074641 setsect 1 ,0x34641 
+7611 3809be0c setsect 2 ,0x1be0c 
+7612 380f66ad setsect 3 ,0x366ad 
+7613 e0a48000 istore 9 ,contw 
+7614 38001f83 setsect 0 ,0x1f83 
+7615 38055a23 setsect 1 ,0x15a23 
+7616 380bf9b0 setsect 2 ,0x3f9b0 
+7617 380c3949 setsect 3 ,0x3949 
+7618 e0a48000 istore 9 ,contw 
+7619 38013a51 setsect 0 ,0x13a51 
+761a 380553fd setsect 1 ,0x153fd 
+761b 380b372a setsect 2 ,0x3372a 
+761c 380cf1bb setsect 3 ,0xf1bb 
+761d e0a48000 istore 9 ,contw 
+761e 3803ae85 setsect 0 ,0x3ae85 
+761f 3805eed9 setsect 1 ,0x1eed9 
+7620 38089e66 setsect 2 ,0x9e66 
+7621 380c01a8 setsect 3 ,0x1a8 
+7622 e0a40000 istore 8 ,contw 
+7623 20600000 rtn 
+
+shutter_init:
+7624 5800764c setarg shutter_send_process 
+7625 6001428e store 2 ,mem_cb_bt_process 
+7626 5800770f setarg shutter_process_idle 
+7627 60014290 store 2 ,mem_cb_idle_process 
+7628 580076ac setarg shutter_process_bb_event 
+7629 60014292 store 2 ,mem_cb_bb_event_process 
+762a 58007710 setarg shutter_process_lpm_before 
+762b 6001428a store 2 ,mem_cb_before_lpm 
+762c 58007718 setarg shutter_discovery_timeout_sleep 
+762d 60014294 store 2 ,mem_cb_discovry_timeout 
+762e 79200025 set1 mark_ext_patch ,mark 
+762f 44fcc03f bpatch patch3f_1 ,mem_patch3f 
+7630 20758000 rtn wake 
+7631 70808100 hjam 0x00 ,core_gpio_sel1 
+7632 2040763f call shutter_key_and_wake_gpio_setup 
+7633 58007717 setarg shutter_before_hibernate 
+7634 60014288 store 2 ,mem_cb_before_hibernate 
+7635 70480e00 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+7636 70480a00 jam 0 ,mem_shutter_key 
+7637 70480b00 jam flag_shutter_default ,mem_shutter_flag 
+7638 58000000 setarg 0 
+7639 60024800 store 4 ,mem_shutter_send_data 
+763a 20403f23 call app_check_reconn_target 
+763b 203a3f79 branch app_bt_start_discovery_short ,blank 
+763c 20403f96 call app_led_on 
+763d 20403f7e call app_bt_stop_discovery 
+763e 20203f6e branch app_bt_start_reconnect 
+
+shutter_key_and_wake_gpio_setup:
+763f 6808c80f fetcht 1 ,mem_shutter_iphonekey_gpio 
+7640 204069d1 call gpio_config_input 
+7641 6808c810 fetcht 1 ,mem_shutter_androidkey_gpio 
+7642 202069d1 branch gpio_config_input 
+
+shutter_cancel_key_shake:
+7643 79200025 set1 mark_ext_patch ,mark 
+7644 44fd403f bpatch patch3f_2 ,mem_patch3f 
+7645 680a4806 fetcht 4 ,mem_shutter_clkn_bt_last 
+7646 1c427e00 deposit clkn_bt 
+7647 60024806 store 4 ,mem_shutter_clkn_bt_last 
+7648 98467e00 isub temp ,pdata 
+7649 24610000 nrtn positive 
+764a 1fe67ec8 sub pdata ,200 ,pdata 
+764b 20600000 rtn 
+
+shutter_send_process:
+764c 6800c2bc fetch 1 ,mem_hid_interrupt_state 
+764d c19f8000 rtnne 0x3f 
+
+shutter_scan_key_start:
+764e 79200025 set1 mark_ext_patch ,mark 
+764f 44fdc03f bpatch patch3f_3 ,mem_patch3f 
+7650 6800c132 fetch 1 ,mem_device_option 
+7651 c1848000 rtnne dvc_op_shutter 
+7652 78547c00 disable user 
+7653 2040769b call shutter_scan_key 
+7654 24740000 nrtn user 
+7655 78547c00 disable user 
+7656 6800c133 fetch 1 ,mem_scan_mode 
+7657 c001f706 beq 0x03 ,shutter_reconnect_scan_2 
+7658 6800c80b fetch 1 ,mem_shutter_flag 
+7659 c000f663 beq flag_shutter_iphonekey_send ,shutter_iphonekey_release 
+765a c001767d beq flag_shutter_androidkey_send ,shutter_androidkey_release 
+765b 20407643 call shutter_cancel_key_shake 
+765c 20217660 branch shutter_send_process_end ,positive 
+765d 6800c80a fetch 1 ,mem_shutter_key 
+765e c2807674 bbit1 flag_shutter_iphonekey_press ,shutter_iphonekey_press 
+765f c280f682 bbit1 flag_shutter_androidkey_press ,shutter_androidkey_press 
+
+shutter_send_process_end:
+7660 70480a00 jam 0 ,mem_shutter_key 
+7661 70480b00 jam flag_shutter_default ,mem_shutter_flag 
+7662 20600000 rtn 
+
+shutter_iphonekey_release:
+7663 70480b00 jam flag_shutter_default ,mem_shutter_flag 
+7664 20407bde call ui_led_blink_stop 
+7665 6800c811 fetch 1 ,mem_shutter_key_number 
+7666 c000f66a beq flag_shutter_1key ,shutter_1key_iphonekey_release 
+
+shutter_2key_iphonekey_release:
+
+shutter_iphonekey_release_package:
+7667 70480505 jam 0x05 ,mem_shutter_send_length 
+7668 70480003 jam 0x03 ,mem_shutter_send_data 
+7669 20207688 branch shutter_send_keydata 
+
+shutter_1key_iphonekey_release:
+766a 70480e00 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+766b 2020766c branch shutter_1key_send_step1 
+
+shutter_1key_send_step1:
+766c 70480e02 jam flag_shutter_1key_send_step2 ,mem_shutter_1key_send_sm 
+766d 20207684 branch shutter_androidkey_press_package 
+
+shutter_1key_send_step2:
+766e 70480e03 jam flag_shutter_1key_send_step3 ,mem_shutter_1key_send_sm 
+766f 2020767f branch shutter_androidkey_release_package 
+
+shutter_1key_send_step3:
+7670 70480e04 jam flag_shutter_1key_send_step4 ,mem_shutter_1key_send_sm 
+7671 20207678 branch shutter_iphonekey_press_package 
+
+shutter_1key_send_step4:
+7672 70480e00 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+7673 20207667 branch shutter_iphonekey_release_package 
+
+shutter_iphonekey_press:
+7674 70480b01 jam flag_shutter_iphonekey_send ,mem_shutter_flag 
+7675 20407be7 call ui_led_on 
+7676 6800c811 fetch 1 ,mem_shutter_key_number 
+7677 c000f67c beq flag_shutter_1key ,shutter_1key_iphonekey_press 
+
+shutter_2key_iphonekey_press:
+
+shutter_iphonekey_press_package:
+7678 70480505 jam 0x05 ,mem_shutter_send_length 
+7679 58020003 setarg 0x20003 
+767a 6001c800 store 3 ,mem_shutter_send_data 
+767b 20207688 branch shutter_send_keydata 
+
+shutter_1key_iphonekey_press:
+767c 20600000 rtn 
+
+shutter_androidkey_release:
+767d 70480b00 jam flag_shutter_default ,mem_shutter_flag 
+767e 20407bde call ui_led_blink_stop 
+
+shutter_androidkey_release_package:
+767f 7048050a jam 0x0a ,mem_shutter_send_length 
+7680 70480001 jam 0x01 ,mem_shutter_send_data 
+7681 20207688 branch shutter_send_keydata 
+
+shutter_androidkey_press:
+7682 70480b02 jam flag_shutter_androidkey_send ,mem_shutter_flag 
+7683 20407be7 call ui_led_on 
+
+shutter_androidkey_press_package:
+7684 7048050a jam 0x0a ,mem_shutter_send_length 
+7685 70480001 jam 0x01 ,mem_shutter_send_data 
+7686 58280000 setarg 0x280000 
+7687 6001c801 store 3 ,mem_shutter_send_data + 1 
+
+shutter_send_keydata:
+7688 79200025 set1 mark_ext_patch ,mark 
+7689 44fe403f bpatch patch3f_4 ,mem_patch3f 
+768a 6800c805 fetch 1 ,mem_shutter_send_length 
+768b 1fe22200 copy pdata ,rega 
+768c 20404b2c call hid_malloc_tx_buff 
+768d 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+768e e0a10000 istore 2 ,contw 
+768f 580000a1 setarg 0xa1 
+7690 e0a08000 istore 1 ,contw 
+7691 680a4800 fetcht 4 ,mem_shutter_send_data 
+7692 e0ac0000 istoret 8 ,contw 
+7693 58000000 setarg 0 
+7694 e0a08000 istore 1 ,contw 
+7695 60024800 store 4 ,mem_shutter_send_data 
+7696 6800c80e fetch 1 ,mem_shutter_1key_send_sm 
+7697 c001766e beq flag_shutter_1key_send_step2 ,shutter_1key_send_step2 
+7698 c001f670 beq flag_shutter_1key_send_step3 ,shutter_1key_send_step3 
+7699 c0027672 beq flag_shutter_1key_send_step4 ,shutter_1key_send_step4 
+769a 20600000 rtn 
+
+shutter_scan_key:
+769b 6808c80f fetcht 1 ,mem_shutter_iphonekey_gpio 
+769c 204069e5 call gpio_get_bit 
+769d 58000000 setarg 0 
+769e 7920fe00 setflag true ,flag_shutter_iphonekey_press ,pdata 
+769f 6000c804 store 1 ,mem_shutter_key_temp 
+76a0 6808c810 fetcht 1 ,mem_shutter_androidkey_gpio 
+76a1 204069e5 call gpio_get_bit 
+76a2 58000000 setarg 0 
+76a3 7920fe01 setflag true ,flag_shutter_androidkey_press ,pdata 
+76a4 6808c804 fetcht 1 ,mem_shutter_key_temp 
+76a5 9841fe00 ior temp ,pdata 
+76a6 6808c80a fetcht 1 ,mem_shutter_key 
+76a7 6000c80a store 1 ,mem_shutter_key 
+76a8 9842fc00 ixor temp ,null 
+76a9 20628000 rtn zero 
+76aa 78347c00 enable user 
+76ab 20600000 rtn 
+
+shutter_process_bb_event:
+76ac 1a627e00 copy regc ,pdata 
+76ad c002f6d8 beq bt_evt_setup_complete ,shutter_bb_event_setup_complete 
+76ae c00376da beq bt_evt_hid_connected ,shutter_bb_event_hid_connected 
+76af c003f6dd beq bt_evt_hid_disconnected ,shutter_bb_event_hid_disconn 
+76b0 c013f6e1 beq bt_evt_virtual_cable_unplug ,shutter_bb_event_unplug 
+76b1 c00176c9 beq bt_evt_bb_disconnected ,shutter_bb_event_bb_disconn 
+76b2 c00276d0 beq bt_evt_reconn_failed ,shutter_bb_event_reconn_failed 
+76b3 c009f6d0 beq bt_evt_reconn_page_timeout ,shutter_bb_event_reconn_failed 
+76b4 c000f6c6 beq bt_evt_bb_connected ,shutter_process_bb_conn 
+76b5 c00976c0 beq bt_evt_hid_handshake ,shutter_event_hid_handshake 
+76b6 c0173f57 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+76b7 1fe1040f and pdata ,0x0f ,temp 
+76b8 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+76b9 c02876e4 beq bt_evt_timer_init ,shutter_bb_event_timer 
+76ba 20600000 rtn 
+
+shutter_hid_handshake_timer:
+76bb 6800c7f2 fetch 1 ,mem_hid_handshake_timer_count 
+76bc 207a0000 rtn blank 
+76bd 1fe0ffff increase -1 ,pdata 
+76be 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+76bf 247a0000 nrtn blank 
+
+shutter_event_hid_handshake:
+76c0 70427f01 jam app_handshake_done ,mem_app_handshake_flag 
+76c1 20403fa4 call app_lpm_mult_enable 
+76c2 20403fa2 call app_bt_store_reconn_info 
+76c3 20403f7e call app_bt_stop_discovery 
+76c4 20403f98 call app_led_off 
+76c5 20203f9e branch app_bt_enter_sniff 
+
+shutter_process_bb_conn:
+76c6 70480d00 jam 0 ,mem_shutter_hid_disconn_count 
+76c7 70480c00 jam 0 ,mem_shutter_cable_unplug_conut 
+76c8 20600000 rtn 
+
+shutter_bb_event_bb_disconn:
+76c9 79200025 set1 mark_ext_patch ,mark 
+76ca 44fec03f bpatch patch3f_5 ,mem_patch3f 
+76cb 70429d00 jam 0 ,mem_unsniff2sniff_timer_count 
+76cc 70480c00 jam 0 ,mem_shutter_cable_unplug_conut 
+76cd 70480d00 jam 0 ,mem_shutter_hid_disconn_count 
+76ce 680142a0 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+76cf c301f6d4 bbit0 app_disc_after_sniff ,shutter_check_pairing 
+
+shutter_bb_event_reconn_failed:
+76d0 680147fe fetch 2 ,mem_discovery_timeout 
+76d1 600147f0 store 2 ,mem_discovery_timeout_timer_count 
+
+shutter_discovery_on_not_renew_timer:
+76d2 20403f12 call app_disconn_reason_clear 
+76d3 20203f7b branch app_bt_start_discovery_led_blink 
+
+shutter_check_pairing:
+76d4 c300f6d6 bbit0 app_disc_after_pairing ,shutter_check_reconn 
+76d5 202076d0 branch shutter_bb_event_reconn_failed 
+
+shutter_check_reconn:
+76d6 c30176d2 bbit0 app_disc_after_reconn ,shutter_discovery_on_not_renew_timer 
+76d7 202076d0 branch shutter_bb_event_reconn_failed 
+
+shutter_bb_event_setup_complete:
+76d8 20403f7e call app_bt_stop_discovery 
+76d9 20203f98 branch app_led_stop_blink 
+
+shutter_bb_event_hid_connected:
+76da 58000002 setarg hid_handshake_timeout 
+76db 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+76dc 20600000 rtn 
+
+shutter_bb_event_hid_disconn:
+76dd 70480c00 jam 0 ,mem_shutter_cable_unplug_conut 
+76de 58000001 setarg flag_shutter_hid_disconn_timeout 
+76df 6000c80d store 1 ,mem_shutter_hid_disconn_count 
+76e0 20600000 rtn 
+
+shutter_bb_event_unplug:
+76e1 58000005 setarg flag_shutter_cable_unplug_timeout 
+76e2 6000c80c store 1 ,mem_shutter_cable_unplug_conut 
+76e3 20600000 rtn 
+
+shutter_bb_event_timer:
+76e4 79200025 set1 mark_ext_patch ,mark 
+76e5 44ff403f bpatch patch3f_6 ,mem_patch3f 
+76e6 60088259 storet 1 ,mem_app_evt_timer_count 
+
+shutter_bb_event_100ms_loop:
+76e7 68008259 fetch 1 ,mem_app_evt_timer_count 
+76e8 207a0000 rtn blank 
+76e9 1fe0ffff increase -1 ,pdata 
+76ea 60008259 store 1 ,mem_app_evt_timer_count 
+76eb 204076ef call shutter_check_unplug_timer 
+76ec 204076bb call shutter_hid_handshake_timer 
+76ed 204076fa call shutter_check_hid_disconn_timer 
+76ee 202076e7 branch shutter_bb_event_100ms_loop 
+
+shutter_check_unplug_timer:
+76ef 6800c80c fetch 1 ,mem_shutter_cable_unplug_conut 
+76f0 207a0000 rtn blank 
+76f1 6800c80c fetch 1 ,mem_shutter_cable_unplug_conut 
+76f2 1fe0ffff increase -1 ,pdata 
+76f3 6000c80c store 1 ,mem_shutter_cable_unplug_conut 
+76f4 247a0000 nrtn blank 
+76f5 680082e6 fetch 1 ,mem_control_tasks 
+76f6 79207e00 set1 l2cap_disconnect_interrupt ,pdata 
+76f7 79207e07 set1 l2cap_disconnect_control ,pdata 
+76f8 600082e6 store 1 ,mem_control_tasks 
+76f9 20600000 rtn 
+
+shutter_check_hid_disconn_timer:
+76fa 6800c80d fetch 1 ,mem_shutter_hid_disconn_count 
+76fb 207a0000 rtn blank 
+76fc 6800c80d fetch 1 ,mem_shutter_hid_disconn_count 
+76fd 1fe0ffff increase -1 ,pdata 
+76fe 6000c80d store 1 ,mem_shutter_hid_disconn_count 
+76ff 247a0000 nrtn blank 
+7700 20203f77 branch app_bt_disconnect 
+
+shutter_reconnect_scan:
+7701 79200025 set1 mark_ext_patch ,mark 
+7702 44ffc03f bpatch patch3f_7 ,mem_patch3f 
+7703 6800c133 fetch 1 ,mem_scan_mode 
+7704 c1818000 rtnne 0x03 
+7705 2020764e branch shutter_scan_key_start 
+
+shutter_reconnect_scan_2:
+7706 20407643 call shutter_cancel_key_shake 
+7707 20610000 rtn positive 
+7708 6800c80a fetch 1 ,mem_shutter_key 
+7709 207a0000 rtn blank 
+770a 20403f23 call app_check_reconn_target 
+770b 203a3f79 branch app_bt_start_discovery_short ,blank 
+770c 20403f96 call app_led_on 
+770d 20403f7e call app_bt_stop_discovery 
+770e 20203f6e branch app_bt_start_reconnect 
+
+shutter_process_idle:
+770f 20207701 branch shutter_reconnect_scan 
+
+shutter_process_lpm_before:
+7710 6808c80f fetcht 1 ,mem_shutter_iphonekey_gpio 
+7711 204069b4 call gpio_set_wake_by_current_state 
+7712 6800c811 fetch 1 ,mem_shutter_key_number 
+7713 c080f715 bne flag_shutter_1key ,shutter_process_lpm_before_key2 
+7714 20600000 rtn 
+
+shutter_process_lpm_before_key2:
+7715 6808c810 fetcht 1 ,mem_shutter_androidkey_gpio 
+7716 202069b4 branch gpio_set_wake_by_current_state 
+
+shutter_before_hibernate:
+7717 2020763f branch shutter_key_and_wake_gpio_setup 
+
+shutter_discovery_timeout_sleep:
+7718 20203f9a branch app_enter_hibernate 
+
+sp_initialize:
+7719 79200025 set1 mark_ext_patch ,mark 
+771a 44f9403e bpatch patch3e_2 ,mem_patch3e 
+771b 6800c7dc fetch 1 ,mem_ssp_enable 
+771c 203a6009 branch ssp_disable ,blank 
+771d 20406003 call ssp_enable 
+771e 58000000 setarg 0 
+771f 600407da store 8 ,mem_sp_state_start 
+7720 600207e2 store 4 ,mem_sp_flag_start 
+7721 d8a007e9 arg mem_sp_iocap_remote ,contw 
+7722 e0a38000 istore 7 ,contw 
+7723 7007e000 jam default_statemachine ,mem_sp_localsm 
+7724 202077a4 branch sp_pubkey_calc 
+
+sp_generate_local_key:
+7725 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+7726 2020772a branch sp_generate_local_key0 
+
+sp_master_generate_local_key:
+7727 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+7728 c000f7c2 beq sp_key_valid ,sp_dhkey_calc 
+7729 20203bf1 branch assert 
+
+sp_generate_local_key0:
+772a 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+772b c000f72d beq sp_key_valid ,sp_start_send_pubkey 
+772c 202077a4 branch sp_pubkey_calc 
+
+sp_start_send_pubkey:
+772d 204077c2 call sp_dhkey_calc 
+772e 680087db fetch 1 ,mem_master_sp_state 
+772f 247a0000 nrtn blank 
+7730 7007da03 jam sp_stat_key_send ,mem_sp_state 
+7731 20600000 rtn 
+
+sp_calculate_commitment:
+7732 680087de fetch 1 ,mem_sp_calc 
+7733 c0807750 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+7734 2040774d call sp_local_random_key_generator 
+7735 d8a00898 arg mem_sp_prarm_stack ,contw 
+7736 58000848 setarg mem_sp_random_local_end 
+7737 e0a10000 istore 2 ,contw 
+7738 580047c4 setarg mem_sp_pubkey_local_x_end 
+7739 e0a10000 istore 2 ,contw 
+773a 58000808 setarg mem_sp_pubkey_remote_x_end 
+773b e0a10000 istore 2 ,contw 
+773c 20207744 branch sp_calculate_commitment0 
+
+master_sp_calculate_commitment:
+773d d8a00898 arg mem_sp_prarm_stack ,contw 
+773e 58000858 setarg mem_sp_random_remote_end 
+773f e0a10000 istore 2 ,contw 
+7740 58000808 setarg mem_sp_pubkey_remote_x_end 
+7741 e0a10000 istore 2 ,contw 
+7742 580047c4 setarg mem_sp_pubkey_local_x_end 
+7743 e0a10000 istore 2 ,contw 
+
+sp_calculate_commitment0:
+7744 20407ad2 call function_f1 
+7745 680087db fetch 1 ,mem_master_sp_state 
+7746 c002774a beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+7747 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+7748 7007da05 jam sp_stat_commit_send ,mem_sp_state 
+7749 20600000 rtn 
+
+master_sp_calculate_commitment0:
+774a 7007db14 jam sp_stat_commitment_compare ,mem_master_sp_state 
+774b 20407727 call sp_master_generate_local_key 
+774c 2020780f branch master_set_mem_master_sp_flag 
+
+sp_local_random_key_generator:
+774d d8a00838 arg mem_sp_random_local ,contw 
+774e 18000e08 force 8 ,queue 
+774f 202077db branch random_generator 
+
+sp_calculate_commitment_wait_dhkey_calc:
+7750 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+7751 20600000 rtn 
+
+sp_confirm_check:
+7752 d8a006c3 arg mem_addr_value ,contw 
+7753 68034140 fetch 6 ,mem_lap 
+7754 e0a30000 istore 6 ,contw 
+7755 68030040 fetch 6 ,mem_plap 
+7756 e0a30000 istore 6 ,contw 
+7757 680187e9 fetch 3 ,mem_sp_iocap_remote 
+7758 e0a18000 istore 3 ,contw 
+7759 20407b3c call function_f3a 
+775a da200868 arg mem_sp_calc_result_high ,rega 
+775b da400878 arg mem_sp_check_result ,regb 
+775c 18000e04 force 4 ,queue 
+775d 204077e0 call compare4 
+775e 2420f768 nbranch sp_confirm_check_failed ,true 
+
+sp_confirm_check_success:
+775f 680087db fetch 1 ,mem_master_sp_state 
+7760 c004f765 beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+7761 7007da0a jam sp_stat_confirm_calc ,mem_sp_state 
+7762 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+7763 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+7764 20600000 rtn 
+
+sp_confirm_check_success_master:
+7765 70007c03 jam lmp_accepted ,mem_lmo_opcode2 
+7766 7007db15 jam sp_state_end ,mem_master_sp_state 
+7767 2020780f branch master_set_mem_master_sp_flag 
+
+sp_confirm_check_failed:
+7768 680087db fetch 1 ,mem_master_sp_state 
+7769 c004f76e beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+776a 7007da00 jam sp_stat_null ,mem_sp_state 
+776b 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+776c 70007e05 jam authentication_failure_error ,mem_lmo_reason2 
+776d 20600000 rtn 
+
+sp_confirm_check_failed_master:
+776e 70007c04 jam lmp_not_accepted ,mem_lmo_opcode2 
+776f 7007db00 jam sp_stat_null ,mem_master_sp_state 
+7770 20600000 rtn 
+
+sp_confirm_calc:
+7771 680087df fetch 1 ,mem_sp_dh_ready 
+7772 c000f775 beq sp_flag_commit ,sp_confirm_calc_ready 
+7773 7007db0a jam sp_stat_confirm_calc ,mem_master_sp_state 
+7774 2020780f branch master_set_mem_master_sp_flag 
+
+sp_confirm_calc_ready:
+7775 d8a006c3 arg mem_addr_value ,contw 
+7776 68030040 fetch 6 ,mem_plap 
+7777 e0a30000 istore 6 ,contw 
+7778 68034140 fetch 6 ,mem_lap 
+7779 e0a30000 istore 6 ,contw 
+777a 680187e6 fetch 3 ,mem_sp_iocap_local 
+777b e0a18000 istore 3 ,contw 
+777c 20407b4a call function_f3b 
+777d 680087db fetch 1 ,mem_master_sp_state 
+777e c0057782 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+777f 7007da0b jam sp_stat_confirm_send ,mem_sp_state 
+7780 7007dc01 jam sp_flag_commit ,mem_sp_flag 
+7781 20600000 rtn 
+
+sp_confirm_calc_master:
+7782 7007db0b jam sp_stat_confirm_send ,mem_master_sp_state 
+7783 7007dd01 jam sp_flag_commit ,mem_master_sp_flag 
+7784 20600000 rtn 
+
+sp_master_key_prarm_push:
+7785 d8a00898 arg mem_sp_prarm_stack ,contw 
+7786 68030040 fetch 6 ,mem_plap 
+7787 e0a30000 istore 6 ,contw 
+7788 68034140 fetch 6 ,mem_lap 
+7789 e0a30000 istore 6 ,contw 
+778a 58000848 setarg mem_sp_random_local_end 
+778b e0a10000 istore 2 ,contw 
+778c 58000858 setarg mem_sp_random_remote_end 
+778d e0a10000 istore 2 ,contw 
+778e 20207799 branch sp_link_key_calc 
+
+sp_link_key_prarm_push:
+778f 7007da0f jam sp_stat_done ,mem_sp_state 
+7790 d8a00898 arg mem_sp_prarm_stack ,contw 
+7791 68034140 fetch 6 ,mem_lap 
+7792 e0a30000 istore 6 ,contw 
+7793 68030040 fetch 6 ,mem_plap 
+7794 e0a30000 istore 6 ,contw 
+7795 58000858 setarg mem_sp_random_remote_end 
+7796 e0a10000 istore 2 ,contw 
+7797 58000848 setarg mem_sp_random_local_end 
+7798 e0a10000 istore 2 ,contw 
+
+sp_link_key_calc:
+7799 d8a006c3 arg mem_addr_value ,contw 
+779a 68030898 fetch 6 ,mem_sp_prarm_stack 
+779b e0a30000 istore 6 ,contw 
+779c 6803089e fetch 6 ,mem_sp_prarm_stack + 6 
+779d e0a30000 istore 6 ,contw 
+779e 20407b06 call function_f2 
+779f 70425e01 jam 1 ,mem_link_key_exists 
+77a0 d8a04262 arg mem_link_key ,contw 
+77a1 d8c00868 arg mem_sp_calc_result_high ,contr 
+77a2 20407e35 call memcpy16 
+77a3 20203229 branch generate_linkkey_continue 
+
+sp_pubkey_calc:
+77a4 79200025 set1 mark_ext_patch ,mark 
+77a5 44f9c03e bpatch patch3e_3 ,mem_patch3e 
+77a6 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+77a7 c1800000 rtnne sp_key_invalid 
+77a8 680087de fetch 1 ,mem_sp_calc 
+77a9 c1800000 rtnne sp_calc_standby 
+77aa d8a04794 arg mem_sp_private_key ,contw 
+77ab 18000e0b force 11 ,queue 
+77ac 204077db call random_generator 
+77ad 180a7e00 random pdata 
+77ae 1fe37e00 rshift pdata ,pdata 
+77af e0a10000 istore 2 ,contw 
+77b0 d8a0065a arg mem_k ,contw 
+77b1 d8c04794 arg mem_sp_private_key ,contr 
+77b2 20407e33 call memcpy24 
+77b3 d8a00582 arg mem_ax ,contw 
+77b4 d8c0078a arg mem_gx ,contr 
+77b5 20407e2d call memcpy48 
+77b6 d8a005b2 arg mem_az ,contw 
+77b7 20407e3a call bn_zero 
+77b8 7005b201 jam 1 ,mem_az 
+77b9 20407b7f call eckp_calc_init 
+77ba 7007de01 jam sp_calc_pubkey ,mem_sp_calc 
+77bb 20600000 rtn 
+
+sp_pubkey_generated:
+77bc d8a047ac arg mem_sp_pubkey_local ,contw 
+77bd d8c005ca arg mem_bx ,contr 
+77be 20407e2d call memcpy48 
+77bf 70479301 jam sp_key_valid ,mem_sp_local_key_invalid 
+77c0 7007de00 jam sp_calc_standby ,mem_sp_calc 
+77c1 20600000 rtn 
+
+sp_dhkey_calc:
+77c2 79200025 set1 mark_ext_patch ,mark 
+77c3 44fa403e bpatch patch3e_4 ,mem_patch3e 
+77c4 680087e5 fetch 1 ,mem_sp_dhkey_invalid 
+77c5 c1800000 rtnne sp_key_invalid 
+77c6 680087de fetch 1 ,mem_sp_calc 
+77c7 c1800000 rtnne sp_calc_standby 
+77c8 d8a0065a arg mem_k ,contw 
+77c9 d8c04794 arg mem_sp_private_key ,contr 
+77ca 20407e33 call memcpy24 
+77cb d8a00582 arg mem_ax ,contw 
+77cc d8c007f0 arg mem_sp_pubkey_remote ,contr 
+77cd 20407e2d call memcpy48 
+77ce d8a005b2 arg mem_az ,contw 
+77cf 20407e3a call bn_zero 
+77d0 7005b201 jam 1 ,mem_az 
+77d1 20407b7f call eckp_calc_init 
+77d2 7007de02 jam sp_calc_dhkey ,mem_sp_calc 
+77d3 20600000 rtn 
+
+sp_dhkey_generated:
+77d4 7007df01 jam sp_flag_commit ,mem_sp_dh_ready 
+77d5 d8a00820 arg mem_sp_dhkey ,contw 
+77d6 d8c005ca arg mem_bx ,contr 
+77d7 20407e33 call memcpy24 
+77d8 7007e501 jam sp_key_valid ,mem_sp_dhkey_invalid 
+77d9 7007de00 jam sp_calc_standby ,mem_sp_calc 
+77da 20600000 rtn 
+
+random_generator:
+77db 18e08fff increase -1 ,queue 
+77dc 24610000 nrtn positive 
+77dd 180a7e00 random pdata 
+77de e0a10000 istore 2 ,contw 
+77df 202077db branch random_generator 
+
+compare4:
+77e0 18e08fff increase -1 ,queue 
+77e1 242177ec nbranch compare4_success ,positive 
+77e2 ea220000 ifetch 4 ,rega 
+77e3 1fe20400 copy pdata ,temp 
+77e4 ea420000 ifetch 4 ,regb 
+77e5 9842fe00 iflip temp ,pdata 
+77e6 2422f7ea nbranch compare4_failed ,zero 
+77e7 1a20a204 increase 4 ,rega 
+77e8 1a40a404 increase 4 ,regb 
+77e9 202077e0 branch compare4 
+
+compare4_failed:
+77ea 7840fc00 disable true 
+77eb 20600000 rtn 
+
+compare4_success:
+77ec 7820fc00 enable true 
+77ed 20600000 rtn 
+
+simple_pairing_sequence:
+77ee 79200025 set1 mark_ext_patch ,mark 
+77ef 44fac03e bpatch patch3e_5 ,mem_patch3e 
+77f0 680087dc fetch 1 ,mem_sp_flag 
+77f1 207a0000 rtn blank 
+77f2 7007dc00 jam sp_flag_standby ,mem_sp_flag 
+77f3 680087da fetch 1 ,mem_sp_state 
+77f4 c001e117 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+77f5 c002e134 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+77f6 c003e13f beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+77f7 c005e155 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+77f8 c0017725 beq sp_stat_key_generate ,sp_generate_local_key 
+77f9 c0027732 beq sp_stat_commit_calc ,sp_calculate_commitment 
+77fa c004f752 beq sp_stat_confirm_check ,sp_confirm_check 
+77fb c0057771 beq sp_stat_confirm_calc ,sp_confirm_calc 
+77fc c006778f beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+77fd 20600000 rtn 
+
+master_simple_paring_sequence:
+77fe 79200025 set1 mark_ext_patch ,mark 
+77ff 44fb403e bpatch patch3e_6 ,mem_patch3e 
+7800 680087dd fetch 1 ,mem_master_sp_flag 
+7801 207a0000 rtn blank 
+7802 7007dd00 jam sp_flag_standby ,mem_master_sp_flag 
+7803 680087db fetch 1 ,mem_master_sp_state 
+7804 c00960f7 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+7805 c009e0ff beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+7806 c001e103 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+7807 c002773d beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+7808 c00a6107 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+7809 c003e115 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+780a c0057771 beq sp_stat_confirm_calc ,sp_confirm_calc 
+780b c005e154 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+780c c004f752 beq sp_stat_confirm_check ,sp_confirm_check 
+780d c00ae14e beq sp_state_end ,master_sp_sm_end 
+780e 20600000 rtn 
+
+master_set_mem_master_sp_flag:
+780f 7007dd01 jam sp_flag_commit ,mem_master_sp_flag 
+7810 20600000 rtn 
+
+master_clear_mem_master_sp_flag:
+7811 7007dd00 jam sp_flag_standby ,mem_master_sp_flag 
+7812 20600000 rtn 
+
+sp_calc_sequence:
+7813 79200025 set1 mark_ext_patch ,mark 
+7814 44fbc03e bpatch patch3e_7 ,mem_patch3e 
+7815 680087de fetch 1 ,mem_sp_calc 
+7816 207a0000 rtn blank 
+7817 1fe0fe80 increase 0x80 ,pdata 
+7818 600087de store 1 ,mem_sp_calc 
+7819 c3838000 rtnbit1 7 
+781a 68008581 fetch 1 ,mem_ec_loopc 
+781b 203a781d branch sp_calc_sequence_done ,blank 
+781c 20207b8a branch eckp_calc 
+
+sp_calc_sequence_done:
+781d 20407a0c call ecunmapz 
+781e 680087de fetch 1 ,mem_sp_calc 
+781f c000f7bc beq sp_calc_pubkey ,sp_pubkey_generated 
+7820 c00177d4 beq sp_calc_dhkey ,sp_dhkey_generated 
+7821 20600000 rtn 
+
+bn_testbit:
+7822 1fe10e07 and pdata ,7 ,queue 
+7823 1fe97e00 rshift3 pdata ,pdata 
+7824 98c08c00 iadd contr ,contr 
+7825 e8c08000 ifetch 1 ,contr 
+7826 afec0000 qisolate0 pdata 
+7827 20600000 rtn 
+
+ec_copy:
+7828 20407e33 call memcpy24 
+7829 20407e33 call memcpy24 
+782a 20207e33 branch memcpy24 
+
+bn_eq_zero:
+782b e8c40000 ifetch 8 ,contr 
+782c 247a0000 nrtn blank 
+782d e8c40000 ifetch 8 ,contr 
+782e 247a0000 nrtn blank 
+782f e8c40000 ifetch 8 ,contr 
+7830 20600000 rtn 
+
+bn_eq:
+7831 18007206 force 6 ,loopcnt 
+
+bn_eq_0:
+7832 ea220000 ifetch 4 ,rega 
+7833 98000400 iforce temp 
+7834 ea420000 ifetch 4 ,regb 
+7835 98467c00 isub temp ,null 
+7836 24628000 nrtn zero 
+7837 1a20a204 increase 4 ,rega 
+7838 1a40a404 increase 4 ,regb 
+7839 c2007832 loop bn_eq_0 
+783a 20600000 rtn 
+
+bn_bigeq:
+783b 18007206 force 6 ,loopcnt 
+783c 1a20a214 increase 20 ,rega 
+783d 1a40a414 increase 20 ,regb 
+
+bn_bigeq_0:
+783e ea420000 ifetch 4 ,regb 
+783f 98000400 iforce temp 
+7840 ea220000 ifetch 4 ,rega 
+7841 98467e00 isub temp ,pdata 
+7842 24610000 nrtn positive 
+7843 247a0000 nrtn blank 
+7844 1a20a3fc increase -4 ,rega 
+7845 1a40a5fc increase -4 ,regb 
+7846 c200783e loop bn_bigeq_0 
+7847 20600000 rtn 
+
+bn_add:
+7848 18007206 force 6 ,loopcnt 
+7849 18002600 force 0 ,regc 
+
+bn_add_0:
+784a ea220000 ifetch 4 ,rega 
+784b 98000400 iforce temp 
+784c ea420000 ifetch 4 ,regb 
+784d 9840fe00 iadd temp ,pdata 
+784e 9a60fe00 iadd regc ,pdata 
+784f e0a20000 istore 4 ,contw 
+7850 2feffe20 isolate1 32 ,pdata 
+7851 7920a600 setflag true ,0 ,regc 
+7852 1a20a204 increase 4 ,rega 
+7853 1a40a404 increase 4 ,regb 
+7854 c200784a loop bn_add_0 
+7855 20600000 rtn 
+
+bn_sub:
+7856 18007206 force 6 ,loopcnt 
+7857 18002600 force 0 ,regc 
+
+bn_sub_0:
+7858 ea420000 ifetch 4 ,regb 
+7859 98000400 iforce temp 
+785a ea220000 ifetch 4 ,rega 
+785b 98467e00 isub temp ,pdata 
+785c 9a667e00 isub regc ,pdata 
+785d e0a20000 istore 4 ,contw 
+785e 2feffe20 isolate1 32 ,pdata 
+785f 7920a600 setflag true ,0 ,regc 
+7860 1a20a204 increase 4 ,rega 
+7861 1a40a404 increase 4 ,regb 
+7862 c2007858 loop bn_sub_0 
+7863 20600000 rtn 
+
+bn_rshift6:
+7864 18007206 force 6 ,loopcnt 
+7865 1a20a214 increase 20 ,rega 
+
+bn_rshift:
+7866 18002600 force 0 ,regc 
+
+bn_rshift_0:
+7867 ea220000 ifetch 4 ,rega 
+7868 2feffe00 isolate1 0 ,pdata 
+7869 7920a601 setflag true ,1 ,regc 
+786a 1fe37e00 rshift pdata ,pdata 
+786b 2a6ffe00 isolate1 0 ,regc 
+786c 7920fe1f setflag true ,31 ,pdata 
+786d e2220000 istore 4 ,rega 
+786e 1a20a3fc increase -4 ,rega 
+786f 1a632600 rshift regc ,regc 
+7870 c2007867 loop bn_rshift_0 
+7871 20600000 rtn 
+
+bn_lshift:
+7872 18007206 force 6 ,loopcnt 
+7873 18002600 force 0 ,regc 
+
+bn_lshift_0:
+7874 ea220000 ifetch 4 ,rega 
+7875 2feffe1f isolate1 31 ,pdata 
+7876 7920a601 setflag true ,1 ,regc 
+7877 1fe3fe00 lshift pdata ,pdata 
+7878 2a6ffe00 isolate1 0 ,regc 
+7879 7920fe00 setflag true ,0 ,pdata 
+787a e2220000 istore 4 ,rega 
+787b 1a20a204 increase 4 ,rega 
+787c 1a632600 rshift regc ,regc 
+787d c2007874 loop bn_lshift_0 
+787e 20600000 rtn 
+
+bn_lshiftmod:
+787f 20407872 call bn_lshift 
+
+bn_lshiftmod_ismod:
+7880 2a6ffe00 isolate1 0 ,regc 
+7881 2020f888 branch bn_lshiftmod_0 ,true 
+7882 da400742 arg mem_p ,regb 
+7883 1a222600 copy rega ,regc 
+7884 1a20a3e8 increase -24 ,rega 
+7885 2040783b call bn_bigeq 
+7886 24610000 nrtn positive 
+7887 1a622200 copy regc ,rega 
+
+bn_lshiftmod_0:
+7888 1a20a3e8 increase -24 ,rega 
+7889 da400742 arg mem_p ,regb 
+788a 1a220a00 copy rega ,contw 
+788b 20207856 branch bn_sub 
+
+bn_addmod:
+788c 20407848 call bn_add 
+788d 18a22200 copy contw ,rega 
+788e 20207880 branch bn_lshiftmod_ismod 
+
+bn_submod:
+788f 20407856 call bn_sub 
+7890 2a6c0000 isolate0 0 ,regc 
+7891 20608000 rtn true 
+7892 da400742 arg mem_p ,regb 
+7893 18a0a3e8 add contw ,-24 ,rega 
+7894 1a220a00 copy rega ,contw 
+7895 20207848 branch bn_add 
+
+bn_p192mod:
+7896 18a21600 copy contw ,timeup 
+7897 1a226000 copy rega ,alarm 
+7898 da4006b2 arg mem_tmp2 ,regb 
+7899 1a420a00 copy regb ,contw 
+789a 1a208c18 add rega ,24 ,contr 
+789b e8c40000 ifetch 8 ,contr 
+789c e0a40000 istore 8 ,contw 
+789d e0a40000 istore 8 ,contw 
+789e 18007e00 force 0 ,pdata 
+789f e0a40000 istore 8 ,contw 
+78a0 19620a00 copy timeup ,contw 
+78a1 2040788c call bn_addmod 
+78a2 da4006b2 arg mem_tmp2 ,regb 
+78a3 1a420a00 copy regb ,contw 
+78a4 18007e00 force 0 ,pdata 
+78a5 e0a40000 istore 8 ,contw 
+78a6 1e008c20 add alarm ,32 ,contr 
+78a7 e8c40000 ifetch 8 ,contr 
+78a8 e0a40000 istore 8 ,contw 
+78a9 e0a40000 istore 8 ,contw 
+78aa 19622200 copy timeup ,rega 
+78ab 1a220a00 copy rega ,contw 
+78ac 2040788c call bn_addmod 
+78ad da4006b2 arg mem_tmp2 ,regb 
+78ae 1a420a00 copy regb ,contw 
+78af 1e008c28 add alarm ,40 ,contr 
+78b0 e8c40000 ifetch 8 ,contr 
+78b1 e0a40000 istore 8 ,contw 
+78b2 e0a40000 istore 8 ,contw 
+78b3 e0a40000 istore 8 ,contw 
+78b4 19622200 copy timeup ,rega 
+78b5 1a220a00 copy rega ,contw 
+78b6 2020788c branch bn_addmod 
+
+bn_load:
+78b7 18007206 force 6 ,loopcnt 
+
+bn_load_0:
+78b8 e8c20000 ifetch 4 ,contr 
+78b9 98005e00 iforce regext 
+78ba 1f00f001 increase 1 ,regext_index 
+78bb c20078b8 loop bn_load_0 
+78bc 20600000 rtn 
+
+bn_mulmod:
+78bd 18a21600 copy contw ,timeup 
+78be d8a00682 arg mem_tmp1 ,contw 
+78bf 20407e3a call bn_zero 
+78c0 d8a00682 arg mem_tmp1 ,contw 
+78c1 1a220c00 copy rega ,contr 
+78c2 18007000 force 0 ,regext_index 
+78c3 204078b7 call bn_load 
+78c4 1a420c00 copy regb ,contr 
+78c5 204078b7 call bn_load 
+78c6 18002400 force 0 ,regb 
+
+bn_mulmod_1:
+78c7 18000400 force 0 ,temp 
+78c8 18002606 force 6 ,regc 
+
+bn_mulmod_0:
+78c9 e8a20000 ifetch 4 ,contw 
+78ca 98002200 iforce rega 
+78cb 1a427000 copy regb ,regext_index 
+78cc 1de27e00 deposit regext 
+78cd 1a627000 copy regc ,regext_index 
+78ce 9deffe00 imul32 regext ,pdata 
+78cf 9a20fe00 iadd rega ,pdata 
+78d0 9840fe00 iadd temp ,pdata 
+78d1 e0a20000 istore 4 ,contw 
+78d2 1fef0400 rshift32 pdata ,temp 
+78d3 1a60a601 increase 1 ,regc 
+78d4 2a61fe0c compare 12 ,regc ,0xff 
+78d5 2420f8c9 nbranch bn_mulmod_0 ,true 
+78d6 18427e00 deposit temp 
+78d7 e0a20000 istore 4 ,contw 
+78d8 18a08be8 increase -24 ,contw 
+78d9 1a40a401 increase 1 ,regb 
+78da 2a41fe06 compare 6 ,regb ,0xff 
+78db 2420f8c7 nbranch bn_mulmod_1 ,true 
+78dc da200682 arg mem_tmp1 ,rega 
+78dd 19620a00 copy timeup ,contw 
+78de 20207896 branch bn_p192mod 
+
+bn_sqrmod:
+78df 1a222400 copy rega ,regb 
+78e0 202078bd branch bn_mulmod 
+
+bn_rshifteven:
+78e1 1a226000 copy rega ,alarm 
+
+bn_rshifteven_1:
+78e2 1e022200 copy alarm ,rega 
+78e3 ea208000 ifetch 1 ,rega 
+78e4 2feffe00 isolate1 0 ,pdata 
+78e5 20608000 rtn true 
+78e6 20407864 call bn_rshift6 
+78e7 ea408000 ifetch 1 ,regb 
+78e8 2fec0000 isolate0 0 ,pdata 
+78e9 2020f8f1 branch bn_rshifteven_0 ,true 
+78ea da200742 arg mem_p ,rega 
+78eb 1a420a00 copy regb ,contw 
+78ec 20407848 call bn_add 
+78ed ea408000 ifetch 1 ,regb 
+78ee 9a60fe00 iadd regc ,pdata 
+78ef e2408000 istore 1 ,regb 
+78f0 1a40a5e8 increase -24 ,regb 
+
+bn_rshifteven_0:
+78f1 1a40a218 add regb ,24 ,rega 
+78f2 18007207 force 7 ,loopcnt 
+78f3 20407866 call bn_rshift 
+78f4 202078e2 branch bn_rshifteven_1 
+
+bn_invmod:
+78f5 18a21600 copy contw ,timeup 
+78f6 d8a006e2 arg mem_tmp0 ,contw 
+78f7 20407e3a call bn_zero 
+78f8 18007e00 force 0 ,pdata 
+78f9 6002069a store 4 ,mem_tmp5 
+78fa 600206fa store 4 ,mem_t2 
+78fb 7006e201 jam 1 ,mem_tmp0 
+78fc d8a00682 arg mem_tmp1 ,contw 
+78fd 20407e3a call bn_zero 
+78fe d8c00742 arg mem_p ,contr 
+78ff d8a006b2 arg mem_tmp2 ,contw 
+7900 20407e33 call memcpy24 
+7901 1a220c00 copy rega ,contr 
+7902 d8a006ca arg mem_tmp3 ,contw 
+7903 20407e33 call memcpy24 
+
+bn_invmod_2:
+7904 d8c006ca arg mem_tmp3 ,contr 
+7905 2040782b call bn_eq_zero 
+7906 203a792d branch bn_invmod_0 ,blank 
+7907 da2006ca arg mem_tmp3 ,rega 
+7908 da4006e2 arg mem_tmp0 ,regb 
+7909 204078e1 call bn_rshifteven 
+790a da2006b2 arg mem_tmp2 ,rega 
+790b da400682 arg mem_tmp1 ,regb 
+790c 204078e1 call bn_rshifteven 
+790d da2006ca arg mem_tmp3 ,rega 
+790e da4006b2 arg mem_tmp2 ,regb 
+790f 2040783b call bn_bigeq 
+7910 2021791f branch bn_invmod_1 ,positive 
+7911 da2006b2 arg mem_tmp2 ,rega 
+7912 da4006ca arg mem_tmp3 ,regb 
+7913 1a220a00 copy rega ,contw 
+7914 20407856 call bn_sub 
+7915 da2006e2 arg mem_tmp0 ,rega 
+7916 da400682 arg mem_tmp1 ,regb 
+7917 1a420a00 copy regb ,contw 
+7918 20407848 call bn_add 
+7919 ea208000 ifetch 1 ,rega 
+791a 9a60a600 iadd regc ,regc 
+791b ea408000 ifetch 1 ,regb 
+791c 9a60fe00 iadd regc ,pdata 
+791d e2408000 istore 1 ,regb 
+791e 20207904 branch bn_invmod_2 
+
+bn_invmod_1:
+791f da2006ca arg mem_tmp3 ,rega 
+7920 da4006b2 arg mem_tmp2 ,regb 
+7921 1a220a00 copy rega ,contw 
+7922 20407856 call bn_sub 
+7923 da200682 arg mem_tmp1 ,rega 
+7924 da4006e2 arg mem_tmp0 ,regb 
+7925 1a420a00 copy regb ,contw 
+7926 20407848 call bn_add 
+7927 ea208000 ifetch 1 ,rega 
+7928 9a60a600 iadd regc ,regc 
+7929 ea408000 ifetch 1 ,regb 
+792a 9a60fe00 iadd regc ,pdata 
+792b e2408000 istore 1 ,regb 
+792c 20207904 branch bn_invmod_2 
+
+bn_invmod_0:
+792d d8a006e2 arg mem_tmp0 ,contw 
+792e 20407e3a call bn_zero 
+792f 6800869a fetch 1 ,mem_tmp5 
+7930 600086e2 store 1 ,mem_tmp0 
+7931 600086ea store 1 ,mem_tmp0a 
+7932 da2006e2 arg mem_tmp0 ,rega 
+7933 da400682 arg mem_tmp1 ,regb 
+7934 1a420a00 copy regb ,contw 
+7935 2040788c call bn_addmod 
+7936 da200742 arg mem_p ,rega 
+7937 da400682 arg mem_tmp1 ,regb 
+7938 19620a00 copy timeup ,contw 
+7939 2020788f branch bn_submod 
+
+ecdbl:
+793a da200642 arg mem_cz ,rega 
+793b d8a006fa arg mem_t2 ,contw 
+793c 204078df call bn_sqrmod 
+793d da2006fa arg mem_t2 ,rega 
+793e d8a00712 arg mem_t3 ,contw 
+793f 204078df call bn_sqrmod 
+7940 da20075a arg mem_a ,rega 
+7941 da400712 arg mem_t3 ,regb 
+7942 d8a00712 arg mem_t3 ,contw 
+7943 204078bd call bn_mulmod 
+7944 da200612 arg mem_cx ,rega 
+7945 d8a006fa arg mem_t2 ,contw 
+7946 204078df call bn_sqrmod 
+7947 d8c006fa arg mem_t2 ,contr 
+7948 d8a006ca arg mem_t1 ,contw 
+7949 20407e33 call memcpy24 
+794a da2006ca arg mem_t1 ,rega 
+794b 2040787f call bn_lshiftmod 
+794c da2006fa arg mem_t2 ,rega 
+794d da4006ca arg mem_t1 ,regb 
+794e d8a006fa arg mem_t2 ,contw 
+794f 2040788c call bn_addmod 
+7950 da2006fa arg mem_t2 ,rega 
+7951 da400712 arg mem_t3 ,regb 
+7952 d8a006fa arg mem_t2 ,contw 
+7953 2040788c call bn_addmod 
+7954 d8c00612 arg mem_cx ,contr 
+7955 d8a006ca arg mem_t1 ,contw 
+7956 20407e33 call memcpy24 
+7957 da20062a arg mem_cy ,rega 
+7958 d8a00712 arg mem_t3 ,contw 
+7959 204078df call bn_sqrmod 
+795a da2006ca arg mem_t1 ,rega 
+795b 2040787f call bn_lshiftmod 
+795c da2006ca arg mem_t1 ,rega 
+795d 2040787f call bn_lshiftmod 
+795e da2006ca arg mem_t1 ,rega 
+795f da400712 arg mem_t3 ,regb 
+7960 d8a006ca arg mem_t1 ,contw 
+7961 204078bd call bn_mulmod 
+7962 da200712 arg mem_t3 ,rega 
+7963 d8a006e2 arg mem_t0 ,contw 
+7964 204078df call bn_sqrmod 
+7965 da2006e2 arg mem_t0 ,rega 
+7966 2040787f call bn_lshiftmod 
+7967 da2006e2 arg mem_t0 ,rega 
+7968 2040787f call bn_lshiftmod 
+7969 da2006e2 arg mem_t0 ,rega 
+796a 2040787f call bn_lshiftmod 
+796b d8c0062a arg mem_cy ,contr 
+796c d8a00712 arg mem_t3 ,contw 
+796d 20407e33 call memcpy24 
+796e da200712 arg mem_t3 ,rega 
+796f 2040787f call bn_lshiftmod 
+7970 da200712 arg mem_t3 ,rega 
+7971 da400642 arg mem_cz ,regb 
+7972 d8a00642 arg mem_cz ,contw 
+7973 204078bd call bn_mulmod 
+7974 da2006fa arg mem_t2 ,rega 
+7975 d8a00712 arg mem_t3 ,contw 
+7976 204078df call bn_sqrmod 
+7977 da200712 arg mem_t3 ,rega 
+7978 da4006ca arg mem_t1 ,regb 
+7979 d8a00712 arg mem_t3 ,contw 
+797a 2040788f call bn_submod 
+797b da200712 arg mem_t3 ,rega 
+797c da4006ca arg mem_t1 ,regb 
+797d d8a00612 arg mem_cx ,contw 
+797e 2040788f call bn_submod 
+797f da2006ca arg mem_t1 ,rega 
+7980 da400612 arg mem_cx ,regb 
+7981 d8a00712 arg mem_t3 ,contw 
+7982 2040788f call bn_submod 
+7983 da200712 arg mem_t3 ,rega 
+7984 da4006fa arg mem_t2 ,regb 
+7985 d8a00712 arg mem_t3 ,contw 
+7986 204078bd call bn_mulmod 
+7987 da200712 arg mem_t3 ,rega 
+7988 da4006e2 arg mem_t0 ,regb 
+7989 d8a0062a arg mem_cy ,contw 
+798a 2020788f branch bn_submod 
+
+ecadd:
+798b da2005b2 arg mem_az ,rega 
+798c d8a0072a arg mem_t7 ,contw 
+798d 204078df call bn_sqrmod 
+798e da200612 arg mem_cx ,rega 
+798f da40072a arg mem_t7 ,regb 
+7990 d8a006e2 arg mem_t0 ,contw 
+7991 204078bd call bn_mulmod 
+7992 da2005b2 arg mem_az ,rega 
+7993 da40072a arg mem_t7 ,regb 
+7994 d8a0072a arg mem_t7 ,contw 
+7995 204078bd call bn_mulmod 
+7996 da20062a arg mem_cy ,rega 
+7997 da40072a arg mem_t7 ,regb 
+7998 d8a006ca arg mem_t1 ,contw 
+7999 204078bd call bn_mulmod 
+799a da200642 arg mem_cz ,rega 
+799b d8a0072a arg mem_t7 ,contw 
+799c 204078df call bn_sqrmod 
+799d da200582 arg mem_ax ,rega 
+799e da40072a arg mem_t7 ,regb 
+799f d8a006fa arg mem_t2 ,contw 
+79a0 204078bd call bn_mulmod 
+79a1 da200642 arg mem_cz ,rega 
+79a2 da40072a arg mem_t7 ,regb 
+79a3 d8a0072a arg mem_t7 ,contw 
+79a4 204078bd call bn_mulmod 
+79a5 da20059a arg mem_ay ,rega 
+79a6 da40072a arg mem_t7 ,regb 
+79a7 d8a00712 arg mem_t3 ,contw 
+79a8 204078bd call bn_mulmod 
+79a9 da2006e2 arg mem_t0 ,rega 
+79aa da4006fa arg mem_t2 ,regb 
+79ab d8a0072a arg mem_t7 ,contw 
+79ac 2040788f call bn_submod 
+79ad da2006e2 arg mem_t0 ,rega 
+79ae da4006fa arg mem_t2 ,regb 
+79af d8a006e2 arg mem_t0 ,contw 
+79b0 2040788c call bn_addmod 
+79b1 da2006ca arg mem_t1 ,rega 
+79b2 da400712 arg mem_t3 ,regb 
+79b3 d8a006fa arg mem_t2 ,contw 
+79b4 2040788f call bn_submod 
+79b5 da2006ca arg mem_t1 ,rega 
+79b6 da400712 arg mem_t3 ,regb 
+79b7 d8a006ca arg mem_t1 ,contw 
+79b8 2040788c call bn_addmod 
+79b9 da2006ca arg mem_t1 ,rega 
+79ba da40072a arg mem_t7 ,regb 
+79bb d8a006ca arg mem_t1 ,contw 
+79bc 204078bd call bn_mulmod 
+79bd da200642 arg mem_cz ,rega 
+79be da4005b2 arg mem_az ,regb 
+79bf d8a00712 arg mem_t3 ,contw 
+79c0 204078bd call bn_mulmod 
+79c1 da200712 arg mem_t3 ,rega 
+79c2 da40072a arg mem_t7 ,regb 
+79c3 d8a00642 arg mem_cz ,contw 
+79c4 204078bd call bn_mulmod 
+79c5 da20072a arg mem_t7 ,rega 
+79c6 d8a0072a arg mem_t7 ,contw 
+79c7 204078df call bn_sqrmod 
+79c8 da20072a arg mem_t7 ,rega 
+79c9 da4006e2 arg mem_t0 ,regb 
+79ca d8a00712 arg mem_t3 ,contw 
+79cb 204078bd call bn_mulmod 
+79cc da20072a arg mem_t7 ,rega 
+79cd da4006ca arg mem_t1 ,regb 
+79ce d8a006ca arg mem_t1 ,contw 
+79cf 204078bd call bn_mulmod 
+79d0 da2006fa arg mem_t2 ,rega 
+79d1 d8a00612 arg mem_cx ,contw 
+79d2 204078df call bn_sqrmod 
+79d3 da200612 arg mem_cx ,rega 
+79d4 da400712 arg mem_t3 ,regb 
+79d5 d8a00612 arg mem_cx ,contw 
+79d6 2040788f call bn_submod 
+79d7 d8c00612 arg mem_cx ,contr 
+79d8 d8a0072a arg mem_t7 ,contw 
+79d9 20407e33 call memcpy24 
+79da da20072a arg mem_t7 ,rega 
+79db 2040787f call bn_lshiftmod 
+79dc da200712 arg mem_t3 ,rega 
+79dd da40072a arg mem_t7 ,regb 
+79de d8a00712 arg mem_t3 ,contw 
+79df 2040788f call bn_submod 
+79e0 da200712 arg mem_t3 ,rega 
+79e1 da4006fa arg mem_t2 ,regb 
+79e2 d8a006fa arg mem_t2 ,contw 
+79e3 204078bd call bn_mulmod 
+79e4 da2006fa arg mem_t2 ,rega 
+79e5 da4006ca arg mem_t1 ,regb 
+79e6 d8a0062a arg mem_cy ,contw 
+79e7 2040788f call bn_submod 
+79e8 da20062a arg mem_cy ,rega 
+79e9 da400742 arg mem_p ,regb 
+79ea d8a0062a arg mem_cy ,contw 
+79eb 18002600 force 0 ,regc 
+79ec 6800862a fetch 1 ,mem_cy 
+79ed 2feffe00 isolate1 0 ,pdata 
+79ee 2040f848 call bn_add ,true 
+79ef 1a626000 copy regc ,alarm 
+79f0 da20062a arg mem_cy ,rega 
+79f1 20407864 call bn_rshift6 
+79f2 68008641 fetch 1 ,mem_cy5 
+79f3 2e0ffe00 isolate1 0 ,alarm 
+79f4 7920fe07 setflag true ,7 ,pdata 
+79f5 60008641 store 1 ,mem_cy5 
+79f6 20600000 rtn 
+
+eckp:
+79f7 700581c0 jam 192 ,mem_ec_loopc 
+79f8 70058001 jam 1 ,mem_ec_infinite 
+
+eckp_0:
+79f9 68008581 fetch 1 ,mem_ec_loopc 
+79fa 1fe0ffff increase -1 ,pdata 
+79fb 24610000 nrtn positive 
+79fc 60008581 store 1 ,mem_ec_loopc 
+79fd 68008580 fetch 1 ,mem_ec_infinite 
+79fe 205a793a call ecdbl ,blank 
+79ff 68008581 fetch 1 ,mem_ec_loopc 
+7a00 d8c0065a arg mem_k ,contr 
+7a01 20407822 call bn_testbit 
+7a02 2020f9f9 branch eckp_0 ,true 
+7a03 68008580 fetch 1 ,mem_ec_infinite 
+7a04 243a7a07 nbranch eckp_1 ,blank 
+7a05 2040798b call ecadd 
+7a06 202079f9 branch eckp_0 
+
+eckp_1:
+7a07 70058000 jam 0 ,mem_ec_infinite 
+7a08 d8c00582 arg mem_ax ,contr 
+7a09 d8a00612 arg mem_cx ,contw 
+7a0a 20407828 call ec_copy 
+7a0b 202079f9 branch eckp_0 
+
+ecunmapz:
+7a0c da200642 arg mem_cz ,rega 
+7a0d d8a00712 arg mem_t3 ,contw 
+7a0e 204078f5 call bn_invmod 
+7a0f da200712 arg mem_t3 ,rega 
+7a10 d8a006ca arg mem_t1 ,contw 
+7a11 204078df call bn_sqrmod 
+7a12 da200612 arg mem_cx ,rega 
+7a13 da4006ca arg mem_t1 ,regb 
+7a14 d8a005ca arg mem_bx ,contw 
+7a15 204078bd call bn_mulmod 
+7a16 da200712 arg mem_t3 ,rega 
+7a17 da4006ca arg mem_t1 ,regb 
+7a18 d8a006fa arg mem_t2 ,contw 
+7a19 204078bd call bn_mulmod 
+7a1a da20062a arg mem_cy ,rega 
+7a1b da4006fa arg mem_t2 ,regb 
+7a1c d8a005e2 arg mem_by ,contw 
+7a1d 202078bd branch bn_mulmod 
+
+sha_endian_swap:
+7a1e 18007210 force 16 ,loopcnt 
+
+sha_endian_swap2:
+7a1f e8c20000 ifetch 4 ,contr 
+7a20 18002204 force 4 ,rega 
+7a21 18a08a03 increase 3 ,contw 
+
+sha_endian_loop:
+7a22 e0a08000 istore 1 ,contw 
+7a23 1fecfe00 rshift8 pdata ,pdata 
+7a24 18a08bfe increase -2 ,contw 
+7a25 1a20a3ff increase -1 ,rega 
+7a26 2422fa22 nbranch sha_endian_loop ,zero 
+7a27 18a08a05 increase 5 ,contw 
+7a28 c2007a1f loop sha_endian_swap2 
+7a29 20600000 rtn 
+
+sha_getw:
+7a2a 18ebfe00 lshift2 queue ,pdata 
+7a2b 99608c00 iadd timeup ,contr 
+7a2c e8c20000 ifetch 4 ,contr 
+7a2d 20600000 rtn 
+
+sha_r:
+7a2e 18006010 force 16 ,alarm 
+7a2f d9600582 arg memdat ,timeup 
+
+sha_r_loop:
+7a30 1e008ff9 add alarm ,-7 ,queue 
+7a31 20407a2a call sha_getw 
+7a32 98000400 iforce temp 
+7a33 1e008ff0 add alarm ,-16 ,queue 
+7a34 20407a2a call sha_getw 
+7a35 98408400 iadd temp ,temp 
+7a36 1e008ffe add alarm ,-2 ,queue 
+7a37 20407a2a call sha_getw 
+7a38 1fee7e01 shasx pdata ,1 ,pdata 
+7a39 98408400 iadd temp ,temp 
+7a3a 1e008ff1 add alarm ,-15 ,queue 
+7a3b 20407a2a call sha_getw 
+7a3c 1fee7e00 shasx pdata ,0 ,pdata 
+7a3d 98408400 iadd temp ,temp 
+7a3e 1e0bfe00 lshift2 alarm ,pdata 
+7a3f 99608a00 iadd timeup ,contw 
+7a40 e0aa0000 istoret 4 ,contw 
+7a41 1e00e001 increase 1 ,alarm 
+7a42 2e01fe40 compare 64 ,alarm ,0xff 
+7a43 2420fa30 nbranch sha_r_loop ,true 
+7a44 20600000 rtn 
+
+sha_init:
+7a45 d8c007ba arg memh0 ,contr 
+7a46 18007007 force 7 ,regext_index 
+
+sha_init_0:
+7a47 e8c20000 ifetch 4 ,contr 
+7a48 98005e00 iforce regext 
+7a49 1f00f1ff increase -1 ,regext_index 
+7a4a 20217a47 branch sha_init_0 ,positive 
+7a4b 20600000 rtn 
+
+sha:
+7a4c 79200025 set1 mark_ext_patch ,mark 
+7a4d 44fc403f bpatch patch3f_0 ,mem_patch3f 
+7a4e 20407a2e call sha_r 
+7a4f d8a00682 arg memahbak ,contw 
+7a50 18007000 force 0 ,regext_index 
+
+sha_0:
+7a51 1de27e00 deposit regext 
+7a52 e0a20000 istore 4 ,contw 
+7a53 1f00f001 increase 1 ,regext_index 
+7a54 2f01fe08 compare 8 ,regext_index ,0xff 
+7a55 2420fa51 nbranch sha_0 ,true 
+7a56 204075c5 call enable_authrom 
+7a57 d9608700 arg memk ,timeup 
+7a58 de000582 arg memdat ,alarm 
+7a59 18007240 force 64 ,loopcnt 
+
+sha_loop:
+7a5a ee0a0000 ifetcht 4 ,alarm 
+7a5b e9620000 ifetch 4 ,timeup 
+7a5c 19609604 increase 4 ,timeup 
+7a5d 1e00e004 increase 4 ,alarm 
+7a5e 9840fe00 iadd temp ,pdata 
+7a5f 18007007 force 7 ,regext_index 
+7a60 9de08400 iadd regext ,temp 
+7a61 18007004 force 4 ,regext_index 
+7a62 1dee7e03 shasx regext ,3 ,pdata 
+7a63 98408400 iadd temp ,temp 
+7a64 18007005 force 5 ,regext_index 
+7a65 1de27e00 deposit regext 
+7a66 18007006 force 6 ,regext_index 
+7a67 9de2fe00 ixor regext ,pdata 
+7a68 18007004 force 4 ,regext_index 
+7a69 9de17e00 iand regext ,pdata 
+7a6a 18007006 force 6 ,regext_index 
+7a6b 9de2fe00 ixor regext ,pdata 
+7a6c 98408400 iadd temp ,temp 
+7a6d 18007007 force 7 ,regext_index 
+7a6e 18425e00 copy temp ,regext 
+7a6f 18007003 force 3 ,regext_index 
+7a70 1de27e00 deposit regext 
+7a71 9840de00 iadd temp ,regext 
+7a72 18007000 force 0 ,regext_index 
+7a73 1de27e00 deposit regext 
+7a74 18007001 force 1 ,regext_index 
+7a75 9de10400 iand regext ,temp 
+7a76 9de1fe00 ior regext ,pdata 
+7a77 18007002 force 2 ,regext_index 
+7a78 9de17e00 iand regext ,pdata 
+7a79 98418400 ior temp ,temp 
+7a7a 18007000 force 0 ,regext_index 
+7a7b 1dee7e02 shasx regext ,2 ,pdata 
+7a7c 9840fe00 iadd temp ,pdata 
+7a7d 18007007 force 7 ,regext_index 
+7a7e 9de0de00 iadd regext ,regext 
+7a7f 980efc00 regexrot 
+7a80 c2007a5a loop sha_loop 
+7a81 d8c00682 arg memahbak ,contr 
+7a82 18007000 force 0 ,regext_index 
+
+sha_1:
+7a83 e8c20000 ifetch 4 ,contr 
+7a84 9de0de00 iadd regext ,regext 
+7a85 1f00f001 increase 1 ,regext_index 
+7a86 2f01fe08 compare 8 ,regext_index ,0xff 
+7a87 2420fa83 nbranch sha_1 ,true 
+7a88 202075c9 branch disable_authrom 
+
+sha_result:
+7a89 d8a00858 arg memresult ,contw 
+7a8a 18007007 force 7 ,regext_index 
+
+sha_regext_save:
+7a8b 1de27e00 deposit regext 
+7a8c e0a20000 istore 4 ,contw 
+7a8d 1f00f1ff increase -1 ,regext_index 
+7a8e 20217a8b branch sha_regext_save ,positive 
+7a8f 20600000 rtn 
+
+pad_xor:
+7a90 d8a00582 arg memdat ,contw 
+7a91 18c08dfc increase -4 ,contr 
+7a92 1f262210 sub loopcnt ,16 ,rega 
+
+pad_xor_0:
+7a93 e8c20000 ifetch 4 ,contr 
+7a94 9842fe00 ixor temp ,pdata 
+7a95 e0a20000 istore 4 ,contw 
+7a96 18c08df8 increase -8 ,contr 
+7a97 c2007a93 loop pad_xor_0 
+7a98 1a227200 copy rega ,loopcnt 
+7a99 18427e00 deposit temp 
+
+pad_xor_1:
+7a9a e0a20000 istore 4 ,contw 
+7a9b c2007a9a loop pad_xor_1 
+7a9c 20600000 rtn 
+
+g_noninit:
+7a9d d8c00808 arg mem_sp_pubkey_remote_x_end ,contr 
+7a9e d8a00582 arg memdat ,contw 
+7a9f 18007206 force 6 ,loopcnt 
+7aa0 20407b97 call memcpy_dword_swap 
+7aa1 d8c047c4 arg mem_sp_pubkey_local_x_end ,contr 
+7aa2 18007206 force 6 ,loopcnt 
+7aa3 20407b97 call memcpy_dword_swap 
+7aa4 d8c00858 arg mem_sp_random_remote_end ,contr 
+7aa5 20407b96 call memcpy_dword_swap4 
+7aa6 20407a45 call sha_init 
+7aa7 20407a4c call sha 
+7aa8 d8c00848 arg mem_sp_random_local_end ,contr 
+7aa9 d8a00582 arg memdat ,contw 
+7aaa 20207ab8 branch g_common 
+
+g_init:
+7aab d8c047c4 arg mem_sp_pubkey_local_x_end ,contr 
+7aac d8a00582 arg memdat ,contw 
+7aad 18007206 force 6 ,loopcnt 
+7aae 20407b97 call memcpy_dword_swap 
+7aaf d8c00808 arg mem_sp_pubkey_remote_x_end ,contr 
+7ab0 18007206 force 6 ,loopcnt 
+7ab1 20407b97 call memcpy_dword_swap 
+7ab2 d8c00848 arg mem_sp_random_local_end ,contr 
+7ab3 20407b96 call memcpy_dword_swap4 
+7ab4 20407a45 call sha_init 
+7ab5 20407a4c call sha 
+7ab6 d8c00858 arg mem_sp_random_remote_end ,contr 
+7ab7 d8a00582 arg memdat ,contw 
+
+g_common:
+7ab8 20407b96 call memcpy_dword_swap4 
+7ab9 58800000 setarg 0x800000 
+7aba 1fed7e00 lshift8 pdata ,pdata 
+7abb e0a20000 istore 4 ,contw 
+7abc 18007205 force 5 ,loopcnt 
+7abd 20407e3b call memset0 
+7abe 58000280 setarg 640 
+7abf e0a20000 istore 4 ,contw 
+7ac0 20407a4c call sha 
+7ac1 68020858 fetch 4 ,memresult 
+7ac2 da2003e8 arg 1000 ,rega 
+7ac3 9a26fc00 idiv rega 
+7ac4 20407efd call wait_div_end 
+7ac5 18077e00 remainder pdata 
+7ac6 600207ec store 4 ,mem_sp_gkey 
+7ac7 1807fe00 quotient pdata 
+7ac8 da2003e8 arg 1000 ,rega 
+7ac9 9a26fc00 idiv rega 
+7aca 20407efd call wait_div_end 
+7acb 18077e00 remainder pdata 
+7acc da2003e8 arg 1000 ,rega 
+7acd 9a2ffe00 imul32 rega ,pdata 
+7ace 680a07ec fetcht 4 ,mem_sp_gkey 
+7acf 9840fe00 iadd temp ,pdata 
+7ad0 600207ec store 4 ,mem_sp_gkey 
+7ad1 20600000 rtn 
+
+function_f1:
+7ad2 58363636 setarg 0x363636 
+7ad3 1fed0400 lshift8 pdata ,temp 
+7ad4 18418436 or_into 0x36 ,temp 
+7ad5 68010898 fetch 2 ,mem_sp_prarm_stack 
+7ad6 1fe20c00 copy pdata ,contr 
+7ad7 18007204 force 4 ,loopcnt 
+7ad8 20407a90 call pad_xor 
+7ad9 20407a45 call sha_init 
+7ada 20407a4c call sha 
+7adb 6801089a fetch 2 ,mem_sp_prarm_stack + 2 
+7adc 1fe20c00 copy pdata ,contr 
+7add d8a00582 arg memdat ,contw 
+7ade 18007206 force 6 ,loopcnt 
+7adf 20407b97 call memcpy_dword_swap 
+7ae0 6801089c fetch 2 ,mem_sp_prarm_stack + 4 
+7ae1 1fe20c00 copy pdata ,contr 
+7ae2 18007206 force 6 ,loopcnt 
+7ae3 20407b97 call memcpy_dword_swap 
+7ae4 58800000 setarg 0x800000 
+7ae5 e0a18000 istore 3 ,contw 
+7ae6 18007e00 force 0 ,pdata 
+7ae7 e0a08000 istore 1 ,contw 
+7ae8 18007e00 force 0 ,pdata 
+7ae9 e0a40000 istore 8 ,contw 
+7aea 58000388 setarg 0x0388 
+7aeb e0a20000 istore 4 ,contw 
+7aec 20407a4c call sha 
+7aed 20407a89 call sha_result 
+7aee d8c00858 arg memresult ,contr 
+7aef d8a006a2 arg memahsave ,contw 
+7af0 20407e31 call memcpy32 
+7af1 585c5c5c setarg 0x5c5c5c 
+7af2 1fed0400 lshift8 pdata ,temp 
+7af3 1841845c or_into 0x5c ,temp 
+7af4 68010898 fetch 2 ,mem_sp_prarm_stack 
+7af5 1fe20c00 copy pdata ,contr 
+7af6 18007204 force 4 ,loopcnt 
+7af7 20407a90 call pad_xor 
+7af8 20407a45 call sha_init 
+7af9 20407a4c call sha 
+7afa d8c006c2 arg memahsave_end ,contr 
+7afb d8a00582 arg memdat ,contw 
+7afc 18007208 force 8 ,loopcnt 
+7afd 20407b97 call memcpy_dword_swap 
+7afe 58800000 setarg 0x800000 
+7aff 1fed7e00 lshift8 pdata ,pdata 
+7b00 e0a20000 istore 4 ,contw 
+7b01 20407e3a call bn_zero 
+7b02 58000300 setarg 0x0300 
+7b03 e0a20000 istore 4 ,contw 
+7b04 20407a4c call sha 
+7b05 20207a89 branch sha_result 
+
+function_f2:
+7b06 58363636 setarg 0x363636 
+7b07 1fed0400 lshift8 pdata ,temp 
+7b08 18418436 or_into 0x36 ,temp 
+7b09 d8c00838 arg mem_sp_dhkey_end ,contr 
+7b0a 18007206 force 6 ,loopcnt 
+7b0b 20407a90 call pad_xor 
+7b0c 20407a45 call sha_init 
+7b0d 20407a4c call sha 
+7b0e 680108a4 fetch 2 ,mem_sp_prarm_stack + 12 
+7b0f 1fe20c00 copy pdata ,contr 
+7b10 d8a00582 arg memdat ,contw 
+7b11 20407b96 call memcpy_dword_swap4 
+7b12 680108a6 fetch 2 ,mem_sp_prarm_stack + 14 
+7b13 1fe20c00 copy pdata ,contr 
+7b14 20407b96 call memcpy_dword_swap4 
+7b15 5862746c setarg 0x62746c 
+7b16 1fed7e00 lshift8 pdata ,pdata 
+7b17 1fe1fe6b or_into 0x6b ,pdata 
+7b18 e0a20000 istore 4 ,contw 
+7b19 d8c006cf arg mem_addr_value_end ,contr 
+7b1a 18007203 force 3 ,loopcnt 
+7b1b 20407b97 call memcpy_dword_swap 
+7b1c 58800000 setarg 0x800000 
+7b1d 1fed7e00 lshift8 pdata ,pdata 
+7b1e e0a20000 istore 4 ,contw 
+7b1f 18007e00 force 0 ,pdata 
+7b20 e0a40000 istore 8 ,contw 
+7b21 58000380 setarg 0x0380 
+7b22 e0a20000 istore 4 ,contw 
+7b23 20407a4c call sha 
+7b24 20407a89 call sha_result 
+7b25 d8c00858 arg memresult ,contr 
+7b26 d8a006a2 arg memahsave ,contw 
+7b27 20407e31 call memcpy32 
+7b28 585c5c5c setarg 0x5c5c5c 
+7b29 1fed0400 lshift8 pdata ,temp 
+7b2a 1841845c or_into 0x5c ,temp 
+7b2b d8c00838 arg mem_sp_dhkey_end ,contr 
+7b2c 18007206 force 6 ,loopcnt 
+7b2d 20407a90 call pad_xor 
+7b2e 20407a45 call sha_init 
+7b2f 20407a4c call sha 
+7b30 d8c006c2 arg memahsave_end ,contr 
+7b31 d8a00582 arg memdat ,contw 
+7b32 18007208 force 8 ,loopcnt 
+7b33 20407b97 call memcpy_dword_swap 
+7b34 58800000 setarg 0x800000 
+7b35 1fed7e00 lshift8 pdata ,pdata 
+7b36 e0a20000 istore 4 ,contw 
+7b37 20407e3a call bn_zero 
+7b38 58000300 setarg 0x0300 
+7b39 e0a20000 istore 4 ,contw 
+7b3a 20407a4c call sha 
+7b3b 20207a89 branch sha_result 
+
+function_f3a:
+7b3c 58363636 setarg 0x363636 
+7b3d 1fed0400 lshift8 pdata ,temp 
+7b3e 18418436 or_into 0x36 ,temp 
+7b3f d8c00838 arg mem_sp_dhkey_end ,contr 
+7b40 18007206 force 6 ,loopcnt 
+7b41 20407a90 call pad_xor 
+7b42 20407a45 call sha_init 
+7b43 20407a4c call sha 
+7b44 d8c00858 arg mem_sp_random_remote_end ,contr 
+7b45 d8a00582 arg memdat ,contw 
+7b46 20407b96 call memcpy_dword_swap4 
+7b47 d8c00848 arg mem_sp_random_local_end ,contr 
+7b48 20407b96 call memcpy_dword_swap4 
+7b49 20207b57 branch function_f3b_common 
+
+function_f3b:
+7b4a 58363636 setarg 0x363636 
+7b4b 1fed0400 lshift8 pdata ,temp 
+7b4c 18418436 or_into 0x36 ,temp 
+7b4d d8c00838 arg mem_sp_dhkey_end ,contr 
+7b4e 18007206 force 6 ,loopcnt 
+7b4f 20407a90 call pad_xor 
+7b50 20407a45 call sha_init 
+7b51 20407a4c call sha 
+7b52 d8c00848 arg mem_sp_random_local_end ,contr 
+7b53 d8a00582 arg memdat ,contw 
+7b54 20407b96 call memcpy_dword_swap4 
+7b55 d8c00858 arg mem_sp_random_remote_end ,contr 
+7b56 20407b96 call memcpy_dword_swap4 
+
+function_f3b_common:
+7b57 58000000 setarg 0x0 
+7b58 e0a40000 istore 8 ,contw 
+7b59 e0a40000 istore 8 ,contw 
+7b5a 18a20400 copy contw ,temp 
+7b5b 7006c280 jam 0x80 ,mem_addr_padding 
+7b5c 18420a00 copy temp ,contw 
+7b5d d8c006d2 arg mem_addr_iocap_end ,contr 
+7b5e 20407b96 call memcpy_dword_swap4 
+7b5f 20407a4c call sha 
+7b60 d8a00582 arg memdat ,contw 
+7b61 18007207 force 7 ,loopcnt 
+7b62 20407e3b call memset0 
+7b63 e0a20000 istore 4 ,contw 
+7b64 580003f8 setarg 0x03F8 
+7b65 e0a20000 istore 4 ,contw 
+7b66 20407a4c call sha 
+7b67 20407a89 call sha_result 
+7b68 d8c00858 arg memresult ,contr 
+7b69 d8a006a2 arg memahsave ,contw 
+7b6a 20407e31 call memcpy32 
+7b6b 585c5c5c setarg 0x5c5c5c 
+7b6c 1fed0400 lshift8 pdata ,temp 
+7b6d 1841845c or_into 0x5c ,temp 
+7b6e d8c00838 arg mem_sp_dhkey_end ,contr 
+7b6f 18007206 force 6 ,loopcnt 
+7b70 20407a90 call pad_xor 
+7b71 20407a45 call sha_init 
+7b72 20407a4c call sha 
+7b73 d8c006c2 arg memahsave_end ,contr 
+7b74 d8a00582 arg memdat ,contw 
+7b75 18007208 force 8 ,loopcnt 
+7b76 20407b97 call memcpy_dword_swap 
+7b77 58800000 setarg 0x800000 
+7b78 1fed7e00 lshift8 pdata ,pdata 
+7b79 e0a20000 istore 4 ,contw 
+7b7a 20407e3a call bn_zero 
+7b7b 58000300 setarg 0x0300 
+7b7c e0a20000 istore 4 ,contw 
+7b7d 20407a4c call sha 
+7b7e 20207a89 branch sha_result 
+
+eckp_calc_init:
+7b7f 700581c0 jam 192 ,mem_ec_loopc 
+
+eckp_calc_init_1:
+7b80 68008581 fetch 1 ,mem_ec_loopc 
+7b81 207a0000 rtn blank 
+7b82 1fe0ffff increase -1 ,pdata 
+7b83 60008581 store 1 ,mem_ec_loopc 
+7b84 d8c0065a arg mem_k ,contr 
+7b85 20407822 call bn_testbit 
+7b86 2020fb80 branch eckp_calc_init_1 ,true 
+7b87 d8c00582 arg mem_ax ,contr 
+7b88 d8a00612 arg mem_cx ,contw 
+7b89 20207828 branch ec_copy 
+
+eckp_calc:
+7b8a 2040793a call ecdbl 
+7b8b 68008581 fetch 1 ,mem_ec_loopc 
+7b8c 1fe0ffff increase -1 ,pdata 
+7b8d 60008581 store 1 ,mem_ec_loopc 
+7b8e d8c0065a arg mem_k ,contr 
+7b8f 20407822 call bn_testbit 
+7b90 20608000 rtn true 
+7b91 2020798b branch ecadd 
+
+eckp_cp_1:
+7b92 70058000 jam 0 ,mem_ec_infinite 
+7b93 d8c00582 arg mem_ax ,contr 
+7b94 d8a00612 arg mem_cx ,contw 
+7b95 20207828 branch ec_copy 
+
+memcpy_dword_swap4:
+7b96 18007204 force 4 ,loopcnt 
+
+memcpy_dword_swap:
+7b97 18c08dfc increase -4 ,contr 
+
+memcpy_dword_swap_loop:
+7b98 e8c20000 ifetch 4 ,contr 
+7b99 e0a20000 istore 4 ,contw 
+7b9a 18c08df8 increase -8 ,contr 
+7b9b c2007b98 loop memcpy_dword_swap_loop 
+7b9c 20600000 rtn 
+
+ui_init:
+7b9d 20758000 rtn wake 
+7b9e 20407ba5 call ui_button_init 
+7b9f 20407c13 call ui_timer_init 
+7ba0 20207bd9 branch ui_led_init 
+
+ui_dispatch:
+7ba1 6800c132 fetch 1 ,mem_device_option 
+7ba2 c1008000 rtneq dvc_op_hci 
+7ba3 20407bf2 call ui_led_blink_polling 
+7ba4 20207c04 branch ui_timer_check 
+
+ui_button_init:
+7ba5 6800c7fd fetch 1 ,mem_ui_button_gpio 
+7ba6 c17f8000 rtneq ui_button_gpio_disable 
+7ba7 98000400 iforce temp 
+7ba8 204069da call gpio_config_output 
+7ba9 6808c7fd fetcht 1 ,mem_ui_button_gpio 
+7baa 204069ed call gpio_out_inactive 
+7bab 20000064 nop 100 
+7bac 6808c7fd fetcht 1 ,mem_ui_button_gpio 
+7bad 204069d1 call gpio_config_input 
+7bae 20207bb1 branch ui_button_polling 
+
+ui_button_disable:
+7baf 7047fdff jam ui_button_gpio_disable ,mem_ui_button_gpio 
+7bb0 20600000 rtn 
+
+ui_button_polling:
+7bb1 79200025 set1 mark_ext_patch ,mark 
+7bb2 44c2c030 bpatch patch30_5 ,mem_patch30 
+7bb3 6800c7fd fetch 1 ,mem_ui_button_gpio 
+7bb4 c17f8000 rtneq ui_button_gpio_disable 
+7bb5 1fe20400 copy pdata ,temp 
+7bb6 204069e5 call gpio_get_bit 
+7bb7 2420fbc4 nbranch ui_button_up ,true 
+
+ui_button_down:
+7bb8 20407bce call ui_button_check_long_press 
+7bb9 680147f4 fetch 2 ,mem_ui_state_map 
+7bba 79207e0c set1 ui_state_btn_down 
+7bbb 600147f4 store 2 ,mem_ui_state_map 
+7bbc 6800c7eb fetch 1 ,mem_ui_button_last_state 
+7bbd c1000000 rtneq ui_button_state_down 
+7bbe 7047eb00 jam ui_button_state_down ,mem_ui_button_last_state 
+7bbf 6800c7fc fetch 1 ,mem_ui_button_timeout 
+7bc0 6000c7ea store 1 ,mem_ui_button_timer 
+7bc1 20407bd5 call lpm_button_get_wake_lock 
+7bc2 700b7d2c jam bt_evt_button_down ,mem_fifo_temp 
+7bc3 20207c27 branch ui_ipc_send_event 
+
+ui_button_up:
+7bc4 680147f4 fetch 2 ,mem_ui_state_map 
+7bc5 793ffe0c set0 ui_state_btn_down 
+7bc6 600147f4 store 2 ,mem_ui_state_map 
+7bc7 6800c7eb fetch 1 ,mem_ui_button_last_state 
+7bc8 c1008000 rtneq ui_button_state_up 
+7bc9 7047eb01 jam ui_button_state_up ,mem_ui_button_last_state 
+7bca 7047ea00 jam 0 ,mem_ui_button_timer 
+7bcb 20407bd7 call lpm_button_clean_wake_lock 
+7bcc 700b7d2d jam bt_evt_button_up ,mem_fifo_temp 
+7bcd 20207c27 branch ui_ipc_send_event 
+
+ui_button_check_long_press:
+7bce 6800c7ea fetch 1 ,mem_ui_button_timer 
+7bcf 207a0000 rtn blank 
+7bd0 1fe0ffff increase -1 ,pdata 
+7bd1 6000c7ea store 1 ,mem_ui_button_timer 
+7bd2 247a0000 nrtn blank 
+7bd3 700b7d10 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+7bd4 20207c27 branch ui_ipc_send_event 
+
+lpm_button_get_wake_lock:
+7bd5 d8e00007 arg wake_lock_button ,queue 
+7bd6 20203dc2 branch lpm_get_wake_lock 
+
+lpm_button_clean_wake_lock:
+7bd7 d8e00007 arg wake_lock_button ,queue 
+7bd8 20203dc6 branch lpm_put_wake_lock 
+
+ui_led_init:
+7bd9 6800c7f7 fetch 1 ,mem_led_gpio 
+7bda c17f8000 rtneq ui_button_gpio_disable 
+7bdb 98000400 iforce temp 
+7bdc 204069da call gpio_config_output 
+7bdd 20207be2 branch ui_led_off 
+
+ui_led_blink_stop:
+7bde 680147f4 fetch 2 ,mem_ui_state_map 
+7bdf 793ffe0d set0 ui_state_led_blink 
+7be0 600147f4 store 2 ,mem_ui_state_map 
+7be1 7047e900 jam ui_led_stop ,mem_led_switch 
+
+ui_led_off:
+7be2 680147f4 fetch 2 ,mem_ui_state_map 
+7be3 793ffe0e set0 ui_state_led_on 
+7be4 600147f4 store 2 ,mem_ui_state_map 
+7be5 6808c7f7 fetcht 1 ,mem_led_gpio 
+7be6 202069ed branch gpio_out_inactive 
+
+ui_led_on:
+7be7 680147f4 fetch 2 ,mem_ui_state_map 
+7be8 79207e0e set1 ui_state_led_on 
+7be9 600147f4 store 2 ,mem_ui_state_map 
+7bea 7047e900 jam ui_led_stop ,mem_led_switch 
+7beb 6808c7f7 fetcht 1 ,mem_led_gpio 
+7bec 202069ef branch gpio_out_active 
+
+ui_led_blink_start:
+7bed 680147f4 fetch 2 ,mem_ui_state_map 
+7bee 79207e0d set1 ui_state_led_blink 
+7bef 600147f4 store 2 ,mem_ui_state_map 
+7bf0 7047e901 jam ui_led_start ,mem_led_switch 
+7bf1 20600000 rtn 
+
+ui_led_blink_polling:
+7bf2 79200025 set1 mark_ext_patch ,mark 
+7bf3 44c34030 bpatch patch30_6 ,mem_patch30 
+7bf4 6800c7e9 fetch 1 ,mem_led_switch 
+7bf5 c1000000 rtneq ui_led_stop 
+7bf6 d8e00009 arg ui_led_blink ,queue 
+7bf7 20407e53 call timer_check 
+7bf8 247a0000 nrtn blank 
+7bf9 6800c7e9 fetch 1 ,mem_led_switch 
+7bfa c0017bff beq ui_led_dark_time ,ui_led_blink_polling_dark 
+7bfb 20407be7 call ui_led_on 
+7bfc 7047e902 jam ui_led_dark_time ,mem_led_switch 
+7bfd 680147fa fetch 2 ,mem_led_light_time 
+7bfe 20207c02 branch ui_led_blink_timer_start 
+
+ui_led_blink_polling_dark:
+7bff 20407be2 call ui_led_off 
+7c00 7047e903 jam ui_led_light_time ,mem_led_switch 
+7c01 680147f8 fetch 2 ,mem_led_dark_time 
+
+ui_led_blink_timer_start:
+7c02 d8e00009 arg ui_led_blink ,queue 
+7c03 20207e4c branch timer_init 
+
+ui_timer_check:
+7c04 79200025 set1 mark_ext_patch ,mark 
+7c05 44c3c030 bpatch patch30_7 ,mem_patch30 
+7c06 da200000 arg 0 ,rega 
+7c07 680a47ec fetcht 4 ,mem_ui_timer_last_btclk 
+7c08 1c422400 copy clkn_bt ,regb 
+
+ui_timer_check_loop:
+7c09 1a427e00 copy regb ,pdata 
+7c0a 184084a0 increase 160 ,temp 
+7c0b 184084a0 increase 160 ,temp 
+7c0c 98467c00 isub temp ,null 
+7c0d 24217c16 nbranch ui_timer_check_end ,positive 
+7c0e 1a20a201 increase 1 ,rega 
+7c0f 1a217e0f and rega ,0x0f ,pdata 
+7c10 243a7c09 nbranch ui_timer_check_loop ,blank 
+7c11 da200000 arg 0 ,rega 
+7c12 20407c1d call ui_timer_check_send_evt 
+
+ui_timer_init:
+7c13 1c427e00 copy clkn_bt ,pdata 
+7c14 600247ec store 4 ,mem_ui_timer_last_btclk 
+7c15 20600000 rtn 
+
+ui_timer_check_end:
+7c16 79200025 set1 mark_ext_patch ,mark 
+7c17 44c44031 bpatch patch31_0 ,mem_patch31 
+7c18 1a227e00 copy rega ,pdata 
+7c19 207a0000 rtn blank 
+7c1a 18408560 increase -160 ,temp 
+7c1b 18408560 increase -160 ,temp 
+7c1c 600a47ec storet 4 ,mem_ui_timer_last_btclk 
+
+ui_timer_check_send_evt:
+7c1d 1fe0fe50 increase bt_evt_timer_init ,pdata 
+7c1e 60008b7d store 1 ,mem_fifo_temp 
+7c1f 20207c27 branch ui_ipc_send_event 
+
+ui_ipc_get_lock:
+7c20 7047dd01 jam 1 ,mem_ipc_lock_bt 
+
+ui_ipc_get_lock_wait:
+7c21 6800c7de fetch 1 ,mem_ipc_lock_c51 
+7c22 243a7c21 nbranch ui_ipc_get_lock_wait ,blank 
+7c23 20600000 rtn 
+
+ui_ipc_put_lock:
+7c24 7047dd00 jam 0 ,mem_ipc_lock_bt 
+7c25 20600000 rtn 
+
+ui_ipc_fifo_out:
+7c26 20207f9f branch fifo_out 
+
+ui_ipc_send_event:
+7c27 79200025 set1 mark_ext_patch ,mark 
+7c28 44c4c031 bpatch patch31_1 ,mem_patch31 
+7c29 6800c132 fetch 1 ,mem_device_option 
+7c2a c1008000 rtneq dvc_op_hci 
+7c2b 20407c20 call ui_ipc_get_lock 
+7c2c 1a227e00 copy rega ,pdata 
+7c2d 600208ab store 4 ,mem_ipc_rega_temp 
+7c2e da2047df arg mem_ipc_fifo_bt2c51 ,rega 
+7c2f 20407f92 call fifo_in 
+7c30 680208ab fetch 4 ,mem_ipc_rega_temp 
+7c31 1fe22200 copy pdata ,rega 
+7c32 20207c24 branch ui_ipc_put_lock 
+
+ui_ipc_send_cmd:
+7c33 79200025 set1 mark_ext_patch ,mark 
+7c34 44c54031 bpatch patch31_2 ,mem_patch31 
+7c35 6800c132 fetch 1 ,mem_device_option 
+7c36 c1008000 rtneq dvc_op_hci 
+7c37 20407c20 call ui_ipc_get_lock 
+7c38 1a227e00 copy rega ,pdata 
+7c39 600208ab store 4 ,mem_ipc_rega_temp 
+7c3a da2047e4 arg mem_ipc_fifo_c512bt ,rega 
+7c3b 20407f92 call fifo_in 
+7c3c 680208ab fetch 4 ,mem_ipc_rega_temp 
+7c3d 1fe22200 copy pdata ,rega 
+7c3e 20207c24 branch ui_ipc_put_lock 
+
+ui_ipc_clean_all_fifo:
+7c3f 79200025 set1 mark_ext_patch ,mark 
+7c40 44c5c031 bpatch patch31_3 ,mem_patch31 
+7c41 58000000 setarg 0 
+7c42 6002c7e4 store util_fifo_len ,mem_ipc_fifo_c512bt 
+7c43 6002c7df store util_fifo_len ,mem_ipc_fifo_bt2c51 
+7c44 20600000 rtn 
+
+check_51cmd:
+7c45 79200025 set1 mark_ext_patch ,mark 
+7c46 44c64031 bpatch patch31_4 ,mem_patch31 
+7c47 6800c272 fetch 1 ,mem_hci_cmd 
+7c48 247a0000 nrtn blank 
+7c49 da2047e4 arg mem_ipc_fifo_c512bt ,rega 
+7c4a 20407fac call fifo_is_empty 
+7c4b 207a0000 rtn blank 
+7c4c 7008aa00 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+7c4d 20407c51 call check_51cmd_once 
+7c4e 680088aa fetch 1 ,mem_ipc_skip_continue_proc 
+7c4f 203a7c45 branch check_51cmd ,blank 
+7c50 20600000 rtn 
+
+check_51cmd_once:
+7c51 79200025 set1 mark_ext_patch ,mark 
+7c52 44c6c031 bpatch patch31_5 ,mem_patch31 
+7c53 20407c20 call ui_ipc_get_lock 
+7c54 da2047e4 arg mem_ipc_fifo_c512bt ,rega 
+7c55 20407f9f call fifo_out 
+7c56 1fe20400 copy pdata ,temp 
+7c57 20407c24 call ui_ipc_put_lock 
+7c58 18427e00 copy temp ,pdata 
+7c59 207a0000 rtn blank 
+7c5a c000fc97 beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+7c5b c0017c9c beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+7c5c c001fca2 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+7c5d c003fca7 beq bt_cmd_enter_sniff_subrating ,check_51cmd_enter_sniff_subrating 
+7c5e c0047ca8 beq bt_cmd_exit_sniff_subrating ,check_51cmd_exit_sniff_subrating 
+7c5f c004fca9 beq bt_cmd_sniff_test ,check_51cmd_sniff_test 
+7c60 c005fcac beq bt_cmd_start_inquiry ,check_51cmd_inq 
+7c61 c0067cad beq bt_cmd_stop_inquiry ,check_51cmd_stop_inq 
+7c62 c006fcae beq bt_cmd_start_adv ,check_51cmd_adv 
+7c63 c0077cb1 beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+7c64 c007fcb3 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+7c65 c0087cb6 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+7c66 c0097cbb beq bt_cmd_le_update_conn ,check_51cmd_le_update_conn 
+7c67 c00afbed beq bt_cmd_led_blink ,ui_led_blink_start 
+7c68 c00a7be7 beq bt_cmd_led_on ,ui_led_on 
+7c69 c009fbde beq bt_cmd_led_off ,ui_led_blink_stop 
+7c6a c00b7cbc beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+7c6b c00bfcc1 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+7c6c c00c7cc3 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+7c6d c00cfcc8 beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+7c6e c00dfcc6 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+7c6f c00e7cd3 beq bt_cmd_le_start_write ,check_51cmd_le_start_write 
+7c70 c00f7cd5 beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+7c71 60008b7d store 1 ,mem_fifo_temp 
+7c72 79200025 set1 mark_ext_patch ,mark 
+7c73 44c74031 bpatch patch31_6 ,mem_patch31 
+7c74 6800807c fetch 1 ,mem_lmo_opcode2 
+7c75 203a7c79 branch check_51cmd_once_continue ,blank 
+7c76 204061d9 call lmo_fifo_process 
+7c77 6800807c fetch 1 ,mem_lmo_opcode2 
+7c78 243a7c8c nbranch check_51cmd_restore ,blank 
+
+check_51cmd_once_continue:
+7c79 68008b7d fetch 1 ,mem_fifo_temp 
+7c7a c584fc87 bmark0 mark_context ,check_51cmd_check_idle 
+
+check_51cmd_once_continue0:
+7c7b c002ca19 beq bt_cmd_enter_sniff ,cmd_in_sniff 
+7c7c c0034a28 beq bt_cmd_exit_sniff ,cmd_exit_sniff 
+7c7d c0057caa beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+7c7e c0027ca4 beq bt_cmd_disconnect ,check_51cmd_disconnect 
+7c7f c008fcb8 beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+7c80 c00efc8e beq bt_cmd_role_switch ,check_51cmd_role_switch 
+7c81 c00fe90c beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+7c82 c0106910 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+7c83 c0097c85 beq bt_cmd_le_update_conn ,bt_cmd_le_update_conn_1 
+7c84 20600000 rtn 
+
+bt_cmd_le_update_conn_1:
+7c85 700b7d2f jam xt_ll_connection_param_req ,mem_fifo_temp 
+7c86 20205620 branch le_xtype_fifo_in 
+
+check_51cmd_check_idle:
+7c87 60008b7d store 1 ,mem_fifo_temp 
+7c88 204032ee call context_check_idle 
+7c89 2022fc8c branch check_51cmd_restore ,zero 
+7c8a 204032f9 call context_search_plap 
+7c8b 24628000 nrtn zero 
+
+check_51cmd_restore:
+7c8c 7008aa01 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+7c8d 20207c33 branch ui_ipc_send_cmd 
+
+check_51cmd_role_switch:
+7c8e 70007c34 jam lmp_slot_offset ,mem_lmo_opcode2 
+7c8f 79200003 set1 mark_switch_initiated ,mark 
+7c90 24748000 nrtn master 
+7c91 70474800 jam switch_flag_init ,mem_switch_flag 
+7c92 70007c13 jam lmp_switch_req ,mem_lmo_opcode2 
+7c93 68008177 fetch 1 ,mem_connection_options 
+7c94 793ffe02 set0 connection_switch ,pdata 
+7c95 60008177 store 1 ,mem_connection_options 
+7c96 20600000 rtn 
+
+check_51cmd_start_discovery:
+7c97 680147f4 fetch 2 ,mem_ui_state_map 
+7c98 79207e06 set1 ui_state_bt_discovery 
+7c99 600147f4 store 2 ,mem_ui_state_map 
+7c9a 70413303 jam 3 ,mem_scan_mode 
+7c9b 20600000 rtn 
+
+check_51cmd_stop_discovery:
+7c9c 7047f200 jam 0 ,mem_hid_handshake_timer_count 
+7c9d 70413300 jam 0 ,mem_scan_mode 
+7c9e 680147f4 fetch 2 ,mem_ui_state_map 
+7c9f 793ffe06 set0 ui_state_bt_discovery 
+7ca0 600147f4 store 2 ,mem_ui_state_map 
+7ca1 20600000 rtn 
+
+check_51cmd_reconnect:
+7ca2 70427205 jam hci_cmd_create_conn ,mem_hci_cmd 
+7ca3 20600000 rtn 
+
+check_51cmd_disconnect:
+7ca4 70007c07 jam lmp_detach ,mem_lmo_opcode2 
+7ca5 70044613 jam other_end_terminated ,mem_disconn_reason_send 
+7ca6 20600000 rtn 
+
+check_51cmd_enter_sniff_subrating:
+7ca7 20600000 rtn 
+
+check_51cmd_exit_sniff_subrating:
+7ca8 20600000 rtn 
+
+check_51cmd_sniff_test:
+7ca9 20600000 rtn 
+
+check_51cmd_pincode:
+7caa 70045002 jam pincode_state_pincode_ready ,mem_pincode_state 
+7cab 202049da branch cmd_pair 
+
+check_51cmd_inq:
+7cac 20600000 rtn 
+
+check_51cmd_stop_inq:
+7cad 20600000 rtn 
+
+check_51cmd_adv:
+7cae 7043d801 jam on ,mem_le_adv_enable 
+7caf 7044db00 jam adv_ind ,mem_le_adv_type 
+7cb0 20600000 rtn 
+
+check_51cmd_stop_adv:
+7cb1 7043d800 jam off ,mem_le_adv_enable 
+7cb2 20600000 rtn 
+
+check_51cmd_direct_adv:
+7cb3 7043d801 jam on ,mem_le_adv_enable 
+7cb4 7044db01 jam adv_direct_ind ,mem_le_adv_type 
+7cb5 20600000 rtn 
+
+check_51cmd_stop_direct_adv:
+7cb6 7043d800 jam off ,mem_le_adv_enable 
+7cb7 20600000 rtn 
+
+check_51cmd_le_disconnect:
+7cb8 58000001 setarg 1 
+7cb9 600103ef store 2 ,mem_le_superto 
+7cba 20600000 rtn 
+
+check_51cmd_le_update_conn:
+7cbb 20600000 rtn 
+
+check_51cmd_le_start_con:
+7cbc 7043d201 jam on ,mem_le_scan_enable 
+7cbd 7042721b jam hci_cmd_le_create_conn ,mem_hci_cmd 
+7cbe 68030268 fetch 6 ,mem_app_peer_addr 
+7cbf 600344e7 store 6 ,mem_le_conn_peer_addr 
+7cc0 20600000 rtn 
+
+check_51cmd_start_scan:
+7cc1 7043d201 jam on ,mem_le_scan_enable 
+7cc2 20600000 rtn 
+
+check_51cmd_stop_scan:
+7cc3 7043d200 jam off ,mem_le_scan_enable 
+7cc4 70427200 jam 0 ,mem_hci_cmd 
+7cc5 20600000 rtn 
+
+check_51cmd_le_smp_sec_req:
+7cc6 700b7d4b jam xt_smp_security_request ,mem_fifo_temp 
+7cc7 20205620 branch le_xtype_fifo_in 
+
+check_51cmd_hibernate:
+7cc8 79200025 set1 mark_ext_patch ,mark 
+7cc9 44c7c031 bpatch patch31_7 ,mem_patch31 
+7cca 68014288 fetch 2 ,mem_cb_before_hibernate 
+7ccb 20407f66 call callback_func 
+7ccc 6800c7fd fetch 1 ,mem_ui_button_gpio 
+7ccd c07ffcd0 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+7cce 1fe20400 copy pdata ,temp 
+7ccf 204069d1 call gpio_config_input 
+
+check_51cmd_hibernate_btn_disabled:
+7cd0 20407be2 call ui_led_off 
+7cd1 20407c3f call ui_ipc_clean_all_fifo 
+7cd2 20203ccd branch lpm_hibernate 
+
+check_51cmd_le_start_write:
+7cd3 7046f801 jam 1 ,mem_le_switch_send_data 
+7cd4 20600000 rtn 
+
+check_51cmd_bb_reconn_cancel:
+7cd5 18000e04 force page_length_timer ,queue 
+7cd6 20207e4b branch timer_stop 
+
+ui_check_paring_button:
+7cd7 6800c7f4 fetch 1 ,mem_ui_state_map 
+7cd8 c4060000 rtnbit0 ui_state_btn_down 
+7cd9 c4038000 rtnbit0 ui_state_bt_reconnect 
+7cda 20207cd5 branch check_51cmd_bb_reconn_cancel 
+
+usb_isr:
+7cdb 79200025 set1 mark_ext_patch ,mark 
+7cdc 44eac03a bpatch patch3a_5 ,mem_patch3a 
+7cdd 20407df3 call usb_tx_test 
+7cde 68108c26 hfetch 1 ,core_usb_status 
+7cdf 600088af store 1 ,mem_usb_status 
+7ce0 68108c27 hfetch 1 ,core_usb_fifo_empty 
+7ce1 600088b0 store 1 ,mem_usb_fifo_empty 
+7ce2 708c26e0 hjam 0xe0 ,core_usb_status 
+7ce3 680088b0 fetch 1 ,mem_usb_fifo_empty 
+7ce4 2fe00201 compare 0x1 ,pdata ,0x1 
+7ce5 2040fd3a call usb0_fifo_empty ,true 
+7ce6 79200025 set1 mark_ext_patch ,mark 
+7ce7 44eb403a bpatch patch3a_6 ,mem_patch3a 
+7ce8 680088af fetch 1 ,mem_usb_status 
+7ce9 2fe00201 compare 0x1 ,pdata ,0x1 
+7cea 2040fcf8 call usb_status1 ,true 
+7ceb 680088f8 fetch 1 ,mem_usb_state 
+7cec c0817dc2 bne usb_connected ,usb_tx 
+7ced 680108f9 fetch 2 ,mem_usb_idle_cnt 
+7cee 1fe0fe01 increase 1 ,pdata 
+7cef 600108f9 store 2 ,mem_usb_idle_cnt 
+7cf0 680908fb fetcht 2 ,mem_usb_idle_timeout 
+7cf1 98467c00 isub temp ,null 
+7cf2 20217db2 branch usb_init ,positive 
+7cf3 680088af fetch 1 ,mem_usb_status 
+7cf4 c3037dc2 bbit0 usb_status_nak ,usb_tx 
+7cf5 58000000 setarg 0 
+7cf6 600108f9 store 2 ,mem_usb_idle_cnt 
+7cf7 20207dc2 branch usb_tx 
+
+usb_status1:
+7cf8 79200025 set1 mark_ext_patch ,mark 
+7cf9 44ebc03a bpatch patch3a_7 ,mem_patch3a 
+7cfa 708c2611 hjam 0x11 ,core_usb_status 
+7cfb 68108c20 hfetch 1 ,core_usb_ep_len 
+7cfc 600088b1 store 1 ,mem_usb_read_len 
+7cfd 1fe27200 copy pdata ,loopcnt 
+7cfe 203a7d18 branch usb_rx_no_data ,blank 
+7cff d8a008ff arg mem_usb_setup ,contw 
+7d00 20407d36 call usb_rx_read 
+7d01 680088b1 fetch 1 ,mem_usb_read_len 
+7d02 1fe67c07 sub pdata ,7 ,null 
+7d03 20610000 rtn positive 
+
+usb_class_type:
+7d04 79200025 set1 mark_ext_patch ,mark 
+7d05 44ec403b bpatch patch3b_0 ,mem_patch3b 
+7d06 680088ff fetch 1 ,mem_usb_setup_bmrequesttype 
+7d07 c0107d16 beq hci_class_request_type ,usb_hci_class_req_type 
+7d08 c010fd22 beq hid_class_request_type ,usb_hid_class_req_type 
+7d09 c0007d10 beq zero_class_request_type ,usb_zero_class_req_type 
+7d0a 68008900 fetch 1 ,mem_usb_setup_brequest 
+7d0b c002fd9b beq set_address ,usb0_request_set_address 
+7d0c c0037d3d beq get_descriptor ,usb0_request_get_descriptor 
+7d0d c004fd98 beq set_configuration ,usb0_request_set_configuration 
+7d0e c005fda2 beq set_interface ,usb0_request_set_interface 
+7d0f 20207d32 branch usb0_force_stall 
+
+usb_zero_class_req_type:
+7d10 68008900 fetch 1 ,mem_usb_setup_brequest 
+7d11 c000fdaf beq clear_feature ,usb0_request_clear_feature 
+7d12 c001fdab beq set_feature ,usb0_request_set_feature 
+7d13 c004fd34 beq set_configuration ,usb0_reply_zerolen 
+7d14 c002fd9b beq set_address ,usb0_request_set_address 
+7d15 20207d32 branch usb0_force_stall 
+
+usb_hci_class_req_type:
+7d16 20407d34 call usb0_reply_zerolen 
+7d17 20600000 rtn 
+
+usb_rx_no_data:
+7d18 680088af fetch 1 ,mem_usb_status 
+7d19 c2827d04 bbit1 usb_status_setup ,usb_class_type 
+7d1a 20600000 rtn 
+
+usb_set_protocol_req:
+7d1b 680088f6 fetch 1 ,mem_usb_set_protocol_count 
+7d1c 1fe0fe01 increase 1 ,pdata 
+7d1d 600088f6 store 1 ,mem_usb_set_protocol_count 
+7d1e 2fe1fe02 compare 2 ,pdata ,0xff 
+7d1f 2420fd34 nbranch usb0_reply_zerolen ,true 
+7d20 7008f701 jam 1 ,mem_usb_desc 
+7d21 20207d34 branch usb0_reply_zerolen 
+
+usb_hid_class_req_type:
+7d22 68008900 fetch 1 ,mem_usb_setup_brequest 
+7d23 c0057d27 beq set_idle ,usb_set_idle 
+7d24 c004fd2e beq set_report ,usb_set_report 
+7d25 c005fd1b beq set_protocol ,usb_set_protocol_req 
+7d26 20207d32 branch usb0_force_stall 
+
+usb_set_idle:
+7d27 680088f8 fetch 1 ,mem_usb_state 
+7d28 c002fd2c beq usb_setidle_1 ,usb_set_idle_connected 
+7d29 c0827d34 bne usb_resume ,usb0_reply_zerolen 
+7d2a 7008f805 jam usb_setidle_1 ,mem_usb_state 
+7d2b 20207d34 branch usb0_reply_zerolen 
+
+usb_set_idle_connected:
+7d2c 7008f802 jam usb_connected ,mem_usb_state 
+7d2d 20207d34 branch usb0_reply_zerolen 
+
+usb_set_report:
+7d2e 7008f701 jam 1 ,mem_usb_desc 
+7d2f da2008f7 arg mem_usb_desc ,rega 
+7d30 da400001 arg 1 ,regb 
+7d31 20207d65 branch usb0_respond 
+
+usb0_force_stall:
+7d32 708c1101 hjam 1 ,core_usb_stall 
+7d33 20600000 rtn 
+
+usb0_reply_zerolen:
+7d34 708c1240 hjam 0x40 ,core_usb_clear 
+7d35 20600000 rtn 
+
+usb_rx_read:
+7d36 68108c18 hfetch 1 ,core_usb_ep 
+7d37 e0a08000 istore 1 ,contw 
+7d38 c2007d36 loop usb_rx_read 
+7d39 20600000 rtn 
+
+usb0_fifo_empty:
+7d3a 708c2701 hjam 0x1 ,core_usb_fifo_empty 
+7d3b 20407d7c call usb0_tx 
+7d3c 20600000 rtn 
+
+usb0_request_get_descriptor:
+7d3d 79200025 set1 mark_ext_patch ,mark 
+7d3e 44ecc03b bpatch patch3b_1 ,mem_patch3b 
+7d3f 793f8023 set0 mark_isstr ,mark 
+7d40 68008902 fetch 1 ,mem_usb_setup_bvalueh 
+7d41 c000fd47 beq dsc_device ,dsc_device_info 
+7d42 c0017d49 beq dsc_config ,dsc_config_info 
+7d43 c001fd4b beq dsc_string ,dsc_string_info 
+7d44 c010fd57 beq dsc_hid ,dsc_hid_info 
+7d45 c0117d5b beq dsc_hid_report ,dsc_hid_report_info 
+7d46 20600000 rtn 
+
+dsc_device_info:
+7d47 da200912 arg mem_devicedesc ,rega 
+7d48 20207d62 branch usb0_respond_length 
+
+dsc_config_info:
+7d49 da200ab6 arg mem_confdesc ,rega 
+7d4a 20207d62 branch usb0_respond_length 
+
+dsc_string_info:
+7d4b 68008901 fetch 1 ,mem_usb_setup_bvalue 
+7d4c 1fe17e03 and_into 3 ,pdata 
+7d4d da200b1a arg mem_string0 ,rega 
+7d4e c0007d62 beq 0 ,usb0_respond_length 
+7d4f 79200023 set1 mark_isstr ,mark 
+7d50 da200b1f arg mem_string1 ,rega 
+7d51 c000fd62 beq 1 ,usb0_respond_length 
+7d52 da200b3d arg mem_string2 ,rega 
+7d53 c0017d62 beq 2 ,usb0_respond_length 
+7d54 da200b5b arg mem_string3 ,rega 
+7d55 c001fd62 beq 3 ,usb0_respond_length 
+7d56 20203bf1 branch assert 
+
+dsc_hid_info:
+7d57 da200ac8 arg mem_confdesc + 18 ,rega 
+7d58 68008ac8 fetch 1 ,mem_confdesc + 18 
+7d59 1fe22400 copy pdata ,regb 
+7d5a 20207d65 branch usb0_respond 
+
+dsc_hid_report_info:
+7d5b 68010903 fetch 2 ,mem_usb_setup_windex 
+7d5c c000fd5f beq 1 ,dsc_hid_report_info0 
+7d5d da200926 arg mem_hidreportdesc_kb ,rega 
+7d5e 20207d62 branch usb0_respond_length 
+
+dsc_hid_report_info0:
+7d5f 7008f801 jam usb_got_report_req ,mem_usb_state 
+7d60 da2009ee arg mem_hidreportdesc_m ,rega 
+7d61 20207d62 branch usb0_respond_length 
+
+usb0_respond_length:
+7d62 ea208000 ifetch 1 ,rega 
+7d63 98002400 iforce regb 
+7d64 1a20a201 increase 1 ,rega 
+
+usb0_respond:
+7d65 79200025 set1 mark_ext_patch ,mark 
+7d66 44ed403b bpatch patch3b_2 ,mem_patch3b 
+7d67 c591fd71 bmark0 mark_isstr ,usb0_respond0 
+7d68 1a40fe01 add regb ,1 ,pdata 
+7d69 1fe3fe00 lshift pdata ,pdata 
+7d6a 60108c18 hstore 1 ,core_usb_dfifo0 
+7d6b 708c1803 hjam 3 ,core_usb_dfifo0 
+7d6c 68008905 fetch 1 ,mem_usb_setup_blength 
+7d6d 1fe0fffe increase -2 ,pdata 
+7d6e 1fe37e00 rshift pdata ,pdata 
+7d6f 60008905 store 1 ,mem_usb_setup_blength 
+7d70 c0007d7a beq 0 ,usb_no_respond_data 
+
+usb0_respond0:
+7d71 68008905 fetch 1 ,mem_usb_setup_blength 
+7d72 9a467c00 isub regb ,null 
+7d73 20217d75 branch usb0_respond1 ,positive 
+7d74 1fe22400 copy pdata ,regb 
+
+usb0_respond1:
+7d75 1a227e00 copy rega ,pdata 
+7d76 6001090f store 2 ,mem_bufptr 
+7d77 1a427e00 copy regb ,pdata 
+7d78 60008911 store 1 ,mem_remain 
+7d79 20207d7c branch usb0_tx 
+
+usb_no_respond_data:
+7d7a d8e00000 arg 0 ,queue 
+7d7b 20207dd5 branch usb_trig 
+
+usb0_tx:
+7d7c 79200025 set1 mark_ext_patch ,mark 
+7d7d 44edc03b bpatch patch3b_3 ,mem_patch3b 
+7d7e 68008911 fetch 1 ,mem_remain 
+7d7f 207a0000 rtn blank 
+7d80 1fe27200 copy pdata ,loopcnt 
+7d81 1fe67c40 sub pdata ,ep0_packet_size ,null 
+7d82 20217d84 branch usb0_tx_info ,positive 
+7d83 df200040 arg ep0_packet_size ,loopcnt 
+
+usb0_tx_info:
+7d84 68008911 fetch 1 ,mem_remain 
+7d85 9f267e00 isub loopcnt ,pdata 
+7d86 60008911 store 1 ,mem_remain 
+7d87 6801090f fetch 2 ,mem_bufptr 
+7d88 1fe20c00 copy pdata ,contr 
+
+usb0_tx0:
+7d89 e8c08000 ifetch 1 ,contr 
+7d8a 60108c18 hstore 1 ,core_usb_dfifo0 
+7d8b c591fd8d bmark0 mark_isstr ,usb0_tx1 
+7d8c 708c1800 hjam 0 ,core_usb_dfifo0 
+
+usb0_tx1:
+7d8d c2007d89 loop usb0_tx0 
+7d8e 18c27e00 copy contr ,pdata 
+7d8f 6001090f store 2 ,mem_bufptr 
+7d90 d8e00000 arg 0 ,queue 
+7d91 20407dd5 call usb_trig 
+7d92 68008911 fetch 1 ,mem_remain 
+7d93 247a0000 nrtn blank 
+7d94 680088f8 fetch 1 ,mem_usb_state 
+7d95 c1808000 rtnne usb_got_report_req 
+7d96 7008f802 jam usb_connected ,mem_usb_state 
+7d97 20600000 rtn 
+
+usb0_request_set_configuration:
+7d98 68008901 fetch 1 ,mem_usb_setup_bvalue 
+7d99 1fe67c01 sub pdata ,1 ,null 
+7d9a 24217d32 nbranch usb0_force_stall ,positive 
+
+usb0_request_set_address:
+7d9b 680088ff fetch 1 ,mem_usb_setup_bmrequesttype 
+7d9c c0807d32 bne in_device ,usb0_force_stall 
+7d9d 68010903 fetch 2 ,mem_usb_setup_windex 
+7d9e c0807d32 bne 0 ,usb0_force_stall 
+7d9f 68008905 fetch 1 ,mem_usb_setup_blength 
+7da0 c0807d32 bne 0 ,usb0_force_stall 
+7da1 20207d34 branch usb0_reply_zerolen 
+
+usb0_request_set_interface:
+7da2 680088ff fetch 1 ,mem_usb_setup_bmrequesttype 
+7da3 c080fd32 bne in_interface ,usb0_force_stall 
+7da4 68008901 fetch 1 ,mem_usb_setup_bvalue 
+7da5 c0807d32 bne 0 ,usb0_force_stall 
+7da6 68008902 fetch 1 ,mem_usb_setup_bvalueh 
+7da7 c0807d32 bne 0 ,usb0_force_stall 
+7da8 68008905 fetch 1 ,mem_usb_setup_blength 
+7da9 c0807d32 bne 0 ,usb0_force_stall 
+7daa 20207d34 branch usb0_reply_zerolen 
+
+usb0_request_set_feature:
+7dab 68008901 fetch 1 ,mem_usb_setup_bvalue 
+7dac c080fd32 bne 1 ,usb0_force_stall 
+7dad 7008f803 jam usb_sleep ,mem_usb_state 
+7dae 20207d34 branch usb0_reply_zerolen 
+
+usb0_request_clear_feature:
+7daf 68008901 fetch 1 ,mem_usb_setup_bvalue 
+7db0 c080fd32 bne 1 ,usb0_force_stall 
+7db1 20207d34 branch usb0_reply_zerolen 
+
+usb_init:
+7db2 79200025 set1 mark_ext_patch ,mark 
+7db3 44ee403b bpatch patch3b_4 ,mem_patch3b 
+7db4 708c0000 hjam 0x00 ,core_usb_config 
+7db5 20002710 nop 10000 
+7db6 708c10c0 hjam 0xc0 ,core_usb_trig 
+7db7 68110050 hfetch 2 ,core_clkoff 
+7db8 793ffe0a set0 clock_off_usb ,pdata 
+7db9 60110050 hstore 2 ,core_clkoff 
+7dba 708c003c hjam 0x3c ,core_usb_config 
+7dbb 708c26ff hjam 0xff ,core_usb_status 
+7dbc 708c27ff hjam 0xff ,core_usb_fifo_empty 
+7dbd 700ff000 jam 0 ,mem_mcmd 
+7dbe 7008f800 jam 0 ,mem_usb_state 
+7dbf 58000000 setarg 0 
+7dc0 600108f9 store 2 ,mem_usb_idle_cnt 
+7dc1 20600000 rtn 
+
+usb_tx:
+7dc2 79200025 set1 mark_ext_patch ,mark 
+7dc3 44eec03b bpatch patch3b_5 ,mem_patch3b 
+7dc4 68008ff0 fetch 1 ,mem_mcmd 
+7dc5 207a0000 rtn blank 
+7dc6 680088f8 fetch 1 ,mem_usb_state 
+7dc7 c001fdec beq usb_sleep ,usb_wakeup 
+7dc8 c1810000 rtnne usb_connected 
+7dc9 68008ff0 fetch 1 ,mem_mcmd 
+7dca 700ff000 jam 0 ,mem_mcmd 
+7dcb df200006 arg 6 ,loopcnt 
+7dcc d8c00ff1 arg mem_mouse_data ,contr 
+7dcd c0017dd0 beq send_kb_data_cmd ,usb_tx_ep1 
+7dce c000fde9 beq send_mouse_data_cmd ,usb_tx_ep2 
+7dcf 20203bf1 branch assert 
+
+usb_tx_ep1:
+7dd0 da208c19 arg core_usb_dfifo1 ,rega 
+7dd1 d8e00001 arg 1 ,queue 
+
+usb_tx_loop:
+7dd2 e8c08000 ifetch 1 ,contr 
+7dd3 e2208000 istore 1 ,rega 
+7dd4 c2007dd2 loop usb_tx_loop 
+
+usb_trig:
+7dd5 79200025 set1 mark_ext_patch ,mark 
+7dd6 44ef403b bpatch patch3b_6 ,mem_patch3b 
+7dd7 78487c00 disable swfine 
+7dd8 680108fd fetch 2 ,mem_usb_trig_timeout 
+7dd9 98003600 iforce stop_watch 
+7dda 708c2640 hjam 0x40 ,core_usb_status 
+
+usb_trig_waitnak_loop:
+7ddb 68108c26 hfetch 1 ,core_usb_status 
+7ddc 2021fdb2 branch usb_init ,timeout 
+7ddd c3037ddb bbit0 usb_status_nak ,usb_trig_waitnak_loop 
+7dde 680108fd fetch 2 ,mem_usb_trig_timeout 
+7ddf 98003600 iforce stop_watch 
+7de0 d8400000 arg 0 ,temp 
+7de1 f9200400 qset1 temp 
+7de2 60188c27 hstoret 1 ,core_usb_fifo_empty 
+
+usb_trig_loop:
+7de3 2021fdb2 branch usb_init ,timeout 
+7de4 60188c10 hstoret 1 ,core_usb_trig 
+7de5 68108c27 hfetch 1 ,core_usb_fifo_empty 
+7de6 afec0000 qisolate0 pdata 
+7de7 2020fde3 branch usb_trig_loop ,true 
+7de8 20600000 rtn 
+
+usb_tx_ep2:
+7de9 d8e00002 arg 2 ,queue 
+7dea da208c1a arg core_usb_dfifo2 ,rega 
+7deb 20207dd2 branch usb_tx_loop 
+
+usb_wakeup:
+7dec 79200025 set1 mark_ext_patch ,mark 
+7ded 44efc03b bpatch patch3b_7 ,mem_patch3b 
+7dee 708c00fc hjam 0xfc ,core_usb_config 
+7def 20002710 nop 10000 
+7df0 708c003c hjam 0x3c ,core_usb_config 
+7df1 7008f804 jam usb_resume ,mem_usb_state 
+7df2 20600000 rtn 
+
+usb_tx_test:
+7df3 68008ff0 fetch 1 ,mem_mcmd 
+7df4 247a0000 nrtn blank 
+7df5 680108f2 fetch 2 ,mem_usb_cnt 
+7df6 207a0000 rtn blank 
+7df7 1fe0ffff increase -1 ,pdata 
+7df8 600108f2 store 2 ,mem_usb_cnt 
+7df9 700ff001 jam send_mouse_data_cmd ,mem_mcmd 
+7dfa 20600000 rtn 
+
+right_shift_n:
+7dfb 1f267c00 sub loopcnt ,0 ,null 
+7dfc 20628000 rtn zero 
+
+right_shift_n_loop:
+7dfd 1fe37e00 rshift pdata ,pdata 
+7dfe c2007dfd loop right_shift_n_loop 
+7dff 20600000 rtn 
+
+push_stack:
+7e00 18a27e00 deposit contw 
+7e01 600102b9 store 2 ,mem_contw 
+7e02 600c02a0 storet 8 ,mem_temp 
+7e03 19627e00 deposit timeup 
+7e04 600202a8 store 4 ,mem_timeup 
+7e05 1a227e00 deposit rega 
+7e06 600202ac store 4 ,mem_rega 
+7e07 1a427e00 deposit regb 
+7e08 600202b0 store 4 ,mem_regb 
+7e09 1a627e00 deposit regc 
+7e0a 600182b4 store 3 ,mem_regc 
+7e0b 18c27e00 deposit contr 
+7e0c 600102b7 store 2 ,mem_contr 
+7e0d 20600000 rtn 
+
+pop_stack:
+7e0e 680c02a0 fetcht 8 ,mem_temp 
+7e0f 680202a8 fetch 4 ,mem_timeup 
+7e10 98001600 iforce timeup 
+7e11 680202ac fetch 4 ,mem_rega 
+7e12 98002200 iforce rega 
+7e13 680202b0 fetch 4 ,mem_regb 
+7e14 98002400 iforce regb 
+7e15 680182b4 fetch 3 ,mem_regc 
+7e16 98002600 iforce regc 
+7e17 680102b9 fetch 2 ,mem_contw 
+7e18 98000a00 iforce contw 
+7e19 680102b7 fetch 2 ,mem_contr 
+7e1a 98000c00 iforce contr 
+7e1b 20600000 rtn 
+
+save_cont_pointers:
+7e1c 18a27e00 copy contw ,pdata 
+7e1d 60010b7b store 2 ,mem_hold_contw 
+7e1e 18c27e00 copy contr ,pdata 
+7e1f 60010b79 store 2 ,mem_hold_contr 
+7e20 20600000 rtn 
+
+load_cont_pointers:
+7e21 68010b7b fetch 2 ,mem_hold_contw 
+7e22 1fe20a00 copy pdata ,contw 
+7e23 68010b79 fetch 2 ,mem_hold_contr 
+7e24 1fe20c00 copy pdata ,contr 
+7e25 20600000 rtn 
+
+delay_10ms:
+7e26 1c427e00 copy clkn_bt ,pdata 
+7e27 1fe0fe10 increase 16 ,pdata 
+7e28 1fe0fe10 increase 16 ,pdata 
+
+delay_ms_wait:
+7e29 1c420400 copy clkn_bt ,temp 
+7e2a 98467c00 isub temp ,null 
+7e2b 20217e29 branch delay_ms_wait ,positive 
+7e2c 20600000 rtn 
+
+memcpy48:
+7e2d e8c40000 ifetch 8 ,contr 
+7e2e e0a40000 istore 8 ,contw 
+7e2f e8c40000 ifetch 8 ,contr 
+7e30 e0a40000 istore 8 ,contw 
+
+memcpy32:
+7e31 e8c40000 ifetch 8 ,contr 
+7e32 e0a40000 istore 8 ,contw 
+
+memcpy24:
+7e33 e8c40000 ifetch 8 ,contr 
+7e34 e0a40000 istore 8 ,contw 
+
+memcpy16:
+7e35 e8c40000 ifetch 8 ,contr 
+7e36 e0a40000 istore 8 ,contw 
+7e37 e8c40000 ifetch 8 ,contr 
+7e38 e0a40000 istore 8 ,contw 
+7e39 20600000 rtn 
+
+bn_zero:
+7e3a 18007203 force 3 ,loopcnt 
+
+memset0:
+7e3b 18007e00 force 0 ,pdata 
+
+memset8:
+7e3c e0a40000 istore 8 ,contw 
+7e3d c2007e3c loop memset8 
+7e3e 20600000 rtn 
+
+clear_mem:
+7e3f 1f227e00 deposit loopcnt 
+7e40 207a0000 rtn blank 
+7e41 58000000 setarg 0 
+
+clear_mem_loop:
+7e42 e0a08000 istore 1 ,contw 
+7e43 c2007e42 loop clear_mem_loop 
+7e44 20600000 rtn 
+
+memcpy:
+7e45 1f227e00 deposit loopcnt 
+7e46 207a0000 rtn blank 
+
+memcpy_loop:
+7e47 e8c08000 ifetch 1 ,contr 
+7e48 e0a08000 istore 1 ,contw 
+7e49 c2007e47 loop memcpy_loop 
+7e4a 20600000 rtn 
+
+timer_stop:
+7e4b 58000000 setarg 0 
+
+timer_init:
+7e4c d8a0423e arg mem_timers ,contw 
+7e4d 98000400 iforce temp 
+7e4e 18e3fe00 lshift queue ,pdata 
+7e4f 98a08a00 iadd contw ,contw 
+7e50 e0a90000 istoret 2 ,contw 
+7e51 20600000 rtn 
+
+timer_reinit:
+7e52 d8e00000 arg 0 ,queue 
+
+timer_check:
+7e53 79200025 set1 mark_ext_patch ,mark 
+7e54 44de4037 bpatch patch37_4 ,mem_patch37 
+7e55 680a4134 fetcht 4 ,mem_last_clkn 
+7e56 1c437e00 rshift clkn_bt ,pdata 
+7e57 60024134 store 4 ,mem_last_clkn 
+7e58 98461600 isub temp ,timeup 
+7e59 19620400 copy timeup ,temp 
+7e5a d8c0423e arg mem_timers ,contr 
+7e5b 18c20a00 copy contr ,contw 
+7e5c df200010 arg 16 ,loopcnt 
+
+timer_loop:
+7e5d e8c10000 ifetch 2 ,contr 
+7e5e 98467e00 isub temp ,pdata 
+7e5f 20217e61 branch timer_counting ,positive 
+7e60 18007e00 force 0 ,pdata 
+
+timer_counting:
+7e61 e0a10000 istore 2 ,contw 
+7e62 c2007e5d loop timer_loop 
+7e63 d8c0423e arg mem_timers ,contr 
+7e64 18e3fe00 lshift queue ,pdata 
+7e65 98c08c00 iadd contr ,contr 
+7e66 e8c10000 ifetch 2 ,contr 
+7e67 20600000 rtn 
+
+lshift8_queue:
+7e68 18e08e01 increase 1 ,queue 
+
+lshift8_queue_loop:
+7e69 18e08fff increase -1 ,queue 
+7e6a 20628000 rtn zero 
+7e6b 1fed7e00 lshift8 pdata ,pdata 
+7e6c 20207e69 branch lshift8_queue_loop 
+
+clk_add:
+7e6d 98408400 iadd temp ,temp 
+7e6e 18427200 copy temp ,loopcnt 
+7e6f 58000ea6 setarg 3750 
+7e70 9f267e00 isub loopcnt ,pdata 
+7e71 20610000 rtn positive 
+7e72 1fe67e00 sub pdata ,0 ,pdata 
+7e73 18510400 rshift16 temp ,temp 
+7e74 18408401 increase 1 ,temp 
+7e75 18500400 lshift16 temp ,temp 
+7e76 98418400 ior temp ,temp 
+7e77 20600000 rtn 
+
+clk_diff_rt:
+7e78 20407e7a call clk_diff 
+7e79 20207e84 branch clk2rt 
+
+clk_diff:
+7e7a 78547c00 disable user 
+7e7b 98467e00 isub temp ,pdata 
+7e7c 20217e7f branch clk_diff_pos ,positive 
+7e7d 78347c00 enable user 
+7e7e 1fe67e00 sub pdata ,0 ,pdata 
+
+clk_diff_pos:
+7e7f c4078000 rtnbit0 15 
+7e80 d85f0ea6 arg -61786 ,temp 
+7e81 9840fe00 iadd temp ,pdata 
+7e82 793ffe40 set0 64 ,pdata 
+7e83 20600000 rtn 
+
+clk2rt:
+7e84 98000c00 iforce contr 
+7e85 1ff17e00 rshift16 pdata ,pdata 
+7e86 d8400ea6 arg 3750 ,temp 
+7e87 984ffe00 imul32 temp ,pdata 
+7e88 98c0fe00 iadd contr ,pdata 
+7e89 20600000 rtn 
+
+clk2lpo:
+7e8a 1fed7e00 lshift8 pdata ,pdata 
+7e8b 1ff27e00 lshift4 pdata ,pdata 
+7e8c 6809c210 fetcht 3 ,mem_clks_per_lpo 
+7e8d 9846fc00 idiv temp 
+7e8e 20407efd call wait_div_end 
+7e8f 18078400 quotient temp 
+7e90 20600000 rtn 
+
+clk2bt:
+7e91 d8400ea6 arg 3750 ,temp 
+7e92 9846fc00 idiv temp 
+7e93 20407efd call wait_div_end 
+7e94 1807fe00 quotient pdata 
+7e95 1ff07e00 lshift16 pdata ,pdata 
+7e96 18070400 remainder temp 
+7e97 98418400 ior temp ,temp 
+7e98 20600000 rtn 
+
+mem3_hex2string_to_uart:
+7e99 df200003 arg 3 ,loopcnt 
+7e9a 20207e9e branch hex2string_to_uart0 
+
+mem2_hex2string_to_uart:
+7e9b df200002 arg 2 ,loopcnt 
+7e9c 20207e9e branch hex2string_to_uart0 
+
+adss_hex2string_to_uart:
+7e9d df200006 arg 6 ,loopcnt 
+
+hex2string_to_uart0:
+7e9e ea208000 ifetch 1 ,rega 
+7e9f 1fe20400 copy pdata ,temp 
+7ea0 1ff1fe00 rshift4 pdata ,pdata 
+7ea1 20407eaa call dialog2uchar 
+7ea2 e1408000 istore 1 ,contwu 
+7ea3 18427e00 copy temp ,pdata 
+7ea4 1fe17e0f and pdata ,0xf ,pdata 
+7ea5 20407eaa call dialog2uchar 
+7ea6 e1408000 istore 1 ,contwu 
+7ea7 1a20a201 increase 1 ,rega 
+7ea8 c2007e9e loop hex2string_to_uart0 
+7ea9 20600000 rtn 
+
+dialog2uchar:
+7eaa 1fe67c09 sub pdata ,9 ,null 
+7eab 20217eae branch dialog2uchar0to9 ,positive 
+7eac 1fe0fe57 increase 87 ,pdata 
+7ead 20600000 rtn 
+
+dialog2uchar0to9:
+7eae 1fe0fe30 add pdata ,0x30 ,pdata 
+7eaf 20600000 rtn 
+
+string2dec_from_uart:
+7eb0 d8400000 arg 0 ,temp 
+
+string2dec_from_uart_done:
+7eb1 18422600 copy temp ,regc 
+7eb2 e8608000 ifetch 1 ,contru 
+7eb3 1fe67c2c sub pdata ,at_comma ,null 
+7eb4 20628000 rtn zero 
+7eb5 20407ec9 call uchar2dialog 
+7eb6 1a620400 copy regc ,temp 
+7eb7 20407f32 call swap 
+7eb8 da40000a arg 10 ,regb 
+7eb9 9a4ffe00 imul32 regb ,pdata 
+7eba 9840fe00 iadd temp ,pdata 
+7ebb 1fe20400 copy pdata ,temp 
+7ebc 20207eb1 branch string2dec_from_uart_done 
+
+mem2_string2hex_from_uart:
+7ebd df200002 arg 2 ,loopcnt 
+7ebe 20207ec0 branch string2hex_from_uart 
+
+adss_string2hex_from_uart:
+7ebf df200006 arg 6 ,loopcnt 
+
+string2hex_from_uart:
+7ec0 e8608000 ifetch 1 ,contru 
+7ec1 20407ec9 call uchar2dialog 
+7ec2 1ff22600 lshift4 pdata ,regc 
+7ec3 e8608000 ifetch 1 ,contru 
+7ec4 20407ec9 call uchar2dialog 
+7ec5 9a60fe00 iadd regc ,pdata 
+7ec6 e0a08000 istore 1 ,contw 
+7ec7 c2007ec0 loop string2hex_from_uart 
+7ec8 20600000 rtn 
+
+uchar2dialog:
+7ec9 d840003a arg 0x3a ,temp 
+7eca 98467c00 isub temp ,null 
+7ecb 24217ed2 nbranch uchar2dialog_number ,positive 
+7ecc d8400061 arg 0x61 ,temp 
+7ecd 98467c00 isub temp ,null 
+7ece 20217ed5 branch uchar2dialog_a2f ,positive 
+7ecf d8400037 arg 0x37 ,temp 
+7ed0 98467e00 isub temp ,pdata 
+7ed1 20600000 rtn 
+
+uchar2dialog_number:
+7ed2 d8400030 arg 0x30 ,temp 
+7ed3 98467e00 isub temp ,pdata 
+7ed4 20600000 rtn 
+
+uchar2dialog_a2f:
+7ed5 d8400057 arg 0x57 ,temp 
+7ed6 98467e00 isub temp ,pdata 
+7ed7 20600000 rtn 
+
+pn9:
+7ed8 18426000 copy temp ,alarm 
+7ed9 580001ff setarg 0x1ff 
+7eda 18002400 force 0 ,regb 
+
+pn9_loop:
+7edb 1fe92200 rshift3 pdata ,rega 
+7edc 1a232200 rshift rega ,rega 
+7edd 9a22a200 ixor rega ,rega 
+7ede 2a2ffe00 isolate1 0 ,rega 
+7edf 7920fe09 setflag true ,9 ,pdata 
+7ee0 18430400 rshift temp ,temp 
+7ee1 2feffe00 isolate1 0 ,pdata 
+7ee2 79208407 setflag true ,7 ,temp 
+7ee3 1fe37e00 rshift pdata ,pdata 
+7ee4 1a40a401 increase 1 ,regb 
+7ee5 2a400e00 compare 0 ,regb ,0x7 
+7ee6 2420fedb nbranch pn9_loop ,true 
+7ee7 e0a88000 istoret 1 ,contw 
+7ee8 c2007edb loop pn9_loop 
+7ee9 1e020400 copy alarm ,temp 
+7eea 20600000 rtn 
+
+bcd_byte:
+7eeb 1fe6fc0a div pdata ,10 
+7eec 20407efd call wait_div_end 
+7eed 1807fe00 quotient pdata 
+7eee 1feba200 lshift2 pdata ,rega 
+7eef 1a2ba200 lshift2 rega ,rega 
+7ef0 18077e00 remainder pdata 
+7ef1 9a21fe00 ior rega ,pdata 
+7ef2 20600000 rtn 
+
+bcd_pack:
+7ef3 2a2ffe00 isolate1 0 ,rega 
+7ef4 2020fef7 branch bcd_pack_hi ,true 
+7ef5 98002400 iforce regb 
+7ef6 20600000 rtn 
+
+bcd_pack_hi:
+7ef7 1febfe00 lshift2 pdata ,pdata 
+7ef8 1febfe00 lshift2 pdata ,pdata 
+7ef9 9a41fe00 ior regb ,pdata 
+7efa e0a08000 istore 1 ,contw 
+7efb 18a08bfe increase -2 ,contw 
+7efc 20600000 rtn 
+
+wait_div_end:
+7efd 207a8000 rtn modone 
+7efe 20207efd branch wait_div_end 
+
+bcd2:
+7eff 60040161 store 8 ,mem_pdatatemp 
+7f00 18007e20 force 0x20 ,pdata 
+7f01 18007208 force 8 ,loopcnt 
+7f02 d8a00028 arg mem_bcd ,contw 
+
+lpo_clear:
+7f03 e0a08000 istore 1 ,contw 
+7f04 c2007f03 loop lpo_clear 
+7f05 d8a00028 arg mem_bcd ,contw 
+7f06 18a08a07 increase 7 ,contw 
+7f07 68040161 fetch 8 ,mem_pdatatemp 
+
+bcd_loop:
+7f08 1fe6fc0a div pdata ,10 
+7f09 20407efd call wait_div_end 
+7f0a 18077e00 remainder pdata 
+7f0b 1fe1fe30 or_into 0x30 ,pdata 
+7f0c e0a08000 istore 1 ,contw 
+7f0d 18a08bfe increase -2 ,contw 
+7f0e 1807fe00 quotient pdata 
+7f0f 207a0000 rtn blank 
+7f10 20207f08 branch bcd_loop 
+
+bcd:
+7f11 60040161 store 8 ,mem_pdatatemp 
+7f12 18007e00 force 0 ,pdata 
+7f13 60040028 store 8 ,mem_bcd 
+7f14 d8a00028 arg mem_bcd ,contw 
+7f15 18a08a07 increase 7 ,contw 
+7f16 68040161 fetch 8 ,mem_pdatatemp 
+7f17 18002200 force 0 ,rega 
+
+bcd_pack_loop:
+7f18 1fe6fc0a div pdata ,10 
+7f19 20407efd call wait_div_end 
+7f1a 18077e00 remainder pdata 
+7f1b 20407ef3 call bcd_pack 
+7f1c 1a20a201 increase 1 ,rega 
+7f1d 1807fe00 quotient pdata 
+7f1e 1fe67c09 sub pdata ,9 ,null 
+7f1f 24217f18 nbranch bcd_pack_loop ,positive 
+7f20 20407ef3 call bcd_pack 
+7f21 2a2ffe00 isolate1 0 ,rega 
+7f22 20608000 rtn true 
+7f23 e0a08000 istore 1 ,contw 
+7f24 20600000 rtn 
+
+string_compare:
+7f25 ea208000 ifetch 1 ,rega 
+7f26 ea488000 ifetcht 1 ,regb 
+7f27 98467c00 isub temp ,null 
+7f28 24628000 nrtn zero 
+7f29 1a20a201 increase 1 ,rega 
+7f2a 1a40a401 increase 1 ,regb 
+7f2b c2007f25 loop string_compare 
+7f2c 18007c00 force 0 ,null 
+7f2d 20600000 rtn 
+
+ceiling:
+7f2e 98467c00 isub temp ,null 
+7f2f 24610000 nrtn positive 
+7f30 18427e00 deposit temp 
+7f31 20600000 rtn 
+
+swap:
+7f32 9840fe00 iadd temp ,pdata 
+7f33 98460400 isub temp ,temp 
+7f34 98467e00 isub temp ,pdata 
+7f35 20600000 rtn 
+
+clean_mem:
+7f36 df200200 arg 0x200 ,loopcnt 
+7f37 d8a04000 arg 0x4000 ,contw 
+7f38 20207e3b branch memset0 
+
+slave_savelist:
+7f39 6802809c fetch 5 ,mem_sync_clke 
+7f3a 60028161 store 5 ,mem_pdatatemp 
+7f3b 68014210 fetch 2 ,mem_clks_per_lpo 
+7f3c e0a10000 istore 2 ,contw 
+7f3d 58000000 setarg 0 
+7f3e 7936fe07 setflag match ,7 ,pdata 
+7f3f 7935fe06 setflag wake ,6 ,pdata 
+7f40 792c7e05 setflag sync ,5 ,pdata 
+7f41 79377e04 setflag attempt ,4 ,pdata 
+7f42 e0a08000 istore 1 ,contw 
+7f43 20207f52 branch savelist_2 
+
+le_savelist:
+7f44 6802809c fetch 5 ,mem_sync_clke 
+7f45 60028161 store 5 ,mem_pdatatemp 
+7f46 68008016 fetch 1 ,mem_le_ch_mapped 
+7f47 e0a08000 istore 1 ,contw 
+7f48 680103da fetch 2 ,mem_le_event_count 
+7f49 d8c00fff arg 0x0fff ,contr 
+7f4a 98c17e00 iand contr ,pdata 
+7f4b 7936fe0f setflag match ,15 ,pdata 
+7f4c 7935fe0e setflag wake ,14 ,pdata 
+7f4d 792c7e0d setflag sync ,13 ,pdata 
+7f4e 79377e0c setflag attempt ,12 ,pdata 
+7f4f e0a10000 istore 2 ,contw 
+7f50 20207f52 branch savelist_2 
+
+savelist:
+7f51 60040161 store 8 ,mem_pdatatemp 
+
+savelist_2:
+7f52 6800c16e fetch 1 ,mem_seqi 
+7f53 c13f8000 rtneq 0x7f 
+7f54 1fe17e7f and_into 0x7f ,pdata 
+7f55 1fe9fe00 lshift3 pdata ,pdata 
+7f56 d8a04c00 arg mem_savelist ,contw 
+7f57 98a08a00 iadd contw ,contw 
+7f58 68040161 fetch 8 ,mem_pdatatemp 
+7f59 e0a40000 istore 8 ,contw 
+7f5a 6800c16e fetch 1 ,mem_seqi 
+7f5b 2feffe07 isolate1 7 ,pdata 
+7f5c 1fe0fe01 increase 1 ,pdata 
+7f5d 1fe17e7f and_into 0x7f ,pdata 
+7f5e 7920fe07 setflag true ,7 ,pdata 
+7f5f 6000c16e store 1 ,mem_seqi 
+7f60 68040161 fetch 8 ,mem_pdatatemp 
+7f61 20600000 rtn 
+
+dirty_mem:
+7f62 df200800 arg 0x800 ,loopcnt 
+7f63 d8a00000 arg 0 ,contw 
+7f64 59010101 setarg 0x01010101 
+7f65 20207e3c branch memset8 
+
+callback_func:
+7f66 207a0000 rtn blank 
+7f67 1fe27a00 copy pdata ,pc 
+
+wait_uarttx:
+7f68 6811010e hfetch 2 ,core_uart_txitems 
+7f69 243a7f68 nbranch wait_uarttx ,blank 
+7f6a 20600000 rtn 
+
+get_uart_rrptr:
+7f6b 68110058 hfetch 2 ,core_uart_rrptr 
+7f6c 1fe20600 copy pdata ,contru 
+7f6d 20600000 rtn 
+
+get_uart_twptr:
+7f6e 6811005e hfetch 2 ,core_uart_twptr 
+7f6f 1fe21400 copy pdata ,contwu 
+7f70 20600000 rtn 
+
+send_mem_to_uart:
+7f71 18c22200 copy contr ,rega 
+7f72 20407f6e call get_uart_twptr 
+7f73 1a220c00 copy rega ,contr 
+
+send_mem_to_uart0:
+7f74 20404976 call uart_copy_tx_bytes 
+7f75 204068fa call uartd_send 
+7f76 20207f68 branch wait_uarttx 
+
+ice_break:
+7f77 70820301 hjam 0x1 ,core_ice_ctrl 
+7f78 20600000 rtn 
+
+ice_setbp:
+7f79 60110205 hstore 2 ,core_ice_break0 
+7f7a 68108203 hfetch 1 ,core_ice_ctrl 
+7f7b 79207e04 set1 4 ,pdata 
+7f7c 60108203 hstore 1 ,core_ice_ctrl 
+7f7d 20600000 rtn 
+
+ice_setbp2:
+7f7e 60110207 hstore 2 ,core_ice_break1 
+7f7f 68108203 hfetch 1 ,core_ice_ctrl 
+7f80 79207e06 set1 6 ,pdata 
+7f81 60108203 hstore 1 ,core_ice_ctrl 
+7f82 20600000 rtn 
+
+ice_set_write_bp:
+7f83 60110205 hstore 2 ,core_ice_break0 
+7f84 70820330 hjam 0x30 ,core_ice_ctrl 
+7f85 20600000 rtn 
+
+test_no_white:
+7f86 68108043 hfetch 1 ,core_config 
+7f87 79207e04 set1 whiteoff_bit ,pdata 
+7f88 60108043 hstore 1 ,core_config 
+7f89 20600000 rtn 
+
+test_enable_white:
+7f8a 68108043 hfetch 1 ,core_config 
+7f8b 793ffe04 set0 whiteoff_bit ,pdata 
+7f8c 60108043 hstore 1 ,core_config 
+7f8d 20600000 rtn 
+
+check_uart_tx_buff:
+7f8e 6811010e hfetch 2 ,core_uart_txitems 
+7f8f d8400200 arg uart_air_control_threshold ,temp 
+
+pdata_sub_temp:
+7f90 98467c00 isub temp ,null 
+7f91 20600000 rtn 
+
+fifo_in:
+7f92 79200025 set1 mark_ext_patch ,mark 
+7f93 44dec037 bpatch patch37_5 ,mem_patch37 
+7f94 ea2a8000 ifetcht util_fifo_len ,rega 
+7f95 18417eff and temp ,0xff ,pdata 
+7f96 243a7f99 nbranch fifo_in_push ,blank 
+7f97 184cfe00 rshift8 temp ,pdata 
+7f98 e2228000 istore util_fifo_len ,rega 
+
+fifo_in_push:
+7f99 1a20a204 increase util_fifo_len + util_fifo_offset ,rega 
+7f9a ea208000 ifetch 1 ,rega 
+7f9b 243a3bf1 nbranch assert ,blank 
+7f9c 68008b7d fetch 1 ,mem_fifo_temp 
+7f9d e2208000 istore 1 ,rega 
+7f9e 20600000 rtn 
+
+fifo_out:
+7f9f 79200025 set1 mark_ext_patch ,mark 
+7fa0 44df4037 bpatch patch37_6 ,mem_patch37 
+7fa1 df200005 arg util_fifo_len ,loopcnt 
+7fa2 ea228000 ifetch util_fifo_len ,rega 
+7fa3 207a0000 rtn blank 
+
+fifo_out_loop:
+7fa4 ea208000 ifetch 1 ,rega 
+7fa5 243a7fa9 nbranch fifo_out_end ,blank 
+7fa6 1a20a201 increase 1 ,rega 
+7fa7 c2007fa4 loop fifo_out_loop 
+7fa8 20203bf1 branch assert 
+
+fifo_out_end:
+7fa9 d8400000 arg 0 ,temp 
+7faa e2288000 istoret 1 ,rega 
+7fab 20600000 rtn 
+
+fifo_is_empty:
+7fac ea228000 ifetch util_fifo_len ,rega 
+7fad 20600000 rtn 
+
+fifo_is_full:
+7fae ea208000 ifetch 1 ,rega 
+7faf 20600000 rtn 
+
+fifo_is_near_full:
+7fb0 ea210000 ifetch 2 ,rega 
+7fb1 20600000 rtn 
+
+fifo_content_count:
+7fb2 d8400000 arg 0 ,temp 
+
+fifo_content_count_loop:
+7fb3 68008006 fetch 1 ,contr 
+7fb4 c2007fb3 loop fifo_content_count_loop ,blank 
+7fb5 18408401 increase 1 ,temp 
+7fb6 c2007fb3 loop fifo_content_count_loop 
+7fb7 18427e00 copy temp ,pdata 
+7fb8 20600000 rtn 
+
+not_greater_than:
+7fb9 98467c00 isub temp ,null 
+7fba 24610000 nrtn positive 
+7fbb 18427e00 copy temp ,pdata 
+7fbc 20600000 rtn 
+rtn 
Index: KG9013/btkb/output/ramcode.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/ramcode.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/ramcode.rom	(working copy)
@@ -0,0 +1,909 @@
+c512800f
+c0000017
+c001801b
+c002801f
+c048015c
+c0490126
+c04a012c
+c04a8116
+c05800d8
+c05880da
+c05900ee
+c0598108
+c05b0111
+c05c80e2
+20203bf1
+c01f01cf
+c01f81d3
+c04380b6
+c04681e1
+c04781d7
+c0668166
+c06800c2
+20203bf1
+6810813b
+60008b81
+70800608
+20203003
+20400051
+20400043
+20400024
+20203015
+20403392
+20403407
+20403024
+204001f4
+20203022
+204000b1
+20740000
+1ff0fe00
+1fe20c00
+20400092
+6000cba7
+c0008037
+c0030041
+1fe20400
+18c22200
+6800c040
+c3000034
+1a220c00
+c6848000
+18427e00
+20600000
+1a220c00
+d8a000f8
+2020008a
+20400092
+20400092
+60008b7d
+2040003c
+20207c33
+20400095
+18c20400
+18508400
+60094b9a
+20600000
+d8a00cd5
+2020008a
+680a4d4c
+1c427e00
+98467e00
+68094d50
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4d4c
+6800cd52
+1fe0fe01
+6000cd52
+20600000
+680a4c59
+1c427e00
+98467e00
+d8400640
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4c59
+68094ba5
+18508400
+9840fe00
+1ff0fe00
+60014ba5
+1ff0fe00
+1fe17e03
+c1800000
+6800cc8f
+c280006e
+c2808070
+da200000
+20400081
+7089718f
+6800cc90
+60108973
+20400071
+da200001
+20200081
+708971bf
+20200071
+708971af
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+18508400
+60094c95
+20600000
+d8400021
+6800cc90
+98460400
+1a227e00
+79200407
+243a0088
+793f8407
+d8a08078
+202069f4
+20400092
+1fe27200
+2040008e
+2020003c
+20400092
+e0a08000
+c200008e
+20600000
+20400095
+e8c08000
+20600000
+58004b36
+98c67c00
+24628000
+d8c04aa0
+20600000
+df200003
+d8c04ba2
+18c22200
+68014ba0
+1ff0fe00
+1fe20a00
+1a220c00
+e8c08000
+e0a08000
+204000a9
+c20000a1
+18a27e00
+1ff0fe00
+60014ba0
+20600000
+58004b9a
+98a67c00
+24628000
+d8a04b36
+20600000
+68014b9e
+68094ba0
+202000b3
+68014b9a
+68094b9c
+98467c00
+2022e9b1
+2020320b
+1c427e00
+60024d48
+6808c7ef
+6800cd4b
+98467c00
+244100bd
+20207c06
+680a4d48
+600a47ec
+600a4c59
+600a4d4c
+20600000
+60088259
+6800cc8d
+1fe0fe01
+6000cc8d
+68008259
+207a0000
+1fe0ffff
+60008259
+204000cc
+202000c6
+6800cc15
+207a0000
+1fe0ffff
+6000cc15
+20600000
+1a627e00
+1fe17ef0
+c1280000
+1a627e00
+207a0000
+6000cba4
+2020009a
+20403b36
+20203cdc
+70416e7f
+20403cf3
+6800cc97
+207a0000
+704c9700
+1c427e00
+60024c59
+20600000
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+20001388
+20203d9d
+c6118000
+680147f4
+c284bd1e
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+2040527e
+247a0000
+20403dca
+247a0000
+20403b36
+6800c7dc
+203a3d25
+6800c793
+207a0000
+20203d25
+204000b1
+24740000
+204000ae
+24740000
+700b7f01
+700b7e01
+2040010d
+202000b1
+20400100
+24740000
+68008b7f
+247a0000
+20203d2d
+68008b7e
+2000000a
+c080010d
+20600000
+20400100
+24740000
+68008b7f
+247a0000
+20203d4f
+20400118
+20203aaf
+6800c219
+243a011e
+20403d91
+20007530
+20007530
+20007530
+20403b0a
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+60088017
+1840a204
+20203a86
+60088017
+1840a200
+20203ab6
+20400129
+58000500
+20403bf3
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+6800cbef
+c0ff8144
+6802ca91
+e0a28000
+e8c28000
+e0a28000
+708956df
+2040014b
+708955df
+20600000
+6802ca87
+e0a28000
+e8c28000
+e0a28000
+708956c2
+708955d0
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20000004
+20600000
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+708955d0
+708956c0
+20600000
+2030ba6f
+20400153
+20203a6f
+78347c00
+68120138
+79347e1a
+6012004c
+20403db0
+7000a201
+20600000
+700b7e00
+70017706
+20403fa4
+58000165
+6001428a
+580000d1
+60014292
+580001d6
+60014290
+58000024
+6001428c
+5800015f
+60014288
+58004aa0
+1ff0fe00
+60014b9a
+60014b9c
+20403e0b
+58004b36
+1ff0fe00
+60014b9e
+60014ba0
+6800cc97
+c02d0194
+20358192
+68014c91
+1ff0fe00
+60014c91
+68014c93
+1ff0fe00
+60014c93
+2040019f
+680402a0
+243a018c
+68014ad4
+1ff0fe00
+203a018c
+60014c93
+204001f1
+704ba42f
+2040009a
+704c9700
+70828003
+20600000
+704ba430
+2020018e
+1ce27e00
+203a01d9
+20405b63
+20404d99
+58000000
+60044040
+600147f4
+1c427e00
+60024c59
+704ba433
+2020018e
+2040688a
+580007e2
+da2002a0
+d840000c
+204068d3
+2040688d
+680402a0
+207a0000
+6800cc8f
+c28001b1
+c28081bf
+680102a0
+1ff0fe00
+60014c91
+680102a6
+1ff0fe00
+60014c93
+20600000
+680902a4
+680102aa
+18422400
+1fe22200
+1ff0fe00
+60014c93
+1a227e00
+98462600
+1a63a600
+1a427e00
+9a667e00
+1ff0fe00
+60014c91
+20600000
+680902a2
+680102a8
+18422400
+1fe22200
+98462600
+1a6b2600
+1a427e00
+9a667e00
+1ff0fe00
+60014c91
+1a63a600
+1a227e00
+9a667e00
+1ff0fe00
+60014c93
+20600000
+70001627
+70890f36
+70890b5f
+202053d4
+70890f2e
+70890bff
+202053d9
+20600000
+700b7e03
+2040010d
+704c975a
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+20203cda
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c01081ec
+c01101ee
+c011827c
+20207c5a
+704befff
+202002af
+793f8023
+704befff
+2020026a
+58000000
+60024ba9
+20600000
+c6918000
+20400218
+2434020b
+704c150a
+20400235
+6800cbef
+c1ff8000
+704c3d02
+6800cd46
+247a0000
+20400100
+24740000
+68008b7f
+247a0000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+5800e290
+20407e8a
+600a41fc
+20203cda
+20400100
+24740000
+68008b7f
+247a0000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+6800cc15
+243a0207
+68044d3d
+20200208
+6800cbef
+c0ff8285
+2040021e
+204002f4
+704be601
+20600000
+78547c00
+704be202
+68008cd5
+c0008228
+c001022b
+c0018231
+c003022e
+6800cd46
+245a34df
+20600000
+700cd500
+704be10a
+20200233
+700cd503
+704be104
+20200233
+700cd502
+704be103
+20200233
+704be201
+704be108
+704be700
+202034df
+704be800
+d9600d00
+34730200
+2040025e
+24378245
+2040026d
+6800cbe0
+1fe0fe01
+6000cbe0
+704d4600
+6800cbef
+c0ff825d
+20400257
+704be700
+704be600
+20600000
+704d4601
+6800cbe7
+1fe0fe01
+6000cbe7
+6800cbef
+c0ff8269
+6800cbe7
+c07f826a
+6800cbe7
+d8400010
+98467c00
+20210313
+6800cbe8
+1fe0fe01
+6000cbe8
+2000000a
+c0838236
+20200313
+58000000
+60048cd5
+20600000
+c591f2b9
+68040cd5
+20600000
+2020029f
+7857fc00
+2040036c
+18002a00
+68024c00
+98001200
+68088017
+20403a82
+20403a87
+2040032b
+20578366
+20600000
+20600000
+704d4600
+700b7d32
+20207c27
+204002d4
+6800cbdf
+207a0000
+98007200
+20400275
+d8c00cb5
+d8a00d17
+20207e45
+68008cb4
+2fe1f008
+24608000
+68088cb5
+6008ccb7
+704d4700
+20600000
+79200023
+20400281
+20400241
+704bef01
+20600000
+704be000
+704be94e
+68024beb
+202002e6
+20400281
+6800cbe6
+c000b4df
+6800cbef
+c000828d
+c0010290
+c0018293
+20203bf1
+704bef11
+700d37aa
+20200295
+704bef12
+700d3755
+20200295
+704bef13
+700d3722
+700d3802
+68024c06
+60020d39
+700d3d00
+da200d37
+d8400007
+204002cf
+204002f4
+2040021c
+202034df
+6800cbef
+c17f8000
+c00882a5
+c00902a7
+c00982a9
+20600000
+704bef02
+20200241
+704bef03
+20200241
+704befff
+700b7d31
+20407c27
+68020d19
+204002e6
+20200241
+c6118000
+204002e7
+20400313
+6800cbef
+c1ff8000
+204002c1
+58000000
+60014c04
+20403cab
+200007d0
+6800cc04
+c07f826a
+2040025e
+243782ca
+20400257
+79200023
+700b7d3c
+20207c27
+700d37ff
+6800cbe2
+60008d38
+68024c06
+60020d39
+d8400006
+da200d37
+204002cf
+202002f4
+68014c04
+1fe0fe01
+60014c04
+20400313
+202002b7
+6008cbe1
+18427200
+d8a00cd5
+1a220c00
+20207e45
+68008cb4
+1fe97e00
+6000cbdf
+1fe0fe01
+d8c00cb4
+98c08c00
+e8c18000
+6001cc0b
+20600000
+6808cc3c
+58004c2b
+98408a00
+1a227e00
+e0a08000
+18408401
+18410407
+6008cc3c
+20600000
+60024c00
+da200000
+df200004
+d8c04c00
+e8c08000
+9a20a200
+c20002ea
+1a227e00
+60014c16
+6800cc16
+6808cc17
+9840fe00
+6000cc18
+20600000
+6800cbe1
+1fe0fe02
+6000cbe3
+6800cbe2
+60008cf5
+6800cbe1
+1fe9fe00
+6808cbe0
+18410403
+18438400
+9841fe00
+6808cc0a
+9840fe00
+e0a08000
+6800cbef
+c0ff8306
+6800cbe2
+e0a08000
+6800cbe1
+98007200
+6800cbe2
+c0008311
+d8c00cd5
+20407e45
+68008cd5
+c001830f
+20600000
+700cd502
+20600000
+d8c00cd6
+20207e45
+6808cbea
+20400319
+18408401
+18410403
+6008cbea
+20600000
+6800cc00
+1fe17e03
+1fefa204
+58004bf0
+9a20fe00
+98408c00
+e8c08000
+6000cbe9
+20600000
+7844fc00
+7843fc00
+58555555
+98001e00
+6800cbe9
+1fed8400
+79200401
+18431c00
+20600000
+20400322
+7826fc00
+7830fc00
+78507c00
+78287c00
+68014be4
+98003600
+37c18400
+242c0366
+7846fc00
+7825fc00
+7823fc00
+7824fc00
+09800008
+19897e00
+6000cc19
+6808cc18
+98467c00
+24228366
+09800008
+19897e00
+60008cb3
+68008cb3
+6808cbe2
+a8400e00
+24208366
+09800008
+19897e00
+e0a08000
+1fe97e00
+1fe1721f
+2022834f
+09800008
+19897e00
+e0a08000
+c200034b
+18a22200
+09800008
+19897e00
+6000cc2a
+1a220a00
+09800018
+78287c00
+db600664
+1fef7e00
+1ff17e00
+e0a18000
+7845fc00
+20230366
+7837fc00
+68008017
+1fe0a200
+20403ab6
+7846fc00
+20403a7a
+6800cc2a
+1fe22200
+204002dd
+20600000
+784dfc00
+7845fc00
+2020375c
+20403a7a
+6808cbe9
+20203a91
+204053d2
+68024c00
+98001200
+20400322
+20400369
+79202a00
+782efc00
+78307c00
+7850fc00
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+784efc00
+782dfc00
+7823fc00
+7824fc00
+6800cc18
+08008608
+6800cbe3
+98007200
+d8c00cf5
+e8c08000
+08008608
+c2000382
+78247c00
+08008618
+78447c00
+37d38200
+20000064
+784efc00
+784dfc00
+20600000
Index: KG9013/btkb/output/romcode.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/romcode.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/romcode.rom	(working copy)
@@ -0,0 +1,20480 @@
+20403c74
+793f8025
+44804000
+20800000
+20403a9e
+20406805
+20403bfa
+20404d98
+793f8025
+4480c000
+20406b53
+20405b62
+20407b9d
+20403e4f
+793f8025
+44814000
+2055be5f
+20407719
+2055bcf1
+793f8025
+4481c000
+20407813
+20405373
+20404449
+793f8025
+44824000
+2040303e
+20403e6a
+204030a1
+793f8025
+4482c000
+20403392
+20403407
+20403024
+20403d1c
+20203013
+20403029
+c6848000
+793f8009
+204032bd
+202053d7
+793f8025
+44834000
+204032fe
+2422b033
+204032a3
+1a208c01
+e8c08000
+c2805377
+c280b1a7
+20203473
+793f8025
+4483c000
+204032c6
+1f227c00
+20628000
+204032a3
+68008030
+c281b103
+68008031
+c280b1a7
+20203473
+6800c272
+207a0000
+c000b04e
+c0013053
+c001b056
+c002b05b
+c00db04b
+204032f6
+20628000
+204032f9
+20628000
+70427200
+20600000
+70041c1b
+70427200
+20600000
+7920001c
+793f801e
+70008eff
+70008c1f
+20203049
+793f801c
+18003600
+20203049
+204032f9
+20628000
+18000401
+70017805
+20203068
+793f8025
+44844001
+6800c132
+c000b064
+68034274
+203a3049
+7047f301
+70005503
+20203067
+68034274
+203a3049
+60030040
+18000425
+793f8025
+4484c001
+680080f3
+203a306f
+1fe9fe00
+1ff27e00
+1fe0ffff
+6000c146
+600080f2
+70008d1f
+793f800c
+204032d6
+2422b090
+20403bd1
+60008077
+6008807c
+68034274
+60030040
+793f8025
+44854001
+18007e00
+2841fe01
+7d20fe05
+79207e03
+60008030
+700b7d03
+20407c27
+18007e00
+7920fe04
+6000804c
+58000000
+79207e01
+60008031
+7834fc00
+204032bd
+7854fc00
+18000e04
+68014159
+20407e4c
+20203049
+793f8025
+4485c001
+68034274
+60030040
+2841fe01
+2020b099
+18000407
+20404826
+20203049
+d8a00103
+df200008
+20407e3b
+18000e07
+20404898
+700b7d04
+20407c27
+20203049
+c68e0000
+18000e02
+20407e53
+7d3a001c
+243a30a7
+20600000
+793f8025
+44864001
+6809415b
+18000e04
+2040383d
+20740000
+20403a12
+18004800
+20618000
+793f800b
+793f8000
+1c40c201
+280ffe1e
+7920c802
+2c200400
+2420b0d3
+793f8025
+4486c001
+68008012
+1fe0fe01
+60008012
+20403a49
+20403a42
+20403a66
+20403bae
+20403bb4
+20403bc5
+2040375c
+204030c5
+202030af
+793f8025
+44874001
+6800808c
+1fe0ffff
+6000808c
+20610000
+70008c1f
+6800808e
+1fe0ffff
+6000808e
+20610000
+7940001e
+70008eff
+20600000
+793f8025
+4487c001
+20403a49
+20403a3b
+20403a66
+20403bba
+20403b3a
+20403b63
+202c30de
+204030c5
+202030b2
+793f8025
+44884002
+20403af3
+20403bcd
+204035e1
+793f8001
+c6858000
+793f8025
+4488c002
+6800c2a4
+c2804221
+2040477b
+68008013
+1fe0fe01
+60008013
+20600000
+793f800b
+204030fe
+20403a49
+20403a3b
+204034e1
+20403bba
+20403b3a
+20403b63
+202c30f8
+20600000
+20403bcd
+204035e1
+793f8001
+202330e5
+2040479b
+202030ea
+d9600600
+34730200
+1c417e03
+c080b0ff
+20600000
+793f8025
+44894002
+7834fc00
+78387c00
+68014155
+203a310c
+18000e0d
+20407e53
+247a0000
+793f8025
+4489c002
+68094157
+18000e28
+2040383d
+2034314e
+18000e04
+20407e53
+243a3127
+6800804c
+c282311a
+18000404
+20404826
+2020311f
+d8a00103
+df200008
+20407e3b
+18000e04
+20404898
+793f8025
+448a4002
+70003000
+20405b63
+7047f300
+700b7d13
+20407c27
+2020314e
+793f8025
+448ac002
+18001600
+34730200
+680080f4
+1fe0ffff
+9c42fe00
+2fe00600
+2420b127
+18827e00
+6000818b
+18004c00
+18004800
+793f8025
+448b4002
+2021b14e
+20403a4d
+d9600600
+34730200
+793f8025
+448bc002
+680200f4
+98004200
+1fe0fe01
+600200f4
+280ffe0c
+7920c802
+2c200400
+2420b164
+6800800c
+1fe0fe01
+6000800c
+20403a42
+20403bae
+20403bb4
+20403bc5
+2040375c
+20403155
+20203134
+793f8025
+448c4003
+7854fc00
+68014155
+207a0000
+18000e0d
+20207e4c
+793f8025
+448cc003
+6800808d
+1fe0ffff
+6000808d
+20610000
+70008d1f
+680080f2
+1fe0ffff
+600080f2
+20610000
+7940000c
+6800c146
+600080f2
+20600000
+793f8025
+448d4003
+20403a3b
+20403bba
+20403b3a
+20403b63
+202c316d
+20403155
+2020313a
+2040375c
+6800800d
+1fe0fe01
+6000800d
+18003600
+680200f4
+793f8025
+448dc003
+20403bac
+20403a4d
+1cc0cc01
+1c2143fd
+1c8149fc
+20403a42
+20403bae
+20403bb4
+20403bc5
+1c427e00
+6002016b
+18000800
+18000202
+20403bcd
+204038c1
+793f8025
+448e4003
+20403baa
+1c21c202
+1c8149fc
+20403a3b
+20403bba
+20403b3a
+20403b63
+204c375c
+202c3194
+68008010
+203a3134
+1fe0ffff
+60008010
+20203173
+793f8025
+448ec003
+6800800e
+1fe0fe01
+6000800e
+204034ed
+2040338b
+202c319f
+2040350e
+243a319a
+20203134
+793f8025
+448f4003
+68008030
+793ffe03
+60008030
+204034f9
+7854fc00
+20600000
+793f8025
+448fc003
+7834fc00
+78387c00
+2040324e
+20740000
+20403e25
+20403bac
+1c40c201
+20403a54
+18004803
+2040327c
+20406a54
+20406e10
+20403547
+20403a42
+20403bae
+20403bb4
+20403bc5
+204038bf
+793f8025
+44904004
+20405b78
+20404995
+204048a9
+2040337c
+2436b1c7
+20403bec
+20403870
+6800800f
+1fe0fe01
+6000800f
+793f8025
+4490c004
+20406dec
+204031d5
+24748000
+20403812
+243a31d2
+20406a5c
+20403290
+7854fc00
+20600000
+20403547
+20403371
+202031bb
+2036b1d8
+20403be2
+202131e6
+20403204
+243431e6
+6800804c
+c4020000
+c3818000
+6800804b
+c3818000
+2040320d
+247a0000
+68008178
+1fe0ffff
+60008178
+247a0000
+20205ed5
+793f8025
+44914004
+20403516
+7854fc00
+6800804c
+c28231f2
+68008030
+c30231f0
+68088046
+202048c4
+18000408
+20204826
+18000e00
+6800804c
+c281c898
+18000e04
+d8a00103
+df200008
+20407e3b
+20204898
+793f8025
+4491c004
+68008030
+c4010000
+68088046
+680080ac
+98467c00
+24628000
+20403869
+20203293
+793f8025
+44924004
+78347c00
+6800804b
+c4018000
+2040320d
+247a0000
+78547c00
+20600000
+68008072
+1fe0ffff
+60008072
+20600000
+793f8025
+4492c004
+68008030
+c283b21f
+6800c132
+c000b21d
+680087e1
+203a321f
+7007e100
+700b7d18
+20407c27
+2020321f
+20406216
+2440c852
+793f8025
+44934004
+204032f0
+68008030
+79207e07
+60008030
+70425e01
+68008055
+c08b3228
+20600000
+7007e101
+68008030
+793ffe07
+60008030
+20600000
+793f8025
+4493c004
+78547c00
+68008030
+c4008000
+68010032
+247a0000
+68020034
+20383239
+9d067e00
+2020323a
+9c467e00
+1fe67c04
+24610000
+68008030
+793ffe01
+60008030
+78347c00
+20600000
+1fe20400
+793f8025
+44944005
+60020034
+70474801
+68008030
+79207e01
+60008030
+18007e00
+60010032
+70008a0a
+70007301
+20600000
+793f8025
+4494c005
+2040322e
+24740000
+78547c00
+70001120
+793f800b
+20403bac
+2040337f
+c505b263
+2040350e
+243a3255
+793f8025
+44954005
+78547c00
+1c427e00
+6002416a
+78387c00
+7834fc00
+700b7d2a
+20207c27
+793f8025
+4495c005
+20403baa
+20403374
+78587c00
+7854fc00
+20403982
+204034ed
+793f8025
+44964005
+20403539
+2036b272
+2040350e
+243a326b
+2020325a
+18000401
+2040487f
+68008031
+793ffe01
+60008031
+20403bec
+204039ac
+78347c00
+700b7d2b
+20207c27
+793f8025
+4496c005
+c6838000
+68008030
+c4010000
+20403c23
+680080b3
+68088047
+600880b4
+60008047
+18827e00
+600080b2
+6800c1f9
+98000800
+793f8008
+6800c165
+6000c167
+6800c166
+6000c165
+20600000
+793f8025
+44974005
+c6838000
+20403847
+24608000
+20403799
+680080b4
+68088047
+60008047
+600880b3
+680080b2
+98000800
+6800c165
+6000c166
+6800c167
+6000c165
+5800ffff
+60014168
+20600000
+793f8025
+4497c005
+79200009
+1a227e00
+6001001e
+18007250
+d8a003c0
+1a208c01
+e8c08000
+1a220c00
+c2807e45
+d8a00030
+20407e45
+78577c00
+68008077
+98000800
+70008a01
+2034b2b6
+70008a01
+68008030
+c4008000
+68008073
+6000808a
+68008074
+6000808b
+20600000
+793f8025
+44984006
+6801001e
+98000a00
+18007250
+d8c003c0
+203b7e45
+d8c00030
+20207e45
+68088015
+df200003
+18408401
+2841fe03
+2420b2cc
+d8400000
+60088015
+184ffe50
+da204040
+9a20a200
+ea208000
+c280b2d4
+c3800000
+c3818000
+c20032c8
+20600000
+793f8025
+4498c006
+da60330b
+20403301
+24628000
+1a227e00
+6001001e
+18007c00
+20600000
+20403847
+2020b2e7
+6801001e
+1fe08a17
+68008047
+e0a08000
+da603334
+20203301
+68008047
+2feffe03
+2020b2ec
+18007c01
+20600000
+18007c00
+20600000
+da603331
+20203301
+6809001e
+da603366
+20203301
+6809001e
+da603359
+20203301
+6808c273
+da603316
+20203301
+793f8025
+44994006
+680b4274
+da60330f
+20203301
+da60331c
+20203301
+da603350
+793f8025
+4499c006
+da204040
+18007203
+ea208000
+1a627a00
+1a20a250
+c2003305
+18007c01
+20600000
+c2803307
+c281b307
+18007c00
+20600000
+c281b311
+c3003307
+1a208c10
+e8c30000
+98467c00
+20628000
+20203307
+c3003307
+1a208c16
+e8c08000
+98467c00
+20628000
+20203307
+c300b307
+2040333d
+c28db322
+284c001b
+2020b322
+79207e1c
+98467e00
+1fe0fe01
+2021332b
+1fe0fe05
+24213307
+18424200
+20403349
+18007c00
+20600000
+98002400
+1a208c02
+e8c10000
+203a3327
+20403349
+2020331d
+c3003307
+18007c00
+20600000
+c3003307
+1a208c01
+e8c08000
+c2803307
+1a208c17
+e8c08000
+c301b307
+18007c00
+20600000
+1a208c01
+e8c88000
+1c427e00
+284ffe01
+1a208c04
+e8ca0000
+20608000
+1a208c08
+e8c30000
+204039c0
+1d027e00
+20600000
+1a208c02
+1a208a04
+e8c10000
+98409600
+19627e00
+e0a20000
+20205434
+c300b307
+2040333d
+9b60fe00
+9b60fe00
+98e0fe00
+98467c00
+24213307
+18007c00
+20600000
+c3003307
+18427e00
+9a267c00
+203f3307
+1a208c01
+e8c08000
+c2803307
+1a208a18
+e8a08000
+243a3307
+18007e2d
+e0a08000
+20203307
+c3003307
+18427e00
+9a267c00
+203f3307
+1a208c01
+e8c08000
+c2803307
+ea208000
+793ffe07
+e2208000
+20203307
+793f8025
+449a4006
+20403bac
+1c40c201
+20403a54
+18004803
+20403a42
+20403bae
+20403bb4
+20403bc5
+202038bf
+793f8025
+449ac006
+20403baa
+1c40c201
+20403a54
+18004803
+20403a3b
+204034e1
+20403b41
+20403bba
+20403b3a
+20403b63
+246c0000
+20403af3
+202035df
+793f8025
+449b4006
+6800818b
+98000800
+18000201
+20403371
+2020337c
+6800c133
+c4000000
+18000e05
+20407e53
+247a0000
+6809414d
+18000e04
+2040383d
+20740000
+204033a2
+18000e05
+6801414f
+242c7e4c
+180a7e00
+9ea17e00
+20207e4c
+793f8025
+449bc006
+70018b00
+78587c00
+78577c00
+20403a12
+1c4143fc
+18004801
+20403a49
+20403a3b
+7940001d
+68008006
+1fe0fe01
+60008006
+20403a66
+20403b3a
+20403b6b
+246c0000
+793f8025
+449c4007
+18003600
+20403a6d
+68008007
+1fe0fe01
+60008007
+20403a49
+20403baa
+1c21c202
+18004801
+20403a42
+20403a66
+20403bae
+20403bbf
+1c427e00
+6002016b
+20403bc5
+18000202
+18000800
+20403bcd
+204038c1
+204033ce
+1c2143fd
+1cc0cc01
+20600000
+793f8025
+449cc007
+6800c172
+207a0000
+d8a001bc
+6800c702
+1fe27200
+1fe0fe01
+e0a08000
+18a20400
+1fe0fe01
+60010091
+18420a00
+58000009
+e0a08000
+d8c04703
+20407e45
+da604771
+df200004
+204033f1
+da60475b
+df200001
+204033f1
+1800020a
+70009002
+580001bc
+60010179
+20403baa
+20403a42
+20403bae
+20403bbf
+20403bc5
+20403bcd
+204038c1
+20600000
+18a20400
+1a620c00
+e8c08000
+207a0000
+1fe3fe00
+c20033f5
+1fe22200
+1fe0fe02
+1fe20e00
+68010091
+98e0fe00
+60010091
+18420a00
+1a227e00
+1fe0fe01
+e0a08000
+1a620c00
+e8c08000
+e8c08000
+e0a08000
+1a227200
+20207e45
+6800c133
+c4008000
+18000e06
+20407e53
+247a0000
+68094151
+18000e28
+2040383d
+20740000
+18000800
+70001008
+793f800b
+20403417
+18000e06
+68014153
+20207e4c
+793f8025
+449d4007
+78587c00
+20403a12
+68008008
+1fe0fe01
+60008008
+18004c00
+20403a54
+1c40c201
+18004802
+793f8025
+449dc007
+20403a3b
+20403b3a
+20403b6b
+246c0000
+20403a6d
+68008009
+1fe0fe01
+60008009
+18003600
+20403baa
+1c21c202
+18004801
+20403a42
+20403bae
+20403bbf
+20403bc5
+2040375c
+18000800
+d9600600
+35330200
+1d01d003
+1c2143fd
+793f8025
+449e4007
+1cc0cc01
+20403a3b
+20403b3a
+20403b5d
+242c3444
+20403bcd
+204035e1
+c505b44c
+793f8025
+449ec007
+68008010
+207a0000
+1fe0ffff
+60008010
+20403bac
+2020343a
+793f8025
+449f4007
+793fd001
+79205000
+6800800a
+1fe0fe01
+6000800a
+20403baa
+1c21c202
+20403a42
+20403bae
+20403bbf
+20403bc5
+2040375c
+2d000603
+2020b45e
+37cb8200
+2020345a
+6802016f
+1fe1fe03
+1fe25000
+793f8025
+449fc007
+68030182
+60030040
+204034ed
+20403539
+2036b46b
+2040350e
+243a3466
+20600000
+793f8025
+44a04008
+204034f9
+204032d6
+24628000
+70003100
+204039ac
+202032bd
+793f8025
+44a0c008
+204039bc
+204034a5
+20740000
+2040327c
+20406a54
+793f8025
+44a14008
+20403e25
+20406dec
+204035d6
+20407f39
+2436b48d
+20403bec
+20403870
+20406e10
+20403547
+204038b1
+20405b78
+20404995
+204048a9
+6800800b
+1fe0fe01
+6000800b
+204039ac
+793f8025
+44a1c008
+20403d61
+20403be2
+20213498
+20403204
+24343498
+20403812
+243a347a
+20406a5c
+20203290
+793f8025
+44a24008
+70015300
+70018900
+20403516
+793f8011
+20407f8a
+68008030
+c30234a3
+68088046
+202048c4
+18000406
+20204826
+793f8025
+44a2c008
+2040322e
+24740000
+18820400
+20403bd1
+6000818b
+18420800
+70001120
+793f8025
+44a34008
+20403bac
+18000202
+204038a8
+1c427e00
+6002016b
+204038bf
+20403baa
+7837fc00
+204035b7
+202c34c1
+20403a6d
+2040350e
+243a34ae
+c6820000
+70007c34
+79200003
+20600000
+78387c00
+204034ed
+20403a12
+793f8025
+44a3c008
+2040338b
+202c34ce
+2040350e
+243a34c4
+78587c00
+1d027e00
+6002416a
+20600000
+18000400
+2040487f
+7834fc00
+c58234d6
+793f8004
+70007c03
+70007d33
+20406212
+18827e00
+60008077
+18007e00
+60030038
+68008031
+79207e01
+60008031
+20403bec
+7854fc00
+78347c00
+20600000
+793f8025
+44a44009
+7856fc00
+793f8005
+793f800a
+793f8010
+793f800f
+68008047
+793ffe05
+79207e04
+60008047
+20600000
+793f8025
+44a4c009
+70001120
+70004750
+6801415f
+6001003e
+1c427e00
+6002416a
+20780000
+1d027e00
+6002416a
+20600000
+793f8025
+44a54009
+20405b6f
+20403512
+60008046
+58001c80
+60010051
+68008030
+79207e00
+60008030
+70004b00
+70004c00
+7000a200
+20203bec
+793f8025
+44a5c009
+18007e00
+60044262
+e0a40000
+2040322a
+202032f0
+68008011
+1fe0ffff
+60008011
+20600000
+6800c170
+1fe0fe01
+6000c170
+20600000
+793f8025
+44a64009
+204031fa
+6800c272
+c001b51d
+68008048
+c080b521
+204049be
+2422b521
+204031f5
+70427200
+793f8025
+44a6c009
+20403f18
+20404995
+20403806
+700b7d02
+20407c27
+20405b63
+20404d99
+20407719
+68008030
+793ffe00
+60008030
+7047f300
+6800804c
+2fe18000
+2020b533
+793f8001
+68008047
+c301b535
+6800804b
+c4030000
+793f8002
+20600000
+793f8025
+44a74009
+6800817e
+207a0000
+1fe20800
+204035d6
+24768000
+18000200
+204038b1
+18827e00
+60008077
+18007e00
+6000817e
+20600000
+793f8025
+44a7c009
+68008030
+c3013555
+18000207
+c583b554
+20403847
+2420b555
+20373555
+20403583
+58000002
+60014168
+20600000
+24770000
+793f8025
+44a8400a
+204032df
+2422b568
+68008047
+c301b571
+c502b575
+68008189
+c283357c
+68014168
+1fe0ffff
+60014168
+203a3565
+6800c165
+98000200
+20600000
+793f8025
+44a8c00a
+20403799
+20403847
+2020b571
+20405ed9
+20343580
+6800804b
+c2833582
+c502b575
+68008189
+c283357c
+18000201
+20748000
+18000200
+20600000
+793f8025
+44a9400a
+68008019
+98000200
+c1808000
+18000200
+20600000
+6800815a
+1fe1020f
+79200005
+20600000
+18000213
+20203583
+2040358d
+793f8025
+44a9c00a
+68088047
+79200403
+60088047
+18227e00
+6000c165
+5800ffff
+60014168
+20600000
+793f8025
+44aa400a
+6800804c
+2feffe05
+68010091
+2020b5a1
+18000203
+1fe67c11
+20610000
+18000204
+1fe67c1b
+20610000
+1800020a
+1fe67c79
+20610000
+1800020e
+1fe67ce0
+20610000
+1800020f
+20600000
+18000203
+1fe67c11
+20610000
+18000204
+1fe67c36
+20610000
+1800020a
+d840016f
+98467c00
+24610000
+1800020e
+d84002a7
+98467c00
+24610000
+1800020f
+20600000
+68008030
+c300b5b6
+68010032
+203a35b6
+243735b8
+20403bac
+1d00c201
+78287c00
+6801003e
+1fe37e00
+d8400500
+9840fe00
+20403b7d
+20403a5d
+18004803
+20403a3b
+204034e1
+20403b41
+793f8025
+44aac00a
+6801003e
+1fe37e00
+20403b7d
+20403b3a
+7826fc00
+6801003e
+d84003bb
+9840b600
+37c18400
+1b420400
+600b009c
+7846fc00
+246c0000
+dd2003bb
+1c225000
+2035bcb6
+20600000
+793f8025
+44ab400a
+204035b1
+242c3a6d
+20403af3
+c588b5df
+680100f8
+1fe0fe01
+600100f8
+1c230400
+18419c40
+793f8025
+44abc00a
+7823fc00
+78257c00
+7825fc00
+09800003
+198cfe00
+6000815f
+09800004
+08008007
+19827e00
+60008019
+09800003
+198cfe00
+60008160
+68008019
+1fe67c03
+202135f7
+c003b5f7
+6800804c
+2feffe05
+7920aa01
+793f8025
+44ac400b
+09800008
+7845fc00
+78457c00
+2023373e
+c588b601
+680100fa
+1fe0fe01
+600100fa
+793f8025
+44acc00b
+6800815f
+2fe00e00
+7920800a
+2020b613
+a8800e00
+2020b612
+c583b75c
+680880b2
+a8400e00
+2420b75c
+20403290
+68008047
+793ffe05
+79207e04
+60008047
+7836fc00
+793f8025
+44ad400b
+68008019
+1fe20200
+c5053623
+68088160
+68008047
+793ffe00
+284ffe00
+7920fe00
+284ffe01
+7920fe01
+60008047
+284c0001
+2020b623
+20403799
+793f8025
+44adc00b
+d8400000
+20403b74
+18217e0f
+c000b656
+c000375c
+c0013769
+68088160
+68008047
+a8400800
+2420b632
+c5853631
+c303b632
+7920000f
+793f8025
+44ae400b
+18227e00
+c001b658
+c002365c
+c003b642
+c004365b
+d8400004
+20403b74
+c0053657
+c005b65a
+d8400008
+20403b74
+c0073657
+c007b65a
+20600000
+793f8025
+44aec00b
+7826fc00
+7824fc00
+78277c00
+d8a000d3
+1800721e
+09800008
+19897e00
+e0a08000
+c2003649
+c583b75c
+09800010
+7d230008
+20433653
+2023374b
+2020372c
+1b427e00
+60030020
+20600000
+2020375c
+79200010
+78267c00
+2020365d
+79200010
+79202a02
+7826fc00
+793f8025
+44af400b
+c500b75c
+2aac0001
+2020b66a
+7843fc00
+7826fc00
+78467c00
+1c409602
+34530400
+242c374b
+79200010
+7823fc00
+793f8025
+44afc00b
+78277c00
+7824fc00
+09800003
+198cfe00
+6000818a
+09800005
+c5083676
+19897200
+1f297200
+20203679
+09800005
+19837200
+09800003
+793f8025
+44b0400c
+1f227e00
+60010169
+203a36ee
+9ea67c00
+2021374b
+793f8025
+44b0c00c
+793f8000
+6800818a
+1fe17e03
+d8a004de
+c001b68f
+c508b6ea
+6800c132
+c000b694
+6800818a
+1fe17e03
+c00136c3
+c000b6d8
+2020374b
+68010169
+1fe67c70
+2421374b
+c507b72c
+202036ea
+793f8025
+44b1400c
+c507b72c
+68010169
+203a374b
+20404494
+2420b6a1
+68090291
+1fe0fe0a
+98467c00
+242136a7
+20404449
+2020369b
+6811010e
+d840012c
+98467c00
+2021374b
+68014800
+203a374b
+793f8025
+44b1c00c
+20404972
+68008046
+6808818a
+18410403
+184d0400
+18520400
+9841fe00
+e1410000
+68090169
+18427200
+e1490000
+793f8025
+44b2400c
+09800008
+19897e00
+e1408000
+c20036b4
+1840f204
+20404494
+2420b6c1
+79200013
+18000e06
+20404378
+202036ee
+20404424
+202036ee
+793f8025
+44b2c00c
+c507b72c
+68010169
+d84002e0
+98467c00
+2021374b
+680082ca
+c30036ce
+c300b6d3
+2020375c
+7002c801
+680102c4
+c080375c
+d8a01000
+202036ea
+7002c802
+680102c6
+c080375c
+d8a01400
+202036ea
+793f8025
+44b3400c
+c507b72c
+68010169
+d84002e0
+98467c00
+2021374b
+680082c8
+c000b6e3
+c00136e7
+2020375c
+d8a01000
+680102c4
+98a08a00
+202036ea
+d8a01400
+680102c6
+98a08a00
+09800008
+19897e00
+e0a08000
+c20036ea
+793f8025
+44b3c00c
+09800010
+20233745
+20403e0f
+6800c3cc
+c000b75c
+c508b718
+c507b759
+6800818a
+2fe00603
+2020b718
+68010169
+203a3718
+6800c132
+c000b718
+793f8025
+44b4400d
+680082c8
+c000b704
+c001370e
+20203bf1
+680102c4
+68090169
+9840fe00
+600102c4
+c0003bf1
+68091000
+18408404
+98467c00
+2042b8a0
+20203718
+680102c6
+68090169
+9840fe00
+600102c6
+c0003bf1
+68091400
+18408404
+98467c00
+2042b8a4
+20203718
+793f8025
+44b4c00d
+6808804c
+6800818a
+2fe00603
+79208406
+7d208407
+6008804c
+2420b722
+79200001
+c588b72c
+284ffe06
+2020b72c
+680100fc
+1fe0fe01
+600100fc
+79200005
+793f8407
+793f8001
+6008804c
+793f8025
+44b5400d
+68088160
+68008047
+79207e05
+284ffe02
+7920fe02
+280ffe0a
+7920fe07
+60008047
+68010169
+243a375c
+6800804c
+793ffe07
+6000804c
+6800818a
+2fe00e01
+2020375c
+793f8025
+44b5c00d
+7856fc00
+6801001a
+1fe0fe01
+6001001a
+2020375c
+6801001c
+1fe0fe01
+6001001c
+2040374c
+c588b74b
+79200005
+2020375c
+793f8025
+44b6400d
+6800818a
+2fe00603
+2420b755
+6808804c
+793f8406
+6008804c
+20600000
+6808804c
+793f8407
+6008804c
+2020443b
+68008047
+79207e05
+60008047
+793f8025
+44b6c00d
+784efc00
+784e7c00
+7846fc00
+78467c00
+7844fc00
+78477c00
+7843fc00
+2030ba6d
+37d38200
+20000064
+20203a6d
+793f8025
+44b7400d
+7824fc00
+78267c00
+09800048
+2feffe3a
+79208000
+1c020400
+57e04000
+57e03c00
+782afc00
+380bffff
+380cffff
+20000020
+29a80000
+1d827e00
+60018182
+1da27e00
+60008185
+18424000
+2020b77f
+2020374b
+793f8025
+44b7c00d
+09800048
+57e03e00
+57e00800
+57e05c00
+57e02400
+18007e00
+09800010
+2023374b
+5ffffffc
+9a417e00
+6002016f
+1ba27e00
+6001817f
+1b827e00
+6000817d
+18827e00
+6000817e
+1dc27e00
+60010186
+1c227e00
+08008220
+28201e02
+7920800b
+2020375c
+793f8025
+44b8400e
+68008047
+c4018000
+793ffe03
+79407e06
+60008047
+6800c165
+c009b7b1
+c1038000
+6800804b
+c4030000
+793ffe06
+79207e07
+6000804b
+793f8002
+6800c132
+c1008000
+680142af
+247a0000
+6800804b
+793ffe07
+6000804b
+20205267
+793f8025
+44b8c00e
+68008433
+1fe37e00
+c008b7d0
+c00937da
+c00c3806
+c03fb7bf
+c016385e
+c1818000
+68008434
+c015b7c8
+c008b7c3
+20600000
+68008434
+79207e07
+c046b85e
+20600000
+20748000
+68008030
+c3820000
+70007c31
+20600000
+20748000
+68008031
+2feffe04
+2020b7cd
+20600000
+793ffe04
+60008031
+20600000
+793f8025
+44b9400e
+6800804c
+79207e02
+6000804c
+70801101
+68008030
+2feffe04
+2020c845
+20600000
+793f8025
+44b9c00e
+6800804c
+793ffe02
+6000804c
+70801100
+20600000
+793f8025
+44ba400e
+1c427e00
+600242a5
+1c40a203
+2034b7e8
+1d00a203
+68090032
+1a227e00
+793ffe1b
+9846fc00
+68010075
+20407efd
+18072600
+9a667e00
+202137f2
+9840fe00
+9a20fe00
+60020034
+70474800
+68008030
+79207e01
+60008030
+68008073
+6000808a
+70416e80
+58000000
+6001c20a
+6001c20d
+6000c1fa
+700b7d0b
+20407c27
+68014161
+6001003e
+24748000
+18808fff
+20600000
+793f8025
+44bac00e
+68008030
+c4008000
+793ffe01
+60008030
+70416e7f
+6801415f
+6001003e
+7855fc00
+700b7d0c
+20207c27
+793f8025
+44bb400e
+78377c00
+68008030
+c280b820
+c6088000
+68008047
+c3818000
+68008048
+247a0000
+6800804b
+c3830000
+18007e00
+20600000
+c3013830
+6800808a
+c0013826
+68008047
+c281b839
+c5843839
+20403290
+2434b839
+68008048
+243a3839
+680080f1
+1fe0ffff
+600080f1
+243a381e
+7000f110
+20203839
+6800808a
+c080b839
+6800808b
+203a3839
+1fe0ffff
+6000808b
+68008047
+c3818000
+24768000
+6800808a
+1fe0ffff
+6000808a
+20600000
+793f8025
+44bbc00e
+78487c00
+18423600
+20403300
+78547c00
+24628000
+18003600
+78347c00
+20600000
+6800c1f9
+a881fe00
+20600000
+793f8025
+44bc400f
+70417101
+20406a40
+18007e0c
+60010032
+680080af
+1fe3fe00
+60010075
+68008030
+79207e02
+60008030
+70007303
+70008a03
+204037e1
+18000400
+20404914
+7000b350
+7000f110
+20600000
+793f8025
+44bcc00f
+20403806
+70417105
+20406a4a
+68008030
+793ffe02
+60008030
+d8400e00
+7002c013
+202048c4
+793f8025
+44bd400f
+7000b100
+2040385e
+20403290
+793f8007
+20600000
+793f8025
+44bdc00f
+6800c132
+c000b898
+793f8001
+7002d100
+680082ca
+207a0000
+2feffe00
+d8c01000
+2040cda8
+793f8025
+44be400f
+680082d1
+c000b88c
+7002d100
+680082ca
+c4008000
+d8c01400
+20404da8
+680082d1
+c000b892
+20600000
+6800804c
+793ffe07
+6000804c
+793f8001
+2020443b
+680082ca
+793ffe00
+600082ca
+58000000
+600102c4
+20600000
+680082ca
+793ffe01
+600082ca
+58000000
+600102c6
+20600000
+6800804c
+c4038000
+20404435
+68014800
+203a3bf1
+1fe0ffff
+60014800
+20203887
+680082ca
+79207e00
+600082ca
+20600000
+680082ca
+79207e01
+600082ca
+20600000
+793f8025
+44bec00f
+1d00c201
+20403a5d
+18004803
+20403a42
+20403bae
+20403bbf
+20203bc5
+793f8025
+44bf400f
+20403baa
+1d027e00
+680a416a
+98467e00
+c1808000
+28203e00
+2420b8bc
+68008019
+207a0000
+204038a8
+28203e10
+2020b75c
+1c230400
+18419c40
+793f8025
+44bfc00f
+7823fc00
+78257c00
+782dfc00
+793f8010
+18827e00
+08008603
+18227e00
+08008604
+68008047
+08008004
+08008603
+78247c00
+08008608
+784dfc00
+78447c00
+78457c00
+793faa02
+d8400000
+20403b74
+793f8025
+44c04010
+18217e1f
+c009b913
+c000375c
+c000b75c
+c00138f5
+c001b925
+c002392b
+c003b8e9
+c004392a
+d8400004
+20403b74
+c0053927
+c005b92d
+d8400008
+20403b74
+c007b92d
+20203927
+793f8025
+44c0c010
+782efc00
+7824fc00
+78277c00
+1800721e
+d8c000b5
+e8c08000
+08008608
+c20038f0
+c503b960
+2020375c
+793f8025
+44c14010
+6800818b
+1fe20800
+6800808f
+1fe23800
+6801c14a
+1fe23a00
+68014144
+1fe25c00
+7824fc00
+782e7c00
+1c022200
+20403a54
+782afc00
+20000020
+1c221600
+6802016b
+1fe24200
+53c07e00
+79207e3a
+08008648
+53e07e00
+08008648
+19624200
+1a224000
+78247c00
+08008610
+78447c00
+2020375c
+793f8025
+44c1c010
+78277c00
+7824fc00
+782e7c00
+68008432
+1fe105f8
+d8c00432
+18408408
+1840a7b8
+24213922
+e8c48000
+08008648
+1a620400
+2020391c
+e8c48000
+08418600
+20203960
+782e7c00
+20203930
+782e7c00
+79200010
+20203930
+79202a02
+782efc00
+20203930
+79202a02
+782efc00
+79200010
+793f8025
+44c24010
+6800804c
+c302b946
+18267c03
+20213946
+78477c00
+784e7c00
+782efc00
+7843fc00
+79202a01
+2aaffe02
+2020b940
+580abeee
+08008614
+20203944
+585faeba
+08008618
+58000012
+08008606
+7823fc00
+79200010
+78277c00
+7824fc00
+c502b969
+68008090
+08008603
+68010091
+98007200
+c5083950
+08008605
+20203951
+0800860d
+6800c132
+c000b95b
+1f227e00
+203a3960
+68010179
+98000c00
+e8c08000
+08008608
+c2003957
+20203960
+68010179
+98000600
+e8608000
+08008608
+c200395d
+78247c00
+08008610
+78447c00
+20403583
+6800804c
+c302b75c
+18007e00
+08008606
+2020375c
+793f8025
+44c2c010
+c5083972
+6800818a
+08008603
+68008169
+98002600
+08008605
+20203977
+6800818a
+08008603
+68010169
+98002600
+0800860d
+d8c004de
+1a627c00
+2022b97e
+e8c08000
+08008608
+1a60a7ff
+20203978
+680100fe
+1fe0fe01
+600100fe
+20203960
+6802016f
+1fe0a207
+6801017b
+243a3988
+1a20a3fd
+20203990
+1feffe0c
+68190040
+18408401
+98467e00
+2421398f
+1a20a3ff
+2020398b
+1fe67e00
+37d18200
+2c400600
+2420b990
+98005200
+1a225000
+98005200
+20600000
+793f8025
+44c34010
+37d10200
+1b427e00
+98000c00
+1ff17e00
+9c467200
+1f217203
+2422b9a2
+18007e00
+202039a6
+d8400ea6
+18007e00
+9840fe00
+c20039a4
+98c0fe00
+1fe6fc0c
+20407efd
+1807fe00
+6001017b
+20600000
+793f8025
+44c3c010
+1b427e00
+1b220400
+98467c00
+7d217e2c
+98460400
+58000ea6
+284c000f
+2020b9b8
+5fff0ea6
+98408400
+600b03c8
+207b0000
+600b0038
+20600000
+78587c00
+680303c8
+203b39c0
+68030038
+9b20e000
+1e00e00a
+58000ea6
+9e067e00
+2fec000f
+2020b9ca
+5800f15a
+9e00e000
+1e023400
+20600000
+18007c00
+202039c8
+793f8025
+44c44011
+20403a7a
+1c227e00
+1fe17f80
+2c800e03
+2420b9d6
+1fe97e00
+9ae0fe00
+202039d7
+1ae27e00
+1fe6fc4f
+782afc00
+20407efd
+18072200
+1a2085d8
+202139df
+1a238400
+202039e1
+18438400
+18408401
+793f8025
+44c4c011
+68008031
+c301b9f3
+68024173
+9c267c00
+202139f3
+20403a12
+6800c17a
+207a0000
+68008031
+79207e02
+60008031
+6802c188
+6002c17b
+e8c28000
+6002c180
+20403a17
+68008031
+c4010000
+2c2ffe01
+2020ba0f
+18492200
+18410e07
+5800417b
+9a20a200
+ea208000
+afec0000
+2020ba00
+18427e00
+20203a0c
+6800c185
+98002400
+1c227e00
+1fe17f80
+1fe97e00
+9ae0fe00
+9a46fc00
+58004193
+20407efd
+18072200
+9a208c00
+e8c08000
+6000c186
+98000400
+20600000
+6800c186
+98000400
+20600000
+68008031
+793ffe02
+793ffe03
+60008031
+20600000
+793f8025
+44c54011
+d8a04193
+1800720a
+20407e3b
+d8a04193
+18002600
+18000e02
+6802c17b
+98000400
+28e1fe02
+2020ba24
+18430400
+284c0000
+2020ba28
+1a627e00
+e0a08000
+184b0400
+1a60a602
+2a61fc28
+2420ba31
+6802c180
+98000400
+28e1fe02
+2020ba31
+18430400
+1a667c4e
+20213a24
+18002601
+18e08fff
+2422ba1f
+da204193
+18a27e00
+9a267e00
+6000c185
+20600000
+793f8025
+44c5c011
+204039cc
+68008189
+c302ba41
+68088448
+20203a82
+793f8025
+44c64011
+204039cc
+68008189
+c3023a48
+68088447
+20203a91
+18005a00
+6801c147
+98005800
+20600000
+793f8025
+44c6c011
+6800c277
+1fe25a00
+6801c274
+1fe25800
+20600000
+793f8025
+44c74011
+68014144
+1fe25c00
+6800c143
+1fe25a00
+6801c140
+1fe25800
+20600000
+793f8025
+44c7c011
+68010044
+1fe25c00
+68008043
+1fe25a00
+68018040
+1fe25800
+20600000
+c5103a69
+c68e8000
+c68f8000
+1d815900
+782afc00
+20000020
+20600000
+793f8025
+44c84012
+18002a00
+7850fc00
+78507c00
+782f7c00
+70890200
+70890100
+70890000
+70890300
+70890470
+70890600
+20600000
+793f8025
+44c8c012
+70890200
+70890100
+70890018
+708903a7
+7089047f
+20600000
+793f8025
+44c94012
+60088017
+1840a204
+20203ab6
+793f8025
+44c9c012
+708901cf
+2000000a
+708900ff
+708903af
+708904ff
+2000000a
+708902a0
+20600000
+793f8025
+44ca4012
+60088017
+1840a202
+20403ab6
+58000500
+20403bf3
+70890601
+7089003c
+708901e0
+708903b7
+7089027f
+20600000
+70804206
+20403c29
+20403c3a
+68014163
+c3073aa1
+98000c00
+d8408900
+e8c08000
+c07fbaab
+98418a00
+e8c08000
+e0a08000
+20203aa5
+793f8025
+44cac012
+20403d91
+20403b0a
+580007d0
+9c40fe00
+60020173
+79202a03
+18002a00
+2455bace
+20203ae2
+793f8025
+44cb4012
+58000960
+9a208400
+6800c15d
+70895f04
+984ffe00
+6808c15e
+9846fc00
+20407efd
+1807a200
+18077e00
+1ff07e00
+1ff27e00
+9846fc00
+20407efd
+1807fe00
+1fed7e00
+1fe3fe00
+9a21fe00
+60120960
+70895f44
+70895fc4
+20600000
+793f8025
+44cbc012
+70890602
+5803d090
+20403bf3
+7089007f
+20000082
+70895230
+708901d0
+70895270
+708952f0
+18007232
+68108980
+c282badd
+c2003ada
+6000c16f
+70890100
+70890000
+70890600
+20600000
+793f8025
+44cc4013
+6800c16f
+79207e05
+60108952
+68188950
+18410407
+1fe9fe00
+9841fe00
+60108950
+68108951
+793ffe00
+60108951
+68108952
+793ffe05
+60108952
+20600000
+793f8025
+44ccc013
+68110981
+1ff1fe00
+1fe97e00
+1fe67e00
+1fe17eff
+1fe6fc0a
+20407efd
+1807fe00
+1ff27e00
+18070400
+9841fe00
+60008018
+20600000
+7080420a
+70890500
+68118138
+6011804c
+70804cfc
+20403db0
+200003e8
+20600000
+70804206
+6810896b
+793ffe04
+793ffe05
+6010896b
+70890500
+70890400
+70890470
+708905ff
+6810896b
+79207e04
+79207e05
+6010896b
+20403b38
+68108968
+79207e07
+60108968
+793ffe07
+60108968
+79207e07
+60108968
+70804205
+20600000
+200003e8
+70804204
+2000000a
+7080b400
+70800680
+6810812d
+c300bb26
+68198149
+70804205
+2000000a
+70800680
+6810812d
+c300bb2c
+68118149
+98467e00
+20213b32
+1fe67e00
+6001018c
+1fe67c46
+24213b34
+20600000
+58000f0f
+20203da7
+5800080f
+20203da7
+793f8025
+44cd4013
+20403a87
+78507c00
+7830fc00
+782b7c00
+20600000
+793f8025
+44cdc013
+6800804c
+2feffe02
+7920fe00
+60108011
+d8c00062
+e8c48000
+98006400
+e8c38000
+98006600
+68008054
+1fe0e9ff
+782d7c00
+20600000
+793f8025
+44ce4013
+7826fc00
+d9600600
+35330400
+1b427e00
+6003009c
+7846fc00
+242c3a6d
+dd2003bb
+1d00d001
+1d0151fc
+20600000
+7826fc00
+37cb8400
+202c3b55
+2d000402
+2420bb5e
+20203b55
+793f8025
+44cec013
+d9600600
+7826fc00
+34730400
+7846fc00
+242c3a6d
+20600000
+793f8025
+44cf4013
+7826fc00
+37c18400
+7846fc00
+242c3a6d
+dd2003bb
+1d0151fc
+20600000
+793f8025
+44cfc013
+98002200
+1c227e00
+98409600
+19627e00
+6002416a
+1a227e00
+20600000
+1fe20400
+793f8025
+44d04014
+18427e00
+20407e91
+1c307e00
+79207e2c
+20407e7a
+793ffe2c
+20403bda
+20407e7a
+20740000
+20407e84
+98003600
+37c18200
+20600000
+793f8025
+44d0c014
+20383b93
+35330200
+1d020400
+20203b96
+20373b95
+34730200
+1c420400
+20343ba3
+28400601
+2420bb8d
+793f8025
+44d14014
+68008030
+c4000000
+6802416a
+98467e00
+24610000
+1fe67cff
+20213b8d
+20600000
+28400603
+2420bb8d
+20203b99
+793f8025
+44d1c014
+d9600600
+20203b8d
+78547c00
+20203ba6
+78347c00
+20203ba6
+793f8025
+44d24014
+20403b41
+7850fc00
+78307c00
+20600000
+793f8025
+44d2c014
+d9600e43
+34730200
+782b7c00
+20600000
+793f8025
+44d34014
+d9600d00
+34730200
+20600000
+793f8025
+44d3c014
+d9600e43
+35330200
+782b7c00
+20600000
+793f8025
+44d44015
+51207e00
+782efc00
+79202a00
+08008648
+784efc00
+20600000
+1ca20400
+18418460
+18421c00
+20600000
+793f8025
+44d4c015
+6800c130
+1fe0fe01
+c083bbd7
+18007e01
+6000c130
+98000800
+20600000
+1b220400
+20748000
+1b420400
+20600000
+1c427e00
+20748000
+1d027e00
+20600000
+793f8025
+44d54015
+680a004d
+20403bde
+98461600
+19627e00
+68090051
+18438400
+98467e00
+20600000
+793f8025
+44d5c015
+20403bde
+6002004d
+20600000
+20203bf1
+20203bf2
+207a0000
+1fe37e00
+1fe0fffd
+1fe0ffff
+2422bbf6
+18007e00
+20600000
+df200010
+d8a00000
+20407e3b
+d8a003c0
+df20000a
+20407e3b
+7007de00
+700b7d00
+70040d00
+70018900
+70044d00
+793f8025
+44d64015
+70017700
+70015300
+70015e00
+589e8b33
+6001c147
+58000153
+60010083
+7000851e
+70008601
+70008807
+5812e904
+60018080
+58000a04
+6001c6fd
+580012e9
+60014700
+70008f60
+70417105
+70001402
+204075cd
+793f8025
+44d6c015
+20758000
+58000000
+60010091
+1c437e00
+60024134
+20600000
+580000aa
+d8a000d3
+1800721e
+e0a08000
+c2003c26
+20600000
+70890702
+7089081f
+7089091f
+70890ae0
+70890b4e
+70891245
+70895300
+70894cfb
+70894def
+70894e0c
+70896f88
+70897330
+70895300
+708956c9
+7089586c
+70895950
+20600000
+708930a9
+70892fb1
+70892eb9
+70892dad
+70892cb1
+70892bb5
+70892aba
+708929be
+708928c2
+708927c6
+708926ca
+708925ce
+708924d2
+708923d6
+708922da
+708921de
+708920e2
+70891fe6
+70891eea
+70891dee
+70891cf2
+70891bf6
+70891afb
+708947f5
+708946e5
+708945d5
+708944d8
+708943c9
+708942c8
+70894189
+70894088
+70893f87
+70893e48
+70893d09
+70893c08
+70893bc9
+70893ac8
+708939c7
+708938c6
+708937c5
+708936c4
+708935c3
+708934c2
+708933c1
+708932c0
+70893180
+20600000
+783b7c00
+588e89be
+1fed7e00
+1fe1fed6
+98001200
+70891407
+70890aa0
+70890d8f
+7089110f
+70891287
+20600000
+5800ee21
+60110050
+6810813e
+c301e725
+7835fc00
+c303bc7f
+7855fc00
+1ce27e00
+243a3c7f
+d85fffff
+20203cec
+6811813c
+6011804c
+e8c08000
+1fe1feef
+e0a08000
+20403db2
+6810804f
+79207e04
+6010804f
+20403db2
+2055bc90
+6810804e
+793ffe03
+6010804e
+20403db2
+20758000
+20206725
+6800c239
+60108086
+6801c22e
+60118080
+68024222
+60120074
+6802421e
+60120070
+68044226
+60140078
+68044231
+98000000
+68140140
+600400a3
+20406781
+20600000
+18027e00
+60044231
+68140070
+6004421e
+e8c40000
+e0a40000
+68118080
+6001c22e
+68108086
+6000c239
+20203db8
+681080b4
+243a3cb1
+6801c210
+247a0000
+7080b4c0
+70800680
+6810812d
+c4008000
+68118149
+6001c210
+20600000
+793f8025
+44d74015
+1b427e00
+20407e78
+680a4200
+18467cff
+20610000
+1fed7e00
+1ff27e00
+9846fc00
+20407efd
+1807fe00
+d84000c8
+20407f2e
+6000809b
+24343cc7
+1fe67e00
+6809c210
+9840fe00
+6001c210
+58000000
+60024200
+20600000
+793f8025
+44d7c015
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+6800c1f8
+6000c21d
+6800c21b
+79207e07
+6000c21b
+793f8025
+44d84016
+68024200
+9840fe00
+60024200
+20403ca0
+6802c219
+6012004c
+1fef2200
+37d98200
+1b227e00
+60034204
+70800502
+37d98200
+37d98200
+1a227e00
+6010804f
+70800502
+37d98200
+37d98200
+601a004c
+70800510
+37df8200
+793f8025
+44d8c016
+58000000
+1ce27c00
+2022bcfd
+6810813c
+6818813d
+98467c00
+20213cfb
+18427e00
+9ce67e00
+1fe0fe01
+1fe0fe08
+37d98200
+9e20fe00
+680a41fc
+9840fe00
+6809c210
+984ffe00
+1fecfe00
+1ff1fe00
+1fe0fe6e
+d8400ea6
+9846fc00
+20407efd
+1807fe00
+1ff07e00
+18070400
+9841fe00
+680b4204
+20407e6d
+18423200
+68034048
+204039c0
+1b427e00
+60030161
+1ce27e00
+e0a08000
+6810811d
+1fe1fef0
+e0a08000
+20407f52
+20600000
+793f8025
+44d94016
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+20403dca
+247a0000
+6800c040
+2fe00e03
+2420bd4d
+68014042
+207a0000
+20758000
+793f8025
+44d9c016
+680880a2
+68014042
+984ffe00
+18518400
+184b0400
+98467e00
+680a4044
+9840fe00
+6808c1f7
+98467e00
+1ff06000
+793f8025
+44da4016
+6801404e
+1fe37e00
+20407e91
+1e027e00
+20407e7a
+1b420400
+20407e78
+20740000
+20407e8a
+793f8025
+44dac016
+6800c219
+98467c00
+20213cca
+600a41fc
+20403ea9
+2040530c
+680a41fc
+20203cda
+793f8025
+44db4016
+6800c040
+c3800000
+c3818000
+6800c7dc
+203a3d56
+6800c793
+207a0000
+6800c3d8
+243a3d5a
+6800c133
+207a0000
+680141f5
+207a0000
+6808c1f7
+98467e00
+d8401d4c
+984ffe00
+20203d42
+793f8025
+44dbc016
+7855fc00
+68008030
+c4008000
+2436bd7b
+20403d76
+68014161
+6001003e
+68008047
+c281bd8a
+c586bd8a
+2040527e
+243a3d8a
+7000a200
+c586bd8a
+6800c215
+203a3d8e
+1fe0ffff
+6000c215
+20600000
+7041fa00
+6801c20a
+1fe0fe01
+6001c20a
+20600000
+793f8025
+44dc4017
+68094161
+18430400
+6801003e
+9840fe00
+6001003e
+7000a200
+6801c20d
+1fe0fe01
+6001c20d
+6800c1fa
+1fe0fe01
+6000c1fa
+20600000
+7000a200
+6800c214
+6000c215
+20600000
+6808c213
+600880a2
+20600000
+793f8025
+44dcc017
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+70804204
+2000000a
+37d98200
+1e227e00
+9e067e00
+1fe0fe30
+d84000ff
+20407f2e
+6000c219
+20600000
+d8a00fff
+98a10a00
+6800c216
+1fe17ef0
+1fed7e00
+98a1fe00
+6011004c
+e8c10000
+e0a10000
+58000001
+20203db3
+58000002
+37d98200
+60108005
+37d98200
+37d98200
+20600000
+793f8025
+44dd4017
+680200a3
+6012004c
+58000004
+20403db3
+680200a7
+6012004c
+58000008
+20203db3
+680141f3
+f9207e00
+600141f3
+20600000
+680141f3
+f93ffe00
+600141f3
+20600000
+793f8025
+44ddc017
+20403ea7
+680141f3
+1fe22200
+6800804c
+2feffe06
+7920a20b
+68008078
+6808807c
+9840fe00
+68088048
+9840fe00
+7d3a220a
+793f8025
+44de4017
+680102c4
+680902c6
+9840fe00
+7d3a220d
+6802c7df
+7d3a220f
+6802c7e4
+7d3a220e
+6800c272
+7d3a2208
+6800c132
+2fe1fe0a
+2040bdf5
+793f8025
+44dec017
+6800c132
+c080bdfa
+20403df5
+6800c25e
+793a2203
+680242a5
+d8401710
+98408400
+1c427e00
+98467c00
+7d212204
+20203dfc
+68110112
+7d3a2206
+6811010e
+7d3a2205
+20600000
+5ffffff8
+9a212200
+1a227e00
+600141f3
+207a0000
+20768000
+7835fc00
+20600000
+68120138
+793ffe1b
+6012004c
+20403db0
+20203bf1
+6812013c
+79207e14
+6012004c
+20203db2
+6812013c
+793ffe14
+6012004c
+20203db2
+793f8025
+44df4017
+6800c132
+c1808000
+20406a8b
+20608000
+68024807
+243a3e1a
+1c427e00
+60024807
+20206a6b
+793f8025
+44dfc017
+1c427e00
+680a4807
+98467e00
+d8400021
+98467c00
+24610000
+58000000
+60024807
+20204599
+680141f1
+c2803bf1
+20600000
+680141f1
+c280bbf1
+20600000
+680141f1
+c2813bf1
+20600000
+58003e37
+6001428e
+58003e3d
+60014292
+58003e37
+60014290
+20758000
+7047e901
+20600000
+68008030
+c300de9f
+7920000d
+6803420a
+60034703
+20207bde
+1a627e00
+c1880000
+20407bb1
+6800c7eb
+c000be3f
+20407be2
+20203ccd
+18000402
+184085fe
+20403a7a
+20403a91
+7843fc00
+782efc00
+79202a00
+20403bae
+68008000
+08008608
+20203e4c
+79200025
+44e6c039
+6800c132
+203a3e4f
+c0035aa2
+c003cb33
+c0024293
+c001cc09
+c000c461
+c004f624
+c00562ef
+c0064bf3
+c006ea8e
+c07fbe2e
+c2836486
+20600000
+79200025
+44e74039
+70015300
+70018900
+70018a00
+58000000
+600287da
+6800c132
+203a3e5f
+c005631f
+20600000
+20407ba1
+20407c45
+20403e73
+68014290
+20207f66
+6801428e
+20207f66
+6801428c
+20207f66
+79200025
+44e7c039
+da2047df
+20407f9f
+207a0000
+1fe22600
+20403e7d
+20203ea5
+da600000
+20600000
+c000be92
+c0083ed9
+c002beb6
+c0093ebd
+c0033ed5
+c0023efe
+c0013f03
+c009befe
+c00a3ecc
+c00abed0
+c001beaf
+c005bec1
+c0063ec8
+c00b3edd
+c00c3eab
+c0153e9b
+c015be99
+1fe1040f
+1fe17ef0
+c0283ee1
+20600000
+680147f4
+79207e00
+600147f4
+680142a2
+793ffe00
+600142a2
+20600000
+70025800
+20600000
+68008258
+1fe0fe01
+60008258
+1fe67c01
+20213f6c
+70025800
+680142a2
+79207e09
+600142a2
+20203f77
+68014292
+20207f66
+68014286
+20207f66
+6801428a
+20207f66
+680142a2
+79207e01
+600142a2
+20203fa2
+680147f4
+79207e07
+600147f4
+680142a2
+79207e02
+600142a2
+20600000
+680147f4
+79207e01
+600147f4
+680142a2
+79207e04
+600142a2
+20600000
+680147f4
+79207e03
+600147f4
+20600000
+680147f4
+79207e05
+600147f4
+680142a2
+79207e03
+600142a2
+20600000
+680147f4
+793ffe05
+600147f4
+20600000
+680147f4
+79207e09
+600147f4
+20600000
+680147f4
+793ffe09
+600147f4
+7046f800
+20203fa6
+680147f4
+79207e02
+600147f4
+20600000
+680142a2
+79207e00
+600142a2
+20600000
+680142a2
+79207e08
+600142a2
+20203f77
+79200025
+44e8403a
+60088259
+68008259
+207a0000
+1fe0ffff
+60008259
+20407bb1
+20403f60
+20403eed
+20403ef5
+20203ee4
+6800c29d
+207a0000
+1fe0ffff
+6000c29d
+247a0000
+204032ee
+2022bf9e
+20600000
+680147f0
+207a0000
+1fe0ffff
+600147f0
+247a0000
+20403f7e
+20403f98
+68014294
+20207f66
+20403f15
+680147f4
+793ffe07
+600147f4
+20600000
+70429d00
+680147f4
+c283bf08
+2fec0001
+2040be7b
+680147f4
+793ffe00
+793ffe01
+793ffe02
+793ffe03
+793ffe04
+600147f4
+20203fa6
+20403f12
+20203f9a
+58000000
+600142a0
+20600000
+58000000
+600142a2
+20600000
+680142a2
+600142a0
+58000000
+600142a2
+20600000
+680142a2
+79207e07
+600142a0
+58000000
+600142a2
+20600000
+2040691d
+68034274
+20600000
+6800c48b
+203a3f2a
+20403f96
+20203f82
+20403f94
+20203f88
+79200025
+44e8c03a
+da400244
+da603f31
+20203301
+d8400000
+c3003f35
+1a208c10
+e8cb0000
+18427e00
+245a3f3a
+e24b0000
+1a40a406
+20203307
+6800c29a
+1fe0fe01
+6000c29a
+20600000
+70429a00
+20203f2c
+6800c7f4
+2feffe05
+20600000
+58000000
+20203f46
+5800aa55
+600102a8
+79200025
+44e9403a
+d8400002
+da2002a8
+da4000c3
+2020683e
+79200025
+44e9c03a
+d8400002
+da200161
+da4000c3
+2040681d
+68010161
+d840aa55
+98467c00
+20600000
+6800c747
+6000c29d
+20600000
+d8e00009
+20203dc2
+d8e00009
+20203dc6
+70429e05
+20203f5a
+6800c29e
+207a0000
+1fe0ffff
+6000c29e
+247a0000
+20203f5c
+7043cc01
+20600000
+7043cc00
+20600000
+700b7d0a
+20207c33
+700b7d1d
+20207c33
+79200025
+44ea403a
+6800c29f
+60008177
+70025701
+700b7d03
+20207c33
+700b7d1e
+20207c33
+700b7d04
+20207c33
+680147fe
+600147f0
+20403f94
+700b7d01
+20207c33
+58000000
+600147f0
+700b7d02
+20207c33
+700b7d0f
+20207c33
+700b7d10
+20207c33
+700b7d0e
+20207c33
+700b7d0d
+20207c33
+700b7d17
+20207c33
+700b7d18
+20207c33
+700b7d16
+20207c33
+700b7d11
+20207c33
+700b7d1c
+20207c33
+700b7d15
+20207c33
+700b7d14
+20207c33
+700b7d13
+20207c33
+700b7d19
+20207c33
+700b7d06
+20207c33
+700b7d05
+20207c33
+700b7d1f
+20207c33
+700b7d20
+20207c33
+7920000d
+20600000
+793f800d
+20600000
+79200025
+44c84032
+d8400020
+da204419
+da4000a0
+2040681d
+d8400020
+da204702
+da40007f
+2040681d
+d8400006
+da204140
+da400063
+2040681d
+d8400006
+da2044f9
+da400069
+2040681d
+20405adb
+d8400002
+da2042ac
+da4000c0
+2040681d
+20406909
+20203fc1
+d840000e
+da20054f
+da40006f
+2020681d
+79200025
+44c8c032
+20403f4d
+2022bfa8
+20403fd2
+20403fd7
+20405adb
+20403fdc
+20403fe0
+204062e9
+20403fe4
+20403fe9
+20203f45
+6808c702
+18408401
+da204702
+da40007f
+2020683e
+6808c419
+18408401
+da204419
+da4000a0
+2020683e
+d8400006
+da2044f9
+da400069
+2020683e
+d8400006
+da204140
+da400063
+2020683e
+6808854f
+18408401
+da20054f
+da40006f
+2020683e
+580001a0
+600102a8
+d8400002
+da2002a8
+da4000c0
+2020683e
+79200025
+44c94032
+6801480e
+d840012c
+98467c00
+2021427f
+20403e2b
+20407f6b
+18622200
+6801480e
+1fe0fffe
+98608600
+e8610000
+d8400a0d
+98467c00
+24628000
+1a220600
+da404850
+df200003
+20404237
+2420c27f
+20204005
+79200025
+44c9c032
+18622200
+da404827
+18007204
+20404237
+2020c06d
+da404824
+18007207
+20404237
+2020c074
+da40482e
+18007204
+20404237
+2020c07b
+da40482b
+18007207
+20404237
+2020c081
+da404832
+18007204
+20404237
+2020c087
+da404820
+18007204
+20404237
+2020c08c
+da40481c
+18007204
+20404237
+2020c08f
+da404836
+18007205
+20404237
+2020c095
+da404853
+18007204
+20404237
+2020c09b
+da404857
+18007204
+20404237
+2020c0a1
+da40485b
+18007205
+20404237
+2020c0a5
+da404860
+18007204
+20404237
+2020c0ab
+da404864
+18007204
+20404237
+2020c0b0
+da404868
+18007204
+20404237
+2020c0b7
+da40486f
+18007204
+20404237
+2020c0d6
+da40486c
+18007207
+20404237
+2020c0dd
+da404873
+18007205
+20404237
+2020c0f2
+da404878
+18007204
+20404237
+2020c0f8
+da40487c
+18007207
+20404237
+2020c0fb
+da404841
+18007206
+20404237
+2020c100
+da404883
+18007206
+20404237
+2020c12c
+da404849
+18007203
+20404237
+2020c10e
+da40484c
+18007204
+20404237
+2020c117
+da40483b
+18007206
+20404237
+2020c127
+da404889
+18007203
+20404237
+2020c129
+2020427f
+e8608000
+c01fc071
+c01ec131
+2020427f
+20407f6e
+20404194
+20204286
+e8608000
+c01fc078
+c01ec136
+2020427f
+20407f6e
+2040419b
+20204286
+e8608000
+c01fc07f
+c01ec13c
+2020427f
+204041a2
+20204286
+e8608000
+c01fc085
+c01ec140
+2020427f
+204041a8
+20204286
+e8608000
+c01fc08a
+2020427f
+204041ae
+20204286
+e8608000
+c01ec149
+2020427f
+e8608000
+c01fc093
+c01ec144
+2020427f
+20404204
+20204286
+e8608000
+c01fc099
+c01ec157
+2020427f
+204041b4
+20204286
+e8608000
+c01fc09f
+c01ec172
+2020427f
+204041ba
+20204286
+e8608000
+c01fc0e1
+c01ec15a
+2020427f
+e8608000
+c01fc0a9
+c01ec16b
+2020427f
+2040420b
+20204286
+e8608000
+c01fc0ae
+2020427f
+204041c0
+20204286
+e8608000
+c01fc0b3
+20204286
+204032ee
+2422c27f
+204041cd
+20204286
+e8608000
+c01fc0ba
+2020427f
+6800c040
+c300427f
+20407f6e
+6800c041
+c28040c0
+202040cb
+da204868
+df200004
+20404232
+20404247
+58000034
+e1408000
+2040424e
+da2003d0
+20407e9d
+204068fa
+20204286
+da204868
+df200004
+20404232
+20404247
+58000033
+e1408000
+2040424e
+da200040
+20407e9d
+204068fa
+20204286
+79200025
+44ca4032
+20403f3e
+6800c29a
+c080427f
+204041f0
+20204286
+79200025
+44cac032
+204041f6
+20204286
+da204857
+df200004
+20404232
+204032ee
+2422c24a
+6800c041
+c280c0eb
+204040ef
+204068fa
+20204286
+5800004d
+e1408000
+204068fa
+20204286
+58000053
+e1408000
+20600000
+e8608000
+c01fc0f6
+c01ec17e
+2020427f
+204041d8
+20204286
+e8608000
+c01ec151
+2020427f
+e8608000
+c01fc0fe
+2020427f
+204041de
+20204286
+6800c29f
+60008177
+2040691d
+20403f3e
+6800c29a
+c080427f
+6800c2a9
+c019c10c
+c01a410a
+2020427f
+20403f82
+20204286
+20403f6e
+20204286
+20403f3e
+6800c29a
+c080c27f
+6800c041
+c2804115
+20403f77
+20204286
+20403f90
+20204286
+e8608000
+c01ec11a
+2020427f
+e8608000
+c018c122
+c018411e
+2020427f
+20403f40
+2020c286
+20403f9e
+20204286
+20403f40
+2420c286
+204063ab
+20406414
+20204286
+20403f43
+20204286
+e8608000
+c01ec187
+2020427f
+20403f3e
+6800c29a
+c080427f
+2040638a
+20204286
+da204703
+2040422b
+6008c702
+20403fd2
+20204286
+da20441a
+2040422b
+6008c419
+20403fd7
+20405adb
+20204286
+d8a04140
+20407ebf
+20403fe0
+20204286
+d8a044f9
+20407ebf
+20403fdc
+20204286
+da200550
+2040422b
+6008854f
+20403fe4
+20204286
+20407eb0
+5adc6c00
+9846fc00
+20407efd
+1807fe00
+600102a8
+20403feb
+20204286
+e8608000
+1fe67c33
+2421427f
+1fe17e03
+6000c812
+20204286
+e8618000
+6001c14a
+20204286
+204032ee
+2422c27f
+e8608000
+c029c160
+c026c163
+2020427f
+6800c041
+c280c166
+2020427f
+6800c041
+c300c166
+2020427f
+6800c813
+79207e04
+6000c813
+70427218
+2020428c
+d8a04280
+20407ebd
+d8a04282
+20407ebd
+d8a04284
+20407ebd
+20204286
+e8608000
+c018c176
+c019417c
+2020427f
+e8608000
+d8a001b4
+20407ebf
+20406931
+24740000
+20204286
+2040693d
+20204286
+e8608000
+6808c812
+7d3a0402
+6008c812
+203a4286
+e8608000
+d8a04814
+20407ebf
+20204286
+79200025
+44cb4032
+df200014
+d8a01000
+2040497c
+da201000
+68009000
+2fe1fe12
+2040eb19
+68009000
+2fe1fe13
+2040eb45
+20204286
+da204827
+df200004
+20404232
+6800c702
+1fe27200
+d8c04703
+20207f74
+da204824
+18007207
+20404232
+20405b08
+e8c08000
+1fe27200
+20207f74
+da20482e
+df200004
+20404232
+da204140
+20407e9d
+202068fa
+da20482b
+df200007
+20404232
+da2044f9
+20407e9d
+202068fa
+da204832
+df200004
+20404232
+df200006
+d8c04804
+20207f74
+da204836
+df200005
+20404232
+df200003
+d8c0414a
+20207f74
+da204853
+df200004
+20404232
+20406988
+20404253
+202068fa
+20406929
+da204860
+df200004
+20404232
+680081b3
+c019c1c8
+c01a41c8
+202068fa
+e1408000
+2040424e
+da2001b4
+20407e9d
+202068fa
+79200025
+44cbc032
+da204864
+df200004
+20404232
+204041d4
+202068fa
+da200018
+df200001
+20207e9e
+20600000
+da204873
+df200005
+20404232
+da204814
+20407e9d
+202068fa
+da20487c
+df200007
+20404232
+6800c812
+1fe22200
+6800c040
+2feffe00
+7920a203
+2feffe01
+7920a205
+6800c041
+2feffe01
+7920a204
+2feffe00
+7920a206
+1a227e00
+e1408000
+202068fa
+589e8b33
+6001c147
+6800c2a4
+79207e00
+6000c2a4
+20204636
+20403f3e
+6800c29a
+c080427f
+20403f8a
+6800c2a4
+79207e01
+6000c2a4
+58000200
+6001481a
+da20486c
+df200006
+20404232
+20407f74
+2020428c
+da20481c
+df200004
+20404232
+6800854f
+1fe27200
+d8c00550
+20207f74
+da20485b
+df200005
+20404232
+20404247
+58000054
+e1408000
+20404244
+da204280
+20407e9b
+20404247
+58000041
+e1408000
+20404244
+da204282
+20407e9b
+20404247
+5800004f
+e1408000
+20404244
+da204284
+20407e9b
+20207f74
+20407f6e
+20404247
+da200182
+20407e9d
+2040424e
+da20017f
+20407e99
+2040424e
+204041d4
+202068fa
+2040422d
+2020497c
+20404269
+1fe20400
+1fe27200
+1a220a00
+20600000
+20407f6e
+20404241
+1a220c00
+20404976
+20204244
+e8608000
+ea488000
+98467c00
+7840fc00
+2422c240
+1a40a401
+c2004237
+7820fc00
+20600000
+20204251
+5800002b
+e1408000
+20600000
+5800003a
+e1408000
+20600000
+5800003e
+e1408000
+20600000
+5800004e
+e1408000
+204068fa
+20204286
+5800002c
+e1408000
+20600000
+1a220600
+20600000
+da600195
+df200004
+1f227e00
+60008161
+ea608000
+c019c25b
+c01a425b
+20204267
+20404247
+ea608000
+e1408000
+1a60a601
+2040424e
+1a622200
+20407e9d
+1a60a606
+68008161
+1fe27200
+c2004255
+20600000
+1a60a601
+20204262
+79200025
+44cc4033
+68110058
+98667e00
+20628000
+20214273
+6809480e
+9840fe00
+1fe0fffe
+20600000
+20404278
+98608400
+68110058
+98467e00
+2020426f
+dfe04fff
+1fe0fe01
+d8404a00
+98467e00
+20600000
+6809480e
+20206903
+79200025
+44ccc033
+20407f6e
+58525245
+e1418000
+204068fa
+2020428c
+79200025
+44cd4033
+20407f6e
+58004b4f
+e1410000
+204068fa
+79200025
+44cdc033
+2040427d
+58000000
+6001480e
+6002480a
+20600000
+20407db2
+20403f94
+5800429f
+6001428c
+580042be
+60014292
+58007cdb
+60014290
+70025a05
+70026e00
+7042721b
+20600000
+7840fc00
+20403f3e
+70041c1b
+6800c29a
+2fe00602
+24608000
+7043d200
+20600000
+68008340
+c30042b0
+68030342
+680b03d0
+98467c00
+24628000
+680303d0
+600344e7
+20600000
+da2000ff
+20405b52
+24628000
+e8c10000
+68090270
+98467c00
+24628000
+6800826e
+1fe0fe01
+6000826e
+6808826f
+98467c00
+202142ad
+20600000
+1a627e00
+c00ac2c5
+c00a42d7
+1fe1040f
+1fe17ef0
+c02842cd
+20600000
+58000000
+600344e7
+70026e00
+58000000
+60028ff1
+700ff001
+20407cdb
+20203f8a
+20600000
+6800c3d2
+207a0000
+6800825a
+207a0000
+1fe0ffff
+6000825a
+247a0000
+204042d8
+20203f8e
+20203f8c
+70025a05
+68008267
+c000c2e1
+c00142dd
+20600000
+6803025b
+60030268
+70026701
+20600000
+68030261
+60030268
+70026702
+20600000
+e8610000
+203a4490
+98002600
+e8608000
+60008293
+98002200
+c30342ed
+1a60a7fe
+e8610000
+1ff1f200
+1fe1100f
+9a20a200
+1fecfe00
+9a20a200
+e8608000
+9a20fe00
+c0ffc319
+1a60fffc
+9f267c00
+2422c316
+68008293
+2fec0007
+2020c302
+793f801b
+c50dc302
+1fe17e07
+6808828c
+98467c00
+2422c316
+58000640
+18000e07
+20407e4c
+19027e00
+20404320
+20740000
+68008293
+98002200
+1fe90400
+18410407
+6800828b
+98467e00
+1fe67e00
+1fe17e07
+c080c316
+6008828b
+68008272
+1fe0fe01
+60008272
+20204319
+68008273
+1fe0fe01
+60008273
+68110058
+98000600
+e8610000
+98608600
+18627e00
+60110058
+20600000
+78547c00
+207a0000
+c000c328
+c0014346
+c002c507
+c00344dd
+c0044a56
+20600000
+793f8018
+e8608000
+c06d432f
+c0564336
+c056c33a
+c06f4344
+20600000
+c50bc333
+180004da
+58ededdc
+2040433c
+180004ac
+58eeefaf
+2020433c
+79200017
+180004ad
+58edacef
+2020433c
+180004de
+58d0d0ad
+1fed7e00
+98418400
+20404972
+e14a0000
+18000e01
+18007204
+793f8013
+20204378
+18006000
+20204933
+1f226000
+20404371
+18002400
+20404972
+1e027200
+e8608000
+58000001
+e1408000
+793f801a
+e8608000
+1a40a401
+c00e435b
+2a41fe04
+2420c35d
+793a001a
+c09d435d
+580007d0
+18000e00
+20407e4c
+79200018
+20600000
+2a41fe06
+2020c366
+280ffe1a
+2040c368
+e1408000
+c200434f
+793f8019
+1e027200
+79200013
+18000e02
+20204378
+79200019
+2020435d
+c60c8000
+2a41fe0a
+2020c36f
+2a41fe0b
+24608000
+58000012
+20600000
+580000e9
+20600000
+68008293
+1fe0fe01
+1fe17e07
+6000828c
+18007200
+18000e00
+793f8013
+1f20a404
+6800828c
+1fe9a600
+280c0014
+7d20a606
+2020c37f
+1a40a402
+c589c389
+79202607
+68008294
+9a61a600
+1fe0fe01
+1fe17e07
+60008294
+68008274
+1fe0fe01
+60008274
+6801028f
+98001400
+1a427e00
+280ffe13
+7920fe0f
+e1410000
+19422200
+1a627e00
+e1408000
+1f327e00
+98e1fe00
+9a60a600
+e1410000
+1fecfe00
+9a60fe00
+1fe67eff
+e1408000
+c58a439f
+1f20f204
+1a221400
+20404986
+e1410000
+6801028f
+9a409400
+19409402
+19427e00
+6001028f
+6011005e
+6809028d
+204043d8
+204043ab
+58000640
+18000e07
+20207e4c
+58000190
+18000e01
+20407e4c
+79200015
+20600000
+c68a8000
+18000e01
+20407e53
+247a0000
+6801028d
+60110060
+202043ab
+6801028f
+6809028d
+98467c00
+2022c3d6
+18421400
+e9410000
+98002200
+9ea17e00
+99409400
+68110110
+99467e00
+9ea12400
+6801028f
+99467e00
+9ea17e00
+9a467e00
+24610000
+2a2c000f
+2020c3d1
+68008272
+207a0000
+1fe0ffff
+60008272
+68008274
+1fe0ffff
+60008274
+19420400
+6009028d
+6801028f
+204043d8
+202043b7
+793f8015
+20600000
+98467e00
+9ea17e00
+9ea67e00
+1fe67e00
+60010291
+20600000
+6801028f
+99409400
+20600000
+20600000
+79200025
+44f6403d
+6800c272
+247a0000
+204043e9
+2454440e
+20600000
+79200025
+44f6c03d
+18622200
+d8400004
+e8608000
+c000c3f4
+18408401
+c00143f4
+18627e00
+60110058
+20600000
+68110112
+98467c00
+242143f4
+78547c00
+1a220600
+20404417
+98408400
+68110112
+98467c00
+242143fb
+1a220600
+e8608000
+c000c507
+c0014403
+20203bf1
+79200025
+44f7403d
+18622200
+e8610000
+1a220600
+68088046
+a841fe00
+2020c4dd
+203b58ea
+78347c00
+20600000
+79200025
+44f7c03d
+68110058
+98000600
+20404417
+98608600
+18627e00
+60110058
+20600000
+e8608000
+18608602
+c001441c
+e8608000
+20600000
+e8610000
+20600000
+6811005e
+194095fb
+99409400
+20600000
+d8400004
+20204425
+d8400002
+79200025
+44f8403e
+1f20f201
+6811005e
+1fe21400
+1f227e00
+e1488000
+1fe0ffff
+99409400
+19427e00
+6001029d
+18427e00
+c1010000
+6801029d
+6011005e
+2020443b
+79200025
+44f8c03e
+6801029d
+203a3bf1
+6011005e
+2020443b
+58000000
+6001029d
+20600000
+68190110
+6811005e
+98462200
+24214447
+6819005a
+6811005c
+98467e00
+9a260400
+20600000
+1a2605ff
+20600000
+793f8025
+44e6c019
+6800c132
+c1808000
+204044a3
+20404494
+2040c3b0
+20404494
+2040c3b7
+202044e6
+c68c0000
+18000e00
+20407e53
+247a0000
+20404472
+20404494
+24608000
+793f8017
+180004da
+58ededdc
+2040433c
+580007d0
+18000e00
+20207e4c
+793f8025
+44e74019
+20758000
+58004aed
+60014290
+580001a0
+600142ac
+793f8025
+44e7c019
+20406a0d
+58001800
+60110054
+58001bff
+60110056
+58001c00
+6011005a
+20404489
+793f8025
+44e8401a
+70806200
+70028b00
+70028c00
+70029400
+58001c00
+6001028f
+6001028d
+6011005e
+60110060
+58001800
+60110058
+60010289
+793f8025
+44e8c01a
+68110050
+793ffe0f
+60110050
+20406909
+70804301
+70806281
+20204497
+58001fff
+6011005c
+68108081
+1fe1fe07
+60108081
+70029fff
+20600000
+68110116
+60110058
+7920001b
+20600000
+68108062
+2feffe03
+20600000
+58004803
+60010295
+60010297
+18000401
+9840fe00
+9840fe00
+1fe0fe02
+60010299
+58000000
+6000829c
+6000829b
+20600000
+793f8025
+44e9401a
+6810810c
+98002400
+c301c4ad
+68110112
+98002600
+d840044f
+98467c00
+24628000
+68110058
+98000600
+20404494
+2020c2e5
+202043e2
+20404494
+2020c371
+20600000
+6818810c
+284ffe06
+2020c4b5
+60108015
+20600000
+68090299
+68010295
+98000a00
+18627e00
+e0a10000
+18a27e00
+60010295
+a841fe00
+2040c4c7
+6800829b
+1fe0fe01
+6000829b
+20600000
+58004803
+60010295
+20600000
+6800829b
+207a0000
+68090299
+68010297
+98000c00
+e8c10000
+98000600
+18c27e00
+60010297
+a841fe00
+2040c4da
+6800829b
+1fe0ffff
+6000829b
+18007e01
+20600000
+58004803
+60010297
+20600000
+793f8025
+44e9c01a
+6800829b
+1fe67c02
+202144e4
+78347c00
+202044e6
+204044b2
+204044ba
+793f8025
+44ea401a
+c6010000
+204044ca
+207a0000
+e8688000
+204032f7
+24628000
+e8608000
+1ff1fe00
+1fe17e03
+243a44f3
+79207e01
+79207e02
+60008090
+e8610000
+60010091
+18627e00
+60010179
+79200002
+c584c502
+68008046
+98467c00
+2422c502
+6800804b
+79207e06
+6000804b
+20600000
+1a20a21b
+ea208000
+79207e06
+e2208000
+20600000
+793f8025
+44eac01a
+6800c272
+203a450d
+78347c00
+20600000
+204044b2
+e8610000
+98006000
+98000e00
+e8608000
+98000400
+1e0b7e00
+1fecfe00
+c000c51e
+c001453d
+c001c54f
+c0024569
+c002c572
+c003457c
+c01fc585
+c00445e0
+20600000
+793f8025
+44eb401a
+18e27e00
+c000c634
+c0014643
+c001c949
+c0024949
+c002c645
+c003464f
+c003c949
+c004465d
+c004c739
+c005473f
+c005c664
+c006466a
+c006c66d
+c0074675
+c007c743
+c008c688
+c009c68b
+c00ac949
+c00bc949
+c00cc690
+c00dc69b
+c00e4696
+c00ec6a1
+c00fc6a7
+c01446ab
+c014c6b6
+c015c67b
+2020474d
+793f8025
+44ebc01a
+18e27e00
+c004c6cc
+c006c6d7
+c000c949
+c001c74f
+c002475a
+c002c949
+c0034949
+c003c949
+c005c760
+c0064949
+c0074949
+c007c949
+c0084949
+c008c75f
+2020474d
+793f8025
+44ec401b
+18e27e00
+c000c725
+c001c949
+c00946da
+c009c6c2
+c00a46b8
+c00c46db
+c00cc705
+c00d46de
+c00e46e1
+c00f46e6
+c01046ec
+c01146eb
+c01246ef
+c0134949
+c018c949
+c019c949
+c01ac62e
+c021c949
+c022c949
+c023c949
+c028c6f2
+c02b4701
+2020474d
+793f8025
+44ecc01b
+18e27e00
+c000c70a
+c001c70f
+c0024714
+c002c71b
+c004c720
+2020474d
+793f8025
+44ed401b
+18e27e00
+c000c949
+c0014726
+c001c727
+c002c72d
+c0034733
+c003c736
+2020474d
+793f8025
+44edc01b
+18e27e00
+c000c949
+c0014949
+c001c949
+c0024949
+2020474d
+20600000
+793f8025
+44ee401b
+18e27e00
+c0004949
+c000c59d
+c00145a2
+c001c5a6
+c00245b9
+c002c949
+c00345ca
+c003c593
+c00845cd
+c008c5d5
+20204949
+20404949
+20407f68
+20406a68
+20403f5c
+20403f66
+20206a7d
+7042ae00
+20403f5a
+20404468
+20203f68
+2040496e
+68110000
+e1410000
+18007206
+2020494c
+e8610000
+600142ac
+60110052
+20600000
+e8608000
+1fe20400
+60108024
+e8608000
+98408400
+79207e07
+60108023
+e8608000
+98408400
+1fe27200
+e8608000
+60108025
+98408400
+c20045b0
+184104ff
+e8608000
+98467c00
+2422c5c8
+20204949
+df200020
+d8a04000
+d8400000
+e8608000
+e0a08000
+98408400
+c20045bc
+184104ff
+e8608000
+98467c00
+2422c5c8
+70802300
+20404949
+2040440e
+20203001
+70802300
+20203000
+e8630000
+60034140
+20204949
+e8608000
+600082c1
+1fe27200
+e8610000
+600102c2
+1fe20a00
+2040497c
+20204949
+e8608000
+600082c1
+1fe27200
+e8610000
+600102c2
+d8a01000
+2040497c
+680882c1
+da201000
+680102c2
+20206842
+793f8025
+44eec01b
+18e27e00
+c000c949
+c00145f3
+c001c5f8
+c00345ff
+c0044603
+c004c607
+c005460b
+c005c60e
+c0064611
+c006c614
+c0074626
+c00ac627
+c00b4933
+c009c949
+2020474d
+20600000
+2040496e
+58000000
+e1418000
+18007207
+2020494c
+2040496e
+58000001
+e1410000
+58000000
+e1430000
+1800720c
+2020494c
+df20000f
+d8a044d7
+2040497c
+20204949
+df200020
+d8a043d9
+2040497c
+20204949
+df200020
+d8a043f9
+2040497c
+20204949
+e8608000
+6000c3d8
+20204949
+e8638000
+6003c4f6
+20204949
+e8608000
+6000c3d2
+20204949
+e8620000
+600243d3
+e8608000
+6000c4f8
+df200014
+d8a044e6
+2040497c
+7043d201
+6800c4ed
+6000c4f7
+680144f0
+600143d0
+680144f2
+600103ed
+680144f4
+600103ef
+7042721b
+20204933
+20204949
+2040496e
+e8610000
+e1410000
+581fffff
+e1428000
+1800720b
+2020494c
+e8618000
+e8698000
+68014800
+9840fe00
+60014800
+20600000
+e8618000
+6001c147
+70427201
+e8608000
+d8400640
+984ffe00
+d840ffff
+98467c00
+2421463e
+18427e00
+18000e02
+20407e4c
+6800c2a4
+c280428c
+20204933
+70427202
+20204949
+20404763
+e8610000
+60010275
+e8610000
+600080f3
+20404776
+e8608000
+6000c802
+70427205
+20204933
+70427206
+e8610000
+6000c273
+e8608000
+60008446
+7002c016
+6800c273
+680880ad
+98467c00
+2422c933
+70427211
+680080ac
+6000c273
+20204933
+2040496e
+20404965
+1800720a
+2040494c
+7042721a
+18000402
+20204826
+20404763
+d8a04262
+18007210
+2040497c
+7042720b
+20204677
+20404763
+7042720c
+20204677
+20404763
+e8608000
+6000854f
+98007200
+d8a00550
+2040497c
+70427209
+20204677
+20404763
+7042720a
+2040496e
+20404965
+1800720a
+2020494c
+18608606
+e8618000
+600187e6
+680087db
+c009c683
+c001c683
+70427216
+20204684
+7007dd01
+2040496e
+20404965
+1800720a
+2020494c
+20404766
+7042720d
+20204933
+20404766
+e8608000
+1fe0fe0e
+6000c272
+20204933
+20404763
+e8610000
+600080f3
+20404776
+70427203
+20204933
+e8610000
+e8608000
+60008449
+70427215
+20204933
+68008046
+18002202
+203a493d
+20404766
+70427204
+20204933
+68008046
+18002202
+203a493d
+20404766
+70427214
+20204933
+2040476e
+18000e1c
+18007205
+20204952
+20404766
+1860860a
+e8610000
+60010281
+e8608000
+60008283
+e8610000
+60010284
+7000ab02
+70427210
+20204933
+7042721c
+20204933
+2040496e
+d8c04703
+18c672ff
+20404976
+18007e00
+18c67303
+1f20f2f8
+20404982
+180072fc
+2020494c
+d8a04703
+18a672ff
+e8608000
+e0a08000
+203a46c8
+c20046c4
+18a67f03
+1fe67e00
+6000c702
+20204949
+2040496e
+2040496b
+18007e00
+7d34fe00
+e1408000
+18007207
+de000809
+2040494c
+202049bc
+70427217
+20600000
+20404769
+18007206
+2020494c
+20204949
+e8610000
+60014159
+20204949
+e8608000
+6000c133
+20204949
+e8610000
+60014153
+e8610000
+60014151
+20204949
+e8610000
+6001414f
+e8610000
+6001414d
+20204949
+20204949
+e8608000
+60008453
+20204949
+e8618000
+6001c14a
+20204949
+18427e00
+203a4949
+20404970
+18007e01
+e1408000
+1e027e00
+e1410000
+18007e12
+e1408000
+58000000
+1f20f2f1
+20404982
+18000e0e
+180072f5
+20204952
+e8608000
+245a6003
+205a6009
+20204949
+2040496e
+6800c133
+e1408000
+18007205
+2020494c
+2040496e
+68040080
+e1440000
+1800720c
+2020494c
+2040496e
+68044138
+e1440000
+1800720c
+2020494c
+2040496e
+58000101
+e1410000
+58000001
+e1440000
+1800720e
+2020494c
+2040496e
+68038083
+e1438000
+1800720b
+2020494c
+2040496e
+68034140
+e1430000
+1800720a
+2020494c
+20204949
+20204949
+2040496e
+2040496b
+580000ff
+e1408000
+18007207
+2020494c
+2040496e
+2040496b
+58000000
+e1408000
+18007207
+2020494c
+793f8025
+44ef401b
+20204949
+793f8025
+44efc01b
+20204949
+20404763
+70427207
+e8608000
+c000c933
+70427219
+20204933
+20204739
+20404763
+70427208
+20204949
+20404933
+20404970
+58000000
+e1408000
+e8620000
+e1420000
+18007208
+d8e0001d
+df200005
+20204952
+18002201
+2020493d
+20404766
+e8610000
+60014280
+e8610000
+6001027b
+e8610000
+60014282
+e8610000
+60014284
+70427212
+20204933
+20404766
+2040475d
+20204933
+70427213
+20600000
+20204949
+20404763
+70427218
+20204933
+e8630000
+60034274
+20600000
+e8610000
+6000c273
+20600000
+20404766
+2040496e
+6800c273
+e1410000
+20600000
+20404766
+20404933
+20404970
+18007e00
+e1408000
+6800c273
+e1410000
+20600000
+e8610000
+9c40fe00
+1fe17ffc
+600200f4
+20600000
+793f8025
+44f0401c
+68008274
+1fe67c02
+24610000
+680b0182
+204032fc
+20628000
+20404972
+58010f22
+e1418000
+68030182
+e1430000
+6800817d
+1fe20400
+1fe97e00
+1fe97e00
+e1408000
+18427e00
+1fe17e30
+1fe97e00
+1fe37e00
+e1408000
+6801817f
+e1418000
+6802016f
+9c467e00
+e1410000
+580000c8
+e1408000
+1800720f
+20204959
+793f8025
+44f0c01c
+1800041c
+68010291
+98467c00
+24610000
+68098286
+68018185
+98467c00
+20628000
+207a0000
+60018286
+68008274
+1fe67c02
+24610000
+680b0182
+204032fc
+20628000
+204047cc
+1800040f
+680084df
+c084c7c5
+680084de
+203a47c5
+98007200
+e1408000
+98408400
+18408401
+d8c004df
+e8c08000
+e1408000
+c20047b8
+e8c08000
+203a47c5
+98007200
+e1408000
+98408400
+18408401
+e8c08000
+e1408000
+c20047c1
+202047bb
+18467eff
+98007200
+58000000
+e1408000
+c20047c7
+180072ff
+20204959
+793f8025
+44f1401c
+20404972
+5801ff2f
+e1418000
+68030182
+e1430000
+6800817d
+1fe20400
+1fe97e00
+1fe97e00
+e1408000
+18427e00
+1fe17e30
+1fe97e00
+1fe37e00
+e1408000
+6801817f
+e1418000
+6802016f
+9c467e00
+e1410000
+580000c8
+e1408000
+20600000
+793f8025
+44f1c01c
+6800c132
+c1808000
+20404968
+e14c0000
+1800720b
+18000e0b
+20204952
+793f8025
+44f2401c
+6800c132
+c1808000
+20404970
+68030040
+e1430000
+e14c0000
+1800720e
+18000e3d
+20204952
+793f8025
+44f2c01c
+6800c132
+c1808000
+20404968
+68008449
+e1408000
+58000001
+e1408000
+e14c0000
+1800720d
+18000e23
+20204952
+793f8025
+44f3401c
+6800c132
+c1808000
+20404968
+e14a8000
+18007208
+18000e0c
+20204952
+793f8025
+44f3c01c
+6800c132
+c1808000
+20404970
+68030040
+e1430000
+680187e9
+e1418000
+18007209
+18000e32
+20204952
+793f8025
+44f4401d
+6800c132
+c1808000
+20404970
+68030040
+e1430000
+18007206
+18000e31
+20204952
+18000400
+793f8025
+44f4c01d
+6800c132
+c1808000
+18000e03
+70480005
+20404970
+e1488000
+2040496b
+20404965
+18007e01
+e1408000
+18007e00
+6808804c
+284ffe02
+7920fe00
+e1408000
+1800720b
+20204952
+793f8025
+44f5401d
+6800c132
+c1808000
+18000e04
+20404970
+20404965
+6801817f
+e1418000
+e1488000
+1800720a
+20204952
+793f8025
+44f5c01d
+6800c132
+c1808000
+20404968
+18007e00
+6808804c
+284ffe02
+7920fe00
+e1408000
+18000e08
+18007204
+20204952
+793f8025
+44f6401d
+6800c132
+c1808000
+18000e18
+20404970
+20404965
+d8c04262
+18007210
+20404976
+18007e05
+e1408000
+18007217
+20204952
+6800c132
+c1808000
+18000e33
+20404970
+20404965
+680207ec
+e1420000
+1800720a
+20204952
+6800c132
+c1808000
+18000e36
+20404970
+58000000
+e1408000
+20404965
+18007207
+20204952
+793f8025
+44f6c01d
+18000e17
+6800c132
+c1808000
+20404970
+20404965
+18007206
+20204952
+6800c132
+c1808000
+18000e16
+20204875
+6800c132
+c1808000
+18000e12
+20404970
+18007e00
+e1408000
+20404965
+e1488000
+18007208
+20204952
+6800c132
+c1808000
+18000400
+2434c88e
+18000401
+6800c132
+c1808000
+18000e12
+20404970
+18007e35
+e1408000
+20404965
+e1488000
+18007208
+20204952
+793f8025
+44f7401d
+6800c132
+c1808000
+20404972
+5800ff07
+e1410000
+18e27e00
+e1408000
+20404965
+d8c00103
+180072f8
+e8c08000
+e1408000
+c20048a4
+180072ff
+20204959
+793f8025
+44f7c01d
+6800c132
+c1808000
+6810810e
+247a0000
+6800804b
+c4038000
+793ffe07
+6000804b
+20404970
+18007e01
+e1408000
+2040496b
+18007e01
+e1410000
+18000e13
+18007205
+20204952
+793f8025
+44f8401e
+6800c132
+c1808000
+20404968
+18000e06
+18007203
+20204952
+793f8025
+44f8c01e
+6800c132
+c1808000
+20404970
+18007e00
+e1408000
+e1490000
+680082c0
+e1408000
+18000e05
+18007204
+20204952
+793f8025
+44f9401e
+6800c132
+c1808000
+20404970
+58000102
+e1410000
+68088340
+18417e0f
+e1408000
+1a227e00
+e1408000
+68088341
+184085fa
+68030342
+e1430000
+e1488000
+18427200
+20404976
+5800007f
+e1408000
+18427200
+1f20f20c
+18000e3e
+20204952
+793f8025
+44f9c01e
+6800c132
+c1808000
+20404970
+58000001
+e1408000
+e1488000
+680083d6
+e1410000
+680083c1
+1fe37e00
+79407e00
+e1408000
+6800c4e6
+e1408000
+680303d0
+e1430000
+680143d0
+e1410000
+680103ed
+e1410000
+680103ef
+e1410000
+680083f8
+e1408000
+18000e3e
+df200013
+20204952
+793f8025
+44fa401e
+6800c132
+c1808000
+20404970
+20404968
+e1488000
+68010032
+1fe37e00
+e1410000
+18007206
+18000e14
+20204952
+793f8025
+44fac01e
+6800c132
+c1808000
+793f8025
+44fb401e
+20404970
+e1488000
+58000e00
+e1410000
+20404965
+18007e00
+c503c924
+18007e00
+e1438000
+2020492c
+6800c132
+c1808000
+58020602
+e1418000
+5800001e
+e1410000
+5800001e
+e1410000
+6800c132
+c1808000
+680080ab
+e1408000
+18000e2c
+18007211
+20204952
+793f8025
+44fbc01e
+20404970
+58000100
+e1410000
+1e027e00
+e1410000
+18007204
+18000e0f
+20204952
+793f8025
+44fc401f
+20404970
+1a227e00
+e1408000
+58000001
+e1408000
+1e027e00
+e1410000
+18007204
+18000e0f
+20204952
+793f8025
+44fcc01f
+18007204
+20404970
+18007e01
+e1408000
+1e027e00
+e1418000
+18000e0e
+793f8025
+44fd401f
+20404972
+18e27e00
+e1408000
+1f227e00
+e1408000
+79200013
+18000e05
+1f20f202
+20404494
+2020c378
+20204422
+18000eff
+20404970
+58000001
+e1408000
+18007201
+20204952
+68030040
+e1430000
+20600000
+20404970
+18007e00
+e1408000
+68008046
+e1410000
+20600000
+1800140c
+20204973
+18001408
+20204973
+18001406
+20404494
+2020c3de
+2020441e
+1f227e00
+207a0000
+e8c08000
+e1408000
+c2004978
+20600000
+1f227e00
+207a0000
+e8608000
+e0a08000
+c200497e
+20600000
+e1408000
+1fecfe00
+c2004982
+20600000
+7827fc00
+7824fc00
+e9408000
+08008008
+c2004988
+78247c00
+08008010
+78447c00
+7844fc00
+7847fc00
+1ff0fe00
+20600000
+20000001
+70820301
+20204992
+793f8025
+44fdc01f
+6800c272
+207a0000
+6800807c
+247a0000
+204049be
+2422c9aa
+6800c272
+c001c9d4
+c004c9da
+c00549e6
+c005c9ed
+c00649f7
+c0044a32
+c00c49cc
+c003c9c6
+c00cc9ca
+c00d4a53
+c0094a19
+c009ca28
+793f8025
+44fe401f
+204049c2
+247a0000
+6800c272
+c006ca01
+c007ca0b
+c0074a0d
+c0084a2a
+c008ca34
+c00e4a38
+c0024a0f
+c00aca14
+c00a4a17
+c00bca48
+c00b4a51
+c1830000
+20405ed5
+70427200
+20600000
+68034274
+680b0040
+98467c00
+20600000
+6800c273
+68088046
+98467e00
+20600000
+70007c03
+70007d33
+20406212
+202049bc
+2034ca38
+79200004
+70007c34
+79200003
+2434c9bc
+70007c13
+68008177
+793ffe02
+60008177
+202049bc
+70007c01
+70005300
+202049bc
+7007dd01
+7007db12
+202049bc
+6800804b
+c28149df
+20406209
+70007c08
+202049bc
+793ffe02
+6000804b
+20405ed0
+58000000
+7934fe01
+6000807f
+202049bc
+70044618
+70007c07
+68008030
+c28049bc
+18000418
+20404826
+202049bc
+2040321f
+6800804b
+c280ca08
+c28049f3
+c28149df
+202049bc
+793ffe00
+6000804b
+70007c0c
+202049bc
+6800804b
+c28049fb
+2040487b
+202049bc
+793ffe00
+6000804b
+70007c04
+70007d0b
+70007e06
+202049bc
+6800804b
+79207e01
+6000804b
+68008030
+c283ca08
+20404872
+202049bc
+20406209
+70007c0b
+202049bc
+70007c0f
+202049bc
+70007c0f
+202049bc
+793f8025
+44fec01f
+70007c27
+70427250
+20600000
+70007c83
+70427251
+20600000
+70007c25
+202049bc
+70007c17
+d8a00455
+58000000
+2d0ffe1b
+7920fe01
+e0a08000
+58000000
+e0a10000
+68014280
+e0a10000
+6800c282
+e0a10000
+6800c284
+e0a10000
+202049bc
+70007c18
+202049bc
+20403512
+600080ad
+68008046
+600080ac
+70007c2b
+79200007
+70007c8c
+202049bc
+20405ed5
+202049bc
+70007c2c
+c583c9bc
+70007c8d
+202049bc
+2034ca41
+70007c03
+70007d2b
+c583c9bc
+680080b0
+c083dc04
+70007c81
+70007d8c
+202049bc
+20403512
+600080ad
+68008046
+600080ac
+70007c2b
+c583c9bc
+20205c04
+2040496e
+2040496b
+18007e00
+7d34fe00
+e1408000
+18007207
+de000809
+2040494c
+202049bc
+70007c9a
+202049bc
+70007c07
+70044613
+202049bc
+7002bc00
+e8608000
+600082bb
+20404a6d
+20407e00
+680082bb
+1fe20400
+6800829f
+1fe0fe01
+a841fe00
+2420ca77
+6000829f
+20407e0e
+e8608000
+c000cad8
+c0014aae
+c001cadf
+c002cac3
+c0034a80
+c003ca91
+c0044aa8
+c004cae6
+20600000
+1fe20400
+20407e00
+680082bc
+9840fe00
+600082bc
+20207e0e
+18007e01
+204044b5
+6800829f
+202044b5
+20407e0e
+20204a7c
+6800829f
+1fe0ffff
+6000829f
+18007e00
+204044b5
+6800829f
+202044b5
+20404a6d
+e8608000
+600082bd
+20404a6d
+e8608000
+1fed0a00
+20404a6d
+680082bd
+98a08a00
+e8608000
+e0a08000
+20404a6d
+e8608000
+20404a6d
+680082bc
+c0ffca79
+20204a73
+20404a6d
+e8608000
+600082bd
+20404a6d
+e8608000
+600082be
+20404a6d
+e8608000
+20404a6d
+680082bc
+c0ffca79
+680082be
+1fed0400
+680082bd
+98408600
+e8608000
+600082bd
+18007e01
+204044b5
+680082bd
+204044b5
+70029fff
+20600000
+20404a6d
+e8608000
+20404a6d
+680082bc
+c0ffca79
+20204a73
+20404a6d
+e8608000
+60108024
+20404a6d
+e8608000
+79207e07
+60108023
+793ffe07
+20404a6d
+e8608000
+1fe27200
+20404a6d
+e8608000
+60108025
+20404a6d
+c2004aba
+e8608000
+20404a6d
+680082bc
+c0ffca79
+20204a73
+20404a6d
+e8608000
+600082bd
+20404a6d
+e8608000
+1fed0a00
+20404a6d
+680082bd
+98a08a00
+e8608000
+98007200
+20404a6d
+e8608000
+e0a08000
+20404a6d
+c2004acf
+e8608000
+20404a6d
+680082bc
+c0ffca79
+20204a73
+20404a6d
+e8608000
+20404a6d
+680082bc
+c0ffca79
+70802380
+20204a73
+20404a6d
+e8608000
+20404a6d
+680082bc
+c0ffca79
+70802300
+20204a73
+20404a6d
+e8608000
+20404a6d
+680082bc
+c0ffca79
+20404a73
+20203001
+20406a8b
+20608000
+d8400007
+204069e5
+2420caf4
+7042ae01
+20600000
+6800c2ae
+c1808000
+20404599
+2020495f
+79200025
+44ce4033
+680102cb
+1fe20c00
+e8c08000
+1fe1040f
+1ff1fe00
+c004cb18
+c003cb18
+c0054b24
+c002cb11
+c000cb05
+20600000
+18427e00
+c002cb09
+c001cb10
+20600000
+700b7d27
+20407c27
+6800c132
+c1830000
+18427e00
+c002e946
+20600000
+20600000
+da200001
+20404b2c
+680142b5
+e0a10000
+58000000
+e0a08000
+20600000
+da200001
+20404b2c
+680142b5
+e0a10000
+58000000
+e0a08000
+7008a801
+6800c2bb
+79207e06
+6000c2bb
+700b7d12
+20207c27
+e8c08000
+c000cb27
+20600000
+18c22200
+6800c132
+c1818000
+1a220c00
+20204c4a
+20405248
+1a220400
+600888a8
+1fe20a00
+1a227e00
+e0a10000
+20600000
+58004b5b
+6001428c
+58004b44
+60014296
+2040691d
+20405347
+7080a29e
+70808108
+70807505
+5fffffff
+793ffe01
+793ffe15
+60120070
+70807802
+20758000
+7043d801
+20600000
+ea208000
+6000c803
+c001cb4f
+c0024b51
+c002cb53
+c00a4b64
+c00acb67
+c1810000
+e8c08000
+6000c804
+20600000
+d8a04807
+20204b55
+d8a04825
+20204b55
+68014800
+98000a00
+df200013
+20407e45
+18a27e00
+60014800
+70480300
+20600000
+6800c803
+c000cb71
+c0014b8d
+c0054b7a
+c005cb7a
+c0064b7a
+c0044b8d
+c004cb6a
+20600000
+70421300
+70480300
+20600000
+7042131e
+70480300
+20600000
+70480300
+db6fffff
+20404b91
+20600000
+680903c2
+9840fe00
+600203c4
+680203c4
+9d067e00
+24214b6e
+1fe33600
+20404b91
+207a0000
+7048030c
+d8401800
+60094800
+2040561c
+247a0000
+7044c214
+700b7d1b
+20405620
+68010419
+98000a00
+68014800
+98000c00
+df200014
+20407e45
+18c27e00
+60014800
+68014805
+1fe0ffec
+60014805
+20610000
+70480300
+20600000
+6800c804
+20404be2
+70480300
+20600000
+20404b97
+58001800
+98a67e00
+1fe67e00
+60014805
+20600000
+78487c00
+d8a01800
+20618000
+6810811e
+c302cb99
+1b220400
+df200080
+20407e3b
+d8a01800
+da600000
+db6000b4
+20618000
+6810811e
+9a62fe00
+c282cba2
+1b227e00
+98006000
+20407e78
+1fe67cff
+20214ba2
+2a6c0005
+7920fe17
+e0a18000
+18acfe00
+c10e0000
+1e020400
+1a62a620
+20204ba1
+20344bc7
+20364bca
+d8404826
+6800c825
+9840fe00
+9a267c00
+2022cbda
+ea208000
+18c22200
+c303cbc1
+78367c00
+1fe1247f
+1a29a200
+20204bca
+1ff19000
+1fe17e0f
+99067c00
+20628000
+78347c00
+20600000
+19027e00
+78547c00
+20600000
+1a427e00
+203a4bd6
+1a210e07
+1a290c00
+e8c08000
+1a20a201
+1a40a5ff
+afec0000
+6800c807
+2020cbc1
+6800c808
+20204bc1
+78567c00
+1a20a207
+1a292200
+20204bb5
+580000ff
+20600000
+1fe38c00
+98c0fe00
+d8c04809
+98c08c00
+e8c18000
+20600000
+78287c00
+98007200
+78547c00
+78567c00
+da204826
+20404bb3
+c07fcbf1
+20404bdc
+c30bcbed
+793ffe17
+7080a09e
+98003600
+37c18200
+7080a000
+20204be7
+c2004be4
+20600000
+20404c21
+58004d21
+60014290
+58004c59
+6001428e
+58004d37
+60014292
+58004d7e
+6001428a
+58004d7b
+60014294
+58004d7e
+60014288
+58004d22
+60014286
+20758000
+680147f4
+c2863f79
+20403f23
+203a4d79
+20403f7e
+20203f6e
+20404c21
+58004d21
+60014290
+58004c59
+6001428e
+58004d37
+60014292
+58004d7e
+6001428a
+58004d7b
+60014294
+58004d7e
+60014288
+58004d22
+60014286
+20758000
+7007dc00
+7007dd00
+680147f4
+c2863f79
+20403f23
+203a4d79
+20403f7e
+20203f6e
+79200025
+44db4036
+68008140
+203a3bf1
+70807000
+708078ff
+708071ff
+708072ff
+68108073
+1fe1fe0f
+60108073
+70808000
+70808100
+708083ff
+708084ff
+68108085
+1fe1fe03
+60108085
+70806f00
+58000013
+1fe9fe00
+1fe0fe07
+60108064
+68108043
+79207e02
+60108043
+68108051
+793ffe01
+60108051
+7080630d
+708067d3
+70806500
+70806631
+20403e0b
+6808c80e
+204069da
+6808c80f
+204069da
+6808c810
+204069da
+20600000
+79200025
+44dbc036
+e8c08000
+1fe22200
+6808c80f
+2a2ffe00
+204069f0
+6808c80e
+2a2ffe01
+204069f0
+6808c810
+2a2ffe02
+204069f0
+70480901
+20600000
+20404c99
+24740000
+24760000
+68008450
+c000cc69
+6800c2bc
+c19f8000
+da20000a
+20404b2c
+680142b7
+e0a10000
+580001a1
+e0a10000
+68044800
+e0a40000
+20600000
+6808854f
+58000550
+98408a00
+6800c802
+203a4c72
+c0154c74
+c0944c7e
+6008854f
+20203f6a
+6008854f
+20600000
+6800854f
+207a0000
+1fe0ffff
+6000854f
+d8a00550
+98a08a00
+58000000
+e0a08000
+78367c00
+20204c8d
+1fe67c1d
+20610000
+d8400030
+1fe67c27
+24610000
+2022cc87
+d840001d
+98460400
+18418430
+e0a88000
+6800854f
+1fe0fe01
+6000854f
+78567c00
+20204c8d
+680142b7
+207a0000
+da200003
+20404b2c
+680142b7
+e0a10000
+5800ffa1
+e0a10000
+58000000
+79367e00
+e0a08000
+20600000
+78547c00
+78567c00
+68108119
+c3800000
+6810811b
+c2804ca3
+68108119
+c3034ca3
+6810811a
+20204c99
+78347c00
+78367c00
+6810811b
+2fec0000
+6810811a
+d8c04811
+98c08c00
+e8c08000
+c283cce4
+2420cccc
+78567c00
+98000400
+6800c808
+1fe67c04
+24610000
+1fe22200
+df200003
+d8c04802
+e8c08000
+98467c00
+2022cc99
+c2004cb5
+1a227e00
+d8a04802
+98a08a00
+e0a88000
+1fe0fe01
+6000c808
+6810811b
+1fe97e00
+243a4cc3
+20204cca
+1fe0ffff
+2022ccca
+6810811b
+1fe17e01
+c0004c99
+c000ccca
+20600000
+78367c00
+20600000
+1fe104ff
+6800c808
+207a0000
+98007200
+d8c04802
+e8c08000
+98467c00
+2022ccd6
+c2004cd1
+20600000
+18c08bff
+20407e45
+6800c808
+1fe0ffff
+6000c808
+6810811b
+1fe97e00
+243a4cdf
+20600000
+6810811b
+1fe17e01
+c0004cca
+c000cc99
+20600000
+1fe10e07
+6800c800
+f920fe00
+6000c800
+20600000
+58000000
+60044800
+6000c808
+20600000
+6810811b
+6810811a
+68108119
+c3004ced
+580000ff
+78347c00
+20600000
+680944c2
+20405866
+c4000000
+6800c6f8
+c4000000
+2040561c
+247a0000
+20404c99
+24740000
+24760000
+20403f5e
+70421302
+680944c2
+20405a88
+18c08a01
+68044800
+e0a40000
+700b7d1b
+20405620
+680083e4
+c281bbf2
+20600000
+1a627e00
+c0084d15
+c00a4d13
+c0144d11
+c014cd11
+c0173f57
+20600000
+20403fa4
+20203f92
+20404ced
+20204ce9
+20405b30
+20403f90
+20403f88
+20203f94
+6800c42e
+207a0000
+1fe0ffff
+6000c42e
+247a0000
+6800c4db
+207a0000
+20203f98
+20204d2e
+6811811c
+1fe22400
+6810811f
+1fe17e0f
+1ff07e00
+1fed7e00
+9a41fe00
+680a480a
+98467e00
+207a0000
+da4000bb
+20203f5e
+6800c133
+247a0000
+6800c27f
+247a0000
+6800c7ea
+207a0000
+6800c7eb
+247a0000
+20203f9a
+1a627e00
+c0034d8b
+c0054d7c
+c0034d8f
+c0084d68
+c0173f57
+c000cd77
+c0014d51
+c0024d4e
+c009cd4e
+1fe1040f
+1fe17ef0
+c0284d45
+20600000
+79200025
+44dc4037
+60088259
+68008259
+207a0000
+1fe0ffff
+60008259
+20404d62
+20204d48
+680147f4
+c2864d79
+20203f10
+79200025
+44dcc037
+20404d59
+680142a0
+c2803f12
+c280cd5c
+c2814d5f
+20204d79
+70425e00
+70448b00
+20600000
+c282bf10
+c281bf10
+20204d79
+680147f4
+c2864d79
+20203f10
+6800c7f2
+207a0000
+1fe0ffff
+6000c7f2
+247a0000
+20204d8f
+20404d6a
+20204d79
+79200025
+44dd4037
+680147f4
+2feffe07
+2040bf75
+680147fe
+600147f0
+680142a2
+79207e00
+600142a2
+680147f4
+c2803f77
+20600000
+20403f7e
+20203f98
+20403f7c
+20203f94
+20203f9a
+70054f00
+20600000
+70808300
+70808400
+68108085
+1fe17ef0
+60108085
+58000000
+600200a7
+580000ff
+6808c7fd
+18420e00
+f9207e00
+600200a3
+20600000
+58000002
+6000c7f2
+20404ced
+20204ce9
+79200025
+44ddc037
+70427f01
+20403fa4
+20403fa2
+58000000
+600147f0
+6000c7f2
+20203f9e
+2035cd9d
+580043ce
+d8a042af
+98a67200
+20407e3f
+79200025
+448b4022
+580004de
+d8a004a9
+98a67200
+20407e3f
+58000330
+d8a002c4
+98a67200
+20407e3f
+2020532a
+79200025
+448bc022
+18c20400
+18420c00
+e8c10000
+600102cd
+e8c10000
+600102cf
+18c27e00
+600102cb
+6800c7f3
+c0004db5
+202050fa
+79200025
+448c4023
+680102cd
+203a4dfc
+680082cf
+c000cdc0
+c0284de7
+c028cdf4
+c0294df2
+c029cdf2
+20204dfc
+2040527a
+247a0000
+7043cd00
+204052c4
+20404e01
+680902d6
+203a4dfb
+204052ce
+680102d6
+e0a10000
+18007e01
+e0a10000
+20204dfc
+6800c132
+c1008000
+6800c3cd
+207a0000
+1fe22200
+6802033c
+d8400100
+98408400
+1c427e00
+98467c00
+24610000
+7043cd00
+1a227e00
+c0284ddc
+20203bf1
+204052c4
+20404e84
+204052d0
+20407e1c
+20404eb7
+204052ce
+5800000c
+e0a10000
+18007e01
+e0a10000
+20204dfc
+2040527e
+247a0000
+204052d2
+20406f72
+204052dc
+680102dc
+203a4dfb
+e0a10000
+680142b1
+e0a10000
+20204dfc
+20404af8
+20204dfc
+79200025
+448cc023
+7002eb00
+20406bdc
+680082eb
+c1008000
+20204dfc
+2040526f
+58000000
+600102cd
+600102cf
+7002d101
+20600000
+79200025
+448d4023
+204052d0
+18002400
+680102cd
+1fe22600
+680102cb
+98000c00
+20404e11
+1a627e00
+1a60a7fc
+1fe0fffc
+243a4e09
+1a427e00
+600102d6
+20600000
+79200025
+448dc023
+e8c08000
+c000ce54
+c0014e5c
+c001cee0
+c0024f0f
+c002cfad
+c0034fd5
+c003d024
+c0045058
+c004d068
+c0054e21
+c005d069
+2040506a
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+1a227e00
+98c08c00
+5800000b
+e0a08000
+18e27e00
+e0a08000
+18007e08
+e0a10000
+18007e02
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e0c
+9a40a400
+20204e20
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+1a227e00
+98c08c00
+204052d0
+5800000b
+e0a08000
+18e27e00
+e0a08000
+18007e08
+e0a10000
+18007e02
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e0c
+9a40a400
+20204e20
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+98c08c00
+1a627e00
+9a262600
+20204e20
+20407e1c
+20407e21
+d9000000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+1fe20400
+e8c10000
+1fe21600
+18427e00
+c000ce6e
+c001ce90
+c008ce9c
+c009cea7
+2040506a
+20204edf
+20407e1c
+d8400050
+680142b1
+243a4ed9
+19627e00
+600142b1
+1c427e00
+6002033c
+20404e78
+20204eb3
+6009033a
+19627e00
+60010330
+1a227e00
+60010332
+1a427e00
+60010334
+1a627e00
+60010336
+18e27e00
+60010338
+20600000
+6809033a
+68010330
+1fe21600
+68010332
+1fe22200
+68010334
+1fe22400
+68010336
+1fe22600
+68010338
+1fe20e00
+20600000
+20407e1c
+58000051
+d8400051
+680142b3
+243a4ed9
+19627e00
+600142b3
+6800c2ba
+79207e00
+79207e01
+6000c2ba
+20204ebb
+20407e1c
+d8400052
+680142b5
+243a4ed9
+19627e00
+600142b5
+6800c2bb
+79207e00
+79207e01
+6000c2bb
+20204ebb
+20407e1c
+1b427e00
+d8400053
+680142b7
+243a4ed9
+19627e00
+600142b7
+6800c2bc
+79207e00
+79207e01
+6000c2bc
+20204ebb
+58000001
+600102e4
+7043cd50
+20204ebd
+6800c2b9
+79207e00
+79207e01
+6000c2b9
+58000000
+600102e4
+79200025
+448e4023
+20407e21
+58000003
+e0a08000
+18e27e00
+e0a08000
+58000008
+e0a10000
+18427e00
+e0a10000
+19627e00
+e0a10000
+680102e4
+c000ced4
+290c0000
+2020cecf
+58000004
+e0a10000
+18007e00
+e0a10000
+5800000c
+20204edb
+e0a10000
+18007e02
+e0a10000
+5800000c
+20204edb
+79201000
+20204ebb
+9a40a400
+1a627e00
+9a262600
+20204edf
+20204e20
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+58000050
+98467c00
+2022cef7
+58000051
+98467c00
+2022cefd
+58000052
+98467c00
+2022cf09
+58000053
+98467c00
+2022cf03
+20600000
+19627e00
+600142b1
+6800c2b9
+79207e01
+6000c2b9
+20204e20
+19627e00
+600142b3
+6800c2ba
+79207e01
+6000c2ba
+20600000
+19627e00
+600142b5
+6800c2bc
+79207e01
+6000c2bc
+20600000
+19627e00
+600142b7
+6800c2bb
+79207e01
+6000c2bb
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe20400
+18422200
+58000050
+98467c00
+2022cf25
+58000051
+98467c00
+2022cf43
+58000052
+98467c00
+2022cf2f
+58000053
+98467c00
+2022cf39
+2020506a
+18a21600
+6800c2b9
+79207e04
+79207e03
+6000c2b9
+19620a00
+d9600050
+680142b1
+1fe20400
+20204f4c
+18a21600
+6800c2bb
+79207e04
+79207e03
+6000c2bb
+19620a00
+d9600052
+680142b5
+1fe20400
+20204f4c
+18a21600
+6800c2bc
+79207e04
+79207e03
+6000c2bc
+19620a00
+d9600053
+680142b7
+1fe20400
+20204f4c
+18a21600
+6800c2ba
+79207e04
+79207e03
+6000c2ba
+19620a00
+d9600051
+680142b3
+1fe20400
+79200025
+448ec023
+58000005
+e0a08000
+18e27e00
+e0a08000
+58000006
+e0a10000
+18427e00
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e0a
+9a40a400
+600902e9
+18e27e00
+600082e8
+18007e50
+a961fe00
+2020cf63
+1fe0fe01
+20600000
+78547c00
+c3810000
+c4000000
+c4008000
+79207e02
+18c20a00
+18a08bff
+e0a08000
+78347c00
+20600000
+6800c2b9
+20404f64
+24344f75
+7002e750
+680142b1
+600102e9
+20204f89
+6800c2ba
+20404f64
+24344f7c
+7002e751
+680142b3
+600102e9
+20204f89
+6800c2bb
+20404f64
+24344f83
+7002e752
+680142b5
+600102e9
+20204f89
+6800c2bc
+20404f64
+24740000
+7002e753
+680142b7
+600102e9
+79200025
+448f4023
+20405242
+204052c4
+18002400
+204052d0
+18007e04
+e0a08000
+6800c2be
+e0a08000
+58000008
+e0a10000
+680102e9
+e0a10000
+58000000
+e0a10000
+18007e01
+e0a08000
+18007e02
+e0a08000
+680082e7
+c028cfa2
+58000030
+e0a10000
+20204fa4
+580003e3
+e0a10000
+d840000c
+600902d6
+204052ce
+680102d6
+e0a10000
+18007e01
+e0a10000
+7002e700
+20204e20
+18c08c01
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe22200
+58000050
+9a267c00
+2022cfc4
+58000051
+9a267c00
+2022cfc8
+58000052
+9a267c00
+2022cfcc
+58000053
+9a267c00
+2022cfd0
+18c08c02
+e8c10000
+98007c00
+20204e20
+6800c2b9
+79207e05
+6000c2b9
+20204e20
+6800c2ba
+79207e05
+6000c2ba
+20204e20
+6800c2bb
+79207e05
+6000c2bb
+20204e20
+6800c2bc
+79207e05
+6000c2bc
+700b7d06
+20207c27
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+1a220400
+20407e1c
+58000050
+98467c00
+2022cffb
+58000051
+98467c00
+2022d00b
+58000052
+98467c00
+2022cfef
+58000053
+98467c00
+2022cff5
+2040506a
+20205020
+19620400
+680142b5
+98467c00
+2022d001
+2040506a
+20205020
+19620400
+680142b7
+98467c00
+2022d003
+2040506a
+20205020
+19620400
+680142b1
+98467c00
+2022d007
+2040506a
+20205020
+20405081
+20205013
+20405087
+680142b5
+203a5013
+20205013
+2040507c
+680082ef
+243a5013
+20205013
+19620400
+680142b3
+98467c00
+2022d011
+2040506a
+20205020
+20405077
+20205013
+20407e21
+58000007
+e0a08000
+18e27e00
+e0a08000
+58000004
+e0a10000
+1a227e00
+e0a10000
+19627e00
+e0a10000
+18007e08
+20205022
+20407e21
+20205022
+9a40a400
+20204e20
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+20407e1c
+58000050
+98467c00
+2022d03d
+58000051
+98467c00
+2022d043
+58000052
+98467c00
+2022d049
+58000053
+98467c00
+2022d04f
+2040506a
+20205057
+18422200
+19620400
+680142b1
+98467c00
+2042d07c
+20205055
+18422200
+19620400
+680142b3
+98467c00
+2042d077
+20205055
+18422200
+19620400
+680142b5
+98467c00
+2042d081
+20205055
+18422200
+19620400
+680142b7
+98467c00
+2042d087
+20205055
+20407e21
+20204e20
+20204e20
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+98c08c00
+58000009
+e0a08000
+18e27e00
+e0a08000
+18007e00
+e0a10000
+18007e04
+9a40a400
+1a627e00
+9a262600
+20204e20
+20204e20
+20204e20
+18002400
+204052d0
+58000001
+e0a08000
+18e27e00
+e0a08000
+58000002
+e0a10000
+58000000
+e0a10000
+1a40a406
+da600004
+20204e20
+58000000
+600102e2
+600142b3
+7042ba00
+20600000
+58000000
+600102dc
+600142b1
+7042b900
+20600000
+58000000
+600142b5
+7042bb00
+6800c2bc
+c000508d
+20600000
+58000000
+600142b7
+7042bc00
+6800c2bb
+c000508d
+20600000
+700b7d07
+20207c27
+680082e6
+793ffe00
+600082e6
+680142b7
+207a0000
+204052c4
+680142b7
+1fe22200
+18002453
+202050a2
+680082e6
+793ffe07
+600082e6
+680142b5
+207a0000
+204052c4
+680142b5
+1fe22200
+18002452
+20405242
+204052d0
+18007e06
+e0a08000
+6800c2be
+e0a08000
+58000004
+e0a10000
+1a227e00
+e0a10000
+1a427e00
+e0a10000
+18000408
+202050e9
+79200025
+448fc023
+20405242
+204052d0
+58000002
+e0a08000
+6800c2be
+e0a08000
+58000004
+e0a10000
+18427e00
+e0a10000
+19627e00
+e0a10000
+d8400008
+202050e9
+79200025
+44904024
+20405242
+204052d0
+58000004
+e0a08000
+6800c2be
+e0a08000
+58000008
+e0a10000
+18427e00
+e0a10000
+58000000
+e0a10000
+58000001
+e0a08000
+58000002
+e0a08000
+580003e3
+e0a10000
+d840000c
+202050e9
+79200025
+4490c024
+20405242
+204052d0
+58000006
+e0a08000
+6800c2be
+1fe0fe01
+18a22200
+6000c2be
+1a220a00
+e0a08000
+58000004
+e0a10000
+18427e00
+e0a10000
+19627e00
+e0a10000
+d8400008
+600902d6
+18427e00
+203a526f
+204052ce
+680102d6
+e0a10000
+18007e01
+e0a10000
+20600000
+680102dc
+203a3bf1
+204052dc
+680102dc
+e0a10000
+680142b1
+e0a10000
+20600000
+79200025
+44914024
+680102cd
+203a4dfc
+680082cf
+c000d105
+c0284de7
+c028cdf4
+c0294df2
+c029cdf2
+20204dfc
+79200025
+4491c024
+204052c4
+18002400
+204052d0
+1fe20a00
+680102cd
+1fe22600
+680102cb
+98000c00
+20405115
+1a60a7fc
+2422d10f
+1a420400
+204050e9
+20204dfc
+e8c08000
+c0015120
+c000d123
+c001d12d
+c002d168
+c0025199
+c003d21c
+c00351eb
+c0045058
+c0054e3a
+20205236
+20407e1c
+20407e21
+20204e5c
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c08000
+1a20a3ff
+2422d129
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+e8c10000
+1fe67c00
+2022d13f
+c001513b
+c002513b
+2020513d
+700b7d16
+20407c27
+e8c10000
+20205165
+20407e1c
+58000050
+98467c00
+2022d14d
+58000051
+98467c00
+2022d153
+58000053
+98467c00
+2022d15f
+58000052
+98467c00
+2022d159
+20205165
+19627e00
+600142b1
+6800c2b9
+79207e01
+6000c2b9
+20205164
+19627e00
+600142b3
+6800c2ba
+79207e01
+6000c2ba
+20205164
+19627e00
+600142b5
+6800c2bb
+79207e01
+6000c2bb
+20205164
+19627e00
+600142b7
+6800c2bc
+79207e01
+6000c2bc
+20407e21
+1a627e00
+9a262600
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe21600
+e8c10000
+e8c10000
+243a5193
+20407e1c
+19620400
+58000050
+98467c00
+2022d181
+58000051
+98467c00
+2022d185
+58000052
+98467c00
+2022d189
+58000053
+98467c00
+2022d18d
+6800c2b9
+79207e05
+6000c2b9
+20600000
+6800c2ba
+79207e05
+6000c2ba
+20600000
+6800c2bb
+79207e05
+6000c2bb
+20600000
+6800c2bc
+79207e05
+6000c2bc
+700b7d06
+20207c27
+20407e21
+1a20a3fa
+2022d198
+18c08c01
+1a20a3ff
+20205194
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+18c08c02
+1fe20400
+58000005
+e0a08000
+18e27e00
+e0a08000
+1a20a202
+1a227e00
+e0a10000
+20407e1c
+58000050
+98467c00
+2022d1b7
+58000051
+98467c00
+2022d1c8
+58000052
+98467c00
+2022d1ce
+58000053
+98467c00
+2022d1d4
+202051d9
+6800c2b9
+79207e04
+79207e03
+6000c2b9
+c28151c5
+680882e6
+79200406
+600882e6
+18e27e00
+1fe0fe01
+600082e8
+6800c2b9
+79207e02
+6000c2b9
+680142b1
+600102e9
+202051d9
+6800c2ba
+79207e04
+79207e03
+6000c2ba
+680142b3
+202051d9
+6800c2bb
+79207e04
+79207e03
+6000c2bb
+680142b5
+202051d9
+6800c2bc
+79207e04
+79207e03
+6000c2bc
+680142b7
+1fe21600
+20407e21
+19627e00
+e0a10000
+18007e00
+e0a10000
+18007e00
+e0a10000
+18007e0a
+9a40a400
+1a20a3fa
+2022d1ea
+e8c08000
+e0a08000
+1a40a401
+1a20a3ff
+202051e4
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+20407e1c
+58000050
+1a220400
+98467c00
+2022d203
+58000052
+1a220400
+98467c00
+2022d208
+58000053
+1a220400
+98467c00
+2022d20a
+2020520c
+58000000
+600102dc
+600142b1
+6000c2b9
+2020520e
+20405081
+2020520e
+20405087
+2020520e
+58000000
+600102e2
+20407e21
+58000007
+e0a08000
+18e27e00
+e0a08000
+58000004
+e0a10000
+1a227e00
+e0a10000
+19627e00
+e0a10000
+18007e08
+9a40a400
+20600000
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+1fe21600
+e8c10000
+1fe20400
+20407e1c
+6800c2be
+a8e1fe00
+2420d232
+58000050
+98467c00
+2022d22f
+58000051
+98467c00
+2022d232
+20205232
+7042b100
+7042b900
+20205232
+20407e21
+1a627e00
+9a262600
+20600000
+58000001
+e0a08000
+e8c08000
+e0a08000
+58000002
+e0a10000
+58000000
+e0a10000
+58000006
+9a40a400
+18002604
+20600000
+6800c2be
+1fe0fe01
+c0805246
+1fe0fe01
+6000c2be
+20600000
+79200025
+44924024
+da400000
+2040527a
+243a3bf1
+20405287
+da401800
+d8e00000
+6808c2bf
+a84fffff
+2020d258
+204052ab
+19667c00
+20215258
+20405292
+2020525e
+1a40a480
+18e08e01
+58000008
+98e67c00
+20215250
+da400000
+1a427e00
+203a3bf1
+20600000
+79200025
+4492c024
+20405280
+18c08c01
+e8c10000
+20600000
+79200025
+44934024
+20405280
+18c20a00
+18c20400
+58000000
+e0a18000
+20600000
+79200025
+4493c024
+2040527e
+203a3bf1
+6801c2c6
+6001c2c9
+6801c2c3
+6001c2c6
+6801c2c0
+6001c2c3
+20600000
+6801c2c0
+20600000
+6801c2c3
+20600000
+6801c2c9
+20600000
+2040527e
+203a3bf1
+d8c042c0
+e8c18000
+203a5283
+18c08dfd
+20600000
+79200025
+44944025
+df200004
+d8c042c0
+d8400000
+e8c18000
+1fe17eff
+98418400
+c200528c
+6008c2bf
+20600000
+79200025
+4494c025
+2040527a
+243a3bf1
+2040527e
+203a52a0
+6801c2c3
+6001c2c0
+e8c18000
+e0a18000
+e8c18000
+e0a18000
+58000000
+e0a18000
+d8400000
+19627e00
+98e0fe00
+f9200400
+18e08e01
+98e67c00
+2422d2a3
+1a4d7e00
+9841fe00
+6001c2c9
+20600000
+79200025
+44954025
+20405287
+18e22600
+d8400000
+d9600000
+18e27e00
+c00452bc
+6800c2bf
+afefffff
+2020d2bc
+18408480
+18e08e01
+1a227e00
+98467c00
+2022d2bc
+202152b1
+18427e00
+9a267c00
+242152c2
+18e27e00
+1a620400
+98461600
+1a620e00
+20600000
+79200025
+4495c025
+da20007f
+20405248
+600102d2
+1fe0fe04
+600102d4
+58000000
+600102d6
+20600000
+680102d2
+202052f2
+680102d4
+202052f2
+79200025
+44964025
+da2002ff
+20405248
+600102d8
+1fe0fe04
+600102da
+58000000
+600102dc
+20600000
+680102d8
+202052f2
+680102da
+202052f2
+79200025
+4496c025
+20407e00
+7002eb01
+2040527a
+247a0000
+da20007f
+20405248
+600102de
+1fe0fe04
+600102e0
+58000000
+600102e2
+7002eb00
+20207e0e
+680102de
+202052f2
+680102e0
+203a3bf1
+1fe20a00
+20600000
+79200025
+44974025
+da400000
+da2042c0
+1a20a3fe
+1a20a202
+580042cc
+9a267c00
+2022d306
+ea208000
+1a20a201
+203a52fa
+ea290000
+e8410000
+9a40a400
+1a40a404
+202052fa
+1a427e00
+20600000
+d8e0000c
+20203dc2
+d8e0000c
+20203dc6
+79200025
+4497c025
+20405287
+6800c2bf
+207a0000
+204052f5
+d8400100
+98467c00
+20215308
+2040530a
+d8a042cc
+da2042c0
+580042cc
+9a267c00
+20628000
+ea208000
+1a20a201
+243a5321
+e0a10000
+1a20a202
+20205318
+ea210000
+1a20a202
+1fe20c00
+e8c10000
+e0a10000
+1fe27200
+1f20f202
+20407e45
+20205318
+79200025
+44984026
+20405287
+6800c2bf
+207a0000
+da2042c1
+1a20a3fd
+d8c042cc
+1a20a203
+580042cd
+9a267c00
+20628000
+e8c10000
+203a5332
+1fe0fe04
+1fe27200
+18c22400
+ea210000
+1fe20a00
+1a420c00
+18c08dfe
+20407e45
+20205332
+20758000
+58000010
+600143d3
+58000010
+600143d5
+20600000
+d8400014
+20405a88
+18c0fe01
+60010419
+20600000
+79200025
+44994026
+7855fc00
+70427e01
+7003d601
+7003c003
+7003d701
+5fffffff
+600103da
+18007e00
+600083e3
+600083d8
+600083e4
+6001c20a
+6001c20d
+6002c465
+79207e27
+6002c46a
+20205a0b
+79200025
+4499c026
+7834fc00
+7003c103
+7003fa01
+7044bc01
+5800ffff
+600144be
+18007e00
+6002c46a
+79207e27
+6002c465
+2020534c
+79200025
+449a4026
+7854fc00
+7003c101
+7043d800
+7000a200
+2020534c
+204053d2
+204055d3
+20405a0e
+202053d7
+79200025
+449ac026
+204053d2
+20403e71
+680083c1
+c001d37e
+20205395
+79200025
+449b4026
+7834fc00
+20405a02
+20215392
+20403e28
+2040541c
+20405622
+7856fc00
+204054b2
+24768000
+79200025
+449bc026
+68008005
+1fe0fe01
+60008005
+204055a2
+20405a99
+7854fc00
+20600000
+204053ba
+7854fc00
+20600000
+79200025
+449c4027
+78577c00
+20405a02
+202153ba
+20403e28
+2040541c
+20405478
+2436d3ad
+79200025
+449cc027
+204053c8
+204055a2
+20405622
+68008340
+c28253b4
+2040561a
+243a53b4
+79200025
+449d4027
+204054bb
+20407c45
+680083e4
+c281d3ba
+79200025
+449dc027
+20407f44
+20405b19
+20405594
+20405576
+202039ac
+79200025
+449e4027
+78377c00
+204054b2
+2036d39e
+202053aa
+79200025
+449ec027
+204053c0
+20403f1d
+700b7d15
+20207c27
+680883d6
+7002c008
+204048c4
+7003d600
+7003c100
+7003c000
+70427e00
+20600000
+68008005
+1fe0fe01
+60008005
+680083c0
+c3818000
+79207e03
+600083c0
+58000000
+600246f9
+20600000
+79200025
+449f4027
+783b7c00
+70891407
+20203e28
+79200025
+449fc027
+785b7c00
+70891403
+db600000
+20600000
+7844fc00
+7843fc00
+680183e9
+98001e00
+68008016
+1fed8400
+79200401
+18431c00
+20600000
+204053ee
+20403a82
+58000500
+20403bf3
+20203a87
+2036ba98
+204053ee
+20203a91
+79200025
+44a04028
+20403a7a
+6800840d
+243a5402
+68008016
+1fe67c24
+202153fc
+18000400
+c1128000
+18000418
+c1130000
+1800044e
+20600000
+1fe67c0a
+202153ff
+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
+600183e9
+20600000
+79200025
+44a0c028
+78287c00
+680203e5
+98001200
+20405453
+58000200
+2034d426
+680103ce
+1fe37e00
+d8400500
+9840fe00
+20403b7d
+1b427e00
+60030412
+20600000
+79200025
+44a14028
+68008016
+1fe0fe01
+60008016
+c1940000
+70001625
+20600000
+79200025
+44a1c028
+1a208c01
+e8c08000
+c4000000
+1a208a1a
+e8a10000
+1fe0fe01
+e0a10000
+1a208c19
+e8c08000
+1a208a18
+e8a88000
+9840fe00
+1fe67c24
+20215445
+1fe0ffdb
+e0a08000
+20600000
+79200025
+44a24028
+680283f1
+18000400
+18007225
+c300544e
+18408401
+1fe37e00
+c200544c
+1840ffff
+600083e2
+20600000
+79200025
+44a2c028
+680083d8
+98000e00
+680a83f1
+a84fffff
+2020d46b
+79200025
+44a34028
+680083e2
+98e67e00
+20215461
+1fe60fff
+2020545a
+18e27200
+18000e00
+a84fffff
+2020d466
+1f20f201
+1f227e00
+203a546b
+18e08e01
+1f20f3ff
+20205463
+18e27e00
+60008016
+20600000
+2034d471
+37c18200
+20600000
+d9600ea0
+34730200
+20600000
+78487c00
+680143d5
+1fe21600
+2020547e
+79200025
+44a3c028
+78287c00
+680103ce
+680a46f9
+98409600
+204053e6
+79200025
+44a44029
+204053dd
+7856fc00
+7826fc00
+7830fc00
+78507c00
+19623600
+37c18400
+2037548b
+1b420400
+600b009c
+242c375c
+20375492
+dd2001e0
+1c225000
+680083c0
+c301d492
+2055bcb6
+79200025
+44a4c029
+20403af3
+7823fc00
+7824fc00
+09800008
+19897e00
+60008340
+09800008
+19897e00
+e0a08000
+1fe1723f
+2022d4a3
+09800008
+19897e00
+e0a08000
+c200549f
+79200025
+44a54029
+09800018
+78287c00
+db600664
+1fef7e00
+1ff17e00
+e0a18000
+2023375c
+7836fc00
+68008017
+1fe0a202
+20403ab6
+7846fc00
+20203a7a
+79200025
+44a5c029
+204054bd
+68088017
+20403a82
+20403a87
+78287c00
+d9601388
+2020547f
+204054bd
+2020375c
+79200025
+44a64029
+204053dd
+204053eb
+79202a00
+782efc00
+78307c00
+7850fc00
+2040546e
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+7823fc00
+7824fc00
+79200025
+44a6c029
+6800c43e
+08008608
+e8c08000
+1fe1723f
+08008608
+2022d4d7
+e8c08000
+08008608
+c20054d4
+78247c00
+08008618
+78447c00
+37d38200
+20000064
+784efc00
+20600000
+79200025
+44a74029
+6800c4db
+c000d4ef
+6800c4dc
+1ff27e00
+1febfe00
+6000c43e
+6808c3d9
+1840fe06
+6000c43f
+680344f9
+60034440
+18427200
+d8c043da
+20407e45
+202054ff
+680944c2
+20405866
+1a220a00
+58000001
+e0a08000
+6800c4dd
+1ff27e00
+1febfe00
+1fe0fe01
+6000c43e
+5800000c
+6000c43f
+680344f9
+60034440
+68034274
+e0a30000
+79200025
+44a7c029
+68008000
+1fe0fe01
+60008000
+db600708
+7856fc00
+202054b2
+79200025
+44a8402a
+6800c4f6
+c1808000
+68008000
+1fe0fe01
+60008000
+d8400c03
+6800c4f7
+7d3a0406
+1a227e00
+7d3a0407
+6009443e
+680344f9
+e0a30000
+680303d0
+e0a30000
+202054b2
+79200025
+44a8c02a
+d8400004
+6800c4dc
+7d3a0406
+6008c43e
+6808c3f9
+1840fe06
+6000c43f
+680344f9
+60034440
+d8c043fa
+18427200
+20407e45
+202054bb
+79200025
+44a9402a
+18007fff
+38080001
+600283f1
+20405447
+18007204
+d8a003e5
+20406227
+680144f4
+600103ef
+180a7e00
+1fe17e0f
+1fe67c04
+20215533
+600083d9
+60008682
+79200025
+44a9c02a
+680943d0
+600903c2
+18422600
+1c40fe07
+9a66fc00
+20407efd
+18072200
+9a267e00
+9a60fe00
+680943ce
+9840fe00
+600203c4
+9c462200
+1a20a3fa
+da402205
+6800c4ed
+7d3a2406
+6800c4e6
+7d3a2407
+1a427e00
+6001443e
+680344f9
+e0a30000
+680303d0
+e0a30000
+680203e5
+e0a20000
+180a7e00
+e0a10000
+180a7e00
+e0a08000
+18007e02
+e0a08000
+1a2b7e00
+e0a10000
+1a6b7e00
+e0a10000
+79200025
+44aa402a
+680144f2
+e0a10000
+680144f4
+e0a10000
+680283f1
+e0a28000
+680083d9
+d84000a0
+9841fe00
+e0a08000
+204054bb
+5800443e
+1fe08c12
+e8c18000
+600183e9
+20600000
+79200025
+44aac02a
+7854fc00
+20205415
+79200025
+44ab402a
+680083c0
+c4028000
+680103da
+680903e0
+98467e00
+24610000
+680083c0
+793ffe05
+793ffe03
+600083c0
+680203c4
+680903c2
+98462200
+79200025
+44abc02a
+6800c434
+600083ec
+e8c90000
+e8c10000
+1febfe00
+600103c2
+184b8400
+9840fe00
+e8ca0000
+600a03ed
+9a20fe00
+600203c4
+20205a2b
+79200025
+44ac402b
+680083c0
+c4030000
+680103da
+680903e0
+98467e00
+24610000
+680083c0
+793ffe06
+600083c0
+6802c42f
+600283f1
+20205447
+79200025
+44acc02b
+20405a0b
+204055b7
+68008340
+1fe37e00
+9842fe00
+2feffe02
+7920800f
+68008341
+203a55b2
+680083c0
+c30255b2
+20407599
+2040750e
+247a0000
+c6078000
+680883d7
+79400402
+600883d7
+202058ac
+79200025
+44ad402b
+680883d7
+284c0005
+20608000
+68008340
+1fe3fe00
+9842fe00
+c4018000
+793f8405
+79400403
+600883d7
+28400603
+24608000
+6800c440
+c1828000
+680083c0
+79207e04
+600083c0
+20600000
+79200025
+44adc02b
+2040542c
+20405474
+68008001
+1fe0fe01
+60008001
+20600000
+79200025
+44ae402b
+6800c3d2
+c1808000
+d8e00003
+20407e53
+247a0000
+680143d3
+680943d5
+98467e00
+d8e00003
+20407e4c
+7854fc00
+20405572
+204055cb
+24768000
+79200025
+44aec02b
+68030342
+600303d0
+204042a7
+20405b39
+68008002
+1fe0fe01
+60008002
+204055f9
+20748000
+204048d1
+20405507
+24768000
+79200025
+44af402b
+68008004
+1fe0fe01
+60008004
+68048348
+60048103
+202048d1
+79200025
+44afc02b
+6800841c
+c18d8000
+680303d0
+680b44e7
+98467c00
+24628000
+204032d6
+24628000
+20405528
+2040535f
+79200025
+44b0402c
+70427200
+7003f800
+6800c132
+c082560c
+7003e321
+d8400000
+204048ea
+7043d200
+70041c00
+700b7d2c
+20405620
+202032bd
+da200001
+68008340
+c3830000
+da200000
+20600000
+d8c044ff
+20207fb2
+da2044ff
+20207fac
+da2044ff
+20207fae
+da2044ff
+20207fb0
+da2044ff
+20207f92
+79200025
+44b0c02c
+680083d7
+c3828000
+da2044ff
+20407f9f
+243a5630
+6800c132
+c080d890
+d8200000
+204044a3
+18227e00
+247a0000
+20205890
+1fe20400
+79200025
+44b1402c
+18427e00
+c302d64b
+18000203
+793ffe05
+6000c440
+79200025
+44b1c02c
+6800c440
+c000568f
+c000d691
+c0015693
+c001d695
+c00256a6
+c002d6b7
+c00356b9
+c003d6bf
+c00456c1
+c004d6c1
+c00556c5
+c005d6c7
+c00656c9
+c006d6cf
+c007d6d1
+20203bf1
+70444300
+18000202
+c3035662
+c0295662
+c0695662
+70444206
+793ffe06
+6000c444
+79200025
+44b2402c
+6800c444
+c000d6e5
+c00156ed
+c001d6f5
+c00256fa
+c002d6ff
+c0035701
+c003d70b
+c0045712
+c004d717
+c005571e
+c005d721
+20203bf1
+70444204
+6000c444
+79200025
+44b2c02c
+6800c444
+c000d729
+c001572f
+c001d72f
+c0025732
+c002d737
+c0035748
+c003d752
+c0045793
+c004d79b
+c00557be
+c005d7c6
+c00657d1
+c006d7d6
+c00757e5
+c007d7ec
+c0085812
+c008d81a
+c009583e
+c009d845
+c00b585e
+c00bd860
+c00c5862
+c00cd864
+c00dd873
+c00ed882
+c00f5884
+c0295886
+c0695888
+c04f5686
+c04fd688
+20203bf1
+700b7d10
+20405620
+58000011
+6001443e
+680083d7
+79207e05
+600083d7
+700b7d12
+20205620
+1800040c
+20205892
+18000408
+20205892
+18000402
+20205892
+18007e00
+e0a40000
+e0a10000
+18a20400
+d8a00380
+18007208
+20406227
+68040380
+e0440000
+18a20400
+d8a04473
+18007204
+20406227
+68024473
+e0420000
+18000417
+20205892
+18a20400
+d8a00388
+18007208
+20406227
+68040388
+e0440000
+18a20400
+d8a04477
+18007204
+20406227
+68024477
+e0420000
+204074b6
+700b7d25
+20405620
+1800040d
+20205892
+18000401
+20205892
+18000401
+2034d892
+700b7d46
+20405620
+18000401
+20205892
+18000402
+20205892
+58000001
+e0a40000
+18000409
+20205892
+18000406
+20205892
+18000406
+20205892
+58000a06
+e0a18000
+58001d87
+e0a10000
+18000406
+20205892
+18000402
+20205892
+18a08bff
+5800000c
+e0a10000
+58000005
+e0a10000
+5800b412
+e0a10000
+58000008
+e0a10000
+58000008
+e0a10000
+58000010
+e0a10000
+58000000
+e0a10000
+5800012c
+e0a10000
+2040588a
+18000202
+20205892
+59000401
+600244ae
+58070710
+e0a18000
+680344af
+60034445
+1800040b
+20205892
+59000302
+600244b5
+58010410
+e0a18000
+680344b6
+60034445
+1800040b
+20205892
+204074b0
+d8a04445
+204075a3
+18000415
+20205892
+680403b0
+2034d6fd
+6804449c
+20405723
+20205892
+18000406
+20205892
+700b7d29
+20407c27
+700b7d47
+20405620
+d8a003a0
+20406226
+680403a0
+6804447b
+20405723
+20205892
+700b7d48
+20405620
+d8a04445
+18007208
+20406227
+1800040f
+20205892
+700b7d49
+20405620
+d8a04445
+20406226
+2020588a
+700b7d4a
+20405620
+18007e00
+6000c445
+680344f9
+e0a30000
+2020588a
+d8a04445
+20406226
+2020588a
+18000406
+20205892
+60044445
+e8c40000
+e0a40000
+18000415
+20600000
+7003fc0a
+70444401
+680183f9
+6001c445
+680083fc
+e0a08000
+2020588a
+58000017
+e0a10000
+2020588a
+680144bc
+60014445
+680144be
+e0a10000
+2020588a
+18007e01
+6000c445
+20405a74
+20405a7d
+203a5746
+24215744
+78547c00
+e0a10000
+e8c10000
+e0a10000
+e8c08000
+98c08c00
+2020573a
+18c08c02
+20205741
+20345728
+2020588a
+680144bc
+203a5688
+60014445
+680144be
+e0a10000
+680144c4
+e0a10000
+680144c0
+e0a10000
+2020588a
+2040577b
+20740000
+680944c4
+58002800
+98467c00
+2022d762
+58002801
+98467c00
+2022d728
+58002802
+98467c00
+2022d728
+58002803
+98467c00
+2022d728
+20205728
+680944c0
+18c08c02
+e8c08000
+1fe22600
+1a60a601
+1a60a7ff
+2022d728
+e8c10000
+98467c00
+2022d76e
+18c08c04
+20205767
+e8c10000
+1fe22200
+e8c10000
+1fe22400
+20405785
+20740000
+70444407
+1a227e00
+60014445
+1a427e00
+e0a10000
+18000409
+20205892
+78547c00
+680944bc
+680144be
+98467c00
+24215782
+18427e00
+c1800000
+78347c00
+7003fc01
+20205729
+78547c00
+680944bc
+1a227e00
+98467c00
+24215791
+680144be
+9a467c00
+24215791
+1a427e00
+9a267c00
+24215791
+20600000
+78347c00
+20205728
+680144bc
+e0a10000
+680144be
+e0a10000
+680144c0
+e0a10000
+1800040b
+20205892
+680944c0
+58002803
+98467c00
+58000007
+2022d7a5
+58002800
+98467c00
+58000006
+2022d7a5
+20205728
+6000c445
+20405a74
+18006003
+20405a7d
+203a57bc
+242157b8
+98002200
+e8c10000
+98467c00
+2422d7b9
+78547c00
+1a227e00
+e0a10000
+e8c08000
+1fe0f204
+20407e45
+1e00e1ff
+2022d7bc
+202057b9
+18c08c02
+e8c08000
+98c08c00
+202057a8
+20345728
+2020588a
+6800c43d
+1fe0ffff
+6000c43d
+1fe3fe00
+98c08c00
+e8c90000
+60094445
+2020588a
+680903fa
+20405a88
+203a5728
+e8c08000
+203a588a
+1fe67c16
+202157ce
+18007e16
+1fe27200
+20407e45
+2020588a
+58000003
+60014445
+58000008
+e0a10000
+2020588a
+680144c0
+98002200
+680903fa
+20405a88
+203a5728
+e8c08000
+9a267200
+24215728
+1f267c16
+202157e1
+18007216
+1a227e00
+98c08c00
+20407e45
+2020588a
+58000003
+e0a10000
+58000007
+e0a10000
+58000009
+e0a10000
+2020588a
+6800c43d
+1fe22600
+da200347
+da404445
+d9600000
+7858fc00
+1a220c00
+e8c90000
+18c22200
+20405a88
+203a5805
+e8c08000
+1fe27200
+99609600
+19667c18
+2421580a
+1a420a00
+e8c08000
+e0a08000
+c20057fd
+18a22400
+7838fc00
+1a60a7ff
+2022d805
+202057f2
+2438d810
+7858fc00
+19620400
+18408405
+20205892
+2438d810
+7858fc00
+19627e00
+9f260400
+18408405
+20205892
+7003fc10
+20205729
+680103fa
+203a5688
+e0a10000
+5800ffff
+e0a10000
+58002800
+e0a10000
+2020588a
+58000006
+6000c445
+680144c0
+98002200
+20405a74
+18007203
+20405a7d
+203a5835
+2421583a
+98006000
+e8c10000
+9a267c00
+2422d83b
+1e027e00
+2034582f
+1fe0ffff
+e0a10000
+e0a90000
+1fe0fe01
+1f20f3ff
+2022d88a
+78547c00
+e0a10000
+18c08c01
+e8c90000
+18c08dfd
+2020583b
+20345728
+18007fff
+e0a10000
+e0a90000
+2020588a
+18c08c02
+e8c08000
+98c08c00
+20205820
+680144c2
+60014445
+6800c4c6
+1fe27200
+d8c044c7
+20407e45
+2020588a
+680903fa
+20405a88
+203a585c
+18c08dfe
+e8c90000
+58002902
+98467c00
+2422d85c
+18c08c01
+e8c90000
+58000001
+98467c00
+2022d856
+58000000
+98467c00
+2422d85c
+2020585c
+18c08df9
+e8c10000
+1fe0ffff
+600144c2
+700b7d1b
+20405620
+18000405
+20205892
+18000406
+20205892
+18000406
+20205892
+18000406
+20205892
+18000406
+20205892
+79200025
+44b3402c
+18408401
+20405a88
+18c08dfe
+e8c10000
+d8402902
+98467c00
+24628000
+18c08c01
+18c22200
+e8c08000
+20600000
+70041b00
+68014298
+20407f66
+d8a04444
+18a08a01
+680944c2
+e0a90000
+20405a88
+e8c08000
+1fe27200
+20407e45
+6808841b
+18408407
+20405892
+20205ace
+18000406
+20205892
+18000406
+20205892
+18000406
+20205892
+18000406
+20205892
+79200025
+44b3c02c
+58004440
+98a67e00
+1fe60400
+20205892
+18000400
+18000201
+79200025
+44b4402d
+6008c43f
+28200602
+2420d899
+1840fffc
+60014440
+680883d7
+2040561a
+7d3a0404
+79200405
+18417efc
+9821fe00
+600083d7
+1fe17e1f
+6000c43e
+79200025
+44b4c02d
+6800c43e
+28200601
+20608000
+6803c43f
+680083c0
+c4020000
+20407599
+202074f7
+79200025
+44b5402d
+2040561c
+243a3bf1
+247a0000
+68008341
+207a0000
+68008340
+2fe00601
+2020d8cf
+68038341
+68008340
+2fe00602
+2020d8cf
+68008342
+60008418
+1fe22600
+79200025
+44b5c02d
+1a627e00
+c0005924
+c000d92c
+c0015934
+c001d938
+c002593f
+c002d944
+c0035949
+c003d94c
+c004594d
+c004d94f
+c0055950
+c005d951
+c0065952
+c006d955
+20203bf1
+68008341
+1fe17e1f
+207a0000
+6800c132
+c000d8d8
+68010344
+c0025903
+c00358f4
+20600000
+79200025
+44b6402d
+20404972
+680083d6
+68088340
+18410403
+184d0400
+18520400
+9841fe00
+e1410000
+68088341
+1841041f
+e1490000
+18427200
+20404976
+1840f204
+20404424
+20204435
+79200025
+44b6c02d
+d8200002
+e8610000
+e8610000
+203a3bf1
+1fe27200
+d8a04440
+2040497c
+2020588a
+79200025
+44b7402d
+e8c08000
+c000d956
+c001595b
+c001d960
+c0025966
+c002d96f
+c0035970
+c003d972
+c0045973
+c004d974
+c0055975
+c005d976
+20203bf1
+79200025
+44b7c02d
+e8c18000
+600183f9
+c000d977
+c001598e
+c001d990
+c0025991
+c002d997
+c003599a
+c003d9a4
+c00459a5
+c004d9ad
+c00559ae
+c005d9b2
+c00659b5
+c006d9b9
+c00759ba
+c007d9c0
+c00859c1
+c008d9c9
+c00959ca
+c009d9da
+c00b59dc
+c00bd9dd
+c00c59de
+c00cd9df
+c00dd9e0
+c00ed9eb
+c00f59ec
+c02959ed
+c0695a01
+20203bf1
+e8c48000
+6004c434
+e8c10000
+600103e0
+680083c0
+79207e05
+600083c0
+20600000
+e8c28000
+6002c42f
+e8c10000
+600103e0
+680083c0
+79207e06
+600083c0
+20600000
+680083e4
+79207e03
+600083e4
+20600000
+18c08c0a
+e8c40000
+60040380
+e8c20000
+60024473
+700b7d24
+20205620
+e8c40000
+60040388
+e8c20000
+60024477
+202074b6
+680083c0
+79207e04
+600083c0
+700b7d26
+20205620
+20748000
+700b7d26
+20205620
+20600000
+700b7d29
+20205620
+20600000
+20600000
+20600000
+20748000
+700b7d2c
+20205620
+20600000
+6000c4ae
+e8c30000
+e0a30000
+700b7d42
+20205620
+6000c4b5
+e8c30000
+e0a30000
+700b7d43
+20205620
+d8a0448c
+20407e35
+700b7d44
+2034d620
+700b7d43
+20205620
+204074a8
+2022d96a
+700b7d45
+20205620
+204074a5
+700b7d23
+2034d620
+700b7d44
+20205620
+20600000
+d8a00390
+20207e35
+20600000
+20600000
+20600000
+20600000
+20600000
+18c08dfe
+e8c88000
+58000006
+98467c00
+2022d989
+58000004
+98467c00
+2022d98a
+58000008
+98467c00
+2022d98b
+5800000c
+98467c00
+2022d98c
+5800000e
+98467c00
+2022d98d
+20600000
+20600000
+20600000
+20600000
+20600000
+20600000
+700b7d03
+20205620
+20600000
+1fecfe00
+600144bc
+e8c10000
+600144be
+700b7d05
+20205620
+20600000
+20600000
+20600000
+1fecfe00
+600144bc
+e8c10000
+600144be
+e8c10000
+600144c4
+e8c10000
+600144c0
+700b7d07
+20205620
+20600000
+1fecfe00
+600144bc
+e8c10000
+600144be
+e8c10000
+600144c0
+700b7d09
+20205620
+20600000
+68010347
+600103fa
+700b7d0b
+20205620
+20600000
+20600000
+20600000
+e8c10000
+600144c0
+700b7d0d
+20205620
+20600000
+68008341
+1fe0fffb
+1fe37e00
+6000c43d
+700b7d0f
+20205620
+20600000
+1fecfe00
+600144bc
+e8c10000
+600144be
+e8c10000
+600144c0
+700b7d11
+20205620
+20600000
+68008341
+1fe0fff9
+1fe27200
+680903fa
+20405a88
+203a59d8
+e8c08000
+9f267c00
+242159d8
+18c20a00
+d8c00349
+20407e45
+700b7d28
+20407c27
+700b7d13
+20205620
+680083e3
+20600000
+20600000
+20600000
+20600000
+20600000
+e8c28000
+60028ff1
+700ff001
+20407cdb
+20600000
+1a220c00
+e8c40000
+60040ff1
+700ff002
+20407cdb
+20600000
+20600000
+20600000
+68008341
+1fe0fff9
+1fe27200
+680903fa
+20405a88
+203a59fd
+e8c08000
+9f267c00
+242159fd
+18c20a00
+18c22200
+1f222400
+d8c00349
+20407e45
+70048101
+204059fe
+20600000
+68014296
+207a0000
+98007a00
+20600000
+680a03dc
+20403bde
+98461600
+19627e00
+680903ef
+18520400
+18438400
+98467e00
+20600000
+20403bde
+600203dc
+20600000
+79200025
+44b8402e
+6800c3d8
+207a0000
+d8e00001
+20407e53
+247a0000
+7854fc00
+78287c00
+20405572
+2040542c
+204054de
+2436da24
+79200025
+44b8c02e
+68008003
+1fe0fe01
+60008003
+68008340
+1fe17e0f
+c001d519
+c002da41
+20002710
+68008016
+c093da0e
+20405ad8
+d8e00001
+680144d9
+20207e4c
+79200025
+44b9402e
+680083f8
+20405405
+680103c2
+984ffe00
+d8400177
+984ffe00
+d84186a0
+9846fc00
+680083ec
+d8404e20
+984ffe00
+600246f9
+79200025
+44b9c02e
+68014161
+20407efd
+18078400
+9840fe00
+600103ce
+20600000
+79200025
+44ba402e
+68030348
+680b44f9
+98467c00
+24628000
+20405613
+1a227e00
+6000c4e6
+68038355
+60038103
+e8c40000
+e0a40000
+68030342
+600303d0
+79200025
+44bac02e
+18c08c06
+e8c40000
+600403e5
+e8c90000
+184b8400
+e8c10000
+1febfe00
+600103c2
+600203c4
+98467e00
+1fe0d1fe
+e8c48000
+600483ed
+79200025
+44bb402e
+e8c08000
+1ff18400
+18430400
+600883f8
+1fe17e1f
+600083d9
+20405a2b
+20405447
+2040536c
+204032d6
+24628000
+79200025
+44bbc02e
+d8400000
+204048ea
+204039ac
+700b7d14
+20407c27
+202032bd
+79200025
+44bc402f
+680144bc
+98002400
+680144be
+98002600
+d8c04504
+78347c00
+20600000
+e8c10000
+207a0000
+9a467c00
+24610000
+9a667c00
+20628000
+20215a86
+18007c01
+20600000
+18007e00
+20600000
+d8c04504
+e8c10000
+207a0000
+18c08c02
+98467c00
+20628000
+e8c08000
+98c08c00
+20205a89
+7044c602
+58000001
+600144c7
+7003e325
+700b7d12
+20205620
+20600000
+20600000
+79200025
+44bcc02f
+6800c132
+c1820000
+680083e3
+c010da91
+c012da97
+c0135a98
+20600000
+58005aae
+6001428c
+70806281
+580001a0
+60110052
+70804301
+70808104
+58005ac6
+60014296
+20405347
+20758000
+2020691d
+680083c1
+2fe1fe01
+58000005
+2040ea04
+2440e9ff
+204068fd
+203a5abe
+68010419
+98000a00
+1f267c14
+20215aba
+18007214
+e8608000
+e0a08000
+c2005aba
+20406906
+7044c214
+68090419
+e8408000
+207a0000
+2040561c
+247a0000
+700b7d1b
+20205620
+1a420400
+204068f7
+1a220c00
+1a427200
+e8c08000
+e1408000
+c2005aca
+202068fa
+6800c132
+c1830000
+680144c2
+c18a0000
+68090419
+58000000
+e0448000
+e0a48000
+e0a10000
+20600000
+6808c3d7
+79400407
+202069f3
+79200025
+44bd402f
+20405adf
+20205aed
+6800c419
+1fe27200
+d8402a00
+20405b0c
+18c08c01
+18c20a00
+d8c0441a
+20407e45
+6800c419
+1fe67214
+1f220400
+1f227e00
+245a5b15
+20600000
+6800c3d9
+6808c3da
+98467e00
+1fe27200
+1fe22200
+6800c3da
+1fe0fe01
+d8c043da
+98c08c00
+d8a0041d
+20407e45
+79200025
+44bdc02f
+6800c419
+1fe27200
+1fe0fe01
+6000c3da
+d8a043dc
+d8c0441a
+20407e45
+1a227200
+d8c0041d
+20407e45
+6800c3da
+9a20fe00
+6000c3d9
+20600000
+79200025
+44be402f
+d8402a00
+20205b0c
+d8c04504
+e8c10000
+203a3bf1
+e8c10000
+98467c00
+20628000
+e8c08000
+98c08c00
+20205b0d
+58000020
+e0a08000
+c2005b15
+20600000
+79200025
+44bec02f
+7855fc00
+20375b1e
+2436db2a
+20403d76
+68014161
+600103ce
+68008340
+2fe00601
+2420bd8a
+6800c43e
+2fe00601
+2420bd8a
+680083c0
+c282bd8a
+20203d6f
+68094161
+18430400
+680103ce
+9840fe00
+600103ce
+20203d82
+79200025
+44bf402f
+7046f800
+680944c2
+20405866
+1a220a00
+58000000
+e0a08000
+20600000
+6800c132
+c1850000
+20407f6e
+da2003d0
+20407e9d
+5800002c
+e1408000
+204041d4
+202068fa
+d8400014
+20405866
+c4000000
+2040561c
+247a0000
+d8400014
+600944c2
+20405a88
+203a3bf1
+18c08a01
+df200014
+d8c0046d
+20407e45
+700b7d1b
+20205620
+20600000
+79200025
+44bfc02f
+68008341
+d8c00348
+98c0f200
+e8c88000
+e8c08000
+9a267c00
+20628000
+1840ffff
+98c08c00
+1f227e00
+98c67c00
+20215b57
+18007c01
+20600000
+20758000
+58000000
+60008048
+60008055
+60008078
+6000807c
+6000c1f9
+60008453
+60008177
+600087e1
+70474800
+70025800
+70045400
+79200025
+44f0403c
+7007e100
+7007e000
+70044d00
+6800c132
+c1808000
+70425e00
+20600000
+79200025
+44f0c03c
+2054e219
+2454e21d
+6800807c
+245a61d9
+6800807c
+247a0000
+6800804c
+c4030000
+793ffe06
+793f8001
+6000804c
+680084de
+6808804c
+2feffe00
+79208401
+6008804c
+18410402
+6008807f
+6808804c
+1fe37e00
+6000807d
+79200025
+44f1403c
+6800807d
+c03fdbdc
+c001dc56
+c0025c67
+c01e5bcf
+c002dbcb
+c007de48
+c0085ce1
+c011dcff
+c01cde67
+c01c5e62
+c018dce4
+c01bdd72
+c013dd6e
+c019dd68
+c012dd70
+c0135cfb
+c003dcf3
+c016dcea
+c0175ceb
+c000dd64
+c0015d4f
+c0145e53
+c004dd45
+c005dd1a
+c0045d00
+c0065d2c
+c00fdcf7
+c0105cf9
+c010dd8d
+c0115d8e
+c01add8f
+c01b5d90
+c0125d91
+c0165d92
+c015dd95
+c01a5d9f
+c00bdda2
+c008ddb7
+c0095dbb
+c009ddbd
+c006ddcf
+c0075dd0
+c017dd6c
+c0185dd1
+c0055dd2
+c00c5dd3
+c0195dda
+c01edddb
+c01f5dff
+c01fddf9
+c0205e22
+c020de34
+c0035e47
+c01d5bcd
+70007e19
+70007c04
+20600000
+70007c06
+20600000
+70007c3b
+20600000
+680204df
+1fe3fe00
+60024173
+680084e3
+6000c17a
+680284e4
+6002c188
+680284e9
+e0a28000
+68008031
+79207e03
+60008031
+20600000
+680084df
+79207e07
+6000807d
+c040dc26
+c0415c2e
+c04add73
+c04b5d8c
+c045dd81
+c041dc49
+c0425c4b
+c0485bf1
+c04bdc42
+c04c5c47
+c04cdc14
+c04d5c19
+c046dc11
+c0465bf4
+c1420000
+70007c82
+70007e19
+20600000
+70007c82
+70007e2e
+20600000
+680084e0
+600080ad
+680084e1
+6000c1f9
+680084e3
+600080af
+680084e7
+600080b0
+680084ec
+600080ab
+c503dc07
+79200007
+20405d16
+60008452
+18000400
+20204839
+70007c8c
+7000b101
+202049bc
+680080b0
+c083dc0b
+70007c81
+20205c0f
+793f8007
+70007c82
+18000401
+20404914
+70007d8c
+20600000
+70007c81
+70007d8d
+20203869
+20405c1d
+6800c132
+c000dc21
+70007c9a
+20600000
+20405c1d
+6800c132
+c000dc21
+20205c22
+d8a007e9
+680184e0
+e0a18000
+20600000
+2040480f
+20406216
+2440c81b
+2020f80f
+20600000
+680084e1
+79207e07
+60008445
+c045dc36
+c046384a
+c046dc2d
+20600000
+20203869
+680084e1
+79207e07
+60008445
+c045dc3a
+c0465c34
+20600000
+793f8007
+20600000
+6800c1fb
+6808804c
+7d3a0405
+6008804c
+68008030
+c4028000
+793ffe05
+60008030
+68008453
+243a4872
+70007c31
+20600000
+2434dc45
+70007c12
+20206205
+70007c97
+20600000
+20406205
+20205ecd
+70007c84
+20600000
+680884e2
+18410401
+6008844c
+6800c272
+c0a8dc52
+70427200
+204047f9
+68008055
+c18a8000
+70005504
+20206235
+680084df
+60008445
+c019dc7d
+c0045c90
+c007dc97
+c0085c9d
+c008dc9e
+c0095ca6
+c00c5ccc
+c00bdcd1
+c015b84a
+c009dc74
+c01edde9
+c01f5e18
+c0205deb
+c020ddef
+20600000
+680084df
+60008445
+c000dcc3
+c019dc87
+c005dca7
+c015dc8e
+c0045cba
+c009dc77
+c0205cc4
+c020dcc7
+c00c5cca
+c00bdcdf
+20600000
+700b7d20
+20407c27
+20203245
+700b7d19
+20407c27
+70474802
+58000050
+d8e0000a
+20207e4c
+6800844d
+79207e00
+6000844d
+700b7d01
+20407c27
+70007c8b
+68008055
+c082db77
+70005506
+20600000
+7004460b
+70007c07
+18000410
+20404826
+70005500
+2020db77
+20600000
+70007c2b
+20600000
+6800c25e
+247a0000
+20403507
+20405ecb
+20748000
+79200021
+20600000
+24748000
+70007c10
+6800804c
+c4010000
+70007c12
+20600000
+20205ecd
+20405f2d
+68008030
+c3820000
+70007c31
+68008055
+c1850000
+7000550b
+20600000
+20600000
+6800c132
+c080dcb7
+6800c25e
+207a0000
+68088055
+70005500
+70425e00
+680084e0
+c1830000
+60088055
+7007e001
+6801044a
+6808844c
+98417e00
+203a49da
+202049d7
+70007c07
+70044613
+20600000
+680084e0
+c0035cc0
+c18c0000
+70044618
+70007c07
+20600000
+70044606
+70007c07
+20600000
+20600000
+7007da00
+70007c07
+20205b77
+7007da00
+70007c07
+20205b77
+700b7d24
+20207c27
+700b7d23
+20407c27
+20403806
+18000400
+20204907
+700b7d22
+20407c27
+18000402
+20404907
+58000000
+60010075
+68014280
+1fe3fe00
+60010032
+6800c282
+60008073
+6800c284
+60008074
+202037e1
+700b7d21
+20207c27
+680884df
+60088054
+20205cf5
+6800844d
+79207e02
+6000844d
+c3818000
+70007c31
+20205b77
+20600000
+6800c171
+680884df
+98467c00
+20215cf5
+70007c04
+70007e1f
+70007d2e
+20600000
+2040605a
+20205cf5
+70007c03
+20600000
+70007c21
+20600000
+70007c22
+20600000
+68008055
+c1098000
+70005502
+20600000
+20600000
+20405ec8
+70045001
+6800c132
+c000dd06
+700b7d0a
+20407c27
+2040487b
+2040620d
+2420ded0
+2434dd0e
+70007c04
+70007d08
+70007e23
+20600000
+6800804b
+79207e02
+6000804b
+20600000
+6808804c
+7d3a0401
+6008804c
+20600000
+6800807f
+1fe37e00
+1fe17e01
+20600000
+20405d16
+60008451
+20405ec8
+70007c0c
+6800c25e
+247a0000
+68008030
+c3830000
+70007e06
+6800c132
+c080dbc9
+68008453
+243a5bc9
+70007c00
+6800804b
+79207e00
+6000804b
+20204872
+da200040
+2040739d
+680204df
+680a051f
+98467c00
+2022dd35
+70007c07
+70044605
+20600000
+2040749b
+20403211
+6800804b
+2feffe01
+793ffe01
+6000804b
+2040c8bc
+68008055
+c00cdd40
+c00c5d40
+20600000
+680087e1
+c1800000
+6800804c
+c3810000
+202062cf
+da2004df
+da40050f
+d8a004ef
+20407467
+da200040
+2040622b
+70007c0b
+68008030
+c3035ecb
+20600000
+68010169
+1fe0f3fd
+680884df
+58000103
+98408a00
+d8c004e1
+20407e45
+68088053
+680084e0
+98467e00
+1fe67c0e
+20215d5f
+1840fe0e
+60008053
+70007c01
+20600000
+6800804c
+79207e03
+6000804c
+c2825ed5
+20600000
+680084df
+6000807d
+70007c02
+20600000
+6800c132
+c080dcf5
+18000401
+20204839
+70007c30
+20600000
+70007c28
+20600000
+70007c26
+20600000
+20600000
+68010032
+98000400
+680084e0
+60008097
+984f8400
+680104e1
+1fe3fe00
+60010098
+680204e3
+1fe3fe00
+60020093
+18427e00
+6001009a
+20600000
+6808c1fb
+680084e0
+9842fc00
+2422dbee
+2feffe00
+6800804c
+7920fe05
+6000804c
+70007c81
+70007d8b
+20600000
+20600000
+20600000
+20600000
+20205cf5
+20205cf5
+20600000
+2040385e
+70007d2c
+20205cf5
+680084df
+600080ad
+680084e1
+600080af
+680084e4
+600080ab
+20405d16
+60008452
+18000400
+20204839
+680104df
+6001017b
+20600000
+68008030
+c280ddb5
+680104e0
+1fe3fe00
+60010075
+680104e2
+1fe3fe00
+60010032
+680104e4
+60008073
+98000400
+680104e6
+60008074
+98467c00
+24215db2
+60008073
+70007c03
+70007d17
+20600000
+70007e24
+20205bc9
+20405cf5
+20405ec8
+204073a0
+202037d0
+20405cf5
+202037da
+680204df
+1fe3fe00
+2034ddc9
+6808c25e
+243a5dc6
+70007c04
+70007d13
+70007e24
+20600000
+70007c34
+70005500
+20203241
+20403241
+79200022
+68008177
+793ffe02
+60008177
+20205cf5
+20600000
+20600000
+20600000
+20600000
+70007c03
+70007d18
+700b7d2e
+20407c27
+18000400
+20404907
+20203806
+20600000
+680084df
+c080dde7
+680084e0
+c080dde7
+680084e1
+c0985de7
+20406216
+2020dde4
+7007da01
+70007c03
+70007d3d
+20205b77
+70007e24
+20205bc9
+70007c3e
+20600000
+20406216
+20608000
+7007da08
+20600000
+20406216
+2440fa9d
+2040faab
+20404860
+20404869
+20406216
+20608000
+7007da0c
+7007dc01
+20600000
+d8a00888
+680404df
+e0a40000
+680404e7
+e0a40000
+2020780f
+680087db
+c003de03
+680087da
+c080de16
+680087e3
+1fe60a20
+24215e16
+d8a007f0
+98a08a00
+680404df
+e0a40000
+680404e7
+e0a40000
+680087e3
+1fe0fe10
+600087e3
+c0985cf5
+20406216
+2020dcf5
+7007e401
+7007da02
+7007dc01
+20205cf5
+70007e24
+20205bc9
+680087e2
+c0185e1c
+70007c3e
+20205b77
+20406216
+2020de21
+7007dc01
+7007da04
+20205b77
+20205b77
+680087db
+c003de26
+680087da
+c0835e32
+d8a00848
+680404df
+e0a40000
+680404e7
+e0a40000
+20406216
+2020de30
+7007da07
+7007dc01
+20205cf5
+7007db04
+2020780f
+70007e24
+20205bc9
+680087db
+c005de38
+680087da
+c0845e45
+d8a00878
+680404df
+e0a40000
+680404e7
+e0a40000
+20406216
+2020de42
+7007da09
+7007dc01
+20205b77
+7007db09
+7007dd01
+20205b77
+70007e24
+20205bc9
+20205b77
+68008177
+793ffe01
+60008177
+20405cf5
+24748000
+680084df
+6808804b
+793a0404
+7d3a0405
+6008804b
+20600000
+680c04df
+6800c272
+c0a85e58
+70427200
+204047e5
+68008055
+c1818000
+6800c132
+c000de5e
+68008177
+c3025e60
+70005514
+20600000
+70005504
+20600000
+68008189
+6000815d
+70007c03
+70007d38
+20600000
+70007c03
+70007d39
+18007209
+d8c004df
+d8a00154
+e8c08000
+1fe2fe55
+e0a08000
+c2005e6c
+68008154
+68088153
+793f8407
+793f8404
+c07fde80
+c0005e99
+c002de8d
+c003de8c
+c0035e8d
+c0045e8c
+c000de85
+c0015e85
+c001de85
+c004de85
+c0025e85
+20600000
+68008153
+79207e03
+79207e02
+60008153
+20600000
+79200404
+70018a05
+6801015b
+98007200
+60010169
+d8a004de
+20407ed8
+79200407
+79200402
+18007e00
+6000800b
+600100fc
+600100fe
+600100fa
+600100f8
+68008155
+2fe1fe00
+79208406
+60088153
+20600000
+793f8011
+70015300
+68008189
+793ffe06
+60008189
+20600000
+68008153
+c4010000
+6800815e
+1fe0fe01
+6000815e
+c1828000
+70015e00
+68008153
+793ffe02
+60008153
+c281dec0
+2feffe07
+2040ff86
+2440ff8a
+6800815a
+2fe06020
+6800804c
+7920fe05
+6000804c
+68008153
+68088189
+2feffe04
+79208406
+2feffe06
+79208404
+79208405
+60088189
+68008156
+60008447
+68008157
+60008448
+79200011
+20600000
+793f8011
+70015300
+6800815d
+60008189
+68108043
+1fe17efb
+60108043
+20600000
+d8c004df
+d8a004ef
+20207e35
+70007c09
+20600000
+24748000
+70007c11
+20600000
+da204140
+2040736a
+70007c03
+70007d08
+20600000
+7000720a
+70007c07
+70044616
+20600000
+79200025
+44f1c03c
+78547c00
+204061d9
+68008048
+207a0000
+c283df10
+c000e072
+c0015f9b
+c001df1d
+c0025f36
+c013e0f2
+c0145fbf
+c0185fab
+c012e0ed
+c0135fba
+c018e0dc
+c01be06d
+c019e05f
+c0046174
+c004e16a
+c005e17f
+c0066188
+c007e065
+c00861af
+c008e1a5
+c003e055
+c0156081
+c0056082
+c015e0b5
+c0035fb0
+c010e062
+c016e0d2
+c01760d7
+c0116062
+c01660cb
+c01a6083
+c009e098
+c00be0a7
+c00961ac
+c017e0ad
+c00c60b2
+c01ee119
+c01f6125
+c01fe137
+c0206142
+c020e157
+c011e166
+c01de161
+c002e167
+c014e168
+c01c6169
+c01ce078
+20203bf1
+20600000
+c0465fc4
+c046dfe3
+c040df43
+c0425f76
+c0415f50
+c041dfec
+c045dff7
+c04be051
+c04cdf8c
+c04d5f81
+c04adf91
+c04b5f92
+20203bf1
+18007e02
+204061b5
+68008049
+e0a08000
+c015df5a
+204061c4
+68008049
+c0045f5d
+c007df61
+c0085f6c
+c00bdf33
+c019df6f
+c0165f74
+c020df75
+c008df2d
+20600000
+68008055
+207a0000
+7000551b
+5800000c
+d8e0000b
+20207e4c
+18000402
+20404907
+202037e1
+18007e03
+204061b5
+68008049
+c005df3e
+e0a08000
+6800804a
+e0a08000
+202061c4
+e0a08000
+6800804a
+e0a08000
+d8400451
+202061fb
+18000e04
+204061bd
+5800007f
+e0a08000
+68008049
+793ffe07
+e0a08000
+68008049
+c0465f5a
+204061c4
+68008049
+c046df74
+20600000
+18000e05
+204061bd
+5800007f
+e0a08000
+68008049
+793ffe07
+e0a08000
+6800804a
+e0a08000
+202061c4
+2040384a
+d8400452
+202061fb
+20403507
+2040620d
+20608000
+20205ecb
+6800804b
+c282df68
+c4020000
+70007c12
+793ffe04
+20406205
+20205f6a
+70007c10
+793ffe05
+6000804b
+20600000
+20406216
+2020decd
+20600000
+6800844d
+79207e00
+6000844d
+700b7d01
+20207c27
+20600000
+20600000
+18000e0c
+204061bd
+58000001
+e0a08000
+6801044a
+e0a10000
+58000000
+e0a18000
+58000000
+e0a20000
+202061cd
+18000e05
+204061bd
+6800c132
+c000df89
+58040003
+e0a18000
+600187e6
+202061cd
+680187e6
+e0a18000
+202061cd
+18000e05
+204061bd
+680187e6
+e0a18000
+202061cf
+20600000
+18000e09
+204061bd
+68008097
+e0a08000
+68010098
+e0a10000
+68020093
+e0a20000
+202061cd
+18007e11
+204061b5
+68008049
+1fe20400
+c0005fa3
+c0075fa3
+c00e5fa3
+20600000
+e0a08000
+6800c702
+e0a08000
+1fe27200
+58004703
+98408c00
+20407e45
+202061cd
+18007e03
+204061b5
+58000114
+e0a10000
+202061cd
+18007e03
+204061b5
+6802016f
+9c467e00
+2034dfb6
+1fe67e00
+1feb7e00
+793ffe0f
+e0a10000
+202061cd
+18007e06
+204061b5
+6802c6fd
+e0a28000
+202061cd
+18007e09
+204061b5
+68044138
+e0a40000
+202061cd
+2034dfc6
+20205fc7
+7041f907
+7000af00
+18000e10
+204061bd
+680080ad
+e0a08000
+6800c1f9
+e0a08000
+58000000
+e0a08000
+680080af
+e0a08000
+58000006
+e0a08000
+58000002
+e0a08000
+58000007
+e0a08000
+e0a08000
+5800001e
+e0a10000
+e0a10000
+680080ab
+e0a08000
+680080b1
+e0a08000
+243a61cd
+2034e1cd
+202061cf
+18000e04
+204061bd
+680080ad
+e0a08000
+68008446
+e0a08000
+680080b4
+60008047
+202061cf
+18000e0c
+204061bd
+58000001
+e0a08000
+6801044a
+e0a10000
+58000000
+e0a18000
+58000000
+e0a20000
+202061cf
+18000e03
+204061bd
+6800c1fb
+e0a08000
+78547c00
+204061cf
+24740000
+24748000
+6800c179
+c4000000
+2040600f
+20206019
+6800c13e
+79207e03
+6000c13e
+58000101
+6001044a
+20600000
+6800c13e
+793ffe03
+6000c13e
+58000000
+6001044a
+20600000
+70417903
+58000000
+600241e3
+d8a0417b
+20406023
+d8a04188
+20406023
+d8a041e7
+20406023
+2020602a
+d8a04188
+20406023
+2040602a
+2020602d
+6802c1e7
+6002c188
+e8c28000
+e0a28000
+2040602a
+2020602d
+58ffffff
+e0a18000
+e0a18000
+e0a18000
+5800007f
+e0a08000
+20600000
+58000000
+60014177
+20600000
+6800c179
+79207e02
+6000c179
+20600000
+24748000
+18007e10
+204061b5
+1c427e00
+d84001dc
+9840fe00
+1fe37e00
+1fe0fe01
+793ffe00
+e0a20000
+1fe20400
+58000001
+e0a08000
+6802c188
+e0a28000
+e8c28000
+e0a28000
+18438400
+600a4173
+204061cf
+68008031
+79207e03
+60008031
+70417a01
+68024173
+d842ee00
+9840fe00
+600241e3
+6800c179
+c3820000
+70007c90
+20600000
+18000e02
+204061bd
+2434e1cd
+202061cf
+18007e02
+204061b5
+68008446
+e0a08000
+204061cf
+6800804b
+79207e03
+6000804b
+70007232
+20600000
+18007e01
+204061b5
+202061cf
+18007e01
+204061b5
+202061cd
+18007e02
+204061b5
+6800804c
+2fec0002
+7920fe00
+1fe17e01
+e0a08000
+202061cf
+18007e03
+204061b5
+68010051
+e0a10000
+202061cf
+700072fa
+18007e02
+204061b5
+68008053
+e0a08000
+202061cf
+18007e0a
+204061b5
+d8c00154
+18007209
+e8c08000
+1fe2fe55
+e0a08000
+c200607c
+202061cf
+202061cf
+202061cf
+20748000
+20403997
+18007e09
+204061b5
+6801017b
+e0a10000
+6801c140
+e0a18000
+6800c143
+e0a08000
+68014144
+e0a10000
+c581e094
+793f8003
+204061cf
+70007c13
+20600000
+204061cd
+70007c03
+70007d13
+20600000
+d8400200
+2034e09c
+1d027e00
+2020609d
+1c427e00
+1c227e00
+9840fe00
+1fe17ffc
+60020034
+18007e05
+204061b5
+68020034
+1fe37e00
+e0a20000
+202061cf
+18007e0a
+204061b5
+d8c00455
+e8c48000
+e0a48000
+202061cf
+18007e03
+204061b5
+58000114
+e0a10000
+202061cf
+18007e01
+204061b5
+202061cf
+2034e0ba
+7000ad00
+68008031
+79207e04
+60008031
+7000af00
+18007e07
+204061b5
+680080ad
+e0a08000
+58000000
+e0a08000
+680080af
+e0a08000
+58000006
+e0a08000
+58000002
+e0a08000
+680080ab
+e0a08000
+2034e1cd
+202061ca
+18007e03
+204061b5
+680080ad
+e0a08000
+18007e13
+e0a08000
+202061cf
+18007e02
+204061b5
+6800c171
+e0a08000
+202061cf
+18007e02
+204061b5
+58000005
+e0a08000
+202061cf
+68008030
+79207e04
+60008030
+1c427e00
+60020465
+6800844d
+c281e0eb
+79207e03
+6000844d
+700b7d05
+20407c27
+20404825
+18007e01
+204061b5
+202061cf
+70004800
+20600000
+18007e06
+204061b5
+6802c6fd
+e0a28000
+202061cf
+18007e09
+204061b5
+68044138
+e0a40000
+202061cf
+2040481b
+6800c132
+c000e0fd
+7007dd01
+6800c793
+c1808000
+7007db13
+20600000
+20406209
+70007c99
+7007db03
+20600000
+20406209
+70007c3d
+7007db07
+20600000
+da200868
+da400888
+df200010
+20407f25
+2022e111
+7007db00
+20407811
+70007e24
+70007d40
+20205bc9
+7007db0a
+2040780f
+70007d40
+20205cf5
+70007c40
+20600000
+70007c3d
+20600000
+7007e200
+18007e04
+204061b5
+18007e01
+e0a08000
+18007e01
+e0a08000
+18007e30
+e0a08000
+20406216
+2020e1cf
+202061cd
+18007e11
+204061b5
+680087e2
+d8c047ac
+98c08c00
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+680087e2
+1fe0fe10
+600087e2
+20406216
+2020e1cf
+202061cd
+7007da06
+70007c3f
+20600000
+18007e11
+204061b5
+d8c00868
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+202061cd
+204061d9
+70007c40
+20600000
+20406216
+2040f74d
+18007e11
+204061b5
+d8c00838
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+20406216
+2420e1cd
+2020e1cf
+7007db0f
+20406209
+70007c0b
+20406221
+2020f785
+2020778f
+20406205
+70007c41
+20600000
+18007e11
+204061b5
+d8c00868
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+20406216
+2420e1cd
+2020e1cf
+18007e03
+204061b5
+5800fffe
+e0a10000
+202061cd
+202061cf
+202061cf
+202061cf
+202061cf
+20406225
+da204140
+2040622b
+18007e11
+204061b5
+da20050f
+da4004ef
+20407467
+2434e1c4
+202061ca
+20406225
+da200040
+2040736a
+18007e11
+204061b5
+d8c004ef
+20407e35
+68008055
+c00ce1cf
+c00c61cf
+202061ca
+680087e1
+203a6185
+20406216
+2040e209
+2440e205
+20206186
+20406209
+20406225
+20206177
+da204140
+2040739d
+18007e05
+204061b5
+6802051f
+e0a20000
+d8400451
+204061fb
+2040749b
+20406216
+2020e197
+70045401
+680087e1
+207a0000
+70007c0b
+6800c25e
+207a0000
+20406216
+2040c852
+20406216
+2420e1a1
+68008453
+207a0000
+70007c0f
+20600000
+c6908000
+793f8021
+70007c0f
+20600000
+20406225
+204073a0
+18007e11
+204061b5
+d8c004ef
+20407e35
+202061ca
+18007e01
+204061b5
+202061ca
+18007e02
+204061b5
+18007e10
+e0a08000
+60008054
+202061ca
+1fe9fe00
+1fe1fe07
+60008432
+df200011
+d8a00434
+20407e3f
+d8a00434
+20600000
+1fe1227f
+7000487f
+18e27e00
+204061b5
+1a227e00
+e0a08000
+20600000
+68008048
+1fe3fe00
+6808804c
+284ffe01
+7920fe00
+202061d4
+6808804c
+18410401
+202061d0
+18000400
+202061d0
+18000401
+68008048
+1fe3fe00
+7934fe00
+9842fe00
+60008433
+70004800
+204061e0
+78347c00
+20600000
+79200025
+44f2403c
+68008048
+203a61e0
+68008078
+247a0000
+202061ea
+68008078
+203a61f0
+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
+79200025
+44f2c03c
+6800804c
+1fe22600
+e8408000
+20405d12
+204061c4
+1a627e00
+6000804c
+20600000
+6808804c
+793f8400
+6008804c
+20600000
+6808804c
+79200400
+6008804c
+20600000
+7d34fe01
+6808804c
+9842fe00
+2feffe01
+20600000
+6800804c
+7934fe01
+6000804c
+20600000
+680087e0
+2fe0fe01
+20600000
+680087e0
+79207e07
+600087e0
+20600000
+680087e0
+793ffe07
+600087e0
+20600000
+680087e0
+2feffe07
+600087e0
+20600000
+d8a004ef
+18007210
+180a7e00
+e0a08000
+c2006227
+20600000
+2040736e
+da204262
+da40051f
+ea240000
+68088030
+7d3a0406
+60088030
+1a220a00
+20407467
+20203229
+79200025
+44f3403c
+6800807c
+203a623c
+204061d9
+6800807c
+247a0000
+68008055
+207a0000
+c002628d
+c002e292
+c0016284
+c001e29a
+c0076287
+c00362b6
+c003e2ce
+c004e2cf
+c00562d8
+c005e2dc
+c00662a4
+c006e2a7
+c007e2ad
+c0096277
+c009e29a
+c008627a
+c00a6274
+c00ae29a
+c00b626e
+c00c6273
+c00be267
+c00ce26d
+c00d6258
+c00de262
+70005500
+20600000
+6800844d
+c4010000
+c4018000
+70005500
+2040625e
+20206e41
+68008177
+c4008000
+7000550a
+20600000
+d8e0000b
+20407e53
+247a0000
+7000551a
+20600000
+68008177
+793ffe00
+60008177
+70005519
+70007c0b
+20600000
+20600000
+68008450
+c1810000
+204062de
+70005518
+20600000
+20600000
+70005515
+70007c83
+20600000
+70005513
+70007c25
+20600000
+6800c748
+c1000000
+c000e282
+d8e0000a
+20407e53
+247a0000
+70474800
+2020629b
+20748000
+202062b6
+70005503
+70007c27
+20600000
+70007c13
+79200003
+70005505
+580001ff
+6001044e
+20600000
+70005505
+70044eff
+793f8022
+70007c33
+20205b6f
+c6110000
+6801044e
+1fe67e01
+2022e298
+6001044e
+20600000
+7000550e
+20600000
+20600000
+6800844d
+c4018000
+c4010000
+68008177
+793ffe02
+60008177
+70007c13
+70005510
+20600000
+7000550d
+70007c31
+20600000
+6800844d
+c4010000
+70005500
+20600000
+70005506
+20600000
+6800844e
+1fe0ffff
+203a62b2
+6000844e
+20600000
+70007c07
+70044616
+70005500
+20600000
+68008177
+c281629b
+c28062bb
+7000551a
+20600000
+6800c25e
+203a62c7
+6800844d
+c4018000
+c4010000
+68020465
+d8400064
+98408400
+1c427e00
+98467c00
+24610000
+20206267
+70005516
+70054f04
+58003030
+60010550
+e0a10000
+70045002
+2020626e
+20600000
+68008177
+c280e2d3
+7000551a
+20600000
+68008177
+793ffe01
+60008177
+70007c0f
+20600000
+68008454
+207a0000
+70005500
+202062d3
+7000550c
+20600000
+6800804b
+c28162e3
+20406209
+70007c08
+202049bc
+6800804b
+793ffe02
+6000804b
+20405ed0
+20406212
+202049bc
+58000004
+6000854f
+58003030
+e0a10000
+e0a10000
+20600000
+20758000
+70481300
+20406321
+20406438
+5800632e
+60014290
+5800632f
+6001428e
+58006337
+60014292
+580063b6
+60014296
+5800632f
+6001428c
+79200025
+44c04030
+5800632a
+60014286
+580063be
+60014298
+58000000
+6002480a
+60014810
+2040630a
+20403fc5
+20403e2b
+2020691d
+20758000
+580001a0
+600142ac
+20406a0d
+58004a00
+60110054
+58004fff
+60110056
+58001c00
+6011005a
+58001fff
+6011005c
+70808104
+70029fff
+70806200
+58001c00
+6011005e
+60110060
+58004a00
+60110058
+20204480
+2040630d
+20206321
+20407bd9
+20403f94
+6808c803
+204069da
+2040639e
+6808c801
+204069d1
+6808c800
+202069d2
+6808c801
+204069e5
+2420bf5c
+20203f5a
+20206330
+20206330
+79200025
+44c0c030
+2040641c
+20406421
+2040527a
+247a0000
+202063a0
+1a627e00
+c0056368
+c0026383
+c009e387
+c001634c
+c00ce36a
+c010636f
+c0116374
+c010e375
+c011e376
+c0126379
+c00a637a
+c000e382
+c00ae364
+c002e35d
+c005e352
+c0063fa6
+1fe1040f
+1fe17ef0
+c02863ec
+20600000
+2040638a
+680142a0
+c4020000
+df200003
+d8c04849
+20207f71
+68014042
+1fe37e00
+68094280
+98467c00
+2422e358
+20203fa4
+6800c813
+c3800000
+68110112
+245a640c
+20203f9c
+20406395
+2040642e
+2022e361
+20203f77
+df200004
+d8c0488e
+20207f71
+2040638a
+df200005
+d8c04847
+20207f71
+20403fc1
+20203f6a
+6800c813
+c4020000
+793ffe04
+6000c813
+2020427f
+6800c813
+c4020000
+793ffe04
+6000c813
+20204286
+20600000
+20600000
+6800c813
+c3003f9e
+20206410
+20600000
+20406395
+da4003d0
+2040642e
+2022e37f
+20203f90
+df200006
+d8c0488c
+20207f71
+20600000
+df200007
+d8c04899
+20407f71
+2020638a
+df200007
+d8c04892
+20407f71
+2040638c
+20206393
+6800c812
+2feffe00
+2040bf7c
+6800c812
+2feffe01
+2040bf88
+20600000
+6808c803
+202069ef
+20406397
+2020639e
+6800c812
+2feffe00
+2040bf7e
+6800c812
+2feffe01
+2040bf86
+20600000
+6808c803
+202069ed
+6800c132
+c1850000
+68110112
+207a0000
+6001480e
+204063a9
+2020bfef
+20406400
+202063af
+6808c800
+202069e5
+6800c813
+c3800000
+2040640c
+20203f9c
+6800c040
+c300428c
+6800c041
+c28063d5
+20403f40
+2020e3ab
+20206d97
+20405a88
+e8c08000
+18c22200
+20407f6e
+1a427200
+1a220c00
+20404976
+202068fa
+68014810
+207a0000
+d8400014
+20407fb9
+60010469
+1fe20400
+68014810
+98467e00
+60014810
+24213bf1
+d8400014
+600944c2
+20405a88
+203a3bf1
+18c08a01
+68010469
+1fe27200
+20407f6b
+2040497c
+68010469
+6001480e
+6001041b
+2020428c
+c6848000
+204063d8
+204063d8
+2040561e
+247a0000
+68110112
+207a0000
+68094810
+98467e00
+24213bf1
+6001480e
+207a0000
+20406407
+68014810
+6809480e
+9840fe00
+60014810
+68094810
+68110112
+98462200
+24213bf1
+700b7d1b
+20205620
+60088259
+68008259
+207a0000
+1fe0ffff
+60008259
+204063f3
+202063ed
+6801481a
+207a0000
+1fe0ffff
+6001481a
+247a0000
+6800c2a4
+7042a400
+c280e3fd
+c28063fe
+20203bf1
+20203f8c
+70427202
+20600000
+6800c041
+c2806407
+6801480e
+d840006e
+20407fb9
+6001480e
+20600000
+6801480e
+d8400014
+20407fb9
+6001480e
+20600000
+6800c813
+79207e00
+6000c813
+20600000
+6800c813
+793ffe00
+6000c813
+20600000
+6800c813
+79207e07
+6000c813
+20600000
+6800c813
+793ffe07
+6000c813
+20600000
+79200025
+44c14030
+20407f8e
+20213f66
+20203f68
+204063a9
+2020e428
+68190052
+680142ac
+98467c00
+20628000
+20206909
+68190052
+580001a0
+98467c00
+20628000
+60110052
+20600000
+79200025
+44c1c030
+6800c812
+2fec0002
+2020e436
+da204814
+df200006
+20207f25
+18007c00
+20600000
+79200025
+44c24030
+d8a0481c
+38035350
+38055115
+38092415
+380d0951
+e0a48000
+3802454c
+38075053
+38082454
+380d1531
+e0a48000
+38034441
+380594d4
+38092455
+380d0d4d
+e0a48000
+3803414c
+3804d4d4
+380924c4
+380d3119
+e0a48000
+38015247
+3807d0d1
+3808e4e4
+380d1531
+e0a48000
+38034944
+380514d4
+3808e535
+380d5105
+e0a48000
+38014c2b
+380514d2
+3808f525
+380d1531
+e0a48000
+38014e53
+38059192
+380844c4
+380d5915
+e0a48000
+38035352
+3804d254
+38085444
+380d0959
+e0a48000
+3801454c
+38045392
+38083525
+380d3d35
+e0a48000
+38014544
+380513d3
+38084454
+380d4d35
+e0a48000
+38004154
+38051155
+38093494
+380d3d0d
+e0a48000
+38004f56
+38071055
+38083454
+380d393d
+e0a48000
+3801504e
+380551d0
+380954f4
+380d4951
+e0a48000
+38024345
+38065051
+380804c4
+e0a30000
+20600000
+580065d7
+6001428c
+5800652e
+6001428e
+580064e3
+6001428a
+580065f3
+60014292
+580064a9
+60014290
+58006561
+60014298
+7007dc00
+7007dd00
+793f8025
+44e04018
+204064c4
+20758000
+2040649f
+204064a7
+580064e0
+60014288
+680147f4
+c2866697
+20206693
+20403f4d
+2022e4a4
+20406963
+204066ba
+20203f45
+2040691d
+20406967
+202066c0
+70481c01
+202064bb
+20407cd7
+204064ac
+202064f6
+6808c825
+204069e5
+2420e4b3
+6800c81c
+c1000000
+70481c00
+20600000
+6800c81c
+c1008000
+70481c01
+6800c81b
+1fe0fe01
+1fe17e03
+6000c81b
+202064bb
+58000006
+204066d8
+1fe104fc
+6800c81b
+9840fe00
+1fed7e00
+1fe0fe06
+204066d7
+202066ba
+204065c5
+204064ca
+68110050
+793ffe0b
+60110050
+20600000
+20403e0b
+6808c827
+204069d1
+6808c828
+204069d1
+6808c822
+204069d1
+6808c823
+204069d1
+6808c824
+204069d1
+6808c826
+204069d1
+6808c825
+204069d1
+6810807b
+1fe1fe18
+6010807b
+6810807f
+1fe17ee7
+6010807f
+20600000
+5800bc05
+204066d7
+7000a201
+204064f6
+d8400019
+204069da
+70808100
+6808c827
+204069b4
+6808c828
+204069b4
+6808c822
+204069b4
+6808c823
+204069b4
+6808c824
+204069b4
+6808c826
+204069b9
+680080a2
+247a0000
+202069c4
+793f8025
+44e0c018
+da200000
+6808c827
+204069e5
+7920a200
+6808c828
+204069e5
+7920a201
+1a227e00
+1fe17e03
+6808c808
+6000c808
+98467c00
+2022e514
+6800c807
+6000c806
+6008c807
+6800c808
+1ff27e00
+6808c807
+184b8400
+9840fe00
+6808c806
+9840fe00
+c01c6515
+c01a6519
+c005e519
+c003e515
+20600000
+20600000
+6800c809
+1fe0fe01
+6000c809
+20600000
+6800c809
+1fe0ffff
+6000c809
+20600000
+20600000
+5800b805
+202066d7
+20600000
+20403fa0
+70482002
+20403fa4
+20203f92
+6801481e
+207a0000
+1fe0ffff
+6001481e
+247a0000
+20203f9a
+58000002
+6000c7f2
+20600000
+6800c27f
+207a0000
+2040527c
+247a0000
+20406578
+24740000
+2040655e
+2040655a
+da200008
+20404b2c
+680142b7
+e0a10000
+580002a1
+e0a10000
+6800c805
+e0a08000
+68014800
+d8400fff
+98417e00
+68094802
+18520400
+184d0400
+9841fe00
+e0a18000
+6800c804
+e0a08000
+58000000
+e0a08000
+7008a808
+20600000
+793f8025
+44e14018
+6800c81a
+207a0000
+1fe0ffff
+6000c81a
+247a0000
+2040527e
+247a0000
+58000000
+6002c800
+20406536
+70481a50
+20600000
+68014810
+60014818
+70481a50
+20600000
+6801480e
+60014816
+20600000
+680944c2
+20405a88
+e8c08000
+6000841b
+20600000
+793f8025
+44e1c018
+680944c2
+20405a88
+18c08a01
+6800c805
+e0a08000
+68014800
+d8400fff
+98417e00
+68094802
+18520400
+184d0400
+9841fe00
+e0a18000
+6800c804
+e0a08000
+20600000
+793f8025
+44e24018
+78547c00
+58000000
+6002c800
+20406581
+204065b4
+2040659c
+202065a2
+6800c821
+c1810000
+6800c80a
+205a65ba
+70480a01
+78547c00
+6808c826
+204069e5
+24608000
+58000000
+204066d8
+c09866c6
+58000002
+204066d8
+c4038000
+58000003
+204066d8
+204065d3
+60014800
+58000004
+204066d8
+204065d3
+1fe67e00
+60014802
+68024800
+78347c00
+20600000
+6800c809
+207a0000
+6000c804
+70480900
+78347c00
+20600000
+da200000
+6808c822
+204069e5
+7920a200
+6808c823
+204069e5
+7920a201
+6808c824
+204069e5
+7920a202
+1a227e00
+6808c805
+6000c805
+9842fe00
+1fe67c00
+20628000
+78347c00
+20600000
+d840001a
+204069e5
+20608000
+58000000
+204066d8
+202065b4
+df200000
+58000002
+204066d8
+20000064
+1f20f201
+6808c826
+204069e5
+2020e5bb
+1f227e00
+6001046b
+20600000
+2040678e
+20758000
+58000000
+204066d8
+60008256
+c01865ce
+204066c6
+20002710
+202065c7
+58008006
+204066d7
+200003e8
+70482102
+20600000
+c4038000
+d840ff00
+9841fe00
+20600000
+2040561e
+247a0000
+680944c2
+20405866
+c4000000
+6800c6f8
+c4000000
+20406578
+24740000
+2040655e
+700b7d1b
+20405620
+20206566
+20740000
+6800c81d
+1fe0fe01
+6000c81d
+d8400001
+c303e5eb
+d840ffff
+600ac800
+78347c00
+20600000
+78547c00
+6800c820
+c1010000
+78347c00
+20600000
+1a627e00
+c00a6606
+c000e6a6
+c00ae617
+c0016617
+c002e616
+c008666a
+c009668a
+c0036614
+c0146521
+c014e524
+c0026611
+c009e611
+c005660f
+c0173f57
+1fe1040f
+1fe17ef0
+c0286634
+20600000
+680142a2
+793ffe00
+600142a2
+58000000
+60014814
+6800c829
+1fe0fe01
+6000c829
+202066a6
+204062e9
+20203f6a
+680147f4
+c2866697
+20203f10
+2040652b
+20600000
+20600000
+793f8025
+44e2c018
+20406621
+680142a0
+c283e630
+c2803f12
+c280e62a
+c281662d
+c281e62d
+20206697
+58000000
+60024806
+70481a00
+70480a00
+70427f00
+70448b00
+70482000
+70480b00
+20600000
+c282e62d
+c281e62d
+20206697
+680147f4
+c2866697
+20203f10
+20405b30
+680142a0
+c2803f12
+20203f10
+793f8025
+44e34018
+60088259
+68008259
+207a0000
+1fe0ffff
+60008259
+20406649
+2040664f
+20406656
+20406664
+6800c820
+2fe1fe02
+2040e648
+6800c820
+2fe1fe01
+2040e646
+20206637
+2040665d
+2020654c
+20600000
+6800c7f2
+207a0000
+1fe0ffff
+6000c7f2
+247a0000
+2020668a
+68014812
+207a0000
+1fe0ffff
+60014812
+247a0000
+204066a6
+20203f9a
+68014814
+207a0000
+1fe0ffff
+60014814
+247a0000
+20403f84
+20203f9a
+68014818
+207a0000
+1fe0ffff
+60014818
+247a0000
+70481a00
+20600000
+68014816
+207a0000
+1fe0ffff
+60014816
+247a0000
+202066b1
+793f8025
+44e3c018
+70481a00
+70480b01
+58000000
+60014814
+204066b1
+6800c132
+2feffe01
+2040e688
+6800c132
+2feffe00
+2040e684
+20403fa6
+20206697
+68034274
+203a3f79
+20203f6e
+68034274
+203a6682
+6801480c
+60014814
+20403fa4
+20203f82
+20403f94
+20203f88
+680147f4
+2feffe07
+2040bf75
+20600000
+20405b30
+20600000
+70427f01
+20403fa4
+20403fa2
+70482001
+58000000
+600147f0
+6000c7f2
+20403f9e
+2020655a
+6800c2a9
+c019e679
+c01a667c
+20206697
+793f8025
+44e44019
+6800c4f9
+1fe0fe01
+6000c4f9
+20403fa6
+680147fe
+60014812
+6800c132
+2feffe01
+2040bf88
+6800c132
+2feffe00
+2040bf7c
+20203f94
+793f8025
+44e4c019
+58000000
+60014812
+6800c132
+2feffe01
+2040bf86
+6800c132
+2feffe00
+2040bf7e
+20203f98
+793f8025
+44e54019
+58000000
+60014816
+680147f4
+c284bf90
+680147f4
+c2803f77
+20600000
+793f8025
+44e5c019
+d8400001
+da20481b
+da4000c6
+2020683e
+793f8025
+44e64019
+d8400001
+da20481b
+da4000c6
+2020681d
+793f8025
+44ff401f
+68108073
+d8400006
+9841fe00
+60108073
+68108077
+9841fe00
+60108077
+70808100
+68108077
+793ffe01
+793ffe02
+60108077
+2000001e
+70808101
+20600000
+202067a1
+202067a9
+243466dd
+68108085
+1fe1fe20
+60108085
+18427c00
+2022e6e0
+1a627a00
+2fcc0000
+20206763
+18000404
+da20022c
+68108085
+1fe17edf
+60108085
+204066dd
+da2055aa
+6801022c
+e8c90000
+9a267c00
+20600000
+d8400002
+da200232
+204066dd
+68010232
+60010225
+205466f4
+20600000
+d8400010
+da200234
+68108085
+1fe17edf
+60108085
+204066dd
+d8c00234
+df200010
+20407584
+2040753d
+2040759d
+20207534
+7856fc00
+204066e2
+24628000
+7836fc00
+70802380
+70802200
+70802400
+da208025
+204066d9
+70802300
+204066e2
+24628000
+18007e00
+60110288
+da20828a
+204066d9
+d8400006
+204066e3
+24628000
+e8c10000
+98002200
+204066dd
+20206710
+20407f36
+58001000
+60010225
+da606823
+df200002
+204066e2
+24628000
+68010225
+1ff0fe00
+9840fe00
+1ff0fe00
+60010225
+c200671c
+20206710
+70805025
+70828005
+20407f36
+78547c00
+2040688a
+58000000
+da200221
+d8400002
+204068d3
+68010221
+c303e738
+580007f0
+da200234
+d8400010
+204068d3
+70800608
+d8c00234
+20407590
+78347c00
+68010221
+1ff0fe00
+d84007ff
+98417e00
+2022e744
+2040688f
+da6068d8
+205466f4
+20406700
+68008220
+2fe00603
+2420e738
+2040688d
+68008221
+c282e751
+58000000
+60018224
+204067b9
+da6067db
+204066ed
+20406700
+2436e751
+68008220
+2fe00603
+2420e744
+68008221
+c283675d
+58000000
+60010225
+da606823
+20406805
+204066ed
+20406700
+2436e75d
+68008220
+2fe00603
+2420e751
+70805021
+68008221
+c4020000
+20404461
+204044a3
+20206761
+68008220
+1fe3fe00
+7920fe00
+2a2c000f
+20608000
+60008220
+20600000
+68108085
+c4028000
+20206770
+6810812c
+afefffff
+20608000
+68108108
+c300e76d
+20407534
+2020676d
+1f220400
+6009423c
+70802380
+70802200
+70802400
+6001423a
+98000a00
+1f2bf200
+68108025
+e0a08000
+c200677c
+70802300
+20600000
+6801423a
+207a0000
+70802380
+70802200
+70802400
+6809423c
+184bf200
+98000c00
+e8c08000
+60108025
+c2006789
+70802300
+20600000
+793f8025
+44ffc01f
+70808675
+7080870a
+58000223
+6011008a
+58000228
+6011008c
+68108081
+79207e00
+793ffe01
+60108081
+20600000
+68108086
+79207e07
+60108086
+793ffe07
+60108086
+20600000
+79207e07
+60010223
+79200025
+44804020
+70808802
+70808e00
+70800602
+202067b3
+18000401
+60008223
+79200025
+4480c020
+70808801
+6019008e
+70800602
+204067b3
+68008228
+20600000
+68014177
+1fe0fe01
+60014177
+6810812c
+c301e7b3
+20600000
+70808640
+70808700
+68108081
+793ffe00
+79207e01
+60108081
+58000000
+60020223
+20600000
+58000000
+6011008e
+58000001
+60108088
+58000223
+6011008a
+70022306
+70800602
+202067b3
+18408404
+60190088
+1a20a3fc
+d8400002
+e2288000
+1ff10400
+e0a88000
+1fec8400
+e0a88000
+e0a08000
+1a227e00
+6011008a
+58000000
+6011008e
+70800602
+202067b3
+6019008e
+58000004
+60110088
+70022303
+58000223
+6011008a
+1a227e00
+6011008c
+68108086
+2a2c000f
+7920fe06
+60108086
+70800602
+6810812c
+c283e7e8
+d8e00003
+2040676a
+204067b3
+2feffe02
+20406763
+68008224
+1ff02400
+68008225
+1fed7e00
+9a41a400
+68008226
+9a41fe00
+9840fe00
+60008226
+1fecfe00
+60008225
+1fecfe00
+60008224
+20600000
+7080420a
+70809102
+70809203
+70809303
+70809403
+70809503
+70809602
+20600000
+70809105
+70809207
+70809307
+70809407
+70809507
+70809605
+20600000
+6810812c
+c302e80c
+20600000
+60008224
+58000224
+6011009a
+58000001
+60110098
+6019009e
+1a227e00
+6011009c
+70809001
+70800604
+2020680c
+1ff0fe00
+60010225
+20600000
+79200025
+44814020
+6801429b
+9a40fe00
+1ff0fe00
+60010225
+79200025
+4481c020
+58000004
+60110098
+700224a0
+700227a1
+58000224
+6011009a
+6019009e
+1a227e00
+6011009c
+58000002
+2a2c000f
+7920fe00
+60108090
+70800604
+d8e00005
+2040676a
+2040680c
+2feffe04
+20406763
+68010225
+1ff0fe00
+9840fe00
+1ff0fe00
+60010225
+20600000
+79200025
+44824020
+6801429b
+9a40fe00
+60010161
+79200025
+4482c020
+600902a0
+1a227e00
+600102b7
+20406858
+680902b0
+680102b7
+1fe22200
+68010161
+20406870
+680102b0
+680902b7
+98408400
+600902b7
+68090161
+98408400
+60090161
+680102a0
+243a6848
+20600000
+79200025
+44834020
+680142aa
+1fe0ffff
+68090161
+9841fe00
+1fe0fe01
+600182b4
+680102a0
+9840fe00
+680982b4
+98467e00
+2421686b
+600102a0
+680182b4
+68090161
+98467e00
+600102b0
+20600000
+680102a0
+600102b0
+58000000
+600102a0
+20600000
+1fe22400
+79200025
+4483c020
+1a427e00
+18408403
+60190098
+1a20a3fd
+ea298000
+18422400
+d84000a0
+e2288000
+1ff0fe00
+e0a10000
+1a227e00
+6011009a
+58000000
+6011009e
+70809001
+70800604
+2040680c
+1a427e00
+e2218000
+20002710
+20002710
+20002710
+20600000
+70897370
+20000bb8
+20600000
+70897330
+20600000
+1fe9fe00
+60110045
+70804b00
+20600000
+2040688f
+204068c0
+ea288000
+1a20a201
+18000e00
+a84c0000
+2020e8b7
+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
+2020e898
+68110045
+1fe0fe01
+60110045
+18e08e01
+28e01e08
+2420e898
+c2006895
+70804783
+20600000
+70804782
+2000000c
+70804780
+70804782
+20000096
+20600000
+204068c0
+708047a2
+1a227e00
+60110048
+7920040b
+2fec000f
+7920840f
+6019004a
+70800601
+20600000
+6810812c
+c300e8d0
+20600000
+2040688f
+204068c6
+204068d0
+70804783
+20600000
+68110124
+60110045
+204068c6
+d8e00001
+2040676a
+204068d0
+2feffe00
+20406763
+70804783
+20600000
+70427a01
+18000e0e
+6801427c
+20207e4c
+68110112
+207a0000
+6808c27b
+98467c00
+202168f2
+6800c27a
+203a68e2
+d8e0000e
+20407e53
+203a68f2
+58000000
+20600000
+18000e0e
+20407e4b
+70427a00
+68110112
+20600000
+6811005e
+98001400
+20600000
+19427e00
+6011005e
+20600000
+68110112
+207a0000
+98007200
+68110058
+98000600
+20600000
+68110058
+9840fe00
+1fe20600
+18627e00
+60110058
+20600000
+680142ac
+60110052
+20600000
+680303d0
+600301b4
+7001b334
+20206913
+68030040
+600301b4
+7001b333
+79200025
+44844021
+20406954
+20406950
+680081b3
+c01a691b
+c019e97c
+20600000
+2040697a
+20206963
+79200025
+4484c021
+20406929
+680081b2
+c17f8000
+680301b4
+60034274
+680081b3
+6000c2a9
+c019e92d
+c01a692f
+20600000
+2040694c
+680081b2
+c17f8000
+2020696b
+20406983
+202069a2
+20406981
+202069a8
+20406988
+78547c00
+2040698c
+2434427f
+680901ba
+184085ff
+58000000
+e0438000
+d840001c
+da200195
+da400000
+2020683e
+79200025
+44854021
+d8a0018e
+18007204
+20407e3b
+d840001c
+da20018e
+da400000
+2020683e
+79200025
+4485c021
+58000000
+60018040
+e0a18000
+20206954
+d8400001
+da2001b2
+da40001c
+2020681d
+d8400001
+da2001b2
+da40001c
+2020683e
+79200025
+44864021
+20406988
+78547c00
+2040698c
+20740000
+7001b200
+680301b4
+6003018f
+680081b3
+6000818e
+d840001c
+da20018e
+da400000
+2020683e
+d8400006
+da2044f9
+da40001d
+2020683e
+d8400006
+da2044f9
+da40001d
+2020681d
+79200025
+4486c021
+d8400007
+da2001b3
+da400000
+680081b2
+1feffe07
+9a40a400
+2020681d
+d8400010
+da400023
+680081b2
+1ff27e00
+9a40a400
+20600000
+da20447b
+2020697d
+da204262
+79200025
+44874021
+20406974
+2020683e
+da20447b
+20206984
+da204262
+79200025
+4487c021
+20406974
+2020681d
+d840001c
+da200195
+da400000
+2020681d
+79200025
+44884022
+58000195
+600101ba
+7001b200
+df200004
+1f227e00
+60008161
+680101ba
+1fe22200
+204069ac
+20740000
+680101ba
+1fe0fe07
+600101ba
+680081b2
+1fe0fe01
+600081b2
+68008161
+1fe27200
+c2006992
+20600000
+68044262
+680c426a
+9841fe00
+207a0000
+70425e01
+20600000
+68034274
+207a0000
+70448b01
+20600000
+da4001b3
+df200007
+20407f25
+2022e9b1
+20600000
+78347c00
+20600000
+20203bf1
+79200025
+4488c022
+79200407
+204069e5
+7d208407
+79200025
+44894022
+284c0007
+18410e1f
+680200a3
+f920fe00
+600200a3
+680200a7
+fd20fe00
+600200a7
+20600000
+79200025
+4489c022
+284c0007
+18410e1f
+680200a3
+f93ffe00
+600200a3
+680200a7
+f93ffe00
+600200a7
+20600000
+204069c4
+202069d2
+2455e9b9
+d8a0807c
+204069f4
+79400407
+d8a08078
+204069f4
+793f8407
+d8a08070
+202069f4
+79400407
+204069f3
+79200407
+d8a08070
+202069f4
+18410e07
+18497e00
+1fe17e03
+98a08a00
+e8a08000
+20600000
+d8a0811c
+204069df
+284ffe07
+2020e9eb
+afec0000
+20600000
+afefffff
+20600000
+2fcffe07
+202069f0
+2fcc0007
+58000000
+7d20fe07
+98428400
+d8a08074
+204069df
+284ffe07
+f920fe00
+e0a08000
+20600000
+6800c16e
+c13f8000
+70807700
+2000001e
+70807708
+20600000
+1fed7e00
+1ff27e00
+601100a2
+601100a0
+20600000
+58000000
+601100a2
+58000001
+601100a0
+20600000
+58000000
+601100a2
+601100a0
+20600000
+d8a08800
+df200020
+20407e3b
+580004f9
+60110848
+6011084a
+6011084c
+6011086c
+6011088c
+601108ac
+58000204
+601108ae
+58000506
+601108b0
+58000504
+601108b2
+58000200
+601108b4
+5800fefb
+601108b6
+5800faf9
+601108b8
+5800fafb
+601108ba
+5800fd00
+601108bc
+58000408
+601108be
+58000a0c
+601108c0
+58000b09
+601108c2
+58000500
+601108c4
+5800f8f1
+601108c6
+5800ece8
+601108c8
+5800e9eb
+601108ca
+5800f500
+601108cc
+58001223
+601108ce
+5800374b
+601108d0
+58005e71
+601108d2
+5800787f
+601108d4
+20600000
+79200025
+448a4022
+68110050
+793ffe0e
+60110050
+7080b011
+7080b101
+7080b201
+7080b311
+20600000
+79200025
+448ac022
+68110050
+79207e0e
+60110050
+7080b004
+7080b304
+7080b100
+7080b200
+20600000
+68008030
+c4010000
+d8a000b5
+df20001e
+68108134
+e0a08000
+c2006a58
+20600000
+68008030
+c4010000
+d8c000d3
+1800721e
+e8c08000
+60108009
+c2006a60
+20600000
+20600000
+20406a87
+d8400006
+202069da
+20406a65
+d8400006
+202069ed
+20406a65
+d8400006
+202069ef
+20406a87
+d8400007
+202069da
+20406a6e
+d8400007
+202069ed
+20406a6e
+d8400007
+202069ef
+20406a87
+68108078
+79207e06
+60108078
+d8400006
+202069d1
+20406a87
+68108078
+79207e07
+60108078
+d8400007
+202069d1
+68108081
+1fe1fe04
+60108081
+20600000
+68108081
+1fe17efb
+60108081
+20600000
+68108081
+2feffe02
+20600000
+58006a91
+60014296
+20600000
+20406b14
+68008481
+c000ea96
+c0016a9c
+20203bf1
+d8400017
+600944c2
+20405a88
+e8c08000
+20406a9e
+20205b42
+20406a9e
+20205b51
+18c22200
+79200025
+4498c026
+e8c08000
+c0006ab7
+c000eabc
+c0016abd
+c001eabe
+c0026b50
+c002eaff
+c0036b51
+c003eb52
+c0046abf
+c004eac0
+c0056ac1
+c005eac2
+c0066ac3
+c006ead5
+c0076ae3
+c007eaf0
+c0086af1
+c008eaf8
+c0096b19
+c009eb45
+20600000
+1a220c00
+e8c08000
+1fed7e00
+6001846d
+20600000
+20600000
+20600000
+20600000
+20600000
+20600000
+20600000
+20600000
+e8c20000
+60108082
+1fecfe00
+68188081
+1841047f
+98418400
+60188081
+1fecfe00
+68188051
+184104df
+98418400
+60188051
+1fecfe00
+68188042
+1841043f
+98418400
+60188042
+20206ab7
+e8c48000
+68188085
+1841043f
+98418400
+60188085
+1fecfe00
+601100a0
+1ff17e00
+601100a2
+1ff17e00
+601100a4
+1ff17e00
+601100a6
+20206ab7
+e8c20000
+60120070
+e8c20000
+60120078
+e8c20000
+6012007c
+e8c08000
+60108080
+e8c08000
+60108081
+e8c08000
+60108082
+20206ab7
+20206af1
+70046d10
+d8a0046e
+68120074
+e0a20000
+6812011c
+e0a20000
+20600000
+e8c88000
+e8c08000
+1fe9fe00
+1ff27e00
+98418400
+204069f3
+20206ab7
+e8c88000
+60188301
+e8c08000
+2fe1fe01
+e8c08000
+60108307
+2020eb08
+e8c08000
+60108307
+e8c08000
+1fe27200
+1fe0ffff
+1fe1fe90
+60108302
+70830302
+20000001
+d8a0046d
+68108307
+e0a08000
+c2006b10
+20600000
+58000000
+6002046d
+e0a40000
+e0a40000
+20600000
+1a227e00
+1fe0fe01
+60010483
+68014749
+c0006b28
+68014749
+68090483
+e8490000
+9840fe00
+68090483
+18408402
+18420c00
+e8c88000
+18c22200
+20206842
+58000002
+1ff0fe00
+60010225
+da606823
+df200002
+204066e2
+2422eb36
+68010225
+1ff0fe00
+9840fe00
+60014749
+1ff0fe00
+60010225
+c2006b2d
+68014749
+1ff0fe00
+60010225
+da606823
+df20ffff
+204066e2
+2422eb1e
+68010225
+1ff0fe00
+9840fe00
+1fe0fe02
+60014749
+1ff0fe00
+60010225
+c2006b3b
+68014749
+1fe0fe02
+1ff0fe00
+60014749
+da204749
+d8400002
+dfe00000
+20406842
+58000000
+60014749
+20600000
+20600000
+20600000
+20600000
+20758000
+70475500
+70048503
+70048603
+70048a11
+70048b13
+58000000
+60018487
+6000c2bd
+7047f300
+79200025
+44dfc037
+58000000
+6000c2bd
+6000c752
+6000c74b
+70475750
+20600000
+18418402
+20600000
+18427e00
+1fedfe00
+6000c750
+18007e3f
+1fedfe00
+6000c74f
+18007e01
+1fedfe00
+6000c74e
+20406b9d
+18427e00
+20600000
+1fedfe00
+6000c750
+18007e73
+1fedfe00
+6000c74f
+18007e01
+1fedfe00
+6000c74e
+20206b9d
+6800c751
+203a6b80
+58000070
+20600000
+580000aa
+20600000
+1fedfe00
+6000c750
+18007eef
+20406b91
+6809048f
+18420a00
+e0a08000
+18a20400
+6009048f
+18007eff
+20406b91
+6809048f
+18420a00
+e0a08000
+20600000
+1fedfe00
+6000c74f
+6801474f
+1fed7e00
+6001848c
+da200107
+da40000f
+20406baa
+1fe2fed7
+1fe47e00
+1fedfe00
+20600000
+6801c74e
+6001848c
+da200107
+da40000f
+20406baa
+1fed7e00
+da400007
+20406baa
+1fe2fe2b
+1fe47e00
+1fedfe00
+1fe20400
+20600000
+da600000
+1a427200
+20407dfb
+1fe20400
+18427e00
+1a63a600
+c3046bb3
+9a228400
+1a60a601
+18438400
+6801848c
+1a40a5ff
+2a41feff
+2020ebbd
+1a427200
+20407dfb
+2feffe00
+79208400
+20206bae
+18437e00
+20600000
+6808c74b
+184b8400
+79200400
+6800c751
+245a6b65
+600884a5
+20600000
+184b8400
+79200400
+6800c751
+205a6b65
+20600000
+18438400
+6800c751
+793a0400
+20600000
+68088494
+700496d7
+20406cf6
+6800c2ba
+79207e06
+79207e07
+6000c2ba
+70475100
+20206cd7
+6800c2ba
+79207e07
+6000c2ba
+20206cd7
+79200025
+44e04038
+6800c7f3
+c0006be1
+20206c8b
+680102cb
+1fe20c00
+20406c0f
+68008494
+c0006be7
+20206c57
+79200025
+44e0c038
+68008495
+c01febcf
+c039ebd8
+c077ebef
+c1298000
+20203bf1
+68010499
+1fe20c00
+20406c1a
+6800849b
+c020ebf8
+c0206c04
+c038ec3f
+c0386c4e
+20206cd7
+20406c06
+6800c74b
+1fe37e00
+1fe67c01
+2022ebfe
+20203bf1
+6800c2bd
+79207e00
+79207e01
+6000c2bd
+20406d22
+20206cd7
+20406c06
+20206cd7
+20406c22
+20206c30
+20406c22
+e8c08000
+1fe97e00
+6000c758
+e8c08000
+600084a0
+20600000
+e8c08000
+60008493
+1fe97e00
+60008494
+e8c08000
+60008495
+20406c27
+60090497
+18c27e00
+60010499
+20600000
+e8c08000
+1fe37e00
+6000849b
+20406c27
+6009049c
+18c27e00
+6001049e
+20600000
+6801049e
+1fe20c00
+20600000
+6801049e
+1fe20c00
+e8c08000
+1fe20400
+18430400
+c3800000
+e8c08000
+1fe9fe00
+1ff27e00
+98408400
+20600000
+e8c08000
+6000c74b
+e8c08000
+600084a1
+e8c08000
+600084a2
+e8c08000
+600084a3
+e8c10000
+6001474c
+e8c08000
+600084a4
+e8c08000
+6000c756
+20600000
+20406c08
+6800c758
+1fe67c01
+2022ec44
+20203bf1
+6800c2bd
+79207e05
+79207e06
+6000c2bd
+6808c74b
+184b8400
+18418403
+20406d55
+70475503
+20206cd7
+20406c08
+6800c758
+1fe67c01
+2022ec53
+20203bf1
+6800c2bd
+79207e07
+6000c2bd
+20206cd7
+68008494
+1fe67c01
+2022ec5b
+20203bf1
+68008495
+c039ec62
+c01fec66
+c077ec80
+c07fec78
+c029ec85
+20203bf1
+6800c2bd
+79207e03
+6000c2bd
+20206cd7
+6800c2bd
+79207e03
+79207e02
+6000c2bd
+68008493
+20406b73
+60008496
+20406cf6
+68008493
+1feb7e00
+6000c74b
+1febfe00
+793ffe01
+79207e00
+d8404753
+6009048f
+20406b82
+20206cd7
+68010499
+1fe20c00
+1fe0fe01
+60010499
+e8c08000
+6808c756
+9840fe00
+6000c756
+20406d88
+20406bbf
+20406d6d
+20406d8e
+20206cd7
+20406b5d
+68008493
+20406b73
+60008496
+20406cf6
+20206cd7
+680102cb
+1fe20c00
+20406c0f
+68008494
+c0006c91
+20206cc6
+79200025
+44e14038
+68008495
+c01febcf
+c039ebd8
+c077ec98
+20206cd7
+68010499
+1fe20c00
+20406c1a
+6800849b
+c020eca1
+c0206ca1
+c038ecac
+c0386cbc
+20206cd7
+20406c06
+6800c74b
+1fe37e00
+6808c752
+98467c00
+2022eca8
+20203bf1
+6800c2bd
+79207e01
+6000c2bd
+20206cd7
+20406c08
+6800c758
+6808c752
+98467c00
+2022ecb3
+20203bf1
+20206cd7
+6800c2bd
+79207e05
+79207e06
+6000c2bd
+6808c74b
+184b8400
+18418403
+20406d55
+20206cd7
+20406c08
+6800c758
+6808c752
+98467c00
+2022ecc2
+20203bf1
+6800c2bd
+79207e07
+6000c2bd
+20206cd7
+68008494
+6808c752
+98467c00
+2022eccc
+20203bf1
+20206cd7
+68008495
+c039ecd1
+c077ec80
+c07fec78
+c029ecd6
+6800c2bd
+79207e03
+6000c2bd
+20206cd7
+20206cd5
+20206c85
+20600000
+6800c755
+207a0000
+c001ecdc
+20203bf1
+70475500
+204052e0
+d8400001
+18498400
+18418403
+da2000aa
+20406d3f
+204052ef
+18a20c00
+e8c10000
+203a3bf1
+20600000
+79200025
+44e1c038
+204052ef
+58000004
+e0a10000
+680142b3
+e0a10000
+68008493
+e0a08000
+5800013f
+e0a10000
+68008496
+e0a08000
+20600000
+79200025
+44e24038
+204052e0
+204052ef
+58000004
+e0a10000
+680142b3
+e0a10000
+68008493
+e0a08000
+58000173
+e0a10000
+68008496
+e0a08000
+20600000
+79200025
+44e2c038
+204052ef
+5800000e
+e0a10000
+680142b3
+e0a10000
+6800c751
+1fe3fe00
+79207e00
+e0a08000
+580015ef
+e0a10000
+58001183
+e0a10000
+18427e00
+e0a08000
+580000f0
+e0a18000
+5800007f
+e0a10000
+58000000
+e0a08000
+58000001
+e0a08000
+20406b7c
+e0a08000
+70475710
+20600000
+79200025
+44e34038
+204052e0
+204052ef
+5800000e
+e0a10000
+680142b3
+e0a10000
+6800c751
+1fe3fe00
+79207e00
+e0a08000
+580015ef
+e0a10000
+58001181
+e0a10000
+6800c74b
+e0a08000
+580000e0
+e0a18000
+5800007f
+e0a10000
+58000000
+e0a08000
+58000007
+e0a08000
+20406b7c
+e0a08000
+20600000
+79200025
+44e3c038
+204052ef
+58000008
+e0a10000
+680142b3
+e0a10000
+6800c751
+1fe3fe00
+79207e00
+e0a08000
+580009ef
+e0a10000
+580005e3
+e0a10000
+18427e00
+e0a08000
+5800008d
+e0a08000
+20406b7c
+e0a08000
+20600000
+79200025
+44e44039
+204052e0
+204052ef
+58000008
+e0a10000
+680142b3
+e0a10000
+18421600
+6800c751
+1fe3fe00
+79207e00
+e0a08000
+580009ef
+e0a10000
+580005e1
+e0a10000
+19627e00
+e0a08000
+5800008d
+e0a08000
+20406b7c
+e0a08000
+20600000
+79200025
+44e4c039
+6800c757
+207a0000
+68110112
+247a0000
+1a227e00
+60008162
+60088161
+2040527a
+247a0000
+204052e0
+204052ef
+58000005
+e0a10000
+680142b3
+e0a10000
+680084a5
+e0a08000
+580001ff
+e0a10000
+6800c757
+e0a08000
+6800c754
+e0a08000
+70475700
+20600000
+68010497
+207a0000
+6800c757
+1fe0fe01
+6000c757
+20600000
+79200025
+44e54039
+68010497
+1fe27200
+204068f7
+68010499
+1fe20c00
+20404976
+202068fa
+79200025
+44e5c039
+6800c756
+207a0000
+1fe0ffff
+6000c756
+6801474c
+6809480e
+98467c00
+20216da2
+6001480e
+6800c757
+203a6daa
+7004a801
+6800c754
+600084a7
+580000ff
+600084a6
+20206daf
+7004a800
+6800c753
+600084a7
+580000ef
+600084a6
+79200025
+44e64039
+6800c80e
+1fe67c7f
+20216db7
+680084a8
+1fe0fe01
+600084a8
+20406bbf
+6801480e
+1fe0fe08
+680884a8
+9840a200
+20405248
+600102de
+1fe0fe04
+600102e0
+1fe20a00
+680084a5
+e0a08000
+680084a6
+e0a08000
+20406dd8
+20406de8
+20407f6b
+6800c80e
+1fe27200
+2040497c
+680084a7
+e0a08000
+680102de
+1fe20a00
+6801480e
+680884a8
+9840fe00
+1fe0fe04
+e0a10000
+680142b3
+e0a10000
+70475700
+2020428c
+6801480e
+1fe67c7f
+24216ddf
+1fe3fe00
+79207e00
+e0a08000
+20600000
+6801480e
+1fe97e00
+1ff18400
+1fe17e7f
+1fe3fe00
+793ffe00
+e0a08000
+e0a88000
+20600000
+6800c757
+207a0000
+e0a08000
+20600000
+79200025
+44cec033
+20407c45
+20403e73
+20406235
+79200025
+44cf4033
+20407813
+204077ee
+204077fe
+79200025
+44cfc033
+6800c132
+c1008000
+2040527a
+247a0000
+20404dcd
+2040527a
+247a0000
+79200025
+44d04034
+20406e47
+20404f6e
+20406cd8
+20406e0a
+79200025
+44d0c034
+2040527a
+247a0000
+20203e6f
+79200025
+44d14034
+680082e6
+c280508f
+c283d099
+20600000
+79200025
+44d1c034
+2040527e
+207a0000
+6800804b
+c3830000
+20405261
+60010179
+1fe20c00
+e8c10000
+1fe0fe04
+60010091
+70009006
+79200025
+44d24034
+680142af
+203a6e2d
+6800804b
+c4038000
+793ffe07
+6000804b
+70009005
+680942af
+68010179
+9840fe00
+60010179
+68010091
+98467e00
+60010091
+79200025
+44d2c034
+68010091
+203a3bf1
+d8400104
+98467e00
+24216e3b
+79200025
+44d34034
+60090091
+680142af
+9840fe00
+600142af
+20206e3d
+58000000
+600142af
+6800804b
+79207e06
+6000804b
+20600000
+6800c7f6
+c2806e45
+7002ee01
+20600000
+7002ee0f
+20600000
+6800c7f3
+243a6e4d
+680082ed
+207a0000
+7002ed00
+20600000
+79200025
+44d3c034
+680082ee
+207a0000
+c000ee6e
+c0016ec7
+c001ee74
+c0026ecb
+c01dee7e
+c01e6ece
+c006ee83
+c0076ed3
+c007ee86
+c0086ed9
+c008ee8c
+c0096edd
+c009ee92
+c00a6ee1
+c00aee98
+c00b6ee5
+c00bee9e
+c00c6eea
+c00ceea4
+c00d6eee
+c00deeaa
+c00e6ef2
+c00eeeb0
+c00f6ef7
+c00feeb6
+c0106efb
+c010eec1
+c0116eff
+20600000
+20406f0a
+7002ee02
+6800c2b9
+79207e00
+6000c2b9
+20600000
+7002ee04
+6800c2b9
+c3810000
+7002ee03
+20406f12
+7002ee04
+6800c2b9
+79207e02
+6000c2b9
+20600000
+2040527e
+247a0000
+20406f23
+7002ee3c
+20600000
+20406f18
+7002ee0e
+20600000
+20406f36
+7002ee10
+6800c2bb
+79207e00
+6000c2bb
+20600000
+20406f3e
+7002ee12
+6800c2bb
+79207e02
+6000c2bb
+20600000
+20406f44
+7002ee14
+6800c2bc
+79207e00
+6000c2bc
+20600000
+20406f4c
+7002ee16
+6800c2bc
+79207e02
+6000c2bc
+20600000
+20406f28
+7002ee18
+6800c2ba
+79207e00
+6000c2ba
+20600000
+20406f30
+7002ee1a
+6800c2ba
+79207e02
+6000c2ba
+20600000
+20406f52
+7002ee1c
+6800c2ba
+79207e06
+6000c2ba
+20600000
+20406f5a
+6800c2bd
+79207e00
+6000c2bd
+7002ee1e
+20600000
+20406f61
+6800c2bd
+79207e02
+6000c2bd
+7002ee20
+6800c752
+1fe9fe00
+1fe1fe03
+d8404753
+6009048f
+20206b82
+20406f6c
+6800c2bd
+79207e04
+6000c2bd
+7002ee22
+20600000
+6800c2b9
+c4008000
+7002ee03
+20206e4d
+6800c2b9
+c19f8000
+7002ee3b
+680082ec
+c18b8000
+7002ec00
+7002ee0d
+20206e4d
+6800c2b9
+247a0000
+6800c7f6
+c2806f02
+c2836f04
+20206f08
+6800c2bb
+c4008000
+7002ee11
+20206e4d
+6800c2bb
+c19f8000
+7002ee13
+20206e4d
+6800c2bc
+c4008000
+7002ee15
+20206e4d
+6800c2bc
+c19f8000
+6800c7f6
+c2836f04
+20206f08
+6800c2ba
+c4008000
+7002ee19
+20206e4d
+6800c2ba
+c19f8000
+7002ee1b
+20206e4d
+6800c2ba
+c1ff8000
+6800c7f6
+c2836f06
+20206f08
+6800c2bd
+c4008000
+7002ee1f
+20206e4d
+6800c2bd
+c4018000
+7002ee21
+20206e4d
+6800c2bd
+c1ff8000
+20206f08
+7002ee0f
+20206e4d
+7002ee17
+20206e4d
+7002ee1d
+20206e4d
+7002ee00
+20600000
+79200025
+44d44035
+204052c4
+58000001
+1fe20400
+58000050
+1fe21600
+202050b0
+79200025
+44d4c035
+204052c4
+680142b1
+1fe20400
+202050c0
+79200025
+44d54035
+204052c4
+680142b1
+1fe20400
+d9600050
+204050d6
+6800c2b9
+793ffe05
+6000c2b9
+20600000
+79200025
+44d5c035
+204052d2
+204071b0
+202050f2
+79200025
+44d64035
+204052c4
+58000003
+1fe20400
+58000051
+1fe21600
+202050b0
+79200025
+44d6c035
+204052c4
+680142b3
+1fe20400
+202050c0
+79200025
+44d74035
+204052c4
+58000011
+1fe20400
+58000052
+1fe21600
+202050b0
+79200025
+44d7c035
+204052c4
+680142b5
+1fe20400
+202050c0
+79200025
+44d84036
+204052c4
+58000013
+1fe20400
+58000053
+1fe21600
+202050b0
+79200025
+44d8c036
+204052c4
+680142b7
+1fe20400
+202050c0
+79200025
+44d94036
+204052e0
+70049303
+7004961c
+20406ce8
+70475101
+20600000
+79200025
+44d9c036
+204052e0
+6808c752
+20406bcb
+6008c74b
+20206d05
+79200025
+44da4036
+204052e0
+6808c74b
+20406bc0
+20406b67
+60008496
+6808c74b
+20406bc0
+60088493
+20206ce8
+79200025
+44dac036
+204052e0
+6808c74b
+20406bc0
+20206d3f
+79200025
+44f3c03c
+680102cb
+98000c00
+e8c08000
+1fe22400
+600084af
+e8c10000
+600104b0
+e8c08000
+1fed1600
+e8c08000
+99609600
+79200025
+44f4403d
+1a427e00
+c0016f87
+c0026fb0
+c003708b
+c003f1c7
+2020723e
+2040724d
+2841fe01
+2020f2bb
+2841feff
+2020f241
+e8c10000
+600104b4
+196097fe
+196097ff
+2422f23b
+d96004a9
+e9610000
+207a0000
+19609602
+20407307
+204052de
+18007e03
+e0a08000
+680104b0
+e0a10000
+18ebfe00
+1fe0fe05
+1fe0a605
+1ff0fe00
+e0a10000
+18e27e00
+1ff0fe00
+e0a10000
+e0a10000
+d8c004c5
+18e27200
+2022efaa
+e8c20000
+e0a20000
+c2006fa7
+18007e00
+e0a08000
+1a627e00
+600082dc
+203a3bf1
+20600000
+e8c20000
+600204be
+196097fc
+98000400
+e8c10000
+1ff0fe00
+1fe0ffee
+600104b2
+196097fe
+204072a4
+2022f241
+2a21fe05
+2020efc0
+d8a00491
+18000e00
+20206fd0
+e8c08000
+c0857241
+e8c10000
+243a6fce
+e8c08000
+c0ffefcc
+e8c08000
+c0ffefca
+18c08dfb
+20207022
+18c08dfb
+20206fbd
+18c08dfc
+20206fbd
+18c08dfd
+20206fbd
+e8c08000
+c004efe5
+c0056fd3
+e8c10000
+e0a10000
+18e08e01
+1ff0a400
+e8c10000
+1ff0fe00
+1a40a401
+9a467c00
+24216fe2
+1fe22600
+1a50fe00
+e0a10000
+18e08e01
+1a627e00
+20206fd9
+196097fb
+1a20a3fb
+20206fea
+e8c10000
+e0a10000
+18e08e01
+196097fd
+1a20a3fd
+24217241
+2422efd0
+196097ff
+2422f241
+204052de
+18a08a0a
+da200491
+18e27e00
+203a7004
+ea210000
+203a7004
+98002400
+680204be
+98000400
+2040734e
+203a7001
+18c08dfd
+e8c18000
+e0a18000
+20407199
+203a7001
+98007200
+20407e45
+1a20a202
+18e08fff
+20206ff1
+18007e00
+e0a08000
+18a08bff
+680902da
+1840fe0a
+98a67e00
+1fe62200
+1a30fe00
+1840a408
+e2410000
+1a20a203
+1a30fe00
+1840a405
+e2410000
+1a20a203
+1a30fe00
+1840a403
+e2410000
+1a20a205
+1a227e00
+600102dc
+58000036
+1840a407
+e2408000
+58000005
+e0408000
+680104b0
+1840a401
+e2410000
+20600000
+e8c08000
+c0857241
+e8c10000
+243a7241
+e8c08000
+c0fff241
+e8c08000
+c0fff241
+196097fb
+e8c08000
+c000702f
+c000f032
+c0017036
+600104ad
+196097ff
+2020703a
+e8c08000
+600104ad
+196097fe
+2020703a
+e8c10000
+1ff0fe00
+600104ad
+196097fd
+2422f23b
+2040731e
+2422f238
+18c22200
+204052de
+1a220c00
+18a08a03
+18c21600
+204072e8
+1fe22200
+680104ad
+1fe22400
+1a227e00
+9a462400
+680104b2
+9a467c00
+24217066
+78547c00
+680104ad
+203a7059
+99608c00
+1a40a403
+1a427200
+1f227e00
+1fe0fe03
+1ff0fe00
+e0a10000
+1f227e00
+1ff0fe00
+e0a10000
+20207074
+1a20f206
+2034705d
+1f30fe00
+20207060
+1f227e00
+1fe0fe02
+1ff0fe00
+e0a10000
+1f20f3fd
+1f30fe00
+e0a10000
+19620c00
+20207074
+78347c00
+680104b2
+1fe22200
+1fe27200
+680104ad
+203a7059
+99608c00
+1a227e00
+1fe0fe05
+1ff0fe00
+e0a10000
+1a227e00
+1ff0fe00
+e0a10000
+e8c08000
+e0a08000
+c2007074
+2434707f
+18007e02
+e0a08000
+18c27e00
+99667e00
+1ff0fe00
+e0a10000
+20207081
+18007e00
+e0a08000
+680102da
+98a67e00
+1fe67e00
+600102dc
+204052de
+58000005
+e0a08000
+680104b0
+e0a10000
+20600000
+2040724d
+2841feff
+2020f0b4
+e8c10000
+600104b2
+196097fe
+204072a4
+d8a00491
+18000e00
+e8c18000
+c084f0b4
+1fecfe00
+e0a10000
+18e08e01
+196097fd
+1a20a3fd
+24217241
+2422f094
+196097ff
+2422f241
+204052de
+18a08a0d
+680104a9
+98002600
+da200491
+ea220000
+203a70c4
+ea210000
+98002400
+2040732a
+203a70b2
+18c08dfd
+e8c18000
+e0a18000
+20407199
+98007200
+e8c08000
+e0a08000
+c20070af
+1a20a202
+202070a4
+e8c08000
+e8c08000
+196097fb
+1a20a3fb
+24217241
+d96004a9
+e9610000
+19609602
+20407307
+18e27e00
+600084dd
+203a72be
+d8e00000
+204052de
+18a08a0a
+20207108
+18007e00
+e0a08000
+18a08bff
+680902da
+1840fe0d
+98a67e00
+2022f0e8
+1fe67e00
+1840a40c
+e2408000
+1fe0fe03
+1840a409
+e2408000
+1fe0fe03
+1ff0fe00
+1840a405
+e2410000
+1fecfe00
+1fe0fe03
+1ff0fe00
+1840a403
+e2410000
+1fecfe00
+1fe0fe05
+600082dc
+680104b0
+1840a401
+e2410000
+58000007
+e0408000
+58000036
+1840a407
+e2410000
+1840a40a
+e2410000
+20600000
+7002dc0a
+204052de
+58000007
+e0a08000
+680104b0
+e0a10000
+58000500
+e0a10000
+58000200
+e0a10000
+58000035
+e0a18000
+20600000
+e8c08000
+e0a08000
+1a40a401
+1a20a3ff
+2022f0fb
+c20070f5
+18a21600
+1a427e00
+600104ad
+1a227e00
+600104b2
+203a7117
+20347152
+19620a00
+18e08e01
+680084dd
+98e67c00
+2422f108
+20207171
+d8c004c5
+18ebfe00
+98c08c00
+e8c20000
+98000400
+2040731e
+18c21600
+204072e8
+1fe0f203
+680104b2
+1fe22200
+680104ad
+1fe22400
+19620c00
+202070f5
+d8e00000
+da400000
+d8c004c5
+18ebfe00
+98c08c00
+e8c20000
+98000400
+2040731e
+204072e8
+1fe0fe03
+9a40a400
+18e08e01
+680084dd
+98e67c00
+2422f119
+19620a00
+18007e02
+e0a08000
+680104ad
+1ff0fe00
+e0a10000
+18a08bfd
+680902da
+1840fe0a
+98a67e00
+1fe67e00
+98002200
+1a427e00
+1840a409
+e2408000
+1fecfe00
+1840a408
+e2408000
+1a20a203
+1a227e00
+1840a406
+e2408000
+1fecfe00
+1840a405
+e2408000
+1a20a205
+1a227e00
+1840a404
+e2408000
+1fecfe00
+1840a403
+e2408000
+1a20a205
+1a227e00
+600102dc
+58000007
+e0408000
+58000036
+1840a407
+e2408000
+1840a401
+680104b0
+e2410000
+20600000
+19620a00
+18007e00
+e0a08000
+18a08bff
+680902da
+1840fe07
+98a67e00
+1fe67e00
+98002200
+1a227e00
+1840a406
+e2408000
+1fecfe00
+1840a405
+e2408000
+1a20a203
+1a227e00
+1840a404
+e2408000
+1fecfe00
+1840a403
+e2408000
+1a20a205
+1a227e00
+600102dc
+58000007
+e0408000
+680104b0
+1840a401
+e2410000
+20600000
+18007e00
+e0a08000
+18a08bff
+680902da
+1840fe0a
+98a67e00
+1fe67e00
+98002200
+1a227e00
+1840a409
+e2408000
+1fecfe00
+1840a408
+e2408000
+1a20a203
+1a227e00
+1840a406
+e2408000
+1fecfe00
+1840a405
+e2408000
+1a20a203
+1a227e00
+1840a404
+e2408000
+1fecfe00
+1840a403
+e2408000
+1a20a205
+1a227e00
+600102dc
+58000036
+1840a407
+e2408000
+58000007
+e0408000
+680104b0
+1840a401
+e2410000
+20600000
+18c21600
+e8c08000
+1fe17207
+1fe97e00
+c00371a2
+c000f2e0
+c00272e5
+c002f2e3
+202072de
+204071a4
+202072de
+1f227e00
+c002f1a9
+c00371ac
+18007203
+202072ef
+e8c08000
+1fe0fe02
+20600000
+e8c10000
+1ff0fe00
+1fe0fe03
+20600000
+204052de
+1fe20a00
+58000006
+e0a08000
+5800006e
+e0a10000
+58000f00
+e0a10000
+581a0535
+e0a18000
+58000111
+1ff07e00
+e0a20000
+58002600
+e0a10000
+58000335
+e0a10000
+58000009
+e0a10000
+58000004
+e0a10000
+7002dc14
+20600000
+18c20400
+680104b0
+c03771cb
+202071d4
+18420c00
+196097fd
+19627e00
+c00171d4
+204071d5
+20740000
+6000c752
+7002ec17
+20600000
+20600000
+78347c00
+1fe27200
+d8400400
+e8c10000
+98467c00
+2022f1de
+18c08dff
+c20071d8
+20600000
+d8400300
+e8c10000
+98467c00
+2022f1e5
+18c08dff
+c20071df
+20600000
+e8c08000
+e8c08000
+78547c00
+20600000
+204072a4
+2022f236
+18002400
+e8c08000
+1a20a3ff
+196097ff
+2fe1f018
+2420f230
+2fe00e04
+2420f1f8
+18002401
+18c08c02
+1a20a3fe
+196097fe
+202071fd
+2fe00e02
+2420f1fb
+202071f4
+2fe00e01
+2420f230
+e8c08000
+1a20a3ff
+196097ff
+c080f207
+e8c08000
+1a20a3ff
+196097ff
+c0807230
+7004c3ff
+20207230
+c0807230
+e8c08000
+1a20a3ff
+196097ff
+c081f230
+1a427c00
+2022f210
+18c08df4
+196097f4
+18007eff
+600084c4
+e8c08000
+1a20a3ff
+196097ff
+2fe1f008
+2420f230
+2fe00e00
+2020f22d
+2fe00e01
+2020f22a
+2fe00e02
+2020f227
+2fe00e03
+2020f224
+2fe00e04
+2420f230
+18c08c08
+1a20a3f8
+196097f8
+18c08c04
+1a20a3fc
+196097fc
+18c08c02
+1a20a3fe
+196097fe
+18c08c01
+1a20a3ff
+196097ff
+e8c08000
+1a20a3ff
+196097ff
+196097ff
+1a20a3ff
+20217230
+19609601
+18007e01
+20600000
+18007e00
+20600000
+58000200
+600104b6
+20207243
+58000400
+600104b6
+20207243
+58000600
+600104b6
+20207243
+58000300
+600104b6
+204052de
+e0a08000
+680104b0
+e0a10000
+58000200
+e0a10000
+680104b6
+e0a10000
+7002dc07
+20600000
+18000400
+d8a004a9
+204072a4
+2022f2a2
+e8c08000
+1a20a3ff
+196097ff
+2fe1f018
+2420f2a2
+2fe00e04
+2420f26e
+18000401
+e8c08000
+1a20a3ff
+196097ff
+c0807262
+e8c08000
+1a20a3ff
+196097ff
+c0007273
+20207265
+18c08c01
+1a20a3ff
+196097ff
+18c08c02
+1a20a3fe
+196097fe
+2841fe00
+2020f29d
+18c08c0c
+1a20a3f4
+196097f4
+2020729d
+2fe00e02
+2420f271
+20207259
+2fe00e01
+2420f2a2
+e8c10000
+1a20a3fe
+196097fe
+e0a10000
+2841fe00
+2020f29d
+18c20400
+e8c08000
+c0807292
+e8c08000
+c0807292
+e8c08000
+c0887292
+e8c08000
+c0807292
+e8c08000
+c0c07292
+e8c08000
+c0807292
+e8c08000
+c0807292
+e8c08000
+c0c07292
+e8c08000
+c0aff292
+e8c08000
+c0cdf292
+e8c08000
+c09a7292
+e8c08000
+c07df29b
+18420c00
+18c08c0c
+18000e00
+18000400
+2020729b
+e8c08000
+1a20a3ff
+196097ff
+20207277
+196097f4
+1a20a3f4
+2a21fe00
+2420f251
+18007e00
+e0a10000
+20600000
+d84000ff
+20600000
+e8c08000
+196097ff
+2fe1f030
+2420f2b9
+2fe00e07
+2020f2b2
+2fe00e06
+2020f2b4
+2fe00e05
+2420f2b9
+e8c08000
+1fe22200
+196097ff
+202072b7
+18c08c02
+196097fe
+e8c10000
+1ff0a200
+196097fe
+18007e01
+20600000
+18007e00
+20600000
+58000003
+600084af
+202072c0
+58000007
+600084af
+204052de
+680084af
+e0a08000
+1fe22400
+680104b0
+e0a10000
+58000500
+e0a10000
+2a41fe05
+2020f2d0
+2a41fe07
+2020f2d0
+58000000
+e0a18000
+e0a10000
+202072d4
+58350200
+e0a18000
+58000000
+e0a10000
+7002dc0a
+20600000
+18c21600
+e8c08000
+1fe17207
+1fe97e00
+c00372e5
+c000f2e0
+c00272e5
+c002f2e3
+19620c00
+20600000
+20407301
+1fe0fe01
+202072de
+18007e02
+202072de
+204072f7
+1fe0fe02
+202072de
+e8c08000
+1fe17207
+1fe97e00
+c00372f7
+c000f2ef
+c002f2fc
+20600000
+20407301
+98007200
+18000400
+184d0400
+e8c08000
+98418400
+c20072f2
+20600000
+1f227e00
+c002f2fc
+c00372fe
+18007203
+202072ef
+e8c08000
+20600000
+e8c10000
+1ff0fe00
+20600000
+18007e01
+1f227c00
+20628000
+1fe3fe00
+c2007304
+20600000
+98002600
+79200025
+44f4c03d
+18000e00
+68014759
+98000c00
+d8a004c5
+78547c00
+e8c08000
+207a0000
+98007200
+e8c10000
+9a667c00
+2422f316
+78347c00
+c2007312
+e8c20000
+2434731b
+e0a20000
+18e08e01
+204072e8
+98c08c00
+2020730e
+68014759
+98000c00
+e8c08000
+207a0000
+1fe3fe00
+98c08c00
+e8c20000
+98467c00
+20628000
+204072e8
+98c08c00
+20207320
+79200025
+44f5403d
+68014759
+98000c00
+e8c08000
+203a734b
+98007200
+e8c10000
+9a667c00
+2022f339
+c2007331
+18c08c04
+204072e8
+98c08c00
+2020732e
+1f20f3ff
+1f23fe00
+98c08c00
+18c08c04
+204072e8
+98c08400
+18c08c01
+e8c10000
+9a461600
+7922fe00
+19621600
+20628000
+204072d6
+98c08c00
+18427e00
+98c67c00
+2022f34b
+2020733f
+18000c00
+18007e00
+20600000
+79200025
+44f5c03d
+68014759
+98000c00
+e8c08000
+203a7368
+1fe3fe00
+98c08c00
+e8c20000
+98467c00
+2022f35c
+204072e8
+98c08c00
+20207352
+204072e8
+98c08400
+18c08c01
+e8c10000
+9a467c00
+20628000
+204072d6
+98c08c00
+18427e00
+98c67c00
+2022f368
+2020735e
+18000c00
+20600000
+2040737d
+d8c0051f
+d8a0050f
+20207e35
+78547c00
+20407474
+d8c004ef
+d8a0052f
+1800720f
+20407e45
+e8c08000
+1fe2fe06
+e0a08000
+5800053f
+60010574
+5800052f
+60010572
+79200012
+202073bd
+6808854f
+18002410
+1840a606
+1a667c10
+20217383
+18002610
+d8a0052f
+d8c00550
+18427200
+78547c00
+e8c08000
+e0a08000
+1a40a5ff
+2022f391
+c2007387
+20347384
+78347c00
+18007206
+1a220c00
+20207387
+d8c004ef
+d8a0053f
+20407e35
+6800854e
+9a62fe00
+6000854e
+5800053f
+60010574
+5800052f
+60010572
+79200012
+202073bd
+78547c00
+20407474
+202073a7
+da200056
+78347c00
+20407474
+204073a7
+d8c0051f
+d8a00062
+20207e35
+580004ef
+60010574
+58004262
+60010572
+793f8012
+204073bd
+da20051f
+da4004ef
+d8a0052f
+20407467
+da20052f
+da40053f
+1a420a00
+78347c00
+20407465
+2040747f
+5800053f
+60010574
+5800052f
+60010572
+79200012
+202073bd
+70057600
+68010572
+98000c00
+d8a00560
+20407e35
+68010574
+98000c00
+d8a0051f
+20407e35
+204073e4
+78547c00
+c58973ce
+68008576
+c08273ce
+68010574
+98002400
+20407416
+20407415
+20407428
+68008576
+1fe0fe01
+60008576
+204073e4
+78347c00
+20407415
+20407437
+20407446
+20407437
+20407446
+20407437
+20407446
+20407437
+68008576
+1fe0fe01
+60008576
+c08873c6
+204073e4
+78547c00
+20207415
+68008576
+d8c00560
+203a740b
+98002400
+18007211
+18c20a00
+e8c08000
+1fe98400
+1feb7e00
+1fe97e00
+9841fe00
+e0a08000
+c20073ea
+58000560
+9a408c00
+18007210
+d8a004ff
+e8c08000
+e0a08000
+28c1ff71
+2420f3fa
+18c08def
+c20073f5
+18002200
+1a40a7ff
+1a6ba600
+1a6ba600
+204075c5
+58008400
+9a60a600
+d8a004ff
+18007210
+ea688000
+e8a08000
+9840fe00
+e0a08000
+1a60a601
+c2007404
+202075c9
+18007210
+18000400
+e8c08000
+98428400
+c200740d
+18427e00
+e0c08000
+d8c00560
+d8a004ff
+20207e35
+da4004ff
+18007210
+da20051f
+1a220a00
+ea288000
+ea408000
+9842e000
+1f212603
+2434741f
+1a62a603
+1a662601
+20217422
+9840e000
+1e027e00
+e0a08000
+1a20a201
+1a40a401
+c2007419
+20600000
+204075c5
+18007210
+da20051f
+ea208000
+d8c08500
+1f212603
+1a667c01
+20217431
+d8c08600
+98c08c00
+e8c08000
+e2208000
+1a20a201
+c200742b
+202075c9
+18007208
+d8c0051f
+18c20a00
+e8c08000
+98002200
+e8c08000
+98002400
+1a23fe00
+9a40fe00
+e0a08000
+1a227e00
+9a40fe00
+e0a08000
+c200743a
+20600000
+588ae42c
+98000400
+18007207
+20407455
+580d751b
+98000400
+18007205
+20407455
+6800852e
+98002200
+68008522
+6000852e
+1a227e00
+60008522
+20600000
+1841240f
+18417e0f
+d8a0051f
+98a08a00
+e8a08000
+98002600
+1a227e00
+e0a08000
+1a622200
+18518400
+c2007456
+5800051f
+9a408a00
+1a227e00
+e0a08000
+20600000
+78347c00
+20207468
+78547c00
+18007210
+ea288000
+ea408000
+2034746e
+9842fe00
+2020746f
+9840fe00
+e0a08000
+1a20a201
+1a40a401
+c2007469
+20600000
+d8a0053f
+ea230000
+e0a30000
+2034747a
+ea230000
+2020747b
+e8c30000
+e0a30000
+ea220000
+e0a20000
+20600000
+d8c04262
+d8a0052f
+d8400000
+588395a7
+204074a0
+58b3c1df
+204074a0
+5800e5e9
+204074a1
+18422800
+78547c00
+2040748e
+1a820400
+78347c00
+2020748e
+18007208
+e8c08000
+2f200201
+20347495
+2020f496
+9840fe00
+20207497
+2020f493
+9842fe00
+e0a08000
+184c8400
+c200748f
+20600000
+68030523
+60030056
+e8c30000
+e0a30000
+20600000
+184d0400
+18500400
+98418400
+20600000
+202074a4
+20407540
+d8a0447b
+202075a3
+d8a0449c
+2034f4ab
+d8a003b0
+18c22200
+20407e35
+20407551
+d8c0448c
+202075bc
+da2003b0
+2034f4b3
+da20449c
+1a220a00
+20406226
+20207551
+d8c00380
+20407592
+d8c0447b
+20407593
+18006c38
+18006c00
+2040752f
+d8a003fd
+202075a3
+18007e49
+202074c2
+18007e01
+18007000
+184d5e00
+9de1de00
+1f00f001
+184cde00
+1df15e00
+68014473
+1ff07e00
+9de1de00
+1f00f001
+e8c20000
+98005e00
+1f00f001
+e8c10000
+1a30de00
+1df05e00
+9de1de00
+1f00f001
+20600000
+1a608c01
+e8c08000
+98002200
+204074bf
+20407531
+18007000
+ea608000
+1fe17e03
+1ff05e00
+79205e08
+2040759b
+20407534
+1a227200
+1a608c02
+2040757a
+20407584
+20407534
+1f227e00
+203a74e9
+202074e4
+1800700c
+1de27e00
+60020378
+20600000
+1a20a201
+204074c1
+1a620c00
+2040758e
+20407537
+204075aa
+1a60a610
+1a40a5f0
+202174ed
+20600000
+da60443e
+680ac465
+204074d5
+18007008
+98005e00
+18002200
+204074c1
+20407537
+da604440
+6800c43f
+1fe0a5ff
+9a608a00
+1800700c
+1de27e00
+e0a20000
+204074ed
+6800c43f
+1fe0fe04
+6000c43f
+680ac465
+18408401
+600ac465
+20600000
+68008341
+1fe67c14
+20217511
+da600342
+1fe0a5ff
+1fe0fffc
+60008341
+9a608c00
+e8c20000
+18007008
+98005e00
+18002200
+680ac46a
+204074c1
+20407537
+1800700c
+1de27e00
+6002037c
+204074ed
+da600340
+204074d5
+680a037c
+98467e00
+247a0000
+6802446f
+98467e00
+207a0000
+600a446f
+6802c46a
+1fe0fe01
+6002c46a
+18007e00
+20600000
+243bf52f
+20600000
+18006c30
+18006c00
+2020752f
+18006c32
+18006c02
+2020752f
+18006c34
+18006c04
+2020752f
+18006c36
+18006c06
+2020752f
+18006c01
+18006c00
+20600000
+18007000
+680203b0
+98005e00
+1f00f001
+e8c20000
+98005e00
+1f00f001
+6802449c
+98005e00
+1f00f001
+e8c20000
+98005e00
+1f00f001
+2040759e
+18006c38
+18006c08
+2020752f
+680344f9
+680b03d0
+2034f556
+680303d0
+680b44f9
+18007008
+18425e00
+1f00f001
+184f5e00
+1ff07e00
+9de1de00
+1f00f001
+1fef5e00
+1f00f001
+18005e00
+18007e00
+6800c4e6
+6808c4dc
+2434f566
+6800c4ed
+6808c4e6
+6000c4ac
+6008c4ad
+18007000
+da4044ac
+18007204
+ea220000
+ea4a0000
+9842de00
+1f00f001
+1a20a204
+1a40a404
+c200756b
+2040759e
+18006c38
+18006c0c
+2040752f
+2040759d
+18006c3a
+18006c08
+2020752f
+2f200600
+20608000
+18c27e00
+9f208a00
+18007e00
+e0a08000
+1f20f201
+2f200600
+20608000
+2020757f
+18007000
+1f227e00
+203a7589
+e8c20000
+1f20f3fc
+98005e00
+1f00f001
+2f001e04
+20608000
+20207585
+18007008
+20207593
+18007004
+20207593
+18007000
+18007204
+e8c20000
+98005e00
+1f00f001
+c2007594
+20600000
+d8c003fd
+20207590
+18007204
+202075a0
+18007000
+18007204
+18005e00
+1f00f001
+c200759f
+20600000
+1800700c
+18007204
+1de27e00
+e0a20000
+1f00f001
+c20075a5
+20600000
+1800700c
+1a620a00
+1a40f201
+1f267c0f
+202175b0
+18007210
+1de27e00
+1f267c03
+202175b8
+e0a20000
+1f20f3fc
+20628000
+1f00f001
+202075b0
+e0a08000
+1fecfe00
+c20075b8
+20600000
+1800700c
+18007204
+e8c20000
+9de67c00
+24628000
+1f00f001
+c20075be
+18007c00
+20600000
+68108050
+793ffe00
+60108050
+20600000
+68108050
+79207e00
+60108050
+20600000
+d8a00742
+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
+5800764c
+6001428e
+5800770f
+60014290
+580076ac
+60014292
+58007710
+6001428a
+58007718
+60014294
+79200025
+44fcc03f
+20758000
+70808100
+2040763f
+58007717
+60014288
+70480e00
+70480a00
+70480b00
+58000000
+60024800
+20403f23
+203a3f79
+20403f96
+20403f7e
+20203f6e
+6808c80f
+204069d1
+6808c810
+202069d1
+79200025
+44fd403f
+680a4806
+1c427e00
+60024806
+98467e00
+24610000
+1fe67ec8
+20600000
+6800c2bc
+c19f8000
+79200025
+44fdc03f
+6800c132
+c1848000
+78547c00
+2040769b
+24740000
+78547c00
+6800c133
+c001f706
+6800c80b
+c000f663
+c001767d
+20407643
+20217660
+6800c80a
+c2807674
+c280f682
+70480a00
+70480b00
+20600000
+70480b00
+20407bde
+6800c811
+c000f66a
+70480505
+70480003
+20207688
+70480e00
+2020766c
+70480e02
+20207684
+70480e03
+2020767f
+70480e04
+20207678
+70480e00
+20207667
+70480b01
+20407be7
+6800c811
+c000f67c
+70480505
+58020003
+6001c800
+20207688
+20600000
+70480b00
+20407bde
+7048050a
+70480001
+20207688
+70480b02
+20407be7
+7048050a
+70480001
+58280000
+6001c801
+79200025
+44fe403f
+6800c805
+1fe22200
+20404b2c
+680142b7
+e0a10000
+580000a1
+e0a08000
+680a4800
+e0ac0000
+58000000
+e0a08000
+60024800
+6800c80e
+c001766e
+c001f670
+c0027672
+20600000
+6808c80f
+204069e5
+58000000
+7920fe00
+6000c804
+6808c810
+204069e5
+58000000
+7920fe01
+6808c804
+9841fe00
+6808c80a
+6000c80a
+9842fc00
+20628000
+78347c00
+20600000
+1a627e00
+c002f6d8
+c00376da
+c003f6dd
+c013f6e1
+c00176c9
+c00276d0
+c009f6d0
+c000f6c6
+c00976c0
+c0173f57
+1fe1040f
+1fe17ef0
+c02876e4
+20600000
+6800c7f2
+207a0000
+1fe0ffff
+6000c7f2
+247a0000
+70427f01
+20403fa4
+20403fa2
+20403f7e
+20403f98
+20203f9e
+70480d00
+70480c00
+20600000
+79200025
+44fec03f
+70429d00
+70480c00
+70480d00
+680142a0
+c301f6d4
+680147fe
+600147f0
+20403f12
+20203f7b
+c300f6d6
+202076d0
+c30176d2
+202076d0
+20403f7e
+20203f98
+58000002
+6000c7f2
+20600000
+70480c00
+58000001
+6000c80d
+20600000
+58000005
+6000c80c
+20600000
+79200025
+44ff403f
+60088259
+68008259
+207a0000
+1fe0ffff
+60008259
+204076ef
+204076bb
+204076fa
+202076e7
+6800c80c
+207a0000
+6800c80c
+1fe0ffff
+6000c80c
+247a0000
+680082e6
+79207e00
+79207e07
+600082e6
+20600000
+6800c80d
+207a0000
+6800c80d
+1fe0ffff
+6000c80d
+247a0000
+20203f77
+79200025
+44ffc03f
+6800c133
+c1818000
+2020764e
+20407643
+20610000
+6800c80a
+207a0000
+20403f23
+203a3f79
+20403f96
+20403f7e
+20203f6e
+20207701
+6808c80f
+204069b4
+6800c811
+c080f715
+20600000
+6808c810
+202069b4
+2020763f
+20203f9a
+79200025
+44f9403e
+6800c7dc
+203a6009
+20406003
+58000000
+600407da
+600207e2
+d8a007e9
+e0a38000
+7007e000
+202077a4
+7007dc01
+2020772a
+6800c793
+c000f7c2
+20203bf1
+6800c793
+c000f72d
+202077a4
+204077c2
+680087db
+247a0000
+7007da03
+20600000
+680087de
+c0807750
+2040774d
+d8a00898
+58000848
+e0a10000
+580047c4
+e0a10000
+58000808
+e0a10000
+20207744
+d8a00898
+58000858
+e0a10000
+58000808
+e0a10000
+580047c4
+e0a10000
+20407ad2
+680087db
+c002774a
+7007dc01
+7007da05
+20600000
+7007db14
+20407727
+2020780f
+d8a00838
+18000e08
+202077db
+7007dc01
+20600000
+d8a006c3
+68034140
+e0a30000
+68030040
+e0a30000
+680187e9
+e0a18000
+20407b3c
+da200868
+da400878
+18000e04
+204077e0
+2420f768
+680087db
+c004f765
+7007da0a
+7007dc01
+70007c03
+20600000
+70007c03
+7007db15
+2020780f
+680087db
+c004f76e
+7007da00
+70007c04
+70007e05
+20600000
+70007c04
+7007db00
+20600000
+680087df
+c000f775
+7007db0a
+2020780f
+d8a006c3
+68030040
+e0a30000
+68034140
+e0a30000
+680187e6
+e0a18000
+20407b4a
+680087db
+c0057782
+7007da0b
+7007dc01
+20600000
+7007db0b
+7007dd01
+20600000
+d8a00898
+68030040
+e0a30000
+68034140
+e0a30000
+58000848
+e0a10000
+58000858
+e0a10000
+20207799
+7007da0f
+d8a00898
+68034140
+e0a30000
+68030040
+e0a30000
+58000858
+e0a10000
+58000848
+e0a10000
+d8a006c3
+68030898
+e0a30000
+6803089e
+e0a30000
+20407b06
+70425e01
+d8a04262
+d8c00868
+20407e35
+20203229
+79200025
+44f9c03e
+6800c793
+c1800000
+680087de
+c1800000
+d8a04794
+18000e0b
+204077db
+180a7e00
+1fe37e00
+e0a10000
+d8a0065a
+d8c04794
+20407e33
+d8a00582
+d8c0078a
+20407e2d
+d8a005b2
+20407e3a
+7005b201
+20407b7f
+7007de01
+20600000
+d8a047ac
+d8c005ca
+20407e2d
+70479301
+7007de00
+20600000
+79200025
+44fa403e
+680087e5
+c1800000
+680087de
+c1800000
+d8a0065a
+d8c04794
+20407e33
+d8a00582
+d8c007f0
+20407e2d
+d8a005b2
+20407e3a
+7005b201
+20407b7f
+7007de02
+20600000
+7007df01
+d8a00820
+d8c005ca
+20407e33
+7007e501
+7007de00
+20600000
+18e08fff
+24610000
+180a7e00
+e0a10000
+202077db
+18e08fff
+242177ec
+ea220000
+1fe20400
+ea420000
+9842fe00
+2422f7ea
+1a20a204
+1a40a404
+202077e0
+7840fc00
+20600000
+7820fc00
+20600000
+79200025
+44fac03e
+680087dc
+207a0000
+7007dc00
+680087da
+c001e117
+c002e134
+c003e13f
+c005e155
+c0017725
+c0027732
+c004f752
+c0057771
+c006778f
+20600000
+79200025
+44fb403e
+680087dd
+207a0000
+7007dd00
+680087db
+c00960f7
+c009e0ff
+c001e103
+c002773d
+c00a6107
+c003e115
+c0057771
+c005e154
+c004f752
+c00ae14e
+20600000
+7007dd01
+20600000
+7007dd00
+20600000
+79200025
+44fbc03e
+680087de
+207a0000
+1fe0fe80
+600087de
+c3838000
+68008581
+203a781d
+20207b8a
+20407a0c
+680087de
+c000f7bc
+c00177d4
+20600000
+1fe10e07
+1fe97e00
+98c08c00
+e8c08000
+afec0000
+20600000
+20407e33
+20407e33
+20207e33
+e8c40000
+247a0000
+e8c40000
+247a0000
+e8c40000
+20600000
+18007206
+ea220000
+98000400
+ea420000
+98467c00
+24628000
+1a20a204
+1a40a404
+c2007832
+20600000
+18007206
+1a20a214
+1a40a414
+ea420000
+98000400
+ea220000
+98467e00
+24610000
+247a0000
+1a20a3fc
+1a40a5fc
+c200783e
+20600000
+18007206
+18002600
+ea220000
+98000400
+ea420000
+9840fe00
+9a60fe00
+e0a20000
+2feffe20
+7920a600
+1a20a204
+1a40a404
+c200784a
+20600000
+18007206
+18002600
+ea420000
+98000400
+ea220000
+98467e00
+9a667e00
+e0a20000
+2feffe20
+7920a600
+1a20a204
+1a40a404
+c2007858
+20600000
+18007206
+1a20a214
+18002600
+ea220000
+2feffe00
+7920a601
+1fe37e00
+2a6ffe00
+7920fe1f
+e2220000
+1a20a3fc
+1a632600
+c2007867
+20600000
+18007206
+18002600
+ea220000
+2feffe1f
+7920a601
+1fe3fe00
+2a6ffe00
+7920fe00
+e2220000
+1a20a204
+1a632600
+c2007874
+20600000
+20407872
+2a6ffe00
+2020f888
+da400742
+1a222600
+1a20a3e8
+2040783b
+24610000
+1a622200
+1a20a3e8
+da400742
+1a220a00
+20207856
+20407848
+18a22200
+20207880
+20407856
+2a6c0000
+20608000
+da400742
+18a0a3e8
+1a220a00
+20207848
+18a21600
+1a226000
+da4006b2
+1a420a00
+1a208c18
+e8c40000
+e0a40000
+e0a40000
+18007e00
+e0a40000
+19620a00
+2040788c
+da4006b2
+1a420a00
+18007e00
+e0a40000
+1e008c20
+e8c40000
+e0a40000
+e0a40000
+19622200
+1a220a00
+2040788c
+da4006b2
+1a420a00
+1e008c28
+e8c40000
+e0a40000
+e0a40000
+e0a40000
+19622200
+1a220a00
+2020788c
+18007206
+e8c20000
+98005e00
+1f00f001
+c20078b8
+20600000
+18a21600
+d8a00682
+20407e3a
+d8a00682
+1a220c00
+18007000
+204078b7
+1a420c00
+204078b7
+18002400
+18000400
+18002606
+e8a20000
+98002200
+1a427000
+1de27e00
+1a627000
+9deffe00
+9a20fe00
+9840fe00
+e0a20000
+1fef0400
+1a60a601
+2a61fe0c
+2420f8c9
+18427e00
+e0a20000
+18a08be8
+1a40a401
+2a41fe06
+2420f8c7
+da200682
+19620a00
+20207896
+1a222400
+202078bd
+1a226000
+1e022200
+ea208000
+2feffe00
+20608000
+20407864
+ea408000
+2fec0000
+2020f8f1
+da200742
+1a420a00
+20407848
+ea408000
+9a60fe00
+e2408000
+1a40a5e8
+1a40a218
+18007207
+20407866
+202078e2
+18a21600
+d8a006e2
+20407e3a
+18007e00
+6002069a
+600206fa
+7006e201
+d8a00682
+20407e3a
+d8c00742
+d8a006b2
+20407e33
+1a220c00
+d8a006ca
+20407e33
+d8c006ca
+2040782b
+203a792d
+da2006ca
+da4006e2
+204078e1
+da2006b2
+da400682
+204078e1
+da2006ca
+da4006b2
+2040783b
+2021791f
+da2006b2
+da4006ca
+1a220a00
+20407856
+da2006e2
+da400682
+1a420a00
+20407848
+ea208000
+9a60a600
+ea408000
+9a60fe00
+e2408000
+20207904
+da2006ca
+da4006b2
+1a220a00
+20407856
+da200682
+da4006e2
+1a420a00
+20407848
+ea208000
+9a60a600
+ea408000
+9a60fe00
+e2408000
+20207904
+d8a006e2
+20407e3a
+6800869a
+600086e2
+600086ea
+da2006e2
+da400682
+1a420a00
+2040788c
+da200742
+da400682
+19620a00
+2020788f
+da200642
+d8a006fa
+204078df
+da2006fa
+d8a00712
+204078df
+da20075a
+da400712
+d8a00712
+204078bd
+da200612
+d8a006fa
+204078df
+d8c006fa
+d8a006ca
+20407e33
+da2006ca
+2040787f
+da2006fa
+da4006ca
+d8a006fa
+2040788c
+da2006fa
+da400712
+d8a006fa
+2040788c
+d8c00612
+d8a006ca
+20407e33
+da20062a
+d8a00712
+204078df
+da2006ca
+2040787f
+da2006ca
+2040787f
+da2006ca
+da400712
+d8a006ca
+204078bd
+da200712
+d8a006e2
+204078df
+da2006e2
+2040787f
+da2006e2
+2040787f
+da2006e2
+2040787f
+d8c0062a
+d8a00712
+20407e33
+da200712
+2040787f
+da200712
+da400642
+d8a00642
+204078bd
+da2006fa
+d8a00712
+204078df
+da200712
+da4006ca
+d8a00712
+2040788f
+da200712
+da4006ca
+d8a00612
+2040788f
+da2006ca
+da400612
+d8a00712
+2040788f
+da200712
+da4006fa
+d8a00712
+204078bd
+da200712
+da4006e2
+d8a0062a
+2020788f
+da2005b2
+d8a0072a
+204078df
+da200612
+da40072a
+d8a006e2
+204078bd
+da2005b2
+da40072a
+d8a0072a
+204078bd
+da20062a
+da40072a
+d8a006ca
+204078bd
+da200642
+d8a0072a
+204078df
+da200582
+da40072a
+d8a006fa
+204078bd
+da200642
+da40072a
+d8a0072a
+204078bd
+da20059a
+da40072a
+d8a00712
+204078bd
+da2006e2
+da4006fa
+d8a0072a
+2040788f
+da2006e2
+da4006fa
+d8a006e2
+2040788c
+da2006ca
+da400712
+d8a006fa
+2040788f
+da2006ca
+da400712
+d8a006ca
+2040788c
+da2006ca
+da40072a
+d8a006ca
+204078bd
+da200642
+da4005b2
+d8a00712
+204078bd
+da200712
+da40072a
+d8a00642
+204078bd
+da20072a
+d8a0072a
+204078df
+da20072a
+da4006e2
+d8a00712
+204078bd
+da20072a
+da4006ca
+d8a006ca
+204078bd
+da2006fa
+d8a00612
+204078df
+da200612
+da400712
+d8a00612
+2040788f
+d8c00612
+d8a0072a
+20407e33
+da20072a
+2040787f
+da200712
+da40072a
+d8a00712
+2040788f
+da200712
+da4006fa
+d8a006fa
+204078bd
+da2006fa
+da4006ca
+d8a0062a
+2040788f
+da20062a
+da400742
+d8a0062a
+18002600
+6800862a
+2feffe00
+2040f848
+1a626000
+da20062a
+20407864
+68008641
+2e0ffe00
+7920fe07
+60008641
+20600000
+700581c0
+70058001
+68008581
+1fe0ffff
+24610000
+60008581
+68008580
+205a793a
+68008581
+d8c0065a
+20407822
+2020f9f9
+68008580
+243a7a07
+2040798b
+202079f9
+70058000
+d8c00582
+d8a00612
+20407828
+202079f9
+da200642
+d8a00712
+204078f5
+da200712
+d8a006ca
+204078df
+da200612
+da4006ca
+d8a005ca
+204078bd
+da200712
+da4006ca
+d8a006fa
+204078bd
+da20062a
+da4006fa
+d8a005e2
+202078bd
+18007210
+e8c20000
+18002204
+18a08a03
+e0a08000
+1fecfe00
+18a08bfe
+1a20a3ff
+2422fa22
+18a08a05
+c2007a1f
+20600000
+18ebfe00
+99608c00
+e8c20000
+20600000
+18006010
+d9600582
+1e008ff9
+20407a2a
+98000400
+1e008ff0
+20407a2a
+98408400
+1e008ffe
+20407a2a
+1fee7e01
+98408400
+1e008ff1
+20407a2a
+1fee7e00
+98408400
+1e0bfe00
+99608a00
+e0aa0000
+1e00e001
+2e01fe40
+2420fa30
+20600000
+d8c007ba
+18007007
+e8c20000
+98005e00
+1f00f1ff
+20217a47
+20600000
+79200025
+44fc403f
+20407a2e
+d8a00682
+18007000
+1de27e00
+e0a20000
+1f00f001
+2f01fe08
+2420fa51
+204075c5
+d9608700
+de000582
+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
+c2007a5a
+d8c00682
+18007000
+e8c20000
+9de0de00
+1f00f001
+2f01fe08
+2420fa83
+202075c9
+d8a00858
+18007007
+1de27e00
+e0a20000
+1f00f1ff
+20217a8b
+20600000
+d8a00582
+18c08dfc
+1f262210
+e8c20000
+9842fe00
+e0a20000
+18c08df8
+c2007a93
+1a227200
+18427e00
+e0a20000
+c2007a9a
+20600000
+d8c00808
+d8a00582
+18007206
+20407b97
+d8c047c4
+18007206
+20407b97
+d8c00858
+20407b96
+20407a45
+20407a4c
+d8c00848
+d8a00582
+20207ab8
+d8c047c4
+d8a00582
+18007206
+20407b97
+d8c00808
+18007206
+20407b97
+d8c00848
+20407b96
+20407a45
+20407a4c
+d8c00858
+d8a00582
+20407b96
+58800000
+1fed7e00
+e0a20000
+18007205
+20407e3b
+58000280
+e0a20000
+20407a4c
+68020858
+da2003e8
+9a26fc00
+20407efd
+18077e00
+600207ec
+1807fe00
+da2003e8
+9a26fc00
+20407efd
+18077e00
+da2003e8
+9a2ffe00
+680a07ec
+9840fe00
+600207ec
+20600000
+58363636
+1fed0400
+18418436
+68010898
+1fe20c00
+18007204
+20407a90
+20407a45
+20407a4c
+6801089a
+1fe20c00
+d8a00582
+18007206
+20407b97
+6801089c
+1fe20c00
+18007206
+20407b97
+58800000
+e0a18000
+18007e00
+e0a08000
+18007e00
+e0a40000
+58000388
+e0a20000
+20407a4c
+20407a89
+d8c00858
+d8a006a2
+20407e31
+585c5c5c
+1fed0400
+1841845c
+68010898
+1fe20c00
+18007204
+20407a90
+20407a45
+20407a4c
+d8c006c2
+d8a00582
+18007208
+20407b97
+58800000
+1fed7e00
+e0a20000
+20407e3a
+58000300
+e0a20000
+20407a4c
+20207a89
+58363636
+1fed0400
+18418436
+d8c00838
+18007206
+20407a90
+20407a45
+20407a4c
+680108a4
+1fe20c00
+d8a00582
+20407b96
+680108a6
+1fe20c00
+20407b96
+5862746c
+1fed7e00
+1fe1fe6b
+e0a20000
+d8c006cf
+18007203
+20407b97
+58800000
+1fed7e00
+e0a20000
+18007e00
+e0a40000
+58000380
+e0a20000
+20407a4c
+20407a89
+d8c00858
+d8a006a2
+20407e31
+585c5c5c
+1fed0400
+1841845c
+d8c00838
+18007206
+20407a90
+20407a45
+20407a4c
+d8c006c2
+d8a00582
+18007208
+20407b97
+58800000
+1fed7e00
+e0a20000
+20407e3a
+58000300
+e0a20000
+20407a4c
+20207a89
+58363636
+1fed0400
+18418436
+d8c00838
+18007206
+20407a90
+20407a45
+20407a4c
+d8c00858
+d8a00582
+20407b96
+d8c00848
+20407b96
+20207b57
+58363636
+1fed0400
+18418436
+d8c00838
+18007206
+20407a90
+20407a45
+20407a4c
+d8c00848
+d8a00582
+20407b96
+d8c00858
+20407b96
+58000000
+e0a40000
+e0a40000
+18a20400
+7006c280
+18420a00
+d8c006d2
+20407b96
+20407a4c
+d8a00582
+18007207
+20407e3b
+e0a20000
+580003f8
+e0a20000
+20407a4c
+20407a89
+d8c00858
+d8a006a2
+20407e31
+585c5c5c
+1fed0400
+1841845c
+d8c00838
+18007206
+20407a90
+20407a45
+20407a4c
+d8c006c2
+d8a00582
+18007208
+20407b97
+58800000
+1fed7e00
+e0a20000
+20407e3a
+58000300
+e0a20000
+20407a4c
+20207a89
+700581c0
+68008581
+207a0000
+1fe0ffff
+60008581
+d8c0065a
+20407822
+2020fb80
+d8c00582
+d8a00612
+20207828
+2040793a
+68008581
+1fe0ffff
+60008581
+d8c0065a
+20407822
+20608000
+2020798b
+70058000
+d8c00582
+d8a00612
+20207828
+18007204
+18c08dfc
+e8c20000
+e0a20000
+18c08df8
+c2007b98
+20600000
+20758000
+20407ba5
+20407c13
+20207bd9
+6800c132
+c1008000
+20407bf2
+20207c04
+6800c7fd
+c17f8000
+98000400
+204069da
+6808c7fd
+204069ed
+20000064
+6808c7fd
+204069d1
+20207bb1
+7047fdff
+20600000
+79200025
+44c2c030
+6800c7fd
+c17f8000
+1fe20400
+204069e5
+2420fbc4
+20407bce
+680147f4
+79207e0c
+600147f4
+6800c7eb
+c1000000
+7047eb00
+6800c7fc
+6000c7ea
+20407bd5
+700b7d2c
+20207c27
+680147f4
+793ffe0c
+600147f4
+6800c7eb
+c1008000
+7047eb01
+7047ea00
+20407bd7
+700b7d2d
+20207c27
+6800c7ea
+207a0000
+1fe0ffff
+6000c7ea
+247a0000
+700b7d10
+20207c27
+d8e00007
+20203dc2
+d8e00007
+20203dc6
+6800c7f7
+c17f8000
+98000400
+204069da
+20207be2
+680147f4
+793ffe0d
+600147f4
+7047e900
+680147f4
+793ffe0e
+600147f4
+6808c7f7
+202069ed
+680147f4
+79207e0e
+600147f4
+7047e900
+6808c7f7
+202069ef
+680147f4
+79207e0d
+600147f4
+7047e901
+20600000
+79200025
+44c34030
+6800c7e9
+c1000000
+d8e00009
+20407e53
+247a0000
+6800c7e9
+c0017bff
+20407be7
+7047e902
+680147fa
+20207c02
+20407be2
+7047e903
+680147f8
+d8e00009
+20207e4c
+79200025
+44c3c030
+da200000
+680a47ec
+1c422400
+1a427e00
+184084a0
+184084a0
+98467c00
+24217c16
+1a20a201
+1a217e0f
+243a7c09
+da200000
+20407c1d
+1c427e00
+600247ec
+20600000
+79200025
+44c44031
+1a227e00
+207a0000
+18408560
+18408560
+600a47ec
+1fe0fe50
+60008b7d
+20207c27
+7047dd01
+6800c7de
+243a7c21
+20600000
+7047dd00
+20600000
+20207f9f
+79200025
+44c4c031
+6800c132
+c1008000
+20407c20
+1a227e00
+600208ab
+da2047df
+20407f92
+680208ab
+1fe22200
+20207c24
+79200025
+44c54031
+6800c132
+c1008000
+20407c20
+1a227e00
+600208ab
+da2047e4
+20407f92
+680208ab
+1fe22200
+20207c24
+79200025
+44c5c031
+58000000
+6002c7e4
+6002c7df
+20600000
+79200025
+44c64031
+6800c272
+247a0000
+da2047e4
+20407fac
+207a0000
+7008aa00
+20407c51
+680088aa
+203a7c45
+20600000
+79200025
+44c6c031
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c000fc97
+c0017c9c
+c001fca2
+c003fca7
+c0047ca8
+c004fca9
+c005fcac
+c0067cad
+c006fcae
+c0077cb1
+c007fcb3
+c0087cb6
+c0097cbb
+c00afbed
+c00a7be7
+c009fbde
+c00b7cbc
+c00bfcc1
+c00c7cc3
+c00cfcc8
+c00dfcc6
+c00e7cd3
+c00f7cd5
+60008b7d
+79200025
+44c74031
+6800807c
+203a7c79
+204061d9
+6800807c
+243a7c8c
+68008b7d
+c584fc87
+c002ca19
+c0034a28
+c0057caa
+c0027ca4
+c008fcb8
+c00efc8e
+c00fe90c
+c0106910
+c0097c85
+20600000
+700b7d2f
+20205620
+60008b7d
+204032ee
+2022fc8c
+204032f9
+24628000
+7008aa01
+20207c33
+70007c34
+79200003
+24748000
+70474800
+70007c13
+68008177
+793ffe02
+60008177
+20600000
+680147f4
+79207e06
+600147f4
+70413303
+20600000
+7047f200
+70413300
+680147f4
+793ffe06
+600147f4
+20600000
+70427205
+20600000
+70007c07
+70044613
+20600000
+20600000
+20600000
+20600000
+70045002
+202049da
+20600000
+20600000
+7043d801
+7044db00
+20600000
+7043d800
+20600000
+7043d801
+7044db01
+20600000
+7043d800
+20600000
+58000001
+600103ef
+20600000
+20600000
+7043d201
+7042721b
+68030268
+600344e7
+20600000
+7043d201
+20600000
+7043d200
+70427200
+20600000
+700b7d4b
+20205620
+79200025
+44c7c031
+68014288
+20407f66
+6800c7fd
+c07ffcd0
+1fe20400
+204069d1
+20407be2
+20407c3f
+20203ccd
+7046f801
+20600000
+18000e04
+20207e4b
+6800c7f4
+c4060000
+c4038000
+20207cd5
+79200025
+44eac03a
+20407df3
+68108c26
+600088af
+68108c27
+600088b0
+708c26e0
+680088b0
+2fe00201
+2040fd3a
+79200025
+44eb403a
+680088af
+2fe00201
+2040fcf8
+680088f8
+c0817dc2
+680108f9
+1fe0fe01
+600108f9
+680908fb
+98467c00
+20217db2
+680088af
+c3037dc2
+58000000
+600108f9
+20207dc2
+79200025
+44ebc03a
+708c2611
+68108c20
+600088b1
+1fe27200
+203a7d18
+d8a008ff
+20407d36
+680088b1
+1fe67c07
+20610000
+79200025
+44ec403b
+680088ff
+c0107d16
+c010fd22
+c0007d10
+68008900
+c002fd9b
+c0037d3d
+c004fd98
+c005fda2
+20207d32
+68008900
+c000fdaf
+c001fdab
+c004fd34
+c002fd9b
+20207d32
+20407d34
+20600000
+680088af
+c2827d04
+20600000
+680088f6
+1fe0fe01
+600088f6
+2fe1fe02
+2420fd34
+7008f701
+20207d34
+68008900
+c0057d27
+c004fd2e
+c005fd1b
+20207d32
+680088f8
+c002fd2c
+c0827d34
+7008f805
+20207d34
+7008f802
+20207d34
+7008f701
+da2008f7
+da400001
+20207d65
+708c1101
+20600000
+708c1240
+20600000
+68108c18
+e0a08000
+c2007d36
+20600000
+708c2701
+20407d7c
+20600000
+79200025
+44ecc03b
+793f8023
+68008902
+c000fd47
+c0017d49
+c001fd4b
+c010fd57
+c0117d5b
+20600000
+da200912
+20207d62
+da200ab6
+20207d62
+68008901
+1fe17e03
+da200b1a
+c0007d62
+79200023
+da200b1f
+c000fd62
+da200b3d
+c0017d62
+da200b5b
+c001fd62
+20203bf1
+da200ac8
+68008ac8
+1fe22400
+20207d65
+68010903
+c000fd5f
+da200926
+20207d62
+7008f801
+da2009ee
+20207d62
+ea208000
+98002400
+1a20a201
+79200025
+44ed403b
+c591fd71
+1a40fe01
+1fe3fe00
+60108c18
+708c1803
+68008905
+1fe0fffe
+1fe37e00
+60008905
+c0007d7a
+68008905
+9a467c00
+20217d75
+1fe22400
+1a227e00
+6001090f
+1a427e00
+60008911
+20207d7c
+d8e00000
+20207dd5
+79200025
+44edc03b
+68008911
+207a0000
+1fe27200
+1fe67c40
+20217d84
+df200040
+68008911
+9f267e00
+60008911
+6801090f
+1fe20c00
+e8c08000
+60108c18
+c591fd8d
+708c1800
+c2007d89
+18c27e00
+6001090f
+d8e00000
+20407dd5
+68008911
+247a0000
+680088f8
+c1808000
+7008f802
+20600000
+68008901
+1fe67c01
+24217d32
+680088ff
+c0807d32
+68010903
+c0807d32
+68008905
+c0807d32
+20207d34
+680088ff
+c080fd32
+68008901
+c0807d32
+68008902
+c0807d32
+68008905
+c0807d32
+20207d34
+68008901
+c080fd32
+7008f803
+20207d34
+68008901
+c080fd32
+20207d34
+79200025
+44ee403b
+708c0000
+20002710
+708c10c0
+68110050
+793ffe0a
+60110050
+708c003c
+708c26ff
+708c27ff
+700ff000
+7008f800
+58000000
+600108f9
+20600000
+79200025
+44eec03b
+68008ff0
+207a0000
+680088f8
+c001fdec
+c1810000
+68008ff0
+700ff000
+df200006
+d8c00ff1
+c0017dd0
+c000fde9
+20203bf1
+da208c19
+d8e00001
+e8c08000
+e2208000
+c2007dd2
+79200025
+44ef403b
+78487c00
+680108fd
+98003600
+708c2640
+68108c26
+2021fdb2
+c3037ddb
+680108fd
+98003600
+d8400000
+f9200400
+60188c27
+2021fdb2
+60188c10
+68108c27
+afec0000
+2020fde3
+20600000
+d8e00002
+da208c1a
+20207dd2
+79200025
+44efc03b
+708c00fc
+20002710
+708c003c
+7008f804
+20600000
+68008ff0
+247a0000
+680108f2
+207a0000
+1fe0ffff
+600108f2
+700ff001
+20600000
+1f267c00
+20628000
+1fe37e00
+c2007dfd
+20600000
+18a27e00
+600102b9
+600c02a0
+19627e00
+600202a8
+1a227e00
+600202ac
+1a427e00
+600202b0
+1a627e00
+600182b4
+18c27e00
+600102b7
+20600000
+680c02a0
+680202a8
+98001600
+680202ac
+98002200
+680202b0
+98002400
+680182b4
+98002600
+680102b9
+98000a00
+680102b7
+98000c00
+20600000
+18a27e00
+60010b7b
+18c27e00
+60010b79
+20600000
+68010b7b
+1fe20a00
+68010b79
+1fe20c00
+20600000
+1c427e00
+1fe0fe10
+1fe0fe10
+1c420400
+98467c00
+20217e29
+20600000
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+e8c40000
+e0a40000
+20600000
+18007203
+18007e00
+e0a40000
+c2007e3c
+20600000
+1f227e00
+207a0000
+58000000
+e0a08000
+c2007e42
+20600000
+1f227e00
+207a0000
+e8c08000
+e0a08000
+c2007e47
+20600000
+58000000
+d8a0423e
+98000400
+18e3fe00
+98a08a00
+e0a90000
+20600000
+d8e00000
+79200025
+44de4037
+680a4134
+1c437e00
+60024134
+98461600
+19620400
+d8c0423e
+18c20a00
+df200010
+e8c10000
+98467e00
+20217e61
+18007e00
+e0a10000
+c2007e5d
+d8c0423e
+18e3fe00
+98c08c00
+e8c10000
+20600000
+18e08e01
+18e08fff
+20628000
+1fed7e00
+20207e69
+98408400
+18427200
+58000ea6
+9f267e00
+20610000
+1fe67e00
+18510400
+18408401
+18500400
+98418400
+20600000
+20407e7a
+20207e84
+78547c00
+98467e00
+20217e7f
+78347c00
+1fe67e00
+c4078000
+d85f0ea6
+9840fe00
+793ffe40
+20600000
+98000c00
+1ff17e00
+d8400ea6
+984ffe00
+98c0fe00
+20600000
+1fed7e00
+1ff27e00
+6809c210
+9846fc00
+20407efd
+18078400
+20600000
+d8400ea6
+9846fc00
+20407efd
+1807fe00
+1ff07e00
+18070400
+98418400
+20600000
+df200003
+20207e9e
+df200002
+20207e9e
+df200006
+ea208000
+1fe20400
+1ff1fe00
+20407eaa
+e1408000
+18427e00
+1fe17e0f
+20407eaa
+e1408000
+1a20a201
+c2007e9e
+20600000
+1fe67c09
+20217eae
+1fe0fe57
+20600000
+1fe0fe30
+20600000
+d8400000
+18422600
+e8608000
+1fe67c2c
+20628000
+20407ec9
+1a620400
+20407f32
+da40000a
+9a4ffe00
+9840fe00
+1fe20400
+20207eb1
+df200002
+20207ec0
+df200006
+e8608000
+20407ec9
+1ff22600
+e8608000
+20407ec9
+9a60fe00
+e0a08000
+c2007ec0
+20600000
+d840003a
+98467c00
+24217ed2
+d8400061
+98467c00
+20217ed5
+d8400037
+98467e00
+20600000
+d8400030
+98467e00
+20600000
+d8400057
+98467e00
+20600000
+18426000
+580001ff
+18002400
+1fe92200
+1a232200
+9a22a200
+2a2ffe00
+7920fe09
+18430400
+2feffe00
+79208407
+1fe37e00
+1a40a401
+2a400e00
+2420fedb
+e0a88000
+c2007edb
+1e020400
+20600000
+1fe6fc0a
+20407efd
+1807fe00
+1feba200
+1a2ba200
+18077e00
+9a21fe00
+20600000
+2a2ffe00
+2020fef7
+98002400
+20600000
+1febfe00
+1febfe00
+9a41fe00
+e0a08000
+18a08bfe
+20600000
+207a8000
+20207efd
+60040161
+18007e20
+18007208
+d8a00028
+e0a08000
+c2007f03
+d8a00028
+18a08a07
+68040161
+1fe6fc0a
+20407efd
+18077e00
+1fe1fe30
+e0a08000
+18a08bfe
+1807fe00
+207a0000
+20207f08
+60040161
+18007e00
+60040028
+d8a00028
+18a08a07
+68040161
+18002200
+1fe6fc0a
+20407efd
+18077e00
+20407ef3
+1a20a201
+1807fe00
+1fe67c09
+24217f18
+20407ef3
+2a2ffe00
+20608000
+e0a08000
+20600000
+ea208000
+ea488000
+98467c00
+24628000
+1a20a201
+1a40a401
+c2007f25
+18007c00
+20600000
+98467c00
+24610000
+18427e00
+20600000
+9840fe00
+98460400
+98467e00
+20600000
+df200200
+d8a04000
+20207e3b
+6802809c
+60028161
+68014210
+e0a10000
+58000000
+7936fe07
+7935fe06
+792c7e05
+79377e04
+e0a08000
+20207f52
+6802809c
+60028161
+68008016
+e0a08000
+680103da
+d8c00fff
+98c17e00
+7936fe0f
+7935fe0e
+792c7e0d
+79377e0c
+e0a10000
+20207f52
+60040161
+6800c16e
+c13f8000
+1fe17e7f
+1fe9fe00
+d8a04c00
+98a08a00
+68040161
+e0a40000
+6800c16e
+2feffe07
+1fe0fe01
+1fe17e7f
+7920fe07
+6000c16e
+68040161
+20600000
+df200800
+d8a00000
+59010101
+20207e3c
+207a0000
+1fe27a00
+6811010e
+243a7f68
+20600000
+68110058
+1fe20600
+20600000
+6811005e
+1fe21400
+20600000
+18c22200
+20407f6e
+1a220c00
+20404976
+204068fa
+20207f68
+70820301
+20600000
+60110205
+68108203
+79207e04
+60108203
+20600000
+60110207
+68108203
+79207e06
+60108203
+20600000
+60110205
+70820330
+20600000
+68108043
+79207e04
+60108043
+20600000
+68108043
+793ffe04
+60108043
+20600000
+6811010e
+d8400200
+98467c00
+20600000
+79200025
+44dec037
+ea2a8000
+18417eff
+243a7f99
+184cfe00
+e2228000
+1a20a204
+ea208000
+243a3bf1
+68008b7d
+e2208000
+20600000
+79200025
+44df4037
+df200005
+ea228000
+207a0000
+ea208000
+243a7fa9
+1a20a201
+c2007fa4
+20203bf1
+d8400000
+e2288000
+20600000
+ea228000
+20600000
+ea208000
+20600000
+ea210000
+20600000
+d8400000
+68008006
+c2007fb3
+18408401
+c2007fb3
+18427e00
+20600000
+98467c00
+24610000
+18427e00
+20600000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00000000
+00008010
Index: KG9013/btkb/output/sched.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/sched.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/output/sched.rom	(working copy)
@@ -0,0 +1,673 @@
+mem_patch00:
+29   #mem_patch00
+00   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+00   #mem_patch04
+00   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+00   #mem_patch08
+00   #mem_patch09
+00   #mem_patch0A
+00   #mem_patch0B
+00   #mem_patch0C
+00   #mem_patch0D
+00   #mem_patch0E
+00   #mem_patch0F
+00   #mem_patch10
+00   #mem_patch11
+35   #mem_patch12
+00   #mem_patch13
+00   #mem_patch14
+00   #mem_patch15
+4f   #mem_patch16
+02   #mem_patch17
+00   #mem_patch18
+00   #mem_patch19
+00   #mem_patch1A
+00   #mem_patch1B
+00   #mem_patch1C
+00   #mem_patch1D
+00   #mem_patch1E
+00   #mem_patch1F
+00   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+00   #mem_patch23
+00   #mem_patch24
+00   #mem_patch25
+00   #mem_patch26
+c0   #mem_patch27
+00   #mem_patch28
+00   #mem_patch29
+00   #mem_patch2A
+00   #mem_patch2B
+00   #mem_patch2C
+00  #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+a0   #mem_patch31
+00   #mem_patch32
+00   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+20   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+00   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
+
+
+mem_customize_timer_setup:  20 00		# 20:10ms  30:15ms
+
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:0a
+mem_lpm_interval:10 00
+mem_scan_mode:00
+mem_test:00 00
+
+mem_class: 40 25 00
+
+mem_lap:36 08 c2 08 66 22    
+mem_local_name_length:
+'BT3.0 Keyboard
+mem_sniff_param_interval:0e 00
+mem_sniff_param_attempt:01
+mem_sniff_param_timeout:01
+mem_unsniff2sniff_timer:0a
+mem_ssp_enable:00
+mem_ui_profile_supported:01
+
+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
+
+#keyboard uuid
+mem_kb_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601b6
+
+#attribute start, first 4 digit is attribute ID
+090000 0a 00010000
+090001 3503 191124
+090004 350d 3506 190100 090011 3503 190011
+090005 3503 191002
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191124 090100
+09000d 350f 350d 3506 190100 090013 3503 190011
+
+#Service Name
+#090100 2517
+#'Apple Wireless Keyboard
+#41 70 70 6c 65 20 57 69 72 65 6c 65 73 73 20 4b 65 79 62 6f 61 72 64
+#Service Name
+090100 253d
+#'Broadcom Bluetooth Wireless  Keyboard                        
+4272 6f61 6463 6f6d 2042 6c75 6574 6f6f 7468 2057 6972 656c 6573 7320 204b 6579 626f 6172 6420 
+2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 20
+
+#Service Description
+090101 2508
+#'Keyboard
+4b6579626f617264
+
+#Provider Name
+#090102 250a
+#'Apple Inc.
+#41 70 70 6c 65 20 49 6e 63 2e
+#Provider Name
+090102 2510
+#'Broadcom Corp.  
+4272 6f61 6463 6f6d 2043 6f72 702e 2020
+
+090200 090100
+090201 090111
+090202 0840
+090203 0821
+090204 2801
+090205 2801
+090206 35a5 35a3 0822 259f
+
+# hid descriptor
+0501 # Usage Page(Generic Desktop)
+0906 # Usage(Keyboard)
+a101 # Collection(Application)
+8501 # Report ID(1)
+7501 # Report Size(1)
+9508 # Report Count(8)
+0507 # Usage Page(Keyboard/Keypad)
+19e0 # Usage Minimum(224)
+29e7 # Usage Maximum(231)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+8102 # Input(Data Variable Absolute) ; Modifier byte
+9501 # Report Count(1)
+7508 # Report Size(8)
+8103 # Input(Constant Variable Absolute) ; 
+9505 # Report Count(5)
+7501 # Report Size(1)
+0508 # Usage Page(LEDs)
+1901 # Usage Minimum(1)
+2905 # Usage Maximum(5)
+9102 # Output(Data Variable Absolute) ; LED report
+9501 # Report Count(1)
+7503 # Report Size(3)
+9103 # Output(Constant Variable Absolute) ; 
+9506 # Report Count(6)
+7508 # Report Size(8)
+1500 # Logical Minimum(0)
+25ff # Logical Maximum(255)
+0507 # Usage Page(Keyboard/Keypad)
+1900 # Usage Minimum(0)
+29ff # Usage Maximum(255)
+8100 # Input(Data Array) ; Key arrarys 6 bytes
+c0 # End Collection
+
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#69
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 090c80
+09020d 2800
+09020e 2801
+09020f 090318
+090210 090000
+#attribute end
+
+#uuids for pnpInformation	
+03 1002 1200 0001
+
+#handle
+00010001
+
+#total length 90 bytes
+3600a1
+
+#attribute list
+090000 0a00010001
+090001 3503 191200
+090004 350d 3506 190100 090001 3503 190001
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191200 090100
+090100 252f42726f6164636f6d20426c7565746f6f746820576972656c657373204b6579626f61726420506e5020536572766572
+090101 25084b6579626f617264
+090200 090103
+090201# VendorID
+0904e8
+090202#ProductID
+097021
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+#Auto reconnection after power on
+
+memui_uuid_table:mem_kb_uuid_list
+#Auto reconnection after power on
+mem_device_option:43
+mem_ptt:0
+mem_features:
+ff
+ff
+8f
+f8	#fe--EDR  F8--BR
+83	#AFHclose 83
+9d
+59
+82
+
+#bluetootch param init
+mem_sp_flag:00
+mem_lpm_current_mult:00
+mem_master_sp_flag:00
+mem_le_ch_mapped:27
+
+mem_ui_button_gpio:ff
+mem_led_gpio:ff
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+
+
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service: GATT
+01 00 00 28 02 01 18
+#Characteristic: Service changed
+02 00 03 28 01 20
+03 00 05 2a 01 00
+#Client Characteristic Configuration
+04 00 02 29 02 00 00
+
+#Primary Service: GAP
+05 00 00 28 02 00 18 
+#Characteristic: Device Name
+06 00 03 28 01 02 
+07 00 00 2a 
+'BT4.2 Keyboard
+
+#Characteristic: Appearance
+08 00 03 28 01 02 
+09 00 01 2a 02 c1 03 
+#Characteristic: Peripheral Preferred Connection Parameters
+0a 00 03 28 01 02
+0b 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary Service: Device Information
+0c 00 00 28 02 0a 18 
+#Characteristic: pnp id
+0d 00 03 28 01 02
+0e 00 50 2a 07 02 e8 04 21 70 01 00		# SAMSUNG soft keyboard,setup shortcuts
+
+#Primary service: HID
+0f 00 00 28 02 12 18
+#Characteristic:Protocol mode
+10 00 03 28 01 06
+11 00 4e 2a 01 01
+#Characteristic: hid report
+12 00 03 28 01 12   
+13 00 4d 2a 08 00 00 00 00 00 00 00 00	#hid report	led handle write
+14 00 02 29 02 00 00	
+15 00 08 29 02 01 01	#Report ID: 1	Report Type: Input
+#Characteristic:hid report
+16 00 03 28 01 12   
+17 00 4d 2a 02 00 00 	#hid report	led handle write
+18 00 02 29 02 00 00	
+19 00 08 29 02 02 01	#Report ID: 2	Report Type: Input
+
+#Characteristic:hid report
+1a 00 03 28 01 12  
+1b 00 4d 2a 05 00 00 00 00 00
+1c 00 02 29 02 00 00
+1d 00 08 29 02 03 01	#Report ID: 3	Report Type: Input
+
+#Characteristic:hid report
+1e 00 03 28 01 0e   
+1f 00 4d 2a 02 00	00	#hid report	led handle write
+20 00 02 29 02 00 00	
+21 00 08 29 02 01 02	#Report ID: 1	Report Type: Output
+
+#Characteristic:Report map
+22 00 03 28 01 0a
+23 00 4b 2a a0
+#66
+05 01
+09 06
+a1 01
+85 01
+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 
+
+#25
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#60
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+#Characteristic:Hid information
+24 00 03 28 01 02
+25 00 4a 2a 04 11 01 00 01        
+#Characteristic
+26 00 03 28 01 04
+27 00 4c 2a 01 00
+
+#Primary Service: BAS
+28 00 00 28 02 0f 18 
+#Characteristic: Battery Level
+29 00 03 28 01 12 
+2a 00 19 2a 01 64 
+#Client Characteristic Configuration
+2b 00 02 29 02 00 00 
+#End of Attribute list
+00 00
+
+
+mem_le_local_mtu:17
+mem_le_transmit_window:50
+mem_le_notify_handle:14
+mem_le_lap:11 46 34 54 77 dd
+
+
+mem_empty_count:00
+mem_att_report1:13 00
+mem_att_report2:17 00
+mem_att_report3:1b 00
+mem_le_rx_window:50
+
+mem_le_connection_updata_param:
+0c 00 #Length
+05 00 #CID
+12 b4 
+08 00 
+10 00 #min interval
+10 00 #max interval
+00 00 #latency
+2c 01 #timeout
+
+mem_le_name_len:
+'BT4.2 Keyboard
+
+mem_le_adv_channel_map:07 
+mem_le_adv_direct_addr_type:01
+#mem_le_adv_interval_max:00 01
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#02 01 05 05 02 12 18 0f 18 03 19 c1 03
+02 01 05 03 19 c1 03 03 03 12 18
+'\09BT4.2 Keyboard
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+'\09BT4.2 Keyboard
+
+mem_version_yy_mm_dd:20 20 08 21		#version data 20200821
+
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+mem_adc_config_flag:04    #01 VINLPM      #02 HVIN      #04 GPIO
+
+#24g init
+mem_24g_mode:01#tx
+mem_24g_data_type:02        #mouse 1,kb 2
+mem_24g_max_retry:4#max tx retry
+mem_24g_no_ack:00#with ack
+mem_24g_rx_window:c0 12     #400us 
+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 5d 00 00 00 00 00#10 minmem_lpm_config:8f 10 ce
+mem_lpm_xtalcnt:00 0a 0b ef 0f
+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 20
+mem_rx_window_init:80 03
+mem_rx_window_sniff:00 06
+mem_new_supervision_to:00 13
+
+mem_eeprom_base:30 3f
+mem_eeprom_block_size:20
+#pointers to tail space of mem_le_att_list
+4f70:
+07 ff #2M_IF
+0a fb
+0b ff 
+
+#agc table
+1a fb
+1b fb
+1c fb
+1d f6
+1e f2
+1f ee
+20 ea
+21 e6
+22 e2
+23 de
+24 da
+25 d6
+26 d2
+27 ce
+28 ca
+29 c6
+2a c2
+2b bd
+2c b9
+2d b5
+2e b1
+2f ad
+30 a9
+31 80
+32 80
+33 80
+34 c0
+35 c1
+36 c2
+37 c3
+38 c4
+39 c5
+3a c6
+3b c7
+3c 06
+3d 07
+3e 46
+3f 85
+40 86
+41 87
+42 c6
+43 c7
+44 d6
+45 d7
+46 e6
+47 f5
+48 00
+49 f8
+4a 7f
+4e ec
+4f 5e
+
+# tx power
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+#dpll
+68 e4
+69 00
+6a 00
+6b 30
+ff
+mem_rf_init_ptr:70 4f
+
+mem_le_att_list+490:
+mem_5db_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+mem_24g_paring_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
Index: KG9013/btkb/program/app.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/app.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/app.prog	(working copy)
@@ -0,0 +1,525 @@
+app_init:
+	set1 mark_ext_patch,mark
+	bpatch patch39_5,mem_patch39
+	fetch 1,mem_device_option
+	branch app_init,blank				/* wait ram to be initialized */
+	beq dvc_op_ukey,le_ukey_init
+	beq dvc_op_ir,le_ir_init
+	beq dvc_op_dongle,le_dongle_init
+	beq dvc_op_kb,kb_init
+	beq dvc_op_hci,hci_init
+	beq dvc_op_shutter,shutter_init
+	beq dvc_op_module,module_init
+	beq dvc_op_ble_kb,le_kb_init
+	beq dvc_op_ble_prcp,prcp_init
+	beq dvc_op_test,test_init
+	bbit1 dvc_op_mouse,mouse_init
+	rtn
+	
+app_lpm_init:
+	set1 mark_ext_patch,mark
+	bpatch patch39_6,mem_patch39
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_7,mem_patch39
+	//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
+	
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,app_evt_timer
+	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
+	jam 0,mem_le_switch_send_data
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_0,mem_patch3a
+	storet 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
+	branch app_evt_100ms_loop
+	
+app_unsniff_delay_timer:
+	fetch 1,mem_unsniff2sniff_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_unsniff2sniff_timer_count
+	nrtn blank
+	call context_check_idle
+	branch app_bt_enter_sniff,zero
+	rtn
+app_discovery_timer:
+	fetch 2,mem_discovery_timeout_timer_count
+	rtn blank
+	increase -1,pdata
+	store 2,mem_discovery_timeout_timer_count
+	nrtn blank
+	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:
+	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_SPP_CONN,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_event_do_nothing:
+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_reconn_target:
+	call eeprom_load_reconn_info
+	fetch 6,mem_hci_plap
+	rtn
+	
+app_le_check_reconn_target:
+	fetch 1,mem_ltk_exists
+	branch app_le_check_reconn_target_none,blank
+	call app_led_on
+	branch app_ble_start_direct_adv
+app_le_check_reconn_target_none:
+	call app_led_start_blink
+	branch app_ble_start_adv
+
+app_check_plap:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_1,mem_patch3a
+	arg mem_check_plap_temp,regb
+	arg app_check_one_plap,regc
+	branch context_search
+	
+app_check_one_plap:
+	arg 0,temp
+	bbit0 state_inconn,app_check_one_plap_next
+	add rega,coffset_plap,contr
+	ifetcht 6,contr
+app_check_one_plap_next:
+	copy temp,pdata
+	ncall app_check_one_plap_device_exist,blank
+	istoret 6,regb
+	increase 6,regb
+	branch context_search_next
+app_check_one_plap_device_exist:
+	fetch 1,mem_device_nums
+	increase 1,pdata
+	store 1,mem_device_nums
+	rtn
+	
+app_check_conn_device_nums_addr:
+	jam 0,mem_device_nums
+	branch app_check_plap
+
+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
+	set1 mark_ext_patch,mark
+	bpatch patch3a_2,mem_patch3a
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_3,mem_patch3a
+	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:
+	fetch 1,mem_wake_up_delay_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_wake_up_delay_timer
+	nrtn blank
+	branch app_put_lpm_wake_lock
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_4,mem_patch3a
+	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_ble_start_write:
+	jam BT_CMD_LE_START_WRITE,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_lpm_mult_enable:
+	set1 mark_lpm_mult_enable,mark
+	rtn
+
+app_lpm_mult_disable:
+	set0 mark_lpm_mult_enable,mark
+	rtn
+	
Index: KG9013/btkb/program/at.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/at.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/at.prog	(working copy)
@@ -0,0 +1,1103 @@
+
+
+ifdef COMPILE_AT
+at_restore_param:
+	set1 mark_ext_patch,mark
+	bpatch patch32_0,mem_patch32
+	arg 32,temp
+	arg mem_le_name_len,rega
+	arg eeprom_module_ble_name_length,regb
+	call iicd_read_eep_data
+
+
+	arg 32,temp
+	arg mem_local_name_length,rega
+	arg eeprom_module_bt_name_length,regb
+	call iicd_read_eep_data
+
+	arg 6,temp
+	arg mem_lap,rega
+	arg eeprom_module_bt_adss,regb
+	call iicd_read_eep_data
+
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_module_le_adss,regb
+	call iicd_read_eep_data
+	call le_modified_name
+
+	arg 2,temp
+	arg mem_baud,rega
+	arg eeprom_module_trans_baud,regb
+	call iicd_read_eep_data
+	call uart_set_baud_by_mem
+
+	branch  at_restore_pin_code
+
+at_restore_pin_code:
+	arg 14,temp
+	arg mem_pin_length,rega
+	arg eeprom_module_pincode_length,regb
+	branch iicd_read_eep_data
+
+init_module_environment:
+	set1 mark_ext_patch,mark
+	bpatch patch32_1,mem_patch32
+	call app_initflag_check
+	branch at_restore_param,zero
+init_module_eeprom:
+	call at_store_bt_name
+	call at_store_le_name
+	call le_modified_name
+	call at_store_le_adss
+	call at_store_bt_adss
+	call pincode_reinit
+	call at_store_bt_pincode
+	call at_store_throughput_uart_baud115200
+	branch app_initflag_store
+
+at_store_bt_name:
+	fetcht 1,mem_local_name_length
+	increase 1,temp
+	arg mem_local_name_length,rega
+	arg eeprom_module_bt_name_length,regb
+	branch iicd_write_eep_data
+
+at_store_le_name:
+	fetcht 1,mem_le_name_len
+	increase 1,temp
+	arg mem_le_name_len,rega
+	arg eeprom_module_ble_name_length,regb
+	branch iicd_write_eep_data
+
+at_store_le_adss:
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_module_le_adss,regb
+	branch iicd_write_eep_data
+
+at_store_bt_adss:
+	arg 6,temp
+	arg mem_lap,rega
+	arg eeprom_module_bt_adss,regb
+	branch iicd_write_eep_data
+
+at_store_bt_pincode:
+	fetcht 1,mem_pin_length
+	increase 1,temp
+	arg mem_pin_length,rega
+	arg eeprom_module_pincode_length,regb
+	branch iicd_write_eep_data
+
+at_store_throughput_uart_baud115200:
+	setarg AT_baud_115200
+	store 2,mem_timeup
+at_store_throughput_uart_baud:
+	arg 2,temp
+	arg mem_timeup,rega
+	arg eeprom_module_trans_baud,regb
+	branch iicd_write_eep_data
+
+
+at_process:
+	set1 mark_ext_patch,mark
+	bpatch patch32_2,mem_patch32
+	fetch 2,mem_current_packet_length
+	arg 300,temp
+	isub temp,null
+	branch at_error_rev_end,positive
+	call check_module_disabled
+	call get_uart_rrptr
+	copy contru,rega
+	fetch 2,mem_current_packet_length
+	increase -2,pdata
+	iadd contru,contru
+	ifetch 2,contru
+	arg AT_CMD_END,temp
+	isub temp,null
+	nrtn zero		//the end is not \n
+	copy rega,contru
+	arg mem_prarm_atp,regb
+	arg 3,loopcnt
+	call string_compare_uart_follow
+	nbranch at_error_rev_end,true
+	branch at_dispatch
+	
+at_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch patch32_3,mem_patch32
+/****************name****************/
+	copy contru,rega
+	arg mem_prarm_name,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_name,true
+/****************lename****************/
+	arg mem_prarm_blename,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_le_name,true
+/*****************adss****************/
+	arg mem_prarm_adss,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_adss,true
+/*****************leadss*******************/
+	arg mem_prarm_bleadss,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_leadss,true
+/*****************vers****************/
+	arg mem_prarm_vers,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_vers,true
+/******************uart****************/
+	arg mem_prarm_uart,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_uart,true
+/****************pswd******************/
+	arg mem_prarm_pswd,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_pswd,true
+/****************class*********************/
+	arg mem_prarm_class,regb
+	force 5,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_class,true
+/*******************list******************/
+	arg mem_prarm_list,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_list,true
+/****************role*********************/
+	arg mem_prarm_role,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_role,true
+/****************sniff*********************/
+	arg mem_prarm_sniff,regb
+	force 5,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_sniff,true
+/****************ldev*********************/
+	arg mem_prarm_ldev,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_ldev,true
+/****************rssi*********************/
+	arg mem_prarm_rssi,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_rssi,true
+/****************cdev*********************/
+	arg mem_prarm_cdev,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_cdev,true
+/****************inqr*********************/
+	arg mem_prarm_inqr,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_inqr,true
+/****************leinqr*********************/
+	arg mem_prarm_bleinqr,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_leinqr,true
+/****************cmode*********************/
+	arg mem_prarm_cmode,regb
+	force 5,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_cmode,true
+/****************mode*********************/
+	arg mem_prarm_mode,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_mode,true
+/****************DMstate*********************/
+	arg mem_prarm_dmstate,regb
+	force 7,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_dmstate,true
+/****************reconn*********************/
+	arg mem_prarm_reconn,regb
+	force 6,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_reconn,true
+/***************discov*******************/	
+	arg mem_prarm_discov,regb
+	force 6,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_discov,true
+/****************dis*********************/
+	arg mem_prarm_dis,regb
+	force 3,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_dis,true
+/****************stsn*********************/
+	arg mem_prarm_stsn,regb
+	force 4,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_stsn,true
+/***************clrflg*******************/
+	arg mem_prarm_clrflg,regb
+	force 6,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_clrflg,true
+/*****************OTA******************/
+	arg mem_prarm_ota,regb
+	force 3,loopcnt
+	call string_compare_uart_follow
+	branch at_rev_ota,true
+	branch at_error_rev_end
+
+/****************name****************/
+at_rev_name:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_name_inquiry
+	beq AT_EQU,at_rev_name_set
+	branch at_error_rev_end
+at_rev_name_inquiry:
+	call get_uart_twptr
+	call at_group_name_inquiry
+	branch at_nomal_rev_end
+	
+/****************lename****************/
+at_rev_le_name:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_le_name_inquiry
+	beq AT_EQU,at_rev_le_name_set
+	branch at_error_rev_end
+at_rev_le_name_inquiry:
+	call get_uart_twptr
+	call at_group_le_name_inquiry
+	branch at_nomal_rev_end
+/*****************adss****************/
+at_rev_adss:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_adss_inquiry
+	beq AT_EQU,at_rev_adss_set
+	branch at_error_rev_end
+at_rev_adss_inquiry:
+	call at_group_adss_inquiry
+	branch at_nomal_rev_end
+
+at_rev_leadss:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_leadss_inquiry
+	beq AT_EQU,at_rev_leadss_set
+	branch at_error_rev_end
+at_rev_leadss_inquiry:
+
+	call at_group_leadss_inquiry
+	branch at_nomal_rev_end
+/*****************vers****************/
+at_rev_vers:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_vers_inquiry
+	branch at_error_rev_end
+at_rev_vers_inquiry:
+	call at_group_version_inquiry
+	branch at_nomal_rev_end
+	
+/******************uart****************/
+at_rev_uart:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_uart_set
+	branch at_error_rev_end
+	
+/****************pswd******************/
+at_rev_pswd:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_pswd_inquiry
+	beq AT_EQU,at_rev_pswd_set
+	branch at_error_rev_end
+at_rev_pswd_inquiry:
+	call at_group_pswd_inquiry
+	branch at_nomal_rev_end
+/****************class*********************/
+at_rev_class:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_class_inquiry
+	beq AT_EQU,at_rev_class_set
+	branch at_error_rev_end
+at_rev_class_inquiry:
+	call at_group_class_inquiry
+	branch at_nomal_rev_end
+/****************list*********************/
+at_rev_list:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_list_inquiry
+	beq AT_EQU,at_rev_list_set
+	branch at_error_rev_end
+at_rev_list_inquiry:
+	call at_group_list_inquiry
+	branch at_nomal_rev_end
+/****************role*********************/
+at_rev_role:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_role_inquiry
+	beq AT_EQU,at_rev_role_set
+	branch at_error_rev_end
+
+/****************sniff*********************/
+at_rev_sniff:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_sniff_inquiry
+	beq AT_EQU,at_rev_sniff_set
+	branch at_error_rev_end
+at_rev_sniff_inquiry:
+	call at_group_sniff_inquiry
+	branch at_nomal_rev_end
+/****************ldev*********************/
+at_rev_ldev:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_ldev_inquiry
+	branch at_error_rev_end
+at_rev_ldev_inquiry:
+	call at_group_ldev_inquiry
+	branch at_nomal_rev_end
+/****************rssi*********************/
+at_rev_rssi:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_rssi_inquiry
+	branch at_nomal_rev_end
+at_rev_rssi_inquiry:
+	call context_check_idle
+	nbranch at_error_rev_end,zero
+	call at_group_rssi_inquiry
+	branch at_nomal_rev_end
+/****************cdev*********************/
+at_rev_cdev:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_cdev_inquiry
+	branch at_error_rev_end
+at_rev_cdev_inquiry:
+	fetch 1,mem_context
+	bbit0 state_inconn,at_error_rev_end
+	call get_uart_twptr
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_le,le_cdev_inquiry
+	branch at_cdev_unle_inq
+le_cdev_inquiry:
+	arg mem_prarm_cdev,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call at_rev_uart_write_62
+	setarg 0x34
+	istore 1,contwu
+	call at_rev_uart_write_44
+	arg mem_le_plap,rega
+	call adss_hex2string_to_uart
+	call uartd_send
+	branch at_nomal_rev_end
+at_cdev_unle_inq:
+	arg mem_prarm_cdev,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call at_rev_uart_write_62
+	setarg 0x33
+	istore 1,contwu
+	call at_rev_uart_write_44
+	arg mem_plap,rega
+	call adss_hex2string_to_uart
+	call uartd_send
+	branch at_nomal_rev_end
+	
+/****************inqr*********************/
+at_rev_inqr:
+	set1 mark_ext_patch,mark
+	bpatch patch32_4,mem_patch32
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	call do_at_inquiry
+	branch at_nomal_rev_end
+
+at_rev_leinqr:
+	set1 mark_ext_patch,mark
+	bpatch patch32_5,mem_patch32
+	call do_at_leinquiry
+	branch at_nomal_rev_end
+/****************role*********************/
+at_rev_role_inquiry:
+	arg mem_prarm_role,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call context_check_idle
+	nbranch at_rev_uart_write_N,zero
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_master,at_rev_uart_write_M
+	call at_rev_uart_write_S
+	call uartd_send
+	branch at_nomal_rev_end
+at_rev_uart_write_M:
+	setarg 0x4d
+	istore 1,contwu
+	call uartd_send
+	branch at_nomal_rev_end
+at_rev_uart_write_S:
+	setarg 0x53
+	istore 1,contwu
+	rtn
+/****************cmode*********************/
+at_rev_cmode:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_cmode_inquiry
+	beq AT_EQU,at_rev_cmode_set
+	branch at_error_rev_end
+at_rev_cmode_inquiry:
+	call at_group_cmode_inquiry
+	branch at_nomal_rev_end
+/****************mode*********************/
+at_rev_mode:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_mode_set
+	branch at_error_rev_end
+/****************dmstate*********************/
+at_rev_dmstate:
+	ifetch 1,contru
+	beq AT_QUES,at_rev_dmstate_inquiry
+	branch at_error_rev_end
+at_rev_dmstate_inquiry:
+	call at_group_dmstate_inquiry
+	branch at_nomal_rev_end
+/**************reconn****************/
+at_rev_reconn:
+	fetch 1,mem_app_connection_options
+	store 1,mem_connection_options
+	call eeprom_load_reconn_info
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	fetch 1,mem_xrecord_mode
+	beq REC_3_MODE,at_rev_unle_reconn
+	beq REC_4_MODE,at_rev_lereconn
+	branch at_error_rev_end
+/**************lereconn****************/
+at_rev_lereconn:
+	call app_ble_start_direct_adv
+	branch at_nomal_rev_end
+at_rev_unle_reconn:
+	call app_bt_start_reconnect
+	branch at_nomal_rev_end
+/**************dis****************/
+at_rev_dis:
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 1,at_error_rev_end
+	fetch 1,mem_context+coffset_mode 
+	bbit1 mode_le,at_rev_ledis
+	call  app_bt_disconnect
+	branch at_nomal_rev_end
+	
+/**************ledis****************/
+at_rev_ledis:
+	call app_ble_disconnect
+	branch at_nomal_rev_end
+	
+/**************stsn****************/
+at_rev_stsn:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_stsn_set
+	branch at_error_rev_end
+at_rev_stsn_set:
+	ifetch 1,contru
+	beq 0x31,at_exit_sniff
+	beq 0x30,at_enter_sniff
+	branch at_error_rev_end
+at_enter_sniff:
+	call app_check_sniff
+	branch at_nomal_rev_end,true
+	call app_bt_enter_sniff
+	branch at_nomal_rev_end
+at_exit_sniff:
+	call app_check_sniff
+	nbranch at_nomal_rev_end,true
+	call module_exit_sniff
+	call at_set_cmd_task_flag
+	branch at_nomal_rev_end
+	
+/***************clrflg*******************/
+at_rev_clrflg:
+	call app_clearflag_store
+	branch at_nomal_rev_end
+
+at_rev_ota:
+	ifetch 1,contru
+	beq AT_EQU,at_rev_ota_process
+	branch at_error_rev_end
+
+at_rev_discov:
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	call module_disconn_start
+	branch at_nomal_rev_end
+
+	
+/********************************************at FUNC*****************************************/
+
+/**************at_SET***********/
+at_rev_name_set:
+	arg mem_local_name,rega
+	call at_set_common
+	storet 1,mem_local_name_length
+	call at_store_bt_name
+	branch at_nomal_rev_end
+	
+at_rev_le_name_set:
+	arg  mem_le_name,rega
+	call at_set_common
+	storet 1,mem_le_name_len
+	call at_store_le_name
+ 	call le_modified_name
+	branch at_nomal_rev_end
+
+at_rev_adss_set:
+	arg mem_lap,contw
+	call adss_string2hex_from_uart
+	call at_store_bt_adss
+	branch at_nomal_rev_end
+
+at_rev_leadss_set:
+	arg mem_le_lap,contw
+	call adss_string2hex_from_uart
+	call at_store_le_adss
+	branch at_nomal_rev_end
+
+at_rev_pswd_set:
+	arg mem_pin,rega
+	call at_set_common
+	storet 1,mem_pin_length
+	call at_store_bt_pincode
+	branch at_nomal_rev_end
+
+at_rev_uart_set:
+	call string2dec_from_uart
+	setarg uart_clk
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	store 2,mem_timeup
+	call at_store_throughput_uart_baud
+	branch at_nomal_rev_end
+
+at_rev_mode_set:
+	ifetch 1,contru
+	sub pdata,0x33,null
+	nbranch at_error_rev_end,positive
+	and pdata,0x3,pdata
+	store 1,mem_module_state
+	branch at_nomal_rev_end
+
+at_rev_class_set:
+	ifetch 3,contru
+	store 3,mem_class
+	branch at_nomal_rev_end
+	
+at_rev_role_set:
+	call context_check_idle
+	nbranch at_error_rev_end,zero
+	ifetch 1,contru
+	beq 0x53,at_role_slave
+	beq 0x4D,at_role_master
+	branch at_error_rev_end
+	
+at_role_slave:
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_master,at_switch_role
+	branch at_error_rev_end
+	
+at_role_master:
+	fetch 1,mem_context+coffset_mode
+	bbit0 mode_master,at_switch_role
+	branch at_error_rev_end
+	
+at_switch_role:
+	fetch 1,mem_module_task
+	set1 AT_TASK_SWITCH,pdata
+	store 1,mem_module_task
+	jam hci_cmd_role_switch,mem_hci_cmd
+	branch at_rev_end
+
+at_rev_sniff_set:
+	arg mem_sniff_param_interval,contw
+	call mem2_string2hex_from_uart
+	arg mem_sniff_param_attempt,contw
+	call mem2_string2hex_from_uart
+	arg  mem_sniff_param_timeout,contw
+	call mem2_string2hex_from_uart
+	branch at_nomal_rev_end
+
+at_rev_list_set:
+	ifetch 1,contru
+	beq 0x31,at_rev_list_set_1
+	beq 0x32,at_rev_list_set_2
+	branch at_error_rev_end
+at_rev_list_set_1:
+	ifetch 1,contru
+	arg mem_temp_lap,contw
+	call adss_string2hex_from_uart
+	call  eeprom_clear_bd_reconn_info
+	nrtn user
+	branch at_nomal_rev_end
+at_rev_list_set_2:
+	call eeprom_clear_all_reconn_info
+	branch at_nomal_rev_end
+	
+at_rev_cmode_set:
+	ifetch 1,contru
+	fetcht 1,mem_module_state
+	nsetflag blank,AT_STATE_CMODE,temp
+	storet 1,mem_module_state
+	branch at_nomal_rev_end,blank
+	ifetch 1,contru
+	arg mem_cmode_addr,contw
+	call adss_string2hex_from_uart
+	branch at_nomal_rev_end
+
+at_rev_ota_process:
+	set1 mark_ext_patch,mark
+	bpatch patch32_6,mem_patch32
+	arg 20,loopcnt
+	arg mem_l2cap_rxbuff1,contw
+	call uart_copy_rx_bytes
+	arg mem_l2cap_rxbuff1,rega
+	fetch 1,mem_l2cap_rxbuff1
+	compare OTA_WRITE_REQ,pdata,0xff
+	call prcp_parse_ota_write_req,true
+	fetch 1,mem_l2cap_rxbuff1
+	compare OTA_END_CMD,pdata,0xff
+	call prcp_parse_ota_end_cmd,true
+	branch at_nomal_rev_end
+	
+
+/***********************************at  INQUIRY******************************/
+/****************name****************/
+at_group_name_inquiry:
+	arg mem_prarm_name,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_local_name_length
+	copy pdata,loopcnt
+	arg mem_local_name,contr
+	branch send_mem_to_uart0
+at_group_le_name_inquiry:
+	arg mem_prarm_blename,rega
+	force 7,loopcnt
+	call at_group_inquiryhead_common
+	call le_get_device_name
+	ifetch 1,contr	
+	copy pdata,loopcnt
+	branch send_mem_to_uart0
+	
+/****************adss****************/
+at_group_adss_inquiry:
+	arg mem_prarm_adss,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	arg mem_lap,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+at_group_leadss_inquiry:
+	arg mem_prarm_bleadss,rega
+	arg 7,loopcnt
+	call at_group_inquiryhead_common
+	arg mem_le_lap,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+
+/****************vers****************/
+at_group_version_inquiry:
+	arg mem_prarm_vers,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	arg 6,loopcnt
+	arg mem_module_version,contr
+	branch send_mem_to_uart0
+/****************class****************/
+at_group_class_inquiry:
+	arg mem_prarm_class,rega
+	arg 5,loopcnt
+	call at_group_inquiryhead_common
+	arg 3,loopcnt
+	arg mem_class,contr
+	branch send_mem_to_uart0
+/****************list****************/
+at_group_list_inquiry:
+	arg mem_prarm_list,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call eeprom_load_bdaddr_list
+	call at_group_list_reply
+	branch uartd_send
+
+/****************ldev****************/
+at_group_ldev_inquiry:
+	call eeprom_load_reconn_bdaddr
+	arg mem_prarm_ldev,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_record_bt_mode
+	beq REC_3_MODE,at_group_ldev_inquiry0
+	beq REC_4_MODE,at_group_ldev_inquiry0
+	branch uartd_send
+at_group_ldev_inquiry0:	
+	istore 1,contwu
+	call at_rev_uart_write_44
+	arg mem_temp_lap,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+/****************rssi****************/
+at_group_rssi_inquiry:
+	set1 mark_ext_patch,mark
+	bpatch patch32_7,mem_patch32
+	arg mem_prarm_rssi,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	call at_rssi_result
+	branch uartd_send
+at_rssi_result:
+	arg mem_rssi,rega
+	arg 1,loopcnt
+	branch hex2string_to_uart0
+/****************cdev****************/
+at_group_cdev_inquiry:
+	rtn
+
+/****************cmode****************/
+at_group_cmode_inquiry:
+	arg mem_prarm_cmode,rega
+	arg 5,loopcnt
+	call at_group_inquiryhead_common
+	arg mem_cmode_addr,rega
+	call adss_hex2string_to_uart
+	branch uartd_send
+
+/****************dmstate****************/
+at_group_dmstate_inquiry:
+	arg mem_prarm_dmstate,rega
+	arg 7,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_module_state
+	copy pdata,rega
+	fetch 1,mem_context
+	isolate1 state_inconn,pdata
+	setflag true,AT_STATE_ISCONN,rega
+	isolate1 state_insniff,pdata
+	setflag true,AT_STATE_SNIFF,rega
+	fetch 1,mem_context+coffset_mode
+	isolate1 mode_master,pdata
+	setflag true,AT_STATE_ROLE,rega
+	isolate1 mode_le,pdata
+	setflag true,AT_STATE_LE,rega
+	copy rega,pdata
+	istore 1,contwu
+	branch uartd_send
+
+do_at_inquiry:
+	setarg param_glap
+	store 3,mem_glap
+	fetch 1,mem_at_using_flag
+	set1 AT_FLAG_INQ,pdata
+	store 1,mem_at_using_flag
+	branch do_at_inquiry0
+	
+do_at_leinquiry:
+	call app_check_conn_device_nums_addr
+	fetch 1,mem_device_nums
+	bne 0,at_error_rev_end
+	call app_ble_start_scan
+	fetch 1,mem_at_using_flag
+	set1 AT_FLAG_LEINQ,pdata
+	store 1,mem_at_using_flag
+	setarg 0x200
+	store 2,mem_at_scan_time
+	arg mem_prarm_bleinqr,rega
+	arg 6,loopcnt
+	call at_group_inquiryhead_common
+	call send_mem_to_uart0
+	branch at_rev_end
+
+
+/****************pswd****************/
+at_group_pswd_inquiry:
+	arg mem_prarm_pswd,rega
+	arg 4,loopcnt
+	call at_group_inquiryhead_common
+	fetch 1,mem_pin_length
+	copy pdata,loopcnt
+	arg mem_pin,contr
+	branch send_mem_to_uart0
+
+
+/*****************sniff*********************/
+at_group_sniff_inquiry:
+	arg mem_prarm_sniff,rega
+	arg 5,loopcnt
+	call at_group_inquiryhead_common
+	call at_rev_uart_write_62
+	setarg 84//T
+	istore 1,contwu
+	call at_rev_uart_write_colon
+	arg mem_sniff_param_interval,rega
+	call mem2_hex2string_to_uart
+	call at_rev_uart_write_62
+	setarg 65//A
+	istore 1,contwu
+	call at_rev_uart_write_colon
+	arg mem_sniff_param_attempt,rega
+	call mem2_hex2string_to_uart
+	call at_rev_uart_write_62
+	setarg 79//O
+	istore 1,contwu
+	call at_rev_uart_write_colon
+	arg mem_sniff_param_timeout,rega
+	call mem2_hex2string_to_uart
+	branch send_mem_to_uart0
+at_inquiry_reply:
+	call get_uart_twptr
+	call at_rev_uart_write_62
+	arg extm_lap,rega
+	call adss_hex2string_to_uart
+	call at_rev_uart_write_44
+	arg extm_class,rega
+	call mem3_hex2string_to_uart
+	call at_rev_uart_write_44
+	call at_rssi_result
+	branch uartd_send
+
+/*********************at do*************************/
+
+
+	
+/**************************************at inline*************************************/
+
+//input:rega length:loopcnt 
+//rtn:length:temp
+//note:at_rev_adss_set not use this
+at_set_common:
+	call at_set_setprarm
+	branch uart_copy_rx_bytes
+at_set_setprarm:
+	call uart_get_remain_length
+	copy pdata,temp
+	copy pdata,loopcnt
+	copy rega,contw
+	rtn
+
+//input:loopcnt 	contxt:rega
+at_group_inquiryhead_common:
+	call get_uart_twptr
+	call at_rev_uart_write_plus
+at_group_inquiryhead_common0:
+	copy rega,contr
+	call uart_copy_tx_bytes
+	branch at_rev_uart_write_colon
+
+	
+string_compare_uart_follow:
+	ifetch 1,contru
+	ifetcht 1,regb
+	isub temp,null
+	disable true
+	nbranch string_compare_uart_follow_diff, zero
+	increase 1,regb
+	loop string_compare_uart_follow
+	enable true
+	rtn
+string_compare_uart_follow_diff:
+	branch restore_contru
+
+
+at_rev_uart_write_plus:
+	setarg UI_PLUS
+	istore 1,contwu
+	rtn
+
+at_rev_uart_write_colon:
+	setarg UI_COLON
+	istore 1,contwu
+	rtn
+
+//>
+at_rev_uart_write_62:
+	setarg 62
+	istore 1,contwu
+	rtn
+at_rev_uart_write_N:
+	setarg 78
+	istore 1,contwu
+	call uartd_send
+	branch at_nomal_rev_end
+
+
+//,
+at_rev_uart_write_44:
+	setarg AT_COMMA
+	istore 1,contwu
+	rtn
+	
+restore_contru:
+	copy rega,contru
+	rtn
+
+at_group_list_reply:
+	arg mem_bdaddr_list_buff+7,regc
+	arg 4,loopcnt
+at_group_list_reply_loop:
+	copy loopcnt,pdata
+	store 1,mem_pdatatemp
+	ifetch 1,regc
+	beq REC_3_MODE,at_group_list_isrecord
+	beq REC_4_MODE,at_group_list_isrecord
+	branch at_group_list_notrecord
+at_group_list_isrecord:
+	call at_rev_uart_write_62
+	ifetch 1,regc
+	istore 1,contwu
+	increase 1,regc
+	call at_rev_uart_write_44
+	copy regc,rega
+	call adss_hex2string_to_uart
+at_group_list_notrecord0:
+	increase 6,regc
+	fetch 1,mem_pdatatemp
+	copy pdata,loopcnt
+	loop at_group_list_reply_loop
+	rtn
+at_group_list_notrecord:
+	increase 1,regc
+	branch at_group_list_notrecord0
+	
+	
+//rtn remain length
+uart_get_remain_length:
+	set1 mark_ext_patch,mark
+	bpatch patch33_0,mem_patch33
+	hfetch  2,core_uart_rrptr
+	isub contru,pdata
+	rtn zero
+	branch uart_get_remain_length0,positive
+uart_get_remain_length_common:
+	fetcht 2,mem_current_packet_length
+	iadd temp,pdata
+	increase -2,pdata
+	rtn
+uart_get_remain_length0:
+	call uart_get_rx_buff_length
+	iadd contru,temp
+	hfetch  2,core_uart_rrptr
+	isub temp,pdata
+	branch uart_get_remain_length_common
+
+uart_get_rx_buff_length:
+	arg mem_module_rx_buf_end,pdata
+	increase  1,pdata
+	arg mem_module_rx_buf,temp
+	isub temp,pdata
+	rtn
+
+release_packet:
+	fetcht 2,mem_current_packet_length
+	branch uartd_rxdone_by_len
+
+
+
+/********at_rev_end********/
+at_error_rev_end:
+	set1 mark_ext_patch,mark
+	bpatch patch33_1,mem_patch33
+	call get_uart_twptr
+	setarg 0x525245	//write err
+	istore 3,contwu
+	call uartd_send
+	branch at_rev_end
+	
+at_nomal_rev_end:
+	set1 mark_ext_patch,mark
+	bpatch patch33_2,mem_patch33
+	call get_uart_twptr
+	setarg 0x4b4f	//write ok
+	istore 2,contwu
+	call uartd_send
+spp_send_end:
+at_rev_end:
+	set1 mark_ext_patch,mark
+	bpatch patch33_3,mem_patch33
+	call release_packet
+spp_ipc_end:
+	setarg 0
+	store 2,mem_current_packet_length
+	store 4,mem_last_uart_clock
+	rtn
+else
+
+at_app_dispatch:
+at_check_state:
+at_process:
+at_ble_dispatch:
+at_unble_dispatch:
+at_rev_name:
+at_rev_name_inquiry:
+at_rev_adss:
+at_rev_adss_inquiry:
+at_rev_vers:
+at_rev_vers_inquiry:
+at_rev_uart:
+at_rev_uart_inquiry:
+at_rev_pswd:
+at_rev_pswd_inquiry:
+at_rev_class:
+at_rev_class_inquiry:
+at_rev_clrcfg:
+at_rev_name_set:
+at_ble_name_set:
+at_rev_adss_set:
+at_ble_adss_set:
+at_rev_adss_set_common:
+at_rev_pswd_set:
+at_rev_uart_set:
+at_rev_class_set:
+at_group_name_inquiry:
+at_group_adss_inquiry:
+at_group_version_inquiry:
+at_group_class_inquiry:
+at_group_uart_inquiry:
+at_baud_get:
+at_group_pswd_inquiry:
+at_unknow_command:
+at_reset:
+at_set_common:
+at_set_setprarm:
+	branch assert
+at_group_inquiryhead_common:
+at_group_inquiryhead_common0:
+string_compare_uart_follow:
+string_compare_uart_follow_diff:
+at_rev_uart_write_plus:
+at_rev_uart_write_colon:
+restore_contru:
+uart_Juge_apacket:
+uart_packet_first_char:
+uart_get_remain_length:
+uart_get_remain_length_common:
+uart_get_remain_length0:
+uart_get_rx_buff_length:
+release_packet:
+at_error_rev_end:
+at_nomal_rev_end:
+at_rev_end:
+spp_send_end:
+at_inquiry_reply_eir:
+at_rssi_result:
+at_inquiry_reply:
+	branch assert
+
+ 
+endif
+
Index: KG9013/btkb/program/bt.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/bt.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/bt.prog	(working copy)
@@ -0,0 +1,4854 @@
+define REVD
+//define FPGA
+define PATCH
+define ROMCODE
+//define RAM_VERSION
+//define CLK6M
+//define DEBUG_MALLOC
+//define DEBUG_H4LOG_ENABLE
+//define DEBUG_LIGHT_STATE
+//define E2_LOG
+//define LMP_DBG
+
+define SIMPLE_PAIRING
+define COMPILE_RFCOMM
+define COMPILE_SHUTTER
+define COMPILE_HCI_BCSP
+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
+
+INCLUDE "bt_format"
+
+org 0x0000		// start from patch ram address start
+ifdef ROMCODE
+ifdef SIM
+include sim.prog
+else
+include patch.prog
+endif
+
+/******************************************/
+/***********   ROM Start   ***************/
+/******************************************/
+
+ifdef RAM_VERSION
+org 0x4000
+else
+org 0x3000		// start from rom address start
+endif
+start:
+	call lpmstate
+else
+
+/******************************************/
+/***********   RAM Start   ***************/
+/******************************************/
+
+start:
+	setarg 0xef21
+	hstore 2,core_clkoff
+	hfetch 8,core_gpio_wakeup_low
+	store 8,mem_gpio_wakeup_low
+	hfetch 1,core_misc_status
+	bbit1 2,soft_reset				// skip wake process if loaded by e
+	fetch 4,mem_sleep_counter
+	arg -1,rega
+	isub rega,null
+	nbranch soft_reset,zero
+	deposit auxcnt
+	branch lpm_hibernate,blank	// continue to hibernate
+	disable wake
+endif
+
+
+soft_reset:
+	set0 mark_ext_patch,mark
+	bpatch patch00_0,mem_patch00
+	clear_stack
+	call initialize_radio
+	call iicd_init_12m
+	call init_param
+	call l2cap_init
+	set0 mark_ext_patch,mark
+	bpatch patch00_1,mem_patch00
+	call rfcomm_init
+	call init_lmp
+	call ui_init
+	call app_init
+	set0 mark_ext_patch,mark
+	bpatch patch00_2,mem_patch00
+	call app_lpm_init,wake
+ifdef SIMPLE_PAIRING
+	call sp_initialize
+else
+	call ssp_disable
+endif
+	call lpm_recover_clk,wake
+main_loop:	
+	set0 mark_ext_patch,mark
+	bpatch patch00_3,mem_patch00
+ifdef SIMPLE_PAIRING
+	call sp_calc_sequence
+endif
+	call le_dispatch
+	call hci_dispatch
+	set0 mark_ext_patch,mark
+	bpatch patch00_4,mem_patch00
+	call idle_dispatch
+	call app_process_idle
+	call inquiry_dispatch
+	set0 mark_ext_patch,mark
+	bpatch patch00_5,mem_patch00
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch
+	call lpm_dispatch
+	branch main_loop
+
+connection_dispatch:
+	call connection_incontext
+	rtnmark0 mark_context
+	set0 mark_context,mark
+	call context_save
+	branch le_disable
+	
+connection_incontext:
+	set0 mark_ext_patch,mark
+	bpatch patch00_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch00_7,mem_patch00
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_0,mem_patch01
+	fetch 1,mem_device_option
+	beq dvc_op_hci,idle_create_conn_hci
+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_hci:
+	fetch 6,mem_hci_plap
+	branch idle_exit,blank
+	store 6,mem_plap
+idle_create_conn_cont:
+	force LMP_VERSION_REQ,temp
+idle_start_page:
+	set0 mark_ext_patch,mark
+	bpatch patch01_1,mem_patch01
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch01_2,mem_patch01
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_3,mem_patch01
+	fetch 6,mem_hci_plap
+	store 6,mem_plap
+	compare LMP_NAME_REQ,temp,0xff
+	branch idle_name_fail,true
+	force HCI_ERROR_MEMORY_FULL,temp
+	call hci_send_connection_error
+	branch idle_exit
+idle_name_fail:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	force HCI_ERROR_MEMORY_FULL,queue
+	call hci_send_name
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_4,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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch01_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_0,mem_patch02
+	call save_rssi
+	call scan_mode_whiten
+	call receive_packet_whitened
+	set0 mark_rxbuf_inuse,mark
+	rtnmark0 mark_fhs_already_good
+inquiry_receive_rtn:
+	set0 mark_ext_patch,mark
+	bpatch patch02_1,mem_patch02
+	fetch 1,mem_at_using_flag
+	bbit1 AT_FLAG_INQ,at_inquiry_reply
+	call hci_inquiry_reply
+inquiry_receive_eir_rtn:
+	fetch 1,mem_inquiry_rcv
+	increase 1,pdata
+	store 1,mem_inquiry_rcv
+	rtn
+inquiry_receive_eir:
+	set0 mark_fhs_already_good,mark
+	call rf_setup_time_slave_slot_eir
+	call fetch_giac
+	call rx_radio_freq
+	call init_rx_packet_flags
+	call start_rx_native	/* start listening at start_rx time */
+	call start_receiver
+	call wait_access_clkn_rt
+	branch inquiry_receive_eir_packet,sync   /* try look for id packet again if not found */
+	rtn
+inquiry_receive_eir_packet:
+	call scan_mode_whiten
+	call receive_packet_whitened
+	set0 mark_rxbuf_inuse,mark		/*open recive pkt*/
+	branch inquiry_receive_rtn,crc_failed
+	call hci_inquiry_reply_eir
+	branch inquiry_receive_eir_rtn
+	
+rf_setup_time_slave_slot_eir:
+	arg param_rf_setup, timeup
+rf_setup_time_eir:
+	until clkn_rt,meet
+	and clkn_bt,3,pdata
+	bne 1,rf_setup_time_eir
+	rtn
+	
+	
+/******************************************/
+/**************  Master Dispatch  *************/
+/******************************************/
+
+
+
+master_page:
+	set0 mark_ext_patch,mark
+	bpatch patch02_2,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_3,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
+	force HCI_ERROR_PAGE_TIMEOUT,temp
+	call hci_send_connection_error
+	branch master_page_timeout
+master_npage_timeout:
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	force HCI_ERROR_PAGE_TIMEOUT,queue
+	call hci_send_name
+master_page_timeout:
+	set0 mark_ext_patch,mark
+	bpatch patch02_4,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch02_7,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	
+master_dispatch_exit:
+page_exit:
+	set0 mark_ext_patch,mark
+	bpatch patch03_0,mem_patch03
+	disable master
+	fetch 2,mem_page_interval      
+	rtn blank
+	force page_interval_timer,queue
+	branch timer_init              
+
+page_check_train:
+	set0 mark_ext_patch,mark
+	bpatch patch03_1,mem_patch03
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_2,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_3,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_4,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch03_6,mem_patch03
+	fetch 1,mem_state
+	set0 state_inpage,pdata
+	store 1,mem_state
+	call newconn_init
+	disable master
+	rtn
+	
+
+master_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch03_7,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 load_esco
+	call get_sco_data
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_0,mem_patch04
+	call parse_lmp
+	call process_cmd
+	call hci_send_num_complete_packets
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_1,mem_patch04
+	call scheduler_process
+	call check_master_disconnect
+	nrtn master					/* disconnected */
+	call check_attempt
+	nbranch master_attempt,blank
+master_exit:
+	call process_sco_data
+	call restore_esco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_2,mem_patch04
+	call quit_connection
+	disable master
+	fetch 1,mem_state_map
+	bbit1 smap_name_req,master_name_disconnect
+	fetch 1,mem_state
+	bbit0 state_conn_comp,master_disconnect_quiet
+	fetcht 1,mem_conn_handle
+	branch hci_send_disconn_complete
+master_disconnect_quiet:
+	force HCI_ERROR_CONNECTION_TIMEOUT,temp
+	branch hci_send_connection_error
+master_name_disconnect:
+	force HCI_SUCCESS,queue
+	fetch 1,mem_state_map
+	bbit1 smap_name_res,hci_send_name
+master_name_error:
+	force HCI_ERROR_PAGE_TIMEOUT,queue
+	arg mem_tmp_buffer,contw
+	arg 8,loopcnt
+	call memset0
+	branch hci_send_name
+	
+disconnect_stop_sco:
+	set0 mark_ext_patch,mark
+	bpatch patch04_3,mem_patch04
+	fetch 1,mem_state
+	rtnbit0 state_insco
+	fetcht 1,mem_conn_handle
+	fetch 1,mem_sco_asso_handle
+	isub temp,null
+	nrtn zero
+	call stop_esco  //include sco
+	branch restore_esco_check_no_mark
+
+check_disconnect_timeout:
+	set0 mark_ext_patch,mark
+	bpatch patch04_4,mem_patch04
+	enable user
+	fetch 1,mem_op
+	rtnbit0 op_disconn
+	call conn_timer_expired
+	nrtn blank
+disable_usr:
+	disable user
+	rtn
+
+conn_timer_expired:
+	fetch 1,mem_conn_timer
+	increase -1,pdata
+	store 1,mem_conn_timer
+	rtn
+
+linkkey_ready:
+	set0 mark_ext_patch,mark
+	bpatch patch04_5,mem_patch04
+	fetch 1,mem_state
+	bbit1 state_linkkey,linkkey_set
+	fetch 1,mem_device_option
+	beq dvc_op_hci,linkkey_send_hci
+	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_send_hci:
+	call check_localsm
+	ncall hci_send_linkkey_notification,true
+linkkey_set:
+	set0 mark_ext_patch,mark
+	bpatch patch04_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch04_7,mem_patch04
+	disable user
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	fetch 2,mem_tsniff
+	nrtn blank
+	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
+	fetch 1,mem_state
+	set0 state_insniff,pdata
+	store 1,mem_state
+	enable user
+	rtn
+
+	/* pdata: switch instant, set tsniff=0 for special sniff */	
+role_switch_prepare:
+	copy pdata,temp
+	set0 mark_ext_patch,mark
+	bpatch patch05_0,mem_patch05
+	store 4,mem_sniff_anchor
+role_switch_prepare0:
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	fetch 1,mem_state
+	set1 state_insniff,pdata
+	store 1,mem_state
+	force 0,pdata
+	store 2,mem_tsniff
+	jam 10,mem_current_sniff_attempt		// allow 10 more polls or nulls afterwards
+	jam 1,mem_sniff_attempt
+	rtn
+
+
+role_switch_master:
+	set0 mark_ext_patch,mark
+	bpatch patch05_1,mem_patch05
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch05_2,mem_patch05
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch05_3,mem_patch05
+	call rf_setup_time_slave_slot
+	call master_send_packet
+	disable clknt
+	disable master
+	call apply_switch_clke
+	call prepare_newconn
+roles_newconns_loop:
+	set0 mark_ext_patch,mark
+	bpatch patch05_4,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:
+	force 1,temp
+	call hci_send_role_change
+	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
+
+	
+load_esco:
+	set0 mark_ext_patch,mark
+	bpatch patch05_5,mem_patch05
+	rtnmark0 mark_esco
+	fetch 1,mem_state
+	rtnbit0 state_insco
+load_esco_do:
+	call init_esco_ibuff
+	fetch 1,mem_esco_arq
+	fetcht 1,mem_arq
+	storet 1,mem_esco_saved_arq
+	store 1,mem_arq
+	deposit am_addr
+	store 1,mem_saved_amaddr
+	fetch 1,mem_esco_addr
+	iforce am_addr
+	set0 mark_esco_rxok,mark	
+	fetch 1,mem_last_type
+	store 1,mem_last_type_saved
+	fetch 1,mem_last_type_esco
+	store 1,mem_last_type
+	rtn
+
+restore_esco:
+	set0 mark_ext_patch,mark
+	bpatch patch05_6,mem_patch05
+	rtnmark0 mark_esco	
+restore_esco_check_no_mark:
+	call check_esco_amaddr
+	nrtn true
+restore_esco_do:
+	call clear_got_tx
+	fetch 1,mem_esco_saved_arq
+	fetcht 1,mem_arq
+	store 1,mem_arq
+	storet 1,mem_esco_arq
+	fetch 1,mem_saved_amaddr
+	iforce am_addr
+	fetch 1,mem_last_type
+	store 1,mem_last_type_esco
+	fetch 1,mem_last_type_saved
+	store 1,mem_last_type
+	setarg 0xffff
+	store 2,mem_retransmission_cnt
+	rtn
+
+
+
+
+context_load:
+	set0 mark_ext_patch,mark
+	bpatch patch05_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_0,mem_patch06
+	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:
+	fetcht 1,mem_current_context
+	arg context_num,loopcnt
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_1,mem_patch06
+	arg context_search_empty,regc
+	call context_search
+	nrtn zero					// all occupied
+	deposit rega
+	store 2,mem_context_ptr
+	force 0,null
+	rtn
+	
+	//return zero if anyone's wack is 1.
+	//return nzero if all wack is 0
+context_check_all_wack:
+	call check_esco_amaddr
+	branch context_check_esco_wack,true
+	fetch 2,mem_context_ptr
+	add pdata,coffset_arq,contw
+	fetch 1,mem_arq
+	istore 1,contw
+	arg context_check_a_wack,regc
+	branch context_search
+
+context_check_esco_wack:
+	fetch 1,mem_arq
+	isolate1 wack,pdata
+	branch context_esco_wack,true
+	force 1,null
+	rtn
+context_esco_wack:
+	force 0,null
+	rtn
+	
+	//rtn nzero if idle(no conn)
+context_check_idle:
+	arg context_check_inconn,regc
+	branch context_search
+	
+context_traverse_linkkey:
+	fetcht 2,mem_context_ptr
+	arg context_traverse_clearkey,regc
+	branch context_search
+	
+context_traverse_max_slot:
+	fetcht 2,mem_context_ptr
+	arg context_traverse_mslot,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_2,mem_patch06
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_3,mem_patch06
+	arg mem_context,rega
+	force 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
+	bbit1 27,context_search_sniff_cont
+	isolate0 27,temp
+	branch context_search_sniff_cont,true
+	set1 28,pdata								/* case:0 - fffffff */
+context_search_sniff_cont:
+	isub temp,pdata
+	increase 1,pdata
+	branch context_search_sniff_miss,positive
+	increase 5,pdata
+	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
+
+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_mslot:
+	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
+	add rega,coffset_lmp_to_send,contw
+	ifetch 1,contw
+	nbranch context_search_next,blank
+	force LMP_MAX_SLOT,pdata
+	istore 1,contw
+	branch context_search_next
+
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_4,mem_patch06
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch06_7,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
+	set0 mark_ext_patch,mark
+	bpatch patch07_0,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_1,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_2,mem_patch07
+	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 */
+	set0 mark_ext_patch,mark
+	bpatch patch07_3,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_4,mem_patch07
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch07_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch08_0,mem_patch08
+	call newconn_init
+	call context_new
+	nrtn zero
+	jam 0,mem_mode
+	call calc_clke_offset
+	branch context_save
+
+
+slave_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch08_1,mem_patch08
+	call calc_clke
+	call role_switch_slave
+	rtn user
+	call load_esco
+	call get_sco_data
+slave_loop:
+	set0 mark_ext_patch,mark
+	bpatch patch08_2,mem_patch08
+	call check_bt_disabled
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	call slave_savelist
+	nbranch slave_notmatch,match
+	call supervision_flush
+	call parse_l2cap
+	call scheduler_tx_l2cap_pkt
+	call prepare_tx
+	call slave_conn_send_packet
+	call parse_lmp
+	call process_cmd
+	call hci_send_num_complete_packets
+	fetch 1,mem_slave_rcvcnt
+	increase 1,pdata
+	store 1,mem_slave_rcvcnt
+	call calc_clke_offset
+slave_notmatch:
+	set0 mark_ext_patch,mark
+	bpatch patch08_3,mem_patch08
+	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
+	call process_sco_data
+	branch restore_esco
+
+
+slave_disconnect:
+	set0 mark_ext_patch,mark
+	bpatch patch08_4,mem_patch08
+	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
+	bbit0 state_conn_comp,slave_connection_fail
+	fetcht 1,mem_conn_handle
+	branch hci_send_disconn_complete
+
+slave_connection_fail:
+	force HCI_ERROR_KEY_MISSING,temp
+	branch hci_send_connection_error
+
+role_switch_slave:
+	set0 mark_ext_patch,mark
+	bpatch patch08_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch08_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch08_7,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:
+	force 0,temp
+	call hci_send_role_change
+	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:
+	enable user
+	rtn
+
+	
+
+init_rx_packet_flags:
+	set0 mark_ext_patch,mark
+	bpatch patch09_0,mem_patch09
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_1,mem_patch09
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_2,mem_patch09
+	call init_lmp_reinit
+	call new_conn_handle
+	store 1,mem_conn_handle
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_3,mem_patch09
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_4,mem_patch09
+	call disconnect_stop_sco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_5,mem_patch09
+	call app_disconn_reason_collect_bt
+	call process_cmd				/* clear pending command */
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch09_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_0,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_1,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_2,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_3,mem_patch0a
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_4,mem_patch0a
+	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_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
+	set0 mark_ext_patch,mark
+	bpatch patch0a_5,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0a_7,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_0,mem_patch0b
+	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:	
+	set0 mark_ext_patch,mark
+	bpatch patch0b_1,mem_patch0b
+	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
+	call restore_esco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_2,mem_patch0b
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_3,mem_patch0b
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_4,mem_patch0b
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_5,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
+	call test_esco,crc_failed
+	branch error_payload,crc_failed
+	branch ack_payload
+
+test_esco:
+	deposit clke
+	store 6,mem_display
+	rtn
+
+process_poll:
+	branch end_of_packet
+
+process_dm3:
+process_dm5:
+	set1 mark_longpacket,mark
+process_dm1:
+	enable decode_fec2
+	branch process_dmh
+	
+process_dh3:
+process_dh5:
+	set1 mark_longpacket,mark
+process_3dh1:
+	set1 PSK3M,radio_ctrl
+process_dh1:
+	enable decode_fec0
+process_dmh:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_6,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:
+	set0 mark_ext_patch,mark
+	bpatch patch0b_7,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:	
+	set0 mark_ext_patch,mark
+	bpatch patch0c_0,mem_patch0c
+	deposit loopcnt
+	store 2,mem_len
+	branch process_dmh_data_end,blank
+	isub mask3ff,null
+	branch error_payload,positive	/* packet too large, discard */
+	set0 mark_ext_patch,mark
+	bpatch patch0c_1,mem_patch0c
+	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
+	fetch 1,mem_device_option
+	beq dvc_op_hci,process_dmh_acl	//HCI mode
+	//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_acl: //HCI
+	set0 mark_ext_patch,mark
+	bpatch patch0c_2,mem_patch0c
+	bmark1 mark_old_packet,ack_payload
+	fetch 2,mem_len
+	branch error_payload,blank
+	call hci_check_bcsp_protocol
+	nbranch process_dmh_acl_check_h4_buff,true
+process_dmh_acl_bcsp:
+	fetcht 2,mem_h5tx_free
+	increase 10,pdata
+	isub temp,null
+	nbranch process_dmh_acl_packet,positive// nbranch if no free buff
+	call hci_dispatch
+	branch process_dmh_acl_bcsp// loop and wait for tx buff
+process_dmh_acl_check_h4_buff:
+	hfetch 2,core_uart_txitems
+	arg 300,temp
+	isub temp,null
+	branch error_payload,positive
+	fetch 2,mem_acl_credits
+	branch error_payload,blank
+process_dmh_acl_packet: // packaging
+	set0 mark_ext_patch,mark
+	bpatch patch0c_3,mem_patch0c
+	call hci_get_packet_ptr
+	fetch 1,mem_conn_handle
+	fetcht 1,mem_lch_code
+	and_into 3,temp
+	lshift8 temp,temp
+	lshift4 temp,temp
+	ior temp,pdata
+	istore 2,contwu
+	fetcht 2,mem_len
+	copy temp,loopcnt
+	istoret 2,contwu //length in temp
+process_dmh_acl_copy:
+	set0 mark_ext_patch,mark
+	bpatch patch0c_4,mem_patch0c
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	istore 1,contwu
+	loop process_dmh_acl_copy
+	add temp,4,loopcnt
+ifdef ACL_DEBUG
+	setarg 4
+	iadd temp,pdata
+	isub loopcnt,null
+	ncall ice_break,zero
+	//copy pdata,loopcnt
+endif
+	call hci_check_bcsp_protocol
+	nbranch process_dmh_acl_send_h4,true
+	set1 mark_h5tx_rp,mark
+	force 6,queue
+	call bcsp_send_packet
+	branch process_dmh_data_end
+process_dmh_acl_send_h4:
+	call h4_send_packet_acl
+	branch process_dmh_data_end
+	
+process_dmh_data_l2cap_start_pkt:
+	set0 mark_ext_patch,mark
+	bpatch patch0c_5,mem_patch0c
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0c_6,mem_patch0c
+	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:	
+	set0 mark_ext_patch,mark
+	bpatch patch0c_7,mem_patch0c
+	parse demod,bucket,16  /* cycle through the crc */
+	branch error_payload_crc,crc_failed
+	call lpm_hci_wake_dispatch
+	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
+	fetch 1,mem_device_option
+	beq dvc_op_hci,process_dmh_cont
+	set0 mark_ext_patch,mark
+	bpatch patch0d_0,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_1,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_2,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_3,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_4,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_5,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_6,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0d_7,mem_patch0d
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_0,mem_patch0e
+	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 1,mem_device_option
+	rtneq dvc_op_hci
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_1,mem_patch0e
+	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
+	beq LMP_REMOVE_SCO_LINK_REQ,stop_sco
+	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
+	beq LMP_EXT_REMOVE_ESCO_REQ,stop_sco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_2,mem_patch0e
+	fetch 1,mem_state_map
+	set1 smap_encryption,pdata
+	store 1,mem_state_map
+	hjam 1,core_encrypt
+	fetch 1,mem_state
+	isolate1 state_conn_comp,pdata
+	branch hci_send_encryption_change,true
+	rtn
+
+stop_encryption:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_3,mem_patch0e
+	fetch 1,mem_state_map
+	set0 smap_encryption,pdata
+	store 1,mem_state_map
+	hjam 0,core_encrypt
+	rtn
+
+
+sniff_init:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_4,mem_patch0e
+	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
+	jam 0x80,mem_seqi
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_5,mem_patch0e
+	fetch 1,mem_state
+	rtnbit0 state_insniff
+	set0 state_insniff,pdata
+	store 1,mem_state
+	jam 0x7f,mem_seqi
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_6,mem_patch0e
+	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:
+	call restore_esco
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0e_7,mem_patch0e
+	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
+	
+play_sco:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_0,mem_patch0f
+	jam 1,mem_max_slot
+	//call context_traverse_max_slot
+	call enable_pcm
+	force 12,pdata
+	store 2,mem_tsniff
+	fetch 1,mem_esco_desco
+	lshift pdata,pdata
+	store 2,mem_dsniff
+	fetch 1,mem_state
+	set1 state_insco,pdata
+	store 1,mem_state
+	jam 3,mem_sniff_attempt
+	jam 3,mem_current_sniff_attempt
+	call sniff_init
+	force 0,temp //sco chn
+	call hci_send_sco_complete
+	jam 0x50,mem_esco_arq
+	jam param_sco_poll,mem_sco_poll
+	rtn
+	
+stop_sco:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_1,mem_patch0f
+	call sniff_exit
+	jam 5,mem_max_slot
+	//call context_traverse_max_slot
+	call disable_pcm	
+	fetch 1,mem_state
+	set0 state_insco,pdata
+	store 1,mem_state
+stop_sco_hci:
+	arg 0xe00,temp
+	jam HCI_ERROR_REMOTE_USER_ENDED_CONNECTION,mem_hci_disconn_reason
+	branch hci_send_disconn_complete
+
+stop_esco:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_2,mem_patch0f
+	jam default_neogotiation_state,mem_neogotiation_state
+	call stop_sco
+	call restore_esco
+	set0 mark_esco,mark
+	rtn	
+
+parse_l2cap:	
+	set0 mark_ext_patch,mark
+	bpatch patch0f_3,mem_patch0f
+	fetch 1,mem_device_option
+	beq dvc_op_hci,parse_l2cap_hci
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch0f_4,mem_patch0f
+	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_exit:
+	fetch 1,mem_state_map
+	set0 smap_rxl2cap,pdata
+	store 1,mem_state_map
+	set0 mark_rxbuf_inuse,mark
+	branch h4_send_acl_trigger_clear
+	
+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
+
+parse_l2cap_hci:
+	fetch 1,mem_state_map
+	rtnbit0 smap_rxl2cap,pdata
+	call h4_send_acl_trigger
+	fetch 2,mem_acl_credits
+	branch assert,blank
+	increase -1,pdata
+	store 2,mem_acl_credits
+	branch parse_l2cap_exit
+
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_5,mem_patch0f
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_6,mem_patch0f
+	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
+	compare type_id,type,0x1f        /* is this id only ? */
+	branch end_of_packet,true
+transmit_packet:
+	rshift bt_clk,temp
+	or temp,0x40,white_init
+transmit_packet_whitened:
+	set0 mark_ext_patch,mark
+	bpatch patch0f_7,mem_patch0f
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch10_0,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_1,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_2,mem_patch10
+	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 */
+	set0 mark_ext_patch,mark
+	bpatch patch10_3,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_4,mem_patch10
+	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:
+	fetch 1,mem_device_option
+	beq dvc_op_hci,transmit_stuff_hci
+	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_stuff_hci:
+	fetch 2,mem_txptr
+	iforce contru
+transmit_stuff_hci_loop:
+	ifetch 1,contru
+	inject mod,8
+	loop transmit_stuff_hci_loop
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_5,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_6,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch10_7,mem_patch10
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_0,mem_patch11
+	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:	
+	set0 mark_ext_patch,mark
+	bpatch patch11_1,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_2,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_3,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_4,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_5,mem_patch11
+	fetch 1,mem_hci_puap
+	icopy uap
+	fetch 3,mem_hci_plap
+	icopy lap
+	rtn
+
+fetch_self_bt_adr:
+	set0 mark_ext_patch,mark
+	bpatch patch11_6,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch11_7,mem_patch11
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch12_0,mem_patch12
+ifdef FPGA
+ifndef ROMCODE
+	setarg 0x003f
+	call fpga_write_radio
+	setarg 0x017f
+	call fpga_write_radio
+endif
+endif
+	force 0,radio_ctrl
+	disable is_rx
+	disable is_tx
+	pulse packet_end
+	hjam 0x0,rfen_mdm
+	hjam 0x0,rfen_tx
+	hjam 0x0,rfen_rx
+	hjam 0,rfen_sn
+	hjam 0x70,rfen_msc
+	hjam 0x0,rfen_adc
+	rtn	
+
+set_sync_on:
+	set0 mark_ext_patch,mark
+	bpatch patch12_1,mem_patch12
+ifdef FPGA
+ifndef ROMCODE
+	setarg 0x000f
+	call fpga_write_radio
+	setarg 0x016f
+	call fpga_write_radio
+endif
+endif
+	hjam 0x0,rfen_mdm					/* if called from tx or rx */
+	hjam 0x0,rfen_tx
+	hjam 0x18,rfen_rx
+	hjam 0xa7,rfen_sn
+	hjam 0x7f,rfen_msc
+	rtn
+
+
+set_freq_rx:
+	set0 mark_ext_patch,mark
+	bpatch patch12_2,mem_patch12
+		/* IF is +2MHz */
+	storet 1,mem_last_freq
+	add temp,rx_freq_offset,rega			/* index to frequency */
+	branch rf_write_freq
+rf_rx_enable:
+	set0 mark_ext_patch,mark
+	bpatch patch12_3,mem_patch12
+ifdef FPGA
+ifndef ROMCODE
+	setarg 0x0004
+	call fpga_write_radio
+	setarg 0x016f
+	call fpga_write_radio
+endif
+endif
+	hjam 0xcf,rfen_tx
+	nop 10					/* wait adc clk48 ready */
+	hjam 0xff,rfen_rx
+	hjam 0xaf,rfen_sn
+	hjam 0xff,rfen_msc
+	nop 10
+	hjam 0xa0,rfen_mdm
+	rtn
+
+
+set_freq_tx:
+	set0 mark_ext_patch,mark
+	bpatch patch12_4,mem_patch12
+	storet 1,mem_last_freq
+	add temp,tx_freq_offset,rega			/* index to frequency */
+	call rf_write_freq
+	setarg param_pll_setup
+	call sleep
+txon:	
+ifdef FPGA
+ifndef ROMCODE
+	setarg 0x000f
+	call fpga_write_radio
+	setarg 0x01e1
+	call fpga_write_radio
+	hjam 0x0, 0x901
+endif
+endif
+	hjam 0x1,rfen_adc
+	hjam 0x3c,rfen_rx
+	hjam 0xe0,rfen_tx
+	hjam 0xb7,rfen_sn
+	hjam 0x7f, rfen_mdm
+	rtn
+
+initialize_radio:
+ifdef FPGA
+ifndef ROMCODE
+	branch fpga_init
+endif
+endif
+	hjam clksel_rc,core_clksel
+	call init_rf_regs
+	call init_agc_table
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch12_5,mem_patch12
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch12_6,mem_patch12
+ifdef FPGA
+ifndef ROMCODE
+	copy rega,regc
+	setarg 0x1a6c	
+	call fpga_write_radio
+	copy regc,rega
+	add rega,0x18,pdata
+	arg 0x1a80,temp
+	ior temp,pdata
+	branch fpga_write_radio
+endif
+endif
+	setarg 2400
+	iadd rega,temp
+	fetch 1,mem_fcomp_mul
+	hjam 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
+	hjam 0x44,rf_pll_rstn
+	hjam 0xc4,rf_pll_rstn
+	rtn
+
+	
+do_rccal:
+	set0 mark_ext_patch,mark
+	bpatch patch12_7,mem_patch12
+	hjam 0x02,rfen_adc
+	setarg 250000
+	call sleep					/* wait clkpll&xtal stable */
+	hjam 0x7f,rfen_rx
+	nop 130
+	hjam 0x30,rf_rccal_ctrl
+	hjam 0xd0,rfen_tx
+	hjam 0x70,rf_rccal_ctrl
+	hjam 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
+	hjam 0,rfen_tx
+	hjam 0,rfen_rx
+	hjam 0x00,rfen_adc
+ifndef ROMCODE
+	jam 0x30,mem_rf_rccal
+endif
+	rtn
+
+set_rccal:
+	set0 mark_ext_patch,mark
+	bpatch patch13_0,mem_patch13
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_1,mem_patch13
+	hfetch 2,rf_afc_d2a
+	rshift4 pdata,pdata
+	rshift3 pdata,pdata
+	sub pdata,0,pdata
+	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_rcclk:
+	hjam 0xa,core_clksel
+	hjam 0,rfen_ck
+	hfetch 3,core_lpm_ctrl
+	hstore 3,core_lpm_reg
+	hjam 0xfc,core_lpm_reg
+	call lpm_write_ctrl
+	nop 1000
+	rtn
+	
+switchto_dpllclk:
+	hjam clksel_rc,core_clksel
+	hfetch 1,rf_clkpll_frac+2
+	set0 4,pdata
+	set0 5,pdata
+	hstore 1,rf_clkpll_frac+2
+	hjam 0x00,rfen_ck
+	hjam 0x00,rfen_msc
+	hjam 0x70,rfen_msc
+	hjam 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
+	hjam clksel_dpll,core_clksel
+	rtn
+
+check_dpll:
+	nop 1000
+	hjam clksel_xtal,core_clksel
+	nop 10
+	hjam 0x00,core_bist_ctrl
+	hjam ccnt_start,core_misc_ctrl
+check_dpll_loop:
+	hfetch 1,core_perf_status
+	bbit0 1,check_dpll_loop
+	hfetcht 3,core_clk_counter
+	hjam clksel_dpll,core_clksel
+	nop 10
+	hjam ccnt_start,core_misc_ctrl
+check_dpll_loop2:
+	hfetch 1,core_perf_status
+	bbit0 1,check_dpll_loop2
+	hfetch 3,core_clk_counter
+	isub temp,pdata
+	branch check_dpll_pos,positive
+	sub pdata,0,pdata
+check_dpll_pos:
+	store 2,mem_dpll_error
+	sub pdata,70,null
+check_dpll_assert:
+	nbranch check_dpll_assert,positive
+	rtn
+	
+xtal_fast_wake:
+	setarg 0xf0f
+	branch lpm_write_config
+
+init_lpm_ctrl:
+	setarg 0x80f
+	branch lpm_write_config
+
+
+
+start_receiver:
+	set0 mark_ext_patch,mark
+	bpatch patch13_2,mem_patch13
+	call rf_rx_enable
+	disable is_tx
+	enable is_rx
+	pulse init_encrypt
+	rtn
+
+prep_crypt:
+	set0 mark_ext_patch,mark
+	bpatch patch13_3,mem_patch13
+	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_clke_rt:
+	set0 mark_ext_patch,mark
+	bpatch patch13_4,mem_patch13
+	enable decode_fec0
+	arg param_conn_access,timeup
+	correlate clke_rt,meet    /* keep correlating until sync is found, stop on no other condition */
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_5,mem_patch13
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_6,mem_patch13
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch13_7,mem_patch13
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch14_0,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_1,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_2,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_3,mem_patch14
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch14_4,mem_patch14
+	call prep_crypt
+	disable is_rx
+	enable is_tx
+	rtn
+
+
+
+start_tx_native:
+	set0 mark_ext_patch,mark
+	bpatch patch14_5,mem_patch14
+	arg param_tx_setup,timeup
+	until clkn_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+start_rx_native:
+	set0 mark_ext_patch,mark
+	bpatch patch14_6,mem_patch14
+	arg param_rx_setup,timeup
+	until clkn_rt,meet
+	rtn
+
+
+start_tx_external:
+	set0 mark_ext_patch,mark
+	bpatch patch14_7,mem_patch14
+	arg param_tx_setup,timeup
+	until clke_rt,meet         /* wait until start_tx time */
+	pulse init_encrypt
+	rtn
+
+send_access_word:
+	set0 mark_ext_patch,mark
+	bpatch patch15_0,mem_patch15
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_1,mem_patch15
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_2,mem_patch15
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_3,mem_patch15
+	call get_clkbt
+	store 4,mem_supervision_timer
+	rtn
+
+assert:
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch15_4,mem_patch15
+	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
+	call init_memp
+endif
+	set0 mark_ext_patch,mark
+	bpatch patch15_5,mem_patch15
+	rtn wake
+	setarg 0
+	store 2,mem_tx_len
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	rtn
+	
+
+//clear esco ibuff
+init_esco_ibuff:
+	setarg 0xaa,pdata
+	arg mem_sco_ibuf,contw
+	force 30,loopcnt
+init_esco_ibuff_loop:
+	istore 1,contw
+	loop init_esco_ibuff_loop
+	rtn
+
+init_rf_regs:
+	hjam 0x02,0x907
+	hjam 0x1f,0x908
+	hjam 0x1f,0x909
+	hjam 0xe0,0x90a
+	hjam 0x4e,0x90b			/* EVM */
+	hjam 0x45,rf_agc_ctrl		/* invert demod */
+	hjam 0x00,0x953			/* rccal */
+
+	hjam 0xfb,0x94c			/* rx sensitivity */
+	hjam 0xef,0x94d
+	hjam 0x0c,0x94e
+	
+	hjam 0x88,0x96f
+	hjam 0x30,0x973			/* turn off charge pump */
+
+	// tx power up to -3dBm
+	hjam 0x00,0x953
+	hjam 0xc9,0x956
+	hjam 0x6c,0x958
+	hjam 0x50,0x959
+	rtn
+
+init_agc_table:
+//AGC Table Setting Conservative, Based on 8PSK_sen, Max added
+	hjam 0xa9,0x930 //hjam 0x9D,0x930	
+	hjam 0xb1,0x92f //hjam 0xA1,0x92f	
+	hjam 0xb9,0x92e //hjam 0xA9,0x92e	
+	hjam 0xAD,0x92d	
+	hjam 0xB1,0x92c	
+	hjam 0xB5,0x92b	
+	hjam 0xBA,0x92a	
+	hjam 0xBE,0x929	
+	hjam 0xC2,0x928	
+	hjam 0xC6,0x927	
+	hjam 0xCA,0x926	
+	hjam 0xCE,0x925	
+	hjam 0xD2,0x924	
+	hjam 0xD6,0x923	
+	hjam 0xDA,0x922	
+	hjam 0xDE,0x921	
+	hjam 0xE2,0x920	
+	hjam 0xE6,0x91f	
+	hjam 0xEA,0x91e	
+	hjam 0xEE,0x91d	
+	hjam 0xF2,0x91c	
+	hjam 0xF6,0x91b	
+	hjam 0xFB,0x91a
+	
+	hjam 0xf5,0x947 //hjam 0xF8,0x947	
+	hjam 0xe5,0x946 //hjam 0xE9,0x946	
+	hjam 0xd5,0x945 //hjam 0xD9,0x945	
+	hjam 0xD8,0x944	
+	hjam 0xC9,0x943	
+	hjam 0xC8,0x942	
+	hjam 0x89,0x941	
+	hjam 0x88,0x940	
+	hjam 0x87,0x93f	
+	hjam 0x48,0x93e	
+	hjam 0x09,0x93d	
+	hjam 0x08,0x93c	
+	hjam 0xC9,0x93b	
+	hjam 0xC8,0x93a	
+	hjam 0xC7,0x939	
+	hjam 0xC6,0x938	
+	hjam 0xC5,0x937	
+	hjam 0xC4,0x936	
+	hjam 0xC3,0x935	
+	hjam 0xC2,0x934	
+	hjam 0xC1,0x933	
+	hjam 0xC0,0x932	
+	hjam 0x80,0x931
+	rtn	
+
+
+ifdef FPGA
+ifndef ROMCODE
+fpga_init:
+	hjam 5,core_clksel
+	hjam 1,core_config			// uart use 48M
+	hjam 1,rf_rx_lna_ctrim
+	hjam 0x2,0x908
+	hjam 0xb1,0x90e
+	hjam 0,0x912
+
+	hjam 0xF7,0x91A
+	hjam 0xF4,0x91B
+	hjam 0xF0,0x91C
+	hjam 0xEB,0x91D
+	hjam 0xE7,0x91E
+	hjam 0xE4,0x91F
+	hjam 0xE0,0x920
+	hjam 0xDB,0x921
+	hjam 0xD7,0x922
+	hjam 0xD5,0x923
+	hjam 0xD1,0x924
+	hjam 0xCC,0x925
+	hjam 0xC8,0x926
+	hjam 0xC2,0x927
+	hjam 0xBE,0x928
+	hjam 0xBA,0x929
+	hjam 0xBA,0x92A
+	hjam 0xB3,0x92B
+	hjam 0xB3,0x92C
+	hjam 0xAB,0x92D
+	hjam 0xAB,0x92E
+	hjam 0xA2,0x92F
+	hjam 0x9F,0x930
+
+	hjam 0x30,0x931
+	hjam 0x20,0x932
+	hjam 0x10,0x933
+	hjam 0x50,0x934
+	hjam 0x64,0x935
+	hjam 0x54,0x936
+	hjam 0x68,0x937
+	hjam 0xa8,0x938
+	hjam 0xe8,0x939
+	hjam 0xfC,0x93A
+	hjam 0xeC,0x93B
+	hjam 0xd9,0x93C
+	hjam 0x19,0x93D
+	hjam 0x8D,0x93E
+	hjam 0xcD,0x93F
+	hjam 0x1E,0x940
+	hjam 0x9E,0x941
+	hjam 0x9E,0x942
+	hjam 0x9E,0x943
+	hjam 0x9F,0x944
+	hjam 0x9F,0x945
+	hjam 0x8F,0x946
+	hjam 0xcF,0x947
+
+	hjam 0x00,0x948
+	hjam 0x90,0x949
+	hjam 0x7f,0x94a
+
+	rtn wake
+	call fpga_init_jtag
+	setarg 0x1c38	
+	call fpga_write_radio
+	setarg 0x1c28	
+	call fpga_write_radio
+	setarg 0x185e	
+	call fpga_write_radio
+	setarg 0x24ff	
+	call fpga_write_radio
+	setarg 0x2894
+	call fpga_write_radio
+	setarg 0x2922	
+	call fpga_write_radio
+	setarg 0x2a1c	
+	call fpga_write_radio
+	setarg 0x2c00
+	call fpga_write_radio
+
+	setarg 0x2050
+	call fpga_write_radio
+	setarg 0x1580
+	call fpga_write_radio
+	hjam 0x70,core_bist_ctrl
+	hjam ccnt_start,core_misc_ctrl
+
+	hjam 1,rf_rx_lna_ctrim+1
+	force 0,clkn
+	force 0,clke
+	hjam 0,rf_rx_lna_ctrim+1
+	rtn
+
+fpga_init_jtag:
+	hjam 0,rf_rx_vctrl_reg2
+	hjam 0x9,core_clksel 
+	nop 100
+	hjam 2,rf_rx_lna_ctrim
+	hjam 0,rf_rx_lna_ctrim
+	arg 0x800c,rega
+	arg 2,regb
+	call fpga_write_reg
+	nop 0x5000
+	hjam 1,rf_rx_lna_ctrim
+	nop 0x5000
+	hjam 5,core_clksel
+	rtn
+
+fpga_write:
+	hstore 1,rf_rx_vctrl_reg1
+	hjam 1,rf_rx_vctrl_reg2
+	hjam 0,rf_rx_vctrl_reg2
+	rtn
+
+
+fpga_read:
+	hfetch 1,rf_rccal_result
+	hjam 2,rf_rx_vctrl_reg2
+	hjam 0,rf_rx_vctrl_reg2
+	rtn
+
+	
+fpga_write_reg:
+	setarg 0xb
+	call fpga_write
+	rshift8 rega,pdata
+	call fpga_write
+	setarg 0x3
+	call fpga_write
+	and rega,0xff,pdata
+	call fpga_write
+	setarg 5
+	call fpga_write
+	deposit regb
+	branch fpga_write
+	
+
+fpga_read_reg:
+	setarg 0xb
+	call fpga_write
+	rshift8 rega,pdata
+	call fpga_write
+	setarg 0x3
+	call fpga_write
+	and rega,0xff,pdata
+	call fpga_write
+	setarg 6
+	call fpga_write
+	branch fpga_read
+	
+
+fpga_write_radio:
+	and pdata,0xff,regb
+	rshift8 pdata,rega
+	setarg 0x8900
+	ior rega,rega
+	branch fpga_write_reg
+
+endif
+endif
+
+init_250k:
+	enable le
+	setarg 0x8e89be
+	lshift8 pdata,pdata
+	or_into 0xd6,pdata
+	iforce access
+	hjam 7,0x914			// enable ble
+	hjam 0xa0,0x90a
+	hjam 0x8f,0x90d		// enable 250k
+	hjam 0x0f,0x911		
+	hjam 0x87,0x912		// disable agc
+	rtn
+
+
+/*****************************************LPO************************************************/
+
+lpmstate:
+	setarg 0xee21
+	hstore 2,core_clkoff			// disable unused peripherals
+	hfetch 1,core_lpm_ldocnt
+	bbit0 gpio_latch,loadcode		// power up boot
+	enable wake
+	bbit0 cold_wake,lpmwake		
+	disable wake
+	deposit auxcnt
+	nbranch lpmwake,blank		// sleep interrupted, wakeup
+	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
+	rtn wake
+	branch loadcode				// wakeup from hibernate
+
+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
+	hjam 0xc0,core_bist_ctrl
+	hjam 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:
+	set0 mark_ext_patch,mark
+	bpatch patch15_6,mem_patch15
+	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
+
+	/* no retention memory at all */
+lpm_hibernate:
+	set0 mark_ext_patch,mark
+	bpatch patch15_7,mem_patch15
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata						/* lowest lpo */
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+lpm_hibernate_normal:
+	arg param_hibernate_clks,temp
+	fetch 1,mem_lpm_hibernate_switch
+	store 1,mem_lpm_xtalcnt + 4
+ifdef ROMCODE
+	fetch 1,mem_lpm_xtalcnt + 2
+	set1 cold_wake,pdata
+	store 1,mem_lpm_xtalcnt + 2
+else
+	branch rom_lpm_sleep
+endif
+
+	/* temp is lpo clocks to sleep */
+lpm_sleep:
+	set0 mark_ext_patch,mark
+	bpatch patch16_0,mem_patch16
+	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
+	hjam lpmreg_sel_ctrl2,core_lpm_wr
+	until null,lpo_edge
+	until null,lpo_edge
+	deposit rega
+	hstore 1,core_lpm_isogate
+	hjam lpmreg_sel_ctrl2,core_lpm_wr
+lpm_enter_sleep:
+	until null,lpo_edge
+	until null,lpo_edge
+	hstoret 4,core_lpm_reg
+	hjam lpmreg_sel_counter,core_lpm_wr
+	until null,never
+
+
+
+
+lpm_recover_clk:
+	set0 mark_ext_patch,mark
+	bpatch patch16_1,mem_patch16
+	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
+	call savelist_2
+	rtn
+	
+lpm_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch16_2,mem_patch16
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	call lpm_check_wake_lock
+	nrtn blank
+lpm_dispatch0:
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch16_3,mem_patch16
+lpm_dispatch1:
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch16_4,mem_patch16
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch16_5,mem_patch16
+	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
+ifdef ROMCODE
+	branch lpm_sleep
+else
+	call lpm_write_gpio_wakeup
+	jam 1,mem_patch00
+	branch rom_lpm_sleep
+endif
+	
+lpm_dispatch_unconn:
+	set0 mark_ext_patch,mark
+	bpatch patch16_6,mem_patch16
+	fetch 1,mem_context
+	rtnbit1 state_inconn					// wont sleep in connection
+	rtnbit1 state_inpage					// wont sleep when paging
+	fetch 1,mem_ssp_enable
+	branch lpm_unconn_nossp,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+lpm_unconn_nossp:
+	fetch 1,mem_le_adv_enable
+	nbranch lpm_unconn_cont,blank
+	fetch 1,mem_scan_mode
+	rtn blank
+lpm_unconn_cont:
+	fetch 2,mem_lpm_interval
+	rtn blank
+lpm_sleep_btclk:
+	fetcht 1,mem_lpm_overhead
+	isub temp,pdata
+	arg 7500,temp				/* 1.25ms */
+	imul32 temp,pdata
+	branch lpm_dispatch_sleep
+
+lpm_set_mult:
+	set0 mark_ext_patch,mark
+	bpatch patch16_7,mem_patch16
+	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
+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
+
+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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_0,mem_patch17
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_1,mem_patch17
+	fetch 1,mem_lpm_xtalcnt
+	nrtn blank
+	hjam 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
+	hjam 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
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_2,mem_patch17
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch17_3,mem_patch17
+	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
+	set0 mark_ext_patch,mark
+	bpatch patch17_4,mem_patch17
+	fetch 2,mem_l2cap_rxbuff1_len
+	fetcht 2,mem_l2cap_rxbuff2_len
+	iadd temp,pdata
+	nsetflag blank,wake_lock_l2cap_rx,rega
+	fetch 5,mem_ipc_fifo_bt2c51
+	nsetflag blank,wake_lock_ipc_bt2c51,rega
+	fetch 5,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
+	set0 mark_ext_patch,mark
+	bpatch patch17_5,mem_patch17
+	fetch 1,mem_device_option
+	bne dvc_op_hci,lpm_check_wake_lock_nothci
+	call lpm_uart_wake_lock
+	fetch 1,mem_link_key_exists
+	setflag blank,wake_link_key_exists,rega
+	fetch 4,mem_lpm_delay_after_sniff
+	arg 0x1710,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nsetflag positive,wake_lock_delay,rega
+	branch lpm_check_wake_lock_end
+
+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_check_wake_lock_nothci:
+	setarg -8
+	iand rega,rega
+lpm_check_wake_lock_end:
+	copy rega,pdata
+	store 2,mem_lpm_wake_lock
+	rtn blank
+	rtn match
+	enable wake
+	rtn
+
+lpm_shut_down:
+	hfetch 4,core_lpm_ctrl
+	set0 27,pdata
+	hstore 4,core_lpm_reg
+	call  lpm_write_ctrl
+	branch assert
+
+lpm_enable_exen_output:
+	hfetch 4,core_lpm_xtalcnt
+	set1 20,pdata
+	hstore 4,core_lpm_reg
+	branch lpm_write_ctrl2
+	
+lpm_disable_exen_output:
+	hfetch 4,core_lpm_xtalcnt
+	set0 20,pdata
+	hstore 4,core_lpm_reg
+	branch lpm_write_ctrl2
+
+lpm_hci_wake_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch17_6,mem_patch17
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call gpio_check_uart_state
+	rtn true
+	fetch 4,mem_hci_wake_clk
+	nbranch lpm_hci_check_wake_time,blank
+	copy clkn_bt,pdata
+	store 4,mem_hci_wake_clk
+	branch gpio_pd_uart_tx
+lpm_hci_check_wake_time:
+	set0 mark_ext_patch,mark
+	bpatch patch17_7,mem_patch17
+	copy clkn_bt,pdata
+	fetcht 4,mem_hci_wake_clk
+	isub temp,pdata
+	arg HOST_WAKE_TIME,temp
+	isub temp,null
+	nrtn positive
+	setarg 0
+	store 4,mem_hci_wake_clk
+	branch hci_exit_lpm
+
+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
+	
+test_init:
+	setarg test_proc
+	store 2,mem_cb_bt_process
+	setarg test_sleep
+	store 2,mem_cb_bb_event_process
+	setarg test_proc
+	store 2,mem_cb_idle_process
+	rtn wake
+	jam ui_led_start,mem_led_switch
+	rtn
+
+test_proc:
+	fetch 1,mem_state
+	bbit0 state_insniff,check_test_cond
+	set1 mark_lpm_mult_enable,mark
+	fetch 6,mem_sniff_rcv
+	store 6,mem_local_name
+	branch ui_led_blink_stop
+	
+
+test_sleep:
+	deposit regc
+	rtnne BT_EVT_BUTTON_LONG_PRESSED
+test_sleep_loop:
+	call ui_button_polling
+	fetch 1,mem_ui_button_last_state
+	beq 1,test_sleep_loop
+	call ui_led_off
+	branch lpm_hibernate
+
+
+test_tx:
+	force 2,temp
+	increase -2,temp
+	call set_sync_on
+	call set_freq_tx
+	disable enable_white
+	enable encode_fec0
+	set1 TXGFSK,radio_ctrl
+	call start_transmitter
+test_tx_loop:
+	fetch 1,0
+	inject mod,8
+	branch test_tx_loop
+
+
+	
+
+
Index: KG9013/btkb/program/dongle.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/dongle.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/dongle.prog	(working copy)
@@ -0,0 +1,125 @@
+ifdef COMPILE_DONGLE
+
+le_dongle_init:
+	call usb_init
+	call app_led_start_blink
+	setarg le_dongle
+	store 2,mem_cb_le_process
+	setarg dongle_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg usb_isr
+	store 2,mem_cb_idle_process
+	jam 5,mem_dongle_count
+	jam 0,mem_dongle_peers
+	jam hci_cmd_le_create_conn,mem_hci_cmd
+	rtn	
+
+
+le_dongle:
+	disable true
+	call app_check_conn_device_nums_addr
+	//jam 1,mem_le_scan_enable
+	jam 0x1b,mem_cmd_le_create_conn
+	fetch 1,mem_device_nums
+	compare 2,pdata,0x3
+	nrtn true
+	jam 0,mem_le_scan_enable
+	rtn
+
+le_scan_dongle:
+	fetch 1,mem_le_rxbuf
+	bbit0 0,dongle_add_peer
+	fetch 6,mem_le_rxbuf+2			// direct ind, for me?
+	fetcht 6,mem_le_plap
+	isub temp,null
+	nrtn zero
+dongle_peer_paired:
+	fetch 6,mem_le_plap
+	store 6,mem_le_conn_peer_addr
+	rtn
+	
+dongle_add_peer:
+	arg 0xff,rega
+	call le_search_adtype
+	nrtn zero
+	ifetch 2,contr
+	fetcht 2,mem_dongle_signature
+	isub temp,null
+	nrtn zero
+	fetch 1,mem_dongle_peers
+	increase 1,pdata
+	store 1,mem_dongle_peers
+	fetcht 1,mem_dongle_pairing_cnt
+	isub temp,null
+	branch dongle_peer_paired,positive
+	rtn
+
+dongle_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_LE_DISCONNECTED,dongle_le_event_bb_disconnected
+	beq BT_EVT_LE_CONNECTED,dongle_bb_event_connected
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,dongle_bb_event_100ms
+	rtn
+	
+dongle_le_event_bb_disconnected:
+	setarg 0
+	store 6,mem_le_conn_peer_addr
+	jam 0,mem_dongle_peers
+	setarg 0
+	store 5,mem_mouse_data
+	jam SEND_MOUSE_DATA_CMD,mem_mcmd
+	call usb_isr
+	branch app_ble_start_scan
+ 	
+dongle_bb_event_100ms:
+	rtn
+	fetch 1,mem_le_scan_enable
+	rtn blank
+	fetch 1,mem_dongle_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_dongle_count
+	nrtn blank
+	call le_change_peer_addr
+	branch app_ble_start_conn
+	
+	
+dongle_bb_event_connected:
+	branch app_ble_stop_scan
+
+le_change_peer_addr:
+
+	jam 5,mem_dongle_count
+	fetch 1,mem_le_peer_state
+	beq LE_CONTEXT_STATE_KB,addr_slave2
+	beq LE_CONTEXT_STATE_MOUSE,addr_slave1
+	rtn
+addr_slave1:
+	fetch 6,mem_le_addr_slave1
+	store 6,mem_app_peer_addr
+	jam LE_CONTEXT_STATE_KB,mem_le_peer_state
+	rtn
+addr_slave2:
+  	fetch 6,mem_le_addr_slave2
+  	store 6,mem_app_peer_addr
+  	jam LE_CONTEXT_STATE_MOUSE,mem_le_peer_state
+  	rtn
+  	
+else
+
+le_scan_dongle:
+	rtn
+le_dongle_init:
+check_usb_desc:
+le_dongle:
+dongle_process_bb_event:
+dongle_le_event_bb_disconnected:
+dongle_bb_event_100ms:
+dongle_bb_event_connected:
+le_change_peer_addr:
+addr_slave1:
+addr_slave2:
+	branch assert
+endif
Index: KG9013/btkb/program/hci_bcsp.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hci_bcsp.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hci_bcsp.prog	(working copy)
@@ -0,0 +1,368 @@
+
+ifdef COMPILE_HCI_BCSP
+hci_rx_bcsp:
+	ifetch 2,contru
+	branch hci_reset_uart,blank		//length = 0
+	iforce regc						/* regc is byte count */
+	ifetch 1,contru
+	store 1,mem_h5rx_tmp
+	iforce rega						/* rega is checksum */
+	bbit0 6,hci_rx_bcsp_nocrc
+	increase -2,regc
+hci_rx_bcsp_nocrc:
+	ifetch 2,contru
+	rshift4 pdata,loopcnt				/* loopcnt is packet length */
+	and pdata,0xf,debug				/* debug is packet type */
+	iadd rega,rega
+	rshift8 pdata,pdata
+	iadd rega,rega
+	ifetch 1,contru
+	iadd rega,pdata
+	bne 0xff,hci_rx_bcsp_discard_packet		/* checksum error */
+	add regc,-4,pdata
+	isub loopcnt,null
+	nbranch hci_rx_bcsp_discard_packet_err,zero	/* received byte not equal length */
+	fetch 1,mem_h5rx_tmp
+	isolate0 7,pdata
+	branch hci_rx_bcsp_check_ack_skip,true
+	set0 mark_h5_reset,mark
+	bmark1 mark_h5_reset,hci_rx_bcsp_check_ack_skip
+	and_into 7,pdata
+	fetcht 1,mem_h5tx_ack
+	isub temp,null
+	nbranch hci_rx_bcsp_discard_packet_err,zero	/*ack  number err*/
+hci_rx_bcsp_check_ack_skip:
+	setarg 1600
+	force lpo_delay_timer,queue
+	call timer_init
+	deposit debug
+	call hci_bcsp_parse_packet
+	rtn user							/* delaying parse packet */
+	fetch 1,mem_h5rx_tmp
+	iforce rega						/* saved in rega */
+	rshift3 pdata,temp
+	and_into 7,temp					/* temp is ack no */
+	fetch 1,mem_h5rx_ack
+	isub temp,pdata
+	sub pdata,0,pdata
+	and_into 7,pdata
+	bne 1,hci_rx_bcsp_discard_packet_err		/* should only ack 1 packet! */
+	storet 1,mem_h5rx_ack
+	fetch 1,mem_h5rx_ackcnt
+	increase 1,pdata
+	store 1,mem_h5rx_ackcnt
+	branch hci_rx_bcsp_discard_packet
+	
+hci_rx_bcsp_discard_packet_err:
+	fetch 1,mem_check_err_acl_cont
+	increase 1,pdata
+	store 1,mem_check_err_acl_cont
+hci_rx_bcsp_discard_packet:
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	ifetch 2,contru
+	iadd contru,contru
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+hci_bcsp_parse_packet:
+	disable user
+	rtn blank					/* ack packet, do nothing */
+	beq 1,parse_bcsp_link_establish
+	beq 2,parse_bcsp_bccmd
+	beq 5,process_hci_cmd
+	beq 6,process_acl
+	beq 8,process_hci_patch
+	rtn
+
+parse_bcsp_link_establish:
+	set0 mark_h5_reinit,mark
+	ifetch 1,contru
+	beq 0xda,parse_bcsp_link_establish_sync
+	beq 0xac,parse_bcsp_link_establish_syncrsp
+	beq 0xad,parse_bcsp_link_establish_conf
+	beq 0xde,parse_bcsp_link_establish_confrsp
+	rtn
+parse_bcsp_link_establish_sync:
+	bmark1 mark_h5_sync,parse_bcsp_link_establish_send_syncrsp
+	force 0xda,temp
+	setarg 0xededdc
+	call parse_bcsp_link_establish_send
+parse_bcsp_link_establish_send_syncrsp:	
+	force 0xac,temp
+	setarg 0xeeefaf
+	branch parse_bcsp_link_establish_send
+parse_bcsp_link_establish_syncrsp:
+	set1 mark_h5_sync,mark
+	force 0xad,temp
+	setarg 0xedacef
+	branch parse_bcsp_link_establish_send
+parse_bcsp_link_establish_conf:
+	force 0xde,temp
+	setarg 0xd0d0ad
+parse_bcsp_link_establish_send:	
+	lshift8 pdata,pdata
+	ior temp,temp
+	call hci_get_packet_ptr
+	istoret 4,contwu
+	force 1,queue				/* queue is packet type */
+	force 4,loopcnt
+	set0 mark_h5tx_rp,mark
+	branch bcsp_send_packet
+parse_bcsp_link_establish_confrsp:
+	force 0,alarm
+	branch hci_command_status
+	
+parse_bcsp_bccmd:
+	copy loopcnt,alarm
+	call bcsp_send_ack
+	force 0,regb
+	call hci_get_packet_ptr
+	copy alarm,loopcnt
+	ifetch 1,contru
+	setarg 1
+	istore 1,contwu
+	set0 mark_temp,mark
+parse_bcsp_bccmd_loop:
+	ifetch 1,contru
+	increase 1,regb
+	beq 0x1c,parse_bcsp_bccmd_sco_link		/*sco link patch by csr*/
+	compare 4,regb,0xff
+	nbranch parse_bcsp_bccmd_next,true
+	setflag blank,mark_temp,mark
+	bne 0x3a,parse_bcsp_bccmd_next
+	setarg 2000
+	force h5_reinit_timer,queue
+	call timer_init
+	set1 mark_h5_reinit,mark
+	rtn
+	
+parse_bcsp_bccmd_sco_link:
+	compare 6,regb,0xff
+	branch parse_bcsp_bccmd_next_ok,true	
+parse_bcsp_bccmd_next:
+	isolate1 mark_temp,mark
+	call parse_bcsp_bccmd_replace,true
+	istore 1,contwu
+	loop parse_bcsp_bccmd_loop
+	set0 mark_bccmd_patch,mark
+	copy alarm,loopcnt
+	set1 mark_h5tx_rp,mark
+	force 2,queue
+	branch bcsp_send_packet
+parse_bcsp_bccmd_next_ok:
+	set1 mark_bccmd_patch,mark
+	branch parse_bcsp_bccmd_next
+	
+parse_bcsp_bccmd_replace:
+	rtnmark1 mark_bccmd_patch
+	compare 10,regb,0xff
+	branch parse_bcsp_bccmd_replace1,true
+	compare 11,regb,0xff
+	nrtn true
+	setarg 0x12
+	rtn
+parse_bcsp_bccmd_replace1:
+	setarg 0xe9
+	rtn
+	
+bcsp_send_ack:
+	fetch 1,mem_h5rx_tmp
+	increase 1,pdata
+	and_into 7,pdata
+	store 1,mem_h5tx_ack		/* our ack is got seq + 1 */
+	force 0,loopcnt
+	force 0,queue
+	set0 mark_h5tx_rp,mark
+bcsp_send_packet:
+//	set1 mark_h5tx_crc,mark
+	add loopcnt,4,regb				/* regb is total packet length */
+	fetch 1,mem_h5tx_ack
+	lshift3 pdata,regc
+	isolate0 mark_h5tx_crc,mark
+	nsetflag true,6,regc
+	branch bcsp_send_packet_nocrc,true	
+	increase 2,regb
+bcsp_send_packet_nocrc:
+	bmark0 mark_h5tx_rp,bcsp_send_packet_form_nonrp
+	set1 7,regc
+	fetch 1,mem_h5tx_seq
+	ior regc,regc
+	increase 1,pdata
+	and_into 7,pdata
+	store 1,mem_h5tx_seq
+	fetch 1,mem_rp_packets
+	increase 1,pdata
+	store 1,mem_rp_packets
+bcsp_send_packet_form_nonrp:
+	fetch 2,mem_h5tx_wptr
+	iforce contwu
+	deposit regb
+	isolate1 mark_h5tx_rp,mark
+	setflag true,hci_flag_rp,pdata
+	istore 2,contwu
+	copy contwu,rega		/* rega is packet pointer */
+	deposit regc
+	istore 1,contwu
+	lshift4 loopcnt,pdata
+	ior queue,pdata
+	iadd regc,regc
+	istore 2,contwu
+	rshift8 pdata,pdata
+	iadd regc,pdata
+	sub pdata,0xff,pdata
+	istore 1,contwu
+	bmark0 mark_h5tx_crc,bcsp_send_packet_form_nocrc
+	increase 4,loopcnt		/* crc includes header 4 bytes */
+	copy rega,contwu
+	call calc_tx_crc16
+	istore 2,contwu
+bcsp_send_packet_form_nocrc:
+	fetch 2,mem_h5tx_wptr
+	iadd regb,contwu
+	increase 2,contwu
+	deposit contwu
+	store 2,mem_h5tx_wptr
+	hstore 2,core_uart_twptr
+	fetcht 2,mem_h5tx_rptr
+	call bcsp_update_free
+	call bcsp_init_retransmit
+	setarg 1600
+	force lpo_delay_timer,queue
+	branch timer_init
+	
+bcsp_init_retransmit:
+	setarg 400				/* retransmit timeout : 250ms */
+	force hci_retransmit_timer,queue
+	call timer_init
+	set1 mark_h5tx_retransmit,mark
+	rtn
+
+bcsp_retransmit:
+	rtnmark0 mark_h5tx_retransmit
+	force hci_retransmit_timer,queue
+	call timer_check
+	nrtn blank
+	fetch 2,mem_h5tx_rptr
+	hstore 2,core_uart_trptrp
+	branch bcsp_init_retransmit
+
+bcsp_freepacket:
+	fetch 2,mem_h5tx_wptr
+	fetcht 2,mem_h5tx_rptr
+	isub temp,null
+	branch bcsp_noretransmit,zero			/* no more packet to free */
+	copy temp,contwu
+	ifetch 2,contwu
+	iforce rega							/* rega is length+flag */
+	iand mask3ff,pdata
+	iadd contwu,contwu					/* contwu is new rptr */
+	hfetch 2,core_uart_trptr
+	isub contwu,pdata
+	iand mask3ff,regb						/* regb is trptr - new rptr */
+	fetch 2,mem_h5tx_wptr
+	isub contwu,pdata
+	iand mask3ff,pdata						/* pdata is wptr - new rptr */
+	isub regb,pdata
+	nrtn positive							/* packet not transmitted yet */
+	isolate0 hci_flag_rp,rega
+	branch bcsp_discardnrp,true
+	fetch 1,mem_h5rx_ackcnt
+	rtn blank								/* not acked yet */
+	increase -1,pdata
+	store 1,mem_h5rx_ackcnt
+	fetch 1,mem_rp_packets
+	increase -1,pdata
+	store 1,mem_rp_packets
+bcsp_discardnrp:
+	copy contwu,temp
+	storet 2,mem_h5tx_rptr
+	fetch 2,mem_h5tx_wptr
+	call bcsp_update_free
+	branch bcsp_freepacket
+bcsp_noretransmit:
+	set0 mark_h5tx_retransmit,mark
+	rtn	
+
+bcsp_update_free:
+	isub temp,pdata
+	iand mask3ff,pdata
+	isub mask3ff,pdata
+	sub pdata,0,pdata
+	store 2,mem_h5tx_free
+	rtn
+	
+bcsp_get_tx_ptr:	/* contwu is offset to packet start */
+	fetch 2,mem_h5tx_wptr
+	iadd contwu,contwu
+	rtn
+	
+else
+
+hci_rx_bcsp:
+	branch assert
+hci_rx_bcsp_nocrc:
+	branch assert
+hci_rx_bcsp_check_ack_skip:
+	branch assert
+hci_rx_bcsp_discard_packet_err:
+	branch assert
+hci_rx_bcsp_discard_packet:
+	branch assert
+hci_bcsp_parse_packet:
+	branch assert
+parse_bcsp_link_establish:
+	branch assert
+parse_bcsp_link_establish_sync:
+	branch assert
+parse_bcsp_link_establish_send_syncrsp:	
+	branch assert
+parse_bcsp_link_establish_syncrsp:
+	branch assert
+parse_bcsp_link_establish_conf:
+	branch assert
+parse_bcsp_link_establish_send:	
+	branch assert
+parse_bcsp_link_establish_confrsp:
+	branch assert
+parse_bcsp_bccmd:
+	branch assert
+parse_bcsp_bccmd_loop:
+	branch assert
+parse_bcsp_bccmd_sco_link:
+	branch assert
+parse_bcsp_bccmd_next:
+	branch assert
+parse_bcsp_bccmd_next_ok:
+	branch assert
+parse_bcsp_bccmd_replace:
+	branch assert
+parse_bcsp_bccmd_replace1:
+	branch assert
+bcsp_send_ack:
+	branch assert
+bcsp_send_packet:
+	branch assert
+bcsp_send_packet_nocrc:
+	branch assert
+bcsp_send_packet_form_nonrp:
+	branch assert
+bcsp_send_packet_form_nocrc:
+	branch assert
+bcsp_init_retransmit:
+	branch assert
+bcsp_retransmit:
+	branch assert
+bcsp_freepacket:
+	branch assert
+bcsp_discardnrp:
+	branch assert
+bcsp_noretransmit:
+	branch assert
+bcsp_update_free:
+	branch assert
+bcsp_get_tx_ptr:
+	branch assert
+endif
+
Index: KG9013/btkb/program/hci_h4.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hci_h4.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hci_h4.prog	(working copy)
@@ -0,0 +1,188 @@
+
+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
+hci_log:
+	rtn
+endif
+
+hci_rx_h4:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_4,mem_patch3d
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_5,mem_patch3d
+	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
+	beq HCI_H4_TYPE_ACL,hci_h4_parse_packet_acl
+	branch assert
+hci_h4_parse_packet_acl: //downgoing ACL
+	set1 mark_ext_patch,mark
+	bpatch patch3d_6,mem_patch3d
+	copy contru,rega
+	ifetch 2,contru // handle
+	copy rega,contru
+	fetcht 1,mem_conn_handle
+	icompare 0xff,temp
+	branch process_acl,true// traditional BT handle
+	branch le_acl_downgoing,le //BLE handle
+	enable user
+	rtn
+h4_rx_discard_packet:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_7,mem_patch3d
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_0,mem_patch3e
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_1,mem_patch3e
+	fetch 2,mem_hci_acl_tx_trigger_wptr
+	branch assert,blank
+	hstore 2,core_uart_twptr
+ifdef ACL_DEBUG
+	hfetcht 2,core_uart_trptr
+	isub temp,rega
+	branch h4_send_acl_trigger0,positive
+	arg 0x400,rega
+	iadd rega,pdata
+	isub temp,rega
+h4_send_acl_trigger0:	
+	fetch 2,mem_len
+	increase 5,pdata
+	isub rega,null
+	ncall ice_break,zero
+endif
+	branch h4_send_acl_trigger_clear
+	
+h4_send_acl_trigger_clear:
+	setarg 0
+	store 2,mem_hci_acl_tx_trigger_wptr
+	rtn
+
+h4_tx_buffer_remain:
+	hfetcht 2,core_uart_trptr
+	hfetch 2,core_uart_twptr
+	isub temp,rega
+	nbranch h4_tx_buffer_remain_negative,positive
+	hfetcht 2,core_uart_tsaddr
+	hfetch 2,core_uart_teaddr
+	isub temp,pdata
+	isub rega,temp
+	rtn
+h4_tx_buffer_remain_negative:
+	sub rega,-1,temp
+	rtn
+	
Index: KG9013/btkb/program/hci_main.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hci_main.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hci_main.prog	(working copy)
@@ -0,0 +1,2236 @@
+/*********************************/
+/**********   HCI  *****************/
+/*********************************/
+hci_dispatch:
+	set0 mark_ext_patch,mark
+	bpatch patch19_5,mem_patch19
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_rx_packet
+ifdef COMPILE_HCI_BCSP	
+	call hci_check_bcsp_protocol
+	call bcsp_retransmit,true
+	call hci_check_bcsp_protocol
+	call bcsp_freepacket,true
+endif
+	branch  process_send_acl
+ifdef COMPILE_HCI_BCSP
+	rtnmark0 mark_h5_reinit
+	force h5_reinit_timer,queue
+	call timer_check
+	nrtn blank
+	call hci_reinit
+	call hci_check_bcsp_protocol
+	nrtn true
+	set0 mark_h5_sync,mark
+	force 0xda,temp
+	setarg 0xededdc
+	call parse_bcsp_link_establish_send
+	setarg 2000
+	force h5_reinit_timer,queue
+	branch timer_init
+endif
+
+
+hci_init:
+	set0 mark_ext_patch,mark
+	bpatch patch19_6,mem_patch19
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch19_7,mem_patch19
+	call init_filter_ram
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_0,mem_patch1a
+	hjam 0x0,core_uart_ctrl
+ifdef COMPILE_HCI_BCSP
+	jam 0,mem_h5rx_ack
+	jam 0,mem_h5tx_ack
+	jam 0,mem_h5tx_seq
+endif
+ 	setarg mem_h5tx_buf
+ifdef COMPILE_HCI_BCSP
+	store 2,mem_h5tx_wptr
+	store 2,mem_h5tx_rptr
+endif
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_1,mem_patch1a
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_UART,pdata
+	hstore 2,core_clkoff
+	call uart_set_baud_by_mem
+	hjam uartclk_dpll,core_uart_clksel
+	hjam uart_ctrl_h4,core_uart_ctrl
+	branch hci_init_queue_ack
+
+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
+	jam 0xff,mem_ucode_id_local
+	rtn
+	
+hci_reset_uart:
+	hfetch 2,core_uart_rwptr
+	hstore 2,core_uart_rrptr
+	set1 mark_h5_reset,mark
+	rtn
+
+	
+hci_check_bcsp_protocol:
+	hfetch 1,core_uart_ctrl
+	isolate1 uart_ctrl_bit_slip_protocol,pdata
+	rtn// set true if it is bcsp protocol
+	
+hci_init_queue_ack:
+	setarg mem_hci_acl_queue_start
+	store 2,mem_hci_acl_queue_wptr
+	store 2,mem_hci_acl_queue_rptr
+	force param_acl_pktcnt,temp
+	iadd temp,pdata
+	iadd temp,pdata
+	increase 2,pdata		/*add one pkt more*/
+	store 2,mem_hci_acl_queue_end
+	setarg 0x00
+	store 1,mem_hci_acl_cnt
+	store 1,mem_hci_acl_queue_wcnt
+	rtn
+
+hci_rx_packet:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_2,mem_patch1a
+	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
+	call hci_check_bcsp_protocol
+	branch hci_rx_bcsp,true
+	branch hci_rx_h4
+
+hci_send_ack:
+	call hci_check_bcsp_protocol
+	branch bcsp_send_ack,true
+	rtn
+	
+uart_send_byte:
+	hfetcht 1,core_uart_status
+	isolate1 6,temp
+	branch uart_send_byte,true
+	hstore 1,core_uart_txd
+	rtn
+
+
+process_acl_into_queue:
+	fetcht 2,mem_hci_acl_queue_end
+	fetch 2,mem_hci_acl_queue_wptr
+	iforce contw
+	deposit contru
+	istore 2,contw
+	deposit contw
+	store 2,mem_hci_acl_queue_wptr
+	icompare 0xff,temp
+	call process_acl_into_queue_loop,true
+	fetch 1,mem_hci_acl_queue_wcnt
+	increase 1,pdata
+	store 1,mem_hci_acl_queue_wcnt
+	rtn	
+process_acl_into_queue_loop:
+	setarg mem_hci_acl_queue_start
+	store 2,mem_hci_acl_queue_wptr
+	rtn
+	
+	
+process_acl_dequeue:
+	fetch 1,mem_hci_acl_queue_wcnt
+	rtn blank
+	fetcht 2,mem_hci_acl_queue_end
+	fetch 2,mem_hci_acl_queue_rptr
+	iforce contr
+	ifetch 2,contr
+	iforce contru
+	deposit contr
+	store 2,mem_hci_acl_queue_rptr
+	icompare 0xff,temp
+	call process_acl_dequeue_loop,true
+	fetch 1,mem_hci_acl_queue_wcnt
+	increase -1,pdata
+	store 1,mem_hci_acl_queue_wcnt
+	force 1,pdata
+	rtn	
+process_acl_dequeue_loop:
+	setarg mem_hci_acl_queue_start
+	store 2,mem_hci_acl_queue_rptr
+	rtn
+
+process_acl: // traditional BT downgoing ACL
+	set0 mark_ext_patch,mark
+	bpatch patch1a_3,mem_patch1a
+	fetch 1,mem_hci_acl_queue_wcnt
+	sub pdata,2,null
+	branch process_acl_queue_check_ok,positive
+	enable user
+	branch process_send_acl
+process_acl_queue_check_ok:
+	call hci_send_ack
+	call process_acl_into_queue
+process_send_acl: //downgoing ACL
+	set0 mark_ext_patch,mark
+	bpatch patch1a_4,mem_patch1a
+	rtnmark1 mark_tx_l2cap		
+	call process_acl_dequeue
+	rtn blank
+	ifetcht 1,contru
+	call context_search_conn_handle2
+	nrtn zero						/* cannot find conn handle */
+	ifetch 1,contru
+	rshift4 pdata,pdata
+	and pdata,0x3,pdata //low 2 bits
+	nbranch process_send_acl_good_lch,blank
+	set1 1,pdata //BT2.0device donot know '00' lch
+process_send_acl_good_lch:
+	set1 2,pdata
+	store 1,mem_tx_lch
+	ifetch 2,contru
+	store 2,mem_tx_len				/* length */
+	deposit contru
+	store 2,mem_txptr
+	set1 mark_tx_l2cap,mark
+	bmark0 mark_context,process_acl_ncontext
+	fetch 1,mem_conn_handle
+	isub temp,null
+	nbranch process_acl_ncontext,zero
+	fetch 1,mem_op
+	set1 op_txl2cap,pdata
+	store 1,mem_op
+	rtn
+
+process_acl_ncontext:
+        increase coffset_op,rega                             
+        ifetch 1,rega
+        set1 op_txl2cap,pdata
+        istore 1,rega
+        rtn
+
+
+
+	
+process_hci_cmd:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_5,mem_patch1a
+	fetch 1,mem_hci_cmd
+	branch process_hci_cmd_cont,blank
+	enable user					/* last command still there */
+	rtn
+process_hci_cmd_cont:
+	call hci_send_ack
+	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_LINK_CONTROL,phci_grp_link_control
+	beq HCI_OGF_LINK_POLICY,phci_grp_link_policy
+	beq HCI_OGF_BASEBAND,phci_grp_baseband
+	beq HCI_OGF_INFO,phci_grp_info
+	beq HCI_OGF_STATUS,phci_grp_status
+	beq HCI_OGF_TEST,phci_grp_test
+	beq HCI_OGF_VENDOR_SPECIFIC,phci_grp_vendor_specific
+	beq HCI_OGF_LOW_ENERGY,phci_grp_low_energy
+	rtn
+
+
+phci_grp_link_control:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_6,mem_patch1a
+	deposit queue
+	beq HCI_INQUIRY,phci_inquiry 
+	beq HCI_INQUIRY_CANCEL,phci_inquiry_cancel 
+	beq HCI_PERIODIC_INQUIRY_MODE,hci_normal_reply
+	beq HCI_EXIT_PERIODIC_INQUIRY_MODE,hci_normal_reply
+	beq HCI_CREATE_CONNECTION,phci_create_connection 
+	beq HCI_DISCONNECT,phci_disconnect 
+	beq HCI_ADD_SCO_CONNECTION,hci_normal_reply
+	beq HCI_CREATE_CONNECTION_CANCEL,phci_create_connection_cancel
+	beq HCI_ACCEPT_CONNECTION,phci_accept_connection
+	beq HCI_REJECT_CONNECTION,phci_reject_connection
+	beq HCI_LINK_KEY_REQUEST_REPLY,phci_link_key_request_reply 
+	beq HCI_LINK_KEY_REQUEST_NEGATIVE_REPLY,phci_link_key_request_negative_reply 
+	beq HCI_PIN_CODE_REQUEST_REPLY,phci_pin_code_request_reply
+	beq HCI_PIN_CODE_REQUEST_NEGATIVE_REPLY,phci_pin_code_request_negative_reply
+	beq HCI_CHANGE_CONNECTION_PACKET_TYPE,phci_change_connection_packet_type
+	beq HCI_AUTHENTICATION_REQUESTED,phci_authentication_requested
+	beq HCI_SET_CONNECTION_ENCRYPTION,phci_set_connection_encryption
+	beq HCI_CHANGE_CONNECTION_LINK_KEY,hci_normal_reply
+	beq HCI_MASTER_LINK_KEY,hci_normal_reply
+	beq HCI_REMOTE_NAME_REQUEST,phci_remote_name_request 
+	beq HCI_READ_REMOTE_SUPPORTED_FEATURES,phci_read_remote_supported_features 
+	beq HCI_READ_REMOTE_EXT_FEATURES,phci_read_remote_ext_features 
+	beq HCI_READ_REMOTE_VERSION_INFORMATION,phci_read_remote_version_information
+	beq HCI_READ_CLOCK_OFFSET,phci_read_clock_offset
+	beq HCI_SETUP_SCO_CONNECTION,phci_setup_sco_connection
+	beq HCI_ACCEPT_SCO_CONNECTION,phci_accept_sco_connection
+	beq HCI_IO_CAP_REQUEST_REPLY,phci_io_cap_request_reply
+	branch phci_unknown_command
+
+
+phci_grp_link_policy:
+	set0 mark_ext_patch,mark
+	bpatch patch1a_7,mem_patch1a
+	deposit queue
+	beq HCI_ROLE_DISCOVERY,phci_role_discovery 
+	beq HCI_WRITE_LINK_POLICY_SETTINGS,phci_write_link_policy_settings
+	beq HCI_HOLD_MODE,hci_normal_reply
+	beq HCI_SNIFF_MODE,phci_sniff_mode
+	beq HCI_EXIT_SNIFF_MODE,phci_exit_sniff_mode
+	beq HCI_PARK_MODE,hci_normal_reply
+	beq HCI_EXIT_PARK_MODE,hci_normal_reply
+	beq HCI_QOS_SETUP,hci_normal_reply
+	beq HCI_SWITCH_ROLE,phci_switch_role
+	beq HCI_READ_LINK_POLICY_SETTINGS,hci_normal_reply
+	beq HCI_READ_DEFAULT_LINK_POLICY_SETTINGS,hci_normal_reply
+	beq HCI_WRITE_DEFAULT_LINK_POLICY_SETTINGS,hci_normal_reply
+	beq HCI_FLOW_SPECIFICATION,hci_normal_reply
+	beq HCI_SNIFF_SUBRATING,phci_sniff_subrating
+	branch phci_unknown_command
+
+phci_grp_baseband:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_0,mem_patch1b
+	deposit queue
+	beq HCI_SET_EVENT_MASK ,phci_set_event_mask
+	beq HCI_RESET ,hci_normal_reply
+	beq HCI_DELETE_STORED_LINK_KEY,phci_delete_stored_link_key 
+	beq HCI_WRITE_LOCAL_NAME,phci_change_local_name 
+	beq HCI_READ_LOCAL_NAME,phci_read_local_name 
+	beq HCI_WRITE_PAGE_TIMEOUT,phci_write_page_timeout 
+	beq HCI_READ_SCAN_ENABLE,phci_read_scan_enable 
+	beq HCI_WRITE_SCAN_ENABLE,phci_write_scan_enable 
+	beq HCI_WRITE_PAGE_SCAN_ACTIVITY,phci_write_page_scan_activity 
+	beq HCI_WRITE_INQUIRY_SCAN_ACTIVITY,phci_write_inquiry_scan_activity 
+	beq HCI_WRITE_AUTHENTICATION_ENABLE,phci_write_authentication_enable 
+	beq HCI_WRITE_ENCRYPTION_MODE,phci_write_encryption_mode
+	beq HCI_WRITE_CLASS_OF_DEVICE,phci_write_class_of_device 
+	beq HCI_WRITE_VOICE_SETTING,hci_normal_reply 
+	beq HCI_SET_CONTROLLER_TO_HOST_FLOW_CONTROL ,hci_normal_reply
+	beq HCI_HOST_BUFFER_SIZE,hci_normal_reply 
+	beq HCI_HOST_NUM_COMPLETED_PACKETS,phci_host_num_completed
+	beq HCI_WRITE_INQUIRY_SCAN_TYPE,hci_normal_reply 
+	beq HCI_WRITE_INQUIRY_MODE,hci_normal_reply 
+	beq HCI_WRITE_PAGE_SCAN_TYPE,hci_normal_reply 
+	beq HCI_READ_EXTENDED_INQUIRY_RESPONSE,phci_read_ext_inquiry_response
+	beq HCI_WRITE_SIMPLE_PAIRING_MODE,phci_write_ssp_mode 
+	branch phci_unknown_command
+
+phci_grp_info:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_1,mem_patch1b
+	deposit queue
+	beq HCI_READ_LOCAL_VERSION_INFORMATION,phci_read_local_version_information 
+	beq HCI_READ_LOCAL_SUPPORTED_FEATURES,phci_read_local_supported_features 
+	beq HCI_READ_LOCAL_EXT_FEATURES,phci_read_local_ext_features 
+	beq HCI_READ_BUFFER_SIZE,phci_read_buffer_size
+	beq HCI_READ_BD_ADDR,phci_read_bd_addr
+	branch phci_unknown_command
+
+phci_grp_status:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_2,mem_patch1b
+	deposit queue
+	beq HCI_READ_FAILED_CONTACT_COUNTER,hci_normal_reply
+	beq HCI_RESET_FAILED_CONTACT_COUNTER,phci_reset_failed_contact_counter
+	beq HCI_GET_LINK_QUALITY,phci_get_link_quality
+	beq HCI_READ_RSSI,phci_read_rssi
+	beq HCI_READ_AFH_CHANNEL_MAP,phci_read_afh_channel_map
+	beq HCI_READ_BD_CLOCK,phci_read_bd_clock
+	branch phci_unknown_command
+
+phci_grp_test:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_3,mem_patch1b
+	deposit queue
+	beq HCI_READ_LOOPBACK_MODE,hci_normal_reply
+	beq HCI_WRITE_LOOPBACK_MODE,hci_normal_reply
+	beq HCI_ENABLE_DEVICE_UNDER_TEST_MODE,hci_normal_reply
+	beq HCI_WRITE_SIMPLE_PAIRING_DEBUG_MODE,hci_normal_reply
+	branch phci_unknown_command
+	rtn
+
+phci_grp_vendor_specific:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_4,mem_patch1b
+	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
+	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:
+	//hjam 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
+phci_grp_vendor_patch_loop:
+	ifetch 1,contru
+	hstore 1,core_ucode_data
+	iadd temp,temp
+	loop phci_grp_vendor_patch_loop
+	and temp,0xff,temp
+	ifetch 1,contru
+	isub temp,null
+	nbranch phci_grp_vendor_patch_bad,zero
+	branch hci_normal_reply
+
+phci_grp_vendor_done:
+	arg 0x20,loopcnt    //patch switch length
+	arg mem_patch00,contw
+	arg 0,temp //checksum
+phci_grp_vendor_done_loop:
+	ifetch 1,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
+	hjam 0,core_ucode_ctrl
+	call hci_normal_reply
+	call h4_rx_discard_packet
+	branch soft_reset
+
+phci_grp_vendor_patch_bad:
+	hjam 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
+	
+
+
+
+
+phci_grp_low_energy:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_5,mem_patch1b
+	deposit queue
+	beq HCI_LE_SET_EVENT_MASK,hci_normal_reply
+	beq HCI_LE_READ_BUFFER_SIZE,phci_le_read_buffer_size
+	beq HCI_LE_READ_LOCAL_SUPPORTED_FEATURES,phci_le_read_local_supported_features
+	beq HCI_LE_SET_ADVERTISING_PARAMETERS,phci_le_set_adv_param
+	beq HCI_LE_SET_ADVERTISING_DATA, phci_le_set_adv_data
+	beq HCI_LE_SET_SCAN_RESPONSE_DATA,phci_le_set_scan_response_data
+	beq HCI_LE_SET_ADVERTISE_ENABLE,phci_le_set_adv_enable
+	beq HCI_LE_SET_SCAN_PARAMETERS,phci_le_set_scan_param
+	beq HCI_LE_SET_SCAN_ENABLE,phci_le_set_scan_enable
+	beq HCI_LE_CREATE_CONNECTION,phci_le_create_conn
+	beq HCI_LE_CREATE_CONNECTION_CANCEL,phci_le_create_conn_cancel
+	beq HCI_LE_READ_CHANNEL_MAP,phci_le_read_channel_map
+	beq HCI_LE_READ_REMOTE_USED_FEATURES,hci_command_status
+	beq HCI_LE_CONNECTION_UPDATE,hci_normal_reply
+	branch phci_unknown_command
+	rtn
+phci_le_read_buffer_size:
+	call hci_get_cmd_complete_ptr
+	setarg 0
+	istore 3,contwu
+	force 0x07,loopcnt
+	branch hci_command_complete
+
+phci_le_read_local_supported_features:
+	call hci_get_cmd_complete_ptr
+	setarg 1
+	istore 2,contwu
+	setarg 0
+	istore 6,contwu
+	force 0x0c,loopcnt
+	branch hci_command_complete
+
+phci_le_set_adv_param:
+	arg 15,loopcnt
+	arg mem_le_adv_param,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_le_set_adv_data:
+	arg 32,loopcnt
+	arg mem_le_adv_data_len,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_le_set_scan_response_data:
+	arg 32,loopcnt
+	arg mem_le_scan_data_len,contw
+	call uart_copy_rx_bytes
+	branch hci_normal_reply
+
+phci_le_set_adv_enable:
+	ifetch 1,contru
+	store 1,mem_le_adv_enable
+	branch hci_normal_reply
+	
+phci_le_set_scan_param:
+	ifetch 7,contru
+	store 7,mem_le_scan_params
+	branch hci_normal_reply
+	
+phci_le_set_scan_enable:
+	ifetch 1,contru
+	store 1,mem_le_scan_enable
+	branch hci_normal_reply
+
+phci_le_create_conn:
+	ifetch 4,contru //interval & window
+	store 4,mem_le_scan_interval
+	ifetch 1,contru
+	store 1,mem_le_scan_filter_policy
+	arg 20,loopcnt
+	arg mem_le_conn_param,contw
+	call uart_copy_rx_bytes
+	jam 1,mem_le_scan_enable
+	fetch 1,mem_le_conn_own_addr_type
+	store 1,mem_le_scan_own_addr_type
+	fetch 2,mem_le_conn_interval_max 
+	store 2,mem_le_conn_interval
+	fetch 2,mem_le_conn_latency
+	store 2,mem_le_slave_latency
+	fetch 2,mem_le_conn_superto
+	store 2,mem_le_superto
+	jam hci_cmd_le_create_conn,mem_hci_cmd
+	branch hci_command_status
+
+phci_le_create_conn_cancel:
+
+	branch hci_normal_reply
+	
+phci_le_read_channel_map:
+	call hci_get_cmd_complete_ptr
+	ifetch 2,contru
+	istore 2,contwu
+	setarg 0x1fffff
+	istore 5,contwu
+	force 0x0b,loopcnt
+	branch hci_command_complete
+	
+
+
+
+phci_host_num_completed:
+	ifetch 3,contru
+	ifetcht 3,contru
+	fetch 2,mem_acl_credits
+	iadd temp,pdata  
+	store 2,mem_acl_credits
+	rtn
+
+phci_inquiry:
+	ifetch 3,contru
+	store 3,mem_glap
+do_at_inquiry0:
+	jam hci_cmd_inquiry,mem_hci_cmd
+	ifetch 1,contru
+	arg 1600,temp
+	imul32 temp,pdata
+	arg 0xffff,temp
+	isub temp,null
+	nbranch phci_inquiry_nowrap,positive
+	deposit temp
+phci_inquiry_nowrap:
+	force inquiry_length_timer,queue
+	call timer_init
+	fetch 1,mem_at_using_flag
+	bbit1 AT_FLAG_INQ,at_rev_end
+	branch hci_command_status
+	
+	
+phci_inquiry_cancel:
+	jam hci_cmd_inquiry_cancel,mem_hci_cmd
+	branch hci_normal_reply
+
+phci_create_connection:
+	call phci_read_plap
+	ifetch 2,contru
+	store 2,mem_packet_type
+	ifetch 2,contru
+	store 1,mem_page_mode
+	call phci_read_clock
+	ifetch 1,contru
+	store 1,mem_allow_switch
+	jam hci_cmd_create_conn,mem_hci_cmd
+	branch hci_command_status
+
+
+phci_disconnect:
+	jam hci_cmd_disconn,mem_hci_cmd
+	ifetch 2,contru
+	store 1,mem_hci_conn_handle
+	ifetch 1,contru
+	store 1,mem_disconn_reason_send
+	jam HCI_ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST,mem_hci_disconn_reason
+	fetch 1,mem_hci_conn_handle
+	fetcht 1,mem_sco_handle
+	isub temp,null
+	nbranch hci_command_status,zero
+	jam hci_cmd_disconn_sco,mem_hci_cmd
+	fetch 1,mem_sco_asso_handle
+	store 1,mem_hci_conn_handle
+	branch hci_command_status
+	
+phci_create_connection_cancel:
+	call hci_get_cmd_complete_ptr
+	call hci_write_plap
+	force 10,loopcnt
+	call hci_command_complete
+	//connection cancel 
+	jam hci_cmd_detach,mem_hci_cmd
+	force HCI_ERROR_NO_CONNECTION,temp
+	branch hci_send_connection_error
+
+phci_link_key_request_reply:
+	call phci_read_plap
+	arg mem_link_key,contw
+	force 16,loopcnt
+	call uart_copy_rx_bytes
+	jam hci_cmd_linkkey,mem_hci_cmd
+	branch phci_pin_code_reply
+
+phci_link_key_request_negative_reply:
+	call phci_read_plap
+	jam hci_cmd_nokey,mem_hci_cmd
+	branch phci_pin_code_reply
+
+phci_pin_code_request_reply:
+	call phci_read_plap
+	ifetch 1,contru
+	store 1,mem_pin_length
+	iforce loopcnt
+	arg mem_pin,contw
+	call uart_copy_rx_bytes
+	jam hci_cmd_pair,mem_hci_cmd
+	branch phci_pin_code_reply
+
+phci_pin_code_request_negative_reply:
+	call phci_read_plap
+	jam hci_cmd_nopair,mem_hci_cmd
+phci_pin_code_reply:
+	call hci_get_cmd_complete_ptr
+	call hci_write_plap
+	force 10,loopcnt
+	branch hci_command_complete
+
+phci_io_cap_request_reply:
+	//BD_ADDR, IO_Capability, 
+	increase 6,contru
+	ifetch 3,contru
+	store 3,mem_sp_iocap_local
+	fetch 1,mem_master_sp_state
+	beq SP_MASTER_STAT_START_DONE,phci_io_cap_request_reply_master
+	beq SP_STAT_KEY_SEND,phci_io_cap_request_reply_master
+	jam hci_cmd_io_cap,mem_hci_cmd
+	branch phci_io_cap_request_reply_commom
+phci_io_cap_request_reply_master:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+phci_io_cap_request_reply_commom:
+	call hci_get_cmd_complete_ptr
+	call hci_write_plap
+	force 10,loopcnt
+	branch hci_command_complete
+	
+
+phci_authentication_requested:
+	call phci_read_handle
+	jam hci_cmd_auth,mem_hci_cmd
+	branch hci_command_status
+
+phci_set_connection_encryption:
+	call phci_read_handle
+	ifetch 1,contru
+	increase hci_cmd_stopencrypt,pdata
+	store 1,mem_hci_cmd
+	branch hci_command_status
+
+phci_remote_name_request:
+	call phci_read_plap
+	ifetch 2,contru
+	store 1,mem_page_mode
+	call phci_read_clock
+	jam hci_cmd_remote_name_req,mem_hci_cmd
+	branch hci_command_status
+	
+phci_read_remote_ext_features:
+	ifetch 2,contru
+	ifetch 1,contru
+	store 1, mem_ext_features_page
+	jam hci_cmd_remote_ext_features_req,mem_hci_cmd
+	branch hci_command_status
+
+phci_read_remote_supported_features:
+	//if no handle,need send err status
+	fetch 1,mem_conn_handle
+	force HCI_ERROR_NO_CONNECTION,rega
+	branch hci_command_status_err,blank
+	call phci_read_handle
+	jam hci_cmd_remote_feature_req,mem_hci_cmd
+	branch hci_command_status
+
+
+phci_read_remote_version_information:
+	//if no handle,need send err status
+	fetch 1,mem_conn_handle
+	force HCI_ERROR_NO_CONNECTION,rega
+	branch hci_command_status_err,blank
+	call phci_read_handle
+	jam hci_cmd_remote_version_req,mem_hci_cmd
+	branch hci_command_status
+
+
+phci_read_clock_offset:
+	call phci_status_reply_temp
+	force HCI_EVENT_READ_CLOCK_OFFSET_COMPLETE,queue
+	force 5,loopcnt
+	branch hci_send_event
+
+phci_setup_sco_connection:
+	call phci_read_handle
+	increase 10,contru
+	ifetch 2,contru
+	store 2,mem_voice_setting
+	ifetch 1,contru
+	store 1,mem_retransmission_effort
+	ifetch 2,contru
+	store 2,mem_sco_ptype
+	jam 2,mem_air_mode				/* cvsd */
+	jam hci_cmd_setup_sco,mem_hci_cmd
+	branch hci_command_status
+
+phci_accept_sco_connection:
+	jam hci_cmd_accept_sco_conn,mem_hci_cmd
+	branch hci_command_status	
+	
+	
+	
+phci_read_local_name:
+	call hci_get_cmd_complete_ptr
+	arg mem_local_name,contr
+	sub contr,0xff,loopcnt
+	call uart_copy_tx_bytes
+	force 0,pdata
+	sub contr,mem_local_name,loopcnt
+	increase 0xf8,loopcnt
+	call uart_write_bytes
+	force 0xfc,loopcnt
+	branch hci_command_complete
+	
+phci_change_local_name:
+	arg mem_local_name,contw
+	sub contw,0xff,loopcnt
+phci_change_local_name_loop:
+	ifetch 1,contru
+	istore 1,contw
+	branch phci_write_local_name_end,blank
+	loop phci_change_local_name_loop
+phci_write_local_name_end:
+	sub contw,mem_local_name,pdata
+	sub pdata,0,pdata
+	store 1,mem_local_name_length
+	branch hci_normal_reply
+
+phci_role_discovery:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	force 0,pdata
+	nsetflag master,0,pdata
+	istore 1,contwu
+	force 7,loopcnt
+	arg 0x809,alarm				/* role discovery */
+	call hci_command_complete
+	branch cmd_exit
+	jam hci_cmd_role_discovery,mem_hci_cmd
+	rtn
+
+
+phci_write_link_policy_settings:
+	call phci_copy_handle
+	force 6,loopcnt
+	branch hci_command_complete
+
+
+phci_delete_stored_link_key:
+	branch hci_normal_reply
+
+phci_write_page_timeout:
+	ifetch 2,contru
+	store 2,mem_page_to
+	branch hci_normal_reply
+
+	
+phci_write_scan_enable:
+	ifetch 1,contru
+	store 1,mem_scan_mode
+	branch hci_normal_reply
+
+phci_write_page_scan_activity:
+	ifetch 2,contru
+	store 2,mem_pscan_interval
+	ifetch 2,contru
+	store 2,mem_pscan_window
+	branch hci_normal_reply
+
+phci_write_inquiry_scan_activity:
+	ifetch 2,contru
+	store 2,mem_iscan_interval
+	ifetch 2,contru
+	store 2,mem_iscan_window
+	branch hci_normal_reply
+
+phci_write_encryption_mode:
+	branch hci_normal_reply
+
+	
+phci_write_authentication_enable:
+	ifetch 1,contru
+	store 1,mem_auth_enable
+	branch hci_normal_reply
+
+phci_write_class_of_device:
+	ifetch 3,contru
+	store 3,mem_class
+	branch hci_normal_reply
+
+
+
+
+phci_read_ext_inquiry_response:
+	deposit temp
+	branch hci_normal_reply,blank
+	call hci_get_payload_ptr
+	force 0x1,pdata
+	istore 1,contwu
+	deposit alarm
+	istore 2,contwu
+	force HCI_ERROR_INVALID_HCI_COMMAND_PARAMETERS,pdata
+	istore 1,contwu
+	setarg 0
+	increase 0xf1,loopcnt
+	call uart_write_bytes
+	
+	force HCI_EVENT_COMMAND_COMPLETE,queue
+	force 0xf5,loopcnt
+	branch hci_send_event
+
+
+	
+phci_write_ssp_mode:
+	ifetch 1,contru
+	ncall ssp_enable,blank
+	call ssp_disable,blank
+	branch hci_normal_reply
+
+phci_read_scan_enable:
+	call hci_get_cmd_complete_ptr
+	fetch 1,mem_scan_mode
+	istore 1,contwu
+	force 5,loopcnt
+	branch hci_command_complete
+
+phci_read_local_version_information:
+	call hci_get_cmd_complete_ptr
+	fetch 8,mem_hci_version
+	istore 8,contwu
+	force 12,loopcnt
+	branch hci_command_complete
+
+phci_read_local_supported_features:
+	call hci_get_cmd_complete_ptr
+	fetch 8,mem_features
+	istore 8,contwu
+	force 12,loopcnt
+	branch hci_command_complete
+	
+phci_read_local_ext_features:
+	call hci_get_cmd_complete_ptr
+	setarg 0x0101	// page 1, and max page is 1
+	istore 2,contwu
+	setarg 0x01		// only support ssp
+	istore 8,contwu
+	force 14,loopcnt
+	branch hci_command_complete
+
+phci_read_buffer_size:
+	call hci_get_cmd_complete_ptr
+	fetch 7,mem_acl_pktlen
+	istore 7,contwu
+	force 11,loopcnt
+	branch hci_command_complete
+	
+phci_read_bd_addr:
+	call hci_get_cmd_complete_ptr
+	fetch 6,mem_lap
+	istore 6,contwu
+	force 10,loopcnt
+	branch hci_command_complete
+
+phci_set_event_mask:
+	branch hci_normal_reply
+
+//NO SUPPUT
+phci_reset_failed_contact_counter:
+	branch hci_normal_reply
+phci_get_link_quality:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	setarg 0xff
+	istore 1,contwu
+	force 7,loopcnt
+	branch hci_command_complete
+	
+phci_read_rssi:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	setarg 0x00
+	istore 1,contwu
+	force 7,loopcnt
+	branch hci_command_complete
+	
+phci_read_afh_channel_map:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_6,mem_patch1b
+	branch hci_normal_reply
+phci_read_bd_clock:
+	set0 mark_ext_patch,mark
+	bpatch patch1b_7,mem_patch1b
+	branch hci_normal_reply
+
+
+
+
+phci_accept_connection:
+	call phci_read_plap
+	jam hci_cmd_accept_conn,mem_hci_cmd
+	ifetch 1,contru
+	beq 1,hci_command_status	//1 role slave
+	jam hci_cmd_accept_with_switch,mem_hci_cmd
+	branch hci_command_status
+		
+phci_reject_connection:
+	branch phci_accept_connection
+	call phci_read_plap
+	jam hci_cmd_reject_conn,mem_hci_cmd
+	branch hci_normal_reply
+	
+phci_change_connection_packet_type:
+	call hci_command_status
+	call hci_get_payload_ptr
+	setarg 0
+	istore 1,contwu
+	ifetch 4,contru
+	istore 4,contwu
+	force 8,loopcnt
+	arg HCI_EVENT_CONNECTION_PACKET_TYPE_CHANGED,queue
+	arg 5,loopcnt
+	branch hci_send_event
+
+phci_unknown_command:
+	force HCI_ERROR_UNKNOWN_HCI_COMMAND,rega
+	branch hci_command_status_err
+	
+phci_sniff_mode:
+//	force HCI_ERROR_COMMAND_DISALLOWED,rega
+//	branch hci_command_status_err
+	call phci_read_handle
+	ifetch 2,contru
+	store 2,mem_sniff_param_interval
+	ifetch 2,contru
+	store 2,mem_hci_sniff_min_interval
+	ifetch 2,contru
+	store 2,mem_sniff_param_attempt
+	ifetch 2,contru
+	store 2,mem_sniff_param_timeout
+	jam hci_cmd_in_sniff,mem_hci_cmd
+	branch hci_command_status
+	
+phci_exit_sniff_mode:
+	call phci_read_handle
+	call exit_sniff
+	branch hci_command_status
+
+exit_sniff:
+	jam hci_cmd_exit_sniff,mem_hci_cmd
+	rtn
+
+phci_sniff_subrating:
+	branch hci_normal_reply
+	
+phci_switch_role:
+	call phci_read_plap
+	jam hci_cmd_role_switch,mem_hci_cmd
+	branch hci_command_status
+
+phci_read_plap:
+	ifetch 6,contru
+	store 6,mem_hci_plap
+	rtn
+
+phci_read_handle:
+	ifetch 2,contru
+	store 1,mem_hci_conn_handle
+	rtn
+
+phci_copy_handle:
+	call phci_read_handle
+	call hci_get_cmd_complete_ptr
+	fetch 1,mem_hci_conn_handle
+	istore 2,contwu
+	rtn
+
+
+	/* TODO: should be replaced with real job */
+phci_status_reply_temp:
+	call phci_read_handle
+	call hci_command_status
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+	fetch 1,mem_hci_conn_handle
+	istore 2,contwu
+	rtn
+	
+phci_read_clock:
+	ifetch 2,contru
+	iadd clkn_bt,pdata
+	and_into 0x1fc,pdata
+	store 4,mem_page_clk
+	rtn
+
+hci_inquiry_reply:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_0,mem_patch1c
+	fetch 1,mem_rp_packets
+	sub pdata,2,null
+	nrtn positive
+	fetcht 6,extm_lap
+	call context_search_plap2
+	rtn zero
+	call hci_get_packet_ptr
+	setarg 0x10f22
+	istore 3,contwu
+	fetch 6,extm_lap
+	istore 6,contwu
+	fetch 1, extm_fhs_misc
+	copy pdata, temp
+	rshift3 pdata, pdata
+	rshift3 pdata, pdata
+	istore 1,contwu
+	copy temp, pdata
+	and pdata,0x30,pdata
+	rshift3 pdata, pdata
+	rshift pdata, pdata
+	istore 1,contwu
+	fetch 3, extm_class
+	istore 3,contwu
+	fetch 4,mem_clke_bt
+	isub clkn_bt,pdata
+	istore 2,contwu
+	setarg 0xc8
+	istore 1,contwu
+	force 15,loopcnt
+	branch hci_send_event_raw
+	
+hci_inquiry_reply_eir:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_1,mem_patch1c
+	force 540,temp
+	fetch 2,mem_h5tx_free
+	isub temp,null
+	nrtn positive
+	fetcht 3,mem_extm_uap_restore
+	fetch 3,extm_uap
+	isub temp,null
+	rtn zero
+	rtn blank
+	store 3,mem_extm_uap_restore
+	fetch 1,mem_rp_packets
+	sub pdata,2,null
+	nrtn positive
+	fetcht 6,extm_lap
+	call context_search_plap2
+	rtn zero
+	call hci_eir_reply
+	force 15,temp
+	fetch 1,mem_rxbuf+1
+	bne 0x09,hci_inquiry_reply_eir_end
+	fetch 1,mem_rxbuf
+	branch hci_inquiry_reply_eir_end,blank
+	iforce loopcnt
+	istore 1,contwu
+	iadd temp,temp
+	increase 1,temp
+	arg mem_rxbuf+1,contr
+	//increase 1,contr
+hci_inquiry_name_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop hci_inquiry_name_loop
+hci_inquiry_other_rtn_loop:
+	ifetch 1,contr
+	branch hci_inquiry_reply_eir_end,blank
+	iforce loopcnt
+	istore 1,contwu
+	iadd temp,temp
+	increase 1,temp
+hci_inquiry_other_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop hci_inquiry_other_loop
+	branch hci_inquiry_other_rtn_loop	
+hci_inquiry_reply_eir_end:
+	sub temp,0xff,pdata
+	iforce loopcnt
+hci_inquiry_fill_zero:
+	setarg 0x00
+	istore 1,contwu
+	loop hci_inquiry_fill_zero
+	force 0xff,loopcnt
+	branch hci_send_event_raw
+	
+hci_eir_reply:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_2,mem_patch1c
+	call hci_get_packet_ptr
+	setarg 0x1ff2f
+	istore 3,contwu
+	fetch 6,extm_lap
+	istore 6,contwu
+	fetch 1, extm_fhs_misc
+	copy pdata, temp
+	rshift3 pdata, pdata
+	rshift3 pdata, pdata
+	istore 1,contwu
+	copy temp, pdata
+	and pdata,0x30,pdata
+	rshift3 pdata, pdata
+	rshift pdata, pdata
+	istore 1,contwu
+	fetch 3, extm_class
+	istore 3,contwu
+	fetch 4,mem_clke_bt
+	isub clkn_bt,pdata
+	istore 2,contwu
+	setarg 0xc8
+	istore 1,contwu
+	rtn
+	/* temp is features */
+hci_send_remote_features:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_3,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	istoret 8,contwu
+	force 11,loopcnt
+	force HCI_EVENT_READ_REMOTE_FEATURES_COMPLETE,queue
+	branch hci_send_event
+
+hci_send_remote_ext_features_notification:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_4,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	// BDaddr, Extended_LMP_Features
+	call hci_get_payload_ptr
+	fetch 6,mem_plap
+	istore 6,contwu
+	istoret 8,contwu// 8 bytes remote ext feature saved in temp reg
+	force 14,loopcnt
+	force HCI_EVENT_REMOTE_HOST_SUPPORTED_FEATURES_NOTIFICATION,queue
+	branch hci_send_event	
+	
+hci_send_remote_ext_features_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_5,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	//Status, Connection_Handle, Page_Number, Maximum page number, Extended_LMP_Features
+	call hci_write_handle3
+	fetch 1,mem_ext_features_page
+	istore 1,contwu
+	setarg 1
+	istore 1,contwu
+	istoret 8,contwu// 8 bytes remote ext feature saved in temp reg
+	force 13,loopcnt
+	force HCI_EVENT_READ_REMOTE_EXT_FEATURES_COMPLETE,queue
+	branch hci_send_event	
+
+	/* temp is version */
+hci_send_version_information:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_6,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	istoret 5,contwu
+	force 8,loopcnt
+	force HCI_EVENT_READ_REMOTE_VERSION_INFORMATION_COMPLETE,queue
+	branch hci_send_event
+
+hci_send_io_cap_response_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1c_7,mem_patch1c
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	// BD_ADDR, IO_Capability,
+	call hci_get_payload_ptr
+	fetch 6,mem_plap
+	istore 6,contwu
+	fetch 3,mem_sp_iocap_remote
+	istore 3,contwu
+	force 9,loopcnt
+	force HCI_EVENT_IO_CAP_RESPONSE,queue
+	branch hci_send_event	
+
+hci_send_io_cap_req_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_0,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	// BD_ADDR
+	call hci_get_payload_ptr
+	fetch 6,mem_plap
+	istore 6,contwu
+	force 6,loopcnt
+	force HCI_EVENT_IO_CAP_REQ,queue
+	branch hci_send_event	
+
+	
+hci_send_connection_complete:
+	force 0,temp
+hci_send_connection_error:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_1,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_CONNECTION_COMPLETE,queue
+	jam 5,mem_acl_credits
+	call hci_get_payload_ptr
+	istoret 1,contwu
+	call hci_write_handle
+	call hci_write_plap
+	force 1,pdata				/* connection type=1:ACL */
+	istore 1,contwu
+	force 0,pdata
+	fetcht 1,mem_state_map
+	isolate1 smap_encryption,temp
+	setflag true,0,pdata
+	istore 1,contwu
+	force 11,loopcnt
+	branch hci_send_event
+
+	/* temp is connection type 0=sco,1=acl */
+hci_send_conn_req_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_2,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_CONNECTION_REQUEST,queue
+	call hci_get_payload_ptr
+	call hci_write_plap
+	// class of device
+	fetch 3,extm_class
+	istore 3,contwu
+	istoret 1,contwu
+	force 10,loopcnt
+	branch hci_send_event
+
+hci_send_encryption_change:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_3,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	force 0,pdata
+	fetcht 1,mem_state_map
+	isolate1 smap_encryption,temp
+	setflag true,0,pdata
+	istore 1,contwu
+	force HCI_EVENT_ENCRYPTION_CHANGE_COMPLETE,queue
+	force 4,loopcnt
+	branch hci_send_event
+
+
+hci_send_linkkey_notification:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_4,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_LINK_KEY_NOTIFICATION,queue
+	call hci_get_payload_ptr
+	call hci_write_plap
+	arg mem_link_key,contr
+	force 16,loopcnt
+	call uart_copy_tx_bytes
+	force 0x05,pdata
+	istore 1,contwu
+	force 0x17,loopcnt
+	branch hci_send_event
+
+hci_send_user_confirmation_req:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_USER_CONFIRMATION_REQUEST,queue
+	call hci_get_payload_ptr
+	call hci_write_plap
+	fetch 4,mem_sp_gkey
+	istore 4,contwu
+	force 0xa,loopcnt
+	branch hci_send_event
+
+hci_send_ssp_complete:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_SIMPLE_PAIRING_COMPLETE,queue
+	call hci_get_payload_ptr
+	setarg 0
+	istore 1,contwu
+	call hci_write_plap
+	force 0x7,loopcnt
+	branch hci_send_event
+
+
+hci_send_linkkey_req:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_5,mem_patch1d
+	force HCI_EVENT_LINK_KEY_REQUEST,queue
+hci_send_sec_req:	/* used by linkkey and pin req */
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_get_payload_ptr
+	call hci_write_plap
+	force 6,loopcnt
+	branch hci_send_event
+
+hci_send_pincode_req:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_PIN_CODE_REQUEST,queue
+	branch hci_send_sec_req
+
+	/* temp=role */
+hci_send_role_change:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_ROLE_CHANGE,queue
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+	call hci_write_plap
+	istoret 1,contwu
+	force 8,loopcnt
+	branch hci_send_event
+
+hci_send_role_change_err:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force 0,temp
+	nbranch hci_send_role_change_err_slave,master
+	force 1,temp
+hci_send_role_change_err_slave:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	force HCI_EVENT_ROLE_CHANGE,queue
+	call hci_get_payload_ptr
+	force 0x35,pdata
+	istore 1,contwu
+	call hci_write_plap
+	istoret 1,contwu
+	force 8,loopcnt
+	branch hci_send_event
+
+hci_send_name:	/* queue is error code */
+	set0 mark_ext_patch,mark
+	bpatch patch1d_6,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_get_packet_ptr
+	setarg 0xff07
+	istore 2,contwu
+	deposit queue
+	istore 1,contwu
+	call hci_write_plap
+	arg mem_tmp_buffer,contr
+	force 248,loopcnt
+hci_read_remote_name_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop hci_read_remote_name_loop
+	force 0xff,loopcnt
+	branch hci_send_event_raw
+
+hci_send_num_complete_packets:
+	set0 mark_ext_patch,mark
+	bpatch patch1d_7,mem_patch1d
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	hfetch 1,core_uart_txitems
+	nrtn blank
+	fetch 1,mem_op
+	rtnbit0 op_pkt_comp
+	set0 op_pkt_comp,pdata
+	store 1,mem_op
+	call hci_get_payload_ptr
+	force 1,pdata
+	istore 1,contwu
+	call hci_write_handle
+	force 1,pdata
+	istore 2,contwu
+	force HCI_EVENT_NUM_COMPLETED_PACKETS,queue
+	force 5,loopcnt
+	branch hci_send_event
+
+
+
+hci_send_auth_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_0,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_write_handle3
+	force HCI_EVENT_AUTHENTICATION_COMPLETE,queue
+	force 3,loopcnt
+	branch hci_send_event
+
+
+	/* temp is connection handle */
+hci_send_disconn_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_1,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+	istoret 2,contwu
+	fetch 1,mem_hci_disconn_reason
+	istore 1,contwu
+	force HCI_EVENT_DISCONNECTION_COMPLETE,queue
+	force 4,loopcnt
+	branch hci_send_event
+
+
+hci_send_le_adv_report_event:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_2,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci,pdata
+	call hci_get_payload_ptr
+	setarg 0x0102//HCI_LE_SUBEVENT_ADV_REPORT + report number
+	istore 2,contwu
+	fetcht 1,mem_le_rxbuf
+	and temp,0xf,pdata//PDU type
+	istore 1,contwu
+	copy rega,pdata//advertiser address type
+	istore 1,contwu
+	fetcht 1,mem_le_rxbuf+1//payload length
+	increase -6,temp//data_len = payload length -6;
+	fetch 6,mem_le_rxbuf+2 //advertiser address
+	istore 6,contwu
+	istoret 1,contwu//data_len
+	copy temp,loopcnt 
+	call uart_copy_tx_bytes //copy adv data
+	setarg 127// RSSI not available
+	istore 1,contwu
+	copy temp,loopcnt
+	add loopcnt,12,loopcnt //payload_len = data_len + 12;
+	force HCI_EVENT_LE_META_EVENT,queue
+	branch hci_send_event
+	
+hci_send_le_conn_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_3,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci,pdata
+	call hci_get_payload_ptr
+	setarg HCI_LE_SUBEVENT_CONN_COMPLETE
+	istore 1,contwu
+	istoret 1,contwu //status
+	fetch 1,mem_le_conn_handle
+	istore 2,contwu//handle
+	fetch 1,mem_le_mode
+	rshift pdata,pdata
+	setflip 0,pdata
+	istore 1,contwu//role:0 master,1 slave
+	fetch 1,mem_le_conn_peer_addr_type
+	istore 1,contwu//peer addr & type
+	fetch 6,mem_le_plap
+	istore 6,contwu
+	fetch 2,mem_le_conn_interval// interval & latency & super to
+	istore 2,contwu// interval & latency & super to
+	fetch 2,mem_le_slave_latency
+	istore 2,contwu
+	fetch 2,mem_le_superto
+	istore 2,contwu
+	fetch 1,mem_le_peer_sca
+	istore 1,contwu//Master_Clock_Accuracy
+	force HCI_EVENT_LE_META_EVENT,queue
+	arg 19,loopcnt
+	branch hci_send_event
+
+
+	/* temp is mode */	
+hci_send_mode_change:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_4,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	//storet 1,mem_lpm_mode
+	call hci_get_payload_ptr
+	call hci_write_handle3
+	istoret 1,contwu
+	fetch 2,mem_tsniff
+	rshift pdata,pdata
+	istore 2,contwu
+	force 6,loopcnt
+	force HCI_EVENT_MODE_CHANGE,queue
+	branch hci_send_event
+	
+	/* temp is status,hansdle of sco on hci is 0xe00 */
+hci_send_sco_complete:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_5,mem_patch1e
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	set0 mark_ext_patch,mark
+	bpatch patch1e_6,mem_patch1e
+	call hci_get_payload_ptr
+	istoret 1,contwu
+	setarg 0xe00
+	istore 2,contwu
+	call hci_write_plap
+	force 0,pdata
+	bmark1 mark_esco,hci_send_esco
+	force 0,pdata
+	istore 7,contwu
+	branch hci_send_sco_cont
+hci_send_esco:
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	setarg 0x020602
+	istore 3,contwu
+	setarg 30
+	istore 2,contwu
+	setarg 30
+	istore 2,contwu
+hci_send_sco_cont:	
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci
+	fetch 1,mem_air_mode
+	istore 1,contwu
+	force HCI_EVENT_SCO_CONNECTION_COMPLETE,queue
+	force 17,loopcnt
+	branch hci_send_event
+
+
+hci_command_status:
+	set0 mark_ext_patch,mark
+	bpatch patch1e_7,mem_patch1e
+	call hci_get_payload_ptr
+	setarg 0x100
+	istore 2,contwu
+	deposit alarm
+	istore 2,contwu
+	force 4,loopcnt
+	force HCI_EVENT_COMMAND_STATUS,queue
+	branch hci_send_event
+	
+hci_command_status_err:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_0,mem_patch1f
+	call hci_get_payload_ptr
+	deposit rega	/*err type in rega*/
+	istore 1,contwu
+	setarg 0x01
+	istore 1,contwu
+	deposit alarm
+	istore 2,contwu
+	force 4,loopcnt
+	force HCI_EVENT_COMMAND_STATUS,queue
+	branch hci_send_event
+	
+hci_normal_reply:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_1,mem_patch1f
+	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 */
+	set0 mark_ext_patch,mark
+	bpatch patch1f_2,mem_patch1f
+	call hci_get_packet_ptr
+	deposit queue
+	istore 1,contwu
+	deposit loopcnt
+	istore 1,contwu
+hci_send_event_raw:
+	set1 mark_h5tx_rp,mark
+	force 5,queue
+	increase 2,loopcnt
+hci_send_packet:
+	call hci_check_bcsp_protocol
+	branch bcsp_send_packet,true
+	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_write_plap:
+	fetch 6,mem_plap
+	istore 6,contwu
+	rtn
+
+hci_write_handle3:
+	call hci_get_payload_ptr
+	force 0,pdata
+	istore 1,contwu
+hci_write_handle:
+	fetch 1,mem_conn_handle
+	istore 2,contwu
+	rtn
+
+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:
+	call hci_check_bcsp_protocol
+	branch bcsp_get_tx_ptr,true
+	branch h4_get_tx_ptr
+
+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:
+	deposit loopcnt
+	rtn blank
+uart_copy_rx_bytes_loop:
+	ifetch 1,contru
+	istore 1,contw
+	loop uart_copy_rx_bytes_loop
+	rtn
+
+uart_write_bytes:
+	istore 1,contwu
+	rshift8 pdata,pdata
+	loop uart_write_bytes
+	rtn
+	
+
+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
+
+stop_loop:
+	nop 1
+	hjam 1,0x8203
+	branch stop_loop
+
+
+
+process_cmd:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_3,mem_patch1f
+	fetch 1,mem_hci_cmd
+	rtn blank
+	fetch 1,mem_lmo_opcode2
+	nrtn blank
+	call cmd_check_plap
+	nbranch process_cmd_conn_handle,zero
+	fetch 1,mem_hci_cmd
+	beq hci_cmd_remote_name_req,cmd_namereq
+	beq hci_cmd_pair,cmd_pair
+	beq hci_cmd_nopair,cmd_nopair
+	beq hci_cmd_linkkey,cmd_has_key
+	beq hci_cmd_nokey,cmd_no_key
+	beq hci_cmd_reject_conn,cmd_disconn
+	beq hci_cmd_role_switch,cmd_role_switch
+	beq hci_cmd_accept_conn,cmd_accept_conn
+	beq hci_cmd_accept_with_switch,cmd_accept_with_switch
+	beq hci_cmd_detach,cmd_detach
+	beq hci_cmd_in_sniff,cmd_in_sniff
+	beq hci_cmd_exit_sniff,cmd_exit_sniff
+process_cmd_conn_handle:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_4,mem_patch1f
+	call cmd_check_handle
+	nrtn blank
+	fetch 1,mem_hci_cmd
+	beq hci_cmd_auth,cmd_auth
+	beq hci_cmd_startencrypt,cmd_start_encrypt
+	beq hci_cmd_stopencrypt,cmd_stop_encrypt
+	beq hci_cmd_setup_sco,cmd_setup_sco
+	beq hci_cmd_disconn_sco,cmd_disconn_sco
+	beq hci_cmd_accept_sco_conn,cmd_accept_sco_conn
+	beq hci_cmd_remote_feature_req,cmd_feature_req
+	beq hci_cmd_remote_ext_features_req,cmd_ext_feature_req
+	beq hci_cmd_remote_version_req,cmd_version_req
+	beq hci_cmd_role_discovery,cmd_role_discovery
+	beq hci_cmd_io_cap,cmd_io_cap
+	rtnne hci_cmd_disconn
+	call lmp_disconnect
+cmd_exit:
+	jam 0,mem_hci_cmd
+	rtn
+
+cmd_check_plap:
+	fetch 6,mem_hci_plap
+	fetcht 6,mem_plap
+	isub temp,null
+	rtn
+
+	/* return pdata=0 if handle match */
+cmd_check_handle:
+	fetch 1,mem_hci_conn_handle
+	fetcht 1,mem_conn_handle
+	isub temp,pdata
+	rtn
+
+cmd_accept_conn:
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_HOST_CONNECTION_REQ,mem_lmi_opcode2
+	call tid_set_reply
+	branch cmd_exit
+
+cmd_accept_with_switch:
+	branch cmd_accept_sco_conn,master
+	set1 mark_accept_switch,mark
+cmd_role_switch:
+	jam LMP_SLOT_OFFSET,mem_lmo_opcode2
+	set1 mark_switch_initiated,mark
+	nbranch cmd_exit,master
+	jam LMP_SWITCH_REQ ,mem_lmo_opcode2
+	fetch 1,mem_connection_options
+	set0 CONNECTION_SWITCH,pdata
+	store 1,mem_connection_options
+	branch cmd_exit
+
+	
+cmd_namereq:
+	jam LMP_NAME_REQ,mem_lmo_opcode2
+	jam 0,mem_name_offset
+	branch cmd_exit
+	
+//enable ssp master sm
+cmd_ssp:
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	jam SP_MASTER_STAT_START_SKIP,mem_master_sp_state
+	branch cmd_exit
+	
+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
+	
+cmd_nopair:
+	jam PAIRING_NOT_ALLOWED,mem_disconn_reason_send
+	jam LMP_DETACH,mem_lmo_opcode2
+	fetch 1,mem_state
+	bbit1 state_inconn,cmd_exit
+	force HCI_ERROR_PAIRING_NOT_ALLOWED,temp
+	call hci_send_connection_error
+	branch cmd_exit
+
+	
+cmd_has_key:
+	call linkkey_set
+	fetch 1,mem_op
+	bbit1 op_auth_req,cmd_send_aurand
+	bbit1 op_send_sres,cmd_send_sres
+	bbit1 op_inrand_req,cmd_pair_passive
+	branch cmd_exit
+cmd_send_sres:
+	set0 op_send_sres,pdata
+	store 1,mem_op
+	jam LMP_SRES,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_no_key:
+	fetch 1,mem_op
+	bbit1 op_send_sres,cmd_no_key_reject
+	call hci_send_pincode_req
+	branch cmd_exit
+cmd_no_key_reject:
+	set0 op_send_sres,pdata
+	store 1,mem_op
+	jam LMP_NOT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_AU_RAND,mem_lmi_opcode2
+	jam KEY_MISSING,mem_lmo_reason2
+	branch cmd_exit
+	
+
+cmd_auth:
+	fetch 1,mem_op
+	set1 op_auth_req,pdata
+	store 1,mem_op
+	fetch 1,mem_state
+	bbit1 state_linkkey,cmd_auth_sendaurand
+	call hci_send_linkkey_req
+	branch cmd_exit
+
+cmd_send_aurand:
+cmd_auth_sendaurand:
+	call tid_initiate
+	jam LMP_AU_RAND,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_start_encrypt:
+	jam LMP_ENCRYPTION_MODE_REQ,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_stop_encrypt:
+	jam LMP_ENCRYPTION_MODE_REQ ,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_feature_req:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_5,mem_patch1f
+	jam LMP_FEATURES_REQ,mem_lmo_opcode2
+	jam hci_cmd_wait_remote_feature,mem_hci_cmd
+	rtn
+	
+cmd_ext_feature_req:	
+	jam LMP_EXT_FEATURES_REQ,mem_lmo_opcode2
+	jam hci_cmd_wait_remote_ext_feature,mem_hci_cmd
+	rtn
+	
+cmd_version_req:
+	jam LMP_VERSION_REQ,mem_lmo_opcode2
+	branch cmd_exit
+	
+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
+	
+cmd_setup_sco:
+	call new_conn_handle
+	store 1,mem_sco_handle
+	fetch 1,mem_conn_handle
+	store 1,mem_sco_asso_handle
+	jam LMP_SCO_LINK_REQ,mem_lmo_opcode2
+	set1 mark_esco,mark
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmo_opcode2
+	branch cmd_exit
+
+cmd_disconn:
+	call lmp_disconnect
+	branch cmd_exit
+	
+cmd_disconn_sco:
+	jam LMP_REMOVE_SCO_LINK_REQ,mem_lmo_opcode2
+	bmark0 mark_esco,cmd_exit
+	jam LMP_EXT_REMOVE_ESCO_REQ,mem_lmo_opcode2
+	branch cmd_exit
+	
+cmd_accept_sco_conn:
+	branch cmd_accept_sco_conn_master,master
+	jam LMP_ACCEPTED,mem_lmo_opcode2
+	jam LMP_SCO_LINK_REQ,mem_lmi_opcode2
+	bmark0 mark_esco,cmd_exit
+	fetch 1,mem_esco_type
+	bne type_hv3,parse_lmpext_esco_link_req_change_param //ev3 only
+	jam LMP_EXT_ACCEPTED ,mem_lmo_opcode2
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmi_opcode2
+	branch cmd_exit	
+cmd_accept_sco_conn_master:
+	call new_conn_handle
+	store 1,mem_sco_handle
+	fetch 1,mem_conn_handle
+	store 1,mem_sco_asso_handle
+	jam LMP_SCO_LINK_REQ,mem_lmo_opcode2
+	bmark0 mark_esco,cmd_exit
+	branch parse_lmpext_esco_link_req_change_param	
+
+
+cmd_role_discovery:
+	call hci_get_cmd_complete_ptr
+	call hci_write_handle
+	force 0,pdata
+	nsetflag master,0,pdata
+	istore 1,contwu
+	force 7,loopcnt
+	arg 0x809,alarm				/* role discovery */
+	call hci_command_complete
+	branch cmd_exit
+	
+cmd_io_cap:
+	jam LMP_IO_CAP_RES,mem_lmo_opcode2 
+	branch cmd_exit
+	
+cmd_detach:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	branch cmd_exit
+
+
+
+// below  merged from bt_hci_patch
+process_hci_patch:
+	jam 0, mem_check_sum
+	//check the packet id
+	//if the packid is not mem_ucode_id_local + 1 then send nak with packe number
+	ifetch 1,contru
+	store 1, mem_ucode_id_remote
+	call hci_ucode_checksum_add
+	
+	call push_stack
+	fetch 1, mem_ucode_id_remote
+	copy pdata, temp
+	fetch 1, mem_ucode_id_local
+	increase 1,pdata
+	icompare 0xff,temp
+	nbranch hci_nak_ucode_with_stack, true
+	store 1, mem_ucode_id_local
+	call pop_stack
+	
+	ifetch 1,contru
+	beq 0x01,hci_enable_ucode_load
+	beq 0x02,process_hci_ucode
+	beq 0x03,hci_disable_ucode_load
+	beq 0x05,process_hci_n_sched_data
+	beq 0x06,hci_write_register
+	beq 0x07,hci_read_register
+	beq 0x08,hci_enable_ucode
+	beq 0x09,hci_soft_branch
+	rtn
+hci_ucode_checksum_add:
+	copy pdata, temp
+	call push_stack
+	fetch 1, mem_check_sum
+	iadd temp,pdata
+	store 1, mem_check_sum
+	branch pop_stack
+
+
+hci_ack_ucode:
+	force 1,pdata
+	call uart_send_byte
+	fetch 1, mem_ucode_id_local
+	branch uart_send_byte
+	
+hci_nak_ucode_with_stack:
+	call pop_stack
+	branch hci_nak_ucode_ucode_id
+hci_nak_ucode:
+	fetch 1, mem_ucode_id_local
+	increase -1,pdata
+	store 1, mem_ucode_id_local
+hci_nak_ucode_ucode_id:	
+	force 0,pdata
+	call uart_send_byte
+	fetch 1, mem_ucode_id_local
+	branch uart_send_byte
+	
+hci_write_register:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	lshift8 pdata, contw
+	call hci_ucode_checksum_add
+	fetch 1, mem_ucode_temp
+	iadd contw, contw
+	ifetch 1,contru //data in pdata
+	istore 1, contw //store the data in register
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+	
+hci_read_register:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp1
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	
+	fetch 1, mem_ucode_temp1
+	lshift8 pdata, temp
+	fetch 1, mem_ucode_temp
+	iadd temp,contru
+	ifetch 1, contru
+	store 1, mem_ucode_temp
+hci_read_register_ack:	
+	force 1,pdata
+	call uart_send_byte
+	fetch 1, mem_ucode_temp //hardware register
+	call uart_send_byte
+	jam 0xff, mem_ucode_id_local
+	rtn
+	
+hci_enable_ucode:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+
+process_hci_ucode:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	hstore 1,core_ucode_low
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	set1 7,pdata
+	hstore 1,core_ucode_ctrl
+	set0 7,pdata
+	call hci_ucode_checksum_add
+	ifetch 1,contru //length
+	copy pdata,loopcnt
+	call hci_ucode_checksum_add
+write_ucode_loop:
+	ifetch 1,contru
+	hstore 1, core_ucode_data
+	call hci_ucode_checksum_add
+	loop write_ucode_loop
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+		
+process_hci_n_sched_data:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	store 1, mem_ucode_temp
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	lshift8 pdata, contw
+	call hci_ucode_checksum_add
+	fetch 1, mem_ucode_temp
+	iadd contw, contw
+	ifetch 1,contru
+	iforce loopcnt
+	call hci_ucode_checksum_add
+process_hci_n_sched_loop:
+	ifetch 1,contru
+	istore 1,contw
+	call hci_ucode_checksum_add
+	loop process_hci_n_sched_loop
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	branch hci_ack_ucode
+
+
+
+hci_enable_ucode_load:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	hjam 0x80,core_ucode_ctrl
+	branch hci_ack_ucode
+
+hci_disable_ucode_load:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	hjam 0,core_ucode_ctrl
+	branch hci_ack_ucode
+	
+hci_soft_branch:
+	call hci_ucode_checksum_add
+	ifetch 1,contru
+	call hci_ucode_checksum_add
+	fetch 1, mem_check_sum
+	bne 0xff, hci_nak_ucode
+	call hci_ack_ucode
+	branch soft_reset
+
+
+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: KG9013/btkb/program/hid.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hid.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/hid.prog	(working copy)
@@ -0,0 +1,88 @@
+/**
+* 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:
+	set1 mark_ext_patch,mark
+	bpatch patch33_4,mem_patch33
+	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
+	rtnne dvc_op_mouse,pdata
+	copy temp,pdata
+	beq HID_CONTROL_P_VIRTUALCABLEUNPLUG,eeprom_erase_reconn_info
+	rtn
+hid_rx_process_suspend:
+	rtn
+
+hid_rx_process_set_report:
+	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
+hid_handshake_event:
+	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:
+	copy contr,rega
+	fetch 1,mem_device_option
+	rtnne dvc_op_kb,pdata
+	copy rega,contr
+	branch kb_process_kb_report
+	
+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: KG9013/btkb/program/ir.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/ir.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/ir.prog	(working copy)
@@ -0,0 +1,293 @@
+
+ifdef COMPILE_IR
+le_ir_init:
+	setarg le_ir
+	store 2,mem_cb_le_process	
+	setarg le_ir_wcb
+	store 2,mem_cb_att_write
+	call eeprom_load_reconn_info
+	call le_init_att
+	hjam 158,core_pwm_ncnt0
+	hjam 8,core_gpio_sel1
+	hjam 5,core_gpio_out1
+	setarg -1
+	set0 1,pdata
+	set0 21,pdata
+	hstore 4,core_gpio_oe0
+	hjam 2,core_gpio_pu0
+	rtn wake
+	jam 1,mem_le_adv_enable
+	rtn
+
+
+le_ir_wcb:
+	ifetch 1,rega
+	store 1,mem_ir_cmd
+	beq ircmd_write_pulse,le_ir_write_pulse
+	beq ircmd_write_seq,le_ir_write_seq
+	beq ircmd_write_next,le_ir_write_next
+	beq ircmd_screen_on,le_ir_screen_on
+	beq ircmd_screen_off,le_ir_screen_off
+	rtnne ircmd_play
+	ifetch 1,contr
+	store 1,mem_ir_play_count
+	rtn
+
+le_ir_write_pulse:
+	arg mem_ir_pulse_zero,contw
+	branch le_ir_write
+	
+le_ir_write_seq:
+	arg mem_ir_sequence_len,contw
+	branch le_ir_write
+
+le_ir_write_next:
+	fetch 2,mem_ir_ptr
+	iforce contw
+
+le_ir_write:
+	arg 19,loopcnt
+	call memcpy
+	deposit contw
+	store 2,mem_ir_ptr
+	jam 0,mem_ir_cmd
+	rtn
+
+
+	
+le_ir:
+	fetch 1,mem_ir_cmd
+	beq ircmd_record,le_ir_start_record
+	beq ircmd_play,le_ir_play
+	beq ircmd_report_pulse,le_ir_report
+	beq ircmd_report_seq,le_ir_report
+	beq ircmd_report_raw,le_ir_report
+	beq ircmd_test_play,le_ir_play
+	beq ircmd_test_rec,le_ir_rec
+	rtn
+
+le_ir_screen_on:
+	jam 0,mem_lpm_mult
+	jam 0,mem_ir_cmd
+	rtn
+le_ir_screen_off:
+	jam 30,mem_lpm_mult
+	jam 0,mem_ir_cmd
+	rtn
+
+	
+
+le_ir_rec:
+	jam 0,mem_ir_cmd
+	arg 0xfffff,stop_watch
+	call ir_record
+	rtn
+	
+le_ir_next_anchor:
+	fetcht 2,mem_le_tsniff
+	iadd temp,pdata
+	store 4,mem_le_anchor
+le_ir_start_record:
+	fetch 4,mem_le_anchor
+	isub clke_bt,pdata
+	nbranch le_ir_next_anchor,positive
+	rshift pdata,stop_watch
+	call ir_record
+	rtn blank
+	jam ircmd_report_raw,mem_ir_cmd
+	arg mem_ir_record,temp
+	storet 2,mem_ir_ptr
+	
+le_ir_report:
+	call le_xtype_fifo_is_full
+	nrtn blank
+	jam notify_handle,mem_le_notify_handle
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	fetch 2,mem_le_notify_attr_start
+	iforce contw
+	fetch 2,mem_ir_ptr
+	iforce contr
+	arg 20,loopcnt
+	call memcpy
+	deposit contr
+	store 2,mem_ir_ptr
+	fetch 2,mem_ir_report_len
+	increase -20,pdata
+	store 2,mem_ir_report_len
+	rtn positive
+	jam 0,mem_ir_cmd
+	rtn
+
+
+le_ir_play:
+	fetch 1,mem_ir_play_count
+	call ir_play
+	jam 0,mem_ir_cmd
+	rtn
+
+
+ir_record:
+	call ir_receive
+	setarg mem_ir_record
+	isub contw,pdata
+	sub pdata,0,pdata
+	store 2,mem_ir_report_len
+	rtn
+
+
+	/* stop_watch is sync timeout */
+ir_receive:
+	disable swfine
+	arg mem_ir_record,contw
+ir_receive_waitsync:
+	rtn timeout
+	hfetch 1,core_gpio_in+2
+	bbit0 5,ir_receive_waitsync
+	copy clkn,temp
+	arg 0x80,loopcnt
+	call memset0
+	arg mem_ir_record,contw
+	arg 0x0,regc
+ir_receive_loop:
+	arg 180,stop_watch
+ir_receive_waitedge:
+	rtn timeout
+	hfetch 1,core_gpio_in+2
+	ixor regc,pdata
+	bbit1 5,ir_receive_waitedge
+	copy clkn,pdata
+	iforce alarm
+	call clk_diff_rt
+	sub pdata,0xff,null
+	branch ir_receive_waitedge,positive
+	isolate0 5,regc
+	setflag true,23,pdata
+	istore 3,contw
+	rshift8 contw,pdata
+	rtneq mem_ir_record_max
+	copy alarm,temp
+	xor_into 0x20,regc	
+	branch ir_receive_loop
+
+
+	/* return 0xff if all sequence is sent */
+ir_get_next_seq:
+	branch ir_get_next_seq_saved,user
+	branch ir_get_next_encoded,user2
+ir_get_next_seq_fetch:
+	arg mem_ir_sequence,temp
+	fetch 1,mem_ir_sequence_len
+	iadd temp,pdata
+	isub rega,null
+	branch ir_get_next_seq_exit,zero
+	ifetch 1,rega
+	copy contr,rega
+	bbit0 7,ir_get_next_cont
+	enable user2
+	and pdata,0x7f,regb
+	lshift3 rega,rega
+	branch ir_get_next_encoded
+ir_get_next_cont:
+	rshift4 pdata,debug
+	and_into 0xf,pdata
+	isub debug,null
+	rtn zero
+	enable user
+	rtn
+ir_get_next_seq_saved:
+	deposit debug
+	disable user
+	rtn
+ir_get_next_encoded:
+	deposit regb
+	branch ir_get_next_encoded_end,blank
+	and rega,0x7,queue
+	rshift3 rega,contr
+	ifetch 1,contr
+	increase 1,rega
+	increase -1,regb
+	qisolate0 pdata
+	fetch 1,mem_ir_pulse_zero
+	branch ir_get_next_cont,true
+	fetch 1,mem_ir_pulse_one
+	branch ir_get_next_cont
+ir_get_next_encoded_end:
+	disable user2
+	increase 7,rega
+	rshift3 rega,rega
+	branch ir_get_next_seq_fetch
+ir_get_next_seq_exit:
+	setarg 0xff
+	rtn
+	
+	/* pdata=index of pulse */
+ir_get_pulse:
+	lshift pdata,contr
+	iadd contr,pdata
+	arg mem_ir_pulses,contr
+	iadd contr,contr
+	ifetch 3,contr
+	rtn
+	
+	/* pdata=number of seqs to send */
+ir_play:
+	enable swfine
+	iforce loopcnt
+ir_play_nloop:
+	disable user
+	disable user2
+	arg mem_ir_sequence,rega
+ir_play_loop:
+	call ir_get_next_seq
+	beq 0xff,ir_play_end
+	call ir_get_pulse
+	bbit0 23,ir_play_silence
+	set0 23,pdata
+	hjam 158,core_pwm_pcnt0
+ir_play_silence:
+	iforce stop_watch
+	until null,timeout
+	hjam 0,core_pwm_pcnt0
+	branch ir_play_loop
+ir_play_end:
+	loop ir_play_nloop
+	rtn
+
+
+
+else
+le_ir_init:
+le_ir_wcb:
+le_ir_write_pulse:
+le_ir_write_seq:
+le_ir_write_next:
+le_ir_write:
+le_ir:
+le_ir_screen_on:
+le_ir_screen_off:
+le_ir_rec:
+le_ir_next_anchor:
+le_ir_start_record:
+le_ir_report:
+le_ir_play:
+ir_record:
+ir_receive:
+ir_receive_waitsync:
+ir_receive_loop:
+ir_receive_waitedge:
+ir_get_next_seq:
+ir_get_next_seq_fetch:
+ir_get_next_cont:
+ir_get_next_seq_saved:
+ir_get_next_encoded:
+ir_get_next_encoded_end:
+ir_get_next_seq_exit:
+ir_get_pulse:
+ir_play:
+ir_play_nloop:
+ir_play_loop:
+ir_play_silence:
+ir_play_end:
+	branch assert
+endif
Index: KG9013/btkb/program/keyboard.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/keyboard.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/keyboard.prog	(working copy)
@@ -0,0 +1,591 @@
+
+ifdef COMPILE_KEYBOARD
+
+le_kb_init:
+	call kb_init_common
+	setarg kb_process_idle
+	store 2,mem_cb_idle_process
+	setarg kb_send_process
+	store 2,mem_cb_bt_process
+	setarg kb_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg kb_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg kb_discovery_timeout_sleep
+	store 2,mem_cb_discovry_timeout
+    	setarg kb_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg kb_wakeup_check
+	store 2,mem_cb_check_wakelock
+	rtn wake	
+	
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,app_bt_start_discovery_short
+	call app_check_reconn_target
+	branch kb_start_discovery,blank
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+
+	
+kb_init:	
+	call kb_init_common
+	setarg kb_process_idle
+	store 2,mem_cb_idle_process
+	setarg kb_send_process
+	store 2,mem_cb_bt_process
+	setarg kb_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg kb_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg kb_discovery_timeout_sleep
+	store 2,mem_cb_discovry_timeout
+    	setarg kb_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg kb_wakeup_check
+	store 2,mem_cb_check_wakelock
+	rtn wake	
+		
+	jam 0,mem_sp_flag
+	jam 0,mem_master_sp_flag
+
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,app_bt_start_discovery_short
+	call app_check_reconn_target
+	branch kb_start_discovery,blank
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+
+	
+	
+kb_init_common:
+	set1 mark_ext_patch,mark
+	bpatch patch36_6,mem_patch36
+//	call kb_init_before_hibernate
+	fetch 1,0x8140
+	branch assert,blank
+	hjam 0,core_gpio_oe0
+	hjam 0xff,core_gpio_pu0
+
+	hjam 0xff,core_gpio_oe1
+	hjam 0xff,core_gpio_oe2
+	hfetch 1,core_gpio_oe3
+	or_into 0x0f,pdata
+	hstore 1,core_gpio_oe3
+
+	hjam 0x00,core_gpio_sel
+	hjam 0x00,core_gpio_sel1
+	hjam 0xff,core_gpio_key0
+	hjam 0xFf,core_gpio_key1
+	hfetch 1,core_gpio_key2
+	or_into 0x03,pdata
+	hstore 1,core_gpio_key2
+	hjam 0x00,core_kscn_rowmask
+	setarg KB_KSCAN_COL_1
+	lshift3 pdata,pdata
+	add pdata,KB_KSCAN_ROW_1,pdata
+	hstore 1,core_kscn_rctc
+
+	hfetch 1,core_config
+	set1 2,pdata //set keyscan clk source
+	hstore 1,core_config
+	hfetch 1, core_clkoff+1
+	set0 1,pdata
+	hstore 1,core_clkoff+1
+	hjam 0xd,core_kscn_ksctrl
+	hjam 0xd3,core_kscn_m_debounce
+	hjam 0,core_kscn_scancycle_timer_l
+	hjam 0x31,core_kscn_scancycle_timer_h
+	call lpm_disable_exen_output
+	fetcht 1,mem_led_cap_gpio
+ 	call gpio_config_output
+	fetcht 1,mem_led_num_gpio
+ 	call gpio_config_output
+	fetcht 1,mem_led_scl_gpio
+ 	call gpio_config_output
+	rtn
+
+kb_process_kb_report:
+	set1 mark_ext_patch,mark
+	bpatch patch36_7,mem_patch36
+	ifetch 1,contr
+	copy pdata,rega
+	fetcht 1,mem_led_num_gpio
+	isolate1 KB_NUM_LOCK_SELECTED,rega
+	call gpio_out_flag
+	fetcht 1,mem_led_cap_gpio
+	isolate1 KB_CAPS_LOCK_SELECTED,rega
+	call gpio_out_flag
+	fetcht 1,mem_led_scl_gpio
+	isolate1 KB_SCROLL_LOCK_SELECTED ,rega
+	call gpio_out_flag
+	jam 1,mem_kb_rcv_led_data
+	rtn
+
+
+kb_send_process:
+//	call kb_wakeup_check
+	call kb_kscan_check_if_empty
+	nrtn user
+	nrtn user2
+//	call app_lpm_wake_auto_lock
+	fetch 1,mem_pincode_state
+	beq pincode_state_wait_pincode,kb_pincode
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f
+
+	arg 10,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x01a1
+	istore 2,contw
+	fetch 8,mem_kb_state
+	istore 8,contw
+	rtn
+	
+kb_pincode:
+	fetcht 1,mem_pin_length
+	setarg mem_pin
+	iadd temp,contw
+	fetch 1,mem_kb_report_data
+	branch kb_pincode_rtn,blank
+	beq KB_KCODE_BKSP,kb_pincode_bksp
+	bne KB_KCODE_ENTER,kb_pincode_data
+	storet 1,mem_pin_length
+	branch app_bt_set_pincode
+	
+kb_pincode_rtn:
+	storet 1,mem_pin_length
+	rtn
+kb_pincode_bksp:
+	fetch 1,mem_pin_length
+	rtn blank
+	increase -1,pdata
+	store 1,mem_pin_length
+	arg mem_pin,contw
+	iadd contw,contw
+	setarg 0
+	istore 1,contw
+	enable user2
+	branch kb_send_pin
+kb_pincode_data:
+	sub pdata,KB_KCODE_1_M1,null
+	rtn positive
+	arg 0x30,temp
+	sub pdata,KB_KCODE_0,null
+	nrtn positive
+	branch kb_pincode_0,zero
+	arg KB_KCODE_1_M1,temp
+	isub temp,temp
+	or_into 0x30,temp
+kb_pincode_0:
+	istoret 1,contw
+	fetch 1,mem_pin_length
+	increase 1,pdata
+	store 1,mem_pin_length
+	disable user2
+	branch kb_send_pin
+
+kb_send_pin:
+	fetch 2,mem_hid_int_remote_cid
+	rtn blank
+	arg 3,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xffa1
+	istore 2,contw
+	setarg 0
+	setflag user2,0,pdata
+	istore 1,contw
+	rtn
+
+
+	
+kb_kscan_check_if_empty:
+	disable user
+	disable user2
+	hfetch 1,core_kscn_kstat
+	rtnbit1 KB_KSCAN_STAT_EMPTY
+
+kb_kscan_check_ghost:
+	hfetch 1,core_kscn_event_num
+	bbit1 KB_KSCAN_KEY_EVENT_STAT,kb_kscan_process_event
+	hfetch 1,core_kscn_kstat
+	bbit0 KB_KSCAN_STAT_GHOST,kb_kscan_process_event
+	hfetch 1,core_kscn_event
+	branch kb_kscan_check_if_empty
+		
+kb_kscan_process_event:
+	enable user
+	enable user2
+	hfetch 1,core_kscn_event_num
+	isolate0 kb_KSCAN_KEY_EVENT_STAT,pdata
+	hfetch 1,core_kscn_event
+	arg mem_kb_map,contr
+	iadd contr,contr
+	ifetch 1,contr
+	bbit1 7,kb_kscan_read_statekey
+	nbranch kb_kscan_release_a_key_data,true	
+	disable user2
+	iforce temp
+	fetch 1,mem_kb_keys
+	sub pdata,4,null
+	nrtn positive
+	copy pdata,rega
+	arg 3,loopcnt
+	arg mem_kb_report_data,contr
+kb_kscan_check_report_data:
+	ifetch 1,contr
+	isub temp,null
+	branch kb_kscan_check_if_empty,zero
+	loop kb_kscan_check_report_data
+kb_kscan_store_a_key_data:
+	copy rega,pdata
+	arg mem_kb_report_data,contw
+	iadd contw,contw
+	istoret 1,contw
+	increase 1,pdata
+	store 1,mem_kb_keys
+ 	hfetch 1,core_kscn_event_num
+	rshift3 pdata,pdata
+	nbranch kb_kscan_check_nextevent, blank
+	branch kb_kscan_prepare_send
+
+kb_kscan_check_nextevent:
+	increase -1,pdata
+	branch kb_kscan_prepare_send,zero
+	hfetch 1,core_kscn_event_num
+	and_into 0x01,pdata
+	beq KB_KSCAN_KEY_PRESS,kb_kscan_check_if_empty                 // key pressed
+	beq KB_KSCAN_KEY_RELEASE,kb_kscan_prepare_send              // key release
+	rtn
+kb_kscan_prepare_send:	
+	enable user2
+	rtn
+	
+kb_kscan_release_a_key_data:
+	and pdata,0xff,temp
+	fetch 1,mem_kb_keys
+	rtn blank
+	iforce loopcnt
+	arg mem_kb_report_data,contr
+kb_kscan_find_same_key_data:
+	ifetch 1,contr
+	isub temp,null
+	branch kb_kscan_release_foundkey,zero
+	loop kb_kscan_find_same_key_data
+	rtn
+kb_kscan_release_foundkey:
+	add contr,-1,contw
+	call memcpy
+	fetch 1,mem_kb_keys
+	increase -1,pdata
+	store 1,mem_kb_keys
+	hfetch 1,core_kscn_event_num
+	rshift3 pdata,pdata
+	nbranch kb_kscan_check_nextevent2, blank
+	rtn
+
+kb_kscan_check_nextevent2:
+ 	hfetch 1,core_kscn_event_num
+	and_into 0x01,pdata
+	beq KB_KSCAN_KEY_PRESS,kb_kscan_prepare_send
+	beq KB_KSCAN_KEY_RELEASE,kb_kscan_check_if_empty
+	rtn
+	
+kb_kscan_read_statekey:
+	and pdata,7,queue
+	fetch 1,mem_kb_state
+	qsetflag true,pdata
+	store 1,mem_kb_state
+	rtn
+
+kb_clear_keys:
+	setarg 0
+	store 8,mem_kb_state
+	store 1,mem_kb_keys
+	rtn
+	
+kb_clean_kscan_fifo:
+	hfetch 1,core_kscn_event_num
+	hfetch 1,core_kscn_event
+	hfetch 1,core_kscn_kstat
+	bbit0 KB_KSCAN_STAT_EMPTY,kb_clean_kscan_fifo
+	setarg 0xff
+	enable user
+	rtn
+	
+le_keyboard:
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	rtnbit0 0
+	fetch 1,mem_le_switch_send_data
+	rtnbit0 0
+	call le_xtype_fifo_is_full
+	nrtn blank
+	call kb_kscan_check_if_empty
+	nrtn user
+	nrtn user2
+le_slave_keyboard_send_data:
+	call app_lpm_wake_auto_lock
+	jam 2,mem_lpm_mult
+	fetcht 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	add contr,1,contw
+	fetch 8,mem_kb_state
+	istore 8,contw
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	fetch 1,mem_le_op
+	bbit1 op_disconn,loop
+	rtn
+le_keyboard_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_BUTTON_LONG_PRESSED,le_keyboard_bb_event_discovery_btn
+	//beq BT_EVT_100MS_TIMER,le_keyboard_bb_event_hud_ms
+	beq BT_EVT_LE_CONNECTED,le_kb_connected
+	beq BT_EVT_LE_WRITE_REQUEST,le_kb_bb_event_write_request
+	beq BT_EVT_LE_ENC_INFO,le_kb_bb_event_enc_info
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	rtn
+le_kb_bb_event_enc_info:
+le_kb_bb_event_write_request:
+	call app_lpm_mult_enable
+	branch app_ble_start_write
+le_kb_connected:
+	call kb_clean_kscan_fifo
+	branch kb_clear_keys
+
+le_keyboard_bb_event_discovery_btn:
+	call le_clean_att_list_handle_enable
+	call app_ble_disconnect
+	call app_ble_start_adv
+	branch app_led_start_blink
+
+le_keyboard_bb_event_hud_ms:
+	fetch 1,mem_le_led_on_time
+	rtn blank
+	increase -1,pdata
+	store 1,mem_le_led_on_time
+	nrtn blank
+	fetch 1,mem_le_adv_type
+	rtn blank
+	branch app_led_off
+
+
+kb_process_idle:
+	branch kb_pairing_button_check
+
+
+kb_wakeup_check:	
+	hfetch 3,core_gpio_in
+	copy pdata,regb
+	hfetch 1,core_gpio_in+3
+	and_into 0x0f,pdata
+	lshift16 pdata,pdata
+	lshift8 pdata,pdata
+	ior regb,pdata
+	fetcht 4,mem_kb_fast_wake_last
+	isub temp,pdata
+	rtn blank
+	arg 0xbb,regb
+ 	branch app_lpm_wake_auto_lock
+
+
+kb_pairing_button_check:
+	fetch 1,mem_scan_mode// rtn when scan_mode =03 
+	nrtn blank
+	fetch 1,mem_app_handshake_flag//rtn when handshake success 
+	nrtn blank
+	fetch 1,mem_ui_button_timer// rtn when timer >3s
+	rtn blank
+	fetch 1,mem_ui_button_last_state//rtn when pairing button press
+	nrtn blank
+	branch app_enter_hibernate
+	
+kb_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_HID_CONNECTED,kb_hid_connected
+	beq BT_EVT_PINCODE_REQ,kb_process_pincode
+	beq BT_EVT_HID_CONNECTED,kb_bt_hid_handshake
+	beq BT_EVT_BUTTON_LONG_PRESSED,kb_bb_event_discovery_btn
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	beq BT_EVT_BB_CONNECTED,kb_stop_discovery
+	beq BT_EVT_BB_DISCONNECTED,kb_bb_disconnected
+//	beq BT_EVT_100MS_TIMER,kb_bb_event_100ms
+	beq BT_EVT_RECONN_FAILED,kb_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,kb_bb_event_reconn_failed
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,kb_bb_event_timer
+	rtn
+
+kb_bb_event_timer:
+	set1 mark_ext_patch,mark
+	bpatch patch37_0,mem_patch37
+	storet 1,mem_app_evt_timer_count
+kb_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+//	call app_lpm_wake_auto_lock_timer
+	call kb_check_hid_handshake_timer	
+	branch kb_bb_event_100ms_loop
+
+kb_bb_event_reconn_failed:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,kb_start_discovery
+	branch app_bb_hibernate
+
+
+kb_bb_disconnected:
+	set1 mark_ext_patch,mark
+	bpatch patch37_1,mem_patch37
+	call kb_bb_discon_clear_stack
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+ifdef DEBUG_LIGHT_STATE
+	store 1,0x4800
+endif
+//	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
+	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
+	bbit1 APP_DISC_AFTER_PAIRING,kb_event_light_state_pairing
+	bbit1 APP_DISC_AFTER_RECONN,kb_event_light_state_reconn
+	branch kb_start_discovery
+kb_bb_discon_clear_stack:
+	jam 0,mem_link_key_exists
+	jam 0,mem_ltk_exists
+	rtn
+
+kb_event_light_state_pairing:
+	bbit1 APP_DISC_AFTER_HANDSHAKE,app_bb_hibernate
+	bbit1 APP_DISC_AFTER_SNIFF,app_bb_hibernate
+	branch kb_start_discovery
+kb_event_light_state_reconn:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,kb_start_discovery
+	branch app_bb_hibernate
+
+
+	
+kb_check_hid_handshake_timer:
+	fetch 1,mem_hid_handshake_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_hid_handshake_timer_count
+	nrtn blank
+	branch kb_bt_hid_handshake
+
+
+kb_bb_event_discovery_btn:
+	call kb_3_0_bb_event_discovery_btn
+	branch kb_start_discovery
+
+kb_3_0_bb_event_discovery_btn:
+	set1 mark_ext_patch,mark
+	bpatch patch37_2,mem_patch37
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BT_RECONNECT,pdata
+	call app_bt_reconnect_cancel,true
+	fetch 2,mem_discovery_timeout
+	store 2,mem_discovery_timeout_timer_count	
+	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
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BT_CONNECTED,app_bt_disconnect
+	rtn
+
+	
+kb_stop_discovery:
+	call app_bt_stop_discovery
+	branch app_led_stop_blink
+
+kb_start_discovery:
+	call app_bt_start_discovery
+	branch app_led_start_blink
+	
+kb_discovery_timeout_sleep:	
+	branch app_enter_hibernate
+	
+kb_process_pincode:
+	jam 0,mem_pin_length
+	rtn
+
+
+kb_before_hibernate:
+
+kb_process_lpm_before:
+	hjam 0x00,core_gpio_key0
+	hjam 0x00,core_gpio_key1
+	hfetch 1,core_gpio_key2
+	and_into 0xf0,pdata
+	hstore 1,core_gpio_key2
+	setarg 0x00
+	store 4,mem_gpio_wakeup_high
+	setarg 0xff
+	fetcht 1,mem_ui_button_gpio
+	copy temp,queue
+	qset1 pdata
+	store 4,mem_gpio_wakeup_low
+	rtn
+
+kb_hid_connected:
+ 	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	call kb_clean_kscan_fifo
+	//fetch 1,core_kscn_ksctrl
+	//set1 5,pdata
+	//store 1,core_kscn_ksctrl
+	branch kb_clear_keys
+kb_bt_hid_handshake:
+	set1 mark_ext_patch,mark
+	bpatch patch37_3,mem_patch37
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+//	jam BT_KB_MODE_STATE,mem_mouse_mode_state
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	store 1,mem_hid_handshake_timer_count
+	branch app_bt_enter_sniff
+
+
+	
+else
+kb_init:
+kb_process_kb_report:
+kb_send_process:
+kb_pincode:
+kb_pincode_rtn:
+kb_pincode_bksp:
+kb_pincode_data:
+kb_pincode_0:
+kb_send_pin:
+kb_check_num:
+kb_read_a_key:
+kb_read_a_key2:
+kb_read_a_key3:
+kb_read_release:
+kb_read_loop:
+kb_read_foundkey:
+kb_read_statekey:
+kb_clean_kscan_fifo:
+le_keyboard:
+le_slave_keyboard_send_data:
+kb_process_idle:
+kb_process_bb_event:
+kb_bb_event_discovery_off:
+kb_wakeup_int:
+kb_wakeup_check:
+kb_discovery_timeout_sleep:
+le_keyboard_process_bb_event:
+le_kb_connected:
+le_keyboard_bb_event_discovery_btn:
+le_keyboard_bb_event_hud_ms:
+le_kb_init:
+le_kb_bb_event_write_request:
+le_kb_bb_event_enc_info:
+	branch assert
+endif
Index: KG9013/btkb/program/l2cap.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/l2cap.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/l2cap.prog	(working copy)
@@ -0,0 +1,1878 @@
+/************************************/
+/*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:	
+	set1 mark_ext_patch,mark
+	bpatch patch22_6,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch22_7,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_0,mem_patch23
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	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_call_proc_signal:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	jam 0,mem_l2cap_pending_item
+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_device_option
+	rtneq dvc_op_hci
+	fetch 1,mem_l2cap_pending_item
+	rtn blank
+	copy pdata,rega
+	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:
+	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_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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_1,mem_patch23
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_2,mem_patch23
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_3,mem_patch23
+	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
+	copy rega,pdata
+	iadd contr,contr
+	setarg 0x0b
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	force 0x0008, pdata
+	istore 2, contw
+	force 0x0002, pdata
+	istore 2, contw
+	force 0x0000, pdata
+	istore 2, contw
+	force 0x0400,pdata
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 12,pdata
+	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
+	copy regc,pdata
+	isub rega,regc
+	copy rega,pdata
+	iadd contr,contr
+	call l2cap_get_signal_tx_payload
+	setarg 0x0b
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	force 0x0008, pdata
+	istore 2, contw
+	force 0x0002, pdata
+	istore 2, contw
+	force 0x0000, pdata
+	istore 2, contw
+	force 0x0400,pdata
+	istore 2,contw
+	force 0x0000,pdata
+	istore 2,contw
+	force 12,pdata
+	iadd regb,regb
+	//call scheduler_start_upper_sm
+	branch l2cap_process_one_signal_rtn
+
+
+/*  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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_4,mem_patch23
+	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
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_5,mem_patch23
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_6,mem_patch23
+	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
+	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
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch23_7,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_0,mem_patch24
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_1,mem_patch24
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_2,mem_patch24
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,ml2cap_call_proc_signal
+	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
+
+ml2cap_call_proc_signal:
+	set1 mark_ext_patch,mark
+	bpatch patch24_3,mem_patch24
+	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
+	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
+	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
+	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
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_4,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_5,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_6,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:
+	set1 mark_ext_patch,mark
+	bpatch patch24_7,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:
+	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:
+	fetch 3,mem_tx_fifo1
+	rtn
+/*********************************************************/
+//bool fifo_is_empty(void)
+//blank == 1: empty
+//blank == 0: not empty
+/*********************************************************/
+l2cap_malloc_is_fifo_empty:
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_1,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_2,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_3,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_4,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_5,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_get_rfcomm_tx_payload:
+	fetch 2,mem_rfcomm_tx_payload_ptr
+	//fall through
+l2cap_util_pdata_to_contw:
+	branch assert,blank
+	copy pdata,contw
+	rtn
+	
+
+l2cap_lpm_save_calc_len:
+	set1 mark_ext_patch,mark
+	bpatch patch25_6,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:
+	set1 mark_ext_patch,mark
+	bpatch patch25_7,mem_patch25
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch26_0,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: KG9013/btkb/program/le.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/le.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/le.prog	(working copy)
@@ -0,0 +1,2711 @@
+ifdef COMPILE_LE
+//******************************************//
+//*************LE INIT ****************//
+//******************************************//
+le_init_param:
+	rtn wake
+	setarg param_le_scan_interval
+	store 2,mem_le_scan_interval
+	setarg param_le_scan_window
+	store 2,mem_le_scan_window
+	rtn
+
+le_init_att:
+	arg notify_handle,temp
+	call le_att_get_handle_ptr
+	add contr,1,pdata
+	store 2,mem_le_notify_attr_start
+	rtn
+
+le_init_conn:
+	set1 mark_ext_patch,mark
+	bpatch patch26_2,mem_patch26
+	disable wake
+	jam 1,mem_app_state
+	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_conn_sm
+	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
+	branch le_supervision_flush
+
+le_init_master:
+	set1 mark_ext_patch,mark
+	bpatch 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:
+	set1 mark_ext_patch,mark
+	bpatch patch26_4,mem_patch26
+	disable master
+	jam lemode_slave,mem_le_mode
+	jam 0,mem_le_adv_enable
+	jam 0,mem_lpm_current_mult
+	branch le_init_conn
+	
+
+//******************************************//
+//*************LE main process*********//
+//******************************************//
+le_dispatch:
+	call le_enable
+	call le_scan
+	call le_adv
+	branch le_disable
+
+le_conn_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch 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:
+	set1 mark_ext_patch,mark
+	bpatch 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
+	set1 mark_ext_patch,mark
+	bpatch patch26_7,mem_patch26
+	fetch 1,mem_le_conn_rcv
+	increase 1,pdata
+	store 1,mem_le_conn_rcv
+	call le_acknowledge
+	call le_conn_sm_master
+	disable master
+	rtn
+	
+le_master_disconn:
+	call le_disconnect
+	disable master
+	rtn
+	
+//******************************************//
+//***********LE slave process***********//
+//******************************************//
+le_slave_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch patch27_0,mem_patch27
+	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,match
+le_slave_match:
+	set1 mark_ext_patch,mark
+	bpatch patch27_1,mem_patch27
+	call le_got_first_packet
+	call le_acknowledge
+	call le_prepare_tx
+	fetch 1,mem_le_rxbuf
+	bbit1 md,le_slave_more_data //more data to rx
+	call le_xtype_fifo_is_empty
+	nbranch le_slave_more_data,blank// more data to tx
+le_slave_transmit_last:
+	set1 mark_ext_patch,mark
+	bpatch patch27_2,mem_patch27
+	call le_transmit_norx
+le_slave_cont:
+	call check_51cmd
+	fetch 1,mem_le_op
+	bbit1 op_disconn,le_slave_disconn
+le_slave_unsync:
+	set1 mark_ext_patch,mark
+	bpatch patch27_3,mem_patch27
+	call le_savelist
+	call le_lpm_set_mult
+	call le_update_channel_map
+	call le_update_param
+	branch calc_clke_offset
+
+le_slave_more_data:
+	set1 mark_ext_patch,mark
+	bpatch patch27_4,mem_patch27
+	enable attempt
+	call le_transmit_receive_sifs
+	branch le_slave_match,match
+	branch le_slave_cont
+
+le_slave_disconn:
+
+	//fall through
+le_disconnect:
+	set1 mark_ext_patch,mark
+	bpatch patch27_5,mem_patch27
+	call le_clear_connection_info
+	call app_disconn_reason_collect_ble
+	jam BT_EVT_LE_DISCONNECTED,mem_fifo_temp
+	branch ui_ipc_send_event
+
+le_clear_connection_info:
+	fetcht 1,mem_le_conn_handle
+	jam HCI_ERROR_CONNECTION_TIMEOUT,mem_hci_disconn_reason
+	call hci_send_disconn_complete
+	jam 0,mem_le_conn_handle
+	jam lemode_idle,mem_le_mode
+	jam 0,mem_le_state
+	jam 0,mem_app_state
+	rtn
+	
+le_got_first_packet:
+	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
+	setarg 0
+	store 4,mem_le_transmit_window
+	rtn
+
+
+
+
+le_enable:
+	set1 mark_ext_patch,mark
+	bpatch patch27_6,mem_patch27
+	enable le
+	hjam 7,rfen_ulp			/* enable ulp */
+	branch check_ble_disabled
+
+le_disable:
+	set1 mark_ext_patch,mark
+	bpatch patch27_7,mem_patch27
+	disable le
+	hjam 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
+	call le_setfreq
+	branch set_freq_tx
+le_setfreq:
+	set1 mark_ext_patch,mark
+	bpatch patch28_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_1,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_2,mem_patch28
+	fetch 1,mem_le_ch_mapped
+	increase 1,pdata
+	store 1,mem_le_ch_mapped
+	rtnne 40
+	jam 37,mem_le_ch_mapped
+	rtn	
+
+le_context_nexthop:
+	set1 mark_ext_patch,mark
+	bpatch patch28_3,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_4,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_5,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_6,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:
+	set1 mark_ext_patch,mark
+	bpatch patch28_7,mem_patch28
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_1,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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_2,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,2,rega
+	call rf_write_freq				/* set frequency to tx mode freq */
+	disable decode_fec0
+	branch set_sync_on
+
+le_transmit_receive_sifs:
+	set1 mark_ext_patch,mark
+	bpatch patch29_3,mem_patch29
+	call le_transmit
+	fetcht 1,mem_last_freq
+	call set_freq_rx
+	call rf_rx_enable
+	enable swfine
+	arg 5000,timeup	// about 417us
+	branch le_receive_rxon
+
+le_transmit_norx:
+	call le_transmit
+	branch end_of_packet
+	
+le_transmit:
+	set1 mark_ext_patch,mark
+	bpatch patch29_4,mem_patch29
+	call le_prep
+	call letx_setfreq
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch29_5,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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_6,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
+	branch le_send_adv_transmit
+le_send_adv_direct_ind:
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	copy rega,contw
+	setarg 1
+	istore 1,contw
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch29_7,mem_patch29
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_0,mem_patch2a
+	fetch 1,mem_le_scan_type
+	rtnne LE_SCAN_TYPE_ACTIVE,pdata
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_1,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
+	branch le_transmit_norx
+
+
+le_connect_request:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_2,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_conn_superto
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2a_3,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 */
+	set1 mark_ext_patch,mark
+	bpatch patch2a_4,mem_patch2a
+	fetch 2,mem_le_conn_latency			/* slave latency */
+	istore 2,contw
+	fetch 2,mem_le_conn_superto
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_5,mem_patch2a
+	disable master
+	branch le_adv_access
+	
+
+
+le_update_param:
+	set1 mark_ext_patch,mark
+	bpatch patch2a_6,mem_patch2a
+	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
+	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
+	isub temp,rega
+	set1 mark_ext_patch,mark
+	bpatch patch2a_7,mem_patch2a
+	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
+	store 4,mem_le_anchor
+	branch le_receive_window_size
+
+le_update_channel_map:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_0,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:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_1,mem_patch2b
+	call le_supervision_flush
+	call le_check_wak
+	fetch 1,mem_le_rxbuf
+	rshift pdata,pdata
+	ixor temp,pdata
+	isolate1 nesn,pdata
+	setflag true,mark_old_packet,mark	/* retransmit */
+	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:
+	rtnmark1 mark_old_packet
+	fetcht 1,mem_le_arq
+	setflip nesn,temp
+	storet 1,mem_le_arq
+	branch le_parse
+	
+le_check_wak:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_2,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
+	rtnne LL_START_ENC_REQ
+	fetch 1,mem_le_state
+	set1 lestate_encryption,pdata
+	store 1,mem_le_state
+	rtn	
+	
+le_wait_adv:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_3,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:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_4,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
+	set1 mark_ext_patch,mark
+	bpatch patch2b_5,mem_patch2b
+	fetch 6,mem_le_rxbuf+2
+	store 6,mem_le_plap
+	call le_scan_dongle
+	call le_scan_addr_to_uart
+
+	fetch 1,mem_le_adv_rcv
+	increase 1,pdata
+	store 1,mem_le_adv_rcv
+	call le_create_conn
+	rtn master
+	call hci_send_le_adv_report_event
+	call le_send_scan_request
+	nrtn match
+	set1 mark_ext_patch,mark
+	bpatch patch2b_6,mem_patch2b
+	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
+	branch hci_send_le_adv_report_event
+	
+le_create_conn:
+	set1 mark_ext_patch,mark
+	bpatch patch2b_7,mem_patch2b
+	fetch 1,mem_cmd_le_create_conn
+	rtnne hci_cmd_le_create_conn,pdata
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2c_0,mem_patch2c
+	jam 0,mem_hci_cmd
+	jam 0,mem_le_peer_sca
+	fetch 1,mem_device_option
+	bne dvc_op_dongle,le_create_conn_ndongle
+	jam CONN_SM_SEND_WRITE_REQ,mem_le_conn_sm
+le_create_conn_ndongle:
+	arg 0,temp//status successful
+	call hci_send_le_conn_complete
+	jam 0,mem_le_scan_enable
+	jam 0,mem_cmd_le_create_conn
+	jam XT_LL_VERSION_IND,mem_fifo_temp
+	call le_xtype_fifo_in
+	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_xtype_fifo_count:
+	arg mem_le_xtype_fifo,contr
+	branch fifo_content_count
+	
+le_xtype_fifo_is_empty:
+	arg mem_le_xtype_fifo,rega
+	branch fifo_is_empty
+	
+le_xtype_fifo_is_full:
+	arg mem_le_xtype_fifo,rega
+	branch fifo_is_full
+	
+le_xtype_fifo_is_near_full:
+	arg mem_le_xtype_fifo,rega
+	branch fifo_is_near_full
+	
+le_xtype_fifo_in:
+	arg mem_le_xtype_fifo,rega	
+	branch fifo_in
+	
+le_prepare_tx:
+	set1 mark_ext_patch,mark
+	bpatch patch2c_1,mem_patch2c
+	fetch 1,mem_le_arq
+	rtnbit1 wak
+	arg mem_le_xtype_fifo,rega
+	call fifo_out
+	nbranch le_prepare_tx_cmd,blank
+	fetch 1,mem_device_option
+	bne dvc_op_hci,le_send_empty
+	arg 0,type
+	call hci_rx_packet //check acl packet
+	copy type,pdata
+	nrtn blank
+	branch le_send_empty
+le_prepare_tx_cmd:
+	copy pdata,temp
+	set1 mark_ext_patch,mark
+	bpatch patch2c_2,mem_patch2c
+	copy temp,pdata
+	bbit0 5,le_prepare_l2cap
+	force 3,type
+	set0 5,pdata
+	store 1,mem_le_txpayload
+	set1 mark_ext_patch,mark
+	bpatch patch2c_3,mem_patch2c
+	fetch 1,mem_le_txpayload
+	beq LL_CONNECTION_UPDATE_REQ,le_send_connection_update_req
+	beq LL_CHANNEL_MAP_REQ,le_send_channel_map_req
+	beq LL_TERMINATE_IND,le_send_terminate_ind
+	beq LL_ENC_REQ,le_send_enc_req
+	beq LL_ENC_RSP,le_send_enc_rsp
+	beq LL_START_ENC_REQ,le_send_start_enc_req
+	beq LL_START_ENC_RSP,le_send_start_enc_rsp
+	beq LL_UNKNOWN_RSP,le_send_unknown_rsp
+	beq LL_FEATURE_REQ,le_send_feature
+	beq LL_FEATURE_RSP,le_send_feature
+	beq LL_PAUSE_ENC_REQ,le_send_pause_enc_req
+	beq LL_PAUSE_ENC_RSP,le_send_pause_enc_rsp
+	beq LL_VERSION_IND,le_send_version_ind
+	beq LL_REJECT_IND,le_send_reject_ind
+	beq LL_CONNECTION_PARAM_REQ,le_send_conn_param_req  //ACL PACKET
+	branch assert
+	
+le_prepare_l2cap:
+	jam 0,mem_le_txcid+1
+	force 2,type
+	bbit0 6,le_prepare_att
+	beq ATTOP_WRITE_COMMAND,le_prepare_att
+	beq ATTOP_SIGNED_WRITE_COMMAND,le_prepare_att
+	jam LE_L2CAP_CID_SMP,mem_le_txcid
+	set0 6,pdata
+	store 1,mem_le_l2cap
+le_prepare_smp:
+	set1 mark_ext_patch,mark
+	bpatch patch2c_4,mem_patch2c
+	fetch 1,mem_le_l2cap
+le_prepare_smp0:
+	beq SMP_PAIRING_REQUEST,le_send_smp_pairing_request             
+	beq SMP_PAIRING_RESPONSE,le_send_smp_pairing_response            
+	beq SMP_PAIRING_CONFIRM,le_send_smp_pairing_confirm             
+	beq SMP_PAIRING_RANDOM,le_send_smp_pairing_random              
+	beq SMP_PAIRING_FAILED,le_send_smp_pairing_failed              
+	beq SMP_ENCRYPTION_INFORMATION,le_send_smp_encryption_information      
+	beq SMP_MASTER_IDENTIFICATION,le_send_smp_master_identification       
+	beq SMP_IDENTITY_INFORMATION,le_send_smp_identity_information        
+	beq SMP_IDENTITY_ADDRESS_INFORMATION,le_send_smp_identity_address_information
+	beq SMP_SIGNING_INFORMATION,le_send_smp_signing_information         
+	beq SMP_SECURITY_REQUEST,le_send_smp_security_request            
+	branch assert
+	
+le_prepare_att:
+	jam LE_L2CAP_CID_ATT,mem_le_txcid
+	store 1,mem_le_l2cap
+	set1 mark_ext_patch,mark
+	bpatch patch2c_5,mem_patch2c
+le_prepare_att0:
+	fetch 1,mem_le_l2cap
+	beq ATTOP_ERROR_RESPONSE,le_send_att_error_response
+	beq ATTOP_EXCHANGE_MTU_REQUEST,le_send_att_exchange_mtu
+	beq ATTOP_EXCHANGE_MTU_RESPONSE,le_send_att_exchange_mtu
+	beq ATTOP_FIND_INFORMATION_REQUEST,le_send_att_find_information_request
+	beq ATTOP_FIND_INFORMATION_RESPONSE,le_send_att_find_information_response
+	beq ATTOP_FIND_BY_TYPE_VALUE_REQUEST,le_send_att_find_by_type_value_request
+	beq ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,le_send_att_find_by_type_value_response
+	beq ATTOP_READ_BY_TYPE_REQUEST,le_send_att_read_by_type_request
+	beq ATTOP_READ_BY_TYPE_RESPONSE,le_send_att_read_by_type_response
+	beq ATTOP_READ_REQUEST,le_send_att_read_request
+	beq ATTOP_READ_RESPONSE,le_send_att_read_response
+	beq ATTOP_READ_BLOB_REQUEST,le_send_att_read_blob_request
+	beq ATTOP_READ_BLOB_RESPONSE,le_send_att_read_blob_response
+	beq ATTOP_READ_MULTIPLE_REQUEST,le_send_att_read_multiple_request
+	beq ATTOP_READ_MULTIPLE_RESPONSE,le_send_att_read_multiple_response
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,le_send_att_read_by_group_type_request
+	beq ATTOP_READ_BY_GROUP_TYPE_RESPONSE,le_send_att_read_by_group_type_response
+	beq ATTOP_WRITE_REQUEST,le_send_att_write_request
+	beq ATTOP_WRITE_RESPONSE,le_send_att_write_response
+	beq ATTOP_PREPARE_WRITE_REQUEST,le_send_att_prepare_write_request
+	beq ATTOP_PREPARE_WRITE_RESPONSE,le_send_att_prepare_write_response
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_send_att_execute_write_request
+	beq ATTOP_EXECUTE_WRITE_RESPONSE,le_send_att_execute_write_response
+	beq ATTOP_HANDLE_VALUE_NOTIFICATION,le_send_att_handle_value_notification
+	beq ATTOP_HANDLE_VALUE_INDICATION,le_send_att_handle_value_indication
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_send_att_handle_value_confirmation
+	beq ATTOP_WRITE_COMMAND,le_send_att_write_command
+	beq ATTOP_SIGNED_WRITE_COMMAND,le_send_att_signed_write_command
+	beq EMPTY_LE_DATA_PRE,le_send_empty_le_data_pre
+	beq EMPTY_LE_DATA,le_send_empty_le_data
+	branch assert
+	
+le_send_empty_le_data_pre:
+	jam ATTOP_READ_BY_GROUP_TYPE_REQUEST,mem_fifo_temp
+	call le_xtype_fifo_in
+	
+le_send_empty_le_data:
+	setarg 0x0011
+	store 2,mem_le_txheader
+	fetch 1,mem_le_arq
+	set1 wak,pdata
+	store 1,mem_le_arq
+	jam ATTOP_WRITE_REQUEST,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_send_connection_update_req:
+	force 12,temp
+	branch le_send_packet
+	
+le_send_channel_map_req:
+	force 8,temp
+	branch le_send_packet
+	
+le_send_terminate_ind:
+	force 2,temp
+	branch le_send_packet
+	
+le_send_enc_req:
+	force 0,pdata
+	istore 8,contw					/* RAND=0 */
+	istore 2,contw					/* EDIV=0 */
+	copy contw,temp
+	arg mem_le_skdm,contw
+	force 8,loopcnt
+	call generate_random_loop
+	fetch 8,mem_le_skdm
+	istore 8,temp					/* SKDm */
+	copy contw,temp
+	arg mem_le_ivm,contw
+	force 4,loopcnt
+	call generate_random_loop
+	fetch 4,mem_le_ivm
+	istore 4,temp					/* IVm */
+	force 23,temp
+	branch le_send_packet
+	
+le_send_enc_rsp:
+	copy contw,temp
+	arg mem_le_skds,contw
+	force 8,loopcnt
+	call generate_random_loop
+	fetch 8,mem_le_skds
+	istore 8,temp					/* SKDs */
+	copy contw,temp
+	arg mem_le_ivs,contw
+	force 4,loopcnt
+	call generate_random_loop
+	fetch 4,mem_le_ivs
+	istore 4,temp					/* IVs */
+	call generate_sk
+	jam XT_LL_START_ENC_REQ,mem_fifo_temp
+	call le_xtype_fifo_in
+	force 13,temp
+	branch le_send_packet
+	
+le_send_start_enc_req:
+	force 1,temp
+	branch le_send_packet
+	
+le_send_start_enc_rsp:
+	force 1,temp
+	branch le_send_packet,master
+	jam XT_SMP_ENCRYPTION_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	force 1,temp
+	branch le_send_packet
+	
+le_send_unknown_rsp:
+	force 2,temp
+	branch le_send_packet
+	
+le_send_feature:
+	setarg param_le_features
+	istore 8,contw
+	force 9,temp
+	branch le_send_packet
+	
+le_send_pause_enc_req:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_pause_enc_rsp:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_version_ind:
+	setarg param_le_version
+	istore 3,contw
+	setarg param_le_subversion
+	istore 2,contw
+	force 6,temp
+	branch le_send_packet
+	
+le_send_reject_ind:
+	force 2,temp
+	branch le_send_packet
+
+le_send_conn_param_req:
+	increase -1,contw
+	setarg 0x000c
+	istore 2,contw //Length
+	setarg 0x0005
+	istore 2,contw	//CID
+	setarg 0xb412
+	istore 2,contw		
+	setarg 0x0008
+	istore 2,contw
+	setarg 0x0008
+	istore 2,contw //min interval
+	setarg 0x0010
+	istore 2,contw //max interval
+	setarg 0
+	istore 2,contw //latency
+	setarg 0x012c
+	istore 2,contw //timeout	
+	call le_send_autolen
+	force 2,type
+	branch le_send_packet
+
+le_send_smp_pairing_request:
+	setarg 0x1000401
+	store 4,mem_le_preq
+	setarg 0x070710
+	istore 3,contw
+	fetch 6,mem_le_preq+1
+	store 6,mem_le_l2cap_response
+	force 11,temp
+	branch le_send_packet
+	
+le_send_smp_pairing_response:
+	setarg param_smp_paring_response	
+	store 4,mem_le_pres
+	setarg param_smp_key_dist
+	istore 3,contw
+	fetch 6,mem_le_pres+1
+	store 6,mem_le_l2cap_response
+	force 11,temp
+	branch le_send_packet
+	
+le_send_smp_pairing_confirm:
+	call generate_confirm
+	arg mem_le_l2cap_response,contw
+	call store_aes_result
+	force 21,temp
+	branch le_send_packet
+	
+le_send_smp_pairing_random:
+	fetch 8,mem_le_mrand
+	branch le_send_smp_mrandom,master
+	fetch 8,mem_le_srand
+	
+le_send_smp_mrandom:
+	call le_send_smp_128
+	branch le_send_packet
+	
+le_send_smp_pairing_failed:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_smp_encryption_information:
+	jam BT_EVT_LE_ENC_INFO,mem_fifo_temp
+	call ui_ipc_send_event
+	jam XT_SMP_MASTER_IDENTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_my_ltk,contw
+	call generate_random
+	fetch 8,mem_le_my_ltk
+	fetch 8,mem_le_ltk
+	call le_send_smp_128
+	branch le_send_packet
+	
+le_send_smp_master_identification:
+	jam XT_SMP_IDENTITY_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_l2cap_response,contw
+	force 8,loopcnt
+	call generate_random_loop
+	force 15,temp
+	branch le_send_packet
+	
+le_send_smp_identity_information:
+	jam XT_SMP_IDENTITY_ADDRESS_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_l2cap_response,contw
+	call generate_random
+	branch le_send_autolen
+	
+le_send_smp_identity_address_information:
+	jam XT_SMP_SIGNING_INFORMATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	force 0,pdata						/* address type:PUBLIC */
+	store 1,mem_le_l2cap_response
+	fetch 6,mem_le_lap
+	istore 6,contw
+	branch le_send_autolen
+	
+le_send_smp_signing_information:
+	arg mem_le_l2cap_response,contw
+	call generate_random
+	branch le_send_autolen
+	
+le_send_smp_security_request:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_smp_128:
+	store 8,mem_le_l2cap_response
+	ifetch 8,contr
+	istore 8,contw
+	force 21,temp
+	rtn
+
+le_send_att_error_response_notfound:	
+	jam ATT_ERR_ATTRIBUTE_NOT_FOUND,mem_le_err_code
+le_send_att_error_response:	
+	jam ATTOP_ERROR_RESPONSE,mem_le_l2cap
+	fetch 3,mem_le_att_opcode
+	store 3,mem_le_l2cap_response
+	fetch 1,mem_le_err_code
+	istore 1,contw
+	branch le_send_autolen
+	
+le_send_att_exchange_mtu:
+	setarg param_le_mtu
+	istore 2,contw
+	branch le_send_autolen
+	
+le_send_att_find_information_request:
+	fetch 2,mem_le_search_handle_start
+	store 2,mem_le_l2cap_response
+	fetch 2,mem_le_search_handle_end
+	istore 2,contw
+	branch le_send_autolen
+	
+	
+
+le_send_att_find_information_response:
+	force 1,pdata
+	store 1,mem_le_l2cap_response
+	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
+	disable user
+	istore 2,contw
+	ifetch 2,contr
+	istore 2,contw
+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:
+	increase 2,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_autolen
+
+	
+le_send_att_find_by_type_value_request:
+	fetch 2,mem_le_search_handle_start
+	branch le_send_empty_le_data,blank
+	store 2,mem_le_l2cap_response
+	fetch 2,mem_le_search_handle_end
+	//setarg 0xffff
+	istore 2,contw
+	fetch 2,mem_le_uuid
+	//setarg 0x2800
+	istore 2,contw
+	fetch 2,mem_le_search_att_type
+	//setarg 0x1801
+	istore 2,contw
+	branch le_send_autolen
+
+	
+le_send_att_find_by_type_value_response:
+	call le_start_end_handle_check_1
+	rtn user
+	fetcht 2,mem_le_uuid
+	setarg UUID_GATT_PRIMARY_SERVICE
+	isub temp,null
+	branch le_send_att_find_by_type_value_res_primary,zero
+	setarg UUID_GATT_SECONDARY_SERVICE
+	isub temp,null
+	branch le_send_att_error_response_notfound,zero
+	setarg UUID_GATT_INCLUDE
+	isub temp,null
+	branch le_send_att_error_response_notfound,zero
+	setarg UUID_GATT_CHARACTERISTIC
+	isub temp,null
+	branch le_send_att_error_response_notfound,zero
+	branch le_send_att_error_response_notfound
+	
+le_send_att_find_by_type_value_res_primary:
+	fetcht 2,mem_le_search_att_type
+	increase 2,contr
+	ifetch 1,contr
+	icopy regc //primary service number
+	increase 1,regc
+	
+le_send_att_find_by_type_value_res_primary_search_loop:
+         increase -1,regc
+         branch le_send_att_error_response_notfound,zero
+         ifetch 2,contr
+	isub temp,null
+	branch le_send_att_find_by_type_value_res_primary_search_end,zero
+	increase 4,contr
+	branch le_send_att_find_by_type_value_res_primary_search_loop
+	
+le_send_att_find_by_type_value_res_primary_search_end:
+	ifetch 2,contr
+	icopy rega//handle start
+	ifetch 2,contr
+	icopy regb//handle end	
+	call le_start_end_handle_check_2
+	rtn user
+	jam ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,mem_le_l2cap
+	deposit rega
+	store 2,mem_le_l2cap_response
+	deposit regb
+	istore 2,contw
+	force 9,temp
+	branch le_send_packet
+	
+
+
+
+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
+le_send_att_invalid_handle:
+	jam ATT_ERR_INVALID_HANDLE,mem_le_err_code
+	branch le_send_att_error_response
+	
+le_start_end_handle_check_2:
+	disable user
+	fetcht 2,mem_le_search_handle_start
+	deposit rega
+	isub temp,null
+	nbranch le_start_end_handle_check_2_fail,positive
+	fetch 2,mem_le_search_handle_end
+	isub regb,null
+	nbranch le_start_end_handle_check_2_fail,positive
+	deposit regb
+	isub rega,null
+	nbranch le_start_end_handle_check_2_fail,positive
+	rtn
+         
+le_start_end_handle_check_2_fail:
+	enable user
+	branch le_send_att_error_response_notfound
+
+	
+le_send_att_read_by_type_request:
+	fetch 2,mem_le_search_handle_start
+//	setarg 0x0001
+	istore 2,contw
+	fetch 2,mem_le_search_handle_end
+//	setarg 0x0018
+	istore 2,contw
+	fetch 2,mem_le_search_att_type
+	istore 2,contw
+	force 11,temp
+	branch le_send_packet
+
+	
+le_send_att_read_by_type_response:
+	fetcht 2,mem_le_search_att_type
+	setarg UUID_GATT_CHARACTERISTIC
+	isub temp,null
+	setarg 7
+	branch le_send_att_read_by_type_res_cont,zero
+	setarg UUID_GATT_PRIMARY_SERVICE
+	isub temp,null
+	setarg 6
+	branch le_send_att_read_by_type_res_cont,zero
+	branch le_send_att_error_response_notfound
+le_send_att_read_by_type_res_cont:
+	store 1,mem_le_l2cap_response
+	call le_init_attlist_search
+	force 3,alarm
+le_send_att_read_by_type_res_loop:
+	call le_att_handle_inrange
+	branch le_send_att_read_by_type_res_end,blank
+	nbranch le_send_att_read_by_type_res_next,positive
+	iforce rega
+	ifetch 2,contr
+	isub temp,null
+	nbranch le_send_att_read_by_type_res_next2,zero
+	disable user
+	deposit rega
+	istore 2,contw
+	ifetch 1,contr
+	add pdata,4,loopcnt
+	call memcpy
+	increase -1,alarm
+	branch le_send_att_read_by_type_res_end,zero
+	branch le_send_att_read_by_type_res_next2
+le_send_att_read_by_type_res_next:
+	increase 2,contr
+le_send_att_read_by_type_res_next2:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_read_by_type_res_loop
+le_send_att_read_by_type_res_end:
+	branch le_send_att_error_response_notfound,user
+	branch le_send_autolen
+
+	
+le_send_att_read_request:
+	fetch 1,mem_le_temp
+	//branch le_send_att_read_req_end,blank
+         increase -1,pdata
+         store 1,mem_le_temp
+         lshift pdata,pdata
+         //increase -2,pdata
+         iadd contr,contr
+         ifetcht 2,contr
+         storet 2,mem_le_l2cap_response
+	branch le_send_autolen
+	
+le_send_att_read_response:
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_send_att_error_response_notfound,blank
+	ifetch 1,contr
+	branch le_send_autolen,blank
+	sub pdata,22,null
+	branch le_send_att_read_response_less,positive
+	force 22,pdata
+le_send_att_read_response_less:
+	icopy loopcnt
+	call memcpy
+	branch le_send_autolen
+
+	
+le_send_att_read_blob_request:
+	setarg 0x0003
+	store 2,mem_le_l2cap_response
+	setarg 0x0008
+	istore 2,contw
+	branch le_send_autolen
+	
+le_send_att_read_blob_response:
+	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	
+	branch le_send_autolen
+	
+le_send_att_read_multiple_request:
+	setarg 0x0003
+	istore 2,contw
+	setarg 0x0007
+	istore 2,contw
+	setarg 0x0009
+	istore 2,contw
+	branch le_send_autolen
+	
+le_send_att_read_multiple_response:
+	fetch 1,mem_le_temp
+	icopy regc//handle number
+	arg mem_le_rxbuf+7,rega
+	arg mem_le_l2cap_response,regb
+	arg 0,timeup
+	disable user7
+
+le_send_att_read_multiple_response_loop:
+	copy rega,contr
+	ifetcht 2,contr
+	copy contr,rega
+	call le_att_get_handle_ptr 
+	branch le_send_att_read_multiple_response_end,blank
+	ifetch 1,contr
+	icopy loopcnt
+	iadd timeup,timeup
+	//deposit timeup
+	//store 1,0x1ff3
+	//branch loop	
+	sub timeup,24,null
+	nbranch le_send_att_read_multiple_response_end_1,positive
+	copy regb,contw
+	
+le_copy_att_value_loop_3:
+	ifetch 1,contr
+	istore 1,contw
+	loop le_copy_att_value_loop_3
+	copy contw,regb
+	enable user7
+	increase -1,regc
+	branch le_send_att_read_multiple_response_end,zero
+	branch le_send_att_read_multiple_response_loop
+
+le_send_att_read_multiple_response_end:
+	nbranch le_send_att_read_multiple_response_fail,user7
+	disable user7
+	copy timeup,temp
+	increase 5,temp
+	branch le_send_packet
+	
+le_send_att_read_multiple_response_end_1:
+	nbranch le_send_att_read_multiple_response_fail,user7
+	disable user7
+	deposit timeup
+	isub loopcnt,temp
+	increase 5,temp
+	branch le_send_packet
+	
+le_send_att_read_multiple_response_fail:
+	jam ATT_ERR_UNSUPPORTED_GROUP_TYPE,mem_le_err_code
+	branch le_send_att_error_response
+
+	
+le_send_att_read_by_group_type_request:
+	fetch 2,mem_le_att_handle
+	branch le_send_empty_le_data,blank
+	istore 2,contw
+	setarg 0xffff
+	istore 2,contw
+	setarg 0x2800
+	istore 2,contw
+	branch le_send_autolen
+
+	
+le_send_att_read_by_group_type_response:
+	setarg 0x06
+	store 1,mem_le_l2cap_response
+	fetch 2,mem_le_search_att_type
+	iforce rega
+	call le_init_attlist_search
+	force 3,loopcnt
+le_send_att_read_by_group_type_response_loop:
+	call le_att_handle_inrange
+	branch le_send_att_read_by_group_type_response_last,blank
+	nbranch le_send_att_read_by_group_type_response_next,positive
+	iforce alarm
+	ifetch 2,contr
+	isub rega,null			/* same type? */
+	nbranch le_send_att_read_by_group_type_response_cont,zero
+	deposit alarm
+	branch le_send_att_read_by_group_type_response_first,user
+	increase -1,pdata
+	istore 2,contw			/* end handle */
+	istoret 2,contw			/* type uuid */
+	increase 1,pdata
+	increase -1,loopcnt
+	branch le_send_autolen,zero
+le_send_att_read_by_group_type_response_first:
+	disable user
+	istore 2,contw			/* start handle */
+	increase 1,contr
+	ifetcht 2,contr
+	increase -3,contr
+	branch le_send_att_read_by_group_type_response_cont
+le_send_att_read_by_group_type_response_last:
+	branch le_send_att_error_response_notfound,user
+	force -1,pdata
+	istore 2,contw
+	istoret 2,contw
+	branch le_send_autolen
+le_send_att_read_by_group_type_response_next:
+	increase 2,contr
+le_send_att_read_by_group_type_response_cont:
+	ifetch 1,contr
+	iadd contr,contr
+	branch le_send_att_read_by_group_type_response_loop
+	
+
+	
+le_send_att_write_request:
+	fetch 2,mem_le_notify_handle
+	store 2,mem_le_l2cap_response
+	fetch 1,mem_le_handle_data_len
+	copy pdata,loopcnt
+	arg mem_le_handle_data,contr
+	call memcpy
+	branch le_send_autolen
+	
+le_send_att_write_response:
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_send_att_write_response_go,blank
+	increase -2,contr
+	ifetcht 2,contr
+	setarg UUID_CLIENT_CHARACTERISTIC
+	isub temp,null
+	nbranch le_send_att_write_response_go,zero
+	increase 1,contr
+	ifetcht 2,contr
+	setarg 0x0001
+	isub temp,null
+	branch le_send_att_write_response_notify,zero
+	setarg 0x0000
+	isub temp,null
+	nbranch le_send_att_write_response_go,zero
+	branch le_send_att_write_response_go
+	
+le_send_att_write_response_notify:
+	increase -7,contr
+	ifetch 2,contr
+	increase -1,pdata
+	store 2,mem_le_notify_handle	
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+//	jam	CONN_SM_NOTIFY,mem_le_conn_sm
+
+le_send_att_write_response_go:
+	force 5,temp
+	branch le_send_packet
+
+le_send_att_prepare_write_request:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_prepare_write_response:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_execute_write_request:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_execute_write_response:
+	force 6,temp
+	branch le_send_packet
+
+le_att_check_notification_enable: // temp ->handle,output-> pdata,output :contr->rega
+	set1 mark_ext_patch,mark
+	bpatch patch2c_6,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_att_handle_value_notification:
+	jam 0,mem_le_notify_len
+	fetch 2,mem_cb_update_notify_value
+	call callback_func
+	arg mem_le_l2cap,contw
+	increase 1,contw
+	fetcht 2,mem_le_notify_handle
+	istoret 2,contw
+	call le_att_get_handle_ptr 
+	ifetch 1,contr
+	icopy loopcnt
+	call memcpy
+	fetcht 1,mem_le_notify_len
+	increase 7,temp
+	call le_send_packet
+	branch le_clear_notify_att
+
+le_send_att_handle_value_indication:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_handle_value_confirmation:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_write_command:
+	force 6,temp
+	branch le_send_packet
+	
+le_send_att_signed_write_command:
+	force 6,temp
+	branch le_send_packet
+
+
+le_send_autolen:
+	set1 mark_ext_patch,mark
+	bpatch patch2c_7,mem_patch2c
+	setarg mem_le_txpayload
+	isub contw,pdata
+	sub pdata,0,temp
+	branch le_send_packet
+
+
+le_send_empty:
+	force 0,temp
+	force 1,type
+	
+le_send_packet:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_0,mem_patch2d
+	storet 1,mem_le_txlen
+	compare 2,type,3
+	nbranch le_send_non_l2cap,true
+	add temp,-4,pdata
+	store 2,mem_le_txpayload
+	
+le_send_non_l2cap:
+	fetcht 1,mem_le_arq
+	call le_xtype_fifo_is_empty
+	nsetflag blank,md,temp
+	set1 wak,temp
+	and temp,0xfc,pdata
+	ior type,pdata
+	store 1,mem_le_arq
+	and_into 0x1f,pdata
+	store 1,mem_le_txheader
+	set1 mark_ext_patch,mark
+	bpatch patch2d_1,mem_patch2d
+	fetch 1,mem_le_txheader
+	compare 1,type,3
+	rtn true
+	fetch 7,mem_le_txheader+1
+	fetch 1,mem_le_state
+	rtnbit0 lestate_encryption
+	call load_sk
+	branch le_encrypt
+	
+le_parse:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_2,mem_patch2d
+	call le_xtype_fifo_is_full
+	nbranch assert,blank
+	nrtn blank // xtype fifo full
+	fetch 1,mem_le_rxbuf+1
+	rtn blank
+	fetch 1,mem_le_rxbuf
+	compare 1,pdata,3
+	branch le_parse_l2cap,true //ACL-U continue or empty packet
+	fetch 7,mem_le_rxbuf+1
+	fetch 1,mem_le_rxbuf
+	compare 2,pdata,3
+	branch le_parse_l2cap,true
+	fetch 1,mem_le_rxbuf+2
+	store 1,mem_le_rx_ll_opcode
+	copy pdata,regc
+	set1 mark_ext_patch,mark
+	bpatch patch2d_3,mem_patch2d
+	copy regc,pdata
+	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
+	branch assert
+	
+le_parse_l2cap:
+	fetch 1,mem_le_rxbuf+1
+	and pdata,0x1f,pdata //get length
+	rtn blank//empty packet
+	fetch 1,mem_device_option
+	beq dvc_op_hci,le_acl_upgoing
+	fetch 2,mem_le_rxbuf+4//CID
+	beq LE_L2CAP_CID_ATT,le_parse_att
+	beq LE_L2CAP_CID_SMP,le_parse_smp
+	rtn
+
+le_acl_upgoing: //upgoing ACL, from air to host
+	set1 mark_ext_patch,mark
+	bpatch patch2d_4,mem_patch2d
+	call hci_get_packet_ptr
+	fetch 1,mem_le_conn_handle
+	fetcht 1,mem_le_rxbuf//LLID low 2 bits
+	and_into 3,temp
+	lshift8 temp,temp
+	lshift4 temp,temp
+	ior temp,pdata
+	istore 2,contwu
+	fetcht 1,mem_le_rxbuf+1
+	and temp,0x1f,temp
+	istoret 2,contwu //length
+	copy temp,loopcnt
+	call uart_copy_tx_bytes
+	add temp,4,loopcnt
+	call h4_send_packet_acl
+	branch h4_send_acl_trigger
+
+le_acl_downgoing: //downgoing ACL, from host to air
+	set1 mark_ext_patch,mark
+	bpatch patch2d_5,mem_patch2d
+	arg 0x2,type
+	ifetch 2,contru
+	ifetch 2,contru //length
+	branch assert,blank
+	copy pdata,loopcnt
+	arg mem_le_txpayload,contw
+	call uart_copy_rx_bytes	
+	branch le_send_autolen
+	
+le_parse_smp:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_6,mem_patch2d
+	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
+	branch assert
+	
+le_parse_att:
+	set1 mark_ext_patch,mark
+	bpatch patch2d_7,mem_patch2d
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+le_parse_att_p:
+	beq ATTOP_ERROR_RESPONSE,le_parse_att_error_response
+	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_INFORMATION_RESPONSE,le_parse_att_find_information_response
+	beq ATTOP_FIND_BY_TYPE_VALUE_REQUEST,le_parse_att_find_by_type_value_request
+	beq ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,le_parse_att_find_by_type_value_response
+	beq ATTOP_READ_BY_TYPE_REQUEST,le_parse_att_read_by_type_request
+	beq ATTOP_READ_BY_TYPE_RESPONSE,le_parse_att_read_by_type_response
+	beq ATTOP_READ_REQUEST,le_parse_att_read_request
+	beq ATTOP_READ_RESPONSE,le_parse_att_read_response
+	beq ATTOP_READ_BLOB_REQUEST,le_parse_att_read_blob_request
+	beq ATTOP_READ_BLOB_RESPONSE,le_parse_att_read_blob_response
+	beq ATTOP_READ_MULTIPLE_REQUEST,le_parse_att_read_multiple_request
+	beq ATTOP_READ_MULTIPLE_RESPONSE,le_parse_att_read_multiple_response
+	beq ATTOP_READ_BY_GROUP_TYPE_REQUEST,le_parse_att_read_by_group_type_request
+	beq ATTOP_READ_BY_GROUP_TYPE_RESPONSE,le_parse_att_read_by_group_type_response
+	beq ATTOP_WRITE_REQUEST,le_parse_att_write_request
+	beq ATTOP_WRITE_RESPONSE,le_parse_att_write_response
+	beq ATTOP_PREPARE_WRITE_REQUEST,le_parse_att_prepare_write_request
+	beq ATTOP_PREPARE_WRITE_RESPONSE,le_parse_att_prepare_write_response
+	beq ATTOP_EXECUTE_WRITE_REQUEST,le_parse_att_execute_write_request
+	beq ATTOP_EXECUTE_WRITE_RESPONSE,le_parse_att_execute_write_response
+	beq ATTOP_HANDLE_VALUE_NOTIFICATION,le_parse_att_handle_value_notification
+	beq ATTOP_HANDLE_VALUE_INDICATION,le_parse_att_handle_value_indication
+	beq ATTOP_HANDLE_VALUE_CONFIRMATION,le_parse_att_handle_value_confirmation
+	beq ATTOP_WRITE_COMMAND,le_parse_att_write_command
+	beq ATTOP_SIGNED_WRITE_COMMAND,le_parse_att_signed_write_command
+	branch assert
+
+
+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
+	fetch 1,mem_le_state
+	set1 lestate_update_map,pdata
+	store 1,mem_le_state
+	rtn
+	
+le_parse_terminate_ind:
+	fetch 1,mem_le_op
+	set1 op_disconn,pdata
+	store 1,mem_le_op
+	rtn
+	
+le_parse_enc_req:
+	increase 10,contr
+	ifetch 8,contr
+	store 8,mem_le_skdm
+	ifetch 4,contr
+	store 4,mem_le_ivm
+	jam XT_LL_ENC_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+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
+	jam XT_LL_START_ENC_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_start_enc_rsp:
+	rtn master
+	jam XT_LL_START_ENC_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_unknown_rsp:
+	rtn
+	
+le_parse_feature_req:
+	jam XT_LL_FEATURE_RSP,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_feature_rsp:
+	rtn
+	
+le_parse_pause_enc_req:
+	rtn
+	
+le_parse_pause_enc_rsp:
+	rtn
+	
+le_parse_version_ind:
+	rtn master
+	jam XT_LL_VERSION_IND,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_reject_ind:
+	rtn
+
+
+le_parse_smp_pairing_request:
+	store 1,mem_le_preq
+	ifetch 6,contr
+	istore 6,contw
+	jam XT_SMP_PAIRING_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_response:
+	store 1,mem_le_pres
+	ifetch 6,contr
+	istore 6,contw
+	jam XT_SMP_PAIRING_CONFIRM,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_confirm:
+	arg mem_le_rconfirm,contw
+	call memcpy16
+	jam XT_SMP_PAIRING_RANDOM,mem_fifo_temp
+	branch  le_xtype_fifo_in,master
+	jam XT_SMP_PAIRING_CONFIRM,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_random:
+	call authenticate_rconfirm
+	branch le_parse_smp_pairing_random_success,zero
+	jam XT_SMP_PAIRING_FAILED,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_random_success:
+	call generate_stk
+	jam XT_LL_ENC_REQ,mem_fifo_temp
+	branch le_xtype_fifo_in,master
+	jam XT_SMP_PAIRING_RANDOM,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_smp_pairing_failed:
+	rtn
+	
+le_parse_smp_encryption_information:
+	arg mem_le_peer_ltk,contw
+	branch memcpy16
+	
+le_parse_smp_master_identification:
+	rtn
+	
+le_parse_smp_identity_information:
+	rtn
+	
+le_parse_smp_identity_address_information:
+	rtn
+	
+le_parse_smp_signing_information:
+	rtn
+	
+le_parse_smp_security_request:
+	rtn
+
+le_parse_att_error_response:
+	increase -2,contr
+	ifetcht 1,contr
+	setarg ATTOP_FIND_BY_TYPE_VALUE_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_find_by_type_value,zero
+	setarg ATTOP_FIND_INFORMATION_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_find_info,zero
+	setarg ATTOP_READ_BY_TYPE_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_read_by_type,zero
+	setarg ATTOP_READ_BLOB_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_read_blob,zero
+	setarg ATTOP_READ_MULTIPLE_REQUEST
+	isub temp,null
+	branch le_parse_att_error_res_read_multiple,zero
+	rtn
+	
+le_parse_att_error_res_find_by_type_value:
+	rtn
+	
+le_parse_att_error_res_find_info:
+	rtn
+	
+le_parse_att_error_res_read_by_type:
+	rtn
+	
+le_parse_att_error_res_read_blob:
+	rtn
+	
+le_parse_att_error_res_read_multiple:
+	rtn
+
+	
+le_parse_att_exchange_mtu_request:
+	jam ATTOP_EXCHANGE_MTU_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_exchange_mtu_response:
+	rtn
+	
+le_parse_att_find_information_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	jam ATTOP_FIND_INFORMATION_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_find_information_response:
+	rtn
+	
+le_parse_att_find_info_res_multi:
+	rtn
+	
+le_parse_att_find_info_res_error:
+	rtn
+	
+le_parse_att_find_by_type_value_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	ifetch 2,contr
+	store 2,mem_le_uuid//type
+	ifetch 2,contr
+	store 2,mem_le_search_att_type//value
+	jam ATTOP_FIND_BY_TYPE_VALUE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+
+	
+le_parse_att_find_by_type_value_response:
+	rtn
+	
+le_parse_att_read_by_type_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	ifetch 2,contr
+	store 2,mem_le_search_att_type
+	jam ATTOP_READ_BY_TYPE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_by_type_response:
+	rtn
+	
+le_parse_att_read_request:
+	fetch 2,mem_le_rxbuf+7
+	store 2,mem_le_att_handle
+	jam ATTOP_READ_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_response:
+	rtn
+	
+le_send_att_read_res_end:
+	rtn
+	
+le_prepare_descriptor:
+	rtn
+
+	
+le_parse_att_read_blob_request:
+	ifetch 2,contr
+	store 2,mem_le_att_offset
+	jam ATTOP_READ_BLOB_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_blob_response: 
+	rtn
+	
+le_parse_att_read_multiple_request:
+	fetch 1,mem_le_rxbuf+1
+	increase -5,pdata
+	rshift pdata,pdata
+	store 1,mem_le_temp
+	jam ATTOP_READ_MULTIPLE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_multiple_response:
+	rtn
+	
+le_parse_att_read_by_group_type_request:
+	rshift8 pdata,pdata
+	store 2,mem_le_search_handle_start
+	ifetch 2,contr
+	store 2,mem_le_search_handle_end
+	ifetch 2,contr
+	store 2,mem_le_search_att_type
+	jam ATTOP_READ_BY_GROUP_TYPE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_read_by_group_type_response:
+	rtn
+	
+le_parse_att_write_request:
+	fetch 1,mem_le_rxbuf+1
+	increase -7,pdata
+	icopy loopcnt
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_parse_att_write_request_fail,blank
+	ifetch 1,contr
+	isub loopcnt,null
+	nbranch le_parse_att_write_request_fail,positive
+	copy contr,contw
+
+	arg mem_le_rxbuf+9,contr
+	call memcpy
+	jam BT_EVT_LE_WRITE_REQUEST,mem_fifo_temp
+	call ui_ipc_send_event
+le_parse_att_write_request_fail:
+	jam ATTOP_WRITE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_parse_att_write_response:
+	fetch 1,mem_le_conn_sm
+	rtn
+	
+le_parse_att_prepare_write_request:
+	rtn
+	
+le_parse_att_prepare_write_response:
+	rtn
+	
+le_parse_att_execute_write_request:
+	rtn
+	
+le_parse_att_execute_write_response:
+	rtn
+	
+le_parse_att_handle_value_notification:
+	//copy contr,rega
+	//fetcht 6,mem_le_plap
+	//fetch 6,mem_le_addr_slave1
+	//isub temp,null
+	//branch le_kb_handle_value_notification,zero
+	//copy rega,contr
+	ifetch 5,contr
+	store 5,mem_mouse_data
+	jam SEND_MOUSE_DATA_CMD,mem_mcmd
+	//jam 3,0x4905
+	call usb_isr
+	rtn
+le_kb_handle_value_notification:
+	copy rega,contr
+	ifetch 8,contr
+	store 8,mem_mouse_data
+	jam SEND_KB_DATA_CMD,mem_mcmd
+	call usb_isr
+	rtn
+	
+le_parse_att_handle_value_indication:
+	rtn
+	
+le_parse_att_handle_value_confirmation:
+	rtn
+	
+le_parse_att_write_command:
+	fetch 1,mem_le_rxbuf+1
+	increase -7,pdata
+	icopy loopcnt
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch le_parse_att_write_command_fail,blank
+	ifetch 1,contr
+	isub loopcnt,null
+	nbranch le_parse_att_write_command_fail,positive
+	copy contr,contw
+	copy contr,rega
+	copy loopcnt,regb
+	arg mem_le_rxbuf+9,contr
+	call memcpy
+	jam PRCP_LE,mem_prcp
+	call le_writeatt_cb
+le_parse_att_write_command_fail:
+	rtn
+
+	/* rega pointers to data, regb is length */
+le_writeatt_cb:
+	fetch 2,mem_cb_att_write
+	rtn blank
+	iforce pc
+
+
+le_parse_att_signed_write_command:
+	rtn
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch2e_0,mem_patch2e
+	fetch 1,mem_le_adv_enable
+	rtn blank
+	arg le_adv_interval_timer,queue
+	call timer_check
+	nrtn blank
+	disable master
+	enable swfine
+	call le_init_adv
+	call le_next_adv_channel
+	call le_send_adv_ind
+	nbranch le_adv_not_match,match
+	set1 mark_ext_patch,mark
+	bpatch patch2e_1,mem_patch2e
+	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,parse_connect_req
+le_adv_not_match:
+	nop 10000
+	fetch 1,mem_le_ch_mapped
+	bne 39,le_adv
+	call le_ledoff
+	arg le_adv_interval_timer,queue
+	fetch 2,mem_le_adv_interval_max
+	branch timer_init
+	
+
+le_receive_window_size:
+	set1 mark_ext_patch,mark
+	bpatch patch2e_2,mem_patch2e
+	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
+	store 4,mem_le_transmit_window
+	set1 mark_ext_patch,mark
+	bpatch patch2e_3,mem_patch2e
+	fetch 2,mem_rx_window_sniff
+	call wait_div_end
+	quotient temp
+	iadd temp,pdata
+	store 2,mem_le_receive_window
+	rtn
+
+parse_connect_req:
+	set1 mark_ext_patch,mark
+	bpatch patch2e_4,mem_patch2e
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2e_5,mem_patch2e
+	increase 6,contr
+	ifetch 8,contr
+	store 8,mem_le_access 	// and crcinit & window size
+	ifetcht 2,contr				// transmit offset
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2e_6,mem_patch2e
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch2e_7,mem_patch2e
+	arg 0,temp//status successful
+	call hci_send_le_conn_complete
+	call calc_clke_offset
+	jam BT_EVT_LE_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+//	call app_get_lpm_wake_lock
+	branch context_save
+	
+
+le_init_attlist_search:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_0,mem_patch2f
+	fetch 2,mem_le_search_handle_start
+	iforce regb
+	fetch 2,mem_le_search_handle_end
+	iforce regc
+	arg mem_le_att_list,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:
+	arg mem_le_att_list,contr
+le_att_get_handle_loop:
+	ifetch 2,contr
+	rtn blank
+	increase 2,contr
+	isub temp,null
+	rtn zero
+	ifetch 1,contr			/* length */
+	iadd contr,contr
+	branch le_att_get_handle_loop
+	
+le_data_send_write_req:
+	jam 0x2,mem_le_handle_data_len
+	setarg 0x0001
+	store 2,mem_le_handle_data
+	jam CONN_SM_WAIT_WRITE_RES,mem_le_conn_sm
+	jam ATTOP_WRITE_REQUEST,mem_fifo_temp
+	branch le_xtype_fifo_in
+	
+le_data_wait_write_res:
+	rtn
+le_data_wait_write_res1:
+	rtn
+le_conn_sm_master:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_1,mem_patch2f
+	fetch 1,mem_device_option
+	rtnne dvc_op_dongle
+	fetch 1,mem_le_conn_sm
+	beq CONN_SM_SEND_WRITE_REQ,le_data_send_write_req
+	beq CONN_SM_WAIT_WRITE_RES,le_data_wait_write_res
+	beq CONN_SM_WAIT_WRITE_RES1,le_data_wait_write_res1
+	rtn
+
+le_ukey_init:
+	setarg le_ukey
+	store 2,mem_cb_le_process
+	hjam uart_ctrl_normal,core_uart_ctrl
+	setarg uart_baud_115200
+	hstore uart_baud_len,core_uart_baud
+	hjam uartclk_dpll,core_uart_clksel
+	hjam 0x4,core_gpio_sel1
+	setarg le_ukey_wcb
+	store 2,mem_cb_att_write
+	call le_init_att
+	rtn wake
+	branch eeprom_load_reconn_info
+	
+	
+le_ukey:
+	fetch 1,mem_le_mode
+	compare lemode_slave,pdata,0xff
+	setarg 5
+	call set_pwm_steadyon,true
+	ncall set_pwm_blink,true
+	call uartd_prepare_rx
+	branch le_ukey_senddata,blank
+	fetch 2,mem_le_notify_attr_start
+	iforce contw
+	sub loopcnt,20,null
+	branch le_ukey_loop,positive
+	force 20,loopcnt
+le_ukey_loop:
+	ifetch 1,contru
+	istore 1,contw
+	loop le_ukey_loop
+	call uartd_rxdone
+le_ukey_senddata:
+	jam notify_handle,mem_le_notify_handle
+	fetcht 2,mem_le_notify_attr_start
+	ifetch 1,temp
+	rtn blank
+	call le_xtype_fifo_is_full
+	nrtn blank
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp 
+	branch le_xtype_fifo_in
+
+le_ukey_wcb:
+	copy regb,temp
+	call uartd_prepare_tx
+	copy rega,contr
+	copy regb,loopcnt
+le_writeatt_cb_loop:
+	ifetch 1,contr
+	istore 1,contwu
+	loop le_writeatt_cb_loop
+	branch uartd_send
+
+le_clear_notify_att:
+	fetch 1,mem_device_option
+	rtnne dvc_op_ukey
+	fetch 2,mem_le_notify_handle
+	rtnne notify_handle
+	fetcht 2,mem_le_notify_attr_start
+	setarg 0
+	istore 9,temp
+	istore 9,contw
+	istore 2,contw
+	rtn
+
+
+le_ledoff:
+	fetcht 1,mem_le_adv_led
+	setflip gpio_active_bit,temp
+	branch gpio_out
+
+	
+le_modified_name:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_2,mem_patch2f
+	call le_modified_name_att_list
+	branch le_modified_name_adv
+
+le_modified_name_att_list:
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	call le_att_get_uuid_ptr
+	increase 1,contr
+	copy contr,contw
+	arg mem_le_name,contr
+	call memcpy
+	fetch 1,mem_le_name_len
+	sub pdata,MAX_NAME_LEN,loopcnt
+	copy loopcnt,temp
+	copy loopcnt,pdata
+	ncall memcpy_empty,blank	
+	rtn
+
+le_modified_name_adv:	
+	fetch 1,mem_le_adv_data_len
+	fetcht 1,mem_le_adv_data
+	isub temp,pdata
+	copy pdata,loopcnt
+	copy pdata,rega
+	fetch 1,mem_le_adv_data
+	increase 1,pdata
+	arg mem_le_adv_data,contr
+	iadd contr,contr
+	arg mem_le_adv_temp,contw
+	call memcpy
+	set1 mark_ext_patch,mark
+	bpatch patch2f_3,mem_patch2f
+	fetch 1,mem_le_name_len
+	copy pdata,loopcnt
+	increase 1,pdata
+	store 1,mem_le_adv_data
+	arg mem_le_adv_data+2,contw
+	arg mem_le_name,contr
+	call memcpy
+	copy rega,loopcnt
+	arg mem_le_adv_temp,contr
+	call memcpy
+	fetch 1,mem_le_adv_data
+	iadd rega,pdata
+	store 1,mem_le_adv_data_len
+	rtn
+
+
+le_get_device_name:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_4,mem_patch2f
+	arg UUID_CHRCTR_DEVICE_NAME,temp
+	branch le_att_get_uuid_ptr
+
+	// temp is uuid to search
+le_att_get_uuid_ptr:
+	arg mem_le_att_list,contr
+le_att_get_uuid_loop:
+	ifetch 2,contr			// handle
+	branch assert,blank
+	ifetch 2,contr			// uuid
+	isub temp,null
+	rtn zero
+	ifetch 1,contr			// length 
+	iadd contr,contr
+	branch le_att_get_uuid_loop
+
+	
+memcpy_empty:
+	setarg SPACE
+	istore 1,contw
+	loop memcpy_empty
+	rtn
+
+
+le_lpm_set_mult:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_5,mem_patch2f
+	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
+	fetch 1,mem_le_rxbuf
+	compare 1,pdata,3
+	nbranch lpm_mult_short,true		// rx not empty, short interval
+	fetch 1,mem_le_txheader
+	compare 1,pdata,3
+	nbranch lpm_mult_short,true		// tx not empty, short interval
+	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
+
+le_clean_att_list_handle_enable:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_6,mem_patch2f
+	jam 0,mem_le_switch_send_data
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	copy rega,contw
+	setarg 0
+	istore 1,contw
+	rtn
+le_scan_addr_to_uart:
+	fetch 1,mem_device_option
+	rtnne dvc_op_module 
+	call get_uart_twptr
+	arg mem_le_plap,rega
+	call adss_hex2string_to_uart
+	setarg 0x2c
+	istore 1,contwu
+	call at_rssi_result
+	branch uartd_send
+	
+//input:regb  prcp_tx_len
+prcp_le_tx:
+	arg PRCP_TX_LE,temp
+	call le_att_check_notification_enable
+	rtnbit0 0
+	call le_xtype_fifo_is_full
+	nrtn blank
+	arg PRCP_TX_LE,temp
+	storet 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	branch assert,blank
+	add contr,1,contw
+	arg PRCP_TX_DATA_LEN,loopcnt
+	arg mem_prcp_data,contr
+	call memcpy
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	branch le_xtype_fifo_in
+prcp_tx:
+	rtn
+
+	/* rega = ad type to search, return zero when found */
+le_search_adtype:
+	set1 mark_ext_patch,mark
+	bpatch patch2f_7,mem_patch2f
+	fetch 1,mem_le_rxbuf + 1
+	arg mem_le_rxbuf + 8,contr
+	iadd contr,loopcnt
+le_search_adtype_loop:
+	ifetcht 1,contr
+	ifetch 1,contr
+	isub rega,null
+	rtn zero
+	add temp,-1,pdata
+	iadd contr,contr
+	deposit loopcnt
+	isub contr,null
+	branch le_search_adtype_loop,positive
+	force 1,null
+	rtn
+	
+
+else
+le_disable:
+le_dispatch:
+le_context_nexthop:
+le_acl_downgoing:
+le_clear_connection_info:
+le_scan_check_sender_addr_type:
+le_conn_dispatch:
+le_ukey_init:
+	rtn
+endif
Index: KG9013/btkb/program/lmp.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/lmp.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/lmp.prog	(working copy)
@@ -0,0 +1,2669 @@
+	
+/******************************************/
+/*************   LMP Parse   **************/
+/******************************************/
+init_lmp:
+	rtn wake
+init_lmp_work:
+	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:	
+	set1 mark_ext_patch,mark
+	bpatch patch3c_0,mem_patch3c
+	jam 0,mem_pairing_auth
+	jam 0,mem_sp_localsm
+	jam 0,mem_lmp_conn_state
+	fetch 1,mem_device_option
+	rtnne dvc_op_hci,pdata
+	jam 0,mem_link_key_exists
+	//fall through
+parse_rx_done:
+	rtn
+
+parse_lmp:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_1,mem_patch3c
+	call setlocalsm_master,master	//use this flag in hci
+	ncall setlocalsm_slave,master
+	fetch 1,mem_lmo_opcode2
+	ncall lmo_fifo_process,blank
+	fetch 1,mem_lmo_opcode2
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch3c_2,mem_patch3c
+  	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_REMOVE_SCO_LINK_REQ, parse_lmp_remove_sco_link_req
+	beq LMP_SCO_LINK_REQ, parse_lmp_sco_link_req
+	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:
+	fetch 1,mem_rxbuf+1
+	set1 7,pdata
+	store 1,mem_lmi_opcode2
+	beq LMP_EXT_ACCEPTED,parse_lmpext_accepted
+	beq LMP_NOT_ACCEPTED_EXT,parse_lmpext_not_accepted
+	beq LMP_SNIFF_SUBRATING_REQ, parse_lmp_sniff_subrating_req
+	beq LMP_SNIFF_SUBRATING_RES, parse_lmp_sniff_subrating_res
+	beq LMP_PACKET_TYPE_TABLE_REQ,parse_lmpext_packet_type_table_req
+	beq LMP_EXT_FEATURES_REQ,parse_lmpext_features_req
+	beq LMP_EXT_FEATURES_RES,parse_lmpext_features_res
+	beq LMP_EXT_CHN_CLASSIFICATION_REQ,parse_lmpext_chn_classification_req
+	beq LMP_PAUSE_ENCRYPTION_REQ,parse_lmpext_pause_encrypt
+	beq LMP_RESUME_ENCRYPTION_REQ,parse_lmpext_resume_encrypt
+	beq LMP_IO_CAP_REQ,parse_lmpext_iocap_req
+	beq LMP_IO_CAP_RES,parse_lmpext_iocap_res
+	beq LMP_EXT_REMOVE_ESCO_REQ,parse_lmpext_remove_esco_req
+	beq LMP_EXT_ESCO_LINK_REQ,parse_lmpext_esco_link_req
+	rtneq LMP_EXT_FEATURES_RES
+
+
+reject_unknown_ext_packet:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam UNKNOWN_LMP_PDU,mem_lmo_reason2
+	
+	rtn
+parse_lmpext_chn_classification_req:
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	jam NOT_SUPPORT_CHN_CLASSIFICATION,mem_lmo_reason2
+	rtn
+	
+parse_lmpext_esco_link_req:	
+	fetch 1,mem_rxbuf+2
+	store 1,mem_sco_handle
+	fetch 1,mem_rxbuf+3
+	store 1,mem_esco_addr
+	fetch 1,mem_rxbuf+5
+	store 1,mem_esco_desco
+	fetch 1,mem_rxbuf+9
+	store 1,mem_esco_type
+	fetch 1,mem_rxbuf+14
+	store 1,mem_air_mode
+	bmark1 mark_esco,check_esco_prarm
+	set1 mark_esco,mark
+	call push_tid_follow
+	store 1,mem_accptsco_tid
+	force 0,temp
+	branch hci_send_conn_req_event
+
+parse_lmpext_esco_link_req_change_param:
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmo_opcode2
+	jam prarm_neogotiation,mem_neogotiation_state
+	branch cmd_exit
+
+check_esco_prarm:
+	fetch 1,mem_esco_type
+	bne type_hv3,reject_esco_prarm	
+	jam LMP_EXT_ACCEPTED,mem_lmo_opcode2
+	branch esco_prarm_common
+reject_esco_prarm:
+	set0 mark_esco,mark
+	jam LMP_NOT_ACCEPTED_EXT,mem_lmo_opcode2
+	force HCI_ERROR_UNKNOWN_HCI_COMMAND,temp //sco fail
+	call hci_send_sco_complete
+esco_prarm_common:
+	jam LMP_EXT_ESCO_LINK_REQ,mem_lmi_opcode2
+	rtn
+
+	
+parse_lmpext_remove_esco_req:
+	jam LMP_EXT_ACCEPTED,mem_lmo_opcode2
+	jam LMP_EXT_REMOVE_ESCO_REQ,mem_lmi_opcode2
+	branch stop_esco
+	
+parse_lmpext_iocap_req:
+	call iocap_lmpext_load
+	fetch 1,mem_device_option
+	beq dvc_op_hci,iocap_lmpext_hci
+	jam LMP_IO_CAP_RES,mem_lmo_opcode2
+	rtn
+
+parse_lmpext_iocap_res:
+	call iocap_lmpext_load
+	fetch 1,mem_device_option
+	beq dvc_op_hci,iocap_lmpext_hci
+	branch iocap_lmpext_common
+	
+iocap_lmpext_load:
+	arg      mem_sp_iocap_remote,contw
+	fetch 3, mem_rxbuf+2
+	istore    3,contw
+	rtn
+	
+iocap_lmpext_hci:
+	call hci_send_io_cap_response_event
+iocap_lmpext_common:
+	call check_localsm
+	ncall hci_send_io_cap_req_event,true
+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
+	beq LMP_EXT_ESCO_LINK_REQ,play_sco
+	beq LMP_EXT_REMOVE_ESCO_REQ,parse_lmpext_stop_esco
+	rtn
+
+parse_lmpext_stop_esco:
+	branch stop_esco
+	
+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
+	beq LMP_EXT_ESCO_LINK_REQ,parse_lmpext_not_accepted_esco
+	rtn
+
+parse_lmpext_not_accepted_esco:
+	set0 mark_esco,mark
+	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
+	nbranch hci_send_linkkey_req,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
+	call hci_send_remote_ext_features_event
+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:
+	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_SCO_LINK_REQ,play_sco
+//	beq LMP_REMOVE_SCO_LINK_REQ,stop_sco
+	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:
+	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_SCO_LINK_REQ,parse_lmp_not_accepted_sco_link_req//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
+	force HCI_ERROR_HOST_TIMEOUT,temp
+	call hci_send_connection_error
+	/* clearing connection state machine */
+	jam CONN_SM_STANDBY,mem_conn_sm
+	/* sending error message to host */
+	branch parse_rx_done,true
+	rtn
+	
+parse_lmp_not_accepted_sco_link_req:
+	jam LMP_SCO_LINK_REQ,mem_lmo_opcode2
+	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:
+	fetch 1,mem_device_option
+	bne dvc_op_hci,parse_lmp_not_accepted_aurand_send_detach
+	fetch 1,mem_link_key_exists
+	rtn blank
+	fetcht 1,mem_conn_sm
+	jam 0,mem_conn_sm
+	jam 0,mem_link_key_exists
+	fetch 1,mem_rxbuf+2
+	rtnne KEY_MISSING
+	storet 1,mem_conn_sm
+	jam LOCAL_STATEMACHINE,mem_sp_localsm
+	fetch 2,mem_lmpext_ssp_enable
+	fetcht 1,mem_remote_sppcap
+	iand temp,pdata
+	branch cmd_pair,blank
+	branch cmd_ssp
+	
+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
+	call sniff_exit
+	force 0,temp
+	branch hci_send_mode_change
+	
+parse_lmp_accepted_sniff_req:
+	jam BT_EVT_SNIFF_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	force 0x02,temp
+	call hci_send_mode_change
+	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
+	fetch 1,mem_device_option
+	beq dvc_op_hci,parse_lmp_in_rand_hci	
+	jam BT_EVT_PINCODE_REQ,mem_fifo_temp
+	call ui_ipc_send_event
+parse_lmp_in_rand_hci:
+	call hci_send_pincode_req
+	call tid_check
+	nbranch lmp_accept_inrand,true
+	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:
+	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
+	fetch 1,mem_device_option
+	bne dvc_op_hci,reject_lmp_packet
+	fetch 1,mem_auth_enable
+	nbranch reject_lmp_packet,blank
+	jam 0,mem_lmo_opcode2
+parse_lmp_inrand_sres:
+	fetch 1,mem_op
+	set1 op_send_sres,pdata
+	store 1,mem_op
+	branch hci_send_linkkey_req
+	
+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 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
+	call hci_send_auth_complete,true
+	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
+	//force HCI_SUCCESS,queue
+	//branch hci_send_name
+	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:
+	fetch 1,mem_device_option
+	bne dvc_op_hci,accept_lmp_msg
+	force 1,temp
+	branch hci_send_conn_req_event	
+	
+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:
+	rtn
+
+parse_lmp_max_power:
+	rtn
+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_preferred_rate:
+	rtn
+parse_lmp_remove_sco_link_req:
+	call stop_sco
+	jam LMP_REMOVE_SCO_LINK_REQ,mem_lmi_opcode2
+	branch accept_lmp_msg
+
+
+parse_lmp_sco_link_req:
+	fetch 1,mem_rxbuf+1
+	store 1,mem_sco_handle
+	fetch 1,mem_rxbuf+3
+	store 1,mem_esco_desco
+	fetch 1,mem_rxbuf+6
+	store 1,mem_air_mode
+	call push_tid_follow
+	store 1,mem_accptsco_tid
+	force 0,temp
+	branch hci_send_conn_req_event
+	
+parse_lmp_slot_offset:
+	fetch 2,mem_rxbuf+1
+	store 2,mem_slot_offset
+	rtn
+	
+parse_lmp_sniff_req:
+	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:
+	rtn
+parse_lmp_temp_key:
+	rtn
+parse_lmp_timing_accuracy_res:
+	rtn
+	
+parse_lmp_unit_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
+	force 0,temp
+	call hci_send_mode_change
+	branch sniff_exit
+parse_lmp_use_semi_permanend_key:
+	rtn
+	
+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:
+	call check_localsm
+	rtn true
+	jam      SP_STAT_CONFIRM_RECV,mem_sp_state
+	rtn
+
+parse_lmp_accepted_dhkey_check:
+	//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 hci_send_user_confirmation_req
+	call hci_send_ssp_complete		//un very good put here
+	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
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+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
+	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_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
+	fetch 8,mem_rxbuf+1
+	istore   8,contw
+	fetch 8,mem_rxbuf+9
+	istore   8,contw
+	call check_localsm
+	branch parse_dhkey_check_master0,true
+	jam      SP_STAT_CONFIRM_CHECK,mem_sp_state
+	jam      SP_FLAG_COMMIT,mem_sp_flag
+	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
+	
+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*/
+	fetch 1,mem_hci_cmd
+	bne hci_cmd_wait_remote_feature,parse_lmp_features_res_not_hci
+	jam 0,mem_hci_cmd
+	call hci_send_remote_features
+parse_lmp_features_res_not_hci:	
+	fetch 1,mem_conn_sm
+	rtnne CONN_SM_WAIT_FEATURES_RES
+	fetch 1,mem_device_option
+	beq dvc_op_hci,parse_lmp_feature_ext_sm
+	fetch 1,mem_connection_options
+	bbit0 CONNECTION_FEATURE_EXT,parse_lmp_send_conn
+parse_lmp_feature_ext_sm:
+	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
+
+check_test_cond:
+	fetch 1,mem_tester_emulate
+	rtnbit0 tester_change
+	fetch 1,mem_tester_cnt
+	increase 1,pdata
+	store 1,mem_tester_cnt
+	rtnne 5
+	jam 0,mem_tester_cnt
+	fetch 1,mem_tester_emulate
+	set0 tester_change,pdata
+	store 1,mem_tester_emulate
+	bbit1 tester_exit,check_test_exit
+	isolate1 tester_no_whitening,pdata
+	call test_no_white,true
+	ncall test_enable_white,true
+	fetch 1,test_mode_packet_type
+	compare 0x20,pdata,0x30
+	fetch 1,mem_state_map
+	setflag true,smap_edr,pdata
+	store 1,mem_state_map
+	fetch 1,mem_tester_emulate
+	fetcht 1,mem_debug_config
+	isolate1 tester_pattern_test,pdata
+	setflag true,debug_tx_pattern,temp
+	isolate1 tester_fixed_freq,pdata
+	setflag true,debug_tx_fixed_freq,temp
+	setflag true,debug_rx_fixed_freq,temp
+	storet 1,mem_debug_config
+	fetch 1,test_mode_tx_freq
+	store 1,mem_tx_fixed_freq
+	fetch 1,test_mode_rx_freq
+	store 1,mem_rx_fixed_freq
+	set1 mark_testmode,mark
+	rtn
+	
+check_test_exit:
+	set0 mark_testmode,mark
+	jam 0,mem_tester_emulate
+	fetch 1,mem_test_mode_old_debug_config
+	store 1,mem_debug_config
+	hfetch 1,core_config
+	and_into 0xfb,pdata			/* whitening on */
+	hstore 1,core_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:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_3,mem_patch3c
+	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
+	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_SCO_LINK_REQ, send_lmp_sco_link_req	
+	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_REMOVE_SCO_LINK_REQ, send_lmp_remove_sco_link_req	
+	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_ESCO_LINK_REQ,send_lmpext_esco_req
+	beq LMP_EXT_REMOVE_ESCO_REQ,send_lmpext_remove_esco
+	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
+	beq LMP_SCO_LINK_REQ,send_lmp_accptsco
+	call send_lmp_follow
+	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_REMOVE_SCO_LINK_REQ,send_lmp_accept_remove_sco_link_req
+	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:
+	force 0x02,temp
+	call hci_send_mode_change
+	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
+	beq LMP_EXT_ESCO_LINK_REQ,send_lmp_accptsco
+	call send_lmp_follow
+	fetch 1,mem_lmi_opcode
+	beq LMP_EXT_REMOVE_ESCO_REQ,send_lmp_accept_remove_sco_link_req
+	rtn
+
+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_accptsco:
+	call play_sco
+	arg mem_accptsco_tid,temp
+	branch special_tid_store
+	
+
+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_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
+
+/*distroy sco handle 0xe00*/
+send_lmp_accept_remove_sco_link_req:
+	rtn
+
+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 1,mem_device_option
+         beq dvc_op_hci,send_lmpext_io_cap_res_hci
+         setarg 0x040003
+         istore 3,contw
+         store 3,mem_sp_iocap_local
+         branch send_lmp_reply
+send_lmpext_io_cap_res_hci:
+	fetch 3,mem_sp_iocap_local
+	istore 3,contw
+	branch send_lmp_reply
+         
+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 */
+	copy pdata,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_esco_req:
+	branch send_lmpext_esco_req_master,master
+	//jam 0x00,mem_sco_handle
+	//jam 0x7,mem_esco_addr
+	branch send_lmpext_esco_req_slave
+send_lmpext_esco_req_master:
+	jam 0x07,mem_esco_addr
+send_lmpext_esco_req_slave:
+	jam 0,mem_esco_desco
+	force 16,queue
+	call send_lmpext
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	fetch 1,mem_esco_addr
+	istore 1,contw
+	setarg 0
+	istore 1,contw			/* timing ctrl */
+	fetch 1,mem_esco_desco
+	istore 1,contw			/* Desco */
+	setarg 6
+	istore 1,contw			/* Tesco */
+	setarg 2
+	istore 1,contw			/* Wesco */
+	setarg 7
+	istore 1,contw			/* M packet type EV3 */
+	istore 1,contw			/* S packet type EV3 */
+	setarg 30
+	istore 2,contw			/* M packet size */
+	istore 2,contw			/* S packet size */
+	fetch 1,mem_air_mode
+	istore 1,contw
+	fetch 1,mem_neogotiation_state
+	istore 1,contw			/* neogotiation state */
+	nbranch send_lmp_reply,blank
+	branch send_lmp_reply,master
+	branch send_lmp_request
+	
+send_lmpext_remove_esco:
+	force 4,queue
+	call send_lmpext
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	fetch 1,mem_disconn_reason_send
+	istore 1,contw
+	fetch 1,mem_esco_saved_arq
+	store 1,mem_arq 
+	branch send_lmp_request
+	
+
+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:
+	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:
+	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_open_classify_map:
+	fetch 5,mem_afh_classify_channel_map
+	store 5,mem_afh_map_new
+	ifetch 5,contr
+	istore 5,contw
+	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_set_afh:
+	nrtn master
+	force 16,pdata
+	call msg_send_lmp
+	deposit clkn_bt
+	arg 476,temp
+	iadd temp,pdata
+	rshift pdata,pdata
+	increase 1,pdata
+	set0 0,pdata
+	istore 4,contw
+	copy pdata,temp
+	setarg 1
+	istore 1,contw
+	fetch 5,mem_afh_map_new
+	istore 5,contw
+	ifetch 5,contr
+	istore 5,contw
+	lshift temp,temp
+	storet 4,mem_afh_instant
+	call send_lmp_request
+	fetch 1,mem_mode
+	set1 afh_change,pdata
+	store 1,mem_mode
+	jam 1,mem_afh_new_mod
+	fetch 4,mem_afh_instant
+	arg TIMER_ONE_MINUTE,temp //set ahf_reset_timer
+	iadd temp,pdata
+	store 4,mem_afh_timer
+	fetch 1,mem_afh_cfg
+	rtnbit1 AFH_CFG_MASTER_SENT_REQ
+	jam LMP_EXT_CHN_CLASSIFICATION_REQ,mem_lmo_opcode2
+	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_sco_link_req:
+	branch send_lmp_sco_link_master,master
+	jam 0x00,mem_sco_handle
+	fetch 1,mem_mode
+	set1 send_sco_when_slave,pdata
+	store 1,mem_mode
+send_lmp_sco_link_master:
+	jam 0,mem_esco_desco
+	force 7,pdata
+	call msg_send_lmp
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	setarg 0x00		/*timing ctrl flags*/
+	istore 1,contw
+	fetch 1,mem_esco_desco		/*Dsco*/
+	istore 1,contw
+	setarg 0x06		/*Tsco*/
+	istore 1,contw
+	setarg 0x02		/*HV3*/
+	istore 1,contw
+	fetch 1,mem_air_mode
+	istore 1,contw
+	branch send_lmp_reply,master
+	branch send_lmp_tid
+	
+send_lmp_remove_sco_link_req:
+	/* default to TID_NORM_SEND */
+	force 3,pdata
+	call msg_send_lmp
+	fetch 1,mem_sco_handle
+	istore 1,contw
+	force OTHER_END_TERMINATED,pdata
+	istore 1,contw
+	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_setup_complete:
+	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
+	call hci_send_connection_complete
+	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:
+	call hci_send_io_cap_req_event
+	fetch 1,mem_device_option
+	beq dvc_op_hci,sp_master_send_io_cap_get_hci
+	jam SP_FLAG_COMMIT,mem_master_sp_flag
+	fetch 1,mem_sp_local_key_invalid
+	rtnne SP_KEY_VALID
+sp_master_send_io_cap_get_hci:
+	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:
+	call lmo_fifo_process
+	//if lmo_fifo(0,1,3) is full,we should add code for stop jam NEW LMP to mem_lmo_opcode2
+	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
+	call check_localsm
+	call hci_send_linkkey_notification,true
+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
+	
+lmo_fifo_process:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_4,mem_patch3c
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_5,mem_patch3c
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch3c_6,mem_patch3c
+	fetch 1,mem_lmo_opcode2
+	branch process_conn_sm_continue,blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	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: KG9013/btkb/program/module.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/module.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/module.prog	(working copy)
@@ -0,0 +1,548 @@
+
+ifdef COMPILE_MODULE
+
+
+
+
+module_init:
+	rtn wake
+	jam 0,mem_module_task
+	call module_gpio_init
+	call module_init_static_string
+	setarg module_process_idle
+	store 2,mem_cb_idle_process
+	setarg module_conn_process
+	store 2,mem_cb_bt_process
+	setarg module_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg module_le_rx
+	store 2,mem_cb_att_write
+	setarg module_conn_process
+	store 2,mem_cb_le_process
+	set1 mark_ext_patch,mark
+	bpatch patch30_0,mem_patch30
+	setarg module_lpm_lock
+	store 2,mem_cb_check_wakelock
+	setarg module_le_tx_update_data
+	store 2,mem_cb_update_notify_value
+	setarg 0
+	store 4,mem_last_uart_clock
+	store 2,mem_module_prepare_tx_len
+	call module_hardware_init
+	call init_module_environment
+	call check_module_disabled
+	branch eeprom_load_reconn_info
+
+module_hardware_init:
+	rtn wake
+	setarg uart_baud_115200
+	store uart_baud_len,mem_baud
+module_lpm_uart_init:
+	call init_filter_ram
+	setarg mem_module_rx_buf
+	hstore 2,core_uart_rsaddr
+	setarg mem_module_rx_buf_end
+	hstore 2,core_uart_readdr
+	setarg mem_module_tx_buf
+	hstore 2,core_uart_tsaddr
+	setarg mem_module_tx_buf_end
+	hstore 2,core_uart_teaddr
+	hjam 0x4,core_gpio_sel1
+	jam 0xff,mem_ucode_id_local
+	hjam 0x0,core_uart_ctrl
+ 	setarg mem_module_tx_buf
+	hstore 2,core_uart_twptr
+	hstore 2,core_uart_trptrp
+	setarg mem_module_rx_buf
+	hstore 2,core_uart_rrptr
+	branch hci_init_common 
+
+
+module_lpm_init:
+	call 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
+	call gpio_config_input
+	fetcht 1,mem_at_gpio
+	branch gpio_config_input_without_wake
+
+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
+
+	
+/*************at dispatch*******************/
+module_process_idle:
+	branch module_app_dispatch
+module_conn_process:
+	branch module_app_dispatch
+module_app_dispatch:
+	set1 mark_ext_patch,mark
+	bpatch patch30_1,mem_patch30
+	call module_control_air_flow
+	call module_uart_set
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch module_process
+module_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_PINCODE_REQ,module_process_evt_pincode_req
+	beq BT_EVT_RECONN_FAILED,module_reconn_fail
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,module_page_time_out
+	beq BT_EVT_BB_DISCONNECTED,module_process_bb_event_disconned
+	beq BT_EVT_SWITCH_NOT_ACCEPT,module_process_switch_not_accept
+	beq BT_EVT_SWITCH_ACCEPT,module_process_switch_accept
+	beq BT_EVT_SNIFF_ACCEPT,module_process_sniff_accept
+	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_CONNECTED,module_process_le_conn
+	beq BT_EVT_BB_CONNECTED,module_process_bb_conn
+	beq BT_EVT_LE_DISCONNECTED,module_process_bb_even_le_disconn
+	beq BT_EVT_SETUP_COMPLETE,module_process_setup_complete
+	beq BT_EVT_ENTER_SNIFF,module_sniff_param_check
+	beq BT_EVT_EXIT_SNIFF,app_lpm_mult_disable
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,module_bb_event_timer
+	rtn
+
+module_process_bb_event_disconned:
+	call module_disconn_start
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	rtnbit0 APP_DISC_AFTER_SETUP_DONE
+	arg 3,loopcnt
+	arg mem_prarm_dis,contr
+	branch send_mem_to_uart
+	
+module_sniff_param_check:
+	//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_task
+	rtnbit1 AT_TASK_UNSINFF
+	hfetch 2,core_uart_rxitems    //*
+	ncall at_set_unsniff_task_flag,blank    //*加这两句话
+	branch app_bt_sniff_exit
+ 	
+module_process_setup_complete:
+	call module_conn_start
+	call module_check_cmode
+	branch module_uart_send_conn,zero
+	branch  app_bt_disconnect
+module_uart_send_conn:
+	arg 4,loopcnt
+	arg mem_prarm_conn,contr
+	branch send_mem_to_uart
+	
+module_process_bb_even_le_disconn:
+	call module_disconn_start
+	arg 5,loopcnt
+	arg mem_prarm_bledis,contr
+	branch send_mem_to_uart
+
+module_process_evt_pincode_req:
+	call at_restore_pin_code
+	branch  app_bt_set_pincode
+module_process_switch_not_accept:
+	fetch 1,mem_module_task
+	rtnbit0 AT_TASK_SWITCH
+	set0 AT_TASK_SWITCH,pdata
+	store 1,mem_module_task
+	branch at_error_rev_end
+	
+module_process_switch_accept:
+	fetch 1,mem_module_task
+	rtnbit0 AT_TASK_SWITCH
+	set0 AT_TASK_SWITCH,pdata
+	store 1,mem_module_task
+	branch at_nomal_rev_end
+
+module_process_sniff_accept:
+	rtn
+
+module_process_sniff_not_accept:
+	rtn
+	
+module_process_unsniff_accept:
+	fetch 1,mem_module_task
+	bbit0 AT_TASK_UNSINFF,app_bt_enter_sniff
+	branch at_clear_unsniff_task_flag
+	
+module_process_unsniff_not_accept:
+	rtn
+	
+module_process_le_conn:
+	call module_conn_start
+	arg mem_le_plap,regb
+	call module_check_cmode
+	branch module_uart_send_leconn,zero
+	branch  app_ble_disconnect
+module_uart_send_leconn:
+	arg 6,loopcnt
+	arg mem_prarm_bleconn,contr
+	branch  send_mem_to_uart
+
+module_process_bb_conn:
+	rtn
+
+
+module_reconn_fail:
+	arg 7,loopcnt
+	arg mem_prarm_recfail,contr
+	call send_mem_to_uart
+	branch module_disconn_start
+module_page_time_out:
+	arg 7,loopcnt
+	arg mem_prarm_pageout,contr
+	call send_mem_to_uart
+module_disconn_start:
+	call module_start_adv_discovery
+	branch module_set_conn_pin_high
+
+module_start_adv_discovery:
+	fetch 1,mem_module_state
+	isolate1 AT_STATE_SET30,pdata
+	call app_bt_start_discovery,true
+	fetch 1,mem_module_state
+	isolate1 AT_STATE_SET40,pdata
+	call app_ble_start_adv,true
+	rtn
+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 AT_STATE_SET30,pdata
+	call app_bt_stop_discovery,true
+	fetch 1,mem_module_state
+	isolate1 AT_STATE_SET40,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:
+	fetch 1,mem_device_option
+	rtnne dvc_op_module
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	store 2,mem_current_packet_length
+
+	call spp_mode
+	branch at_process,true
+	call at_ckeck_send_buff
+	branch module_tx_packet
+
+
+spp_mode:    //true=1透传\true=0 不透传
+	fetcht 1,mem_at_gpio
+	branch gpio_get_bit
+
+
+module_exit_sniff:
+	fetch 1,mem_module_task
+	rtnbit1 AT_TASK_UNSINFF
+	call at_set_unsniff_task_flag	
+	branch app_bt_sniff_exit
+
+module_tx_packet:
+	fetch 1,mem_context
+	bbit0 state_inconn,spp_send_end
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_le,modle_le_tx
+	call app_check_sniff
+	branch module_exit_sniff,true
+	branch spp_tx_rfcomm_packet
+
+module_le_rx:
+	call le_att_get_handle_ptr
+	ifetch 1,contr
+	copy contr,rega
+	call get_uart_twptr
+	copy regb,loopcnt
+	copy rega,contr
+	call uart_copy_tx_bytes
+	branch uartd_send
+
+
+module_le_tx_update_data:
+	//get tx len
+	fetch 2,mem_module_prepare_tx_len
+	rtn blank
+	arg DM_LE_BUFF_LEN,temp
+	call not_greater_than
+	store 2,mem_module_temp_len
+	//reduced mem_module_prepare_tx_len
+	copy pdata,temp
+	fetch 2,mem_module_prepare_tx_len
+	isub temp,pdata
+	store 2,mem_module_prepare_tx_len
+	nbranch assert,positive
+	//get destination for copy
+	arg PRCP_TX_LE,temp
+	storet 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	branch assert,blank
+	add contr,1,contw
+	//copy len
+	fetch 2,mem_module_temp_len
+	copy pdata,loopcnt
+	//get source for copy
+	call get_uart_rrptr
+	//copy
+	call uart_copy_rx_bytes
+	//release and clean
+	fetch 2,mem_module_temp_len
+	store 2,mem_current_packet_length
+	store 2,mem_le_notify_len
+	branch spp_send_end 
+
+
+modle_le_tx:
+	rtnmark0 mark_context
+	call modle_le_tx_once // 3 times
+	call modle_le_tx_once
+modle_le_tx_once:
+	call le_xtype_fifo_is_near_full
+	nrtn blank
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	fetcht 2,mem_module_prepare_tx_len
+	isub temp,pdata    //uart_rx_len - data_in_ble_tx_fifo
+	nbranch assert,positive
+	store 2,mem_current_packet_length
+	rtn blank
+	call at_ckeck_send_buff_le
+	fetch 2,mem_module_prepare_tx_len
+	fetcht 2,mem_current_packet_length
+	iadd temp,pdata
+	store 2,mem_module_prepare_tx_len
+	fetcht 2,mem_module_prepare_tx_len
+	hfetch 2,core_uart_rxitems
+	isub temp,rega
+	nbranch assert,positive
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	branch le_xtype_fifo_in
+
+module_bb_event_timer:
+	storet 1,mem_app_evt_timer_count
+module_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call module_bb_event_hud_ms
+	branch module_bb_event_100ms_loop
+	
+module_bb_event_hud_ms:
+	fetch 2,mem_at_scan_time
+	rtn blank
+	increase -1,pdata
+	store 2,mem_at_scan_time
+	nrtn blank
+	fetch 1,mem_at_using_flag
+	jam 0,mem_at_using_flag
+	bbit1 AT_FLAG_LEINQ,modue_le_inq
+	bbit1 AT_FLAG_INQ,module_inq
+	branch assert
+modue_le_inq:
+	branch app_ble_stop_scan
+module_inq:
+	jam hci_cmd_inquiry_cancel,mem_hci_cmd
+	rtn
+
+at_ckeck_send_buff:
+	fetch 1,mem_context+coffset_mode
+	bbit1 mode_le,at_ckeck_send_buff_le
+	fetch 2,mem_current_packet_length
+	arg DM_REFCOM_BUFF_LEN,temp
+	/*long packet*/
+	call not_greater_than
+	store 2,mem_current_packet_length
+	rtn
+at_ckeck_send_buff_le:
+	fetch 2,mem_current_packet_length
+	arg DM_LE_BUFF_LEN,temp
+	call not_greater_than
+	store 2,mem_current_packet_length
+	rtn
+
+at_set_unsniff_task_flag:
+	fetch 1,mem_module_task
+	set1 AT_TASK_UNSINFF,pdata
+	store 1,mem_module_task
+	rtn
+
+at_clear_unsniff_task_flag:
+	fetch 1,mem_module_task
+	set0 AT_TASK_UNSINFF,pdata
+	store 1,mem_module_task
+	rtn
+
+at_set_cmd_task_flag:
+	fetch 1,mem_module_task
+	set1 AT_TASK_CMD_FLAG,pdata
+	store 1,mem_module_task
+	rtn
+
+at_clear_cmd_task_flag:
+	fetch 1,mem_module_task
+	set0 AT_TASK_CMD_FLAG,pdata
+	store 1,mem_module_task
+	rtn
+
+module_control_air_flow:
+	set1 mark_ext_patch,mark
+	bpatch patch30_2,mem_patch30
+	call check_uart_tx_buff
+	branch app_l2cap_flow_control_enable,positive
+	branch app_l2cap_flow_control_disable
+
+module_uart_set:
+	call spp_mode
+	branch module_set_baud_115200,true
+	hfetcht uart_baud_len,core_uart_baud
+	fetch 2,mem_baud
+	isub temp,null
+	rtn zero
+	branch uart_set_baud_by_mem
+
+
+module_set_baud_115200:
+	hfetcht uart_baud_len,core_uart_baud
+	setarg AT_baud_115200
+	isub temp,null
+	rtn zero
+	hstore uart_baud_len,core_uart_baud
+	rtn
+
+module_check_cmode:
+	set1 mark_ext_patch,mark
+	bpatch patch30_3,mem_patch30
+	fetch 1,mem_module_state
+	isolate0 AT_STATE_CMODE,pdata
+	branch module_check_cmode_close,true
+	arg mem_cmode_addr,rega
+	arg 6,loopcnt
+	branch string_compare
+module_check_cmode_close:
+	force 0,null
+	rtn
+
+module_init_static_string:
+	set1 mark_ext_patch,mark
+	bpatch patch30_4,mem_patch30
+	arg mem_prarm_pswd,contw
+	setsect 0,0x35350
+	setsect 1,0x15115
+	setsect 2,0x12415
+	setsect 3,0x10951
+	istore 9,contw
+	setsect 0,0x2454c
+	setsect 1,0x35053
+	setsect 2,0x2454
+	setsect 3,0x11531
+	istore 9,contw
+	setsect 0,0x34441
+	setsect 1,0x194d4
+	setsect 2,0x12455
+	setsect 3,0x10d4d
+	istore 9,contw
+	setsect 0,0x3414c
+	setsect 1,0xd4d4
+	setsect 2,0x124c4
+	setsect 3,0x13119
+	istore 9,contw
+	setsect 0,0x15247
+	setsect 1,0x3d0d1
+	setsect 2,0xe4e4
+	setsect 3,0x11531
+	istore 9,contw
+	setsect 0,0x34944
+	setsect 1,0x114d4
+	setsect 2,0xe535
+	setsect 3,0x15105
+	istore 9,contw
+	setsect 0,0x14c2b
+	setsect 1,0x114d2
+	setsect 2,0xf525
+	setsect 3,0x11531
+	istore 9,contw
+	setsect 0,0x14e53
+	setsect 1,0x19192
+	setsect 2,0x44c4
+	setsect 3,0x15915
+	istore 9,contw
+	setsect 0,0x35352
+	setsect 1,0xd254
+	setsect 2,0x5444
+	setsect 3,0x10959
+	istore 9,contw
+	setsect 0,0x1454c
+	setsect 1,0x5392
+	setsect 2,0x3525
+	setsect 3,0x13d35
+	istore 9,contw
+	setsect 0,0x14544
+	setsect 1,0x113d3
+	setsect 2,0x4454
+	setsect 3,0x14d35
+	istore 9,contw
+	setsect 0,0x4154
+	setsect 1,0x11155
+	setsect 2,0x13494
+	setsect 3,0x13d0d
+	istore 9,contw
+	setsect 0,0x4f56
+	setsect 1,0x31055
+	setsect 2,0x3454
+	setsect 3,0x1393d
+	istore 9,contw
+	setsect 0,0x1504e
+	setsect 1,0x151d0
+	setsect 2,0x154f4
+	setsect 3,0x14951
+	istore 9,contw
+	setsect 0,0x24345
+	setsect 1,0x25051
+	setsect 2,0x4c4
+	istore 6,contw
+	rtn
+/*************at end*******************/
+		
+else
+module_init:
+module_process_idle:
+module_conn_process:
+module_lpm_init:
+module_init_static_string:
+	branch assert
+endif
Index: KG9013/btkb/program/mouse.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/mouse.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/mouse.prog	(working copy)
@@ -0,0 +1,751 @@
+
+ifdef COMPILE_MOUSE
+mouse_init:
+	setarg le_mouse
+	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_le_notify_update_data
+	store 2,mem_cb_update_notify_value
+	jam 0,mem_sp_flag
+	jam 0,mem_master_sp_flag
+	set0 mark_ext_patch,mark
+	bpatch patch18_0,mem_patch18
+	call mouse_init_common
+	rtn wake
+	call mouse_init_environment
+	call mouse_dpi_init
+	setarg mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	branch mouse_check_reconn_target
+
+mouse_init_environment:
+	call app_initflag_check
+	branch mouse_load_eeprom_param,zero
+	call eeprom_store_le_local_addr
+	call eeprom_store_mouse_dpi
+	branch app_initflag_store
+mouse_load_eeprom_param:
+	call eeprom_load_reconn_info
+	call eeprom_load_le_loacal_addr
+	branch eeprom_load_mouse_dpi
+
+mouse_dpi_init:
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	branch mouse_modified_dpi
+
+mouse_idle:
+	call ui_check_paring_button
+	call mouse_check_dpi
+	branch mouse_wheel_check
+
+mouse_check_dpi:
+	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
+	rtn
+mouse_dpi_up:
+	fetch 1,mem_mouse_dpi_button_state
+	rtneq DPI_BUTTON_STATE_UP
+	jam DPI_BUTTON_STATE_UP,mem_mouse_dpi_button_state
+	fetch 1,mem_mouse_dpi
+	increase 1,pdata
+	and pdata,0x03,pdata
+	store 1,mem_mouse_dpi
+	branch mouse_modified_dpi
+mouse_modified_dpi:
+	setarg MOUSE_DPI_ADDRESS
+	call twspi_read
+	and pdata,0xfc,temp
+	fetch 1,mem_mouse_dpi
+	iadd temp,pdata
+	lshift8 pdata,pdata
+	add pdata,MOUSE_DPI_ADDRESS,pdata
+	call twspi_write
+	branch eeprom_store_mouse_dpi
+
+mouse_init_common:
+	call mouse_init_sunt
+	call mouse_gpio_init
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_QDECODER,pdata
+	hstore 2,core_clkoff
+	rtn
+	
+mouse_gpio_init:
+	call lpm_disable_exen_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_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_dpi_button_gpio
+	call gpio_config_input
+	hfetch 1,core_gpio_pu3
+	or_into 0x18,pdata
+	hstore 1,core_gpio_pu3
+	hfetch 1,core_gpio_pd2+1
+	and_into 0xe7,pdata
+	hstore 1,core_gpio_pd2+1
+	rtn 	 
+
+	
+mouse_before_hibernate:
+	setarg 0xbc05
+	call twspi_write
+	jam 1,mem_lpm_current_mult
+
+mouse_process_lpm_before:
+	call mouse_wheel_check
+	arg 25,temp					// set sclk high
+	call gpio_config_output
+	hjam 0,core_gpio_sel1
+	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_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_sensor_data_gpio
+	call gpio_set_wake
+	fetch 1,mem_lpm_current_mult
+	nrtn blank					// 7.5ms, no gpio wakeup
+	branch gpio_clr_wake
+	
+mouse_wheel_check:
+	set0 mark_ext_patch,mark
+	bpatch patch18_1,mem_patch18
+	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
+
+	and_into  0x3,pdata
+	fetcht 1,mem_mouse_z_now
+	store 1,mem_mouse_z_now
+	isub temp,null
+	branch mouse_wheel_clear,zero
+	fetch 1,mem_mouse_z_before
+	store 1,mem_mouse_z_last
+	storet 1,mem_mouse_z_before
+	fetch 1,mem_mouse_z_now
+	lshift4 pdata,pdata
+	fetcht 1,mem_mouse_z_before
+	lshift2 temp,temp
+	iadd temp,pdata
+	fetcht 1,mem_mouse_z_last
+	iadd temp,pdata
+	beq 0x38,mouse_wheel_forward
+	beq 0x34,mouse_wheel_back
+	beq 0x0b,mouse_wheel_back
+	beq 0x07,mouse_wheel_forward
+	rtn
+
+mouse_wheel_clear:
+	rtn
+	
+mouse_wheel_forward:
+	fetch 1,mem_mouse_z_data
+	increase 1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+	
+mouse_wheel_back:
+	fetch 1,mem_mouse_z_data
+	increase -1,pdata
+	store 1,mem_mouse_z_data
+	rtn
+		
+mouse_process_ble:
+
+	rtn
+mouse_sleep_sensor:
+	setarg 0xB805
+	branch twspi_write
+
+mouse_bb_connected:
+	rtn
+	
+le_mouse_bb_event_write_request:
+	call app_ble_store_reconn_info
+	jam MOUSE_MODE_STATE_BLE,mem_mouse_mode_state
+	call app_lpm_mult_enable
+le_mouse_bb_event_enc_info:
+	branch app_ble_start_write
+
+le_hibernate_timer:
+	fetch 2,mem_le_hibernate_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_le_hibernate_timer
+	nrtn blank
+	branch app_enter_hibernate
+	
+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
+	call mouse_motion
+	nrtn user
+	call mouse_no_data_timer_init
+	call mouse_send_blank_packet_timer_init
+mouse_send_data:
+	arg 8,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x02a1
+	istore 2,contw
+	fetch 1,mem_mouse_key
+	istore 1,contw
+	fetch 2,mem_mouse_x
+	arg 0xfff,temp
+	iand temp,pdata
+	fetcht 2,mem_mouse_y
+	lshift4 temp,temp
+	lshift8 temp,temp
+	ior temp,pdata
+	istore 3,contw
+	fetch 1,mem_mouse_z
+	istore 1,contw
+	setarg 0
+	istore 1,contw
+	jam 8,mem_UI_data_txbuff_length
+	rtn
+
+
+mouse_send_blank_packet_timer:
+	set0 mark_ext_patch,mark
+	bpatch patch18_2,mem_patch18
+	fetch 1,mem_mouse_send_blank_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_mouse_send_blank_timer
+	nrtn blank
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	setarg 0
+	store 5,mem_mouse_x
+	call mouse_send_data
+	jam  MOUSE_SEND_BLANK_TIMER,mem_mouse_send_blank_timer
+	rtn
+mouse_send_blank_packet_timer_init:
+	fetch 2,mem_mouse_blank_data_timeout
+	store 2,mem_mouse_blank_data_timer
+	jam  MOUSE_SEND_BLANK_TIMER,mem_mouse_send_blank_timer
+	rtn
+	
+mouse_no_data_timer_init:
+	fetch 2,mem_mouse_no_data_timeout
+	store 2,mem_mouse_no_data_timer
+	rtn
+
+	
+mouse_le_notify_update_data:
+	fetcht 2, mem_le_notify_handle
+	call le_att_get_handle_ptr 
+	ifetch 1,contr
+	store 1,mem_le_notify_len
+	rtn
+
+	
+mouse_fill_data_le:
+	set0 mark_ext_patch,mark
+	bpatch patch18_3,mem_patch18
+	fetcht 2, mem_le_notify_handle
+	call le_att_get_handle_ptr
+	add contr,1,contw
+mouse_fill_data:
+	fetch 1,mem_mouse_key
+	istore 1,contw
+	fetch 2,mem_mouse_x
+	arg 0xfff,temp
+	iand temp,pdata
+	fetcht 2,mem_mouse_y
+	lshift4 temp,temp
+	lshift8 temp,temp
+	ior temp,pdata
+	istore 3,contw
+	fetch 1,mem_mouse_z
+	istore 1,contw
+	rtn
+
+mouse_motion:
+	set0 mark_ext_patch,mark
+	bpatch patch18_4,mem_patch18
+	disable user
+	setarg 0
+	store 5,mem_mouse_x
+	call p3204_motion
+	call p3204_sdio_low
+	call mouse_zwheel
+	branch mouse_key
+	
+p3204_motion:
+	fetch 1,mem_sensor_type
+	rtnne SENSOR_TYPE_P3204
+	fetch 1,mem_mouse_move_flag
+	call p3204_clear_data,blank
+	jam 1,mem_mouse_move_flag
+	disable user
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_get_bit
+	nrtn true
+	setarg 0
+	call twspi_read
+	bne P3204_ID,twspi_reset
+	setarg 2
+	call twspi_read
+	rtnbit0 7
+	setarg 3
+	call twspi_read
+	call extsign
+	store 2,mem_mouse_x
+	setarg 4
+	call twspi_read
+	call extsign
+	sub pdata,0,pdata
+	store 2,mem_mouse_y
+	fetch 4,mem_mouse_x
+	enable user
+	rtn
+mouse_zwheel:
+	fetch 1,mem_mouse_z_data
+	rtn blank	
+	store 1,mem_mouse_z
+	jam 0,mem_mouse_z_data
+	enable user
+	rtn
+mouse_key:
+	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
+	deposit rega
+	fetcht 1,mem_mouse_key
+	store 1,mem_mouse_key	
+	ixor temp,pdata
+	sub pdata,0,null
+	rtn zero
+	enable user
+	rtn
+	
+
+
+	/* sdio high will cost extra 9mA */
+p3204_sdio_low:
+	arg 26,temp
+	call gpio_get_bit
+	rtn true
+	setarg 0
+	call twspi_read
+	branch p3204_sdio_low
+
+p3204_clear_data:
+	arg 0,loopcnt
+p3204_clear_data_loop:
+	setarg 2
+	call twspi_read
+	nop 100
+	increase 1,loopcnt
+	fetcht 1,mem_sensor_data_gpio
+	call gpio_get_bit	
+	branch p3204_clear_data_loop,true
+	deposit loopcnt
+	store 2,mem_init_cnt
+	rtn
+mouse_init_sunt:
+	call spid_init
+	rtn wake
+	
+mouse_init_p3204:	
+	setarg 0
+	call twspi_read
+	store 1,mem_sensor_id
+	beq P3204_ID,mouse_init_p3204_cont
+	call twspi_reset
+	nop 10000
+	branch mouse_init_p3204
+mouse_init_p3204_cont:
+	setarg 0x8006
+	call twspi_write
+	nop 1000
+	jam SENSOR_TYPE_P3204,mem_sensor_type
+	rtn
+
+
+
+extsign:
+	rtnbit0 7
+	arg 0xff00,temp
+	ior temp,pdata
+	rtn
+
+
+
+le_mouse:
+	call le_xtype_fifo_is_near_full
+	nrtn blank
+	fetcht 2,mem_le_notify_handle
+	call le_att_check_notification_enable
+	rtnbit0 0
+	fetch 1,mem_le_switch_send_data
+	rtnbit0 0
+	call mouse_motion
+//	call mouse_test
+	nrtn user
+	call mouse_no_data_timer_init
+	//call app_lpm_wake_auto_lock
+	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+	call le_xtype_fifo_in
+	branch mouse_fill_data_le
+
+mouse_test:
+	rtn user
+	fetch 1,mem_mouse_test_cnt
+	increase 1,pdata
+	store 1,mem_mouse_test_cnt
+	arg 1,temp
+	bbit0 7,mouse_test_pos
+	arg 0xffff,temp
+mouse_test_pos:
+	storet 5,mem_mouse_x
+	enable user
+	rtn
+
+mouse_check_mode_state:
+	disable user
+	fetch 1,mem_mouse_mode_state
+	rtneq MOUSE_MODE_STATE_BLE
+	enable user
+	rtn
+	
+mouse_priority_bb_event:	
+	copy regc,pdata
+	beq BT_EVT_LE_CONNECTED,le_mouse_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_LE_WRITE_REQUEST,le_mouse_bb_event_write_request
+	beq BT_EVT_LE_ENC_INFO,le_mouse_bb_event_enc_info
+	beq BT_EVT_RECONN_FAILED,mouse_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,mouse_bb_event_reconn_failed
+	beq BT_EVT_PINCODE_REQ,mouse_bb_event_pincode
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,mouse_bb_event_timer
+	rtn
+
+le_mouse_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
+	fetch 1,mem_conn_cnt
+	increase 1,pdata
+	store 1,mem_conn_cnt
+	branch mouse_stop_discovery
+
+mouse_bb_event_pincode:
+	call pincode_reinit
+	branch app_bt_set_pincode
+	
+mouse_bb_event_reconn_failed:
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
+	branch app_bb_hibernate
+
+	
+mouse_bt_hid_connected:
+	call mouse_hid_connected
+	rtn
+mouse_bt_event_setup_complete:
+	rtn
+
+mouse_bb_disconnected:
+	set0 mark_ext_patch,mark
+	bpatch patch18_5,mem_patch18
+	call mouse_bb_discon_clear_stack
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+ifdef DEBUG_LIGHT_STATE
+	store 1,0x4c00
+endif
+	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 4,mem_mouse_z_last
+	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
+	jam 0,mem_mouse_mode_state
+	jam 0,mem_reconnect_timeout
+	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 le_clean_att_list_handle_enable
+	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:
+	set0 mark_ext_patch,mark
+	bpatch patch18_6,mem_patch18
+	storet 1,mem_app_evt_timer_count
+mouse_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	//common part
+	//call app_lpm_wake_auto_lock_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
+	//process for different mode, BT or BLE
+	fetch 1,mem_mouse_mode_state
+	compare MOUSE_MODE_STATE_BLE,pdata,0xff
+	call mouse4_0_bb_event_100ms,true
+	fetch 1,mem_mouse_mode_state
+	compare MOUSE_MODE_STATE_BT,pdata,0xff
+	call mouse3_0_bb_event_100ms,true
+	branch mouse_bb_event_100ms_loop
+	
+mouse3_0_bb_event_100ms: 
+	//flag user cannot bt changed!!!!
+	call mouse_check_blank_data_timeout_timer
+	branch mouse_send_blank_packet_timer
+	
+mouse4_0_bb_event_100ms:
+	//flag user cannot bt changed!!!!
+	rtn
+	
+mouse_check_hid_handshake_timer:
+	fetch 1,mem_hid_handshake_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_hid_handshake_timer_count
+	nrtn blank
+	branch mouse_bt_hid_handshake
+
+mouse_check_discovery_timeout_timer:	
+	fetch 2,mem_mouse_discovery_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_discovery_timer
+	nrtn blank
+	call mouse_stop_discovery
+	branch app_enter_hibernate
+
+mouse_check_direct_timeout_timer:
+	fetch 2,mem_mouse_direct_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_direct_timer
+	nrtn blank
+	call app_ble_stop_direct_adv
+	branch app_enter_hibernate
+
+mouse_check_blank_data_timeout_timer:
+	fetch 2,mem_mouse_blank_data_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_blank_data_timer
+	nrtn blank
+	jam 0,mem_mouse_send_blank_timer
+	rtn
+
+mouse_check_no_data_timeout_timer:
+	fetch 2,mem_mouse_no_data_timer
+	rtn blank
+	increase -1,pdata
+	store 2,mem_mouse_no_data_timer
+	nrtn blank
+	branch mouse_disconnect
+	
+mouse_bb_event_discovery_btn:
+	set0 mark_ext_patch,mark
+	bpatch patch18_7,mem_patch18
+	jam 0,mem_mouse_send_blank_timer
+	jam 1,mem_reconnect_timeout
+	setarg 0
+	store 2,mem_mouse_direct_timer
+	call mouse_disconnect
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call mouse4_0_bb_event_discovery_btn,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call mouse3_0_bb_event_discovery_btn,true
+	call app_lpm_mult_disable
+	branch mouse_start_discovery
+
+
+
+mouse3_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch app_bt_start_discovery_short,blank	
+	branch app_bt_start_reconnect
+	
+mouse4_0_check_reconn_target:
+	fetch 6,mem_hci_plap
+	branch mouse4_0_no_reconn_target,blank
+	fetch 2,mem_mouse_direct_timeout
+	store 2,mem_mouse_direct_timer
+	call app_lpm_mult_enable
+	branch app_ble_start_direct_adv
+mouse4_0_no_reconn_target:
+	call app_led_start_blink
+	branch app_ble_start_adv
+
+mouse3_0_bb_event_discovery_btn:
+	fetch 2,mem_ui_state_map
+	isolate1 UI_STATE_BT_RECONNECT,pdata
+	call app_bt_reconnect_cancel,true
+	rtn
+mouse4_0_bb_event_discovery_btn:
+	call le_clean_att_list_handle_enable
+	rtn
+	
+mouse_bt_hid_handshake:
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+	jam MOUSE_MODE_STATE_BT,mem_mouse_mode_state
+	setarg 0
+	store 2,mem_discovery_timeout_timer_count
+	store 1,mem_hid_handshake_timer_count
+	call app_bt_enter_sniff
+	branch mouse_send_blank_packet_timer_init
+
+mouse_check_reconn_target:
+	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_start_discovery:
+	set0 mark_ext_patch,mark
+	bpatch patch19_0,mem_patch19
+	fetch 1,mem_le_lap
+	increase 1,pdata
+	store 1,mem_le_lap
+	call app_lpm_mult_disable
+	fetch 2,mem_discovery_timeout
+	store 2,mem_mouse_discovery_timer
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call app_ble_start_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call app_bt_start_discovery,true
+	branch app_led_start_blink
+
+mouse_stop_discovery:
+	set0 mark_ext_patch,mark
+	bpatch patch19_1,mem_patch19
+	setarg 0
+	store 2,mem_mouse_discovery_timer
+	fetch 1,mem_device_option
+	isolate1 MODE_4_MOUSE,pdata
+	call app_ble_stop_adv,true
+	fetch 1,mem_device_option
+	isolate1 MODE_3_MOUSE,pdata
+	call app_bt_stop_discovery,true
+	branch app_led_stop_blink
+
+mouse_disconnect:
+	set0 mark_ext_patch,mark
+	bpatch patch19_2,mem_patch19
+	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
+
+eeprom_store_mouse_dpi:
+	set0 mark_ext_patch,mark
+	bpatch patch19_3,mem_patch19
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg mouse_dpi_eeprom_addr,regb
+	branch iicd_write_eep_data
+
+eeprom_load_mouse_dpi:
+	set0 mark_ext_patch,mark
+	bpatch patch19_4,mem_patch19
+	arg 1,temp
+	arg mem_mouse_dpi,rega
+	arg mouse_dpi_eeprom_addr,regb
+	branch iicd_read_eep_data
+
+else
+mouse_init:
+	branch assert
+
+endif
+
+
+
Index: KG9013/btkb/program/patch.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/patch.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/patch.prog	(working copy)
@@ -0,0 +1,1450 @@
+define P24G
+//define GPIO_TEST_01
+//define WAKE_DEV
+define TX_POWER_MAX
+
+	bmark1 mark_ext_patch,patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch00_3,p_main_loop
+	beq patch00_5,p_main_loop_end
+	beq patch12_0,p_shutdown_radio
+	beq patch12_2,p_set_freq_rx
+	beq patch12_4,p_set_freq_tx
+	beq patch12_5,p_initialize_radio_cont
+	beq patch16_0,p_lpm_sleep
+	beq patch16_1,p_lpm_recover_clk
+	beq patch16_2,p_lpm_dispatch
+	beq patch16_3,p_lpm_dispatch_next
+	beq patch16_6,p_lpm_dispatch_unconn
+	beq patch17_1,p_lpm_cal_xtal_startup
+	branch assert
+
+patch_ext:	
+	beq patch27_6,p_le_enable
+	beq patch27_7,p_le_disable
+	beq patch30_7,p_ui_timer_check
+	beq patch31_5,p_check_51cmd_once
+	beq patch31_7,p_check_enter_hibernate	
+	beq patch39_5,p_kb_init
+	beq patch3a_0,p_kb_bb_event_timer
+
+	branch assert
+
+
+p_soft_reset: 
+	hfetch 1,0x813b
+	store 1,mem_wakup_from_power_flag
+	hjam lock_otp,core_misc_ctrl
+	branch soft_reset+2
+
+p_main_loop:	
+	call p_ipc_timer_check
+	call p_ui_check_timer_setup
+	call p_ipc_rx
+	branch main_loop+2
+
+
+p_main_loop_end:
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch 
+ifdef P24G
+	call p_g24_dispatch
+endif
+ifdef SIMPLE_PAIRING
+	branch main_loop+15
+else
+	branch main_loop+14
+endif
+
+
+p_ipc_rx:
+p_ipc_rx0:
+	call p_check_ipc_2bt
+	rtn user
+	byteswap pdata,pdata
+	copy pdata,contr
+	call p_ipc_rx_byte
+	store 1,mem_ipc_rx_type
+	beq IPC_TYPE_CMD,p_ipc_rx_cmd
+ifdef P24G
+	beq IPC_TYPE_24G,p_ipc_rx_24g
+endif
+	copy pdata,temp
+	copy contr,rega
+	fetch 1,mem_context
+	bbit0 state_inconn,p_ipc_abondon_rx_data
+	copy rega,contr
+	rtnmark0 mark_context
+	copy temp,pdata
+	rtn
+
+p_ipc_abondon_rx_data:
+	copy rega,contr
+	arg mem_tst_pktcnt_sync,contw
+	branch p_ipc_rx_cpy
+
+p_ipc_rx_cmd:
+	call p_ipc_rx_byte
+	call p_ipc_rx_byte
+	store 1,mem_fifo_temp
+	call p_ipc_next_rx
+	branch ui_ipc_send_cmd
+p_ipc_next_rx:
+	call p_ipc_rx_updata_contr
+	copy contr,temp
+	byteswap temp,temp
+	storet 2,mem_ipc_2bt_read_index
+	rtn
+	
+ifdef P24G
+p_ipc_rx_24g:
+	arg mem_24g_txbuf,contw
+	branch p_ipc_rx_cpy
+endif
+
+p_ui_check_timer_setup:
+	fetcht 4,mem_ui_check_timer_setup
+	copy clkn_bt,pdata
+	isub temp,pdata
+	fetcht 2,mem_customize_timer_setup		// * 0.3125ms
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn blank
+	copy clkn_bt,temp
+	storet 4,mem_ui_check_timer_setup
+	fetch 1,mem_customize_timer
+	increase 1,pdata
+	store 1,mem_customize_timer
+	rtn
+
+
+//1600 == 500ms
+p_ipc_timer_check:
+	fetcht 4,mem_ipc_last_check_timer
+	copy clkn_bt,pdata
+	isub temp,pdata
+	//arg 3200,temp
+	arg 1600,temp
+	idiv temp
+	call wait_div_end
+	quotient pdata
+	rtn blank
+	copy clkn_bt,temp
+	storet 4,mem_ipc_last_check_timer
+	fetcht 2,mem_ipc_bt_timer
+	byteswap temp,temp
+	iadd temp,pdata
+	byteswap pdata,pdata
+	store 2,mem_ipc_bt_timer
+	byteswap pdata,pdata
+	and pdata,0x3,pdata
+	rtnne 0
+	fetch 1,mem_adc_config_flag
+	bbit1 ADC_CONFIG_VINLPM,p_adc_check_vinlpm
+	bbit1 ADC_CONFIG_HVIN,p_adc_check_hvin
+p_adc_check_gpio:
+	arg 0,rega
+	call p_setup_adc_gpio_pu_setup		//disable powerup
+	hjam 0x8f,rf_adc_mode
+	fetch 1,mem_adc_channel
+	hstore 1,rf_adc_ch
+	call p_read_adc
+	arg 1,rega
+	branch p_setup_adc_gpio_pu_setup		//enable powerup
+
+	
+p_adc_check_vinlpm:
+	hjam 0xbf,rf_adc_mode	//read VINLPM voltage directly
+	branch p_read_adc
+
+p_adc_check_hvin:
+	hjam 0xaf,rf_adc_mode	//read HVIN voltage directly
+p_read_adc:
+	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
+	hjam 0x7c,rfen_adc
+	hjam 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
+	byteswap temp,temp
+	storet 2,mem_adc_current_value
+	rtn
+
+
+p_setup_adc_gpio_pu_setup:
+	arg 0x21,temp
+	fetch 1,mem_adc_channel
+	isub temp,temp			// e.g. 0x33 - 0x21 = 0x12   gpio18
+	copy rega,pdata
+	set1 gpio_active_bit,temp
+	nbranch p_setup_adc_gpio_pu_setup_exit,blank
+	set0 gpio_active_bit,temp
+p_setup_adc_gpio_pu_setup_exit:
+	arg core_gpio_pu0,contw
+	branch gpio_set_bit
+
+
+
+p_ipc_rx_cpy:
+	call p_ipc_rx_byte
+	copy pdata,loopcnt
+p_ipc_copy:
+	call p_ipc_cpy_loop
+	branch p_ipc_next_rx
+	
+p_ipc_cpy_loop:
+	call p_ipc_rx_byte
+	istore 1,contw
+	loop p_ipc_cpy_loop
+	rtn
+
+p_ipc_rx_byte:
+	call p_ipc_rx_updata_contr
+	ifetch 1,contr
+	rtn
+
+p_ipc_rx_updata_contr:
+	setarg mem_ipc_2bt_fifo_end
+	isub contr,null
+	nrtn zero
+	arg mem_ipc_2bt_fifo_head,contr
+	rtn
+
+p_ipc_tx_evt:
+	arg 3,loopcnt
+	arg mem_ipc_tx_evt_buff,contr
+p_ipc_tx_cpy:
+	copy contr,rega
+	fetch 2,mem_ipc_2C51_write_index
+	byteswap pdata,pdata
+	copy pdata,contw
+	copy rega,contr
+p_ipc_tx_loop:
+	ifetch 1,contr
+	istore 1,contw
+	call p_ipc_tx_updata_contw
+	loop p_ipc_tx_loop
+	copy contw,pdata
+	byteswap pdata,pdata
+	store 2,mem_ipc_2C51_write_index
+	rtn
+p_ipc_tx_updata_contw:
+	setarg mem_ipc_2C51_fifo_end
+	isub contw,null
+	nrtn zero
+	arg mem_ipc_2C51_fifo_head,contw
+	rtn
+
+//user: no data
+p_check_ipc_2c51:
+	fetch 2,mem_ipc_2C51_read_index
+	fetcht 2,mem_ipc_2C51_write_index
+	branch p_check_ipc_common
+p_check_ipc_2bt:
+	fetch 2,mem_ipc_2bt_read_index
+	fetcht 2,mem_ipc_2bt_write_index
+p_check_ipc_common:
+	isub temp,null
+	branch enable_usr,zero
+	branch disable_usr
+
+
+p_ui_timer_check:				// 100ms_event   clock overflow
+	copy clkn_bt,pdata
+	store 4,mem_ui_timer_last_btclk_temp
+	fetcht 1,mem_ui_timer_last_btclk+3
+	fetch 1,mem_ui_timer_last_btclk_temp+3
+	isub temp,null
+	ncall p_ui_timer_reinit,positive
+	branch ui_timer_check+2
+
+p_ui_timer_reinit:
+	fetcht 4,mem_ui_timer_last_btclk_temp
+	storet 4,mem_ui_timer_last_btclk
+	storet 4,mem_ipc_last_check_timer
+	storet 4,mem_ui_check_timer_setup
+	rtn
+ 
+	
+// 1clkn_bt = 0.3125ms
+p_kb_bb_event_timer:
+	storet 1,mem_app_evt_timer_count
+	fetch 1,mem_ipc_bt_100ms_timer
+	increase 1,pdata
+	store 1,mem_ipc_bt_100ms_timer
+p_kb_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+
+	call p_kb_long_sleep_timer
+ifdef WAKE_DEV
+	call p_kb_wake_remote_dev
+endif
+	branch p_kb_bb_event_100ms_loop
+	
+ifdef WAKE_DEV
+p_kb_wake_remote_dev:
+	fetch 1,mem_suspend_flag
+	nrtn blank
+	fetch 1,mem_kb_wake_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_kb_wake_timer
+	rtnne 1
+	jam 100,mem_kb_wake_timer
+	//call app_check_sniff
+	//nrtn true
+	fetch 2,mem_ui_state_map
+	//rtnbit0 UI_STATE_BT_HID_HANDSHAKE
+	rtnbit0 UI_STATE_BT_SNIFF
+	fetch 2,mem_kb_last_data
+	rtn blank
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	fetch 2,mem_kb_last_data
+	copy pdata,rega
+	call hid_malloc_tx_buff
+	add rega,2,loopcnt
+	arg mem_kb_last_data+2,contr
+	branch memcpy
+endif
+p_kb_long_sleep_timer:
+	fetch 1,mem_24g_enter_lpm_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_24g_enter_lpm_timer
+	rtn
+	
+
+p_c51_user_event:
+	copy regc,pdata
+	and_into BT_EVT_TIMER_MASK,pdata
+	rtneq BT_EVT_TIMER_INIT
+ifdef WAKE_DEV
+	call p_c51_ext_evt
+endif
+	copy regc,pdata
+	rtn blank
+	store 1,mem_ipc_tx_evt
+	branch p_ipc_tx_evt
+ifdef WAKE_DEV
+p_c51_ext_evt:
+	copy regc,pdata
+	beq BT_EVT_ENTER_SNIFF,p_kb_wake_enable
+	beq BT_EVT_BB_DISCONNECTED,p_bk_wake_disable
+	rtn
+p_kb_wake_enable:
+	jam 40,mem_kb_wake_timer
+	setarg 0x0a
+	store 2,mem_kb_last_data
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0x01a1
+	istore 2,contw
+	rtn
+p_bk_wake_disable:
+	jam 0,mem_kb_wake_timer
+	rtn
+endif	
+	
+
+/*
+****************************************************************************************************
+* All Timer End
+****************************************************************************************************
+*/
+p_lpm_sleep:
+	call xtal_fast_wake
+	branch lpm_sleep+2
+
+p_lpm_recover_clk:
+	jam 0x7f,mem_seqi
+	call lpm_recover_clk+2
+	fetch 1,mem_hibernate_flag
+	rtn blank
+	jam 0,mem_hibernate_flag
+	copy clkn_bt,pdata
+	store 4,mem_ipc_last_check_timer
+	rtn
+
+
+
+p_lpm_cal_xtal_startup:
+	fetch 1,mem_lpm_xtalcnt
+	nrtn blank
+	hjam 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
+	nop 5000
+	branch lpm_cal_xtal_startup+12
+
+
+p_lpm_dispatch:
+	rtnmark1 mark_24g
+	fetch 2,mem_ui_state_map
+	bbit1 UI_STATE_BLE_CONNECTED,lpm_dispatch+2
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	//fetch 2,mem_context + coffset_tsniff
+	//rtn blank										/* role switch */
+	fetch 1,mem_lpm_mode
+	rtn blank
+
+	call l2cap_malloc_is_fifo_empty
+	nrtn blank
+	call lpm_check_wake_lock
+	nrtn blank
+	call xtal_fast_wake
+	fetch 1,mem_ssp_enable
+	branch lpm_dispatch0,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+	branch lpm_dispatch0
+
+p_check_IPC_for_LPM:
+	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam 1,mem_c51_lpm_lock
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	branch p_check_ipc_2bt
+	
+p_lpm_dispatch_next:
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	branch lpm_dispatch1
+
+p_c51_wait:
+	fetch 1,mem_c51_flag
+	nop 10
+	bne 0,p_c51_wait
+	rtn
+
+
+p_lpm_dispatch_unconn:
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	branch lpm_dispatch_unconn + 2
+
+
+
+p_initialize_radio_cont:
+	call p_switchto_dpllclk
+	branch initialize_radio_cont + 4	
+p_switchto_dpllclk:
+	fetch 1,mem_lpm_xtalcnt
+	nbranch p_switchdpll_nocal,blank
+	call lpm_cal_xtal_startup
+	nop 30000
+	nop 30000
+	nop 30000
+p_switchdpll_nocal:
+	call switchto_dpllclk
+	hjam 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
+
+
+
+p_set_freq_rx:
+	storet 1,mem_last_freq
+	add temp,rx_freq_offset,rega			/* index to frequency */
+	branch set_freq_rx + 4	
+
+p_set_freq_tx_common:
+	storet 1,mem_last_freq
+	add temp,0,rega			// 0--2M 1--1M 2--M  index to frequency 
+	branch rf_write_freq
+	
+p_set_freq_tx:
+	call p_set_freq_tx_common
+	setarg param_pll_setup
+	call sleep
+p_txon:
+	hjam 0x1,rfen_adc
+	hjam 0x3c,rfen_rx
+	hjam 0xe0,rfen_tx
+	hjam 0x12,0x96d   /*Max added, for best Pout*/
+	nop 10 /* wait LDOs to turn ON*/
+	hjam 0x01, rfen_mdm
+	hjam 0x3d, rfen_mdm
+	nop 10 /* wait tx blocks to turn ON*/
+	hjam 0xb7,rfen_sn
+	nop 10 /* wait tx lo buffer to turn ON*/
+	hjam 0x7d, rfen_mdm
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_txpower_0dbm
+	fetch 5,mem_5db_tx_power_param
+	istore 5,contw
+	ifetch 5,contr
+	istore 5,contw
+	hjam 0xdf, 0x956
+	call p_set_tx_step_power
+	hjam 0xdf, 0x955
+	rtn
+
+p_txpower_0dbm:
+	fetch 5,mem_24g_paring_tx_power_param
+	istore 5,contw
+	ifetch 5,contr
+	istore 5,contw
+ 	hjam 0xc2, 0x956
+ 	hjam 0xd0, 0x955
+	rtn
+
+	
+	//pout ramp up
+	//c0 ~df	
+p_set_tx_step_power:
+	//hjam 0xff, 0x956   //hjam 0xce, 0x956 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	nop 4
+	hjam 0xd1, 0x955
+	nop 4
+	hjam 0xd2, 0x955
+	nop 4
+	hjam 0xd4, 0x955
+	nop 4
+	//d0~df
+	//hjam 0xdf, 0x955  //hjam 0xd7, 0x955 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+ 	rtn
+
+p_tx_ramp_down_common:
+	hjam 0xd4, 0x955
+	nop 4
+	hjam 0xd2, 0x955
+	nop 4
+	hjam 0xd1, 0x955
+	nop 4 
+	hjam 0xd0, 0x955  //hjam 0xd8, 0x955 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	hjam 0xc0, 0x956
+	rtn
+
+p_shutdown_radio:
+	branch shutdown_radio+2,is_rx
+	call p_tx_ramp_down_common
+	branch shutdown_radio+2
+
+
+p_kb_before_hibernate: 
+	enable user
+	hfetch 4,0x8138
+	setflag user,26,pdata
+	hstore 4,core_lpm_reg
+	call  lpm_write_ctrl
+	jam 1,mem_lpm_current_mult
+p_kb_bt_lpm_before:
+	rtn
+
+p_kb_init:
+//	call p_le_modified_name
+	jam 0,mem_c51_flag
+	jam 6,mem_connection_options
+	call app_lpm_mult_enable
+	setarg p_kb_bt_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg p_c51_user_event
+	store 2,mem_cb_bb_event_process
+	setarg p_mouse_idle
+	store 2,mem_cb_idle_process
+	setarg p_ipc_rx
+	store 2,mem_cb_le_process
+	setarg p_kb_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg mem_ipc_2bt_fifo_head
+	byteswap pdata,pdata
+	store 2,mem_ipc_2bt_read_index
+	store 2,mem_ipc_2bt_write_index
+	call lpm_disable_exen_output
+	setarg mem_ipc_2C51_fifo_head
+	byteswap pdata,pdata
+	store 2,mem_ipc_2C51_read_index
+	store 2,mem_ipc_2C51_write_index
+	fetch 1,mem_hibernate_flag
+	beq 0x5a,p_device_init_init_hibwake
+	branch p_deveice_init_wake,wake
+	fetch 2,mem_adc_0v
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	fetch 2,mem_adc_3v
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	call p_init_adc_from_otp
+	fetch 8,mem_temp
+	nbranch p_deveice_init_reset,blank
+	fetch 2,0x4ad4
+	byteswap pdata,pdata
+	branch p_deveice_init_reset,blank
+	store 2,mem_adc_3v
+p_deveice_init_reset:
+	call p_le_queue_init
+	jam BT_EVT_RESET,mem_ipc_tx_evt
+p_device_init_common:
+	call p_ipc_tx_evt
+	jam 0,mem_hibernate_flag
+	hjam START_C51_CORE,core_docd_ctrl
+	rtn
+p_deveice_init_wake:
+	jam BT_EVT_WAKEUP,mem_ipc_tx_evt
+	branch p_device_init_common
+p_device_init_init_hibwake:
+	copy auxcnt,pdata
+	branch p_enter_hibernate_continue,blank
+	call init_lmp_work
+	call l2cap_init_work
+	setarg 0
+	store 8,mem_context
+	store 2,mem_ui_state_map
+	copy clkn_bt,pdata
+	store 4,mem_ipc_last_check_timer
+	jam BT_EVT_HIBERNATE_WAKE,mem_ipc_tx_evt
+	branch p_device_init_common
+
+p_init_adc_from_otp:
+	call otp_enable_chgpump
+	setarg 0x7e2
+	arg mem_temp,rega
+	arg 12,temp
+	call otpd_read_data
+	call otp_disable_chgpump
+	fetch 8,mem_temp
+	rtn blank
+	fetch 1,mem_adc_config_flag
+	bbit1 ADC_CONFIG_VINLPM,p_calc_adc_base_vinlpm
+	bbit1 ADC_CONFIG_HVIN,p_calc_adc_base_hvin
+p_calc_adc_check_gpio:
+	fetch 2,mem_temp
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	fetch 2,mem_temp + 6
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	rtn
+p_calc_adc_base_vinlpm:
+	fetcht 2,mem_temp + 4
+	fetch 2,mem_temp + 10
+	copy temp,regb
+	copy pdata,rega
+	byteswap pdata,pdata
+	store 2, mem_adc_3v
+	copy rega,pdata
+	isub temp,regc
+	lshift regc,regc
+	copy regb,pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2, mem_adc_0v
+	rtn
+
+p_calc_adc_base_hvin:
+	fetcht 2,mem_temp + 2
+	fetch 2,mem_temp + 8
+	copy temp,regb
+	copy pdata,rega
+	isub temp,regc
+	rshift2 regc,regc
+	copy regb,pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	lshift regc,regc
+	copy rega,pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	rtn
+
+
+p_le_enable:
+	jam 39,mem_le_ch_mapped
+	hjam 0x36,0x90f        /*For BLE, tune AGC_gain_offset, Max added*/
+	hjam 0x5f,0x90b        //for BLE
+	branch le_enable+2
+p_le_disable:
+	hjam 0x2e,0x90f        /*For BR/EDR, tune AGC_gain_offset, Max added*/
+	hjam 0xff,0x90b         //for EDR&BR
+	branch le_disable+2
+
+
+p_mouse_idle:
+	rtn
+p_check_enter_hibernate:
+	jam SYC_TASK_HIBERNATE,mem_c51_flag
+	call p_c51_wait
+p_enter_hibernate_continue:
+//	branch lpm_hibernate
+	jam 0x5a,mem_hibernate_flag
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata					
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	arg param_hibernate_clks,temp
+	branch lpm_sleep
+	
+ 
+p_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
+	copy temp,pdata
+	rtn blank 
+ifdef P24G
+	beq BT_CMD_START_24G,p_check_51cmd_start24g
+	beq BT_CMD_STOP_24G,p_check_51cmd_stop24g
+	beq BT_CMD_PAIR_24G,p_g24_start_pairing_sm1
+
+endif	
+	branch check_51cmd_once+9
+ifdef P24G
+p_check_51cmd_start24g:
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	branch p_g24_start_24g_mode
+p_check_51cmd_stop24g:
+	set0 mark_24g,mark
+	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
+	branch p_g24_stop_g24_mode
+
+
+
+
+
+endif
+
+
+p_le_queue_init:
+	setarg 0
+	store 4,mem_queue_write
+	rtn
+
+		
+ifdef P24G
+p_g24_dispatch:
+	rtnmark0 mark_24g
+	call p_g24_txdata_prep
+	nbranch p_g24_long_sleep,user
+	jam 10,mem_24g_enter_lpm_timer
+	call p_g24_transmit_packet
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+ifdef TX_POWER_MAX
+	jam TX_POWER_5DB,mem_tx_power
+else
+	call power_ctrl_start
+endif	
+p_g24_short_sleep:
+	fetch 1,mem_mouse_retry_flag
+	nrtn blank
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+p_g24_short_sleep_1:	
+	setarg 58000
+p_g24_short_sleep_2:	
+	call clk2lpo
+ 	storet 4,mem_sleep_counter
+ 	branch lpm_sleep
+
+p_g24_long_sleep:
+	call p_check_IPC_for_LPM
+	nrtn user
+	fetch 1,mem_c51_lpm_lock
+	nrtn blank
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+	fetch 1,mem_lpm_mode
+	rtn blank
+	fetch 1,mem_24g_enter_lpm_timer
+	nbranch p_g24_short_sleep_1,blank	
+	fetch 8,mem_24g_enter_hibernate
+  	branch p_g24_short_sleep_2
+
+p_g24_txdata_prep:
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_pairing_sm	
+ifdef OTA_ENABLE
+	fetch 1,mem_24g_ota_enable
+	beq 1,p_g24_txdata_skip_short_lpm
+endif	
+	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:
+	disable user
+	jam 2,mem_24g_data_type
+	fetch 1,mem_24g_txbuf
+	beq 0x01,p_g24_dataready			
+	beq 0x02,p_g24_dataready_mk	
+	beq 0x03,p_g24_dataready_ms
+	beq 0x06,p_g24_dataready_sys
+	fetch 1,mem_mouse_retry_flag
+	ncall enable_user,blank
+	rtn
+p_g24_dataready:				
+	jam 0x00,mem_24g_txbuf				//standard key 0x00
+	jam 10,mem_24g_datalen		// 02 + 00 + 8 payload
+	branch p_g24_package_data_rtn
+p_g24_dataready_mk:			
+	jam 0x03,mem_24g_txbuf				//multi key 0x03
+	jam 4,mem_24g_datalen		// 02 + 03 + 2 payload
+	branch p_g24_package_data_rtn
+p_g24_dataready_sys:
+	jam 0x02,mem_24g_txbuf				//system key 0x02
+	jam 3,mem_24g_datalen		// 02 + 02 + 1 payload
+	branch p_g24_package_data_rtn
+p_g24_dataready_ms:
+	jam 1,mem_24g_data_type		// mouse
+	jam 8,mem_24g_datalen		// 01 + 7 payload
+p_g24_package_data_rtn:	
+	jam 0,mem_24g_get_ack_fail
+	branch enable_user
+
+
+
+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
+	nbranch p_g24_retransmit,user3
+	call p_g24_ackpayload_parse
+ifndef TX_POWER_MAX	
+	call power_ctrl_pac_succ_incrs
+endif	
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+	jam 0,mem_mouse_retry_flag
+	fetch 1,mem_24g_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_paring_mode_start
+p_g24_transmit_abandon:
+	call p_g24_clear_txbuf
+	jam 0,mem_24g_get_ack_fail
+	jam ENSURE_OFF_24G,mem_24g_ensure
+	rtn
+
+
+p_g24_retransmit:
+	jam 1,mem_mouse_retry_flag
+	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
+	fetch 1,mem_24g_get_ack_fail
+	beq  0xff,p_g24_stop_g24_mode
+	fetch 1,mem_24g_get_ack_fail
+	arg 16,temp
+	isub temp,null
+	branch p_g24_ch,positive
+	fetch 1,mem_24g_retry
+	increase 1,pdata
+	store 1,mem_24g_retry
+	nop 10
+	bne retry_24g,p_g24_transmit_loop
+	branch p_g24_ch
+	
+
+p_g24_clear_txbuf:
+	setarg 0
+	store 9,mem_24g_txbuf
+	rtn
+
+p_g24_check_txbuf:
+	bmark0 mark_24g,set_blank
+	fetch 8,mem_24g_txbuf
+	rtn
+
+
+p_g24_paring_mode_start:
+ifndef TX_POWER_MAX
+	call power_ctrl_pac_succ_cnt_init
+endif	
+	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:
+//	jam 0,mem_24g_rxbuf+1
+//	enable user3
+//	branch p_g24_end_of_packet
+
+
+p_g24_tx_paring_retry:
+	rtn
+//	fetch 1,mem_24g_get_ack_fail
+//	rtnne 0xff
+//	jam 0,mem_24g_get_ack_fail
+p_g24_stop_g24_mode:
+	jam 0,mem_mouse_retry_flag
+	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
+	call p_24g_kb_led
+	arg mem_24g_rxbuf+2,contr
+	arg mem_24g_rxpayload,contw	//ack payload buffer 
+	branch memcpy
+
+p_24g_kb_led:
+	fetch 1,mem_24g_rxbuf+1
+	compare 0x08,pdata,0xf8
+	nrtn true
+	fetcht 1,mem_24g_rxbuf+2
+	storet 1,mem_caps_num_lock
+	jam 0,mem_24g_led_flag
+	rtn	
+
+ifndef TX_POWER_MAX
+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,1,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 2,mem_power_ctrl_pac_succ_cnt
+	rtn
+*/
+power_ctrl_start:
+	arg mem_rssi_signal_buf,rega
+	call p_rssi_average
+	storet 1,mem_rssi_avg_received
+	setarg RSSI_DIS_MAX_24G
+	bmark1 mark_24g,power_ctrl_start_next
+	setarg RSSI_DIS_MAX_BLE
+power_ctrl_start_next:	
+	isub temp,null
+	nbranch power_ctrl_txpower_incrs,positive
+
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	sub pdata,1,null
+	nbranch power_ctrl_txpower_decrs_check,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	beq 0,power_ctrl_txpower_incrs
+	rtn
+	
+power_ctrl_txpower_decrs_check:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	rtnne 70
+	jam 0,mem_power_ctrl_pac_succ_cnt
+power_ctrl_txpower_decrs:
+	fetcht 1,mem_rssi_avg_received
+	setarg RSSI_DIS_MIN_24G
+	bmark1 mark_24g,power_ctrl_txpower_decrs_next
+	setarg RSSI_DIS_MIN_BLE	
+power_ctrl_txpower_decrs_next:
+	isub temp,null
+	nrtn positive
+	fetch 1,mem_power_ctrl_level
+	beq 0,power_ctrl_decrs_level0
+	increase -1,pdata
+	store 1,mem_power_ctrl_level
+	beq 0,power_ctrl_decrs_level0
+power_ctrl_decrs_level1:
+power_ctrl_incrs_level1:	//0dBm
+	jam TX_POWER_0DB,mem_tx_power
+	rtn
+	
+power_ctrl_txpower_incrs:
+	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_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,temp
+	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
+	
+p_g24_start_pairing_sm1:
+	set1 mark_24g,mark
+	call p_g24_pair_init
+	call p_g24_transmit_abandon
+	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
+	rtn
+
+p_g24_pair_init:
+	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:
+	call p_g24_pair_init
+	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
+	jam 0x02,mem_24g_common_temp+1	// mem_24g_data_type: 02 keyboard
+	fetch 4,mem_24g_device_addr
+	store 4,mem_24g_common_temp+2
+	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:
+	rtnmark1 mark_24g
+	call p_g24_syncword_crc8
+	call p_g24_ch
+	fetch 1,mem_24g_pairing_sm
+	rtnne STATE_24G_PAIRING_SUCCESS
+	call p_g24_tx_attemp_data_prep
+	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,user3
+p_g24_tx_attemp_dongle_succ:
+	call p_g24_clear_txbuf
+	set1 mark_24g,mark
+	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
+	branch ui_ipc_send_event
+
+
+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_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
+	rtn
+
+p_rssi_signal:
+	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_rssi_noise:
+//	call save_rssi
+//	rtn blank
+//	fetcht 1,mem_rssi_noise_index
+//	arg mem_rssi_noise_buf,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_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_pairing_sm
+	bne STATE_24G_PAIRING_SUCCESS,p_g24_transmit_prep_pair
+	fetch 1,mem_24g_data_type
+	istore 1,contw
+p_g24_transmit_prep_pair:	
+	fetch 1,mem_24g_datalen
+	iforce loopcnt
+	fetch 1,mem_24g_data_type
+	beq 1,p_g24_transmit_prep_mouse
+	arg mem_24g_txbuf,contr
+	call memcpy
+// type == 2 && mem_24g_txbuf[0] == 0x03  : multi	
+// type == 1 && mem_24g_txbuf[0] == 0x03  : mouse
+// if transmit fail,next package will send mouse data
+	fetch 1,mem_24g_txbuf	
+	beq 0x03,p_g24_multi_key_setup
+	rtn
+p_g24_multi_key_setup:
+	jam 0x02,mem_24g_txbuf
+	rtn
+
+
+p_g24_transmit_prep_mouse:
+	arg mem_24g_txbuf+1,contr
+	branch memcpy
+
+p_g24_ch:
+	fetcht 1,mem_24g_current_ch_number
+	call p_g24_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	storet 1,mem_24g_current_ch_number
+	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_rxon:
+	call p_g24_prep
+	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
+	copy pdata,rega
+	call p_rssi_signal
+	rtn
+
+p_g24_sync_timeout:
+//	call p_rssi_noise
+//	branch p_g24_end_of_packet
+p_g24_end_of_packet:
+	disable encode_fec1
+	disable decode_fec1
+	branch 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
+
+
+endif
+
+ifdef GPIO_TEST_01	
+p_test_gpio_blink:
+	fetch 1,mem_24g_txfail_cnt
+	branch p_test_io_on,blank
+	branch p_test_io_off
+
+p_test_io_on:
+	jam 1,mem_24g_txfail_cnt
+	arg 0x10,temp
+	branch gpio_out_active
+p_test_io_off:
+	jam 0,mem_24g_txfail_cnt
+	arg 0x10,temp
+	branch gpio_out_inactive
+endif
+	
Index: KG9013/btkb/program/peripherals.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/peripherals.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/peripherals.prog	(working copy)
@@ -0,0 +1,1330 @@
+
+/* ===================== two wire SPI gpio ======================= */
+
+twspi_reset:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_6,mem_patch1f
+	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
+	hjam 0,core_gpio_sel1	
+	hfetch 1,core_gpio_out3
+	set0 1,pdata
+	set0 2,pdata
+	hstore 1,core_gpio_out3	
+	nop 30
+	hjam 1,core_gpio_sel1	
+	rtn
+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 0x20,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 0xdf,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 0xdf,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
+	hjam 0x80, core_ucode_ctrl
+	hjam 0,core_ucode_hi
+	hjam 0,core_ucode_low
+	arg core_ucode_data,rega
+	call read_function_aes
+	hjam 0x0, core_ucode_ctrl
+	call get_block_header
+	nrtn zero
+	force 0,pdata
+	hstore 2,core_docd_paddr
+	arg core_docd_pdata,rega
+	call read_function_aes
+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:
+	hjam 0x25,core_clkoff			// disable debug uart
+	hjam 5,core_docd_ctrl
+	call clean_mem
+loadcode_lpm:
+	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
+	setarg otp_ucode_aeskey
+	arg mem_ucode_keybuf,rega
+	arg 16,temp
+	call otpd_read_data
+	hjam lock_otp,core_misc_ctrl	// disable further read/write of key
+	arg mem_ucode_keybuf,contr
+	call load_key
+	enable user					// set user for aes
+loadcode_otp:
+	fetch 2,mem_otp_ucode_flag
+	byteswap pdata,pdata
+	arg 0x7ff,temp
+	iand temp,pdata
+	branch loadcode_spi, zero
+	call otp_set_addr
+	arg otpd_read_code,regc
+	call get_iv,user
+	call load_storage
+	fetch 1,mem_ucode_status
+	compare 3,pdata,3
+	nbranch loadcode_otp,true	// crc error, try again
+loadcode_spi:
+	call otp_disable_chgpump
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_flash, loadcode_iic
+	setarg 0x0
+	store 3,mem_addr_hi
+	call spid_init_flash
+	arg spid_read_flash,regc
+	call read_first_block
+	call load_storage
+	nbranch loadcode_iic,match
+	fetch 1,mem_ucode_status
+	compare 3,pdata,3
+	nbranch loadcode_spi,true	// crc error, try again
+loadcode_iic:
+	fetch 1,mem_otp_ucode_flag
+	bbit1 otp_uflag_skip_eep,loadcode_hci
+	setarg 0x0
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	call iicd_init_12m
+	call read_first_block
+	call load_storage
+	nbranch loadcode_hci,match
+	fetch 1,mem_ucode_status
+	compare 3,pdata,3
+	nbranch loadcode_iic,true	// crc error, try again
+loadcode_hci:
+	hjam 0x21,core_clkoff			// enable debug uart
+	fetch 1,mem_otp_ucode_flag
+	rtnbit0 otp_uflag_hci
+	call hci_init
+loadcode_hci_loop:
+	call hci_rx_packet
+	branch loadcode_hci_loop
+
+/* 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 5
+	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
+
+
+	/* loopcnt is ucode instruction count, pdata is buffer ptr */
+save_ucode:
+	copy loopcnt,temp
+	storet 2,mem_patch_len
+	hjam 0x80, core_ucode_ctrl
+	hjam 0,core_ucode_hi
+	hjam 0,core_ucode_low
+	store 2,mem_patch_ptr
+	iforce contw
+	lshift2 loopcnt,loopcnt
+save_ucode_loop:
+	hfetch 1,core_ucode_data
+	istore 1,contw
+	loop save_ucode_loop
+	hjam 0x0, core_ucode_ctrl
+	rtn
+
+load_ucode:
+	fetch 2,mem_patch_ptr
+	rtn blank
+	hjam 0x80, core_ucode_ctrl
+	hjam 0,core_ucode_hi
+	hjam 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
+	hjam 0x0, core_ucode_ctrl
+	rtn
+
+
+/* ===================== SPI dma ======================= */
+
+spid_init:
+	set0 mark_ext_patch,mark
+	bpatch patch1f_7,mem_patch1f
+	hjam 0x75,core_spid_ctrl	// A7530 should at least 34, or write fail
+	hjam 10,core_spid_delay	// 4us delay
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	setarg mem_spid_rbuf
+	hstore 2,core_spid_rxaddr
+	hfetch 1,core_gpio_sel1
+	set1 0,pdata
+	set0 1,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+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
+	set1 mark_ext_patch,mark
+	bpatch patch20_0,mem_patch20
+	hjam 2,core_spid_txlen
+	hjam 0,core_spid_rxlen
+	hjam 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
+	set1 mark_ext_patch,mark
+	bpatch patch20_1,mem_patch20
+	hjam 1,core_spid_txlen
+	hstoret 2,core_spid_rxlen
+	hjam 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:
+	hjam 0x40,core_spid_ctrl
+	hjam 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 1,core_spid_txlen
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	jam 6,mem_spid_tbuf
+	hjam spid_start,core_misc_ctrl
+	branch wait_spid_done
+
+
+	/* 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
+	increase -4,rega
+	arg 2,temp
+	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
+	hjam spid_start,core_misc_ctrl
+	branch wait_spid_done
+	
+
+/* temp is length, rega pointers to buf */
+spid_read_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
+	hjam 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
+	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
+
+
+/* ===================== I2C dma ======================= */
+iicd_init_5m:
+	hjam 0xa,core_clksel			// use 5M rc clock to load eeprom
+	hjam 2,core_iicd_scl_low
+ 	hjam 3,core_iicd_scl_high
+	hjam 3,core_iicd_start_setup
+	hjam 3,core_iicd_start_hold
+	hjam 3,core_iicd_stop_setup
+	hjam 2,core_iicd_data_setup
+	rtn
+
+iicd_init_12m:
+	hjam 5,core_iicd_scl_low
+ 	hjam 7,core_iicd_scl_high
+	hjam 7,core_iicd_start_setup
+	hjam 7,core_iicd_start_hold
+	hjam 7,core_iicd_stop_setup
+	hjam 5,core_iicd_data_setup
+	rtn
+
+
+
+wait_iicd_done:
+	hfetch 1,core_dma_status
+	bbit0 iicd_done,wait_iicd_done
+	rtn
+
+	/* pdata is iic addr, rega points to buf, temp is length */
+iicd_read_data:
+	store 1,mem_iicd_tbuf
+	setarg mem_iicd_tbuf
+	hstore 2,core_iicd_txaddr
+	setarg 1
+	hstore 2,core_iicd_txlen
+	hstoret 2,core_iicd_rxlen
+	deposit rega
+	hstore 2,core_iicd_rxaddr
+	hjam 1,core_iicd_ctrl
+	hjam iicd_start,core_misc_ctrl
+	branch wait_iicd_done
+
+byteswap_addr_mi:
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	rtn
+
+
+//length:temp 
+//mem ptr:rega
+//eeprom addr offset:regb
+iicd_read_eep_data:
+	set1 mark_ext_patch,mark
+	bpatch patch20_2,mem_patch20
+	fetch 2,mem_eeprom_base
+	iadd regb,pdata
+
+/* pdata:eeprom address, rega pointers to buf, temp is length  */
+iicd_read_eep_adr:
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+
+/* rega pointers to buf, temp is length  */
+iicd_read_eep:
+	set1 mark_ext_patch,mark
+	bpatch patch20_3,mem_patch20
+	setarg 4
+	hstore 2,core_iicd_txlen
+	jam 0xa0,mem_iicd_tbuf
+	jam 0xa1,mem_iicd_tbuf+3
+	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
+	hjam iicd_start,core_misc_ctrl
+	arg iicd_done,queue
+	call decrypt_code
+	call wait_iicd_done
+	isolate1 iicd_crcok,pdata	
+	call set_ucode_status
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch20_4,mem_patch20
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch20_5,mem_patch20
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch20_6,mem_patch20
+	fetch 2,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
+
+
+
+	/* pdata is eeprom address, rega pointers to txdata(3 ahead bytes should be left), temp is length */
+iicd_write_eep:
+	copy pdata,regb
+	set1 mark_ext_patch,mark
+	bpatch patch20_7,mem_patch20
+	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
+	deposit rega
+	hstore 2,core_iicd_txaddr
+	setarg 0
+	hstore 2,core_iicd_rxlen
+	hjam 1,core_iicd_ctrl
+	hjam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	copy regb,pdata
+	istore 3,rega
+	nop 10000
+	nop 10000
+	nop 10000
+	rtn
+
+/* ===================== OTP ======================= */
+
+otp_enable_chgpump:
+	hjam 0x70,rfen_chgpump
+	nop param_chgpump_delay
+	rtn
+
+otp_disable_chgpump:
+	hjam 0x30,rfen_chgpump
+	rtn
+	
+otp_set_addr:
+	lshift3 pdata,pdata
+	hstore 2,core_otp_addr
+	hjam 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
+	hjam 0x02,core_otp_ctrl	/* web */
+	hjam 0x82,core_otp_ctrl
+	set0 7,pdata				/* dle */
+	hstore 1,core_otp_din
+	hjam 0x8a,core_otp_ctrl	/* pgmen */
+	nop 11
+	hjam 0xca,core_otp_ctrl	/* vppen */
+	nop 33
+	hjam 0x4a,core_otp_ctrl	/* web 2nd */
+	nop 44
+	hjam 0xca,core_otp_ctrl	/* release web */
+	nop 22
+	hjam 0x8a,core_otp_ctrl	/* release vppen */
+	nop 33
+	hjam 0x82,core_otp_ctrl	/* release pgmen */
+	nop 1
+	hjam 0x92,core_otp_ctrl	/* pgmvfy */
+	nop 10
+	hjam 0xb2,core_otp_ctrl	/* readen */
+	hfetch 1,core_otp_rdata
+	hjam 0x92,core_otp_ctrl	/* release readen */
+	nop 1
+	hjam 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
+	hjam 0x83,core_otp_ctrl
+	rtn
+
+otp_ce:
+	hjam 0x82,core_otp_ctrl	/* ceb */
+	nop 12
+	hjam 0x80,core_otp_ctrl	/* rstn */
+	hjam 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
+otpd_read_special:
+	hjam 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
+	hjam 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
+	hjam 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
+	hjam 0x83,core_otp_ctrl	/* release ceb */
+	rtn
+
+/* ===================== uart dma ======================= */
+uartd_rx_cnt_got_first_byte:
+	jam 1,mem_uartd_rxitems_got_data
+	force uart_rx_timer,queue
+	fetch 2,mem_uartd_rx_timeout
+	branch timer_init
+uartd_rx_cnt_with_threshold:
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	fetcht 1,mem_uartd_rxitems_threshold
+	isub temp,null
+	branch uartd_rx_cnt_rtn_value,positive
+	fetch 1,mem_uartd_rxitems_got_data
+	branch uartd_rx_cnt_got_first_byte,blank
+	arg uart_rx_timer,queue
+	call timer_check
+	branch uartd_rx_cnt_rtn_value,blank
+	setarg 0
+	rtn
+uartd_rx_cnt_rtn_value:
+	force uart_rx_timer,queue
+	call timer_stop
+	jam 0,mem_uartd_rxitems_got_data
+	hfetch 2,core_uart_rxitems
+	rtn
+	
+
+
+
+	
+	/* temp=bytes to send */	
+uartd_prepare_tx:
+	hfetch 2,core_uart_twptr
+	iforce contwu
+	rtn
+
+uartd_send:
+	deposit contwu
+	hstore 2,core_uart_twptr
+	rtn
+
+uartd_prepare_rx:
+	hfetch 2,core_uart_rxitems
+	rtn blank
+	iforce loopcnt
+	hfetch 2,core_uart_rrptr
+	iforce contru
+	rtn
+
+	//len in temp
+uartd_rxdone_by_len:
+	hfetch 2,core_uart_rrptr
+	iadd temp,pdata
+	copy pdata,contru
+uartd_rxdone:
+	deposit contru
+	hstore 2,core_uart_rrptr
+	rtn
+
+uart_set_baud_by_mem:
+	fetch uart_baud_len,mem_baud
+	hstore uart_baud_len,core_uart_baud
+	rtn
+
+/* ===================== eeprom data ======================= */
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch21_0,mem_patch21
+	call eeprom_store_remote_bdaddr
+	call eeprom_store_last_record_index
+	fetch 1,mem_record_bt_mode
+	beq REC_4_MODE,eeprom_store_rec_4_mode
+	beq REC_3_MODE,eeprom_store_link_key
+	rtn
+eeprom_store_rec_4_mode:
+	call eeprom_store_le_ltl
+	branch eeprom_store_le_local_addr
+	
+//
+eeprom_load_reconn_info:
+	set1 mark_ext_patch,mark
+	bpatch patch21_1,mem_patch21
+	call eeprom_load_reconn_bdaddr
+	fetch 1,mem_select_list_item
+	rtneq 0xff
+	fetch 6,mem_temp_lap
+	store 6,mem_hci_plap
+	fetch 1,mem_record_bt_mode
+	store 1,mem_xrecord_mode
+	beq REC_3_MODE,eeprom_load_rec_3_mode
+	beq REC_4_MODE,eeprom_load_rec_4_mode
+	rtn
+eeprom_load_reconn_bdaddr:
+	call eeprom_load_last_record_index
+	fetch 1,mem_select_list_item
+	rtneq 0xff
+	branch eeprom_load_remote_bdaddr
+eeprom_load_rec_3_mode:
+	call eeprom_load_link_key
+	branch check_link_key_load
+eeprom_load_rec_4_mode:
+	call eeprom_load_ltk_key
+	branch check_ltk_load
+eeprom_clear_bd_reconn_info:
+	call eeprom_load_bdaddr_list
+	disable user
+	call find_addr_from_bd_list
+	nbranch at_error_rev_end,user
+eeprom_clear_reconn_info_common:
+	fetcht 2,mem_list_item_ptr
+	increase -1,temp
+	setarg 0
+	istore 7,temp
+	arg 28,temp
+	arg mem_bdaddr_list_buff+7,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_write_eep_data
+
+eeprom_clear_all_reconn_info:
+	set1 mark_ext_patch,mark
+	bpatch patch21_2,mem_patch21
+	arg mem_bdaddr_list_buff,contw
+	force 4,loopcnt
+	call memset0
+	arg 28,temp
+	arg mem_bdaddr_list_buff,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_write_eep_data
+
+eeprom_erase_reconn_info:
+	set1 mark_ext_patch,mark
+	bpatch patch21_3,mem_patch21
+	setarg 0x0
+	store 3,mem_plap
+	istore 3,contw
+	branch eeprom_store_remote_bdaddr
+	
+eeprom_load_last_record_index:
+	arg 1,temp
+	arg mem_select_list_item,rega
+	arg eeprom_last_record,regb
+	branch iicd_read_eep_data
+
+eeprom_store_last_record_index:
+	arg 1,temp
+	arg mem_select_list_item,rega
+	arg eeprom_last_record,regb
+	branch iicd_write_eep_data
+
+
+eeprom_store_remote_bdaddr:
+	set1 mark_ext_patch,mark
+	bpatch patch21_4,mem_patch21
+	call eeprom_load_bdaddr_list
+	disable user
+	call find_addr_from_bd_list
+	rtn user
+eeprom_store_remote_addr_unfind:
+	jam 0,mem_select_list_item
+	fetch 6,mem_temp_lap
+	store 6,mem_bdaddr_list_buff+1
+	fetch 1,mem_record_bt_mode
+	store 1,mem_bdaddr_list_buff
+	arg 28,temp
+	arg mem_bdaddr_list_buff,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_write_eep_data
+
+
+eeprom_store_le_local_addr:
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_le_reconn_local_addr,regb
+	branch iicd_write_eep_data
+	
+eeprom_load_le_loacal_addr:
+	arg 6,temp
+	arg mem_le_lap,rega
+	arg eeprom_le_reconn_local_addr,regb
+	branch iicd_read_eep_data
+
+
+eeprom_load_remote_bdaddr:
+	set1 mark_ext_patch,mark
+	bpatch patch21_5,mem_patch21
+	arg 7,temp
+	arg mem_temp_reconn_record,rega
+	arg eeprom_bdaddr_list,regb
+	fetch 1,mem_select_list_item
+	mul32 pdata,7,pdata
+	iadd regb,regb
+	branch iicd_read_eep_data
+
+eeprom_linkkey_addr:
+	arg 0x10,temp
+	arg eeprom_linkkey_list,regb
+	fetch 1,mem_select_list_item
+	lshift4 pdata,pdata
+	iadd regb,regb
+	rtn
+	
+eeprom_store_le_ltl:
+	arg mem_le_ltk,rega
+	branch eeprom_store_link_key_common
+eeprom_store_link_key:
+	arg mem_link_key,rega
+eeprom_store_link_key_common:
+	set1 mark_ext_patch,mark
+	bpatch patch21_6,mem_patch21
+	call eeprom_linkkey_addr
+	branch iicd_write_eep_data
+
+eeprom_load_ltk_key:
+	arg mem_le_ltk,rega
+	branch eeprom_load_link_key_common
+eeprom_load_link_key:
+	arg mem_link_key,rega
+eeprom_load_link_key_common:
+	set1 mark_ext_patch,mark
+	bpatch patch21_7,mem_patch21
+	call eeprom_linkkey_addr
+	branch iicd_read_eep_data
+
+
+	
+eeprom_load_bdaddr_list:
+	arg 28,temp
+	arg mem_bdaddr_list_buff+7,rega
+	arg eeprom_bdaddr_list,regb
+	branch iicd_read_eep_data
+
+find_addr_from_bd_list:
+	set1 mark_ext_patch,mark
+	bpatch patch22_0,mem_patch22
+	setarg mem_bdaddr_list_buff+7
+	store 2,mem_list_item_ptr
+	jam 0,mem_select_list_item
+	arg 4,loopcnt
+find_addr_from_list:
+	copy loopcnt,pdata
+	store 1,mem_pdatatemp
+	fetch 2,mem_list_item_ptr
+	copy pdata,rega
+	call find_addr_from_list_compare
+	rtn user
+	fetch 2,mem_list_item_ptr
+	increase 7,pdata
+	store 2,mem_list_item_ptr
+	fetch 1,mem_select_list_item
+	increase 1,pdata
+	store 1,mem_select_list_item
+	fetch 1,mem_pdatatemp
+	copy pdata,loopcnt
+	loop find_addr_from_list
+	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
+check_ltk_load:
+	fetch 6,mem_hci_plap
+	rtn blank
+	jam 1,mem_ltk_exists
+	rtn
+
+find_addr_from_list_compare:
+	arg mem_temp_reconn_record,regb
+	arg 7,loopcnt
+	call string_compare
+	branch enable_usr,zero
+	rtn
+enable_usr:
+	enable user
+	rtn
+le_eeprom_load_reconn_info:
+	branch assert
+
+
+/* =============== GPIO CONTROL ================= */
+
+
+	//temp [4:0]=GPIO number, 0-31, 
+gpio_set_wake_by_current_state:
+	set1 mark_ext_patch,mark
+	bpatch patch22_1,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch22_2,mem_patch22
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch22_3,mem_patch22
+	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:
+	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
+	
+	//temp [4:0]=GPIO number, 0-31, [7]=0, low active. set gpio to inactive state
+gpio_config_output:	
+	setflip gpio_active_bit,temp
+	call gpio_out
+	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
+
+	
+	/* temp is gpio number, return true if gpio active */
+gpio_get_bit:
+	arg core_gpio_in,contw
+	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:
+	isolate1 7,null
+	branch gpio_out_flag
+
+gpio_out_active:
+	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_test:
+	fetch 1,mem_seqi
+	rtneq 0x7f
+	hjam 0,core_gpio_out3
+	nop 30
+	hjam 8,core_gpio_out3
+	rtn
+
+
+/* ===================== PWM ======================= */
+
+set_pwm_blink:
+	lshift8 pdata,pdata
+	lshift4 pdata,pdata
+	hstore 2,core_pwm_ncnt0
+	hstore 2,core_pwm_pcnt0
+	rtn
+
+set_pwm_steadyon:
+	setarg 0
+	hstore 2,core_pwm_ncnt0
+	setarg 1
+	hstore 2,core_pwm_pcnt0
+	rtn
+
+set_pwm_off:
+	setarg 0
+	hstore 2,core_pwm_ncnt0
+	hstore 2,core_pwm_pcnt0
+	rtn
+
+	
+/* ===================== CODEC ======================= */
+
+init_filter_ram:
+ifdef COMPILE_HCI_BCSP
+	arg 0x8800,contw
+	arg 0x20,loopcnt
+	call memset0
+	setarg 0x4f9
+	hstore 2,0x8848
+	hstore 2,0x884a
+	hstore 2,0x884c
+	hstore 2,0x886c
+	hstore 2,0x888c
+	hstore 2,0x88ac
+	setarg 0x204
+	hstore 2,0x88ae
+	setarg 0x0506
+	hstore 2,0x88b0
+	setarg 0x0504
+	hstore 2,0x88b2
+	setarg 0x0200
+	hstore 2,0x88b4
+	setarg 0xFEFB
+	hstore 2,0x88b6
+	setarg 0xFAF9
+	hstore 2,0x88b8
+	setarg 0xFAFB
+	hstore 2,0x88ba
+	setarg 0xFD00
+	hstore 2,0x88bc
+	setarg 0x0408
+	hstore 2,0x88be
+	setarg 0x0A0C
+	hstore 2,0x88c0
+	setarg 0x0B09
+	hstore 2,0x88c2
+	setarg 0x0500
+	hstore 2,0x88c4
+	setarg 0xF8F1
+	hstore 2,0x88c6
+	setarg 0xECE8
+	hstore 2,0x88c8
+	setarg 0xE9EB
+	hstore 2,0x88ca
+	setarg 0xF500
+	hstore 2,0x88cc
+	setarg 0x1223
+	hstore 2,0x88ce
+	setarg 0x374B
+	hstore 2,0x88d0
+	setarg 0x5E71
+	hstore 2,0x88d2
+	setarg 0x787F
+	hstore 2,0x88d4
+endif
+	rtn
+
+enable_pcm:
+	set1 mark_ext_patch,mark
+	bpatch patch22_4,mem_patch22
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_CODEC,pdata
+	hstore 2,core_clkoff
+	hjam 0x11,core_enc_ctrl
+	hjam 0x1,core_cvsd_ctrl
+	hjam 0x1,core_codec_ctrl
+	hjam 0x11,core_dec_ctrl
+	rtn
+
+disable_pcm:
+	set1 mark_ext_patch,mark
+	bpatch patch22_5,mem_patch22
+	hfetch 2,core_clkoff
+	set1 CLOCK_OFF_CODEC,pdata
+	hstore 2,core_clkoff
+	hjam 0x4,core_enc_ctrl
+	hjam 0x4,core_dec_ctrl
+	hjam 0x0,core_cvsd_ctrl
+	hjam 0x0,core_codec_ctrl
+	rtn
+
+
+
+get_sco_data:
+	fetch 1,mem_state
+	rtnbit0 state_insco
+	arg mem_sco_obuf,contw
+	arg 30,loopcnt
+get_sco_data_loop:
+	hfetch 1,core_pcminfifo
+	istore 1,contw
+	loop get_sco_data_loop
+	rtn
+	
+
+process_sco_data:
+	fetch 1,mem_state
+	rtnbit0 state_insco
+	arg mem_sco_ibuf,contr
+	force 30,loopcnt
+process_sco_loop:
+	ifetch 1,contr
+	hstore 1,core_pcmoutfifo
+	loop process_sco_loop
+	rtn
+
+init_sched:
+	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_pd_uart_tx:
+	call gpio_cfg_uart_tx_output
+	arg UART_WAKEUP_TX,temp
+	branch gpio_out_active
+
+gpio_cfg_uart_rx_output:
+	call gpio_uart2gpio
+	arg UART_WAKEUP_RX,temp
+	branch gpio_config_output
+
+gpio_pu_uart_rx:
+	call gpio_cfg_uart_rx_output
+	arg UART_WAKEUP_RX,temp
+	branch gpio_out_inactive
+
+gpio_pd_uart_rx:
+	call gpio_cfg_uart_rx_output
+	arg UART_WAKEUP_RX,temp
+	branch gpio_out_active
+
+gpio_tx_config_input_with_pu:
+	call gpio_uart2gpio
+	hfetch 1, core_gpio_pu0
+	set1 UART_WAKEUP_TX,pdata
+	hstore 1,core_gpio_pu0
+	arg UART_WAKEUP_TX,temp
+	branch gpio_config_input
+
+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_gpio2uart:
+	hfetch 1,core_gpio_sel1
+	or_into 0x04,pdata
+	hstore 1,core_gpio_sel1
+	rtn
+
+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
+	
Index: KG9013/btkb/program/prcp.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/prcp.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/prcp.prog	(working copy)
@@ -0,0 +1,297 @@
+
+ifdef COMPILE_PRCP
+prcp_init:
+	setarg prcp_process
+	store 2,mem_cb_att_write
+	rtn
+prcp_process:
+	call clear_prcp_sendbuff
+	fetch 1,mem_prcp
+	beq PRCP_LE,le_prcp
+	beq PRCP_SSP,prcp
+	branch assert
+le_prcp:
+	arg PRCP_RX_LE,temp
+	storet 2,mem_le_notify_handle
+	call le_att_get_handle_ptr
+	ifetch 1,contr
+	call prcp_parse
+	branch prcp_le_tx
+prcp:
+	call prcp_parse
+	branch prcp_tx
+prcp_parse:
+	copy contr,rega
+	set1 mark_ext_patch,mark
+	bpatch patch26_1,mem_patch26
+	ifetch 1,contr
+	beq COMMON_RES,prcp_parse_common_res
+	beq READ_REGISTERS_REQ,prcp_parse_read_registers_req
+	beq READ_REGISTERS_RES,prcp_parse_read_registers_res
+	beq WRITE_REGISTERS_REQ,prcp_parse_write_registers_req
+	beq I2C_CONFIG_REQ,prcp_parse_i2c_config_req
+	beq I2C_READ_REQ,prcp_parse_i2c_read_req
+	beq I2C_READ_RES,prcp_parse_i2c_read_res
+	beq I2C_WRITE_REQ,prcp_parse_i2c_write_req
+	beq SPI_CONFIG_REQ,prcp_parse_spi_config_req
+	beq SPI_READ_REQ,prcp_parse_spi_read_req
+	beq SPI_READ_RES,prcp_parse_spi_read_res
+	beq SPI_WRITE_REQ,prcp_parse_spi_write_req
+	beq PWM_CONFIG_REQ,prcp_parse_pwm_config_req
+	beq PWM_WRITE_REQ,prcp_parse_pwm_write_req
+	beq GPIO_CONFIG_REQ,prcp_parse_gpio_config_req
+	beq GPIO_READ_REQ,prcp_parse_gpio_read_req
+	beq GPIO_READ_RES,prcp_parse_gpio_read_res
+	beq GPIO_WRITE_REQ,prcp_parse_gpio_write_req
+	beq OTA_WRITE_REQ,prcp_parse_ota_write_req
+	beq OTA_END_CMD,prcp_parse_ota_end_cmd
+	rtn
+
+
+prcp_parse_common_res:
+	copy rega,contr
+    	ifetch 1,contr
+    	lshift8 pdata,pdata
+    	store 3,mem_prcp_data
+	rtn
+prcp_parse_read_registers_req:
+	rtn
+prcp_parse_read_registers_res:
+	rtn
+prcp_parse_write_registers_req:
+	rtn
+/*********************************************/
+/************** prcp_spi********************/
+/*********************************************/
+prcp_parse_spi_config_req:
+	rtn
+prcp_parse_spi_read_req:
+	rtn
+prcp_parse_spi_read_res:
+	rtn
+prcp_parse_spi_write_req:
+	rtn
+/***********************************************/
+/************** prcp_pwm********************/
+/***********************************************/
+prcp_parse_pwm_config_req:
+	ifetch 4,contr
+	hstore 1,core_gpio_sel2
+	rshift8 pdata,pdata
+	hfetcht 1,core_gpio_sel1
+	and_into 0x7f,temp
+	ior temp,temp
+	hstoret 1,core_gpio_sel1
+	rshift8 pdata,pdata
+	hfetcht 1,core_clkoff+1
+	and_into 0xdf,temp
+	ior temp,temp
+	hstoret 1,core_clkoff+1
+	rshift8 pdata,pdata
+	hfetcht 1,core_clksel
+	and_into 0x3f,temp
+	ior temp,temp
+	hstoret 1,core_clksel
+	branch prcp_parse_common_res
+prcp_parse_pwm_write_req:
+	ifetch 9,contr
+    hfetcht 1,core_gpio_key2//PWM_enable
+    and_into 0x3f,temp
+	ior temp,temp
+	hstoret 1,core_gpio_key2
+	rshift8 pdata,pdata
+	hstore 2,core_pwm_pcnt0
+	rshift16 pdata,pdata
+	hstore 2,core_pwm_ncnt0
+	rshift16 pdata,pdata
+	hstore 2,core_pwm_pcnt1
+	rshift16 pdata,pdata
+	hstore 2,core_pwm_ncnt1
+	branch prcp_parse_common_res
+/**********************************************/
+/************** prcp_gpio********************/
+/***********************************************/
+prcp_parse_gpio_config_req:
+	ifetch 4,contr
+    	hstore 4,core_gpio_oe0
+    	ifetch 4,contr
+    	hstore 4,core_gpio_pu0
+   	ifetch 4,contr
+    	hstore 4,core_gpio_pd0
+    	ifetch 1,contr
+    	hstore 1,core_gpio_sel
+    	ifetch 1,contr
+    	hstore 1,core_gpio_sel1
+  	ifetch 1,contr
+    	hstore 1,core_gpio_sel2
+    	branch prcp_parse_common_res
+prcp_parse_gpio_read_req:
+	branch prcp_parse_gpio_read_res
+prcp_parse_gpio_read_res:
+	jam 0x10,mem_prcp_data
+    	arg mem_prcp_data+1,contw
+   	hfetch 4,core_gpio_out0
+    	istore 4,contw
+    	hfetch 4,core_gpio_in
+    	istore 4,contw
+    	rtn
+prcp_parse_gpio_write_req:
+	ifetcht 1,contr
+    	ifetch 1,contr
+   	lshift3 pdata,pdata
+   	lshift4 pdata,pdata
+   	ior temp,temp
+  	call gpio_out
+    	branch prcp_parse_common_res
+
+/*********************************************/
+/************** prcp_i2c********************/
+/*********************************************/
+prcp_parse_i2c_read_req:
+	ifetcht 1,contr
+	hstoret 1,iic_slave_addr
+	ifetch 1,contr
+	compare 1,pdata,0xff
+	ifetch 1,contr
+	hstore 1,iic_fifo
+	branch iic_read_data_len,true
+	ifetch 1,contr
+	hstore 1,iic_fifo
+iic_read_data_len:
+	ifetch 1,contr
+	copy pdata,loopcnt
+	increase -1,pdata
+	or_into 0x90,pdata
+	hstore 1,iic_ctr//read byte
+	hjam 2,iic_cr//
+	nop 1
+	//call iic_wait
+	arg mem_prcp_data ,contw
+iic_read_loop:
+	hfetch 1,iic_fifo
+	istore 1,contw
+	loop iic_read_loop
+	rtn
+
+clear_prcp_sendbuff:
+	setarg 0
+	store 4,mem_prcp_data
+	istore 8,contw
+	istore 8,contw
+	rtn
+	
+/*********************************************/
+/************** prcp_ota********************/
+/* rxbuf:[0]head,[1-2]offset,[3]len,[4-19]data]*/
+//rega points to rxbuf
+prcp_parse_ota_write_req:
+        copy rega,pdata//copy contr,pdata
+        increase 1,pdata//
+        store 2,rx_buf_data_ptr
+        fetch 2, mem_eeprom_ota_base_addr
+        beq 0x0000,prcp_parse_ota_start1
+prcp_parse_ota_load:    
+        fetch 2, mem_eeprom_ota_base_addr
+        fetcht 2,rx_buf_data_ptr
+        ifetcht 2,temp
+        iadd temp,pdata
+        fetcht 2,rx_buf_data_ptr
+        increase 2,temp
+        copy temp,contr
+        ifetcht 1,contr  // data_len =>temp 
+        copy contr,rega //data_buf to rega
+        branch iicd_write_ota_data 
+
+prcp_parse_ota_start1:   /*compute the bytes of code*/    
+	setarg 0x0002
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	arg 0x2,loopcnt
+prcp_parse_ota_loop1:
+         call get_block_header
+	nbranch prcp_parse_ota_start2, zero
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	iadd temp,pdata
+	store 2,mem_eeprom_ota_base_addr
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	loop prcp_parse_ota_loop1
+prcp_parse_ota_start2: /*compute the bytes of init-mem*/  
+	fetch 2, mem_eeprom_ota_base_addr
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	arg iicd_read_eep,regc
+	arg 0xffff,loopcnt
+prcp_parse_ota_loop2:
+         call get_block_header
+	nbranch prcp_parse_ota_load, zero
+	fetch 2,mem_addr_mi
+	byteswap pdata,pdata
+	iadd temp,pdata
+	increase 2,pdata
+	store 2,mem_eeprom_ota_base_addr
+	byteswap pdata,pdata
+	store 2,mem_addr_mi
+	loop prcp_parse_ota_loop2
+
+prcp_parse_ota_end_cmd:  /*end of ota*/
+         fetch 2,mem_eeprom_ota_base_addr
+         increase 2,pdata
+         byteswap pdata,pdata
+         store 2,mem_eeprom_ota_base_addr
+	arg mem_eeprom_ota_base_addr,rega  
+         arg 0x02,temp  
+         arg  0x0000,pdata
+         call  iicd_write_ota_data
+         setarg 0x0000
+         store 2,mem_eeprom_ota_base_addr
+	rtn
+
+prcp_parse_i2c_config_req:
+	rtn
+prcp_parse_i2c_read_res:
+	rtn
+prcp_parse_i2c_write_req:
+	rtn	
+	
+	
+else
+prcp_init:
+prcp_process:
+le_prcp:
+prcp:
+prcp_parse:
+prcp_parse_common_res:
+prcp_parse_read_registers_req:
+prcp_parse_read_registers_res:
+prcp_parse_write_registers_req:
+prcp_parse_spi_config_req:
+prcp_parse_spi_read_req:
+prcp_parse_spi_read_res:
+prcp_parse_spi_write_req:
+prcp_parse_pwm_config_req:
+prcp_parse_pwm_write_req:
+prcp_parse_gpio_config_req:
+prcp_parse_gpio_read_req:
+prcp_parse_gpio_read_res:
+prcp_parse_gpio_write_req:
+prcp_parse_i2c_read_req:
+iic_read_data_len:
+iic_read_loop:
+prcp_parse_i2c_config_req:
+prcp_parse_i2c_read_res:
+prcp_parse_i2c_write_req:
+clear_prcp_sendbuff:
+prcp_parse_ota_write_req:
+prcp_parse_ota_load: 
+prcp_parse_ota_start1: 
+prcp_parse_ota_loop1:
+prcp_parse_ota_start2:
+prcp_parse_ota_loop2:
+prcp_parse_ota_end_cmd:
+
+	branch assert
+endif
+
Index: KG9013/btkb/program/rfcomm.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/rfcomm.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/rfcomm.prog	(working copy)
@@ -0,0 +1,846 @@
+
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch37_7,mem_patch37
+	setarg 0
+	store 1,mem_spp_state
+	store 1,mem_remote_spp_channel
+	store 1,mem_pn_dlci
+	jam 0x50,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
+
+dlci_to_address_res:
+	//input DLCI from temp
+	lshift2 temp,temp
+	set1 RFCOMM_ADDRESS_EXT_LEN,temp
+	fetch 1,mem_rfcomm_initiator
+	call set_CR_bit,blank
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_0,mem_patch38
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_1,mem_patch38
+	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
+	rtneq RFCOMM_FRAME_TYPE_DISCONN
+	branch assert
+
+
+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
+	branch rfcomm_rx_process_end
+	
+parse_DLCI0_rp_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+	fetch 1,mem_pn_dlci
+	rshift pdata,pdata
+	sub pdata,SPP_SLAVE_CHANNEL,null
+	branch parse_DLCI0_rp_uih_pn_cmd_spp,zero
+	branch assert
+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_param_length_common:
+	fetch 2,mem_param_payload_ptr
+	copy pdata,contr
+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
+	fetch 1,mem_ms_channel
+	sub pdata,1,null
+	branch parse_DLCI0_rp_uih_ms_cmd_spp,zero
+	branch assert
+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:
+	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_uih_rp:
+	fetch 1,mem_current_channel
+	sub pdata,SPP_SLAVE_CHANNEL,null
+	branch parse_uih_rp_spp,zero
+	branch assert
+parse_uih_rp_spp:
+	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
+	branch assert
+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:
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_2,mem_patch38
+	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
+	lshift3 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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_3,mem_patch38
+	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
+	setarg 0x013f
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_ua:
+	set1 mark_ext_patch,mark
+	bpatch patch38_4,mem_patch38
+	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
+	setarg 0x0173
+	istore 2,contw
+	fetch 1,mem_current_fcs
+	istore 1,contw
+	rtn
+rfcomm_send_param_neg_cmd:
+	set1 mark_ext_patch,mark
+	bpatch patch38_5,mem_patch38
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch38_6,mem_patch38
+	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
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1181
+	istore 2,contw
+	fetch 1,mem_pn_dlci
+	istore 1,contw //DLCI
+	setarg 0x0000e0
+	istore 3,contw
+	setarg RFCOMM_MAX_FRAME_SIZE //max frame size
+	istore 2,contw 
+	setarg 0x00 //max retrans
+	istore 1,contw
+	setarg 0x07
+	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+rfcomm_send_modem_status_cmd:
+	set1 mark_ext_patch,mark
+	bpatch patch38_7,mem_patch38
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_0,mem_patch39
+	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
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_1,mem_patch39
+	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:
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch39_2,mem_patch39
+	fetch 2,mem_current_length
+	copy pdata,loopcnt
+	call uartd_prepare_tx
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call uart_copy_tx_bytes
+	branch uartd_send
+
+spp_tx_rfcomm_packet:
+	set1 mark_ext_patch,mark
+	bpatch patch39_3,mem_patch39
+	//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 spp_tx_rfcomm_from_uart,positive
+	store 2,mem_current_packet_length
+spp_tx_rfcomm_from_uart:
+	fetch 1,mem_credit_given
+	branch spp_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 spp_tx_rfcomm_from_uart_common
+spp_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
+spp_tx_rfcomm_from_uart_common:
+	set1 mark_ext_patch,mark
+	bpatch patch39_4,mem_patch39
+	fetch 1,mem_current_packet_length
+	sub pdata,127,null
+	branch spp_tx_rfcomm_from_uart_common0,positive
+	fetch 1,mem_rfcomm_send_offset
+	increase 1,pdata
+	store 1,mem_rfcomm_send_offset
+spp_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 spp_tx_write_length
+	call spp_tx_write_given_credit
+	call get_uart_rrptr	
+	fetch 1,mem_current_packet_length
+	copy pdata,loopcnt
+	call uart_copy_rx_bytes
+	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
+	branch spp_send_end
+	
+spp_tx_write_length:
+	fetch 2,mem_current_packet_length
+	sub pdata,0x7f,null
+	nbranch spp_tx_write_long_packet,positive
+	lshift pdata,pdata
+	set1 0,pdata
+	istore 1,contw
+	rtn
+spp_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
+spp_tx_write_given_credit:
+	fetch 1,mem_credit_given
+	rtn blank
+	istore 1,contw
+	rtn
+
+	
+
+
+else
+
+rfcomm_init:
+	rtn
+endif
Index: KG9013/btkb/program/scheduler.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/scheduler.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/scheduler.prog	(working copy)
@@ -0,0 +1,491 @@
+scheduler_process:
+	set1 mark_ext_patch,mark
+	bpatch patch33_5,mem_patch33
+	call check_51cmd
+	call app_process_bb_event
+	call process_conn_sm
+/* check the connection state sequence byte */
+	set1 mark_ext_patch,mark
+	bpatch patch33_6,mem_patch33
+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.
+	set1 mark_ext_patch,mark
+	bpatch patch33_7,mem_patch33
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+//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
+scheduler_process1:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	set1 mark_ext_patch,mark
+	bpatch patch34_0,mem_patch34
+//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
+	set1 mark_ext_patch,mark
+	bpatch patch34_1,mem_patch34
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch app_process_bt
+	
+scheduler_tx_disconnect_hid:
+	set1 mark_ext_patch,mark
+	bpatch patch34_2,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch34_3,mem_patch34
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch34_4,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch34_5,mem_patch34
+	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
+	set1 mark_ext_patch,mark
+	bpatch patch34_6,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch34_7,mem_patch34
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_0,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_1,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_2,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_3,mem_patch35
+	call l2cap_malloc_sdp_channel
+	call sdp_send_spp_request
+	branch MSDP_send_req_done
+
+upper_sm_send_rfcomm_conn:
+	set1 mark_ext_patch,mark
+	bpatch patch35_4,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_5,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_6,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch35_7,mem_patch35
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_0,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_1,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_2,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_3,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_4,mem_patch36
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch36_5,mem_patch36
+	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: KG9013/btkb/program/sdp.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/sdp.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/sdp.prog	(working copy)
@@ -0,0 +1,1315 @@
+/**********************************************************************/
+/* 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3c_7,mem_patch3c
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+	ifetch 1,contr
+	copy pdata,regb				/* PDUID */
+	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" */
+	set1 mark_ext_patch,mark
+	bpatch patch3d_0,mem_patch3d
+	deposit regb						/* PDUID  */
+	beq SDP_SERVICE_SEARCH_REQUEST,servicesearch_req			
+	beq SDP_SERVICE_ATTRIBUTE_REQUEST,serviceattribute_req
+	beq SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST,servicesearchattribute_req
+	beq SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE,servicesearchattribute_res
+	branch sdp_insufficient_resource
+
+/**********************************************************************/
+/* servicesearch_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	      */
+/*                                                                    */
+/**********************************************************************/     
+servicesearch_req:
+	call ask_serviceclassid
+	compare 1,temp,0xff
+	branch empth_sa_rsp,true
+	compare 0xff,temp,0xff
+	branch sdp_invalid_reqest_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_uuid_search_pat,timeup
+	ifetch 2,timeup
+	rtn blank
+	increase 2,timeup
+	call search_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_handle_list,contr
+	copy queue,loopcnt
+	branch servicesearch_req_blank,zero
+servicesearch_req_loop:	
+	ifetch 4,contr
+	istore 4,contw
+	loop servicesearch_req_loop
+servicesearch_req_blank:	
+	force 0,pdata
+	istore 1,contw							/* continuation state */
+	deposit regc
+	store 1,mem_sdp_tx_pkt_length
+	branch assert,blank
+	rtn
+
+/**********************************************************************/
+/* serviceattribute_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	      */
+/*                                                                    */
+/**********************************************************************/     
+serviceattribute_req:
+	ifetch 4,contr				/* service record handle */
+	store 4,mem_sdp_record_handle	 
+	increase -4,timeup
+	iforce temp
+	ifetch 2,contr				/* max attribute byte count */
+	byteswap pdata,pdata
+	increase -18,pdata	
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6		/* result: data size stored in rega */
+	branch sdp_invalid_reqest_syntax,zero
+	compare 5,rega,0xff
+	//branch serviceattribute_req_all,true
+	branch serviceattribute_judge_WholeRangle,true
+serviceattribute_isnot_wholerangle:
+	arg mem_attrib_list,contw
+	force 0,queue
+	branch serviceattribute_req_loop
+serviceattribute_judge_wholerangle:
+	ifetch 1,contr
+	bne 0xa,sdp_invalid_reqest_syntax
+	ifetch 2,contr
+	nbranch serviceattribute_judge_WholeRangle_false1,blank
+	ifetch 1,contr
+	bne 0xff,serviceattribute_judge_WholeRangle_false2
+	ifetch 1,contr
+	bne 0xff,serviceattribute_judge_WholeRangle_false3		//also exist potential bug because mem_attrib_list length is only 7f
+	increase -5,contr
+	branch serviceattribute_req_all
+serviceattribute_judge_wholerangle_false3:
+	increase -5,contr
+	branch serviceattribute_isnot_wholerangle
+serviceattribute_judge_wholerangle_false2:
+	increase -4,contr
+	branch serviceattribute_isnot_wholerangle
+serviceattribute_judge_wholerangle_false1:
+	increase -3,contr
+	branch serviceattribute_isnot_wholerangle
+serviceattribute_req_loop:	
+	ifetch 1,contr
+	beq 0x09, serviceattribute_req_one_id
+	beq 0x0a, serviceattribute_req_range_id
+serviceattribute_req_range_id:
+	ifetch 2, contr
+	istore 2, contw
+	increase 1,queue
+	byteswap pdata,regb
+	ifetch 2, contr
+	byteswap pdata,pdata
+serviceattribute_req_range_id_increase:	
+	increase 1, regb
+	isub regb, null
+	nbranch serviceattribute_req_range_id_finish,positive
+	copy pdata, regc
+	byteswap regb,pdata
+	istore 2, contw
+	increase 1,queue
+	copy regc, pdata
+	branch serviceattribute_req_range_id_increase
+serviceattribute_req_range_id_finish:
+	increase -5,timeup
+	increase -5,rega
+	branch serviceattribute_req_check_next_id
+serviceattribute_req_one_id:
+	ifetch 2,contr
+	istore 2,contw //save the attribute id in mem_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+serviceattribute_req_check_next_id:	
+	nbranch sdp_invalid_reqest_syntax,positive
+	nbranch serviceattribute_req_loop,zero
+	increase -1,timeup
+	nbranch sdp_invalid_reqest_syntax,zero
+	
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw//arg mem_SDP_Tx_payload+10,contw
+	arg mem_attrib_list,rega
+answer_handle_attributelist_next:
+	copy queue,pdata
+	branch answer_handle_attributelist_end,blank
+	ifetch 2,rega
+	branch answer_handle_attributelist_end,blank
+	iforce regb /* regb is the attribute ID */
+	fetch 4,mem_sdp_record_handle	
+	iforce temp
+	call search_handle_attrib
+	branch answer_handle_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len_obs
+	branch answer_handle_attributelist_notfound,blank
+	iforce loopcnt	
+	call memcpy
+answer_handle_attributelist_notfound:
+	increase 2,rega
+	increase -1, queue
+	branch answer_handle_attributelist_next
+
+answer_handle_attributelist_end:
+	force 0,pdata
+	istore 1,contw
+	increase -1,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,10,pdata//setarg mem_SDP_Tx_payload+10
+	isub contw,pdata
+	sub pdata,0,rega
+	byteswap rega, pdata
+	add temp,8,regb//store 2,mem_SDP_Tx_payload+8
+	istore 2,regb
+	increase 3,rega
+	byteswap rega, pdata
+	add temp,5,regb//store 2,mem_SDP_Tx_payload+5
+	istore 2,regb
+	increase 3,rega
+	byteswap rega, pdata
+	add temp,3,regb//store 2,mem_SDP_Tx_payload+3// ParLength
+	istore 2,regb	
+	increase 5,rega
+	copy rega,pdata
+	store 2,mem_sdp_tx_pkt_length
+	setarg 0x36
+	add temp,7,regb//jam 0x36, mem_SDP_Tx_payload+7
+	istore 1,regb
+	setarg 5
+	istore 1,temp//jam 5,mem_SDP_Tx_payload	// PDU ID
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	istore 2,regb
+	rtn
+serviceattribute_req_all:	
+	ifetch 1,contr
+	bne 0xa,sdp_invalid_reqest_syntax
+	ifetch 2,contr
+	nbranch sdp_invalid_reqest_syntax,blank
+	ifetch 1,contr
+	bne 0xff,sdp_invalid_reqest_syntax
+	ifetch 1,contr
+	bne 0xff,sdp_invalid_reqest_syntax
+	increase -5,timeup
+	ifetch 1, contr
+	beq 0, continue_zero
+	beq 1, continue_one_byte
+	beq 2, continue_two_byte
+continue_zero:	
+	store 2, mem_sdp_continue_byte
+	increase -1,timeup				/* continuation state byte (0) */
+	branch continue_end
+continue_one_byte:
+	ifetch 1, contr
+	store 2, mem_sdp_continue_byte
+	increase -2,timeup				/* continuation state byte (1) */
+	branch continue_end
+continue_two_byte:
+	ifetch 2, contr
+	byteswap pdata,pdata
+	store 2, mem_sdp_continue_byte	
+	increase -3,timeup				/* continuation state byte (2) */
+continue_end:
+	nbranch sdp_invalid_pdu_size,zero		/* invalid pdu size */
+	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
+	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 fragment_sdp, positive
+	// the last fragment
+	disable user
+	fetch 2, mem_sdp_continue_byte
+	branch 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 answer_attributelist_full_loop
+fisrt_fragment:
+	add rega,6,loopcnt
+	branch parlength_continue_byte, user
+	byteswap loopcnt,pdata
+	branch parlength_continue_byte_end
+parlength_continue_byte:
+	copy loopcnt, pdata
+	increase 2, pdata
+	byteswap pdata,pdata
+parlength_continue_byte_end:
+	istore 2,contw				/* ParLength */
+	increase -3,loopcnt
+	byteswap loopcnt,pdata			
+	istore 2,contw				/* AttrListByteCount */
+	copy timeup,contr
+	branch answer_attributelist_full_loop
+fragment_sdp:
+	enable user
+	fetch 2, mem_sdp_attribute_maxbyte
+	copy pdata, rega
+	copy pdata, loopcnt
+	fetch 2, mem_sdp_continue_byte
+	branch 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
+answer_attributelist_full_loop:	
+	ifetch 1,contr
+	istore 1,contw
+	loop answer_attributelist_full_loop
+	nbranch last_frag_continue, user
+	force 2,pdata
+	istore 1,contw
+	copy contr, pdata
+	isub timeup, pdata
+	byteswap pdata,pdata
+	istore 2, contw
+	branch sdp_frag_end
+last_frag_continue:
+	force 0,pdata
+	istore 1,contw
+sdp_frag_end:	
+	fetch 2,mem_sdp_tx_payload_ptr//setarg mem_SDP_Tx_payload
+	isub contw,pdata
+	sub pdata,0,pdata
+	store 2,mem_sdp_tx_pkt_length
+	call l2cap_get_sdp_tx_payload//jam 5,mem_SDP_Tx_payload
+	setarg 5
+	istore 1,contw
+	fetch 2,mem_sdp_transactionid
+	istore 2,contw//store 2,mem_SDP_Tx_payload+1
+	rtn			
+/**********************************************************************/
+/* servicesearchattribute_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             */
+/*                                                                    */
+/**********************************************************************/     
+servicesearchattribute_req:
+	//compare 29,timeup,0xff
+	//branch empty_ssa_rsp,true
+	call ask_serviceclassid
+	compare 0xff,temp,0xff
+	branch servicesearchattribute_req_all,true
+	ifetch 2,contr				/* max attribute byte count */
+	store 2,mem_sdp_attribute_maxbyte
+	increase -2,timeup
+	call dataelementtype6
+	arg mem_attrib_list,contw
+	force 0,queue
+servicesearchattribute_req_loop:	
+	ifetch 3,contr //service recorde handle 0x0a0000ffff
+	bne 0x09,servicesearchattribute_req_all
+servicesearchattribute_req_uuid:
+	rshift8 pdata,pdata
+	istore 2,contw //save the attribute id in mem_attrib_list
+	increase 1,queue
+	increase -3,timeup
+	increase -3,rega
+	nbranch sdp_invalid_reqest_syntax,positive
+	nbranch servicesearchattribute_req_loop,zero
+	increase -1,timeup
+	nbranch sdp_invalid_reqest_syntax,zero
+servicesearchattribute_req_search:
+	call l2cap_get_sdp_tx_payload
+	increase 13,contw//arg mem_SDP_Tx_payload+13,contw
+	fetch 2,mem_uuid_search_pat
+	iforce regc
+	arg mem_attrib_list,rega
+answer_attributelist_next:	
+	ifetch 4,rega
+	branch answer_attributelist_end,blank
+	ifetch 2,rega
+	iforce regb						/* regb is the attribute ID */
+	call search_attrib
+	branch answer_attributelist_notfound,blank
+	increase -3,contr
+	ifetch 3,contr
+	istore 3,contw
+	call sdp_data_len_obs
+	iforce loopcnt	
+answer_attributelist_attrib_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop answer_attributelist_attrib_loop
+answer_attributelist_notfound:
+	increase 2,rega
+	branch answer_attributelist_next
+servicesearchattribute_req_all:
+	//bne 0x0a,sdp_invalid_reqest_syntax
+	//rshift8 pdata,pdata
+	//nbranch sdp_invalid_reqest_syntax,blank
+	ifetch 1,contr
+	//bne 0xff,sdp_invalid_reqest_syntax
+	ifetch 1,contr
+	//bne 0xff,sdp_invalid_reqest_syntax
+	increase -5,timeup
+	increase -5,rega
+	nbranch sdp_invalid_reqest_syntax,positive
+	arg mem_uuid_search_pat,timeup
+	ifetch 2,timeup
+	//rtn blank
+	increase 2,timeup
+	call search_uuid  //handle number in queue
+	deposit queue
+	store 1,mem_handle_humber
+	branch empty_ssa_rsp,blank
+	arg 0,queue
+	call l2cap_get_sdp_tx_payload
+	increase 10,contw//arg mem_SDP_Tx_payload+10,contw
+	branch servicesearchattribute_req_next_handle
+answer_attributelist_end:
+	force 0,pdata
+	istore 1,contw
+	increase -1,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,13,pdata//setarg mem_SDP_Tx_payload+13
+	isub contw,pdata
+	branch no_attribute_return,zero
+	sub pdata,0,pdata
+	add temp,12,regb//store 1,mem_SDP_Tx_payload+12
+	istore 1,regb
+	increase 3,pdata
+	add temp,9,regb//store 1,mem_SDP_Tx_payload+9
+	istore 1,regb
+	increase 3,pdata
+	byteswap pdata,pdata
+	add temp,5,regb//store 2,mem_SDP_Tx_payload+5
+	istore 2,regb		/* AttrListByteCount */
+	rshift8 pdata,pdata
+	increase 3,pdata
+	byteswap pdata,pdata
+	add temp,3,regb//store 2,mem_SDP_Tx_payload+3
+	istore 2,regb		/* ParLength */
+	rshift8 pdata,pdata
+	increase 5,pdata
+	store 1,mem_sdp_tx_pkt_length	/*packet length*/
+	
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//mem_SDP_Tx_payload+1
+	istore 2,regb
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload//PDU ID 
+	//jam 0,mem_SDP_Tx_payload+8		
+	//jam 0x36,mem_SDP_Tx_payload+7
+	//jam 0,mem_SDP_Tx_payload+11		
+	//jam 0x36,mem_SDP_Tx_payload+10
+	setarg 0x0036
+	add temp,7,regb
+	istore 2,regb
+	add temp,10,regb
+	istore 2,regb
+	rtn
+no_attribute_return:
+	jam 10,mem_sdp_tx_pkt_length
+	call l2cap_get_sdp_tx_payload
+	//jam 7,mem_SDP_Tx_payload	//PDU ID
+	setarg 7
+	istore 1,contw 
+	fetch 2,mem_sdp_transactionid
+	istore 2,contw
+	//store 2,mem_SDP_Tx_payload+1
+	//jam 0,mem_SDP_Tx_payload+3
+	//jam 5,mem_SDP_Tx_payload+4	 //ParLength =5
+	setarg 0x0500
+	istore 2,contw
+	//jam 0,mem_SDP_Tx_payload+5
+	//jam 2,mem_SDP_Tx_payload+6	// AttrListByteCount =2
+	setarg 0x0200
+	istore 2,contw
+	//jam 0x35,mem_SDP_Tx_payload+7
+	//jam 0,mem_SDP_Tx_payload+8
+	//jam 0,mem_SDP_Tx_payload+9
+	setarg 0x000035
+	istore 3,contw
+	rtn
+	
+servicesearchattribute_req_attributelist_loop:	
+	ifetch 1,contr
+	istore 1,contw
+	increase 1, regb //mem_sdp_continue_byte
+	increase -1, rega  //mem_sdp_attribute_maxbyte
+	branch servicesearchattribute_req_check_next_ctn,zero
+	loop servicesearchattribute_req_attributelist_loop
+servicesearchattribute_req_check_next_ctn:	
+	copy contw, timeup
+	copy regb, pdata
+	store 2, mem_sdp_continue_byte
+	copy rega, pdata
+	store 2, mem_sdp_attribute_maxbyte
+	branch answer_attributelist_with_ctn_bytes,blank
+	branch answer_attributelist_with_ctn_end, user
+	copy timeup,contw
+servicesearchattribute_req_check_handle:	
+	increase 1,queue
+	fetch 1, mem_handle_humber
+	isub queue,null
+	nbranch servicesearchattribute_req_next_handle,zero
+	branch answer_attributelist_end_long
+servicesearchattribute_req_next_handle:	
+	arg mem_handle_list,contr
+	lshift2 queue,pdata
+	iadd contr,contr
+	ifetch 4, contr //handle in pdata
+	iforce temp
+	call 	search_handle
+	copy contr,timeup
+	call sdp_get_data
+	add pdata,3,loopcnt
+	fetch 2, mem_sdp_attribute_maxbyte
+	copy pdata, rega
+	fetch 2, mem_sdp_continue_byte
+	copy pdata, regb
+	copy timeup,contr
+	branch servicesearchattribute_req_attributelist_loop
+answer_attributelist_with_ctn_bytes:
+	arg 0, queue
+	arg 0, regb
+answer_attributelist_calc_attribute_length:	
+	arg mem_handle_list,contr
+	lshift2 queue,pdata
+	iadd contr,contr
+	ifetch 4, contr //handle in pdata
+	iforce temp
+	call 	search_handle
+	call sdp_get_data
+	add pdata,3,pdata
+	iadd regb, regb
+	increase 1,queue
+	fetch 1, mem_handle_humber
+	isub queue,null
+	nbranch answer_attributelist_calc_attribute_length,zero
+	
+	copy timeup,contw
+	force 2,pdata
+	istore 1,contw
+	fetch 2, mem_sdp_continue_byte
+	byteswap pdata,pdata
+	istore 2, contw
+	increase -3,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,10,pdata //setarg mem_SDP_Tx_payload+10
+	isub contw,pdata
+	sub pdata,0,pdata
+	iforce rega
+
+	deposit regb //no longer use regb??
+	add temp,9,regb//store 1,mem_SDP_Tx_payload+9
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,8,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+8
+	increase 3,rega
+	deposit rega
+	add temp,6,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+6	/* AttrListByteCount */
+	rshift8 pdata,pdata
+	add temp,5,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+5
+	increase 5,rega
+	deposit rega
+	add temp,4,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+4	/* ParLength */
+	rshift8 pdata,pdata
+	add temp,3,regb
+	istore 1,regb//store 1,mem_SDP_Tx_payload+3
+	increase 5,rega
+	deposit rega
+	store 2,mem_sdp_tx_pkt_length	
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload	 //PDU ID
+	setarg 0x36
+	add temp,7,regb//jam 0x36,mem_SDP_Tx_payload+7
+	istore 1,regb
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	fetch 2,mem_sdp_transactionid
+	istore 2,regb
+	rtn
+answer_attributelist_with_ctn_end:
+	copy timeup,contw
+	force 0,pdata
+	istore 1,contw
+	increase -1, contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,7,pdata//setarg mem_SDP_Tx_payload+7
+	isub contw,pdata
+	sub pdata,0,pdata
+	iforce rega
+
+	deposit rega
+	add temp,6,regb//store 1,mem_SDP_Tx_payload+6
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,5,regb//store 1,mem_SDP_Tx_payload+5  /* AttrListByteCount */
+	istore 1,regb
+	increase 3,rega
+	deposit rega
+	add temp,4,regb//store 1,mem_SDP_Tx_payload+4	/* ParLength */
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,3,regb//store 1,mem_SDP_Tx_payload+3
+	istore 1,regb
+	increase 5,rega
+	deposit rega
+	store 2,mem_sdp_tx_pkt_length	
+
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload	/* PDU ID */
+	
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	istore 2,regb
+	rtn
+	
+answer_attributelist_end_long:
+	force 0,pdata
+	istore 1,contw
+	increase -1,contw
+	fetcht 2,mem_sdp_tx_payload_ptr
+	add temp,10,pdata//setarg mem_SDP_Tx_payload+10
+	isub contw,pdata
+	sub pdata,0,pdata
+	iforce rega
+
+	deposit rega
+	add temp,9,regb//store 1,mem_SDP_Tx_payload+9
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,8,regb//store 1,mem_SDP_Tx_payload+8
+	istore 1,regb
+	
+	increase 3,rega
+	deposit rega
+	add temp,6,regb//store 1,mem_SDP_Tx_payload+6	/* AttrListByteCount */
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,5,regb//store 1,mem_SDP_Tx_payload+5
+	istore 1,regb
+	increase 3,rega
+	deposit rega
+	add temp,4,regb//store 1,mem_SDP_Tx_payload+4	/* ParLength */
+	istore 1,regb
+	rshift8 pdata,pdata
+	add temp,3,regb//store 1,mem_SDP_Tx_payload+3
+	istore 1,regb
+	increase 5,rega
+	deposit rega
+	store 2,mem_sdp_tx_pkt_length	
+	setarg 0x36
+	add temp,7,regb
+	istore 1,regb//jam 0x36,mem_SDP_Tx_payload+7
+	setarg 7
+	istore 1,temp//jam 7,mem_SDP_Tx_payload	/* PDU ID */
+	fetch 2,mem_sdp_transactionid
+	add temp,1,regb//store 2,mem_SDP_Tx_payload+1
+	istore 2,regb
+	rtn	
+sdp_data_len_obs:
+	copy contr,timeup
+	ifetch 1,contr
+	and pdata,0x07,loopcnt
+	rshift3 pdata,pdata
+	beq 6,sdp_data_len_6_obs
+	beq 1,sdp_data_len_1
+	beq 4,sdp_data_len_6
+	beq 5,sdp_data_len_5
+	branch sdp_data_len_rtn
+sdp_data_len_6_obs:
+	call sdp_get_data_6_obs
+	branch sdp_data_len_rtn
+sdp_get_data_6_obs:
+	deposit loopcnt
+	beq 5,sdp_get_data_6_8bit_obs
+	beq 6,sdp_get_data_6_16bit_obs
+	force 3,loopcnt
+	branch sdp_get_data_1
+sdp_get_data_6_8bit_obs:
+	ifetch 1,contr
+	increase 2,pdata
+	rtn
+sdp_get_data_6_16bit_obs:
+	ifetch 2,contr
+	byteswap pdata,pdata
+	increase 3,pdata
+	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
+
+/**********************************************************************/
+/* servicesearchattribute_res			                      */
+/* Processing Service Search Attribute Response                       */
+/* Call: dataelementtype6, attribute_reading                    */
+/* Input:       contr                                                 */
+/* Output:      mem_sdp_record_handle,mem_sdp_search_failed           */
+/*                                                                    */
+/**********************************************************************/     
+servicesearchattribute_res:
+	copy contr,temp				/* save reading pointer */
+	fetch 2,mem_sdp_transactionid			/* check if this is the response for   */
+	beq sdp_tid_spp,servicesearchattribute_res_spp
+	//no profiles now, hs,hf,pbap,avtarg were cut off
+	//maybe add something about spp
+	branch srchfail
+
+servicesearchattribute_res_spp:
+	copy temp,contr
+	increase -3,timeup
+	copy timeup,pdata
+	beq 2,srchfail// empty response
+	call find_rfcomm_channel_number
+	rtn user
+	store 1,mem_remote_spp_channel
+	jam RECIEVE_SS_REASULT_HF,mem_message_to_uppersm
+	rtn
+
+srchfail:
+	rtn
+	/* find_rfcomm_channel_number	*/
+	/* input att_list_lenth in pdata   	*/
+	/* input att_list_ptr in contr		*/
+	/* output channel_number in pdata	*/
+	/* output failed while user was set	*/
+find_rfcomm_channel_number:
+	enable user
+	copy pdata,loopcnt
+	arg 0x0400,temp //att_descriptor_list
+find_rfcomm_channel_number_loop://find att_descriptor_list
+	ifetch 2,contr
+	isub temp,null
+	branch find_rfcomm_channel_number_find_adl,zero
+	increase -1,contr
+	loop find_rfcomm_channel_number_loop
+	rtn
+find_rfcomm_channel_number_find_adl:
+	arg 0x0300,temp
+find_rfcomm_channel_number_loop2:
+	ifetch 2,contr
+	isub temp,null
+	branch find_rfcomm_channel_number_find_rfcomm,zero
+	increase -1,contr
+	loop find_rfcomm_channel_number_loop2
+	rtn
+find_rfcomm_channel_number_find_rfcomm:
+	ifetch 1,contr
+	ifetch 1,contr
+	disable user
+	rtn
+/**********************************************************************/
+/* Subroutine: attribute_reading                                   */
+/* Reading each Data Element Sequence inside one Attribute List       */
+/* Called from servicesearchattribute_res                             */
+/* Call dataelementtype6                                           */  
+/* Input:       contr,timeup                                          */
+/* Output:      timeup,mem_sdp_LACAP_found,mem_sdp_RFCOMM_found      */
+/*                                                                    */
+/*                                                                    */
+/**********************************************************************/     
+attribute_reading:
+	call dataelementtype6		/* decode data element sequence */
+	branch rdnortn,zero  
+	force 0,regb					/* regb to be used as 128 bit uuid flag */
+	ifetch 1,contr
+	increase -1,rega  
+	increase -1,timeup  
+	compare 0x18,pdata,0xf8			/* 5 MSB: b00011, uuid */
+	nbranch rduuid3,true
+	compare 0x04,pdata,0x07			/* 3 LSB: b100, 128 bits uuid */
+	nbranch is032,true
+	force 1,regb					/* mark it as 128 bit uuid */
+skp2bytes:
+	increase 2,contr				/* skip 2 bytes */
+	increase -2,rega	
+	increase -2,timeup
+	branch rduuid1				/* add 126 bits  */
+is032:
+	compare 0x02,pdata,0x07			/* 3 LSB: b010 32 bits uuid */
+	nbranch is016,true
+	branch skp2bytes			
+is016:
+	compare 0x01,pdata,0x07			/* 3 LSB: b001 16 bit uuid */
+	nbranch rduuid3,true
+rduuid1:
+	ifetch 1,contr				/* get higher order byte */
+	increase -1,rega
+	increase -1,timeup
+	bne 0x01, rduuid2
+	ifetch 1,contr				/* get lower order byte */
+	increase -1,rega
+	increase -1,timeup
+	bne 0x00, rduuid3
+	jam 0xff,mem_sdp_LACAP_found			/* set L2CAP found parameter */
+	branch rduuid3
+rduuid2:
+	bne 0x00, rduuid3
+	ifetch 1,contr				/* get lower order byte */
+	increase -1,rega
+	increase -1,timeup
+	bne 0x03, rduuid3
+	copy regb,null
+	branch not16by,zero				/* 128 bit uuid, skip 12 bytes */
+	increase -12,contr	
+	increase -12,timeup
+not16by:		
+	force 0xff,pdata
+	store 1,mem_sdp_RFCOMM_found			/* set RFCOMM found parameter */
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+	compare 0x08,pdata,0xf8		//b00001	
+	nbranch rduuid3,true
+	compare 0x00,pdata,0x07
+	branch unsign1,true
+	compare 0x01,pdata,0x07
+	branch unsign2,true
+	compare 0x02,pdata,0x07
+	branch unsign4,true
+	compare 0x03,pdata,0x07
+	branch unsign8,true
+	compare 0x04,pdata,0x07
+	nbranch rduuid3,true
+	increase 8,contr
+	increase -8,rega
+	increase -8,timeup
+unsign8:  
+	increase 4,contr
+	increase -4,rega
+	increase -4,timeup
+unsign4:  
+	increase 2,contr
+	increase -2,rega
+	increase -2,timeup
+unsign2:  
+	increase 1,contr
+	increase -1,rega
+	increase -1,timeup
+unsign1:  
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+rduuid3:
+	increase -1,timeup
+	increase -1,rega
+	branch rduuid3,positive			/* if rega=0, done */
+	increase 1,timeup				/* return byte count */
+	force 0x01,pdata
+	rtn,
+rdnortn:
+	force 0x00,pdata
+	rtn,						    
+
+sdp_invalid_service_record_handle:		
+	setarg 0x0200
+	store 2,mem_sdp_error_code
+	branch sdp_error_rsp
+sdp_invalid_pdu_size:				
+	setarg 0x0400
+	store 2,mem_sdp_error_code
+	branch sdp_error_rsp
+sdp_insufficient_resource:			
+	setarg 0x0600
+	store 2,mem_sdp_error_code
+	branch sdp_error_rsp
+sdp_invalid_reqest_syntax:			
+	setarg 0x0300
+	store 2,mem_sdp_error_code
+sdp_error_rsp:	
+	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
+
+ask_serviceclassid:  
+	force 0,temp					/* use "temp" to mark syntax error or to mark 128 bit uuid */
+	arg mem_uuid_search_pat,contw
+	call dataelementtype6
+	branch asksrv_error,zero
+classidloop:
+	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:
+	ifetch 2,contr				/* higher order byte */
+	increase -2,rega
+	increase -2,timeup
+	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
+noclass:
+	ifetch 1,contr
+	increase -1,rega
+	increase -1,timeup
+	branch uuidsize
+chck12dn:
+	increase -12,timeup
+	increase -12,rega
+loopornot:
+	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 size in rega, SDP Rx Buf Pointer in contr             */
+/*         and  parameter count in timeup, return with zero flag set: */
+/*         syntax error                                               */
+/**********************************************************************/     
+dataelementtype6:
+	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
+	ifetch 1,contr
+	copy pdata,rega				/* data in reg A */
+	increase -1,timeup
+	branch dsize
+dsize32:
+	increase 2,contr				/* just move pointer +2, zero in 2 high byte */
+	increase -2,timeup
+dsize16:
+	ifetch 2,contr
+	byteswap pdata,rega
+	increase -2,timeup
+set_nblank:
+dsize:
+	force 0x01,pdata
+	rtn
+set_blank:
+dsize_error:
+	force 0x00,pdata
+	rtn
+
+/**********************************************************************/
+/* Subroutine: empty_response                                      */
+/* Send empty response                                                */
+/*                                                                    */
+/* Input:       mem_sdp_pduid, mem_sdp_transactionid                  */
+/* Output:      mem_SDP_Tx_payload, mem_SDP_Tx_pkt_length             */
+/*                                                                    */
+/**********************************************************************/     
+empth_sa_rsp:
+	setarg 0x03
+	store 1, mem_sdp_pduid
+	branch empty_response
+empty_ssa_rsp:
+	setarg 0x07
+	store 1, mem_sdp_pduid
+empty_response:
+	call l2cap_get_sdp_tx_payload			/* empty attribute list */
+	fetch 1,mem_sdp_pduid				/* PDUID */
+	istore 1,contw
+	copy pdata,regb
+	fetch 2,mem_sdp_transactionid			/* copy back transaction id */
+	istore 2,contw
+	
+	setarg 0x0500
+	istore 2, contw
+	compare 0x05,regb,0xff			/* pduid 3 */
+	branch fullsearch,true
+	compare 0x07,regb,0xff			/* pduid 3 */
+	branch fullsearch,true
+	setarg 0x000000
+	istore 3,contw
+	istore 2,contw
+	branch outempty
+
+fullsearch:					/* pduid must be 5 or 7 */
+	//force 0x00,pdata
+	//istore 1,contw
+	//force 0x02,pdata
+	//istore 1,contw
+	//force 0x35,pdata
+	//istore 1,contw
+	setarg 0x350200
+	istore 3,contw
+	//force 0x00,pdata
+	//istore 1,contw
+	//force 0x00,pdata
+	//istore 1,contw
+	setarg 0
+	istore 2, contw
+outempty:
+	jam 10,mem_sdp_tx_pkt_length
+	rtn
+
+sdp_data_len:
+	copy contr,timeup
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	beq 6,sdp_data_len_6
+	beq 1,sdp_data_len_1
+	beq 4,sdp_data_len_6
+	beq 5,sdp_data_len_5
+sdp_data_len_rtn:	
+	copy timeup,contr
+	rtn
+sdp_data_len_1:
+	call sdp_data_size
+	increase 1,pdata
+	branch sdp_data_len_rtn
+sdp_data_len_5:
+	force 2,pdata
+	branch sdp_data_len_rtn
+sdp_data_len_6:
+	call sdp_get_data_6
+	increase 2,pdata
+	branch sdp_data_len_rtn
+	
+sdp_get_data:
+	ifetch 1,contr
+	and pdata,0x7,loopcnt
+	rshift3 pdata,pdata
+	beq 6,sdp_get_data_6
+	beq 1,sdp_get_data_1
+	beq 5,sdp_get_data_6_8bit
+	rtn
+sdp_get_data_1:
+	call sdp_data_size
+	iforce loopcnt
+	force 0,temp
+sdp_get_data_1_loop:	
+	lshift8 temp,temp
+	ifetch 1,contr
+	ior temp,temp
+	loop sdp_get_data_1_loop
+	rtn
+sdp_get_data_6:
+	deposit loopcnt
+	beq 5,sdp_get_data_6_8bit
+	beq 6,sdp_get_data_6_16bit
+	force 3,loopcnt
+	branch sdp_get_data_1
+sdp_get_data_6_8bit:
+	ifetch 1,contr
+	rtn
+sdp_get_data_6_16bit:
+	ifetch 2,contr
+	byteswap pdata,pdata
+	rtn
+
+	/* get data size according to size index in loopcnt */
+sdp_data_size:
+	force 1,pdata
+	copy loopcnt,null
+	rtn zero
+sdp_data_size_loop:
+	lshift pdata,pdata
+	loop sdp_data_size_loop
+	rtn
+
+
+
+	/* return handles in queue if found */
+search_uuid:
+	iforce regc
+	set1 mark_ext_patch,mark
+	bpatch patch3d_1,mem_patch3d
+	force 0,queue
+	fetch 2, memui_uuid_table
+	iforce contr
+	arg mem_handle_list,contw
+search_uuid_next:
+	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
+	ifetch 4,contr					/* get handle */
+	nbranch search_uuid_nomatch,user
+	istore 4,contw
+	increase 1,queue
+search_uuid_nomatch:	
+	call sdp_get_data
+	iadd contr,contr			/* next paragraph */
+	branch search_uuid_next
+
+	/* return handle in pdata if found, 0 if not */
+search_handle:
+	fetch 2,memui_uuid_table
+	iforce contr
+search_handle_loop:	
+	ifetch 1,contr
+	rtn blank
+	lshift pdata,pdata
+	iadd contr,contr
+	ifetch 4,contr
+	isub temp,null
+	rtn zero
+	call sdp_get_data
+	iadd contr,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:
+	set1 mark_ext_patch,mark
+	bpatch patch3d_2,mem_patch3d
+	fetch 2,memui_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,temp					/* attribute list end */
+search_attrib_loop_attribs:	
+	increase 1,contr
+	ifetch 2,contr
+	isub regb,timeup
+	//force 0x1,pdata,zero
+	setflag zero, 0,pdata
+	copy timeup, timeup
+	rtn zero							/* attribute found */
+	call sdp_data_len
+	iadd contr,contr
+	deposit temp
+	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:	
+	set1 mark_ext_patch,mark
+	bpatch patch3d_3,mem_patch3d
+	fetch 2,memui_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,temp					/* 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 temp
+	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	
+
+	
Index: KG9013/btkb/program/security.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/security.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/security.prog	(working copy)
@@ -0,0 +1,1140 @@
+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
+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:
+	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:
+	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:
+	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
+
+do_aes_cfb:
+	force 0x36,aes_ctrl
+	force 0x6,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
+	force 0x38,aes_ctrl
+	force 0x8,aes_ctrl
+	branch wait_aes
+
+	/* rega pointers to random number */
+function_c1:
+	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 */
+	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
+
Index: KG9013/btkb/program/shutter.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/shutter.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/shutter.prog	(working copy)
@@ -0,0 +1,343 @@
+
+ifdef COMPILE_SHUTTER
+
+shutter_init:	
+	setarg shutter_send_process
+	store 2,mem_cb_bt_process
+	setarg shutter_process_idle
+	store 2,mem_cb_idle_process
+	setarg shutter_process_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg shutter_process_lpm_before
+	store 2,mem_cb_before_lpm
+	setarg shutter_discovery_timeout_sleep
+	store 2,mem_cb_discovry_timeout
+	set1 mark_ext_patch,mark
+	bpatch patch3f_1,mem_patch3f
+	rtn wake
+
+	hjam 0x00,core_gpio_sel1//1: GPIO[26:25] is two wire SPI, 2: GPIO[26:23] is SPI, 3: GPIO[26:23] is PCM
+	call shutter_key_and_wake_gpio_setup
+	
+	setarg shutter_before_hibernate
+	store 2,mem_cb_before_hibernate
+	
+	jam FLAG_SHUTTER_1KEY_SEND_NULL,mem_shutter_1key_send_sm
+	jam 0,mem_shutter_key
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	setarg 0
+	store 4,mem_shutter_send_data
+	call app_check_reconn_target
+	branch app_bt_start_discovery_short,blank
+	call app_led_on	
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+	
+shutter_key_and_wake_gpio_setup:
+	fetcht 1,mem_shutter_iphonekey_gpio
+	call gpio_config_input
+	fetcht 1,mem_shutter_androidkey_gpio
+	branch gpio_config_input	
+
+shutter_cancel_key_shake:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_2,mem_patch3f
+	fetcht 4,mem_shutter_clkn_bt_last
+	deposit clkn_bt
+	store 4,mem_shutter_clkn_bt_last
+	isub temp,pdata	
+	nrtn positive 
+	sub pdata,200,pdata
+	rtn
+	
+shutter_send_process:
+	fetch 1,mem_hid_interrupt_state
+	rtnne 0x3f	
+shutter_scan_key_start:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_3,mem_patch3f
+	fetch 1,mem_device_option
+	rtnne dvc_op_shutter	
+	disable user
+	call shutter_scan_key	
+	nrtn user
+	disable user
+	fetch 1,mem_scan_mode
+	beq 0x03,shutter_reconnect_scan_2
+	
+	fetch 1,mem_shutter_flag
+	beq FLAG_SHUTTER_IPHONEKEY_SEND,shutter_iphonekey_release 
+	beq FLAG_SHUTTER_ANDROIDKEY_SEND,shutter_androidkey_release 
+	call shutter_cancel_key_shake
+	branch  shutter_send_process_end,positive
+
+	fetch 1,mem_shutter_key
+	bbit1 FLAG_SHUTTER_IPHONEKEY_PRESS,shutter_iphonekey_press
+	bbit1 FLAG_SHUTTER_ANDROIDKEY_PRESS,shutter_androidkey_press
+	
+shutter_send_process_end:
+	jam 0,mem_shutter_key
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	rtn
+
+	
+shutter_iphonekey_release:
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	call ui_led_blink_stop
+	fetch 1,mem_shutter_key_number
+	beq FLAG_SHUTTER_1KEY,shutter_1key_iphonekey_release
+shutter_2key_iphonekey_release:
+shutter_iphonekey_release_package:
+	jam 0x05,mem_shutter_send_length
+	jam 0x03,mem_shutter_send_data
+	branch shutter_send_keydata
+shutter_1key_iphonekey_release:
+	jam FLAG_SHUTTER_1KEY_SEND_NULL,mem_shutter_1key_send_sm
+	branch shutter_1key_send_step1
+
+shutter_1key_send_step1:
+	jam FLAG_SHUTTER_1KEY_SEND_STEP2,mem_shutter_1key_send_sm
+	branch shutter_androidkey_press_package
+shutter_1key_send_step2:
+	jam FLAG_SHUTTER_1KEY_SEND_STEP3,mem_shutter_1key_send_sm
+	branch shutter_androidkey_release_package
+shutter_1key_send_step3:
+	jam FLAG_SHUTTER_1KEY_SEND_STEP4,mem_shutter_1key_send_sm
+	branch shutter_iphonekey_press_package
+shutter_1key_send_step4:
+	jam FLAG_SHUTTER_1KEY_SEND_NULL,mem_shutter_1key_send_sm
+	branch shutter_iphonekey_release_package
+	
+shutter_iphonekey_press:
+	jam FLAG_SHUTTER_IPHONEKEY_SEND,mem_shutter_flag	
+	call ui_led_on
+	fetch 1,mem_shutter_key_number
+	beq FLAG_SHUTTER_1KEY,shutter_1key_iphonekey_press
+shutter_2key_iphonekey_press:
+shutter_iphonekey_press_package:
+	jam 0x05,mem_shutter_send_length
+	setarg 0x20003
+	store 3,mem_shutter_send_data
+	branch shutter_send_keydata
+shutter_1key_iphonekey_press:
+	rtn
+	
+shutter_androidkey_release:
+	jam FLAG_SHUTTER_DEFAULT,mem_shutter_flag
+	call ui_led_blink_stop
+shutter_androidkey_release_package:
+	jam 0x0a,mem_shutter_send_length
+	jam 0x01,mem_shutter_send_data
+	branch shutter_send_keydata
+shutter_androidkey_press:
+	jam FLAG_SHUTTER_ANDROIDKEY_SEND,mem_shutter_flag
+	call ui_led_on
+shutter_androidkey_press_package:
+	jam 0x0a,mem_shutter_send_length	
+	jam 0x01,mem_shutter_send_data	
+	setarg 0x280000
+	store 3,mem_shutter_send_data+1
+	
+shutter_send_keydata:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_4,mem_patch3f
+	fetch 1,mem_shutter_send_length
+	copy pdata,rega
+	call hid_malloc_tx_buff
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xa1
+	istore 1,contw
+	fetcht 4,mem_shutter_send_data
+	istoret 8,contw	
+	setarg 0
+	istore 1,contw	
+	store 4,mem_shutter_send_data
+	
+	fetch 1,mem_shutter_1key_send_sm
+	beq FLAG_SHUTTER_1KEY_SEND_STEP2,shutter_1key_send_step2
+  	beq FLAG_SHUTTER_1KEY_SEND_STEP3,shutter_1key_send_step3
+ 	beq FLAG_SHUTTER_1KEY_SEND_STEP4,shutter_1key_send_step4
+	rtn			
+	
+shutter_scan_key:
+	fetcht 1, mem_shutter_iphonekey_gpio
+	call gpio_get_bit
+	setarg 0
+	setflag true,FLAG_SHUTTER_IPHONEKEY_PRESS,pdata
+	store 1,mem_shutter_key_temp
+	fetcht 1,mem_shutter_androidkey_gpio
+	call gpio_get_bit
+	setarg 0
+	setflag true,FLAG_SHUTTER_ANDROIDKEY_PRESS,pdata
+	fetcht 1,mem_shutter_key_temp
+	ior temp,pdata
+	fetcht 1,mem_shutter_key
+	store 1,mem_shutter_key
+	ixor temp,null
+	rtn zero
+	enable user
+	rtn
+
+shutter_process_bb_event:
+	copy regc,pdata
+	beq BT_EVT_SETUP_COMPLETE,shutter_bb_event_setup_complete
+	beq BT_EVT_HID_CONNECTED,shutter_bb_event_hid_connected
+	beq BT_EVT_HID_DISCONNECTED,shutter_bb_event_hid_disconn
+	beq BT_EVT_VIRTUAL_CABLE_UNPLUG,shutter_bb_event_unplug
+	beq BT_EVT_BB_DISCONNECTED,shutter_bb_event_bb_disconn
+	beq BT_EVT_RECONN_FAILED,shutter_bb_event_reconn_failed
+	beq BT_EVT_RECONN_PAGE_TIMEOUT,shutter_bb_event_reconn_failed
+	beq BT_EVT_BB_CONNECTED,shutter_process_bb_conn
+	beq BT_EVT_HID_HANDSHAKE,shutter_event_hid_handshake
+	beq BT_EVT_REMOTE_UNSNIFF,app_start_auto_sniff
+	and pdata,0x0f,temp
+	and_into BT_EVT_TIMER_MASK,pdata
+	beq BT_EVT_TIMER_INIT,shutter_bb_event_timer
+	rtn
+	
+shutter_hid_handshake_timer:
+	fetch 1,mem_hid_handshake_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_hid_handshake_timer_count
+	nrtn blank
+shutter_event_hid_handshake:
+	jam APP_HANDSHAKE_DONE,mem_app_handshake_flag
+	call app_lpm_mult_enable
+	call app_bt_store_reconn_info
+	call app_bt_stop_discovery
+	call app_led_off
+	branch app_bt_enter_sniff
+
+	
+shutter_process_bb_conn:
+	jam 0,mem_shutter_hid_disconn_count
+	jam 0,mem_shutter_cable_unplug_conut	
+	rtn	
+	
+shutter_bb_event_bb_disconn:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_5,mem_patch3f
+	jam 0,mem_unsniff2sniff_timer_count
+	jam 0,mem_shutter_cable_unplug_conut	
+	jam 0,mem_shutter_hid_disconn_count
+	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	bbit0 APP_DISC_AFTER_SNIFF,shutter_check_pairing
+shutter_bb_event_reconn_failed:
+	//call ice_break
+	fetch 2,mem_discovery_timeout
+	store 2,mem_discovery_timeout_timer_count
+shutter_discovery_on_not_renew_timer://when pairing does not renew discovery timer
+	call app_disconn_reason_clear
+	branch app_bt_start_discovery_led_blink
+
+shutter_check_pairing:
+	bbit0 APP_DISC_AFTER_PAIRING,shutter_check_reconn
+	branch shutter_bb_event_reconn_failed
+	
+shutter_check_reconn:
+	bbit0 APP_DISC_AFTER_RECONN,shutter_discovery_on_not_renew_timer
+	branch shutter_bb_event_reconn_failed
+
+
+shutter_bb_event_setup_complete:
+	call app_bt_stop_discovery
+	branch app_led_stop_blink
+
+shutter_bb_event_hid_connected:
+	setarg HID_HANDSHAKE_TIMEOUT
+	store 1,mem_hid_handshake_timer_count
+	rtn
+	
+shutter_bb_event_hid_disconn: 
+	jam 0,mem_shutter_cable_unplug_conut	
+	setarg FLAG_SHUTTER_HID_DISCONN_TIMEOUT
+	store 1,mem_shutter_hid_disconn_count
+	rtn
+	
+shutter_bb_event_unplug:	
+	setarg FLAG_SHUTTER_CABLE_UNPLUG_TIMEOUT
+	store 1,mem_shutter_cable_unplug_conut
+	rtn
+
+shutter_bb_event_timer:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_6,mem_patch3f
+	storet 1,mem_app_evt_timer_count
+shutter_bb_event_100ms_loop:
+	fetch 1,mem_app_evt_timer_count
+	rtn blank
+	increase -1,pdata
+	store 1,mem_app_evt_timer_count
+	call shutter_check_unplug_timer
+	call shutter_hid_handshake_timer
+	call shutter_check_hid_disconn_timer
+	branch shutter_bb_event_100ms_loop
+	
+shutter_check_unplug_timer:
+	fetch 1,mem_shutter_cable_unplug_conut
+	rtn blank
+	fetch 1,mem_shutter_cable_unplug_conut
+	increase -1,pdata
+	store 1,mem_shutter_cable_unplug_conut
+	nrtn blank
+	fetch 1,mem_CONTROL_tasks
+	set1  L2CAP_DISCONNECT_INTERRUPT, pdata
+	set1  L2CAP_DISCONNECT_CONTROL, pdata
+	store 1,mem_CONTROL_tasks	
+	rtn
+
+shutter_check_hid_disconn_timer:
+	fetch 1,mem_shutter_hid_disconn_count
+	rtn blank
+	fetch 1,mem_shutter_hid_disconn_count
+	increase -1,pdata
+	store 1,mem_shutter_hid_disconn_count
+	nrtn blank
+	branch app_bt_disconnect	
+ 
+shutter_reconnect_scan:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_7,mem_patch3f
+	fetch 1,mem_scan_mode
+	rtnne 0x03
+	branch shutter_scan_key_start
+shutter_reconnect_scan_2:
+	call shutter_cancel_key_shake
+	rtn positive
+	fetch 1,mem_shutter_key
+	rtn blank
+	call app_check_reconn_target
+	branch app_bt_start_discovery_short,blank
+	call app_led_on		
+	call app_bt_stop_discovery
+	branch app_bt_start_reconnect
+
+
+shutter_process_idle:
+	branch shutter_reconnect_scan
+
+
+shutter_process_lpm_before:
+	fetcht 1, mem_shutter_iphonekey_gpio
+	call gpio_set_wake_by_current_state
+	fetch 1,mem_shutter_key_number
+	bne FLAG_SHUTTER_1KEY,shutter_process_lpm_before_key2
+	rtn
+shutter_process_lpm_before_key2:	
+	fetcht 1, mem_shutter_androidkey_gpio
+	branch gpio_set_wake_by_current_state
+
+shutter_before_hibernate:
+	branch shutter_key_and_wake_gpio_setup
+
+
+shutter_discovery_timeout_sleep:	
+	branch app_enter_hibernate
+		
+else
+shutter_init:
+        branch assert
+	
+endif
Index: KG9013/btkb/program/sim.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/sim.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/sim.prog	(working copy)
@@ -0,0 +1,350 @@
+simstart:
+	force 8,radio_ctrl
+	force 0,radio_ctrl
+	hjam 0xe0,0x907			// set if_phase=7 for simulation environment
+	hjam 0xe0,0x90a
+	hjam 0x25,0x912
+	hjam 0xff,rfen_ck
+	hjam 5,core_clksel
+//	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,1
+	bbit1 7,sim_assert
+	hfetch 1,core_lpm_xtalcnt
+	nbranch sim_lpm_sleep,blank
+	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
+	hjam 0x70,core_bist_ctrl
+	hjam 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
+	setarg mem_le_att_list
+	arg sim_assert,loopcnt
+	call save_ucode
+	hfetch 1,core_gpio_wakeup_low+2
+	bbit0 2,sim_lpm_loop
+	until null,lpo_edge
+	hjam 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
+	arg 300,temp
+	branch lpm_sleep
+
+sim_assert:
+	branch sim_assert
+
+
+sim_main:
+	call init_param
+	setarg 0
+	hstore 2,core_clkoff
+	setarg 0xff00
+	hstore 2,core_lpm_reg+2
+	hjam lpmreg_sel_ctrl2,core_lpm_wr
+	hfetch 1,1
+	bbit1 7,sim_slave
+	call codec_init
+	jam dvc_op_hci,mem_device_option
+	fetch 6,mem_lap
+	store 6,mem_hci_plap
+	setarg 0xbdbdbd
+	store 3,mem_lap
+	istore 3,contw
+	jam hci_cmd_create_conn,mem_hci_cmd
+	force 0x10,pdata
+	add pdata,-2,clkn_bt
+	store 4,mem_page_clk
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	jam 0,mem_scan_mode
+sim_loop:
+	call codec_loop
+	call idle_dispatch
+	fetch 1,mem_context
+	bbit0 state_inconn,sim_skip
+	set1 mark_tx_l2cap,mark
+	fetch 1,mem_context + coffset_state_map
+	set1 smap_edr,pdata
+	store 1,mem_context + coffset_state_map
+	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:
+	jam 2,mem_scan_mode
+	call page_scan_dispatch
+	branch sim_loop
+
+codec_loop:
+	hfetch 1,core_pcminfifo_remain
+	rtn blank
+	hfetch 1,core_pcminfifo
+	hstore 1,core_pcmoutfifo
+	branch codec_loop
+
+codec_init:
+	call init_filter_ram
+	hjam 0x11,core_enc_ctrl
+	hjam 0x11,core_dec_ctrl
+	hjam 0x1,core_cvsd_ctrl
+	hjam 0x1,core_codec_ctrl
+	hjam 0x80,core_gpio_oe3
+	hjam 0x3,core_gpio_sel1
+	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
+	hjam 3,core_iicd_ctrl
+	hjam iicd_start,core_misc_ctrl
+	call wait_iicd_done
+	nop 300
+	setarg 0xd321d2
+	store 3,mem_iicd_addr
+	hjam 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
+
+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
+	hjam 0x84,core_gpio_sel1
+	hjam 0x80,core_gpio_pu2
+	hjam 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
+	hjam 3,core_iicd_ctrl
+	hjam 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
+	hjam 1,core_config
+	setflag user,0,pdata
+	random pdata
+	and_into 0x1f,pdata
+	hstore 1,core_clksel
+	nop 70
+	hjam 2,core_kick
+	nop 200
+	branch clock_loop
+	hjam 2,core_clksel
+	setarg 1500
+	call sleep
+	hjam 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: KG9013/btkb/program/simple_pairing.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/simple_pairing.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/simple_pairing.prog	(working copy)
@@ -0,0 +1,1402 @@
+
+
+ifdef SIMPLE_PAIRING
+sp_initialize:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_2,mem_patch3e
+	fetch 1,mem_ssp_enable	//set in ssp.rom
+	branch ssp_disable, blank
+	call ssp_enable
+	setarg 0
+	store 8,mem_sp_state_start
+	store 4,mem_sp_flag_start
+	
+	arg mem_sp_iocap_remote,contw
+	istore 7,contw
+	jam DEFAULT_STATEMACHINE,mem_sp_localsm
+	branch sp_pubkey_calc 
+
+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_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 */
+	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  
+    
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_3,mem_patch3e
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_4,mem_patch3e
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_5,mem_patch3e
+         fetch 1,mem_sp_flag
+         rtn 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_6,mem_patch3e
+	fetch 1,mem_master_sp_flag
+	rtn 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3e_7,mem_patch3e
+	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:
+	force 6,loopcnt
+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:
+	jam 192,mem_ec_loopc
+	jam 1,mem_ec_infinite
+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_swap:
+	force 16,loopcnt
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3f_0,mem_patch3f
+	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:
+ 	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	
+g_common:	
+	call     memcpy_dword_swap4
+	setarg   0x800000
+	lshift8  pdata,pdata 
+	istore   4,contw
+	force    5,loopcnt
+	call memset0
+	setarg 640
+	istore 4,contw
+	call sha
+
+	fetch 4,memresult
+//	store 4,mem_sp_gkey
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	store 4,mem_sp_gkey
+	quotient pdata
+	arg 1000,rega
+	idiv rega
+	call wait_div_end
+	remainder pdata
+	arg 1000,rega
+	imul32 rega,pdata
+	fetcht 4,mem_sp_gkey
+	iadd temp,pdata
+	store 4,mem_sp_gkey
+	rtn
+	
+function_f1:
+	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
+	force    0,pdata  
+	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:
+	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_f3b_common
+
+function_f3b:
+	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_f3b_common:    
+	setarg   0x0    
+	istore   8,contw
+	istore   8,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                
+	             
+eckp_cp_1:
+	jam 0,mem_ec_infinite
+	arg mem_ax,contr
+	arg mem_cx,contw
+	branch ec_copy
+
+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
+endif
+
+
Index: KG9013/btkb/program/ui.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/ui.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/ui.prog	(working copy)
@@ -0,0 +1,435 @@
+ui_init:
+	rtn wake
+	call ui_button_init
+	call ui_timer_init
+	branch ui_led_init
+
+ui_dispatch:
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+	call ui_led_blink_polling
+	
+	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_disable:
+	jam UI_BUTTON_GPIO_DISABLE,mem_ui_button_gpio
+	rtn
+	
+ui_button_polling:
+	set1 mark_ext_patch,mark
+	bpatch patch30_5,mem_patch30
+	fetch 1,mem_ui_button_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	copy pdata,temp
+	call gpio_get_bit
+	nbranch ui_button_up,true
+	//fall through
+ui_button_down:
+	call ui_button_check_long_press
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_BTN_DOWN
+	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_init:
+	fetch 1,mem_led_gpio
+	rtneq UI_BUTTON_GPIO_DISABLE
+	iforce temp
+	call gpio_config_output
+	branch ui_led_off
+	
+ui_led_blink_stop:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_LED_BLINK
+	store 2,mem_ui_state_map
+	jam ui_led_stop,mem_led_switch
+ui_led_off:
+	fetch 2,mem_ui_state_map
+	set0 UI_STATE_LED_ON
+	store 2,mem_ui_state_map
+	fetcht 1,mem_led_gpio
+	branch gpio_out_inactive
+
+ui_led_on:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_LED_ON
+	store 2,mem_ui_state_map
+	jam ui_led_stop,mem_led_switch
+	fetcht 1,mem_led_gpio
+	branch gpio_out_active
+
+ui_led_blink_start:
+	fetch 2,mem_ui_state_map
+	set1 UI_STATE_LED_BLINK
+	store 2,mem_ui_state_map
+	jam ui_led_start,mem_led_switch
+	rtn
+	
+ui_led_blink_polling:
+	set1 mark_ext_patch,mark
+	bpatch patch30_6,mem_patch30
+	fetch 1,mem_led_switch
+	rtneq ui_led_stop
+	arg ui_led_blink,queue
+	call timer_check
+	nrtn blank
+	fetch 1,mem_led_switch
+	beq ui_led_dark_time,ui_led_blink_polling_dark
+	call ui_led_on
+	jam ui_led_dark_time,mem_led_switch
+	fetch 2,mem_led_light_time
+	branch ui_led_blink_timer_start
+ui_led_blink_polling_dark:
+	call ui_led_off
+	jam ui_led_light_time,mem_led_switch
+	fetch 2,mem_led_dark_time
+ui_led_blink_timer_start:
+	arg ui_led_blink,queue
+	branch timer_init	
+
+	
+ui_timer_check:
+	set1 mark_ext_patch,mark
+	bpatch patch30_7,mem_patch30
+	arg 0,rega
+	fetcht 4,mem_ui_timer_last_btclk
+	copy clkn_bt,regb
+	//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:
+	set1 mark_ext_patch,mark
+	bpatch patch31_0,mem_patch31
+	copy rega,pdata
+	rtn blank
+	increase -160,temp    //320btclk = 100ms
+	increase -160,temp
+	storet 4,mem_ui_timer_last_btclk
+ui_timer_check_send_evt:
+	increase BT_EVT_TIMER_INIT,pdata
+	store 1,mem_fifo_temp
+	branch ui_ipc_send_event
+	
+
+//**********************************************************//
+//************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_fifo_out:
+	branch fifo_out
+
+
+	
+ui_ipc_send_event:
+	set1 mark_ext_patch,mark
+	bpatch patch31_1,mem_patch31
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch31_2,mem_patch31
+	fetch 1,mem_device_option
+	rtneq dvc_op_hci
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch31_3,mem_patch31
+	setarg 0
+	store UTIL_FIFO_LEN,mem_ipc_fifo_c512bt
+	store UTIL_FIFO_LEN,mem_ipc_fifo_bt2c51
+	rtn
+	
+check_51cmd:
+	set1 mark_ext_patch,mark
+	bpatch patch31_4,mem_patch31
+	fetch 1,mem_hci_cmd
+	nrtn blank
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_is_empty
+	rtn blank
+	jam IPC_CONTINUE_PROCESS,mem_ipc_skip_continue_proc
+	call check_51cmd_once
+	fetch 1,mem_ipc_skip_continue_proc
+	branch check_51cmd,blank
+	rtn
+
+check_51cmd_once:
+	set1 mark_ext_patch,mark
+	bpatch patch31_5,mem_patch31
+	call ui_ipc_get_lock
+	arg mem_ipc_fifo_c512bt,rega
+	call fifo_out
+	copy pdata,temp
+	call ui_ipc_put_lock
+	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_LE_UPDATE_CONN,check_51cmd_le_update_conn
+	beq BT_CMD_LED_BLINK,ui_led_blink_start
+	beq BT_CMD_LED_ON,ui_led_on
+	beq BT_CMD_LED_OFF,ui_led_blink_stop
+	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_LE_START_WRITE,check_51cmd_le_start_write
+	beq BT_CMD_BB_RECONN_CANCEL,check_51cmd_bb_reconn_cancel
+	//context related, process in context
+	store 1,mem_fifo_temp
+	set1 mark_ext_patch,mark
+	bpatch patch31_6,mem_patch31
+	fetch 1,mem_lmo_opcode2
+	branch check_51cmd_once_continue,blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	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
+check_51cmd_once_continue0:
+  	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_DISCONNECT,check_51cmd_disconnect
+	beq BT_CMD_LE_DISCONNECT,check_51cmd_le_disconnect
+	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_LE_UPDATE_CONN,BT_CMD_LE_UPDATE_CONN_1
+  	rtn
+
+
+BT_CMD_LE_UPDATE_CONN_1:
+	jam XT_LL_CONNECTION_PARAM_REQ,mem_fifo_temp
+	branch le_xtype_fifo_in
+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
+
+
+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
+	
+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
+	
+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
+	
+check_51cmd_reconnect:	
+	jam hci_cmd_create_conn,mem_hci_cmd
+	rtn
+	
+check_51cmd_disconnect:
+	jam LMP_DETACH,mem_lmo_opcode2
+	jam OTHER_END_TERMINATED,mem_disconn_reason_send
+	rtn
+	
+	
+check_51cmd_enter_sniff_subrating:
+	rtn
+	
+check_51cmd_exit_sniff_subrating:
+	rtn	
+	
+check_51cmd_sniff_test:
+	rtn
+	
+check_51cmd_pincode:
+	jam pincode_state_pincode_ready,mem_pincode_state
+	branch cmd_pair
+
+check_51cmd_inq:
+	rtn
+check_51cmd_stop_inq:
+	rtn
+check_51cmd_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_IND,mem_le_adv_type
+	rtn
+check_51cmd_stop_adv:
+	jam OFF,mem_le_adv_enable
+	rtn
+check_51cmd_direct_adv:
+	jam ON,mem_le_adv_enable
+	jam ADV_DIRECT_IND,mem_le_adv_type
+	rtn
+check_51cmd_stop_direct_adv:
+	jam OFF,mem_le_adv_enable
+	rtn
+check_51cmd_le_disconnect:
+	setarg 1
+	store 2,mem_le_superto
+	rtn
+check_51cmd_le_update_conn:
+	rtn
+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
+check_51cmd_start_scan:
+	jam ON,mem_le_scan_enable
+	rtn
+check_51cmd_stop_scan:
+	jam OFF,mem_le_scan_enable
+	jam 0,mem_hci_cmd
+	rtn
+check_51cmd_le_smp_sec_req:
+	jam XT_SMP_SECURITY_REQUEST,mem_fifo_temp
+	branch le_xtype_fifo_in
+check_51cmd_hibernate:
+	set1 mark_ext_patch,mark
+	bpatch patch31_7,mem_patch31
+	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_led_off
+	call ui_ipc_clean_all_fifo
+	branch lpm_hibernate
+	
+check_51cmd_le_start_write:
+	jam 1,mem_le_switch_send_data
+	rtn
+
+check_51cmd_bb_reconn_cancel:
+	force page_length_timer,queue
+	branch timer_stop
+
+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
+
+
Index: KG9013/btkb/program/usb.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/usb.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/usb.prog	(working copy)
@@ -0,0 +1,374 @@
+ifdef COMPILE_USB
+
+usb_isr:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_5,mem_patch3a
+	call usb_tx_test
+	hfetch 1,core_usb_status
+	store 1,mem_usb_status
+	hfetch 1,core_usb_fifo_empty
+	store 1,mem_usb_fifo_empty
+	hjam 0xe0,core_usb_status
+	fetch 1,mem_usb_fifo_empty
+	compare 0x1,pdata,0x1 
+	call usb0_fifo_empty,true
+	set1 mark_ext_patch,mark
+	bpatch patch3a_6,mem_patch3a
+	fetch 1,mem_usb_status	
+	compare 0x1,pdata,0x1  
+	call usb_status1,true
+	fetch 1,mem_usb_state
+	bne USB_CONNECTED,usb_tx
+	fetch 2,mem_usb_idle_cnt
+	increase 1,pdata
+	store 2,mem_usb_idle_cnt
+	fetcht 2,mem_usb_idle_timeout
+	isub temp,null
+	branch usb_init,positive
+	fetch 1,mem_usb_status	
+	bbit0 USB_STATUS_NAK,usb_tx
+	setarg 0
+	store 2,mem_usb_idle_cnt
+	branch usb_tx
+	
+
+usb_status1:
+	set1 mark_ext_patch,mark
+	bpatch patch3a_7,mem_patch3a
+	hjam 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:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_0,mem_patch3b
+	fetch 1,mem_usb_setup_bmRequestType
+	beq HCI_CLASS_REQUEST_TYPE,usb_hci_class_req_type
+	beq HID_CLASS_REQUEST_TYPE,usb_hid_class_req_type
+	beq ZERO_CLASS_REQUEST_TYPE,usb_zero_class_req_type
+	fetch 1,mem_usb_setup_bRequest
+	beq SET_ADDRESS,usb0_request_set_address
+	beq GET_DESCRIPTOR,usb0_request_get_descriptor
+	beq SET_CONFIGURATION,usb0_request_set_configuration
+	beq SET_INTERFACE,usb0_request_set_interface
+	branch usb0_force_stall
+
+usb_zero_class_req_type:
+	fetch 1,mem_usb_setup_bRequest
+	beq CLEAR_FEATURE,usb0_request_clear_feature
+	beq SET_FEATURE,usb0_request_set_feature
+	beq SET_CONFIGURATION,usb0_reply_zerolen
+	beq SET_ADDRESS,usb0_request_set_address
+	branch usb0_force_stall
+usb_hci_class_req_type:
+	call usb0_reply_zerolen
+	rtn
+
+usb_rx_no_data:
+	fetch 1,mem_usb_status
+	bbit1 USB_STATUS_SETUP,usb_class_type
+	rtn
+usb_set_protocol_req:
+	fetch 1,mem_usb_set_protocol_count
+	increase 1,pdata
+	store 1,mem_usb_set_protocol_count
+	compare 2,pdata,0xff
+	nbranch usb0_reply_zerolen,true	
+	jam 1,mem_usb_desc
+	branch usb0_reply_zerolen
+usb_hid_class_req_type:
+	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_set_idle:
+	fetch 1,mem_usb_state
+	beq USB_SETIDLE_1,usb_set_idle_connected
+	bne USB_RESUME,usb0_reply_zerolen
+	jam USB_SETIDLE_1,mem_usb_state
+	branch usb0_reply_zerolen
+usb_set_idle_connected:
+	jam USB_CONNECTED,mem_usb_state
+	branch usb0_reply_zerolen
+	
+usb_set_report:
+	jam 1,mem_usb_desc
+	arg mem_usb_desc,rega
+	arg 1,regb
+	branch usb0_respond
+usb0_force_stall:
+	hjam 1,core_usb_stall
+	rtn
+usb0_reply_zerolen:
+	hjam 0x40,core_usb_clear
+	rtn
+
+usb_rx_read:
+	hfetch 1,core_usb_ep
+	istore 1,contw
+	loop usb_rx_read
+	rtn
+
+usb0_fifo_empty:
+	hjam 0x1,core_usb_fifo_empty
+	call usb0_tx
+	rtn
+
+usb0_request_get_descriptor:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_1,mem_patch3b
+	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
+	rtn
+	
+dsc_device_info:
+	arg mem_devicedesc,rega
+	branch usb0_respond_length
+dsc_config_info:
+	arg mem_confdesc,rega
+	branch usb0_respond_length
+dsc_string_info:
+	fetch 1,mem_usb_setup_bValue
+	and_into 3,pdata
+	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
+	branch assert
+dsc_hid_info:
+	arg mem_confdesc+18,rega
+	fetch 1,mem_confdesc+18
+	copy pdata,regb
+	branch usb0_respond
+dsc_hid_report_info:
+	fetch 2,mem_usb_setup_wIndex
+	beq 1,dsc_hid_report_info0
+	arg mem_hidreportdesc_kb,rega
+	branch usb0_respond_length
+dsc_hid_report_info0:
+	jam USB_GOT_REPORT_REQ,mem_usb_state
+	arg mem_hidreportdesc_m,rega
+	branch usb0_respond_length
+
+usb0_respond_length:
+	ifetch 1,rega
+	iforce regb
+	increase 1,rega
+	
+//rega=*buff,reb=size	
+usb0_respond:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_2,mem_patch3b
+	bmark0 mark_isstr,usb0_respond0
+	add regb,1,pdata
+	lshift pdata,pdata
+	hstore 1,core_usb_dfifo0 
+	hjam 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 1,mem_usb_setup_bLength
+	isub regb,null
+	branch usb0_respond1,positive
+	copy pdata,regb	
+usb0_respond1:
+	copy rega,pdata
+	store 2,mem_bufptr
+	copy regb,pdata
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_3,mem_patch3b
+	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
+	hjam 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
+
+
+usb0_request_set_configuration:
+	fetch 1,mem_usb_setup_bValue
+	sub pdata,1,null
+	nbranch usb0_force_stall,positive
+usb0_request_set_address:
+	fetch 1,mem_usb_setup_bmRequestType
+	bne IN_DEVICE,usb0_force_stall
+	fetch 2,mem_usb_setup_wIndex
+	bne 0,usb0_force_stall
+	fetch 1,mem_usb_setup_bLength
+	bne 0,usb0_force_stall
+	branch usb0_reply_zerolen
+
+usb0_request_set_interface:
+	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 0,usb0_force_stall
+	branch usb0_reply_zerolen
+
+usb0_request_set_feature:
+	fetch 1,mem_usb_setup_bValue
+	bne 1,usb0_force_stall
+	jam USB_SLEEP,mem_usb_state
+	branch usb0_reply_zerolen
+
+usb0_request_clear_feature:
+	fetch 1,mem_usb_setup_bValue
+	bne 1,usb0_force_stall
+	branch usb0_reply_zerolen
+	
+usb_init:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_4,mem_patch3b
+	hjam 0x00,core_usb_config
+	nop 10000
+	hjam 0xc0,core_usb_trig
+	hfetch 2,core_clkoff
+	set0 CLOCK_OFF_USB,pdata
+	hstore 2,core_clkoff
+	hjam 0x3c,core_usb_config
+	hjam 0xff,core_usb_status
+	hjam 0xff,core_usb_fifo_empty
+	jam 0,mem_mcmd
+	jam 0,mem_usb_state
+	setarg 0
+	store 2,mem_usb_idle_cnt
+	rtn
+
+
+usb_tx:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_5,mem_patch3b
+	fetch 1,mem_mcmd
+	rtn blank
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_wakeup
+	rtnne USB_CONNECTED
+	fetch 1,mem_mcmd
+	jam 0,mem_mcmd
+	arg 6,loopcnt	
+	arg mem_mouse_data,contr
+	beq SEND_KB_DATA_CMD,usb_tx_ep1
+	beq SEND_MOUSE_DATA_CMD,usb_tx_ep2
+	branch assert
+	
+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:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_6,mem_patch3b
+	disable swfine
+	fetch 2,mem_usb_trig_timeout
+	iforce stop_watch
+	hjam 0x40,core_usb_status
+usb_trig_waitnak_loop:
+	hfetch 1,core_usb_status
+	branch usb_init,timeout
+	bbit0 USB_STATUS_NAK,usb_trig_waitnak_loop
+	fetch 2,mem_usb_trig_timeout
+	iforce stop_watch
+	arg 0,temp
+	qset1 temp
+	hstoret 1,core_usb_fifo_empty
+usb_trig_loop:
+	branch usb_init,timeout
+	hstoret 1,core_usb_trig
+	hfetch 1,core_usb_fifo_empty
+	qisolate0 pdata
+	branch usb_trig_loop,true
+	rtn
+
+
+usb_tx_ep2:
+	arg 2,queue
+	arg core_usb_dfifo2,rega
+	branch usb_tx_loop
+
+
+usb_wakeup:
+	set1 mark_ext_patch,mark
+	bpatch patch3b_7,mem_patch3b
+	hjam 0xfc,core_usb_config
+	nop 10000
+	hjam 0x3c,core_usb_config
+	jam USB_RESUME,mem_usb_state
+	rtn
+
+usb_tx_test:
+	fetch 1,mem_mcmd
+	nrtn blank
+	fetch 2,mem_usb_cnt
+	rtn blank
+	increase -1,pdata
+	store 2,mem_usb_cnt
+	jam SEND_MOUSE_DATA_CMD,mem_mcmd
+	rtn	
+	
+else
+
+usb_init:
+usb_isr:
+usb_tx:
+	rtn
+endif
Index: KG9013/btkb/program/utility.prog
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/utility.prog	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/program/utility.prog	(working copy)
@@ -0,0 +1,654 @@
+
+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
+	
+push_stack:
+	deposit contw
+	store 2, mem_contw
+	storet 8,mem_temp
+	deposit timeup
+	store 4,mem_timeup
+	deposit rega
+	store 4, mem_rega
+	deposit regb
+	store 4, mem_regb
+	deposit regc
+	store 3, mem_regc
+	deposit contr
+	store 2, mem_contr
+	rtn
+pop_stack:
+	fetcht 8,mem_temp
+	fetch 4,mem_timeup
+	iforce timeup
+	fetch 4, mem_rega
+	iforce rega
+	fetch 4, mem_regb
+	iforce regb
+	fetch 3,mem_regc
+	iforce regc
+	fetch 2, mem_contw
+	iforce contw
+	fetch 2, mem_contr
+	iforce 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
+
+
+
+delay_10ms:
+	copy clkn_bt,pdata
+	increase 16,pdata
+	increase 16,pdata
+delay_ms_wait:
+	copy clkn_bt,temp
+	isub temp,null
+	branch delay_ms_wait,positive
+	rtn
+
+memcpy48:
+	ifetch 8,contr
+	istore 8,contw
+	ifetch 8,contr
+	istore 8,contw
+memcpy32:
+	ifetch 8,contr
+	istore 8,contw
+memcpy24:
+	ifetch 8,contr
+	istore 8,contw
+memcpy16:
+	ifetch 8,contr
+	istore 8,contw
+	ifetch 8,contr
+	istore 8,contw
+	rtn
+
+bn_zero:
+	force 3,loopcnt
+memset0:
+	force 0,pdata
+memset8:
+	istore   8,contw
+	loop   memset8
+	rtn
+
+
+clear_mem:
+	deposit loopcnt
+	rtn blank
+	setarg 0
+clear_mem_loop:
+	istore 1,contw
+	loop clear_mem_loop
+	rtn
+	
+	
+
+memcpy:
+	deposit loopcnt
+	rtn blank
+memcpy_loop:
+	ifetch 1,contr
+	istore 1,contw
+	loop memcpy_loop
+	rtn
+
+timer_stop:
+	setarg 0
+timer_init:
+	arg mem_timers,contw
+	iforce temp
+	lshift queue,pdata
+	iadd contw,contw
+	istoret 2,contw
+	rtn
+
+timer_reinit:
+	arg 0,queue
+timer_check:
+	set1 mark_ext_patch,mark
+	bpatch patch37_4,mem_patch37
+	fetcht 4,mem_last_clkn
+	rshift clkn_bt,pdata
+	store 4,mem_last_clkn
+	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
+
+	/* lshift pdata 8*queue */
+lshift8_queue:
+	increase 1,queue
+lshift8_queue_loop:
+	increase -1,queue
+	rtn zero
+	lshift8 pdata,pdata
+	branch lshift8_queue_loop
+
+
+	/* 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
+
+
+mem3_hex2string_to_uart:
+	arg 3,loopcnt
+	branch hex2string_to_uart0
+mem2_hex2string_to_uart:
+	arg 2,loopcnt
+	branch hex2string_to_uart0
+//input:src:rega des:contwu
+//len of src:loopcnt
+//ex:0x123456 to str //using:temp rega regb
+adss_hex2string_to_uart:
+	arg 6,loopcnt
+hex2string_to_uart0:
+	ifetch 1,rega
+	copy pdata,temp
+	rshift4 pdata,pdata
+	call dialog2uchar
+	istore 1,contwu
+	copy temp,pdata
+	and pdata,0xf,pdata
+	call dialog2uchar
+	istore 1,contwu
+	increase 1,rega
+	loop hex2string_to_uart0
+	rtn
+dialog2uchar:
+	sub pdata,9,null
+	branch dialog2uchar0to9,positive
+	increase 87,pdata
+	rtn
+dialog2uchar0to9:
+	add pdata,0x30,pdata
+	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
+	sub pdata,AT_COMMA,null 
+	rtn zero
+	call uchar2dialog	
+	copy regc,temp
+	call swap
+	arg 10,regb
+	imul32 regb,pdata
+	iadd temp,pdata
+	copy pdata,temp
+	branch string2dec_from_uart_done
+
+
+mem2_string2hex_from_uart:
+	arg 2,loopcnt
+	branch string2hex_from_uart
+adss_string2hex_from_uart:
+	arg 6,loopcnt
+//input:contru contw
+//len of src:loopcnt
+//ex:123456 to 0x12 0x34 0x56
+string2hex_from_uart:
+	ifetch 1,contru
+	call uchar2dialog
+	lshift4 pdata,regc
+	ifetch 1,contru
+	call uchar2dialog
+	iadd regc,pdata
+	istore 1,contw
+	loop string2hex_from_uart
+	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
+
+bcd_byte:
+	div pdata,10
+	call wait_div_end
+	quotient pdata
+	lshift2 pdata,rega
+	lshift2 rega,rega
+	remainder pdata
+	ior rega,pdata
+	rtn
+
+bcd_pack:
+	isolate1 0,rega
+	branch bcd_pack_hi,true
+	iforce regb
+	rtn
+bcd_pack_hi:
+	lshift2 pdata,pdata
+	lshift2 pdata,pdata
+	ior regb,pdata
+	istore 1,contw
+	increase -2,contw
+	rtn
+
+wait_div_end:	
+	rtn modone
+	branch wait_div_end
+
+
+bcd2:
+	store 8,mem_pdatatemp
+	force 0x20,pdata
+	force 8,loopcnt
+	arg mem_bcd,contw
+lpo_clear:	
+	istore 1,contw
+	loop lpo_clear
+	arg mem_bcd,contw
+	increase 7,contw
+	fetch 8,mem_pdatatemp
+bcd_loop:
+	div pdata,10
+	call wait_div_end
+	remainder pdata
+	or_into 0x30,pdata
+	istore 1,contw
+	increase -2,contw
+	quotient pdata
+	rtn blank
+	branch bcd_loop
+
+
+
+/* store as packed bcd digits */
+bcd:
+	store 8,mem_pdatatemp
+	force 0,pdata
+	store 8,mem_bcd
+	arg mem_bcd,contw
+	increase 7,contw
+	fetch 8,mem_pdatatemp
+	force 0,rega
+bcd_pack_loop:
+	div pdata,10
+	call wait_div_end
+	remainder pdata
+	call 	bcd_pack
+	increase 1,rega
+	quotient pdata
+	sub pdata,9,null
+	nbranch bcd_pack_loop,positive
+	call bcd_pack
+	isolate1 0,rega
+	rtn true
+	istore 1,contw
+	rtn
+	
+//input:
+//	count:loopcnt str1:rega str2:regb
+//output:
+//	same:set falg true ,diff set falg false
+// using:
+//	reg:temp null flag:zero
+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
+
+slave_savelist:
+	fetch 5,mem_sync_clke
+	store 5,mem_pdatatemp
+	fetch 2,mem_clks_per_lpo
+	istore 2,contw
+	setarg 0
+	setflag match,7,pdata
+	setflag wake,6,pdata
+	setflag sync,5,pdata
+	setflag attempt,4,pdata
+	istore 1,contw
+	branch savelist_2
+
+
+le_savelist:
+	fetch 5,mem_sync_clke
+	store 5,mem_pdatatemp
+	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
+	branch savelist_2
+savelist:		
+	store 8,mem_pdatatemp
+savelist_2:
+	fetch 1,mem_seqi
+	rtneq 0x7f
+	and_into 0x7f,pdata
+	lshift3 pdata,pdata
+	arg mem_savelist,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	
+
+dirty_mem:
+	arg 0x800,loopcnt
+	arg 0,contw
+	setarg 0x01010101
+	branch memset8
+
+	//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
+
+get_uart_rrptr:
+	hfetch 2,core_uart_rrptr
+	copy pdata,contru
+	rtn 
+
+get_uart_twptr:
+	hfetch 2,core_uart_twptr
+	copy pdata,contwu
+	rtn
+//input:contr loopcnt
+send_mem_to_uart:
+	copy contr,rega
+	call get_uart_twptr
+	copy rega,contr
+send_mem_to_uart0:
+	call uart_copy_tx_bytes
+	call  uartd_send
+	branch wait_uarttx
+
+ice_break:
+	hjam 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
+	hjam 0x30,core_ice_ctrl
+	rtn
+	
+test_no_white:
+	hfetch 1,core_config
+	set1 whiteoff_bit,pdata
+	hstore 1,core_config			/* whitening off */
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch37_5,mem_patch37
+	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:
+	set1 mark_ext_patch,mark
+	bpatch patch37_6,mem_patch37
+	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
+
+
Index: KG9013/btkb/sched/kb.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/sched/kb.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/sched/kb.dat	(working copy)
@@ -0,0 +1,566 @@
+mem_patch00:
+29   #mem_patch00
+00   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+00   #mem_patch04
+00   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+00   #mem_patch08
+00   #mem_patch09
+00   #mem_patch0A
+00   #mem_patch0B
+00   #mem_patch0C
+00   #mem_patch0D
+00   #mem_patch0E
+00   #mem_patch0F
+00   #mem_patch10
+00   #mem_patch11
+35   #mem_patch12
+00   #mem_patch13
+00   #mem_patch14
+00   #mem_patch15
+4f   #mem_patch16
+02   #mem_patch17
+00   #mem_patch18
+00   #mem_patch19
+00   #mem_patch1A
+00   #mem_patch1B
+00   #mem_patch1C
+00   #mem_patch1D
+00   #mem_patch1E
+00   #mem_patch1F
+00   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+00   #mem_patch23
+00   #mem_patch24
+00   #mem_patch25
+00   #mem_patch26
+c0   #mem_patch27
+00   #mem_patch28
+00   #mem_patch29
+00   #mem_patch2A
+00   #mem_patch2B
+00   #mem_patch2C
+00  #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+a0   #mem_patch31
+00   #mem_patch32
+00   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+20   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+00   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
+
+
+mem_customize_timer_setup:  20 00		# 20:10ms  30:15ms
+
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:0a
+mem_lpm_interval:10 00
+mem_scan_mode:00
+mem_test:00 00
+
+mem_class: 40 25 00
+
+mem_lap:36 08 c2 08 66 22    
+mem_local_name_length:
+'BT3.0 Keyboard
+mem_sniff_param_interval:0e 00
+mem_sniff_param_attempt:01
+mem_sniff_param_timeout:01
+mem_unsniff2sniff_timer:0a
+mem_ssp_enable:00
+mem_ui_profile_supported:01
+
+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
+
+#keyboard uuid
+mem_kb_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601b6
+
+#attribute start, first 4 digit is attribute ID
+090000 0a 00010000
+090001 3503 191124
+090004 350d 3506 190100 090011 3503 190011
+090005 3503 191002
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191124 090100
+09000d 350f 350d 3506 190100 090013 3503 190011
+
+#Service Name
+#090100 2517
+#'Apple Wireless Keyboard
+#41 70 70 6c 65 20 57 69 72 65 6c 65 73 73 20 4b 65 79 62 6f 61 72 64
+#Service Name
+090100 253d
+#'Broadcom Bluetooth Wireless  Keyboard                        
+4272 6f61 6463 6f6d 2042 6c75 6574 6f6f 7468 2057 6972 656c 6573 7320 204b 6579 626f 6172 6420 
+2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 20
+
+#Service Description
+090101 2508
+#'Keyboard
+4b6579626f617264
+
+#Provider Name
+#090102 250a
+#'Apple Inc.
+#41 70 70 6c 65 20 49 6e 63 2e
+#Provider Name
+090102 2510
+#'Broadcom Corp.  
+4272 6f61 6463 6f6d 2043 6f72 702e 2020
+
+090200 090100
+090201 090111
+090202 0840
+090203 0821
+090204 2801
+090205 2801
+090206 35a5 35a3 0822 259f
+
+# hid descriptor
+0501 # Usage Page(Generic Desktop)
+0906 # Usage(Keyboard)
+a101 # Collection(Application)
+8501 # Report ID(1)
+7501 # Report Size(1)
+9508 # Report Count(8)
+0507 # Usage Page(Keyboard/Keypad)
+19e0 # Usage Minimum(224)
+29e7 # Usage Maximum(231)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+8102 # Input(Data Variable Absolute) ; Modifier byte
+9501 # Report Count(1)
+7508 # Report Size(8)
+8103 # Input(Constant Variable Absolute) ; 
+9505 # Report Count(5)
+7501 # Report Size(1)
+0508 # Usage Page(LEDs)
+1901 # Usage Minimum(1)
+2905 # Usage Maximum(5)
+9102 # Output(Data Variable Absolute) ; LED report
+9501 # Report Count(1)
+7503 # Report Size(3)
+9103 # Output(Constant Variable Absolute) ; 
+9506 # Report Count(6)
+7508 # Report Size(8)
+1500 # Logical Minimum(0)
+25ff # Logical Maximum(255)
+0507 # Usage Page(Keyboard/Keypad)
+1900 # Usage Minimum(0)
+29ff # Usage Maximum(255)
+8100 # Input(Data Array) ; Key arrarys 6 bytes
+c0 # End Collection
+
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#69
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 090c80
+09020d 2800
+09020e 2801
+09020f 090318
+090210 090000
+#attribute end
+
+#uuids for pnpInformation	
+03 1002 1200 0001
+
+#handle
+00010001
+
+#total length 90 bytes
+3600a1
+
+#attribute list
+090000 0a00010001
+090001 3503 191200
+090004 350d 3506 190100 090001 3503 190001
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191200 090100
+090100 252f42726f6164636f6d20426c7565746f6f746820576972656c657373204b6579626f61726420506e5020536572766572
+090101 25084b6579626f617264
+090200 090103
+090201# VendorID
+0904e8
+090202#ProductID
+097021
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+#Auto reconnection after power on
+
+memui_uuid_table:mem_kb_uuid_list
+#Auto reconnection after power on
+mem_device_option:43
+mem_ptt:0
+mem_features:
+ff
+ff
+8f
+f8	#fe--EDR  F8--BR
+83	#AFHclose 83
+9d
+59
+82
+
+#bluetootch param init
+mem_sp_flag:00
+mem_lpm_current_mult:00
+mem_master_sp_flag:00
+mem_le_ch_mapped:27
+
+mem_ui_button_gpio:ff
+mem_led_gpio:ff
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+
+
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service: GATT
+01 00 00 28 02 01 18
+#Characteristic: Service changed
+02 00 03 28 01 20
+03 00 05 2a 01 00
+#Client Characteristic Configuration
+04 00 02 29 02 00 00
+
+#Primary Service: GAP
+05 00 00 28 02 00 18 
+#Characteristic: Device Name
+06 00 03 28 01 02 
+07 00 00 2a 
+'BT4.2 Keyboard
+
+#Characteristic: Appearance
+08 00 03 28 01 02 
+09 00 01 2a 02 c1 03 
+#Characteristic: Peripheral Preferred Connection Parameters
+0a 00 03 28 01 02
+0b 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary Service: Device Information
+0c 00 00 28 02 0a 18 
+#Characteristic: pnp id
+0d 00 03 28 01 02
+0e 00 50 2a 07 02 e8 04 21 70 01 00		# SAMSUNG soft keyboard,setup shortcuts
+
+#Primary service: HID
+0f 00 00 28 02 12 18
+#Characteristic:Protocol mode
+10 00 03 28 01 06
+11 00 4e 2a 01 01
+#Characteristic: hid report
+12 00 03 28 01 12   
+13 00 4d 2a 08 00 00 00 00 00 00 00 00	#hid report	led handle write
+14 00 02 29 02 00 00	
+15 00 08 29 02 01 01	#Report ID: 1	Report Type: Input
+#Characteristic:hid report
+16 00 03 28 01 12   
+17 00 4d 2a 02 00 00 	#hid report	led handle write
+18 00 02 29 02 00 00	
+19 00 08 29 02 02 01	#Report ID: 2	Report Type: Input
+
+#Characteristic:hid report
+1a 00 03 28 01 12  
+1b 00 4d 2a 05 00 00 00 00 00
+1c 00 02 29 02 00 00
+1d 00 08 29 02 03 01	#Report ID: 3	Report Type: Input
+
+#Characteristic:hid report
+1e 00 03 28 01 0e   
+1f 00 4d 2a 02 00	00	#hid report	led handle write
+20 00 02 29 02 00 00	
+21 00 08 29 02 01 02	#Report ID: 1	Report Type: Output
+
+#Characteristic:Report map
+22 00 03 28 01 0a
+23 00 4b 2a a0
+#66
+05 01
+09 06
+a1 01
+85 01
+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 
+
+#25
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#60
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+#Characteristic:Hid information
+24 00 03 28 01 02
+25 00 4a 2a 04 11 01 00 01        
+#Characteristic
+26 00 03 28 01 04
+27 00 4c 2a 01 00
+
+#Primary Service: BAS
+28 00 00 28 02 0f 18 
+#Characteristic: Battery Level
+29 00 03 28 01 12 
+2a 00 19 2a 01 64 
+#Client Characteristic Configuration
+2b 00 02 29 02 00 00 
+#End of Attribute list
+00 00
+
+
+mem_le_local_mtu:17
+mem_le_transmit_window:50
+mem_le_notify_handle:14
+mem_le_lap:11 46 34 54 77 dd
+
+
+mem_empty_count:00
+mem_att_report1:13 00
+mem_att_report2:17 00
+mem_att_report3:1b 00
+mem_le_rx_window:50
+
+mem_le_connection_updata_param:
+0c 00 #Length
+05 00 #CID
+12 b4 
+08 00 
+10 00 #min interval
+10 00 #max interval
+00 00 #latency
+2c 01 #timeout
+
+mem_le_name_len:
+'BT4.2 Keyboard
+
+mem_le_adv_channel_map:07 
+mem_le_adv_direct_addr_type:01
+#mem_le_adv_interval_max:00 01
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#02 01 05 05 02 12 18 0f 18 03 19 c1 03
+02 01 05 03 19 c1 03 03 03 12 18
+'\09BT4.2 Keyboard
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+'\09BT4.2 Keyboard
+
+mem_version_yy_mm_dd:20 20 08 21		#version data 20200821
+
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+mem_adc_config_flag:04    #01 VINLPM      #02 HVIN      #04 GPIO
+
+#24g init
+mem_24g_mode:01#tx
+mem_24g_data_type:02        #mouse 1,kb 2
+mem_24g_max_retry:4#max tx retry
+mem_24g_no_ack:00#with ack
+mem_24g_rx_window:c0 12     #400us 
+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 5d 00 00 00 00 00#10 min
\ No newline at end of file
Index: KG9013/btkb/sched/rf.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/sched/rf.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/sched/rf.dat	(working copy)
@@ -0,0 +1,108 @@
+mem_lpm_config:8f 10 ce
+mem_lpm_xtalcnt:00 0a 0b ef 0f
+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 20
+mem_rx_window_init:80 03
+mem_rx_window_sniff:00 06
+mem_new_supervision_to:00 13
+
+mem_eeprom_base:30 3f
+mem_eeprom_block_size:20
+#pointers to tail space of mem_le_att_list
+4f70:
+07 ff #2M_IF
+0a fb
+0b ff 
+
+#agc table
+1a fb
+1b fb
+1c fb
+1d f6
+1e f2
+1f ee
+20 ea
+21 e6
+22 e2
+23 de
+24 da
+25 d6
+26 d2
+27 ce
+28 ca
+29 c6
+2a c2
+2b bd
+2c b9
+2d b5
+2e b1
+2f ad
+30 a9
+31 80
+32 80
+33 80
+34 c0
+35 c1
+36 c2
+37 c3
+38 c4
+39 c5
+3a c6
+3b c7
+3c 06
+3d 07
+3e 46
+3f 85
+40 86
+41 87
+42 c6
+43 c7
+44 d6
+45 d7
+46 e6
+47 f5
+48 00
+49 f8
+4a 7f
+4e ec
+4f 5e
+
+# tx power
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+#dpll
+68 e4
+69 00
+6a 00
+6b 30
+ff
+mem_rf_init_ptr:70 4f
+
+mem_le_att_list+490:
+mem_5db_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+mem_24g_paring_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
Index: KG9013/btkb/util/memalloc.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/util/memalloc.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/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: KG9013/btkb/util/mergepatch.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/util/mergepatch.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/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");
+
+
Index: KG9013/btkb/util/transform_memmap2btreg.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/util/transform_memmap2btreg.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/btkb/util/transform_memmap2btreg.pl	(working copy)
@@ -0,0 +1,45 @@
+$memmap_path=$ARGV[0];
+$memblocks_path=$ARGV[1];
+$btreg_path=$ARGV[2];
+open(btreg,">$btreg_path");
+print btreg ("");#reset file
+close(btreg);
+open(memmap,$memmap_path);
+open(memblocks,$memblocks_path);
+open(btreg,">>$btreg_path");
+@text = <memmap>;
+print btreg ("#ifndef _BT_REG_H_\n");
+print btreg ("#define _BT_REG_H_\n");
+foreach $text (@text){
+	@word = split (/[\t ]+/,$text);
+	$reg_addr = @word[0];
+	if ($reg_addr =~ /0x[0-9abcdef]*/){#Is 0x0000~0xffff
+		$word1 = @word[1];
+		@reg_name = split(/\/[\/\*]/,$word1);#delete // or /*  */
+		$reg_name = @reg_name[0];
+		$reg_name =~ s/[\r\n]//;#delete Carriage return
+		
+		printf btreg ("#define\t%-40s\t%s\n",$reg_name,$reg_addr);
+		#print btreg ("#define \t $reg_name \t\t\t $reg_addr \n");
+		#print btreg ("@word[1]\n");
+	}
+}
+@text = <memblocks>;
+foreach $text (@text){
+	@word = split (/[\t ]+/,$text);
+	$reg_addr = @word[0];
+	if ($reg_addr =~ /0x[0-9abcdef]*/){
+		$word1 = @word[1];
+		@reg_name = split(/\/[\/\*]/,$word1);
+		$reg_name = @reg_name[0];
+		$reg_name =~ s/[\r\n]//;
+		printf btreg ("#define\t%-40s\t%s\n",$reg_name,$reg_addr);
+		#print btreg ("#define \t $reg_name \t\t\t\t $reg_addr \n");
+		#print btreg ("@word[1]\n");
+	}
+}
+print btreg ("#endif\n");
+close(memblocks);
+close(memmap);
+close(btreg);
+
Index: KG9013/c51/Makefile
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/Makefile	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/Makefile	(working copy)
@@ -0,0 +1,112 @@
+	comma:= ,
+empty:=
+space:= $(empty) $(empty)
+bracketl:= (
+bracketl0:= \(
+bracketr:= )
+bracketr0:= \)
+
+
+OUTDIR = output
+ROOT_PATH =h:\Keil
+
+UTIL_PATH = ..\rom\util
+
+C51BIN = $(ROOT_PATH)\c51\bin
+C51   = $(C51BIN)\c51
+A51   = $(C51BIN)\ax51
+BL51  = $(C51BIN)\lx51
+OH51  = $(C51BIN)\Ohx51
+OC51  = $(C51BIN)\oc51
+LIB51 = $(C51BIN)\libx51
+
+TARGET = $(OUTDIR)\fw
+TARGETHEX = $(TARGET).hex
+
+
+RAMTARGET = $(OUTDIR)\fwram
+
+RAMTARGETHEX = $(addsuffix .hex, $(RAMTARGET))
+
+############################## IMPORTANT ####################################
+#   opt level greater than 7 cannot be used, or the ram code and the rom code will be different
+##############################################################################
+OPT_LEVEL=7
+
+LIST_FILE_CTL=PR($(@:obj=lst))
+
+C_OPTS = object($@) OBJECTADVANCED  browse DF(ENABLE_APE) $(LIST_FILE_CTL) \
+OT($(OPT_LEVEL),SPEED) large
+
+#ASM_OPTS =  $(LIST_FILE_CTL) object($@)
+ASM_OPTS = SET (large) DEBUG EP $(LIST_FILE_CTL) object($@)
+
+LINK_OPTS = \
+	CLASSES (XDATA (X:0x4dd0-X:0x4f40),\
+	CODE(C:0-C:0xffff), DATA(D:0x10-0x7f), IDATA(I:0x80-0xcf)) \
+	SEGMENTS($(DATA_MAP)) \
+	NOOVERLAY \
+	PAGELENGTH(60000) \
+	CODE
+
+DATA_MAP = ?STACK(D:0xD0)
+CODE_MAP = ?PR?RAMENTRY?JUMPTABLE(C:0x0), ?PR?*, ?C*
+
+LINK_OBJ_RAM = bluetooth global_variable kb_process keyscan led sys adc ram pwm
+
+#LINK_OBJ_LIB = 
+
+LINK_OBJ_TMP_RAM = $(addsuffix .obj,$(LINK_OBJ_LIB) $(LINK_OBJ_RAM)) ..\patch\ipc.obj ..\patch\utilities.obj ..\patch\gpio.obj ..\patch\iic.obj
+LINK_OBJ_DEPENDENCIES_RAM = $(addprefix $(OUTDIR)/, $(LINK_OBJ_TMP_RAM))
+LINK_OBJ_FILES_RAM = $(subst $(space),$(comma),$(LINK_OBJ_DEPENDENCIES_RAM))
+
+LINK_OBJ_TMP_ROM = $(addsuffix .obj,$(LINK_OBJ_ROM))
+LINK_OBJ_DEPENDENCIES_ROM = $(addprefix $(OUTDIR)/, $(LINK_OBJ_TMP_ROM))
+LINK_OBJ_FILES_ROM = $(subst $(space),$(comma),$(LINK_OBJ_DEPENDENCIES_ROM))
+
+
+.SUFFIXES: .a51
+RAM_BIN = $(RAMTARGET).rom
+
+
+PROG_FILE = ..\rom\program\c51.prog
+RAM_FILES = $(RAM_MIF) $(RAM_BIN) $(EEPROM_FILE) $(PROG_FILE)
+
+$(OUTDIR)/%.obj : %.c hwreg.h
+	$(C51) $< "$(C_OPTS)"
+
+$(OUTDIR)/%.obj : %.a51
+	$(A51) $< "$(ASM_OPTS)"
+
+all : $(RAM_FILES) 
+
+
+$(TARGET) : $(LINK_OBJ_DEPENDENCIES_RAM)
+	$(BL51) $(LINK_OBJ_FILES_RAM) TO $@ "$(LINK_OPTS)"
+
+$(TARGETHEX) : $(TARGET)
+	$(OH51) $(TARGET)
+
+
+$(RAM_BIN) : $(TARGETHEX)
+
+
+$(RAM_MIF) : $(TARGETHEX)
+	perl $(UTIL_PATH)\hex2mif.pl < $< rammif > $@
+
+
+$(EEPROM_FILE) : $(RAM_BIN)
+	cd ..\rom\output; ..\util\geneep.exe; cp eeprom.dat ..\..\sim 
+
+$(PROG_FILE) : $(RAM_BIN)
+#	perl $(UTIL_PATH)\setarg.pl $< c51 > $@
+
+clean:  
+	del /Q $(OUTDIR)\*.* 
+
+
+lib:
+	$(LIB51) TRANSFER $(OUTDIR)\ipc.obj TO $(OUTDIR)\yichip.LIB
+	
+ext:
+	$(LIB51) EXTRACT $(OUTDIR)\yichip.LIB (ipc) TO $(OUTDIR)\ipc.obj
Index: KG9013/c51/Makefile.bak
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/Makefile.bak	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/Makefile.bak	(working copy)
@@ -0,0 +1,112 @@
+	comma:= ,
+empty:=
+space:= $(empty) $(empty)
+bracketl:= (
+bracketl0:= \(
+bracketr:= )
+bracketr0:= \)
+
+
+OUTDIR = output
+ROOT_PATH =h:\Keil
+
+UTIL_PATH = ..\rom\util
+
+C51BIN = $(ROOT_PATH)\c51\bin
+C51   = $(C51BIN)\c51
+A51   = $(C51BIN)\ax51
+BL51  = $(C51BIN)\lx51
+OH51  = $(C51BIN)\Ohx51
+OC51  = $(C51BIN)\oc51
+LIB51 = $(C51BIN)\libx51
+
+TARGET = $(OUTDIR)\fw
+TARGETHEX = $(TARGET).hex
+
+
+RAMTARGET = $(OUTDIR)\fwram
+
+RAMTARGETHEX = $(addsuffix .hex, $(RAMTARGET))
+
+############################## IMPORTANT ####################################
+#   opt level greater than 7 cannot be used, or the ram code and the rom code will be different
+##############################################################################
+OPT_LEVEL=7
+
+LIST_FILE_CTL=PR($(@:obj=lst))
+
+C_OPTS = object($@) OBJECTADVANCED  browse DF(ENABLE_APE) $(LIST_FILE_CTL) \
+OT($(OPT_LEVEL),SPEED) large
+
+#ASM_OPTS =  $(LIST_FILE_CTL) object($@)
+ASM_OPTS = SET (large) DEBUG EP $(LIST_FILE_CTL) object($@)
+
+LINK_OPTS = \
+	CLASSES (XDATA (X:0x4dd0-X:0x4f40),\
+	CODE(C:0-C:0xffff), DATA(D:0x10-0x7f), IDATA(I:0x80-0xcf)) \
+	SEGMENTS($(DATA_MAP)) \
+	NOOVERLAY \
+	PAGELENGTH(60000) \
+	CODE
+
+DATA_MAP = ?STACK(D:0xD0)
+CODE_MAP = ?PR?RAMENTRY?JUMPTABLE(C:0x0), ?PR?*, ?C*
+
+LINK_OBJ_RAM = bluetooth global_variable kb_process keyscan led sys adc ram
+
+#LINK_OBJ_LIB = 
+
+LINK_OBJ_TMP_RAM = $(addsuffix .obj,$(LINK_OBJ_LIB) $(LINK_OBJ_RAM)) ..\patch\ipc.obj ..\patch\utilities.obj ..\patch\gpio.obj ..\patch\iic.obj
+LINK_OBJ_DEPENDENCIES_RAM = $(addprefix $(OUTDIR)/, $(LINK_OBJ_TMP_RAM))
+LINK_OBJ_FILES_RAM = $(subst $(space),$(comma),$(LINK_OBJ_DEPENDENCIES_RAM))
+
+LINK_OBJ_TMP_ROM = $(addsuffix .obj,$(LINK_OBJ_ROM))
+LINK_OBJ_DEPENDENCIES_ROM = $(addprefix $(OUTDIR)/, $(LINK_OBJ_TMP_ROM))
+LINK_OBJ_FILES_ROM = $(subst $(space),$(comma),$(LINK_OBJ_DEPENDENCIES_ROM))
+
+
+.SUFFIXES: .a51
+RAM_BIN = $(RAMTARGET).rom
+
+
+PROG_FILE = ..\rom\program\c51.prog
+RAM_FILES = $(RAM_MIF) $(RAM_BIN) $(EEPROM_FILE) $(PROG_FILE)
+
+$(OUTDIR)/%.obj : %.c hwreg.h
+	$(C51) $< "$(C_OPTS)"
+
+$(OUTDIR)/%.obj : %.a51
+	$(A51) $< "$(ASM_OPTS)"
+
+all : $(RAM_FILES) 
+
+
+$(TARGET) : $(LINK_OBJ_DEPENDENCIES_RAM)
+	$(BL51) $(LINK_OBJ_FILES_RAM) TO $@ "$(LINK_OPTS)"
+
+$(TARGETHEX) : $(TARGET)
+	$(OH51) $(TARGET)
+
+
+$(RAM_BIN) : $(TARGETHEX)
+
+
+$(RAM_MIF) : $(TARGETHEX)
+	perl $(UTIL_PATH)\hex2mif.pl < $< rammif > $@
+
+
+$(EEPROM_FILE) : $(RAM_BIN)
+	cd ..\rom\output; ..\util\geneep.exe; cp eeprom.dat ..\..\sim 
+
+$(PROG_FILE) : $(RAM_BIN)
+#	perl $(UTIL_PATH)\setarg.pl $< c51 > $@
+
+clean:  
+	del /Q $(OUTDIR)\*.* 
+
+
+lib:
+	$(LIB51) TRANSFER $(OUTDIR)\ipc.obj TO $(OUTDIR)\yichip.LIB
+	
+ext:
+	$(LIB51) EXTRACT $(OUTDIR)\yichip.LIB (ipc) TO $(OUTDIR)\ipc.obj
Index: KG9013/c51/YCkbTool.bat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/YCkbTool.bat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/YCkbTool.bat	(working copy)
@@ -0,0 +1,77 @@
+@echo off
+title %~0
+:start
+set/p cmd=Please enter cmd, c/C for compiling, and d/D for downloading:
+if /I "%cmd%" equ "a" (goto compile_all)
+if /I "%cmd%" equ "A" (goto compile_all)
+if /I "%cmd%" equ "c" (goto compile)
+if /I "%cmd%" equ "C" (goto compile)
+if /I "%cmd%" equ "d" (goto download)
+if /I "%cmd%" equ "D" (goto download)
+if /I "%cmd%" equ "k" (goto reset)
+if /I "%cmd%" equ "K" (goto reset)
+if "%cmd%" equ "" (goto error)  else (goto error)
+
+:compile_all
+cd ..\btkb
+call do eep
+cd ..\c51
+
+:compile
+make clean
+make
+
+util\hex2mif.exe < output\fw.hex ram > output\fwram.rom
+copy .\patch\kb.dat + .\patch\rf.dat .\patch\sch.rom 
+
+cd util
+perl DeleteNote.pl ..\patch\sch.rom
+perl transform_name2addr.pl ..\patch\sch.rom ..\output\sched.rom ..\patch\memmap.format
+perl sortsched.pl ..\output\sched.rom ..\output\sched.rom
+cd ..
+
+copy .\patch\ramcode.rom .\output\
+copy .\patch\geneep.exe .\output\
+copy .\output\*.obj .\patch\*.obj
+
+copy .\util\eeprom2fulleeprom.exe .\eeprom2fulleeprom.exe
+copy .\util\crc16.exe .\crc16.exe
+
+cd output
+geneep geneep ramcode.rom fwram.rom sched.rom
+del *.lst
+del *.obj
+
+copy eeprom.dat ..\eeprom.dat
+cd ..
+eeprom2fulleeprom.exe eeprom.dat 128>compare2.dat
+crc16.exe compare2.dat 2 >.\output\eeprom.dat
+del eeprom.dat
+del compare2.dat
+del eeprom2fulleeprom.exe
+del crc16.exe
+
+:end
+set cmd=0
+echo/
+goto start
+
+:error
+echo Cmd error, enter again
+goto end
+
+:reset
+e pu
+e ku
+goto end
+
+:download
+e p
+e pu
+e ep
+e k
+e ku
+e a
+e au
+goto end
+
Index: KG9013/c51/adc.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/adc.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/adc.h	(working copy)
@@ -0,0 +1,48 @@
+#ifndef _ADC_H
+#define _ADC_H
+#include "common.h"
+
+#define ADC_ENABLE
+//#define ADC_TYPE_VINLPM			0x01	// 1.8V~3.6V
+//#define ADC_TYPE_HVIN			0x02	// 3.0~5.5V
+#define ADC_TYPE_GPIO			0x04	// 0~1.5V
+
+
+// GPIO5 0x30,   GPIO6 0x31,   GPIO7 0x32,
+//GPIO18 0x33,   GPIO19 0x34,   GPIO20 0x35,   GPIO21 0x36,    GPIO22 0x37
+#define ADC_CHANNEL				0x33
+
+
+#define BAT_STATUS_NONE			0
+#define BAT_STATUS_LOW				1
+#define BAT_STATUS_SHUT_DOWN		2
+
+//battery check
+#define BATTERY_CHECK_INTERVAL 		5			// 500ms*5 = 2.5s
+#define INIT_BATTERY_VALUE   				0x6767
+#define INIT_BATTERY_VALUE_GPIO			0x6666
+#define INIT_BATTERY_VALUE_VINLPM		0x5151
+#define LOW_BATTERY_FLASH_INTERVAL	4	
+
+// battery to gpio R = 1M
+#define LOW_BATTER_COEFFICIENT_1V1   	0.33
+#define LOW_BATTER_COEFFICIENT_1V0       0.46
+#define LOW_BATTER_COEFFICIENT_0V9	0.36
+
+#define LOW_BATTER_COEFFICIENT_2V2   	0.74
+#define LOW_BATTER_COEFFICIENT_2V0       0.67
+
+
+#define LOW_BATTER_COEFFICIENT_3V3   	1.11
+#define LOW_BATTER_COEFFICIENT_3V2       1.07
+#define LOW_BATTER_COEFFICIENT_3V1	1.04
+#define LOW_BATTER_COEFFICIENT_3V0	1.01
+
+
+void YC_adc_check_timer500ms();
+void YC_adc_check() ;
+void YC_adc_init();
+
+#endif /* YC_ADC_H */
+
+
Index: KG9013/c51/adc.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/adc.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/adc.c	(working copy)
@@ -0,0 +1,108 @@
+#include "adc.h"
+
+void YC_adc_init()
+{
+#ifdef  ADC_ENABLE
+	byte i;
+	
+	g_variable.battery_check_interval = BATTERY_CHECK_INTERVAL;
+	g_variable.battery_value_index = 0;
+
+#ifdef ADC_TYPE_HVIN 	
+	for (i = 0; i < BAT_ARRAY_LEN; i++)
+	{
+		g_variable.battery_value[i] = INIT_BATTERY_VALUE;
+	}
+
+	g_variable.battery_level_low = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_3V2+m_adc0vBase;
+	g_variable.battery_level_shutdown = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_3V0+m_adc0vBase;
+#endif
+#ifdef ADC_TYPE_VINLPM
+		for (i = 0; i < BAT_ARRAY_LEN; i++)
+		{
+			g_variable.battery_value[i] = INIT_BATTERY_VALUE_VINLPM;
+		}
+		g_variable.battery_level_low = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_2V2+m_adc0vBase;
+		g_variable.battery_level_shutdown = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_2V0+m_adc0vBase;
+#endif
+#ifdef ADC_TYPE_GPIO
+	m_adc_channel = ADC_CHANNEL;
+	for (i = 0; i < BAT_ARRAY_LEN; i++)
+	{
+		g_variable.battery_value[i] = INIT_BATTERY_VALUE_GPIO;
+	}
+		g_variable.battery_level_low = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_1V0+m_adc0vBase;
+		g_variable.battery_level_shutdown = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_0V9+m_adc0vBase;
+#endif	
+#endif
+}
+
+void YC_adc_check() 
+{
+#ifdef  ADC_ENABLE
+	byte i;
+	ulong batValue = 0;
+
+	g_variable.battery_value[g_variable.battery_value_index++] = m_adcCurrentValue;
+	if (g_variable.battery_value_index >= BAT_ARRAY_LEN)
+		g_variable.battery_value_index = 0;
+	for (i = 0; i < BAT_ARRAY_LEN; i++)
+	{
+		batValue += g_variable.battery_value[i];
+	}
+	batValue = batValue/BAT_ARRAY_LEN;
+
+	if(g_variable.battery_value[0] < g_variable.battery_level_shutdown)
+	{
+		g_variable.battery_status = BAT_STATUS_SHUT_DOWN;
+		IIC_Read(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+		if(g_variable.battary_shutdown_flag != 1)
+		{
+			g_variable.battary_shutdown_flag = 1;
+			GPIO_Setout(EEPROM_WP_GPIO,0);
+			IIC_WriteBlock(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+			GPIO_Setout(EEPROM_WP_GPIO,1);
+		}
+	}
+	else
+	{
+		if (batValue < g_variable.battery_level_low)
+		{
+			g_variable.battery_status = BAT_STATUS_LOW;
+			m_24g_enter_hibernate[2] = 0x12;		// 100ms
+		}
+		else
+		{
+			g_variable.battery_status = BAT_STATUS_NONE;
+			m_24g_enter_hibernate[2] = 0x5d;		// 510ms
+		}
+		
+		IIC_Read(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+		if(g_variable.battary_shutdown_flag == 1)
+		{
+			g_variable.battary_shutdown_flag = 0;
+			IIC_write(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+		}
+
+	}
+#endif	
+}
+
+
+void YC_adc_check_timer500ms()
+{
+#ifdef  ADC_ENABLE
+	// adc check timer	
+	if (g_variable.battery_check_interval)
+	{
+		g_variable.battery_check_interval--;
+		if (g_variable.battery_check_interval == 0)
+		{
+			g_variable.battery_check_interval = BATTERY_CHECK_INTERVAL;
+			YC_adc_check();
+		}
+	}
+#endif	
+}
+
+
Index: KG9013/c51/bluetooth.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/bluetooth.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/bluetooth.h	(working copy)
@@ -0,0 +1,31 @@
+#ifndef _BLUETOOTH_H
+#define _BLUETOOTH_H
+#include "common.h"
+
+
+#define DEVICE_MODE_BT_ONLY	0
+#define DEVICE_MODE_BLE_ONLY	1
+#define DEVICE_MODE_BT_BLE		0
+
+#define TYPE_BLE			0x01
+#define TYPE_BT			0x02
+#define TYPE_24G			0x03
+
+
+void YC_load_record_list(byte index);
+void YC_store_record_list(byte link_type,byte index);
+byte YC_check_is_connected();
+byte YC_check_need_reconnected();
+void YC_clear_reconnect_flag();
+byte YC_disconnect_all_link();
+void YC_start_reconnect();
+void YC_update_eeprom_data();
+
+
+void YC_get_ble_ramdon_lap();
+void  YC_clear_BT_same_address_record();
+
+
+#endif /* _BLUETOOTH_H */
+
+
Index: KG9013/c51/bluetooth.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/bluetooth.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/bluetooth.c	(working copy)
@@ -0,0 +1,83 @@
+#include "bluetooth.h"
+
+
+byte YC_check_is_connected()
+{
+	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+	{
+		return 1;
+	}
+	return 0;
+}
+
+byte YC_check_need_reconnected()
+{
+	byte return_val = 0;
+
+	if(g_variable.pairing_g24_timeout)
+		return return_val;
+
+	if(g_variable.battary_shutdown_flag == 1)
+		return return_val;
+	
+	if (g_variable.g24_currentState != CHANGE_TO_24G_CONNECTED)
+	{
+		if(g_variable.recon_delay == 0)
+		{
+			g_variable.recon_delay = 10;
+			if ((g_variable.recon_count == 0)
+			&& (power_on_flag == 2))
+			{				
+				YC_key_action_handle(KEY_OPEN_24G);
+				return_val = 1;
+			}
+		}
+	}
+	else
+	{
+		g_variable.release_data = 0;
+		return_val = 1;
+	}
+	return return_val;
+}
+
+
+void YC_clear_reconnect_flag()  
+{
+	g_variable.recon_count = 0;
+}
+
+
+byte YC_disconnect_all_link()
+{
+	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED 
+		||g_variable.g24_currentState == CHANGE_TO_24G_CONNECTING)
+	{
+		IPC_TxControlCmd(IPC_CMD_STOP_24G);
+		return 1;
+	}
+	return 0;
+}
+
+
+void YC_start_reconnect()
+{
+	power_on_flag = 2;
+	YC_key_action_handle(KEY_START_24G);
+}
+
+
+void YC_update_eeprom_data()
+{
+	if (g_variable.update_eeprom_flag)				//bt3.0  bt4.2 record information save
+	{
+		Delay1ms(200);
+		GPIO_Setout(EEPROM_WP_GPIO,0);
+		IIC_WriteBlock(EEPROM_RECON_INFO_BASE_6+2,4 , (byte *)m_24g_addr);
+		IIC_WriteBlock(EEPROM_RECON_INFO_SYTEM_MODE ,1 ,(byte *)&g_variable.system_mode);
+		GPIO_Setout(EEPROM_WP_GPIO,1);
+		Delay1ms(10);
+		g_variable.update_eeprom_flag = 0;
+	}
+}
+
Index: KG9013/c51/btreg.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/btreg.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/btreg.h	(working copy)
@@ -0,0 +1,1140 @@
+#ifndef _BT_REG_H_
+#define _BT_REG_H_
+#define	mem_le_adv_transmit                     	0x0000
+#define	mem_le_adv_waitcnt                      	0x0001
+#define	mem_le_adv_rcv                          	0x0002
+#define	mem_le_req_rcv                          	0x0003
+#define	mem_le_scanrsp_rcv                      	0x0004
+#define	mem_le_conn_rcv                         	0x0005
+#define	mem_inquiryscan_waitcnt                 	0x0006
+#define	mem_inquiryscan_rcvcnt                  	0x0007
+#define	mem_pagescan_waitcnt                    	0x0008
+#define	mem_pagescan_rcvcnt                     	0x0009
+#define	mem_pagescan_rcvfhscnt                  	0x000a
+#define	mem_slave_rcvcnt                        	0x000b
+#define	mem_page_transmit                       	0x000c
+#define	mem_page_rcv                            	0x000d
+#define	mem_page_rcv_fhs                        	0x000e
+#define	mem_master_rcvcnt                       	0x000f
+#define	mem_fhs_wait_counter                    	0x0010
+#define	mem_newconnto_counter                   	0x0011
+#define	mem_inquiry_transmit                    	0x0012
+#define	mem_inquiry_rcv                         	0x0013
+#define	mem_fw_ver                              	0x0014
+#define	mem_current_context                     	0x0015
+#define	mem_le_ch_mapped                        	0x0016
+#define	mem_last_freq                           	0x0017
+#define	mem_rssi                                	0x0018
+#define	mem_rx_type                             	0x0019
+#define	mem_rx_hec_err                          	0x001a
+#define	mem_rx_crc_err                          	0x001c
+#define	mem_context_ptr                         	0x001e
+#define	mem_display                             	0x0020
+#define	mem_bcd                                 	0x0028
+#define	mem_state                               	0x0030
+#define	mem_mode                                	0x0031
+#define	mem_tsniff                              	0x0032
+#define	mem_sniff_anchor                        	0x0034
+#define	mem_clk_offset                          	0x0038
+#define	mem_rx_window                           	0x003e
+#define	mem_plap                                	0x0040
+#define	mem_puap                                	0x0043
+#define	mem_pnap                                	0x0044
+#define	mem_conn_handle                         	0x0046
+#define	mem_arq                                 	0x0047
+#define	mem_lmp_to_send                         	0x0048
+#define	mem_lmi_opcode                          	0x0049
+#define	mem_lmo_reason                          	0x004a
+#define	mem_op                                  	0x004b
+#define	mem_state_map                           	0x004c
+#define	mem_supervision_timer                   	0x004d
+#define	mem_supervision_to                      	0x0051
+#define	mem_name_offset                         	0x0053
+#define	mem_key_size                            	0x0054
+#define	mem_conn_sm                             	0x0055
+#define	mem_aco                                 	0x0056
+#define	mem_kc                                  	0x0062
+#define	mem_conn_timer                          	0x0072
+#define	mem_sniff_attempt                       	0x0073
+#define	mem_sniff_timeout                       	0x0074
+#define	mem_dsniff                              	0x0075
+#define	mem_amaddr                              	0x0077
+#define	mem_lmo_opcode1                         	0x0078
+#define	mem_lmi_opcode1                         	0x0079
+#define	mem_lmo_reason1                         	0x007a
+#define	mem_lmo_tid1                            	0x007b
+#define	mem_lmo_opcode2                         	0x007c
+#define	mem_lmi_opcode2                         	0x007d
+#define	mem_lmo_reason2                         	0x007e
+#define	mem_lmo_tid2                            	0x007f
+#define	mem_hci_version                         	0x0080
+#define	mem_acl_pktlen                          	0x0083
+#define	mem_sco_pktlen                          	0x0085
+#define	mem_acl_pktcnt                          	0x0086
+#define	mem_sco_pktcnt                          	0x0088
+#define	mem_current_sniff_attempt               	0x008a
+#define	mem_current_sniff_timeout               	0x008b
+#define	mem_nfreq_index_inq                     	0x008c
+#define	mem_nfreq_index_page                    	0x008d
+#define	mem_ninqy_index                         	0x008e
+#define	mem_fhs_misc                            	0x008f
+#define	mem_tx_lch                              	0x0090
+#define	mem_tx_len                              	0x0091
+#define	mem_subsniff_instant                    	0x0093
+#define	mem_subsniff_rate                       	0x0097
+#define	mem_subsniff_tcmax                      	0x0098
+#define	mem_subsniff_tsniff                     	0x009a
+#define	mem_lpm_adjust                          	0x009b
+#define	mem_sync_clke                           	0x009c
+#define	mem_lpm_current_mult                    	0x00a2
+#define	mem_gpio_wakeup_low                     	0x00a3
+#define	mem_gpio_wakeup_high                    	0x00a7
+#define	mem_air_mode                            	0x00ab
+#define	mem_sco_asso_handle                     	0x00ac
+#define	mem_sco_handle                          	0x00ad
+#define	mem_esco_desco                          	0x00af
+#define	mem_esco_type                           	0x00b0
+#define	mem_neogotiation_state                  	0x00b1
+#define	mem_saved_amaddr                        	0x00b2
+#define	mem_esco_arq                            	0x00b3
+#define	mem_esco_saved_arq                      	0x00b4
+#define	mem_sco_obuf                            	0x00b5
+#define	mem_sco_ibuf                            	0x00d3
+#define	mem_sco_poll                            	0x00f1
+#define	mem_npage_index                         	0x00f2
+#define	mem_page_mode                           	0x00f3
+#define	mem_page_clk                            	0x00f4
+#define	mem_tst_pktcnt_sync                     	0x00f8
+#define	mem_tst_pktcnt_hec                      	0x00fa
+#define	mem_tst_pktcnt_crc                      	0x00fc
+#define	mem_tst_pktcnt_dmh                      	0x00fe
+#define	mem_tmp_buffer_head                     	0x0100
+#define	mem_tmp_buffer                          	0x0103
+#define	mem_tester_emulate                      	0x0153
+#define	mem_temp_payload                        	0x0154
+#define	test_mode_scenario                      	0x0154
+#define	test_mode_hopping_mode                  	0x0155
+#define	test_mode_tx_freq                       	0x0156
+#define	test_mode_rx_freq                       	0x0157
+#define	test_mode_power_mode                    	0x0158
+#define	test_mode_poll_period                   	0x0159
+#define	test_mode_packet_type                   	0x015a
+#define	test_mode_data_length                   	0x015b
+#define	mem_test_mode_old_debug_config          	0x015d
+#define	mem_tester_cnt                          	0x015e
+#define	mem_temp_am_addr                        	0x015f
+#define	mem_temp_arq                            	0x0160
+#define	mem_pdatatemp                           	0x0161
+#define	mem_len                                 	0x0169
+#define	mem_clkn_bt                             	0x016b
+#define	mem_clke_bt                             	0x016f
+#define	mem_dpll_clkn                           	0x0173
+#define	mem_connection_options                  	0x0177
+#define	mem_nameres_cnt                         	0x0178
+#define	mem_txptr                               	0x0179
+#define	mem_slot_offset                         	0x017b
+#define	extm_fhs_misc                           	0x017d
+#define	extm_newconn_am_addr                    	0x017e
+#define	extm_class                              	0x017f
+#define	extm_lap                                	0x0182
+#define	extm_uap                                	0x0185
+#define	extm_nap                                	0x0186
+#define	mem_debug_config                        	0x0189
+#define	mem_lch_code                            	0x018a
+#define	mem_fhs_am_addr                         	0x018b
+#define	mem_dpll_error                          	0x018c
+#define	mem_bdaddr_list_buff                    	0x018e
+#define	mem_select_list_item                    	0x01b2
+#define	mem_temp_reconn_record                  	0x01b3
+#define	mem_record_bt_mode                      	0x01b3
+#define	mem_temp_lap                            	0x01b4
+#define	mem_list_item_ptr                       	0x01ba
+#define	mem_eir                                 	0x01bc
+#define	mem_ucode_status                        	0x0220
+#define	mem_otp_ucode_flag                      	0x0221
+#define	mem_spid_tbuf                           	0x0223
+#define	mem_iicd_tbuf                           	0x0224
+#define	mem_addr_hi                             	0x0224
+#define	mem_addr_mi                             	0x0225
+#define	mem_addr_lo                             	0x0226
+#define	mem_iicd_addr                           	0x0227
+#define	mem_spid_rbuf                           	0x0228
+#define	mem_ucode_buf                           	0x022c
+#define	mem_ucode_len                           	0x022e
+#define	mem_sched_addr                          	0x0230
+#define	mem_ucode_ptr                           	0x0232
+#define	mem_ucode_keybuf                        	0x0234
+#define	mem_check_plap_temp                     	0x0244
+#define	mem_sensor_id                           	0x0256
+#define	mem_reconnect_flag                      	0x0257
+#define	mem_switch_fail_master_count            	0x0258
+#define	mem_app_evt_timer_count                 	0x0259
+#define	mem_dongle_count                        	0x025a
+#define	mem_le_addr_slave1                      	0x025b
+#define	mem_le_addr_slave2                      	0x0261
+#define	mem_le_peer_state                       	0x0267
+#define	mem_app_peer_addr                       	0x0268
+#define	mem_dongle_peers                        	0x026e
+#define	mem_dongle_pairing_cnt                  	0x026f
+#define	mem_dongle_signature                    	0x0270
+#define	mem_h5rx_ackcnt                         	0x0272
+#define	mem_check_err_acl_cont                  	0x0273
+#define	mem_rp_packets                          	0x0274
+#define	mem_packet_type                         	0x0275
+#define	mem_hci_sniff_conn_handle               	0x0277
+#define	mem_hci_sniff_max_interval              	0x0279
+#define	mem_hci_sniff_min_interval              	0x027b
+#define	mem_hci_sniff_attempt                   	0x027d
+#define	mem_hci_sniff_timeout                   	0x027f
+#define	mem_voice_setting                       	0x0281
+#define	mem_retransmission_effort               	0x0283
+#define	mem_sco_ptype                           	0x0284
+#define	mem_extm_uap_restore                    	0x0286
+#define	mem_h5rx_rptr                           	0x0289
+#define	mem_h5rx_ack                            	0x028b
+#define	mem_h5tx_ack                            	0x028c
+#define	mem_h5tx_rptr                           	0x028d
+#define	mem_h5tx_wptr                           	0x028f
+#define	mem_h5tx_free                           	0x0291
+#define	mem_h5rx_tmp                            	0x0293
+#define	mem_h5tx_seq                            	0x0294
+#define	mem_hci_acl_queue_wptr                  	0x0295
+#define	mem_hci_acl_queue_rptr                  	0x0297
+#define	mem_hci_acl_queue_end                   	0x0299
+#define	mem_hci_acl_queue_wcnt                  	0x029b
+#define	mem_hci_acl_cnt                         	0x029c
+#define	mem_hci_acl_tx_trigger_wptr             	0x029d
+#define	mem_ucode_id_local                      	0x029f
+#define	mem_temp                                	0x02a0
+#define	mem_timeup                              	0x02a8
+#define	mem_rega                                	0x02ac
+#define	mem_regb                                	0x02b0
+#define	mem_regc                                	0x02b4
+#define	mem_contr                               	0x02b7
+#define	mem_contw                               	0x02b9
+#define	mem_ucode_id_remote                     	0x02bb
+#define	mem_check_sum                           	0x02bc
+#define	mem_ucode_temp                          	0x02bd
+#define	mem_ucode_temp1                         	0x02be
+#define	mem_lock_in_enc                         	0x02bf
+#define	mem_hci_disconn_reason                  	0x02c0
+#define	mem_hci_curr_len                        	0x02c1
+#define	mem_hci_curr_target                     	0x02c2
+#define	mem_l2cap_mem_start                     	0x02c4
+#define	mem_l2cap_rxbuff1_len                   	0x02c4
+#define	mem_l2cap_rxbuff2_len                   	0x02c6
+#define	mem_l2cap_rxbuff_new                    	0x02c8
+#define	mem_l2cap_rxbuff_inuse                  	0x02ca
+#define	mem_l2cap_payload_ptr                   	0x02cb
+#define	mem_l2cap_rx_pkt_length                 	0x02cd
+#define	mem_l2cap_rx_cid                        	0x02cf
+#define	mem_l2cap_rx_done                       	0x02d1
+#define	mem_l2cap_signal_tx_buff_ptr            	0x02d2
+#define	mem_l2cap_signal_tx_payload_ptr         	0x02d4
+#define	mem_l2cap_signal_tx_length              	0x02d6
+#define	mem_sdp_tx_buff_ptr                     	0x02d8
+#define	mem_sdp_tx_payload_ptr                  	0x02da
+#define	mem_sdp_tx_pkt_length                   	0x02dc
+#define	mem_rfcomm_tx_buff_ptr                  	0x02de
+#define	mem_rfcomm_tx_payload_ptr               	0x02e0
+#define	mem_rfcomm_tx_pkt_length                	0x02e2
+#define	memL2CAP_T1                             	0x02e4
+#define	mem_CONTROL_tasks                       	0x02e6
+#define	mem_send_config_req                     	0x02e7
+#define	mem_config_identifier                   	0x02e8
+#define	mem_config_req_dest_CID                 	0x02e9
+#define	mem_rfcomm_malloc_fail_flag             	0x02eb
+#define	mem_message_to_uppersm                  	0x02ec
+#define	mem_upper_sm_remote_page                	0x02ed
+#define	mem_upper_sm_reconn                     	0x02ee
+#define	mem_upper_sm_ss                         	0x02ef
+#define	mem_tx_malloc_log                       	0x02f0
+#define	mem_l2cap_mem_end                       	0x0330
+#define	mem_scid                                	0x0330
+#define	mem_cmd_length                          	0x0332
+#define	mem_tt2                                 	0x0334
+#define	mem_tt3                                 	0x0336
+#define	mem_id                                  	0x0338
+#define	mem_psm                                 	0x033a
+#define	mem_l2cap_sdpres_delay_time             	0x033c
+#define	mem_le_rxbuf                            	0x0340
+#define	mem_le_mic                              	0x0378
+#define	mem_le_peer_mic                         	0x037c
+#define	mem_le_skdm                             	0x0380
+#define	mem_le_skds                             	0x0388
+#define	mem_le_peer_ltk                         	0x0390
+#define	mem_le_my_ltk                           	0x03a0
+#define	mem_le_mrand                            	0x03b0
+#define	mem_le_state                            	0x03c0
+#define	mem_le_mode                             	0x03c1
+#define	mem_le_tsniff                           	0x03c2
+#define	mem_le_anchor                           	0x03c4
+#define	mem_le_clk_offset                       	0x03c8
+#define	mem_le_receive_window                   	0x03ce
+#define	mem_le_plap                             	0x03d0
+#define	mem_le_conn_handle                      	0x03d6
+#define	mem_le_arq                              	0x03d7
+#define	mem_le_ch                               	0x03d8
+#define	mem_le_hop                              	0x03d9
+#define	mem_le_event_count                      	0x03da
+#define	mem_le_supervision_timer                	0x03dc
+#define	mem_le_instant                          	0x03e0
+#define	mem_le_channels                         	0x03e2
+#define	mem_le_conn_sm                          	0x03e3
+#define	mem_le_op                               	0x03e4
+#define	mem_le_access                           	0x03e5
+#define	mem_le_crcinit                          	0x03e9
+#define	mem_le_window_size                      	0x03ec
+#define	mem_le_slave_latency                    	0x03ed
+#define	mem_le_superto                          	0x03ef
+#define	mem_le_channel_map                      	0x03f1
+#define	mem_le_no_using                         	0x03f6
+#define	mem_le_peer_sca                         	0x03f8
+#define	mem_le_att_opcode                       	0x03f9
+#define	mem_le_att_handle                       	0x03fa
+#define	mem_le_err_code                         	0x03fc
+#define	mem_le_sk                               	0x03fd
+#define	mem_le_testtype                         	0x040d
+#define	mem_le_test_sync                        	0x040e
+#define	mem_le_test_pcnt                        	0x0410
+#define	mem_le_rxon_ts                          	0x0412
+#define	mem_le_rx_ll_opcode                     	0x0418
+#define	mem_le_notify_attr_start                	0x0419
+#define	mem_le_notify_len                       	0x041b
+#define	mem_cmd_le_create_conn                  	0x041c
+#define	mem_le_adv_temp                         	0x041d
+#define	mem_24g_id                              	0x0431
+#define	mem_lmo_header_length                   	0x0432
+#define	mem_lmo_header_opcode                   	0x0433
+#define	mem_lmo_payload                         	0x0434
+#define	mem_lmi_accepted_opcode                 	0x0445
+#define	mem_disconn_reason_send                 	0x0446
+#define	mem_tx_fixed_freq                       	0x0447
+#define	mem_rx_fixed_freq                       	0x0448
+#define	mem_ext_features_page                   	0x0449
+#define	mem_lmpext_ssp_enable                   	0x044a
+#define	mem_remote_sppcap                       	0x044c
+#define	mem_lmp_conn_state                      	0x044d
+#define	mem_soft_timer                          	0x044e
+#define	mem_pincode_state                       	0x0450
+#define	mem_sres_tid                            	0x0451
+#define	mem_accptsco_tid                        	0x0452
+#define	mem_auth_enable                         	0x0453
+#define	mem_wait_encryption                     	0x0454
+#define	mem_sniff_payload                       	0x0455
+#define	mem_aurand_send_delay_time              	0x0465
+#define	mem_module_temp_len                     	0x0469
+#define	mem_init_cnt                            	0x046b
+#define	mem_prcp_data                           	0x046d
+#define	mem_prcp                                	0x0481
+#define	mem_prcp_tx_len                         	0x0482
+#define	rx_buf_data_ptr                         	0x0483
+#define	memRemoteRPNBitRate                     	0x0485
+#define	memRemotePRNDataBits                    	0x0486
+#define	memRemotePRNStopBit                     	0x0487
+#define	memRemotePRNParity                      	0x0488
+#define	memRemotePRNFlowControl                 	0x0489
+#define	memRemotePRNXon                         	0x048a
+#define	memRemotePRNXoff                        	0x048b
+#define	mem_mod2div_temp                        	0x048c
+#define	mem_contw_temp                          	0x048f
+#define	mem_attrib_list                         	0x0491
+#define	mem_current_adss                        	0x0493
+#define	mem_current_channel                     	0x0494
+#define	mem_current_frame_type                  	0x0495
+#define	mem_current_fcs                         	0x0496
+#define	mem_current_length                      	0x0497
+#define	mem_rfcomm_uih_payload_ptr              	0x0499
+#define	mem_uih_cmd_type                        	0x049b
+#define	mem_uih_length                          	0x049c
+#define	mem_param_payload_ptr                   	0x049e
+#define	mem_ms_param                            	0x04a0
+#define	mem_pn_credit_flow_type_info            	0x04a1
+#define	mem_pn_priority                         	0x04a2
+#define	mem_pn_acknowledg_timer                 	0x04a3
+#define	mem_pn_max_retrans                      	0x04a4
+#define	mem_rfcomm_send_adss                    	0x04a5
+#define	mem_rfcomm_send_frame_type              	0x04a6
+#define	mem_rfcomm_send_fcs                     	0x04a7
+#define	mem_rfcomm_send_offset                  	0x04a8
+#define	mem_sdp_mem_start                       	0x04a9
+#define	mem_uuid_search_pat                     	0x04a9
+#define	mem_sdp_continue_byte                   	0x04ad
+#define	mem_sdp_pduid                           	0x04af
+#define	mem_sdp_transactionid                   	0x04b0
+#define	mem_sdp_attribute_maxbyte               	0x04b2
+#define	mem_sdp_record_maxcnt                   	0x04b4
+#define	mem_sdp_error_code                      	0x04b6
+#define	mem_sdp_record_handle                   	0x04be
+#define	mem_sdp_search_failed                   	0x04c2
+#define	mem_sdp_LACAP_found                     	0x04c3
+#define	mem_sdp_RFCOMM_found                    	0x04c4
+#define	mem_handle_list                         	0x04c5
+#define	mem_handle_humber                       	0x04dd
+#define	mem_sdp_mem_end                         	0x04de
+#define	mem_rxbuf                               	0x04de
+#define	mem_random_number                       	0x04ef
+#define	mem_round_key                           	0x04ff
+#define	mem_kinit                               	0x050f
+#define	mem_input_store                         	0x051f
+#define	mem_x                                   	0x052f
+#define	mem_y                                   	0x053f
+#define	mem_y15                                 	0x054e
+#define	mem_pin_length                          	0x054f
+#define	mem_pin                                 	0x0550
+#define	mem_key_store                           	0x0560
+#define	mem_key_store_end                       	0x0571
+#define	memp_ar_key                             	0x0572
+#define	memp_ar_input                           	0x0574
+#define	mem_ar_hround                           	0x0576
+#define	mem_ec_infinite                         	0x0580
+#define	mem_ec_loopc                            	0x0581
+#define	memdat                                  	0x0582
+#define	mem_ax                                  	0x0582
+#define	mem_ay                                  	0x059a
+#define	mem_az                                  	0x05b2
+#define	mem_bx                                  	0x05ca
+#define	mem_by                                  	0x05e2
+#define	mem_bz                                  	0x05fa
+#define	mem_cx                                  	0x0612
+#define	mem_cy                                  	0x062a
+#define	mem_cy5                                 	0x0641
+#define	mem_cz                                  	0x0642
+#define	mem_k                                   	0x065a
+#define	mem_align                               	0x0672
+#define	mem_tmp1                                	0x0682
+#define	memahbak                                	0x0682
+#define	mem_tmp5                                	0x069a
+#define	memahsave                               	0x06a2
+#define	mem_tmp2                                	0x06b2
+#define	memahsave_end                           	0x06c2
+#define	mem_addr_padding                        	0x06c2
+#define	mem_addr_value                          	0x06c3
+#define	mem_tmp3                                	0x06ca
+#define	mem_t1                                  	0x06ca
+#define	mem_addr_value_end                      	0x06cf
+#define	mem_addr_iocap_end                      	0x06d2
+#define	mem_tmp0                                	0x06e2
+#define	mem_t0                                  	0x06e2
+#define	mem_tmp0a                               	0x06ea
+#define	mem_t2                                  	0x06fa
+#define	mem_t3                                  	0x0712
+#define	mem_t7                                  	0x072a
+#define	mem_p                                   	0x0742
+#define	mem_a                                   	0x075a
+#define	mem_b                                   	0x0772
+#define	mem_gx                                  	0x078a
+#define	mem_gy                                  	0x07a2
+#define	memh0                                   	0x07ba
+#define	mem_sp_state_start                      	0x07da
+#define	mem_sp_state                            	0x07da
+#define	mem_master_sp_state                     	0x07db
+#define	mem_sp_flag                             	0x07dc
+#define	mem_master_sp_flag                      	0x07dd
+#define	mem_sp_calc                             	0x07de
+#define	mem_sp_dh_ready                         	0x07df
+#define	mem_sp_localsm                          	0x07e0
+#define	mem_pairing_auth                        	0x07e1
+#define	mem_sp_flag_start                       	0x07e2
+#define	mem_sp_local_key_send_count             	0x07e2
+#define	mem_sp_remote_key_recv_count            	0x07e3
+#define	mem_sp_remote_key_invalid               	0x07e4
+#define	mem_sp_dhkey_invalid                    	0x07e5
+#define	mem_sp_iocap_local                      	0x07e6
+#define	mem_sp_iocap_remote                     	0x07e9
+#define	mem_sp_gkey                             	0x07ec
+#define	mem_sp_pubkey_remote                    	0x07f0
+#define	mem_sp_pubkey_remote_x                  	0x07f0
+#define	mem_sp_pubkey_remote_x_end              	0x0808
+#define	mem_sp_pubkey_remote_y                  	0x0808
+#define	mem_sp_dhkey                            	0x0820
+#define	mem_sp_dhkey_end                        	0x0838
+#define	mem_sp_random_local                     	0x0838
+#define	mem_sp_random_local_end                 	0x0848
+#define	mem_sp_random_remote                    	0x0848
+#define	mem_sp_random_remote_end                	0x0858
+#define	memresult                               	0x0858
+#define	mem_sp_calc_result                      	0x0858
+#define	memh                                    	0x0858
+#define	memg                                    	0x085c
+#define	memf                                    	0x0860
+#define	meme                                    	0x0864
+#define	mem_sp_calc_result_high                 	0x0868
+#define	memd                                    	0x0868
+#define	memc                                    	0x086c
+#define	memb                                    	0x0870
+#define	mema                                    	0x0874
+#define	mem_sp_check_result                     	0x0878
+#define	mem_sp_confirm_remote                   	0x0888
+#define	mem_sp_prarm_stack                      	0x0898
+#define	mem_UI_data_txbuff_length               	0x08a8
+#define	mem_ipc_skip_continue_proc              	0x08aa
+#define	mem_ui_timer_temp                       	0x08ab
+#define	mem_ipc_rega_temp                       	0x08ab
+#define	mem_usb_status                          	0x08af
+#define	mem_usb_fifo_empty                      	0x08b0
+#define	mem_usb_read_len                        	0x08b1
+#define	mem_usb_rxbuf                           	0x08b2
+#define	mem_usb_cnt                             	0x08f2
+#define	mem_usb_tx_enable                       	0x08f4
+#define	mem_usb_tx_count                        	0x08f5
+#define	mem_usb_set_protocol_count              	0x08f6
+#define	mem_usb_desc                            	0x08f7
+#define	mem_usb_state                           	0x08f8
+#define	mem_usb_idle_cnt                        	0x08f9
+#define	mem_usb_idle_timeout                    	0x08fb
+#define	mem_usb_trig_timeout                    	0x08fd
+#define	mem_usb_setup                           	0x08ff
+#define	mem_usb_setup_bmRequestType             	0x08ff
+#define	mem_usb_setup_bRequest                  	0x0900
+#define	mem_usb_setup_bValue                    	0x0901
+#define	mem_usb_setup_bValueH                   	0x0902
+#define	mem_usb_setup_wIndex                    	0x0903
+#define	mem_usb_setup_bLength                   	0x0905
+#define	mem_usb_setup_bLengthH                  	0x0906
+#define	mem_usb0_setup                          	0x0907
+#define	mem_bufptr                              	0x090f
+#define	mem_remain                              	0x0911
+#define	mem_devicedesc                          	0x0912
+#define	mem_hidreportdesc_kb                    	0x0926
+#define	mem_hidreportdesc_m                     	0x09ee
+#define	mem_confdesc                            	0x0ab6
+#define	mem_string0                             	0x0b1a
+#define	mem_string1                             	0x0b1f
+#define	mem_string2                             	0x0b3d
+#define	mem_string3                             	0x0b5b
+#define	mem_hold_contr                          	0x0b79
+#define	mem_hold_contw                          	0x0b7b
+#define	mem_fifo_temp                           	0x0b7d
+#define	mem_c51_flag                            	0x0b7e
+#define	mem_c51_lpm_lock                        	0x0b7f
+#define	mem_c51_wait_lpm                        	0x0b80
+#define	mem_wakup_from_power_flag               	0x0b81
+#define	mem_lmp_bb_disconnect_reason            	0x0b82
+#define	mem_c51_eeprom_buf                      	0x0b83
+#define	mem_c51_ipc_txbuf                       	0x0be7
+#define	mem_c51_ipc_rxbuf                       	0x0c4b
+#define	mem_c51_iicd_buf                        	0x0caf
+#define	mem_24g_rxbuf                           	0x0cb3
+#define	mem_24g_txbuf                           	0x0cd5
+#define	mem_24g_txpayload                       	0x0cf5
+#define	mem_24g_rxpayload                       	0x0d17
+#define	mem_24g_common_temp                     	0x0d37
+#define	mem_packet_length_temp                  	0x0d57
+#define	mem_le_cur_handle_start                 	0x0d58
+#define	mem_le_cur_handle_end                   	0x0d5a
+#define	mem_le_search_res                       	0x0d5c
+#define	mem_patch00                             	0x4000
+#define	mem_patch01                             	0x4001
+#define	mem_patch02                             	0x4002
+#define	mem_patch03                             	0x4003
+#define	mem_patch04                             	0x4004
+#define	mem_patch05                             	0x4005
+#define	mem_patch06                             	0x4006
+#define	mem_patch07                             	0x4007
+#define	mem_patch08                             	0x4008
+#define	mem_patch09                             	0x4009
+#define	mem_patch0a                             	0x400a
+#define	mem_patch0b                             	0x400b
+#define	mem_patch0c                             	0x400c
+#define	mem_patch0d                             	0x400d
+#define	mem_patch0e                             	0x400e
+#define	mem_patch0f                             	0x400f
+#define	mem_patch10                             	0x4010
+#define	mem_patch11                             	0x4011
+#define	mem_patch12                             	0x4012
+#define	mem_patch13                             	0x4013
+#define	mem_patch14                             	0x4014
+#define	mem_patch15                             	0x4015
+#define	mem_patch16                             	0x4016
+#define	mem_patch17                             	0x4017
+#define	mem_patch18                             	0x4018
+#define	mem_patch19                             	0x4019
+#define	mem_patch1a                             	0x401a
+#define	mem_patch1b                             	0x401b
+#define	mem_patch1c                             	0x401c
+#define	mem_patch1d                             	0x401d
+#define	mem_patch1e                             	0x401e
+#define	mem_patch1f                             	0x401f
+#define	mem_patch20                             	0x4020
+#define	mem_patch21                             	0x4021
+#define	mem_patch22                             	0x4022
+#define	mem_patch23                             	0x4023
+#define	mem_patch24                             	0x4024
+#define	mem_patch25                             	0x4025
+#define	mem_patch26                             	0x4026
+#define	mem_patch27                             	0x4027
+#define	mem_patch28                             	0x4028
+#define	mem_patch29                             	0x4029
+#define	mem_patch2a                             	0x402a
+#define	mem_patch2b                             	0x402b
+#define	mem_patch2c                             	0x402c
+#define	mem_patch2d                             	0x402d
+#define	mem_patch2e                             	0x402e
+#define	mem_patch2f                             	0x402f
+#define	mem_patch30                             	0x4030
+#define	mem_patch31                             	0x4031
+#define	mem_patch32                             	0x4032
+#define	mem_patch33                             	0x4033
+#define	mem_patch34                             	0x4034
+#define	mem_patch35                             	0x4035
+#define	mem_patch36                             	0x4036
+#define	mem_patch37                             	0x4037
+#define	mem_patch38                             	0x4038
+#define	mem_patch39                             	0x4039
+#define	mem_patch3a                             	0x403a
+#define	mem_patch3b                             	0x403b
+#define	mem_patch3c                             	0x403c
+#define	mem_patch3d                             	0x403d
+#define	mem_patch3e                             	0x403e
+#define	mem_patch3f                             	0x403f
+#define	mem_context                             	0x4040
+#define	mem_current_amaddr                      	0x4130
+#define	mem_lpm_mode                            	0x4131
+#define	mem_device_option                       	0x4132
+#define	mem_scan_mode                           	0x4133
+#define	mem_last_clkn                           	0x4134
+#define	mem_features                            	0x4138
+#define	mem_lap                                 	0x4140
+#define	mem_uap                                 	0x4143
+#define	mem_nap                                 	0x4144
+#define	mem_npage                               	0x4146
+#define	mem_glap                                	0x4147
+#define	mem_class                               	0x414a
+#define	mem_iscan_window                        	0x414d
+#define	mem_iscan_interval                      	0x414f
+#define	mem_pscan_window                        	0x4151
+#define	mem_pscan_interval                      	0x4153
+#define	mem_page_interval                       	0x4155
+#define	mem_page_window                         	0x4157
+#define	mem_page_to                             	0x4159
+#define	mem_inq_window                          	0x415b
+#define	mem_fcomp_mul                           	0x415d
+#define	mem_fcomp_div                           	0x415e
+#define	mem_rx_window_init                      	0x415f
+#define	mem_rx_window_sniff                     	0x4161
+#define	mem_rf_init_ptr                         	0x4163
+#define	mem_last_type                           	0x4165
+#define	mem_last_type_esco                      	0x4166
+#define	mem_last_type_saved                     	0x4167
+#define	mem_retransmission_cnt                  	0x4168
+#define	mem_next_btclk                          	0x416a
+#define	mem_seqi                                	0x416e
+#define	mem_rf_rccal                            	0x416f
+#define	mem_handle_num                          	0x4170
+#define	mem_max_slot                            	0x4171
+#define	mem_eir_enable                          	0x4172
+#define	mem_afh_instant                         	0x4173
+#define	mem_afh_error_total                     	0x4177
+#define	mem_afh_cfg                             	0x4179
+#define	mem_afh_new_mod                         	0x417a
+#define	mem_afh_map_lo                          	0x417b
+#define	mem_afh_map_hi                          	0x4180
+#define	mem_afh_used                            	0x4185
+#define	mem_afh_index                           	0x4186
+#define	mem_afh_map_new                         	0x4188
+#define	mem_afh_map                             	0x4193
+#define	mem_afh_timer                           	0x41e3
+#define	mem_afh_classify_channel_map            	0x41e7
+#define	mem_chip_functions                      	0x41f1
+#define	mem_lpm_wake_lock                       	0x41f3
+#define	mem_lpm_interval                        	0x41f5
+#define	mem_lpm_overhead                        	0x41f7
+#define	mem_lpm_hibernate_switch                	0x41f8
+#define	mem_esco_addr                           	0x41f9
+#define	mem_sniff_unint_lost                    	0x41fa
+#define	mem_ptt                                 	0x41fb
+#define	mem_sleep_counter                       	0x41fc
+#define	mem_sleep_counter_all                   	0x4200
+#define	mem_sleep_clkn                          	0x4204
+#define	mem_sniff_rcv                           	0x420a
+#define	mem_sniff_lost                          	0x420d
+#define	mem_clks_per_lpo                        	0x4210
+#define	mem_lpm_mult                            	0x4213
+#define	mem_lpm_mult_timeout                    	0x4214
+#define	mem_lpm_mult_cnt                        	0x4215
+#define	mem_lpm_config                          	0x4216
+#define	mem_lpm_xtalcnt                         	0x4219
+#define	mem_lpm_buckcnt                         	0x421a
+#define	mem_lpm_ldocnt                          	0x421b
+#define	mem_lpm_isogate                         	0x421c
+#define	mem_lpm_isogate_final                   	0x421d
+#define	mem_saved_gpio                          	0x421e
+#define	mem_saved_gsel                          	0x422e
+#define	mem_saved_mark                          	0x4231
+#define	mem_saved_spidctrl                      	0x4239
+#define	mem_patch_ptr                           	0x423a
+#define	mem_patch_len                           	0x423c
+#define	mem_timers                              	0x423e
+#define	mem_link_key_exists                     	0x425e
+#define	mem_link_key_eeprom_head                	0x425f
+#define	mem_link_key                            	0x4262
+#define	mem_hci_cmd                             	0x4272
+#define	mem_hci_conn_handle                     	0x4273
+#define	mem_hci_plap                            	0x4274
+#define	mem_hci_puap                            	0x4277
+#define	mem_hci_pnap                            	0x4278
+#define	mem_uartd_rxitems_got_data              	0x427a
+#define	mem_uartd_rxitems_threshold             	0x427b
+#define	mem_uartd_rx_timeout                    	0x427c
+#define	mem_app_state                           	0x427e
+#define	mem_app_handshake_flag                  	0x427f
+#define	mem_sniff_param_interval                	0x4280
+#define	mem_sniff_param_attempt                 	0x4282
+#define	mem_sniff_param_timeout                 	0x4284
+#define	mem_cb_check_wakelock                   	0x4286
+#define	mem_cb_before_hibernate                 	0x4288
+#define	mem_cb_before_lpm                       	0x428a
+#define	mem_cb_le_process                       	0x428c
+#define	mem_cb_bt_process                       	0x428e
+#define	mem_cb_idle_process                     	0x4290
+#define	mem_cb_bb_event_process                 	0x4292
+#define	mem_cb_discovry_timeout                 	0x4294
+#define	mem_cb_att_write                        	0x4296
+#define	mem_cb_update_notify_value              	0x4298
+#define	mem_device_nums                         	0x429a
+#define	mem_eeprom_base                         	0x429b
+#define	mem_unsniff2sniff_timer_count           	0x429d
+#define	mem_wake_up_delay_timer                 	0x429e
+#define	mem_app_connection_options              	0x429f
+#define	mem_app_disconn_reason                  	0x42a0
+#define	mem_app_disconn_reason_flag             	0x42a2
+#define	mem_at_using_flag                       	0x42a4
+#define	mem_lpm_delay_after_sniff               	0x42a5
+#define	mem_xrecord_mode                        	0x42a9
+#define	mem_eeprom_block_size                   	0x42aa
+#define	mem_baud                                	0x42ac
+#define	mem_hci_lt_rx_state                     	0x42ae
+#define	mem_l2cap_xmem_start                    	0x42af
+#define	mem_l2cap_tx_multi_offset               	0x42af
+#define	mem_sdp_remote_cid                      	0x42b1
+#define	mem_rfcomm_remote_cid                   	0x42b3
+#define	mem_hid_ctrl_remote_cid                 	0x42b5
+#define	mem_hid_int_remote_cid                  	0x42b7
+#define	mem_sdp_state                           	0x42b9
+#define	mem_rfcomm_state                        	0x42ba
+#define	mem_hid_control_state                   	0x42bb
+#define	mem_hid_interrupt_state                 	0x42bc
+#define	mem_spp_state                           	0x42bd
+#define	mem_ML2CAP_comm_id                      	0x42be
+#define	mem_used_map                            	0x42bf
+#define	mem_tx_fifo0                            	0x42c0
+#define	mem_tx_fifo0_map                        	0x42c0
+#define	mem_tx_fifo0_ptr                        	0x42c1
+#define	mem_tx_fifo1                            	0x42c3
+#define	mem_tx_fifo1_map                        	0x42c3
+#define	mem_tx_fifo1_ptr                        	0x42c4
+#define	mem_tx_fifo2                            	0x42c6
+#define	mem_tx_fifo2_map                        	0x42c6
+#define	mem_tx_fifo2_ptr                        	0x42c7
+#define	mem_tx_fifo3                            	0x42c9
+#define	mem_tx_fifo3_map                        	0x42c9
+#define	mem_tx_fifo3_ptr                        	0x42ca
+#define	mem_tx_fifo_end                         	0x42cc
+#define	mem_l2cap_lpm_txbuf                     	0x42cc
+#define	mem_l2cap_flow_ctrl_flag                	0x43cc
+#define	mem_l2cap_pending_item                  	0x43cd
+#define	mem_l2cap_xmem_end                      	0x43ce
+#define	mem_le_dsniff                           	0x43ce
+#define	mem_le_conn_interval                    	0x43d0
+#define	mem_le_scan_enable                      	0x43d2
+#define	mem_le_scan_interval                    	0x43d3
+#define	mem_le_scan_window                      	0x43d5
+#define	mem_le_adv_led                          	0x43d7
+#define	mem_le_adv_enable                       	0x43d8
+#define	mem_le_adv_data_len                     	0x43d9
+#define	mem_le_adv_data                         	0x43da
+#define	mem_le_scan_data_len                    	0x43f9
+#define	mem_le_scan_data                        	0x43fa
+#define	mem_le_name_len                         	0x4419
+#define	mem_le_name                             	0x441a
+#define	mem_le_led_on_time                      	0x442e
+#define	mem_le_new_map                          	0x442f
+#define	mem_le_new_param                        	0x4434
+#define	mem_le_new_window                       	0x4434
+#define	mem_le_new_offset                       	0x4435
+#define	mem_le_new_interval                     	0x4437
+#define	mem_le_new_latency                      	0x4439
+#define	mem_le_new_timeout                      	0x443b
+#define	mem_le_temp                             	0x443d
+#define	mem_le_txheader                         	0x443e
+#define	mem_le_txlen                            	0x443f
+#define	mem_le_txpayload                        	0x4440
+#define	mem_le_txcid                            	0x4442
+#define	mem_le_l2cap                            	0x4444
+#define	mem_le_l2cap_response                   	0x4445
+#define	mem_le_txbdy                            	0x4446
+#define	mem_le_pcnt_tx                          	0x4465
+#define	mem_le_pcnt_rx                          	0x446a
+#define	mem_le_last_mic                         	0x446f
+#define	mem_le_ivm                              	0x4473
+#define	mem_le_ivs                              	0x4477
+#define	mem_le_ltk                              	0x447b
+#define	mem_ltk_exists                          	0x448b
+#define	mem_le_rconfirm                         	0x448c
+#define	mem_le_srand                            	0x449c
+#define	mem_le_iat                              	0x44ac
+#define	mem_le_rat                              	0x44ad
+#define	mem_le_preq                             	0x44ae
+#define	mem_le_pres                             	0x44b5
+#define	mem_le_search_handle_start              	0x44bc
+#define	mem_le_search_handle_end                	0x44be
+#define	mem_le_att_offset                       	0x44c0
+#define	mem_le_search_att_type                  	0x44c0
+#define	mem_le_notify_handle                    	0x44c2
+#define	mem_le_uuid                             	0x44c4
+#define	mem_le_handle_data_len                  	0x44c6
+#define	mem_le_handle_data                      	0x44c7
+#define	mem_le_adv_param                        	0x44d7
+#define	mem_le_adv_interval_min                 	0x44d7
+#define	mem_le_adv_interval_max                 	0x44d9
+#define	mem_le_adv_type                         	0x44db
+#define	mem_le_adv_own_addr_type                	0x44dc
+#define	mem_le_adv_direct_addr_type             	0x44dd
+#define	mem_le_adv_direct_addr                  	0x44de
+#define	mem_le_adv_channel_map                  	0x44e4
+#define	mem_le_adv_filter_policy                	0x44e5
+#define	mem_le_conn_param                       	0x44e6
+#define	mem_le_conn_peer_addr_type              	0x44e6
+#define	mem_le_conn_peer_addr                   	0x44e7
+#define	mem_le_conn_own_addr_type               	0x44ed
+#define	mem_le_conn_interval_min                	0x44ee
+#define	mem_le_conn_interval_max                	0x44f0
+#define	mem_le_conn_latency                     	0x44f2
+#define	mem_le_conn_superto                     	0x44f4
+#define	mem_le_scan_params                      	0x44f6
+#define	mem_le_scan_type                        	0x44f6
+#define	mem_le_scan_own_addr_type               	0x44f7
+#define	mem_le_scan_filter_policy               	0x44f8
+#define	mem_le_lap                              	0x44f9
+#define	mem_le_uap                              	0x44fc
+#define	mem_le_nap                              	0x44fd
+#define	mem_le_xtype_fifo                       	0x44ff
+#define	mem_le_att_list                         	0x4504
+#define	mem_le_switch_send_data                 	0x46f8
+#define	mem_le_transmit_window                  	0x46f9
+#define	mem_lmp_version                         	0x46fd
+#define	mem_lmp_subversion                      	0x4700
+#define	mem_local_name_length                   	0x4702
+#define	mem_local_name                          	0x4703
+#define	mem_local_name2                         	0x4706
+#define	mem_local_name_end                      	0x4746
+#define	mem_unsniff2sniff_timer                 	0x4747
+#define	mem_switch_flag                         	0x4748
+#define	mem_eeprom_ota_base_addr                	0x4749
+#define	mem_pn_dlci                             	0x474b
+#define	mem_pn_max_frame_size                   	0x474c
+#define	memFCStemp1                             	0x474e
+#define	memFCStemp2                             	0x474f
+#define	memFCStemp3                             	0x4750
+#define	mem_rfcomm_initiator                    	0x4751
+#define	mem_remote_spp_channel                  	0x4752
+#define	mem_HIUfcs_SPP                          	0x4753
+#define	mem_HIUfcs_SPP_WCredits                 	0x4754
+#define	mem_rfcomm_send_more_pkt                	0x4755
+#define	mem_remote_credits                      	0x4756
+#define	mem_credit_given                        	0x4757
+#define	mem_ms_channel                          	0x4758
+#define	memui_uuid_table                        	0x4759
+#define	mem_all_uuid_16bits                     	0x475b
+#define	mem_all_uuid_128bits                    	0x4771
+#define	mem_sp_local_key_invalid                	0x4793
+#define	mem_sp_private_key                      	0x4794
+#define	mem_sp_pubkey_local                     	0x47ac
+#define	mem_sp_pubkey_local_x                   	0x47ac
+#define	mem_sp_pubkey_local_x_end               	0x47c4
+#define	mem_sp_pubkey_local_y                   	0x47c4
+#define	mem_ssp_enable                          	0x47dc
+#define	mem_ipc_lock_bt                         	0x47dd
+#define	mem_ipc_lock_c51                        	0x47de
+#define	mem_ipc_fifo_bt2c51                     	0x47df
+#define	mem_ipc_fifo_c512bt                     	0x47e4
+#define	mem_led_switch                          	0x47e9
+#define	mem_ui_button_timer                     	0x47ea
+#define	mem_ui_button_last_state                	0x47eb
+#define	mem_ui_timer_last_btclk                 	0x47ec
+#define	mem_discovery_timeout_timer_count       	0x47f0
+#define	mem_hid_handshake_timer_count           	0x47f2
+#define	memui_reconnect_mode                    	0x47f3
+#define	mem_ui_state_map                        	0x47f4
+#define	mem_ui_profile_supported                	0x47f6
+#define	mem_led_gpio                            	0x47f7
+#define	mem_led_dark_time                       	0x47f8
+#define	mem_led_light_time                      	0x47fa
+#define	mem_ui_button_timeout                   	0x47fc
+#define	mem_ui_button_gpio                      	0x47fd
+#define	mem_discovery_timeout                   	0x47fe
+#define	mem_ir_ptr                              	0x4800
+#define	mem_ir_type                             	0x4802
+#define	mem_ir_cmd                              	0x4803
+#define	mem_ir_play_count                       	0x4804
+#define	mem_ir_report_len                       	0x4805
+#define	mem_ir_pulse_zero                       	0x4807
+#define	mem_ir_pulse_one                        	0x4808
+#define	mem_ir_pulses                           	0x4809
+#define	mem_ir_sequence_len                     	0x4825
+#define	mem_ir_sequence                         	0x4826
+#define	mem_acl_credits                         	0x4800
+#define	mem_allow_switch                        	0x4802
+#define	mem_hci_acl_queue_start                 	0x4803
+#define	mem_hci_wake_clk                        	0x4807
+#define	mem_kb_state                            	0x4800
+#define	mem_kb_report_data                      	0x4802
+#define	mem_kb_keys                             	0x4808
+#define	mem_kb_rcv_led_data                     	0x4809
+#define	mem_kb_fast_wake_last                   	0x480a
+#define	mem_led_cap_gpio                        	0x480e
+#define	mem_led_num_gpio                        	0x480f
+#define	mem_led_scl_gpio                        	0x4810
+#define	mem_kb_map                              	0x4811
+#define	mem_kb_uuid_list                        	0x4811
+#define	mem_24g_paring_tx_power_param           	0x4a87
+#define	mem_5db_tx_power_param                  	0x4a91
+#define	mem_current_event                       	0x4a9b
+#define	mem_ipc_lock_rx_data_bt                 	0x4a9c
+#define	mem_ipc_lock_rx_data_c51                	0x4a9d
+#define	mem_ipc_lock_tx_data_bt                 	0x4a9e
+#define	mem_ipc_lock_tx_data_c51                	0x4a9f
+#define	mem_ipc_2bt_fifo_head                   	0x4aa0
+#define	mem_ipc_2bt_fifo_end                    	0x4b36
+#define	mem_ipc_2C51_fifo_head                  	0x4b36
+#define	mem_ipc_2C51_fifo_end                   	0x4b9a
+#define	mem_ipc_2bt_read_index                  	0x4b9a
+#define	mem_ipc_2bt_write_index                 	0x4b9c
+#define	mem_ipc_2C51_read_index                 	0x4b9e
+#define	mem_ipc_2C51_write_index                	0x4ba0
+#define	mem_ipc_tx_evt_buff                     	0x4ba2
+#define	mem_ipc_tx_evt                          	0x4ba4
+#define	mem_ipc_bt_timer                        	0x4ba5
+#define	mem_ipc_rx_type                         	0x4ba7
+#define	mem_rfcomm_tx_buff                      	0x4ba8
+#define	mem_queue_ele_num                       	0x4ba8
+#define	mem_queue_write                         	0x4ba9
+#define	mem_queue_read                          	0x4bab
+#define	mem_queue_start                         	0x4bad
+#define	mem_uart_packet                         	0x4bad
+#define	mem_data_ele0                           	0x4bb9
+#define	mem_data_ele1                           	0x4bc5
+#define	mem_data_ele2                           	0x4bd1
+#define	mem_queue_end                           	0x4bdd
+#define	mem_queue_temp                          	0x4bdd
+#define	mem_24g_rxdata_length                   	0x4bdf
+#define	mem_24g_pid                             	0x4be0
+#define	mem_24g_datalen                         	0x4be1
+#define	mem_24g_data_type                       	0x4be2
+#define	mem_24g_txlen                           	0x4be3
+#define	mem_24g_rx_window                       	0x4be4
+#define	mem_24g_ensure                          	0x4be6
+#define	mem_24g_get_ack_fail                    	0x4be7
+#define	mem_24g_retry                           	0x4be8
+#define	mem_24g_ch                              	0x4be9
+#define	mem_24g_current_ch_number               	0x4bea
+#define	mem_24g_paring_addr                     	0x4beb
+#define	mem_24g_pairing_sm                      	0x4bef
+#define	mem_24g_ch_map1                         	0x4bf0
+#define	mem_24g_ch_map2                         	0x4bf4
+#define	mem_24g_ch_map3                         	0x4bf8
+#define	mem_24g_ch_map4                         	0x4bfc
+#define	mem_24g_addr                            	0x4c00
+#define	mem_24g_check_dongle_times              	0x4c04
+#define	mem_24g_device_addr                     	0x4c06
+#define	mem_24g_no_ack                          	0x4c0a
+#define	mem_24g_sta_crc                         	0x4c0b
+#define	mem_24g_sta_pid                         	0x4c0e
+#define	mem_24g_max_retry                       	0x4c0f
+#define	mem_24g_mode                            	0x4c10
+#define	mem_24g_hop_pac_retry                   	0x4c11
+#define	mem_24g_idle_timeout                    	0x4c12
+#define	mem_24g_idle_cnt                        	0x4c13
+#define	mem_24g_auto_paring_switch              	0x4c14
+#define	mem_24g_enter_lpm_timer                 	0x4c15
+#define	mem_24g_syncword                        	0x4c16
+#define	mem_24g_syncword_crc8                   	0x4c18
+#define	mem_24g_get_syncword_crc8               	0x4c19
+#define	mem_24g_discard_cnt                     	0x4c1a
+#define	mem_cb_24g_data                         	0x4c1c
+#define	mem_24g_lasttx                          	0x4c1e
+#define	mem_power_ctrl_pac_succ_cnt             	0x4c27
+#define	mem_power_ctrl_level                    	0x4c28
+#define	mem_rssi_avg_received                   	0x4c29
+#define	mem_rssi_hex_received                   	0x4c2a
+#define	mem_rssi_signal_buf                     	0x4c2b
+#define	mem_rssi_noise_buf                      	0x4c33
+#define	mem_rssi_noise_index                    	0x4c3b
+#define	mem_rssi_signal_index                   	0x4c3c
+#define	mem_tx_power                            	0x4c3d
+#define	mem_tx_power_temp                       	0x4c3e
+#define	mem_cnt                                 	0x4c3f
+#define	mem_last_txlch                          	0x4c42
+#define	mem_last_txlen                          	0x4c43
+#define	mem_last_txdata                         	0x4c45
+#define	mem_ipc_last_check_timer                	0x4c59
+#define	mem_prepare_write_len                   	0x4c5d
+#define	mem_ipc_c51_timer                       	0x4c5e
+#define	mem_le_rx_window                        	0x4c60
+#define	mem_le_find_type_value_start_handle     	0x4c61
+#define	mem_le_find_type_value_end_handle       	0x4c63
+#define	mem_le_cur_att_type                     	0x4c65
+#define	mem_le_search_len                       	0x4c67
+#define	mem_le_ll_unknown_type                  	0x4c68
+#define	mem_le_pairing_state                    	0x4c69
+#define	mem_le_local_mtu                        	0x4c6a
+#define	mem_le_connection_updata_param          	0x4c6c
+#define	mem_ltk_states                          	0x4c7c
+#define	mem_pair_state                          	0x4c7d
+#define	mem_empty_count                         	0x4c7e
+#define	mem_shutter_find_type_value_flag        	0x4c7f
+#define	mem_le51_payload_len                    	0x4c80
+#define	mem_le51_cmd                            	0x4c81
+#define	mem_le51_tx_length                      	0x4c82
+#define	mem_le51_txbuff_inuse                   	0x4c83
+#define	mem_le51_txbuf                          	0x4c84
+#define	mem_ipc_bt_100ms_timer                  	0x4c8d
+#define	mem_ipc_c51_100ms_timer                 	0x4c8e
+#define	mem_adc_config_flag                     	0x4c8f
+#define	mem_adc_channel                         	0x4c90
+#define	mem_adc_0v                              	0x4c91
+#define	mem_adc_3v                              	0x4c93
+#define	mem_adc_current_value                   	0x4c95
+#define	mem_hibernate_flag                      	0x4c97
+#define	mem_new_supervision_to                  	0x4c98
+#define	mem_kb_wake_timer                       	0x4c9a
+#define	mem_kb_last_data                        	0x4c9b
+#define	mem_kb_keycount                         	0x4caf
+#define	mem_led_cap_delay_timer                 	0x4cb0
+#define	mem_test                                	0x4cb1
+#define	mem_seq                                 	0x4cb4
+#define	mem_recon_index                         	0x4cb5
+#define	mem_power_on_flag                       	0x4cb6
+#define	mem_caps_num_lock                       	0x4cb7
+#define	mem_att_report1                         	0x4cb8
+#define	mem_att_report2                         	0x4cba
+#define	mem_att_report3                         	0x4cbc
+#define	mem_suspend_flag                        	0x4cbe
+#define	mem_32asm_data_end                      	0x4cbf
+#define	mem_store_ltk_timer                     	0x4d37
+#define	mem_reconnect_continue                  	0x4d38
+#define	mem_le_pin_code                         	0x4d39
+#define	mem_24g_enter_hibernate                 	0x4d3d
+#define	mem_24g_txfail_cnt                      	0x4d45
+#define	mem_mouse_retry_flag                    	0x4d46
+#define	mem_24g_led_flag                        	0x4d47
+#define	mem_ui_timer_last_btclk_temp            	0x4d48
+#define	mem_ui_check_timer_setup                	0x4d4c
+#define	mem_customize_timer_setup               	0x4d50
+#define	mem_customize_timer                     	0x4d52
+#define	mem_version_yy_mm_dd                    	0x4d53
+#define	mem_at_gpio                             	0x4800
+#define	mem_module_wake_up_gpio                 	0x4801
+#define	mem_module_state_gpio                   	0x4802
+#define	mem_module_connect_state_gpio           	0x4803
+#define	mem_module_version                      	0x4804
+#define	mem_last_uart_clock                     	0x480a
+#define	mem_current_packet_length               	0x480e
+#define	mem_module_prepare_tx_len               	0x4810
+#define	mem_module_state                        	0x4812
+#define	mem_module_task                         	0x4813
+#define	mem_cmode_addr                          	0x4814
+#define	mem_at_scan_time                        	0x481a
+#define	mem_prarm_pswd                          	0x481c
+#define	mem_prarm_uart                          	0x4820
+#define	mem_prarm_blename                       	0x4824
+#define	mem_prarm_name                          	0x4827
+#define	mem_prarm_bleadss                       	0x482b
+#define	mem_prarm_adss                          	0x482e
+#define	mem_prarm_vers                          	0x4832
+#define	mem_prarm_class                         	0x4836
+#define	mem_prarm_clrflg                        	0x483b
+#define	mem_prarm_reconn                        	0x4841
+#define	mem_prarm_bledis                        	0x4847
+#define	mem_prarm_dis                           	0x4849
+#define	mem_prarm_stsn                          	0x484c
+#define	mem_prarm_atp                           	0x4850
+#define	mem_prarm_list                          	0x4853
+#define	mem_prarm_role                          	0x4857
+#define	mem_prarm_sniff                         	0x485b
+#define	mem_prarm_ldev                          	0x4860
+#define	mem_prarm_rssi                          	0x4864
+#define	mem_prarm_cdev                          	0x4868
+#define	mem_prarm_bleinqr                       	0x486c
+#define	mem_prarm_inqr                          	0x486f
+#define	mem_prarm_cmode                         	0x4873
+#define	mem_prarm_mode                          	0x4878
+#define	mem_prarm_dmstate                       	0x487c
+#define	mem_prarm_discov                        	0x4883
+#define	mem_prarm_ota                           	0x4889
+#define	mem_prarm_bleconn                       	0x488c
+#define	mem_prarm_conn                          	0x488e
+#define	mem_prarm_pageout                       	0x4892
+#define	mem_prarm_recfail                       	0x4899
+#define	mem_module_uuid_list                    	0x48a0
+#define	mem_mouse_x                             	0x4800
+#define	mem_mouse_y                             	0x4802
+#define	mem_mouse_z                             	0x4804
+#define	mem_mouse_key                           	0x4805
+#define	mem_mouse_z_last                        	0x4806
+#define	mem_mouse_z_before                      	0x4807
+#define	mem_mouse_z_now                         	0x4808
+#define	mem_mouse_z_data                        	0x4809
+#define	mem_mouse_move_flag                     	0x480a
+#define	mem_reconnect_timeout                   	0x480b
+#define	mem_mouse_direct_timeout                	0x480c
+#define	mem_mouse_no_data_timeout               	0x480e
+#define	mem_mouse_blank_data_timeout            	0x4810
+#define	mem_mouse_discovery_timer               	0x4812
+#define	mem_mouse_direct_timer                  	0x4814
+#define	mem_mouse_no_data_timer                 	0x4816
+#define	mem_mouse_blank_data_timer              	0x4818
+#define	mem_mouse_send_blank_timer              	0x481a
+#define	mem_mouse_dpi                           	0x481b
+#define	mem_mouse_dpi_button_state              	0x481c
+#define	mem_mouse_test_cnt                      	0x481d
+#define	mem_le_hibernate_timer                  	0x481e
+#define	mem_mouse_mode_state                    	0x4820
+#define	mem_sensor_type                         	0x4821
+#define	mem_lbutton_gpio                        	0x4822
+#define	mem_rbutton_gpio                        	0x4823
+#define	mem_mbutton_gpio                        	0x4824
+#define	mem_dpi_button_gpio                     	0x4825
+#define	mem_sensor_data_gpio                    	0x4826
+#define	mem_whee_a_data_gpio                    	0x4827
+#define	mem_whee_b_data_gpio                    	0x4828
+#define	mem_conn_cnt                            	0x4829
+#define	mem_mouse_uuid_list                     	0x482a
+#define	mem_shutter_send_data                   	0x4800
+#define	mem_shutter_key_temp                    	0x4804
+#define	mem_shutter_send_length                 	0x4805
+#define	mem_shutter_clkn_bt_last                	0x4806
+#define	mem_shutter_key                         	0x480a
+#define	mem_shutter_flag                        	0x480b
+#define	mem_shutter_cable_unplug_conut          	0x480c
+#define	mem_shutter_hid_disconn_count           	0x480d
+#define	mem_shutter_1key_send_sm                	0x480e
+#define	mem_shutter_iphonekey_gpio              	0x480f
+#define	mem_shutter_androidkey_gpio             	0x4810
+#define	mem_shutter_key_number                  	0x4811
+#define	mem_shutter_uuid_list                   	0x4812
+#define	mem_mcmd                                	0xff0
+#define	mem_mouse_data                          	0xff1
+#define	mem_l2cap_rxbuff1                       	0x1000
+#define	mem_l2cap_rxbuff2                       	0x1400
+#define	mem_tx_buff0                            	0x1800
+#define	mem_tx_buff1                            	0x1880
+#define	mem_tx_buff2                            	0x1900
+#define	mem_tx_buff3                            	0x1980
+#define	mem_tx_buff4                            	0x1a00
+#define	mem_tx_buff5                            	0x1a80
+#define	mem_tx_buff6                            	0x1b00
+#define	mem_tx_buff7                            	0x1b80
+#define	mem_h5rx_buf                            	0x1800
+#define	mem_h5rx_buf_end                        	0x1bff
+#define	mem_h5tx_buf                            	0x1c00
+#define	mem_h5tx_buf_end                        	0x1fff
+#define	mem_module_rx_buf                       	0x4a00
+#define	mem_module_rx_buf_end                   	0x4fff
+#define	mem_module_tx_buf                       	0x1c00
+#define	mem_module_tx_buf_end                   	0x1fff
+#define	mem_ir_record                           	0x1800
+#define	mem_ir_record_max                       	0x1c
+#define	memk                                    	0x4b00
+#endif
Index: KG9013/c51/c.bat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/c.bat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/c.bat	(working copy)
@@ -0,0 +1,10 @@
+perl util\hex2mif.pl < output\fw.hex ram > output\fwram.rom
+copy .\patch\kb.dat + .\patch\rf.dat .\patch\sch.rom 
+perl util\transform_name2addr.pl .\patch\sch.rom .\output\sched.rom .\patch\memmap.format
+copy .\patch\ramcode.rom .\output\
+copy .\patch\geneep.exe .\output\
+@rem copy .\patch\*.obj .\output\*.obj
+cd output
+geneep geneep ramcode.rom fwram.rom sched.rom
+cd ..
+:end
Index: KG9013/c51/common.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/common.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/common.h	(working copy)
@@ -0,0 +1,20 @@
+#ifndef _YC_INCLUDE_H_
+#define _YC_INCLUDE_H_
+#include "type.h"
+#include "btreg.h"
+#include "hwreg.h"
+#include "sys.h"
+#include "utilities.h"
+#include "kbhid.h"
+#include "global_variable.h"
+#include "keyscan.h"
+#include "gpio.h"
+#include "led.h"
+#include "pwm.h"
+#include "bluetooth.h"
+#include "kb_process.h"
+#include "ipc.h"
+#include "iic.h"
+#include "adc.h"
+#endif
+
Index: KG9013/c51/global_variable.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/global_variable.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/global_variable.h	(working copy)
@@ -0,0 +1,177 @@
+#ifndef _GLOBAL_VARIABLE_H_
+#define _GLOBAL_VARIABLE_H_
+#include "common.h"
+
+#define BAT_ARRAY_LEN				4
+
+typedef struct c51_device_state
+{
+	 byte currentState ;
+	 byte currentSubState;
+	 byte currentStateBefore;
+}DEVICE_STATE;
+
+typedef enum device_mode
+{
+	DEVICE_24G_MODE,
+	DEVICE_BLE_MODE,
+	DEVICE_BR_MODE,
+	DEVICE_MODE_NUM,
+}DEVICE_CURRENT_MODE;
+
+
+typedef enum led_type
+{
+	STYLE_NONE,
+	STYLE_BT_PAIRING,
+	STYLE_LOW_BAT,
+	STYLE_DEVICE_1,
+	STYLE_DEVICE_2,
+	STYLE_DEVICE_3,
+	STYLE_24G_PAIRING,
+	STYLE_BT_RECON,
+}EVT_LED_STYLE;
+
+typedef struct device_recode{
+	byte  device_type;
+	byte  device_addr[6];
+	byte  device_link_key[16] ;
+	byte  local_addr[6];
+}BD_KEY_RECORD;
+
+
+typedef struct c51_global_variable		// 0x4cbf
+{
+	 byte update_eeprom_flag;		// 0x4cbf
+	 byte last_device_num;			// 0x4cc0
+	 byte system_mode;			// 0x4cc1
+	 byte power_on_action;			// 0x4cc2
+	 byte current_device_num;		// 0x4cc3
+	 byte temp_device_num;		// 0x4cc4
+
+	 byte g24_currentState;			// 0x4cc5
+	 byte g24_currentSubState;		// 0x4cc6
+	 byte ble_currentState;			// 0x4cc7
+	 byte ble_currentSubState;		// 0x4cc8
+	 byte br_currentState;			// 0x4cc9
+	 byte br_currentSubState;		// 0x4cca
+	 byte history_state;			// 0x4ccb
+
+	 byte button_reconnect_flag;	// 0x4ccc
+	 byte button_24G_rec_flag;		// 0x4ccd
+	 byte button_flag;				// 0x4cce
+	 byte button_timer[4];			// 0x4ccf~0x4cd2
+ 
+	 byte battery_check_interval;			// 0x4cd3
+	 byte battery_value_index;				// 0x4cd4
+	 byte battery_status;					// 0x4cd5
+	 word battery_value[BAT_ARRAY_LEN];	// 0x4cd6~0x4cdd
+	 word battery_level_low;				// 0x4cde
+	 word battery_level_shutdown;			// 0x4ce0
+
+	 byte battery_low_led_flash_interval;		// 0x4ce2
+
+		 
+	 word sleepTimer;						// 0x4ce3
+	 byte powerOn_timer;					// 0x4ce5
+	 byte sys_numlockled_on_timer;			// 0x4ce6
+	 byte sys_capslockled_on_timer;			// 0x4ce7
+	 byte sys_scrolllockled_on_timer;		// 0x4ce8
+	 byte pairing_timeout;					// 0x4ce9
+	 byte delay_enter_lpm_timer;			// 0x4cea
+	 
+	 byte release_data;					// 0x4ceb
+	 byte lockLpm;	 					// 0x4cec
+	 byte key_action;						// 0x4ced
+
+	 byte pairing_g24_timeout;				//0x4cee
+	 byte recon_delay;						// 0x4cef
+	 byte recon_count;						// 0x4cf0
+	 byte recon_continue;					// 0x4cf1
+	 byte ble_ramdon_lap1;					// 0x4cf2
+	 byte ble_ramdon_lap2;					// 0x4cf3 
+	 byte key_combination_step;			// 0x4cf4
+	 byte key_combination_ctrl;				// 0x4cf5
+	 byte key_combination_keyvalue;		// 0x4cf6
+	 byte battery_low_led_flash_flag;		// 0x4cf7
+	 byte one_key_press_wait_release_timer;
+	 byte backlight_level;
+	 byte battary_shutdown_flag;
+	
+	 byte mouse_data_send_flag;
+	 byte sensor_key;
+	 byte sensor_x_l;
+	 byte sensor_x_h;
+	 byte sensor_y_l;
+	 byte sensor_y_h;
+	 byte sensor_wheel;
+	 byte sensor_titl;
+	 byte test_buff;
+	
+}G_VARIABLE_MAP;
+
+
+
+extern G_VARIABLE_MAP xdata g_variable;
+
+
+ extern xbyte m_caps_num_lock_last;
+
+ extern xbyte iOS_rec_pinCode;
+ extern xbyte pinCode_flag;
+ extern xbyte le_pin_code_len;
+ extern xbyte power_on_flag;
+ extern xbyte repeat_send_24g;
+ extern xbyte get_24g_led_send;
+ extern xbyte ble_reconnect_flag;
+ extern xbyte press_long_time_flag;
+ extern xbyte long_press_flag;
+ extern xbyte standard_key_release_flag;
+ extern xbyte fn_flag;
+ extern xbyte fn_tx_flag;
+ extern xbyte fn_flag_last;
+ extern xbyte fn_lock_flag;
+ extern xbyte ksSelMapOld[];
+ extern xbyte ksSelMapCheck[];
+ extern xbyte ksSelMapCurr[]; 
+ extern xbyte multikey[9];
+ extern xbyte mult_key_value;
+ extern xbyte mult_key_status;
+ extern xbyte system_key_press;
+ extern xbyte recon_index;
+
+ extern xbyte delayChgInvTimer;
+ extern xbyte action_timeout;
+ extern xbyte switch_role_timer;
+
+
+extern xbyte hidBuff[10] ;
+extern xbyte  m_link_key_exists  ;
+extern xbyte  m_ltk_exists  ;
+extern xbyte m_remote_le_addr[6]  ;
+extern xword m_ui_state_map  ;
+extern xbyte m_linkkey[16]   ;
+extern xbyte m_remote_addr[6]  ;
+extern xbyte m_reconn_addr[6]  ;
+extern xbyte m_le_ltk[16]  ;
+extern byte m_24g_addr[4] ;
+extern byte m_24g_paring_addr[4];
+extern byte kscurrmult;
+extern xbyte m_le_lap[6];
+extern xbyte m_reset_reg;
+extern xbyte m_lpm_mode;
+extern ulong le_pin_code;
+extern xword m_adcCurrentValue;
+extern xword m_adc3vValue; 
+extern xword m_adc0vBase;
+extern volatile xbyte m_adc_config_flag;
+extern volatile xbyte m_24g_enter_hibernate[4];
+extern volatile xbyte  m_power_on_flag;
+extern volatile xbyte m_caps_num_lock;
+extern volatile xbyte m_reconnect_continue;
+extern volatile xbyte m_adc_channel;
+extern volatile xbyte m_wakup_from_power_flag;
+extern volatile xbyte m_customize_timer;
+extern volatile xbyte m_24g_led_flag;
+
+#endif //_GLOBAL_VARIABLE_H_
Index: KG9013/c51/global_variable.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/global_variable.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/global_variable.c	(working copy)
@@ -0,0 +1,280 @@
+#include "global_variable.h"
+#include "Btreg.h"
+
+ 
+G_VARIABLE_MAP xdata g_variable _at_ mem_32asm_data_end;
+
+
+// xbyte data random at 4dd0 to 4f40: makefile
+ xbyte m_caps_num_lock_last;
+ xbyte iOS_rec_pinCode;
+ xbyte pinCode_flag;
+ xbyte le_pin_code_len;
+ xbyte power_on_flag;
+ xbyte repeat_send_24g;
+ xbyte get_24g_led_send;
+ xbyte ble_reconnect_flag;
+ xbyte press_long_time_flag;
+ xbyte long_press_flag;
+ xbyte standard_key_release_flag;
+ xbyte fn_flag;
+ xbyte fn_flag_last;
+ xbyte fn_tx_flag;
+ xbyte fn_lock_flag;
+
+ xbyte multikey[9];
+ xbyte mult_key_value;
+ xbyte mult_key_status;
+ xbyte system_key_press;
+ xbyte recon_index;
+
+ xbyte delayChgInvTimer;
+ xbyte action_timeout;
+ xbyte switch_role_timer;
+
+
+volatile xbyte ksSelMapOld[KB_KSCAN_COL_NUM] _at_ 0x4d93;
+volatile xbyte ksSelMapCheck[KB_KSCAN_COL_NUM] _at_ 0x4da8;	// 4d93+20 = 4da8
+volatile xbyte ksSelMapCurr[KB_KSCAN_COL_NUM] _at_ 0x4dbc; 	// 4da8+20 = 4dbc
+volatile xbyte hidBuff[10] _at_ mem_mouse_x;
+volatile xbyte  m_link_key_exists _at_ mem_link_key_exists;
+volatile xbyte m_linkkey[16] _at_ mem_link_key ;
+volatile xbyte  m_ltk_exists _at_ mem_ltk_exists;
+volatile xbyte m_le_ltk[16] _at_ mem_le_ltk;
+volatile xbyte m_remote_le_addr[6] _at_ mem_le_plap;
+volatile xbyte m_remote_addr[6] _at_ mem_plap;
+volatile xbyte m_reconn_addr[6] _at_ mem_hci_plap;
+volatile byte m_24g_addr[4] _at_ mem_24g_addr;
+volatile byte m_24g_paring_addr[4] _at_ mem_24g_paring_addr;
+
+volatile xbyte m_le_lap[6] _at_ mem_le_lap;
+
+volatile byte kscurrmult _at_ mem_lpm_mult;
+volatile xword m_ui_state_map _at_ mem_ui_state_map;
+volatile xbyte m_reset_reg _at_ 0x8010;
+volatile xbyte m_lpm_mode _at_ mem_lpm_mode;
+volatile ulong le_pin_code _at_ mem_le_pin_code;
+volatile xword m_adcCurrentValue _at_ mem_adc_current_value;
+volatile xword m_adc3vValue _at_ mem_adc_3v;
+volatile xword m_adc0vBase _at_ mem_adc_0v;
+volatile xbyte m_adc_config_flag _at_ mem_adc_config_flag;
+volatile xbyte m_24g_enter_hibernate[4] _at_ mem_24g_enter_hibernate;
+volatile xbyte  m_power_on_flag _at_ mem_power_on_flag;
+volatile xbyte m_caps_num_lock _at_ mem_caps_num_lock;
+volatile xbyte m_reconnect_continue _at_ mem_reconnect_continue;
+volatile xbyte m_adc_channel _at_ mem_adc_channel;
+volatile xbyte m_wakup_from_power_flag _at_ mem_wakup_from_power_flag;
+
+volatile xbyte m_customize_timer _at_ mem_customize_timer;
+volatile xbyte m_24g_led_flag _at_ mem_24g_led_flag;
+
+
+
+code byte col[KB_KSCAN_COL_NUM+1]=
+{
+25,    		//C0
+8,    			//C1
+9,    			//C2
+10,    		//C3
+11,    		//C4
+12,    		//C5
+13,    		//C6
+14,    		//C7
+23,	    		//C8	
+26,    		//C9
+24,    		//C10
+20,    		//C11
+17,    		//C12
+16,    		//C13
+15,    		//C14
+21,    		//C15
+27,    		//C16
+22,    		//C17
+};
+
+
+code byte  ksMap[KS_KEY_MAP_LEN]=
+{
+//c0
+HID_KEY_SCROLL_LOCK, 		//R0
+HID_KEY_NULL, 				//R1
+HID_KEY_NULL, 				//R2
+HID_KEY_NULL,				//R3
+HID_KEY_RIGHT_CTL, 			//R4
+HID_KEY_NULL, 				//R5
+HID_KEY_LEFT_CTL, 			//R6
+HID_KEY_F5, 					//R7
+
+//c1
+HID_KEY_Q, 					//R0
+HID_KEY_TAB, 				//R1
+HID_KEY_A, 					//R2
+HID_KEY_ESC, 				//R3
+HID_KEY_Z,					//R4
+HID_KEY_K131, 				//R5
+HID_KEY_TILDE, 				//R6
+HID_KEY_1, 					//R7
+
+//c2
+HID_KEY_W,					//R0
+HID_KEY_CAPS_LOCK, 		//R1
+HID_KEY_S, 					//R2
+HID_KEY_K45, 				//R3
+HID_KEY_X, 					//R4
+HID_KEY_K132, 				//R5
+HID_KEY_F1,					//R6
+HID_KEY_2 , 					//R7
+
+//C3
+HID_KEY_E, 					//R0
+HID_KEY_F3, 					//R1
+HID_KEY_D,					//R2
+HID_KEY_F4, 					//R3
+HID_KEY_C,					//R4
+HID_KEY_K133,				//R5
+HID_KEY_F2,					//R6
+HID_KEY_3,					//R7
+
+//c4
+HID_KEY_R,					//R0		
+HID_KEY_T, 					//R1
+HID_KEY_F, 					//R2
+HID_KEY_G, 					//R3
+HID_KEY_V, 					//R4
+HID_KEY_B, 					//R5
+HID_KEY_5, 					//R6
+HID_KEY_4,					//R7
+
+//c5
+HID_KEY_U, 					//R0
+HID_KEY_Y,					//R1
+HID_KEY_J, 					//R2
+HID_KEY_H, 					//R3
+HID_KEY_M, 					//R4
+HID_KEY_N,					//R5
+HID_KEY_6, 					//R6
+HID_KEY_7, 					//R7
+
+//c6						
+HID_KEY_I, 					//R0
+HID_KEY_RIGHT_BRACKET, 	//R1
+HID_KEY_K, 					//R2
+HID_KEY_F6, 					//R3
+HID_KEY_LESS_THAN,			//R4
+HID_KEY_K56, 				//R5
+HID_KEY_EQUAL,				//R6
+HID_KEY_8, 					//R7
+
+
+//c7
+HID_KEY_O, 					//R0
+HID_KEY_F7,					//R1
+HID_KEY_L, 					//R2
+HID_KEY_NULL, 				//R3
+HID_KEY_GREAT_THAN, 		//R4
+HID_KEY_APP, 				//R5
+HID_KEY_F8, 					//R6
+HID_KEY_9,					//R7
+
+//c
+HID_KEY_P,					//R0
+HID_KEY_LEFT_BRACKET,		//R1
+HID_KEY_SEMICOLON,		//R2
+HID_KEY_QUOTE,				//R3
+HID_KEY_K42,				//R4
+HID_KEY_SLASH,				//R5
+HID_KEY_MINUS, 				//R6
+HID_KEY_0,					//R7
+
+//c
+HID_KEY_PRINT_SCREEN,		//R0
+HID_KEY_NULL,				//R1
+HID_KEY_FN, 				//R2
+HID_KEY_LEFT_ALT, 			//R3
+HID_KEY_NULL,				//R4
+HID_KEY_RIGHT_ALT, 			//R5
+HID_KEY_NULL,				//R6
+HID_KEY_PAUSE,  			//R7
+
+//c10 
+HID_KEY_K14, 				//R0
+HID_KEY_BACKSPACE, 		//R1	
+HID_KEY_BACK_SLASH, 		//R2
+HID_KEY_F11, 				//R3
+HID_KEY_ENTER, 				//R4
+HID_KEY_F12, 				//R5
+HID_KEY_F9, 					//R6
+HID_KEY_F10, 				//R7
+
+//c11 
+HID_KEY_KP_7, 				//R0
+HID_KEY_KP_4 ,				//R1
+HID_KEY_KP_1, 				//R2
+HID_KEY_SPACE, 				//R3
+HID_KEY_NUM_LOCK,			//R4
+HID_KEY_DOWN_ARROW, 		//R5
+HID_KEY_DELETE, 			//R6
+HID_KEY_NULL, 				//R7
+
+//c12 
+HID_KEY_KP_8, 				//R0
+HID_KEY_KP_5,				//R1
+HID_KEY_KP_2,				//R2
+HID_KEY_KP_0, 				//R3
+HID_KEY_KP_SLASH,			//R4
+HID_KEY_RIGHT_ARROW,		//R5
+HID_KEY_INSERT,				//R6
+HID_KEY_NULL, 				//R7
+
+//c13 
+HID_KEY_KP_9, 				//R0
+HID_KEY_KP_6, 				//R1	
+HID_KEY_KP_3, 				//R2
+HID_KEY_KP_DEL, 			//R3
+HID_KEY_KP_ASTERISK, 		//R4
+HID_KEY_KP_MINUS, 			//R5
+HID_KEY_PAGE_UP, 			//R6
+HID_KEY_PAGE_DOWN, 		//R7
+
+//c14 
+HID_KEY_KP_PLUS,			//R0
+HID_KEY_KP_COMMA, 		//R1
+HID_KEY_KP_ENTER, 			//R2
+HID_KEY_UP_ARROW, 		//R3
+HID_MULTIKEY_VOL_UP, 		//R4
+HID_KEY_LEFT_ARROW, 		//R5
+HID_KEY_HOME,				//R6
+HID_KEY_END,				//R7
+
+
+//c15 
+HID_KEY_NULL, 				//R0
+HID_KEY_LEFT_SHIFT, 		//R1	
+HID_KEY_RIGHT_SHIFT, 		//R2
+HID_COMB_KEY_WIN_LOCK,	//R3
+HID_MULTIKEY_VOL_UP, 		//R4
+HID_MULTIKEY_VOL_DOWN, 	//R5
+HID_MULTIKEY_MUTE,			//R6
+HID_MULTIKEY_MEDIA, 		//R7
+
+//c16
+HID_MULTIKEY_MAIL, 			//R0
+HID_KEY_LEFT_GUI,			//R1
+HID_MULTIKEY_AC_FORWARD, 	//R2
+HID_MULTIKEY_AC_STOP,		//R3
+HID_MULTIKEY_AC_BACK,		//R4
+HID_MULTIKEY_AC_REFRESH,	//R5
+HID_MULTIKEY_MUTE, 		//R6
+HID_MULTIKEY_AC_SEARCH,	//R7
+
+
+//c17 
+HID_KEY_KR_L, 				//R0
+HID_MULTIKEY_AC_FAVORITES, 	//R1
+HID_KEY_RIGHT_GUI,					//R2
+HID_MULTIKEY_MY_COMPUTER,	//R3
+HID_MULTIKEY_STOP,			//R4
+HID_MULTIKEY_MY_COMPUTER, 	//R5
+HID_MULTIKEY_AC_HOME, 		//R6
+HID_KEY_KR_R , 				//R7
+};
Index: KG9013/c51/gpio.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/gpio.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/gpio.h	(working copy)
@@ -0,0 +1,83 @@
+
+#ifndef _GPIO_H
+#define _GPIO_H
+#include "type.h"
+#include "Hwreg.h"
+
+extern volatile xbyte YC_GPIOWakeupL[4];
+extern volatile xbyte YC_GPIOWakeupH[4];
+
+#define GPIO_SetBit(gpio_num,reg_base, bit_val) if(bit_val)  \
+		*(reg_base + (gpio_num >> 3 & 3)) |= 1<<(gpio_num & 7);	\
+	else	\
+		*(reg_base + (gpio_num >> 3 & 3)) &= ~(1<<(gpio_num & 7))
+
+/**
+ * This function gpio get input status.0 low,1high
+ * 
+ * @param gpio_num
+ * 
+ * @return none.
+*/
+bool GPIO_GetInputStatus(byte gpio_num);
+/**
+ * This function set gpio out.
+ * 
+ * @param gpio_num,bit_val bit_val 0 low, 1high
+ * 
+ * @return none.
+*/
+void GPIO_Setout(byte gpio_num, bool bit_val);
+/**
+ * This function set gpio input
+ * 
+ * @param gpio_num,st 1 pull down ,0 pull up.
+ * 
+ * @return none.
+*/
+void GPIO_SetInput(byte gpio_num,bit  st);
+
+/**
+ * This function set gpio input
+ * 
+ * @param gpio_num,st 1 high ,0 low.
+ * 
+ * @return none.
+*/
+void GPIO_SetOutput(byte gpio_num,bit  st);
+/**
+ * This function set gpio wake.This function must use with GPIO_SetInput.
+ * 
+ * @param gpio_num, st 1 high wake,0 low wake.
+ * 
+ * @return none.
+*/
+void GPIO_SetWakeup(byte gpio_num,bit  st);
+
+/**
+ * This function set gpio wake by curent state for fast wake mcu.
+ * 
+ * @param gpio_num, st 1 high wake,0 low wake.
+ * 
+ * @return none.
+*/
+void GPIO_SetWakeupByCurrentState(byte gpio_num);
+
+/**
+ * This function Flip output state.
+ * 
+ * @param gpio_num.
+ * 
+ * @return none.
+*/
+void GPIO_FlipOutBit(byte gpio_num);
+
+/* make all gpios into pd state if not output or pullhigh */
+void GPIO_fillpd();
+void GPIO_SetPd(byte gpio_num, bool bit_val);
+void GPIO_Setoe(byte gpio_num, bool bit_val);
+void GPIO_SetPu(byte gpio_num, bool bit_val);
+
+#endif /* YC_GPIO_H */
+
+
Index: KG9013/c51/hwreg.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/hwreg.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/hwreg.h	(working copy)
@@ -0,0 +1,214 @@
+#ifndef _HWREG_H_
+#define _HWREG_H_
+
+
+#define HWRITED(reg, dword)	do{HWRITE(reg, (dword) & 0xff); \
+							HWRITE(reg + 1, (dword) >> 8 & 0xff); \
+							HWRITE(reg + 2, (dword) >> 16 & 0xff); \
+							HWRITE(reg + 3, (dword) >> 24 & 0xff); \
+							}while(0)
+
+#define HREADD(reg)			((u32_t)HREAD(reg)  | (u32_t)HREAD(reg + 1) << 8 | (u32_t)HREAD(reg + 2) << 16 | (u32_t)HREAD(reg + 3) << 24)
+
+#define ESWAP(word)			((word) >> 8 & 0xff | (word) << 8 & 0xff00)
+#define min(x,y) 				((x) < (y) ? (x) : (y))
+#define HREADW(reg)			(*((volatile unsigned int xdata *)(reg)))
+#define HWRITEW(mem, word)	HREADW(mem) = ESWAP(word)
+#define HREADWS(reg)			ESWAP(HREADW(reg))
+
+#define HREAD(reg)			(*(volatile unsigned char xdata *)(reg))
+#define HWRITE(reg, value)		*((volatile unsigned char xdata *)(reg)) = value
+
+#define SETBIT(reg, value)		HWRITE(reg,( (HREAD(reg)) | (value)))
+#define CLRBIT(reg, value)		HWRITE(reg, (HREAD(reg) & (~(value))))
+#define READBIT(reg, value)		((HREAD(reg)) & (value))
+#define BIT(x)					(1 << (x))
+
+
+#define PWM_EN			0x8084
+
+#define GPIO_OE(X)      0x8070 + X
+#define GPIO_OUT(X)     0x8074 + X
+#define GPIO_PUP(X)     0x8078 + X
+#define GPIO_PDN(X)     0x807c + X
+#define GPIO_SEL(X)     0x8080 + X
+#define GPIO_KEY(X)     0x8083 + X
+
+#define GPIO_IN(X)      0x811c + X
+
+
+#define PWM_PCOUNT(X)	(0x80a0 + X*4)
+#define PWM_NCOUNT(X)	(0x80a2 + X*4)
+
+#define CLOCK_SEL			0x8044
+#define CLOCK_SEL_12M		9
+
+#define LPM_EXENOE		0x813e
+
+// math cordic
+#define CORDIC_TYPE    	0x8053
+#define CORDIC_A     		0x80a8
+#define CORDIC_B     		0x80ac
+#define PERF_STATUS		0x812d
+#define CORDIC_RESULT     	0x8120
+
+#define YC_TYPE_SIN		0
+#define YC_TYPE_ATAN	1
+#define YC_TYPE_MULT	2
+#define YC_TYPE_DIV		3
+#define YC_TYPE_ASIN	         4
+#define YC_TYPE_SQRT	5
+#define YC_TYPE_COS		6
+#define YC_TYPE_TAN		7
+
+// DMA UART
+#define UART_BAUD     0x8052
+#define UART_RSADDR   0x8054
+#define UART_READDR   0x8056 
+#define UART_RRPTR    0x8058
+#define UART_TSADDR   0x805a 
+#define UART_TEADDR   0x805c 
+#define UART_TWPTR    0x805e
+#define UART_TRPTRP   0x8060 
+#define UART_CTRL     0x8062 
+#define CLKN	0x8100
+
+#define UART_STATUS  0x810c
+#define UART_RBAUD   0x810d 
+#define UART_TXITEMS 0x810e 
+#define UART_TRPTR   0x8110 
+#define UART_RXITEMS 0x8112 
+#define UART_RDPTR   0x8114 
+#define UART_RWPTR   0x8116 
+
+#define KSCN_KSCTRL                 	0x8063
+#define KSCN_RCTC                    	0x8064
+#define KSCN_ROW_MASK                	0x806f
+
+#define KSCN_EVENT_BUF           	0x811a
+#define KSCN_EVENT_NUM           	0x811b
+
+
+#define  CPUA_ICE_CTRL (*(volatile unsigned char xdata *)(0x8280))
+
+#define CPUB_ICE_BK0_LO			0x8205
+#define CPUB_ICE_BK0_HI			0x8206
+
+#define IIC_ADDR_START		0x8300
+#define IIC_PRER_LOW			0x8300
+#define IIC_SLAVE_ADDR		0x8301
+#define IIC_CTR				0x8302
+#define IIC_CR				0x8303
+#define IIC_RXR				0x8304
+#define IIC_TXR				0x8305
+#define IIC_SR				0x8306
+#define IIC_FIFO				0x8307
+
+#define USB_CONFIG		0x8c00
+#define USB_INT_MASK(x)	(0x8c01 + x)
+#define USB_TRG			0x8c10
+#define USB_STALL		0x8c11
+#define USB_CLEAR		0x8c12
+#define USB_EP(x)			(0x8c18 + x)
+#define USB_EP_LEN(x)		(0x8c20 + x)
+
+
+#define USB_STATUS		0x8c26
+#define USB_FIFO_EMPTY	0x8c27
+
+sfr DFIFO0     = 0x94;
+sfr DFIFO1     = 0x95;
+sfr DFIFO2     = 0x96;
+
+
+#define PWM_CLOCK           5 
+#define REG_CLK_OFF(n)		(*(volatile unsigned char xdata *)(0x8050 + n))
+
+#define REG_PWM_ENABLE   	(*(volatile unsigned char xdata *)0x8085)
+#define REG_PWM_CLK_SEL 	(*(volatile unsigned char xdata *)0x8042)
+#define REG_PWM_PCOUNT(n) 	(*(volatile unsigned char xdata *)(0x80a0 + n*4))
+#define REG_PWM_NCOUNT(n) 	(*(volatile unsigned char xdata *)(0x80a2 + n*4))
+
+
+#define REG_UART_CLK_SEL	(*(volatile unsigned char xdata *)0x8043)
+#define REG_UART_BAUD		(*(volatile unsigned short xdata *)0x8052)
+#define REG_UART_BAUD_HI		(*(volatile unsigned char xdata *)0x8053)
+#define REG_UART_RX_ADDR_S	(*(volatile unsigned short xdata *)0x8054)
+#define REG_UART_RX_ADDR_E 	(*(volatile unsigned short xdata *)0x8056)
+#define REG_UART_RX_PTR_R	(*(volatile unsigned short xdata *)0x8058)
+#define REG_UART_TX_ADDR_S	(*(volatile unsigned short xdata *)0x805a)
+#define REG_UART_TX_ADDR_E	(*(volatile unsigned short xdata *)0x805c)
+#define REG_UART_TX_PTR_W	(*(volatile unsigned short xdata *)0x805e)
+#define REG_UART_TX_PTRP_R	(*(volatile unsigned short xdata *)0x8060)
+#define REG_UART_CTRL		(*(volatile unsigned char xdata *)0x8062)
+
+//read only
+#define REG_UART_STATUS		(*(volatile unsigned char xdata *)0x810c)
+#define REG_UART_DET_BAUD	(*(volatile unsigned char xdata *)0x810d)
+#define REG_UART_TX_ITEMS	(*(volatile unsigned short xdata *)0x810e)
+#define REG_UART_TX_PTR_R	(*(volatile unsigned short xdata *)0x8110)
+#define REG_UART_RX_ITEMS	(*(volatile unsigned short xdata *)0x8112)
+#define REG_UART_RX_DPTR_R	(*(volatile unsigned short xdata *)0x8114)
+#define REG_UART_RX_PTR_W	(*(volatile unsigned short xdata *)0x8116)
+
+#define REG_GPIO_SELECT(n)	(*(volatile unsigned char xdata *)(0x8080 + n))
+
+#define REG_GPIO_OE(n) 	(*(volatile unsigned char xdata *)(0x8070 + n))
+#define REG_GPIO_OUT(n)	(*(volatile unsigned char xdata *)(0x8074 + n))
+#define REG_GPIO_PUP(n) 	(*(volatile unsigned char xdata *)(0x8078 + n))
+#define REG_GPIO_PDN(n)	(*(volatile unsigned char xdata *)(0x807c + n))
+#define REG_GPIO_SEL(n) 	(*(volatile unsigned char xdata *)(0x8080 + n))
+#define REG_GPIO_KEY(n) 	(*(volatile unsigned char xdata *)(0x8083 + n))
+
+#define REG_GPIO_IN(n)	(*(volatile unsigned char xdata *)(0x811c + n))	//n=0,1,2,3
+
+#define REG_MISC_CTRL			(*(volatile unsigned char xdata *)(0x8006))
+
+
+#define REG_SPID_CTRL  			(*(volatile unsigned char xdata *)(0x8086))
+#define REG_SPID_DELAY  		(*(volatile unsigned char xdata *)(0x8087))
+#define REG_SPID_TXADDR			(*(volatile unsigned short xdata *)(0x808a))
+#define REG_SPID_RXADDR			(*(volatile unsigned short xdata *)(0x808c))
+#define REG_SPID_TXLEN			(*(volatile unsigned short xdata *)(0x8088))
+#define REG_SPID_RXLEN			(*(volatile unsigned short xdata *)(0x808e))
+
+#define REG_IICD_CTRL			(*(volatile unsigned char xdata *)(0x8090))
+#define REG_IICD_SCL_LOW		(*(volatile unsigned char xdata *)(0x8091))
+#define REG_IICD_SCL_HIGH		(*(volatile unsigned char xdata *)(0x8092))
+#define REG_IICD_START_SETUP		(*(volatile unsigned char xdata *)(0x8093))
+#define REG_IICD_START_HOLD		(*(volatile unsigned char xdata *)(0x8094))
+#define REG_IICD_STOP_SETUP		(*(volatile unsigned char xdata *)(0x8095))
+#define REG_IICD_DATA_SETUP		(*(volatile unsigned char xdata *)(0x8096))
+#define REG_IICD_DATA_HOLD		(*(volatile unsigned char xdata *)(0x8097))
+#define REG_IICD_TXLEN			(*(volatile unsigned short xdata *)(0x8098))
+#define REG_IICD_TXADDR			(*(volatile unsigned short xdata *)(0x809a))
+#define REG_IICD_RXADDR			(*(volatile unsigned short xdata *)(0x809c))
+#define REG_IICD_RXLEN			(*(volatile unsigned short xdata *)(0x809e))
+#define REG_CLKN					(*(volatile unsigned long xdata *)(0x8100))
+#define REG_DMA_STATUS			(*(volatile unsigned char xdata *)(0x812c))
+
+#define REG_RFEN_ADC			(*(volatile unsigned char xdata *)(0x8906))
+#define REG_ADC_IN				(*(volatile unsigned short xdata *)(0x812e))
+#define REG_RF_ADC_GC			(*(volatile unsigned char xdata *)(0x8972))
+#define REG_RFEN_CHGPUMP		(*(volatile unsigned char xdata *)(0x8973))
+#define REG_RF_ADC_MODE		(*(volatile unsigned char xdata *)(0x8971))
+#define CORE_ADC_SUM		(*(volatile unsigned short xdata *)(0x8150))
+
+#define REG_KSCAN_KSCTRL				(*(volatile unsigned char xdata *)(0x8063))
+#define REG_KSCAN_RCTC				(*(volatile unsigned char xdata *)(0x8064))
+#define REG_KSCAN_SCANCYCLE_TIMER_L	(*(volatile unsigned char xdata *)(0x8065))
+#define REG_KSCAN_SCANCYCLE_TIMER_H	(*(volatile unsigned char xdata *)(0x8066))
+
+
+#define REG_KSCAN_KSTAT				(*(volatile unsigned char xdata *)(0x8119))
+#define REG_KSCAN_EVENT				(*(volatile unsigned char xdata *)(0x811a))
+#define REG_KSCAN_EVENT_NUM			(*(volatile unsigned char xdata *)(0x811b))
+
+#define REG_KSCAN_M_DEBOUNCE		(*(volatile unsigned char xdata *)(0x8067))
+#define REG_KSCAN_MODKEY				(*(volatile unsigned char xdata *)(0x8068))
+#define REG_KSCAN_ROWMASK			(*(volatile unsigned char xdata *)(0x806f))
+#define REG_CONFIG						(*(volatile unsigned char xdata *)(0x8043))
+
+
+
+#endif
Index: KG9013/c51/iic.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/iic.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/iic.h	(working copy)
@@ -0,0 +1,46 @@
+/*
+ * Copyright 2016, yichip Semiconductor(shenzhen office)
+ * All Rights Reserved.
+ *
+ * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Yichip Semiconductor;
+ * the contents of this file may not be disclosed to third parties, copied
+ * or duplicated in any form, in whole or in part, without the prior
+ * written permission of Yichip Semiconductor.
+ */
+ 
+ /** @file
+ *
+ * IIC support for application
+ */
+#ifndef __DEV_EEP_H_
+#define __DEV_EEP_H_
+#include "type.h"
+#include "btreg.h"
+#include "hwreg.h"
+
+/**
+ * This function read data by IIC,Warning:pbuff can't not piont to address > 0x4000.
+ * 
+ * @param addr IIC address ,len length to read,pbuff pointer to restore data
+ * 
+ * @return none.
+*/
+void IIC_Read(word addr, word len, byte* pbuff);
+/**
+ * This function write data by IIC,Warning:pbuff can't not piont to address > 0x4000.
+ * 
+ * @param addr IIC address ,len length to write,pbuff pointer to store data
+ * 
+ * @return none.
+*/
+void IIC_write(word addr,word len, byte* pbuff);
+/**
+ * This function write data by IIC,can't ignore page of block device,Warning:pbuff can't not piont to address > 0x4000.
+ * 
+ * @param addr IIC address ,len length to read,pbuff pointer to store data
+ * 
+ * @return none.
+*/
+void IIC_WriteBlock(word addr, word len, byte* pbuff);
+#endif/* YC_IIC_H */
+
Index: KG9013/c51/ipc.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/ipc.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/ipc.h	(working copy)
@@ -0,0 +1,313 @@
+/*
+ * Copyright 2016, yichip Semiconductor(shenzhen office)
+ * All Rights Reserved.
+ *
+ * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Yichip Semiconductor;
+ * the contents of this file may not be disclosed to third parties, copied
+ * or duplicated in any form, in whole or in part, without the prior
+ * written permission of Yichip Semiconductor.
+ */
+ 
+ /** @file
+ *
+ * ipc support for application
+ */
+#ifndef _YC_IPC_H_
+#define _YC_IPC_H_
+#include "type.h"
+#include "btreg.h"
+
+#define BUG_FIX
+#ifdef BUG_FIX
+#define FIX_ENTER_LPM	0x01
+#define FIX_ENTER_HIBERNATE	0x03
+#define FIX_LEAVE_LPM	0x05
+
+#endif
+
+
+/* IPC tx hardware address */
+#define IPC_TX_HEAD	mem_ipc_2bt_fifo_head
+#define IPC_TX_END	mem_ipc_2bt_fifo_end
+
+/*IPC rx hardware address*/
+#define IPC_RX_HEAD	mem_ipc_2C51_fifo_head
+#define IPC_RX_END	mem_ipc_2C51_fifo_end
+
+/*IPC data type*/
+#define IPC_CONTROL_CMD		0x01
+#define IPC_CONTROL_EVT		0x02
+#define IPC_HID_DATA			0x03
+#define IPC_SPP_DATA			0x04
+#define IPC_BLE_DATA			0x05
+#define IPC_24G_DATA			0x06
+
+/*IPC cmd type*/
+#define IPC_CMD_STANDBY                                  	0x00
+#define IPC_CMD_START_DISCOVERY                   	0x01
+#define IPC_CMD_STOP_DISCOVERY                      	0x02
+#define IPC_CMD_RECONNECT                              	0x03
+#define IPC_CMD_DISCONNECT                               0x04
+#define IPC_CMD_ENTER_SNIFF                              	0x05
+#define IPC_CMD_EXIT_SNIFF                               	0x06
+#define IPC_CMD_ENTER_SNIFF_SUBRATING         0x07
+#define IPC_CMD_EXIT_SNIFF_SUBRATING             0x08
+#define IPC_CMD_SNIFF_TEST                               	0x09
+#define IPC_CMD_SET_PIN_CODE                           	0x0a
+#define IPC_CMD_START_INQUIRY                          0x0b
+#define IPC_CMD_STOP_INQUIRY                            0x0c
+#define IPC_CMD_START_ADV                                	0x0d
+#define IPC_CMD_STOP_ADV                                 	0x0e
+#define IPC_CMD_START_DIRECT_ADV                   0x0f
+#define IPC_CMD_STOP_DIRECT_ADV                    	0x10
+#define IPC_CMD_LE_DISCONNECT                        	0x11
+#define IPC_CMD_LE_UPDATE_CONN                     	0x12
+#define IPC_CMD_LED_OFF                                  	0x13
+#define IPC_CMD_LED_ON                                   	0x14
+#define IPC_CMD_LED_BLINK                                	0x15
+#define IPC_CMD_LE_START_CONN                     	0x16
+#define IPC_CMD_LE_START_SCAN                      	0x17
+#define IPC_CMD_LE_STOP_SCAN                         	0x18
+#define IPC_CMD_ENTER_HIBERNATE                    	0x19
+#define IPC_CMD_LE_SMP_SECURITY_REQUEST   0x1b
+#define IPC_CMD_LE_START_WRITE                      	0x1c
+#define IPC_CMD_ROLE_SWITCH                          	0x1d
+#define IPC_CMD_BB_RECONN_CANCEL              	0x1e
+#define IPC_CMD_STORE_RECONN_INFO_LE        	0x1f
+#define IPC_CMD_STORE_RECONN_INFO_BT        	0x20
+#define IPC_CMD_START_24G                                	0x21
+#define IPC_CMD_STOP_24G                                 	0x22
+#define IPC_CMD_PAIR_24G                                 	0x23
+#define IPC_CMD_UPDATE_SUPERVISION_TO     	0x28
+#define IPC_CMD_LE_SET_PINCODE                      	0x29
+#define IPC_CMD_SET_RECONNECT_INIT          	0x2a
+#define IPC_CMD_START_ADV_REC                      	0x2b
+#define IPC_CMD_START_ADV_DISCOVERY            0x2c
+
+
+/*IPC event type*/
+#define IPC_EVT_NULL                                     		0x00
+#define IPC_EVT_BB_CONNECTED                       	0x01
+#define IPC_EVT_BB_DISCONNECTED                   	0x02
+#define IPC_EVT_RECONN_STARTED                     	0x03
+#define IPC_EVT_RECONN_FAILED                       	0x04
+#define IPC_EVT_SETUP_COMPLETE                     	0x05
+#define IPC_EVT_HID_CONNECTED                       	0x06
+#define IPC_EVT_HID_DISCONNECTED                   	0x07
+#define IPC_EVT_SPP_CONNECTED                     	0x08
+#define IPC_EVT_SPP_DISCONNECTED                  	0x09
+#define IPC_EVT_PINCODE_REQ                           	0x0A
+#define IPC_EVT_ENTER_SNIFF                              	0x0B
+#define IPC_EVT_EXIT_SNIFF                               	0x0C
+#define IPC_EVT_ENTER_SNIFF_SUB                     	0x0D
+#define IPC_EVT_EXIT_SNIFF_SUB                      	0x0E
+#define IPC_EVT_DISCOVERY_STOPED                 	0x0F
+#define IPC_EVT_BUTTON_LONG_PRESSED         	0x10
+#define IPC_EVT_HID_HANDSHAKE                         	0x12
+#define IPC_EVT_RECONN_PAGE_TIMEOUT          	0x13
+#define IPC_EVT_LE_CONNECTED                         	0x14
+#define IPC_EVT_LE_DISCONNECTED                    	0x15
+#define IPC_EVT_ML2CAP_CONN_REFUSED           	0x16
+#define IPC_EVT_BUTTON_ENTER_HIBERNATE     	0x17
+#define IPC_EVT_LINKKEY_GENERATE                   	0x18
+#define IPC_EVT_SWITCH_NOT_ACCEPT                	0x19
+#define IPC_EVT_SWITCH_ACCEPT                         	0x20
+#define IPC_EVT_SNIFF_NOT_ACCEPT                    0x21
+#define IPC_EVT_SNIFF_ACCEPT                             0x22
+#define IPC_EVT_UNSNIFF_ACCEPT                        	0x23
+#define IPC_EVT_UNSNIFF_NOT_ACCEPT               	0x24
+#define IPC_EVT_BUTTON_ADJUST_DPI                 	0x25
+#define IPC_EVT_SEND_UNSNIFF_ACCEPT            	0x26
+#define IPC_EVT_VIRTUAL_CABLE_UNPLUG          	0x27
+#define IPC_EVT_LE_WRITE_REQUEST                  	0x28
+#define IPC_EVT_LE_ENC_INFO                              	0x29
+#define IPC_EVT_SWITCH_FAIL_MASTER               	0x2a
+#define IPC_EVT_SWITCH_SUCCESS_MASTER       	0x2b
+#define IPC_EVT_BUTTON_DOWN                           	0x2c
+#define IPC_EVT_BUTTON_UP                                	0x2d
+#define IPC_EVT_REMOTE_UNSNIFF                      	0x2e
+#define IPC_EVT_RESET                                    	0x2f
+#define IPC_EVT_WAKEUP                                   	0x30
+#define IPC_EVT_24G_PAIRING_COMPLETE          	0x31
+#define IPC_EVT_24G_ATTEMPT_FAIL                   	0x32
+#define IPC_EVT_HIBERNATE_WAKE                      	0x33
+#define IPC_EVT_LE_PROTOCOL_CONNECTED    	0x34
+#define IPC_EVT_LE_PINCODE_REQ				0x35
+#define IPC_EVT_RECONNECT_STANDY                	0x37
+#define IPC_EVT_CLEAR_LINKKEY                         	0x39
+#define IPC_EVT_24G_ATTEMPT_SUCCESS           	0x3c
+#define IPC_EVT_TIMER_INIT                               	0x50
+#define IPC_EVT_TIMER_MASK                               	0xF0
+#define IPC_EVT_TIMER_100MS                              	0x51
+#define IPC_EVT_TIMER_200MS                             	0x52
+#define IPC_EVT_TIMER_300MS                              	0x53
+#define IPC_EVT_TIMER_400MS                              	0x54
+#define IPC_EVT_TIMER_500MS                              	0x55
+#define IPC_EVT_TIMER_600MS                              	0x56
+#define IPC_EVT_TIMER_700MS                              	0x57
+#define IPC_EVT_TIMER_800MS                              	0x58
+#define IPC_EVT_TIMER_900MS                              	0x59
+#define IPC_EVT_TIMER_1KMS                               	0x5A
+#define IPC_EVT_TIMER_1K1MS                              	0x5B
+#define IPC_EVT_TIMER_1K2MS                              	0x5C
+#define IPC_EVT_TIMER_1K3MS                              	0x5D
+#define IPC_EVT_TIMER_1K4MS                              	0x5E
+#define IPC_EVT_TIMER_1K5MS                              	0x5F
+
+
+/*IPC EVT callback function type*/
+typedef void (*tIPCEventCb)(byte);
+
+/*IPC SPP callback function type*/
+typedef void (*tIPCSppCb)(byte*, word);
+
+/*IPC BLE callback function type*/
+typedef void (*tIPCBleCb)(byte*, word);
+
+/*IPC timer(1s) callback function type*/
+typedef void (*tIPCTimer)(void);
+
+/*IPC Hid callback function type*/
+typedef void (*tIPCHidCb)(byte*, word);
+
+/*IPC control block type*/
+typedef struct IPCContolBlock {
+	tIPCEventCb evtcb;		/*<ipc evt call back*/
+	tIPCSppCb sppcb;		/*<ipc spp call back*/
+	tIPCTimer timercb;		/*<ipc timer call back*/
+	tIPCTimer stimercb;
+	tIPCBleCb blecb;
+	tIPCHidCb hidcb;
+}tIPCControlBlock;
+
+
+typedef enum IPCRejReason{
+	AUTHENTICATION_FAILURE_ERROR = 0x05,
+	KEY_MISSING = 0x06,
+	ACL_CONNECTION_ALREADY_EXISTS = 0x0b,
+	OTHER_END_TERMINATED = 0x13,
+	ABOUT_TO_POEWR_OFF = 0x15,
+	LOCAL_HOST= 0x16,
+	PAIRING_NOT_ALLOWED = 0x18,
+	UNKNOWN_LMP_PDU = 0x19,
+	UNSUPPORTED_LMP_FEATURE = 0x1A,
+	UNSPECIFIED_ERROR = 0x1F,
+	UNSUPPORTED_PARAMETERS = 0x20,
+	SWITCH_NOT_ALLOWED = 0x21,
+	TRANSACTION_COLLISION = 0x23,
+	PDU_NOT_ALLOWED = 0x24,
+	ENCRYPTION_MODE_NOT_ACCEPTABLE = 0x25,
+	NOT_SUPPORT_CHN_CLASSIFICATION = 0x2e,
+	NOT_SUPPORT_SSP = 0x37,
+}tIPCREJREASON;
+
+/*IPC syc task type*/
+
+#define BT_PIN_CODE_MAX_LEN 16
+extern xbyte ipcPinlen;
+extern xbyte ipcPin[BT_PIN_CODE_MAX_LEN];
+extern xbyte current_task;
+
+/*IPC set pincode*/
+#define IPC_SetPincode(p,l)	ipcPinlen= l,\
+							xmemcpy(ipcPin, p, ipcPinlen)
+
+/**
+ * This function rigist IPC Control Block.
+ * 
+ * @param cb the IPC control block.
+ * 
+ * @return none.
+*/
+void IPC_Initialize(tIPCControlBlock *cb);
+
+/**
+ * This function deal IPC Single process, callback the rigisted IPC control function.
+ * 
+ * @param none.
+ * 
+ * @return none.
+*/
+void IPC_DealSingleStep(void);
+
+/**
+ * This function tx control IPC command.
+ * 
+ * @param cmd IPC command want to send.
+ * 
+ * @return none.
+*/
+void IPC_TxControlCmd(byte cmd);
+/**
+ * This function tx HID IPC command,Cpu will block when TxBuffer is not Empty.
+ * 
+ * @param dt IPC HID data want to send,len length of hid data
+ * 
+ * @return none.
+*/
+void IPC_TxBREDRHidData(byte* dt, byte len);
+
+/**
+ * This function tx 24G IPC command,Cpu will block when TxBuffer is not Empty.
+ * 
+ * @param dt IPC HID data want to send,len length of hid data
+ * 
+ * @return none.
+*/
+void IPC_Tx24GData(byte* dt, byte len);
+
+/**
+ * This function tx SPP IPC command,Cpu will block when TxBuffer is not Empty.
+ * 
+ * @param dt IPC SPP data want to send,len length of SPP data
+ * 
+ * @return none.
+*/
+void IPC_TxSppData(byte* dt, byte len);
+
+/**
+ * This function tx BLE IPC command,Cpu will block when TxBuffer is not Empty.
+ * 
+ * @param dt IPC BLE data want to send,len length of BLE data
+ * 
+ * @return none.
+*/
+void IPC_TxBleData(byte* dt, byte len);
+
+/**
+ * This function will do nothing wait enter lpm.
+ * 
+ * @param none.
+ * 
+ * @return none.
+*/
+void IPC_WaitLpm(void);
+
+/**
+ * This function will do nothing abandon lpm this time.
+ * 
+ * @param none.
+ * 
+ * @return none.
+*/
+void IPC_AbandonLpm(void);
+
+/**
+ * This function will do nothing wait enter lpm.
+ * 
+ * @param none.
+ * 
+ * @return none.
+*/
+bit IPC_IsTxBuffEmpty(void);
+
+/**
+ * This function get reject reason.
+ * 
+ * @param none.
+ * 
+ * @return none.
+*/
+tIPCREJREASON IPC_GetBBDIsconnectReason();
+
+#endif /* YC_IPC_H */
Index: KG9013/c51/kb_process.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/kb_process.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/kb_process.h	(working copy)
@@ -0,0 +1,87 @@
+#ifndef _KB_PROCESS_H
+#define _KB_PROCESS_H
+#include "common.h"
+
+#define KEY_STANDBY					0x00
+#define KEY_MULIT_PRESS				0x01
+#define KEY_SYSTEM_PRESS			0x04
+#define KEY_WAIT_RELEASE			0x02
+#define KEY_RELEASE					0x03
+#define KEY_2G4_FN_TX				0x04
+
+#define KB_PC_KEYSEL_NUMLOCK		0x01
+#define KB_PC_KEYSEL_CAPSLOCK		0x02
+#define KB_PC_KEYSEL_SCROLLLOCK 	0x04
+
+#define KEY_FLAG_BTKEY_PRESS				0x01
+#define KEY_FLAG_SAME_KEY_PRESS			0x02
+#define KEY_FLAG_STOP_DISCOVERY			0x04
+#define KEY_FLAG_FN_DEVICE_BUTTON			0x08
+#define KEY_FLAG_FN_24G_DEVICE_BUTTON		0x10
+
+#define CAMBINATION_KEY_FREE				0
+#define CAMBINATION_KEY_PRESS				1
+#define CAMBINATION_KEY_HOLD				2
+#define CAMBINATION_KEY_COMPLETE			3
+#define CAMBINATION_KEY_WAIT_RELEASE 		4
+#define CAMBINATION_KEY_RELEASE			5	
+#define CAMBINATION_KEY_NULL				6
+
+
+//gipo
+#define NUM_LOCK_LED_GPIO    	28
+#define CAPS_LED_GPIO		  	29
+#define SCROLL_LED_GPIO		  	30
+
+#define EEPROM_WP_GPIO			31
+#define BT_LED_GPIO		  		0xff
+#define BACKLIGHT_LED_GPIO		19
+
+
+
+
+//eeprom address base
+#define EEPROM_RECON_INFO_BASE_6  					0x3FF0
+#define EEPROM_RECON_INFO_SYTEM_MODE 			(EEPROM_RECON_INFO_BASE_6+8)
+#define EEPROM_BATTERY_SHUT_DOWN				(EEPROM_RECON_INFO_BASE_6+9)
+
+
+#define KS_KEY_MAP_LEN					158
+#define KB_KSCAN_COL_NUM				20
+
+
+
+byte key_fn_function(byte state ,byte key_value);
+
+
+typedef enum c51_user_key_action
+{
+	KEY_NONE= 0,
+	KEY_RECON_0=1,
+	KEY_RECON_1=2,
+	KEY_RECON_2=3,
+	KEY_ENTER_ADV,
+	KEY_DISCOVERY,
+	KEY_DISCONNECT_ALL,
+	KEY_CLEAR_RECORD,
+	KEY_START_24G,
+	KEY_OPEN_24G,
+	KEY_PAIRING_24G,
+	KEY_STOP_24G,
+	KEY_USB,
+	KEY_STOP_DISCOVERY,
+}C51_KEY_ACTION;
+
+
+
+void IPC_TxHidData(byte* dt, byte len);
+void kb_need_keyscan();
+void YC_key_action_handle(byte key_num);
+void kb_motion_keyscan(tKSEVENT *pEvt);
+byte kb_device_select(tKSEVENT *pEvt);
+void kb_multikey_setup(tKSEVENT *pEvt);
+byte key_fn_function(byte state ,byte key_value);
+
+
+#endif
+
Index: KG9013/c51/kb_process.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/kb_process.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/kb_process.c	(working copy)
@@ -0,0 +1,568 @@
+#include "kb_process.h"
+
+void YC_key_action_handle(byte key_num)
+{
+	switch (key_num)
+	{
+	case KEY_START_24G:
+	case KEY_OPEN_24G:
+		g_variable.recon_count = 0;
+		if (YC_disconnect_all_link())
+		{
+			g_variable.key_action = key_num;
+		}
+		else
+		{
+			IIC_Read(EEPROM_RECON_INFO_BASE_6+2,4 , (byte *)m_24g_addr);
+			Delay1ms(10);
+			if (m_24g_addr[0] == 0xff && m_24g_addr[1] == 0xff && m_24g_addr[2] == 0xff && m_24g_addr[3] == 0xff)
+			{
+				m_24g_addr[0] = 0x0f;
+				m_24g_addr[1] = 0x0f;
+				m_24g_addr[2] = 0x0f;
+				m_24g_addr[3] = 0x0f;
+			}
+			IPC_TxControlCmd(IPC_CMD_START_24G);
+			
+			g_variable.g24_currentState = CHANGE_TO_24G_CONNECTING;
+			g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+			g_variable.key_action = KEY_NONE;
+		}
+		break;
+	case KEY_PAIRING_24G:
+		g_variable.recon_count = 0;
+		if (YC_disconnect_all_link())
+		{
+			g_variable.key_action = key_num;
+		}
+		else
+		{
+			if (g_variable.g24_currentState != CHANGE_TO_24G_PAIRING)
+			{
+				IPC_TxControlCmd(IPC_CMD_PAIR_24G);
+				g_variable.g24_currentState = CHANGE_TO_24G_PAIRING;
+				g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+				g_variable.pairing_g24_timeout = BT_PAIRING_TIME_OUT_30S;
+				g_variable.pairing_timeout = 0;
+				GPIO_Setout(NUM_LOCK_LED_GPIO, LED_OFF);	
+				GPIO_Setout(CAPS_LED_GPIO, LED_OFF);	
+				GPIO_Setout(SCROLL_LED_GPIO, LED_OFF);	
+			}
+			g_variable.key_action = KEY_NONE;
+		}
+		break;
+	default:
+		g_variable.key_action = KEY_NONE;
+		break;
+	}
+}
+
+
+
+void IPC_TxHidData(byte* dt, byte len)
+{
+	if(!YC_check_need_reconnected()) 
+		return;
+	if (g_variable.release_data)
+		return;
+
+	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+	{
+		if (dt[0] == HID_REPORTID_1)
+		{
+			if (dt[1] == 0 && dt[3] == 00 && dt[4] == 00 && dt[5] == 0)
+				repeat_send_24g = 0;
+			else
+				repeat_send_24g = 1;			
+		}
+		else if (dt[0] == HID_REPORTID_2)
+		{
+			if (dt[1] == 00 && dt[2] == 00)
+			{
+				repeat_send_24g = 0;
+			}
+			else
+			{
+				repeat_send_24g = 1;
+			}
+		}
+		IPC_Tx24GData(dt,len);
+	}
+}
+
+
+void kb_set_multikey(word multikey_value)
+{
+	if(mult_key_status != KEY_WAIT_RELEASE)
+	{
+		mult_key_status = KEY_MULIT_PRESS;
+		multikey[0] = HID_REPORTID_2;
+		multikey[1] = (multikey_value&0xff);
+		multikey[2] = ((multikey_value>>8)&0xff);
+	}
+}
+
+#ifdef SYSTEM_CONTROL_ENABLE
+void kb_set_systemkey(byte systemkey_value)
+{
+	if(mult_key_status != KEY_WAIT_RELEASE)
+	{
+		mult_key_status = KEY_SYSTEM_PRESS;
+		system_key_press = 1;
+		multikey[0] = HID_REPORTID_SYSTEM;
+		multikey[1] = systemkey_value;
+	}
+}
+#endif
+
+void kb_send_combination_key(byte ctrl_value,byte key_value)
+{
+	xmemclear(hidBuff,9);
+	hidBuff[0] = HID_REPORTID_1;
+	hidBuff[1] |= ctrl_value;
+	hidBuff[3] = key_value; 
+	IPC_TxHidData(hidBuff, 9);
+}
+
+/*
+//touch data send
+void kb_set_mouse_data()
+{
+	multikey[0] = HID_REPORTID_3;
+	multikey[1] = g_variable.sensor_key;
+	multikey[2] = g_variable.sensor_x_l;
+	multikey[3] = g_variable.sensor_x_h;
+	multikey[4] = g_variable.sensor_y_l;
+	multikey[5] = g_variable.sensor_y_h;
+	multikey[6] = g_variable.sensor_wheel;
+	multikey[7] = g_variable.sensor_titl;
+	IPC_TxHidData(multikey, 8);
+	xmemclear(multikey,9);
+}
+*/
+
+void kb_24g_get_led_status()		//get RF Ack for get numlock/capslock status
+{
+	if((m_24g_led_flag)&& (repeat_send_24g == 0))
+	{
+		if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+		{
+			xmemclear(hidBuff,9);
+
+			mult_key_status = 0;
+			hidBuff[0] = HID_REPORTID_1;		// standard key send
+			hidBuff[2] = m_24g_led_flag;
+			IPC_TxHidData(hidBuff, 9);
+		}	
+	}
+
+}
+
+
+
+static void kb_motion()
+{
+	tKSEVENT *pEvt = NULL;
+	
+	if (!IPC_IsTxBuffEmpty())
+		return;
+	pEvt = KS_GetCurrentEvt();
+
+	if (pEvt == NULL)
+	{
+		m_power_on_flag = 1;
+		kb_24g_get_led_status();
+		return;
+	}
+	kb_motion_keyscan(pEvt);
+}
+
+
+
+void kb_need_keyscan()
+{
+		if((g_variable.key_combination_step == CAMBINATION_KEY_FREE)
+		||(g_variable.key_combination_step == CAMBINATION_KEY_COMPLETE)
+		|| (g_variable.key_combination_step == CAMBINATION_KEY_RELEASE)
+		)
+			kb_motion();
+		else
+		{
+			if(g_variable.key_combination_step == CAMBINATION_KEY_PRESS)
+			{
+				kb_send_combination_key(g_variable.key_combination_ctrl,0);
+				g_variable.key_combination_step = CAMBINATION_KEY_HOLD;
+			}
+			else if(g_variable.key_combination_step == CAMBINATION_KEY_HOLD)
+			{	
+				g_variable.key_combination_step = CAMBINATION_KEY_COMPLETE;
+				kb_send_combination_key(g_variable.key_combination_ctrl,g_variable.key_combination_keyvalue);
+			}
+			else if(g_variable.key_combination_step == CAMBINATION_KEY_WAIT_RELEASE)
+			{
+				g_variable.key_combination_keyvalue = 0;
+				kb_send_combination_key(g_variable.key_combination_ctrl,g_variable.key_combination_keyvalue);
+				g_variable.key_combination_ctrl = 0;
+				g_variable.key_combination_step = CAMBINATION_KEY_RELEASE;
+			}
+			else if(g_variable.key_combination_step == CAMBINATION_KEY_NULL)
+			{
+				g_variable.key_combination_keyvalue = 0;
+				g_variable.key_combination_ctrl = 0;
+				kb_send_combination_key(g_variable.key_combination_ctrl,g_variable.key_combination_keyvalue);
+				g_variable.key_combination_step = CAMBINATION_KEY_FREE;
+			}
+		}
+
+}
+
+
+
+void kb_motion_keyscan(tKSEVENT *pEvt)
+{
+	byte temp = 0;
+	byte i=0;
+	
+	fn_flag = 0;
+	for(i=0; i < KS_BUFF_POLL_LEN-1; i++)
+	{
+		if (pEvt->ksPool[i] == HID_KEY_FN) 		// Fn key check
+		{
+			fn_flag = 1;
+		}
+	}
+	fn_flag_last = fn_flag;
+
+	
+	if (pEvt == NULL)
+		return;
+
+	delayChgInvTimer = 10;
+	g_variable.sleepTimer = 0;
+	xmemclear(hidBuff,9);
+	xmemclear(multikey,9);
+
+	////////////////////////////2.4g pairing////////////////////////////////////
+	if ((pEvt->ksPool[0]  == HID_KEY_K&& pEvt->ksPool[1]  == HID_KEY_ESC) 
+		||(pEvt->ksPool[0]  == HID_KEY_ESC && pEvt->ksPool[1]  == HID_KEY_K) 
+		)
+	{
+		m_24g_paring_addr[0] = 0x20;
+		m_24g_paring_addr[1] = 0x15;
+		m_24g_paring_addr[2] = 0x10;
+		m_24g_paring_addr[3] = 0x05;
+		if (g_variable.g24_currentState != CHANGE_TO_24G_PAIRING)
+		{
+			g_variable.button_flag |= KEY_FLAG_FN_24G_DEVICE_BUTTON;
+		}
+		else
+		{
+			g_variable.button_flag &= ~KEY_FLAG_FN_24G_DEVICE_BUTTON;
+		}
+	}
+	else
+	{
+		g_variable.button_flag &= ~KEY_FLAG_FN_24G_DEVICE_BUTTON;
+	}
+
+	m_power_on_flag = 1;
+	if( (g_variable.key_combination_step == CAMBINATION_KEY_PRESS) ||
+	    (g_variable.key_combination_step == CAMBINATION_KEY_WAIT_RELEASE) ||
+	    (g_variable.key_combination_step == CAMBINATION_KEY_HOLD))
+	{
+		return;
+	}
+
+	// get 24g led status
+	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+	{
+		for(i=0; i < KS_BUFF_POLL_LEN-1; i++)
+		{
+			if ((pEvt->ksPool[i] == HID_KEY_CAPS_LOCK) || (pEvt->ksPool[i] == HID_KEY_NUM_LOCK) 
+			|| (pEvt->ksPool[i] == HID_KEY_SCROLL_LOCK))
+			{
+				m_24g_led_flag = 1;
+
+			}
+		}
+	}
+
+	kb_multikey_setup(pEvt);
+	
+	if (mult_key_status == KEY_MULIT_PRESS) 
+	{
+		mult_key_status = KEY_WAIT_RELEASE;
+		multikey[0] = HID_REPORTID_2;
+		IPC_TxHidData(multikey, 3);
+	}
+#ifdef SYSTEM_CONTROL_ENABLE	
+	else if (mult_key_status == KEY_SYSTEM_PRESS) 
+	{
+		mult_key_status = KEY_WAIT_RELEASE;
+		multikey[0] = HID_REPORTID_SYSTEM;
+		IPC_TxHidData(multikey, 3);
+	}
+#endif	
+	else if(mult_key_status == KEY_RELEASE)
+	{
+		mult_key_status = KEY_STANDBY;
+		mult_key_value = 0;
+#ifdef SYSTEM_CONTROL_ENABLE		
+		if(system_key_press)
+		{
+			system_key_press = 0;
+			multikey[0] = HID_REPORTID_SYSTEM;
+		}	
+		else
+#endif		
+			multikey[0] = HID_REPORTID_2;
+			
+		IPC_TxHidData(multikey, 3);
+	}
+	else 
+	{
+		hidBuff[0] = HID_REPORTID_1;		// standard key send
+		hidBuff[1] = pEvt->standardSel;
+		hidBuff[2] = m_24g_led_flag;
+
+		standard_key_release_flag = 0;
+
+		if (pEvt->ksPool[0] == HID_KEY_FN)
+			xmemcpy(&hidBuff[3], &pEvt->ksPool[1], 5);
+		else
+			xmemcpy(&hidBuff[3], pEvt->ksPool, 6);
+		
+		for(i = 3; i<9;i++)
+		{
+			if (hidBuff[i] == HID_KEY_FN)
+				hidBuff[i] = 0;
+		}
+		
+		IPC_TxHidData(hidBuff, 9);
+	}
+	return;
+}
+/////////////////////////////////////////////////////////////////
+
+
+void kb_combination_key_press(byte press_state,byte special_key,byte standrad_key)
+{
+	g_variable.key_combination_ctrl = special_key;	
+	g_variable.key_combination_keyvalue = standrad_key;
+
+	if(press_state & 1)
+	{
+		if(g_variable.key_combination_step == CAMBINATION_KEY_COMPLETE) 
+			g_variable.key_combination_step = CAMBINATION_KEY_HOLD;
+		else	
+			g_variable.key_combination_step = CAMBINATION_KEY_PRESS;
+	}
+	else
+	{
+		g_variable.key_combination_step = CAMBINATION_KEY_WAIT_RELEASE;
+	}
+
+}
+
+
+byte key_fn_function(byte state ,byte key_value)
+{
+	byte temp = 0;
+
+	temp = key_value;
+	if(fn_flag == 1)			// Fn lock
+	{
+		
+		switch (key_value)
+		{ 
+			case HID_KEY_UP_ARROW:
+				if(state & 1)
+				{
+					if(g_variable.backlight_level < 3)
+						g_variable.backlight_level++;
+					else
+						g_variable.backlight_level = 3;
+				
+					YC_PWM_set_duty(g_variable.backlight_level);	
+				}
+				temp = HID_KEY_NULL;
+				break;
+			case HID_KEY_DOWN_ARROW:
+				if(state & 1)
+				{
+					if(g_variable.backlight_level)
+						g_variable.backlight_level--;
+						
+					YC_PWM_set_duty(g_variable.backlight_level);
+				}
+				temp = HID_KEY_NULL;
+				break;	
+			case HID_KEY_F1:
+				temp = HID_SYSTEM_KEY_SLEEP;
+				break;
+			case HID_KEY_F2:
+				temp = HID_MULTIKEY_AC_HOME;
+				break;
+			case HID_KEY_F3:
+				temp = HID_MULTIKEY_AC_FAVORITES;
+				break;
+			case HID_KEY_F4:
+				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_H);
+				temp = HID_KEY_NULL;
+				break;
+			case HID_KEY_F5:
+				temp = HID_MULTIKEY_CALCULATOR;
+				break;
+			case HID_KEY_F6:
+				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_TAB);
+				temp = HID_KEY_NULL;
+				break;
+			case HID_KEY_F7:
+				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_I);
+				temp = HID_KEY_NULL;
+				break;
+			case HID_KEY_F8:
+				temp = HID_MULTIKEY_AC_SEARCH;
+				break;
+			case HID_KEY_F9:
+				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_A);
+				temp = HID_KEY_NULL;
+				break;
+			case HID_KEY_F10:
+				temp = HID_MULTIKEY_PALY;
+				break;
+			case HID_KEY_F11:
+				temp = HID_MULTIKEY_PRE_TRACK;
+				break;
+			case HID_KEY_F12:
+				temp = HID_MULTIKEY_NEXT_TRACK;
+				break;
+			default :
+				break;
+		}
+	}
+	if(temp == HID_COMB_KEY_WIN_LOCK)
+	{
+		kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_L);
+		temp = HID_KEY_NULL;
+	}
+	return temp;
+}
+
+
+
+void kb_multikey_setup(tKSEVENT *pEvt)
+{
+	byte i = 0;
+	
+	for (i = 0;i < 6;i++)
+	{		
+		if ((pEvt->ksPool[i] &0xF0) == 0xf0 
+			|| (pEvt->ksPool[i] &0xD0) == 0xD0)
+		{
+			
+			if (pEvt->ksPool[i] ==  HID_MULTIKEY_MEDIA) //media select
+			{
+				kb_set_multikey(0x0183); 
+			}
+			else
+			if (pEvt->ksPool[i] ==  HID_MULTIKEY_PALY) //play / pause
+			{ 
+				kb_set_multikey(0x00cd);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_STOP)  //stop
+			{
+				kb_set_multikey(0x00b7);
+			}	
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_PRE_TRACK) //pre Track
+			{
+				kb_set_multikey(0x00b6);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_NEXT_TRACK) //next Track
+			{
+				kb_set_multikey(0x00b5);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_VOL_DOWN) //vol-
+			{
+				kb_set_multikey(0x00ea);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_VOL_UP) //vol+
+			{
+				kb_set_multikey(0x00e9);
+			}
+			else	if (pEvt->ksPool[i] ==  HID_MULTIKEY_MUTE) //mute
+			{
+				kb_set_multikey(0x00e2);
+			}
+			else	if (pEvt->ksPool[i] ==  HID_MULTIKEY_MY_COMPUTER) 
+			{
+				kb_set_multikey(0x0194);
+			}	
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_MAIL)  //mail
+			{
+				kb_set_multikey(0x018a);//mail
+			}
+			else	if (pEvt->ksPool[i] ==  HID_MULTIKEY_CALCULATOR) //calculator
+			{
+				kb_set_multikey(0x0192);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_FAVORITES) 
+			{
+				kb_set_multikey(0x022a);//www Favorites
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_FORWARD)  
+			{
+				kb_set_multikey(0x0225);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_STOP)  //www Stop
+			{
+				kb_set_multikey(0x0226);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_BACK)  
+			{
+				kb_set_multikey(0x0224);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_REFRESH) //www refresh
+			{
+				kb_set_multikey(0x0227);
+			}	
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_SEARCH)  //www search
+			{
+				kb_set_multikey(0x0221);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_HOME)
+			{
+				kb_set_multikey(0x0223);
+			} 	
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_LIGHT_DOWN)
+			{
+				kb_set_multikey(0x0070);
+			}
+			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_LIGHT_UP)
+			{
+				kb_set_multikey(0x006f);
+			}
+		#ifdef SYSTEM_CONTROL_ENABLE
+		      	else if (pEvt->ksPool[i] ==  HID_SYSTEM_KEY_POWER_DOWN)
+		      	{
+		        	kb_set_systemkey(0x01);
+		      	}
+		      	else if (pEvt->ksPool[i] ==  HID_SYSTEM_KEY_SLEEP)
+		      	{
+		        	kb_set_systemkey(0x02);
+		      	}
+		      	else if (pEvt->ksPool[i] ==  HID_SYSTEM_KEY_WAKE_UP)
+		      	{
+		        	kb_set_systemkey(0x04);
+		      	}
+		#endif
+			
+			if(mult_key_status == KEY_WAIT_RELEASE)
+			{
+				mult_key_value = pEvt->ksPool[i];
+				pEvt->ksPool[i] = 0;
+			}
+		}
+	}
+}
+
Index: KG9013/c51/kbhid.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/kbhid.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/kbhid.h	(working copy)
@@ -0,0 +1,293 @@
+#ifndef _KB_KEY_HID_
+#define _KB_KEY_HID_
+
+
+    /// KB USB usages
+enum UsbUsage {
+        HID_KEY_A 	= 0x04,
+        HID_KEY_B 	= 0x05,
+        HID_KEY_C 	= 0x06,
+        HID_KEY_D 	= 0x07,
+        HID_KEY_E 	= 0x08,
+        HID_KEY_F 	= 0x09,
+        HID_KEY_G 	= 0x0a,
+        HID_KEY_H 	= 0x0b,
+        HID_KEY_I  	= 0x0c,
+        HID_KEY_J 	= 0x0d,
+        HID_KEY_K 	= 0x0e,
+        HID_KEY_L 	= 0x0f,
+        HID_KEY_M 	= 0x10,
+        HID_KEY_N 	= 0x11,
+        HID_KEY_O	= 0x12,
+        HID_KEY_P	= 0x13,
+        HID_KEY_Q	= 0x14,
+        HID_KEY_R	= 0x15,
+        HID_KEY_S	= 0x16,
+        HID_KEY_T	= 0x17,
+        HID_KEY_U	= 0x18,
+        HID_KEY_V	= 0x19,
+        HID_KEY_W 	= 0x1a,
+        HID_KEY_X	= 0x1b,
+        HID_KEY_Y	= 0x1c,
+        HID_KEY_Z	= 0x1d,
+    
+        HID_KEY_1	= 0x1e,
+        HID_KEY_2	= 0x1f,
+        HID_KEY_3	= 0x20,
+        HID_KEY_4	= 0x21,
+        HID_KEY_5	= 0x22,
+        HID_KEY_6	= 0x23,
+        HID_KEY_7	= 0x24,
+        HID_KEY_8	= 0x25,
+        HID_KEY_9	= 0x26,
+        HID_KEY_0	= 0x27,
+    
+        HID_KEY_ENTER 				= 0x28,
+        HID_KEY_ESC				= 0x29,
+        HID_KEY_BACKSPACE		= 0x2a,
+        HID_KEY_TAB				= 0x2b,
+        HID_KEY_SPACE 				= 0x2c,
+        HID_KEY_MINUS				= 0x2d,		// -_
+        HID_KEY_EQUAL				= 0x2e,		// =+
+        HID_KEY_LEFT_BRACKET 		= 0x2f,		// [{
+        HID_KEY_RIGHT_BRACKET 	= 0x30,		// ]}
+        HID_KEY_BACK_SLASH 		= 0x31,		// \|
+    
+        HID_KEY_K42				= 0x32,
+        HID_KEY_SEMICOLON			= 0x33,		// ;:
+        HID_KEY_QUOTE				= 0x34,		// ' "
+        HID_KEY_TILDE				= 0x35,		// `~
+        HID_KEY_LESS_THAN			= 0x36,		// ,<
+        HID_KEY_GREAT_THAN		= 0x37,		// .>
+        HID_KEY_SLASH				= 0x38,		// /?
+        HID_KEY_CAPS_LOCK			= 0x39,
+
+        HID_KEY_F1		= 0x3a,
+        HID_KEY_F2		= 0x3b,
+        HID_KEY_F3		= 0x3c,
+        HID_KEY_F4		= 0x3d,
+        HID_KEY_F5		= 0x3e,
+        HID_KEY_F6		= 0x3f,
+        HID_KEY_F7		= 0x40,
+        HID_KEY_F8		= 0x41,
+        HID_KEY_F9		= 0x42,
+        HID_KEY_F10	= 0x43,
+        HID_KEY_F11	= 0x44,
+        HID_KEY_F12	= 0x45,
+    
+        HID_KEY_PRINT_SCREEN	= 0x46,
+        HID_KEY_SCROLL_LOCK	= 0x47,
+        HID_KEY_PAUSE			= 0x48,
+        HID_KEY_INSERT			= 0x49,
+        HID_KEY_HOME			= 0x4a,
+        HID_KEY_PAGE_UP		= 0x4b,
+        HID_KEY_DELETE		= 0x4c,
+        HID_KEY_END			= 0x4d,
+        HID_KEY_PAGE_DOWN	= 0x4e,
+        
+        HID_KEY_RIGHT_ARROW	= 0x4f,
+        HID_KEY_LEFT_ARROW	= 0x50,
+        HID_KEY_DOWN_ARROW	= 0x51,
+        HID_KEY_UP_ARROW		= 0x52,
+        
+        HID_KEY_NUM_LOCK		= 0x53,
+        HID_KEY_KP_SLASH		= 0x54,
+        HID_KEY_KP_ASTERISK	= 0x55,
+        HID_KEY_KP_MINUS		= 0x56,
+        HID_KEY_KP_PLUS		= 0x57,
+        HID_KEY_KP_ENTER		= 0x58,
+        HID_KEY_KP_1			= 0x59,
+        HID_KEY_KP_2			= 0x5a,
+        HID_KEY_KP_3			= 0x5b,
+        HID_KEY_KP_4			= 0x5c,
+        HID_KEY_KP_5			= 0x5d,
+        HID_KEY_KP_6			= 0x5e,
+        HID_KEY_KP_7			= 0x5f,
+        HID_KEY_KP_8			= 0x60,
+        HID_KEY_KP_9			= 0x61,
+        HID_KEY_KP_0			= 0x62,
+        HID_KEY_KP_DEL		= 0x63,
+  
+        HID_KEY_K45			= 0x64,
+        HID_KEY_APP			= 0x65,
+        HID_KEY_POWER			= 0x66,
+        HID_KEY_KP_EQUAL		= 0x67,
+        
+        HID_KEY_F13			= 0x68,
+        HID_KEY_F14			= 0x69,
+        HID_KEY_F15			= 0x6A,
+        HID_KEY_F16			= 0x6B,
+        HID_KEY_F17			= 0x6C,
+        HID_KEY_F18			= 0x6D,
+        HID_KEY_F19			= 0x6E,
+        HID_KEY_F20			= 0x6F,
+        HID_KEY_F21			= 0x70,
+        HID_KEY_F22			= 0x71,
+        HID_KEY_F23			= 0x72,
+        HID_KEY_F24			= 0x73,
+        
+        HID_KEY_EXECUTE		= 0x74,
+        HID_KEY_HELP			= 0x75,
+        HID_KEY_MENU			= 0x76,
+        HID_KEY_SELECT		= 0x77,
+    
+        HID_KEY_STOP			= 0x78,
+        HID_KEY_AGAIN			= 0x79,
+        HID_KEY_UNDO			= 0x7a,
+        HID_KEY_CUT			= 0x7b,
+        HID_KEY_COPY			= 0x7c,
+        HID_KEY_PASTE			= 0x7d,
+        HID_KEY_FIND			= 0x7e,
+        HID_KEY_MUTE			= 0x7f,
+        HID_KEY_VOL_UP		= 0x80,
+        HID_KEY_VOL_DOWN		= 0x81,
+    
+        HID_KEY_LOCKING_CAPS_LOCK		= 0x82,
+        HID_KEY_LOCKING_NUM_LOCK		= 0x83,
+        HID_KEY_LOCKING_SCROLL_LOCK		= 0x84,
+        HID_KEY_KP_COMMA					= 0x85,
+        HID_KEY_KP_EQUAL_AS400			= 0x86,
+        
+        HID_KEY_K56				= 0x87,
+        HID_KEY_K133  				= 0x88,
+        HID_KEY_K14  				= 0x89,
+        HID_KEY_K132  				= 0x8a,
+        HID_KEY_K131 				= 0x8b,
+    
+        HID_KEY_INTL_6				= 0x8c,
+        HID_KEY_INTL_7				= 0x8d,
+        HID_KEY_INTL_8				= 0x8e,
+        HID_KEY_INTL_9				= 0x8f,
+        HID_KEY_KR_R  				= 0x90,
+        HID_KEY_KR_L  				= 0x91,
+        HID_KEY_LANG_3			= 0x92,
+        HID_KEY_LANG_4			= 0x93,
+        HID_KEY_LANG_5			= 0x94,
+        HID_KEY_LANG_6			= 0x95,
+    
+        HID_KEY_LANG_7			= 0x96,
+        HID_KEY_LANG_8			= 0x97,
+        HID_KEY_LANG_9			= 0x98,
+        HID_KEY_ALT_ERASE			= 0x99,
+        HID_KEY_SYS_REQ			= 0x9a,
+        HID_KEY_CANCEL			= 0x9b,
+        HID_KEY_CLEAR				= 0x9c,
+        HID_KEY_PRIOR				= 0x9d,
+        HID_KEY_RETURN			= 0x9e,
+        HID_KEY_SEPARATOR		= 0x9f,
+    
+        HID_KEY_OUT				= 0xa0,
+        HID_KEY_OPER				= 0xa1,
+        HID_KEY_CLEAR_AGAIN		= 0xa2,
+        HID_KEY_CRSEL				= 0xa3,
+        HID_KEY_EXSEL				= 0xa4,
+    
+        // Reserved 0xa5~0xaf
+        HID_KEY_KP_00						= 0xb0,
+        HID_KEY_KP_000						= 0xb1,
+        HID_KEY_THOUSANDS_SEPERATOR	= 0xb2,
+        HID_KEY_DECIMAL_SEPERATOR		= 0xb3,
+        HID_KEY_CURRENCY_UNIT			= 0xb4,
+        HID_KEY_CURRENCY_SUB_UNIT		= 0xb5,
+        HID_KEY_KP_LEFT_PAREN			= 0xb6,
+        HID_KEY_KP_RIGHT_PAREN			= 0xb7,
+        HID_KEY_KP_LEFT_CURLY_BRACE		= 0xb8,
+        HID_KEY_KP_RIGHT_CURLY_BRACE	= 0xb9,
+        HID_KEY_KP_TAB					= 0xba,
+        HID_KEY_KP_BACKSPACE				= 0xbb,
+        HID_KEY_KP_A						= 0xbc,
+        HID_KEY_KP_B						= 0xbd,
+        HID_KEY_KP_C						= 0xbe,
+        HID_KEY_KP_D						= 0xbf,
+        HID_KEY_KP_E						= 0xc0,
+        HID_KEY_KP_F						= 0xc1,
+        HID_KEY_KP_XOR					= 0xc2,
+        HID_KEY_KP_CARET					= 0xc3,
+        HID_KEY_KP_PERCENT				= 0xc4,
+        HID_KEY_KP_LESS_THAN				= 0xc5,
+        HID_KEY_KP_GREATER_THAN			= 0xc6,
+        HID_KEY_KP_AMPERSAND				= 0xc7,
+    
+        HID_KEY_KP_DOUBLE_AMPERSAND	= 0xc8,
+        HID_KEY_KP_VERTICAL_BAR			= 0xc9,
+        HID_KEY_KP_DOUBLE_VERTICAL_BAR	= 0xca,
+        HID_KEY_KP_COLON					= 0xcb,
+        HID_KEY_KP_HASH					= 0xcc,
+        HID_KEY_KP_SPACE					= 0xcd,
+        HID_KEY_KP_AT						= 0xce,
+        HID_KEY_KP_EXCLAMATION			= 0xcf,
+        HID_KEY_KP_MEM_STORE			= 0xd0,
+        HID_KEY_KP_MEM_RECALL			= 0xd1,
+    
+        HID_KEY_KP_MEM_CLEAR				= 0xd2,
+        HID_KEY_KP_MEM_ADD				= 0xd3,
+        HID_KEY_KP_MEM_SUBTRACT			= 0xd4,
+        HID_KEY_KP_MEM_MULTIPLY			= 0xd5,
+        HID_KEY_KP_MEM_DIVIDE				= 0xd6,
+        HID_KEY_KP_PLUS_MINUS				= 0xd7,
+        HID_KEY_KP_CLEAR					= 0xd8,
+        HID_KEY_KP_CLEAR_ENTRY			= 0xd9,
+        HID_KEY_KP_BINARY					= 0xda,
+        HID_KEY_KP_OCTAL					= 0xdb,
+    
+        HID_KEY_KP_DECIMAL				= 0xdc,
+        HID_KEY_KP_HEX					= 0xdd,
+        // 0xde~0xdf reserved
+        
+        HID_KEY_LEFT_CTL			= 0xe0,
+        HID_KEY_LEFT_SHIFT			= 0xe1,
+        HID_KEY_LEFT_ALT 			= 0xe2,
+        HID_KEY_LEFT_GUI 			= 0xe3,
+        HID_KEY_RIGHT_CTL			= 0xe4,
+        HID_KEY_RIGHT_SHIFT		= 0xe5,
+        HID_KEY_RIGHT_ALT			= 0xe6,
+        HID_KEY_RIGHT_GUI			= 0xe7,
+        // 0xe8~0xff reserved
+        HID_KEY_FN 					= 0xaf,
+        HID_KEY_NULL 				= 0x00,
+};
+
+enum multKey{
+//mult key
+	HID_MULTIKEY_MEDIA		= 0xF1,
+ 	HID_MULTIKEY_PALY		= 0xF2,
+ 	HID_MULTIKEY_STOP		= 0xF3,
+ 	HID_MULTIKEY_PRE_TRACK	= 0xF4,
+ 	HID_MULTIKEY_NEXT_TRACK	= 0xF5,
+ 	HID_MULTIKEY_VOL_DOWN	= 0xF6,
+ 	HID_MULTIKEY_VOL_UP		= 0xF7,
+ 	HID_MULTIKEY_MUTE			= 0xF8,
+ 	HID_MULTIKEY_MY_COMPUTER 	= 0xF9,
+ 	HID_MULTIKEY_MAIL			= 0xFA,
+ 	HID_MULTIKEY_CALCULATOR	= 0xFB,
+ 	HID_COMB_KEY_WIN_LOCK     	= 0xFC,
+
+
+ 	HID_MULTIKEY_AC_FAVORITES	= 0xD0,
+ 	HID_MULTIKEY_AC_FORWARD	= 0xD1,
+ 	HID_MULTIKEY_AC_BACK		= 0xD2,
+ 	HID_MULTIKEY_AC_STOP		= 0xD3,
+ 	HID_MULTIKEY_AC_REFRESH	= 0xD4,
+ 	HID_MULTIKEY_AC_SEARCH	= 0xD5,
+ 	HID_MULTIKEY_AC_HOME		= 0xD6,
+ 	HID_MULTIKEY_LIGHT_DOWN	= 0xD7,
+ 	HID_MULTIKEY_LIGHT_UP		= 0xD8,
+	
+	HID_SYSTEM_KEY_POWER_DOWN 	= 0xDD,
+	HID_SYSTEM_KEY_SLEEP 			= 0xDE,
+	HID_SYSTEM_KEY_WAKE_UP		= 0xDF
+};
+
+enum hidReportId{
+	HID_REPORTID_1 = 0x01,
+	HID_REPORTID_2 = 0x02,
+	HID_REPORTID_3 = 0x03,
+	HID_REPORTID_SYSTEM = 0x06
+};
+
+enum hidReportLen{
+	HID_REPORTLEN_1 = 0x09,
+	HID_REPORTLEN_2 = 0x05
+};
+
+#endif
Index: KG9013/c51/keyscan.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/keyscan.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/keyscan.h	(working copy)
@@ -0,0 +1,61 @@
+/*
+ * Copyright 2016, yichip Semiconductor(shenzhen office)
+ * All Rights Reserved.
+ *
+ * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Yichip Semiconductor;
+ * the contents of this file may not be disclosed to third parties, copied
+ * or duplicated in any form, in whole or in part, without the prior
+ * written permission of Yichip Semiconductor.
+ */
+#include "common.h"
+
+#ifndef _KEYSCAN_
+#define _KEYSCAN_
+
+#define KS_SEL_RGUI					0x80
+#define KS_SEL_RALT					0x40
+#define KS_SEL_RSHIFT				0x20
+#define KS_SEL_RCTRL				0x10
+#define KS_SEL_LGUI					0x08
+#define KS_SEL_LALT					0x04
+#define KS_SEL_LSHIFT				0x02
+#define KS_SEL_LCTRL				0x01
+
+#define KS_BUFF_POLL_LEN 6
+typedef struct {
+	byte standardSel;
+	byte ksPool[KS_BUFF_POLL_LEN];
+}tKSEVENT;
+
+/**
+ * This function initlialize key scan hardware.
+ * 
+ * @param none.
+ * 
+ * @return none.
+*/
+void KS_Initialize(void);
+
+/**
+ * This function Get Keyscan event message.
+ * 
+ * @param none.
+ * 
+ * @return ptr of keyscan event.
+*/
+tKSEVENT *KS_GetCurrentEvt();
+
+/**
+ * This function scan ks matrix.
+ * 
+ * @param none.
+ * 
+ * @return ptr of keyscan event.
+*/
+void KS_ScanMatrix();
+
+void KS_Unistall();
+
+
+#endif
+ 
\ No newline at end of file
Index: KG9013/c51/keyscan.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/keyscan.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/keyscan.c	(working copy)
@@ -0,0 +1,402 @@
+#include "keyscan.h"
+
+
+extern code byte col[KB_KSCAN_COL_NUM+1];
+extern code byte  ksMap[KS_KEY_MAP_LEN];
+
+
+#define GET_RAW_KEY_SEL(y, g, n)	REG_GPIO_PUP (g) &= ~n; \
+	REG_GPIO_OE(g) |= n; \
+	REG_GPIO_OUT(g) &= ~n;	\
+	y = ~ REG_GPIO_IN(0);	\
+	REG_GPIO_PUP(g) |= n;	\
+	REG_GPIO_OE(g) &= ~n
+
+
+#define GET_RAW_KEY_SEL0(y,x)		GPIO_SetOutput(x, 0); \
+		y = ~ REG_GPIO_IN(0);	\
+		GPIO_SetInput(x, 0)
+
+tKSEVENT xdata ksEvtPool;
+
+#define MAX(a,b) ((a)>(b)?(a):(b))
+
+static byte bit_count(byte v)
+{
+	unsigned char c;
+	for (c = 0; v; c++) {
+    	v &= v - 1;
+    }
+    return c;
+}
+
+
+//byte col[] = {25,26};
+static void keyIn(byte key)
+{
+	byte i = 0;
+
+	if(key >= HID_KEY_LEFT_CTL && key <= HID_KEY_RIGHT_GUI)
+	{
+		ksEvtPool.standardSel  |=  0x01 << (key & 0x07);
+		return;
+	}
+
+/*
+
+	if (key == HID_KEY_RIGHT_GUI)
+	{
+		ksEvtPool.standardSel |= KS_SEL_RGUI;
+		return;
+	}
+	else if (key ==HID_KEY_RIGHT_ALT) 
+	{
+		ksEvtPool.standardSel |= KS_SEL_RALT;
+		return;
+	}
+	else if (key ==HID_KEY_RIGHT_SHIFT) 
+	{
+		ksEvtPool.standardSel |= KS_SEL_RSHIFT;
+		return;
+	}
+	else if (key ==HID_KEY_RIGHT_CTL) 
+	{
+		ksEvtPool.standardSel |= KS_SEL_RCTRL;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_GUI) 
+	{
+		ksEvtPool.standardSel |= KS_SEL_LGUI;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_ALT) 
+	{
+		ksEvtPool.standardSel |= KS_SEL_LALT;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_SHIFT)
+	{
+		ksEvtPool.standardSel |= KS_SEL_LSHIFT;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_CTL) 
+	{
+		ksEvtPool.standardSel |= KS_SEL_LCTRL;
+		return;
+	}
+*/	
+	//special key
+
+	for (i=0 ; i<KS_BUFF_POLL_LEN ; i++) 
+	{
+		if (ksEvtPool.ksPool[i] == key)
+			break;
+		if (ksEvtPool.ksPool[i] == 0) 
+		{
+			if(mult_key_value != key)
+				ksEvtPool.ksPool[i] = key;
+			break;
+		}
+	}
+}
+
+static void keyOut(byte key)
+{
+	byte i = 0 ;
+	byte found = 0;
+
+	if ((key &0xF0) == 0xf0 || (key &0xD0) == 0xD0)
+	{
+		if(mult_key_status == KEY_WAIT_RELEASE)
+		{
+			mult_key_status = KEY_RELEASE;
+		}
+	}
+	else
+		standard_key_release_flag = 1;
+
+	if(key >= HID_KEY_LEFT_CTL && key <= HID_KEY_RIGHT_GUI)
+	{
+		ksEvtPool.standardSel  &= ~0x01 << (key & 0x07);
+		return;
+	}
+
+/*
+	if (key == HID_KEY_RIGHT_GUI ) 
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_RGUI;
+		return;
+	}
+	else if (key ==HID_KEY_RIGHT_ALT ) 
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_RALT;
+		return;
+	}
+	else if (key ==HID_KEY_RIGHT_SHIFT) 
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_RSHIFT;
+		return;
+	}
+	else if (key ==HID_KEY_RIGHT_CTL) 
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_RCTRL;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_GUI)
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_LGUI;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_ALT)
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_LALT;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_SHIFT) 
+	{
+		ksEvtPool.standardSel &= ~KS_SEL_LSHIFT;
+		return;
+	}
+	else if (key ==HID_KEY_LEFT_CTL) 
+	{
+		ksEvtPool.standardSel &= ~ KS_SEL_LCTRL;
+		return;
+	}
+*/	
+	for (i=0 ; i<KS_BUFF_POLL_LEN ; i++) 
+	{
+		if (found == 0) 
+		{
+			if (ksEvtPool.ksPool[i] == key) {
+				if (i == KS_BUFF_POLL_LEN-1) {
+					ksEvtPool.ksPool[i] = 0;
+				}
+				found = 1;
+			}
+		}
+		else 
+		{
+			ksEvtPool.ksPool[i-1] = ksEvtPool.ksPool[i];
+			if (ksEvtPool.ksPool[i] == 0)
+				break;
+			if (i == KS_BUFF_POLL_LEN-1) {
+				ksEvtPool.ksPool[i] = 0;
+			}
+		}
+	}
+}
+
+static void ksRawInitialize()
+{
+	byte i = 0;
+	
+	for (i=0; i<8; i++) {
+		GPIO_SetInput(i, 0);
+	}
+}
+
+static void ksColInitialize()
+{
+	byte i = 0;
+	for (i=0; col[i]!=0; i++) {
+		GPIO_SetInput(col[i], 0);
+	}
+}
+
+void KS_Initialize()
+{
+	REG_GPIO_SELECT(0) = 0;
+	REG_GPIO_SELECT(1) = 0;
+	REG_GPIO_SELECT(2) = 0;
+	ksRawInitialize();
+	ksColInitialize();
+}
+
+void KS_Unistall()
+{
+	byte i = 0;
+	byte temp = 0;
+	byte tgroup = 0;
+	byte tgpionum = 0;
+	for (i=0; col[i]!=0; i++) {
+		tgroup = col[i]  >> 3;
+		tgpionum = 1 << (col[i] & 7);
+		REG_GPIO_PUP (tgroup) &= ~tgpionum;
+		REG_GPIO_OE(tgroup) |= tgpionum;
+		REG_GPIO_OUT(tgroup) &= ~tgpionum;
+	}
+	
+	GPIO_fillpd();
+	
+	temp = REG_GPIO_IN(0);
+	//if (g_variable.battery_status != 2)
+	{
+		if(long_press_flag)
+		{
+			GPIO_SetWakeupByCurrentState(0);
+			GPIO_SetWakeupByCurrentState(1);
+			GPIO_SetWakeupByCurrentState(2);
+			GPIO_SetWakeupByCurrentState(3);
+			GPIO_SetWakeupByCurrentState(4);
+			GPIO_SetWakeupByCurrentState(5);
+			GPIO_SetWakeupByCurrentState(6);
+			GPIO_SetWakeupByCurrentState(7);
+		}
+		else
+		{
+			YC_GPIOWakeupL[0] = temp;
+			YC_GPIOWakeupH[0] = ~temp;
+		}
+
+	}
+	//else
+	//{
+	//	YC_GPIOWakeupL[0] = 0;
+	//	YC_GPIOWakeupH[0] = 0;
+	//}
+}
+
+
+void KS_ScanMatrix()
+{
+	byte i = 0;
+	byte j = 0;
+	byte tgroup = 0;
+	byte tgpionum = 0;
+	byte temp = 0;
+	byte check = 0;
+	byte rawSel = 0;
+	for (i=0; col[i]!=0; i++) {
+		tgroup = col[i]  >> 3;
+		tgpionum = 1 << (col[i] & 7);
+		GET_RAW_KEY_SEL(ksSelMapCurr[i], tgroup, tgpionum);
+	}
+
+	for (i=0; col[i]!=0; i++) {
+		tgroup = col[i]  >> 3;
+		tgpionum = 1 << (col[i] & 7);
+		GET_RAW_KEY_SEL(ksSelMapCheck[i], tgroup, tgpionum);
+	}
+
+	for (i=0; col[i]!=0; i++) {
+		if (ksSelMapCheck[i]!=ksSelMapCurr[i]) {
+			ksSelMapCurr[i] &= ksSelMapCheck[i];
+		}
+	}
+}
+
+byte array_is_empty(byte * str1,byte len)
+{
+	byte i;
+	for (i=0;i < len;i++)
+	{
+		if (str1[i] != 0)
+			return 0x00;
+	}
+	return 0x01;
+}
+
+
+tKSEVENT *KS_GetCurrentEvt()
+{
+	//
+	byte i = 0;
+	byte j = 0;
+	byte temp = 0;
+	byte flag = 0;
+	byte offset = 0;
+	byte state = 0;
+	byte colCounttemp = 0;
+	byte rawSel =0;
+	byte keyCounttemp = 0;
+	byte key_value_temp = 0;
+	byte ghost = 0;
+	byte rawCount = 0;
+	byte colCount = 0;
+	byte keyCount = 0;
+	
+	KS_ScanMatrix();
+
+	if (compare_str(ksSelMapCurr,ksSelMapCheck,KB_KSCAN_COL_NUM) 
+		&& !array_is_empty(ksSelMapCurr,KB_KSCAN_COL_NUM))
+	{
+		g_variable.button_flag |= 0x02;
+	}
+	else
+	{	
+		g_variable.button_flag &= 0xFD;
+		g_variable.button_timer[1] = 0;
+	}
+
+	for (i=0; col[i]!=0; i++) {
+		temp = ksSelMapCurr[i];
+		if (temp!=0) {
+			colCounttemp++;
+			rawSel = temp|rawSel;
+			keyCounttemp += bit_count(temp);
+		}
+	}
+	keyCount = keyCounttemp;
+	colCount = colCounttemp;
+	rawCount = bit_count(rawSel);
+	if (keyCount >2 && keyCount > MAX(colCount, rawCount)) {
+		ghost = 1;
+	}
+	else {
+		ghost = 0;
+	}
+	
+	for (i=0; col[i]!=0; i++)
+	{
+		temp = ksSelMapCurr[i] ^ ksSelMapOld[i];
+		state = ksSelMapCurr[i];
+		if (temp == 0) 
+		{
+			continue;
+		}
+		else 
+		{
+
+			if (ghost) 
+				return NULL;
+			ksSelMapOld[i] = ksSelMapCurr[i];
+			for (j = 0 ; j<8 ; j++) 
+			{
+				if (temp&1)
+				{
+					offset = i<<3 |j;
+					key_value_temp = key_fn_function(state,ksMap[offset]);
+					if (state & 1)
+					{
+						keyIn(key_value_temp);
+					}
+					else
+					{
+						keyOut(key_value_temp);
+					}
+				}
+				temp = temp >>1;
+				state = state>>1;
+			}
+			flag = 1;
+		}
+	}
+	
+	if((mult_key_status == KEY_RELEASE) && (standard_key_release_flag == 1))
+	{
+		standard_key_release_flag = 2;		//media key and standard key  release the same time
+	}
+
+	
+	if (flag || standard_key_release_flag == 2) 
+	{
+		return &ksEvtPool;
+	}
+	else
+	{
+		return NULL;
+	}
+	
+
+}
+
Index: KG9013/c51/led.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/led.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/led.h	(working copy)
@@ -0,0 +1,14 @@
+#ifndef _LED_H
+#define _LED_H
+#include "common.h"
+
+#define LED_ON 0
+#define LED_OFF 1
+
+
+void LED_all_shutdown();
+void LED_handle();
+
+#endif /* YC_LED_H */
+
+
Index: KG9013/c51/output/FW
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/output/FW
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/led.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/led.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/led.c	(working copy)
@@ -0,0 +1,91 @@
+#include "led.h"
+
+
+void LED_all_shutdown()
+{
+	GPIO_SetOutput(NUM_LOCK_LED_GPIO,LED_OFF);
+	GPIO_SetOutput(CAPS_LED_GPIO,LED_OFF);
+	GPIO_SetOutput(SCROLL_LED_GPIO,LED_OFF);
+	YC_PWM_set_duty(0);
+}
+
+
+
+void LED_handle()
+{
+	if (power_on_flag != 2)
+		return;
+
+	if((!g_variable.pairing_timeout) && (!g_variable.pairing_g24_timeout))
+	{
+		//low battery LED process
+		if (g_variable.battery_status == BAT_STATUS_SHUT_DOWN)
+		{		
+			System_long_sleep();
+		}
+		else if (g_variable.battery_status == BAT_STATUS_LOW)
+		{
+			if (g_variable.battery_low_led_flash_flag == 0)
+			{
+				g_variable.battery_low_led_flash_interval = LOW_BATTERY_FLASH_INTERVAL;
+				g_variable.battery_low_led_flash_flag = 1;
+			}
+		}
+		else
+		{
+			if (g_variable.battery_low_led_flash_flag == 1)
+			{
+				g_variable.battery_low_led_flash_flag = 0;
+				g_variable.battery_low_led_flash_interval = 0;
+			}
+		}
+
+		if(((g_variable.sleepTimer > LOW_BATTARY_FLASH_20S) && (g_variable.battery_status == BAT_STATUS_LOW))
+		|| (g_variable.battery_status != BAT_STATUS_LOW))
+		{
+			if (!g_variable.powerOn_timer)
+			{
+				//capslock  numlock  scrolllock LED process
+				if (YC_check_is_connected())
+				{
+					if(m_caps_num_lock & KB_PC_KEYSEL_NUMLOCK)
+					{
+						GPIO_Setout(NUM_LOCK_LED_GPIO, LED_ON);
+					}
+					else
+					{
+						GPIO_Setout(NUM_LOCK_LED_GPIO, LED_OFF);
+					}
+					
+					if(m_caps_num_lock & KB_PC_KEYSEL_CAPSLOCK)
+					{
+						GPIO_Setout(CAPS_LED_GPIO, LED_ON);
+					}
+					else 
+					{
+						GPIO_Setout(CAPS_LED_GPIO, LED_OFF);
+					}	
+
+					if(m_caps_num_lock & KB_PC_KEYSEL_SCROLLLOCK)
+					{
+						GPIO_Setout(SCROLL_LED_GPIO, LED_ON);
+					}
+					else 
+					{
+						GPIO_Setout(SCROLL_LED_GPIO, LED_OFF);
+					}
+
+				}
+				else
+				{
+					GPIO_Setout(NUM_LOCK_LED_GPIO, LED_OFF);
+					GPIO_Setout(CAPS_LED_GPIO, LED_OFF);
+					GPIO_Setout(SCROLL_LED_GPIO, LED_OFF);
+				}
+			}
+		}
+	}
+}
+
+
+
Index: KG9013/c51/output/FW.COD
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/FW.COD	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/FW.COD	(working copy)
@@ -0,0 +1,7258 @@
+LX51 LINKER/LOCATER V4.41                                                               08/31/2020  19:36:21  PAGE 1
+
+
+
+
+
+ASSEMBLER CODE PACKING OF MODULE:  OUTPUT\FW (BLUETOOTH)
+
+
+----- FUNCTION YC_check_is_connected (BEGIN) -----
+ FILE: 'bluetooth.c'
+    4: byte YC_check_is_connected()
+    5: {
+    6: 	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+    7: 	{
+0006C2 904CC5            MOV     DPTR,#g_variable+06H
+0006C5 E0                MOVX    A,@DPTR
+0006C6 B40303            CJNE    A,#03H,?C0001?BLUETOOTH
+    8: 		return 1;
+    9: 	}
+0006C9 7F01              MOV     R7,#01H
+0006CB 22                RET     
+   10: 	return 0;
+0006CC         ?C0001?BLUETOOTH:
+   11: }
+0006CC 7F00              MOV     R7,#00H
+   12: 
+0006CE 22                RET     
+----- FUNCTION YC_check_is_connected (END) -------
+
+
+----- FUNCTION LED_handle (BEGIN) -----
+ FILE: 'led.c'
+   14: void LED_handle()
+   15: {
+   16: 	if (power_on_flag != 2)
+   17: 		return;
+0006CF 904DE2            MOV     DPTR,#power_on_flag
+0006D2 E0                MOVX    A,@DPTR
+0006D3 6402              XRL     A,#02H
+0006D5 6002              JZ      $ + 4H
+0006D7 E195              AJMP    ?C0003?LED
+0006D9         ?C0002?LED:
+   18: 
+   19: 	if((!g_variable.pairing_timeout) && (!g_variable.pairing_g24_timeout))
+0006D9 904CE9            MOV     DPTR,#g_variable+02AH
+0006DC E0                MOVX    A,@DPTR
+0006DD 6002              JZ      $ + 4H
+0006DF E195              AJMP    ?C0003?LED
+0006E1 904CEE            MOV     DPTR,#g_variable+02FH
+0006E4 E0                MOVX    A,@DPTR
+0006E5 6002              JZ      $ + 4H
+0006E7 E195              AJMP    ?C0003?LED
+   20: 	{
+   21: 		//low battery LED process
+   22: 		if (g_variable.battery_status == BAT_STATUS_SHUT_DOWN)
+0006E9 904CD5            MOV     DPTR,#g_variable+016H
+0006EC E0                MOVX    A,@DPTR
+0006ED B40204            CJNE    A,#02H,?C0005?LED
+   23: 		{		
+   24: 			System_long_sleep();
+0006F0 F1A8              ACALL   System_long_sleep
+   25: 		}
+0006F2 8028              SJMP    ?C0006?LED
+0006F4         ?C0005?LED:
+   26: 		else if (g_variable.battery_status == BAT_STATUS_LOW)
+0006F4 904CD5            MOV     DPTR,#g_variable+016H
+0006F7 E0                MOVX    A,@DPTR
+0006F8 B40114            CJNE    A,#01H,?C0007?LED
+   27: 		{
+   28: 			if (g_variable.battery_low_led_flash_flag == 0)
+0006FB 904CF7            MOV     DPTR,#g_variable+038H
+0006FE E0                MOVX    A,@DPTR
+0006FF 701B              JNZ     ?C0006?LED
+   29: 			{
+   30: 				g_variable.battery_low_led_flash_interval = LOW_BATTERY_FLASH_INTERVAL;
+000701 904CE2            MOV     DPTR,#g_variable+023H
+000704 7404              MOV     A,#04H
+000706 F0                MOVX    @DPTR,A
+   31: 				g_variable.battery_low_led_flash_flag = 1;
+000707 904CF7            MOV     DPTR,#g_variable+038H
+00070A 7401              MOV     A,#01H
+00070C F0                MOVX    @DPTR,A
+   32: 			}
+   33: 		}
+00070D 800D              SJMP    ?C0006?LED
+00070F         ?C0007?LED:
+   34: 		else
+   35: 		{
+   36: 			if (g_variable.battery_low_led_flash_flag == 1)
+00070F 904CF7            MOV     DPTR,#g_variable+038H
+000712 E0                MOVX    A,@DPTR
+000713 B40106            CJNE    A,#01H,?C0006?LED
+   37: 			{
+   38: 				g_variable.battery_low_led_flash_flag = 0;
+000716 E4                CLR     A
+000717 F0                MOVX    @DPTR,A
+   39: 				g_variable.battery_low_led_flash_interval = 0;
+000718 904CE2            MOV     DPTR,#g_variable+023H
+00071B F0                MOVX    @DPTR,A
+   40: 			}
+   41: 		}
+00071C         ?C0006?LED:
+   42: 
+   43: 		if(((g_variable.sleepTimer > LOW_BATTARY_FLASH_20S) && (g_variable.battery_status == BAT_STATUS_LOW))
+00071C D3                SETB    C
+00071D 904CE4            MOV     DPTR,#g_variable+025H
+000720 E0                MOVX    A,@DPTR
+000721 9428              SUBB    A,#028H
+000723 904CE3            MOV     DPTR,#g_variable+024H
+000726 E0                MOVX    A,@DPTR
+000727 9400              SUBB    A,#00H
+000729 4008              JC      ?C0013?LED
+00072B 904CD5            MOV     DPTR,#g_variable+016H
+00072E E0                MOVX    A,@DPTR
+00072F 6401              XRL     A,#01H
+000731 6008              JZ      ?C0012?LED
+000733         ?C0013?LED:
+000733 904CD5            MOV     DPTR,#g_variable+016H
+000736 E0                MOVX    A,@DPTR
+000737 6401              XRL     A,#01H
+000739 605A              JZ      ?C0003?LED
+00073B         ?C0012?LED:
+   44: 		|| (g_variable.battery_status != BAT_STATUS_LOW))
+   45: 		{
+   46: 			if (!g_variable.powerOn_timer)
+00073B 904CE5            MOV     DPTR,#g_variable+026H
+00073E E0                MOVX    A,@DPTR
+00073F 7054              JNZ     ?C0003?LED
+   47: 			{
+   48: 				//capslock  numlock  scrolllock LED process
+   49: 				if (YC_check_is_connected())
+000741 D1C2              ACALL   YC_check_is_connected
+000743 EF                MOV     A,R7
+000744 603D              JZ      ?C0015?LED
+   50: 				{
+   51: 					if(m_caps_num_lock & KB_PC_KEYSEL_NUMLOCK)
+000746 904CB7            MOV     DPTR,#m_caps_num_lock
+000749 E0                MOVX    A,@DPTR
+00074A 30E008            JNB     ACC.0,?C0016?LED
+   52: 					{
+   53: 						GPIO_Setout(NUM_LOCK_LED_GPIO, LED_ON);
+00074D C201              CLR     ?_GPIO_Setout?BIT
+00074F 7F1C              MOV     R7,#01CH
+000751 F196              ACALL   _GPIO_Setout
+   54: 					}
+000753 8006              SJMP    ?C0017?LED
+000755         ?C0016?LED:
+   55: 					else
+   56: 					{
+   57: 						GPIO_Setout(NUM_LOCK_LED_GPIO, LED_OFF);
+000755 D201              SETB    ?_GPIO_Setout?BIT
+000757 7F1C              MOV     R7,#01CH
+000759 F196              ACALL   _GPIO_Setout
+   58: 					}
+00075B         ?C0017?LED:
+   59: 					
+   60: 					if(m_caps_num_lock & KB_PC_KEYSEL_CAPSLOCK)
+00075B 904CB7            MOV     DPTR,#m_caps_num_lock
+00075E E0                MOVX    A,@DPTR
+00075F 30E108            JNB     ACC.1,?C0018?LED
+   61: 					{
+   62: 						GPIO_Setout(CAPS_LED_GPIO, LED_ON);
+000762 C201              CLR     ?_GPIO_Setout?BIT
+000764 7F1D              MOV     R7,#01DH
+000766 F196              ACALL   _GPIO_Setout
+   63: 					}
+000768 8006              SJMP    ?C0019?LED
+00076A         ?C0018?LED:
+   64: 					else 
+   65: 					{
+   66: 						GPIO_Setout(CAPS_LED_GPIO, LED_OFF);
+00076A D201              SETB    ?_GPIO_Setout?BIT
+00076C 7F1D              MOV     R7,#01DH
+00076E F196              ACALL   _GPIO_Setout
+   67: 					}	
+000770         ?C0019?LED:
+   68: 
+   69: 					if(m_caps_num_lock & KB_PC_KEYSEL_SCROLLLOCK)
+000770 904CB7            MOV     DPTR,#m_caps_num_lock
+000773 E0                MOVX    A,@DPTR
+000774 30E206            JNB     ACC.2,?C0020?LED
+   70: 					{
+   71: 						GPIO_Setout(SCROLL_LED_GPIO, LED_ON);
+000777 C201              CLR     ?_GPIO_Setout?BIT
+000779 7F1E              MOV     R7,#01EH
+00077B 8019              SJMP    _GPIO_Setout
+   72: 					}
+00077D         ?C0020?LED:
+   73: 					else 
+   74: 					{
+   75: 						GPIO_Setout(SCROLL_LED_GPIO, LED_OFF);
+00077D D201              SETB    ?_GPIO_Setout?BIT
+00077F 7F1E              MOV     R7,#01EH
+000781 8013              SJMP    _GPIO_Setout
+   76: 					}
+   77: 
+   78: 				}
+000783         ?C0015?LED:
+   79: 				else
+   80: 				{
+   81: 					GPIO_Setout(NUM_LOCK_LED_GPIO, LED_OFF);
+000783 D201              SETB    ?_GPIO_Setout?BIT
+000785 7F1C              MOV     R7,#01CH
+000787 F196              ACALL   _GPIO_Setout
+   82: 					GPIO_Setout(CAPS_LED_GPIO, LED_OFF);
+000789 D201              SETB    ?_GPIO_Setout?BIT
+00078B 7F1D              MOV     R7,#01DH
+00078D F196              ACALL   _GPIO_Setout
+   83: 					GPIO_Setout(SCROLL_LED_GPIO, LED_OFF);
+00078F D201              SETB    ?_GPIO_Setout?BIT
+000791 7F1E              MOV     R7,#01EH
+000793 F196              ACALL   _GPIO_Setout
+   84: 				}
+   85: 			}
+   86: 		}
+   87: 	}
+   88: }
+000795         ?C0003?LED:
+000795 22                RET     
+----- FUNCTION LED_handle (END) -------
+
+
+----- FUNCTION _GPIO_Setout (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+000796 EF                MOV     A,R7
+000797 F4                CPL     A
+000798 600D              JZ      ?C0007?GPIO
+00079A         ?C0006?GPIO:
+00079A 7B01              MOV     R3,#01H
+00079C 7A80              MOV     R2,#080H
+00079E 7974              MOV     R1,#074H
+0007A0 A201              MOV     C,bit_val
+0007A2 9200              MOV     ?_gpioSetBit?BIT,C
+0007A4 121267            LCALL   _gpioSetBit
+0007A7         ?C0007?GPIO:
+0007A7 22                RET     
+----- FUNCTION _GPIO_Setout (END) -------
+
+
+----- FUNCTION System_long_sleep (BEGIN) -----
+ FILE: 'sys.c'
+   65: void System_long_sleep()
+   66: { 
+   67: 	m_reconnect_continue = 0;
+   68: 	IPC_TxControlCmd(IPC_CMD_ENTER_HIBERNATE);
+0007A8 E4                CLR     A
+0007A9 904D38            MOV     DPTR,#m_reconnect_continue
+0007AC F0                MOVX    @DPTR,A
+   69: }
+0007AD 7F19              MOV     R7,#019H
+;----                  JMP     _IPC_TxControlCmd
+----- FUNCTION System_long_sleep (END) -------
+
+
+----- FUNCTION _IPC_TxControlCmd (BEGIN) -----
+0007AF 904E72            MOV     DPTR,#cmd
+0007B2 EF                MOV     A,R7
+0007B3 F0                MOVX    @DPTR,A
+0007B4 7873              MOV     R0,#LOW cmdBuff
+0007B6 7C4E              MOV     R4,#HIGH cmdBuff
+0007B8 7D01              MOV     R5,#01H
+0007BA 7BFF              MOV     R3,#0FFH
+0007BC 7A06              MOV     R2,#HIGH _?ix1000
+0007BE 79BF              MOV     R1,#LOW _?ix1000
+0007C0 7E00              MOV     R6,#00H
+0007C2 7F03              MOV     R7,#03H
+0007C4 7190              ACALL   ?C?COPY
+0007C6 904E72            MOV     DPTR,#cmd
+0007C9 E0                MOVX    A,@DPTR
+0007CA 904E75            MOV     DPTR,#cmdBuff+02H
+0007CD F0                MOVX    @DPTR,A
+0007CE 7B01              MOV     R3,#01H
+0007D0 7A4E              MOV     R2,#HIGH cmdBuff
+0007D2 7973              MOV     R1,#LOW cmdBuff
+0007D4 7D03              MOV     R5,#03H
+;----                  JMP     _ipcTx
+----- FUNCTION _IPC_TxControlCmd (END) -------
+
+
+----- FUNCTION _ipcTx (BEGIN) -----
+0007D6 904E47            MOV     DPTR,#src
+0007D9 EB                MOV     A,R3
+0007DA F0                MOVX    @DPTR,A
+0007DB A3                INC     DPTR
+0007DC EA                MOV     A,R2
+0007DD F0                MOVX    @DPTR,A
+0007DE A3                INC     DPTR
+0007DF E9                MOV     A,R1
+0007E0 F0                MOVX    @DPTR,A
+0007E1 A3                INC     DPTR
+0007E2 ED                MOV     A,R5
+0007E3 F0                MOVX    @DPTR,A
+0007E4 904B9C            MOV     DPTR,#ipcTxWritePtr
+0007E7 E0                MOVX    A,@DPTR
+0007E8 FF                MOV     R7,A
+0007E9 A3                INC     DPTR
+0007EA E0                MOVX    A,@DPTR
+0007EB 904E4B            MOV     DPTR,#dest
+0007EE CF                XCH     A,R7
+0007EF F0                MOVX    @DPTR,A
+0007F0 A3                INC     DPTR
+0007F1 EF                MOV     A,R7
+0007F2 F0                MOVX    @DPTR,A
+0007F3         ?C0008?IPC:
+0007F3 904B9A            MOV     DPTR,#ipcTxReadPtr
+0007F6 E0                MOVX    A,@DPTR
+0007F7 FE                MOV     R6,A
+0007F8 A3                INC     DPTR
+0007F9 E0                MOVX    A,@DPTR
+0007FA FF                MOV     R7,A
+0007FB 904B9C            MOV     DPTR,#ipcTxWritePtr
+0007FE E0                MOVX    A,@DPTR
+0007FF FC                MOV     R4,A
+000800 A3                INC     DPTR
+000801 E0                MOVX    A,@DPTR
+000802 FD                MOV     R5,A
+000803 7B64              MOV     R3,#064H
+000805 116A              ACALL   _bufsize
+000807 904E4A            MOV     DPTR,#len
+00080A E0                MOVX    A,@DPTR
+00080B FE                MOV     R6,A
+00080C EF                MOV     A,R7
+00080D C3                CLR     C
+00080E 9E                SUBB    A,R6
+00080F 40E2              JC      ?C0008?IPC
+000811         ?C0009?IPC:
+000811         ?C0010?IPC:
+000811 904E4A            MOV     DPTR,#len
+000814 E0                MOVX    A,@DPTR
+000815 FF                MOV     R7,A
+000816 14                DEC     A
+000817 F0                MOVX    @DPTR,A
+000818 EF                MOV     A,R7
+000819 603F              JZ      ?C0011?IPC
+00081B 904E47            MOV     DPTR,#src
+00081E E0                MOVX    A,@DPTR
+00081F FB                MOV     R3,A
+000820 A3                INC     DPTR
+000821 E4                CLR     A
+000822 75F001            MOV     B,#01H
+000825 120424            LCALL   ?C?ILDIX
+000828 A9F0              MOV     R1,B
+00082A FA                MOV     R2,A
+00082B 1203B6            LCALL   ?C?CLDPTR
+00082E FF                MOV     R7,A
+00082F 904E4B            MOV     DPTR,#dest
+000832 E4                CLR     A
+000833 75F001            MOV     B,#01H
+000836 120424            LCALL   ?C?ILDIX
+000839 85F082            MOV     DPL,B
+00083C F583              MOV     DPH,A
+00083E EF                MOV     A,R7
+00083F F0                MOVX    @DPTR,A
+000840 904E4B            MOV     DPTR,#dest
+000843 E0                MOVX    A,@DPTR
+000844 FE                MOV     R6,A
+000845 A3                INC     DPTR
+000846 E0                MOVX    A,@DPTR
+000847 FF                MOV     R7,A
+000848 BE4BC6            CJNE    R6,#04BH,?C0010?IPC
+00084B BF36C3            CJNE    R7,#036H,?C0010?IPC
+00084E 904E4B            MOV     DPTR,#dest
+000851 744A              MOV     A,#04AH
+000853 F0                MOVX    @DPTR,A
+000854 A3                INC     DPTR
+000855 74A0              MOV     A,#0A0H
+000857 F0                MOVX    @DPTR,A
+000858 80B7              SJMP    ?C0010?IPC
+00085A         ?C0011?IPC:
+00085A 904E4B            MOV     DPTR,#dest
+00085D E0                MOVX    A,@DPTR
+00085E FF                MOV     R7,A
+00085F A3                INC     DPTR
+000860 E0                MOVX    A,@DPTR
+000861 904B9C            MOV     DPTR,#ipcTxWritePtr
+000864 CF                XCH     A,R7
+000865 F0                MOVX    @DPTR,A
+000866 A3                INC     DPTR
+000867 EF                MOV     A,R7
+000868 F0                MOVX    @DPTR,A
+000869 22                RET     
+----- FUNCTION _ipcTx (END) -------
+
+
+----- FUNCTION _bufsize (BEGIN) -----
+00086A 904E6E            MOV     DPTR,#rptr
+00086D EE                MOV     A,R6
+00086E F0                MOVX    @DPTR,A
+00086F A3                INC     DPTR
+000870 EF                MOV     A,R7
+000871 F0                MOVX    @DPTR,A
+000872 904E70            MOV     DPTR,#wptr
+000875 EC                MOV     A,R4
+000876 F0                MOVX    @DPTR,A
+000877 A3                INC     DPTR
+000878 ED                MOV     A,R5
+000879 F0                MOVX    @DPTR,A
+;---- Variable 'buflen' assigned to Register 'R3' ----
+00087A 904E70            MOV     DPTR,#wptr
+00087D E0                MOVX    A,@DPTR
+00087E FE                MOV     R6,A
+00087F A3                INC     DPTR
+000880 E0                MOVX    A,@DPTR
+000881 FF                MOV     R7,A
+000882 D3                SETB    C
+000883 904E6F            MOV     DPTR,#rptr+01H
+000886 E0                MOVX    A,@DPTR
+000887 9F                SUBB    A,R7
+000888 904E6E            MOV     DPTR,#rptr
+00088B E0                MOVX    A,@DPTR
+00088C 9E                SUBB    A,R6
+00088D 4016              JC      ?C0001?IPC
+00088F 904E70            MOV     DPTR,#wptr
+000892 E0                MOVX    A,@DPTR
+000893 FE                MOV     R6,A
+000894 A3                INC     DPTR
+000895 E0                MOVX    A,@DPTR
+000896 FF                MOV     R7,A
+000897 904E6F            MOV     DPTR,#rptr+01H
+00089A E0                MOVX    A,@DPTR
+00089B 9F                SUBB    A,R7
+00089C FF                MOV     R7,A
+00089D 904E6E            MOV     DPTR,#rptr
+0008A0 E0                MOVX    A,@DPTR
+0008A1 9E                SUBB    A,R6
+0008A2 FE                MOV     R6,A
+0008A3 801E              SJMP    ?C0002?IPC
+0008A5         ?C0001?IPC:
+0008A5 904E6E            MOV     DPTR,#rptr
+0008A8 E0                MOVX    A,@DPTR
+0008A9 FE                MOV     R6,A
+0008AA A3                INC     DPTR
+0008AB E0                MOVX    A,@DPTR
+0008AC FF                MOV     R7,A
+0008AD C3                CLR     C
+0008AE 904E71            MOV     DPTR,#wptr+01H
+0008B1 E0                MOVX    A,@DPTR
+0008B2 9F                SUBB    A,R7
+0008B3 FF                MOV     R7,A
+0008B4 904E70            MOV     DPTR,#wptr
+0008B7 E0                MOVX    A,@DPTR
+0008B8 9E                SUBB    A,R6
+0008B9 FE                MOV     R6,A
+0008BA AD03              MOV     R5,AR3
+0008BC C3                CLR     C
+0008BD EB                MOV     A,R3
+0008BE 9F                SUBB    A,R7
+0008BF FF                MOV     R7,A
+0008C0 E4                CLR     A
+0008C1 9E                SUBB    A,R6
+0008C2 FE                MOV     R6,A
+0008C3         ?C0002?IPC:
+0008C3 22                RET     
+----- FUNCTION _bufsize (END) -------
+
+
+----- FUNCTION YC_check_need_reconnected (BEGIN) -----
+ FILE: 'bluetooth.c'
+   13: byte YC_check_need_reconnected()
+   14: {
+   15: 	byte return_val = 0;
+   16: 
+;---- Variable 'return_val' assigned to Register 'R7' ----
+0008C4 E4                CLR     A
+0008C5 FF                MOV     R7,A
+   17: 	if(g_variable.pairing_g24_timeout)
+0008C6 904CEE            MOV     DPTR,#g_variable+02FH
+0008C9 E0                MOVX    A,@DPTR
+0008CA 6001              JZ      ?C0003?BLUETOOTH
+   18: 		return return_val;
+0008CC 22                RET     
+0008CD         ?C0003?BLUETOOTH:
+   19: 
+   20: 	if(g_variable.battary_shutdown_flag == 1)
+0008CD 904CFA            MOV     DPTR,#g_variable+03BH
+0008D0 E0                MOVX    A,@DPTR
+0008D1 B40101            CJNE    A,#01H,?C0005?BLUETOOTH
+   21: 		return return_val;
+0008D4 22                RET     
+0008D5         ?C0005?BLUETOOTH:
+   22: 	
+   23: 	if (g_variable.g24_currentState != CHANGE_TO_24G_CONNECTED)
+0008D5 904CC5            MOV     DPTR,#g_variable+06H
+0008D8 E0                MOVX    A,@DPTR
+0008D9 6403              XRL     A,#03H
+0008DB 601D              JZ      ?C0006?BLUETOOTH
+   24: 	{
+   25: 		if(g_variable.recon_delay == 0)
+0008DD 904CEF            MOV     DPTR,#g_variable+030H
+0008E0 E0                MOVX    A,@DPTR
+0008E1 701E              JNZ     ?C0009?BLUETOOTH
+   26: 		{
+   27: 			g_variable.recon_delay = 10;
+0008E3 740A              MOV     A,#0AH
+0008E5 F0                MOVX    @DPTR,A
+   28: 			if ((g_variable.recon_count == 0)
+0008E6 A3                INC     DPTR
+0008E7 E0                MOVX    A,@DPTR
+0008E8 7017              JNZ     ?C0009?BLUETOOTH
+0008EA 904DE2            MOV     DPTR,#power_on_flag
+0008ED E0                MOVX    A,@DPTR
+0008EE B40210            CJNE    A,#02H,?C0009?BLUETOOTH
+   29: 			&& (power_on_flag == 2))
+   30: 			{				
+   31: 				YC_key_action_handle(KEY_OPEN_24G);
+0008F1 7F09              MOV     R7,#09H
+0008F3 121689            LCALL   _YC_key_action_handle
+   32: 				return_val = 1;
+0008F6 7F01              MOV     R7,#01H
+   33: 			}
+   34: 		}
+   35: 	}
+0008F8 8007              SJMP    ?C0009?BLUETOOTH
+0008FA         ?C0006?BLUETOOTH:
+   36: 	else
+   37: 	{
+   38: 		g_variable.release_data = 0;
+0008FA E4                CLR     A
+0008FB 904CEB            MOV     DPTR,#g_variable+02CH
+0008FE F0                MOVX    @DPTR,A
+   39: 		return_val = 1;
+0008FF 7F01              MOV     R7,#01H
+   40: 	}
+000901         ?C0009?BLUETOOTH:
+   41: 	return return_val;
+   42: }
+000901 22                RET     
+----- FUNCTION YC_check_need_reconnected (END) -------
+
+
+----- FUNCTION _IPC_TxHidData (BEGIN) -----
+ FILE: 'kb_process.c'
+   62: void IPC_TxHidData(byte* dt, byte len)
+   63: {
+000902 904E62            MOV     DPTR,#dt
+000905 EB                MOV     A,R3
+000906 F0                MOVX    @DPTR,A
+000907 A3                INC     DPTR
+000908 EA                MOV     A,R2
+000909 F0                MOVX    @DPTR,A
+00090A A3                INC     DPTR
+00090B E9                MOV     A,R1
+00090C F0                MOVX    @DPTR,A
+00090D A3                INC     DPTR
+00090E ED                MOV     A,R5
+00090F F0                MOVX    @DPTR,A
+   64: 	if(!YC_check_need_reconnected()) 
+   65: 		return;
+000910 11C4              ACALL   YC_check_need_reconnected
+000912 EF                MOV     A,R7
+000913 6077              JZ      ?C0014?KB_PROCESS
+000915         ?C0013?KB_PROCESS:
+   66: 	if (g_variable.release_data)
+000915 904CEB            MOV     DPTR,#g_variable+02CH
+000918 E0                MOVX    A,@DPTR
+000919 7071              JNZ     ?C0014?KB_PROCESS
+00091B         ?C0015?KB_PROCESS:
+   67: 		return;
+   68: 
+   69: 	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+00091B 904CC5            MOV     DPTR,#g_variable+06H
+00091E E0                MOVX    A,@DPTR
+00091F 6403              XRL     A,#03H
+000921 7069              JNZ     ?C0014?KB_PROCESS
+   70: 	{
+   71: 		if (dt[0] == HID_REPORTID_1)
+000923 904E62            MOV     DPTR,#dt
+000926 E0                MOVX    A,@DPTR
+000927 FB                MOV     R3,A
+000928 A3                INC     DPTR
+000929 E0                MOVX    A,@DPTR
+00092A FA                MOV     R2,A
+00092B A3                INC     DPTR
+00092C E0                MOVX    A,@DPTR
+00092D F9                MOV     R1,A
+00092E 1203B6            LCALL   ?C?CLDPTR
+000931 FF                MOV     R7,A
+000932 6401              XRL     A,#01H
+000934 702E              JNZ     ?C0017?KB_PROCESS
+   72: 		{
+   73: 			if (dt[1] == 0 && dt[3] == 00 && dt[4] == 00 && dt[5] == 0)
+000936 900001            MOV     DPTR,#01H
+000939 1203CF            LCALL   ?C?CLDOPTR
+00093C 701E              JNZ     ?C0018?KB_PROCESS
+00093E 900003            MOV     DPTR,#03H
+000941 1203CF            LCALL   ?C?CLDOPTR
+000944 7016              JNZ     ?C0018?KB_PROCESS
+000946 900004            MOV     DPTR,#04H
+000949 1203CF            LCALL   ?C?CLDOPTR
+00094C 700E              JNZ     ?C0018?KB_PROCESS
+00094E 900005            MOV     DPTR,#05H
+000951 1203CF            LCALL   ?C?CLDOPTR
+000954 7006              JNZ     ?C0018?KB_PROCESS
+   74: 				repeat_send_24g = 0;
+000956 904DD6            MOV     DPTR,#repeat_send_24g
+000959 F0                MOVX    @DPTR,A
+00095A 8028              SJMP    ?C0020?KB_PROCESS
+00095C         ?C0018?KB_PROCESS:
+   75: 			else
+   76: 				repeat_send_24g = 1;			
+00095C 904DD6            MOV     DPTR,#repeat_send_24g
+00095F 7401              MOV     A,#01H
+000961 F0                MOVX    @DPTR,A
+   77: 		}
+000962 8020              SJMP    ?C0020?KB_PROCESS
+000964         ?C0017?KB_PROCESS:
+   78: 		else if (dt[0] == HID_REPORTID_2)
+000964 EF                MOV     A,R7
+000965 B4021C            CJNE    A,#02H,?C0020?KB_PROCESS
+   79: 		{
+   80: 			if (dt[1] == 00 && dt[2] == 00)
+000968 900001            MOV     DPTR,#01H
+00096B 1203CF            LCALL   ?C?CLDOPTR
+00096E 700E              JNZ     ?C0022?KB_PROCESS
+000970 900002            MOV     DPTR,#02H
+000973 1203CF            LCALL   ?C?CLDOPTR
+000976 7006              JNZ     ?C0022?KB_PROCESS
+   81: 			{
+   82: 				repeat_send_24g = 0;
+000978 904DD6            MOV     DPTR,#repeat_send_24g
+00097B F0                MOVX    @DPTR,A
+   83: 			}
+00097C 8006              SJMP    ?C0020?KB_PROCESS
+00097E         ?C0022?KB_PROCESS:
+   84: 			else
+   85: 			{
+   86: 				repeat_send_24g = 1;
+00097E 904DD6            MOV     DPTR,#repeat_send_24g
+000981 7401              MOV     A,#01H
+000983 F0                MOVX    @DPTR,A
+   87: 			}
+   88: 		}
+000984         ?C0020?KB_PROCESS:
+   89: 		IPC_Tx24GData(dt,len);
+000984 904E65            MOV     DPTR,#len
+000987 E0                MOVX    A,@DPTR
+000988 FD                MOV     R5,A
+000989 12254A            LCALL   _IPC_Tx24GData
+   90: 	}
+   91: }
+00098C         ?C0014?KB_PROCESS:
+00098C 22                RET     
+----- FUNCTION _IPC_TxHidData (END) -------
+
+
+----- FUNCTION _kb_motion_keyscan (BEGIN) -----
+ FILE: 'kb_process.c'
+  221: void kb_motion_keyscan(tKSEVENT *pEvt)
+  222: {
+00098D 904E53            MOV     DPTR,#pEvt
+000990 EB                MOV     A,R3
+000991 F0                MOVX    @DPTR,A
+000992 A3                INC     DPTR
+000993 EA                MOV     A,R2
+000994 F0                MOVX    @DPTR,A
+000995 A3                INC     DPTR
+000996 E9                MOV     A,R1
+000997 F0                MOVX    @DPTR,A
+  223: 	byte temp = 0;
+  224: 	byte i=0;
+000998 E4                CLR     A
+000999 A3                INC     DPTR
+00099A F0                MOVX    @DPTR,A
+  225: 	
+00099B A3                INC     DPTR
+00099C F0                MOVX    @DPTR,A
+  226: 	fn_flag = 0;
+00099D 904DDB            MOV     DPTR,#fn_flag
+0009A0 F0                MOVX    @DPTR,A
+  227: 	for(i=0; i < KS_BUFF_POLL_LEN-1; i++)
+0009A1 904E57            MOV     DPTR,#i
+0009A4 F0                MOVX    @DPTR,A
+0009A5         ?C0046?KB_PROCESS:
+0009A5 904E57            MOV     DPTR,#i
+0009A8 E0                MOVX    A,@DPTR
+0009A9 FF                MOV     R7,A
+0009AA C3                CLR     C
+0009AB 9405              SUBB    A,#05H
+0009AD 502C              JNC     ?C0047?KB_PROCESS
+  228: 	{
+  229: 		if (pEvt->ksPool[i] == HID_KEY_FN) 		// Fn key check
+0009AF 904E53            MOV     DPTR,#pEvt
+0009B2 E0                MOVX    A,@DPTR
+0009B3 FB                MOV     R3,A
+0009B4 A3                INC     DPTR
+0009B5 E0                MOVX    A,@DPTR
+0009B6 FA                MOV     R2,A
+0009B7 A3                INC     DPTR
+0009B8 E0                MOVX    A,@DPTR
+0009B9 2401              ADD     A,#01H
+0009BB F9                MOV     R1,A
+0009BC E4                CLR     A
+0009BD 3A                ADDC    A,R2
+0009BE FA                MOV     R2,A
+0009BF 7E00              MOV     R6,#00H
+0009C1 E9                MOV     A,R1
+0009C2 2F                ADD     A,R7
+0009C3 F9                MOV     R1,A
+0009C4 EE                MOV     A,R6
+0009C5 3A                ADDC    A,R2
+0009C6 FA                MOV     R2,A
+0009C7 1203B6            LCALL   ?C?CLDPTR
+0009CA B4AF06            CJNE    A,#0AFH,?C0048?KB_PROCESS
+  230: 		{
+  231: 			fn_flag = 1;
+0009CD 904DDB            MOV     DPTR,#fn_flag
+0009D0 7401              MOV     A,#01H
+0009D2 F0                MOVX    @DPTR,A
+  232: 		}
+  233: 	}
+0009D3         ?C0048?KB_PROCESS:
+0009D3 904E57            MOV     DPTR,#i
+0009D6 E0                MOVX    A,@DPTR
+0009D7 04                INC     A
+0009D8 F0                MOVX    @DPTR,A
+0009D9 80CA              SJMP    ?C0046?KB_PROCESS
+0009DB         ?C0047?KB_PROCESS:
+  234: 	fn_flag_last = fn_flag;
+0009DB 904DDB            MOV     DPTR,#fn_flag
+0009DE E0                MOVX    A,@DPTR
+0009DF 904DE1            MOV     DPTR,#fn_flag_last
+0009E2 F0                MOVX    @DPTR,A
+  235: 
+  236: 	
+  237: 	if (pEvt == NULL)
+0009E3 904E53            MOV     DPTR,#pEvt
+0009E6 E0                MOVX    A,@DPTR
+0009E7 A3                INC     DPTR
+0009E8 E0                MOVX    A,@DPTR
+0009E9 FA                MOV     R2,A
+0009EA A3                INC     DPTR
+0009EB E0                MOVX    A,@DPTR
+0009EC 4A                ORL     A,R2
+0009ED 7002              JNZ     $ + 4H
+0009EF 61F6              AJMP    ?C0051?KB_PROCESS
+0009F1         ?C0050?KB_PROCESS:
+  238: 		return;
+  239: 
+  240: 	delayChgInvTimer = 10;
+0009F1 904DDE            MOV     DPTR,#delayChgInvTimer
+0009F4 740A              MOV     A,#0AH
+0009F6 F0                MOVX    @DPTR,A
+  241: 	g_variable.sleepTimer = 0;
+0009F7 E4                CLR     A
+0009F8 904CE3            MOV     DPTR,#g_variable+024H
+0009FB F0                MOVX    @DPTR,A
+0009FC A3                INC     DPTR
+0009FD F0                MOVX    @DPTR,A
+  242: 	xmemclear(hidBuff,9);
+0009FE 7B01              MOV     R3,#01H
+000A00 7A48              MOV     R2,#HIGH hidBuff
+000A02 7900              MOV     R1,#LOW hidBuff
+000A04 7D09              MOV     R5,#09H
+000A06 FC                MOV     R4,A
+000A07 71F7              ACALL   _xmemclear
+  243: 	xmemclear(multikey,9);
+000A09 7B01              MOV     R3,#01H
+000A0B 7A4D              MOV     R2,#HIGH multikey
+000A0D 79E6              MOV     R1,#LOW multikey
+000A0F 7D09              MOV     R5,#09H
+000A11 7C00              MOV     R4,#00H
+000A13 71F7              ACALL   _xmemclear
+  244: 
+  245: 	////////////////////////////2.4g pairing////////////////////////////////////
+  246: 	if ((pEvt->ksPool[0]  == HID_KEY_K&& pEvt->ksPool[1]  == HID_KEY_ESC) 
+000A15 904E53            MOV     DPTR,#pEvt
+000A18 E0                MOVX    A,@DPTR
+000A19 FB                MOV     R3,A
+000A1A A3                INC     DPTR
+000A1B E0                MOVX    A,@DPTR
+000A1C FA                MOV     R2,A
+000A1D A3                INC     DPTR
+000A1E E0                MOVX    A,@DPTR
+000A1F F9                MOV     R1,A
+000A20 900001            MOV     DPTR,#01H
+000A23 1203CF            LCALL   ?C?CLDOPTR
+000A26 FF                MOV     R7,A
+000A27 B40E0A            CJNE    A,#0EH,?C0054?KB_PROCESS
+000A2A 900002            MOV     DPTR,#02H
+000A2D 1203CF            LCALL   ?C?CLDOPTR
+000A30 6429              XRL     A,#029H
+000A32 600F              JZ      ?C0053?KB_PROCESS
+000A34         ?C0054?KB_PROCESS:
+000A34 EF                MOV     A,R7
+000A35 6429              XRL     A,#029H
+000A37 7036              JNZ     ?C0052?KB_PROCESS
+000A39 900002            MOV     DPTR,#02H
+000A3C 1203CF            LCALL   ?C?CLDOPTR
+000A3F 640E              XRL     A,#0EH
+000A41 702C              JNZ     ?C0052?KB_PROCESS
+000A43         ?C0053?KB_PROCESS:
+  247: 		||(pEvt->ksPool[0]  == HID_KEY_ESC && pEvt->ksPool[1]  == HID_KEY_K) 
+  248: 		)
+  249: 	{
+  250: 		m_24g_paring_addr[0] = 0x20;
+000A43 904BEB            MOV     DPTR,#m_24g_paring_addr
+000A46 7420              MOV     A,#020H
+000A48 F0                MOVX    @DPTR,A
+  251: 		m_24g_paring_addr[1] = 0x15;
+000A49 A3                INC     DPTR
+000A4A 7415              MOV     A,#015H
+000A4C F0                MOVX    @DPTR,A
+  252: 		m_24g_paring_addr[2] = 0x10;
+000A4D A3                INC     DPTR
+000A4E 7410              MOV     A,#010H
+000A50 F0                MOVX    @DPTR,A
+  253: 		m_24g_paring_addr[3] = 0x05;
+000A51 A3                INC     DPTR
+000A52 7405              MOV     A,#05H
+000A54 F0                MOVX    @DPTR,A
+  254: 		if (g_variable.g24_currentState != CHANGE_TO_24G_PAIRING)
+000A55 904CC5            MOV     DPTR,#g_variable+06H
+000A58 E0                MOVX    A,@DPTR
+000A59 6401              XRL     A,#01H
+000A5B 6009              JZ      ?C0055?KB_PROCESS
+  255: 		{
+  256: 			g_variable.button_flag |= KEY_FLAG_FN_24G_DEVICE_BUTTON;
+000A5D 904CCE            MOV     DPTR,#g_variable+0FH
+000A60 E0                MOVX    A,@DPTR
+000A61 4410              ORL     A,#010H
+000A63 F0                MOVX    @DPTR,A
+  257: 		}
+000A64 8010              SJMP    ?C0057?KB_PROCESS
+000A66         ?C0055?KB_PROCESS:
+  258: 		else
+  259: 		{
+  260: 			g_variable.button_flag &= ~KEY_FLAG_FN_24G_DEVICE_BUTTON;
+000A66 904CCE            MOV     DPTR,#g_variable+0FH
+000A69 E0                MOVX    A,@DPTR
+000A6A 54EF              ANL     A,#0EFH
+000A6C F0                MOVX    @DPTR,A
+  261: 		}
+  262: 	}
+000A6D 8007              SJMP    ?C0057?KB_PROCESS
+000A6F         ?C0052?KB_PROCESS:
+  263: 	else
+  264: 	{
+  265: 		g_variable.button_flag &= ~KEY_FLAG_FN_24G_DEVICE_BUTTON;
+000A6F 904CCE            MOV     DPTR,#g_variable+0FH
+000A72 E0                MOVX    A,@DPTR
+000A73 54EF              ANL     A,#0EFH
+000A75 F0                MOVX    @DPTR,A
+  266: 	}
+000A76         ?C0057?KB_PROCESS:
+  267: 
+  268: 	m_power_on_flag = 1;
+000A76 904CB6            MOV     DPTR,#m_power_on_flag
+000A79 7401              MOV     A,#01H
+000A7B F0                MOVX    @DPTR,A
+  269: 	if( (g_variable.key_combination_step == CAMBINATION_KEY_PRESS) ||
+000A7C 904CF4            MOV     DPTR,#g_variable+035H
+000A7F E0                MOVX    A,@DPTR
+000A80 FF                MOV     R7,A
+000A81 6401              XRL     A,#01H
+000A83 7002              JNZ     $ + 4H
+000A85 61F6              AJMP    ?C0051?KB_PROCESS
+000A87 EF                MOV     A,R7
+000A88 6404              XRL     A,#04H
+000A8A 7002              JNZ     $ + 4H
+000A8C 61F6              AJMP    ?C0051?KB_PROCESS
+000A8E EF                MOV     A,R7
+000A8F 6402              XRL     A,#02H
+000A91 7002              JNZ     $ + 4H
+000A93 61F6              AJMP    ?C0051?KB_PROCESS
+  270: 	    (g_variable.key_combination_step == CAMBINATION_KEY_WAIT_RELEASE) ||
+  271: 	    (g_variable.key_combination_step == CAMBINATION_KEY_HOLD))
+  272: 	{
+  273: 		return;
+  274: 	}
+000A95         ?C0058?KB_PROCESS:
+  275: 
+  276: 	// get 24g led status
+  277: 	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+000A95 904CC5            MOV     DPTR,#g_variable+06H
+000A98 E0                MOVX    A,@DPTR
+000A99 6403              XRL     A,#03H
+000A9B 7045              JNZ     ?C0060?KB_PROCESS
+  278: 	{
+  279: 		for(i=0; i < KS_BUFF_POLL_LEN-1; i++)
+000A9D 904E57            MOV     DPTR,#i
+000AA0 F0                MOVX    @DPTR,A
+000AA1         ?C0061?KB_PROCESS:
+000AA1 904E57            MOV     DPTR,#i
+000AA4 E0                MOVX    A,@DPTR
+000AA5 FF                MOV     R7,A
+000AA6 C3                CLR     C
+000AA7 9405              SUBB    A,#05H
+000AA9 5037              JNC     ?C0060?KB_PROCESS
+  280: 		{
+  281: 			if ((pEvt->ksPool[i] == HID_KEY_CAPS_LOCK) || (pEvt->ksPool[i] == HID_KEY_NUM_LOCK) 
+000AAB 904E53            MOV     DPTR,#pEvt
+000AAE E0                MOVX    A,@DPTR
+000AAF FB                MOV     R3,A
+000AB0 A3                INC     DPTR
+000AB1 E0                MOVX    A,@DPTR
+000AB2 FA                MOV     R2,A
+000AB3 A3                INC     DPTR
+000AB4 E0                MOVX    A,@DPTR
+000AB5 2401              ADD     A,#01H
+000AB7 F9                MOV     R1,A
+000AB8 E4                CLR     A
+000AB9 3A                ADDC    A,R2
+000ABA FA                MOV     R2,A
+000ABB 7E00              MOV     R6,#00H
+000ABD E9                MOV     A,R1
+000ABE 2F                ADD     A,R7
+000ABF F9                MOV     R1,A
+000AC0 EE                MOV     A,R6
+000AC1 3A                ADDC    A,R2
+000AC2 FA                MOV     R2,A
+000AC3 1203B6            LCALL   ?C?CLDPTR
+000AC6 FF                MOV     R7,A
+000AC7 6439              XRL     A,#039H
+000AC9 6009              JZ      ?C0065?KB_PROCESS
+000ACB EF                MOV     A,R7
+000ACC 6453              XRL     A,#053H
+000ACE 6004              JZ      ?C0065?KB_PROCESS
+000AD0 EF                MOV     A,R7
+000AD1 B44706            CJNE    A,#047H,?C0063?KB_PROCESS
+000AD4         ?C0065?KB_PROCESS:
+  282: 			|| (pEvt->ksPool[i] == HID_KEY_SCROLL_LOCK))
+  283: 			{
+  284: 				m_24g_led_flag = 1;
+000AD4 904D47            MOV     DPTR,#m_24g_led_flag
+000AD7 7401              MOV     A,#01H
+000AD9 F0                MOVX    @DPTR,A
+  285: 
+  286: 			}
+  287: 		}
+000ADA         ?C0063?KB_PROCESS:
+000ADA 904E57            MOV     DPTR,#i
+000ADD E0                MOVX    A,@DPTR
+000ADE 04                INC     A
+000ADF F0                MOVX    @DPTR,A
+000AE0 80BF              SJMP    ?C0061?KB_PROCESS
+  288: 	}
+000AE2         ?C0060?KB_PROCESS:
+  289: 
+  290: 	kb_multikey_setup(pEvt);
+000AE2 904E53            MOV     DPTR,#pEvt
+000AE5 E0                MOVX    A,@DPTR
+000AE6 FB                MOV     R3,A
+000AE7 A3                INC     DPTR
+000AE8 E0                MOVX    A,@DPTR
+000AE9 FA                MOV     R2,A
+000AEA A3                INC     DPTR
+000AEB E0                MOVX    A,@DPTR
+000AEC F9                MOV     R1,A
+000AED 12181C            LCALL   _kb_multikey_setup
+  291: 	
+  292: 	if (mult_key_status == KEY_MULIT_PRESS) 
+000AF0 904DE5            MOV     DPTR,#mult_key_status
+000AF3 E0                MOVX    A,@DPTR
+000AF4 B40111            CJNE    A,#01H,?C0066?KB_PROCESS
+  293: 	{
+  294: 		mult_key_status = KEY_WAIT_RELEASE;
+000AF7 7402              MOV     A,#02H
+000AF9 F0                MOVX    @DPTR,A
+  295: 		multikey[0] = HID_REPORTID_2;
+000AFA 904DE6            MOV     DPTR,#multikey
+000AFD F0                MOVX    @DPTR,A
+  296: 		IPC_TxHidData(multikey, 3);
+000AFE 7B01              MOV     R3,#01H
+000B00 7A4D              MOV     R2,#HIGH multikey
+000B02 79E6              MOV     R1,#LOW multikey
+000B04 7D03              MOV     R5,#03H
+000B06 2102              AJMP    _IPC_TxHidData
+  297: 	}
+000B08         ?C0066?KB_PROCESS:
+  298: #ifdef SYSTEM_CONTROL_ENABLE	
+  299: 	else if (mult_key_status == KEY_SYSTEM_PRESS) 
+000B08 904DE5            MOV     DPTR,#mult_key_status
+000B0B E0                MOVX    A,@DPTR
+000B0C B40413            CJNE    A,#04H,?C0068?KB_PROCESS
+  300: 	{
+  301: 		mult_key_status = KEY_WAIT_RELEASE;
+000B0F 7402              MOV     A,#02H
+000B11 F0                MOVX    @DPTR,A
+  302: 		multikey[0] = HID_REPORTID_SYSTEM;
+000B12 904DE6            MOV     DPTR,#multikey
+000B15 7406              MOV     A,#06H
+000B17 F0                MOVX    @DPTR,A
+  303: 		IPC_TxHidData(multikey, 3);
+000B18 7B01              MOV     R3,#01H
+000B1A 7A4D              MOV     R2,#HIGH multikey
+000B1C 79E6              MOV     R1,#LOW multikey
+000B1E 7D03              MOV     R5,#03H
+000B20 2102              AJMP    _IPC_TxHidData
+  304: 	}
+000B22         ?C0068?KB_PROCESS:
+  305: #endif	
+  306: 	else if(mult_key_status == KEY_RELEASE)
+000B22 904DE5            MOV     DPTR,#mult_key_status
+000B25 E0                MOVX    A,@DPTR
+000B26 6403              XRL     A,#03H
+000B28 7025              JNZ     ?C0070?KB_PROCESS
+  307: 	{
+  308: 		mult_key_status = KEY_STANDBY;
+000B2A F0                MOVX    @DPTR,A
+  309: 		mult_key_value = 0;
+000B2B 904DE4            MOV     DPTR,#mult_key_value
+000B2E F0                MOVX    @DPTR,A
+  310: #ifdef SYSTEM_CONTROL_ENABLE		
+  311: 		if(system_key_press)
+000B2F 904DE0            MOV     DPTR,#system_key_press
+000B32 E0                MOVX    A,@DPTR
+000B33 600A              JZ      ?C0071?KB_PROCESS
+  312: 		{
+  313: 			system_key_press = 0;
+000B35 E4                CLR     A
+000B36 F0                MOVX    @DPTR,A
+  314: 			multikey[0] = HID_REPORTID_SYSTEM;
+000B37 904DE6            MOV     DPTR,#multikey
+000B3A 7406              MOV     A,#06H
+000B3C F0                MOVX    @DPTR,A
+  315: 		}	
+000B3D 8006              SJMP    ?C0072?KB_PROCESS
+000B3F         ?C0071?KB_PROCESS:
+  316: 		else
+  317: #endif		
+  318: 			multikey[0] = HID_REPORTID_2;
+000B3F 904DE6            MOV     DPTR,#multikey
+000B42 7402              MOV     A,#02H
+000B44 F0                MOVX    @DPTR,A
+000B45         ?C0072?KB_PROCESS:
+  319: 			
+  320: 		IPC_TxHidData(multikey, 3);
+000B45 7B01              MOV     R3,#01H
+000B47 7A4D              MOV     R2,#HIGH multikey
+000B49 79E6              MOV     R1,#LOW multikey
+000B4B 7D03              MOV     R5,#03H
+000B4D 2102              AJMP    _IPC_TxHidData
+  321: 	}
+000B4F         ?C0070?KB_PROCESS:
+  322: 	else 
+  323: 	{
+  324: 		hidBuff[0] = HID_REPORTID_1;		// standard key send
+000B4F 904800            MOV     DPTR,#hidBuff
+000B52 7401              MOV     A,#01H
+000B54 F0                MOVX    @DPTR,A
+  325: 		hidBuff[1] = pEvt->standardSel;
+000B55 904E53            MOV     DPTR,#pEvt
+000B58 E0                MOVX    A,@DPTR
+000B59 FB                MOV     R3,A
+000B5A A3                INC     DPTR
+000B5B E0                MOVX    A,@DPTR
+000B5C FA                MOV     R2,A
+000B5D A3                INC     DPTR
+000B5E E0                MOVX    A,@DPTR
+000B5F F9                MOV     R1,A
+000B60 1203B6            LCALL   ?C?CLDPTR
+000B63 904801            MOV     DPTR,#hidBuff+01H
+000B66 F0                MOVX    @DPTR,A
+  326: 		hidBuff[2] = m_24g_led_flag;
+000B67 904D47            MOV     DPTR,#m_24g_led_flag
+000B6A E0                MOVX    A,@DPTR
+000B6B 904802            MOV     DPTR,#hidBuff+02H
+000B6E F0                MOVX    @DPTR,A
+  327: 
+  328: 		standard_key_release_flag = 0;
+000B6F E4                CLR     A
+000B70 904DD8            MOV     DPTR,#standard_key_release_flag
+000B73 F0                MOVX    @DPTR,A
+  329: 
+  330: 		if (pEvt->ksPool[0] == HID_KEY_FN)
+000B74 900001            MOV     DPTR,#01H
+000B77 1203CF            LCALL   ?C?CLDOPTR
+000B7A B4AF1E            CJNE    A,#0AFH,?C0074?KB_PROCESS
+  331: 			xmemcpy(&hidBuff[3], &pEvt->ksPool[1], 5);
+000B7D 7E48              MOV     R6,#HIGH hidBuff+03H
+000B7F 7F03              MOV     R7,#LOW hidBuff+03H
+000B81 904E53            MOV     DPTR,#pEvt
+000B84 E0                MOVX    A,@DPTR
+000B85 FB                MOV     R3,A
+000B86 A3                INC     DPTR
+000B87 E0                MOVX    A,@DPTR
+000B88 FA                MOV     R2,A
+000B89 A3                INC     DPTR
+000B8A E0                MOVX    A,@DPTR
+000B8B 2402              ADD     A,#02H
+000B8D F9                MOV     R1,A
+000B8E E4                CLR     A
+000B8F 3A                ADDC    A,R2
+000B90 FA                MOV     R2,A
+000B91 904E52            MOV     DPTR,#?_xmemcpy?BYTE+05H
+000B94 7405              MOV     A,#05H
+000B96 F0                MOVX    @DPTR,A
+000B97 B1CD              ACALL   _xmemcpy
+000B99 801C              SJMP    ?C0075?KB_PROCESS
+000B9B         ?C0074?KB_PROCESS:
+  332: 		else
+  333: 			xmemcpy(&hidBuff[3], pEvt->ksPool, 6);
+000B9B 7E48              MOV     R6,#HIGH hidBuff+03H
+000B9D 7F03              MOV     R7,#LOW hidBuff+03H
+000B9F 904E53            MOV     DPTR,#pEvt
+000BA2 E0                MOVX    A,@DPTR
+000BA3 FB                MOV     R3,A
+000BA4 A3                INC     DPTR
+000BA5 E0                MOVX    A,@DPTR
+000BA6 FA                MOV     R2,A
+000BA7 A3                INC     DPTR
+000BA8 E0                MOVX    A,@DPTR
+000BA9 2401              ADD     A,#01H
+000BAB F9                MOV     R1,A
+000BAC E4                CLR     A
+000BAD 3A                ADDC    A,R2
+000BAE FA                MOV     R2,A
+000BAF 904E52            MOV     DPTR,#?_xmemcpy?BYTE+05H
+000BB2 7406              MOV     A,#06H
+000BB4 F0                MOVX    @DPTR,A
+000BB5 B1CD              ACALL   _xmemcpy
+000BB7         ?C0075?KB_PROCESS:
+  334: 		
+  335: 		for(i = 3; i<9;i++)
+000BB7 904E57            MOV     DPTR,#i
+000BBA 7403              MOV     A,#03H
+000BBC F0                MOVX    @DPTR,A
+000BBD         ?C0076?KB_PROCESS:
+000BBD 904E57            MOV     DPTR,#i
+000BC0 E0                MOVX    A,@DPTR
+000BC1 FF                MOV     R7,A
+000BC2 C3                CLR     C
+000BC3 9409              SUBB    A,#09H
+000BC5 5025              JNC     ?C0077?KB_PROCESS
+  336: 		{
+  337: 			if (hidBuff[i] == HID_KEY_FN)
+000BC7 7400              MOV     A,#LOW hidBuff
+000BC9 2F                ADD     A,R7
+000BCA F582              MOV     DPL,A
+000BCC E4                CLR     A
+000BCD 3448              ADDC    A,#HIGH hidBuff
+000BCF F583              MOV     DPH,A
+000BD1 E0                MOVX    A,@DPTR
+000BD2 B4AF0F            CJNE    A,#0AFH,?C0078?KB_PROCESS
+  338: 				hidBuff[i] = 0;
+000BD5 904E57            MOV     DPTR,#i
+000BD8 E0                MOVX    A,@DPTR
+000BD9 2400              ADD     A,#LOW hidBuff
+000BDB F582              MOV     DPL,A
+000BDD E4                CLR     A
+000BDE 3448              ADDC    A,#HIGH hidBuff
+000BE0 F583              MOV     DPH,A
+000BE2 E4                CLR     A
+000BE3 F0                MOVX    @DPTR,A
+  339: 		}
+000BE4         ?C0078?KB_PROCESS:
+000BE4 904E57            MOV     DPTR,#i
+000BE7 E0                MOVX    A,@DPTR
+000BE8 04                INC     A
+000BE9 F0                MOVX    @DPTR,A
+000BEA 80D1              SJMP    ?C0076?KB_PROCESS
+000BEC         ?C0077?KB_PROCESS:
+  340: 		
+  341: 		IPC_TxHidData(hidBuff, 9);
+000BEC 7B01              MOV     R3,#01H
+000BEE 7A48              MOV     R2,#HIGH hidBuff
+000BF0 7900              MOV     R1,#LOW hidBuff
+000BF2 7D09              MOV     R5,#09H
+000BF4 3102              ACALL   _IPC_TxHidData
+  342: 	}
+  343: 	return;
+  344: }
+000BF6         ?C0051?KB_PROCESS:
+000BF6 22                RET     
+----- FUNCTION _kb_motion_keyscan (END) -------
+
+
+----- FUNCTION _xmemclear (BEGIN) -----
+000BF7 904E82            MOV     DPTR,#dest
+000BFA EB                MOV     A,R3
+000BFB F0                MOVX    @DPTR,A
+000BFC A3                INC     DPTR
+000BFD EA                MOV     A,R2
+000BFE F0                MOVX    @DPTR,A
+000BFF A3                INC     DPTR
+000C00 E9                MOV     A,R1
+000C01 F0                MOVX    @DPTR,A
+;---- Variable 'len' assigned to Register 'R4/R5' ----
+000C02         ?C0008?UTILITIES:
+000C02 ED                MOV     A,R5
+000C03 1D                DEC     R5
+000C04 AE04              MOV     R6,AR4
+000C06 7001              JNZ     ?C0026?UTILITIES
+000C08 1C                DEC     R4
+000C09         ?C0026?UTILITIES:
+000C09 4E                ORL     A,R6
+000C0A 6016              JZ      ?C0010?UTILITIES
+000C0C 904E82            MOV     DPTR,#dest
+000C0F E0                MOVX    A,@DPTR
+000C10 FB                MOV     R3,A
+000C11 A3                INC     DPTR
+000C12 E4                CLR     A
+000C13 75F001            MOV     B,#01H
+000C16 120424            LCALL   ?C?ILDIX
+000C19 A9F0              MOV     R1,B
+000C1B FA                MOV     R2,A
+000C1C E4                CLR     A
+000C1D 1203FC            LCALL   ?C?CSTPTR
+000C20 80E0              SJMP    ?C0008?UTILITIES
+000C22         ?C0010?UTILITIES:
+000C22 22                RET     
+----- FUNCTION _xmemclear (END) -------
+
+
+----- FUNCTION System_clear_mem (BEGIN) -----
+ FILE: 'sys.c'
+   11: static void System_clear_mem()
+   12: {
+   13: 	xmemclear((byte *)&g_variable,sizeof(G_VARIABLE_MAP));
+   14: 	xmemclear(ksSelMapOld,KB_KSCAN_COL_NUM);
+000C23 7B01              MOV     R3,#01H
+000C25 7A4C              MOV     R2,#HIGH g_variable
+000C27 79BF              MOV     R1,#LOW g_variable
+000C29 7D45              MOV     R5,#045H
+000C2B 7C00              MOV     R4,#00H
+000C2D 71F7              ACALL   _xmemclear
+   15: 	xmemclear(ksSelMapCheck,KB_KSCAN_COL_NUM);
+000C2F 7B01              MOV     R3,#01H
+000C31 7A4D              MOV     R2,#HIGH ksSelMapOld
+000C33 7993              MOV     R1,#LOW ksSelMapOld
+000C35 7D14              MOV     R5,#014H
+000C37 7C00              MOV     R4,#00H
+000C39 71F7              ACALL   _xmemclear
+   16: 	xmemclear(ksSelMapCurr,KB_KSCAN_COL_NUM);
+000C3B 7B01              MOV     R3,#01H
+000C3D 7A4D              MOV     R2,#HIGH ksSelMapCheck
+000C3F 79A8              MOV     R1,#LOW ksSelMapCheck
+000C41 7D14              MOV     R5,#014H
+000C43 7C00              MOV     R4,#00H
+000C45 71F7              ACALL   _xmemclear
+   17: 	xmemclear(hidBuff,9);
+000C47 7B01              MOV     R3,#01H
+000C49 7A4D              MOV     R2,#HIGH ksSelMapCurr
+000C4B 79BC              MOV     R1,#LOW ksSelMapCurr
+000C4D 7D14              MOV     R5,#014H
+000C4F 7C00              MOV     R4,#00H
+000C51 71F7              ACALL   _xmemclear
+   18: 	xmemclear(multikey,9);
+000C53 7B01              MOV     R3,#01H
+000C55 7A48              MOV     R2,#HIGH hidBuff
+000C57 7900              MOV     R1,#LOW hidBuff
+000C59 7D09              MOV     R5,#09H
+000C5B 7C00              MOV     R4,#00H
+000C5D 71F7              ACALL   _xmemclear
+   19:  
+000C5F 7B01              MOV     R3,#01H
+000C61 7A4D              MOV     R2,#HIGH multikey
+000C63 79E6              MOV     R1,#LOW multikey
+000C65 7D09              MOV     R5,#09H
+000C67 7C00              MOV     R4,#00H
+000C69 71F7              ACALL   _xmemclear
+   20: 	delayChgInvTimer = 0;
+000C6B E4                CLR     A
+000C6C 904DDE            MOV     DPTR,#delayChgInvTimer
+000C6F F0                MOVX    @DPTR,A
+   21: 	action_timeout = 0;
+000C70 904DE3            MOV     DPTR,#action_timeout
+000C73 F0                MOVX    @DPTR,A
+   22: 
+   23: 
+   24: 	power_on_flag = 0;
+000C74 904DE2            MOV     DPTR,#power_on_flag
+000C77 F0                MOVX    @DPTR,A
+   25: 	repeat_send_24g = 0;
+000C78 904DD6            MOV     DPTR,#repeat_send_24g
+000C7B F0                MOVX    @DPTR,A
+   26: 	get_24g_led_send = 0;
+000C7C 904DD0            MOV     DPTR,#get_24g_led_send
+000C7F F0                MOVX    @DPTR,A
+   27: 	press_long_time_flag = 0;
+000C80 904DDC            MOV     DPTR,#press_long_time_flag
+000C83 F0                MOVX    @DPTR,A
+   28: 	mult_key_status = 0;
+000C84 904DE5            MOV     DPTR,#mult_key_status
+000C87 F0                MOVX    @DPTR,A
+   29: 	long_press_flag = 0;
+000C88 904DD5            MOV     DPTR,#long_press_flag
+000C8B F0                MOVX    @DPTR,A
+   30: 	standard_key_release_flag = 0;
+000C8C 904DD8            MOV     DPTR,#standard_key_release_flag
+000C8F F0                MOVX    @DPTR,A
+   31: 	fn_flag = 0;
+000C90 904DDB            MOV     DPTR,#fn_flag
+000C93 F0                MOVX    @DPTR,A
+   32: 	fn_flag_last = 0;
+000C94 904DE1            MOV     DPTR,#fn_flag_last
+000C97 F0                MOVX    @DPTR,A
+   33: 	fn_tx_flag = 0;
+000C98 904DD3            MOV     DPTR,#fn_tx_flag
+000C9B F0                MOVX    @DPTR,A
+   34: 	fn_lock_flag = 0;
+000C9C 904DDF            MOV     DPTR,#fn_lock_flag
+000C9F F0                MOVX    @DPTR,A
+   35: 
+   36: 	mult_key_value = 0;
+000CA0 904DE4            MOV     DPTR,#mult_key_value
+000CA3 F0                MOVX    @DPTR,A
+   37: 	m_caps_num_lock_last = 0; 
+000CA4 904DD9            MOV     DPTR,#m_caps_num_lock_last
+000CA7 F0                MOVX    @DPTR,A
+   38: 	m_reconnect_continue = 0;
+000CA8 904D38            MOV     DPTR,#m_reconnect_continue
+000CAB F0                MOVX    @DPTR,A
+   39: }
+000CAC 22                RET     
+----- FUNCTION System_clear_mem (END) -------
+
+
+----- FUNCTION _kb_send_combination_key (BEGIN) -----
+ FILE: 'kb_process.c'
+  118: void kb_send_combination_key(byte ctrl_value,byte key_value)
+  119: {
+000CAD 904E8B            MOV     DPTR,#ctrl_value
+000CB0 EF                MOV     A,R7
+000CB1 F0                MOVX    @DPTR,A
+000CB2 A3                INC     DPTR
+000CB3 ED                MOV     A,R5
+000CB4 F0                MOVX    @DPTR,A
+  120: 	xmemclear(hidBuff,9);
+  121: 	hidBuff[0] = HID_REPORTID_1;
+000CB5 7B01              MOV     R3,#01H
+000CB7 7A48              MOV     R2,#HIGH hidBuff
+000CB9 7900              MOV     R1,#LOW hidBuff
+000CBB 7D09              MOV     R5,#09H
+000CBD 7C00              MOV     R4,#00H
+000CBF 71F7              ACALL   _xmemclear
+  122: 	hidBuff[1] |= ctrl_value;
+000CC1 904800            MOV     DPTR,#hidBuff
+000CC4 7401              MOV     A,#01H
+000CC6 F0                MOVX    @DPTR,A
+  123: 	hidBuff[3] = key_value; 
+000CC7 A3                INC     DPTR
+000CC8 E0                MOVX    A,@DPTR
+000CC9 FF                MOV     R7,A
+000CCA 904E8B            MOV     DPTR,#ctrl_value
+000CCD E0                MOVX    A,@DPTR
+000CCE FE                MOV     R6,A
+000CCF EF                MOV     A,R7
+000CD0 4E                ORL     A,R6
+000CD1 904801            MOV     DPTR,#hidBuff+01H
+000CD4 F0                MOVX    @DPTR,A
+  124: 	IPC_TxHidData(hidBuff, 9);
+000CD5 904E8C            MOV     DPTR,#key_value
+000CD8 E0                MOVX    A,@DPTR
+000CD9 904803            MOV     DPTR,#hidBuff+03H
+000CDC F0                MOVX    @DPTR,A
+  125: }
+000CDD 7B01              MOV     R3,#01H
+000CDF 7A48              MOV     R2,#HIGH hidBuff
+000CE1 7900              MOV     R1,#LOW hidBuff
+000CE3 7D09              MOV     R5,#09H
+000CE5 2102              AJMP    _IPC_TxHidData
+----- FUNCTION _kb_send_combination_key (END) -------
+
+
+----- FUNCTION kb_need_keyscan (BEGIN) -----
+ FILE: 'kb_process.c'
+  182: void kb_need_keyscan()
+  183: {
+  184: 		if((g_variable.key_combination_step == CAMBINATION_KEY_FREE)
+  185: 		||(g_variable.key_combination_step == CAMBINATION_KEY_COMPLETE)
+000CE7 904CF4            MOV     DPTR,#g_variable+035H
+000CEA E0                MOVX    A,@DPTR
+000CEB FF                MOV     R7,A
+000CEC 6008              JZ      ?C0036?KB_PROCESS
+000CEE 6403              XRL     A,#03H
+000CF0 6004              JZ      ?C0036?KB_PROCESS
+000CF2 EF                MOV     A,R7
+000CF3 B40502            CJNE    A,#05H,?C0035?KB_PROCESS
+000CF6         ?C0036?KB_PROCESS:
+  186: 		|| (g_variable.key_combination_step == CAMBINATION_KEY_RELEASE)
+  187: 		)
+  188: 			kb_motion();
+000CF6 8065              SJMP    kb_motion
+000CF8         ?C0035?KB_PROCESS:
+  189: 		else
+  190: 		{
+  191: 			if(g_variable.key_combination_step == CAMBINATION_KEY_PRESS)
+000CF8 904CF4            MOV     DPTR,#g_variable+035H
+000CFB E0                MOVX    A,@DPTR
+000CFC B4010E            CJNE    A,#01H,?C0038?KB_PROCESS
+  192: 			{
+  193: 				kb_send_combination_key(g_variable.key_combination_ctrl,0);
+000CFF A3                INC     DPTR
+000D00 E0                MOVX    A,@DPTR
+000D01 FF                MOV     R7,A
+000D02 E4                CLR     A
+000D03 FD                MOV     R5,A
+000D04 91AD              ACALL   _kb_send_combination_key
+  194: 				g_variable.key_combination_step = CAMBINATION_KEY_HOLD;
+000D06 904CF4            MOV     DPTR,#g_variable+035H
+000D09 7402              MOV     A,#02H
+000D0B F0                MOVX    @DPTR,A
+  195: 			}
+000D0C 22                RET     
+000D0D         ?C0038?KB_PROCESS:
+  196: 			else if(g_variable.key_combination_step == CAMBINATION_KEY_HOLD)
+000D0D 904CF4            MOV     DPTR,#g_variable+035H
+000D10 E0                MOVX    A,@DPTR
+000D11 B4020B            CJNE    A,#02H,?C0040?KB_PROCESS
+  197: 			{	
+  198: 				g_variable.key_combination_step = CAMBINATION_KEY_COMPLETE;
+000D14 7403              MOV     A,#03H
+000D16 F0                MOVX    @DPTR,A
+  199: 				kb_send_combination_key(g_variable.key_combination_ctrl,g_variable.key_combination_keyvalue);
+000D17 A3                INC     DPTR
+000D18 E0                MOVX    A,@DPTR
+000D19 FF                MOV     R7,A
+000D1A A3                INC     DPTR
+000D1B E0                MOVX    A,@DPTR
+000D1C FD                MOV     R5,A
+000D1D 808E              SJMP    _kb_send_combination_key
+  200: 			}
+000D1F         ?C0040?KB_PROCESS:
+  201: 			else if(g_variable.key_combination_step == CAMBINATION_KEY_WAIT_RELEASE)
+000D1F 904CF4            MOV     DPTR,#g_variable+035H
+000D22 E0                MOVX    A,@DPTR
+000D23 B4041A            CJNE    A,#04H,?C0042?KB_PROCESS
+  202: 			{
+  203: 				g_variable.key_combination_keyvalue = 0;
+000D26 E4                CLR     A
+000D27 904CF6            MOV     DPTR,#g_variable+037H
+000D2A F0                MOVX    @DPTR,A
+  204: 				kb_send_combination_key(g_variable.key_combination_ctrl,g_variable.key_combination_keyvalue);
+000D2B 904CF5            MOV     DPTR,#g_variable+036H
+000D2E E0                MOVX    A,@DPTR
+000D2F FF                MOV     R7,A
+000D30 E4                CLR     A
+000D31 FD                MOV     R5,A
+000D32 91AD              ACALL   _kb_send_combination_key
+  205: 				g_variable.key_combination_ctrl = 0;
+000D34 E4                CLR     A
+000D35 904CF5            MOV     DPTR,#g_variable+036H
+000D38 F0                MOVX    @DPTR,A
+  206: 				g_variable.key_combination_step = CAMBINATION_KEY_RELEASE;
+000D39 904CF4            MOV     DPTR,#g_variable+035H
+000D3C 7405              MOV     A,#05H
+000D3E F0                MOVX    @DPTR,A
+  207: 			}
+000D3F 22                RET     
+000D40         ?C0042?KB_PROCESS:
+  208: 			else if(g_variable.key_combination_step == CAMBINATION_KEY_NULL)
+000D40 904CF4            MOV     DPTR,#g_variable+035H
+000D43 E0                MOVX    A,@DPTR
+000D44 B40615            CJNE    A,#06H,?C0045?KB_PROCESS
+  209: 			{
+  210: 				g_variable.key_combination_keyvalue = 0;
+000D47 E4                CLR     A
+000D48 904CF6            MOV     DPTR,#g_variable+037H
+000D4B F0                MOVX    @DPTR,A
+  211: 				g_variable.key_combination_ctrl = 0;
+000D4C 904CF5            MOV     DPTR,#g_variable+036H
+000D4F F0                MOVX    @DPTR,A
+  212: 				kb_send_combination_key(g_variable.key_combination_ctrl,g_variable.key_combination_keyvalue);
+000D50 A3                INC     DPTR
+000D51 E0                MOVX    A,@DPTR
+000D52 FD                MOV     R5,A
+000D53 E4                CLR     A
+000D54 FF                MOV     R7,A
+000D55 91AD              ACALL   _kb_send_combination_key
+  213: 				g_variable.key_combination_step = CAMBINATION_KEY_FREE;
+000D57 E4                CLR     A
+000D58 904CF4            MOV     DPTR,#g_variable+035H
+000D5B F0                MOVX    @DPTR,A
+  214: 			}
+  215: 		}
+  216: 
+  217: }
+000D5C         ?C0045?KB_PROCESS:
+000D5C 22                RET     
+----- FUNCTION kb_need_keyscan (END) -------
+
+
+----- FUNCTION kb_motion (BEGIN) -----
+ FILE: 'kb_process.c'
+  163: static void kb_motion()
+  164: {
+  165: 	tKSEVENT *pEvt = NULL;
+  166: 	
+000D5D 904E76            MOV     DPTR,#pEvt
+000D60 E4                CLR     A
+000D61 F0                MOVX    @DPTR,A
+000D62 A3                INC     DPTR
+000D63 F0                MOVX    @DPTR,A
+000D64 A3                INC     DPTR
+000D65 F0                MOVX    @DPTR,A
+  167: 	if (!IPC_IsTxBuffEmpty())
+000D66 122558            LCALL   IPC_IsTxBuffEmpty
+000D69 5025              JNC     ?C0033?KB_PROCESS
+000D6B         ?C0032?KB_PROCESS:
+  168: 		return;
+  169: 	pEvt = KS_GetCurrentEvt();
+000D6B 121AD7            LCALL   KS_GetCurrentEvt
+000D6E 904E76            MOV     DPTR,#pEvt
+000D71 EB                MOV     A,R3
+000D72 F0                MOVX    @DPTR,A
+000D73 A3                INC     DPTR
+000D74 EA                MOV     A,R2
+000D75 F0                MOVX    @DPTR,A
+000D76 A3                INC     DPTR
+000D77 E9                MOV     A,R1
+000D78 F0                MOVX    @DPTR,A
+  170: 
+  171: 	if (pEvt == NULL)
+000D79 4A                ORL     A,R2
+000D7A 7007              JNZ     ?C0034?KB_PROCESS
+  172: 	{
+  173: 		m_power_on_flag = 1;
+000D7C 904CB6            MOV     DPTR,#m_power_on_flag
+000D7F 04                INC     A
+000D80 F0                MOVX    @DPTR,A
+  174: 		kb_24g_get_led_status();
+000D81 800E              SJMP    kb_24g_get_led_status
+  175: 		return;
+  176: 	}
+000D83         ?C0034?KB_PROCESS:
+  177: 	kb_motion_keyscan(pEvt);
+000D83 904E76            MOV     DPTR,#pEvt
+000D86 E0                MOVX    A,@DPTR
+000D87 FB                MOV     R3,A
+000D88 A3                INC     DPTR
+000D89 E0                MOVX    A,@DPTR
+000D8A FA                MOV     R2,A
+000D8B A3                INC     DPTR
+000D8C E0                MOVX    A,@DPTR
+000D8D F9                MOV     R1,A
+000D8E 318D              ACALL   _kb_motion_keyscan
+  178: }
+000D90         ?C0033?KB_PROCESS:
+000D90 22                RET     
+----- FUNCTION kb_motion (END) -------
+
+
+----- FUNCTION kb_24g_get_led_status (BEGIN) -----
+ FILE: 'kb_process.c'
+  144: void kb_24g_get_led_status()		//get RF Ack for get numlock/capslock status
+  145: {
+  146: 	if((m_24g_led_flag)&& (repeat_send_24g == 0))
+  147: 	{
+000D91 904D47            MOV     DPTR,#m_24g_led_flag
+000D94 E0                MOVX    A,@DPTR
+000D95 6035              JZ      ?C0031?KB_PROCESS
+000D97 904DD6            MOV     DPTR,#repeat_send_24g
+000D9A E0                MOVX    A,@DPTR
+000D9B 702F              JNZ     ?C0031?KB_PROCESS
+  148: 		if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+  149: 		{
+000D9D 904CC5            MOV     DPTR,#g_variable+06H
+000DA0 E0                MOVX    A,@DPTR
+000DA1 B40328            CJNE    A,#03H,?C0031?KB_PROCESS
+  150: 			xmemclear(hidBuff,9);
+  151: 
+000DA4 7B01              MOV     R3,#01H
+000DA6 7A48              MOV     R2,#HIGH hidBuff
+000DA8 7900              MOV     R1,#LOW hidBuff
+000DAA 7D09              MOV     R5,#09H
+000DAC 7C00              MOV     R4,#00H
+000DAE 71F7              ACALL   _xmemclear
+  152: 			mult_key_status = 0;
+000DB0 E4                CLR     A
+000DB1 904DE5            MOV     DPTR,#mult_key_status
+000DB4 F0                MOVX    @DPTR,A
+  153: 			hidBuff[0] = HID_REPORTID_1;		// standard key send
+000DB5 904800            MOV     DPTR,#hidBuff
+000DB8 04                INC     A
+000DB9 F0                MOVX    @DPTR,A
+  154: 			hidBuff[2] = m_24g_led_flag;
+000DBA 904D47            MOV     DPTR,#m_24g_led_flag
+000DBD E0                MOVX    A,@DPTR
+000DBE 904802            MOV     DPTR,#hidBuff+02H
+000DC1 F0                MOVX    @DPTR,A
+  155: 			IPC_TxHidData(hidBuff, 9);
+000DC2 7B01              MOV     R3,#01H
+000DC4 7A48              MOV     R2,#HIGH hidBuff
+000DC6 7900              MOV     R1,#LOW hidBuff
+000DC8 7D09              MOV     R5,#09H
+000DCA 3102              ACALL   _IPC_TxHidData
+  156: 		}	
+  157: 	}
+  158: 
+  159: }
+000DCC         ?C0031?KB_PROCESS:
+000DCC 22                RET     
+----- FUNCTION kb_24g_get_led_status (END) -------
+
+
+----- FUNCTION _xmemcpy (BEGIN) -----
+000DCD 904E4D            MOV     DPTR,#dest
+000DD0 EE                MOV     A,R6
+000DD1 F0                MOVX    @DPTR,A
+000DD2 A3                INC     DPTR
+000DD3 EF                MOV     A,R7
+000DD4 F0                MOVX    @DPTR,A
+000DD5 A3                INC     DPTR
+000DD6 EB                MOV     A,R3
+000DD7 F0                MOVX    @DPTR,A
+000DD8 A3                INC     DPTR
+000DD9 EA                MOV     A,R2
+000DDA F0                MOVX    @DPTR,A
+000DDB A3                INC     DPTR
+000DDC E9                MOV     A,R1
+000DDD F0                MOVX    @DPTR,A
+000DDE         ?C0002?UTILITIES:
+000DDE 904E52            MOV     DPTR,#len
+000DE1 E0                MOVX    A,@DPTR
+000DE2 FF                MOV     R7,A
+000DE3 14                DEC     A
+000DE4 F0                MOVX    @DPTR,A
+000DE5 EF                MOV     A,R7
+000DE6 6027              JZ      ?C0004?UTILITIES
+000DE8 904E4F            MOV     DPTR,#src
+000DEB E0                MOVX    A,@DPTR
+000DEC FB                MOV     R3,A
+000DED A3                INC     DPTR
+000DEE E4                CLR     A
+000DEF 75F001            MOV     B,#01H
+000DF2 120424            LCALL   ?C?ILDIX
+000DF5 A9F0              MOV     R1,B
+000DF7 FA                MOV     R2,A
+000DF8 1203B6            LCALL   ?C?CLDPTR
+000DFB FF                MOV     R7,A
+000DFC 904E4D            MOV     DPTR,#dest
+000DFF E4                CLR     A
+000E00 75F001            MOV     B,#01H
+000E03 120424            LCALL   ?C?ILDIX
+000E06 85F082            MOV     DPL,B
+000E09 F583              MOV     DPH,A
+000E0B EF                MOV     A,R7
+000E0C F0                MOVX    @DPTR,A
+000E0D 80CF              SJMP    ?C0002?UTILITIES
+000E0F         ?C0004?UTILITIES:
+000E0F 22                RET     
+----- FUNCTION _xmemcpy (END) -------
+
+
+----- FUNCTION _IIC_Read (BEGIN) -----
+000E10 904E5D            MOV     DPTR,#len
+000E13 EC                MOV     A,R4
+000E14 F0                MOVX    @DPTR,A
+000E15 A3                INC     DPTR
+000E16 ED                MOV     A,R5
+000E17 F0                MOVX    @DPTR,A
+000E18 A3                INC     DPTR
+000E19 EB                MOV     A,R3
+000E1A F0                MOVX    @DPTR,A
+000E1B A3                INC     DPTR
+000E1C EA                MOV     A,R2
+000E1D F0                MOVX    @DPTR,A
+000E1E A3                INC     DPTR
+000E1F E9                MOV     A,R1
+000E20 F0                MOVX    @DPTR,A
+;---- Variable 'addr' assigned to Register 'R6/R7' ----
+;---- Variable 'mem_src' assigned to Register 'R6/R7' ----
+000E21 908098            MOV     DPTR,#08098H
+000E24 7404              MOV     A,#04H
+000E26 F0                MOVX    @DPTR,A
+000E27 A3                INC     DPTR
+000E28 E4                CLR     A
+000E29 F0                MOVX    @DPTR,A
+000E2A 900CAF            MOV     DPTR,#YC_IICDTbuf
+000E2D 74A0              MOV     A,#0A0H
+000E2F F0                MOVX    @DPTR,A
+000E30 A3                INC     DPTR
+000E31 EE                MOV     A,R6
+000E32 F0                MOVX    @DPTR,A
+000E33 A3                INC     DPTR
+000E34 EF                MOV     A,R7
+000E35 F0                MOVX    @DPTR,A
+000E36 900CB2            MOV     DPTR,#YC_IICDTbuf+03H
+000E39 74A1              MOV     A,#0A1H
+000E3B F0                MOVX    @DPTR,A
+000E3C 7A0C              MOV     R2,#HIGH YC_IICDTbuf
+000E3E 79AF              MOV     R1,#LOW YC_IICDTbuf
+000E40 7E0C              MOV     R6,#HIGH YC_IICDTbuf
+000E42 7FAF              MOV     R7,#LOW YC_IICDTbuf
+000E44 74AF              MOV     A,#LOW YC_IICDTbuf
+000E46 FC                MOV     R4,A
+000E47 740C              MOV     A,#HIGH YC_IICDTbuf
+000E49 FF                MOV     R7,A
+000E4A EC                MOV     A,R4
+000E4B FE                MOV     R6,A
+000E4C EF                MOV     A,R7
+000E4D 90809A            MOV     DPTR,#0809AH
+000E50 EE                MOV     A,R6
+000E51 F0                MOVX    @DPTR,A
+000E52 A3                INC     DPTR
+000E53 EF                MOV     A,R7
+000E54 F0                MOVX    @DPTR,A
+000E55 904E5D            MOV     DPTR,#len
+000E58 E0                MOVX    A,@DPTR
+000E59 FC                MOV     R4,A
+000E5A A3                INC     DPTR
+000E5B E0                MOVX    A,@DPTR
+000E5C FA                MOV     R2,A
+000E5D EC                MOV     A,R4
+000E5E FF                MOV     R7,A
+000E5F EA                MOV     A,R2
+000E60 FE                MOV     R6,A
+000E61 EF                MOV     A,R7
+000E62 90809E            MOV     DPTR,#0809EH
+000E65 EE                MOV     A,R6
+000E66 F0                MOVX    @DPTR,A
+000E67 A3                INC     DPTR
+000E68 EF                MOV     A,R7
+000E69 F0                MOVX    @DPTR,A
+000E6A 7A0B              MOV     R2,#HIGH IIC_TempBuff
+000E6C 7983              MOV     R1,#LOW IIC_TempBuff
+000E6E 7E0B              MOV     R6,#HIGH IIC_TempBuff
+000E70 7F83              MOV     R7,#LOW IIC_TempBuff
+000E72 7483              MOV     A,#LOW IIC_TempBuff
+000E74 FC                MOV     R4,A
+000E75 740B              MOV     A,#HIGH IIC_TempBuff
+000E77 FF                MOV     R7,A
+000E78 EC                MOV     A,R4
+000E79 FE                MOV     R6,A
+000E7A EF                MOV     A,R7
+000E7B 90809C            MOV     DPTR,#0809CH
+000E7E EE                MOV     A,R6
+000E7F F0                MOVX    @DPTR,A
+000E80 A3                INC     DPTR
+000E81 EF                MOV     A,R7
+000E82 F0                MOVX    @DPTR,A
+000E83 908090            MOV     DPTR,#08090H
+000E86 7402              MOV     A,#02H
+000E88 F0                MOVX    @DPTR,A
+000E89 90809C            MOV     DPTR,#0809CH
+000E8C A3                INC     DPTR
+000E8D E0                MOVX    A,@DPTR
+000E8E 20E707            JB      ACC.7,?C0004?IIC
+000E91 908090            MOV     DPTR,#08090H
+000E94 E0                MOVX    A,@DPTR
+000E95 4401              ORL     A,#01H
+000E97 F0                MOVX    @DPTR,A
+000E98         ?C0004?IIC:
+000E98 908006            MOV     DPTR,#08006H
+000E9B E0                MOVX    A,@DPTR
+000E9C 4404              ORL     A,#04H
+000E9E F0                MOVX    @DPTR,A
+000E9F 1223C1            LCALL   IIcWaitDone
+000EA2 904E5F            MOV     DPTR,#pbuff
+000EA5 E0                MOVX    A,@DPTR
+000EA6 A3                INC     DPTR
+000EA7 E0                MOVX    A,@DPTR
+000EA8 FA                MOV     R2,A
+000EA9 A3                INC     DPTR
+000EAA E0                MOVX    A,@DPTR
+000EAB AE02              MOV     R6,AR2
+000EAD FF                MOV     R7,A
+000EAE 7B01              MOV     R3,#01H
+000EB0 7A0B              MOV     R2,#HIGH IIC_TempBuff
+000EB2 7983              MOV     R1,#LOW IIC_TempBuff
+000EB4 904E5D            MOV     DPTR,#len
+000EB7 E0                MOVX    A,@DPTR
+000EB8 A3                INC     DPTR
+000EB9 E0                MOVX    A,@DPTR
+000EBA 904E52            MOV     DPTR,#?_xmemcpy?BYTE+05H
+000EBD F0                MOVX    @DPTR,A
+000EBE A1CD              AJMP    _xmemcpy
+----- FUNCTION _IIC_Read (END) -------
+
+
+----- FUNCTION _kb_cb_event (BEGIN) -----
+ FILE: 'sys.c'
+   90: static void kb_cb_event(byte evt)
+   91: {
+000EC0 904E97            MOV     DPTR,#evt
+000EC3 EF                MOV     A,R7
+000EC4 F0                MOVX    @DPTR,A
+   92: 	switch (evt) 
+   93: 	{
+000EC5 24D1              ADD     A,#0D1H
+000EC7 6066              JZ      ?C0018?SYS
+000EC9 14                DEC     A
+000ECA 7002              JNZ     $ + 4H
+000ECC E160              AJMP    ?C0019?SYS
+000ECE 14                DEC     A
+000ECF 7002              JNZ     $ + 4H
+000ED1 E162              AJMP    ?C0021?SYS
+000ED3 14                DEC     A
+000ED4 7002              JNZ     $ + 4H
+000ED6 E1AC              AJMP    ?C0025?SYS
+000ED8 24F6              ADD     A,#0F6H
+000EDA 7002              JNZ     $ + 4H
+000EDC E162              AJMP    ?C0021?SYS
+000EDE 2409              ADD     A,#09H
+000EE0 6002              JZ      $ + 4H
+000EE2 E1DA              AJMP    ?C0017?SYS
+   94: 	case IPC_EVT_HIBERNATE_WAKE:
+   95: 		Delay1ms(10);
+000EE4         ?C0012?SYS:
+   96: 		IIC_Read(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+000EE4 7F0A              MOV     R7,#0AH
+000EE6 12146F            LCALL   _Delay1ms
+   97: 		if(g_variable.battary_shutdown_flag == 1)
+000EE9 904CFA            MOV     DPTR,#g_variable+03BH
+000EEC E0                MOVX    A,@DPTR
+000EED F9                MOV     R1,A
+000EEE 7A00              MOV     R2,#00H
+000EF0 7B00              MOV     R3,#00H
+000EF2 7D01              MOV     R5,#01H
+000EF4 7C00              MOV     R4,#00H
+000EF6 7FF9              MOV     R7,#0F9H
+000EF8 7E3F              MOV     R6,#03FH
+000EFA D110              ACALL   _IIC_Read
+   98: 		{
+000EFC 904CFA            MOV     DPTR,#g_variable+03BH
+000EFF E0                MOVX    A,@DPTR
+000F00 B4012C            CJNE    A,#01H,?C0018?SYS
+   99: 			m_lpm_mode = 0;
+  100: 			while(!m_adcCurrentValue);
+000F03 E4                CLR     A
+000F04 904131            MOV     DPTR,#m_lpm_mode
+000F07 F0                MOVX    @DPTR,A
+000F08         ?C0014?SYS:
+  101: 			m_lpm_mode = 1;
+000F08 904C95            MOV     DPTR,#m_adcCurrentValue
+000F0B E0                MOVX    A,@DPTR
+000F0C 7002              JNZ     ?C0087?SYS
+000F0E A3                INC     DPTR
+000F0F E0                MOVX    A,@DPTR
+000F10         ?C0087?SYS:
+000F10 60F6              JZ      ?C0014?SYS
+000F12         ?C0015?SYS:
+  102: 			if(m_adcCurrentValue < g_variable.battery_level_shutdown)
+000F12 904131            MOV     DPTR,#m_lpm_mode
+000F15 7401              MOV     A,#01H
+000F17 F0                MOVX    @DPTR,A
+  103: 			{
+000F18 904CE0            MOV     DPTR,#g_variable+021H
+000F1B E0                MOVX    A,@DPTR
+000F1C FE                MOV     R6,A
+000F1D A3                INC     DPTR
+000F1E E0                MOVX    A,@DPTR
+000F1F FF                MOV     R7,A
+000F20 C3                CLR     C
+000F21 904C96            MOV     DPTR,#m_adcCurrentValue+01H
+000F24 E0                MOVX    A,@DPTR
+000F25 9F                SUBB    A,R7
+000F26 904C95            MOV     DPTR,#m_adcCurrentValue
+000F29 E0                MOVX    A,@DPTR
+000F2A 9E                SUBB    A,R6
+000F2B 5002              JNC     $ + 4H
+000F2D E1DA              AJMP    ?C0017?SYS
+  104: 				return;
+  105: 			}
+000F2F         ?C0016?SYS:
+  106: 		}
+  107: 	case IPC_EVT_RESET:
+000F2F         ?C0018?SYS:
+  108: 		System_Hardware_init();
+000F2F 12124F            LCALL   System_Hardware_init
+  109: 		System_Software_init();	
+000F32 121FAD            LCALL   System_Software_init
+  110: 		IIC_Read(EEPROM_RECON_INFO_BASE_6+2,4 , (byte *)m_24g_addr);
+000F35 7B01              MOV     R3,#01H
+000F37 7A4C              MOV     R2,#HIGH m_24g_addr
+000F39 7900              MOV     R1,#LOW m_24g_addr
+000F3B 7D04              MOV     R5,#04H
+000F3D 7C00              MOV     R4,#00H
+000F3F 7FF2              MOV     R7,#0F2H
+000F41 7E3F              MOV     R6,#03FH
+000F43 D110              ACALL   _IIC_Read
+  111: 		Delay1ms(10);
+000F45 7F0A              MOV     R7,#0AH
+000F47 12146F            LCALL   _Delay1ms
+  112: 		IIC_Read(EEPROM_RECON_INFO_SYTEM_MODE,1 , (byte *)g_variable.system_mode);
+000F4A 904CC1            MOV     DPTR,#g_variable+02H
+000F4D E0                MOVX    A,@DPTR
+000F4E F9                MOV     R1,A
+000F4F 7A00              MOV     R2,#00H
+000F51 7B00              MOV     R3,#00H
+000F53 7D01              MOV     R5,#01H
+000F55 7C00              MOV     R4,#00H
+000F57 7FF8              MOV     R7,#0F8H
+000F59 7E3F              MOV     R6,#03FH
+000F5B D110              ACALL   _IIC_Read
+  113: 		YC_start_reconnect();
+000F5D 0217B3            LJMP    YC_start_reconnect
+  114: 		break;
+  115: 	case IPC_EVT_WAKEUP:
+000F60         ?C0019?SYS:
+  116: 		KS_Initialize();
+000F60 807F              SJMP    KS_Initialize
+  117: 		break;
+  118: 
+  119: 		
+  120: // 2.4G event	
+  121: 	case IPC_EVT_24G_PAIRING_COMPLETE:
+  122: 	case IPC_EVT_24G_ATTEMPT_SUCCESS:
+000F62         ?C0021?SYS:
+  123: 		g_variable.g24_currentState =  CHANGE_TO_24G_CONNECTED;
+000F62 904CC5            MOV     DPTR,#g_variable+06H
+000F65 7403              MOV     A,#03H
+000F67 F0                MOVX    @DPTR,A
+  124: 		g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+000F68 E4                CLR     A
+000F69 A3                INC     DPTR
+000F6A F0                MOVX    @DPTR,A
+  125: 		YC_clear_reconnect_flag();
+000F6B F1DB              ACALL   YC_clear_reconnect_flag
+  126: 		g_variable.pairing_g24_timeout = 0;
+000F6D E4                CLR     A
+000F6E 904CEE            MOV     DPTR,#g_variable+02FH
+000F71 F0                MOVX    @DPTR,A
+  127: 		g_variable.release_data = 0;
+000F72 904CEB            MOV     DPTR,#g_variable+02CH
+000F75 F0                MOVX    @DPTR,A
+  128: 		g_variable.last_device_num = 0xfe;
+000F76 904CC0            MOV     DPTR,#g_variable+01H
+000F79 74FE              MOV     A,#0FEH
+000F7B F0                MOVX    @DPTR,A
+  129: 		g_variable.current_device_num = 0xfe;
+000F7C 904CC3            MOV     DPTR,#g_variable+04H
+000F7F F0                MOVX    @DPTR,A
+  130: 
+  131: 		if(evt == IPC_EVT_24G_PAIRING_COMPLETE)
+000F80 904E97            MOV     DPTR,#evt
+000F83 E0                MOVX    A,@DPTR
+000F84 6431              XRL     A,#031H
+000F86 7052              JNZ     ?C0017?SYS
+  132: 		{
+  133: 			g_variable.powerOn_timer = KB_POWERON_LED_ON_TIMER;
+000F88 904CE5            MOV     DPTR,#g_variable+026H
+000F8B 740A              MOV     A,#0AH
+000F8D F0                MOVX    @DPTR,A
+  134: 			if(m_24g_paring_addr[0] != 0x0f || m_24g_paring_addr[1] != 0x0f ||
+000F8E 904BEB            MOV     DPTR,#m_24g_paring_addr
+000F91 E0                MOVX    A,@DPTR
+000F92 B40F10            CJNE    A,#0FH,?C0024?SYS
+000F95 A3                INC     DPTR
+000F96 E0                MOVX    A,@DPTR
+000F97 B40F0B            CJNE    A,#0FH,?C0024?SYS
+000F9A A3                INC     DPTR
+000F9B E0                MOVX    A,@DPTR
+000F9C B40F06            CJNE    A,#0FH,?C0024?SYS
+000F9F A3                INC     DPTR
+000FA0 E0                MOVX    A,@DPTR
+000FA1 640F              XRL     A,#0FH
+000FA3 6035              JZ      ?C0017?SYS
+000FA5         ?C0024?SYS:
+  135: 				m_24g_paring_addr[2] != 0x0f || m_24g_paring_addr[3] != 0x0f)
+  136: 				g_variable.update_eeprom_flag = 1;
+000FA5 904CBF            MOV     DPTR,#g_variable
+000FA8 7401              MOV     A,#01H
+000FAA F0                MOVX    @DPTR,A
+  137: 		}
+  138: 		break;
+000FAB 22                RET     
+  139: 	
+  140: 	case IPC_EVT_24G_ATTEMPT_FAIL:	
+000FAC         ?C0025?SYS:
+  141: 		g_variable.g24_currentState =  CHANGE_TO_24G_DISCONNECTED;
+000FAC E4                CLR     A
+000FAD 904CC5            MOV     DPTR,#g_variable+06H
+000FB0 F0                MOVX    @DPTR,A
+  142: 		g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+000FB1 A3                INC     DPTR
+000FB2 F0                MOVX    @DPTR,A
+  143: 		g_variable.sleepTimer = 0;
+000FB3 904CE3            MOV     DPTR,#g_variable+024H
+000FB6 F0                MOVX    @DPTR,A
+000FB7 A3                INC     DPTR
+000FB8 F0                MOVX    @DPTR,A
+  144: 		g_variable.release_data = 1;
+000FB9 904CEB            MOV     DPTR,#g_variable+02CH
+000FBC 04                INC     A
+000FBD F0                MOVX    @DPTR,A
+  145: 
+  146: 		if (g_variable.key_action != KEY_NONE)
+000FBE 904CED            MOV     DPTR,#g_variable+02EH
+000FC1 E0                MOVX    A,@DPTR
+000FC2 600A              JZ      ?C0026?SYS
+  147: 		{
+  148: 			YC_clear_reconnect_flag();
+000FC4 F1DB              ACALL   YC_clear_reconnect_flag
+  149: 			YC_key_action_handle(g_variable.key_action);
+000FC6 904CED            MOV     DPTR,#g_variable+02EH
+000FC9 E0                MOVX    A,@DPTR
+000FCA FF                MOV     R7,A
+000FCB 021689            LJMP    _YC_key_action_handle
+  150: 			break;
+  151: 		}
+000FCE         ?C0026?SYS:
+  152: 
+  153: 		if (g_variable.lockLpm == 1)
+000FCE 904CEC            MOV     DPTR,#g_variable+02DH
+000FD1 E0                MOVX    A,@DPTR
+000FD2 B40105            CJNE    A,#01H,?C0017?SYS
+  154: 		{
+  155: 			g_variable.lockLpm =0;
+000FD5 E4                CLR     A
+000FD6 F0                MOVX    @DPTR,A
+  156: 			System_long_sleep();
+000FD7 1207A8            LCALL   System_long_sleep
+  157: 			break;
+  158: 		}
+  159: 		break;
+  160: 	}
+  161: }
+000FDA         ?C0017?SYS:
+000FDA 22                RET     
+----- FUNCTION _kb_cb_event (END) -------
+
+
+----- FUNCTION YC_clear_reconnect_flag (BEGIN) -----
+ FILE: 'bluetooth.c'
+   45: void YC_clear_reconnect_flag()  
+   46: {
+   47: 	g_variable.recon_count = 0;
+   48: }
+000FDB E4                CLR     A
+000FDC 904CF0            MOV     DPTR,#g_variable+031H
+000FDF F0                MOVX    @DPTR,A
+   49: 
+000FE0 22                RET     
+----- FUNCTION YC_clear_reconnect_flag (END) -------
+
+
+----- FUNCTION KS_Initialize (BEGIN) -----
+ FILE: 'keyscan.c'
+  206: void KS_Initialize()
+  207: {
+  208: 	REG_GPIO_SELECT(0) = 0;
+  209: 	REG_GPIO_SELECT(1) = 0;
+000FE1 908080            MOV     DPTR,#08080H
+000FE4 E4                CLR     A
+000FE5 F0                MOVX    @DPTR,A
+  210: 	REG_GPIO_SELECT(2) = 0;
+000FE6 A3                INC     DPTR
+000FE7 F0                MOVX    @DPTR,A
+  211: 	ksRawInitialize();
+000FE8 A3                INC     DPTR
+000FE9 F0                MOVX    @DPTR,A
+  212: 	ksColInitialize();
+000FEA 1217C9            LCALL   ksRawInitialize
+;----                  JMP     ksColInitialize
+  213: }
+----- FUNCTION KS_Initialize (END) -------
+
+
+----- FUNCTION ksColInitialize (BEGIN) -----
+ FILE: 'keyscan.c'
+  198: static void ksColInitialize()
+  199: {
+  200: 	byte i = 0;
+  201: 	for (i=0; col[i]!=0; i++) {
+000FED E4                CLR     A
+000FEE 904E95            MOV     DPTR,#i
+000FF1 F0                MOVX    @DPTR,A
+  202: 		GPIO_SetInput(col[i], 0);
+000FF2 F0                MOVX    @DPTR,A
+000FF3         ?C0032?KEYSCAN:
+000FF3 904E95            MOV     DPTR,#i
+000FF6 E0                MOVX    A,@DPTR
+000FF7 90060C            MOV     DPTR,#col
+000FFA 93                MOVC    A,@A+DPTR
+000FFB FF                MOV     R7,A
+000FFC 600C              JZ      ?C0035?KEYSCAN
+  203: 	}
+000FFE C205              CLR     ?_GPIO_SetInput?BIT
+001000 110B              ACALL   _GPIO_SetInput
+  204: }
+001002 904E95            MOV     DPTR,#i
+001005 E0                MOVX    A,@DPTR
+001006 04                INC     A
+001007 F0                MOVX    @DPTR,A
+001008 80E9              SJMP    ?C0032?KEYSCAN
+  205: 
+00100A         ?C0035?KEYSCAN:
+00100A 22                RET     
+----- FUNCTION ksColInitialize (END) -------
+
+
+----- FUNCTION _GPIO_SetInput (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R4' ----
+00100B AC07              MOV     R4,AR7
+00100D EC                MOV     A,R4
+00100E F4                CPL     A
+00100F 6017              JZ      ?C0015?GPIO
+001011         ?C0014?GPIO:
+001011 AF04              MOV     R7,AR4
+001013 A205              MOV     C,st
+001015 9203              MOV     ?_GPIO_SetPd?BIT,C
+001017 5156              ACALL   _GPIO_SetPd
+001019 AF04              MOV     R7,AR4
+00101B A205              MOV     C,st
+00101D B3                CPL     C
+00101E 9202              MOV     ?_GPIO_SetPu?BIT,C
+001020 1129              ACALL   _GPIO_SetPu
+001022 AF04              MOV     R7,AR4
+001024 C204              CLR     ?_GPIO_Setoe?BIT
+001026 5128              ACALL   _GPIO_Setoe
+001028         ?C0015?GPIO:
+001028 22                RET     
+----- FUNCTION _GPIO_SetInput (END) -------
+
+
+----- FUNCTION _GPIO_SetPu (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+001029 EF                MOV     A,R7
+00102A F4                CPL     A
+00102B 600C              JZ      ?C0009?GPIO
+00102D         ?C0008?GPIO:
+00102D 7B01              MOV     R3,#01H
+00102F 7A80              MOV     R2,#080H
+001031 7978              MOV     R1,#078H
+001033 A202              MOV     C,bit_val
+001035 9200              MOV     ?_gpioSetBit?BIT,C
+001037 5167              ACALL   _gpioSetBit
+001039         ?C0009?GPIO:
+001039 22                RET     
+----- FUNCTION _GPIO_SetPu (END) -------
+
+
+----- FUNCTION _GPIO_SetOutput (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R4' ----
+00103A AC07              MOV     R4,AR7
+00103C EC                MOV     A,R4
+00103D F4                CPL     A
+00103E 6015              JZ      ?C0017?GPIO
+001040         ?C0016?GPIO:
+001040 AF04              MOV     R7,AR4
+001042 D204              SETB    ?_GPIO_Setoe?BIT
+001044 5128              ACALL   _GPIO_Setoe
+001046 AF04              MOV     R7,AR4
+001048 A206              MOV     C,st
+00104A 9201              MOV     ?_GPIO_Setout?BIT,C
+00104C 120796            LCALL   _GPIO_Setout
+00104F AF04              MOV     R7,AR4
+001051 C202              CLR     ?_GPIO_SetPu?BIT
+001053 1129              ACALL   _GPIO_SetPu
+001055         ?C0017?GPIO:
+001055 22                RET     
+----- FUNCTION _GPIO_SetOutput (END) -------
+
+
+----- FUNCTION LED_all_shutdown (BEGIN) -----
+ FILE: 'led.c'
+    4: void LED_all_shutdown()
+    5: {
+    6: 	GPIO_SetOutput(NUM_LOCK_LED_GPIO,LED_OFF);
+    7: 	GPIO_SetOutput(CAPS_LED_GPIO,LED_OFF);
+001056 D206              SETB    ?_GPIO_SetOutput?BIT
+001058 7F1C              MOV     R7,#01CH
+00105A 113A              ACALL   _GPIO_SetOutput
+    8: 	GPIO_SetOutput(SCROLL_LED_GPIO,LED_OFF);
+00105C D206              SETB    ?_GPIO_SetOutput?BIT
+00105E 7F1D              MOV     R7,#01DH
+001060 113A              ACALL   _GPIO_SetOutput
+    9: 	YC_PWM_set_duty(0);
+001062 D206              SETB    ?_GPIO_SetOutput?BIT
+001064 7F1E              MOV     R7,#01EH
+001066 113A              ACALL   _GPIO_SetOutput
+   10: }
+001068 E4                CLR     A
+001069 FF                MOV     R7,A
+;----                  JMP     _YC_PWM_set_duty
+----- FUNCTION LED_all_shutdown (END) -------
+
+
+----- FUNCTION _YC_PWM_set_duty (BEGIN) -----
+ FILE: 'pwm.c'
+   17: void YC_PWM_set_duty(byte pwm_duty_level)
+   18: {
+00106A 904E7C            MOV     DPTR,#pwm_duty_level
+00106D EF                MOV     A,R7
+00106E F0                MOVX    @DPTR,A
+   19: 	word pwm_duty;
+   20: 	if(pwm_duty_level == 0)
+00106F 7008              JNZ     ?C0002?PWM
+   21: 	{
+   22: 		YC_PWM_disable();
+001071 5139              ACALL   YC_PWM_disable
+   23: 		GPIO_SetOutput(BACKLIGHT_LED_GPIO,LED_OFF);
+001073 D206              SETB    ?_GPIO_SetOutput?BIT
+001075 7F13              MOV     R7,#013H
+001077 80C1              SJMP    _GPIO_SetOutput
+   24: 		return;
+   25: 	}
+001079         ?C0002?PWM:
+   26: 	else if(pwm_duty_level == 1)
+001079 904E7C            MOV     DPTR,#pwm_duty_level
+00107C E0                MOVX    A,@DPTR
+00107D FF                MOV     R7,A
+00107E B40109            CJNE    A,#01H,?C0005?PWM
+   27: 		pwm_duty = 20;
+001081 A3                INC     DPTR
+001082 E4                CLR     A
+001083 F0                MOVX    @DPTR,A
+001084 A3                INC     DPTR
+001085 7414              MOV     A,#014H
+001087 F0                MOVX    @DPTR,A
+001088 801B              SJMP    ?C0004?PWM
+00108A         ?C0005?PWM:
+   28: 	else if(pwm_duty_level == 2)
+00108A EF                MOV     A,R7
+00108B B4020B            CJNE    A,#02H,?C0007?PWM
+   29: 		pwm_duty = 66;
+00108E 904E7D            MOV     DPTR,#pwm_duty
+001091 E4                CLR     A
+001092 F0                MOVX    @DPTR,A
+001093 A3                INC     DPTR
+001094 7442              MOV     A,#042H
+001096 F0                MOVX    @DPTR,A
+001097 800C              SJMP    ?C0004?PWM
+001099         ?C0007?PWM:
+   30: 	else if(pwm_duty_level == 3)
+001099 EF                MOV     A,R7
+00109A B40308            CJNE    A,#03H,?C0004?PWM
+   31: 	{
+   32: 		YC_PWM_disable();
+00109D 5139              ACALL   YC_PWM_disable
+   33: 		GPIO_SetOutput(BACKLIGHT_LED_GPIO,LED_ON);
+00109F C206              CLR     ?_GPIO_SetOutput?BIT
+0010A1 7F13              MOV     R7,#013H
+0010A3 8095              SJMP    _GPIO_SetOutput
+   34: 		return;
+   35: 	}
+0010A5         ?C0004?PWM:
+   36: 
+   37: 
+   38: 	YC_PWM_init();
+0010A5 51C8              ACALL   YC_PWM_init
+   39: 	REG_PWM_PCOUNT(0) = (100 - pwm_duty );
+0010A7 904E7D            MOV     DPTR,#pwm_duty
+0010AA E0                MOVX    A,@DPTR
+0010AB A3                INC     DPTR
+0010AC E0                MOVX    A,@DPTR
+0010AD FF                MOV     R7,A
+0010AE C3                CLR     C
+0010AF 7464              MOV     A,#064H
+0010B1 9F                SUBB    A,R7
+0010B2 9080A0            MOV     DPTR,#080A0H
+0010B5 F0                MOVX    @DPTR,A
+   40: 	REG_PWM_NCOUNT(0) = pwm_duty;
+0010B6 9080A2            MOV     DPTR,#080A2H
+0010B9 EF                MOV     A,R7
+0010BA F0                MOVX    @DPTR,A
+   41: 	
+   42: 	REG_PWM_ENABLE |= 0x40;
+0010BB 908085            MOV     DPTR,#08085H
+0010BE E0                MOVX    A,@DPTR
+0010BF 4440              ORL     A,#040H
+0010C1 F0                MOVX    @DPTR,A
+   43: 		
+   44: }
+0010C2 22                RET     
+----- FUNCTION _YC_PWM_set_duty (END) -------
+
+
+----- FUNCTION _key_fn_function (BEGIN) -----
+ FILE: 'kb_process.c'
+  368: byte key_fn_function(byte state ,byte key_value)
+  369: {
+0010C3 904E8D            MOV     DPTR,#state
+0010C6 EF                MOV     A,R7
+0010C7 F0                MOVX    @DPTR,A
+;---- Variable 'key_value' assigned to Register 'R5' ----
+  370: 	byte temp = 0;
+  371: 
+0010C8 E4                CLR     A
+0010C9 A3                INC     DPTR
+0010CA F0                MOVX    @DPTR,A
+  372: 	temp = key_value;
+0010CB ED                MOV     A,R5
+0010CC F0                MOVX    @DPTR,A
+  373: 	if(fn_flag == 1)			// Fn lock
+0010CD 904DDB            MOV     DPTR,#fn_flag
+0010D0 E0                MOVX    A,@DPTR
+0010D1 6401              XRL     A,#01H
+0010D3 6002              JZ      $ + 4H
+0010D5 21E6              AJMP    ?C0085?KB_PROCESS
+  374: 	{
+  375: 		
+  376: 		switch (key_value)
+0010D7 ED                MOV     A,R5
+0010D8 24AF              ADD     A,#0AFH
+0010DA 6067              JZ      ?C0091?KB_PROCESS
+0010DC 14                DEC     A
+0010DD 603B              JZ      ?C0087?KB_PROCESS
+0010DF 2418              ADD     A,#018H
+0010E1 B40C00            CJNE    A,#0CH,?C0161?KB_PROCESS
+0010E4         ?C0161?KB_PROCESS:
+0010E4 4002              JC      $ + 4H
+0010E6 21E6              AJMP    ?C0085?KB_PROCESS
+0010E8 9010F6            MOV     DPTR,#010F6H
+0010EB 75F003            MOV     B,#03H
+0010EE A4                MUL     AB
+0010EF C583              XCH     A,DPH
+0010F1 25F0              ADD     A,B
+0010F3 C583              XCH     A,DPH
+0010F5 73                JMP     @A+DPTR
+0010F6         ?C0162?KB_PROCESS:
+0010F6 021160            LJMP    ?C0094?KB_PROCESS
+0010F9 021168            LJMP    ?C0095?KB_PROCESS
+0010FC 021170            LJMP    ?C0096?KB_PROCESS
+0010FF 021178            LJMP    ?C0097?KB_PROCESS
+001102 02118A            LJMP    ?C0098?KB_PROCESS
+001105 021192            LJMP    ?C0099?KB_PROCESS
+001108 0211A4            LJMP    ?C0100?KB_PROCESS
+00110B 0211B6            LJMP    ?C0101?KB_PROCESS
+00110E 0211BE            LJMP    ?C0102?KB_PROCESS
+001111 0211D0            LJMP    ?C0103?KB_PROCESS
+001114 0211D8            LJMP    ?C0104?KB_PROCESS
+001117 0211E0            LJMP    ?C0105?KB_PROCESS
+  377: 		{ 
+  378: 			case HID_KEY_UP_ARROW:
+00111A         ?C0087?KB_PROCESS:
+  379: 				if(state & 1)
+00111A 904E8D            MOV     DPTR,#state
+00111D E0                MOVX    A,@DPTR
+00111E 30E01B            JNB     ACC.0,?C0088?KB_PROCESS
+  380: 				{
+  381: 					if(g_variable.backlight_level < 3)
+001121 904CF9            MOV     DPTR,#g_variable+03AH
+001124 E0                MOVX    A,@DPTR
+001125 C3                CLR     C
+001126 9403              SUBB    A,#03H
+001128 5005              JNC     ?C0089?KB_PROCESS
+  382: 						g_variable.backlight_level++;
+00112A E0                MOVX    A,@DPTR
+00112B 04                INC     A
+00112C F0                MOVX    @DPTR,A
+00112D 8006              SJMP    ?C0090?KB_PROCESS
+00112F         ?C0089?KB_PROCESS:
+  383: 					else
+  384: 						g_variable.backlight_level = 3;
+00112F 904CF9            MOV     DPTR,#g_variable+03AH
+001132 7403              MOV     A,#03H
+001134 F0                MOVX    @DPTR,A
+001135         ?C0090?KB_PROCESS:
+  385: 				
+  386: 					YC_PWM_set_duty(g_variable.backlight_level);	
+001135 904CF9            MOV     DPTR,#g_variable+03AH
+001138 E0                MOVX    A,@DPTR
+001139 FF                MOV     R7,A
+00113A 116A              ACALL   _YC_PWM_set_duty
+  387: 				}
+00113C         ?C0088?KB_PROCESS:
+  388: 				temp = HID_KEY_NULL;
+00113C E4                CLR     A
+00113D 904E8E            MOV     DPTR,#temp
+001140 F0                MOVX    @DPTR,A
+  389: 				break;
+001141 21E6              AJMP    ?C0085?KB_PROCESS
+  390: 			case HID_KEY_DOWN_ARROW:
+001143         ?C0091?KB_PROCESS:
+  391: 				if(state & 1)
+001143 904E8D            MOV     DPTR,#state
+001146 E0                MOVX    A,@DPTR
+001147 30E00F            JNB     ACC.0,?C0092?KB_PROCESS
+  392: 				{
+  393: 					if(g_variable.backlight_level)
+00114A 904CF9            MOV     DPTR,#g_variable+03AH
+00114D E0                MOVX    A,@DPTR
+00114E 6002              JZ      ?C0093?KB_PROCESS
+  394: 						g_variable.backlight_level--;
+001150 14                DEC     A
+001151 F0                MOVX    @DPTR,A
+001152         ?C0093?KB_PROCESS:
+  395: 						
+  396: 					YC_PWM_set_duty(g_variable.backlight_level);
+001152 904CF9            MOV     DPTR,#g_variable+03AH
+001155 E0                MOVX    A,@DPTR
+001156 FF                MOV     R7,A
+001157 116A              ACALL   _YC_PWM_set_duty
+  397: 				}
+001159         ?C0092?KB_PROCESS:
+  398: 				temp = HID_KEY_NULL;
+001159 E4                CLR     A
+00115A 904E8E            MOV     DPTR,#temp
+00115D F0                MOVX    @DPTR,A
+  399: 				break;	
+00115E 21E6              AJMP    ?C0085?KB_PROCESS
+  400: 			case HID_KEY_F1:
+001160         ?C0094?KB_PROCESS:
+  401: 				temp = HID_SYSTEM_KEY_SLEEP;
+001160 904E8E            MOV     DPTR,#temp
+001163 74DE              MOV     A,#0DEH
+001165 F0                MOVX    @DPTR,A
+  402: 				break;
+001166 807E              SJMP    ?C0085?KB_PROCESS
+  403: 			case HID_KEY_F2:
+001168         ?C0095?KB_PROCESS:
+  404: 				temp = HID_MULTIKEY_AC_HOME;
+001168 904E8E            MOV     DPTR,#temp
+00116B 74D6              MOV     A,#0D6H
+00116D F0                MOVX    @DPTR,A
+  405: 				break;
+00116E 8076              SJMP    ?C0085?KB_PROCESS
+  406: 			case HID_KEY_F3:
+001170         ?C0096?KB_PROCESS:
+  407: 				temp = HID_MULTIKEY_AC_FAVORITES;
+001170 904E8E            MOV     DPTR,#temp
+001173 74D0              MOV     A,#0D0H
+001175 F0                MOVX    @DPTR,A
+  408: 				break;
+001176 806E              SJMP    ?C0085?KB_PROCESS
+  409: 			case HID_KEY_F4:
+001178         ?C0097?KB_PROCESS:
+  410: 				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_H);
+001178 904E8D            MOV     DPTR,#state
+00117B E0                MOVX    A,@DPTR
+00117C FF                MOV     R7,A
+00117D 7B0B              MOV     R3,#0BH
+00117F 7D08              MOV     R5,#08H
+001181 5103              ACALL   _kb_combination_key_press
+  411: 				temp = HID_KEY_NULL;
+001183 E4                CLR     A
+001184 904E8E            MOV     DPTR,#temp
+001187 F0                MOVX    @DPTR,A
+  412: 				break;
+001188 805C              SJMP    ?C0085?KB_PROCESS
+  413: 			case HID_KEY_F5:
+00118A         ?C0098?KB_PROCESS:
+  414: 				temp = HID_MULTIKEY_CALCULATOR;
+00118A 904E8E            MOV     DPTR,#temp
+00118D 74FB              MOV     A,#0FBH
+00118F F0                MOVX    @DPTR,A
+  415: 				break;
+001190 8054              SJMP    ?C0085?KB_PROCESS
+  416: 			case HID_KEY_F6:
+001192         ?C0099?KB_PROCESS:
+  417: 				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_TAB);
+001192 904E8D            MOV     DPTR,#state
+001195 E0                MOVX    A,@DPTR
+001196 FF                MOV     R7,A
+001197 7B2B              MOV     R3,#02BH
+001199 7D08              MOV     R5,#08H
+00119B 5103              ACALL   _kb_combination_key_press
+  418: 				temp = HID_KEY_NULL;
+00119D E4                CLR     A
+00119E 904E8E            MOV     DPTR,#temp
+0011A1 F0                MOVX    @DPTR,A
+  419: 				break;
+0011A2 8042              SJMP    ?C0085?KB_PROCESS
+  420: 			case HID_KEY_F7:
+0011A4         ?C0100?KB_PROCESS:
+  421: 				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_I);
+0011A4 904E8D            MOV     DPTR,#state
+0011A7 E0                MOVX    A,@DPTR
+0011A8 FF                MOV     R7,A
+0011A9 7B0C              MOV     R3,#0CH
+0011AB 7D08              MOV     R5,#08H
+0011AD 5103              ACALL   _kb_combination_key_press
+  422: 				temp = HID_KEY_NULL;
+0011AF E4                CLR     A
+0011B0 904E8E            MOV     DPTR,#temp
+0011B3 F0                MOVX    @DPTR,A
+  423: 				break;
+0011B4 8030              SJMP    ?C0085?KB_PROCESS
+  424: 			case HID_KEY_F8:
+0011B6         ?C0101?KB_PROCESS:
+  425: 				temp = HID_MULTIKEY_AC_SEARCH;
+0011B6 904E8E            MOV     DPTR,#temp
+0011B9 74D5              MOV     A,#0D5H
+0011BB F0                MOVX    @DPTR,A
+  426: 				break;
+0011BC 8028              SJMP    ?C0085?KB_PROCESS
+  427: 			case HID_KEY_F9:
+0011BE         ?C0102?KB_PROCESS:
+  428: 				kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_A);
+0011BE 904E8D            MOV     DPTR,#state
+0011C1 E0                MOVX    A,@DPTR
+0011C2 FF                MOV     R7,A
+0011C3 7B04              MOV     R3,#04H
+0011C5 7D08              MOV     R5,#08H
+0011C7 5103              ACALL   _kb_combination_key_press
+  429: 				temp = HID_KEY_NULL;
+0011C9 E4                CLR     A
+0011CA 904E8E            MOV     DPTR,#temp
+0011CD F0                MOVX    @DPTR,A
+  430: 				break;
+0011CE 8016              SJMP    ?C0085?KB_PROCESS
+  431: 			case HID_KEY_F10:
+0011D0         ?C0103?KB_PROCESS:
+  432: 				temp = HID_MULTIKEY_PALY;
+0011D0 904E8E            MOV     DPTR,#temp
+0011D3 74F2              MOV     A,#0F2H
+0011D5 F0                MOVX    @DPTR,A
+  433: 				break;
+0011D6 800E              SJMP    ?C0085?KB_PROCESS
+  434: 			case HID_KEY_F11:
+0011D8         ?C0104?KB_PROCESS:
+  435: 				temp = HID_MULTIKEY_PRE_TRACK;
+0011D8 904E8E            MOV     DPTR,#temp
+0011DB 74F4              MOV     A,#0F4H
+0011DD F0                MOVX    @DPTR,A
+  436: 				break;
+0011DE 8006              SJMP    ?C0085?KB_PROCESS
+  437: 			case HID_KEY_F12:
+0011E0         ?C0105?KB_PROCESS:
+  438: 				temp = HID_MULTIKEY_NEXT_TRACK;
+0011E0 904E8E            MOV     DPTR,#temp
+0011E3 74F5              MOV     A,#0F5H
+0011E5 F0                MOVX    @DPTR,A
+  439: 				break;
+  440: 			default :
+  441: 				break;
+  442: 		}
+  443: 	}
+0011E6         ?C0085?KB_PROCESS:
+  444: 	if(temp == HID_COMB_KEY_WIN_LOCK)
+0011E6 904E8E            MOV     DPTR,#temp
+0011E9 E0                MOVX    A,@DPTR
+0011EA B4FC10            CJNE    A,#0FCH,?C0107?KB_PROCESS
+  445: 	{
+  446: 		kb_combination_key_press(state,KS_SEL_LGUI,HID_KEY_L);
+0011ED 904E8D            MOV     DPTR,#state
+0011F0 E0                MOVX    A,@DPTR
+0011F1 FF                MOV     R7,A
+0011F2 7B0F              MOV     R3,#0FH
+0011F4 7D08              MOV     R5,#08H
+0011F6 5103              ACALL   _kb_combination_key_press
+  447: 		temp = HID_KEY_NULL;
+0011F8 E4                CLR     A
+0011F9 904E8E            MOV     DPTR,#temp
+0011FC F0                MOVX    @DPTR,A
+  448: 	}
+0011FD         ?C0107?KB_PROCESS:
+  449: 	return temp;
+0011FD 904E8E            MOV     DPTR,#temp
+001200 E0                MOVX    A,@DPTR
+001201 FF                MOV     R7,A
+  450: }
+001202 22                RET     
+----- FUNCTION _key_fn_function (END) -------
+
+
+----- FUNCTION _kb_combination_key_press (BEGIN) -----
+ FILE: 'kb_process.c'
+  348: void kb_combination_key_press(byte press_state,byte special_key,byte standrad_key)
+  349: {
+;---- Variable 'press_state' assigned to Register 'R7' ----
+;---- Variable 'standrad_key' assigned to Register 'R3' ----
+;---- Variable 'special_key' assigned to Register 'R5' ----
+  350: 	g_variable.key_combination_ctrl = special_key;	
+  351: 	g_variable.key_combination_keyvalue = standrad_key;
+001203 904CF5            MOV     DPTR,#g_variable+036H
+001206 ED                MOV     A,R5
+001207 F0                MOVX    @DPTR,A
+  352: 
+001208 A3                INC     DPTR
+001209 EB                MOV     A,R3
+00120A F0                MOVX    @DPTR,A
+  353: 	if(press_state & 1)
+00120B EF                MOV     A,R7
+00120C 30E012            JNB     ACC.0,?C0080?KB_PROCESS
+  354: 	{
+  355: 		if(g_variable.key_combination_step == CAMBINATION_KEY_COMPLETE) 
+00120F 904CF4            MOV     DPTR,#g_variable+035H
+001212 E0                MOVX    A,@DPTR
+001213 B40304            CJNE    A,#03H,?C0081?KB_PROCESS
+  356: 			g_variable.key_combination_step = CAMBINATION_KEY_HOLD;
+001216 7402              MOV     A,#02H
+001218 F0                MOVX    @DPTR,A
+001219 22                RET     
+00121A         ?C0081?KB_PROCESS:
+  357: 		else	
+  358: 			g_variable.key_combination_step = CAMBINATION_KEY_PRESS;
+00121A 904CF4            MOV     DPTR,#g_variable+035H
+00121D 7401              MOV     A,#01H
+00121F F0                MOVX    @DPTR,A
+  359: 	}
+001220 22                RET     
+001221         ?C0080?KB_PROCESS:
+  360: 	else
+  361: 	{
+  362: 		g_variable.key_combination_step = CAMBINATION_KEY_WAIT_RELEASE;
+001221 904CF4            MOV     DPTR,#g_variable+035H
+001224 7404              MOV     A,#04H
+001226 F0                MOVX    @DPTR,A
+  363: 	}
+  364: 
+  365: }
+001227 22                RET     
+----- FUNCTION _kb_combination_key_press (END) -------
+
+
+----- FUNCTION _GPIO_Setoe (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+001228 EF                MOV     A,R7
+001229 F4                CPL     A
+00122A 600C              JZ      ?C0013?GPIO
+00122C         ?C0012?GPIO:
+00122C 7B01              MOV     R3,#01H
+00122E 7A80              MOV     R2,#080H
+001230 7970              MOV     R1,#070H
+001232 A204              MOV     C,bit_val
+001234 9200              MOV     ?_gpioSetBit?BIT,C
+001236 5167              ACALL   _gpioSetBit
+001238         ?C0013?GPIO:
+001238 22                RET     
+----- FUNCTION _GPIO_Setoe (END) -------
+
+
+----- FUNCTION YC_PWM_disable (BEGIN) -----
+ FILE: 'pwm.c'
+   47: void YC_PWM_disable()
+   48: {
+   49: 	REG_CLK_OFF(1)  |= 0x20;	//turn on PWM clock
+   50: 	REG_GPIO_SEL(2)  &= ~0x10;	//set gpio19 to PWM
+001239 908051            MOV     DPTR,#08051H
+00123C E0                MOVX    A,@DPTR
+00123D 4420              ORL     A,#020H
+00123F F0                MOVX    @DPTR,A
+   51: 
+001240 908082            MOV     DPTR,#08082H
+001243 E0                MOVX    A,@DPTR
+001244 54EF              ANL     A,#0EFH
+001246 F0                MOVX    @DPTR,A
+   52: 	REG_PWM_ENABLE &= ~0x40;
+001247 908085            MOV     DPTR,#08085H
+00124A E0                MOVX    A,@DPTR
+00124B 54BF              ANL     A,#0BFH
+00124D F0                MOVX    @DPTR,A
+   53: }
+00124E 22                RET     
+----- FUNCTION YC_PWM_disable (END) -------
+
+
+----- FUNCTION System_Hardware_init (BEGIN) -----
+ FILE: 'sys.c'
+   41: static void System_Hardware_init()
+   42: {
+   43: 	KS_Initialize();
+   44: 	YC_PWM_init();
+00124F 120FE1            LCALL   KS_Initialize
+   45: 	LED_all_shutdown();
+001252 51C8              ACALL   YC_PWM_init
+   46: }
+001254 0156              AJMP    LED_all_shutdown
+----- FUNCTION System_Hardware_init (END) -------
+
+
+----- FUNCTION _GPIO_SetPd (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+001256 EF                MOV     A,R7
+001257 F4                CPL     A
+001258 600C              JZ      ?C0011?GPIO
+00125A         ?C0010?GPIO:
+00125A 7B01              MOV     R3,#01H
+00125C 7A80              MOV     R2,#080H
+00125E 797C              MOV     R1,#07CH
+001260 A203              MOV     C,bit_val
+001262 9200              MOV     ?_gpioSetBit?BIT,C
+001264 5167              ACALL   _gpioSetBit
+001266         ?C0011?GPIO:
+001266 22                RET     
+----- FUNCTION _GPIO_SetPd (END) -------
+
+
+----- FUNCTION _gpioSetBit (BEGIN) -----
+001267 904E88            MOV     DPTR,#reg_base
+00126A EB                MOV     A,R3
+00126B F0                MOVX    @DPTR,A
+00126C A3                INC     DPTR
+00126D EA                MOV     A,R2
+00126E F0                MOVX    @DPTR,A
+00126F A3                INC     DPTR
+001270 E9                MOV     A,R1
+001271 F0                MOVX    @DPTR,A
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+;---- Variable 'queue' assigned to Register 'R6' ----
+001272 E4                CLR     A
+001273 FE                MOV     R6,A
+;---- Variable 'group' assigned to Register 'R5' ----
+001274 FD                MOV     R5,A
+001275 EF                MOV     A,R7
+001276 5407              ANL     A,#07H
+001278 FE                MOV     R6,A
+001279 EF                MOV     A,R7
+00127A 13                RRC     A
+00127B 13                RRC     A
+00127C 13                RRC     A
+00127D 5403              ANL     A,#03H
+00127F FD                MOV     R5,A
+001280 300022            JNB     bit_val,?C0001?GPIO
+001283 904E88            MOV     DPTR,#reg_base
+001286 E0                MOVX    A,@DPTR
+001287 FB                MOV     R3,A
+001288 A3                INC     DPTR
+001289 E0                MOVX    A,@DPTR
+00128A FA                MOV     R2,A
+00128B A3                INC     DPTR
+00128C E0                MOVX    A,@DPTR
+00128D 2D                ADD     A,R5
+00128E F9                MOV     R1,A
+00128F E4                CLR     A
+001290 3A                ADDC    A,R2
+001291 FA                MOV     R2,A
+001292 1203B6            LCALL   ?C?CLDPTR
+001295 FF                MOV     R7,A
+001296 7401              MOV     A,#01H
+001298 A806              MOV     R0,AR6
+00129A 08                INC     R0
+00129B 8002              SJMP    ?C0031?GPIO
+00129D         ?C0030?GPIO:
+00129D C3                CLR     C
+00129E 33                RLC     A
+00129F         ?C0031?GPIO:
+00129F D8FC              DJNZ    R0,?C0030?GPIO
+0012A1 4F                ORL     A,R7
+0012A2 0203FC            LJMP    ?C?CSTPTR
+0012A5         ?C0001?GPIO:
+0012A5 904E88            MOV     DPTR,#reg_base
+0012A8 E0                MOVX    A,@DPTR
+0012A9 FB                MOV     R3,A
+0012AA A3                INC     DPTR
+0012AB E0                MOVX    A,@DPTR
+0012AC FA                MOV     R2,A
+0012AD A3                INC     DPTR
+0012AE E0                MOVX    A,@DPTR
+0012AF 2D                ADD     A,R5
+0012B0 F9                MOV     R1,A
+0012B1 E4                CLR     A
+0012B2 3A                ADDC    A,R2
+0012B3 FA                MOV     R2,A
+0012B4 1203B6            LCALL   ?C?CLDPTR
+0012B7 FF                MOV     R7,A
+0012B8 7401              MOV     A,#01H
+0012BA A806              MOV     R0,AR6
+0012BC 08                INC     R0
+0012BD 8002              SJMP    ?C0033?GPIO
+0012BF         ?C0032?GPIO:
+0012BF C3                CLR     C
+0012C0 33                RLC     A
+0012C1         ?C0033?GPIO:
+0012C1 D8FC              DJNZ    R0,?C0032?GPIO
+0012C3 F4                CPL     A
+0012C4 5F                ANL     A,R7
+0012C5 0203FC            LJMP    ?C?CSTPTR
+----- FUNCTION _gpioSetBit (END) -------
+
+
+----- FUNCTION YC_PWM_init (BEGIN) -----
+ FILE: 'pwm.c'
+    9: void YC_PWM_init()
+   10: {
+   11: 	REG_PWM_CLK_SEL |= 0x00;	// select system clock
+   12: 	REG_CLK_OFF(1)  &= ~0x20;	//turn on PWM clock
+0012C8 908042            MOV     DPTR,#08042H
+0012CB E0                MOVX    A,@DPTR
+0012CC F0                MOVX    @DPTR,A
+   13: 	REG_GPIO_SEL(2)  |= 0x10;	//set gpio19 to PWM
+0012CD 908051            MOV     DPTR,#08051H
+0012D0 E0                MOVX    A,@DPTR
+0012D1 54DF              ANL     A,#0DFH
+0012D3 F0                MOVX    @DPTR,A
+   14: }
+0012D4 908082            MOV     DPTR,#08082H
+0012D7 E0                MOVX    A,@DPTR
+0012D8 4410              ORL     A,#010H
+0012DA F0                MOVX    @DPTR,A
+   15: 
+0012DB 22                RET     
+----- FUNCTION YC_PWM_init (END) -------
+
+
+----- FUNCTION YC_System_Main (BEGIN) -----
+ FILE: 'sys.c'
+  375: void YC_System_Main(void)
+  376: {
+  377: 	kb_cb_init();
+  378: 	while(1) {
+0012DC B177              ACALL   kb_cb_init
+0012DE         ?C0076?SYS:
+  379: 		IPC_DealSingleStep();
+  380: 		kb_need_keyscan();
+0012DE 12245D            LCALL   IPC_DealSingleStep
+  381: 		YC_update_eeprom_data();
+0012E1 120CE7            LCALL   kb_need_keyscan
+  382: 		LED_handle();
+0012E4 9187              ACALL   YC_update_eeprom_data
+  383: 	//	m_lpm_mode = 0;		//debug
+0012E6 1206CF            LCALL   LED_handle
+  384: 		
+  385: 		switch (current_task) {
+0012E9 900B7E            MOV     DPTR,#current_task
+0012EC E0                MOVX    A,@DPTR
+0012ED 14                DEC     A
+0012EE 600C              JZ      ?C0082?SYS
+0012F0 24FE              ADD     A,#0FEH
+0012F2 70EA              JNZ     ?C0076?SYS
+  386: 		case FIX_ENTER_HIBERNATE:
+0012F4         ?C0079?SYS:
+  387: 			KS_Unistall();
+0012F4 712C              ACALL   KS_Unistall
+  388: 			//GPIO_SetWakeupByCurrentState(BT_BUTTON_GPIO);
+  389: 			LED_all_shutdown();
+0012F6 1156              ACALL   LED_all_shutdown
+  390: 			IPC_WaitLpm();	/*<wait enter lpm,do nothing*/
+0012F8 9164              ACALL   IPC_WaitLpm
+0012FA         ?C0080?SYS:
+  391: 			while(1);
+0012FA 80FE              SJMP    ?C0080?SYS
+  392: 			break;
+  393: 			
+  394: 		case FIX_ENTER_LPM:
+0012FC         ?C0082?SYS:
+  395: 			if (g_variable.delay_enter_lpm_timer ||g_variable.lockLpm ||g_variable.powerOn_timer ||g_variable.one_key_pres
+>> s_wait_release_timer
+0012FC 904CEA            MOV     DPTR,#g_variable+02BH
+0012FF E0                MOVX    A,@DPTR
+001300 701D              JNZ     ?C0084?SYS
+001302 904CEC            MOV     DPTR,#g_variable+02DH
+001305 E0                MOVX    A,@DPTR
+001306 7017              JNZ     ?C0084?SYS
+001308 904CE5            MOV     DPTR,#g_variable+026H
+00130B E0                MOVX    A,@DPTR
+00130C 7011              JNZ     ?C0084?SYS
+00130E 904CF8            MOV     DPTR,#g_variable+039H
+001311 E0                MOVX    A,@DPTR
+001312 700B              JNZ     ?C0084?SYS
+001314 A3                INC     DPTR
+001315 E0                MOVX    A,@DPTR
+001316 FF                MOV     R7,A
+001317 6401              XRL     A,#01H
+001319 6004              JZ      ?C0084?SYS
+00131B EF                MOV     A,R7
+00131C B40204            CJNE    A,#02H,?C0083?SYS
+00131F         ?C0084?SYS:
+  396: 			||g_variable.backlight_level == 1 || g_variable.backlight_level == 2) 
+  397: 			{
+  398: 				IPC_AbandonLpm();
+00131F F1BD              ACALL   IPC_AbandonLpm
+  399: 				break;
+001321 80BB              SJMP    ?C0076?SYS
+  400: 			}
+001323         ?C0083?SYS:
+  401: 			else
+  402: 			{
+  403: 				KS_Unistall();
+001323 712C              ACALL   KS_Unistall
+  404: 				IPC_WaitLpm();	/*<wait enter lpm,do nothing*/
+001325 9164              ACALL   IPC_WaitLpm
+  405: 				break;
+001327 80B5              SJMP    ?C0076?SYS
+  406: 			}
+  407: 		}
+  408: 	}
+001329 80B3              SJMP    ?C0076?SYS
+00132B 22                RET     
+----- FUNCTION YC_System_Main (END) -------
+
+
+----- FUNCTION KS_Unistall (BEGIN) -----
+ FILE: 'keyscan.c'
+  215: void KS_Unistall()
+  216: {
+  217: 	byte i = 0;
+  218: 	byte temp = 0;
+;---- Variable 'i' assigned to Register 'R7' ----
+00132C E4                CLR     A
+00132D FF                MOV     R7,A
+  219: 	byte tgroup = 0;
+00132E 904E96            MOV     DPTR,#temp
+001331 F0                MOVX    @DPTR,A
+  220: 	byte tgpionum = 0;
+;---- Variable 'tgroup' assigned to Register 'R6' ----
+001332 FE                MOV     R6,A
+  221: 	for (i=0; col[i]!=0; i++) {
+;---- Variable 'tgpionum' assigned to Register 'R5' ----
+001333 FD                MOV     R5,A
+  222: 		tgroup = col[i]  >> 3;
+001334         ?C0037?KEYSCAN:
+001334 EF                MOV     A,R7
+001335 90060C            MOV     DPTR,#col
+001338 93                MOVC    A,@A+DPTR
+001339 6049              JZ      ?C0038?KEYSCAN
+  223: 		tgpionum = 1 << (col[i] & 7);
+00133B EF                MOV     A,R7
+00133C 93                MOVC    A,@A+DPTR
+00133D FD                MOV     R5,A
+00133E 13                RRC     A
+00133F 13                RRC     A
+001340 13                RRC     A
+001341 541F              ANL     A,#01FH
+001343 FE                MOV     R6,A
+  224: 		REG_GPIO_PUP (tgroup) &= ~tgpionum;
+001344 ED                MOV     A,R5
+001345 5407              ANL     A,#07H
+001347 FD                MOV     R5,A
+001348 7401              MOV     A,#01H
+00134A A805              MOV     R0,AR5
+00134C 08                INC     R0
+00134D 8002              SJMP    ?C0091?KEYSCAN
+00134F         ?C0090?KEYSCAN:
+00134F C3                CLR     C
+001350 33                RLC     A
+001351         ?C0091?KEYSCAN:
+001351 D8FC              DJNZ    R0,?C0090?KEYSCAN
+001353 FD                MOV     R5,A
+  225: 		REG_GPIO_OE(tgroup) |= tgpionum;
+001354 EE                MOV     A,R6
+001355 2478              ADD     A,#078H
+001357 FB                MOV     R3,A
+001358 E4                CLR     A
+001359 3480              ADDC    A,#080H
+00135B 8B82              MOV     DPL,R3
+00135D F583              MOV     DPH,A
+00135F E0                MOVX    A,@DPTR
+001360 FC                MOV     R4,A
+001361 ED                MOV     A,R5
+001362 F4                CPL     A
+001363 FB                MOV     R3,A
+001364 EC                MOV     A,R4
+001365 5B                ANL     A,R3
+001366 F0                MOVX    @DPTR,A
+  226: 		REG_GPIO_OUT(tgroup) &= ~tgpionum;
+001367 EE                MOV     A,R6
+001368 2470              ADD     A,#070H
+00136A F582              MOV     DPL,A
+00136C E4                CLR     A
+00136D 3480              ADDC    A,#080H
+00136F F583              MOV     DPH,A
+001371 E0                MOVX    A,@DPTR
+001372 4D                ORL     A,R5
+001373 F0                MOVX    @DPTR,A
+  227: 	}
+001374 EE                MOV     A,R6
+001375 2474              ADD     A,#074H
+001377 F582              MOV     DPL,A
+001379 E4                CLR     A
+00137A 3480              ADDC    A,#080H
+00137C F583              MOV     DPH,A
+00137E E0                MOVX    A,@DPTR
+00137F 5B                ANL     A,R3
+001380 F0                MOVX    @DPTR,A
+  228: 	
+001381 0F                INC     R7
+001382 80B0              SJMP    ?C0037?KEYSCAN
+001384         ?C0038?KEYSCAN:
+  229: 	GPIO_fillpd();
+001384 1225E3            LCALL   GPIO_fillpd
+  230: 	
+  231: 	temp = REG_GPIO_IN(0);
+001387 90811C            MOV     DPTR,#0811CH
+00138A E0                MOVX    A,@DPTR
+00138B 904E96            MOV     DPTR,#temp
+00138E F0                MOVX    @DPTR,A
+  232: 	//if (g_variable.battery_status != 2)
+  233: 	{
+  234: 		if(long_press_flag)
+00138F 904DD5            MOV     DPTR,#long_press_flag
+001392 E0                MOVX    A,@DPTR
+001393 6020              JZ      ?C0040?KEYSCAN
+  235: 		{
+  236: 			GPIO_SetWakeupByCurrentState(0);
+001395 E4                CLR     A
+001396 FF                MOV     R7,A
+001397 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  237: 			GPIO_SetWakeupByCurrentState(1);
+001399 7F01              MOV     R7,#01H
+00139B 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  238: 			GPIO_SetWakeupByCurrentState(2);
+00139D 7F02              MOV     R7,#02H
+00139F 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  239: 			GPIO_SetWakeupByCurrentState(3);
+0013A1 7F03              MOV     R7,#03H
+0013A3 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  240: 			GPIO_SetWakeupByCurrentState(4);
+0013A5 7F04              MOV     R7,#04H
+0013A7 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  241: 			GPIO_SetWakeupByCurrentState(5);
+0013A9 7F05              MOV     R7,#05H
+0013AB 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  242: 			GPIO_SetWakeupByCurrentState(6);
+0013AD 7F06              MOV     R7,#06H
+0013AF 71C5              ACALL   _GPIO_SetWakeupByCurrentState
+  243: 			GPIO_SetWakeupByCurrentState(7);
+0013B1 7F07              MOV     R7,#07H
+0013B3 8010              SJMP    _GPIO_SetWakeupByCurrentState
+  244: 		}
+0013B5         ?C0040?KEYSCAN:
+  245: 		else
+  246: 		{
+  247: 			YC_GPIOWakeupL[0] = temp;
+0013B5 904E96            MOV     DPTR,#temp
+0013B8 E0                MOVX    A,@DPTR
+0013B9 FF                MOV     R7,A
+0013BA 9000A3            MOV     DPTR,#YC_GPIOWakeupL
+0013BD F0                MOVX    @DPTR,A
+  248: 			YC_GPIOWakeupH[0] = ~temp;
+0013BE EF                MOV     A,R7
+0013BF F4                CPL     A
+0013C0 9000A7            MOV     DPTR,#YC_GPIOWakeupH
+0013C3 F0                MOVX    @DPTR,A
+  249: 		}
+  250: 
+  251: 	}
+  252: 	//else
+  253: 	//{
+  254: 	//	YC_GPIOWakeupL[0] = 0;
+  255: 	//	YC_GPIOWakeupH[0] = 0;
+  256: 	//}
+  257: }
+0013C4 22                RET     
+----- FUNCTION KS_Unistall (END) -------
+
+
+----- FUNCTION _GPIO_SetWakeupByCurrentState (BEGIN) -----
+0013C5 904E9A            MOV     DPTR,#gpio_num
+0013C8 EF                MOV     A,R7
+0013C9 F0                MOVX    @DPTR,A
+0013CA B18A              ACALL   _GPIO_GetInputStatus
+0013CC 9208              MOV     st,C
+0013CE 904E9A            MOV     DPTR,#gpio_num
+0013D1 E0                MOVX    A,@DPTR
+0013D2 FF                MOV     R7,A
+0013D3 A208              MOV     C,st
+0013D5 B3                CPL     C
+0013D6 9207              MOV     ?_GPIO_SetWakeup?BIT,C
+;----                  JMP     _GPIO_SetWakeup
+----- FUNCTION _GPIO_SetWakeupByCurrentState (END) -------
+
+
+----- FUNCTION _GPIO_SetWakeup (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+0013D8 EF                MOV     A,R7
+0013D9 F4                CPL     A
+0013DA 7002              JNZ     $ + 4H
+0013DC 8163              AJMP    ?C0019?GPIO
+0013DE         ?C0018?GPIO:
+0013DE EF                MOV     A,R7
+0013DF 5407              ANL     A,#07H
+0013E1 FE                MOV     R6,A
+;---- Variable 'queue' assigned to Register 'R6' ----
+0013E2 EF                MOV     A,R7
+0013E3 13                RRC     A
+0013E4 13                RRC     A
+0013E5 13                RRC     A
+0013E6 5403              ANL     A,#03H
+0013E8 FF                MOV     R7,A
+;---- Variable 'group' assigned to Register 'R7' ----
+0013E9 300743            JNB     st,?C0020?GPIO
+0013EC 24A3              ADD     A,#LOW YC_GPIOWakeupL
+0013EE F582              MOV     DPL,A
+0013F0 E4                CLR     A
+0013F1 3400              ADDC    A,#HIGH YC_GPIOWakeupL
+0013F3 F583              MOV     DPH,A
+0013F5 C083              PUSH    DPH
+0013F7 C082              PUSH    DPL
+0013F9 E0                MOVX    A,@DPTR
+0013FA FD                MOV     R5,A
+0013FB 7401              MOV     A,#01H
+0013FD A806              MOV     R0,AR6
+0013FF 08                INC     R0
+001400 8002              SJMP    ?C0037?GPIO
+001402         ?C0036?GPIO:
+001402 C3                CLR     C
+001403 33                RLC     A
+001404         ?C0037?GPIO:
+001404 D8FC              DJNZ    R0,?C0036?GPIO
+001406 F4                CPL     A
+001407 5D                ANL     A,R5
+001408 D082              POP     DPL
+00140A D083              POP     DPH
+00140C F0                MOVX    @DPTR,A
+00140D 74A7              MOV     A,#LOW YC_GPIOWakeupH
+00140F 2F                ADD     A,R7
+001410 F582              MOV     DPL,A
+001412 E4                CLR     A
+001413 3400              ADDC    A,#HIGH YC_GPIOWakeupH
+001415 F583              MOV     DPH,A
+001417 C083              PUSH    DPH
+001419 C082              PUSH    DPL
+00141B E0                MOVX    A,@DPTR
+00141C FF                MOV     R7,A
+00141D 7401              MOV     A,#01H
+00141F A806              MOV     R0,AR6
+001421 08                INC     R0
+001422 8002              SJMP    ?C0039?GPIO
+001424         ?C0038?GPIO:
+001424 C3                CLR     C
+001425 33                RLC     A
+001426         ?C0039?GPIO:
+001426 D8FC              DJNZ    R0,?C0038?GPIO
+001428 4F                ORL     A,R7
+001429 D082              POP     DPL
+00142B D083              POP     DPH
+00142D F0                MOVX    @DPTR,A
+00142E 22                RET     
+00142F         ?C0020?GPIO:
+00142F 74A3              MOV     A,#LOW YC_GPIOWakeupL
+001431 2F                ADD     A,R7
+001432 F582              MOV     DPL,A
+001434 E4                CLR     A
+001435 3400              ADDC    A,#HIGH YC_GPIOWakeupL
+001437 F583              MOV     DPH,A
+001439 C083              PUSH    DPH
+00143B C082              PUSH    DPL
+00143D E0                MOVX    A,@DPTR
+00143E FD                MOV     R5,A
+00143F 7401              MOV     A,#01H
+001441 A806              MOV     R0,AR6
+001443 08                INC     R0
+001444 8002              SJMP    ?C0041?GPIO
+001446         ?C0040?GPIO:
+001446 C3                CLR     C
+001447 33                RLC     A
+001448         ?C0041?GPIO:
+001448 D8FC              DJNZ    R0,?C0040?GPIO
+00144A FC                MOV     R4,A
+00144B 4D                ORL     A,R5
+00144C D082              POP     DPL
+00144E D083              POP     DPH
+001450 F0                MOVX    @DPTR,A
+001451 74A7              MOV     A,#LOW YC_GPIOWakeupH
+001453 2F                ADD     A,R7
+001454 F582              MOV     DPL,A
+001456 E4                CLR     A
+001457 3400              ADDC    A,#HIGH YC_GPIOWakeupH
+001459 F583              MOV     DPH,A
+00145B E0                MOVX    A,@DPTR
+00145C FF                MOV     R7,A
+00145D EC                MOV     A,R4
+00145E F4                CPL     A
+00145F FE                MOV     R6,A
+001460 EF                MOV     A,R7
+001461 5E                ANL     A,R6
+001462 F0                MOVX    @DPTR,A
+001463         ?C0019?GPIO:
+001463 22                RET     
+----- FUNCTION _GPIO_SetWakeup (END) -------
+
+
+----- FUNCTION IPC_WaitLpm (BEGIN) -----
+001464 E4                CLR     A
+001465 900B7F            MOV     DPTR,#lpm_flag
+001468 F0                MOVX    @DPTR,A
+001469 900B7E            MOV     DPTR,#current_task
+00146C F0                MOVX    @DPTR,A
+00146D 7F01              MOV     R7,#01H
+;----                  JMP     _Delay1ms
+----- FUNCTION IPC_WaitLpm (END) -------
+
+
+----- FUNCTION _Delay1ms (BEGIN) -----
+;---- Variable 'Time' assigned to Register 'R7' ----
+00146F         ?C0014?UTILITIES:
+00146F EF                MOV     A,R7
+001470 D3                SETB    C
+001471 9400              SUBB    A,#00H
+001473 4011              JC      ?C0020?UTILITIES
+;---- Variable 'j' assigned to Register 'R4/R5' ----
+001475 E4                CLR     A
+001476 FD                MOV     R5,A
+001477 FC                MOV     R4,A
+001478         ?C0017?UTILITIES:
+001478 0D                INC     R5
+001479 BD0001            CJNE    R5,#00H,?C0028?UTILITIES
+00147C 0C                INC     R4
+00147D         ?C0028?UTILITIES:
+00147D BC04F8            CJNE    R4,#04H,?C0017?UTILITIES
+001480 BDA6F5            CJNE    R5,#0A6H,?C0017?UTILITIES
+001483         ?C0016?UTILITIES:
+001483 1F                DEC     R7
+001484 80E9              SJMP    ?C0014?UTILITIES
+001486         ?C0020?UTILITIES:
+001486 22                RET     
+----- FUNCTION _Delay1ms (END) -------
+
+
+----- FUNCTION YC_update_eeprom_data (BEGIN) -----
+ FILE: 'bluetooth.c'
+   70: void YC_update_eeprom_data()
+   71: {
+   72: 	if (g_variable.update_eeprom_flag)				//bt3.0  bt4.2 record information save
+   73: 	{
+001487 904CBF            MOV     DPTR,#g_variable
+00148A E0                MOVX    A,@DPTR
+00148B 603B              JZ      ?C0016?BLUETOOTH
+   74: 		Delay1ms(200);
+   75: 		GPIO_Setout(EEPROM_WP_GPIO,0);
+00148D 7FC8              MOV     R7,#0C8H
+00148F 916F              ACALL   _Delay1ms
+   76: 		IIC_WriteBlock(EEPROM_RECON_INFO_BASE_6+2,4 , (byte *)m_24g_addr);
+001491 C201              CLR     ?_GPIO_Setout?BIT
+001493 7F1F              MOV     R7,#01FH
+001495 120796            LCALL   _GPIO_Setout
+   77: 		IIC_WriteBlock(EEPROM_RECON_INFO_SYTEM_MODE ,1 ,(byte *)&g_variable.system_mode);
+001498 7B01              MOV     R3,#01H
+00149A 7A4C              MOV     R2,#HIGH m_24g_addr
+00149C 7900              MOV     R1,#LOW m_24g_addr
+00149E 7D04              MOV     R5,#04H
+0014A0 7C00              MOV     R4,#00H
+0014A2 7FF2              MOV     R7,#0F2H
+0014A4 7E3F              MOV     R6,#03FH
+0014A6 91C9              ACALL   _IIC_WriteBlock
+   78: 		GPIO_Setout(EEPROM_WP_GPIO,1);
+0014A8 7B01              MOV     R3,#01H
+0014AA 7A4C              MOV     R2,#HIGH g_variable+02H
+0014AC 79C1              MOV     R1,#LOW g_variable+02H
+0014AE 7D01              MOV     R5,#01H
+0014B0 7C00              MOV     R4,#00H
+0014B2 7FF8              MOV     R7,#0F8H
+0014B4 7E3F              MOV     R6,#03FH
+0014B6 91C9              ACALL   _IIC_WriteBlock
+   79: 		Delay1ms(10);
+0014B8 D201              SETB    ?_GPIO_Setout?BIT
+0014BA 7F1F              MOV     R7,#01FH
+0014BC 120796            LCALL   _GPIO_Setout
+   80: 		g_variable.update_eeprom_flag = 0;
+0014BF 7F0A              MOV     R7,#0AH
+0014C1 916F              ACALL   _Delay1ms
+   81: 	}
+0014C3 E4                CLR     A
+0014C4 904CBF            MOV     DPTR,#g_variable
+0014C7 F0                MOVX    @DPTR,A
+   82: }
+   83: 
+0014C8         ?C0016?BLUETOOTH:
+0014C8 22                RET     
+----- FUNCTION YC_update_eeprom_data (END) -------
+
+
+----- FUNCTION _IIC_WriteBlock (BEGIN) -----
+0014C9 904E21            MOV     DPTR,#addr
+0014CC EE                MOV     A,R6
+0014CD F0                MOVX    @DPTR,A
+0014CE A3                INC     DPTR
+0014CF EF                MOV     A,R7
+0014D0 F0                MOVX    @DPTR,A
+0014D1 A3                INC     DPTR
+0014D2 EC                MOV     A,R4
+0014D3 F0                MOVX    @DPTR,A
+0014D4 A3                INC     DPTR
+0014D5 ED                MOV     A,R5
+0014D6 F0                MOVX    @DPTR,A
+0014D7 A3                INC     DPTR
+0014D8 EB                MOV     A,R3
+0014D9 F0                MOVX    @DPTR,A
+0014DA A3                INC     DPTR
+0014DB EA                MOV     A,R2
+0014DC F0                MOVX    @DPTR,A
+0014DD A3                INC     DPTR
+0014DE E9                MOV     A,R1
+0014DF F0                MOVX    @DPTR,A
+0014E0         ?C0007?IIC:
+0014E0 904E23            MOV     DPTR,#len
+0014E3 E0                MOVX    A,@DPTR
+0014E4 7002              JNZ     ?C0012?IIC
+0014E6 A3                INC     DPTR
+0014E7 E0                MOVX    A,@DPTR
+0014E8         ?C0012?IIC:
+0014E8 7002              JNZ     $ + 4H
+0014EA A176              AJMP    ?C0011?IIC
+0014EC 904E21            MOV     DPTR,#addr
+0014EF E0                MOVX    A,@DPTR
+0014F0 FE                MOV     R6,A
+0014F1 A3                INC     DPTR
+0014F2 E0                MOVX    A,@DPTR
+0014F3 FF                MOV     R7,A
+0014F4 440F              ORL     A,#0FH
+0014F6 2401              ADD     A,#01H
+0014F8 FD                MOV     R5,A
+0014F9 E4                CLR     A
+0014FA 3E                ADDC    A,R6
+0014FB FC                MOV     R4,A
+;---- Variable 'cris' assigned to Register 'R4/R5' ----
+0014FC C3                CLR     C
+0014FD ED                MOV     A,R5
+0014FE 9F                SUBB    A,R7
+0014FF FF                MOV     R7,A
+001500 EC                MOV     A,R4
+001501 9E                SUBB    A,R6
+001502 FE                MOV     R6,A
+001503 904E28            MOV     DPTR,#curr_len
+001506 F0                MOVX    @DPTR,A
+001507 A3                INC     DPTR
+001508 EF                MOV     A,R7
+001509 F0                MOVX    @DPTR,A
+00150A 904E23            MOV     DPTR,#len
+00150D E0                MOVX    A,@DPTR
+00150E FC                MOV     R4,A
+00150F A3                INC     DPTR
+001510 E0                MOVX    A,@DPTR
+001511 FD                MOV     R5,A
+001512 D3                SETB    C
+001513 9F                SUBB    A,R7
+001514 EC                MOV     A,R4
+001515 9E                SUBB    A,R6
+001516 400A              JC      ?C0009?IIC
+001518 904E28            MOV     DPTR,#curr_len
+00151B E0                MOVX    A,@DPTR
+00151C FE                MOV     R6,A
+00151D A3                INC     DPTR
+00151E E0                MOVX    A,@DPTR
+00151F FF                MOV     R7,A
+001520 8004              SJMP    ?C0010?IIC
+001522         ?C0009?IIC:
+001522 AE04              MOV     R6,AR4
+001524 AF05              MOV     R7,AR5
+001526         ?C0010?IIC:
+001526 904E28            MOV     DPTR,#curr_len
+001529 EE                MOV     A,R6
+00152A F0                MOVX    @DPTR,A
+00152B FC                MOV     R4,A
+00152C A3                INC     DPTR
+00152D EF                MOV     A,R7
+00152E F0                MOVX    @DPTR,A
+00152F FD                MOV     R5,A
+001530 C3                CLR     C
+001531 904E24            MOV     DPTR,#len+01H
+001534 E0                MOVX    A,@DPTR
+001535 9D                SUBB    A,R5
+001536 F0                MOVX    @DPTR,A
+001537 904E23            MOV     DPTR,#len
+00153A E0                MOVX    A,@DPTR
+00153B 9C                SUBB    A,R4
+00153C F0                MOVX    @DPTR,A
+00153D 904E21            MOV     DPTR,#addr
+001540 E0                MOVX    A,@DPTR
+001541 FE                MOV     R6,A
+001542 A3                INC     DPTR
+001543 E0                MOVX    A,@DPTR
+001544 FF                MOV     R7,A
+001545 904E25            MOV     DPTR,#pbuff
+001548 E0                MOVX    A,@DPTR
+001549 FB                MOV     R3,A
+00154A A3                INC     DPTR
+00154B E0                MOVX    A,@DPTR
+00154C FA                MOV     R2,A
+00154D A3                INC     DPTR
+00154E E0                MOVX    A,@DPTR
+00154F F9                MOV     R1,A
+001550 122329            LCALL   _IIC_write
+001553 7F0A              MOV     R7,#0AH
+001555 916F              ACALL   _Delay1ms
+001557 904E28            MOV     DPTR,#curr_len
+00155A E0                MOVX    A,@DPTR
+00155B FE                MOV     R6,A
+00155C A3                INC     DPTR
+00155D E0                MOVX    A,@DPTR
+00155E FF                MOV     R7,A
+00155F 904E26            MOV     DPTR,#pbuff+01H
+001562 EE                MOV     A,R6
+001563 8FF0              MOV     B,R7
+001565 12040E            LCALL   ?C?IILDX
+001568 904E22            MOV     DPTR,#addr+01H
+00156B E0                MOVX    A,@DPTR
+00156C 2F                ADD     A,R7
+00156D F0                MOVX    @DPTR,A
+00156E 904E21            MOV     DPTR,#addr
+001571 E0                MOVX    A,@DPTR
+001572 3E                ADDC    A,R6
+001573 F0                MOVX    @DPTR,A
+001574 81E0              AJMP    ?C0007?IIC
+001576         ?C0011?IIC:
+001576 22                RET     
+----- FUNCTION _IIC_WriteBlock (END) -------
+
+
+----- FUNCTION kb_cb_init (BEGIN) -----
+ FILE: 'sys.c'
+  368: static void kb_cb_init()
+  369: {
+  370: 	IPC_Initialize(&cb);
+  371: }
+001577 7B01              MOV     R3,#01H
+001579 7A4D              MOV     R2,#HIGH cb
+00157B 79EF              MOV     R1,#LOW cb
+;----                  JMP     _IPC_Initialize
+----- FUNCTION kb_cb_init (END) -------
+
+
+----- FUNCTION _IPC_Initialize (BEGIN) -----
+;---- Variable 'cb' assigned to Register 'R1/R2/R3' ----
+00157D 7801              MOV     R0,#LOW ipcCb
+00157F 7C4E              MOV     R4,#HIGH ipcCb
+001581 7D01              MOV     R5,#01H
+001583 7E00              MOV     R6,#00H
+001585 7F12              MOV     R7,#012H
+001587 020390            LJMP    ?C?COPY
+----- FUNCTION _IPC_Initialize (END) -------
+
+
+----- FUNCTION _GPIO_GetInputStatus (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+00158A 7B01              MOV     R3,#01H
+00158C 7A81              MOV     R2,#081H
+00158E 791C              MOV     R1,#01CH
+;----                  JMP     _gpioGetBit
+----- FUNCTION _GPIO_GetInputStatus (END) -------
+
+
+----- FUNCTION _gpioGetBit (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R5' ----
+001590 AD07              MOV     R5,AR7
+;---- Variable 'reg_base' assigned to Register 'R1/R2/R3' ----
+001592 E4                CLR     A
+001593 904E99            MOV     DPTR,#queue
+001596 F0                MOVX    @DPTR,A
+;---- Variable 'group' assigned to Register 'R6' ----
+001597 FE                MOV     R6,A
+001598 EF                MOV     A,R7
+001599 5407              ANL     A,#07H
+00159B F0                MOVX    @DPTR,A
+00159C EF                MOV     A,R7
+00159D 13                RRC     A
+00159E 13                RRC     A
+00159F 13                RRC     A
+0015A0 5403              ANL     A,#03H
+0015A2 FE                MOV     R6,A
+0015A3 F582              MOV     DPL,A
+0015A5 758300            MOV     DPH,#00H
+0015A8 1203CF            LCALL   ?C?CLDOPTR
+0015AB FD                MOV     R5,A
+0015AC 33                RLC     A
+0015AD 95E0              SUBB    A,ACC
+0015AF FC                MOV     R4,A
+0015B0 904E99            MOV     DPTR,#queue
+0015B3 E0                MOVX    A,@DPTR
+0015B4 FF                MOV     R7,A
+0015B5 7401              MOV     A,#01H
+0015B7 7E00              MOV     R6,#00H
+0015B9 A807              MOV     R0,AR7
+0015BB 08                INC     R0
+0015BC 8005              SJMP    ?C0035?GPIO
+0015BE         ?C0034?GPIO:
+0015BE C3                CLR     C
+0015BF 33                RLC     A
+0015C0 CE                XCH     A,R6
+0015C1 33                RLC     A
+0015C2 CE                XCH     A,R6
+0015C3         ?C0035?GPIO:
+0015C3 D8F9              DJNZ    R0,?C0034?GPIO
+0015C5 FF                MOV     R7,A
+0015C6 EE                MOV     A,R6
+0015C7 5C                ANL     A,R4
+0015C8 FE                MOV     R6,A
+0015C9 EF                MOV     A,R7
+0015CA 5D                ANL     A,R5
+0015CB 4E                ORL     A,R6
+0015CC 24FF              ADD     A,#0FFH
+0015CE 22                RET     
+----- FUNCTION _gpioGetBit (END) -------
+
+
+----- FUNCTION _GPIO_FlipOutBit (BEGIN) -----
+0015CF 904E9B            MOV     DPTR,#gpio_num
+0015D2 EF                MOV     A,R7
+0015D3 F0                MOVX    @DPTR,A
+0015D4 7B01              MOV     R3,#01H
+0015D6 7A80              MOV     R2,#080H
+0015D8 7974              MOV     R1,#074H
+0015DA B190              ACALL   _gpioGetBit
+0015DC 9209              MOV     st,C
+0015DE 904E9B            MOV     DPTR,#gpio_num
+0015E1 E0                MOVX    A,@DPTR
+0015E2 FF                MOV     R7,A
+0015E3 A209              MOV     C,st
+0015E5 B3                CPL     C
+0015E6 9201              MOV     ?_GPIO_Setout?BIT,C
+0015E8 020796            LJMP    _GPIO_Setout
+----- FUNCTION _GPIO_FlipOutBit (END) -------
+
+
+----- FUNCTION LED_timer500ms (BEGIN) -----
+ FILE: 'sys.c'
+  164: void LED_timer500ms()
+  165: {
+  166: 	if (power_on_flag != 2)
+  167: 		return;
+0015EB 904DE2            MOV     DPTR,#power_on_flag
+0015EE E0                MOVX    A,@DPTR
+0015EF B40212            CJNE    A,#02H,?C0029?SYS
+0015F2         ?C0028?SYS:
+  168:  	if (g_variable.pairing_g24_timeout != 0)
+0015F2 904CEE            MOV     DPTR,#g_variable+02FH
+0015F5 E0                MOVX    A,@DPTR
+0015F6 600C              JZ      ?C0029?SYS
+  169: 	{
+  170: 		GPIO_FlipOutBit(NUM_LOCK_LED_GPIO);
+0015F8 7F1C              MOV     R7,#01CH
+0015FA B1CF              ACALL   _GPIO_FlipOutBit
+  171: 		GPIO_FlipOutBit(CAPS_LED_GPIO);
+0015FC 7F1D              MOV     R7,#01DH
+0015FE B1CF              ACALL   _GPIO_FlipOutBit
+  172: 		GPIO_FlipOutBit(SCROLL_LED_GPIO);
+001600 7F1E              MOV     R7,#01EH
+001602 B1CF              ACALL   _GPIO_FlipOutBit
+  173: 	}
+  174: }
+001604         ?C0029?SYS:
+001604 22                RET     
+----- FUNCTION LED_timer500ms (END) -------
+
+
+----- FUNCTION kb_button_press_timer500ms (BEGIN) -----
+ FILE: 'sys.c'
+  220: void kb_button_press_timer500ms()
+  221: {
+  222: 	
+  223: //key status 
+  224: 	if (g_variable.button_flag & KEY_FLAG_SAME_KEY_PRESS)
+001605 904CCE            MOV     DPTR,#g_variable+0FH
+001608 E0                MOVX    A,@DPTR
+001609 30E13E            JNB     ACC.1,?C0042?SYS
+  225: 	{
+  226: 		if (g_variable.button_timer[1] < 250)
+00160C 904CD0            MOV     DPTR,#g_variable+011H
+00160F E0                MOVX    A,@DPTR
+001610 C3                CLR     C
+001611 94FA              SUBB    A,#0FAH
+001613 5003              JNC     ?C0043?SYS
+  227: 			g_variable.button_timer[1]++;
+001615 E0                MOVX    A,@DPTR
+001616 04                INC     A
+001617 F0                MOVX    @DPTR,A
+001618         ?C0043?SYS:
+  228: 		if (g_variable.button_timer[1] == 180)			// 500ms*180*3 = 4min30s
+001618 904CD0            MOV     DPTR,#g_variable+011H
+00161B E0                MOVX    A,@DPTR
+00161C 64B4              XRL     A,#0B4H
+00161E 702F              JNZ     ?C0048?SYS
+  229: 		{
+  230: 			press_long_time_flag++;
+001620 904DDC            MOV     DPTR,#press_long_time_flag
+001623 E0                MOVX    A,@DPTR
+001624 04                INC     A
+001625 F0                MOVX    @DPTR,A
+  231: 			if(press_long_time_flag <= 2)
+001626 E0                MOVX    A,@DPTR
+001627 D3                SETB    C
+001628 9402              SUBB    A,#02H
+00162A 5007              JNC     ?C0045?SYS
+  232: 			{
+  233: 				g_variable.button_timer[1] = 0;
+00162C E4                CLR     A
+00162D 904CD0            MOV     DPTR,#g_variable+011H
+001630 F0                MOVX    @DPTR,A
+  234: 			}
+001631 801C              SJMP    ?C0048?SYS
+001633         ?C0045?SYS:
+  235: 			else if(press_long_time_flag == 3)
+001633 904DDC            MOV     DPTR,#press_long_time_flag
+001636 E0                MOVX    A,@DPTR
+001637 B40315            CJNE    A,#03H,?C0048?SYS
+  236: 			{
+  237: 				long_press_flag = 1;
+00163A 904DD5            MOV     DPTR,#long_press_flag
+00163D 7401              MOV     A,#01H
+00163F F0                MOVX    @DPTR,A
+  238: 				g_variable.button_timer[1] = 0;
+001640 E4                CLR     A
+001641 904CD0            MOV     DPTR,#g_variable+011H
+001644 F0                MOVX    @DPTR,A
+  239: 				System_long_sleep();
+001645 1207A8            LCALL   System_long_sleep
+  240: 			}
+  241: 		}
+  242: 	}
+001648 8005              SJMP    ?C0048?SYS
+00164A         ?C0042?SYS:
+  243: 	else
+  244: 		press_long_time_flag = 0;
+00164A E4                CLR     A
+00164B 904DDC            MOV     DPTR,#press_long_time_flag
+00164E F0                MOVX    @DPTR,A
+00164F         ?C0048?SYS:
+  245: 		
+  246: 	if (g_variable.button_flag & KEY_FLAG_FN_24G_DEVICE_BUTTON)		// G24 pairing
+00164F 904CCE            MOV     DPTR,#g_variable+0FH
+001652 E0                MOVX    A,@DPTR
+001653 30E42D            JNB     ACC.4,?C0049?SYS
+  247: 	{
+  248: 		g_variable.delay_enter_lpm_timer = 10;
+001656 904CEA            MOV     DPTR,#g_variable+02BH
+001659 740A              MOV     A,#0AH
+00165B F0                MOVX    @DPTR,A
+  249: 		if (g_variable.button_timer[2] < 250)
+00165C 904CD1            MOV     DPTR,#g_variable+012H
+00165F E0                MOVX    A,@DPTR
+001660 C3                CLR     C
+001661 94FA              SUBB    A,#0FAH
+001663 5003              JNC     ?C0050?SYS
+  250: 			g_variable.button_timer[2]++;
+001665 E0                MOVX    A,@DPTR
+001666 04                INC     A
+001667 F0                MOVX    @DPTR,A
+001668         ?C0050?SYS:
+  251: 		if (g_variable.button_timer[2] == 6)
+001668 904CD1            MOV     DPTR,#g_variable+012H
+00166B E0                MOVX    A,@DPTR
+00166C B40619            CJNE    A,#06H,?C0055?SYS
+  252: 		{
+  253: 			if( !g_variable.current_device_num || (g_variable.current_device_num == 0xfe))
+00166F 904CC3            MOV     DPTR,#g_variable+04H
+001672 E0                MOVX    A,@DPTR
+001673 FF                MOV     R7,A
+001674 6003              JZ      ?C0053?SYS
+001676 B4FE0F            CJNE    A,#0FEH,?C0055?SYS
+001679         ?C0053?SYS:
+  254: 			{
+  255: 				YC_disconnect_all_link();
+001679 F14D              ACALL   YC_disconnect_all_link
+  256: 				Delay1ms(10);
+00167B 7F0A              MOV     R7,#0AH
+00167D 916F              ACALL   _Delay1ms
+  257: 				YC_key_action_handle(KEY_PAIRING_24G);
+00167F 7F0A              MOV     R7,#0AH
+001681 8006              SJMP    _YC_key_action_handle
+  258: 			}
+  259: 		}
+  260: 	}
+001683         ?C0049?SYS:
+  261: 	else
+  262: 		g_variable.button_timer[2] = 0;
+001683 E4                CLR     A
+001684 904CD1            MOV     DPTR,#g_variable+012H
+001687 F0                MOVX    @DPTR,A
+  263: 	
+  264: }
+001688         ?C0055?SYS:
+001688 22                RET     
+----- FUNCTION kb_button_press_timer500ms (END) -------
+
+
+----- FUNCTION _YC_key_action_handle (BEGIN) -----
+ FILE: 'kb_process.c'
+    3: void YC_key_action_handle(byte key_num)
+    4: {
+001689 904E93            MOV     DPTR,#key_num
+00168C EF                MOV     A,R7
+00168D F0                MOVX    @DPTR,A
+    5: 	switch (key_num)
+    6: 	{
+00168E 24F7              ADD     A,#0F7H
+001690 6009              JZ      ?C0003?KB_PROCESS
+001692 14                DEC     A
+001693 6063              JZ      ?C0007?KB_PROCESS
+001695 2402              ADD     A,#02H
+001697 6002              JZ      $ + 4H
+001699 E147              AJMP    ?C0011?KB_PROCESS
+    7: 	case KEY_START_24G:
+    8: 	case KEY_OPEN_24G:
+    9: 		g_variable.recon_count = 0;
+00169B         ?C0003?KB_PROCESS:
+   10: 		if (YC_disconnect_all_link())
+00169B E4                CLR     A
+00169C 904CF0            MOV     DPTR,#g_variable+031H
+00169F F0                MOVX    @DPTR,A
+   11: 		{
+0016A0 F14D              ACALL   YC_disconnect_all_link
+0016A2 EF                MOV     A,R7
+0016A3 6009              JZ      ?C0004?KB_PROCESS
+   12: 			g_variable.key_action = key_num;
+   13: 		}
+0016A5 904E93            MOV     DPTR,#key_num
+0016A8 E0                MOVX    A,@DPTR
+0016A9 904CED            MOV     DPTR,#g_variable+02EH
+0016AC F0                MOVX    @DPTR,A
+   14: 		else
+0016AD 22                RET     
+0016AE         ?C0004?KB_PROCESS:
+   15: 		{
+   16: 			IIC_Read(EEPROM_RECON_INFO_BASE_6+2,4 , (byte *)m_24g_addr);
+0016AE 7B01              MOV     R3,#01H
+0016B0 7A4C              MOV     R2,#HIGH m_24g_addr
+0016B2 7900              MOV     R1,#LOW m_24g_addr
+0016B4 7D04              MOV     R5,#04H
+0016B6 7C00              MOV     R4,#00H
+0016B8 7FF2              MOV     R7,#0F2H
+0016BA 7E3F              MOV     R6,#03FH
+0016BC 120E10            LCALL   _IIC_Read
+   17: 			Delay1ms(10);
+0016BF 7F0A              MOV     R7,#0AH
+0016C1 916F              ACALL   _Delay1ms
+   18: 			if (m_24g_addr[0] == 0xff && m_24g_addr[1] == 0xff && m_24g_addr[2] == 0xff && m_24g_addr[3] == 0xff)
+0016C3 904C00            MOV     DPTR,#m_24g_addr
+0016C6 E0                MOVX    A,@DPTR
+0016C7 B4FF1B            CJNE    A,#0FFH,?C0006?KB_PROCESS
+0016CA A3                INC     DPTR
+0016CB E0                MOVX    A,@DPTR
+0016CC B4FF16            CJNE    A,#0FFH,?C0006?KB_PROCESS
+0016CF A3                INC     DPTR
+0016D0 E0                MOVX    A,@DPTR
+0016D1 B4FF11            CJNE    A,#0FFH,?C0006?KB_PROCESS
+0016D4 A3                INC     DPTR
+0016D5 E0                MOVX    A,@DPTR
+0016D6 B4FF0C            CJNE    A,#0FFH,?C0006?KB_PROCESS
+   19: 			{
+   20: 				m_24g_addr[0] = 0x0f;
+0016D9 904C00            MOV     DPTR,#m_24g_addr
+0016DC 740F              MOV     A,#0FH
+0016DE F0                MOVX    @DPTR,A
+   21: 				m_24g_addr[1] = 0x0f;
+0016DF A3                INC     DPTR
+0016E0 F0                MOVX    @DPTR,A
+   22: 				m_24g_addr[2] = 0x0f;
+0016E1 A3                INC     DPTR
+0016E2 F0                MOVX    @DPTR,A
+   23: 				m_24g_addr[3] = 0x0f;
+0016E3 A3                INC     DPTR
+0016E4 F0                MOVX    @DPTR,A
+   24: 			}
+0016E5         ?C0006?KB_PROCESS:
+   25: 			IPC_TxControlCmd(IPC_CMD_START_24G);
+0016E5 7F21              MOV     R7,#021H
+0016E7 1207AF            LCALL   _IPC_TxControlCmd
+   26: 			
+   27: 			g_variable.g24_currentState = CHANGE_TO_24G_CONNECTING;
+0016EA 904CC5            MOV     DPTR,#g_variable+06H
+0016ED 7402              MOV     A,#02H
+0016EF F0                MOVX    @DPTR,A
+   28: 			g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+0016F0 E4                CLR     A
+0016F1 A3                INC     DPTR
+0016F2 F0                MOVX    @DPTR,A
+   29: 			g_variable.key_action = KEY_NONE;
+0016F3 904CED            MOV     DPTR,#g_variable+02EH
+0016F6 F0                MOVX    @DPTR,A
+   30: 		}
+   31: 		break;
+0016F7 22                RET     
+   32: 	case KEY_PAIRING_24G:
+0016F8         ?C0007?KB_PROCESS:
+   33: 		g_variable.recon_count = 0;
+0016F8 E4                CLR     A
+0016F9 904CF0            MOV     DPTR,#g_variable+031H
+0016FC F0                MOVX    @DPTR,A
+   34: 		if (YC_disconnect_all_link())
+0016FD F14D              ACALL   YC_disconnect_all_link
+0016FF EF                MOV     A,R7
+001700 6009              JZ      ?C0008?KB_PROCESS
+   35: 		{
+   36: 			g_variable.key_action = key_num;
+001702 904E93            MOV     DPTR,#key_num
+001705 E0                MOVX    A,@DPTR
+001706 904CED            MOV     DPTR,#g_variable+02EH
+001709 F0                MOVX    @DPTR,A
+   37: 		}
+00170A 22                RET     
+00170B         ?C0008?KB_PROCESS:
+   38: 		else
+   39: 		{
+   40: 			if (g_variable.g24_currentState != CHANGE_TO_24G_PAIRING)
+00170B 904CC5            MOV     DPTR,#g_variable+06H
+00170E E0                MOVX    A,@DPTR
+00170F 6401              XRL     A,#01H
+001711 602E              JZ      ?C0010?KB_PROCESS
+   41: 			{
+   42: 				IPC_TxControlCmd(IPC_CMD_PAIR_24G);
+001713 7F23              MOV     R7,#023H
+001715 1207AF            LCALL   _IPC_TxControlCmd
+   43: 				g_variable.g24_currentState = CHANGE_TO_24G_PAIRING;
+001718 904CC5            MOV     DPTR,#g_variable+06H
+00171B 7401              MOV     A,#01H
+00171D F0                MOVX    @DPTR,A
+   44: 				g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+00171E E4                CLR     A
+00171F A3                INC     DPTR
+001720 F0                MOVX    @DPTR,A
+   45: 				g_variable.pairing_g24_timeout = BT_PAIRING_TIME_OUT_30S;
+001721 904CEE            MOV     DPTR,#g_variable+02FH
+001724 743C              MOV     A,#03CH
+001726 F0                MOVX    @DPTR,A
+   46: 				g_variable.pairing_timeout = 0;
+001727 E4                CLR     A
+001728 904CE9            MOV     DPTR,#g_variable+02AH
+00172B F0                MOVX    @DPTR,A
+   47: 				GPIO_Setout(NUM_LOCK_LED_GPIO, LED_OFF);	
+00172C D201              SETB    ?_GPIO_Setout?BIT
+00172E 7F1C              MOV     R7,#01CH
+001730 120796            LCALL   _GPIO_Setout
+   48: 				GPIO_Setout(CAPS_LED_GPIO, LED_OFF);	
+001733 D201              SETB    ?_GPIO_Setout?BIT
+001735 7F1D              MOV     R7,#01DH
+001737 120796            LCALL   _GPIO_Setout
+   49: 				GPIO_Setout(SCROLL_LED_GPIO, LED_OFF);	
+00173A D201              SETB    ?_GPIO_Setout?BIT
+00173C 7F1E              MOV     R7,#01EH
+00173E 120796            LCALL   _GPIO_Setout
+   50: 			}
+001741         ?C0010?KB_PROCESS:
+   51: 			g_variable.key_action = KEY_NONE;
+001741 E4                CLR     A
+001742 904CED            MOV     DPTR,#g_variable+02EH
+001745 F0                MOVX    @DPTR,A
+   52: 		}
+   53: 		break;
+001746 22                RET     
+   54: 	default:
+001747         ?C0011?KB_PROCESS:
+   55: 		g_variable.key_action = KEY_NONE;
+001747 E4                CLR     A
+001748 904CED            MOV     DPTR,#g_variable+02EH
+00174B F0                MOVX    @DPTR,A
+   56: 		break;
+   57: 	}
+   58: }
+00174C 22                RET     
+----- FUNCTION _YC_key_action_handle (END) -------
+
+
+----- FUNCTION YC_disconnect_all_link (BEGIN) -----
+ FILE: 'bluetooth.c'
+   51: byte YC_disconnect_all_link()
+   52: {
+   53: 	if (g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED 
+   54: 		||g_variable.g24_currentState == CHANGE_TO_24G_CONNECTING)
+00174D 904CC5            MOV     DPTR,#g_variable+06H
+001750 E0                MOVX    A,@DPTR
+001751 FF                MOV     R7,A
+001752 6403              XRL     A,#03H
+001754 6004              JZ      ?C0012?BLUETOOTH
+001756 EF                MOV     A,R7
+001757 B40208            CJNE    A,#02H,?C0011?BLUETOOTH
+00175A         ?C0012?BLUETOOTH:
+   55: 	{
+   56: 		IPC_TxControlCmd(IPC_CMD_STOP_24G);
+00175A 7F22              MOV     R7,#022H
+00175C 1207AF            LCALL   _IPC_TxControlCmd
+   57: 		return 1;
+00175F 7F01              MOV     R7,#01H
+001761 22                RET     
+   58: 	}
+001762         ?C0011?BLUETOOTH:
+   59: 	return 0;
+001762 7F00              MOV     R7,#00H
+   60: }
+001764 22                RET     
+----- FUNCTION YC_disconnect_all_link (END) -------
+
+
+----- FUNCTION kb_cb_Timer500ms (BEGIN) -----
+ FILE: 'sys.c'
+  268: static void kb_cb_Timer500ms()
+  269: {
+  270: 	LED_timer500ms();	
+  271: 
+001765 B1EB              ACALL   LED_timer500ms
+  272: 	g_variable.sleepTimer++;
+001767 904CE4            MOV     DPTR,#g_variable+025H
+00176A E0                MOVX    A,@DPTR
+00176B 04                INC     A
+00176C F0                MOVX    @DPTR,A
+00176D 7006              JNZ     ?C0091?SYS
+00176F 904CE3            MOV     DPTR,#g_variable+024H
+001772 E0                MOVX    A,@DPTR
+001773 04                INC     A
+001774 F0                MOVX    @DPTR,A
+001775         ?C0091?SYS:
+  273: 
+  274: 	YC_adc_check_timer500ms();
+001775 F19F              ACALL   YC_adc_check_timer500ms
+  275: 	YC_connect_timeout_500ms();
+001777 121FE6            LCALL   YC_connect_timeout_500ms
+  276: 	kb_button_press_timer500ms();
+00177A D105              ACALL   kb_button_press_timer500ms
+;----                  JMP     YC_pairing_timerout_500ms
+  277: 	YC_pairing_timerout_500ms();
+  278: 	
+  279: 	return;
+----- FUNCTION kb_cb_Timer500ms (END) -------
+
+
+----- FUNCTION YC_pairing_timerout_500ms (BEGIN) -----
+ FILE: 'sys.c'
+  204: void YC_pairing_timerout_500ms()
+  205: {
+  206: //pairing timer
+  207: 	if (g_variable.pairing_g24_timeout != 0)
+00177C 904CEE            MOV     DPTR,#g_variable+02FH
+00177F E0                MOVX    A,@DPTR
+001780 601C              JZ      ?C0041?SYS
+  208: 	{
+  209: 		g_variable.sleepTimer = 0;
+001782 E4                CLR     A
+001783 904CE3            MOV     DPTR,#g_variable+024H
+001786 F0                MOVX    @DPTR,A
+001787 A3                INC     DPTR
+001788 F0                MOVX    @DPTR,A
+  210: 		g_variable.pairing_g24_timeout--;
+001789 904CEE            MOV     DPTR,#g_variable+02FH
+00178C E0                MOVX    A,@DPTR
+00178D 14                DEC     A
+00178E F0                MOVX    @DPTR,A
+  211: 		if (g_variable.pairing_g24_timeout == 0)
+00178F E0                MOVX    A,@DPTR
+001790 700C              JNZ     ?C0041?SYS
+  212: 		{
+  213: 			IPC_TxControlCmd(IPC_CMD_STOP_24G);
+001792 7F22              MOV     R7,#022H
+001794 1207AF            LCALL   _IPC_TxControlCmd
+  214: 			Delay1ms(10);
+001797 7F0A              MOV     R7,#0AH
+001799 916F              ACALL   _Delay1ms
+  215: 			System_long_sleep();
+00179B 1207A8            LCALL   System_long_sleep
+  216: 		}
+  217: 	}
+  218: }
+00179E         ?C0041?SYS:
+00179E 22                RET     
+----- FUNCTION YC_pairing_timerout_500ms (END) -------
+
+
+----- FUNCTION YC_adc_check_timer500ms (BEGIN) -----
+ FILE: 'adc.c'
+   92: void YC_adc_check_timer500ms()
+   93: {
+   94: #ifdef  ADC_ENABLE
+   95: 	// adc check timer	
+   96: 	if (g_variable.battery_check_interval)
+00179F 904CD3            MOV     DPTR,#g_variable+014H
+0017A2 E0                MOVX    A,@DPTR
+0017A3 600B              JZ      ?C0018?ADC
+   97: 	{
+   98: 		g_variable.battery_check_interval--;
+0017A5 14                DEC     A
+0017A6 F0                MOVX    @DPTR,A
+   99: 		if (g_variable.battery_check_interval == 0)
+0017A7 E0                MOVX    A,@DPTR
+0017A8 7006              JNZ     ?C0018?ADC
+  100: 		{
+  101: 			g_variable.battery_check_interval = BATTERY_CHECK_INTERVAL;
+0017AA 7405              MOV     A,#05H
+0017AC F0                MOVX    @DPTR,A
+  102: 			YC_adc_check();
+0017AD 1221CD            LCALL   YC_adc_check
+  103: 		}
+  104: 	}
+  105: #endif	
+  106: }
+0017B0         ?C0018?ADC:
+0017B0 22                RET     
+----- FUNCTION YC_adc_check_timer500ms (END) -------
+
+
+----- FUNCTION main (BEGIN) -----
+ FILE: 'ram.c'
+    5: void main()
+    6: {
+    7: 	YC_System_Main();
+    8: }
+0017B1 41DC              AJMP    YC_System_Main
+----- FUNCTION main (END) -------
+
+
+----- FUNCTION YC_start_reconnect (BEGIN) -----
+ FILE: 'bluetooth.c'
+   63: void YC_start_reconnect()
+   64: {
+   65: 	power_on_flag = 2;
+   66: 	YC_key_action_handle(KEY_START_24G);
+0017B3 904DE2            MOV     DPTR,#power_on_flag
+0017B6 7402              MOV     A,#02H
+0017B8 F0                MOVX    @DPTR,A
+   67: }
+0017B9 7F08              MOV     R7,#08H
+0017BB C189              AJMP    _YC_key_action_handle
+----- FUNCTION YC_start_reconnect (END) -------
+
+
+----- FUNCTION IPC_AbandonLpm (BEGIN) -----
+0017BD 900B7F            MOV     DPTR,#lpm_flag
+0017C0 7401              MOV     A,#01H
+0017C2 F0                MOVX    @DPTR,A
+0017C3 E4                CLR     A
+0017C4 900B7E            MOV     DPTR,#current_task
+0017C7 F0                MOVX    @DPTR,A
+0017C8 22                RET     
+----- FUNCTION IPC_AbandonLpm (END) -------
+
+
+----- FUNCTION ksRawInitialize (BEGIN) -----
+ FILE: 'keyscan.c'
+  189: static void ksRawInitialize()
+  190: {
+  191: 	byte i = 0;
+  192: 	
+0017C9 E4                CLR     A
+0017CA 904E94            MOV     DPTR,#i
+0017CD F0                MOVX    @DPTR,A
+  193: 	for (i=0; i<8; i++) {
+0017CE F0                MOVX    @DPTR,A
+0017CF         ?C0028?KEYSCAN:
+0017CF 904E94            MOV     DPTR,#i
+0017D2 E0                MOVX    A,@DPTR
+0017D3 FF                MOV     R7,A
+0017D4 C3                CLR     C
+0017D5 9408              SUBB    A,#08H
+0017D7 500C              JNC     ?C0031?KEYSCAN
+  194: 		GPIO_SetInput(i, 0);
+0017D9 C205              CLR     ?_GPIO_SetInput?BIT
+0017DB 110B              ACALL   _GPIO_SetInput
+  195: 	}
+0017DD 904E94            MOV     DPTR,#i
+0017E0 E0                MOVX    A,@DPTR
+0017E1 04                INC     A
+0017E2 F0                MOVX    @DPTR,A
+0017E3 80EA              SJMP    ?C0028?KEYSCAN
+  196: }
+0017E5         ?C0031?KEYSCAN:
+0017E5 22                RET     
+----- FUNCTION ksRawInitialize (END) -------
+
+
+----- FUNCTION _kb_set_multikey (BEGIN) -----
+ FILE: 'kb_process.c'
+   94: void kb_set_multikey(word multikey_value)
+   95: {
+;---- Variable 'multikey_value' assigned to Register 'R4/R5' ----
+0017E6 AD07              MOV     R5,AR7
+0017E8 AC06              MOV     R4,AR6
+   96: 	if(mult_key_status != KEY_WAIT_RELEASE)
+   97: 	{
+0017EA 904DE5            MOV     DPTR,#mult_key_status
+0017ED E0                MOVX    A,@DPTR
+0017EE 6402              XRL     A,#02H
+0017F0 600E              JZ      ?C0025?KB_PROCESS
+   98: 		mult_key_status = KEY_MULIT_PRESS;
+   99: 		multikey[0] = HID_REPORTID_2;
+0017F2 7401              MOV     A,#01H
+0017F4 F0                MOVX    @DPTR,A
+  100: 		multikey[1] = (multikey_value&0xff);
+0017F5 904DE6            MOV     DPTR,#multikey
+0017F8 04                INC     A
+0017F9 F0                MOVX    @DPTR,A
+  101: 		multikey[2] = ((multikey_value>>8)&0xff);
+0017FA EF                MOV     A,R7
+0017FB A3                INC     DPTR
+0017FC F0                MOVX    @DPTR,A
+  102: 	}
+0017FD EE                MOV     A,R6
+0017FE A3                INC     DPTR
+0017FF F0                MOVX    @DPTR,A
+  103: }
+  104: 
+001800         ?C0025?KB_PROCESS:
+001800 22                RET     
+----- FUNCTION _kb_set_multikey (END) -------
+
+
+----- FUNCTION _kb_set_systemkey (BEGIN) -----
+ FILE: 'kb_process.c'
+  106: void kb_set_systemkey(byte systemkey_value)
+  107: {
+;---- Variable 'systemkey_value' assigned to Register 'R7' ----
+  108: 	if(mult_key_status != KEY_WAIT_RELEASE)
+  109: 	{
+001801 904DE5            MOV     DPTR,#mult_key_status
+001804 E0                MOVX    A,@DPTR
+001805 6402              XRL     A,#02H
+001807 6012              JZ      ?C0027?KB_PROCESS
+  110: 		mult_key_status = KEY_SYSTEM_PRESS;
+  111: 		system_key_press = 1;
+001809 7404              MOV     A,#04H
+00180B F0                MOVX    @DPTR,A
+  112: 		multikey[0] = HID_REPORTID_SYSTEM;
+00180C 904DE0            MOV     DPTR,#system_key_press
+00180F 7401              MOV     A,#01H
+001811 F0                MOVX    @DPTR,A
+  113: 		multikey[1] = systemkey_value;
+001812 904DE6            MOV     DPTR,#multikey
+001815 7406              MOV     A,#06H
+001817 F0                MOVX    @DPTR,A
+  114: 	}
+001818 A3                INC     DPTR
+001819 EF                MOV     A,R7
+00181A F0                MOVX    @DPTR,A
+  115: }
+  116: #endif
+00181B         ?C0027?KB_PROCESS:
+00181B 22                RET     
+----- FUNCTION _kb_set_systemkey (END) -------
+
+
+----- FUNCTION _kb_multikey_setup (BEGIN) -----
+ FILE: 'kb_process.c'
+  454: void kb_multikey_setup(tKSEVENT *pEvt)
+  455: {
+00181C 904E66            MOV     DPTR,#pEvt
+00181F EB                MOV     A,R3
+001820 F0                MOVX    @DPTR,A
+001821 A3                INC     DPTR
+001822 EA                MOV     A,R2
+001823 F0                MOVX    @DPTR,A
+001824 A3                INC     DPTR
+001825 E9                MOV     A,R1
+001826 F0                MOVX    @DPTR,A
+  456: 	byte i = 0;
+  457: 	
+001827 E4                CLR     A
+001828 A3                INC     DPTR
+001829 F0                MOVX    @DPTR,A
+  458: 	for (i = 0;i < 6;i++)
+00182A F0                MOVX    @DPTR,A
+00182B         ?C0109?KB_PROCESS:
+00182B 904E69            MOV     DPTR,#i
+00182E E0                MOVX    A,@DPTR
+00182F FF                MOV     R7,A
+001830 C3                CLR     C
+001831 9406              SUBB    A,#06H
+001833 4002              JC      $ + 4H
+001835 41C8              AJMP    ?C0160?KB_PROCESS
+  459: 	{		
+  460: 		if ((pEvt->ksPool[i] &0xF0) == 0xf0 
+001837 904E66            MOV     DPTR,#pEvt
+00183A E0                MOVX    A,@DPTR
+00183B FB                MOV     R3,A
+00183C A3                INC     DPTR
+00183D E0                MOVX    A,@DPTR
+00183E FA                MOV     R2,A
+00183F A3                INC     DPTR
+001840 E0                MOVX    A,@DPTR
+001841 2401              ADD     A,#01H
+001843 F9                MOV     R1,A
+001844 E4                CLR     A
+001845 3A                ADDC    A,R2
+001846 FA                MOV     R2,A
+001847 7E00              MOV     R6,#00H
+001849 E9                MOV     A,R1
+00184A 2F                ADD     A,R7
+00184B F9                MOV     R1,A
+00184C EE                MOV     A,R6
+00184D 3A                ADDC    A,R2
+00184E FA                MOV     R2,A
+00184F 1203B6            LCALL   ?C?CLDPTR
+001852 FF                MOV     R7,A
+001853 54F0              ANL     A,#0F0H
+001855 64F0              XRL     A,#0F0H
+001857 6009              JZ      ?C0113?KB_PROCESS
+001859 EF                MOV     A,R7
+00185A 54D0              ANL     A,#0D0H
+00185C 64D0              XRL     A,#0D0H
+00185E 6002              JZ      $ + 4H
+001860 41C0              AJMP    ?C0111?KB_PROCESS
+001862         ?C0113?KB_PROCESS:
+  461: 			|| (pEvt->ksPool[i] &0xD0) == 0xD0)
+  462: 		{
+  463: 			
+  464: 			if (pEvt->ksPool[i] ==  HID_MULTIKEY_MEDIA) //media select
+001862 1203B6            LCALL   ?C?CLDPTR
+001865 FB                MOV     R3,A
+001866 B4F109            CJNE    A,#0F1H,?C0114?KB_PROCESS
+  465: 			{
+  466: 				kb_set_multikey(0x0183); 
+001869 7F83              MOV     R7,#083H
+00186B 7E01              MOV     R6,#01H
+00186D 1217E6            LCALL   _kb_set_multikey
+  467: 			}
+001870 4195              AJMP    ?C0115?KB_PROCESS
+001872         ?C0114?KB_PROCESS:
+  468: 			else
+  469: 			if (pEvt->ksPool[i] ==  HID_MULTIKEY_PALY) //play / pause
+001872 EB                MOV     A,R3
+001873 B4F209            CJNE    A,#0F2H,?C0116?KB_PROCESS
+  470: 			{ 
+  471: 				kb_set_multikey(0x00cd);
+001876 7FCD              MOV     R7,#0CDH
+001878 7E00              MOV     R6,#00H
+00187A 1217E6            LCALL   _kb_set_multikey
+  472: 			}
+00187D 4195              AJMP    ?C0115?KB_PROCESS
+00187F         ?C0116?KB_PROCESS:
+  473: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_STOP)  //stop
+00187F 904E66            MOV     DPTR,#pEvt
+001882 E0                MOVX    A,@DPTR
+001883 FB                MOV     R3,A
+001884 A3                INC     DPTR
+001885 E0                MOVX    A,@DPTR
+001886 FA                MOV     R2,A
+001887 A3                INC     DPTR
+001888 E0                MOVX    A,@DPTR
+001889 2401              ADD     A,#01H
+00188B F9                MOV     R1,A
+00188C E4                CLR     A
+00188D 3A                ADDC    A,R2
+00188E FA                MOV     R2,A
+00188F A3                INC     DPTR
+001890 E0                MOVX    A,@DPTR
+001891 7E00              MOV     R6,#00H
+001893 29                ADD     A,R1
+001894 F9                MOV     R1,A
+001895 EE                MOV     A,R6
+001896 3A                ADDC    A,R2
+001897 FA                MOV     R2,A
+001898 1203B6            LCALL   ?C?CLDPTR
+00189B FB                MOV     R3,A
+00189C B4F307            CJNE    A,#0F3H,?C0118?KB_PROCESS
+  474: 			{
+  475: 				kb_set_multikey(0x00b7);
+00189F 7FB7              MOV     R7,#0B7H
+0018A1 1217E6            LCALL   _kb_set_multikey
+  476: 			}	
+0018A4 4195              AJMP    ?C0115?KB_PROCESS
+0018A6         ?C0118?KB_PROCESS:
+  477: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_PRE_TRACK) //pre Track
+0018A6 EB                MOV     A,R3
+0018A7 B4F409            CJNE    A,#0F4H,?C0120?KB_PROCESS
+  478: 			{
+  479: 				kb_set_multikey(0x00b6);
+0018AA 7FB6              MOV     R7,#0B6H
+0018AC 7E00              MOV     R6,#00H
+0018AE 1217E6            LCALL   _kb_set_multikey
+  480: 			}
+0018B1 4195              AJMP    ?C0115?KB_PROCESS
+0018B3         ?C0120?KB_PROCESS:
+  481: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_NEXT_TRACK) //next Track
+0018B3 904E66            MOV     DPTR,#pEvt
+0018B6 E0                MOVX    A,@DPTR
+0018B7 FB                MOV     R3,A
+0018B8 A3                INC     DPTR
+0018B9 E0                MOVX    A,@DPTR
+0018BA FA                MOV     R2,A
+0018BB A3                INC     DPTR
+0018BC E0                MOVX    A,@DPTR
+0018BD 2401              ADD     A,#01H
+0018BF F9                MOV     R1,A
+0018C0 E4                CLR     A
+0018C1 3A                ADDC    A,R2
+0018C2 FA                MOV     R2,A
+0018C3 A3                INC     DPTR
+0018C4 E0                MOVX    A,@DPTR
+0018C5 7E00              MOV     R6,#00H
+0018C7 29                ADD     A,R1
+0018C8 F9                MOV     R1,A
+0018C9 EE                MOV     A,R6
+0018CA 3A                ADDC    A,R2
+0018CB FA                MOV     R2,A
+0018CC 1203B6            LCALL   ?C?CLDPTR
+0018CF FB                MOV     R3,A
+0018D0 B4F507            CJNE    A,#0F5H,?C0122?KB_PROCESS
+  482: 			{
+  483: 				kb_set_multikey(0x00b5);
+0018D3 7FB5              MOV     R7,#0B5H
+0018D5 1217E6            LCALL   _kb_set_multikey
+  484: 			}
+0018D8 4195              AJMP    ?C0115?KB_PROCESS
+0018DA         ?C0122?KB_PROCESS:
+  485: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_VOL_DOWN) //vol-
+0018DA EB                MOV     A,R3
+0018DB B4F609            CJNE    A,#0F6H,?C0124?KB_PROCESS
+  486: 			{
+  487: 				kb_set_multikey(0x00ea);
+0018DE 7FEA              MOV     R7,#0EAH
+0018E0 7E00              MOV     R6,#00H
+0018E2 1217E6            LCALL   _kb_set_multikey
+  488: 			}
+0018E5 4195              AJMP    ?C0115?KB_PROCESS
+0018E7         ?C0124?KB_PROCESS:
+  489: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_VOL_UP) //vol+
+0018E7 904E66            MOV     DPTR,#pEvt
+0018EA E0                MOVX    A,@DPTR
+0018EB FB                MOV     R3,A
+0018EC A3                INC     DPTR
+0018ED E0                MOVX    A,@DPTR
+0018EE FA                MOV     R2,A
+0018EF A3                INC     DPTR
+0018F0 E0                MOVX    A,@DPTR
+0018F1 2401              ADD     A,#01H
+0018F3 F9                MOV     R1,A
+0018F4 E4                CLR     A
+0018F5 3A                ADDC    A,R2
+0018F6 FA                MOV     R2,A
+0018F7 A3                INC     DPTR
+0018F8 E0                MOVX    A,@DPTR
+0018F9 7E00              MOV     R6,#00H
+0018FB 29                ADD     A,R1
+0018FC F9                MOV     R1,A
+0018FD EE                MOV     A,R6
+0018FE 3A                ADDC    A,R2
+0018FF FA                MOV     R2,A
+001900 1203B6            LCALL   ?C?CLDPTR
+001903 FB                MOV     R3,A
+001904 B4F707            CJNE    A,#0F7H,?C0126?KB_PROCESS
+  490: 			{
+  491: 				kb_set_multikey(0x00e9);
+001907 7FE9              MOV     R7,#0E9H
+001909 1217E6            LCALL   _kb_set_multikey
+  492: 			}
+00190C 4195              AJMP    ?C0115?KB_PROCESS
+00190E         ?C0126?KB_PROCESS:
+  493: 			else	if (pEvt->ksPool[i] ==  HID_MULTIKEY_MUTE) //mute
+00190E EB                MOV     A,R3
+00190F B4F809            CJNE    A,#0F8H,?C0128?KB_PROCESS
+  494: 			{
+  495: 				kb_set_multikey(0x00e2);
+001912 7FE2              MOV     R7,#0E2H
+001914 7E00              MOV     R6,#00H
+001916 1217E6            LCALL   _kb_set_multikey
+  496: 			}
+001919 4195              AJMP    ?C0115?KB_PROCESS
+00191B         ?C0128?KB_PROCESS:
+  497: 			else	if (pEvt->ksPool[i] ==  HID_MULTIKEY_MY_COMPUTER) 
+00191B 904E66            MOV     DPTR,#pEvt
+00191E E0                MOVX    A,@DPTR
+00191F FB                MOV     R3,A
+001920 A3                INC     DPTR
+001921 E0                MOVX    A,@DPTR
+001922 FA                MOV     R2,A
+001923 A3                INC     DPTR
+001924 E0                MOVX    A,@DPTR
+001925 2401              ADD     A,#01H
+001927 F9                MOV     R1,A
+001928 E4                CLR     A
+001929 3A                ADDC    A,R2
+00192A FA                MOV     R2,A
+00192B A3                INC     DPTR
+00192C E0                MOVX    A,@DPTR
+00192D 7E00              MOV     R6,#00H
+00192F 29                ADD     A,R1
+001930 F9                MOV     R1,A
+001931 EE                MOV     A,R6
+001932 3A                ADDC    A,R2
+001933 FA                MOV     R2,A
+001934 1203B6            LCALL   ?C?CLDPTR
+001937 FB                MOV     R3,A
+001938 B4F908            CJNE    A,#0F9H,?C0130?KB_PROCESS
+  498: 			{
+  499: 				kb_set_multikey(0x0194);
+00193B 7F94              MOV     R7,#094H
+00193D 0E                INC     R6
+00193E 1217E6            LCALL   _kb_set_multikey
+  500: 			}	
+001941 4195              AJMP    ?C0115?KB_PROCESS
+001943         ?C0130?KB_PROCESS:
+  501: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_MAIL)  //mail
+001943 EB                MOV     A,R3
+001944 B4FA09            CJNE    A,#0FAH,?C0132?KB_PROCESS
+  502: 			{
+  503: 				kb_set_multikey(0x018a);//mail
+001947 7F8A              MOV     R7,#08AH
+001949 7E01              MOV     R6,#01H
+00194B 1217E6            LCALL   _kb_set_multikey
+  504: 			}
+00194E 4195              AJMP    ?C0115?KB_PROCESS
+001950         ?C0132?KB_PROCESS:
+  505: 			else	if (pEvt->ksPool[i] ==  HID_MULTIKEY_CALCULATOR) //calculator
+001950 904E66            MOV     DPTR,#pEvt
+001953 E0                MOVX    A,@DPTR
+001954 FB                MOV     R3,A
+001955 A3                INC     DPTR
+001956 E0                MOVX    A,@DPTR
+001957 FA                MOV     R2,A
+001958 A3                INC     DPTR
+001959 E0                MOVX    A,@DPTR
+00195A 2401              ADD     A,#01H
+00195C F9                MOV     R1,A
+00195D E4                CLR     A
+00195E 3A                ADDC    A,R2
+00195F FA                MOV     R2,A
+001960 A3                INC     DPTR
+001961 E0                MOVX    A,@DPTR
+001962 7E00              MOV     R6,#00H
+001964 29                ADD     A,R1
+001965 F9                MOV     R1,A
+001966 EE                MOV     A,R6
+001967 3A                ADDC    A,R2
+001968 FA                MOV     R2,A
+001969 1203B6            LCALL   ?C?CLDPTR
+00196C FB                MOV     R3,A
+00196D B4FB08            CJNE    A,#0FBH,?C0134?KB_PROCESS
+  506: 			{
+  507: 				kb_set_multikey(0x0192);
+001970 7F92              MOV     R7,#092H
+001972 0E                INC     R6
+001973 1217E6            LCALL   _kb_set_multikey
+  508: 			}
+001976 4195              AJMP    ?C0115?KB_PROCESS
+001978         ?C0134?KB_PROCESS:
+  509: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_FAVORITES) 
+001978 EB                MOV     A,R3
+001979 B4D009            CJNE    A,#0D0H,?C0136?KB_PROCESS
+  510: 			{
+  511: 				kb_set_multikey(0x022a);//www Favorites
+00197C 7F2A              MOV     R7,#02AH
+00197E 7E02              MOV     R6,#02H
+001980 1217E6            LCALL   _kb_set_multikey
+  512: 			}
+001983 4195              AJMP    ?C0115?KB_PROCESS
+001985         ?C0136?KB_PROCESS:
+  513: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_FORWARD)  
+001985 904E66            MOV     DPTR,#pEvt
+001988 E0                MOVX    A,@DPTR
+001989 FB                MOV     R3,A
+00198A A3                INC     DPTR
+00198B E0                MOVX    A,@DPTR
+00198C FA                MOV     R2,A
+00198D A3                INC     DPTR
+00198E E0                MOVX    A,@DPTR
+00198F 2401              ADD     A,#01H
+001991 F9                MOV     R1,A
+001992 E4                CLR     A
+001993 3A                ADDC    A,R2
+001994 FA                MOV     R2,A
+001995 A3                INC     DPTR
+001996 E0                MOVX    A,@DPTR
+001997 7E00              MOV     R6,#00H
+001999 29                ADD     A,R1
+00199A F9                MOV     R1,A
+00199B EE                MOV     A,R6
+00199C 3A                ADDC    A,R2
+00199D FA                MOV     R2,A
+00199E 1203B6            LCALL   ?C?CLDPTR
+0019A1 FB                MOV     R3,A
+0019A2 B4D109            CJNE    A,#0D1H,?C0138?KB_PROCESS
+  514: 			{
+  515: 				kb_set_multikey(0x0225);
+0019A5 7F25              MOV     R7,#025H
+0019A7 7E02              MOV     R6,#02H
+0019A9 1217E6            LCALL   _kb_set_multikey
+  516: 			}
+0019AC 4195              AJMP    ?C0115?KB_PROCESS
+0019AE         ?C0138?KB_PROCESS:
+  517: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_STOP)  //www Stop
+0019AE EB                MOV     A,R3
+0019AF B4D309            CJNE    A,#0D3H,?C0140?KB_PROCESS
+  518: 			{
+  519: 				kb_set_multikey(0x0226);
+0019B2 7F26              MOV     R7,#026H
+0019B4 7E02              MOV     R6,#02H
+0019B6 1217E6            LCALL   _kb_set_multikey
+  520: 			}
+0019B9 4195              AJMP    ?C0115?KB_PROCESS
+0019BB         ?C0140?KB_PROCESS:
+  521: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_BACK)  
+0019BB 904E66            MOV     DPTR,#pEvt
+0019BE E0                MOVX    A,@DPTR
+0019BF FB                MOV     R3,A
+0019C0 A3                INC     DPTR
+0019C1 E0                MOVX    A,@DPTR
+0019C2 FA                MOV     R2,A
+0019C3 A3                INC     DPTR
+0019C4 E0                MOVX    A,@DPTR
+0019C5 2401              ADD     A,#01H
+0019C7 F9                MOV     R1,A
+0019C8 E4                CLR     A
+0019C9 3A                ADDC    A,R2
+0019CA FA                MOV     R2,A
+0019CB A3                INC     DPTR
+0019CC E0                MOVX    A,@DPTR
+0019CD 7E00              MOV     R6,#00H
+0019CF 29                ADD     A,R1
+0019D0 F9                MOV     R1,A
+0019D1 EE                MOV     A,R6
+0019D2 3A                ADDC    A,R2
+0019D3 FA                MOV     R2,A
+0019D4 1203B6            LCALL   ?C?CLDPTR
+0019D7 FB                MOV     R3,A
+0019D8 B4D209            CJNE    A,#0D2H,?C0142?KB_PROCESS
+  522: 			{
+  523: 				kb_set_multikey(0x0224);
+0019DB 7F24              MOV     R7,#024H
+0019DD 7E02              MOV     R6,#02H
+0019DF 1217E6            LCALL   _kb_set_multikey
+  524: 			}
+0019E2 4195              AJMP    ?C0115?KB_PROCESS
+0019E4         ?C0142?KB_PROCESS:
+  525: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_REFRESH) //www refresh
+0019E4 EB                MOV     A,R3
+0019E5 B4D409            CJNE    A,#0D4H,?C0144?KB_PROCESS
+  526: 			{
+  527: 				kb_set_multikey(0x0227);
+0019E8 7F27              MOV     R7,#027H
+0019EA 7E02              MOV     R6,#02H
+0019EC 1217E6            LCALL   _kb_set_multikey
+  528: 			}	
+0019EF 4195              AJMP    ?C0115?KB_PROCESS
+0019F1         ?C0144?KB_PROCESS:
+  529: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_SEARCH)  //www search
+0019F1 904E66            MOV     DPTR,#pEvt
+0019F4 E0                MOVX    A,@DPTR
+0019F5 FB                MOV     R3,A
+0019F6 A3                INC     DPTR
+0019F7 E0                MOVX    A,@DPTR
+0019F8 FA                MOV     R2,A
+0019F9 A3                INC     DPTR
+0019FA E0                MOVX    A,@DPTR
+0019FB 2401              ADD     A,#01H
+0019FD F9                MOV     R1,A
+0019FE E4                CLR     A
+0019FF 3A                ADDC    A,R2
+001A00 FA                MOV     R2,A
+001A01 A3                INC     DPTR
+001A02 E0                MOVX    A,@DPTR
+001A03 7E00              MOV     R6,#00H
+001A05 29                ADD     A,R1
+001A06 F9                MOV     R1,A
+001A07 EE                MOV     A,R6
+001A08 3A                ADDC    A,R2
+001A09 FA                MOV     R2,A
+001A0A 1203B6            LCALL   ?C?CLDPTR
+001A0D FB                MOV     R3,A
+001A0E B4D509            CJNE    A,#0D5H,?C0146?KB_PROCESS
+  530: 			{
+  531: 				kb_set_multikey(0x0221);
+001A11 7F21              MOV     R7,#021H
+001A13 7E02              MOV     R6,#02H
+001A15 1217E6            LCALL   _kb_set_multikey
+  532: 			}
+001A18 807B              SJMP    ?C0115?KB_PROCESS
+001A1A         ?C0146?KB_PROCESS:
+  533: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_AC_HOME)
+001A1A EB                MOV     A,R3
+001A1B B4D609            CJNE    A,#0D6H,?C0148?KB_PROCESS
+  534: 			{
+  535: 				kb_set_multikey(0x0223);
+001A1E 7F23              MOV     R7,#023H
+001A20 7E02              MOV     R6,#02H
+001A22 1217E6            LCALL   _kb_set_multikey
+  536: 			} 	
+001A25 806E              SJMP    ?C0115?KB_PROCESS
+001A27         ?C0148?KB_PROCESS:
+  537: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_LIGHT_DOWN)
+001A27 904E66            MOV     DPTR,#pEvt
+001A2A E0                MOVX    A,@DPTR
+001A2B FB                MOV     R3,A
+001A2C A3                INC     DPTR
+001A2D E0                MOVX    A,@DPTR
+001A2E FA                MOV     R2,A
+001A2F A3                INC     DPTR
+001A30 E0                MOVX    A,@DPTR
+001A31 2401              ADD     A,#01H
+001A33 F9                MOV     R1,A
+001A34 E4                CLR     A
+001A35 3A                ADDC    A,R2
+001A36 FA                MOV     R2,A
+001A37 A3                INC     DPTR
+001A38 E0                MOVX    A,@DPTR
+001A39 7E00              MOV     R6,#00H
+001A3B 29                ADD     A,R1
+001A3C F9                MOV     R1,A
+001A3D EE                MOV     A,R6
+001A3E 3A                ADDC    A,R2
+001A3F FA                MOV     R2,A
+001A40 1203B6            LCALL   ?C?CLDPTR
+001A43 FB                MOV     R3,A
+001A44 B4D707            CJNE    A,#0D7H,?C0150?KB_PROCESS
+  538: 			{
+  539: 				kb_set_multikey(0x0070);
+001A47 7F70              MOV     R7,#070H
+001A49 1217E6            LCALL   _kb_set_multikey
+  540: 			}
+001A4C 8047              SJMP    ?C0115?KB_PROCESS
+001A4E         ?C0150?KB_PROCESS:
+  541: 			else if (pEvt->ksPool[i] ==  HID_MULTIKEY_LIGHT_UP)
+001A4E EB                MOV     A,R3
+001A4F B4D809            CJNE    A,#0D8H,?C0152?KB_PROCESS
+  542: 			{
+  543: 				kb_set_multikey(0x006f);
+001A52 7F6F              MOV     R7,#06FH
+001A54 7E00              MOV     R6,#00H
+001A56 1217E6            LCALL   _kb_set_multikey
+  544: 			}
+001A59 803A              SJMP    ?C0115?KB_PROCESS
+001A5B         ?C0152?KB_PROCESS:
+  545: 		#ifdef SYSTEM_CONTROL_ENABLE
+  546: 		      	else if (pEvt->ksPool[i] ==  HID_SYSTEM_KEY_POWER_DOWN)
+001A5B 904E66            MOV     DPTR,#pEvt
+001A5E E0                MOVX    A,@DPTR
+001A5F FB                MOV     R3,A
+001A60 A3                INC     DPTR
+001A61 E0                MOVX    A,@DPTR
+001A62 FA                MOV     R2,A
+001A63 A3                INC     DPTR
+001A64 E0                MOVX    A,@DPTR
+001A65 2401              ADD     A,#01H
+001A67 F9                MOV     R1,A
+001A68 E4                CLR     A
+001A69 3A                ADDC    A,R2
+001A6A FA                MOV     R2,A
+001A6B A3                INC     DPTR
+001A6C E0                MOVX    A,@DPTR
+001A6D 7E00              MOV     R6,#00H
+001A6F 29                ADD     A,R1
+001A70 F9                MOV     R1,A
+001A71 EE                MOV     A,R6
+001A72 3A                ADDC    A,R2
+001A73 FA                MOV     R2,A
+001A74 1203B6            LCALL   ?C?CLDPTR
+001A77 FE                MOV     R6,A
+001A78 B4DD06            CJNE    A,#0DDH,?C0154?KB_PROCESS
+  547: 		      	{
+  548: 		        	kb_set_systemkey(0x01);
+001A7B 7F01              MOV     R7,#01H
+001A7D 1101              ACALL   _kb_set_systemkey
+  549: 		      	}
+001A7F 8014              SJMP    ?C0115?KB_PROCESS
+001A81         ?C0154?KB_PROCESS:
+  550: 		      	else if (pEvt->ksPool[i] ==  HID_SYSTEM_KEY_SLEEP)
+001A81 EE                MOV     A,R6
+001A82 B4DE06            CJNE    A,#0DEH,?C0156?KB_PROCESS
+  551: 		      	{
+  552: 		        	kb_set_systemkey(0x02);
+001A85 7F02              MOV     R7,#02H
+001A87 1101              ACALL   _kb_set_systemkey
+  553: 		      	}
+001A89 800A              SJMP    ?C0115?KB_PROCESS
+001A8B         ?C0156?KB_PROCESS:
+  554: 		      	else if (pEvt->ksPool[i] ==  HID_SYSTEM_KEY_WAKE_UP)
+001A8B 1203B6            LCALL   ?C?CLDPTR
+001A8E B4DF04            CJNE    A,#0DFH,?C0115?KB_PROCESS
+  555: 		      	{
+  556: 		        	kb_set_systemkey(0x04);
+001A91 7F04              MOV     R7,#04H
+001A93 1101              ACALL   _kb_set_systemkey
+  557: 		      	}
+001A95         ?C0115?KB_PROCESS:
+  558: 		#endif
+  559: 			
+  560: 			if(mult_key_status == KEY_WAIT_RELEASE)
+001A95 904DE5            MOV     DPTR,#mult_key_status
+001A98 E0                MOVX    A,@DPTR
+001A99 B40224            CJNE    A,#02H,?C0111?KB_PROCESS
+  561: 			{
+  562: 				mult_key_value = pEvt->ksPool[i];
+001A9C 904E66            MOV     DPTR,#pEvt
+001A9F E0                MOVX    A,@DPTR
+001AA0 FB                MOV     R3,A
+001AA1 A3                INC     DPTR
+001AA2 E0                MOVX    A,@DPTR
+001AA3 FA                MOV     R2,A
+001AA4 A3                INC     DPTR
+001AA5 E0                MOVX    A,@DPTR
+001AA6 2401              ADD     A,#01H
+001AA8 F9                MOV     R1,A
+001AA9 E4                CLR     A
+001AAA 3A                ADDC    A,R2
+001AAB FA                MOV     R2,A
+001AAC A3                INC     DPTR
+001AAD E0                MOVX    A,@DPTR
+001AAE 7E00              MOV     R6,#00H
+001AB0 29                ADD     A,R1
+001AB1 F9                MOV     R1,A
+001AB2 EE                MOV     A,R6
+001AB3 3A                ADDC    A,R2
+001AB4 FA                MOV     R2,A
+001AB5 1203B6            LCALL   ?C?CLDPTR
+001AB8 904DE4            MOV     DPTR,#mult_key_value
+001ABB F0                MOVX    @DPTR,A
+  563: 				pEvt->ksPool[i] = 0;
+001ABC E4                CLR     A
+001ABD 1203FC            LCALL   ?C?CSTPTR
+  564: 			}
+  565: 		}
+  566: 	}
+001AC0         ?C0111?KB_PROCESS:
+001AC0 904E69            MOV     DPTR,#i
+001AC3 E0                MOVX    A,@DPTR
+001AC4 04                INC     A
+001AC5 F0                MOVX    @DPTR,A
+001AC6 012B              AJMP    ?C0109?KB_PROCESS
+  567: }
+001AC8         ?C0160?KB_PROCESS:
+001AC8 22                RET     
+----- FUNCTION _kb_multikey_setup (END) -------
+
+
+----- FUNCTION _bit_count (BEGIN) -----
+ FILE: 'keyscan.c'
+   24: static byte bit_count(byte v)
+   25: {
+;---- Variable 'v' assigned to Register 'R7' ----
+   26: 	unsigned char c;
+   27: 	for (c = 0; v; c++) {
+;---- Variable 'c' assigned to Register 'R6' ----
+001AC9 E4                CLR     A
+001ACA FE                MOV     R6,A
+001ACB         ?C0001?KEYSCAN:
+001ACB EF                MOV     A,R7
+001ACC 6006              JZ      ?C0002?KEYSCAN
+   28:     	v &= v - 1;
+001ACE 14                DEC     A
+001ACF 5F                ANL     A,R7
+001AD0 FF                MOV     R7,A
+   29:     }
+001AD1 0E                INC     R6
+001AD2 80F7              SJMP    ?C0001?KEYSCAN
+001AD4         ?C0002?KEYSCAN:
+   30:     return c;
+001AD4 AF06              MOV     R7,AR6
+   31: }
+001AD6 22                RET     
+----- FUNCTION _bit_count (END) -------
+
+
+----- FUNCTION KS_GetCurrentEvt (BEGIN) -----
+ FILE: 'keyscan.c'
+  300: tKSEVENT *KS_GetCurrentEvt()
+  301: {
+  302: 	//
+  303: 	byte i = 0;
+001AD7 E4                CLR     A
+001AD8 904E13            MOV     DPTR,#i
+001ADB F0                MOVX    @DPTR,A
+  304: 	byte j = 0;
+001ADC A3                INC     DPTR
+001ADD F0                MOVX    @DPTR,A
+  305: 	byte temp = 0;
+001ADE A3                INC     DPTR
+001ADF F0                MOVX    @DPTR,A
+  306: 	byte flag = 0;
+001AE0 A3                INC     DPTR
+001AE1 F0                MOVX    @DPTR,A
+  307: 	byte offset = 0;
+001AE2 A3                INC     DPTR
+001AE3 F0                MOVX    @DPTR,A
+  308: 	byte state = 0;
+001AE4 A3                INC     DPTR
+001AE5 F0                MOVX    @DPTR,A
+  309: 	byte colCounttemp = 0;
+001AE6 A3                INC     DPTR
+001AE7 F0                MOVX    @DPTR,A
+  310: 	byte rawSel =0;
+001AE8 A3                INC     DPTR
+001AE9 F0                MOVX    @DPTR,A
+  311: 	byte keyCounttemp = 0;
+001AEA A3                INC     DPTR
+001AEB F0                MOVX    @DPTR,A
+  312: 	byte key_value_temp = 0;
+001AEC A3                INC     DPTR
+001AED F0                MOVX    @DPTR,A
+  313: 	byte ghost = 0;
+001AEE A3                INC     DPTR
+001AEF F0                MOVX    @DPTR,A
+  314: 	byte rawCount = 0;
+001AF0 A3                INC     DPTR
+001AF1 F0                MOVX    @DPTR,A
+  315: 	byte colCount = 0;
+001AF2 A3                INC     DPTR
+001AF3 F0                MOVX    @DPTR,A
+  316: 	byte keyCount = 0;
+001AF4 A3                INC     DPTR
+001AF5 F0                MOVX    @DPTR,A
+  317: 	
+  318: 	KS_ScanMatrix();
+001AF6 D14D              ACALL   KS_ScanMatrix
+  319: 
+  320: 	if (compare_str(ksSelMapCurr,ksSelMapCheck,KB_KSCAN_COL_NUM) 
+001AF8 7A4D              MOV     R2,#HIGH ksSelMapCheck
+001AFA 79A8              MOV     R1,#LOW ksSelMapCheck
+001AFC 904E3C            MOV     DPTR,#?_compare_str?BYTE+03H
+001AFF 7401              MOV     A,#01H
+001B01 F0                MOVX    @DPTR,A
+001B02 A3                INC     DPTR
+001B03 744D              MOV     A,#HIGH ksSelMapCheck
+001B05 F0                MOVX    @DPTR,A
+001B06 A3                INC     DPTR
+001B07 74A8              MOV     A,#LOW ksSelMapCheck
+001B09 F0                MOVX    @DPTR,A
+001B0A A3                INC     DPTR
+001B0B 7414              MOV     A,#014H
+001B0D F0                MOVX    @DPTR,A
+001B0E 7B01              MOV     R3,#01H
+001B10 7A4D              MOV     R2,#HIGH ksSelMapCurr
+001B12 79BC              MOV     R1,#LOW ksSelMapCurr
+001B14 B104              ACALL   _compare_str
+001B16 EF                MOV     A,R7
+001B17 6016              JZ      ?C0059?KEYSCAN
+001B19 7B01              MOV     R3,#01H
+001B1B 7A4D              MOV     R2,#HIGH ksSelMapCurr
+001B1D 79BC              MOV     R1,#LOW ksSelMapCurr
+001B1F 7D14              MOV     R5,#014H
+001B21 91D4              ACALL   _array_is_empty
+001B23 EF                MOV     A,R7
+001B24 7009              JNZ     ?C0059?KEYSCAN
+  321: 		&& !array_is_empty(ksSelMapCurr,KB_KSCAN_COL_NUM))
+  322: 	{
+  323: 		g_variable.button_flag |= 0x02;
+001B26 904CCE            MOV     DPTR,#g_variable+0FH
+001B29 E0                MOVX    A,@DPTR
+001B2A 4402              ORL     A,#02H
+001B2C F0                MOVX    @DPTR,A
+  324: 	}
+001B2D 800C              SJMP    ?C0060?KEYSCAN
+001B2F         ?C0059?KEYSCAN:
+  325: 	else
+  326: 	{	
+  327: 		g_variable.button_flag &= 0xFD;
+001B2F 904CCE            MOV     DPTR,#g_variable+0FH
+001B32 E0                MOVX    A,@DPTR
+001B33 54FD              ANL     A,#0FDH
+001B35 F0                MOVX    @DPTR,A
+  328: 		g_variable.button_timer[1] = 0;
+001B36 E4                CLR     A
+001B37 904CD0            MOV     DPTR,#g_variable+011H
+001B3A F0                MOVX    @DPTR,A
+  329: 	}
+001B3B         ?C0060?KEYSCAN:
+  330: 
+  331: 	for (i=0; col[i]!=0; i++) {
+001B3B E4                CLR     A
+001B3C 904E13            MOV     DPTR,#i
+001B3F F0                MOVX    @DPTR,A
+001B40         ?C0061?KEYSCAN:
+001B40 904E13            MOV     DPTR,#i
+001B43 E0                MOVX    A,@DPTR
+001B44 FF                MOV     R7,A
+001B45 90060C            MOV     DPTR,#col
+001B48 93                MOVC    A,@A+DPTR
+001B49 602F              JZ      ?C0062?KEYSCAN
+  332: 		temp = ksSelMapCurr[i];
+001B4B 74BC              MOV     A,#LOW ksSelMapCurr
+001B4D 2F                ADD     A,R7
+001B4E F582              MOV     DPL,A
+001B50 E4                CLR     A
+001B51 344D              ADDC    A,#HIGH ksSelMapCurr
+001B53 F583              MOV     DPH,A
+001B55 E0                MOVX    A,@DPTR
+001B56 904E15            MOV     DPTR,#temp
+001B59 F0                MOVX    @DPTR,A
+  333: 		if (temp!=0) {
+001B5A E0                MOVX    A,@DPTR
+001B5B FD                MOV     R5,A
+001B5C 6014              JZ      ?C0063?KEYSCAN
+  334: 			colCounttemp++;
+001B5E 904E19            MOV     DPTR,#colCounttemp
+001B61 E0                MOVX    A,@DPTR
+001B62 04                INC     A
+001B63 F0                MOVX    @DPTR,A
+  335: 			rawSel = temp|rawSel;
+001B64 A3                INC     DPTR
+001B65 E0                MOVX    A,@DPTR
+001B66 FE                MOV     R6,A
+001B67 ED                MOV     A,R5
+001B68 4E                ORL     A,R6
+001B69 F0                MOVX    @DPTR,A
+  336: 			keyCounttemp += bit_count(temp);
+001B6A AF05              MOV     R7,AR5
+001B6C 51C9              ACALL   _bit_count
+001B6E A3                INC     DPTR
+001B6F E0                MOVX    A,@DPTR
+001B70 2F                ADD     A,R7
+001B71 F0                MOVX    @DPTR,A
+  337: 		}
+  338: 	}
+001B72         ?C0063?KEYSCAN:
+001B72 904E13            MOV     DPTR,#i
+001B75 E0                MOVX    A,@DPTR
+001B76 04                INC     A
+001B77 F0                MOVX    @DPTR,A
+001B78 80C6              SJMP    ?C0061?KEYSCAN
+001B7A         ?C0062?KEYSCAN:
+  339: 	keyCount = keyCounttemp;
+001B7A 904E1B            MOV     DPTR,#keyCounttemp
+001B7D E0                MOVX    A,@DPTR
+001B7E 904E20            MOV     DPTR,#keyCount
+001B81 F0                MOVX    @DPTR,A
+  340: 	colCount = colCounttemp;
+001B82 904E19            MOV     DPTR,#colCounttemp
+001B85 E0                MOVX    A,@DPTR
+001B86 904E1F            MOV     DPTR,#colCount
+001B89 F0                MOVX    @DPTR,A
+  341: 	rawCount = bit_count(rawSel);
+001B8A 904E1A            MOV     DPTR,#rawSel
+001B8D E0                MOVX    A,@DPTR
+001B8E FF                MOV     R7,A
+001B8F 51C9              ACALL   _bit_count
+001B91 904E1E            MOV     DPTR,#rawCount
+001B94 EF                MOV     A,R7
+001B95 F0                MOVX    @DPTR,A
+  342: 	if (keyCount >2 && keyCount > MAX(colCount, rawCount)) {
+001B96 904E20            MOV     DPTR,#keyCount
+001B99 E0                MOVX    A,@DPTR
+001B9A FF                MOV     R7,A
+001B9B D3                SETB    C
+001B9C 9402              SUBB    A,#02H
+001B9E 401D              JC      ?C0065?KEYSCAN
+001BA0 904E1E            MOV     DPTR,#rawCount
+001BA3 E0                MOVX    A,@DPTR
+001BA4 FE                MOV     R6,A
+001BA5 A3                INC     DPTR
+001BA6 E0                MOVX    A,@DPTR
+001BA7 FD                MOV     R5,A
+001BA8 D3                SETB    C
+001BA9 9E                SUBB    A,R6
+001BAA 4004              JC      ?C0066?KEYSCAN
+001BAC AE05              MOV     R6,AR5
+001BAE 8000              SJMP    ?C0067?KEYSCAN
+001BB0         ?C0066?KEYSCAN:
+001BB0         ?C0067?KEYSCAN:
+001BB0 EF                MOV     A,R7
+001BB1 D3                SETB    C
+001BB2 9E                SUBB    A,R6
+001BB3 4008              JC      ?C0065?KEYSCAN
+  343: 		ghost = 1;
+001BB5 904E1D            MOV     DPTR,#ghost
+001BB8 7401              MOV     A,#01H
+001BBA F0                MOVX    @DPTR,A
+  344: 	}
+001BBB 8005              SJMP    ?C0068?KEYSCAN
+001BBD         ?C0065?KEYSCAN:
+  345: 	else {
+  346: 		ghost = 0;
+001BBD E4                CLR     A
+001BBE 904E1D            MOV     DPTR,#ghost
+001BC1 F0                MOVX    @DPTR,A
+  347: 	}
+001BC2         ?C0068?KEYSCAN:
+  348: 	
+  349: 	for (i=0; col[i]!=0; i++)
+001BC2 E4                CLR     A
+001BC3 904E13            MOV     DPTR,#i
+001BC6 F0                MOVX    @DPTR,A
+001BC7         ?C0069?KEYSCAN:
+001BC7 904E13            MOV     DPTR,#i
+001BCA E0                MOVX    A,@DPTR
+001BCB FF                MOV     R7,A
+001BCC 90060C            MOV     DPTR,#col
+001BCF 93                MOVC    A,@A+DPTR
+001BD0 7002              JNZ     $ + 4H
+001BD2 81A8              AJMP    ?C0070?KEYSCAN
+  350: 	{
+  351: 		temp = ksSelMapCurr[i] ^ ksSelMapOld[i];
+001BD4 7493              MOV     A,#LOW ksSelMapOld
+001BD6 2F                ADD     A,R7
+001BD7 F582              MOV     DPL,A
+001BD9 E4                CLR     A
+001BDA 344D              ADDC    A,#HIGH ksSelMapOld
+001BDC F583              MOV     DPH,A
+001BDE E0                MOVX    A,@DPTR
+001BDF FE                MOV     R6,A
+001BE0 74BC              MOV     A,#LOW ksSelMapCurr
+001BE2 2F                ADD     A,R7
+001BE3 F582              MOV     DPL,A
+001BE5 E4                CLR     A
+001BE6 344D              ADDC    A,#HIGH ksSelMapCurr
+001BE8 F583              MOV     DPH,A
+001BEA E0                MOVX    A,@DPTR
+001BEB 6E                XRL     A,R6
+001BEC 904E15            MOV     DPTR,#temp
+001BEF F0                MOVX    @DPTR,A
+  352: 		state = ksSelMapCurr[i];
+001BF0 904E13            MOV     DPTR,#i
+001BF3 E0                MOVX    A,@DPTR
+001BF4 FF                MOV     R7,A
+001BF5 24BC              ADD     A,#LOW ksSelMapCurr
+001BF7 F582              MOV     DPL,A
+001BF9 E4                CLR     A
+001BFA 344D              ADDC    A,#HIGH ksSelMapCurr
+001BFC F583              MOV     DPH,A
+001BFE E0                MOVX    A,@DPTR
+001BFF 904E18            MOV     DPTR,#state
+001C02 F0                MOVX    @DPTR,A
+  353: 		if (temp == 0) 
+001C03 904E15            MOV     DPTR,#temp
+001C06 E0                MOVX    A,@DPTR
+001C07 7004              JNZ     ?C0072?KEYSCAN
+  354: 		{
+  355: 			continue;
+001C09 81A0              AJMP    ?C0071?KEYSCAN
+  356: 		}
+001C0B 81A0              AJMP    ?C0071?KEYSCAN
+001C0D         ?C0072?KEYSCAN:
+  357: 		else 
+  358: 		{
+  359: 
+  360: 			if (ghost) 
+001C0D 904E1D            MOV     DPTR,#ghost
+001C10 E0                MOVX    A,@DPTR
+001C11 6007              JZ      ?C0074?KEYSCAN
+  361: 				return NULL;
+001C13 7B00              MOV     R3,#00H
+001C15 7A00              MOV     R2,#00H
+001C17 7900              MOV     R1,#00H
+001C19 22                RET     
+001C1A         ?C0074?KEYSCAN:
+  362: 			ksSelMapOld[i] = ksSelMapCurr[i];
+001C1A 74BC              MOV     A,#LOW ksSelMapCurr
+001C1C 2F                ADD     A,R7
+001C1D F582              MOV     DPL,A
+001C1F E4                CLR     A
+001C20 344D              ADDC    A,#HIGH ksSelMapCurr
+001C22 F583              MOV     DPH,A
+001C24 E0                MOVX    A,@DPTR
+001C25 FE                MOV     R6,A
+001C26 7493              MOV     A,#LOW ksSelMapOld
+001C28 2F                ADD     A,R7
+001C29 F582              MOV     DPL,A
+001C2B E4                CLR     A
+001C2C 344D              ADDC    A,#HIGH ksSelMapOld
+001C2E F583              MOV     DPH,A
+001C30 EE                MOV     A,R6
+001C31 F0                MOVX    @DPTR,A
+  363: 			for (j = 0 ; j<8 ; j++) 
+001C32 E4                CLR     A
+001C33 904E14            MOV     DPTR,#j
+001C36 F0                MOVX    @DPTR,A
+001C37         ?C0076?KEYSCAN:
+001C37 904E14            MOV     DPTR,#j
+001C3A E0                MOVX    A,@DPTR
+001C3B FF                MOV     R7,A
+001C3C C3                CLR     C
+001C3D 9408              SUBB    A,#08H
+001C3F 5059              JNC     ?C0077?KEYSCAN
+  364: 			{
+  365: 				if (temp&1)
+001C41 A3                INC     DPTR
+001C42 E0                MOVX    A,@DPTR
+001C43 30E03C            JNB     ACC.0,?C0079?KEYSCAN
+  366: 				{
+  367: 					offset = i<<3 |j;
+001C46 904E13            MOV     DPTR,#i
+001C49 E0                MOVX    A,@DPTR
+001C4A FE                MOV     R6,A
+001C4B 33                RLC     A
+001C4C 33                RLC     A
+001C4D 33                RLC     A
+001C4E 54F8              ANL     A,#0F8H
+001C50 FE                MOV     R6,A
+001C51 EF                MOV     A,R7
+001C52 4E                ORL     A,R6
+001C53 904E17            MOV     DPTR,#offset
+001C56 F0                MOVX    @DPTR,A
+  368: 					key_value_temp = key_fn_function(state,ksMap[offset]);
+001C57 A3                INC     DPTR
+001C58 E0                MOVX    A,@DPTR
+001C59 FF                MOV     R7,A
+001C5A 904E17            MOV     DPTR,#offset
+001C5D E0                MOVX    A,@DPTR
+001C5E 900621            MOV     DPTR,#ksMap
+001C61 93                MOVC    A,@A+DPTR
+001C62 FD                MOV     R5,A
+001C63 1210C3            LCALL   _key_fn_function
+001C66 904E1C            MOV     DPTR,#key_value_temp
+001C69 EF                MOV     A,R7
+001C6A F0                MOVX    @DPTR,A
+  369: 					if (state & 1)
+001C6B 904E18            MOV     DPTR,#state
+001C6E E0                MOVX    A,@DPTR
+001C6F 30E009            JNB     ACC.0,?C0080?KEYSCAN
+  370: 					{
+  371: 						keyIn(key_value_temp);
+001C72 904E1C            MOV     DPTR,#key_value_temp
+001C75 E0                MOVX    A,@DPTR
+001C76 FF                MOV     R7,A
+001C77 B14E              ACALL   _keyIn
+  372: 					}
+001C79 8007              SJMP    ?C0079?KEYSCAN
+001C7B         ?C0080?KEYSCAN:
+  373: 					else
+  374: 					{
+  375: 						keyOut(key_value_temp);
+001C7B 904E1C            MOV     DPTR,#key_value_temp
+001C7E E0                MOVX    A,@DPTR
+001C7F FF                MOV     R7,A
+001C80 B1A4              ACALL   _keyOut
+  376: 					}
+  377: 				}
+001C82         ?C0079?KEYSCAN:
+  378: 				temp = temp >>1;
+001C82 904E15            MOV     DPTR,#temp
+001C85 E0                MOVX    A,@DPTR
+001C86 FF                MOV     R7,A
+001C87 C3                CLR     C
+001C88 13                RRC     A
+001C89 F0                MOVX    @DPTR,A
+  379: 				state = state>>1;
+001C8A 904E18            MOV     DPTR,#state
+001C8D E0                MOVX    A,@DPTR
+001C8E FF                MOV     R7,A
+001C8F C3                CLR     C
+001C90 13                RRC     A
+001C91 F0                MOVX    @DPTR,A
+  380: 			}
+001C92 904E14            MOV     DPTR,#j
+001C95 E0                MOVX    A,@DPTR
+001C96 04                INC     A
+001C97 F0                MOVX    @DPTR,A
+001C98 809D              SJMP    ?C0076?KEYSCAN
+001C9A         ?C0077?KEYSCAN:
+  381: 			flag = 1;
+001C9A 904E16            MOV     DPTR,#flag
+001C9D 7401              MOV     A,#01H
+001C9F F0                MOVX    @DPTR,A
+  382: 		}
+  383: 	}
+001CA0         ?C0071?KEYSCAN:
+001CA0 904E13            MOV     DPTR,#i
+001CA3 E0                MOVX    A,@DPTR
+001CA4 04                INC     A
+001CA5 F0                MOVX    @DPTR,A
+001CA6 61C7              AJMP    ?C0069?KEYSCAN
+001CA8         ?C0070?KEYSCAN:
+  384: 	
+  385: 	if((mult_key_status == KEY_RELEASE) && (standard_key_release_flag == 1))
+001CA8 904DE5            MOV     DPTR,#mult_key_status
+001CAB E0                MOVX    A,@DPTR
+001CAC B4030A            CJNE    A,#03H,?C0082?KEYSCAN
+001CAF 904DD8            MOV     DPTR,#standard_key_release_flag
+001CB2 E0                MOVX    A,@DPTR
+001CB3 B40103            CJNE    A,#01H,?C0082?KEYSCAN
+  386: 	{
+  387: 		standard_key_release_flag = 2;		//media key and standard key  release the same time
+001CB6 7402              MOV     A,#02H
+001CB8 F0                MOVX    @DPTR,A
+  388: 	}
+001CB9         ?C0082?KEYSCAN:
+  389: 
+  390: 	
+  391: 	if (flag || standard_key_release_flag == 2) 
+001CB9 904E16            MOV     DPTR,#flag
+001CBC E0                MOVX    A,@DPTR
+001CBD 7007              JNZ     ?C0084?KEYSCAN
+001CBF 904DD8            MOV     DPTR,#standard_key_release_flag
+001CC2 E0                MOVX    A,@DPTR
+001CC3 B40207            CJNE    A,#02H,?C0083?KEYSCAN
+001CC6         ?C0084?KEYSCAN:
+  392: 	{
+  393: 		return &ksEvtPool;
+001CC6 7B01              MOV     R3,#01H
+001CC8 7A4E              MOV     R2,#HIGH ksEvtPool
+001CCA 7932              MOV     R1,#LOW ksEvtPool
+001CCC 22                RET     
+  394: 	}
+001CCD         ?C0083?KEYSCAN:
+  395: 	else
+  396: 	{
+  397: 		return NULL;
+001CCD 7B00              MOV     R3,#00H
+001CCF 7A00              MOV     R2,#00H
+001CD1 7900              MOV     R1,#00H
+  398: 	}
+  399: 	
+  400: 
+  401: }
+001CD3 22                RET     
+----- FUNCTION KS_GetCurrentEvt (END) -------
+
+
+----- FUNCTION _array_is_empty (BEGIN) -----
+ FILE: 'keyscan.c'
+  288: byte array_is_empty(byte * str1,byte len)
+  289: {
+001CD4 904E79            MOV     DPTR,#str1
+001CD7 EB                MOV     A,R3
+001CD8 F0                MOVX    @DPTR,A
+001CD9 A3                INC     DPTR
+001CDA EA                MOV     A,R2
+001CDB F0                MOVX    @DPTR,A
+001CDC A3                INC     DPTR
+001CDD E9                MOV     A,R1
+001CDE F0                MOVX    @DPTR,A
+;---- Variable 'len' assigned to Register 'R5' ----
+  290: 	byte i;
+  291: 	for (i=0;i < len;i++)
+;---- Variable 'i' assigned to Register 'R7' ----
+001CDF E4                CLR     A
+001CE0 FF                MOV     R7,A
+001CE1         ?C0054?KEYSCAN:
+001CE1 EF                MOV     A,R7
+001CE2 C3                CLR     C
+001CE3 9D                SUBB    A,R5
+001CE4 501B              JNC     ?C0055?KEYSCAN
+  292: 	{
+  293: 		if (str1[i] != 0)
+001CE6 904E79            MOV     DPTR,#str1
+001CE9 E0                MOVX    A,@DPTR
+001CEA FB                MOV     R3,A
+001CEB A3                INC     DPTR
+001CEC E0                MOVX    A,@DPTR
+001CED FA                MOV     R2,A
+001CEE A3                INC     DPTR
+001CEF E0                MOVX    A,@DPTR
+001CF0 F9                MOV     R1,A
+001CF1 8F82              MOV     DPL,R7
+001CF3 758300            MOV     DPH,#00H
+001CF6 1203CF            LCALL   ?C?CLDOPTR
+001CF9 6003              JZ      ?C0056?KEYSCAN
+  294: 			return 0x00;
+001CFB 7F00              MOV     R7,#00H
+001CFD 22                RET     
+  295: 	}
+001CFE         ?C0056?KEYSCAN:
+001CFE 0F                INC     R7
+001CFF 80E0              SJMP    ?C0054?KEYSCAN
+001D01         ?C0055?KEYSCAN:
+  296: 	return 0x01;
+001D01 7F01              MOV     R7,#01H
+  297: }
+001D03 22                RET     
+----- FUNCTION _array_is_empty (END) -------
+
+
+----- FUNCTION _compare_str (BEGIN) -----
+001D04 904E39            MOV     DPTR,#str1
+001D07 EB                MOV     A,R3
+001D08 F0                MOVX    @DPTR,A
+001D09 A3                INC     DPTR
+001D0A EA                MOV     A,R2
+001D0B F0                MOVX    @DPTR,A
+001D0C A3                INC     DPTR
+001D0D E9                MOV     A,R1
+001D0E F0                MOVX    @DPTR,A
+;---- Variable 'i' assigned to Register 'R7' ----
+001D0F E4                CLR     A
+001D10 FF                MOV     R7,A
+001D11         ?C0021?UTILITIES:
+001D11 904E3F            MOV     DPTR,#len
+001D14 E0                MOVX    A,@DPTR
+001D15 FE                MOV     R6,A
+001D16 EF                MOV     A,R7
+001D17 C3                CLR     C
+001D18 9E                SUBB    A,R6
+001D19 5030              JNC     ?C0022?UTILITIES
+001D1B 904E3C            MOV     DPTR,#str2
+001D1E E0                MOVX    A,@DPTR
+001D1F FB                MOV     R3,A
+001D20 A3                INC     DPTR
+001D21 E0                MOVX    A,@DPTR
+001D22 FA                MOV     R2,A
+001D23 A3                INC     DPTR
+001D24 E0                MOVX    A,@DPTR
+001D25 F9                MOV     R1,A
+001D26 8F82              MOV     DPL,R7
+001D28 758300            MOV     DPH,#00H
+001D2B 1203CF            LCALL   ?C?CLDOPTR
+001D2E FE                MOV     R6,A
+001D2F 904E39            MOV     DPTR,#str1
+001D32 E0                MOVX    A,@DPTR
+001D33 FB                MOV     R3,A
+001D34 A3                INC     DPTR
+001D35 E0                MOVX    A,@DPTR
+001D36 FA                MOV     R2,A
+001D37 A3                INC     DPTR
+001D38 E0                MOVX    A,@DPTR
+001D39 F9                MOV     R1,A
+001D3A 8F82              MOV     DPL,R7
+001D3C 758300            MOV     DPH,#00H
+001D3F 1203CF            LCALL   ?C?CLDOPTR
+001D42 6E                XRL     A,R6
+001D43 6003              JZ      ?C0023?UTILITIES
+001D45 7F00              MOV     R7,#00H
+001D47 22                RET     
+001D48         ?C0023?UTILITIES:
+001D48 0F                INC     R7
+001D49 80C6              SJMP    ?C0021?UTILITIES
+001D4B         ?C0022?UTILITIES:
+001D4B 7F01              MOV     R7,#01H
+001D4D 22                RET     
+----- FUNCTION _compare_str (END) -------
+
+
+----- FUNCTION _keyIn (BEGIN) -----
+ FILE: 'keyscan.c'
+   35: static void keyIn(byte key)
+   36: {
+;---- Variable 'key' assigned to Register 'R7' ----
+   37: 	byte i = 0;
+   38: 
+;---- Variable 'i' assigned to Register 'R6' ----
+001D4E E4                CLR     A
+001D4F FE                MOV     R6,A
+   39: 	if(key >= HID_KEY_LEFT_CTL && key <= HID_KEY_RIGHT_GUI)
+001D50 EF                MOV     A,R7
+001D51 C3                CLR     C
+001D52 94E0              SUBB    A,#0E0H
+001D54 4020              JC      ?C0005?KEYSCAN
+001D56 EF                MOV     A,R7
+001D57 D3                SETB    C
+001D58 94E7              SUBB    A,#0E7H
+001D5A 501A              JNC     ?C0005?KEYSCAN
+   40: 	{
+   41: 		ksEvtPool.standardSel  |=  0x01 << (key & 0x07);
+001D5C 904E32            MOV     DPTR,#ksEvtPool
+001D5F E0                MOVX    A,@DPTR
+001D60 FE                MOV     R6,A
+001D61 EF                MOV     A,R7
+001D62 5407              ANL     A,#07H
+001D64 FF                MOV     R7,A
+001D65 7401              MOV     A,#01H
+001D67 A807              MOV     R0,AR7
+001D69 08                INC     R0
+001D6A 8002              SJMP    ?C0087?KEYSCAN
+001D6C         ?C0086?KEYSCAN:
+001D6C C3                CLR     C
+001D6D 33                RLC     A
+001D6E         ?C0087?KEYSCAN:
+001D6E D8FC              DJNZ    R0,?C0086?KEYSCAN
+001D70 4E                ORL     A,R6
+001D71 904E32            MOV     DPTR,#ksEvtPool
+001D74 F0                MOVX    @DPTR,A
+001D75 22                RET     
+   42: 		return;
+   43: 	}
+001D76         ?C0005?KEYSCAN:
+   44: 
+   45: /*
+   46: 
+   47: 	if (key == HID_KEY_RIGHT_GUI)
+   48: 	{
+   49: 		ksEvtPool.standardSel |= KS_SEL_RGUI;
+   50: 		return;
+   51: 	}
+   52: 	else if (key ==HID_KEY_RIGHT_ALT) 
+   53: 	{
+   54: 		ksEvtPool.standardSel |= KS_SEL_RALT;
+   55: 		return;
+   56: 	}
+   57: 	else if (key ==HID_KEY_RIGHT_SHIFT) 
+   58: 	{
+   59: 		ksEvtPool.standardSel |= KS_SEL_RSHIFT;
+   60: 		return;
+   61: 	}
+   62: 	else if (key ==HID_KEY_RIGHT_CTL) 
+   63: 	{
+   64: 		ksEvtPool.standardSel |= KS_SEL_RCTRL;
+   65: 		return;
+   66: 	}
+   67: 	else if (key ==HID_KEY_LEFT_GUI) 
+   68: 	{
+   69: 		ksEvtPool.standardSel |= KS_SEL_LGUI;
+   70: 		return;
+   71: 	}
+   72: 	else if (key ==HID_KEY_LEFT_ALT) 
+   73: 	{
+   74: 		ksEvtPool.standardSel |= KS_SEL_LALT;
+   75: 		return;
+   76: 	}
+   77: 	else if (key ==HID_KEY_LEFT_SHIFT)
+   78: 	{
+   79: 		ksEvtPool.standardSel |= KS_SEL_LSHIFT;
+   80: 		return;
+   81: 	}
+   82: 	else if (key ==HID_KEY_LEFT_CTL) 
+   83: 	{
+   84: 		ksEvtPool.standardSel |= KS_SEL_LCTRL;
+   85: 		return;
+   86: 	}
+   87: */	
+   88: 	//special key
+   89: 
+   90: 	for (i=0 ; i<KS_BUFF_POLL_LEN ; i++) 
+001D76 E4                CLR     A
+001D77 FE                MOV     R6,A
+001D78         ?C0007?KEYSCAN:
+   91: 	{
+   92: 		if (ksEvtPool.ksPool[i] == key)
+001D78 7433              MOV     A,#LOW ksEvtPool+01H
+001D7A 2E                ADD     A,R6
+001D7B F582              MOV     DPL,A
+001D7D E4                CLR     A
+001D7E 344E              ADDC    A,#HIGH ksEvtPool+01H
+001D80 F583              MOV     DPH,A
+001D82 E0                MOVX    A,@DPTR
+001D83 FD                MOV     R5,A
+001D84 6F                XRL     A,R7
+001D85 601C              JZ      ?C0006?KEYSCAN
+   93: 			break;
+001D87         ?C0010?KEYSCAN:
+   94: 		if (ksEvtPool.ksPool[i] == 0) 
+001D87 ED                MOV     A,R5
+001D88 7014              JNZ     ?C0009?KEYSCAN
+   95: 		{
+   96: 			if(mult_key_value != key)
+001D8A 904DE4            MOV     DPTR,#mult_key_value
+001D8D E0                MOVX    A,@DPTR
+001D8E 6F                XRL     A,R7
+001D8F 6012              JZ      ?C0006?KEYSCAN
+   97: 				ksEvtPool.ksPool[i] = key;
+001D91 7433              MOV     A,#LOW ksEvtPool+01H
+001D93 2E                ADD     A,R6
+001D94 F582              MOV     DPL,A
+001D96 E4                CLR     A
+001D97 344E              ADDC    A,#HIGH ksEvtPool+01H
+001D99 F583              MOV     DPH,A
+001D9B EF                MOV     A,R7
+001D9C F0                MOVX    @DPTR,A
+   98: 			break;
+001D9D 22                RET     
+   99: 		}
+  100: 	}
+001D9E         ?C0009?KEYSCAN:
+001D9E 0E                INC     R6
+001D9F EE                MOV     A,R6
+001DA0 B406D5            CJNE    A,#06H,?C0007?KEYSCAN
+  101: }
+001DA3         ?C0006?KEYSCAN:
+001DA3 22                RET     
+----- FUNCTION _keyIn (END) -------
+
+
+----- FUNCTION _keyOut (BEGIN) -----
+ FILE: 'keyscan.c'
+  103: static void keyOut(byte key)
+  104: {
+;---- Variable 'key' assigned to Register 'R7' ----
+  105: 	byte i = 0 ;
+  106: 	byte found = 0;
+;---- Variable 'i' assigned to Register 'R6' ----
+001DA4 E4                CLR     A
+001DA5 FE                MOV     R6,A
+  107: 
+;---- Variable 'found' assigned to Register 'R5' ----
+001DA6 FD                MOV     R5,A
+  108: 	if ((key &0xF0) == 0xf0 || (key &0xD0) == 0xD0)
+001DA7 EF                MOV     A,R7
+001DA8 54F0              ANL     A,#0F0H
+001DAA 64F0              XRL     A,#0F0H
+001DAC 6007              JZ      ?C0014?KEYSCAN
+001DAE EF                MOV     A,R7
+001DAF 54D0              ANL     A,#0D0H
+001DB1 FC                MOV     R4,A
+001DB2 BCD00C            CJNE    R4,#0D0H,?C0013?KEYSCAN
+001DB5         ?C0014?KEYSCAN:
+  109: 	{
+  110: 		if(mult_key_status == KEY_WAIT_RELEASE)
+001DB5 904DE5            MOV     DPTR,#mult_key_status
+001DB8 E0                MOVX    A,@DPTR
+001DB9 B4020B            CJNE    A,#02H,?C0016?KEYSCAN
+  111: 		{
+  112: 			mult_key_status = KEY_RELEASE;
+001DBC 7403              MOV     A,#03H
+001DBE F0                MOVX    @DPTR,A
+  113: 		}
+  114: 	}
+001DBF 8006              SJMP    ?C0016?KEYSCAN
+001DC1         ?C0013?KEYSCAN:
+  115: 	else
+  116: 		standard_key_release_flag = 1;
+001DC1 904DD8            MOV     DPTR,#standard_key_release_flag
+001DC4 7401              MOV     A,#01H
+001DC6 F0                MOVX    @DPTR,A
+001DC7         ?C0016?KEYSCAN:
+  117: 
+  118: 	if(key >= HID_KEY_LEFT_CTL && key <= HID_KEY_RIGHT_GUI)
+001DC7 EF                MOV     A,R7
+001DC8 C3                CLR     C
+001DC9 94E0              SUBB    A,#0E0H
+001DCB 4020              JC      ?C0017?KEYSCAN
+001DCD EF                MOV     A,R7
+001DCE D3                SETB    C
+001DCF 94E7              SUBB    A,#0E7H
+001DD1 501A              JNC     ?C0017?KEYSCAN
+  119: 	{
+  120: 		ksEvtPool.standardSel  &= ~0x01 << (key & 0x07);
+001DD3 904E32            MOV     DPTR,#ksEvtPool
+001DD6 E0                MOVX    A,@DPTR
+001DD7 FE                MOV     R6,A
+001DD8 EF                MOV     A,R7
+001DD9 5407              ANL     A,#07H
+001DDB FF                MOV     R7,A
+001DDC 74FE              MOV     A,#0FEH
+001DDE A807              MOV     R0,AR7
+001DE0 08                INC     R0
+001DE1 8002              SJMP    ?C0089?KEYSCAN
+001DE3         ?C0088?KEYSCAN:
+001DE3 C3                CLR     C
+001DE4 33                RLC     A
+001DE5         ?C0089?KEYSCAN:
+001DE5 D8FC              DJNZ    R0,?C0088?KEYSCAN
+001DE7 5E                ANL     A,R6
+001DE8 904E32            MOV     DPTR,#ksEvtPool
+001DEB F0                MOVX    @DPTR,A
+001DEC 22                RET     
+  121: 		return;
+  122: 	}
+001DED         ?C0017?KEYSCAN:
+  123: 
+  124: /*
+  125: 	if (key == HID_KEY_RIGHT_GUI ) 
+  126: 	{
+  127: 		ksEvtPool.standardSel &= ~KS_SEL_RGUI;
+  128: 		return;
+  129: 	}
+  130: 	else if (key ==HID_KEY_RIGHT_ALT ) 
+  131: 	{
+  132: 		ksEvtPool.standardSel &= ~KS_SEL_RALT;
+  133: 		return;
+  134: 	}
+  135: 	else if (key ==HID_KEY_RIGHT_SHIFT) 
+  136: 	{
+  137: 		ksEvtPool.standardSel &= ~KS_SEL_RSHIFT;
+  138: 		return;
+  139: 	}
+  140: 	else if (key ==HID_KEY_RIGHT_CTL) 
+  141: 	{
+  142: 		ksEvtPool.standardSel &= ~KS_SEL_RCTRL;
+  143: 		return;
+  144: 	}
+  145: 	else if (key ==HID_KEY_LEFT_GUI)
+  146: 	{
+  147: 		ksEvtPool.standardSel &= ~KS_SEL_LGUI;
+  148: 		return;
+  149: 	}
+  150: 	else if (key ==HID_KEY_LEFT_ALT)
+  151: 	{
+  152: 		ksEvtPool.standardSel &= ~KS_SEL_LALT;
+  153: 		return;
+  154: 	}
+  155: 	else if (key ==HID_KEY_LEFT_SHIFT) 
+  156: 	{
+  157: 		ksEvtPool.standardSel &= ~KS_SEL_LSHIFT;
+  158: 		return;
+  159: 	}
+  160: 	else if (key ==HID_KEY_LEFT_CTL) 
+  161: 	{
+  162: 		ksEvtPool.standardSel &= ~ KS_SEL_LCTRL;
+  163: 		return;
+  164: 	}
+  165: */	
+  166: 	for (i=0 ; i<KS_BUFF_POLL_LEN ; i++) 
+001DED E4                CLR     A
+001DEE FE                MOV     R6,A
+001DEF         ?C0019?KEYSCAN:
+  167: 	{
+  168: 		if (found == 0) 
+001DEF ED                MOV     A,R5
+001DF0 7021              JNZ     ?C0022?KEYSCAN
+  169: 		{
+  170: 			if (ksEvtPool.ksPool[i] == key) {
+001DF2 7433              MOV     A,#LOW ksEvtPool+01H
+001DF4 2E                ADD     A,R6
+001DF5 F582              MOV     DPL,A
+001DF7 E4                CLR     A
+001DF8 344E              ADDC    A,#HIGH ksEvtPool+01H
+001DFA F583              MOV     DPH,A
+001DFC E0                MOVX    A,@DPTR
+001DFD 6F                XRL     A,R7
+001DFE 7047              JNZ     ?C0021?KEYSCAN
+  171: 				if (i == KS_BUFF_POLL_LEN-1) {
+001E00 EE                MOV     A,R6
+001E01 B4050B            CJNE    A,#05H,?C0024?KEYSCAN
+  172: 					ksEvtPool.ksPool[i] = 0;
+001E04 2433              ADD     A,#LOW ksEvtPool+01H
+001E06 F582              MOV     DPL,A
+001E08 E4                CLR     A
+001E09 344E              ADDC    A,#HIGH ksEvtPool+01H
+001E0B F583              MOV     DPH,A
+001E0D E4                CLR     A
+001E0E F0                MOVX    @DPTR,A
+  173: 				}
+001E0F         ?C0024?KEYSCAN:
+  174: 				found = 1;
+001E0F 7D01              MOV     R5,#01H
+  175: 			}
+  176: 		}
+001E11 8034              SJMP    ?C0021?KEYSCAN
+001E13         ?C0022?KEYSCAN:
+  177: 		else 
+  178: 		{
+  179: 			ksEvtPool.ksPool[i-1] = ksEvtPool.ksPool[i];
+001E13 7433              MOV     A,#LOW ksEvtPool+01H
+001E15 2E                ADD     A,R6
+001E16 F582              MOV     DPL,A
+001E18 E4                CLR     A
+001E19 344E              ADDC    A,#HIGH ksEvtPool+01H
+001E1B F583              MOV     DPH,A
+001E1D E0                MOVX    A,@DPTR
+001E1E FC                MOV     R4,A
+001E1F 7432              MOV     A,#LOW ksEvtPool
+001E21 2E                ADD     A,R6
+001E22 F582              MOV     DPL,A
+001E24 E4                CLR     A
+001E25 344E              ADDC    A,#HIGH ksEvtPool
+001E27 F583              MOV     DPH,A
+001E29 EC                MOV     A,R4
+001E2A F0                MOVX    @DPTR,A
+  180: 			if (ksEvtPool.ksPool[i] == 0)
+001E2B 7433              MOV     A,#LOW ksEvtPool+01H
+001E2D 2E                ADD     A,R6
+001E2E F582              MOV     DPL,A
+001E30 E4                CLR     A
+001E31 344E              ADDC    A,#HIGH ksEvtPool+01H
+001E33 F583              MOV     DPH,A
+001E35 E0                MOVX    A,@DPTR
+001E36 6014              JZ      ?C0018?KEYSCAN
+  181: 				break;
+001E38         ?C0026?KEYSCAN:
+  182: 			if (i == KS_BUFF_POLL_LEN-1) {
+001E38 EE                MOV     A,R6
+001E39 B4050B            CJNE    A,#05H,?C0021?KEYSCAN
+  183: 				ksEvtPool.ksPool[i] = 0;
+001E3C 2433              ADD     A,#LOW ksEvtPool+01H
+001E3E F582              MOV     DPL,A
+001E40 E4                CLR     A
+001E41 344E              ADDC    A,#HIGH ksEvtPool+01H
+001E43 F583              MOV     DPH,A
+001E45 E4                CLR     A
+001E46 F0                MOVX    @DPTR,A
+  184: 			}
+  185: 		}
+  186: 	}
+001E47         ?C0021?KEYSCAN:
+001E47 0E                INC     R6
+001E48 EE                MOV     A,R6
+001E49 B406A3            CJNE    A,#06H,?C0019?KEYSCAN
+  187: }
+001E4C         ?C0018?KEYSCAN:
+001E4C 22                RET     
+----- FUNCTION _keyOut (END) -------
+
+
+----- FUNCTION KS_ScanMatrix (BEGIN) -----
+ FILE: 'keyscan.c'
+  260: void KS_ScanMatrix()
+  261: {
+  262: 	byte i = 0;
+  263: 	byte j = 0;
+;---- Variable 'i' assigned to Register 'R7' ----
+001E4D E4                CLR     A
+001E4E FF                MOV     R7,A
+  264: 	byte tgroup = 0;
+001E4F 904E6A            MOV     DPTR,#j
+001E52 F0                MOVX    @DPTR,A
+  265: 	byte tgpionum = 0;
+;---- Variable 'tgroup' assigned to Register 'R6' ----
+001E53 FE                MOV     R6,A
+  266: 	byte temp = 0;
+;---- Variable 'tgpionum' assigned to Register 'R5' ----
+001E54 FD                MOV     R5,A
+  267: 	byte check = 0;
+001E55 A3                INC     DPTR
+001E56 F0                MOVX    @DPTR,A
+  268: 	byte rawSel = 0;
+001E57 A3                INC     DPTR
+001E58 F0                MOVX    @DPTR,A
+  269: 	for (i=0; col[i]!=0; i++) {
+001E59 A3                INC     DPTR
+001E5A F0                MOVX    @DPTR,A
+  270: 		tgroup = col[i]  >> 3;
+001E5B         ?C0043?KEYSCAN:
+001E5B EF                MOV     A,R7
+001E5C 90060C            MOV     DPTR,#col
+001E5F 93                MOVC    A,@A+DPTR
+001E60 607C              JZ      ?C0044?KEYSCAN
+  271: 		tgpionum = 1 << (col[i] & 7);
+001E62 EF                MOV     A,R7
+001E63 93                MOVC    A,@A+DPTR
+001E64 FD                MOV     R5,A
+001E65 13                RRC     A
+001E66 13                RRC     A
+001E67 13                RRC     A
+001E68 541F              ANL     A,#01FH
+001E6A FE                MOV     R6,A
+  272: 		GET_RAW_KEY_SEL(ksSelMapCurr[i], tgroup, tgpionum);
+001E6B ED                MOV     A,R5
+001E6C 5407              ANL     A,#07H
+001E6E FD                MOV     R5,A
+001E6F 7401              MOV     A,#01H
+001E71 A805              MOV     R0,AR5
+001E73 08                INC     R0
+001E74 8002              SJMP    ?C0093?KEYSCAN
+001E76         ?C0092?KEYSCAN:
+001E76 C3                CLR     C
+001E77 33                RLC     A
+001E78         ?C0093?KEYSCAN:
+001E78 D8FC              DJNZ    R0,?C0092?KEYSCAN
+001E7A FD                MOV     R5,A
+  273: 	}
+001E7B EE                MOV     A,R6
+001E7C 2478              ADD     A,#078H
+001E7E FB                MOV     R3,A
+001E7F E4                CLR     A
+001E80 3480              ADDC    A,#080H
+001E82 8B82              MOV     DPL,R3
+001E84 F583              MOV     DPH,A
+001E86 E0                MOVX    A,@DPTR
+001E87 FC                MOV     R4,A
+001E88 ED                MOV     A,R5
+001E89 F4                CPL     A
+001E8A FB                MOV     R3,A
+001E8B EC                MOV     A,R4
+001E8C 5B                ANL     A,R3
+001E8D F0                MOVX    @DPTR,A
+001E8E EE                MOV     A,R6
+001E8F 2470              ADD     A,#070H
+001E91 F582              MOV     DPL,A
+001E93 E4                CLR     A
+001E94 3480              ADDC    A,#080H
+001E96 F583              MOV     DPH,A
+001E98 E0                MOVX    A,@DPTR
+001E99 4D                ORL     A,R5
+001E9A F0                MOVX    @DPTR,A
+001E9B EE                MOV     A,R6
+001E9C 2474              ADD     A,#074H
+001E9E F582              MOV     DPL,A
+001EA0 E4                CLR     A
+001EA1 3480              ADDC    A,#080H
+001EA3 F583              MOV     DPH,A
+001EA5 E0                MOVX    A,@DPTR
+001EA6 5B                ANL     A,R3
+001EA7 F0                MOVX    @DPTR,A
+001EA8 90811C            MOV     DPTR,#0811CH
+001EAB E0                MOVX    A,@DPTR
+001EAC F4                CPL     A
+001EAD FC                MOV     R4,A
+001EAE 74BC              MOV     A,#LOW ksSelMapCurr
+001EB0 2F                ADD     A,R7
+001EB1 F582              MOV     DPL,A
+001EB3 E4                CLR     A
+001EB4 344D              ADDC    A,#HIGH ksSelMapCurr
+001EB6 F583              MOV     DPH,A
+001EB8 EC                MOV     A,R4
+001EB9 F0                MOVX    @DPTR,A
+001EBA EE                MOV     A,R6
+001EBB 2478              ADD     A,#078H
+001EBD FB                MOV     R3,A
+001EBE E4                CLR     A
+001EBF 3480              ADDC    A,#080H
+001EC1 8B82              MOV     DPL,R3
+001EC3 F583              MOV     DPH,A
+001EC5 E0                MOVX    A,@DPTR
+001EC6 4D                ORL     A,R5
+001EC7 F0                MOVX    @DPTR,A
+001EC8 EE                MOV     A,R6
+001EC9 2470              ADD     A,#070H
+001ECB FB                MOV     R3,A
+001ECC E4                CLR     A
+001ECD 3480              ADDC    A,#080H
+001ECF 8B82              MOV     DPL,R3
+001ED1 F583              MOV     DPH,A
+001ED3 E0                MOVX    A,@DPTR
+001ED4 FC                MOV     R4,A
+001ED5 ED                MOV     A,R5
+001ED6 F4                CPL     A
+001ED7 FB                MOV     R3,A
+001ED8 EC                MOV     A,R4
+001ED9 5B                ANL     A,R3
+001EDA F0                MOVX    @DPTR,A
+  274: 
+001EDB 0F                INC     R7
+001EDC C15B              AJMP    ?C0043?KEYSCAN
+001EDE         ?C0044?KEYSCAN:
+  275: 	for (i=0; col[i]!=0; i++) {
+001EDE E4                CLR     A
+001EDF FF                MOV     R7,A
+001EE0         ?C0046?KEYSCAN:
+001EE0 EF                MOV     A,R7
+001EE1 90060C            MOV     DPTR,#col
+001EE4 93                MOVC    A,@A+DPTR
+001EE5 607C              JZ      ?C0047?KEYSCAN
+  276: 		tgroup = col[i]  >> 3;
+001EE7 EF                MOV     A,R7
+001EE8 93                MOVC    A,@A+DPTR
+001EE9 FD                MOV     R5,A
+001EEA 13                RRC     A
+001EEB 13                RRC     A
+001EEC 13                RRC     A
+001EED 541F              ANL     A,#01FH
+001EEF FE                MOV     R6,A
+  277: 		tgpionum = 1 << (col[i] & 7);
+001EF0 ED                MOV     A,R5
+001EF1 5407              ANL     A,#07H
+001EF3 FD                MOV     R5,A
+001EF4 7401              MOV     A,#01H
+001EF6 A805              MOV     R0,AR5
+001EF8 08                INC     R0
+001EF9 8002              SJMP    ?C0095?KEYSCAN
+001EFB         ?C0094?KEYSCAN:
+001EFB C3                CLR     C
+001EFC 33                RLC     A
+001EFD         ?C0095?KEYSCAN:
+001EFD D8FC              DJNZ    R0,?C0094?KEYSCAN
+001EFF FD                MOV     R5,A
+  278: 		GET_RAW_KEY_SEL(ksSelMapCheck[i], tgroup, tgpionum);
+001F00 EE                MOV     A,R6
+001F01 2478              ADD     A,#078H
+001F03 FB                MOV     R3,A
+001F04 E4                CLR     A
+001F05 3480              ADDC    A,#080H
+001F07 8B82              MOV     DPL,R3
+001F09 F583              MOV     DPH,A
+001F0B E0                MOVX    A,@DPTR
+001F0C FC                MOV     R4,A
+001F0D ED                MOV     A,R5
+001F0E F4                CPL     A
+001F0F FB                MOV     R3,A
+001F10 EC                MOV     A,R4
+001F11 5B                ANL     A,R3
+001F12 F0                MOVX    @DPTR,A
+001F13 EE                MOV     A,R6
+001F14 2470              ADD     A,#070H
+001F16 F582              MOV     DPL,A
+001F18 E4                CLR     A
+001F19 3480              ADDC    A,#080H
+001F1B F583              MOV     DPH,A
+001F1D E0                MOVX    A,@DPTR
+001F1E 4D                ORL     A,R5
+001F1F F0                MOVX    @DPTR,A
+001F20 EE                MOV     A,R6
+001F21 2474              ADD     A,#074H
+001F23 F582              MOV     DPL,A
+001F25 E4                CLR     A
+001F26 3480              ADDC    A,#080H
+001F28 F583              MOV     DPH,A
+001F2A E0                MOVX    A,@DPTR
+001F2B 5B                ANL     A,R3
+001F2C F0                MOVX    @DPTR,A
+001F2D 90811C            MOV     DPTR,#0811CH
+001F30 E0                MOVX    A,@DPTR
+001F31 F4                CPL     A
+001F32 FC                MOV     R4,A
+001F33 74A8              MOV     A,#LOW ksSelMapCheck
+001F35 2F                ADD     A,R7
+001F36 F582              MOV     DPL,A
+001F38 E4                CLR     A
+001F39 344D              ADDC    A,#HIGH ksSelMapCheck
+001F3B F583              MOV     DPH,A
+001F3D EC                MOV     A,R4
+001F3E F0                MOVX    @DPTR,A
+001F3F EE                MOV     A,R6
+001F40 2478              ADD     A,#078H
+001F42 FB                MOV     R3,A
+001F43 E4                CLR     A
+001F44 3480              ADDC    A,#080H
+001F46 8B82              MOV     DPL,R3
+001F48 F583              MOV     DPH,A
+001F4A E0                MOVX    A,@DPTR
+001F4B 4D                ORL     A,R5
+001F4C F0                MOVX    @DPTR,A
+001F4D EE                MOV     A,R6
+001F4E 2470              ADD     A,#070H
+001F50 FB                MOV     R3,A
+001F51 E4                CLR     A
+001F52 3480              ADDC    A,#080H
+001F54 8B82              MOV     DPL,R3
+001F56 F583              MOV     DPH,A
+001F58 E0                MOVX    A,@DPTR
+001F59 FC                MOV     R4,A
+001F5A ED                MOV     A,R5
+001F5B F4                CPL     A
+001F5C FB                MOV     R3,A
+001F5D EC                MOV     A,R4
+001F5E 5B                ANL     A,R3
+001F5F F0                MOVX    @DPTR,A
+  279: 	}
+001F60 0F                INC     R7
+001F61 C1E0              AJMP    ?C0046?KEYSCAN
+001F63         ?C0047?KEYSCAN:
+  280: 
+  281: 	for (i=0; col[i]!=0; i++) {
+001F63 E4                CLR     A
+001F64 FF                MOV     R7,A
+001F65         ?C0049?KEYSCAN:
+001F65 EF                MOV     A,R7
+001F66 90060C            MOV     DPTR,#col
+001F69 93                MOVC    A,@A+DPTR
+001F6A 6040              JZ      ?C0053?KEYSCAN
+  282: 		if (ksSelMapCheck[i]!=ksSelMapCurr[i]) {
+001F6C 74BC              MOV     A,#LOW ksSelMapCurr
+001F6E 2F                ADD     A,R7
+001F6F F582              MOV     DPL,A
+001F71 E4                CLR     A
+001F72 344D              ADDC    A,#HIGH ksSelMapCurr
+001F74 F583              MOV     DPH,A
+001F76 E0                MOVX    A,@DPTR
+001F77 FE                MOV     R6,A
+001F78 74A8              MOV     A,#LOW ksSelMapCheck
+001F7A 2F                ADD     A,R7
+001F7B F582              MOV     DPL,A
+001F7D E4                CLR     A
+001F7E 344D              ADDC    A,#HIGH ksSelMapCheck
+001F80 F583              MOV     DPH,A
+001F82 E0                MOVX    A,@DPTR
+001F83 6E                XRL     A,R6
+001F84 6023              JZ      ?C0051?KEYSCAN
+  283: 			ksSelMapCurr[i] &= ksSelMapCheck[i];
+001F86 74BC              MOV     A,#LOW ksSelMapCurr
+001F88 2F                ADD     A,R7
+001F89 F582              MOV     DPL,A
+001F8B E4                CLR     A
+001F8C 344D              ADDC    A,#HIGH ksSelMapCurr
+001F8E F583              MOV     DPH,A
+001F90 C083              PUSH    DPH
+001F92 C082              PUSH    DPL
+001F94 E0                MOVX    A,@DPTR
+001F95 FE                MOV     R6,A
+001F96 74A8              MOV     A,#LOW ksSelMapCheck
+001F98 2F                ADD     A,R7
+001F99 F582              MOV     DPL,A
+001F9B E4                CLR     A
+001F9C 344D              ADDC    A,#HIGH ksSelMapCheck
+001F9E F583              MOV     DPH,A
+001FA0 E0                MOVX    A,@DPTR
+001FA1 FD                MOV     R5,A
+001FA2 EE                MOV     A,R6
+001FA3 5D                ANL     A,R5
+001FA4 D082              POP     DPL
+001FA6 D083              POP     DPH
+001FA8 F0                MOVX    @DPTR,A
+  284: 		}
+  285: 	}
+001FA9         ?C0051?KEYSCAN:
+001FA9 0F                INC     R7
+001FAA 80B9              SJMP    ?C0049?KEYSCAN
+  286: }
+001FAC         ?C0053?KEYSCAN:
+001FAC 22                RET     
+----- FUNCTION KS_ScanMatrix (END) -------
+
+
+----- FUNCTION System_Software_init (BEGIN) -----
+ FILE: 'sys.c'
+   49: void System_Software_init()
+   50: {
+   51: 	System_clear_mem();
+   52: 	YC_adc_init();
+001FAD 120C23            LCALL   System_clear_mem
+   53: 	g_variable.release_data =1;
+001FB0 122109            LCALL   YC_adc_init
+   54: 	g_variable.powerOn_timer = KB_POWERON_LED_ON_TIMER;
+001FB3 904CEB            MOV     DPTR,#g_variable+02CH
+001FB6 7401              MOV     A,#01H
+001FB8 F0                MOVX    @DPTR,A
+   55: 	g_variable.recon_count = 0;
+001FB9 904CE5            MOV     DPTR,#g_variable+026H
+001FBC 740A              MOV     A,#0AH
+001FBE F0                MOVX    @DPTR,A
+   56: 	g_variable.test_buff = 0xff;
+001FBF E4                CLR     A
+001FC0 904CF0            MOV     DPTR,#g_variable+031H
+001FC3 F0                MOVX    @DPTR,A
+   57: }
+001FC4 904D03            MOV     DPTR,#g_variable+044H
+001FC7 74FF              MOV     A,#0FFH
+001FC9 F0                MOVX    @DPTR,A
+   58: 
+001FCA 22                RET     
+----- FUNCTION System_Software_init (END) -------
+
+
+----- FUNCTION System_Hardware_reset (BEGIN) -----
+ FILE: 'sys.c'
+   59: static void System_Hardware_reset()
+   60: {
+   61: 	m_reset_reg = 1;
+   62: 	while(1);
+001FCB 908010            MOV     DPTR,#m_reset_reg
+001FCE 7401              MOV     A,#01H
+001FD0 F0                MOVX    @DPTR,A
+001FD1         ?C0004?SYS:
+   63: }
+001FD1 80FE              SJMP    ?C0004?SYS
+001FD3 22                RET     
+----- FUNCTION System_Hardware_reset (END) -------
+
+
+----- FUNCTION System_Reset_Connect (BEGIN) -----
+ FILE: 'sys.c'
+   71: void System_Reset_Connect()
+   72: {
+   73: 	System_Hardware_reset();
+   74: }
+001FD4 80F5              SJMP    System_Hardware_reset
+----- FUNCTION System_Reset_Connect (END) -------
+
+
+----- FUNCTION _kb_cb_Hid (BEGIN) -----
+ FILE: 'sys.c'
+   81: static void kb_cb_Hid(byte *p,byte len) {
+   82: 	//p[0] is hid type,always is 1(kb) now
+001FD6 904E8F            MOV     DPTR,#len
+001FD9 ED                MOV     A,R5
+001FDA F0                MOVX    @DPTR,A
+;---- Variable 'p' assigned to Register 'R1/R2/R3' ----
+   83: 	byte temp = p[1];
+001FDB 900001            MOV     DPTR,#01H
+001FDE 1203CF            LCALL   ?C?CLDOPTR
+001FE1 904E90            MOV     DPTR,#temp
+001FE4 F0                MOVX    @DPTR,A
+   84: 
+   85: 	if (len<2) {
+   86: 		return;
+   87: 	}
+   88: }
+001FE5 22                RET     
+----- FUNCTION _kb_cb_Hid (END) -------
+
+
+----- FUNCTION YC_connect_timeout_500ms (BEGIN) -----
+ FILE: 'sys.c'
+  176: void YC_connect_timeout_500ms()
+  177: {
+  178: 	
+  179: //system long sleep timer
+  180: 	if(g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+001FE6 904CC5            MOV     DPTR,#g_variable+06H
+001FE9 E0                MOVX    A,@DPTR
+001FEA B40311            CJNE    A,#03H,?C0031?SYS
+  181: 	{
+  182: 		if (g_variable.sleepTimer == STANDBY_TIMER_5MIN)
+001FED 904CE3            MOV     DPTR,#g_variable+024H
+001FF0 E0                MOVX    A,@DPTR
+001FF1 6402              XRL     A,#02H
+001FF3 7004              JNZ     ?C0088?SYS
+001FF5 A3                INC     DPTR
+001FF6 E0                MOVX    A,@DPTR
+001FF7 6458              XRL     A,#058H
+001FF9         ?C0088?SYS:
+001FF9 702D              JNZ     ?C0038?SYS
+  183: 			System_long_sleep();
+001FFB 0207A8            LJMP    System_long_sleep
+  184: 	}
+001FFE         ?C0031?SYS:
+  185: 	else if(g_variable.g24_currentState == CHANGE_TO_24G_PAIRING)
+001FFE 904CC5            MOV     DPTR,#g_variable+06H
+002001 E0                MOVX    A,@DPTR
+002002 B40114            CJNE    A,#01H,?C0034?SYS
+  186: 	{
+  187: 		if (g_variable.sleepTimer == G24_PAIRING_TIME_OUT_30S)
+002005 904CE3            MOV     DPTR,#g_variable+024H
+002008 E0                MOVX    A,@DPTR
+002009 7004              JNZ     ?C0089?SYS
+00200B A3                INC     DPTR
+00200C E0                MOVX    A,@DPTR
+00200D 643C              XRL     A,#03CH
+00200F         ?C0089?SYS:
+00200F 7017              JNZ     ?C0038?SYS
+  188: 		{
+  189: 			IPC_TxControlCmd(IPC_CMD_STOP_24G);
+002011 7F22              MOV     R7,#022H
+002013 1207AF            LCALL   _IPC_TxControlCmd
+  190: 			System_long_sleep();
+002016 0207A8            LJMP    System_long_sleep
+  191: 		}
+  192: 	}
+002019         ?C0034?SYS:
+  193: 	else
+  194: 	{
+  195: 		if (g_variable.sleepTimer == RECONNECT_TIMER_10S)
+002019 904CE3            MOV     DPTR,#g_variable+024H
+00201C E0                MOVX    A,@DPTR
+00201D 7004              JNZ     ?C0090?SYS
+00201F A3                INC     DPTR
+002020 E0                MOVX    A,@DPTR
+002021 6414              XRL     A,#014H
+002023         ?C0090?SYS:
+002023 7003              JNZ     ?C0038?SYS
+  196: 		{
+  197: 			System_long_sleep();
+002025 1207A8            LCALL   System_long_sleep
+  198: 		}
+  199: 	}
+  200: }
+002028         ?C0038?SYS:
+002028 22                RET     
+----- FUNCTION YC_connect_timeout_500ms (END) -------
+
+
+----- FUNCTION kb_cb_Timer100ms (BEGIN) -----
+ FILE: 'sys.c'
+  283: static void kb_cb_Timer100ms()
+  284: {
+  285: 
+  286: 	if (g_variable.delay_enter_lpm_timer) 
+002029 904CEA            MOV     DPTR,#g_variable+02BH
+00202C E0                MOVX    A,@DPTR
+00202D 6002              JZ      ?C0057?SYS
+  287: 	{
+  288: 		g_variable.delay_enter_lpm_timer --;
+00202F 14                DEC     A
+002030 F0                MOVX    @DPTR,A
+  289: 	}
+002031         ?C0057?SYS:
+  290: 
+  291: 	if(g_variable.recon_delay)
+002031 904CEF            MOV     DPTR,#g_variable+030H
+002034 E0                MOVX    A,@DPTR
+002035 6002              JZ      ?C0058?SYS
+  292: 		g_variable.recon_delay--;
+002037 14                DEC     A
+002038 F0                MOVX    @DPTR,A
+002039         ?C0058?SYS:
+  293: 
+  294: 	if (g_variable.powerOn_timer != 0)
+002039 904CE5            MOV     DPTR,#g_variable+026H
+00203C E0                MOVX    A,@DPTR
+00203D 6034              JZ      ?C0059?SYS
+  295: 	{	
+  296: 		g_variable.powerOn_timer--;
+00203F 14                DEC     A
+002040 F0                MOVX    @DPTR,A
+  297: 		GPIO_Setout(NUM_LOCK_LED_GPIO,LED_ON);
+002041 C201              CLR     ?_GPIO_Setout?BIT
+002043 7F1C              MOV     R7,#01CH
+002045 120796            LCALL   _GPIO_Setout
+  298: 		GPIO_Setout(CAPS_LED_GPIO,LED_ON);
+002048 C201              CLR     ?_GPIO_Setout?BIT
+00204A 7F1D              MOV     R7,#01DH
+00204C 120796            LCALL   _GPIO_Setout
+  299: 		GPIO_Setout(SCROLL_LED_GPIO,LED_ON);
+00204F C201              CLR     ?_GPIO_Setout?BIT
+002051 7F1E              MOV     R7,#01EH
+002053 120796            LCALL   _GPIO_Setout
+  300: 		if (!g_variable.powerOn_timer)
+002056 904CE5            MOV     DPTR,#g_variable+026H
+002059 E0                MOVX    A,@DPTR
+00205A 7070              JNZ     ?C0061?SYS
+  301: 		{
+  302: 			GPIO_Setout(NUM_LOCK_LED_GPIO,LED_OFF);
+00205C D201              SETB    ?_GPIO_Setout?BIT
+00205E 7F1C              MOV     R7,#01CH
+002060 120796            LCALL   _GPIO_Setout
+  303: 			GPIO_Setout(CAPS_LED_GPIO,LED_OFF);
+002063 D201              SETB    ?_GPIO_Setout?BIT
+002065 7F1D              MOV     R7,#01DH
+002067 120796            LCALL   _GPIO_Setout
+  304: 			GPIO_Setout(SCROLL_LED_GPIO,LED_OFF);
+00206A D201              SETB    ?_GPIO_Setout?BIT
+00206C 7F1E              MOV     R7,#01EH
+00206E 120796            LCALL   _GPIO_Setout
+  305: 		}
+  306: 	}
+002071 8059              SJMP    ?C0061?SYS
+002073         ?C0059?SYS:
+  307: 	else if (g_variable.pairing_g24_timeout == 0) //bt  pairing
+002073 904CEE            MOV     DPTR,#g_variable+02FH
+002076 E0                MOVX    A,@DPTR
+002077 7053              JNZ     ?C0061?SYS
+  308: 	{
+  309: 		if(g_variable.battery_low_led_flash_interval)
+002079 904CE2            MOV     DPTR,#g_variable+023H
+00207C E0                MOVX    A,@DPTR
+00207D 604D              JZ      ?C0061?SYS
+  310: 		{
+  311: 			g_variable.battery_low_led_flash_interval--;
+00207F 14                DEC     A
+002080 F0                MOVX    @DPTR,A
+  312: 			if(g_variable.sleepTimer <= LOW_BATTARY_FLASH_20S)
+002081 D3                SETB    C
+002082 904CE4            MOV     DPTR,#g_variable+025H
+002085 E0                MOVX    A,@DPTR
+002086 9428              SUBB    A,#028H
+002088 904CE3            MOV     DPTR,#g_variable+024H
+00208B E0                MOVX    A,@DPTR
+00208C 9400              SUBB    A,#00H
+00208E 5033              JNC     ?C0064?SYS
+  313: 			{
+  314: 				if(g_variable.battery_low_led_flash_interval & 0x02)
+002090 904CE2            MOV     DPTR,#g_variable+023H
+002093 E0                MOVX    A,@DPTR
+002094 30E117            JNB     ACC.1,?C0065?SYS
+  315: 				{
+  316: 					GPIO_Setout(NUM_LOCK_LED_GPIO,LED_ON);
+002097 C201              CLR     ?_GPIO_Setout?BIT
+002099 7F1C              MOV     R7,#01CH
+00209B 120796            LCALL   _GPIO_Setout
+  317: 					GPIO_Setout(CAPS_LED_GPIO,LED_ON);
+00209E C201              CLR     ?_GPIO_Setout?BIT
+0020A0 7F1D              MOV     R7,#01DH
+0020A2 120796            LCALL   _GPIO_Setout
+  318: 					GPIO_Setout(SCROLL_LED_GPIO,LED_ON);
+0020A5 C201              CLR     ?_GPIO_Setout?BIT
+0020A7 7F1E              MOV     R7,#01EH
+0020A9 120796            LCALL   _GPIO_Setout
+  319: 				}
+0020AC 8015              SJMP    ?C0064?SYS
+0020AE         ?C0065?SYS:
+  320: 				else
+  321: 				{
+  322: 					GPIO_Setout(NUM_LOCK_LED_GPIO,LED_OFF);
+0020AE D201              SETB    ?_GPIO_Setout?BIT
+0020B0 7F1C              MOV     R7,#01CH
+0020B2 120796            LCALL   _GPIO_Setout
+  323: 					GPIO_Setout(CAPS_LED_GPIO,LED_OFF);
+0020B5 D201              SETB    ?_GPIO_Setout?BIT
+0020B7 7F1D              MOV     R7,#01DH
+0020B9 120796            LCALL   _GPIO_Setout
+  324: 					GPIO_Setout(SCROLL_LED_GPIO,LED_OFF);
+0020BC D201              SETB    ?_GPIO_Setout?BIT
+0020BE 7F1E              MOV     R7,#01EH
+0020C0 120796            LCALL   _GPIO_Setout
+  325: 				}
+  326: 			}
+0020C3         ?C0064?SYS:
+  327: 			if(!g_variable.battery_low_led_flash_interval)
+0020C3 904CE2            MOV     DPTR,#g_variable+023H
+0020C6 E0                MOVX    A,@DPTR
+0020C7 7003              JNZ     ?C0061?SYS
+  328: 				g_variable.battery_low_led_flash_interval = LOW_BATTERY_FLASH_INTERVAL;
+0020C9 7404              MOV     A,#04H
+0020CB F0                MOVX    @DPTR,A
+  329: 		}
+  330: 	}
+0020CC         ?C0061?SYS:
+  331: 	
+  332: // The dongle must receive data within 200ms, otherwise it will be forced to lift
+  333: 	if(!long_press_flag)
+0020CC 904DD5            MOV     DPTR,#long_press_flag
+0020CF E0                MOVX    A,@DPTR
+0020D0 702D              JNZ     ?C0068?SYS
+  334: 	{
+  335: 		if (repeat_send_24g == 1)
+0020D2 904DD6            MOV     DPTR,#repeat_send_24g
+0020D5 E0                MOVX    A,@DPTR
+0020D6 6401              XRL     A,#01H
+0020D8 7025              JNZ     ?C0068?SYS
+  336: 		{
+  337: 			repeat_send_24g = 0;
+0020DA F0                MOVX    @DPTR,A
+  338: 
+  339: 			 if (multikey[0] != 0)
+0020DB 904DE6            MOV     DPTR,#multikey
+0020DE E0                MOVX    A,@DPTR
+0020DF 600D              JZ      ?C0070?SYS
+  340: 			{
+  341: 				IPC_TxHidData(multikey, 3);
+0020E1 7B01              MOV     R3,#01H
+0020E3 7A4D              MOV     R2,#HIGH multikey
+0020E5 79E6              MOV     R1,#LOW multikey
+0020E7 7D03              MOV     R5,#03H
+0020E9 120902            LCALL   _IPC_TxHidData
+  342: 			}
+0020EC 8011              SJMP    ?C0068?SYS
+0020EE         ?C0070?SYS:
+  343: 			else if (hidBuff[0] != 0)
+0020EE 904800            MOV     DPTR,#hidBuff
+0020F1 E0                MOVX    A,@DPTR
+0020F2 600B              JZ      ?C0068?SYS
+  344: 			{
+  345: 
+  346: 				IPC_TxHidData(hidBuff,9);
+0020F4 7B01              MOV     R3,#01H
+0020F6 7A48              MOV     R2,#HIGH hidBuff
+0020F8 7900              MOV     R1,#LOW hidBuff
+0020FA 7D09              MOV     R5,#09H
+0020FC 120902            LCALL   _IPC_TxHidData
+  347: 			}
+  348: 		}
+  349: 	}
+0020FF         ?C0068?SYS:
+  350: 
+  351: 	if (delayChgInvTimer != 0){
+0020FF 904DDE            MOV     DPTR,#delayChgInvTimer
+002102 E0                MOVX    A,@DPTR
+002103 6003              JZ      ?C0074?SYS
+  352: 		delayChgInvTimer--;
+002105 E0                MOVX    A,@DPTR
+002106 14                DEC     A
+002107 F0                MOVX    @DPTR,A
+  353: 	}
+  354: }
+002108         ?C0074?SYS:
+002108 22                RET     
+----- FUNCTION kb_cb_Timer100ms (END) -------
+
+
+----- FUNCTION YC_adc_init (BEGIN) -----
+ FILE: 'adc.c'
+    3: void YC_adc_init()
+    4: {
+    5: #ifdef  ADC_ENABLE
+    6: 	byte i;
+    7: 	
+    8: 	g_variable.battery_check_interval = BATTERY_CHECK_INTERVAL;
+002109 904CD3            MOV     DPTR,#g_variable+014H
+00210C 7405              MOV     A,#05H
+00210E F0                MOVX    @DPTR,A
+    9: 	g_variable.battery_value_index = 0;
+00210F E4                CLR     A
+002110 A3                INC     DPTR
+002111 F0                MOVX    @DPTR,A
+   10: 
+   11: #ifdef ADC_TYPE_HVIN 	
+   12: 	for (i = 0; i < BAT_ARRAY_LEN; i++)
+   13: 	{
+   14: 		g_variable.battery_value[i] = INIT_BATTERY_VALUE;
+   15: 	}
+   16: 
+   17: 	g_variable.battery_level_low = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_3V2+m_adc0vBase;
+   18: 	g_variable.battery_level_shutdown = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_3V0+m_adc0vBase;
+   19: #endif
+   20: #ifdef ADC_TYPE_VINLPM
+   21: 		for (i = 0; i < BAT_ARRAY_LEN; i++)
+   22: 		{
+   23: 			g_variable.battery_value[i] = INIT_BATTERY_VALUE_VINLPM;
+   24: 		}
+   25: 		g_variable.battery_level_low = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_2V2+m_adc0vBase;
+   26: 		g_variable.battery_level_shutdown = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_2V0+m_adc0vBase;
+   27: #endif
+   28: #ifdef ADC_TYPE_GPIO
+   29: 	m_adc_channel = ADC_CHANNEL;
+002112 904C90            MOV     DPTR,#m_adc_channel
+002115 7433              MOV     A,#033H
+002117 F0                MOVX    @DPTR,A
+   30: 	for (i = 0; i < BAT_ARRAY_LEN; i++)
+;---- Variable 'i' assigned to Register 'R7' ----
+002118 E4                CLR     A
+002119 FF                MOV     R7,A
+00211A         ?C0001?ADC:
+   31: 	{
+   32: 		g_variable.battery_value[i] = INIT_BATTERY_VALUE_GPIO;
+00211A EF                MOV     A,R7
+00211B 25E0              ADD     A,ACC
+00211D 24D6              ADD     A,#LOW g_variable+017H
+00211F F582              MOV     DPL,A
+002121 E4                CLR     A
+002122 344C              ADDC    A,#HIGH g_variable+017H
+002124 F583              MOV     DPH,A
+002126 7466              MOV     A,#066H
+002128 F0                MOVX    @DPTR,A
+002129 A3                INC     DPTR
+00212A F0                MOVX    @DPTR,A
+   33: 	}
+00212B 0F                INC     R7
+00212C EF                MOV     A,R7
+00212D B404EA            CJNE    A,#04H,?C0001?ADC
+002130         ?C0002?ADC:
+   34: 		g_variable.battery_level_low = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_1V0+m_adc0vBase;
+002130 904C91            MOV     DPTR,#m_adc0vBase
+002133 E0                MOVX    A,@DPTR
+002134 FE                MOV     R6,A
+002135 A3                INC     DPTR
+002136 E0                MOVX    A,@DPTR
+002137 FF                MOV     R7,A
+002138 C3                CLR     C
+002139 904C94            MOV     DPTR,#m_adc3vValue+01H
+00213C E0                MOVX    A,@DPTR
+00213D 9F                SUBB    A,R7
+00213E FD                MOV     R5,A
+00213F 904C93            MOV     DPTR,#m_adc3vValue
+002142 E0                MOVX    A,@DPTR
+002143 9E                SUBB    A,R6
+002144 FC                MOV     R4,A
+002145 E4                CLR     A
+002146 120206            LCALL   ?C?FCASTI
+002149 7B1F              MOV     R3,#01FH
+00214B 7A85              MOV     R2,#085H
+00214D 79EB              MOV     R1,#0EBH
+00214F 783E              MOV     R0,#03EH
+002151 1200FB            LCALL   ?C?FPMUL
+002154 C004              PUSH    AR4
+002156 C005              PUSH    AR5
+002158 C006              PUSH    AR6
+00215A C007              PUSH    AR7
+00215C 904C91            MOV     DPTR,#m_adc0vBase
+00215F E0                MOVX    A,@DPTR
+002160 FC                MOV     R4,A
+002161 A3                INC     DPTR
+002162 E0                MOVX    A,@DPTR
+002163 FD                MOV     R5,A
+002164 E4                CLR     A
+002165 120206            LCALL   ?C?FCASTI
+002168 D003              POP     AR3
+00216A D002              POP     AR2
+00216C D001              POP     AR1
+00216E D000              POP     AR0
+002170 12000A            LCALL   ?C?FPADD
+002173 12023F            LCALL   ?C?CASTF
+002176 904CDE            MOV     DPTR,#g_variable+01FH
+002179 EE                MOV     A,R6
+00217A F0                MOVX    @DPTR,A
+00217B A3                INC     DPTR
+00217C EF                MOV     A,R7
+00217D F0                MOVX    @DPTR,A
+   35: 		g_variable.battery_level_shutdown = (m_adc3vValue - m_adc0vBase)*LOW_BATTER_COEFFICIENT_0V9+m_adc0vBase;
+00217E 904C91            MOV     DPTR,#m_adc0vBase
+002181 E0                MOVX    A,@DPTR
+002182 FE                MOV     R6,A
+002183 A3                INC     DPTR
+002184 E0                MOVX    A,@DPTR
+002185 FF                MOV     R7,A
+002186 C3                CLR     C
+002187 904C94            MOV     DPTR,#m_adc3vValue+01H
+00218A E0                MOVX    A,@DPTR
+00218B 9F                SUBB    A,R7
+00218C FD                MOV     R5,A
+00218D 904C93            MOV     DPTR,#m_adc3vValue
+002190 E0                MOVX    A,@DPTR
+002191 9E                SUBB    A,R6
+002192 FC                MOV     R4,A
+002193 E4                CLR     A
+002194 120206            LCALL   ?C?FCASTI
+002197 7BEC              MOV     R3,#0ECH
+002199 7A51              MOV     R2,#051H
+00219B 79B8              MOV     R1,#0B8H
+00219D 783E              MOV     R0,#03EH
+00219F 1200FB            LCALL   ?C?FPMUL
+0021A2 C004              PUSH    AR4
+0021A4 C005              PUSH    AR5
+0021A6 C006              PUSH    AR6
+0021A8 C007              PUSH    AR7
+0021AA 904C91            MOV     DPTR,#m_adc0vBase
+0021AD E0                MOVX    A,@DPTR
+0021AE FC                MOV     R4,A
+0021AF A3                INC     DPTR
+0021B0 E0                MOVX    A,@DPTR
+0021B1 FD                MOV     R5,A
+0021B2 E4                CLR     A
+0021B3 120206            LCALL   ?C?FCASTI
+0021B6 D003              POP     AR3
+0021B8 D002              POP     AR2
+0021BA D001              POP     AR1
+0021BC D000              POP     AR0
+0021BE 12000A            LCALL   ?C?FPADD
+0021C1 12023F            LCALL   ?C?CASTF
+0021C4 904CE0            MOV     DPTR,#g_variable+021H
+0021C7 EE                MOV     A,R6
+0021C8 F0                MOVX    @DPTR,A
+0021C9 A3                INC     DPTR
+0021CA EF                MOV     A,R7
+0021CB F0                MOVX    @DPTR,A
+   36: #endif	
+   37: #endif
+   38: }
+0021CC 22                RET     
+----- FUNCTION YC_adc_init (END) -------
+
+
+----- FUNCTION YC_adc_check (BEGIN) -----
+ FILE: 'adc.c'
+   40: void YC_adc_check() 
+   41: {
+   42: #ifdef  ADC_ENABLE
+   43: 	byte i;
+   44: 	ulong batValue = 0;
+0021CD 904E59            MOV     DPTR,#batValue
+0021D0 120533            LCALL   ?C?LSTKXDATA
+0021D3 00                DB      00H
+0021D4 00                DB      00H
+0021D5 00                DB      00H
+0021D6 00                DB      00H
+   45: 
+   46: 	g_variable.battery_value[g_variable.battery_value_index++] = m_adcCurrentValue;
+0021D7 904C95            MOV     DPTR,#m_adcCurrentValue
+0021DA E0                MOVX    A,@DPTR
+0021DB FE                MOV     R6,A
+0021DC A3                INC     DPTR
+0021DD E0                MOVX    A,@DPTR
+0021DE FF                MOV     R7,A
+0021DF 904CD4            MOV     DPTR,#g_variable+015H
+0021E2 E0                MOVX    A,@DPTR
+0021E3 FD                MOV     R5,A
+0021E4 04                INC     A
+0021E5 F0                MOVX    @DPTR,A
+0021E6 ED                MOV     A,R5
+0021E7 25E0              ADD     A,ACC
+0021E9 24D6              ADD     A,#LOW g_variable+017H
+0021EB F582              MOV     DPL,A
+0021ED E4                CLR     A
+0021EE 344C              ADDC    A,#HIGH g_variable+017H
+0021F0 F583              MOV     DPH,A
+0021F2 EE                MOV     A,R6
+0021F3 F0                MOVX    @DPTR,A
+0021F4 A3                INC     DPTR
+0021F5 EF                MOV     A,R7
+0021F6 F0                MOVX    @DPTR,A
+   47: 	if (g_variable.battery_value_index >= BAT_ARRAY_LEN)
+0021F7 904CD4            MOV     DPTR,#g_variable+015H
+0021FA E0                MOVX    A,@DPTR
+0021FB C3                CLR     C
+0021FC 9404              SUBB    A,#04H
+0021FE 4002              JC      ?C0005?ADC
+   48: 		g_variable.battery_value_index = 0;
+002200 E4                CLR     A
+002201 F0                MOVX    @DPTR,A
+002202         ?C0005?ADC:
+   49: 	for (i = 0; i < BAT_ARRAY_LEN; i++)
+002202 E4                CLR     A
+002203 904E58            MOV     DPTR,#i
+002206 F0                MOVX    @DPTR,A
+002207         ?C0006?ADC:
+   50: 	{
+   51: 		batValue += g_variable.battery_value[i];
+002207 904E59            MOV     DPTR,#batValue
+00220A E0                MOVX    A,@DPTR
+00220B F8                MOV     R0,A
+00220C A3                INC     DPTR
+00220D E0                MOVX    A,@DPTR
+00220E F9                MOV     R1,A
+00220F A3                INC     DPTR
+002210 E0                MOVX    A,@DPTR
+002211 FA                MOV     R2,A
+002212 A3                INC     DPTR
+002213 E0                MOVX    A,@DPTR
+002214 FB                MOV     R3,A
+002215 904E58            MOV     DPTR,#i
+002218 E0                MOVX    A,@DPTR
+002219 25E0              ADD     A,ACC
+00221B 24D6              ADD     A,#LOW g_variable+017H
+00221D F582              MOV     DPL,A
+00221F E4                CLR     A
+002220 344C              ADDC    A,#HIGH g_variable+017H
+002222 F583              MOV     DPH,A
+002224 E0                MOVX    A,@DPTR
+002225 FE                MOV     R6,A
+002226 A3                INC     DPTR
+002227 E0                MOVX    A,@DPTR
+002228 FF                MOV     R7,A
+002229 E4                CLR     A
+00222A FC                MOV     R4,A
+00222B FD                MOV     R5,A
+00222C EB                MOV     A,R3
+00222D 2F                ADD     A,R7
+00222E FF                MOV     R7,A
+00222F EA                MOV     A,R2
+002230 3E                ADDC    A,R6
+002231 FE                MOV     R6,A
+002232 ED                MOV     A,R5
+002233 39                ADDC    A,R1
+002234 FD                MOV     R5,A
+002235 EC                MOV     A,R4
+002236 38                ADDC    A,R0
+002237 FC                MOV     R4,A
+002238 904E59            MOV     DPTR,#batValue
+00223B 120527            LCALL   ?C?LSTXDATA
+   52: 	}
+00223E 904E58            MOV     DPTR,#i
+002241 E0                MOVX    A,@DPTR
+002242 04                INC     A
+002243 F0                MOVX    @DPTR,A
+002244 E0                MOVX    A,@DPTR
+002245 B404BF            CJNE    A,#04H,?C0006?ADC
+002248         ?C0007?ADC:
+   53: 	batValue = batValue/BAT_ARRAY_LEN;
+002248 904E59            MOV     DPTR,#batValue
+00224B E0                MOVX    A,@DPTR
+00224C FC                MOV     R4,A
+00224D A3                INC     DPTR
+00224E E0                MOVX    A,@DPTR
+00224F FD                MOV     R5,A
+002250 A3                INC     DPTR
+002251 E0                MOVX    A,@DPTR
+002252 FE                MOV     R6,A
+002253 A3                INC     DPTR
+002254 E0                MOVX    A,@DPTR
+002255 FF                MOV     R7,A
+002256 E4                CLR     A
+002257 7B04              MOV     R3,#04H
+002259 FA                MOV     R2,A
+00225A F9                MOV     R1,A
+00225B F8                MOV     R0,A
+00225C 120476            LCALL   ?C?ULDIV
+00225F 904E59            MOV     DPTR,#batValue
+002262 120527            LCALL   ?C?LSTXDATA
+   54: 
+   55: 	if(g_variable.battery_value[0] < g_variable.battery_level_shutdown)
+002265 904CE0            MOV     DPTR,#g_variable+021H
+002268 E0                MOVX    A,@DPTR
+002269 FE                MOV     R6,A
+00226A A3                INC     DPTR
+00226B E0                MOVX    A,@DPTR
+00226C FF                MOV     R7,A
+00226D C3                CLR     C
+00226E 904CD7            MOV     DPTR,#g_variable+018H
+002271 E0                MOVX    A,@DPTR
+002272 9F                SUBB    A,R7
+002273 904CD6            MOV     DPTR,#g_variable+017H
+002276 E0                MOVX    A,@DPTR
+002277 9E                SUBB    A,R6
+002278 5049              JNC     ?C0009?ADC
+   56: 	{
+   57: 		g_variable.battery_status = BAT_STATUS_SHUT_DOWN;
+00227A 904CD5            MOV     DPTR,#g_variable+016H
+00227D 7402              MOV     A,#02H
+00227F F0                MOVX    @DPTR,A
+   58: 		IIC_Read(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+002280 904CFA            MOV     DPTR,#g_variable+03BH
+002283 E0                MOVX    A,@DPTR
+002284 F9                MOV     R1,A
+002285 7A00              MOV     R2,#00H
+002287 7B00              MOV     R3,#00H
+002289 7D01              MOV     R5,#01H
+00228B 7C00              MOV     R4,#00H
+00228D 7FF9              MOV     R7,#0F9H
+00228F 7E3F              MOV     R6,#03FH
+002291 120E10            LCALL   _IIC_Read
+   59: 		if(g_variable.battary_shutdown_flag != 1)
+002294 904CFA            MOV     DPTR,#g_variable+03BH
+002297 E0                MOVX    A,@DPTR
+002298 6401              XRL     A,#01H
+00229A 7002              JNZ     $ + 4H
+00229C 6128              AJMP    ?C0015?ADC
+   60: 		{
+   61: 			g_variable.battary_shutdown_flag = 1;
+00229E 7401              MOV     A,#01H
+0022A0 F0                MOVX    @DPTR,A
+   62: 			GPIO_Setout(EEPROM_WP_GPIO,0);
+0022A1 C201              CLR     ?_GPIO_Setout?BIT
+0022A3 7F1F              MOV     R7,#01FH
+0022A5 120796            LCALL   _GPIO_Setout
+   63: 			IIC_WriteBlock(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+0022A8 904CFA            MOV     DPTR,#g_variable+03BH
+0022AB E0                MOVX    A,@DPTR
+0022AC F9                MOV     R1,A
+0022AD 7A00              MOV     R2,#00H
+0022AF 7B00              MOV     R3,#00H
+0022B1 7D01              MOV     R5,#01H
+0022B3 7C00              MOV     R4,#00H
+0022B5 7FF9              MOV     R7,#0F9H
+0022B7 7E3F              MOV     R6,#03FH
+0022B9 1214C9            LCALL   _IIC_WriteBlock
+   64: 			GPIO_Setout(EEPROM_WP_GPIO,1);
+0022BC D201              SETB    ?_GPIO_Setout?BIT
+0022BE 7F1F              MOV     R7,#01FH
+0022C0 020796            LJMP    _GPIO_Setout
+   65: 		}
+   66: 	}
+0022C3         ?C0009?ADC:
+   67: 	else
+   68: 	{
+   69: 		if (batValue < g_variable.battery_level_low)
+0022C3 904CDE            MOV     DPTR,#g_variable+01FH
+0022C6 E0                MOVX    A,@DPTR
+0022C7 FE                MOV     R6,A
+0022C8 A3                INC     DPTR
+0022C9 E0                MOVX    A,@DPTR
+0022CA FF                MOV     R7,A
+0022CB E4                CLR     A
+0022CC FC                MOV     R4,A
+0022CD FD                MOV     R5,A
+0022CE 904E59            MOV     DPTR,#batValue
+0022D1 E0                MOVX    A,@DPTR
+0022D2 F8                MOV     R0,A
+0022D3 A3                INC     DPTR
+0022D4 E0                MOVX    A,@DPTR
+0022D5 F9                MOV     R1,A
+0022D6 A3                INC     DPTR
+0022D7 E0                MOVX    A,@DPTR
+0022D8 FA                MOV     R2,A
+0022D9 A3                INC     DPTR
+0022DA E0                MOVX    A,@DPTR
+0022DB FB                MOV     R3,A
+0022DC C3                CLR     C
+0022DD 120516            LCALL   ?C?ULCMP
+0022E0 500E              JNC     ?C0012?ADC
+   70: 		{
+   71: 			g_variable.battery_status = BAT_STATUS_LOW;
+0022E2 904CD5            MOV     DPTR,#g_variable+016H
+0022E5 7401              MOV     A,#01H
+0022E7 F0                MOVX    @DPTR,A
+   72: 			m_24g_enter_hibernate[2] = 0x12;		// 100ms
+0022E8 904D3F            MOV     DPTR,#m_24g_enter_hibernate+02H
+0022EB 7412              MOV     A,#012H
+0022ED F0                MOVX    @DPTR,A
+   73: 		}
+0022EE 800B              SJMP    ?C0013?ADC
+0022F0         ?C0012?ADC:
+   74: 		else
+   75: 		{
+   76: 			g_variable.battery_status = BAT_STATUS_NONE;
+0022F0 E4                CLR     A
+0022F1 904CD5            MOV     DPTR,#g_variable+016H
+0022F4 F0                MOVX    @DPTR,A
+   77: 			m_24g_enter_hibernate[2] = 0x5d;		// 510ms
+0022F5 904D3F            MOV     DPTR,#m_24g_enter_hibernate+02H
+0022F8 745D              MOV     A,#05DH
+0022FA F0                MOVX    @DPTR,A
+   78: 		}
+0022FB         ?C0013?ADC:
+   79: 		
+   80: 		IIC_Read(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+0022FB 904CFA            MOV     DPTR,#g_variable+03BH
+0022FE E0                MOVX    A,@DPTR
+0022FF F9                MOV     R1,A
+002300 7A00              MOV     R2,#00H
+002302 7B00              MOV     R3,#00H
+002304 7D01              MOV     R5,#01H
+002306 7C00              MOV     R4,#00H
+002308 7FF9              MOV     R7,#0F9H
+00230A 7E3F              MOV     R6,#03FH
+00230C 120E10            LCALL   _IIC_Read
+   81: 		if(g_variable.battary_shutdown_flag == 1)
+00230F 904CFA            MOV     DPTR,#g_variable+03BH
+002312 E0                MOVX    A,@DPTR
+002313 B40112            CJNE    A,#01H,?C0015?ADC
+   82: 		{
+   83: 			g_variable.battary_shutdown_flag = 0;
+002316 E4                CLR     A
+002317 F0                MOVX    @DPTR,A
+   84: 			IIC_write(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+002318 E0                MOVX    A,@DPTR
+002319 F9                MOV     R1,A
+00231A 7A00              MOV     R2,#00H
+00231C 7B00              MOV     R3,#00H
+00231E 7D01              MOV     R5,#01H
+002320 7C00              MOV     R4,#00H
+002322 7FF9              MOV     R7,#0F9H
+002324 7E3F              MOV     R6,#03FH
+002326 7129              ACALL   _IIC_write
+   85: 		}
+   86: 
+   87: 	}
+   88: #endif	
+   89: }
+002328         ?C0015?ADC:
+002328 22                RET     
+----- FUNCTION YC_adc_check (END) -------
+
+
+----- FUNCTION _IIC_write (BEGIN) -----
+002329 904E40            MOV     DPTR,#addr
+00232C EE                MOV     A,R6
+00232D F0                MOVX    @DPTR,A
+00232E A3                INC     DPTR
+00232F EF                MOV     A,R7
+002330 F0                MOVX    @DPTR,A
+002331 904E44            MOV     DPTR,#pbuff
+002334 EB                MOV     A,R3
+002335 F0                MOVX    @DPTR,A
+002336 A3                INC     DPTR
+002337 EA                MOV     A,R2
+002338 F0                MOVX    @DPTR,A
+002339 A3                INC     DPTR
+00233A E9                MOV     A,R1
+00233B F0                MOVX    @DPTR,A
+00233C 904E42            MOV     DPTR,#len
+00233F EC                MOV     A,R4
+002340 F0                MOVX    @DPTR,A
+002341 A3                INC     DPTR
+002342 ED                MOV     A,R5
+002343 F0                MOVX    @DPTR,A
+002344 A3                INC     DPTR
+002345 E0                MOVX    A,@DPTR
+002346 F9                MOV     R1,A
+002347 A3                INC     DPTR
+002348 E0                MOVX    A,@DPTR
+002349 FA                MOV     R2,A
+00234A A3                INC     DPTR
+00234B E0                MOVX    A,@DPTR
+00234C 904E2D            MOV     DPTR,#?_dmemcpy?BYTE+03H
+00234F C9                XCH     A,R1
+002350 F0                MOVX    @DPTR,A
+002351 A3                INC     DPTR
+002352 EA                MOV     A,R2
+002353 F0                MOVX    @DPTR,A
+002354 A3                INC     DPTR
+002355 E9                MOV     A,R1
+002356 F0                MOVX    @DPTR,A
+002357 A3                INC     DPTR
+002358 EC                MOV     A,R4
+002359 F0                MOVX    @DPTR,A
+00235A A3                INC     DPTR
+00235B ED                MOV     A,R5
+00235C F0                MOVX    @DPTR,A
+00235D 7B01              MOV     R3,#01H
+00235F 7A0B              MOV     R2,#HIGH IIC_TempBuff+03H
+002361 7986              MOV     R1,#LOW IIC_TempBuff+03H
+002363 71C9              ACALL   _dmemcpy
+002365 900B83            MOV     DPTR,#IIC_TempBuff
+002368 74A0              MOV     A,#0A0H
+00236A F0                MOVX    @DPTR,A
+00236B 904E40            MOV     DPTR,#addr
+00236E E0                MOVX    A,@DPTR
+00236F FF                MOV     R7,A
+002370 A3                INC     DPTR
+002371 E0                MOVX    A,@DPTR
+002372 900B84            MOV     DPTR,#IIC_TempBuff+01H
+002375 CF                XCH     A,R7
+002376 F0                MOVX    @DPTR,A
+002377 A3                INC     DPTR
+002378 EF                MOV     A,R7
+002379 F0                MOVX    @DPTR,A
+00237A 904E43            MOV     DPTR,#len+01H
+00237D E0                MOVX    A,@DPTR
+00237E 2403              ADD     A,#03H
+002380 FD                MOV     R5,A
+002381 904E42            MOV     DPTR,#len
+002384 E0                MOVX    A,@DPTR
+002385 3400              ADDC    A,#00H
+002387 FC                MOV     R4,A
+002388 ED                MOV     A,R5
+002389 FA                MOV     R2,A
+00238A EC                MOV     A,R4
+00238B FF                MOV     R7,A
+00238C EA                MOV     A,R2
+00238D FE                MOV     R6,A
+00238E EF                MOV     A,R7
+00238F 908098            MOV     DPTR,#08098H
+002392 EE                MOV     A,R6
+002393 F0                MOVX    @DPTR,A
+002394 A3                INC     DPTR
+002395 EF                MOV     A,R7
+002396 F0                MOVX    @DPTR,A
+002397 7A0B              MOV     R2,#HIGH IIC_TempBuff
+002399 7983              MOV     R1,#LOW IIC_TempBuff
+00239B 7E0B              MOV     R6,#HIGH IIC_TempBuff
+00239D 7F83              MOV     R7,#LOW IIC_TempBuff
+00239F 7483              MOV     A,#LOW IIC_TempBuff
+0023A1 FC                MOV     R4,A
+0023A2 740B              MOV     A,#HIGH IIC_TempBuff
+0023A4 FF                MOV     R7,A
+0023A5 EC                MOV     A,R4
+0023A6 FE                MOV     R6,A
+0023A7 EF                MOV     A,R7
+0023A8 A3                INC     DPTR
+0023A9 EE                MOV     A,R6
+0023AA F0                MOVX    @DPTR,A
+0023AB A3                INC     DPTR
+0023AC EF                MOV     A,R7
+0023AD F0                MOVX    @DPTR,A
+0023AE 90809E            MOV     DPTR,#0809EH
+0023B1 E4                CLR     A
+0023B2 F0                MOVX    @DPTR,A
+0023B3 A3                INC     DPTR
+0023B4 F0                MOVX    @DPTR,A
+0023B5 908090            MOV     DPTR,#08090H
+0023B8 04                INC     A
+0023B9 F0                MOVX    @DPTR,A
+0023BA 908006            MOV     DPTR,#08006H
+0023BD E0                MOVX    A,@DPTR
+0023BE 4404              ORL     A,#04H
+0023C0 F0                MOVX    @DPTR,A
+;----                  JMP     IIcWaitDone
+----- FUNCTION _IIC_write (END) -------
+
+
+----- FUNCTION IIcWaitDone (BEGIN) -----
+0023C1         ?C0001?IIC:
+0023C1 90812C            MOV     DPTR,#0812CH
+0023C4 E0                MOVX    A,@DPTR
+0023C5 30E5F9            JNB     ACC.5,?C0001?IIC
+0023C8 22                RET     
+----- FUNCTION IIcWaitDone (END) -------
+
+
+----- FUNCTION _dmemcpy (BEGIN) -----
+0023C9 904E2A            MOV     DPTR,#dest
+0023CC EB                MOV     A,R3
+0023CD F0                MOVX    @DPTR,A
+0023CE A3                INC     DPTR
+0023CF EA                MOV     A,R2
+0023D0 F0                MOVX    @DPTR,A
+0023D1 A3                INC     DPTR
+0023D2 E9                MOV     A,R1
+0023D3 F0                MOVX    @DPTR,A
+0023D4         ?C0005?UTILITIES:
+0023D4 904E30            MOV     DPTR,#len
+0023D7 74FF              MOV     A,#0FFH
+0023D9 F5F0              MOV     B,A
+0023DB 120424            LCALL   ?C?ILDIX
+0023DE 45F0              ORL     A,B
+0023E0 602A              JZ      ?C0007?UTILITIES
+0023E2 904E2D            MOV     DPTR,#src
+0023E5 E0                MOVX    A,@DPTR
+0023E6 FB                MOV     R3,A
+0023E7 A3                INC     DPTR
+0023E8 E4                CLR     A
+0023E9 75F001            MOV     B,#01H
+0023EC 120424            LCALL   ?C?ILDIX
+0023EF A9F0              MOV     R1,B
+0023F1 FA                MOV     R2,A
+0023F2 1203B6            LCALL   ?C?CLDPTR
+0023F5 FF                MOV     R7,A
+0023F6 904E2A            MOV     DPTR,#dest
+0023F9 E0                MOVX    A,@DPTR
+0023FA FB                MOV     R3,A
+0023FB A3                INC     DPTR
+0023FC E4                CLR     A
+0023FD 75F001            MOV     B,#01H
+002400 120424            LCALL   ?C?ILDIX
+002403 A9F0              MOV     R1,B
+002405 FA                MOV     R2,A
+002406 EF                MOV     A,R7
+002407 1203FC            LCALL   ?C?CSTPTR
+00240A 80C8              SJMP    ?C0005?UTILITIES
+00240C         ?C0007?UTILITIES:
+00240C 22                RET     
+----- FUNCTION _dmemcpy (END) -------
+
+
+----- FUNCTION _ipcRx (BEGIN) -----
+00240D 904E91            MOV     DPTR,#dest
+002410 EE                MOV     A,R6
+002411 F0                MOVX    @DPTR,A
+002412 A3                INC     DPTR
+002413 EF                MOV     A,R7
+002414 F0                MOVX    @DPTR,A
+;---- Variable 'len' assigned to Register 'R1' ----
+002415 A905              MOV     R1,AR5
+002417 904B9E            MOV     DPTR,#ipcRxReadPtr
+00241A E0                MOVX    A,@DPTR
+00241B FE                MOV     R6,A
+00241C A3                INC     DPTR
+00241D E0                MOVX    A,@DPTR
+00241E FF                MOV     R7,A
+;---- Variable 'src' assigned to Register 'R6/R7' ----
+00241F         ?C0004?IPC:
+00241F AD01              MOV     R5,AR1
+002421 19                DEC     R1
+002422 ED                MOV     A,R5
+002423 602F              JZ      ?C0005?IPC
+002425 0F                INC     R7
+002426 EF                MOV     A,R7
+002427 AC06              MOV     R4,AR6
+002429 7001              JNZ     ?C0036?IPC
+00242B 0E                INC     R6
+00242C         ?C0036?IPC:
+00242C 14                DEC     A
+00242D F582              MOV     DPL,A
+00242F 8C83              MOV     DPH,R4
+002431 E0                MOVX    A,@DPTR
+002432 FD                MOV     R5,A
+002433 904E91            MOV     DPTR,#dest
+002436 E4                CLR     A
+002437 75F001            MOV     B,#01H
+00243A 120424            LCALL   ?C?ILDIX
+00243D 85F082            MOV     DPL,B
+002440 F583              MOV     DPH,A
+002442 ED                MOV     A,R5
+002443 F0                MOVX    @DPTR,A
+002444 AD07              MOV     R5,AR7
+002446 AC06              MOV     R4,AR6
+002448 BC4BD4            CJNE    R4,#04BH,?C0004?IPC
+00244B BD9AD1            CJNE    R5,#09AH,?C0004?IPC
+00244E 7E4B              MOV     R6,#04BH
+002450 7F36              MOV     R7,#036H
+002452 80CB              SJMP    ?C0004?IPC
+002454         ?C0005?IPC:
+002454 904B9E            MOV     DPTR,#ipcRxReadPtr
+002457 EE                MOV     A,R6
+002458 F0                MOVX    @DPTR,A
+002459 A3                INC     DPTR
+00245A EF                MOV     A,R7
+00245B F0                MOVX    @DPTR,A
+00245C 22                RET     
+----- FUNCTION _ipcRx (END) -------
+
+
+----- FUNCTION IPC_DealSingleStep (BEGIN) -----
+00245D 7A0C              MOV     R2,#HIGH ipcReadBuff
+00245F 794B              MOV     R1,#LOW ipcReadBuff
+002461 904E7F            MOV     DPTR,#pbuff
+002464 7401              MOV     A,#01H
+002466 F0                MOVX    @DPTR,A
+002467 A3                INC     DPTR
+002468 740C              MOV     A,#HIGH ipcReadBuff
+00246A F0                MOVX    @DPTR,A
+00246B A3                INC     DPTR
+00246C 744B              MOV     A,#LOW ipcReadBuff
+00246E F0                MOVX    @DPTR,A
+00246F 904BA0            MOV     DPTR,#ipcRxWritePtr
+002472 E0                MOVX    A,@DPTR
+002473 FE                MOV     R6,A
+002474 A3                INC     DPTR
+002475 E0                MOVX    A,@DPTR
+002476 FF                MOV     R7,A
+002477 904B9E            MOV     DPTR,#ipcRxReadPtr
+00247A E0                MOVX    A,@DPTR
+00247B 6E                XRL     A,R6
+00247C 7003              JNZ     ?C0038?IPC
+00247E A3                INC     DPTR
+00247F E0                MOVX    A,@DPTR
+002480 6F                XRL     A,R7
+002481         ?C0038?IPC:
+002481 6046              JZ      ?C0029?IPC
+002483         ?C0023?IPC:
+002483 7E0C              MOV     R6,#HIGH ipcReadBuff
+002485 7F4B              MOV     R7,#LOW ipcReadBuff
+002487 7D03              MOV     R5,#03H
+002489 910D              ACALL   _ipcRx
+00248B 904E7F            MOV     DPTR,#pbuff
+00248E E0                MOVX    A,@DPTR
+00248F FB                MOV     R3,A
+002490 A3                INC     DPTR
+002491 E0                MOVX    A,@DPTR
+002492 FA                MOV     R2,A
+002493 A3                INC     DPTR
+002494 E0                MOVX    A,@DPTR
+002495 F9                MOV     R1,A
+002496 1203B6            LCALL   ?C?CLDPTR
+002499 B4022B            CJNE    A,#02H,?C0027?IPC
+00249C 904E80            MOV     DPTR,#pbuff+01H
+00249F E4                CLR     A
+0024A0 75F002            MOV     B,#02H
+0024A3 12040E            LCALL   ?C?IILDX
+0024A6 904E7F            MOV     DPTR,#pbuff
+0024A9 E0                MOVX    A,@DPTR
+0024AA FB                MOV     R3,A
+0024AB A3                INC     DPTR
+0024AC E0                MOVX    A,@DPTR
+0024AD FA                MOV     R2,A
+0024AE A3                INC     DPTR
+0024AF E0                MOVX    A,@DPTR
+0024B0 F9                MOV     R1,A
+0024B1 1203B6            LCALL   ?C?CLDPTR
+0024B4 FF                MOV     R7,A
+0024B5 904E01            MOV     DPTR,#ipcCb
+0024B8 E0                MOVX    A,@DPTR
+0024B9 A3                INC     DPTR
+0024BA E0                MOVX    A,@DPTR
+0024BB FA                MOV     R2,A
+0024BC A3                INC     DPTR
+0024BD E0                MOVX    A,@DPTR
+0024BE F582              MOV     DPL,A
+0024C0 8A83              MOV     DPH,R2
+0024C2 120568            LCALL   ?C?ICALL2
+0024C5 8002              SJMP    ?C0029?IPC
+0024C7         ?C0027?IPC:
+0024C7 80FE              SJMP    ?C0027?IPC
+0024C9         IPC_TIMER:
+0024C9         ?C0029?IPC:
+0024C9 904BA5            MOV     DPTR,#bttimer
+0024CC E0                MOVX    A,@DPTR
+0024CD FE                MOV     R6,A
+0024CE A3                INC     DPTR
+0024CF E0                MOVX    A,@DPTR
+0024D0 FF                MOV     R7,A
+0024D1 904C5E            MOV     DPTR,#c51timer
+0024D4 E0                MOVX    A,@DPTR
+0024D5 6E                XRL     A,R6
+0024D6 7003              JNZ     ?C0039?IPC
+0024D8 A3                INC     DPTR
+0024D9 E0                MOVX    A,@DPTR
+0024DA 6F                XRL     A,R7
+0024DB         ?C0039?IPC:
+0024DB 6022              JZ      ?C0033?IPC
+0024DD 904E07            MOV     DPTR,#ipcCb+06H
+0024E0 E0                MOVX    A,@DPTR
+0024E1 FB                MOV     R3,A
+0024E2 A3                INC     DPTR
+0024E3 E0                MOVX    A,@DPTR
+0024E4 FA                MOV     R2,A
+0024E5 A3                INC     DPTR
+0024E6 E0                MOVX    A,@DPTR
+0024E7 F9                MOV     R1,A
+0024E8 4A                ORL     A,R2
+0024E9 6037              JZ      ?C0032?IPC
+0024EB         ?C0031?IPC:
+0024EB 120564            LCALL   ?C?ICALL
+0024EE 904BA5            MOV     DPTR,#bttimer
+0024F1 E0                MOVX    A,@DPTR
+0024F2 FF                MOV     R7,A
+0024F3 A3                INC     DPTR
+0024F4 E0                MOVX    A,@DPTR
+0024F5 904C5E            MOV     DPTR,#c51timer
+0024F8 CF                XCH     A,R7
+0024F9 F0                MOVX    @DPTR,A
+0024FA A3                INC     DPTR
+0024FB EF                MOV     A,R7
+0024FC F0                MOVX    @DPTR,A
+0024FD 80CA              SJMP    ?C0029?IPC
+0024FF         ?C0033?IPC:
+0024FF 904C8D            MOV     DPTR,#btstimer
+002502 E0                MOVX    A,@DPTR
+002503 FF                MOV     R7,A
+002504 A3                INC     DPTR
+002505 E0                MOVX    A,@DPTR
+002506 6F                XRL     A,R7
+002507 6019              JZ      ?C0032?IPC
+002509 904E0A            MOV     DPTR,#ipcCb+09H
+00250C E0                MOVX    A,@DPTR
+00250D FB                MOV     R3,A
+00250E A3                INC     DPTR
+00250F E0                MOVX    A,@DPTR
+002510 FA                MOV     R2,A
+002511 A3                INC     DPTR
+002512 E0                MOVX    A,@DPTR
+002513 F9                MOV     R1,A
+002514 4A                ORL     A,R2
+002515 600B              JZ      ?C0032?IPC
+002517         ?C0035?IPC:
+002517 120564            LCALL   ?C?ICALL
+00251A 904C8D            MOV     DPTR,#btstimer
+00251D E0                MOVX    A,@DPTR
+00251E A3                INC     DPTR
+00251F F0                MOVX    @DPTR,A
+002520 80DD              SJMP    ?C0033?IPC
+002522         ?C0032?IPC:
+002522 22                RET     
+----- FUNCTION IPC_DealSingleStep (END) -------
+
+
+----- FUNCTION _IPC_TxData (BEGIN) -----
+002523 904E98            MOV     DPTR,#len
+002526 ED                MOV     A,R5
+002527 F0                MOVX    @DPTR,A
+;---- Variable 'dt' assigned to Register 'R1/R2/R3' ----
+002528 E0                MOVX    A,@DPTR
+002529 FD                MOV     R5,A
+00252A 900BE8            MOV     DPTR,#ipcSendBuff+01H
+00252D F0                MOVX    @DPTR,A
+00252E 7E0B              MOV     R6,#HIGH ipcSendBuff+02H
+002530 7FE9              MOV     R7,#LOW ipcSendBuff+02H
+002532 904E52            MOV     DPTR,#?_xmemcpy?BYTE+05H
+002535 ED                MOV     A,R5
+002536 F0                MOVX    @DPTR,A
+002537 120DCD            LCALL   _xmemcpy
+00253A 7B01              MOV     R3,#01H
+00253C 7A0B              MOV     R2,#HIGH ipcSendBuff
+00253E 79E7              MOV     R1,#LOW ipcSendBuff
+002540 904E98            MOV     DPTR,#len
+002543 E0                MOVX    A,@DPTR
+002544 2402              ADD     A,#02H
+002546 FD                MOV     R5,A
+002547 0207D6            LJMP    _ipcTx
+----- FUNCTION _IPC_TxData (END) -------
+
+
+----- FUNCTION _IPC_Tx24GData (BEGIN) -----
+;---- Variable 'len' assigned to Register 'R5' ----
+;---- Variable 'dt' assigned to Register 'R1/R2/R3' ----
+00254A 900BE7            MOV     DPTR,#ipcSendBuff
+00254D 7406              MOV     A,#06H
+00254F F0                MOVX    @DPTR,A
+002550 80D1              SJMP    _IPC_TxData
+----- FUNCTION _IPC_Tx24GData (END) -------
+
+
+----- FUNCTION IPC_GetBBDIsconnectReason (BEGIN) -----
+002552 900446            MOV     DPTR,#bbDisReason
+002555 E0                MOVX    A,@DPTR
+002556 FF                MOV     R7,A
+002557 22                RET     
+----- FUNCTION IPC_GetBBDIsconnectReason (END) -------
+
+
+----- FUNCTION IPC_IsTxBuffEmpty (BEGIN) -----
+002558 904B9C            MOV     DPTR,#ipcTxWritePtr
+00255B E0                MOVX    A,@DPTR
+00255C FE                MOV     R6,A
+00255D A3                INC     DPTR
+00255E E0                MOVX    A,@DPTR
+00255F FF                MOV     R7,A
+002560 904B9A            MOV     DPTR,#ipcTxReadPtr
+002563 E0                MOVX    A,@DPTR
+002564 B50607            CJNE    A,AR6,?C0021?IPC
+002567 A3                INC     DPTR
+002568 E0                MOVX    A,@DPTR
+002569 B50702            CJNE    A,AR7,?C0021?IPC
+00256C D3                SETB    C
+00256D 22                RET     
+00256E         ?C0021?IPC:
+00256E C3                CLR     C
+00256F 22                RET     
+----- FUNCTION IPC_IsTxBuffEmpty (END) -------
+
+
+----- FUNCTION YC_Ice_break (BEGIN) -----
+002570 908280            MOV     DPTR,#08280H
+002573 7401              MOV     A,#01H
+002575 F0                MOVX    @DPTR,A
+002576 22                RET     
+----- FUNCTION YC_Ice_break (END) -------
+
+
+----- FUNCTION _xmemclear_ff (BEGIN) -----
+002577 904E85            MOV     DPTR,#dest
+00257A EB                MOV     A,R3
+00257B F0                MOVX    @DPTR,A
+00257C A3                INC     DPTR
+00257D EA                MOV     A,R2
+00257E F0                MOVX    @DPTR,A
+00257F A3                INC     DPTR
+002580 E9                MOV     A,R1
+002581 F0                MOVX    @DPTR,A
+;---- Variable 'len' assigned to Register 'R4/R5' ----
+002582         ?C0011?UTILITIES:
+002582 ED                MOV     A,R5
+002583 1D                DEC     R5
+002584 AE04              MOV     R6,AR4
+002586 7001              JNZ     ?C0027?UTILITIES
+002588 1C                DEC     R4
+002589         ?C0027?UTILITIES:
+002589 4E                ORL     A,R6
+00258A 6017              JZ      ?C0013?UTILITIES
+00258C 904E85            MOV     DPTR,#dest
+00258F E0                MOVX    A,@DPTR
+002590 FB                MOV     R3,A
+002591 A3                INC     DPTR
+002592 E4                CLR     A
+002593 75F001            MOV     B,#01H
+002596 120424            LCALL   ?C?ILDIX
+002599 A9F0              MOV     R1,B
+00259B FA                MOV     R2,A
+00259C 74FF              MOV     A,#0FFH
+00259E 1203FC            LCALL   ?C?CSTPTR
+0025A1 80DF              SJMP    ?C0011?UTILITIES
+0025A3         ?C0013?UTILITIES:
+0025A3 22                RET     
+----- FUNCTION _xmemclear_ff (END) -------
+
+
+----- FUNCTION _GPIO_ClearWakeup (BEGIN) -----
+;---- Variable 'gpio_num' assigned to Register 'R7' ----
+0025A4 EF                MOV     A,R7
+0025A5 F4                CPL     A
+0025A6 603A              JZ      ?C0023?GPIO
+0025A8         ?C0022?GPIO:
+0025A8 EF                MOV     A,R7
+0025A9 5407              ANL     A,#07H
+0025AB FE                MOV     R6,A
+;---- Variable 'queue' assigned to Register 'R6' ----
+0025AC EF                MOV     A,R7
+0025AD 13                RRC     A
+0025AE 13                RRC     A
+0025AF 13                RRC     A
+0025B0 5403              ANL     A,#03H
+0025B2 FF                MOV     R7,A
+;---- Variable 'group' assigned to Register 'R7' ----
+0025B3 24A3              ADD     A,#LOW YC_GPIOWakeupL
+0025B5 F582              MOV     DPL,A
+0025B7 E4                CLR     A
+0025B8 3400              ADDC    A,#HIGH YC_GPIOWakeupL
+0025BA F583              MOV     DPH,A
+0025BC C083              PUSH    DPH
+0025BE C082              PUSH    DPL
+0025C0 E0                MOVX    A,@DPTR
+0025C1 FD                MOV     R5,A
+0025C2 7401              MOV     A,#01H
+0025C4 A806              MOV     R0,AR6
+0025C6 08                INC     R0
+0025C7 8002              SJMP    ?C0043?GPIO
+0025C9         ?C0042?GPIO:
+0025C9 C3                CLR     C
+0025CA 33                RLC     A
+0025CB         ?C0043?GPIO:
+0025CB D8FC              DJNZ    R0,?C0042?GPIO
+0025CD F4                CPL     A
+0025CE FC                MOV     R4,A
+0025CF 5D                ANL     A,R5
+0025D0 D082              POP     DPL
+0025D2 D083              POP     DPH
+0025D4 F0                MOVX    @DPTR,A
+0025D5 74A7              MOV     A,#LOW YC_GPIOWakeupH
+0025D7 2F                ADD     A,R7
+0025D8 F582              MOV     DPL,A
+0025DA E4                CLR     A
+0025DB 3400              ADDC    A,#HIGH YC_GPIOWakeupH
+0025DD F583              MOV     DPH,A
+0025DF E0                MOVX    A,@DPTR
+0025E0 5C                ANL     A,R4
+0025E1 F0                MOVX    @DPTR,A
+0025E2         ?C0023?GPIO:
+0025E2 22                RET     
+----- FUNCTION _GPIO_ClearWakeup (END) -------
+
+
+----- FUNCTION GPIO_fillpd (BEGIN) -----
+;---- Variable 'i' assigned to Register 'R7' ----
+0025E3 E4                CLR     A
+0025E4 FF                MOV     R7,A
+0025E5         ?C0026?GPIO:
+0025E5 EF                MOV     A,R7
+0025E6 FD                MOV     R5,A
+0025E7 7C00              MOV     R4,#00H
+0025E9 2478              ADD     A,#078H
+0025EB FB                MOV     R3,A
+0025EC EC                MOV     A,R4
+0025ED 3480              ADDC    A,#080H
+0025EF 8B82              MOV     DPL,R3
+0025F1 F583              MOV     DPH,A
+0025F3 E0                MOVX    A,@DPTR
+0025F4 FE                MOV     R6,A
+0025F5 ED                MOV     A,R5
+0025F6 2470              ADD     A,#070H
+0025F8 FD                MOV     R5,A
+0025F9 EC                MOV     A,R4
+0025FA 3480              ADDC    A,#080H
+0025FC 8D82              MOV     DPL,R5
+0025FE F583              MOV     DPH,A
+002600 E0                MOVX    A,@DPTR
+002601 4E                ORL     A,R6
+002602 F4                CPL     A
+002603 FE                MOV     R6,A
+002604 EF                MOV     A,R7
+002605 247C              ADD     A,#07CH
+002607 FD                MOV     R5,A
+002608 EC                MOV     A,R4
+002609 3480              ADDC    A,#080H
+00260B 8D82              MOV     DPL,R5
+00260D F583              MOV     DPH,A
+00260F EE                MOV     A,R6
+002610 F0                MOVX    @DPTR,A
+002611 0F                INC     R7
+002612 EF                MOV     A,R7
+002613 B404CF            CJNE    A,#04H,?C0026?GPIO
+002616 22                RET     
+----- FUNCTION GPIO_fillpd (END) -------
+
+
Index: KG9013/c51/output/FW.HTM
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/FW.HTM	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/FW.HTM	(working copy)
@@ -0,0 +1,1049 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<title>LX51 Static Call Analysis</title>
+<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
+<style type="text/css">
+<!--
+p            { font-family: Verdana; font-size: 8pt; margin-top: 2; margin-bottom: 2 }
+.LI2         { margin-top: 2; margin-bottom: 2 }
+.Release     { background-color: #CCCCCC; font-weight: bold; padding: 6 }
+.ToolT       { font-size: 8pt; color: #808080 }
+.TinyT       { font-size: 8pt; text-align: Center }
+ul           { font-family: Verdana; font-size: 8pt; list-style-type: square;  margin-top: 2; margin-bottom: 2 }
+ol           { font-family: Verdana; font-size: 8pt }
+h1           { font-family: Verdana; font-size: 14pt; color: #000080; font-weight: bold; text-align: Center; margin-right: 3 }
+h2           { font-family: Verdana; font-size: 8pt; color: #000080; font-weight: bold; margin-top: 12; margin-bottom: 3; background-color: #CCCCCC; padding: 6 }
+h3           { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-top: 12; margin-bottom: 3; background-color: #CCCCCC; padding: 6 }
+pre          { font-family: Courier New; font-size: 8pt; background-color: #CCFFCC; margin-left: 24; margin-right: 24 }
+li           { margin-top: 3; margin-bottom: 0 }
+-->
+</style>
+</head>
+<body>
+<h1>Static Call Analysis for<br>OUTPUT\FW (BLUETOOTH)</h1>
+
+<p class="TinyT">
+Created from: <b>LX51 LINKER/LOCATER V4.41</b><br>
+Creation time: <b>08/31/2020  19:36:21</b><p>
+
+<hr>
+
+
+<h2><a name="S6"></a>?PR?YC_START_RECONNECT?BLUETOOTH (C:0017B3H - C:0017BCH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+</ul>
+
+<h2><a name="S66"></a>?PR?KSCOLINITIALIZE?KEYSCAN (C:000FEDH - C:00100AH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a></li>
+</ul>
+
+<h2><a name="S83"></a>?PR?SYSTEM_HARDWARE_RESET?SYS (C:001FCBH - C:001FD3H)</h2>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S85">?PR?SYSTEM_RESET_CONNECT?SYS</a></li>
+</ul>
+
+<h2><a name="S85"></a>?PR?SYSTEM_RESET_CONNECT?SYS (C:001FD4H - C:001FD5H)</h2>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S83">?PR?SYSTEM_HARDWARE_RESET?SYS</a></li>
+</ul>
+
+<h2><a name="S86"></a>?PR?_KB_CB_HID?SYS (C:001FD6H - C:001FE5H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<h2><a name="S88"></a>?PR?_KB_CB_EVENT?SYS (C:000EC0H - C:000FDAH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=14 Bytes (<a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S153">?PR?_DELAY1MS?UTILITIES</a></li>
+<li><a href="#S187">?PR?_IIC_READ?IIC</a></li>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S68">?PR?KS_INITIALIZE?KEYSCAN</a></li>
+<li><a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a></li>
+<li><a href="#S84">?PR?SYSTEM_LONG_SLEEP?SYS</a></li>
+<li><a href="#S82">?PR?SYSTEM_SOFTWARE_INIT?SYS</a></li>
+<li><a href="#S4">?PR?YC_CLEAR_RECONNECT_FLAG?BLUETOOTH</a></li>
+<li><a href="#S6">?PR?YC_START_RECONNECT?BLUETOOTH</a></li>
+</ul>
+
+<h2><a name="S92"></a>?PR?YC_PAIRING_TIMEROUT_500MS?SYS (C:00177CH - C:00179EH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S153">?PR?_DELAY1MS?UTILITIES</a></li>
+<li><a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a></li>
+<li><a href="#S84">?PR?SYSTEM_LONG_SLEEP?SYS</a></li>
+</ul>
+
+<h2><a name="S94"></a>?PR?KB_CB_TIMER500MS?SYS (C:001765H - C:00177BH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=12 Bytes (<a href="#S103">?PR?YC_ADC_CHECK_TIMER500MS?ADC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S93">?PR?KB_BUTTON_PRESS_TIMER500MS?SYS</a></li>
+<li><a href="#S90">?PR?LED_TIMER500MS?SYS</a></li>
+<li><a href="#S103">?PR?YC_ADC_CHECK_TIMER500MS?ADC</a></li>
+<li><a href="#S91">?PR?YC_CONNECT_TIMEOUT_500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S95"></a>?PR?KB_CB_TIMER100MS?SYS (C:002029H - C:002108H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=12 Bytes (<a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S97"></a>?PR?YC_SYSTEM_MAIN?SYS (C:0012DCH - C:00132BH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=16 Bytes (<a href="#S53">?PR?KB_NEED_KEYSCAN?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S123">?PR?IPC_ABANDONLPM?IPC</a></li>
+<li><a href="#S125">?PR?IPC_DEALSINGLESTEP?IPC</a></li>
+<li><a href="#S122">?PR?IPC_WAITLPM?IPC</a></li>
+<li><a href="#S96">?PR?KB_CB_INIT?SYS</a></li>
+<li><a href="#S53">?PR?KB_NEED_KEYSCAN?KB_PROCESS</a></li>
+<li><a href="#S69">?PR?KS_UNISTALL?KEYSCAN</a></li>
+<li><a href="#S78">?PR?LED_ALL_SHUTDOWN?LED</a></li>
+<li><a href="#S79">?PR?LED_HANDLE?LED</a></li>
+<li><a href="#S7">?PR?YC_UPDATE_EEPROM_DATA?BLUETOOTH</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S104">?PR?MAIN?RAM</a></li>
+</ul>
+
+<h2><a name="S104"></a>?PR?MAIN?RAM (C:0017B1H - C:0017B2H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=16 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S121"></a>?PR?_IPC_INITIALIZE?IPC (C:00157DH - C:001589H)</h2>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<h2><a name="S151"></a>?PR?_XMEMCLEAR_FF?UTILITIES (C:002577H - C:0025A3H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<h2><a name="S2"></a>?PR?YC_CHECK_IS_CONNECTED?BLUETOOTH (C:0006C2H - C:0006CEH)</h2>
+<p><br><b>Maximum Stack:</b> Top=4 Bytes (<a href="#S79">?PR?LED_HANDLE?LED</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S79">?PR?LED_HANDLE?LED</a></li>
+</ul>
+
+<h2><a name="S3"></a>?PR?YC_CHECK_NEED_RECONNECTED?BLUETOOTH (C:0008C4H - C:000901H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a>) Top=8 Bytes (<a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S4"></a>?PR?YC_CLEAR_RECONNECT_FLAG?BLUETOOTH (C:000FDBH - C:000FE0H)</h2>
+<p><br><b>Maximum Stack:</b> Top=2 Bytes (<a href="#S88">?PR?_KB_CB_EVENT?SYS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+</ul>
+
+<h2><a name="S5"></a>?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH (C:00174DH - C:001764H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a>) Top=12 Bytes (<a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S93">?PR?KB_BUTTON_PRESS_TIMER500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S7"></a>?PR?YC_UPDATE_EEPROM_DATA?BLUETOOTH (C:001487H - C:0014C8H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a>) Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S153">?PR?_DELAY1MS?UTILITIES</a></li>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S42"></a>?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS (C:001689H - C:00174CH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S5">?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH</a>) Top=10 Bytes (<a href="#S3">?PR?YC_CHECK_NEED_RECONNECTED?BLUETOOTH</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S153">?PR?_DELAY1MS?UTILITIES</a></li>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S187">?PR?_IIC_READ?IIC</a></li>
+<li><a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a></li>
+<li><a href="#S5">?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+<li><a href="#S93">?PR?KB_BUTTON_PRESS_TIMER500MS?SYS</a></li>
+<li><a href="#S3">?PR?YC_CHECK_NEED_RECONNECTED?BLUETOOTH</a></li>
+<li><a href="#S6">?PR?YC_START_RECONNECT?BLUETOOTH</a></li>
+</ul>
+
+<h2><a name="S44"></a>?PR?_IPC_TXHIDDATA?KB_PROCESS (C:000902H - C:00098CH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=10 Bytes (<a href="#S3">?PR?YC_CHECK_NEED_RECONNECTED?BLUETOOTH</a>) Top=6 Bytes (<a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S119">?PR?_IPC_TX24GDATA?IPC</a></li>
+<li><a href="#S3">?PR?YC_CHECK_NEED_RECONNECTED?BLUETOOTH</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a></li>
+<li><a href="#S48">?PR?_KB_SEND_COMBINATION_KEY?KB_PROCESS</a></li>
+<li><a href="#S50">?PR?KB_24G_GET_LED_STATUS?KB_PROCESS</a></li>
+<li><a href="#S95">?PR?KB_CB_TIMER100MS?SYS</a></li>
+</ul>
+
+<h2><a name="S46"></a>?PR?_KB_SET_MULTIKEY?KB_PROCESS (C:0017E6H - C:001800H)</h2>
+<p><br><b>Maximum Stack:</b> Top=8 Bytes (<a href="#S59">?PR?_KB_MULTIKEY_SETUP?KB_PROCESS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S59">?PR?_KB_MULTIKEY_SETUP?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S47"></a>?PR?_KB_SET_SYSTEMKEY?KB_PROCESS (C:001801H - C:00181BH)</h2>
+<p><br><b>Maximum Stack:</b> Top=8 Bytes (<a href="#S59">?PR?_KB_MULTIKEY_SETUP?KB_PROCESS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S59">?PR?_KB_MULTIKEY_SETUP?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S48"></a>?PR?_KB_SEND_COMBINATION_KEY?KB_PROCESS (C:000CADH - C:000CE6H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=10 Bytes (<a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a>) Top=4 Bytes (<a href="#S53">?PR?KB_NEED_KEYSCAN?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+<li><a href="#S149">?PR?_XMEMCLEAR?UTILITIES</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S53">?PR?KB_NEED_KEYSCAN?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S50"></a>?PR?KB_24G_GET_LED_STATUS?KB_PROCESS (C:000D91H - C:000DCCH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=12 Bytes (<a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a>) Top=2 Bytes (<a href="#S51">?PR?KB_MOTION?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+<li><a href="#S149">?PR?_XMEMCLEAR?UTILITIES</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S51">?PR?KB_MOTION?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S51"></a>?PR?KB_MOTION?KB_PROCESS (C:000D5DH - C:000D90H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=14 Bytes (<a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a>) Top=2 Bytes (<a href="#S53">?PR?KB_NEED_KEYSCAN?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a></li>
+<li><a href="#S124">?PR?IPC_ISTXBUFFEMPTY?IPC</a></li>
+<li><a href="#S50">?PR?KB_24G_GET_LED_STATUS?KB_PROCESS</a></li>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S53">?PR?KB_NEED_KEYSCAN?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S53"></a>?PR?KB_NEED_KEYSCAN?KB_PROCESS (C:000CE7H - C:000D5CH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=14 Bytes (<a href="#S51">?PR?KB_MOTION?KB_PROCESS</a>) Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S48">?PR?_KB_SEND_COMBINATION_KEY?KB_PROCESS</a></li>
+<li><a href="#S51">?PR?KB_MOTION?KB_PROCESS</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S54"></a>?PR?_KB_MOTION_KEYSCAN?KB_PROCESS (C:00098DH - C:000BF6H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=12 Bytes (<a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a>) Top=4 Bytes (<a href="#S51">?PR?KB_MOTION?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+<li><a href="#S59">?PR?_KB_MULTIKEY_SETUP?KB_PROCESS</a></li>
+<li><a href="#S149">?PR?_XMEMCLEAR?UTILITIES</a></li>
+<li><a href="#S145">?PR?_XMEMCPY?UTILITIES</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S51">?PR?KB_MOTION?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S56"></a>?PR?_KB_COMBINATION_KEY_PRESS?KB_PROCESS (C:001203H - C:001227H)</h2>
+<p><br><b>Maximum Stack:</b> Top=8 Bytes (<a href="#S57">?PR?_KEY_FN_FUNCTION?KB_PROCESS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S57">?PR?_KEY_FN_FUNCTION?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S57"></a>?PR?_KEY_FN_FUNCTION?KB_PROCESS (C:0010C3H - C:001202H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a>) Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S56">?PR?_KB_COMBINATION_KEY_PRESS?KB_PROCESS</a></li>
+<li><a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S59"></a>?PR?_KB_MULTIKEY_SETUP?KB_PROCESS (C:00181CH - C:001AC8H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=6 Bytes (<a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S46">?PR?_KB_SET_MULTIKEY?KB_PROCESS</a></li>
+<li><a href="#S47">?PR?_KB_SET_SYSTEMKEY?KB_PROCESS</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S61"></a>?PR?_BIT_COUNT?KEYSCAN (C:001AC9H - C:001AD6H)</h2>
+<p><br><b>Maximum Stack:</b> Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S62"></a>?PR?_KEYIN?KEYSCAN (C:001D4EH - C:001DA3H)</h2>
+<p><br><b>Maximum Stack:</b> Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S63"></a>?PR?_KEYOUT?KEYSCAN (C:001DA4H - C:001E4CH)</h2>
+<p><br><b>Maximum Stack:</b> Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S64"></a>?PR?KSRAWINITIALIZE?KEYSCAN (C:0017C9H - C:0017E5H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a>) Top=6 Bytes (<a href="#S68">?PR?KS_INITIALIZE?KEYSCAN</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S68">?PR?KS_INITIALIZE?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S68"></a>?PR?KS_INITIALIZE?KEYSCAN (C:000FE1H - C:000FECH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=10 Bytes (<a href="#S64">?PR?KSRAWINITIALIZE?KEYSCAN</a>) Top=4 Bytes (<a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S64">?PR?KSRAWINITIALIZE?KEYSCAN</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+<li><a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a></li>
+</ul>
+
+<h2><a name="S69"></a>?PR?KS_UNISTALL?KEYSCAN (C:00132CH - C:0013C4H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S177">?PR?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO</a>) Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S177">?PR?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO</a></li>
+<li><a href="#S183">?PR?GPIO_FILLPD?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S71"></a>?PR?KS_SCANMATRIX?KEYSCAN (C:001E4DH - C:001FACH)</h2>
+<p><br><b>Maximum Stack:</b> Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S73"></a>?PR?_ARRAY_IS_EMPTY?KEYSCAN (C:001CD4H - C:001D03H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S75"></a>?PR?KS_GETCURRENTEVT?KEYSCAN (C:001AD7H - C:001CD3H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=10 Bytes (<a href="#S57">?PR?_KEY_FN_FUNCTION?KB_PROCESS</a>) Top=4 Bytes (<a href="#S51">?PR?KB_MOTION?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S73">?PR?_ARRAY_IS_EMPTY?KEYSCAN</a></li>
+<li><a href="#S61">?PR?_BIT_COUNT?KEYSCAN</a></li>
+<li><a href="#S154">?PR?_COMPARE_STR?UTILITIES</a></li>
+<li><a href="#S57">?PR?_KEY_FN_FUNCTION?KB_PROCESS</a></li>
+<li><a href="#S62">?PR?_KEYIN?KEYSCAN</a></li>
+<li><a href="#S63">?PR?_KEYOUT?KEYSCAN</a></li>
+<li><a href="#S71">?PR?KS_SCANMATRIX?KEYSCAN</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S51">?PR?KB_MOTION?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S78"></a>?PR?LED_ALL_SHUTDOWN?LED (C:001056H - C:001069H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a>) Top=2 Bytes (<a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a></li>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S79"></a>?PR?LED_HANDLE?LED (C:0006CFH - C:000795H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S162">?PR?_GPIO_SETOUT?GPIO</a>) Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S84">?PR?SYSTEM_LONG_SLEEP?SYS</a></li>
+<li><a href="#S2">?PR?YC_CHECK_IS_CONNECTED?BLUETOOTH</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S80"></a>?PR?SYSTEM_CLEAR_MEM?SYS (C:000C23H - C:000CACH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S149">?PR?_XMEMCLEAR?UTILITIES</a>) Top=4 Bytes (<a href="#S82">?PR?SYSTEM_SOFTWARE_INIT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S149">?PR?_XMEMCLEAR?UTILITIES</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S82">?PR?SYSTEM_SOFTWARE_INIT?SYS</a></li>
+</ul>
+
+<h2><a name="S81"></a>?PR?SYSTEM_HARDWARE_INIT?SYS (C:00124FH - C:001255H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=12 Bytes (<a href="#S68">?PR?KS_INITIALIZE?KEYSCAN</a>) Top=2 Bytes (<a href="#S88">?PR?_KB_CB_EVENT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S68">?PR?KS_INITIALIZE?KEYSCAN</a></li>
+<li><a href="#S78">?PR?LED_ALL_SHUTDOWN?LED</a></li>
+<li><a href="#S105">?PR?YC_PWM_INIT?PWM</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+</ul>
+
+<h2><a name="S82"></a>?PR?SYSTEM_SOFTWARE_INIT?SYS (C:001FADH - C:001FCAH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S100">?PR?YC_ADC_INIT?ADC</a>) Top=2 Bytes (<a href="#S88">?PR?_KB_CB_EVENT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S80">?PR?SYSTEM_CLEAR_MEM?SYS</a></li>
+<li><a href="#S100">?PR?YC_ADC_INIT?ADC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+</ul>
+
+<h2><a name="S84"></a>?PR?SYSTEM_LONG_SLEEP?SYS (C:0007A8H - C:0007AEH)</h2>
+<p><br><b>Maximum Stack:</b> Top=4 Bytes (<a href="#S91">?PR?YC_CONNECT_TIMEOUT_500MS?SYS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+<li><a href="#S93">?PR?KB_BUTTON_PRESS_TIMER500MS?SYS</a></li>
+<li><a href="#S79">?PR?LED_HANDLE?LED</a></li>
+<li><a href="#S91">?PR?YC_CONNECT_TIMEOUT_500MS?SYS</a></li>
+<li><a href="#S92">?PR?YC_PAIRING_TIMEROUT_500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S90"></a>?PR?LED_TIMER500MS?SYS (C:0015EBH - C:001604H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S180">?PR?_GPIO_FLIPOUTBIT?GPIO</a>) Top=2 Bytes (<a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S180">?PR?_GPIO_FLIPOUTBIT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S91"></a>?PR?YC_CONNECT_TIMEOUT_500MS?SYS (C:001FE6H - C:002028H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a>) Top=2 Bytes (<a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a></li>
+<li><a href="#S84">?PR?SYSTEM_LONG_SLEEP?SYS</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S93"></a>?PR?KB_BUTTON_PRESS_TIMER500MS?SYS (C:001605H - C:001688H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S5">?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH</a>) Top=2 Bytes (<a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S153">?PR?_DELAY1MS?UTILITIES</a></li>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S84">?PR?SYSTEM_LONG_SLEEP?SYS</a></li>
+<li><a href="#S5">?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S96"></a>?PR?KB_CB_INIT?SYS (C:001577H - C:00157CH)</h2>
+<p><br><b>Maximum Stack:</b> Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S100"></a>?PR?YC_ADC_INIT?ADC (C:002109H - C:0021CCH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=4 Bytes (<a href="#S82">?PR?SYSTEM_SOFTWARE_INIT?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S82">?PR?SYSTEM_SOFTWARE_INIT?SYS</a></li>
+</ul>
+
+<h2><a name="S101"></a>?PR?YC_ADC_CHECK?ADC (C:0021CDH - C:002328H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=8 Bytes (<a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a>) Top=4 Bytes (<a href="#S103">?PR?YC_ADC_CHECK_TIMER500MS?ADC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S187">?PR?_IIC_READ?IIC</a></li>
+<li><a href="#S189">?PR?_IIC_WRITE?IIC</a></li>
+<li><a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S103">?PR?YC_ADC_CHECK_TIMER500MS?ADC</a></li>
+</ul>
+
+<h2><a name="S103"></a>?PR?YC_ADC_CHECK_TIMER500MS?ADC (C:00179FH - C:0017B0H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=10 Bytes (<a href="#S101">?PR?YC_ADC_CHECK?ADC</a>) Top=2 Bytes (<a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S101">?PR?YC_ADC_CHECK?ADC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S94">?PR?KB_CB_TIMER500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S105"></a>?PR?YC_PWM_INIT?PWM (C:0012C8H - C:0012DBH)</h2>
+<p><br><b>Maximum Stack:</b> Top=10 Bytes (<a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a></li>
+<li><a href="#S81">?PR?SYSTEM_HARDWARE_INIT?SYS</a></li>
+</ul>
+
+<h2><a name="S106"></a>?PR?_YC_PWM_SET_DUTY?PWM (C:00106AH - C:0010C2H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a>) Top=8 Bytes (<a href="#S57">?PR?_KEY_FN_FUNCTION?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a></li>
+<li><a href="#S108">?PR?YC_PWM_DISABLE?PWM</a></li>
+<li><a href="#S105">?PR?YC_PWM_INIT?PWM</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S57">?PR?_KEY_FN_FUNCTION?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S108"></a>?PR?YC_PWM_DISABLE?PWM (C:001239H - C:00124EH)</h2>
+<p><br><b>Maximum Stack:</b> Top=10 Bytes (<a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a></li>
+</ul>
+
+<h2><a name="S109"></a>?PR?_BUFSIZE?IPC (C:00086AH - C:0008C3H)</h2>
+<p><br><b>Maximum Stack:</b> Top=10 Bytes (<a href="#S113">?PR?_IPCTX?IPC</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S113">?PR?_IPCTX?IPC</a></li>
+</ul>
+
+<h2><a name="S111"></a>?PR?_IPCRX?IPC (C:00240DH - C:00245CH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=4 Bytes (<a href="#S125">?PR?IPC_DEALSINGLESTEP?IPC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S125">?PR?IPC_DEALSINGLESTEP?IPC</a></li>
+</ul>
+
+<h2><a name="S113"></a>?PR?_IPCTX?IPC (C:0007D6H - C:000869H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S109">?PR?_BUFSIZE?IPC</a>) Top=8 Bytes (<a href="#S117">?PR?_IPC_TXDATA?IPC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S109">?PR?_BUFSIZE?IPC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S117">?PR?_IPC_TXDATA?IPC</a></li>
+</ul>
+
+<h2><a name="S115"></a>?PR?_IPC_TXCONTROLCMD?IPC (C:0007AFH - C:0007D5H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=14 Bytes (<a href="#S5">?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S91">?PR?YC_CONNECT_TIMEOUT_500MS?SYS</a></li>
+<li><a href="#S5">?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH</a></li>
+<li><a href="#S92">?PR?YC_PAIRING_TIMEROUT_500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S117"></a>?PR?_IPC_TXDATA?IPC (C:002523H - C:002549H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S145">?PR?_XMEMCPY?UTILITIES</a>) Top=8 Bytes (<a href="#S119">?PR?_IPC_TX24GDATA?IPC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S113">?PR?_IPCTX?IPC</a></li>
+<li><a href="#S145">?PR?_XMEMCPY?UTILITIES</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S119">?PR?_IPC_TX24GDATA?IPC</a></li>
+</ul>
+
+<h2><a name="S119"></a>?PR?_IPC_TX24GDATA?IPC (C:00254AH - C:002551H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S117">?PR?_IPC_TXDATA?IPC</a>) Top=8 Bytes (<a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S117">?PR?_IPC_TXDATA?IPC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S122"></a>?PR?IPC_WAITLPM?IPC (C:001464H - C:00146EH)</h2>
+<p><br><b>Maximum Stack:</b> Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S123"></a>?PR?IPC_ABANDONLPM?IPC (C:0017BDH - C:0017C8H)</h2>
+<p><br><b>Maximum Stack:</b> Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S124"></a>?PR?IPC_ISTXBUFFEMPTY?IPC (C:002558H - C:00256FH)</h2>
+<p><br><b>Maximum Stack:</b> Top=4 Bytes (<a href="#S51">?PR?KB_MOTION?KB_PROCESS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S51">?PR?KB_MOTION?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S125"></a>?PR?IPC_DEALSINGLESTEP?IPC (C:00245DH - C:002522H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S111">?PR?_IPCRX?IPC</a>) Top=2 Bytes (<a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S111">?PR?_IPCRX?IPC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S97">?PR?YC_SYSTEM_MAIN?SYS</a></li>
+</ul>
+
+<h2><a name="S145"></a>?PR?_XMEMCPY?UTILITIES (C:000DCDH - C:000E0FH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=12 Bytes (<a href="#S187">?PR?_IIC_READ?IIC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S187">?PR?_IIC_READ?IIC</a></li>
+<li><a href="#S117">?PR?_IPC_TXDATA?IPC</a></li>
+<li><a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a></li>
+</ul>
+
+<h2><a name="S147"></a>?PR?_DMEMCPY?UTILITIES (C:0023C9H - C:00240CH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=10 Bytes (<a href="#S189">?PR?_IIC_WRITE?IIC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S189">?PR?_IIC_WRITE?IIC</a></li>
+</ul>
+
+<h2><a name="S149"></a>?PR?_XMEMCLEAR?UTILITIES (C:000BF7H - C:000C22H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=6 Bytes (<a href="#S80">?PR?SYSTEM_CLEAR_MEM?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a></li>
+<li><a href="#S48">?PR?_KB_SEND_COMBINATION_KEY?KB_PROCESS</a></li>
+<li><a href="#S50">?PR?KB_24G_GET_LED_STATUS?KB_PROCESS</a></li>
+<li><a href="#S80">?PR?SYSTEM_CLEAR_MEM?SYS</a></li>
+</ul>
+
+<h2><a name="S153"></a>?PR?_DELAY1MS?UTILITIES (C:00146FH - C:001486H)</h2>
+<p><br><b>Maximum Stack:</b> Top=12 Bytes (<a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a></li>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S93">?PR?KB_BUTTON_PRESS_TIMER500MS?SYS</a></li>
+<li><a href="#S92">?PR?YC_PAIRING_TIMEROUT_500MS?SYS</a></li>
+<li><a href="#S7">?PR?YC_UPDATE_EEPROM_DATA?BLUETOOTH</a></li>
+</ul>
+
+<h2><a name="S154"></a>?PR?_COMPARE_STR?UTILITIES (C:001D04H - C:001D4DH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=6 Bytes (<a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S75">?PR?KS_GETCURRENTEVT?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S156"></a>?PR?_GPIOSETBIT?GPIO (C:001267H - C:0012C7H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=14 Bytes (<a href="#S162">?PR?_GPIO_SETOUT?GPIO</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S168">?PR?_GPIO_SETOE?GPIO</a></li>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S166">?PR?_GPIO_SETPD?GPIO</a></li>
+<li><a href="#S164">?PR?_GPIO_SETPU?GPIO</a></li>
+</ul>
+
+<h2><a name="S159"></a>?PR?_GPIOGETBIT?GPIO (C:001590H - C:0015CEH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S195">?C?LIB_CODE</a>) Top=6 Bytes (<a href="#S180">?PR?_GPIO_FLIPOUTBIT?GPIO</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S180">?PR?_GPIO_FLIPOUTBIT?GPIO</a></li>
+</ul>
+
+<h2><a name="S161"></a>?PR?_GPIO_GETINPUTSTATUS?GPIO (C:00158AH - C:00158FH)</h2>
+<p><br><b>Maximum Stack:</b> Top=6 Bytes (<a href="#S177">?PR?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S177">?PR?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO</a></li>
+</ul>
+
+<h2><a name="S162"></a>?PR?_GPIO_SETOUT?GPIO (C:000796H - C:0007A7H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S156">?PR?_GPIOSETBIT?GPIO</a>) Top=12 Bytes (<a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S156">?PR?_GPIOSETBIT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S180">?PR?_GPIO_FLIPOUTBIT?GPIO</a></li>
+<li><a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a></li>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S95">?PR?KB_CB_TIMER100MS?SYS</a></li>
+<li><a href="#S79">?PR?LED_HANDLE?LED</a></li>
+<li><a href="#S101">?PR?YC_ADC_CHECK?ADC</a></li>
+<li><a href="#S7">?PR?YC_UPDATE_EEPROM_DATA?BLUETOOTH</a></li>
+</ul>
+
+<h2><a name="S164"></a>?PR?_GPIO_SETPU?GPIO (C:001029H - C:001039H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S156">?PR?_GPIOSETBIT?GPIO</a>) Top=10 Bytes (<a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S156">?PR?_GPIOSETBIT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a></li>
+<li><a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a></li>
+</ul>
+
+<h2><a name="S166"></a>?PR?_GPIO_SETPD?GPIO (C:001256H - C:001266H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S156">?PR?_GPIOSETBIT?GPIO</a>) Top=10 Bytes (<a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S156">?PR?_GPIOSETBIT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a></li>
+</ul>
+
+<h2><a name="S168"></a>?PR?_GPIO_SETOE?GPIO (C:001228H - C:001238H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S156">?PR?_GPIOSETBIT?GPIO</a>) Top=10 Bytes (<a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S156">?PR?_GPIOSETBIT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S170">?PR?_GPIO_SETINPUT?GPIO</a></li>
+<li><a href="#S172">?PR?_GPIO_SETOUTPUT?GPIO</a></li>
+</ul>
+
+<h2><a name="S170"></a>?PR?_GPIO_SETINPUT?GPIO (C:00100BH - C:001028H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S166">?PR?_GPIO_SETPD?GPIO</a>) Top=8 Bytes (<a href="#S64">?PR?KSRAWINITIALIZE?KEYSCAN</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S168">?PR?_GPIO_SETOE?GPIO</a></li>
+<li><a href="#S166">?PR?_GPIO_SETPD?GPIO</a></li>
+<li><a href="#S164">?PR?_GPIO_SETPU?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S66">?PR?KSCOLINITIALIZE?KEYSCAN</a></li>
+<li><a href="#S64">?PR?KSRAWINITIALIZE?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S172"></a>?PR?_GPIO_SETOUTPUT?GPIO (C:00103AH - C:001055H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S168">?PR?_GPIO_SETOE?GPIO</a>) Top=8 Bytes (<a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S168">?PR?_GPIO_SETOE?GPIO</a></li>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S164">?PR?_GPIO_SETPU?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S106">?PR?_YC_PWM_SET_DUTY?PWM</a></li>
+<li><a href="#S78">?PR?LED_ALL_SHUTDOWN?LED</a></li>
+</ul>
+
+<h2><a name="S177"></a>?PR?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO (C:0013C5H - C:0013D7H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S161">?PR?_GPIO_GETINPUTSTATUS?GPIO</a>) Top=4 Bytes (<a href="#S69">?PR?KS_UNISTALL?KEYSCAN</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S161">?PR?_GPIO_GETINPUTSTATUS?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S69">?PR?KS_UNISTALL?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S180"></a>?PR?_GPIO_FLIPOUTBIT?GPIO (C:0015CFH - C:0015EAH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S159">?PR?_GPIOGETBIT?GPIO</a>) Top=4 Bytes (<a href="#S90">?PR?LED_TIMER500MS?SYS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S162">?PR?_GPIO_SETOUT?GPIO</a></li>
+<li><a href="#S159">?PR?_GPIOGETBIT?GPIO</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S90">?PR?LED_TIMER500MS?SYS</a></li>
+</ul>
+
+<h2><a name="S183"></a>?PR?GPIO_FILLPD?GPIO (C:0025E3H - C:002616H)</h2>
+<p><br><b>Maximum Stack:</b> Top=4 Bytes (<a href="#S69">?PR?KS_UNISTALL?KEYSCAN</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S69">?PR?KS_UNISTALL?KEYSCAN</a></li>
+</ul>
+
+<h2><a name="S186"></a>?PR?IICWAITDONE?IIC (C:0023C1H - C:0023C8H)</h2>
+<p><br><b>Maximum Stack:</b> Top=14 Bytes (<a href="#S187">?PR?_IIC_READ?IIC</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S187">?PR?_IIC_READ?IIC</a></li>
+</ul>
+
+<h2><a name="S187"></a>?PR?_IIC_READ?IIC (C:000E10H - C:000EBFH)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=2 Bytes (<a href="#S186">?PR?IICWAITDONE?IIC</a>) Top=12 Bytes (<a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S145">?PR?_XMEMCPY?UTILITIES</a></li>
+<li><a href="#S186">?PR?IICWAITDONE?IIC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S88">?PR?_KB_CB_EVENT?SYS</a></li>
+<li><a href="#S42">?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS</a></li>
+<li><a href="#S101">?PR?YC_ADC_CHECK?ADC</a></li>
+</ul>
+
+<h2><a name="S189"></a>?PR?_IIC_WRITE?IIC (C:002329H - C:0023C0H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=4 Bytes (<a href="#S147">?PR?_DMEMCPY?UTILITIES</a>) Top=8 Bytes (<a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S147">?PR?_DMEMCPY?UTILITIES</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a></li>
+<li><a href="#S101">?PR?YC_ADC_CHECK?ADC</a></li>
+</ul>
+
+<h2><a name="S191"></a>?PR?_IIC_WRITEBLOCK?IIC (C:0014C9H - C:001576H)</h2>
+<p><br><b>Maximum Stack:</b> Bottom=6 Bytes (<a href="#S189">?PR?_IIC_WRITE?IIC</a>) Top=6 Bytes (<a href="#S101">?PR?YC_ADC_CHECK?ADC</a>)<p>
+<p><br><b>Calls to:</b></p>
+<ul>
+<li><a href="#S195">?C?LIB_CODE</a></li>
+<li><a href="#S153">?PR?_DELAY1MS?UTILITIES</a></li>
+<li><a href="#S189">?PR?_IIC_WRITE?IIC</a></li>
+</ul>
+
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S101">?PR?YC_ADC_CHECK?ADC</a></li>
+<li><a href="#S7">?PR?YC_UPDATE_EEPROM_DATA?BLUETOOTH</a></li>
+</ul>
+
+<h2><a name="S195"></a>?C?LIB_CODE (C:000003H - C:000569H)</h2>
+<p><br><b>Maximum Stack:</b> Top=16 Bytes (<a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a>)<p>
+<p><br><b>Called from:</b></p>
+<ul>
+<li><a href="#S73">?PR?_ARRAY_IS_EMPTY?KEYSCAN</a></li>
+<li><a href="#S154">?PR?_COMPARE_STR?UTILITIES</a></li>
+<li><a href="#S147">?PR?_DMEMCPY?UTILITIES</a></li>
+<li><a href="#S159">?PR?_GPIOGETBIT?GPIO</a></li>
+<li><a href="#S156">?PR?_GPIOSETBIT?GPIO</a></li>
+<li><a href="#S191">?PR?_IIC_WRITEBLOCK?IIC</a></li>
+<li><a href="#S121">?PR?_IPC_INITIALIZE?IPC</a></li>
+<li><a href="#S115">?PR?_IPC_TXCONTROLCMD?IPC</a></li>
+<li><a href="#S44">?PR?_IPC_TXHIDDATA?KB_PROCESS</a></li>
+<li><a href="#S111">?PR?_IPCRX?IPC</a></li>
+<li><a href="#S113">?PR?_IPCTX?IPC</a></li>
+<li><a href="#S86">?PR?_KB_CB_HID?SYS</a></li>
+<li><a href="#S54">?PR?_KB_MOTION_KEYSCAN?KB_PROCESS</a></li>
+<li><a href="#S59">?PR?_KB_MULTIKEY_SETUP?KB_PROCESS</a></li>
+<li><a href="#S149">?PR?_XMEMCLEAR?UTILITIES</a></li>
+<li><a href="#S151">?PR?_XMEMCLEAR_FF?UTILITIES</a></li>
+<li><a href="#S145">?PR?_XMEMCPY?UTILITIES</a></li>
+<li><a href="#S125">?PR?IPC_DEALSINGLESTEP?IPC</a></li>
+<li><a href="#S101">?PR?YC_ADC_CHECK?ADC</a></li>
+<li><a href="#S100">?PR?YC_ADC_INIT?ADC</a></li>
+</ul>
+
+</body>
+</html>
Index: KG9013/c51/output/FW.MAP
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/FW.MAP	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/FW.MAP	(working copy)
@@ -0,0 +1,2658 @@
+LX51 LINKER/LOCATER V4.41                                                               08/31/2020  19:36:21  PAGE 1
+
+
+LX51 LINKER/LOCATER V4.41, INVOKED BY:
+H:\KEIL\C51\BIN\LX51.EXE OUTPUT/BLUETOOTH.OBJ, OUTPUT/GLOBAL_VARIABLE.OBJ, OUTPUT/KB_PROCESS.OBJ, OUTPUT/KEYSCAN.OBJ, OU
+>> TPUT/LED.OBJ, OUTPUT/SYS.OBJ, OUTPUT/ADC.OBJ, OUTPUT/RAM.OBJ, OUTPUT/PWM.OBJ, OUTPUT/..\PATCH\IPC.OBJ, OUTPUT/..\PATC
+>> H\UTILITIES.OBJ, OUTPUT/..\PATCH\GPIO.OBJ, OUTPUT/..\PATCH\IIC.OBJ TO OUTPUT\FW CLASSES (XDATA (X:0X4DD0-X:0X4F40), C
+>> ODE (C:0-C:0XFFFF), DATA (D:0X10-0X7F), IDATA (I:0X80-0XCF)) SEGMENTS (?STACK (D:0XD0)) NOOVERLAY PAGELENGTH (60000) 
+>> CODE
+
+
+CPU MODE:     8051 MODE
+MEMORY MODEL: LARGE WITH FLOATING POINT ARITHMETIC
+
+
+INPUT MODULES INCLUDED:
+  OUTPUT/BLUETOOTH.OBJ (BLUETOOTH)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/GLOBAL_VARIABLE.OBJ (GLOBAL_VARIABLE)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/KB_PROCESS.OBJ (KB_PROCESS)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/KEYSCAN.OBJ (KEYSCAN)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/LED.OBJ (LED)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/SYS.OBJ (SYS)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/ADC.OBJ (ADC)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/RAM.OBJ (RAM)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/PWM.OBJ (PWM)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/..\PATCH\IPC.OBJ (IPC)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/..\PATCH\UTILITIES.OBJ (UTILITIES)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/..\PATCH\GPIO.OBJ (GPIO)
+         COMMENT TYPE 0: C51 V9.00
+  OUTPUT/..\PATCH\IIC.OBJ (IIC)
+         COMMENT TYPE 0: C51 V9.00
+  H:\KEIL\C51\LIB\C51FPL.LIB (?C?FPADD)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51FPL.LIB (?C?FPMUL)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51FPL.LIB (?C?FCAST)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51FPL.LIB (?C?CASTF)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51FPL.LIB (?C?FPGETOPN)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C_STARTUP)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?COPY)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?CLDPTR)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?CLDOPTR)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?CSTPTR)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?IILDX)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?ILDIX)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?ULDIV)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?LNEG)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?ULCMP)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?LSTXDATA)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?LSTKXDATA)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C?ICALL)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+  H:\KEIL\C51\LIB\C51L.LIB (?C_INIT)
+         COMMENT TYPE 1: A51 / ASM51 Assembler
+
+
+ACTIVE MEMORY CLASSES OF MODULE:  OUTPUT\FW (BLUETOOTH)
+
+BASE        START       END         USED      MEMORY CLASS
+==========================================================
+X:000000H   X:004DD0H   X:004F40H   00030EH   XDATA
+C:000000H   C:000000H   C:00FFFFH   002561H   CODE
+I:000000H   I:000010H   I:00007FH   000008H   DATA
+I:000000H   I:000080H   I:0000CFH   000001H   IDATA
+C:000000H   C:000000H   C:00FFFFH   0000B6H   CONST
+I:000020H.0 I:000020H.0 I:00002FH.7 000001H.2 BIT
+
+
+MEMORY MAP OF MODULE:  OUTPUT\FW (BLUETOOTH)
+
+
+START     STOP      LENGTH    ALIGN  RELOC    MEMORY CLASS   SEGMENT NAME
+=========================================================================
+
+* * * * * * * * * * *   D A T A   M E M O R Y   * * * * * * * * * * * * *
+000000H   000007H   000008H   ---    AT..     DATA           "REG BANK 0"
+000008H.0 00001FH.7 000018H.0 ---    ---      **GAP**
+000020H.0 000020H.0 000000H.1 BIT    UNIT     BIT            ?BI?_GPIOSETBIT?GPIO
+000020H.1 000020H.1 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETOUT?GPIO
+000020H.2 000020H.2 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETPU?GPIO
+000020H.3 000020H.3 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETPD?GPIO
+000020H.4 000020H.4 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETOE?GPIO
+000020H.5 000020H.5 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETINPUT?GPIO
+000020H.6 000020H.6 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETOUTPUT?GPIO
+000020H.7 000020H.7 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETWAKEUP?GPIO
+000021H.0 000021H.0 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO
+000021H.1 000021H.1 000000H.1 BIT    UNIT     BIT            ?BI?_GPIO_FLIPOUTBIT?GPIO
+000021H.2 0000CFH   0000AEH.6 ---    ---      **GAP**
+0000D0H   0000D0H   000001H   BYTE   UNIT     IDATA          ?STACK
+
+* * * * * * * * * * *   C O D E   M E M O R Y   * * * * * * * * * * * * *
+000000H   000002H   000003H   ---    OFFS..   CODE           ?CO??C_STARTUP?0
+000003H   000569H   000567H   BYTE   UNIT     CODE           ?C?LIB_CODE
+00056AH   0005F5H   00008CH   BYTE   UNIT     CODE           ?C_C51STARTUP
+0005F6H   00060BH   000016H   BYTE   UNIT     CODE           ?C_INITSEG
+00060CH   0006BEH   0000B3H   BYTE   UNIT     CONST          ?CO?GLOBAL_VARIABLE
+0006BFH   0006C1H   000003H   BYTE   UNIT     CONST          ?CO?IPC
+0006C2H   0006CEH   00000DH   BYTE   UNIT     CODE           ?PR?YC_CHECK_IS_CONNECTED?BLUETOOTH
+0006CFH   000795H   0000C7H   BYTE   UNIT     CODE           ?PR?LED_HANDLE?LED
+000796H   0007A7H   000012H   BYTE   UNIT     CODE           ?PR?_GPIO_SETOUT?GPIO
+0007A8H   0007AEH   000007H   BYTE   UNIT     CODE           ?PR?SYSTEM_LONG_SLEEP?SYS
+0007AFH   0007D5H   000027H   BYTE   UNIT     CODE           ?PR?_IPC_TXCONTROLCMD?IPC
+0007D6H   000869H   000094H   BYTE   UNIT     CODE           ?PR?_IPCTX?IPC
+00086AH   0008C3H   00005AH   BYTE   UNIT     CODE           ?PR?_BUFSIZE?IPC
+0008C4H   000901H   00003EH   BYTE   UNIT     CODE           ?PR?YC_CHECK_NEED_RECONNECTED?BLUETOOTH
+000902H   00098CH   00008BH   BYTE   UNIT     CODE           ?PR?_IPC_TXHIDDATA?KB_PROCESS
+00098DH   000BF6H   00026AH   BYTE   UNIT     CODE           ?PR?_KB_MOTION_KEYSCAN?KB_PROCESS
+000BF7H   000C22H   00002CH   BYTE   UNIT     CODE           ?PR?_XMEMCLEAR?UTILITIES
+000C23H   000CACH   00008AH   BYTE   UNIT     CODE           ?PR?SYSTEM_CLEAR_MEM?SYS
+000CADH   000CE6H   00003AH   BYTE   UNIT     CODE           ?PR?_KB_SEND_COMBINATION_KEY?KB_PROCESS
+000CE7H   000D5CH   000076H   BYTE   UNIT     CODE           ?PR?KB_NEED_KEYSCAN?KB_PROCESS
+000D5DH   000D90H   000034H   BYTE   UNIT     CODE           ?PR?KB_MOTION?KB_PROCESS
+000D91H   000DCCH   00003CH   BYTE   UNIT     CODE           ?PR?KB_24G_GET_LED_STATUS?KB_PROCESS
+000DCDH   000E0FH   000043H   BYTE   UNIT     CODE           ?PR?_XMEMCPY?UTILITIES
+000E10H   000EBFH   0000B0H   BYTE   UNIT     CODE           ?PR?_IIC_READ?IIC
+000EC0H   000FDAH   00011BH   BYTE   UNIT     CODE           ?PR?_KB_CB_EVENT?SYS
+000FDBH   000FE0H   000006H   BYTE   UNIT     CODE           ?PR?YC_CLEAR_RECONNECT_FLAG?BLUETOOTH
+000FE1H   000FECH   00000CH   BYTE   UNIT     CODE           ?PR?KS_INITIALIZE?KEYSCAN
+000FEDH   00100AH   00001EH   BYTE   UNIT     CODE           ?PR?KSCOLINITIALIZE?KEYSCAN
+00100BH   001028H   00001EH   BYTE   UNIT     CODE           ?PR?_GPIO_SETINPUT?GPIO
+001029H   001039H   000011H   BYTE   UNIT     CODE           ?PR?_GPIO_SETPU?GPIO
+00103AH   001055H   00001CH   BYTE   UNIT     CODE           ?PR?_GPIO_SETOUTPUT?GPIO
+001056H   001069H   000014H   BYTE   UNIT     CODE           ?PR?LED_ALL_SHUTDOWN?LED
+00106AH   0010C2H   000059H   BYTE   UNIT     CODE           ?PR?_YC_PWM_SET_DUTY?PWM
+0010C3H   001202H   000140H   BYTE   UNIT     CODE           ?PR?_KEY_FN_FUNCTION?KB_PROCESS
+001203H   001227H   000025H   BYTE   UNIT     CODE           ?PR?_KB_COMBINATION_KEY_PRESS?KB_PROCESS
+001228H   001238H   000011H   BYTE   UNIT     CODE           ?PR?_GPIO_SETOE?GPIO
+001239H   00124EH   000016H   BYTE   UNIT     CODE           ?PR?YC_PWM_DISABLE?PWM
+00124FH   001255H   000007H   BYTE   UNIT     CODE           ?PR?SYSTEM_HARDWARE_INIT?SYS
+001256H   001266H   000011H   BYTE   UNIT     CODE           ?PR?_GPIO_SETPD?GPIO
+001267H   0012C7H   000061H   BYTE   UNIT     CODE           ?PR?_GPIOSETBIT?GPIO
+0012C8H   0012DBH   000014H   BYTE   UNIT     CODE           ?PR?YC_PWM_INIT?PWM
+0012DCH   00132BH   000050H   BYTE   UNIT     CODE           ?PR?YC_SYSTEM_MAIN?SYS
+00132CH   0013C4H   000099H   BYTE   UNIT     CODE           ?PR?KS_UNISTALL?KEYSCAN
+0013C5H   0013D7H   000013H   BYTE   UNIT     CODE           ?PR?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO
+0013D8H   001463H   00008CH   BYTE   UNIT     CODE           ?PR?_GPIO_SETWAKEUP?GPIO
+001464H   00146EH   00000BH   BYTE   UNIT     CODE           ?PR?IPC_WAITLPM?IPC
+00146FH   001486H   000018H   BYTE   UNIT     CODE           ?PR?_DELAY1MS?UTILITIES
+001487H   0014C8H   000042H   BYTE   UNIT     CODE           ?PR?YC_UPDATE_EEPROM_DATA?BLUETOOTH
+0014C9H   001576H   0000AEH   BYTE   UNIT     CODE           ?PR?_IIC_WRITEBLOCK?IIC
+001577H   00157CH   000006H   BYTE   UNIT     CODE           ?PR?KB_CB_INIT?SYS
+00157DH   001589H   00000DH   BYTE   UNIT     CODE           ?PR?_IPC_INITIALIZE?IPC
+00158AH   00158FH   000006H   BYTE   UNIT     CODE           ?PR?_GPIO_GETINPUTSTATUS?GPIO
+001590H   0015CEH   00003FH   BYTE   UNIT     CODE           ?PR?_GPIOGETBIT?GPIO
+0015CFH   0015EAH   00001CH   BYTE   UNIT     CODE           ?PR?_GPIO_FLIPOUTBIT?GPIO
+0015EBH   001604H   00001AH   BYTE   UNIT     CODE           ?PR?LED_TIMER500MS?SYS
+001605H   001688H   000084H   BYTE   UNIT     CODE           ?PR?KB_BUTTON_PRESS_TIMER500MS?SYS
+001689H   00174CH   0000C4H   BYTE   UNIT     CODE           ?PR?_YC_KEY_ACTION_HANDLE?KB_PROCESS
+00174DH   001764H   000018H   BYTE   UNIT     CODE           ?PR?YC_DISCONNECT_ALL_LINK?BLUETOOTH
+001765H   00177BH   000017H   BYTE   UNIT     CODE           ?PR?KB_CB_TIMER500MS?SYS
+00177CH   00179EH   000023H   BYTE   UNIT     CODE           ?PR?YC_PAIRING_TIMEROUT_500MS?SYS
+00179FH   0017B0H   000012H   BYTE   UNIT     CODE           ?PR?YC_ADC_CHECK_TIMER500MS?ADC
+0017B1H   0017B2H   000002H   BYTE   UNIT     CODE           ?PR?MAIN?RAM
+0017B3H   0017BCH   00000AH   BYTE   UNIT     CODE           ?PR?YC_START_RECONNECT?BLUETOOTH
+0017BDH   0017C8H   00000CH   BYTE   UNIT     CODE           ?PR?IPC_ABANDONLPM?IPC
+0017C9H   0017E5H   00001DH   BYTE   UNIT     CODE           ?PR?KSRAWINITIALIZE?KEYSCAN
+0017E6H   001800H   00001BH   BYTE   UNIT     CODE           ?PR?_KB_SET_MULTIKEY?KB_PROCESS
+001801H   00181BH   00001BH   BYTE   UNIT     CODE           ?PR?_KB_SET_SYSTEMKEY?KB_PROCESS
+00181CH   001AC8H   0002ADH   BYTE   UNIT     CODE           ?PR?_KB_MULTIKEY_SETUP?KB_PROCESS
+001AC9H   001AD6H   00000EH   BYTE   UNIT     CODE           ?PR?_BIT_COUNT?KEYSCAN
+001AD7H   001CD3H   0001FDH   BYTE   UNIT     CODE           ?PR?KS_GETCURRENTEVT?KEYSCAN
+001CD4H   001D03H   000030H   BYTE   UNIT     CODE           ?PR?_ARRAY_IS_EMPTY?KEYSCAN
+001D04H   001D4DH   00004AH   BYTE   UNIT     CODE           ?PR?_COMPARE_STR?UTILITIES
+001D4EH   001DA3H   000056H   BYTE   UNIT     CODE           ?PR?_KEYIN?KEYSCAN
+001DA4H   001E4CH   0000A9H   BYTE   UNIT     CODE           ?PR?_KEYOUT?KEYSCAN
+001E4DH   001FACH   000160H   BYTE   UNIT     CODE           ?PR?KS_SCANMATRIX?KEYSCAN
+001FADH   001FCAH   00001EH   BYTE   UNIT     CODE           ?PR?SYSTEM_SOFTWARE_INIT?SYS
+001FCBH   001FD3H   000009H   BYTE   UNIT     CODE           ?PR?SYSTEM_HARDWARE_RESET?SYS
+001FD4H   001FD5H   000002H   BYTE   UNIT     CODE           ?PR?SYSTEM_RESET_CONNECT?SYS
+001FD6H   001FE5H   000010H   BYTE   UNIT     CODE           ?PR?_KB_CB_HID?SYS
+001FE6H   002028H   000043H   BYTE   UNIT     CODE           ?PR?YC_CONNECT_TIMEOUT_500MS?SYS
+002029H   002108H   0000E0H   BYTE   UNIT     CODE           ?PR?KB_CB_TIMER100MS?SYS
+002109H   0021CCH   0000C4H   BYTE   UNIT     CODE           ?PR?YC_ADC_INIT?ADC
+0021CDH   002328H   00015CH   BYTE   UNIT     CODE           ?PR?YC_ADC_CHECK?ADC
+002329H   0023C0H   000098H   BYTE   UNIT     CODE           ?PR?_IIC_WRITE?IIC
+0023C1H   0023C8H   000008H   BYTE   UNIT     CODE           ?PR?IICWAITDONE?IIC
+0023C9H   00240CH   000044H   BYTE   UNIT     CODE           ?PR?_DMEMCPY?UTILITIES
+00240DH   00245CH   000050H   BYTE   UNIT     CODE           ?PR?_IPCRX?IPC
+00245DH   002522H   0000C6H   BYTE   UNIT     CODE           ?PR?IPC_DEALSINGLESTEP?IPC
+002523H   002549H   000027H   BYTE   UNIT     CODE           ?PR?_IPC_TXDATA?IPC
+00254AH   002551H   000008H   BYTE   UNIT     CODE           ?PR?_IPC_TX24GDATA?IPC
+002552H   002557H   000006H   BYTE   UNIT     CODE           ?PR?IPC_GETBBDISCONNECTREASON?IPC
+002558H   00256FH   000018H   BYTE   UNIT     CODE           ?PR?IPC_ISTXBUFFEMPTY?IPC
+002570H   002576H   000007H   BYTE   UNIT     CODE           ?PR?YC_ICE_BREAK?UTILITIES
+002577H   0025A3H   00002DH   BYTE   UNIT     CODE           ?PR?_XMEMCLEAR_FF?UTILITIES
+0025A4H   0025E2H   00003FH   BYTE   UNIT     CODE           ?PR?_GPIO_CLEARWAKEUP?GPIO
+0025E3H   002616H   000034H   BYTE   UNIT     CODE           ?PR?GPIO_FILLPD?GPIO
+
+* * * * * * * * * * *  X D A T A   M E M O R Y  * * * * * * * * * * * * *
+000040H   000045H   000006H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?27
+000046H   0000A2H   00005DH   ---    ---      **GAP**
+0000A3H   0000A6H   000004H   BYTE   OFFS..   XDATA          ?XD?GPIO?1
+0000A7H   0000AAH   000004H   BYTE   OFFS..   XDATA          ?XD?GPIO?0
+0000ABH   0003CFH   000325H   ---    ---      **GAP**
+0003D0H   0003D5H   000006H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?2
+0003D6H   000445H   000070H   ---    ---      **GAP**
+000446H   000446H   000001H   BYTE   OFFS..   XDATA          ?XD?IPC?9
+000447H   00054EH   000108H   ---    ---      **GAP**
+00054FH   00054FH   000001H   BYTE   OFFS..   XDATA          ?XD?IPC?1
+000550H   00055FH   000010H   BYTE   OFFS..   XDATA          ?XD?IPC?11
+000560H   000B7DH   00061EH   ---    ---      **GAP**
+000B7EH   000B7EH   000001H   BYTE   OFFS..   XDATA          ?XD?IPC?0
+000B7FH   000B7FH   000001H   BYTE   OFFS..   XDATA          ?XD?IPC?5
+000B80H   000B80H   000001H   ---    ---      **GAP**
+000B81H   000B81H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?7
+000B82H   000B82H   000001H   ---    ---      **GAP**
+000B83H   000BE6H   000064H   BYTE   OFFS..   XDATA          ?XD?IIC?1
+000BE7H   000C4AH   000064H   BYTE   OFFS..   XDATA          ?XD?IPC?6
+000C4BH   000CAEH   000064H   BYTE   OFFS..   XDATA          ?XD?IPC?3
+000CAFH   000CB2H   000004H   BYTE   OFFS..   XDATA          ?XD?IIC?0
+000CB3H   004130H   00347EH   ---    ---      **GAP**
+004131H   004131H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?9
+004132H   004212H   0000E1H   ---    ---      **GAP**
+004213H   004213H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?30
+004214H   00425DH   00004AH   ---    ---      **GAP**
+00425EH   00425EH   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?11
+00425FH   004261H   000003H   ---    ---      **GAP**
+004262H   004271H   000010H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?22
+004272H   004273H   000002H   ---    ---      **GAP**
+004274H   004279H   000006H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?26
+00427AH   00447AH   000201H   ---    ---      **GAP**
+00447BH   00448AH   000010H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?23
+00448BH   00448BH   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?8
+00448CH   0044F8H   00006DH   ---    ---      **GAP**
+0044F9H   0044FEH   000006H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?19
+0044FFH   0047F3H   0002F5H   ---    ---      **GAP**
+0047F4H   0047F5H   000002H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?25
+0047F6H   0047FFH   00000AH   ---    ---      **GAP**
+004800H   004809H   00000AH   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?18
+00480AH   004B99H   000390H   ---    ---      **GAP**
+004B9AH   004B9BH   000002H   BYTE   OFFS..   XDATA          ?XD?IPC?4
+004B9CH   004B9DH   000002H   BYTE   OFFS..   XDATA          ?XD?IPC?8
+004B9EH   004B9FH   000002H   BYTE   OFFS..   XDATA          ?XD?IPC?2
+004BA0H   004BA1H   000002H   BYTE   OFFS..   XDATA          ?XD?IPC?7
+004BA2H   004BA4H   000003H   ---    ---      **GAP**
+004BA5H   004BA6H   000002H   BYTE   OFFS..   XDATA          ?XD?IPC?14
+004BA7H   004BEAH   000044H   ---    ---      **GAP**
+004BEBH   004BEEH   000004H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?0
+004BEFH   004BFFH   000011H   ---    ---      **GAP**
+004C00H   004C03H   000004H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?5
+004C04H   004C5DH   00005AH   ---    ---      **GAP**
+004C5EH   004C5FH   000002H   BYTE   OFFS..   XDATA          ?XD?IPC?12
+004C60H   004C8CH   00002DH   ---    ---      **GAP**
+004C8DH   004C8DH   000001H   BYTE   OFFS..   XDATA          ?XD?IPC?13
+004C8EH   004C8EH   000001H   BYTE   OFFS..   XDATA          ?XD?IPC?10
+004C8FH   004C8FH   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?24
+004C90H   004C90H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?13
+004C91H   004C92H   000002H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?6
+004C93H   004C94H   000002H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?10
+004C95H   004C96H   000002H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?29
+004C97H   004CB5H   00001FH   ---    ---      **GAP**
+004CB6H   004CB6H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?16
+004CB7H   004CB7H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?14
+004CB8H   004CBEH   000007H   ---    ---      **GAP**
+004CBFH   004D03H   000045H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?3
+004D04H   004D37H   000034H   ---    ---      **GAP**
+004D38H   004D38H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?28
+004D39H   004D3CH   000004H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?31
+004D3DH   004D40H   000004H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?15
+004D41H   004D46H   000006H   ---    ---      **GAP**
+004D47H   004D47H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?12
+004D48H   004D51H   00000AH   ---    ---      **GAP**
+004D52H   004D52H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?17
+004D53H   004D92H   000040H   ---    ---      **GAP**
+004D93H   004DA6H   000014H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?21
+004DA7H   004DA7H   000001H   ---    ---      **GAP**
+004DA8H   004DBBH   000014H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?1
+004DBCH   004DCFH   000014H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?20
+004DD0H   004DEEH   00001FH   BYTE   UNIT     XDATA          ?XD?GLOBAL_VARIABLE
+004DEFH   004E00H   000012H   BYTE   UNIT     XDATA          ?XD?SYS
+004E01H   004E12H   000012H   BYTE   UNIT     XDATA          ?XD?IPC
+004E13H   004E20H   00000EH   BYTE   UNIT     XDATA          ?XD?KS_GETCURRENTEVT?KEYSCAN
+004E21H   004E29H   000009H   BYTE   UNIT     XDATA          ?XD?_IIC_WRITEBLOCK?IIC
+004E2AH   004E31H   000008H   BYTE   UNIT     XDATA          ?XD?_DMEMCPY?UTILITIES
+004E32H   004E38H   000007H   BYTE   UNIT     XDATA          ?XD?KEYSCAN
+004E39H   004E3FH   000007H   BYTE   UNIT     XDATA          ?XD?_COMPARE_STR?UTILITIES
+004E40H   004E46H   000007H   BYTE   UNIT     XDATA          ?XD?_IIC_WRITE?IIC
+004E47H   004E4CH   000006H   BYTE   UNIT     XDATA          ?XD?_IPCTX?IPC
+004E4DH   004E52H   000006H   BYTE   UNIT     XDATA          ?XD?_XMEMCPY?UTILITIES
+004E53H   004E57H   000005H   BYTE   UNIT     XDATA          ?XD?_KB_MOTION_KEYSCAN?KB_PROCESS
+004E58H   004E5CH   000005H   BYTE   UNIT     XDATA          ?XD?YC_ADC_CHECK?ADC
+004E5DH   004E61H   000005H   BYTE   UNIT     XDATA          ?XD?_IIC_READ?IIC
+004E62H   004E65H   000004H   BYTE   UNIT     XDATA          ?XD?_IPC_TXHIDDATA?KB_PROCESS
+004E66H   004E69H   000004H   BYTE   UNIT     XDATA          ?XD?_KB_MULTIKEY_SETUP?KB_PROCESS
+004E6AH   004E6DH   000004H   BYTE   UNIT     XDATA          ?XD?KS_SCANMATRIX?KEYSCAN
+004E6EH   004E71H   000004H   BYTE   UNIT     XDATA          ?XD?_BUFSIZE?IPC
+004E72H   004E75H   000004H   BYTE   UNIT     XDATA          ?XD?_IPC_TXCONTROLCMD?IPC
+004E76H   004E78H   000003H   BYTE   UNIT     XDATA          ?XD?KB_MOTION?KB_PROCESS
+004E79H   004E7BH   000003H   BYTE   UNIT     XDATA          ?XD?_ARRAY_IS_EMPTY?KEYSCAN
+004E7CH   004E7EH   000003H   BYTE   UNIT     XDATA          ?XD?_YC_PWM_SET_DUTY?PWM
+004E7FH   004E81H   000003H   BYTE   UNIT     XDATA          ?XD?IPC_DEALSINGLESTEP?IPC
+004E82H   004E84H   000003H   BYTE   UNIT     XDATA          ?XD?_XMEMCLEAR?UTILITIES
+004E85H   004E87H   000003H   BYTE   UNIT     XDATA          ?XD?_XMEMCLEAR_FF?UTILITIES
+004E88H   004E8AH   000003H   BYTE   UNIT     XDATA          ?XD?_GPIOSETBIT?GPIO
+004E8BH   004E8CH   000002H   BYTE   UNIT     XDATA          ?XD?_KB_SEND_COMBINATION_KEY?KB_PROCESS
+004E8DH   004E8EH   000002H   BYTE   UNIT     XDATA          ?XD?_KEY_FN_FUNCTION?KB_PROCESS
+004E8FH   004E90H   000002H   BYTE   UNIT     XDATA          ?XD?_KB_CB_HID?SYS
+004E91H   004E92H   000002H   BYTE   UNIT     XDATA          ?XD?_IPCRX?IPC
+004E93H   004E93H   000001H   BYTE   UNIT     XDATA          ?XD?_YC_KEY_ACTION_HANDLE?KB_PROCESS
+004E94H   004E94H   000001H   BYTE   UNIT     XDATA          ?XD?KSRAWINITIALIZE?KEYSCAN
+004E95H   004E95H   000001H   BYTE   UNIT     XDATA          ?XD?KSCOLINITIALIZE?KEYSCAN
+004E96H   004E96H   000001H   BYTE   UNIT     XDATA          ?XD?KS_UNISTALL?KEYSCAN
+004E97H   004E97H   000001H   BYTE   UNIT     XDATA          ?XD?_KB_CB_EVENT?SYS
+004E98H   004E98H   000001H   BYTE   UNIT     XDATA          ?XD?_IPC_TXDATA?IPC
+004E99H   004E99H   000001H   BYTE   UNIT     XDATA          ?XD?_GPIOGETBIT?GPIO
+004E9AH   004E9AH   000001H   BYTE   UNIT     XDATA          ?XD?_GPIO_SETWAKEUPBYCURRENTSTATE?GPIO
+004E9BH   004E9BH   000001H   BYTE   UNIT     XDATA          ?XD?_GPIO_FLIPOUTBIT?GPIO
+004E9CH   00800FH   003174H   ---    ---      **GAP**
+008010H   008010H   000001H   BYTE   OFFS..   XDATA          ?XD?GLOBAL_VARIABLE?4
+
+
+
+PUBLIC SYMBOLS OF MODULE:  OUTPUT\FW (BLUETOOTH)
+
+
+      VALUE       CLASS    TYPE      PUBLIC SYMBOL NAME
+      =================================================
+      02004E39H   XDATA    BYTE      ?_compare_str?BYTE
+      02004E2AH   XDATA    BYTE      ?_dmemcpy?BYTE
+      00000020H.5 BIT      BIT       ?_GPIO_SetInput?BIT
+      00000020H.4 BIT      BIT       ?_GPIO_Setoe?BIT
+      00000020H.1 BIT      BIT       ?_GPIO_Setout?BIT
+      00000020H.6 BIT      BIT       ?_GPIO_SetOutput?BIT
+      00000020H.3 BIT      BIT       ?_GPIO_SetPd?BIT
+      00000020H.2 BIT      BIT       ?_GPIO_SetPu?BIT
+      00000020H.7 BIT      BIT       ?_GPIO_SetWakeup?BIT
+      02004E4DH   XDATA    BYTE      ?_xmemcpy?BYTE
+      0100023FH   CODE     ---       ?C?CASTF
+      010003CFH   CODE     ---       ?C?CLDOPTR
+      010003B6H   CODE     ---       ?C?CLDPTR
+      00000000H   NUMBER   ---       ?C?CODESEG
+      01000390H   CODE     ---       ?C?COPY
+      010003FCH   CODE     ---       ?C?CSTPTR
+      0100020BH   CODE     ---       ?C?FCASTC
+      01000206H   CODE     ---       ?C?FCASTI
+      01000201H   CODE     ---       ?C?FCASTL
+      0100000AH   CODE     ---       ?C?FPADD
+      01000276H   CODE     ---       ?C?FPGETOPN2
+      010000FBH   CODE     ---       ?C?FPMUL
+      010002ABH   CODE     ---       ?C?FPNANRESULT
+      010002B5H   CODE     ---       ?C?FPOVERFLOW
+      0100028DH   CODE     ---       ?C?FPRESULT
+      010002A1H   CODE     ---       ?C?FPRESULT2
+      01000006H   CODE     ---       ?C?FPSUB
+      010002B2H   CODE     ---       ?C?FPUNDERFLOW
+      01000564H   CODE     ---       ?C?ICALL
+      01000568H   CODE     ---       ?C?ICALL2
+      0100040EH   CODE     ---       ?C?IILDX
+      01000424H   CODE     ---       ?C?ILDIX
+      01000508H   CODE     ---       ?C?LNEG
+      01000533H   CODE     ---       ?C?LSTKXDATA
+      01000527H   CODE     ---       ?C?LSTXDATA
+      01000516H   CODE     ---       ?C?ULCMP
+      01000476H   CODE     ---       ?C?ULDIV
+      00000000H   NUMBER   ---       ?C?XDATASEG
+      010005B1H   CODE     ---       ?C_START
+      01000000H   CODE     ---       ?C_STARTUP
+      01001CD4H   CODE     ---       _array_is_empty
+      01001D04H   CODE     ---       _compare_str
+      0100146FH   CODE     ---       _Delay1ms
+      010023C9H   CODE     ---       _dmemcpy
+      010025A4H   CODE     ---       _GPIO_ClearWakeup
+      010015CFH   CODE     ---       _GPIO_FlipOutBit
+      0100158AH   CODE     ---       _GPIO_GetInputStatus
+      0100100BH   CODE     ---       _GPIO_SetInput
+      01001228H   CODE     ---       _GPIO_Setoe
+      01000796H   CODE     ---       _GPIO_Setout
+      0100103AH   CODE     ---       _GPIO_SetOutput
+      01001256H   CODE     ---       _GPIO_SetPd
+      01001029H   CODE     ---       _GPIO_SetPu
+      010013D8H   CODE     ---       _GPIO_SetWakeup
+      010013C5H   CODE     ---       _GPIO_SetWakeupByCurrentState
+      01000E10H   CODE     ---       _IIC_Read
+      01002329H   CODE     ---       _IIC_write
+      010014C9H   CODE     ---       _IIC_WriteBlock
+      0100157DH   CODE     ---       _IPC_Initialize
+      0100254AH   CODE     ---       _IPC_Tx24GData
+      010007AFH   CODE     ---       _IPC_TxControlCmd
+      01002523H   CODE     ---       _IPC_TxData
+      01000902H   CODE     ---       _IPC_TxHidData
+      01001203H   CODE     ---       _kb_combination_key_press
+      0100098DH   CODE     ---       _kb_motion_keyscan
+      0100181CH   CODE     ---       _kb_multikey_setup
+      01000CADH   CODE     ---       _kb_send_combination_key
+      010017E6H   CODE     ---       _kb_set_multikey
+      01001801H   CODE     ---       _kb_set_systemkey
+      010010C3H   CODE     ---       _key_fn_function
+      01000BF7H   CODE     ---       _xmemclear
+      01002577H   CODE     ---       _xmemclear_ff
+      01000DCDH   CODE     ---       _xmemcpy
+      01001689H   CODE     ---       _YC_key_action_handle
+      0100106AH   CODE     ---       _YC_PWM_set_duty
+      02004DE3H   XDATA    BYTE      action_timeout
+      02004DDDH   XDATA    BYTE      ble_reconnect_flag
+      02004C8DH   XDATA    BYTE      btstimer
+      02004BA5H   XDATA    WORD      bttimer
+      02004C8EH   XDATA    BYTE      c51stimer
+      02004C5EH   XDATA    WORD      c51timer
+      0100060CH   CONST    ---       col
+      02000B7EH   XDATA    BYTE      current_task
+      02004DDEH   XDATA    BYTE      delayChgInvTimer
+      02004DDBH   XDATA    BYTE      fn_flag
+      02004DE1H   XDATA    BYTE      fn_flag_last
+      02004DDFH   XDATA    BYTE      fn_lock_flag
+      02004DD3H   XDATA    BYTE      fn_tx_flag
+      02004CBFH   XDATA    ---       g_variable
+      02004DD0H   XDATA    BYTE      get_24g_led_send
+      010025E3H   CODE     ---       GPIO_fillpd
+      02004800H   XDATA    ---       hidBuff
+      02004DDAH   XDATA    BYTE      iOS_rec_pinCode
+      010017BDH   CODE     ---       IPC_AbandonLpm
+      0100245DH   CODE     ---       IPC_DealSingleStep
+      01002552H   CODE     ---       IPC_GetBBDIsconnectReason
+      01002558H   CODE     ---       IPC_IsTxBuffEmpty
+      01001464H   CODE     ---       IPC_WaitLpm
+      02000550H   XDATA    ---       ipcPin
+      0200054FH   XDATA    BYTE      ipcPinlen
+      02000C4BH   XDATA    ---       ipcReadBuff
+      02000BE7H   XDATA    ---       ipcSendBuff
+      01000D91H   CODE     ---       kb_24g_get_led_status
+      01001605H   CODE     ---       kb_button_press_timer500ms
+      01000CE7H   CODE     ---       kb_need_keyscan
+      01001AD7H   CODE     ---       KS_GetCurrentEvt
+      01000FE1H   CODE     ---       KS_Initialize
+      01001E4DH   CODE     ---       KS_ScanMatrix
+      0100132CH   CODE     ---       KS_Unistall
+      02004213H   XDATA    BYTE      kscurrmult
+      02004E32H   XDATA    ---       ksEvtPool
+      01000621H   CONST    ---       ksMap
+      02004DA8H   XDATA    ---       ksSelMapCheck
+      02004DBCH   XDATA    ---       ksSelMapCurr
+      02004D93H   XDATA    ---       ksSelMapOld
+      02004D39H   XDATA    DWORD     le_pin_code
+      02004DD2H   XDATA    BYTE      le_pin_code_len
+      01001056H   CODE     ---       LED_all_shutdown
+      010006CFH   CODE     ---       LED_handle
+      010015EBH   CODE     ---       LED_timer500ms
+      02004DD5H   XDATA    BYTE      long_press_flag
+      02000B7FH   XDATA    BYTE      lpm_flag
+      02004C00H   XDATA    ---       m_24g_addr
+      02004D3DH   XDATA    ---       m_24g_enter_hibernate
+      02004D47H   XDATA    BYTE      m_24g_led_flag
+      02004BEBH   XDATA    ---       m_24g_paring_addr
+      02004C91H   XDATA    WORD      m_adc0vBase
+      02004C93H   XDATA    WORD      m_adc3vValue
+      02004C90H   XDATA    BYTE      m_adc_channel
+      02004C8FH   XDATA    BYTE      m_adc_config_flag
+      02004C95H   XDATA    WORD      m_adcCurrentValue
+      02004CB7H   XDATA    BYTE      m_caps_num_lock
+      02004DD9H   XDATA    BYTE      m_caps_num_lock_last
+      02004D52H   XDATA    BYTE      m_customize_timer
+      020044F9H   XDATA    ---       m_le_lap
+      0200447BH   XDATA    ---       m_le_ltk
+      0200425EH   XDATA    BYTE      m_link_key_exists
+      02004262H   XDATA    ---       m_linkkey
+      02004131H   XDATA    BYTE      m_lpm_mode
+      0200448BH   XDATA    BYTE      m_ltk_exists
+      02004CB6H   XDATA    BYTE      m_power_on_flag
+      02004274H   XDATA    ---       m_reconn_addr
+      02004D38H   XDATA    BYTE      m_reconnect_continue
+      02000040H   XDATA    ---       m_remote_addr
+      020003D0H   XDATA    ---       m_remote_le_addr
+      02008010H   XDATA    BYTE      m_reset_reg
+      020047F4H   XDATA    WORD      m_ui_state_map
+      02000B81H   XDATA    BYTE      m_wakup_from_power_flag
+      010017B1H   CODE     ---       main
+      02004DE5H   XDATA    BYTE      mult_key_status
+      02004DE4H   XDATA    BYTE      mult_key_value
+      02004DE6H   XDATA    ---       multikey
+      02004DD7H   XDATA    BYTE      pinCode_flag
+      02004DE2H   XDATA    BYTE      power_on_flag
+      02004DDCH   XDATA    BYTE      press_long_time_flag
+      02004DD1H   XDATA    BYTE      recon_index
+      02004DD6H   XDATA    BYTE      repeat_send_24g
+      02004DD8H   XDATA    BYTE      standard_key_release_flag
+      02004DD4H   XDATA    BYTE      switch_role_timer
+      02004DE0H   XDATA    BYTE      system_key_press
+      010007A8H   CODE     ---       System_long_sleep
+      01001FD4H   CODE     ---       System_Reset_Connect
+      01001FADH   CODE     ---       System_Software_init
+      010021CDH   CODE     ---       YC_adc_check
+      0100179FH   CODE     ---       YC_adc_check_timer500ms
+      01002109H   CODE     ---       YC_adc_init
+      010006C2H   CODE     ---       YC_check_is_connected
+      010008C4H   CODE     ---       YC_check_need_reconnected
+      01000FDBH   CODE     ---       YC_clear_reconnect_flag
+      01001FE6H   CODE     ---       YC_connect_timeout_500ms
+      0100174DH   CODE     ---       YC_disconnect_all_link
+      020000A7H   XDATA    ---       YC_GPIOWakeupH
+      020000A3H   XDATA    ---       YC_GPIOWakeupL
+      01002570H   CODE     ---       YC_Ice_break
+      0100177CH   CODE     ---       YC_pairing_timerout_500ms
+      01001239H   CODE     ---       YC_PWM_disable
+      010012C8H   CODE     ---       YC_PWM_init
+      010017B3H   CODE     ---       YC_start_reconnect
+      010012DCH   CODE     ---       YC_System_Main
+      01001487H   CODE     ---       YC_update_eeprom_data
+
+
+
+SYMBOL TABLE OF MODULE:  OUTPUT\FW (BLUETOOTH)
+
+      VALUE       REP       CLASS    TYPE      SYMBOL NAME
+      ====================================================
+      ---         MODULE    ---      ---       BLUETOOTH
+      01001487H   PUBLIC    CODE     ---       YC_update_eeprom_data
+      010017B3H   PUBLIC    CODE     ---       YC_start_reconnect
+      0100174DH   PUBLIC    CODE     ---       YC_disconnect_all_link
+      01000FDBH   PUBLIC    CODE     ---       YC_clear_reconnect_flag
+      010008C4H   PUBLIC    CODE     ---       YC_check_need_reconnected
+      010006C2H   PUBLIC    CODE     ---       YC_check_is_connected
+
+      010006C2H   BLOCK     CODE     ---       LVL=0
+      010006C2H   LINE      ---      ---       #4
+      010006C2H   LINE      ---      ---       #5
+      010006C2H   LINE      ---      ---       #6
+      010006C9H   LINE      ---      ---       #7
+      010006C9H   LINE      ---      ---       #8
+      010006CCH   LINE      ---      ---       #9
+      010006CCH   LINE      ---      ---       #10
+      010006CEH   LINE      ---      ---       #11
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010008C4H   BLOCK     CODE     ---       LVL=0
+      010008C4H   LINE      ---      ---       #13
+      010008C4H   LINE      ---      ---       #14
+      010008C4H   BLOCK     CODE     NEAR LAB  LVL=1
+      010008C4H   LINE      ---      ---       #15
+      010008C6H   LINE      ---      ---       #17
+      010008CCH   LINE      ---      ---       #18
+      010008CDH   LINE      ---      ---       #20
+      010008D4H   LINE      ---      ---       #21
+      010008D5H   LINE      ---      ---       #23
+      010008DDH   LINE      ---      ---       #24
+      010008DDH   LINE      ---      ---       #25
+      010008E3H   LINE      ---      ---       #26
+      010008E3H   LINE      ---      ---       #27
+      010008E6H   LINE      ---      ---       #28
+      010008F1H   LINE      ---      ---       #30
+      010008F1H   LINE      ---      ---       #31
+      010008F6H   LINE      ---      ---       #32
+      010008F8H   LINE      ---      ---       #33
+      010008F8H   LINE      ---      ---       #34
+      010008F8H   LINE      ---      ---       #35
+      010008FAH   LINE      ---      ---       #37
+      010008FAH   LINE      ---      ---       #38
+      010008FFH   LINE      ---      ---       #39
+      01000901H   LINE      ---      ---       #40
+      01000901H   LINE      ---      ---       #41
+      01000901H   LINE      ---      ---       #42
+      00000007H   SYMBOL    DATA     VOID      return_val
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01000FDBH   BLOCK     CODE     ---       LVL=0
+      01000FDBH   LINE      ---      ---       #45
+      01000FDBH   LINE      ---      ---       #46
+      01000FDBH   LINE      ---      ---       #47
+      01000FE0H   LINE      ---      ---       #48
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100174DH   BLOCK     CODE     ---       LVL=0
+      0100174DH   LINE      ---      ---       #51
+      0100174DH   LINE      ---      ---       #52
+      0100174DH   LINE      ---      ---       #53
+      0100175AH   LINE      ---      ---       #55
+      0100175AH   LINE      ---      ---       #56
+      0100175FH   LINE      ---      ---       #57
+      01001762H   LINE      ---      ---       #58
+      01001762H   LINE      ---      ---       #59
+      01001764H   LINE      ---      ---       #60
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010017B3H   BLOCK     CODE     ---       LVL=0
+      010017B3H   LINE      ---      ---       #63
+      010017B3H   LINE      ---      ---       #64
+      010017B3H   LINE      ---      ---       #65
+      010017B9H   LINE      ---      ---       #66
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001487H   BLOCK     CODE     ---       LVL=0
+      01001487H   LINE      ---      ---       #70
+      01001487H   LINE      ---      ---       #71
+      01001487H   LINE      ---      ---       #72
+      0100148DH   LINE      ---      ---       #73
+      0100148DH   LINE      ---      ---       #74
+      01001491H   LINE      ---      ---       #75
+      01001498H   LINE      ---      ---       #76
+      010014A8H   LINE      ---      ---       #77
+      010014B8H   LINE      ---      ---       #78
+      010014BFH   LINE      ---      ---       #79
+      010014C3H   LINE      ---      ---       #80
+      010014C8H   LINE      ---      ---       #81
+      010014C8H   LINE      ---      ---       #82
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      ---         MODULE    ---      ---       GLOBAL_VARIABLE
+      02004DE6H   PUBLIC    XDATA    ---       multikey
+      02004DE5H   PUBLIC    XDATA    BYTE      mult_key_status
+      02004D39H   PUBLIC    XDATA    DWORD     le_pin_code
+      02004DE4H   PUBLIC    XDATA    BYTE      mult_key_value
+      02004DE3H   PUBLIC    XDATA    BYTE      action_timeout
+      02004DE2H   PUBLIC    XDATA    BYTE      power_on_flag
+      02004DE1H   PUBLIC    XDATA    BYTE      fn_flag_last
+      02004DE0H   PUBLIC    XDATA    BYTE      system_key_press
+      02004213H   PUBLIC    XDATA    BYTE      kscurrmult
+      02004C95H   PUBLIC    XDATA    WORD      m_adcCurrentValue
+      02004D38H   PUBLIC    XDATA    BYTE      m_reconnect_continue
+      02004DDFH   PUBLIC    XDATA    BYTE      fn_lock_flag
+      02000040H   PUBLIC    XDATA    ---       m_remote_addr
+      02004DDEH   PUBLIC    XDATA    BYTE      delayChgInvTimer
+      02004DDDH   PUBLIC    XDATA    BYTE      ble_reconnect_flag
+      02004274H   PUBLIC    XDATA    ---       m_reconn_addr
+      02004DDCH   PUBLIC    XDATA    BYTE      press_long_time_flag
+      02004DDBH   PUBLIC    XDATA    BYTE      fn_flag
+      020047F4H   PUBLIC    XDATA    WORD      m_ui_state_map
+      02004DDAH   PUBLIC    XDATA    BYTE      iOS_rec_pinCode
+      02004C8FH   PUBLIC    XDATA    BYTE      m_adc_config_flag
+      02004DD9H   PUBLIC    XDATA    BYTE      m_caps_num_lock_last
+      0200447BH   PUBLIC    XDATA    ---       m_le_ltk
+      02004262H   PUBLIC    XDATA    ---       m_linkkey
+      02004D93H   PUBLIC    XDATA    ---       ksSelMapOld
+      02004DD8H   PUBLIC    XDATA    BYTE      standard_key_release_flag
+      02004DBCH   PUBLIC    XDATA    ---       ksSelMapCurr
+      02004DD7H   PUBLIC    XDATA    BYTE      pinCode_flag
+      02004DD6H   PUBLIC    XDATA    BYTE      repeat_send_24g
+      02004DD5H   PUBLIC    XDATA    BYTE      long_press_flag
+      020044F9H   PUBLIC    XDATA    ---       m_le_lap
+      02004800H   PUBLIC    XDATA    ---       hidBuff
+      02004D52H   PUBLIC    XDATA    BYTE      m_customize_timer
+      02004CB6H   PUBLIC    XDATA    BYTE      m_power_on_flag
+      02004D3DH   PUBLIC    XDATA    ---       m_24g_enter_hibernate
+      02004CB7H   PUBLIC    XDATA    BYTE      m_caps_num_lock
+      02004C90H   PUBLIC    XDATA    BYTE      m_adc_channel
+      02004DD4H   PUBLIC    XDATA    BYTE      switch_role_timer
+      02004D47H   PUBLIC    XDATA    BYTE      m_24g_led_flag
+      0200425EH   PUBLIC    XDATA    BYTE      m_link_key_exists
+      02004C93H   PUBLIC    XDATA    WORD      m_adc3vValue
+      02004131H   PUBLIC    XDATA    BYTE      m_lpm_mode
+      02004DD3H   PUBLIC    XDATA    BYTE      fn_tx_flag
+      0200448BH   PUBLIC    XDATA    BYTE      m_ltk_exists
+      02000B81H   PUBLIC    XDATA    BYTE      m_wakup_from_power_flag
+      02004C91H   PUBLIC    XDATA    WORD      m_adc0vBase
+      02004DD2H   PUBLIC    XDATA    BYTE      le_pin_code_len
+      02004C00H   PUBLIC    XDATA    ---       m_24g_addr
+      02004DD1H   PUBLIC    XDATA    BYTE      recon_index
+      02004DD0H   PUBLIC    XDATA    BYTE      get_24g_led_send
+      02008010H   PUBLIC    XDATA    BYTE      m_reset_reg
+      02004CBFH   PUBLIC    XDATA    ---       g_variable
+      020003D0H   PUBLIC    XDATA    ---       m_remote_le_addr
+      02004DA8H   PUBLIC    XDATA    ---       ksSelMapCheck
+      02004BEBH   PUBLIC    XDATA    ---       m_24g_paring_addr
+      01000621H   PUBLIC    CONST    ---       ksMap
+      0100060CH   PUBLIC    CONST    ---       col
+
+      ---         MODULE    ---      ---       KB_PROCESS
+      0100181CH   PUBLIC    CODE     ---       _kb_multikey_setup
+      010010C3H   PUBLIC    CODE     ---       _key_fn_function
+      01001203H   PUBLIC    CODE     ---       _kb_combination_key_press
+      0100098DH   PUBLIC    CODE     ---       _kb_motion_keyscan
+      01000CE7H   PUBLIC    CODE     ---       kb_need_keyscan
+      01000D91H   PUBLIC    CODE     ---       kb_24g_get_led_status
+      01000CADH   PUBLIC    CODE     ---       _kb_send_combination_key
+      01001801H   PUBLIC    CODE     ---       _kb_set_systemkey
+      010017E6H   PUBLIC    CODE     ---       _kb_set_multikey
+      01000902H   PUBLIC    CODE     ---       _IPC_TxHidData
+      01001689H   PUBLIC    CODE     ---       _YC_key_action_handle
+
+      01001689H   BLOCK     CODE     ---       LVL=0
+      01001689H   LINE      ---      ---       #3
+      0100168EH   LINE      ---      ---       #4
+      0100168EH   LINE      ---      ---       #5
+      0100169BH   LINE      ---      ---       #6
+      0100169BH   LINE      ---      ---       #7
+      0100169BH   LINE      ---      ---       #8
+      0100169BH   LINE      ---      ---       #9
+      010016A0H   LINE      ---      ---       #10
+      010016A5H   LINE      ---      ---       #11
+      010016A5H   LINE      ---      ---       #12
+      010016ADH   LINE      ---      ---       #13
+      010016AEH   LINE      ---      ---       #15
+      010016AEH   LINE      ---      ---       #16
+      010016BFH   LINE      ---      ---       #17
+      010016C3H   LINE      ---      ---       #18
+      010016D9H   LINE      ---      ---       #19
+      010016D9H   LINE      ---      ---       #20
+      010016DFH   LINE      ---      ---       #21
+      010016E1H   LINE      ---      ---       #22
+      010016E3H   LINE      ---      ---       #23
+      010016E5H   LINE      ---      ---       #24
+      010016E5H   LINE      ---      ---       #25
+      010016EAH   LINE      ---      ---       #27
+      010016F0H   LINE      ---      ---       #28
+      010016F3H   LINE      ---      ---       #29
+      010016F7H   LINE      ---      ---       #30
+      010016F7H   LINE      ---      ---       #31
+      010016F8H   LINE      ---      ---       #32
+      010016F8H   LINE      ---      ---       #33
+      010016FDH   LINE      ---      ---       #34
+      01001702H   LINE      ---      ---       #35
+      01001702H   LINE      ---      ---       #36
+      0100170AH   LINE      ---      ---       #37
+      0100170BH   LINE      ---      ---       #39
+      0100170BH   LINE      ---      ---       #40
+      01001713H   LINE      ---      ---       #41
+      01001713H   LINE      ---      ---       #42
+      01001718H   LINE      ---      ---       #43
+      0100171EH   LINE      ---      ---       #44
+      01001721H   LINE      ---      ---       #45
+      01001727H   LINE      ---      ---       #46
+      0100172CH   LINE      ---      ---       #47
+      01001733H   LINE      ---      ---       #48
+      0100173AH   LINE      ---      ---       #49
+      01001741H   LINE      ---      ---       #50
+      01001741H   LINE      ---      ---       #51
+      01001746H   LINE      ---      ---       #52
+      01001746H   LINE      ---      ---       #53
+      01001747H   LINE      ---      ---       #54
+      01001747H   LINE      ---      ---       #55
+      0100174CH   LINE      ---      ---       #56
+      0100174CH   LINE      ---      ---       #57
+      0100174CH   LINE      ---      ---       #58
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000902H   BLOCK     CODE     ---       LVL=0
+      01000902H   LINE      ---      ---       #62
+      01000910H   LINE      ---      ---       #63
+      01000910H   LINE      ---      ---       #64
+      01000915H   LINE      ---      ---       #66
+      0100091BH   LINE      ---      ---       #69
+      01000923H   LINE      ---      ---       #70
+      01000923H   LINE      ---      ---       #71
+      01000936H   LINE      ---      ---       #72
+      01000936H   LINE      ---      ---       #73
+      01000956H   LINE      ---      ---       #74
+      0100095CH   LINE      ---      ---       #76
+      01000962H   LINE      ---      ---       #77
+      01000964H   LINE      ---      ---       #78
+      01000968H   LINE      ---      ---       #79
+      01000968H   LINE      ---      ---       #80
+      01000978H   LINE      ---      ---       #81
+      01000978H   LINE      ---      ---       #82
+      0100097CH   LINE      ---      ---       #83
+      0100097EH   LINE      ---      ---       #85
+      0100097EH   LINE      ---      ---       #86
+      01000984H   LINE      ---      ---       #87
+      01000984H   LINE      ---      ---       #88
+      01000984H   LINE      ---      ---       #89
+      0100098CH   LINE      ---      ---       #90
+      0100098CH   LINE      ---      ---       #91
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010017E6H   BLOCK     CODE     ---       LVL=0
+      010017E6H   LINE      ---      ---       #94
+      010017EAH   LINE      ---      ---       #95
+      010017EAH   LINE      ---      ---       #96
+      010017F2H   LINE      ---      ---       #97
+      010017F2H   LINE      ---      ---       #98
+      010017F5H   LINE      ---      ---       #99
+      010017FAH   LINE      ---      ---       #100
+      010017FDH   LINE      ---      ---       #101
+      01001800H   LINE      ---      ---       #102
+      01001800H   LINE      ---      ---       #103
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001801H   BLOCK     CODE     ---       LVL=0
+      01001801H   LINE      ---      ---       #106
+      01001801H   LINE      ---      ---       #107
+      01001801H   LINE      ---      ---       #108
+      01001809H   LINE      ---      ---       #109
+      01001809H   LINE      ---      ---       #110
+      0100180CH   LINE      ---      ---       #111
+      01001812H   LINE      ---      ---       #112
+      01001818H   LINE      ---      ---       #113
+      0100181BH   LINE      ---      ---       #114
+      0100181BH   LINE      ---      ---       #115
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000CADH   BLOCK     CODE     ---       LVL=0
+      01000CADH   LINE      ---      ---       #118
+      01000CB5H   LINE      ---      ---       #119
+      01000CB5H   LINE      ---      ---       #120
+      01000CC1H   LINE      ---      ---       #121
+      01000CC7H   LINE      ---      ---       #122
+      01000CD5H   LINE      ---      ---       #123
+      01000CDDH   LINE      ---      ---       #124
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000D91H   BLOCK     CODE     ---       LVL=0
+      01000D91H   LINE      ---      ---       #144
+      01000D91H   LINE      ---      ---       #145
+      01000D91H   LINE      ---      ---       #146
+      01000D9DH   LINE      ---      ---       #147
+      01000D9DH   LINE      ---      ---       #148
+      01000DA4H   LINE      ---      ---       #149
+      01000DA4H   LINE      ---      ---       #150
+      01000DB0H   LINE      ---      ---       #152
+      01000DB5H   LINE      ---      ---       #153
+      01000DBAH   LINE      ---      ---       #154
+      01000DC2H   LINE      ---      ---       #155
+      01000DCCH   LINE      ---      ---       #156
+      01000DCCH   LINE      ---      ---       #157
+      01000DCCH   LINE      ---      ---       #159
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000D5DH   BLOCK     CODE     ---       LVL=0
+      01000D5DH   LINE      ---      ---       #163
+      01000D5DH   LINE      ---      ---       #164
+      01000D5DH   BLOCK     CODE     NEAR LAB  LVL=1
+      01000D5DH   LINE      ---      ---       #165
+      01000D66H   LINE      ---      ---       #167
+      01000D6BH   LINE      ---      ---       #169
+      01000D79H   LINE      ---      ---       #171
+      01000D7CH   LINE      ---      ---       #172
+      01000D7CH   LINE      ---      ---       #173
+      01000D81H   LINE      ---      ---       #174
+      01000D83H   LINE      ---      ---       #176
+      01000D83H   LINE      ---      ---       #177
+      01000D90H   LINE      ---      ---       #178
+      02004E76H   SYMBOL    XDATA    VOID      pEvt
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01000CE7H   BLOCK     CODE     ---       LVL=0
+      01000CE7H   LINE      ---      ---       #182
+      01000CE7H   LINE      ---      ---       #183
+      01000CE7H   LINE      ---      ---       #184
+      01000CF6H   LINE      ---      ---       #188
+      01000CF8H   LINE      ---      ---       #190
+      01000CF8H   LINE      ---      ---       #191
+      01000CFFH   LINE      ---      ---       #192
+      01000CFFH   LINE      ---      ---       #193
+      01000D06H   LINE      ---      ---       #194
+      01000D0CH   LINE      ---      ---       #195
+      01000D0DH   LINE      ---      ---       #196
+      01000D14H   LINE      ---      ---       #197
+      01000D14H   LINE      ---      ---       #198
+      01000D17H   LINE      ---      ---       #199
+      01000D1FH   LINE      ---      ---       #200
+      01000D1FH   LINE      ---      ---       #201
+      01000D26H   LINE      ---      ---       #202
+      01000D26H   LINE      ---      ---       #203
+      01000D2BH   LINE      ---      ---       #204
+      01000D34H   LINE      ---      ---       #205
+      01000D39H   LINE      ---      ---       #206
+      01000D3FH   LINE      ---      ---       #207
+      01000D40H   LINE      ---      ---       #208
+      01000D47H   LINE      ---      ---       #209
+      01000D47H   LINE      ---      ---       #210
+      01000D4CH   LINE      ---      ---       #211
+      01000D50H   LINE      ---      ---       #212
+      01000D57H   LINE      ---      ---       #213
+      01000D5CH   LINE      ---      ---       #214
+      01000D5CH   LINE      ---      ---       #215
+      01000D5CH   LINE      ---      ---       #217
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100098DH   BLOCK     CODE     ---       LVL=0
+      0100098DH   LINE      ---      ---       #221
+      01000998H   LINE      ---      ---       #222
+      01000998H   BLOCK     CODE     NEAR LAB  LVL=1
+      01000998H   LINE      ---      ---       #223
+      0100099BH   LINE      ---      ---       #224
+      0100099DH   LINE      ---      ---       #226
+      010009A1H   LINE      ---      ---       #227
+      010009AFH   LINE      ---      ---       #228
+      010009AFH   LINE      ---      ---       #229
+      010009CDH   LINE      ---      ---       #230
+      010009CDH   LINE      ---      ---       #231
+      010009D3H   LINE      ---      ---       #232
+      010009D3H   LINE      ---      ---       #233
+      010009DBH   LINE      ---      ---       #234
+      010009E3H   LINE      ---      ---       #237
+      010009F1H   LINE      ---      ---       #240
+      010009F7H   LINE      ---      ---       #241
+      010009FEH   LINE      ---      ---       #242
+      01000A09H   LINE      ---      ---       #243
+      01000A15H   LINE      ---      ---       #246
+      01000A43H   LINE      ---      ---       #249
+      01000A43H   LINE      ---      ---       #250
+      01000A49H   LINE      ---      ---       #251
+      01000A4DH   LINE      ---      ---       #252
+      01000A51H   LINE      ---      ---       #253
+      01000A55H   LINE      ---      ---       #254
+      01000A5DH   LINE      ---      ---       #255
+      01000A5DH   LINE      ---      ---       #256
+      01000A64H   LINE      ---      ---       #257
+      01000A66H   LINE      ---      ---       #259
+      01000A66H   LINE      ---      ---       #260
+      01000A6DH   LINE      ---      ---       #261
+      01000A6DH   LINE      ---      ---       #262
+      01000A6FH   LINE      ---      ---       #264
+      01000A6FH   LINE      ---      ---       #265
+      01000A76H   LINE      ---      ---       #266
+      01000A76H   LINE      ---      ---       #268
+      01000A7CH   LINE      ---      ---       #269
+      01000A95H   LINE      ---      ---       #272
+      01000A95H   LINE      ---      ---       #274
+      01000A95H   LINE      ---      ---       #277
+      01000A9DH   LINE      ---      ---       #278
+      01000A9DH   LINE      ---      ---       #279
+      01000AABH   LINE      ---      ---       #280
+      01000AABH   LINE      ---      ---       #281
+      01000AD4H   LINE      ---      ---       #283
+      01000AD4H   LINE      ---      ---       #284
+      01000ADAH   LINE      ---      ---       #286
+      01000ADAH   LINE      ---      ---       #287
+      01000AE2H   LINE      ---      ---       #288
+      01000AE2H   LINE      ---      ---       #290
+      01000AF0H   LINE      ---      ---       #292
+      01000AF7H   LINE      ---      ---       #293
+      01000AF7H   LINE      ---      ---       #294
+      01000AFAH   LINE      ---      ---       #295
+      01000AFEH   LINE      ---      ---       #296
+      01000B08H   LINE      ---      ---       #297
+      01000B08H   LINE      ---      ---       #299
+      01000B0FH   LINE      ---      ---       #300
+      01000B0FH   LINE      ---      ---       #301
+      01000B12H   LINE      ---      ---       #302
+      01000B18H   LINE      ---      ---       #303
+      01000B22H   LINE      ---      ---       #304
+      01000B22H   LINE      ---      ---       #306
+      01000B2AH   LINE      ---      ---       #307
+      01000B2AH   LINE      ---      ---       #308
+      01000B2BH   LINE      ---      ---       #309
+      01000B2FH   LINE      ---      ---       #311
+      01000B35H   LINE      ---      ---       #312
+      01000B35H   LINE      ---      ---       #313
+      01000B37H   LINE      ---      ---       #314
+      01000B3DH   LINE      ---      ---       #315
+      01000B3FH   LINE      ---      ---       #318
+      01000B45H   LINE      ---      ---       #320
+      01000B4FH   LINE      ---      ---       #321
+      01000B4FH   LINE      ---      ---       #323
+      01000B4FH   LINE      ---      ---       #324
+      01000B55H   LINE      ---      ---       #325
+      01000B67H   LINE      ---      ---       #326
+      01000B6FH   LINE      ---      ---       #328
+      01000B74H   LINE      ---      ---       #330
+      01000B7DH   LINE      ---      ---       #331
+      01000B9BH   LINE      ---      ---       #333
+      01000BB7H   LINE      ---      ---       #335
+      01000BC7H   LINE      ---      ---       #336
+      01000BC7H   LINE      ---      ---       #337
+      01000BD5H   LINE      ---      ---       #338
+      01000BE4H   LINE      ---      ---       #339
+      01000BECH   LINE      ---      ---       #341
+      01000BF6H   LINE      ---      ---       #342
+      01000BF6H   LINE      ---      ---       #344
+      02004E56H   SYMBOL    XDATA    VOID      temp
+      02004E57H   SYMBOL    XDATA    VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001203H   BLOCK     CODE     ---       LVL=0
+      01001203H   LINE      ---      ---       #348
+      01001203H   LINE      ---      ---       #349
+      01001203H   LINE      ---      ---       #350
+      01001208H   LINE      ---      ---       #351
+      0100120BH   LINE      ---      ---       #353
+      0100120FH   LINE      ---      ---       #354
+      0100120FH   LINE      ---      ---       #355
+      01001216H   LINE      ---      ---       #356
+      0100121AH   LINE      ---      ---       #358
+      01001220H   LINE      ---      ---       #359
+      01001221H   LINE      ---      ---       #361
+      01001221H   LINE      ---      ---       #362
+      01001227H   LINE      ---      ---       #363
+      01001227H   LINE      ---      ---       #365
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010010C3H   BLOCK     CODE     ---       LVL=0
+      010010C3H   LINE      ---      ---       #368
+      010010C8H   LINE      ---      ---       #369
+      010010C8H   BLOCK     CODE     NEAR LAB  LVL=1
+      010010C8H   LINE      ---      ---       #370
+      010010CBH   LINE      ---      ---       #372
+      010010CDH   LINE      ---      ---       #373
+      010010D7H   LINE      ---      ---       #374
+      010010D7H   LINE      ---      ---       #376
+      0100111AH   LINE      ---      ---       #377
+      0100111AH   LINE      ---      ---       #378
+      0100111AH   LINE      ---      ---       #379
+      01001121H   LINE      ---      ---       #380
+      01001121H   LINE      ---      ---       #381
+      0100112AH   LINE      ---      ---       #382
+      0100112FH   LINE      ---      ---       #384
+      01001135H   LINE      ---      ---       #386
+      0100113CH   LINE      ---      ---       #387
+      0100113CH   LINE      ---      ---       #388
+      01001141H   LINE      ---      ---       #389
+      01001143H   LINE      ---      ---       #390
+      01001143H   LINE      ---      ---       #391
+      0100114AH   LINE      ---      ---       #392
+      0100114AH   LINE      ---      ---       #393
+      01001150H   LINE      ---      ---       #394
+      01001152H   LINE      ---      ---       #396
+      01001159H   LINE      ---      ---       #397
+      01001159H   LINE      ---      ---       #398
+      0100115EH   LINE      ---      ---       #399
+      01001160H   LINE      ---      ---       #400
+      01001160H   LINE      ---      ---       #401
+      01001166H   LINE      ---      ---       #402
+      01001168H   LINE      ---      ---       #403
+      01001168H   LINE      ---      ---       #404
+      0100116EH   LINE      ---      ---       #405
+      01001170H   LINE      ---      ---       #406
+      01001170H   LINE      ---      ---       #407
+      01001176H   LINE      ---      ---       #408
+      01001178H   LINE      ---      ---       #409
+      01001178H   LINE      ---      ---       #410
+      01001183H   LINE      ---      ---       #411
+      01001188H   LINE      ---      ---       #412
+      0100118AH   LINE      ---      ---       #413
+      0100118AH   LINE      ---      ---       #414
+      01001190H   LINE      ---      ---       #415
+      01001192H   LINE      ---      ---       #416
+      01001192H   LINE      ---      ---       #417
+      0100119DH   LINE      ---      ---       #418
+      010011A2H   LINE      ---      ---       #419
+      010011A4H   LINE      ---      ---       #420
+      010011A4H   LINE      ---      ---       #421
+      010011AFH   LINE      ---      ---       #422
+      010011B4H   LINE      ---      ---       #423
+      010011B6H   LINE      ---      ---       #424
+      010011B6H   LINE      ---      ---       #425
+      010011BCH   LINE      ---      ---       #426
+      010011BEH   LINE      ---      ---       #427
+      010011BEH   LINE      ---      ---       #428
+      010011C9H   LINE      ---      ---       #429
+      010011CEH   LINE      ---      ---       #430
+      010011D0H   LINE      ---      ---       #431
+      010011D0H   LINE      ---      ---       #432
+      010011D6H   LINE      ---      ---       #433
+      010011D8H   LINE      ---      ---       #434
+      010011D8H   LINE      ---      ---       #435
+      010011DEH   LINE      ---      ---       #436
+      010011E0H   LINE      ---      ---       #437
+      010011E0H   LINE      ---      ---       #438
+      010011E6H   LINE      ---      ---       #439
+      010011E6H   LINE      ---      ---       #440
+      010011E6H   LINE      ---      ---       #441
+      010011E6H   LINE      ---      ---       #442
+      010011E6H   LINE      ---      ---       #443
+      010011E6H   LINE      ---      ---       #444
+      010011EDH   LINE      ---      ---       #445
+      010011EDH   LINE      ---      ---       #446
+      010011F8H   LINE      ---      ---       #447
+      010011FDH   LINE      ---      ---       #448
+      010011FDH   LINE      ---      ---       #449
+      01001202H   LINE      ---      ---       #450
+      02004E8EH   SYMBOL    XDATA    VOID      temp
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      0100181CH   BLOCK     CODE     ---       LVL=0
+      0100181CH   LINE      ---      ---       #454
+      01001827H   LINE      ---      ---       #455
+      01001827H   BLOCK     CODE     NEAR LAB  LVL=1
+      01001827H   LINE      ---      ---       #456
+      0100182AH   LINE      ---      ---       #458
+      01001837H   LINE      ---      ---       #459
+      01001837H   LINE      ---      ---       #460
+      01001862H   LINE      ---      ---       #462
+      01001862H   LINE      ---      ---       #464
+      01001869H   LINE      ---      ---       #465
+      01001869H   LINE      ---      ---       #466
+      01001870H   LINE      ---      ---       #467
+      01001872H   LINE      ---      ---       #469
+      01001876H   LINE      ---      ---       #470
+      01001876H   LINE      ---      ---       #471
+      0100187DH   LINE      ---      ---       #472
+      0100187FH   LINE      ---      ---       #473
+      0100189FH   LINE      ---      ---       #474
+      0100189FH   LINE      ---      ---       #475
+      010018A4H   LINE      ---      ---       #476
+      010018A6H   LINE      ---      ---       #477
+      010018AAH   LINE      ---      ---       #478
+      010018AAH   LINE      ---      ---       #479
+      010018B1H   LINE      ---      ---       #480
+      010018B3H   LINE      ---      ---       #481
+      010018D3H   LINE      ---      ---       #482
+      010018D3H   LINE      ---      ---       #483
+      010018D8H   LINE      ---      ---       #484
+      010018DAH   LINE      ---      ---       #485
+      010018DEH   LINE      ---      ---       #486
+      010018DEH   LINE      ---      ---       #487
+      010018E5H   LINE      ---      ---       #488
+      010018E7H   LINE      ---      ---       #489
+      01001907H   LINE      ---      ---       #490
+      01001907H   LINE      ---      ---       #491
+      0100190CH   LINE      ---      ---       #492
+      0100190EH   LINE      ---      ---       #493
+      01001912H   LINE      ---      ---       #494
+      01001912H   LINE      ---      ---       #495
+      01001919H   LINE      ---      ---       #496
+      0100191BH   LINE      ---      ---       #497
+      0100193BH   LINE      ---      ---       #498
+      0100193BH   LINE      ---      ---       #499
+      01001941H   LINE      ---      ---       #500
+      01001943H   LINE      ---      ---       #501
+      01001947H   LINE      ---      ---       #502
+      01001947H   LINE      ---      ---       #503
+      0100194EH   LINE      ---      ---       #504
+      01001950H   LINE      ---      ---       #505
+      01001970H   LINE      ---      ---       #506
+      01001970H   LINE      ---      ---       #507
+      01001976H   LINE      ---      ---       #508
+      01001978H   LINE      ---      ---       #509
+      0100197CH   LINE      ---      ---       #510
+      0100197CH   LINE      ---      ---       #511
+      01001983H   LINE      ---      ---       #512
+      01001985H   LINE      ---      ---       #513
+      010019A5H   LINE      ---      ---       #514
+      010019A5H   LINE      ---      ---       #515
+      010019ACH   LINE      ---      ---       #516
+      010019AEH   LINE      ---      ---       #517
+      010019B2H   LINE      ---      ---       #518
+      010019B2H   LINE      ---      ---       #519
+      010019B9H   LINE      ---      ---       #520
+      010019BBH   LINE      ---      ---       #521
+      010019DBH   LINE      ---      ---       #522
+      010019DBH   LINE      ---      ---       #523
+      010019E2H   LINE      ---      ---       #524
+      010019E4H   LINE      ---      ---       #525
+      010019E8H   LINE      ---      ---       #526
+      010019E8H   LINE      ---      ---       #527
+      010019EFH   LINE      ---      ---       #528
+      010019F1H   LINE      ---      ---       #529
+      01001A11H   LINE      ---      ---       #530
+      01001A11H   LINE      ---      ---       #531
+      01001A18H   LINE      ---      ---       #532
+      01001A1AH   LINE      ---      ---       #533
+      01001A1EH   LINE      ---      ---       #534
+      01001A1EH   LINE      ---      ---       #535
+      01001A25H   LINE      ---      ---       #536
+      01001A27H   LINE      ---      ---       #537
+      01001A47H   LINE      ---      ---       #538
+      01001A47H   LINE      ---      ---       #539
+      01001A4CH   LINE      ---      ---       #540
+      01001A4EH   LINE      ---      ---       #541
+      01001A52H   LINE      ---      ---       #542
+      01001A52H   LINE      ---      ---       #543
+      01001A59H   LINE      ---      ---       #544
+      01001A5BH   LINE      ---      ---       #546
+      01001A7BH   LINE      ---      ---       #547
+      01001A7BH   LINE      ---      ---       #548
+      01001A7FH   LINE      ---      ---       #549
+      01001A81H   LINE      ---      ---       #550
+      01001A85H   LINE      ---      ---       #551
+      01001A85H   LINE      ---      ---       #552
+      01001A89H   LINE      ---      ---       #553
+      01001A8BH   LINE      ---      ---       #554
+      01001A91H   LINE      ---      ---       #555
+      01001A91H   LINE      ---      ---       #556
+      01001A95H   LINE      ---      ---       #557
+      01001A95H   LINE      ---      ---       #560
+      01001A9CH   LINE      ---      ---       #561
+      01001A9CH   LINE      ---      ---       #562
+      01001ABCH   LINE      ---      ---       #563
+      01001AC0H   LINE      ---      ---       #564
+      01001AC0H   LINE      ---      ---       #565
+      01001AC0H   LINE      ---      ---       #566
+      01001AC8H   LINE      ---      ---       #567
+      02004E69H   SYMBOL    XDATA    VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      ---         MODULE    ---      ---       KEYSCAN
+      02004E32H   PUBLIC    XDATA    ---       ksEvtPool
+      01001AD7H   PUBLIC    CODE     ---       KS_GetCurrentEvt
+      01001CD4H   PUBLIC    CODE     ---       _array_is_empty
+      01001E4DH   PUBLIC    CODE     ---       KS_ScanMatrix
+      0100132CH   PUBLIC    CODE     ---       KS_Unistall
+      01000FE1H   PUBLIC    CODE     ---       KS_Initialize
+
+      01001AC9H   BLOCK     CODE     ---       LVL=0
+      01001AC9H   LINE      ---      ---       #24
+      01001AC9H   LINE      ---      ---       #25
+      01001AC9H   BLOCK     CODE     NEAR LAB  LVL=1
+      01001AC9H   LINE      ---      ---       #27
+      01001ACEH   LINE      ---      ---       #28
+      01001AD1H   LINE      ---      ---       #29
+      01001AD4H   LINE      ---      ---       #30
+      01001AD6H   LINE      ---      ---       #31
+      00000006H   SYMBOL    DATA     VOID      c
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001D4EH   BLOCK     CODE     ---       LVL=0
+      01001D4EH   LINE      ---      ---       #35
+      01001D4EH   LINE      ---      ---       #36
+      01001D4EH   BLOCK     CODE     NEAR LAB  LVL=1
+      01001D4EH   LINE      ---      ---       #37
+      01001D50H   LINE      ---      ---       #39
+      01001D5CH   LINE      ---      ---       #40
+      01001D5CH   LINE      ---      ---       #41
+      01001D76H   LINE      ---      ---       #43
+      01001D76H   LINE      ---      ---       #90
+      01001D78H   LINE      ---      ---       #91
+      01001D78H   LINE      ---      ---       #92
+      01001D87H   LINE      ---      ---       #93
+      01001D87H   LINE      ---      ---       #94
+      01001D8AH   LINE      ---      ---       #95
+      01001D8AH   LINE      ---      ---       #96
+      01001D91H   LINE      ---      ---       #97
+      01001D9DH   LINE      ---      ---       #98
+      01001D9EH   LINE      ---      ---       #99
+      01001D9EH   LINE      ---      ---       #100
+      01001DA3H   LINE      ---      ---       #101
+      00000006H   SYMBOL    DATA     VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001DA4H   BLOCK     CODE     ---       LVL=0
+      01001DA4H   LINE      ---      ---       #103
+      01001DA4H   LINE      ---      ---       #104
+      01001DA4H   BLOCK     CODE     NEAR LAB  LVL=1
+      01001DA4H   LINE      ---      ---       #105
+      01001DA6H   LINE      ---      ---       #106
+      01001DA7H   LINE      ---      ---       #108
+      01001DB5H   LINE      ---      ---       #109
+      01001DB5H   LINE      ---      ---       #110
+      01001DBCH   LINE      ---      ---       #111
+      01001DBCH   LINE      ---      ---       #112
+      01001DBFH   LINE      ---      ---       #113
+      01001DBFH   LINE      ---      ---       #114
+      01001DC1H   LINE      ---      ---       #116
+      01001DC7H   LINE      ---      ---       #118
+      01001DD3H   LINE      ---      ---       #119
+      01001DD3H   LINE      ---      ---       #120
+      01001DEDH   LINE      ---      ---       #122
+      01001DEDH   LINE      ---      ---       #166
+      01001DEFH   LINE      ---      ---       #167
+      01001DEFH   LINE      ---      ---       #168
+      01001DF2H   LINE      ---      ---       #169
+      01001DF2H   LINE      ---      ---       #170
+      01001E00H   LINE      ---      ---       #171
+      01001E04H   LINE      ---      ---       #172
+      01001E0FH   LINE      ---      ---       #173
+      01001E0FH   LINE      ---      ---       #174
+      01001E11H   LINE      ---      ---       #175
+      01001E11H   LINE      ---      ---       #176
+      01001E13H   LINE      ---      ---       #178
+      01001E13H   LINE      ---      ---       #179
+      01001E2BH   LINE      ---      ---       #180
+      01001E38H   LINE      ---      ---       #181
+      01001E38H   LINE      ---      ---       #182
+      01001E3CH   LINE      ---      ---       #183
+      01001E47H   LINE      ---      ---       #184
+      01001E47H   LINE      ---      ---       #185
+      01001E47H   LINE      ---      ---       #186
+      01001E4CH   LINE      ---      ---       #187
+      00000006H   SYMBOL    DATA     VOID      i
+      00000005H   SYMBOL    DATA     VOID      found
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010017C9H   BLOCK     CODE     ---       LVL=0
+      010017C9H   LINE      ---      ---       #189
+      010017C9H   LINE      ---      ---       #190
+      010017C9H   BLOCK     CODE     NEAR LAB  LVL=1
+      010017C9H   LINE      ---      ---       #191
+      010017CEH   LINE      ---      ---       #193
+      010017D9H   LINE      ---      ---       #194
+      010017DDH   LINE      ---      ---       #195
+      010017E5H   LINE      ---      ---       #196
+      02004E94H   SYMBOL    XDATA    VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01000FEDH   BLOCK     CODE     ---       LVL=0
+      01000FEDH   LINE      ---      ---       #198
+      01000FEDH   LINE      ---      ---       #199
+      01000FEDH   BLOCK     CODE     NEAR LAB  LVL=1
+      01000FEDH   LINE      ---      ---       #200
+      01000FF2H   LINE      ---      ---       #201
+      01000FFEH   LINE      ---      ---       #202
+      01001002H   LINE      ---      ---       #203
+      0100100AH   LINE      ---      ---       #204
+      02004E95H   SYMBOL    XDATA    VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01000FE1H   BLOCK     CODE     ---       LVL=0
+      01000FE1H   LINE      ---      ---       #206
+      01000FE1H   LINE      ---      ---       #207
+      01000FE1H   LINE      ---      ---       #208
+      01000FE6H   LINE      ---      ---       #209
+      01000FE8H   LINE      ---      ---       #210
+      01000FEAH   LINE      ---      ---       #211
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100132CH   BLOCK     CODE     ---       LVL=0
+      0100132CH   LINE      ---      ---       #215
+      0100132CH   LINE      ---      ---       #216
+      0100132CH   BLOCK     CODE     NEAR LAB  LVL=1
+      0100132CH   LINE      ---      ---       #217
+      0100132EH   LINE      ---      ---       #218
+      01001332H   LINE      ---      ---       #219
+      01001333H   LINE      ---      ---       #220
+      01001334H   LINE      ---      ---       #221
+      0100133BH   LINE      ---      ---       #222
+      01001344H   LINE      ---      ---       #223
+      01001354H   LINE      ---      ---       #224
+      01001367H   LINE      ---      ---       #225
+      01001374H   LINE      ---      ---       #226
+      01001381H   LINE      ---      ---       #227
+      01001384H   LINE      ---      ---       #229
+      01001387H   LINE      ---      ---       #231
+      0100138FH   LINE      ---      ---       #233
+      0100138FH   LINE      ---      ---       #234
+      01001395H   LINE      ---      ---       #235
+      01001395H   LINE      ---      ---       #236
+      01001399H   LINE      ---      ---       #237
+      0100139DH   LINE      ---      ---       #238
+      010013A1H   LINE      ---      ---       #239
+      010013A5H   LINE      ---      ---       #240
+      010013A9H   LINE      ---      ---       #241
+      010013ADH   LINE      ---      ---       #242
+      010013B1H   LINE      ---      ---       #243
+      010013B5H   LINE      ---      ---       #244
+      010013B5H   LINE      ---      ---       #246
+      010013B5H   LINE      ---      ---       #247
+      010013BEH   LINE      ---      ---       #248
+      010013C4H   LINE      ---      ---       #249
+      010013C4H   LINE      ---      ---       #251
+      010013C4H   LINE      ---      ---       #257
+      00000007H   SYMBOL    DATA     VOID      i
+      02004E96H   SYMBOL    XDATA    VOID      temp
+      00000006H   SYMBOL    DATA     VOID      tgroup
+      00000005H   SYMBOL    DATA     VOID      tgpionum
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001E4DH   BLOCK     CODE     ---       LVL=0
+      01001E4DH   LINE      ---      ---       #260
+      01001E4DH   LINE      ---      ---       #261
+      01001E4DH   BLOCK     CODE     NEAR LAB  LVL=1
+      01001E4DH   LINE      ---      ---       #262
+      01001E4FH   LINE      ---      ---       #263
+      01001E53H   LINE      ---      ---       #264
+      01001E54H   LINE      ---      ---       #265
+      01001E55H   LINE      ---      ---       #266
+      01001E57H   LINE      ---      ---       #267
+      01001E59H   LINE      ---      ---       #268
+      01001E5BH   LINE      ---      ---       #269
+      01001E62H   LINE      ---      ---       #270
+      01001E6BH   LINE      ---      ---       #271
+      01001E7BH   LINE      ---      ---       #272
+      01001EDBH   LINE      ---      ---       #273
+      01001EDEH   LINE      ---      ---       #275
+      01001EE7H   LINE      ---      ---       #276
+      01001EF0H   LINE      ---      ---       #277
+      01001F00H   LINE      ---      ---       #278
+      01001F60H   LINE      ---      ---       #279
+      01001F63H   LINE      ---      ---       #281
+      01001F6CH   LINE      ---      ---       #282
+      01001F86H   LINE      ---      ---       #283
+      01001FA9H   LINE      ---      ---       #284
+      01001FA9H   LINE      ---      ---       #285
+      01001FACH   LINE      ---      ---       #286
+      00000007H   SYMBOL    DATA     VOID      i
+      02004E6AH   SYMBOL    XDATA    VOID      j
+      00000006H   SYMBOL    DATA     VOID      tgroup
+      00000005H   SYMBOL    DATA     VOID      tgpionum
+      02004E6BH   SYMBOL    XDATA    VOID      temp
+      02004E6CH   SYMBOL    XDATA    VOID      check
+      02004E6DH   SYMBOL    XDATA    VOID      rawSel
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001CD4H   BLOCK     CODE     ---       LVL=0
+      01001CD4H   LINE      ---      ---       #288
+      01001CDFH   LINE      ---      ---       #289
+      01001CDFH   BLOCK     CODE     NEAR LAB  LVL=1
+      01001CDFH   LINE      ---      ---       #291
+      01001CE6H   LINE      ---      ---       #292
+      01001CE6H   LINE      ---      ---       #293
+      01001CFBH   LINE      ---      ---       #294
+      01001CFEH   LINE      ---      ---       #295
+      01001D01H   LINE      ---      ---       #296
+      01001D03H   LINE      ---      ---       #297
+      00000007H   SYMBOL    DATA     VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001AD7H   BLOCK     CODE     ---       LVL=0
+      01001AD7H   LINE      ---      ---       #300
+      01001AD7H   LINE      ---      ---       #301
+      01001AD7H   BLOCK     CODE     NEAR LAB  LVL=1
+      01001AD7H   LINE      ---      ---       #303
+      01001ADCH   LINE      ---      ---       #304
+      01001ADEH   LINE      ---      ---       #305
+      01001AE0H   LINE      ---      ---       #306
+      01001AE2H   LINE      ---      ---       #307
+      01001AE4H   LINE      ---      ---       #308
+      01001AE6H   LINE      ---      ---       #309
+      01001AE8H   LINE      ---      ---       #310
+      01001AEAH   LINE      ---      ---       #311
+      01001AECH   LINE      ---      ---       #312
+      01001AEEH   LINE      ---      ---       #313
+      01001AF0H   LINE      ---      ---       #314
+      01001AF2H   LINE      ---      ---       #315
+      01001AF4H   LINE      ---      ---       #316
+      01001AF6H   LINE      ---      ---       #318
+      01001AF8H   LINE      ---      ---       #320
+      01001B26H   LINE      ---      ---       #322
+      01001B26H   LINE      ---      ---       #323
+      01001B2DH   LINE      ---      ---       #324
+      01001B2FH   LINE      ---      ---       #326
+      01001B2FH   LINE      ---      ---       #327
+      01001B36H   LINE      ---      ---       #328
+      01001B3BH   LINE      ---      ---       #329
+      01001B3BH   LINE      ---      ---       #331
+      01001B4BH   LINE      ---      ---       #332
+      01001B5AH   LINE      ---      ---       #333
+      01001B5EH   LINE      ---      ---       #334
+      01001B64H   LINE      ---      ---       #335
+      01001B6AH   LINE      ---      ---       #336
+      01001B72H   LINE      ---      ---       #337
+      01001B72H   LINE      ---      ---       #338
+      01001B7AH   LINE      ---      ---       #339
+      01001B82H   LINE      ---      ---       #340
+      01001B8AH   LINE      ---      ---       #341
+      01001B96H   LINE      ---      ---       #342
+      01001BB5H   LINE      ---      ---       #343
+      01001BBBH   LINE      ---      ---       #344
+      01001BBDH   LINE      ---      ---       #345
+      01001BBDH   LINE      ---      ---       #346
+      01001BC2H   LINE      ---      ---       #347
+      01001BC2H   LINE      ---      ---       #349
+      01001BD4H   LINE      ---      ---       #350
+      01001BD4H   LINE      ---      ---       #351
+      01001BF0H   LINE      ---      ---       #352
+      01001C03H   LINE      ---      ---       #353
+      01001C09H   LINE      ---      ---       #354
+      01001C09H   LINE      ---      ---       #355
+      01001C0BH   LINE      ---      ---       #356
+      01001C0DH   LINE      ---      ---       #358
+      01001C0DH   LINE      ---      ---       #360
+      01001C13H   LINE      ---      ---       #361
+      01001C1AH   LINE      ---      ---       #362
+      01001C32H   LINE      ---      ---       #363
+      01001C41H   LINE      ---      ---       #364
+      01001C41H   LINE      ---      ---       #365
+      01001C46H   LINE      ---      ---       #366
+      01001C46H   LINE      ---      ---       #367
+      01001C57H   LINE      ---      ---       #368
+      01001C6BH   LINE      ---      ---       #369
+      01001C72H   LINE      ---      ---       #370
+      01001C72H   LINE      ---      ---       #371
+      01001C79H   LINE      ---      ---       #372
+      01001C7BH   LINE      ---      ---       #374
+      01001C7BH   LINE      ---      ---       #375
+      01001C82H   LINE      ---      ---       #376
+      01001C82H   LINE      ---      ---       #377
+      01001C82H   LINE      ---      ---       #378
+      01001C8AH   LINE      ---      ---       #379
+      01001C92H   LINE      ---      ---       #380
+      01001C9AH   LINE      ---      ---       #381
+      01001CA0H   LINE      ---      ---       #382
+      01001CA0H   LINE      ---      ---       #383
+      01001CA8H   LINE      ---      ---       #385
+      01001CB6H   LINE      ---      ---       #386
+      01001CB6H   LINE      ---      ---       #387
+      01001CB9H   LINE      ---      ---       #388
+      01001CB9H   LINE      ---      ---       #391
+      01001CC6H   LINE      ---      ---       #392
+      01001CC6H   LINE      ---      ---       #393
+      01001CCDH   LINE      ---      ---       #394
+      01001CCDH   LINE      ---      ---       #396
+      01001CCDH   LINE      ---      ---       #397
+      01001CD3H   LINE      ---      ---       #398
+      01001CD3H   LINE      ---      ---       #401
+      02004E13H   SYMBOL    XDATA    VOID      i
+      02004E14H   SYMBOL    XDATA    VOID      j
+      02004E15H   SYMBOL    XDATA    VOID      temp
+      02004E16H   SYMBOL    XDATA    VOID      flag
+      02004E17H   SYMBOL    XDATA    VOID      offset
+      02004E18H   SYMBOL    XDATA    VOID      state
+      02004E19H   SYMBOL    XDATA    VOID      colCounttemp
+      02004E1AH   SYMBOL    XDATA    VOID      rawSel
+      02004E1BH   SYMBOL    XDATA    VOID      keyCounttemp
+      02004E1CH   SYMBOL    XDATA    VOID      key_value_temp
+      02004E1DH   SYMBOL    XDATA    VOID      ghost
+      02004E1EH   SYMBOL    XDATA    VOID      rawCount
+      02004E1FH   SYMBOL    XDATA    VOID      colCount
+      02004E20H   SYMBOL    XDATA    VOID      keyCount
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      ---         MODULE    ---      ---       LED
+      010006CFH   PUBLIC    CODE     ---       LED_handle
+      01001056H   PUBLIC    CODE     ---       LED_all_shutdown
+
+      01001056H   BLOCK     CODE     ---       LVL=0
+      01001056H   LINE      ---      ---       #4
+      01001056H   LINE      ---      ---       #5
+      01001056H   LINE      ---      ---       #6
+      0100105CH   LINE      ---      ---       #7
+      01001062H   LINE      ---      ---       #8
+      01001068H   LINE      ---      ---       #9
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010006CFH   BLOCK     CODE     ---       LVL=0
+      010006CFH   LINE      ---      ---       #14
+      010006CFH   LINE      ---      ---       #15
+      010006CFH   LINE      ---      ---       #16
+      010006D9H   LINE      ---      ---       #19
+      010006E9H   LINE      ---      ---       #20
+      010006E9H   LINE      ---      ---       #22
+      010006F0H   LINE      ---      ---       #23
+      010006F0H   LINE      ---      ---       #24
+      010006F2H   LINE      ---      ---       #25
+      010006F4H   LINE      ---      ---       #26
+      010006FBH   LINE      ---      ---       #27
+      010006FBH   LINE      ---      ---       #28
+      01000701H   LINE      ---      ---       #29
+      01000701H   LINE      ---      ---       #30
+      01000707H   LINE      ---      ---       #31
+      0100070DH   LINE      ---      ---       #32
+      0100070DH   LINE      ---      ---       #33
+      0100070FH   LINE      ---      ---       #35
+      0100070FH   LINE      ---      ---       #36
+      01000716H   LINE      ---      ---       #37
+      01000716H   LINE      ---      ---       #38
+      01000718H   LINE      ---      ---       #39
+      0100071CH   LINE      ---      ---       #40
+      0100071CH   LINE      ---      ---       #41
+      0100071CH   LINE      ---      ---       #43
+      0100073BH   LINE      ---      ---       #45
+      0100073BH   LINE      ---      ---       #46
+      01000741H   LINE      ---      ---       #47
+      01000741H   LINE      ---      ---       #49
+      01000746H   LINE      ---      ---       #50
+      01000746H   LINE      ---      ---       #51
+      0100074DH   LINE      ---      ---       #52
+      0100074DH   LINE      ---      ---       #53
+      01000753H   LINE      ---      ---       #54
+      01000755H   LINE      ---      ---       #56
+      01000755H   LINE      ---      ---       #57
+      0100075BH   LINE      ---      ---       #58
+      0100075BH   LINE      ---      ---       #60
+      01000762H   LINE      ---      ---       #61
+      01000762H   LINE      ---      ---       #62
+      01000768H   LINE      ---      ---       #63
+      0100076AH   LINE      ---      ---       #65
+      0100076AH   LINE      ---      ---       #66
+      01000770H   LINE      ---      ---       #67
+      01000770H   LINE      ---      ---       #69
+      01000777H   LINE      ---      ---       #70
+      01000777H   LINE      ---      ---       #71
+      0100077DH   LINE      ---      ---       #72
+      0100077DH   LINE      ---      ---       #74
+      0100077DH   LINE      ---      ---       #75
+      01000783H   LINE      ---      ---       #76
+      01000783H   LINE      ---      ---       #78
+      01000783H   LINE      ---      ---       #80
+      01000783H   LINE      ---      ---       #81
+      01000789H   LINE      ---      ---       #82
+      0100078FH   LINE      ---      ---       #83
+      01000795H   LINE      ---      ---       #84
+      01000795H   LINE      ---      ---       #85
+      01000795H   LINE      ---      ---       #86
+      01000795H   LINE      ---      ---       #87
+      01000795H   LINE      ---      ---       #88
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      ---         MODULE    ---      ---       SYS
+      010012DCH   PUBLIC    CODE     ---       YC_System_Main
+      01001605H   PUBLIC    CODE     ---       kb_button_press_timer500ms
+      0100177CH   PUBLIC    CODE     ---       YC_pairing_timerout_500ms
+      01001FE6H   PUBLIC    CODE     ---       YC_connect_timeout_500ms
+      010015EBH   PUBLIC    CODE     ---       LED_timer500ms
+      01001FD4H   PUBLIC    CODE     ---       System_Reset_Connect
+      010007A8H   PUBLIC    CODE     ---       System_long_sleep
+      01001FADH   PUBLIC    CODE     ---       System_Software_init
+
+      01000C23H   BLOCK     CODE     ---       LVL=0
+      01000C23H   LINE      ---      ---       #11
+      01000C23H   LINE      ---      ---       #12
+      01000C23H   LINE      ---      ---       #13
+      01000C2FH   LINE      ---      ---       #14
+      01000C3BH   LINE      ---      ---       #15
+      01000C47H   LINE      ---      ---       #16
+      01000C53H   LINE      ---      ---       #17
+      01000C5FH   LINE      ---      ---       #18
+      01000C6BH   LINE      ---      ---       #20
+      01000C70H   LINE      ---      ---       #21
+      01000C74H   LINE      ---      ---       #24
+      01000C78H   LINE      ---      ---       #25
+      01000C7CH   LINE      ---      ---       #26
+      01000C80H   LINE      ---      ---       #27
+      01000C84H   LINE      ---      ---       #28
+      01000C88H   LINE      ---      ---       #29
+      01000C8CH   LINE      ---      ---       #30
+      01000C90H   LINE      ---      ---       #31
+      01000C94H   LINE      ---      ---       #32
+      01000C98H   LINE      ---      ---       #33
+      01000C9CH   LINE      ---      ---       #34
+      01000CA0H   LINE      ---      ---       #36
+      01000CA4H   LINE      ---      ---       #37
+      01000CA8H   LINE      ---      ---       #38
+      01000CACH   LINE      ---      ---       #39
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100124FH   BLOCK     CODE     ---       LVL=0
+      0100124FH   LINE      ---      ---       #41
+      0100124FH   LINE      ---      ---       #42
+      0100124FH   LINE      ---      ---       #43
+      01001252H   LINE      ---      ---       #44
+      01001254H   LINE      ---      ---       #45
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001FADH   BLOCK     CODE     ---       LVL=0
+      01001FADH   LINE      ---      ---       #49
+      01001FADH   LINE      ---      ---       #50
+      01001FADH   LINE      ---      ---       #51
+      01001FB0H   LINE      ---      ---       #52
+      01001FB3H   LINE      ---      ---       #53
+      01001FB9H   LINE      ---      ---       #54
+      01001FBFH   LINE      ---      ---       #55
+      01001FC4H   LINE      ---      ---       #56
+      01001FCAH   LINE      ---      ---       #57
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001FCBH   BLOCK     CODE     ---       LVL=0
+      01001FCBH   LINE      ---      ---       #59
+      01001FCBH   LINE      ---      ---       #60
+      01001FCBH   LINE      ---      ---       #61
+      01001FD1H   LINE      ---      ---       #62
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010007A8H   BLOCK     CODE     ---       LVL=0
+      010007A8H   LINE      ---      ---       #65
+      010007A8H   LINE      ---      ---       #66
+      010007A8H   LINE      ---      ---       #67
+      010007ADH   LINE      ---      ---       #68
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001FD4H   BLOCK     CODE     ---       LVL=0
+      01001FD4H   LINE      ---      ---       #71
+      01001FD4H   LINE      ---      ---       #72
+      01001FD4H   LINE      ---      ---       #73
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001FD6H   BLOCK     CODE     ---       LVL=0
+      01001FD6H   LINE      ---      ---       #81
+      01001FDBH   BLOCK     CODE     NEAR LAB  LVL=1
+      01001FDBH   LINE      ---      ---       #83
+      01001FE5H   LINE      ---      ---       #85
+      01001FE5H   LINE      ---      ---       #87
+      01001FE5H   LINE      ---      ---       #88
+      02004E90H   SYMBOL    XDATA    VOID      temp
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01000EC0H   BLOCK     CODE     ---       LVL=0
+      01000EC0H   LINE      ---      ---       #90
+      01000EC5H   LINE      ---      ---       #91
+      01000EC5H   LINE      ---      ---       #92
+      01000EE4H   LINE      ---      ---       #93
+      01000EE4H   LINE      ---      ---       #94
+      01000EE4H   LINE      ---      ---       #95
+      01000EE9H   LINE      ---      ---       #96
+      01000EFCH   LINE      ---      ---       #97
+      01000F03H   LINE      ---      ---       #98
+      01000F03H   LINE      ---      ---       #99
+      01000F08H   LINE      ---      ---       #100
+      01000F12H   LINE      ---      ---       #101
+      01000F18H   LINE      ---      ---       #102
+      01000F2FH   LINE      ---      ---       #103
+      01000F2FH   LINE      ---      ---       #105
+      01000F2FH   LINE      ---      ---       #106
+      01000F2FH   LINE      ---      ---       #107
+      01000F2FH   LINE      ---      ---       #108
+      01000F32H   LINE      ---      ---       #109
+      01000F35H   LINE      ---      ---       #110
+      01000F45H   LINE      ---      ---       #111
+      01000F4AH   LINE      ---      ---       #112
+      01000F5DH   LINE      ---      ---       #113
+      01000F60H   LINE      ---      ---       #114
+      01000F60H   LINE      ---      ---       #115
+      01000F60H   LINE      ---      ---       #116
+      01000F62H   LINE      ---      ---       #117
+      01000F62H   LINE      ---      ---       #121
+      01000F62H   LINE      ---      ---       #122
+      01000F62H   LINE      ---      ---       #123
+      01000F68H   LINE      ---      ---       #124
+      01000F6BH   LINE      ---      ---       #125
+      01000F6DH   LINE      ---      ---       #126
+      01000F72H   LINE      ---      ---       #127
+      01000F76H   LINE      ---      ---       #128
+      01000F7CH   LINE      ---      ---       #129
+      01000F80H   LINE      ---      ---       #131
+      01000F88H   LINE      ---      ---       #132
+      01000F88H   LINE      ---      ---       #133
+      01000F8EH   LINE      ---      ---       #134
+      01000FA5H   LINE      ---      ---       #136
+      01000FABH   LINE      ---      ---       #137
+      01000FABH   LINE      ---      ---       #138
+      01000FACH   LINE      ---      ---       #140
+      01000FACH   LINE      ---      ---       #141
+      01000FB1H   LINE      ---      ---       #142
+      01000FB3H   LINE      ---      ---       #143
+      01000FB9H   LINE      ---      ---       #144
+      01000FBEH   LINE      ---      ---       #146
+      01000FC4H   LINE      ---      ---       #147
+      01000FC4H   LINE      ---      ---       #148
+      01000FC6H   LINE      ---      ---       #149
+      01000FCEH   LINE      ---      ---       #150
+      01000FCEH   LINE      ---      ---       #151
+      01000FCEH   LINE      ---      ---       #153
+      01000FD5H   LINE      ---      ---       #154
+      01000FD5H   LINE      ---      ---       #155
+      01000FD7H   LINE      ---      ---       #156
+      01000FDAH   LINE      ---      ---       #157
+      01000FDAH   LINE      ---      ---       #158
+      01000FDAH   LINE      ---      ---       #159
+      01000FDAH   LINE      ---      ---       #160
+      01000FDAH   LINE      ---      ---       #161
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010015EBH   BLOCK     CODE     ---       LVL=0
+      010015EBH   LINE      ---      ---       #164
+      010015EBH   LINE      ---      ---       #165
+      010015EBH   LINE      ---      ---       #166
+      010015F2H   LINE      ---      ---       #168
+      010015F8H   LINE      ---      ---       #169
+      010015F8H   LINE      ---      ---       #170
+      010015FCH   LINE      ---      ---       #171
+      01001600H   LINE      ---      ---       #172
+      01001604H   LINE      ---      ---       #173
+      01001604H   LINE      ---      ---       #174
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001FE6H   BLOCK     CODE     ---       LVL=0
+      01001FE6H   LINE      ---      ---       #176
+      01001FE6H   LINE      ---      ---       #177
+      01001FE6H   LINE      ---      ---       #180
+      01001FEDH   LINE      ---      ---       #181
+      01001FEDH   LINE      ---      ---       #182
+      01001FFBH   LINE      ---      ---       #183
+      01001FFEH   LINE      ---      ---       #184
+      01001FFEH   LINE      ---      ---       #185
+      01002005H   LINE      ---      ---       #186
+      01002005H   LINE      ---      ---       #187
+      01002011H   LINE      ---      ---       #188
+      01002011H   LINE      ---      ---       #189
+      01002016H   LINE      ---      ---       #190
+      01002019H   LINE      ---      ---       #191
+      01002019H   LINE      ---      ---       #192
+      01002019H   LINE      ---      ---       #194
+      01002019H   LINE      ---      ---       #195
+      01002025H   LINE      ---      ---       #196
+      01002025H   LINE      ---      ---       #197
+      01002028H   LINE      ---      ---       #198
+      01002028H   LINE      ---      ---       #199
+      01002028H   LINE      ---      ---       #200
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100177CH   BLOCK     CODE     ---       LVL=0
+      0100177CH   LINE      ---      ---       #204
+      0100177CH   LINE      ---      ---       #205
+      0100177CH   LINE      ---      ---       #207
+      01001782H   LINE      ---      ---       #208
+      01001782H   LINE      ---      ---       #209
+      01001789H   LINE      ---      ---       #210
+      0100178FH   LINE      ---      ---       #211
+      01001792H   LINE      ---      ---       #212
+      01001792H   LINE      ---      ---       #213
+      01001797H   LINE      ---      ---       #214
+      0100179BH   LINE      ---      ---       #215
+      0100179EH   LINE      ---      ---       #216
+      0100179EH   LINE      ---      ---       #217
+      0100179EH   LINE      ---      ---       #218
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001605H   BLOCK     CODE     ---       LVL=0
+      01001605H   LINE      ---      ---       #220
+      01001605H   LINE      ---      ---       #221
+      01001605H   LINE      ---      ---       #224
+      0100160CH   LINE      ---      ---       #225
+      0100160CH   LINE      ---      ---       #226
+      01001615H   LINE      ---      ---       #227
+      01001618H   LINE      ---      ---       #228
+      01001620H   LINE      ---      ---       #229
+      01001620H   LINE      ---      ---       #230
+      01001626H   LINE      ---      ---       #231
+      0100162CH   LINE      ---      ---       #232
+      0100162CH   LINE      ---      ---       #233
+      01001631H   LINE      ---      ---       #234
+      01001633H   LINE      ---      ---       #235
+      0100163AH   LINE      ---      ---       #236
+      0100163AH   LINE      ---      ---       #237
+      01001640H   LINE      ---      ---       #238
+      01001645H   LINE      ---      ---       #239
+      01001648H   LINE      ---      ---       #240
+      01001648H   LINE      ---      ---       #241
+      01001648H   LINE      ---      ---       #242
+      0100164AH   LINE      ---      ---       #244
+      0100164FH   LINE      ---      ---       #246
+      01001656H   LINE      ---      ---       #247
+      01001656H   LINE      ---      ---       #248
+      0100165CH   LINE      ---      ---       #249
+      01001665H   LINE      ---      ---       #250
+      01001668H   LINE      ---      ---       #251
+      0100166FH   LINE      ---      ---       #252
+      0100166FH   LINE      ---      ---       #253
+      01001679H   LINE      ---      ---       #254
+      01001679H   LINE      ---      ---       #255
+      0100167BH   LINE      ---      ---       #256
+      0100167FH   LINE      ---      ---       #257
+      01001683H   LINE      ---      ---       #258
+      01001683H   LINE      ---      ---       #259
+      01001683H   LINE      ---      ---       #260
+      01001683H   LINE      ---      ---       #262
+      01001688H   LINE      ---      ---       #264
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001765H   BLOCK     CODE     ---       LVL=0
+      01001765H   LINE      ---      ---       #268
+      01001765H   LINE      ---      ---       #269
+      01001765H   LINE      ---      ---       #270
+      01001767H   LINE      ---      ---       #272
+      01001775H   LINE      ---      ---       #274
+      01001777H   LINE      ---      ---       #275
+      0100177AH   LINE      ---      ---       #276
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01002029H   BLOCK     CODE     ---       LVL=0
+      01002029H   LINE      ---      ---       #283
+      01002029H   LINE      ---      ---       #284
+      01002029H   LINE      ---      ---       #286
+      0100202FH   LINE      ---      ---       #287
+      0100202FH   LINE      ---      ---       #288
+      01002031H   LINE      ---      ---       #289
+      01002031H   LINE      ---      ---       #291
+      01002037H   LINE      ---      ---       #292
+      01002039H   LINE      ---      ---       #294
+      0100203FH   LINE      ---      ---       #295
+      0100203FH   LINE      ---      ---       #296
+      01002041H   LINE      ---      ---       #297
+      01002048H   LINE      ---      ---       #298
+      0100204FH   LINE      ---      ---       #299
+      01002056H   LINE      ---      ---       #300
+      0100205CH   LINE      ---      ---       #301
+      0100205CH   LINE      ---      ---       #302
+      01002063H   LINE      ---      ---       #303
+      0100206AH   LINE      ---      ---       #304
+      01002071H   LINE      ---      ---       #305
+      01002071H   LINE      ---      ---       #306
+      01002073H   LINE      ---      ---       #307
+      01002079H   LINE      ---      ---       #308
+      01002079H   LINE      ---      ---       #309
+      0100207FH   LINE      ---      ---       #310
+      0100207FH   LINE      ---      ---       #311
+      01002081H   LINE      ---      ---       #312
+      01002090H   LINE      ---      ---       #313
+      01002090H   LINE      ---      ---       #314
+      01002097H   LINE      ---      ---       #315
+      01002097H   LINE      ---      ---       #316
+      0100209EH   LINE      ---      ---       #317
+      010020A5H   LINE      ---      ---       #318
+      010020ACH   LINE      ---      ---       #319
+      010020AEH   LINE      ---      ---       #321
+      010020AEH   LINE      ---      ---       #322
+      010020B5H   LINE      ---      ---       #323
+      010020BCH   LINE      ---      ---       #324
+      010020C3H   LINE      ---      ---       #325
+      010020C3H   LINE      ---      ---       #326
+      010020C3H   LINE      ---      ---       #327
+      010020C9H   LINE      ---      ---       #328
+      010020CCH   LINE      ---      ---       #329
+      010020CCH   LINE      ---      ---       #330
+      010020CCH   LINE      ---      ---       #333
+      010020D2H   LINE      ---      ---       #334
+      010020D2H   LINE      ---      ---       #335
+      010020DAH   LINE      ---      ---       #336
+      010020DAH   LINE      ---      ---       #337
+      010020DBH   LINE      ---      ---       #339
+      010020E1H   LINE      ---      ---       #340
+      010020E1H   LINE      ---      ---       #341
+      010020ECH   LINE      ---      ---       #342
+      010020EEH   LINE      ---      ---       #343
+      010020F4H   LINE      ---      ---       #344
+      010020F4H   LINE      ---      ---       #346
+      010020FFH   LINE      ---      ---       #347
+      010020FFH   LINE      ---      ---       #348
+      010020FFH   LINE      ---      ---       #349
+      010020FFH   LINE      ---      ---       #351
+      01002105H   LINE      ---      ---       #352
+      01002108H   LINE      ---      ---       #353
+      01002108H   LINE      ---      ---       #354
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001577H   BLOCK     CODE     ---       LVL=0
+      01001577H   LINE      ---      ---       #368
+      01001577H   LINE      ---      ---       #369
+      01001577H   LINE      ---      ---       #370
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010012DCH   BLOCK     CODE     ---       LVL=0
+      010012DCH   LINE      ---      ---       #375
+      010012DCH   LINE      ---      ---       #376
+      010012DCH   LINE      ---      ---       #377
+      010012DEH   LINE      ---      ---       #378
+      010012DEH   LINE      ---      ---       #379
+      010012E1H   LINE      ---      ---       #380
+      010012E4H   LINE      ---      ---       #381
+      010012E6H   LINE      ---      ---       #382
+      010012E9H   LINE      ---      ---       #385
+      010012F4H   LINE      ---      ---       #386
+      010012F4H   LINE      ---      ---       #387
+      010012F6H   LINE      ---      ---       #389
+      010012F8H   LINE      ---      ---       #390
+      010012FAH   LINE      ---      ---       #391
+      010012FCH   LINE      ---      ---       #392
+      010012FCH   LINE      ---      ---       #394
+      010012FCH   LINE      ---      ---       #395
+      0100131FH   LINE      ---      ---       #397
+      0100131FH   LINE      ---      ---       #398
+      01001321H   LINE      ---      ---       #399
+      01001323H   LINE      ---      ---       #400
+      01001323H   LINE      ---      ---       #402
+      01001323H   LINE      ---      ---       #403
+      01001325H   LINE      ---      ---       #404
+      01001327H   LINE      ---      ---       #405
+      01001329H   LINE      ---      ---       #406
+      01001329H   LINE      ---      ---       #407
+      01001329H   LINE      ---      ---       #408
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      ---         MODULE    ---      ---       ADC
+      0100179FH   PUBLIC    CODE     ---       YC_adc_check_timer500ms
+      010021CDH   PUBLIC    CODE     ---       YC_adc_check
+      01002109H   PUBLIC    CODE     ---       YC_adc_init
+
+      01002109H   BLOCK     CODE     ---       LVL=0
+      01002109H   LINE      ---      ---       #3
+      01002109H   LINE      ---      ---       #4
+      01002109H   BLOCK     CODE     NEAR LAB  LVL=1
+      01002109H   LINE      ---      ---       #8
+      0100210FH   LINE      ---      ---       #9
+      01002112H   LINE      ---      ---       #29
+      01002118H   LINE      ---      ---       #30
+      0100211AH   LINE      ---      ---       #31
+      0100211AH   LINE      ---      ---       #32
+      0100212BH   LINE      ---      ---       #33
+      01002130H   LINE      ---      ---       #34
+      0100217EH   LINE      ---      ---       #35
+      010021CCH   LINE      ---      ---       #38
+      00000007H   SYMBOL    DATA     VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010021CDH   BLOCK     CODE     ---       LVL=0
+      010021CDH   LINE      ---      ---       #40
+      010021CDH   LINE      ---      ---       #41
+      010021CDH   BLOCK     CODE     NEAR LAB  LVL=1
+      010021CDH   LINE      ---      ---       #44
+      010021D7H   LINE      ---      ---       #46
+      010021F7H   LINE      ---      ---       #47
+      01002200H   LINE      ---      ---       #48
+      01002202H   LINE      ---      ---       #49
+      01002207H   LINE      ---      ---       #50
+      01002207H   LINE      ---      ---       #51
+      0100223EH   LINE      ---      ---       #52
+      01002248H   LINE      ---      ---       #53
+      01002265H   LINE      ---      ---       #55
+      0100227AH   LINE      ---      ---       #56
+      0100227AH   LINE      ---      ---       #57
+      01002280H   LINE      ---      ---       #58
+      01002294H   LINE      ---      ---       #59
+      0100229EH   LINE      ---      ---       #60
+      0100229EH   LINE      ---      ---       #61
+      010022A1H   LINE      ---      ---       #62
+      010022A8H   LINE      ---      ---       #63
+      010022BCH   LINE      ---      ---       #64
+      010022C3H   LINE      ---      ---       #65
+      010022C3H   LINE      ---      ---       #66
+      010022C3H   LINE      ---      ---       #68
+      010022C3H   LINE      ---      ---       #69
+      010022E2H   LINE      ---      ---       #70
+      010022E2H   LINE      ---      ---       #71
+      010022E8H   LINE      ---      ---       #72
+      010022EEH   LINE      ---      ---       #73
+      010022F0H   LINE      ---      ---       #75
+      010022F0H   LINE      ---      ---       #76
+      010022F5H   LINE      ---      ---       #77
+      010022FBH   LINE      ---      ---       #78
+      010022FBH   LINE      ---      ---       #80
+      0100230FH   LINE      ---      ---       #81
+      01002316H   LINE      ---      ---       #82
+      01002316H   LINE      ---      ---       #83
+      01002318H   LINE      ---      ---       #84
+      01002328H   LINE      ---      ---       #85
+      01002328H   LINE      ---      ---       #87
+      01002328H   LINE      ---      ---       #89
+      02004E58H   SYMBOL    XDATA    VOID      i
+      02004E59H   SYMBOL    XDATA    VOID      batValue
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      0100179FH   BLOCK     CODE     ---       LVL=0
+      0100179FH   LINE      ---      ---       #92
+      0100179FH   LINE      ---      ---       #93
+      0100179FH   LINE      ---      ---       #96
+      010017A5H   LINE      ---      ---       #97
+      010017A5H   LINE      ---      ---       #98
+      010017A7H   LINE      ---      ---       #99
+      010017AAH   LINE      ---      ---       #100
+      010017AAH   LINE      ---      ---       #101
+      010017ADH   LINE      ---      ---       #102
+      010017B0H   LINE      ---      ---       #103
+      010017B0H   LINE      ---      ---       #104
+      010017B0H   LINE      ---      ---       #106
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      ---         MODULE    ---      ---       RAM
+      010017B1H   PUBLIC    CODE     ---       main
+
+      010017B1H   BLOCK     CODE     ---       LVL=0
+      010017B1H   LINE      ---      ---       #5
+      010017B1H   LINE      ---      ---       #6
+      010017B1H   LINE      ---      ---       #7
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      ---         MODULE    ---      ---       PWM
+      01001239H   PUBLIC    CODE     ---       YC_PWM_disable
+      0100106AH   PUBLIC    CODE     ---       _YC_PWM_set_duty
+      010012C8H   PUBLIC    CODE     ---       YC_PWM_init
+
+      010012C8H   BLOCK     CODE     ---       LVL=0
+      010012C8H   LINE      ---      ---       #9
+      010012C8H   LINE      ---      ---       #10
+      010012C8H   LINE      ---      ---       #11
+      010012CDH   LINE      ---      ---       #12
+      010012D4H   LINE      ---      ---       #13
+      010012DBH   LINE      ---      ---       #14
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100106AH   BLOCK     CODE     ---       LVL=0
+      0100106AH   LINE      ---      ---       #17
+      0100106FH   LINE      ---      ---       #18
+      0100106FH   BLOCK     CODE     NEAR LAB  LVL=1
+      0100106FH   LINE      ---      ---       #20
+      01001071H   LINE      ---      ---       #21
+      01001071H   LINE      ---      ---       #22
+      01001073H   LINE      ---      ---       #23
+      01001079H   LINE      ---      ---       #25
+      01001079H   LINE      ---      ---       #26
+      01001081H   LINE      ---      ---       #27
+      0100108AH   LINE      ---      ---       #28
+      0100108EH   LINE      ---      ---       #29
+      01001099H   LINE      ---      ---       #30
+      0100109DH   LINE      ---      ---       #31
+      0100109DH   LINE      ---      ---       #32
+      0100109FH   LINE      ---      ---       #33
+      010010A5H   LINE      ---      ---       #35
+      010010A5H   LINE      ---      ---       #38
+      010010A7H   LINE      ---      ---       #39
+      010010B6H   LINE      ---      ---       #40
+      010010BBH   LINE      ---      ---       #42
+      010010C2H   LINE      ---      ---       #44
+      02004E7DH   SYMBOL    XDATA    VOID      pwm_duty
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001239H   BLOCK     CODE     ---       LVL=0
+      01001239H   LINE      ---      ---       #47
+      01001239H   LINE      ---      ---       #48
+      01001239H   LINE      ---      ---       #49
+      01001240H   LINE      ---      ---       #50
+      01001247H   LINE      ---      ---       #52
+      0100124EH   LINE      ---      ---       #53
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      ---         MODULE    ---      ---       IPC
+      02004BA5H   PUBLIC    XDATA    WORD      bttimer
+      02004C8DH   PUBLIC    XDATA    BYTE      btstimer
+      02004C5EH   PUBLIC    XDATA    WORD      c51timer
+      02000550H   PUBLIC    XDATA    ---       ipcPin
+      02004C8EH   PUBLIC    XDATA    BYTE      c51stimer
+      02000BE7H   PUBLIC    XDATA    ---       ipcSendBuff
+      02000B7FH   PUBLIC    XDATA    BYTE      lpm_flag
+      02000C4BH   PUBLIC    XDATA    ---       ipcReadBuff
+      0200054FH   PUBLIC    XDATA    BYTE      ipcPinlen
+      02000B7EH   PUBLIC    XDATA    BYTE      current_task
+      0100245DH   PUBLIC    CODE     ---       IPC_DealSingleStep
+      01002558H   PUBLIC    CODE     ---       IPC_IsTxBuffEmpty
+      010017BDH   PUBLIC    CODE     ---       IPC_AbandonLpm
+      01001464H   PUBLIC    CODE     ---       IPC_WaitLpm
+      0100157DH   PUBLIC    CODE     ---       _IPC_Initialize
+      01002552H   PUBLIC    CODE     ---       IPC_GetBBDIsconnectReason
+      0100254AH   PUBLIC    CODE     ---       _IPC_Tx24GData
+      01002523H   PUBLIC    CODE     ---       _IPC_TxData
+      010007AFH   PUBLIC    CODE     ---       _IPC_TxControlCmd
+
+      0100086AH   BLOCK     CODE     ---       LVL=0
+      0100086AH   LINE      ---      ---       #44
+      0100087AH   LINE      ---      ---       #45
+      0100087AH   LINE      ---      ---       #46
+      010008C3H   LINE      ---      ---       #47
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100240DH   BLOCK     CODE     ---       LVL=0
+      0100240DH   LINE      ---      ---       #49
+      01002417H   LINE      ---      ---       #50
+      01002417H   BLOCK     CODE     NEAR LAB  LVL=1
+      01002417H   LINE      ---      ---       #51
+      0100241FH   LINE      ---      ---       #52
+      01002425H   LINE      ---      ---       #53
+      01002444H   LINE      ---      ---       #54
+      0100244EH   LINE      ---      ---       #55
+      01002452H   LINE      ---      ---       #56
+      01002452H   LINE      ---      ---       #57
+      01002454H   LINE      ---      ---       #58
+      0100245CH   LINE      ---      ---       #59
+      00000006H   SYMBOL    DATA     VOID      src
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010007D6H   BLOCK     CODE     ---       LVL=0
+      010007D6H   LINE      ---      ---       #61
+      010007E4H   LINE      ---      ---       #62
+      010007E4H   BLOCK     CODE     NEAR LAB  LVL=1
+      010007E4H   LINE      ---      ---       #63
+      010007F3H   LINE      ---      ---       #64
+      01000811H   LINE      ---      ---       #65
+      0100081BH   LINE      ---      ---       #66
+      01000840H   LINE      ---      ---       #67
+      0100084EH   LINE      ---      ---       #68
+      01000858H   LINE      ---      ---       #69
+      01000858H   LINE      ---      ---       #70
+      0100085AH   LINE      ---      ---       #71
+      01000869H   LINE      ---      ---       #72
+      02004E4BH   SYMBOL    XDATA    VOID      dest
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010007AFH   BLOCK     CODE     ---       LVL=0
+      010007AFH   LINE      ---      ---       #74
+      010007B4H   LINE      ---      ---       #75
+      010007B4H   BLOCK     CODE     NEAR LAB  LVL=1
+      010007B4H   LINE      ---      ---       #76
+      010007C6H   LINE      ---      ---       #79
+      010007CEH   LINE      ---      ---       #80
+      02004E73H   SYMBOL    XDATA    VOID      cmdBuff
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01002523H   BLOCK     CODE     ---       LVL=0
+      01002523H   LINE      ---      ---       #83
+      01002528H   LINE      ---      ---       #84
+      01002528H   LINE      ---      ---       #85
+      0100252EH   LINE      ---      ---       #86
+      0100253AH   LINE      ---      ---       #87
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100254AH   BLOCK     CODE     ---       LVL=0
+      0100254AH   LINE      ---      ---       #90
+      0100254AH   LINE      ---      ---       #91
+      0100254AH   LINE      ---      ---       #92
+      01002550H   LINE      ---      ---       #93
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01002552H   BLOCK     CODE     ---       LVL=0
+      01002552H   LINE      ---      ---       #98
+      01002552H   LINE      ---      ---       #99
+      01002552H   LINE      ---      ---       #100
+      01002557H   LINE      ---      ---       #101
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100157DH   BLOCK     CODE     ---       LVL=0
+      0100157DH   LINE      ---      ---       #103
+      0100157DH   LINE      ---      ---       #104
+      0100157DH   LINE      ---      ---       #105
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001464H   BLOCK     CODE     ---       LVL=0
+      01001464H   LINE      ---      ---       #108
+      01001464H   LINE      ---      ---       #109
+      01001464H   LINE      ---      ---       #110
+      01001469H   LINE      ---      ---       #111
+      0100146DH   LINE      ---      ---       #112
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010017BDH   BLOCK     CODE     ---       LVL=0
+      010017BDH   LINE      ---      ---       #115
+      010017BDH   LINE      ---      ---       #116
+      010017BDH   LINE      ---      ---       #117
+      010017C3H   LINE      ---      ---       #118
+      010017C8H   LINE      ---      ---       #119
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01002558H   BLOCK     CODE     ---       LVL=0
+      01002558H   LINE      ---      ---       #121
+      01002558H   LINE      ---      ---       #122
+      01002558H   LINE      ---      ---       #123
+      0100256CH   LINE      ---      ---       #124
+      0100256EH   LINE      ---      ---       #125
+      0100256FH   LINE      ---      ---       #126
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100245DH   BLOCK     CODE     ---       LVL=0
+      0100245DH   LINE      ---      ---       #129
+      0100245DH   LINE      ---      ---       #130
+      0100245DH   BLOCK     CODE     NEAR LAB  LVL=1
+      0100245DH   LINE      ---      ---       #131
+      0100246FH   LINE      ---      ---       #132
+      01002483H   LINE      ---      ---       #133
+      01002483H   LINE      ---      ---       #134
+      0100248BH   LINE      ---      ---       #135
+      0100249CH   LINE      ---      ---       #136
+      010024A6H   LINE      ---      ---       #137
+      010024C5H   LINE      ---      ---       #138
+      010024C7H   LINE      ---      ---       #139
+      010024C7H   LINE      ---      ---       #140
+      010024C9H   LINE      ---      ---       #141
+      010024C9H   LINE      ---      ---       #142
+      010024C9H   LINE      ---      ---       #143
+      010024DDH   LINE      ---      ---       #144
+      010024EBH   LINE      ---      ---       #146
+      010024EEH   LINE      ---      ---       #148
+      010024FDH   LINE      ---      ---       #149
+      010024FFH   LINE      ---      ---       #150
+      01002509H   LINE      ---      ---       #151
+      01002517H   LINE      ---      ---       #153
+      0100251AH   LINE      ---      ---       #155
+      01002520H   LINE      ---      ---       #156
+      01002522H   LINE      ---      ---       #158
+      010024C9H   SYMBOL    ---      ---       IPC_TIMERingleStep
+      02004E7FH   SYMBOL    XDATA    VOID      pbuff
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      ---         MODULE    ---      ---       UTILITIES
+      02004E39H   PUBLIC    XDATA    BYTE      ?_compare_str?BYTE
+      01001D04H   PUBLIC    CODE     ---       _compare_str
+      0100146FH   PUBLIC    CODE     ---       _Delay1ms
+      01002577H   PUBLIC    CODE     ---       _xmemclear_ff
+      01000BF7H   PUBLIC    CODE     ---       _xmemclear
+      02004E2AH   PUBLIC    XDATA    BYTE      ?_dmemcpy?BYTE
+      010023C9H   PUBLIC    CODE     ---       _dmemcpy
+      02004E4DH   PUBLIC    XDATA    BYTE      ?_xmemcpy?BYTE
+      01000DCDH   PUBLIC    CODE     ---       _xmemcpy
+      01002570H   PUBLIC    CODE     ---       YC_Ice_break
+
+      01002570H   BLOCK     CODE     ---       LVL=0
+      01002570H   LINE      ---      ---       #3
+      01002570H   LINE      ---      ---       #4
+      01002570H   LINE      ---      ---       #5
+      01002576H   LINE      ---      ---       #7
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000DCDH   BLOCK     CODE     ---       LVL=0
+      01000DCDH   LINE      ---      ---       #9
+      01000DDEH   LINE      ---      ---       #10
+      01000DDEH   LINE      ---      ---       #11
+      01000DE8H   LINE      ---      ---       #12
+      01000E0FH   LINE      ---      ---       #14
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010023C9H   BLOCK     CODE     ---       LVL=0
+      010023C9H   LINE      ---      ---       #16
+      010023D4H   LINE      ---      ---       #17
+      010023D4H   LINE      ---      ---       #18
+      010023E2H   LINE      ---      ---       #19
+      0100240CH   LINE      ---      ---       #21
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000BF7H   BLOCK     CODE     ---       LVL=0
+      01000BF7H   LINE      ---      ---       #23
+      01000C02H   LINE      ---      ---       #24
+      01000C02H   LINE      ---      ---       #25
+      01000C0CH   LINE      ---      ---       #26
+      01000C22H   LINE      ---      ---       #28
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01002577H   BLOCK     CODE     ---       LVL=0
+      01002577H   LINE      ---      ---       #30
+      01002582H   LINE      ---      ---       #31
+      01002582H   LINE      ---      ---       #32
+      0100258CH   LINE      ---      ---       #33
+      010025A3H   LINE      ---      ---       #35
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100146FH   BLOCK     CODE     ---       LVL=0
+      0100146FH   LINE      ---      ---       #46
+      0100146FH   LINE      ---      ---       #47
+      0100146FH   BLOCK     CODE     NEAR LAB  LVL=1
+      0100146FH   LINE      ---      ---       #49
+      01001475H   LINE      ---      ---       #50
+      01001483H   LINE      ---      ---       #51
+      01001486H   LINE      ---      ---       #52
+      00000004H   SYMBOL    DATA     VOID      j
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001D04H   BLOCK     CODE     ---       LVL=0
+      01001D04H   LINE      ---      ---       #54
+      01001D0FH   LINE      ---      ---       #55
+      01001D0FH   BLOCK     CODE     NEAR LAB  LVL=1
+      01001D0FH   LINE      ---      ---       #57
+      01001D1BH   LINE      ---      ---       #58
+      01001D45H   LINE      ---      ---       #59
+      01001D48H   LINE      ---      ---       #60
+      01001D4BH   LINE      ---      ---       #61
+      01001D4DH   LINE      ---      ---       #62
+      00000007H   SYMBOL    DATA     VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      ---         MODULE    ---      ---       GPIO
+      020000A3H   PUBLIC    XDATA    ---       YC_GPIOWakeupL
+      020000A7H   PUBLIC    XDATA    ---       YC_GPIOWakeupH
+      010025E3H   PUBLIC    CODE     ---       GPIO_fillpd
+      010015CFH   PUBLIC    CODE     ---       _GPIO_FlipOutBit
+      010013C5H   PUBLIC    CODE     ---       _GPIO_SetWakeupByCurrentState
+      010025A4H   PUBLIC    CODE     ---       _GPIO_ClearWakeup
+      00000020H.7 PUBLIC    BIT      BIT       ?_GPIO_SetWakeup?BIT
+      010013D8H   PUBLIC    CODE     ---       _GPIO_SetWakeup
+      00000020H.6 PUBLIC    BIT      BIT       ?_GPIO_SetOutput?BIT
+      0100103AH   PUBLIC    CODE     ---       _GPIO_SetOutput
+      00000020H.5 PUBLIC    BIT      BIT       ?_GPIO_SetInput?BIT
+      0100100BH   PUBLIC    CODE     ---       _GPIO_SetInput
+      00000020H.4 PUBLIC    BIT      BIT       ?_GPIO_Setoe?BIT
+      01001228H   PUBLIC    CODE     ---       _GPIO_Setoe
+      00000020H.3 PUBLIC    BIT      BIT       ?_GPIO_SetPd?BIT
+      01001256H   PUBLIC    CODE     ---       _GPIO_SetPd
+      00000020H.2 PUBLIC    BIT      BIT       ?_GPIO_SetPu?BIT
+      01001029H   PUBLIC    CODE     ---       _GPIO_SetPu
+      00000020H.1 PUBLIC    BIT      BIT       ?_GPIO_Setout?BIT
+      01000796H   PUBLIC    CODE     ---       _GPIO_Setout
+      0100158AH   PUBLIC    CODE     ---       _GPIO_GetInputStatus
+
+      01001267H   BLOCK     CODE     ---       LVL=0
+      01001267H   LINE      ---      ---       #9
+      01001272H   LINE      ---      ---       #10
+      01001272H   BLOCK     CODE     NEAR LAB  LVL=1
+      01001272H   LINE      ---      ---       #11
+      01001274H   LINE      ---      ---       #12
+      01001275H   LINE      ---      ---       #14
+      01001279H   LINE      ---      ---       #15
+      01001280H   LINE      ---      ---       #17
+      01001283H   LINE      ---      ---       #18
+      010012A5H   LINE      ---      ---       #19
+      010012A5H   LINE      ---      ---       #21
+      010012A5H   LINE      ---      ---       #22
+      00000006H   SYMBOL    DATA     VOID      queue
+      00000005H   SYMBOL    DATA     VOID      group
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01001590H   BLOCK     CODE     ---       LVL=0
+      01001590H   LINE      ---      ---       #26
+      01001592H   LINE      ---      ---       #27
+      01001592H   BLOCK     CODE     NEAR LAB  LVL=1
+      01001592H   LINE      ---      ---       #28
+      01001597H   LINE      ---      ---       #29
+      01001598H   LINE      ---      ---       #31
+      0100159CH   LINE      ---      ---       #32
+      010015A3H   LINE      ---      ---       #33
+      010015CEH   LINE      ---      ---       #35
+      02004E99H   SYMBOL    XDATA    VOID      queue
+      00000006H   SYMBOL    DATA     VOID      group
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      0100158AH   BLOCK     CODE     ---       LVL=0
+      0100158AH   LINE      ---      ---       #37
+      0100158AH   LINE      ---      ---       #38
+      0100158AH   LINE      ---      ---       #39
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000796H   BLOCK     CODE     ---       LVL=0
+      01000796H   LINE      ---      ---       #42
+      01000796H   LINE      ---      ---       #43
+      01000796H   LINE      ---      ---       #44
+      0100079AH   LINE      ---      ---       #46
+      010007A7H   LINE      ---      ---       #47
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001029H   BLOCK     CODE     ---       LVL=0
+      01001029H   LINE      ---      ---       #49
+      01001029H   LINE      ---      ---       #50
+      01001029H   LINE      ---      ---       #51
+      0100102DH   LINE      ---      ---       #53
+      01001039H   LINE      ---      ---       #54
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001256H   BLOCK     CODE     ---       LVL=0
+      01001256H   LINE      ---      ---       #56
+      01001256H   LINE      ---      ---       #57
+      01001256H   LINE      ---      ---       #58
+      0100125AH   LINE      ---      ---       #60
+      01001266H   LINE      ---      ---       #61
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01001228H   BLOCK     CODE     ---       LVL=0
+      01001228H   LINE      ---      ---       #63
+      01001228H   LINE      ---      ---       #64
+      01001228H   LINE      ---      ---       #65
+      0100122CH   LINE      ---      ---       #67
+      01001238H   LINE      ---      ---       #68
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100100BH   BLOCK     CODE     ---       LVL=0
+      0100100BH   LINE      ---      ---       #70
+      0100100DH   LINE      ---      ---       #71
+      0100100DH   LINE      ---      ---       #72
+      01001011H   LINE      ---      ---       #74
+      01001019H   LINE      ---      ---       #75
+      01001022H   LINE      ---      ---       #76
+      01001028H   LINE      ---      ---       #77
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      0100103AH   BLOCK     CODE     ---       LVL=0
+      0100103AH   LINE      ---      ---       #79
+      0100103CH   LINE      ---      ---       #80
+      0100103CH   LINE      ---      ---       #81
+      01001040H   LINE      ---      ---       #83
+      01001046H   LINE      ---      ---       #84
+      0100104FH   LINE      ---      ---       #85
+      01001055H   LINE      ---      ---       #86
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010013D8H   BLOCK     CODE     ---       LVL=0
+      010013D8H   LINE      ---      ---       #88
+      010013D8H   LINE      ---      ---       #89
+      010013D8H   BLOCK     CODE     NEAR LAB  LVL=1
+      010013D8H   LINE      ---      ---       #92
+      010013DEH   LINE      ---      ---       #94
+      010013E2H   LINE      ---      ---       #95
+      010013E9H   LINE      ---      ---       #96
+      010013ECH   LINE      ---      ---       #97
+      0100140DH   LINE      ---      ---       #98
+      0100142EH   LINE      ---      ---       #99
+      0100142FH   LINE      ---      ---       #101
+      0100142FH   LINE      ---      ---       #102
+      01001451H   LINE      ---      ---       #103
+      01001463H   LINE      ---      ---       #104
+      01001463H   LINE      ---      ---       #105
+      00000006H   SYMBOL    DATA     VOID      queue
+      00000007H   SYMBOL    DATA     VOID      group
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010025A4H   BLOCK     CODE     ---       LVL=0
+      010025A4H   LINE      ---      ---       #107
+      010025A4H   LINE      ---      ---       #108
+      010025A4H   BLOCK     CODE     NEAR LAB  LVL=1
+      010025A4H   LINE      ---      ---       #111
+      010025A8H   LINE      ---      ---       #113
+      010025ACH   LINE      ---      ---       #114
+      010025B3H   LINE      ---      ---       #115
+      010025D5H   LINE      ---      ---       #116
+      010025E2H   LINE      ---      ---       #117
+      00000006H   SYMBOL    DATA     VOID      queue
+      00000007H   SYMBOL    DATA     VOID      group
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010013C5H   BLOCK     CODE     ---       LVL=0
+      010013C5H   LINE      ---      ---       #119
+      010013CAH   LINE      ---      ---       #120
+      010013CAH   BLOCK     CODE     NEAR LAB  LVL=1
+      010013CAH   LINE      ---      ---       #121
+      010013CEH   LINE      ---      ---       #122
+      00000021H.0 SYMBOL    BIT      VOID      st
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010015CFH   BLOCK     CODE     ---       LVL=0
+      010015CFH   LINE      ---      ---       #125
+      010015D4H   LINE      ---      ---       #126
+      010015D4H   BLOCK     CODE     NEAR LAB  LVL=1
+      010015D4H   LINE      ---      ---       #127
+      010015DEH   LINE      ---      ---       #128
+      00000021H.1 SYMBOL    BIT      VOID      st
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      010025E3H   BLOCK     CODE     ---       LVL=0
+      010025E3H   LINE      ---      ---       #131
+      010025E3H   LINE      ---      ---       #132
+      010025E3H   BLOCK     CODE     NEAR LAB  LVL=1
+      010025E3H   LINE      ---      ---       #134
+      010025E5H   LINE      ---      ---       #135
+      01002616H   LINE      ---      ---       #136
+      00000007H   SYMBOL    DATA     VOID      i
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      ---         MODULE    ---      ---       IIC
+      010014C9H   PUBLIC    CODE     ---       _IIC_WriteBlock
+      01002329H   PUBLIC    CODE     ---       _IIC_write
+      01000E10H   PUBLIC    CODE     ---       _IIC_Read
+
+      010023C1H   BLOCK     CODE     ---       LVL=0
+      010023C1H   LINE      ---      ---       #11
+      010023C1H   LINE      ---      ---       #12
+      010023C1H   LINE      ---      ---       #13
+      010023C8H   LINE      ---      ---       #14
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      01000E10H   BLOCK     CODE     ---       LVL=0
+      01000E10H   LINE      ---      ---       #16
+      01000E21H   LINE      ---      ---       #17
+      01000E21H   BLOCK     CODE     NEAR LAB  LVL=1
+      01000E21H   LINE      ---      ---       #18
+      01000E21H   LINE      ---      ---       #19
+      01000E2AH   LINE      ---      ---       #20
+      01000E30H   LINE      ---      ---       #21
+      01000E36H   LINE      ---      ---       #22
+      01000E3CH   LINE      ---      ---       #23
+      01000E55H   LINE      ---      ---       #24
+      01000E6AH   LINE      ---      ---       #25
+      01000E83H   LINE      ---      ---       #26
+      01000E89H   LINE      ---      ---       #27
+      01000E91H   LINE      ---      ---       #28
+      01000E98H   LINE      ---      ---       #29
+      01000E98H   LINE      ---      ---       #30
+      01000E9FH   LINE      ---      ---       #31
+      01000EA2H   LINE      ---      ---       #32
+      00000006H   SYMBOL    DATA     VOID      mem_src
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      01002329H   BLOCK     CODE     ---       LVL=0
+      01002329H   LINE      ---      ---       #35
+      01002344H   LINE      ---      ---       #36
+      01002344H   LINE      ---      ---       #37
+      01002365H   LINE      ---      ---       #38
+      0100236BH   LINE      ---      ---       #39
+      0100237AH   LINE      ---      ---       #40
+      01002397H   LINE      ---      ---       #41
+      010023AEH   LINE      ---      ---       #42
+      010023B5H   LINE      ---      ---       #43
+      010023BAH   LINE      ---      ---       #44
+      ---         BLOCKEND  ---      ---       LVL=0
+
+      010014C9H   BLOCK     CODE     ---       LVL=0
+      010014C9H   LINE      ---      ---       #48
+      010014E0H   LINE      ---      ---       #49
+      010014E0H   BLOCK     CODE     NEAR LAB  LVL=1
+      010014E0H   LINE      ---      ---       #51
+      010014ECH   LINE      ---      ---       #52
+      010014FCH   LINE      ---      ---       #53
+      0100150AH   LINE      ---      ---       #54
+      01001530H   LINE      ---      ---       #55
+      0100153DH   LINE      ---      ---       #56
+      01001553H   LINE      ---      ---       #57
+      01001557H   LINE      ---      ---       #58
+      01001568H   LINE      ---      ---       #59
+      01001574H   LINE      ---      ---       #60
+      01001576H   LINE      ---      ---       #61
+      00000004H   SYMBOL    DATA     VOID      cris
+      02004E28H   SYMBOL    XDATA    VOID      curr_len
+      ---         BLOCKEND  CODE     ---       LVL=1
+      ---         BLOCKEND  CODE     ---       LVL=0
+
+      ---         MODULE    ---      ---       ?C?FPADD
+      0100000AH   PUBLIC    CODE     ---       ?C?FPADD
+      01000006H   PUBLIC    CODE     ---       ?C?FPSUB
+
+      ---         MODULE    ---      ---       ?C?FPMUL
+      010000FBH   PUBLIC    CODE     ---       ?C?FPMUL
+
+      ---         MODULE    ---      ---       ?C?FCAST
+      0100020BH   PUBLIC    CODE     ---       ?C?FCASTC
+      01000206H   PUBLIC    CODE     ---       ?C?FCASTI
+      01000201H   PUBLIC    CODE     ---       ?C?FCASTL
+
+      ---         MODULE    ---      ---       ?C?CASTF
+      0100023FH   PUBLIC    CODE     ---       ?C?CASTF
+
+      ---         MODULE    ---      ---       ?C?FPGETOPN
+      01000276H   PUBLIC    CODE     ---       ?C?FPGETOPN2
+      010002ABH   PUBLIC    CODE     ---       ?C?FPNANRESULT
+      010002B5H   PUBLIC    CODE     ---       ?C?FPOVERFLOW
+      0100028DH   PUBLIC    CODE     ---       ?C?FPRESULT
+      010002A1H   PUBLIC    CODE     ---       ?C?FPRESULT2
+      010002B2H   PUBLIC    CODE     ---       ?C?FPUNDERFLOW
+
+      ---         MODULE    ---      ---       ?C_STARTUP
+      01000000H   PUBLIC    CODE     ---       ?C_STARTUP
+
+      ---         MODULE    ---      ---       ?C?COPY
+      01000390H   PUBLIC    CODE     ---       ?C?COPY
+
+      ---         MODULE    ---      ---       ?C?CLDPTR
+      010003B6H   PUBLIC    CODE     ---       ?C?CLDPTR
+
+      ---         MODULE    ---      ---       ?C?CLDOPTR
+      010003CFH   PUBLIC    CODE     ---       ?C?CLDOPTR
+
+      ---         MODULE    ---      ---       ?C?CSTPTR
+      010003FCH   PUBLIC    CODE     ---       ?C?CSTPTR
+
+      ---         MODULE    ---      ---       ?C?IILDX
+      0100040EH   PUBLIC    CODE     ---       ?C?IILDX
+
+      ---         MODULE    ---      ---       ?C?ILDIX
+      01000424H   PUBLIC    CODE     ---       ?C?ILDIX
+
+      ---         MODULE    ---      ---       ?C?ULDIV
+      01000476H   PUBLIC    CODE     ---       ?C?ULDIV
+
+      ---         MODULE    ---      ---       ?C?LNEG
+      01000508H   PUBLIC    CODE     ---       ?C?LNEG
+
+      ---         MODULE    ---      ---       ?C?ULCMP
+      01000516H   PUBLIC    CODE     ---       ?C?ULCMP
+
+      ---         MODULE    ---      ---       ?C?LSTXDATA
+      01000527H   PUBLIC    CODE     ---       ?C?LSTXDATA
+
+      ---         MODULE    ---      ---       ?C?LSTKXDATA
+      01000533H   PUBLIC    CODE     ---       ?C?LSTKXDATA
+
+      ---         MODULE    ---      ---       ?C?ICALL
+      01000564H   PUBLIC    CODE     ---       ?C?ICALL
+      01000568H   PUBLIC    CODE     ---       ?C?ICALL2
+
+      ---         MODULE    ---      ---       ?C_INIT
+      010005B1H   PUBLIC    CODE     ---       ?C_START
+
+Program Size: data=10.2 xdata=782 const=182 code=9569
+LX51 RUN COMPLETE.  0 WARNING(S),  0 ERROR(S)
Index: KG9013/c51/output/FW.SBR
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/output/FW.SBR
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/output/eeprom.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/eeprom.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/eeprom.dat	(working copy)
@@ -0,0 +1,16384 @@
+00
+02
+aa
+55
+36
+0e
+c5
+12
+80
+0f
+c0
+00
+00
+17
+c0
+01
+80
+1b
+c0
+02
+80
+1f
+c0
+48
+01
+5c
+c0
+49
+01
+26
+c0
+4a
+01
+2c
+c0
+4a
+81
+16
+c0
+58
+00
+d8
+c0
+58
+80
+da
+c0
+59
+00
+ee
+c0
+59
+81
+08
+c0
+5b
+01
+11
+c0
+5c
+80
+e2
+20
+20
+3b
+f1
+c0
+1f
+01
+cf
+c0
+1f
+81
+d3
+c0
+43
+80
+b6
+c0
+46
+81
+e1
+c0
+47
+81
+d7
+c0
+66
+81
+66
+c0
+68
+00
+c2
+20
+20
+3b
+f1
+68
+10
+81
+3b
+60
+00
+8b
+81
+70
+80
+06
+08
+20
+20
+30
+03
+20
+40
+00
+51
+20
+40
+00
+43
+20
+40
+00
+24
+20
+20
+30
+15
+20
+40
+33
+92
+20
+40
+34
+07
+20
+40
+30
+24
+20
+40
+01
+f4
+20
+20
+30
+22
+20
+40
+00
+b1
+20
+74
+00
+00
+1f
+f0
+fe
+00
+1f
+e2
+0c
+00
+20
+40
+00
+92
+60
+00
+cb
+a7
+c0
+00
+80
+37
+c0
+03
+00
+41
+1f
+e2
+04
+00
+18
+c2
+22
+00
+68
+00
+c0
+40
+c3
+00
+00
+34
+1a
+22
+0c
+00
+c6
+84
+80
+00
+18
+42
+7e
+00
+20
+60
+00
+00
+1a
+22
+0c
+00
+d8
+a0
+00
+f8
+20
+20
+00
+8a
+20
+40
+00
+92
+20
+40
+00
+92
+60
+00
+8b
+7d
+20
+40
+00
+3c
+20
+20
+7c
+33
+20
+40
+00
+95
+18
+c2
+04
+00
+18
+50
+84
+00
+60
+09
+4b
+9a
+20
+60
+00
+00
+d8
+a0
+0c
+d5
+20
+20
+00
+8a
+68
+0a
+4d
+4c
+1c
+42
+7e
+00
+98
+46
+7e
+00
+68
+09
+4d
+50
+98
+46
+fc
+00
+20
+40
+7e
+fd
+18
+07
+fe
+00
+20
+7a
+00
+00
+1c
+42
+04
+00
+60
+0a
+4d
+4c
+68
+00
+cd
+52
+1f
+e0
+fe
+01
+60
+00
+cd
+52
+20
+60
+00
+00
+68
+0a
+4c
+59
+1c
+42
+7e
+00
+98
+46
+7e
+00
+d8
+40
+06
+40
+98
+46
+fc
+00
+20
+40
+7e
+fd
+18
+07
+fe
+00
+20
+7a
+00
+00
+1c
+42
+04
+00
+60
+0a
+4c
+59
+68
+09
+4b
+a5
+18
+50
+84
+00
+98
+40
+fe
+00
+1f
+f0
+fe
+00
+60
+01
+4b
+a5
+1f
+f0
+fe
+00
+1f
+e1
+7e
+03
+c1
+80
+00
+00
+68
+00
+cc
+8f
+c2
+80
+00
+6e
+c2
+80
+80
+70
+da
+20
+00
+00
+20
+40
+00
+81
+70
+89
+71
+8f
+68
+00
+cc
+90
+60
+10
+89
+73
+20
+40
+00
+71
+da
+20
+00
+01
+20
+20
+00
+81
+70
+89
+71
+bf
+20
+20
+00
+71
+70
+89
+71
+af
+68
+10
+80
+53
+79
+20
+7e
+07
+60
+10
+80
+53
+68
+10
+89
+73
+1f
+e1
+fe
+30
+60
+10
+89
+73
+70
+89
+06
+7c
+70
+89
+72
+aa
+20
+00
+13
+88
+68
+19
+01
+50
+68
+10
+80
+53
+79
+3f
+fe
+07
+60
+10
+80
+53
+18
+50
+84
+00
+60
+09
+4c
+95
+20
+60
+00
+00
+d8
+40
+00
+21
+68
+00
+cc
+90
+98
+46
+04
+00
+1a
+22
+7e
+00
+79
+20
+04
+07
+24
+3a
+00
+88
+79
+3f
+84
+07
+d8
+a0
+80
+78
+20
+20
+69
+f4
+20
+40
+00
+92
+1f
+e2
+72
+00
+20
+40
+00
+8e
+20
+20
+00
+3c
+20
+40
+00
+92
+e0
+a0
+80
+00
+c2
+00
+00
+8e
+20
+60
+00
+00
+20
+40
+00
+95
+e8
+c0
+80
+00
+20
+60
+00
+00
+58
+00
+4b
+36
+98
+c6
+7c
+00
+24
+62
+80
+00
+d8
+c0
+4a
+a0
+20
+60
+00
+00
+df
+20
+00
+03
+d8
+c0
+4b
+a2
+18
+c2
+22
+00
+68
+01
+4b
+a0
+1f
+f0
+fe
+00
+1f
+e2
+0a
+00
+1a
+22
+0c
+00
+e8
+c0
+80
+00
+e0
+a0
+80
+00
+20
+40
+00
+a9
+c2
+00
+00
+a1
+18
+a2
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4b
+a0
+20
+60
+00
+00
+58
+00
+4b
+9a
+98
+a6
+7c
+00
+24
+62
+80
+00
+d8
+a0
+4b
+36
+20
+60
+00
+00
+68
+01
+4b
+9e
+68
+09
+4b
+a0
+20
+20
+00
+b3
+68
+01
+4b
+9a
+68
+09
+4b
+9c
+98
+46
+7c
+00
+20
+22
+e9
+b1
+20
+20
+32
+0b
+1c
+42
+7e
+00
+60
+02
+4d
+48
+68
+08
+c7
+ef
+68
+00
+cd
+4b
+98
+46
+7c
+00
+24
+41
+00
+bd
+20
+20
+7c
+06
+68
+0a
+4d
+48
+60
+0a
+47
+ec
+60
+0a
+4c
+59
+60
+0a
+4d
+4c
+20
+60
+00
+00
+60
+08
+82
+59
+68
+00
+cc
+8d
+1f
+e0
+fe
+01
+60
+00
+cc
+8d
+68
+00
+82
+59
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+82
+59
+20
+40
+00
+cc
+20
+20
+00
+c6
+68
+00
+cc
+15
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cc
+15
+20
+60
+00
+00
+1a
+62
+7e
+00
+1f
+e1
+7e
+f0
+c1
+28
+00
+00
+1a
+62
+7e
+00
+20
+7a
+00
+00
+60
+00
+cb
+a4
+20
+20
+00
+9a
+20
+40
+3b
+36
+20
+20
+3c
+dc
+70
+41
+6e
+7f
+20
+40
+3c
+f3
+68
+00
+cc
+97
+20
+7a
+00
+00
+70
+4c
+97
+00
+1c
+42
+7e
+00
+60
+02
+4c
+59
+20
+60
+00
+00
+68
+00
+c2
+19
+24
+7a
+00
+00
+70
+80
+42
+06
+58
+00
+0f
+0c
+20
+40
+3d
+a7
+58
+03
+0d
+40
+20
+40
+3b
+f3
+37
+d9
+82
+00
+1e
+22
+60
+00
+20
+40
+3b
+36
+20
+00
+13
+88
+20
+20
+3d
+9d
+c6
+11
+80
+00
+68
+01
+47
+f4
+c2
+84
+bd
+1e
+20
+40
+3c
+ab
+68
+01
+c2
+10
+20
+7a
+00
+00
+68
+00
+c1
+31
+20
+7a
+00
+00
+20
+40
+52
+7e
+24
+7a
+00
+00
+20
+40
+3d
+ca
+24
+7a
+00
+00
+20
+40
+3b
+36
+68
+00
+c7
+dc
+20
+3a
+3d
+25
+68
+00
+c7
+93
+20
+7a
+00
+00
+20
+20
+3d
+25
+20
+40
+00
+b1
+24
+74
+00
+00
+20
+40
+00
+ae
+24
+74
+00
+00
+70
+0b
+7f
+01
+70
+0b
+7e
+01
+20
+40
+01
+0d
+20
+20
+00
+b1
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+20
+3d
+2d
+68
+00
+8b
+7e
+20
+00
+00
+0a
+c0
+80
+01
+0d
+20
+60
+00
+00
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+20
+3d
+4f
+20
+40
+01
+18
+20
+20
+3a
+af
+68
+00
+c2
+19
+24
+3a
+01
+1e
+20
+40
+3d
+91
+20
+00
+75
+30
+20
+00
+75
+30
+20
+00
+75
+30
+20
+40
+3b
+0a
+70
+80
+42
+04
+68
+10
+89
+6b
+1f
+e1
+7e
+cf
+60
+10
+89
+6b
+1f
+e1
+fe
+30
+60
+10
+89
+6b
+20
+60
+00
+00
+60
+08
+80
+17
+18
+40
+a2
+04
+20
+20
+3a
+86
+60
+08
+80
+17
+18
+40
+a2
+00
+20
+20
+3a
+b6
+20
+40
+01
+29
+58
+00
+05
+00
+20
+40
+3b
+f3
+70
+89
+06
+01
+70
+89
+00
+3c
+70
+89
+01
+e0
+70
+89
+6d
+12
+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
+cb
+ef
+c0
+ff
+81
+44
+68
+02
+ca
+91
+e0
+a2
+80
+00
+e8
+c2
+80
+00
+e0
+a2
+80
+00
+70
+89
+56
+df
+20
+40
+01
+4b
+70
+89
+55
+df
+20
+60
+00
+00
+68
+02
+ca
+87
+e0
+a2
+80
+00
+e8
+c2
+80
+00
+e0
+a2
+80
+00
+70
+89
+56
+c2
+70
+89
+55
+d0
+20
+60
+00
+00
+20
+00
+00
+04
+70
+89
+55
+d1
+20
+00
+00
+04
+70
+89
+55
+d2
+20
+00
+00
+04
+70
+89
+55
+d4
+20
+00
+00
+04
+20
+60
+00
+00
+70
+89
+55
+d4
+20
+00
+00
+04
+70
+89
+55
+d2
+20
+00
+00
+04
+70
+89
+55
+d1
+20
+00
+00
+04
+70
+89
+55
+d0
+70
+89
+56
+c0
+20
+60
+00
+00
+20
+30
+ba
+6f
+20
+40
+01
+53
+20
+20
+3a
+6f
+78
+34
+7c
+00
+68
+12
+01
+38
+79
+34
+7e
+1a
+60
+12
+00
+4c
+20
+40
+3d
+b0
+70
+00
+a2
+01
+20
+60
+00
+00
+70
+0b
+7e
+00
+70
+01
+77
+06
+20
+40
+3f
+a4
+58
+00
+01
+65
+60
+01
+42
+8a
+58
+00
+00
+d1
+60
+01
+42
+92
+58
+00
+01
+d6
+60
+01
+42
+90
+58
+00
+00
+24
+60
+01
+42
+8c
+58
+00
+01
+5f
+60
+01
+42
+88
+58
+00
+4a
+a0
+1f
+f0
+fe
+00
+60
+01
+4b
+9a
+60
+01
+4b
+9c
+20
+40
+3e
+0b
+58
+00
+4b
+36
+1f
+f0
+fe
+00
+60
+01
+4b
+9e
+60
+01
+4b
+a0
+68
+00
+cc
+97
+c0
+2d
+01
+94
+20
+35
+81
+92
+68
+01
+4c
+91
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+68
+01
+4c
+93
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+20
+40
+01
+9f
+68
+04
+02
+a0
+24
+3a
+01
+8c
+68
+01
+4a
+d4
+1f
+f0
+fe
+00
+20
+3a
+01
+8c
+60
+01
+4c
+93
+20
+40
+01
+f1
+70
+4b
+a4
+2f
+20
+40
+00
+9a
+70
+4c
+97
+00
+70
+82
+80
+03
+20
+60
+00
+00
+70
+4b
+a4
+30
+20
+20
+01
+8e
+1c
+e2
+7e
+00
+20
+3a
+01
+d9
+20
+40
+5b
+63
+20
+40
+4d
+99
+58
+00
+00
+00
+60
+04
+40
+40
+60
+01
+47
+f4
+1c
+42
+7e
+00
+60
+02
+4c
+59
+70
+4b
+a4
+33
+20
+20
+01
+8e
+20
+40
+68
+8a
+58
+00
+07
+e2
+da
+20
+02
+a0
+d8
+40
+00
+0c
+20
+40
+68
+d3
+20
+40
+68
+8d
+68
+04
+02
+a0
+20
+7a
+00
+00
+68
+00
+cc
+8f
+c2
+80
+01
+b1
+c2
+80
+81
+bf
+68
+01
+02
+a0
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+68
+01
+02
+a6
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+20
+60
+00
+00
+68
+09
+02
+a4
+68
+01
+02
+aa
+18
+42
+24
+00
+1f
+e2
+22
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+1a
+22
+7e
+00
+98
+46
+26
+00
+1a
+63
+a6
+00
+1a
+42
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+20
+60
+00
+00
+68
+09
+02
+a2
+68
+01
+02
+a8
+18
+42
+24
+00
+1f
+e2
+22
+00
+98
+46
+26
+00
+1a
+6b
+26
+00
+1a
+42
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+91
+1a
+63
+a6
+00
+1a
+22
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+93
+20
+60
+00
+00
+70
+00
+16
+27
+70
+89
+0f
+36
+70
+89
+0b
+5f
+20
+20
+53
+d4
+70
+89
+0f
+2e
+70
+89
+0b
+ff
+20
+20
+53
+d9
+20
+60
+00
+00
+70
+0b
+7e
+03
+20
+40
+01
+0d
+70
+4c
+97
+5a
+20
+40
+3d
+b8
+68
+12
+01
+38
+79
+3f
+fe
+0f
+60
+12
+00
+4c
+20
+40
+3d
+b0
+d8
+5f
+ff
+ff
+20
+20
+3c
+da
+20
+40
+7c
+20
+da
+20
+47
+e4
+20
+40
+7f
+9f
+1f
+e2
+04
+00
+20
+40
+7c
+24
+18
+42
+7e
+00
+20
+7a
+00
+00
+c0
+10
+81
+ec
+c0
+11
+01
+ee
+c0
+11
+82
+7c
+20
+20
+7c
+5a
+70
+4b
+ef
+ff
+20
+20
+02
+af
+79
+3f
+80
+23
+70
+4b
+ef
+ff
+20
+20
+02
+6a
+58
+00
+00
+00
+60
+02
+4b
+a9
+20
+60
+00
+00
+c6
+91
+80
+00
+20
+40
+02
+18
+24
+34
+02
+0b
+70
+4c
+15
+0a
+20
+40
+02
+35
+68
+00
+cb
+ef
+c1
+ff
+80
+00
+70
+4c
+3d
+02
+68
+00
+cd
+46
+24
+7a
+00
+00
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+40
+3c
+ab
+68
+01
+c2
+10
+20
+7a
+00
+00
+68
+00
+c1
+31
+20
+7a
+00
+00
+58
+00
+e2
+90
+20
+40
+7e
+8a
+60
+0a
+41
+fc
+20
+20
+3c
+da
+20
+40
+01
+00
+24
+74
+00
+00
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+40
+3c
+ab
+68
+01
+c2
+10
+20
+7a
+00
+00
+68
+00
+c1
+31
+20
+7a
+00
+00
+68
+00
+cc
+15
+24
+3a
+02
+07
+68
+04
+4d
+3d
+20
+20
+02
+08
+68
+00
+cb
+ef
+c0
+ff
+82
+85
+20
+40
+02
+1e
+20
+40
+02
+f4
+70
+4b
+e6
+01
+20
+60
+00
+00
+78
+54
+7c
+00
+70
+4b
+e2
+02
+68
+00
+8c
+d5
+c0
+00
+82
+28
+c0
+01
+02
+2b
+c0
+01
+82
+31
+c0
+03
+02
+2e
+68
+00
+cd
+46
+24
+5a
+34
+df
+20
+60
+00
+00
+70
+0c
+d5
+00
+70
+4b
+e1
+0a
+20
+20
+02
+33
+70
+0c
+d5
+03
+70
+4b
+e1
+04
+20
+20
+02
+33
+70
+0c
+d5
+02
+70
+4b
+e1
+03
+20
+20
+02
+33
+70
+4b
+e2
+01
+70
+4b
+e1
+08
+70
+4b
+e7
+00
+20
+20
+34
+df
+70
+4b
+e8
+00
+d9
+60
+0d
+00
+34
+73
+02
+00
+20
+40
+02
+5e
+24
+37
+82
+45
+20
+40
+02
+6d
+68
+00
+cb
+e0
+1f
+e0
+fe
+01
+60
+00
+cb
+e0
+70
+4d
+46
+00
+68
+00
+cb
+ef
+c0
+ff
+82
+5d
+20
+40
+02
+57
+70
+4b
+e7
+00
+70
+4b
+e6
+00
+20
+60
+00
+00
+70
+4d
+46
+01
+68
+00
+cb
+e7
+1f
+e0
+fe
+01
+60
+00
+cb
+e7
+68
+00
+cb
+ef
+c0
+ff
+82
+69
+68
+00
+cb
+e7
+c0
+7f
+82
+6a
+68
+00
+cb
+e7
+d8
+40
+00
+10
+98
+46
+7c
+00
+20
+21
+03
+13
+68
+00
+cb
+e8
+1f
+e0
+fe
+01
+60
+00
+cb
+e8
+20
+00
+00
+0a
+c0
+83
+82
+36
+20
+20
+03
+13
+58
+00
+00
+00
+60
+04
+8c
+d5
+20
+60
+00
+00
+c5
+91
+f2
+b9
+68
+04
+0c
+d5
+20
+60
+00
+00
+20
+20
+02
+9f
+78
+57
+fc
+00
+20
+40
+03
+6c
+18
+00
+2a
+00
+68
+02
+4c
+00
+98
+00
+12
+00
+68
+08
+80
+17
+20
+40
+3a
+82
+20
+40
+3a
+87
+20
+40
+03
+2b
+20
+57
+83
+66
+20
+60
+00
+00
+20
+60
+00
+00
+70
+4d
+46
+00
+70
+0b
+7d
+32
+20
+20
+7c
+27
+20
+40
+02
+d4
+68
+00
+cb
+df
+20
+7a
+00
+00
+98
+00
+72
+00
+20
+40
+02
+75
+d8
+c0
+0c
+b5
+d8
+a0
+0d
+17
+20
+20
+7e
+45
+68
+00
+8c
+b4
+2f
+e1
+f0
+08
+24
+60
+80
+00
+68
+08
+8c
+b5
+60
+08
+cc
+b7
+70
+4d
+47
+00
+20
+60
+00
+00
+79
+20
+00
+23
+20
+40
+02
+81
+20
+40
+02
+41
+70
+4b
+ef
+01
+20
+60
+00
+00
+70
+4b
+e0
+00
+70
+4b
+e9
+4e
+68
+02
+4b
+eb
+20
+20
+02
+e6
+20
+40
+02
+81
+68
+00
+cb
+e6
+c0
+00
+b4
+df
+68
+00
+cb
+ef
+c0
+00
+82
+8d
+c0
+01
+02
+90
+c0
+01
+82
+93
+20
+20
+3b
+f1
+70
+4b
+ef
+11
+70
+0d
+37
+aa
+20
+20
+02
+95
+70
+4b
+ef
+12
+70
+0d
+37
+55
+20
+20
+02
+95
+70
+4b
+ef
+13
+70
+0d
+37
+22
+70
+0d
+38
+02
+68
+02
+4c
+06
+60
+02
+0d
+39
+70
+0d
+3d
+00
+da
+20
+0d
+37
+d8
+40
+00
+07
+20
+40
+02
+cf
+20
+40
+02
+f4
+20
+40
+02
+1c
+20
+20
+34
+df
+68
+00
+cb
+ef
+c1
+7f
+80
+00
+c0
+08
+82
+a5
+c0
+09
+02
+a7
+c0
+09
+82
+a9
+20
+60
+00
+00
+70
+4b
+ef
+02
+20
+20
+02
+41
+70
+4b
+ef
+03
+20
+20
+02
+41
+70
+4b
+ef
+ff
+70
+0b
+7d
+31
+20
+40
+7c
+27
+68
+02
+0d
+19
+20
+40
+02
+e6
+20
+20
+02
+41
+c6
+11
+80
+00
+20
+40
+02
+e7
+20
+40
+03
+13
+68
+00
+cb
+ef
+c1
+ff
+80
+00
+20
+40
+02
+c1
+58
+00
+00
+00
+60
+01
+4c
+04
+20
+40
+3c
+ab
+20
+00
+07
+d0
+68
+00
+cc
+04
+c0
+7f
+82
+6a
+20
+40
+02
+5e
+24
+37
+82
+ca
+20
+40
+02
+57
+79
+20
+00
+23
+70
+0b
+7d
+3c
+20
+20
+7c
+27
+70
+0d
+37
+ff
+68
+00
+cb
+e2
+60
+00
+8d
+38
+68
+02
+4c
+06
+60
+02
+0d
+39
+d8
+40
+00
+06
+da
+20
+0d
+37
+20
+40
+02
+cf
+20
+20
+02
+f4
+68
+01
+4c
+04
+1f
+e0
+fe
+01
+60
+01
+4c
+04
+20
+40
+03
+13
+20
+20
+02
+b7
+60
+08
+cb
+e1
+18
+42
+72
+00
+d8
+a0
+0c
+d5
+1a
+22
+0c
+00
+20
+20
+7e
+45
+68
+00
+8c
+b4
+1f
+e9
+7e
+00
+60
+00
+cb
+df
+1f
+e0
+fe
+01
+d8
+c0
+0c
+b4
+98
+c0
+8c
+00
+e8
+c1
+80
+00
+60
+01
+cc
+0b
+20
+60
+00
+00
+68
+08
+cc
+3c
+58
+00
+4c
+2b
+98
+40
+8a
+00
+1a
+22
+7e
+00
+e0
+a0
+80
+00
+18
+40
+84
+01
+18
+41
+04
+07
+60
+08
+cc
+3c
+20
+60
+00
+00
+60
+02
+4c
+00
+da
+20
+00
+00
+df
+20
+00
+04
+d8
+c0
+4c
+00
+e8
+c0
+80
+00
+9a
+20
+a2
+00
+c2
+00
+02
+ea
+1a
+22
+7e
+00
+60
+01
+4c
+16
+68
+00
+cc
+16
+68
+08
+cc
+17
+98
+40
+fe
+00
+60
+00
+cc
+18
+20
+60
+00
+00
+68
+00
+cb
+e1
+1f
+e0
+fe
+02
+60
+00
+cb
+e3
+68
+00
+cb
+e2
+60
+00
+8c
+f5
+68
+00
+cb
+e1
+1f
+e9
+fe
+00
+68
+08
+cb
+e0
+18
+41
+04
+03
+18
+43
+84
+00
+98
+41
+fe
+00
+68
+08
+cc
+0a
+98
+40
+fe
+00
+e0
+a0
+80
+00
+68
+00
+cb
+ef
+c0
+ff
+83
+06
+68
+00
+cb
+e2
+e0
+a0
+80
+00
+68
+00
+cb
+e1
+98
+00
+72
+00
+68
+00
+cb
+e2
+c0
+00
+83
+11
+d8
+c0
+0c
+d5
+20
+40
+7e
+45
+68
+00
+8c
+d5
+c0
+01
+83
+0f
+20
+60
+00
+00
+70
+0c
+d5
+02
+20
+60
+00
+00
+d8
+c0
+0c
+d6
+20
+20
+7e
+45
+68
+08
+cb
+ea
+20
+40
+03
+19
+18
+40
+84
+01
+18
+41
+04
+03
+60
+08
+cb
+ea
+20
+60
+00
+00
+68
+00
+cc
+00
+1f
+e1
+7e
+03
+1f
+ef
+a2
+04
+58
+00
+4b
+f0
+9a
+20
+fe
+00
+98
+40
+8c
+00
+e8
+c0
+80
+00
+60
+00
+cb
+e9
+20
+60
+00
+00
+78
+44
+fc
+00
+78
+43
+fc
+00
+58
+55
+55
+55
+98
+00
+1e
+00
+68
+00
+cb
+e9
+1f
+ed
+84
+00
+79
+20
+04
+01
+18
+43
+1c
+00
+20
+60
+00
+00
+20
+40
+03
+22
+78
+26
+fc
+00
+78
+30
+fc
+00
+78
+50
+7c
+00
+78
+28
+7c
+00
+68
+01
+4b
+e4
+98
+00
+36
+00
+37
+c1
+84
+00
+24
+2c
+03
+66
+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
+19
+68
+08
+cc
+18
+98
+46
+7c
+00
+24
+22
+83
+66
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+8c
+b3
+68
+00
+8c
+b3
+68
+08
+cb
+e2
+a8
+40
+0e
+00
+24
+20
+83
+66
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+1f
+e9
+7e
+00
+1f
+e1
+72
+1f
+20
+22
+83
+4f
+09
+80
+00
+08
+19
+89
+7e
+00
+e0
+a0
+80
+00
+c2
+00
+03
+4b
+18
+a2
+22
+00
+09
+80
+00
+08
+19
+89
+7e
+00
+60
+00
+cc
+2a
+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
+03
+66
+78
+37
+fc
+00
+68
+00
+80
+17
+1f
+e0
+a2
+00
+20
+40
+3a
+b6
+78
+46
+fc
+00
+20
+40
+3a
+7a
+68
+00
+cc
+2a
+1f
+e2
+22
+00
+20
+40
+02
+dd
+20
+60
+00
+00
+78
+4d
+fc
+00
+78
+45
+fc
+00
+20
+20
+37
+5c
+20
+40
+3a
+7a
+68
+08
+cb
+e9
+20
+20
+3a
+91
+20
+40
+53
+d2
+68
+02
+4c
+00
+98
+00
+12
+00
+20
+40
+03
+22
+20
+40
+03
+69
+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
+18
+08
+00
+86
+08
+68
+00
+cb
+e3
+98
+00
+72
+00
+d8
+c0
+0c
+f5
+e8
+c0
+80
+00
+08
+00
+86
+08
+c2
+00
+03
+82
+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
+23
+f7
+aa
+55
+19
+26
+02
+05
+6a
+02
+02
+ab
+e8
+64
+80
+f8
+e9
+33
+e8
+33
+60
+11
+04
+60
+f0
+ed
+33
+ec
+33
+70
+09
+e8
+fc
+e9
+fd
+ea
+fe
+eb
+ff
+22
+04
+60
+de
+d3
+eb
+9f
+ea
+9e
+e9
+9d
+e8
+c2
+e7
+8c
+f0
+c2
+f7
+95
+f0
+40
+0c
+e8
+cc
+f8
+e9
+cd
+f9
+ea
+ce
+fa
+eb
+cf
+fb
+12
+02
+76
+85
+d0
+f0
+58
+04
+70
+03
+20
+d5
+b3
+e8
+04
+70
+07
+50
+02
+b2
+d5
+02
+02
+b5
+92
+d5
+ec
+04
+60
+f7
+e4
+cc
+c0
+e0
+c3
+98
+f8
+60
+3b
+94
+18
+60
+08
+40
+0d
+d0
+e0
+fb
+02
+02
+8d
+e4
+fb
+fa
+c9
+fc
+80
+28
+e8
+30
+e4
+06
+e4
+c9
+fb
+e4
+ca
+fc
+e8
+30
+e3
+05
+e4
+c9
+ca
+cb
+fc
+e8
+54
+07
+60
+10
+f8
+c3
+e9
+13
+f9
+ea
+13
+fa
+eb
+13
+fb
+ec
+13
+fc
+d8
+f1
+30
+f5
+2f
+c3
+e4
+9c
+fc
+ef
+9b
+ff
+ee
+9a
+fe
+ed
+99
+fd
+d0
+e0
+fb
+ef
+4e
+4d
+4c
+70
+12
+22
+db
+03
+02
+02
+b2
+ec
+2c
+fc
+ef
+33
+ff
+ee
+33
+fe
+ed
+33
+fd
+ed
+30
+e7
+eb
+02
+02
+8d
+ef
+2b
+ff
+ee
+3a
+fe
+ed
+39
+fd
+d0
+e0
+fb
+50
+13
+0b
+bb
+00
+03
+02
+02
+b5
+ed
+13
+fd
+ee
+13
+fe
+ef
+13
+ff
+ec
+13
+fc
+02
+02
+8d
+ec
+4d
+60
+11
+e8
+49
+70
+17
+ed
+33
+ec
+33
+04
+60
+0d
+e4
+fc
+ff
+fe
+fd
+22
+e9
+33
+e8
+33
+04
+70
+f8
+02
+02
+ab
+12
+02
+76
+58
+04
+60
+09
+e4
+cc
+24
+81
+50
+06
+28
+50
+09
+02
+02
+b5
+28
+40
+03
+02
+02
+b2
+c0
+e0
+eb
+4a
+70
+44
+b9
+80
+06
+d0
+e0
+fb
+02
+02
+a1
+ef
+4e
+70
+1c
+bd
+80
+08
+eb
+ff
+ea
+fe
+e9
+fd
+80
+eb
+e9
+8d
+f0
+a4
+fe
+e5
+f0
+02
+01
+e4
+e9
+cd
+f9
+ea
+fe
+eb
+ff
+ef
+89
+f0
+a4
+fc
+e5
+f0
+ce
+89
+f0
+a4
+2e
+ff
+e4
+35
+f0
+cd
+89
+f0
+a4
+2d
+fe
+e4
+35
+f0
+80
+67
+ef
+4e
+70
+05
+bd
+80
+d7
+80
+c3
+ef
+8b
+f0
+a4
+ac
+f0
+ee
+8b
+f0
+a4
+2c
+fc
+e4
+35
+f0
+f8
+ef
+8a
+f0
+a4
+2c
+e5
+f0
+38
+fc
+e4
+33
+cb
+8d
+f0
+a4
+2c
+fc
+e5
+f0
+3b
+f8
+ee
+8a
+f0
+a4
+2c
+fc
+e5
+f0
+38
+f8
+e4
+33
+cf
+89
+f0
+a4
+2c
+fc
+e5
+f0
+38
+cf
+34
+00
+ce
+89
+f0
+a4
+2f
+ff
+e5
+f0
+3e
+fe
+e4
+33
+c9
+8d
+f0
+a4
+2e
+fe
+e5
+f0
+39
+cd
+8a
+f0
+a4
+2f
+ff
+e5
+f0
+3e
+fe
+e4
+3d
+fd
+33
+d0
+e0
+fb
+50
+07
+0b
+bb
+00
+0f
+02
+02
+b5
+ec
+2c
+fc
+ef
+33
+ff
+ee
+33
+fe
+ed
+33
+fd
+02
+02
+8d
+75
+f0
+20
+80
+0e
+75
+f0
+10
+80
+05
+75
+f0
+08
+7d
+00
+7e
+00
+7f
+00
+33
+92
+d5
+30
+d5
+03
+12
+05
+08
+ec
+33
+40
+10
+ef
+33
+ff
+ee
+33
+fe
+ed
+33
+fd
+ec
+33
+fc
+d5
+f0
+ed
+22
+e5
+f0
+24
+7e
+a2
+d5
+13
+cc
+92
+e7
+cd
+ce
+ff
+22
+ed
+d2
+e7
+cd
+33
+ec
+33
+92
+d5
+24
+81
+40
+06
+e4
+ff
+fe
+fd
+fc
+22
+fc
+e4
+cf
+ce
+cd
+cc
+24
+e0
+50
+11
+74
+ff
+80
+ed
+c3
+cc
+13
+cc
+cd
+13
+cd
+ce
+13
+ce
+cf
+13
+cf
+04
+70
+f0
+30
+d5
+de
+02
+05
+08
+e9
+d2
+e7
+c9
+33
+e8
+33
+f8
+92
+d5
+ed
+d2
+e7
+cd
+33
+ec
+33
+fc
+50
+02
+b2
+d5
+22
+ec
+30
+e7
+10
+0f
+bf
+00
+0c
+0e
+be
+00
+08
+0d
+bd
+00
+04
+0b
+eb
+60
+14
+a2
+d5
+eb
+13
+fc
+ed
+92
+e7
+fd
+22
+74
+ff
+fc
+fd
+fe
+ff
+22
+e4
+80
+f8
+a2
+d5
+74
+ff
+13
+fc
+7d
+80
+e4
+80
+ef
+e7
+09
+f6
+08
+df
+fa
+80
+46
+e7
+09
+f2
+08
+df
+fa
+80
+3e
+88
+82
+8c
+83
+e7
+09
+f0
+a3
+df
+fa
+80
+32
+e3
+09
+f6
+08
+df
+fa
+80
+78
+e3
+09
+f2
+08
+df
+fa
+80
+70
+88
+82
+8c
+83
+e3
+09
+f0
+a3
+df
+fa
+80
+64
+89
+82
+8a
+83
+e0
+a3
+f6
+08
+df
+fa
+80
+58
+89
+82
+8a
+83
+e0
+a3
+f2
+08
+df
+fa
+80
+4c
+80
+d2
+80
+fa
+80
+c6
+80
+d4
+80
+69
+80
+f2
+80
+33
+80
+10
+80
+a6
+80
+ea
+80
+9a
+80
+a8
+80
+da
+80
+e2
+80
+ca
+80
+33
+89
+82
+8a
+83
+ec
+fa
+e4
+93
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+f0
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+df
+e9
+de
+e7
+80
+0d
+89
+82
+8a
+83
+e4
+93
+a3
+f6
+08
+df
+f9
+ec
+fa
+a9
+f0
+ed
+fb
+22
+89
+82
+8a
+83
+ec
+fa
+e0
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+f0
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+df
+ea
+de
+e8
+80
+db
+89
+82
+8a
+83
+e4
+93
+a3
+f2
+08
+df
+f9
+80
+cc
+88
+f0
+ef
+60
+01
+0e
+4e
+60
+c3
+88
+f0
+ed
+24
+02
+b4
+04
+00
+50
+b9
+f5
+82
+eb
+24
+02
+b4
+04
+00
+50
+af
+23
+23
+45
+82
+23
+90
+03
+10
+73
+bb
+01
+06
+89
+82
+8a
+83
+e0
+22
+50
+02
+e7
+22
+bb
+fe
+02
+e3
+22
+89
+82
+8a
+83
+e4
+93
+22
+bb
+01
+0c
+e5
+82
+29
+f5
+82
+e5
+83
+3a
+f5
+83
+e0
+22
+50
+06
+e9
+25
+82
+f8
+e6
+22
+bb
+fe
+06
+e9
+25
+82
+f8
+e2
+22
+e5
+82
+29
+f5
+82
+e5
+83
+3a
+f5
+83
+e4
+93
+22
+bb
+01
+06
+89
+82
+8a
+83
+f0
+22
+50
+02
+f7
+22
+bb
+fe
+01
+f3
+22
+c5
+f0
+f8
+a3
+e0
+28
+f0
+c5
+f0
+f8
+e5
+82
+15
+82
+70
+02
+15
+83
+e0
+38
+f0
+22
+a3
+f8
+e0
+c5
+f0
+25
+f0
+f0
+e5
+82
+15
+82
+70
+02
+15
+83
+e0
+c8
+38
+f0
+e8
+22
+75
+f0
+08
+75
+82
+00
+ef
+2f
+ff
+ee
+33
+fe
+cd
+33
+cd
+cc
+33
+cc
+c5
+82
+33
+c5
+82
+9b
+ed
+9a
+ec
+99
+e5
+82
+98
+40
+0c
+f5
+82
+ee
+9b
+fe
+ed
+9a
+fd
+ec
+99
+fc
+0f
+d5
+f0
+d6
+e4
+ce
+fb
+e4
+cd
+fa
+e4
+cc
+f9
+a8
+82
+22
+b8
+00
+c1
+b9
+00
+59
+ba
+00
+2d
+ec
+8b
+f0
+84
+cf
+ce
+cd
+fc
+e5
+f0
+cb
+f9
+78
+18
+ef
+2f
+ff
+ee
+33
+fe
+ed
+33
+fd
+ec
+33
+fc
+eb
+33
+fb
+10
+d7
+03
+99
+40
+04
+eb
+99
+fb
+0f
+d8
+e5
+e4
+f9
+fa
+22
+78
+18
+ef
+2f
+ff
+ee
+33
+fe
+ed
+33
+fd
+ec
+33
+fc
+c9
+33
+c9
+10
+d7
+05
+9b
+e9
+9a
+40
+07
+ec
+9b
+fc
+e9
+9a
+f9
+0f
+d8
+e0
+e4
+c9
+fa
+e4
+cc
+fb
+22
+75
+f0
+10
+ef
+2f
+ff
+ee
+33
+fe
+ed
+33
+fd
+cc
+33
+cc
+c8
+33
+c8
+10
+d7
+07
+9b
+ec
+9a
+e8
+99
+40
+0a
+ed
+9b
+fd
+ec
+9a
+fc
+e8
+99
+f8
+0f
+d5
+f0
+da
+e4
+cd
+fb
+e4
+cc
+fa
+e4
+c8
+f9
+22
+c3
+e4
+9f
+ff
+e4
+9e
+fe
+e4
+9d
+fd
+e4
+9c
+fc
+22
+eb
+9f
+f5
+f0
+ea
+9e
+42
+f0
+e9
+9d
+42
+f0
+e8
+9c
+45
+f0
+22
+ec
+f0
+a3
+ed
+f0
+a3
+ee
+f0
+a3
+ef
+f0
+22
+a8
+82
+85
+83
+f0
+d0
+83
+d0
+82
+12
+05
+4a
+12
+05
+4a
+12
+05
+4a
+12
+05
+4a
+e4
+73
+e4
+93
+a3
+c5
+83
+c5
+f0
+c5
+83
+c8
+c5
+82
+c8
+f0
+a3
+c5
+83
+c5
+f0
+c5
+83
+c8
+c5
+82
+c8
+22
+8a
+83
+89
+82
+e4
+73
+78
+7f
+e4
+f6
+d8
+fd
+75
+81
+cf
+02
+05
+b1
+02
+17
+b1
+e4
+93
+a3
+f8
+e4
+93
+a3
+40
+03
+f6
+80
+01
+f2
+08
+df
+f4
+80
+29
+e4
+93
+a3
+f8
+54
+07
+24
+0c
+c8
+c3
+33
+c4
+54
+0f
+44
+20
+c8
+83
+40
+04
+f4
+56
+80
+01
+46
+f6
+df
+e4
+80
+0b
+01
+02
+04
+08
+10
+20
+40
+80
+90
+05
+f6
+e4
+7e
+01
+93
+60
+bc
+a3
+ff
+54
+3f
+30
+e5
+09
+54
+1f
+fe
+e4
+93
+a3
+60
+01
+0e
+cf
+54
+c0
+25
+e0
+60
+a8
+40
+b8
+e4
+93
+a3
+fa
+e4
+93
+a3
+f8
+e4
+93
+a3
+c8
+c5
+82
+c8
+ca
+c5
+83
+ca
+f0
+a3
+c8
+c5
+82
+c8
+ca
+c5
+83
+ca
+df
+e9
+de
+e7
+80
+be
+52
+4d
+ef
+ff
+0e
+c0
+00
+00
+00
+ff
+17
+65
+ff
+20
+29
+00
+00
+00
+ff
+1f
+d6
+00
+19
+08
+09
+0a
+0b
+0c
+0d
+0e
+17
+1a
+18
+14
+11
+10
+0f
+15
+1b
+16
+00
+00
+00
+47
+00
+00
+00
+e4
+00
+e0
+3e
+14
+2b
+04
+29
+1d
+8b
+35
+1e
+1a
+39
+16
+64
+1b
+8a
+3a
+1f
+08
+3c
+07
+3d
+06
+88
+3b
+20
+15
+17
+09
+0a
+19
+05
+22
+21
+18
+1c
+0d
+0b
+10
+11
+23
+24
+0c
+30
+0e
+3f
+36
+87
+2e
+25
+12
+40
+0f
+00
+37
+65
+41
+26
+13
+2f
+33
+34
+32
+38
+2d
+27
+46
+00
+af
+e2
+00
+e6
+00
+48
+89
+2a
+31
+44
+28
+45
+42
+43
+5f
+5c
+59
+2c
+53
+51
+4c
+00
+60
+5d
+5a
+62
+54
+4f
+49
+00
+61
+5e
+5b
+63
+55
+56
+4b
+4e
+57
+85
+58
+52
+f7
+50
+4a
+4d
+00
+e1
+e5
+fc
+f7
+f6
+f8
+f1
+fa
+e3
+d1
+d3
+d2
+d4
+f8
+d5
+91
+d0
+e7
+f9
+f3
+f9
+d6
+90
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+01
+01
+00
+90
+4c
+c5
+e0
+b4
+03
+03
+7f
+01
+22
+7f
+00
+22
+90
+4d
+e2
+e0
+64
+02
+60
+02
+e1
+95
+90
+4c
+e9
+e0
+60
+02
+e1
+95
+90
+4c
+ee
+e0
+60
+02
+e1
+95
+90
+4c
+d5
+e0
+b4
+02
+04
+f1
+a8
+80
+28
+90
+4c
+d5
+e0
+b4
+01
+14
+90
+4c
+f7
+e0
+70
+1b
+90
+4c
+e2
+74
+04
+f0
+90
+4c
+f7
+74
+01
+f0
+80
+0d
+90
+4c
+f7
+e0
+b4
+01
+06
+e4
+f0
+90
+4c
+e2
+f0
+d3
+90
+4c
+e4
+e0
+94
+28
+90
+4c
+e3
+e0
+94
+00
+40
+08
+90
+4c
+d5
+e0
+64
+01
+60
+08
+90
+4c
+d5
+e0
+64
+01
+60
+5a
+90
+4c
+e5
+e0
+70
+54
+d1
+c2
+ef
+60
+3d
+90
+4c
+b7
+e0
+30
+e0
+08
+c2
+01
+7f
+1c
+f1
+96
+80
+06
+d2
+01
+7f
+1c
+f1
+96
+90
+4c
+b7
+e0
+30
+e1
+08
+c2
+01
+7f
+1d
+f1
+96
+80
+06
+d2
+01
+7f
+1d
+f1
+96
+90
+4c
+b7
+e0
+30
+e2
+06
+c2
+01
+7f
+1e
+80
+19
+d2
+01
+7f
+1e
+80
+13
+d2
+01
+7f
+1c
+f1
+96
+d2
+01
+7f
+1d
+f1
+96
+d2
+01
+7f
+1e
+f1
+96
+22
+ef
+f4
+60
+0d
+7b
+01
+7a
+80
+79
+74
+a2
+01
+92
+00
+12
+12
+67
+22
+e4
+90
+4d
+38
+f0
+7f
+19
+90
+4e
+72
+ef
+f0
+78
+73
+7c
+4e
+7d
+01
+7b
+ff
+7a
+06
+79
+bf
+7e
+00
+7f
+03
+71
+90
+90
+4e
+72
+e0
+90
+4e
+75
+f0
+7b
+01
+7a
+4e
+79
+73
+7d
+03
+90
+4e
+47
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+a3
+ed
+f0
+90
+4b
+9c
+e0
+ff
+a3
+e0
+90
+4e
+4b
+cf
+f0
+a3
+ef
+f0
+90
+4b
+9a
+e0
+fe
+a3
+e0
+ff
+90
+4b
+9c
+e0
+fc
+a3
+e0
+fd
+7b
+64
+11
+6a
+90
+4e
+4a
+e0
+fe
+ef
+c3
+9e
+40
+e2
+90
+4e
+4a
+e0
+ff
+14
+f0
+ef
+60
+3f
+90
+4e
+47
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+12
+03
+b6
+ff
+90
+4e
+4b
+e4
+75
+f0
+01
+12
+04
+24
+85
+f0
+82
+f5
+83
+ef
+f0
+90
+4e
+4b
+e0
+fe
+a3
+e0
+ff
+be
+4b
+c6
+bf
+36
+c3
+90
+4e
+4b
+74
+4a
+f0
+a3
+74
+a0
+f0
+80
+b7
+90
+4e
+4b
+e0
+ff
+a3
+e0
+90
+4b
+9c
+cf
+f0
+a3
+ef
+f0
+22
+90
+4e
+6e
+ee
+f0
+a3
+ef
+f0
+90
+4e
+70
+ec
+f0
+a3
+ed
+f0
+90
+4e
+70
+e0
+fe
+a3
+e0
+ff
+d3
+90
+4e
+6f
+e0
+9f
+90
+4e
+6e
+e0
+9e
+40
+16
+90
+4e
+70
+e0
+fe
+a3
+e0
+ff
+90
+4e
+6f
+e0
+9f
+ff
+90
+4e
+6e
+e0
+9e
+fe
+80
+1e
+90
+4e
+6e
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4e
+71
+e0
+9f
+ff
+90
+4e
+70
+e0
+9e
+fe
+ad
+03
+c3
+eb
+9f
+ff
+e4
+9e
+fe
+22
+e4
+ff
+90
+4c
+ee
+e0
+60
+01
+22
+90
+4c
+fa
+e0
+b4
+01
+01
+22
+90
+4c
+c5
+e0
+64
+03
+60
+1d
+90
+4c
+ef
+e0
+70
+1e
+74
+0a
+f0
+a3
+e0
+70
+17
+90
+4d
+e2
+e0
+b4
+02
+10
+7f
+09
+12
+16
+89
+7f
+01
+80
+07
+e4
+90
+4c
+eb
+f0
+7f
+01
+22
+90
+4e
+62
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+a3
+ed
+f0
+11
+c4
+ef
+60
+77
+90
+4c
+eb
+e0
+70
+71
+90
+4c
+c5
+e0
+64
+03
+70
+69
+90
+4e
+62
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+ff
+64
+01
+70
+2e
+90
+00
+01
+12
+03
+cf
+70
+1e
+90
+00
+03
+12
+03
+cf
+70
+16
+90
+00
+04
+12
+03
+cf
+70
+0e
+90
+00
+05
+12
+03
+cf
+70
+06
+90
+4d
+d6
+f0
+80
+28
+90
+4d
+d6
+74
+01
+f0
+80
+20
+ef
+b4
+02
+1c
+90
+00
+01
+12
+03
+cf
+70
+0e
+90
+00
+02
+12
+03
+cf
+70
+06
+90
+4d
+d6
+f0
+80
+06
+90
+4d
+d6
+74
+01
+f0
+90
+4e
+65
+e0
+fd
+12
+25
+4a
+22
+90
+4e
+53
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+a3
+f0
+a3
+f0
+90
+4d
+db
+f0
+90
+4e
+57
+f0
+90
+4e
+57
+e0
+ff
+c3
+94
+05
+50
+2c
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+7e
+00
+e9
+2f
+f9
+ee
+3a
+fa
+12
+03
+b6
+b4
+af
+06
+90
+4d
+db
+74
+01
+f0
+90
+4e
+57
+e0
+04
+f0
+80
+ca
+90
+4d
+db
+e0
+90
+4d
+e1
+f0
+90
+4e
+53
+e0
+a3
+e0
+fa
+a3
+e0
+4a
+70
+02
+61
+f6
+90
+4d
+de
+74
+0a
+f0
+e4
+90
+4c
+e3
+f0
+a3
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+fc
+71
+f7
+7b
+01
+7a
+4d
+79
+e6
+7d
+09
+7c
+00
+71
+f7
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+90
+00
+01
+12
+03
+cf
+ff
+b4
+0e
+0a
+90
+00
+02
+12
+03
+cf
+64
+29
+60
+0f
+ef
+64
+29
+70
+36
+90
+00
+02
+12
+03
+cf
+64
+0e
+70
+2c
+90
+4b
+eb
+74
+20
+f0
+a3
+74
+15
+f0
+a3
+74
+10
+f0
+a3
+74
+05
+f0
+90
+4c
+c5
+e0
+64
+01
+60
+09
+90
+4c
+ce
+e0
+44
+10
+f0
+80
+10
+90
+4c
+ce
+e0
+54
+ef
+f0
+80
+07
+90
+4c
+ce
+e0
+54
+ef
+f0
+90
+4c
+b6
+74
+01
+f0
+90
+4c
+f4
+e0
+ff
+64
+01
+70
+02
+61
+f6
+ef
+64
+04
+70
+02
+61
+f6
+ef
+64
+02
+70
+02
+61
+f6
+90
+4c
+c5
+e0
+64
+03
+70
+45
+90
+4e
+57
+f0
+90
+4e
+57
+e0
+ff
+c3
+94
+05
+50
+37
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+7e
+00
+e9
+2f
+f9
+ee
+3a
+fa
+12
+03
+b6
+ff
+64
+39
+60
+09
+ef
+64
+53
+60
+04
+ef
+b4
+47
+06
+90
+4d
+47
+74
+01
+f0
+90
+4e
+57
+e0
+04
+f0
+80
+bf
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+18
+1c
+90
+4d
+e5
+e0
+b4
+01
+11
+74
+02
+f0
+90
+4d
+e6
+f0
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+21
+02
+90
+4d
+e5
+e0
+b4
+04
+13
+74
+02
+f0
+90
+4d
+e6
+74
+06
+f0
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+21
+02
+90
+4d
+e5
+e0
+64
+03
+70
+25
+f0
+90
+4d
+e4
+f0
+90
+4d
+e0
+e0
+60
+0a
+e4
+f0
+90
+4d
+e6
+74
+06
+f0
+80
+06
+90
+4d
+e6
+74
+02
+f0
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+21
+02
+90
+48
+00
+74
+01
+f0
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+90
+48
+01
+f0
+90
+4d
+47
+e0
+90
+48
+02
+f0
+e4
+90
+4d
+d8
+f0
+90
+00
+01
+12
+03
+cf
+b4
+af
+1e
+7e
+48
+7f
+03
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+02
+f9
+e4
+3a
+fa
+90
+4e
+52
+74
+05
+f0
+b1
+cd
+80
+1c
+7e
+48
+7f
+03
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+90
+4e
+52
+74
+06
+f0
+b1
+cd
+90
+4e
+57
+74
+03
+f0
+90
+4e
+57
+e0
+ff
+c3
+94
+09
+50
+25
+74
+00
+2f
+f5
+82
+e4
+34
+48
+f5
+83
+e0
+b4
+af
+0f
+90
+4e
+57
+e0
+24
+00
+f5
+82
+e4
+34
+48
+f5
+83
+e4
+f0
+90
+4e
+57
+e0
+04
+f0
+80
+d1
+7b
+01
+7a
+48
+79
+00
+7d
+09
+31
+02
+22
+90
+4e
+82
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+ed
+1d
+ae
+04
+70
+01
+1c
+4e
+60
+16
+90
+4e
+82
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+e4
+12
+03
+fc
+80
+e0
+22
+7b
+01
+7a
+4c
+79
+bf
+7d
+45
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+93
+7d
+14
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+a8
+7d
+14
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+bc
+7d
+14
+7c
+00
+71
+f7
+7b
+01
+7a
+48
+79
+00
+7d
+09
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+e6
+7d
+09
+7c
+00
+71
+f7
+e4
+90
+4d
+de
+f0
+90
+4d
+e3
+f0
+90
+4d
+e2
+f0
+90
+4d
+d6
+f0
+90
+4d
+d0
+f0
+90
+4d
+dc
+f0
+90
+4d
+e5
+f0
+90
+4d
+d5
+f0
+90
+4d
+d8
+f0
+90
+4d
+db
+f0
+90
+4d
+e1
+f0
+90
+4d
+d3
+f0
+90
+4d
+df
+f0
+90
+4d
+e4
+f0
+90
+4d
+d9
+f0
+90
+4d
+38
+f0
+22
+90
+4e
+8b
+ef
+f0
+a3
+ed
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+7c
+00
+71
+f7
+90
+48
+00
+74
+01
+f0
+a3
+e0
+ff
+90
+4e
+8b
+e0
+fe
+ef
+4e
+90
+48
+01
+f0
+90
+4e
+8c
+e0
+90
+48
+03
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+21
+02
+90
+4c
+f4
+e0
+ff
+60
+08
+64
+03
+60
+04
+ef
+b4
+05
+02
+80
+65
+90
+4c
+f4
+e0
+b4
+01
+0e
+a3
+e0
+ff
+e4
+fd
+91
+ad
+90
+4c
+f4
+74
+02
+f0
+22
+90
+4c
+f4
+e0
+b4
+02
+0b
+74
+03
+f0
+a3
+e0
+ff
+a3
+e0
+fd
+80
+8e
+90
+4c
+f4
+e0
+b4
+04
+1a
+e4
+90
+4c
+f6
+f0
+90
+4c
+f5
+e0
+ff
+e4
+fd
+91
+ad
+e4
+90
+4c
+f5
+f0
+90
+4c
+f4
+74
+05
+f0
+22
+90
+4c
+f4
+e0
+b4
+06
+15
+e4
+90
+4c
+f6
+f0
+90
+4c
+f5
+f0
+a3
+e0
+fd
+e4
+ff
+91
+ad
+e4
+90
+4c
+f4
+f0
+22
+90
+4e
+76
+e4
+f0
+a3
+f0
+a3
+f0
+12
+25
+58
+50
+25
+12
+1a
+d7
+90
+4e
+76
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+4a
+70
+07
+90
+4c
+b6
+04
+f0
+80
+0e
+90
+4e
+76
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+31
+8d
+22
+90
+4d
+47
+e0
+60
+35
+90
+4d
+d6
+e0
+70
+2f
+90
+4c
+c5
+e0
+b4
+03
+28
+7b
+01
+7a
+48
+79
+00
+7d
+09
+7c
+00
+71
+f7
+e4
+90
+4d
+e5
+f0
+90
+48
+00
+04
+f0
+90
+4d
+47
+e0
+90
+48
+02
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+31
+02
+22
+90
+4e
+4d
+ee
+f0
+a3
+ef
+f0
+a3
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+52
+e0
+ff
+14
+f0
+ef
+60
+27
+90
+4e
+4f
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+12
+03
+b6
+ff
+90
+4e
+4d
+e4
+75
+f0
+01
+12
+04
+24
+85
+f0
+82
+f5
+83
+ef
+f0
+80
+cf
+22
+90
+4e
+5d
+ec
+f0
+a3
+ed
+f0
+a3
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+80
+98
+74
+04
+f0
+a3
+e4
+f0
+90
+0c
+af
+74
+a0
+f0
+a3
+ee
+f0
+a3
+ef
+f0
+90
+0c
+b2
+74
+a1
+f0
+7a
+0c
+79
+af
+7e
+0c
+7f
+af
+74
+af
+fc
+74
+0c
+ff
+ec
+fe
+ef
+90
+80
+9a
+ee
+f0
+a3
+ef
+f0
+90
+4e
+5d
+e0
+fc
+a3
+e0
+fa
+ec
+ff
+ea
+fe
+ef
+90
+80
+9e
+ee
+f0
+a3
+ef
+f0
+7a
+0b
+79
+83
+7e
+0b
+7f
+83
+74
+83
+fc
+74
+0b
+ff
+ec
+fe
+ef
+90
+80
+9c
+ee
+f0
+a3
+ef
+f0
+90
+80
+90
+74
+02
+f0
+90
+80
+9c
+a3
+e0
+20
+e7
+07
+90
+80
+90
+e0
+44
+01
+f0
+90
+80
+06
+e0
+44
+04
+f0
+12
+23
+c1
+90
+4e
+5f
+e0
+a3
+e0
+fa
+a3
+e0
+ae
+02
+ff
+7b
+01
+7a
+0b
+79
+83
+90
+4e
+5d
+e0
+a3
+e0
+90
+4e
+52
+f0
+a1
+cd
+90
+4e
+97
+ef
+f0
+24
+d1
+60
+66
+14
+70
+02
+e1
+60
+14
+70
+02
+e1
+62
+14
+70
+02
+e1
+ac
+24
+f6
+70
+02
+e1
+62
+24
+09
+60
+02
+e1
+da
+7f
+0a
+12
+14
+6f
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+d1
+10
+90
+4c
+fa
+e0
+b4
+01
+2c
+e4
+90
+41
+31
+f0
+90
+4c
+95
+e0
+70
+02
+a3
+e0
+60
+f6
+90
+41
+31
+74
+01
+f0
+90
+4c
+e0
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+96
+e0
+9f
+90
+4c
+95
+e0
+9e
+50
+02
+e1
+da
+12
+12
+4f
+12
+1f
+ad
+7b
+01
+7a
+4c
+79
+00
+7d
+04
+7c
+00
+7f
+f2
+7e
+3f
+d1
+10
+7f
+0a
+12
+14
+6f
+90
+4c
+c1
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f8
+7e
+3f
+d1
+10
+02
+17
+b3
+80
+7f
+90
+4c
+c5
+74
+03
+f0
+e4
+a3
+f0
+f1
+db
+e4
+90
+4c
+ee
+f0
+90
+4c
+eb
+f0
+90
+4c
+c0
+74
+fe
+f0
+90
+4c
+c3
+f0
+90
+4e
+97
+e0
+64
+31
+70
+52
+90
+4c
+e5
+74
+0a
+f0
+90
+4b
+eb
+e0
+b4
+0f
+10
+a3
+e0
+b4
+0f
+0b
+a3
+e0
+b4
+0f
+06
+a3
+e0
+64
+0f
+60
+35
+90
+4c
+bf
+74
+01
+f0
+22
+e4
+90
+4c
+c5
+f0
+a3
+f0
+90
+4c
+e3
+f0
+a3
+f0
+90
+4c
+eb
+04
+f0
+90
+4c
+ed
+e0
+60
+0a
+f1
+db
+90
+4c
+ed
+e0
+ff
+02
+16
+89
+90
+4c
+ec
+e0
+b4
+01
+05
+e4
+f0
+12
+07
+a8
+22
+e4
+90
+4c
+f0
+f0
+22
+90
+80
+80
+e4
+f0
+a3
+f0
+a3
+f0
+12
+17
+c9
+e4
+90
+4e
+95
+f0
+f0
+90
+4e
+95
+e0
+90
+06
+0c
+93
+ff
+60
+0c
+c2
+05
+11
+0b
+90
+4e
+95
+e0
+04
+f0
+80
+e9
+22
+ac
+07
+ec
+f4
+60
+17
+af
+04
+a2
+05
+92
+03
+51
+56
+af
+04
+a2
+05
+b3
+92
+02
+11
+29
+af
+04
+c2
+04
+51
+28
+22
+ef
+f4
+60
+0c
+7b
+01
+7a
+80
+79
+78
+a2
+02
+92
+00
+51
+67
+22
+ac
+07
+ec
+f4
+60
+15
+af
+04
+d2
+04
+51
+28
+af
+04
+a2
+06
+92
+01
+12
+07
+96
+af
+04
+c2
+02
+11
+29
+22
+d2
+06
+7f
+1c
+11
+3a
+d2
+06
+7f
+1d
+11
+3a
+d2
+06
+7f
+1e
+11
+3a
+e4
+ff
+90
+4e
+7c
+ef
+f0
+70
+08
+51
+39
+d2
+06
+7f
+13
+80
+c1
+90
+4e
+7c
+e0
+ff
+b4
+01
+09
+a3
+e4
+f0
+a3
+74
+14
+f0
+80
+1b
+ef
+b4
+02
+0b
+90
+4e
+7d
+e4
+f0
+a3
+74
+42
+f0
+80
+0c
+ef
+b4
+03
+08
+51
+39
+c2
+06
+7f
+13
+80
+95
+51
+c8
+90
+4e
+7d
+e0
+a3
+e0
+ff
+c3
+74
+64
+9f
+90
+80
+a0
+f0
+90
+80
+a2
+ef
+f0
+90
+80
+85
+e0
+44
+40
+f0
+22
+90
+4e
+8d
+ef
+f0
+e4
+a3
+f0
+ed
+f0
+90
+4d
+db
+e0
+64
+01
+60
+02
+21
+e6
+ed
+24
+af
+60
+67
+14
+60
+3b
+24
+18
+b4
+0c
+00
+40
+02
+21
+e6
+90
+10
+f6
+75
+f0
+03
+a4
+c5
+83
+25
+f0
+c5
+83
+73
+02
+11
+60
+02
+11
+68
+02
+11
+70
+02
+11
+78
+02
+11
+8a
+02
+11
+92
+02
+11
+a4
+02
+11
+b6
+02
+11
+be
+02
+11
+d0
+02
+11
+d8
+02
+11
+e0
+90
+4e
+8d
+e0
+30
+e0
+1b
+90
+4c
+f9
+e0
+c3
+94
+03
+50
+05
+e0
+04
+f0
+80
+06
+90
+4c
+f9
+74
+03
+f0
+90
+4c
+f9
+e0
+ff
+11
+6a
+e4
+90
+4e
+8e
+f0
+21
+e6
+90
+4e
+8d
+e0
+30
+e0
+0f
+90
+4c
+f9
+e0
+60
+02
+14
+f0
+90
+4c
+f9
+e0
+ff
+11
+6a
+e4
+90
+4e
+8e
+f0
+21
+e6
+90
+4e
+8e
+74
+de
+f0
+80
+7e
+90
+4e
+8e
+74
+d6
+f0
+80
+76
+90
+4e
+8e
+74
+d0
+f0
+80
+6e
+90
+4e
+8d
+e0
+ff
+7b
+0b
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+5c
+90
+4e
+8e
+74
+fb
+f0
+80
+54
+90
+4e
+8d
+e0
+ff
+7b
+2b
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+42
+90
+4e
+8d
+e0
+ff
+7b
+0c
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+30
+90
+4e
+8e
+74
+d5
+f0
+80
+28
+90
+4e
+8d
+e0
+ff
+7b
+04
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+16
+90
+4e
+8e
+74
+f2
+f0
+80
+0e
+90
+4e
+8e
+74
+f4
+f0
+80
+06
+90
+4e
+8e
+74
+f5
+f0
+90
+4e
+8e
+e0
+b4
+fc
+10
+90
+4e
+8d
+e0
+ff
+7b
+0f
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+90
+4e
+8e
+e0
+ff
+22
+90
+4c
+f5
+ed
+f0
+a3
+eb
+f0
+ef
+30
+e0
+12
+90
+4c
+f4
+e0
+b4
+03
+04
+74
+02
+f0
+22
+90
+4c
+f4
+74
+01
+f0
+22
+90
+4c
+f4
+74
+04
+f0
+22
+ef
+f4
+60
+0c
+7b
+01
+7a
+80
+79
+70
+a2
+04
+92
+00
+51
+67
+22
+90
+80
+51
+e0
+44
+20
+f0
+90
+80
+82
+e0
+54
+ef
+f0
+90
+80
+85
+e0
+54
+bf
+f0
+22
+12
+0f
+e1
+51
+c8
+01
+56
+ef
+f4
+60
+0c
+7b
+01
+7a
+80
+79
+7c
+a2
+03
+92
+00
+51
+67
+22
+90
+4e
+88
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+fe
+fd
+ef
+54
+07
+fe
+ef
+13
+13
+13
+54
+03
+fd
+30
+00
+22
+90
+4e
+88
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+2d
+f9
+e4
+3a
+fa
+12
+03
+b6
+ff
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+4f
+02
+03
+fc
+90
+4e
+88
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+2d
+f9
+e4
+3a
+fa
+12
+03
+b6
+ff
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+f4
+5f
+02
+03
+fc
+90
+80
+42
+e0
+f0
+90
+80
+51
+e0
+54
+df
+f0
+90
+80
+82
+e0
+44
+10
+f0
+22
+b1
+77
+12
+24
+5d
+12
+0c
+e7
+91
+87
+12
+06
+cf
+90
+0b
+7e
+e0
+14
+60
+0c
+24
+fe
+70
+ea
+71
+2c
+11
+56
+91
+64
+80
+fe
+90
+4c
+ea
+e0
+70
+1d
+90
+4c
+ec
+e0
+70
+17
+90
+4c
+e5
+e0
+70
+11
+90
+4c
+f8
+e0
+70
+0b
+a3
+e0
+ff
+64
+01
+60
+04
+ef
+b4
+02
+04
+f1
+bd
+80
+bb
+71
+2c
+91
+64
+80
+b5
+80
+b3
+22
+e4
+ff
+90
+4e
+96
+f0
+fe
+fd
+ef
+90
+06
+0c
+93
+60
+49
+ef
+93
+fd
+13
+13
+13
+54
+1f
+fe
+ed
+54
+07
+fd
+74
+01
+a8
+05
+08
+80
+02
+c3
+33
+d8
+fc
+fd
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+ee
+24
+70
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+4d
+f0
+ee
+24
+74
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+5b
+f0
+0f
+80
+b0
+12
+25
+e3
+90
+81
+1c
+e0
+90
+4e
+96
+f0
+90
+4d
+d5
+e0
+60
+20
+e4
+ff
+71
+c5
+7f
+01
+71
+c5
+7f
+02
+71
+c5
+7f
+03
+71
+c5
+7f
+04
+71
+c5
+7f
+05
+71
+c5
+7f
+06
+71
+c5
+7f
+07
+80
+10
+90
+4e
+96
+e0
+ff
+90
+00
+a3
+f0
+ef
+f4
+90
+00
+a7
+f0
+22
+90
+4e
+9a
+ef
+f0
+b1
+8a
+92
+08
+90
+4e
+9a
+e0
+ff
+a2
+08
+b3
+92
+07
+ef
+f4
+70
+02
+81
+63
+ef
+54
+07
+fe
+ef
+13
+13
+13
+54
+03
+ff
+30
+07
+43
+24
+a3
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+fd
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+f4
+5d
+d0
+82
+d0
+83
+f0
+74
+a7
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+ff
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+4f
+d0
+82
+d0
+83
+f0
+22
+74
+a3
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+fd
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+fc
+4d
+d0
+82
+d0
+83
+f0
+74
+a7
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+e0
+ff
+ec
+f4
+fe
+ef
+5e
+f0
+22
+e4
+90
+0b
+7f
+f0
+90
+0b
+7e
+f0
+7f
+01
+ef
+d3
+94
+00
+40
+11
+e4
+fd
+fc
+0d
+bd
+00
+01
+0c
+bc
+04
+f8
+bd
+a6
+f5
+1f
+80
+e9
+22
+90
+4c
+bf
+e0
+60
+3b
+7f
+c8
+91
+6f
+c2
+01
+7f
+1f
+12
+07
+96
+7b
+01
+7a
+4c
+79
+00
+7d
+04
+7c
+00
+7f
+f2
+7e
+3f
+91
+c9
+7b
+01
+7a
+4c
+79
+c1
+7d
+01
+7c
+00
+7f
+f8
+7e
+3f
+91
+c9
+d2
+01
+7f
+1f
+12
+07
+96
+7f
+0a
+91
+6f
+e4
+90
+4c
+bf
+f0
+22
+90
+4e
+21
+ee
+f0
+a3
+ef
+f0
+a3
+ec
+f0
+a3
+ed
+f0
+a3
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+23
+e0
+70
+02
+a3
+e0
+70
+02
+a1
+76
+90
+4e
+21
+e0
+fe
+a3
+e0
+ff
+44
+0f
+24
+01
+fd
+e4
+3e
+fc
+c3
+ed
+9f
+ff
+ec
+9e
+fe
+90
+4e
+28
+f0
+a3
+ef
+f0
+90
+4e
+23
+e0
+fc
+a3
+e0
+fd
+d3
+9f
+ec
+9e
+40
+0a
+90
+4e
+28
+e0
+fe
+a3
+e0
+ff
+80
+04
+ae
+04
+af
+05
+90
+4e
+28
+ee
+f0
+fc
+a3
+ef
+f0
+fd
+c3
+90
+4e
+24
+e0
+9d
+f0
+90
+4e
+23
+e0
+9c
+f0
+90
+4e
+21
+e0
+fe
+a3
+e0
+ff
+90
+4e
+25
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+23
+29
+7f
+0a
+91
+6f
+90
+4e
+28
+e0
+fe
+a3
+e0
+ff
+90
+4e
+26
+ee
+8f
+f0
+12
+04
+0e
+90
+4e
+22
+e0
+2f
+f0
+90
+4e
+21
+e0
+3e
+f0
+81
+e0
+22
+7b
+01
+7a
+4d
+79
+ef
+78
+01
+7c
+4e
+7d
+01
+7e
+00
+7f
+12
+02
+03
+90
+7b
+01
+7a
+81
+79
+1c
+ad
+07
+e4
+90
+4e
+99
+f0
+fe
+ef
+54
+07
+f0
+ef
+13
+13
+13
+54
+03
+fe
+f5
+82
+75
+83
+00
+12
+03
+cf
+fd
+33
+95
+e0
+fc
+90
+4e
+99
+e0
+ff
+74
+01
+7e
+00
+a8
+07
+08
+80
+05
+c3
+33
+ce
+33
+ce
+d8
+f9
+ff
+ee
+5c
+fe
+ef
+5d
+4e
+24
+ff
+22
+90
+4e
+9b
+ef
+f0
+7b
+01
+7a
+80
+79
+74
+b1
+90
+92
+09
+90
+4e
+9b
+e0
+ff
+a2
+09
+b3
+92
+01
+02
+07
+96
+90
+4d
+e2
+e0
+b4
+02
+12
+90
+4c
+ee
+e0
+60
+0c
+7f
+1c
+b1
+cf
+7f
+1d
+b1
+cf
+7f
+1e
+b1
+cf
+22
+90
+4c
+ce
+e0
+30
+e1
+3e
+90
+4c
+d0
+e0
+c3
+94
+fa
+50
+03
+e0
+04
+f0
+90
+4c
+d0
+e0
+64
+b4
+70
+2f
+90
+4d
+dc
+e0
+04
+f0
+e0
+d3
+94
+02
+50
+07
+e4
+90
+4c
+d0
+f0
+80
+1c
+90
+4d
+dc
+e0
+b4
+03
+15
+90
+4d
+d5
+74
+01
+f0
+e4
+90
+4c
+d0
+f0
+12
+07
+a8
+80
+05
+e4
+90
+4d
+dc
+f0
+90
+4c
+ce
+e0
+30
+e4
+2d
+90
+4c
+ea
+74
+0a
+f0
+90
+4c
+d1
+e0
+c3
+94
+fa
+50
+03
+e0
+04
+f0
+90
+4c
+d1
+e0
+b4
+06
+19
+90
+4c
+c3
+e0
+ff
+60
+03
+b4
+fe
+0f
+f1
+4d
+7f
+0a
+91
+6f
+7f
+0a
+80
+06
+e4
+90
+4c
+d1
+f0
+22
+90
+4e
+93
+ef
+f0
+24
+f7
+60
+09
+14
+60
+63
+24
+02
+60
+02
+e1
+47
+e4
+90
+4c
+f0
+f0
+f1
+4d
+ef
+60
+09
+90
+4e
+93
+e0
+90
+4c
+ed
+f0
+22
+7b
+01
+7a
+4c
+79
+00
+7d
+04
+7c
+00
+7f
+f2
+7e
+3f
+12
+0e
+10
+7f
+0a
+91
+6f
+90
+4c
+00
+e0
+b4
+ff
+1b
+a3
+e0
+b4
+ff
+16
+a3
+e0
+b4
+ff
+11
+a3
+e0
+b4
+ff
+0c
+90
+4c
+00
+74
+0f
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+7f
+21
+12
+07
+af
+90
+4c
+c5
+74
+02
+f0
+e4
+a3
+f0
+90
+4c
+ed
+f0
+22
+e4
+90
+4c
+f0
+f0
+f1
+4d
+ef
+60
+09
+90
+4e
+93
+e0
+90
+4c
+ed
+f0
+22
+90
+4c
+c5
+e0
+64
+01
+60
+2e
+7f
+23
+12
+07
+af
+90
+4c
+c5
+74
+01
+f0
+e4
+a3
+f0
+90
+4c
+ee
+74
+3c
+f0
+e4
+90
+4c
+e9
+f0
+d2
+01
+7f
+1c
+12
+07
+96
+d2
+01
+7f
+1d
+12
+07
+96
+d2
+01
+7f
+1e
+12
+07
+96
+e4
+90
+4c
+ed
+f0
+22
+e4
+90
+4c
+ed
+f0
+22
+90
+4c
+c5
+e0
+ff
+64
+03
+60
+04
+ef
+b4
+02
+08
+7f
+22
+12
+07
+af
+7f
+01
+22
+7f
+00
+22
+b1
+eb
+90
+4c
+e4
+e0
+04
+f0
+70
+06
+90
+4c
+e3
+e0
+04
+f0
+f1
+9f
+12
+1f
+e6
+d1
+05
+90
+4c
+ee
+e0
+60
+1c
+e4
+90
+4c
+e3
+f0
+a3
+f0
+90
+4c
+ee
+e0
+14
+f0
+e0
+70
+0c
+7f
+22
+12
+07
+af
+7f
+0a
+91
+6f
+12
+07
+a8
+22
+90
+4c
+d3
+e0
+60
+0b
+14
+f0
+e0
+70
+06
+74
+05
+f0
+12
+21
+cd
+22
+41
+dc
+90
+4d
+e2
+74
+02
+f0
+7f
+08
+c1
+89
+90
+0b
+7f
+74
+01
+f0
+e4
+90
+0b
+7e
+f0
+22
+e4
+90
+4e
+94
+f0
+f0
+90
+4e
+94
+e0
+ff
+c3
+94
+08
+50
+0c
+c2
+05
+11
+0b
+90
+4e
+94
+e0
+04
+f0
+80
+ea
+22
+ad
+07
+ac
+06
+90
+4d
+e5
+e0
+64
+02
+60
+0e
+74
+01
+f0
+90
+4d
+e6
+04
+f0
+ef
+a3
+f0
+ee
+a3
+f0
+22
+90
+4d
+e5
+e0
+64
+02
+60
+12
+74
+04
+f0
+90
+4d
+e0
+74
+01
+f0
+90
+4d
+e6
+74
+06
+f0
+a3
+ef
+f0
+22
+90
+4e
+66
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+a3
+f0
+f0
+90
+4e
+69
+e0
+ff
+c3
+94
+06
+40
+02
+41
+c8
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+7e
+00
+e9
+2f
+f9
+ee
+3a
+fa
+12
+03
+b6
+ff
+54
+f0
+64
+f0
+60
+09
+ef
+54
+d0
+64
+d0
+60
+02
+41
+c0
+12
+03
+b6
+fb
+b4
+f1
+09
+7f
+83
+7e
+01
+12
+17
+e6
+41
+95
+eb
+b4
+f2
+09
+7f
+cd
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f3
+07
+7f
+b7
+12
+17
+e6
+41
+95
+eb
+b4
+f4
+09
+7f
+b6
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f5
+07
+7f
+b5
+12
+17
+e6
+41
+95
+eb
+b4
+f6
+09
+7f
+ea
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f7
+07
+7f
+e9
+12
+17
+e6
+41
+95
+eb
+b4
+f8
+09
+7f
+e2
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f9
+08
+7f
+94
+0e
+12
+17
+e6
+41
+95
+eb
+b4
+fa
+09
+7f
+8a
+7e
+01
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+fb
+08
+7f
+92
+0e
+12
+17
+e6
+41
+95
+eb
+b4
+d0
+09
+7f
+2a
+7e
+02
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d1
+09
+7f
+25
+7e
+02
+12
+17
+e6
+41
+95
+eb
+b4
+d3
+09
+7f
+26
+7e
+02
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d2
+09
+7f
+24
+7e
+02
+12
+17
+e6
+41
+95
+eb
+b4
+d4
+09
+7f
+27
+7e
+02
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d5
+09
+7f
+21
+7e
+02
+12
+17
+e6
+80
+7b
+eb
+b4
+d6
+09
+7f
+23
+7e
+02
+12
+17
+e6
+80
+6e
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d7
+07
+7f
+70
+12
+17
+e6
+80
+47
+eb
+b4
+d8
+09
+7f
+6f
+7e
+00
+12
+17
+e6
+80
+3a
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fe
+b4
+dd
+06
+7f
+01
+11
+01
+80
+14
+ee
+b4
+de
+06
+7f
+02
+11
+01
+80
+0a
+12
+03
+b6
+b4
+df
+04
+7f
+04
+11
+01
+90
+4d
+e5
+e0
+b4
+02
+24
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+90
+4d
+e4
+f0
+e4
+12
+03
+fc
+90
+4e
+69
+e0
+04
+f0
+01
+2b
+22
+e4
+fe
+ef
+60
+06
+14
+5f
+ff
+0e
+80
+f7
+af
+06
+22
+e4
+90
+4e
+13
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+d1
+4d
+7a
+4d
+79
+a8
+90
+4e
+3c
+74
+01
+f0
+a3
+74
+4d
+f0
+a3
+74
+a8
+f0
+a3
+74
+14
+f0
+7b
+01
+7a
+4d
+79
+bc
+b1
+04
+ef
+60
+16
+7b
+01
+7a
+4d
+79
+bc
+7d
+14
+91
+d4
+ef
+70
+09
+90
+4c
+ce
+e0
+44
+02
+f0
+80
+0c
+90
+4c
+ce
+e0
+54
+fd
+f0
+e4
+90
+4c
+d0
+f0
+e4
+90
+4e
+13
+f0
+90
+4e
+13
+e0
+ff
+90
+06
+0c
+93
+60
+2f
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+90
+4e
+15
+f0
+e0
+fd
+60
+14
+90
+4e
+19
+e0
+04
+f0
+a3
+e0
+fe
+ed
+4e
+f0
+af
+05
+51
+c9
+a3
+e0
+2f
+f0
+90
+4e
+13
+e0
+04
+f0
+80
+c6
+90
+4e
+1b
+e0
+90
+4e
+20
+f0
+90
+4e
+19
+e0
+90
+4e
+1f
+f0
+90
+4e
+1a
+e0
+ff
+51
+c9
+90
+4e
+1e
+ef
+f0
+90
+4e
+20
+e0
+ff
+d3
+94
+02
+40
+1d
+90
+4e
+1e
+e0
+fe
+a3
+e0
+fd
+d3
+9e
+40
+04
+ae
+05
+80
+00
+ef
+d3
+9e
+40
+08
+90
+4e
+1d
+74
+01
+f0
+80
+05
+e4
+90
+4e
+1d
+f0
+e4
+90
+4e
+13
+f0
+90
+4e
+13
+e0
+ff
+90
+06
+0c
+93
+70
+02
+81
+a8
+74
+93
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fe
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+6e
+90
+4e
+15
+f0
+90
+4e
+13
+e0
+ff
+24
+bc
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+90
+4e
+18
+f0
+90
+4e
+15
+e0
+70
+04
+81
+a0
+81
+a0
+90
+4e
+1d
+e0
+60
+07
+7b
+00
+7a
+00
+79
+00
+22
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fe
+74
+93
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+ee
+f0
+e4
+90
+4e
+14
+f0
+90
+4e
+14
+e0
+ff
+c3
+94
+08
+50
+59
+a3
+e0
+30
+e0
+3c
+90
+4e
+13
+e0
+fe
+33
+33
+33
+54
+f8
+fe
+ef
+4e
+90
+4e
+17
+f0
+a3
+e0
+ff
+90
+4e
+17
+e0
+90
+06
+21
+93
+fd
+12
+10
+c3
+90
+4e
+1c
+ef
+f0
+90
+4e
+18
+e0
+30
+e0
+09
+90
+4e
+1c
+e0
+ff
+b1
+4e
+80
+07
+90
+4e
+1c
+e0
+ff
+b1
+a4
+90
+4e
+15
+e0
+ff
+c3
+13
+f0
+90
+4e
+18
+e0
+ff
+c3
+13
+f0
+90
+4e
+14
+e0
+04
+f0
+80
+9d
+90
+4e
+16
+74
+01
+f0
+90
+4e
+13
+e0
+04
+f0
+61
+c7
+90
+4d
+e5
+e0
+b4
+03
+0a
+90
+4d
+d8
+e0
+b4
+01
+03
+74
+02
+f0
+90
+4e
+16
+e0
+70
+07
+90
+4d
+d8
+e0
+b4
+02
+07
+7b
+01
+7a
+4e
+79
+32
+22
+7b
+00
+7a
+00
+79
+00
+22
+90
+4e
+79
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+ff
+ef
+c3
+9d
+50
+1b
+90
+4e
+79
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+8f
+82
+75
+83
+00
+12
+03
+cf
+60
+03
+7f
+00
+22
+0f
+80
+e0
+7f
+01
+22
+90
+4e
+39
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+ff
+90
+4e
+3f
+e0
+fe
+ef
+c3
+9e
+50
+30
+90
+4e
+3c
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+8f
+82
+75
+83
+00
+12
+03
+cf
+fe
+90
+4e
+39
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+8f
+82
+75
+83
+00
+12
+03
+cf
+6e
+60
+03
+7f
+00
+22
+0f
+80
+c6
+7f
+01
+22
+e4
+fe
+ef
+c3
+94
+e0
+40
+20
+ef
+d3
+94
+e7
+50
+1a
+90
+4e
+32
+e0
+fe
+ef
+54
+07
+ff
+74
+01
+a8
+07
+08
+80
+02
+c3
+33
+d8
+fc
+4e
+90
+4e
+32
+f0
+22
+e4
+fe
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+fd
+6f
+60
+1c
+ed
+70
+14
+90
+4d
+e4
+e0
+6f
+60
+12
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+ef
+f0
+22
+0e
+ee
+b4
+06
+d5
+22
+e4
+fe
+fd
+ef
+54
+f0
+64
+f0
+60
+07
+ef
+54
+d0
+fc
+bc
+d0
+0c
+90
+4d
+e5
+e0
+b4
+02
+0b
+74
+03
+f0
+80
+06
+90
+4d
+d8
+74
+01
+f0
+ef
+c3
+94
+e0
+40
+20
+ef
+d3
+94
+e7
+50
+1a
+90
+4e
+32
+e0
+fe
+ef
+54
+07
+ff
+74
+fe
+a8
+07
+08
+80
+02
+c3
+33
+d8
+fc
+5e
+90
+4e
+32
+f0
+22
+e4
+fe
+ed
+70
+21
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+6f
+70
+47
+ee
+b4
+05
+0b
+24
+33
+f5
+82
+e4
+34
+4e
+f5
+83
+e4
+f0
+7d
+01
+80
+34
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+fc
+74
+32
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+ec
+f0
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+60
+14
+ee
+b4
+05
+0b
+24
+33
+f5
+82
+e4
+34
+4e
+f5
+83
+e4
+f0
+0e
+ee
+b4
+06
+a3
+22
+e4
+ff
+90
+4e
+6a
+f0
+fe
+fd
+a3
+f0
+a3
+f0
+a3
+f0
+ef
+90
+06
+0c
+93
+60
+7c
+ef
+93
+fd
+13
+13
+13
+54
+1f
+fe
+ed
+54
+07
+fd
+74
+01
+a8
+05
+08
+80
+02
+c3
+33
+d8
+fc
+fd
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+ee
+24
+70
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+4d
+f0
+ee
+24
+74
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+5b
+f0
+90
+81
+1c
+e0
+f4
+fc
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+ec
+f0
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+4d
+f0
+ee
+24
+70
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+0f
+c1
+5b
+e4
+ff
+ef
+90
+06
+0c
+93
+60
+7c
+ef
+93
+fd
+13
+13
+13
+54
+1f
+fe
+ed
+54
+07
+fd
+74
+01
+a8
+05
+08
+80
+02
+c3
+33
+d8
+fc
+fd
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+ee
+24
+70
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+4d
+f0
+ee
+24
+74
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+5b
+f0
+90
+81
+1c
+e0
+f4
+fc
+74
+a8
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+ec
+f0
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+4d
+f0
+ee
+24
+70
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+0f
+c1
+e0
+e4
+ff
+ef
+90
+06
+0c
+93
+60
+40
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fe
+74
+a8
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+6e
+60
+23
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+c0
+83
+c0
+82
+e0
+fe
+74
+a8
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fd
+ee
+5d
+d0
+82
+d0
+83
+f0
+0f
+80
+b9
+22
+12
+0c
+23
+12
+21
+09
+90
+4c
+eb
+74
+01
+f0
+90
+4c
+e5
+74
+0a
+f0
+e4
+90
+4c
+f0
+f0
+90
+4d
+03
+74
+ff
+f0
+22
+90
+80
+10
+74
+01
+f0
+80
+fe
+22
+80
+f5
+90
+4e
+8f
+ed
+f0
+90
+00
+01
+12
+03
+cf
+90
+4e
+90
+f0
+22
+90
+4c
+c5
+e0
+b4
+03
+11
+90
+4c
+e3
+e0
+64
+02
+70
+04
+a3
+e0
+64
+58
+70
+2d
+02
+07
+a8
+90
+4c
+c5
+e0
+b4
+01
+14
+90
+4c
+e3
+e0
+70
+04
+a3
+e0
+64
+3c
+70
+17
+7f
+22
+12
+07
+af
+02
+07
+a8
+90
+4c
+e3
+e0
+70
+04
+a3
+e0
+64
+14
+70
+03
+12
+07
+a8
+22
+90
+4c
+ea
+e0
+60
+02
+14
+f0
+90
+4c
+ef
+e0
+60
+02
+14
+f0
+90
+4c
+e5
+e0
+60
+34
+14
+f0
+c2
+01
+7f
+1c
+12
+07
+96
+c2
+01
+7f
+1d
+12
+07
+96
+c2
+01
+7f
+1e
+12
+07
+96
+90
+4c
+e5
+e0
+70
+70
+d2
+01
+7f
+1c
+12
+07
+96
+d2
+01
+7f
+1d
+12
+07
+96
+d2
+01
+7f
+1e
+12
+07
+96
+80
+59
+90
+4c
+ee
+e0
+70
+53
+90
+4c
+e2
+e0
+60
+4d
+14
+f0
+d3
+90
+4c
+e4
+e0
+94
+28
+90
+4c
+e3
+e0
+94
+00
+50
+33
+90
+4c
+e2
+e0
+30
+e1
+17
+c2
+01
+7f
+1c
+12
+07
+96
+c2
+01
+7f
+1d
+12
+07
+96
+c2
+01
+7f
+1e
+12
+07
+96
+80
+15
+d2
+01
+7f
+1c
+12
+07
+96
+d2
+01
+7f
+1d
+12
+07
+96
+d2
+01
+7f
+1e
+12
+07
+96
+90
+4c
+e2
+e0
+70
+03
+74
+04
+f0
+90
+4d
+d5
+e0
+70
+2d
+90
+4d
+d6
+e0
+64
+01
+70
+25
+f0
+90
+4d
+e6
+e0
+60
+0d
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+12
+09
+02
+80
+11
+90
+48
+00
+e0
+60
+0b
+7b
+01
+7a
+48
+79
+00
+7d
+09
+12
+09
+02
+90
+4d
+de
+e0
+60
+03
+e0
+14
+f0
+22
+90
+4c
+d3
+74
+05
+f0
+e4
+a3
+f0
+90
+4c
+90
+74
+33
+f0
+e4
+ff
+ef
+25
+e0
+24
+d6
+f5
+82
+e4
+34
+4c
+f5
+83
+74
+66
+f0
+a3
+f0
+0f
+ef
+b4
+04
+ea
+90
+4c
+91
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+94
+e0
+9f
+fd
+90
+4c
+93
+e0
+9e
+fc
+e4
+12
+02
+06
+7b
+1f
+7a
+85
+79
+eb
+78
+3e
+12
+00
+fb
+c0
+04
+c0
+05
+c0
+06
+c0
+07
+90
+4c
+91
+e0
+fc
+a3
+e0
+fd
+e4
+12
+02
+06
+d0
+03
+d0
+02
+d0
+01
+d0
+00
+12
+00
+0a
+12
+02
+3f
+90
+4c
+de
+ee
+f0
+a3
+ef
+f0
+90
+4c
+91
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+94
+e0
+9f
+fd
+90
+4c
+93
+e0
+9e
+fc
+e4
+12
+02
+06
+7b
+ec
+7a
+51
+79
+b8
+78
+3e
+12
+00
+fb
+c0
+04
+c0
+05
+c0
+06
+c0
+07
+90
+4c
+91
+e0
+fc
+a3
+e0
+fd
+e4
+12
+02
+06
+d0
+03
+d0
+02
+d0
+01
+d0
+00
+12
+00
+0a
+12
+02
+3f
+90
+4c
+e0
+ee
+f0
+a3
+ef
+f0
+22
+90
+4e
+59
+12
+05
+33
+00
+00
+00
+00
+90
+4c
+95
+e0
+fe
+a3
+e0
+ff
+90
+4c
+d4
+e0
+fd
+04
+f0
+ed
+25
+e0
+24
+d6
+f5
+82
+e4
+34
+4c
+f5
+83
+ee
+f0
+a3
+ef
+f0
+90
+4c
+d4
+e0
+c3
+94
+04
+40
+02
+e4
+f0
+e4
+90
+4e
+58
+f0
+90
+4e
+59
+e0
+f8
+a3
+e0
+f9
+a3
+e0
+fa
+a3
+e0
+fb
+90
+4e
+58
+e0
+25
+e0
+24
+d6
+f5
+82
+e4
+34
+4c
+f5
+83
+e0
+fe
+a3
+e0
+ff
+e4
+fc
+fd
+eb
+2f
+ff
+ea
+3e
+fe
+ed
+39
+fd
+ec
+38
+fc
+90
+4e
+59
+12
+05
+27
+90
+4e
+58
+e0
+04
+f0
+e0
+b4
+04
+bf
+90
+4e
+59
+e0
+fc
+a3
+e0
+fd
+a3
+e0
+fe
+a3
+e0
+ff
+e4
+7b
+04
+fa
+f9
+f8
+12
+04
+76
+90
+4e
+59
+12
+05
+27
+90
+4c
+e0
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+d7
+e0
+9f
+90
+4c
+d6
+e0
+9e
+50
+49
+90
+4c
+d5
+74
+02
+f0
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+12
+0e
+10
+90
+4c
+fa
+e0
+64
+01
+70
+02
+61
+28
+74
+01
+f0
+c2
+01
+7f
+1f
+12
+07
+96
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+12
+14
+c9
+d2
+01
+7f
+1f
+02
+07
+96
+90
+4c
+de
+e0
+fe
+a3
+e0
+ff
+e4
+fc
+fd
+90
+4e
+59
+e0
+f8
+a3
+e0
+f9
+a3
+e0
+fa
+a3
+e0
+fb
+c3
+12
+05
+16
+50
+0e
+90
+4c
+d5
+74
+01
+f0
+90
+4d
+3f
+74
+12
+f0
+80
+0b
+e4
+90
+4c
+d5
+f0
+90
+4d
+3f
+74
+5d
+f0
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+12
+0e
+10
+90
+4c
+fa
+e0
+b4
+01
+12
+e4
+f0
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+71
+29
+22
+90
+4e
+40
+ee
+f0
+a3
+ef
+f0
+90
+4e
+44
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+42
+ec
+f0
+a3
+ed
+f0
+a3
+e0
+f9
+a3
+e0
+fa
+a3
+e0
+90
+4e
+2d
+c9
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+a3
+ec
+f0
+a3
+ed
+f0
+7b
+01
+7a
+0b
+79
+86
+71
+c9
+90
+0b
+83
+74
+a0
+f0
+90
+4e
+40
+e0
+ff
+a3
+e0
+90
+0b
+84
+cf
+f0
+a3
+ef
+f0
+90
+4e
+43
+e0
+24
+03
+fd
+90
+4e
+42
+e0
+34
+00
+fc
+ed
+fa
+ec
+ff
+ea
+fe
+ef
+90
+80
+98
+ee
+f0
+a3
+ef
+f0
+7a
+0b
+79
+83
+7e
+0b
+7f
+83
+74
+83
+fc
+74
+0b
+ff
+ec
+fe
+ef
+a3
+ee
+f0
+a3
+ef
+f0
+90
+80
+9e
+e4
+f0
+a3
+f0
+90
+80
+90
+04
+f0
+90
+80
+06
+e0
+44
+04
+f0
+90
+81
+2c
+e0
+30
+e5
+f9
+22
+90
+4e
+2a
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+30
+74
+ff
+f5
+f0
+12
+04
+24
+45
+f0
+60
+2a
+90
+4e
+2d
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+12
+03
+b6
+ff
+90
+4e
+2a
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+ef
+12
+03
+fc
+80
+c8
+22
+90
+4e
+91
+ee
+f0
+a3
+ef
+f0
+a9
+05
+90
+4b
+9e
+e0
+fe
+a3
+e0
+ff
+ad
+01
+19
+ed
+60
+2f
+0f
+ef
+ac
+06
+70
+01
+0e
+14
+f5
+82
+8c
+83
+e0
+fd
+90
+4e
+91
+e4
+75
+f0
+01
+12
+04
+24
+85
+f0
+82
+f5
+83
+ed
+f0
+ad
+07
+ac
+06
+bc
+4b
+d4
+bd
+9a
+d1
+7e
+4b
+7f
+36
+80
+cb
+90
+4b
+9e
+ee
+f0
+a3
+ef
+f0
+22
+7a
+0c
+79
+4b
+90
+4e
+7f
+74
+01
+f0
+a3
+74
+0c
+f0
+a3
+74
+4b
+f0
+90
+4b
+a0
+e0
+fe
+a3
+e0
+ff
+90
+4b
+9e
+e0
+6e
+70
+03
+a3
+e0
+6f
+60
+46
+7e
+0c
+7f
+4b
+7d
+03
+91
+0d
+90
+4e
+7f
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+b4
+02
+2b
+90
+4e
+80
+e4
+75
+f0
+02
+12
+04
+0e
+90
+4e
+7f
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+ff
+90
+4e
+01
+e0
+a3
+e0
+fa
+a3
+e0
+f5
+82
+8a
+83
+12
+05
+68
+80
+02
+80
+fe
+90
+4b
+a5
+e0
+fe
+a3
+e0
+ff
+90
+4c
+5e
+e0
+6e
+70
+03
+a3
+e0
+6f
+60
+22
+90
+4e
+07
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+4a
+60
+37
+12
+05
+64
+90
+4b
+a5
+e0
+ff
+a3
+e0
+90
+4c
+5e
+cf
+f0
+a3
+ef
+f0
+80
+ca
+90
+4c
+8d
+e0
+ff
+a3
+e0
+6f
+60
+19
+90
+4e
+0a
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+4a
+60
+0b
+12
+05
+64
+90
+4c
+8d
+e0
+a3
+f0
+80
+dd
+22
+90
+4e
+98
+ed
+f0
+e0
+fd
+90
+0b
+e8
+f0
+7e
+0b
+7f
+e9
+90
+4e
+52
+ed
+f0
+12
+0d
+cd
+7b
+01
+7a
+0b
+79
+e7
+90
+4e
+98
+e0
+24
+02
+fd
+02
+07
+d6
+90
+0b
+e7
+74
+06
+f0
+80
+d1
+90
+04
+46
+e0
+ff
+22
+90
+4b
+9c
+e0
+fe
+a3
+e0
+ff
+90
+4b
+9a
+e0
+b5
+06
+07
+a3
+e0
+b5
+07
+02
+d3
+22
+c3
+22
+90
+82
+80
+74
+01
+f0
+22
+90
+4e
+85
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+ed
+1d
+ae
+04
+70
+01
+1c
+4e
+60
+17
+90
+4e
+85
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+74
+ff
+12
+03
+fc
+80
+df
+22
+ef
+f4
+60
+3a
+ef
+54
+07
+fe
+ef
+13
+13
+13
+54
+03
+ff
+24
+a3
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+fd
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+f4
+fc
+5d
+d0
+82
+d0
+83
+f0
+74
+a7
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+e0
+5c
+f0
+22
+e4
+ff
+ef
+fd
+7c
+00
+24
+78
+fb
+ec
+34
+80
+8b
+82
+f5
+83
+e0
+fe
+ed
+24
+70
+fd
+ec
+34
+80
+8d
+82
+f5
+83
+e0
+4e
+f4
+fe
+ef
+24
+7c
+fd
+ec
+34
+80
+8d
+82
+f5
+83
+ee
+f0
+0f
+ef
+b4
+04
+cf
+22
+23
+25
+aa
+55
+01
+00
+16
+00
+27
+aa
+55
+09
+00
+a2
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+02
+00
+dc
+07
+00
+00
+aa
+55
+0a
+00
+37
+0d
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+40
+00
+00
+40
+29
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+35
+00
+00
+00
+4f
+02
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+c0
+00
+00
+00
+00
+00
+00
+00
+00
+80
+a0
+00
+00
+00
+00
+00
+00
+00
+20
+01
+00
+00
+00
+00
+00
+aa
+55
+02
+00
+31
+41
+01
+43
+aa
+55
+0e
+00
+38
+41
+ff
+ff
+8f
+f8
+83
+9d
+59
+82
+36
+08
+c2
+08
+66
+22
+aa
+55
+1b
+00
+4a
+41
+40
+25
+00
+12
+00
+00
+02
+12
+00
+00
+02
+00
+00
+20
+00
+00
+20
+20
+00
+02
+24
+80
+03
+00
+06
+70
+4f
+aa
+55
+05
+00
+6e
+41
+80
+00
+00
+00
+01
+aa
+55
+03
+00
+f5
+41
+10
+00
+0a
+aa
+55
+0b
+00
+13
+42
+40
+03
+00
+00
+00
+00
+00
+0a
+0b
+ef
+0f
+aa
+55
+05
+00
+80
+42
+0e
+00
+01
+00
+01
+aa
+55
+02
+00
+9b
+42
+30
+3f
+aa
+55
+01
+00
+aa
+42
+20
+aa
+55
+1c
+00
+d9
+43
+1f
+02
+01
+05
+03
+19
+c1
+03
+03
+03
+12
+18
+0f
+09
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+11
+00
+f9
+43
+1f
+0f
+09
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+0f
+00
+19
+44
+0e
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+01
+00
+c2
+44
+14
+aa
+55
+01
+00
+dd
+44
+01
+aa
+55
+01
+00
+e4
+44
+07
+aa
+55
+06
+00
+f9
+44
+11
+46
+34
+54
+77
+dd
+aa
+55
+dd
+01
+04
+45
+01
+00
+00
+28
+02
+01
+18
+02
+00
+03
+28
+01
+20
+03
+00
+05
+2a
+01
+00
+04
+00
+02
+29
+02
+00
+00
+05
+00
+00
+28
+02
+00
+18
+06
+00
+03
+28
+01
+02
+07
+00
+00
+2a
+0e
+42
+54
+34
+2e
+32
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+08
+00
+03
+28
+01
+02
+09
+00
+01
+2a
+02
+c1
+03
+0a
+00
+03
+28
+01
+02
+0b
+00
+04
+2a
+08
+06
+00
+06
+00
+64
+00
+2c
+01
+0c
+00
+00
+28
+02
+0a
+18
+0d
+00
+03
+28
+01
+02
+0e
+00
+50
+2a
+07
+02
+e8
+04
+21
+70
+01
+00
+0f
+00
+00
+28
+02
+12
+18
+10
+00
+03
+28
+01
+06
+11
+00
+4e
+2a
+01
+01
+12
+00
+03
+28
+01
+12
+13
+00
+4d
+2a
+08
+00
+00
+00
+00
+00
+00
+00
+00
+14
+00
+02
+29
+02
+00
+00
+15
+00
+08
+29
+02
+01
+01
+16
+00
+03
+28
+01
+12
+17
+00
+4d
+2a
+02
+00
+00
+18
+00
+02
+29
+02
+00
+00
+19
+00
+08
+29
+02
+02
+01
+1a
+00
+03
+28
+01
+12
+1b
+00
+4d
+2a
+05
+00
+00
+00
+00
+00
+1c
+00
+02
+29
+02
+00
+00
+1d
+00
+08
+29
+02
+03
+01
+1e
+00
+03
+28
+01
+0e
+1f
+00
+4d
+2a
+02
+00
+00
+20
+00
+02
+29
+02
+00
+00
+21
+00
+08
+29
+02
+01
+02
+22
+00
+03
+28
+01
+0a
+23
+00
+4b
+2a
+a0
+05
+01
+09
+06
+a1
+01
+85
+01
+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
+02
+19
+00
+2a
+ff
+03
+15
+00
+26
+ff
+03
+95
+01
+75
+10
+81
+00
+c0
+05
+01
+09
+02
+a1
+01
+85
+03
+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
+80
+26
+ff
+7f
+75
+10
+95
+02
+81
+06
+09
+38
+15
+81
+25
+7f
+75
+08
+95
+01
+81
+06
+05
+0c
+0a
+38
+02
+95
+01
+81
+06
+c0
+c0
+24
+00
+03
+28
+01
+02
+25
+00
+4a
+2a
+04
+11
+01
+00
+01
+26
+00
+03
+28
+01
+04
+27
+00
+4c
+2a
+01
+00
+28
+00
+00
+28
+02
+0f
+18
+29
+00
+03
+28
+01
+12
+2a
+00
+19
+2a
+01
+64
+2b
+00
+02
+29
+02
+00
+00
+00
+00
+aa
+55
+01
+00
+f9
+46
+50
+aa
+55
+0f
+00
+02
+47
+0e
+42
+54
+33
+2e
+30
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+aa
+55
+01
+00
+47
+47
+0a
+aa
+55
+10
+00
+59
+47
+11
+48
+06
+03
+11
+00
+00
+01
+02
+10
+24
+11
+00
+12
+01
+00
+aa
+55
+02
+00
+f6
+47
+01
+ff
+aa
+55
+01
+00
+fd
+47
+ff
+aa
+55
+8a
+02
+11
+48
+04
+00
+11
+01
+00
+10
+02
+11
+24
+00
+01
+00
+00
+36
+01
+b6
+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
+3d
+42
+72
+6f
+61
+64
+63
+6f
+6d
+20
+42
+6c
+75
+65
+74
+6f
+6f
+74
+68
+20
+57
+69
+72
+65
+6c
+65
+73
+73
+20
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+20
+09
+01
+01
+25
+08
+4b
+65
+79
+62
+6f
+61
+72
+64
+09
+01
+02
+25
+10
+42
+72
+6f
+61
+64
+63
+6f
+6d
+20
+43
+6f
+72
+70
+2e
+20
+20
+09
+02
+00
+09
+01
+00
+09
+02
+01
+09
+01
+11
+09
+02
+02
+08
+40
+09
+02
+03
+08
+21
+09
+02
+04
+28
+01
+09
+02
+05
+28
+01
+09
+02
+06
+35
+a5
+35
+a3
+08
+22
+25
+9f
+05
+01
+09
+06
+a1
+01
+85
+01
+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
+25
+ff
+05
+07
+19
+00
+29
+ff
+81
+00
+c0
+05
+0c
+09
+01
+a1
+01
+85
+02
+19
+00
+2a
+ff
+03
+15
+00
+26
+ff
+03
+95
+01
+75
+10
+81
+00
+c0
+05
+01
+09
+02
+a1
+01
+85
+03
+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
+80
+26
+ff
+7f
+75
+10
+95
+02
+81
+06
+09
+38
+15
+81
+25
+7f
+75
+08
+95
+01
+81
+06
+05
+0c
+0a
+38
+02
+95
+01
+81
+06
+c0
+c0
+09
+02
+07
+35
+08
+35
+06
+09
+04
+09
+09
+01
+00
+09
+02
+0b
+09
+01
+00
+09
+02
+0c
+09
+0c
+80
+09
+02
+0d
+28
+00
+09
+02
+0e
+28
+01
+09
+02
+0f
+09
+03
+18
+09
+02
+10
+09
+00
+00
+03
+10
+02
+12
+00
+00
+01
+00
+01
+00
+01
+36
+00
+a1
+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
+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
+2f
+42
+72
+6f
+61
+64
+63
+6f
+6d
+20
+42
+6c
+75
+65
+74
+6f
+6f
+74
+68
+20
+57
+69
+72
+65
+6c
+65
+73
+73
+20
+4b
+65
+79
+62
+6f
+61
+72
+64
+20
+50
+6e
+50
+20
+53
+65
+72
+76
+65
+72
+09
+01
+01
+25
+08
+4b
+65
+79
+62
+6f
+61
+72
+64
+09
+02
+00
+09
+01
+03
+09
+02
+01
+09
+04
+e8
+09
+02
+02
+09
+70
+21
+09
+02
+03
+09
+00
+01
+09
+02
+04
+28
+01
+09
+02
+05
+09
+00
+02
+00
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+aa
+55
+02
+00
+a2
+4b
+02
+01
+aa
+55
+04
+00
+e2
+4b
+02
+00
+c0
+12
+aa
+55
+15
+00
+eb
+4b
+20
+15
+10
+05
+ff
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+03
+00
+0f
+4c
+40
+00
+01
+aa
+55
+01
+00
+60
+4c
+50
+aa
+55
+12
+00
+6a
+4c
+17
+00
+0c
+00
+05
+00
+12
+b4
+08
+00
+10
+00
+10
+00
+00
+00
+2c
+01
+aa
+55
+0b
+00
+8f
+4c
+04
+00
+9f
+3e
+cd
+4d
+00
+00
+00
+00
+13
+aa
+55
+06
+00
+b8
+4c
+13
+00
+17
+00
+1b
+00
+aa
+55
+08
+00
+3d
+4d
+00
+48
+5d
+00
+00
+00
+00
+00
+aa
+55
+07
+00
+50
+4d
+20
+00
+00
+20
+20
+08
+21
+aa
+55
+7f
+00
+70
+4f
+07
+ff
+0a
+fb
+0b
+ff
+1a
+fb
+1b
+fb
+1c
+fb
+1d
+f6
+1e
+f2
+1f
+ee
+20
+ea
+21
+e6
+22
+e2
+23
+de
+24
+da
+25
+d6
+26
+d2
+27
+ce
+28
+ca
+29
+c6
+2a
+c2
+2b
+bd
+2c
+b9
+2d
+b5
+2e
+b1
+2f
+ad
+30
+a9
+31
+80
+32
+80
+33
+80
+34
+c0
+35
+c1
+36
+c2
+37
+c3
+38
+c4
+39
+c5
+3a
+c6
+3b
+c7
+3c
+06
+3d
+07
+3e
+46
+3f
+85
+40
+86
+41
+87
+42
+c6
+43
+c7
+44
+d6
+45
+d7
+46
+e6
+47
+f5
+48
+00
+49
+f8
+4a
+7f
+4e
+ec
+4f
+5e
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+68
+e4
+69
+00
+6a
+00
+6b
+30
+ff
+c7
+21
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+fa
+24
Index: KG9013/c51/output/fw.hex
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/fw.hex	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/fw.hex	(working copy)
@@ -0,0 +1,611 @@
+:1000000002056A0202ABE86480F8E933E833601164
+:100010000460F0ED33EC337009E8FCE9FDEAFEEB37
+:10002000FF220460DED3EB9FEA9EE99DE8C2E78CE5
+:10003000F0C2F795F0400CE8CCF8E9CDF9EACEFA39
+:10004000EBCFFB12027685D0F05804700320D5B3B5
+:10005000E80470075002B2D50202B592D5EC0460F4
+:10006000F7E4CCC0E0C398F8603B94186008400DFA
+:10007000D0E0FB02028DE4FBFAC9FC8028E830E402
+:1000800006E4C9FBE4CAFCE830E305E4C9CACBFCDA
+:10009000E854076010F8C3E913F9EA13FAEB13FB0D
+:1000A000EC13FCD8F130F52FC3E49CFCEF9BFFEE82
+:1000B0009AFEED99FDD0E0FBEF4E4D4C701222DB25
+:1000C000030202B2EC2CFCEF33FFEE33FEED33FD06
+:1000D000ED30E7EB02028DEF2BFFEE3AFEED39FD3E
+:1000E000D0E0FB50130BBB00030202B5ED13FDEE95
+:1000F00013FEEF13FFEC13FC02028DEC4D6011E8D0
+:10010000497017ED33EC3304600DE4FCFFFEFD2273
+:10011000E933E8330470F80202AB12027658046047
+:1001200009E4CC248150062850090202B528400376
+:100130000202B2C0E0EB4A7044B98006D0E0FB0294
+:1001400002A1EF4E701CBD8008EBFFEAFEE9FD80C6
+:10015000EBE98DF0A4FEE5F00201E4E9CDF9EAFE59
+:10016000EBFFEF89F0A4FCE5F0CE89F0A42EFFE4CC
+:1001700035F0CD89F0A42DFEE435F08067EF4E70A8
+:1001800005BD80D780C3EF8BF0A4ACF0EE8BF0A45C
+:100190002CFCE435F0F8EF8AF0A42CE5F038FCE410
+:1001A00033CB8DF0A42CFCE5F03BF8EE8AF0A42CC8
+:1001B000FCE5F038F8E433CF89F0A42CFCE5F03806
+:1001C000CF3400CE89F0A42FFFE5F03EFEE433C922
+:1001D0008DF0A42EFEE5F039CD8AF0A42FFFE5F0D6
+:1001E0003EFEE43DFD33D0E0FB50070BBB000F02A9
+:1001F00002B5EC2CFCEF33FFEE33FEED33FD0202D3
+:100200008D75F020800E75F010800575F0087D006A
+:100210007E007F003392D530D503120508EC3340C1
+:1002200010EF33FFEE33FEED33FDEC33FCD5F0ED94
+:1002300022E5F0247EA2D513CC92E7CDCEFF22EDAD
+:10024000D2E7CD33EC3392D524814006E4FFFEFDA6
+:10025000FC22FCE4CFCECDCC24E0501174FF80ED25
+:10026000C3CC13CCCD13CDCE13CECF13CF0470F0AF
+:1002700030D5DE020508E9D2E7C933E833F892D574
+:10028000EDD2E7CD33EC33FC5002B2D522EC30E7AF
+:10029000100FBF000C0EBE00080DBD00040BEB607C
+:1002A00014A2D5EB13FCED92E7FD2274FFFCFDFEDA
+:1002B000FF22E480F8A2D574FF13FC7D80E480EF78
+:1002C000E709F608DFFA8046E709F208DFFA803E20
+:1002D00088828C83E709F0A3DFFA8032E309F6080D
+:1002E000DFFA8078E309F208DFFA807088828C8375
+:1002F000E309F0A3DFFA806489828A83E0A3F60829
+:10030000DFFA805889828A83E0A3F208DFFA804C02
+:1003100080D280FA80C680D4806980F280338010D9
+:1003200080A680EA809A80A880DA80E280CA803342
+:1003300089828A83ECFAE493A3C8C582C8CCC583BA
+:10034000CCF0A3C8C582C8CCC583CCDFE9DEE7808A
+:100350000D89828A83E493A3F608DFF9ECFAA9F009
+:10036000EDFB2289828A83ECFAE0A3C8C582C8CC5F
+:10037000C583CCF0A3C8C582C8CCC583CCDFEADE78
+:10038000E880DB89828A83E493A3F208DFF980CCDA
+:1003900088F0EF60010E4E60C388F0ED2402B404D3
+:1003A0000050B9F582EB2402B4040050AF2323457A
+:1003B000822390031073BB010689828A83E0225056
+:1003C00002E722BBFE02E32289828A83E49322BBF6
+:1003D000010CE58229F582E5833AF583E022500697
+:1003E000E92582F8E622BBFE06E92582F8E222E54D
+:1003F0008229F582E5833AF583E49322BB010689DD
+:10040000828A83F0225002F722BBFE01F322C5F05C
+:10041000F8A3E028F0C5F0F8E58215827002158394
+:10042000E038F022A3F8E0C5F025F0F0E58215826F
+:1004300070021583E0C838F0E82275F00875820074
+:10044000EF2FFFEE33FECD33CDCC33CCC58233C599
+:10045000829BED9AEC99E58298400CF582EE9BFE2A
+:10046000ED9AFDEC99FC0FD5F0D6E4CEFBE4CDFA85
+:10047000E4CCF9A88222B800C1B90059BA002DEC29
+:100480008BF084CFCECDFCE5F0CBF97818EF2FFFC1
+:10049000EE33FEED33FDEC33FCEB33FB10D7039969
+:1004A0004004EB99FB0FD8E5E4F9FA227818EF2F16
+:1004B000FFEE33FEED33FDEC33FCC933C910D70535
+:1004C0009BE99A4007EC9BFCE99AF90FD8E0E4C954
+:1004D000FAE4CCFB2275F010EF2FFFEE33FEED3384
+:1004E000FDCC33CCC833C810D7079BEC9AE89940B1
+:1004F0000AED9BFDEC9AFCE899F80FD5F0DAE4CD13
+:10050000FBE4CCFAE4C8F922C3E49FFFE49EFEE4D6
+:100510009DFDE49CFC22EB9FF5F0EA9E42F0E99DF4
+:1005200042F0E89C45F022ECF0A3EDF0A3EEF0A33E
+:10053000EFF022A8828583F0D083D08212054A1280
+:10054000054A12054A12054AE473E493A3C583C51C
+:10055000F0C583C8C582C8F0A3C583C5F0C583C8EC
+:10056000C582C8228A838982E473787FE4F6D8FD45
+:100570007581CF0205B10217B1E493A3F8E493A308
+:100580004003F68001F208DFF48029E493A3F854D5
+:1005900007240CC8C333C4540F4420C8834004F458
+:1005A00056800146F6DFE4800B010204081020406B
+:1005B000809005F6E47E019360BCA3FF543F30E5D4
+:1005C00009541FFEE493A360010ECF54C025E060E0
+:1005D000A840B8E493A3FAE493A3F8E493A3C8C5AE
+:1005E00082C8CAC583CAF0A3C8C582C8CAC583CA9F
+:1005F000DFE9DEE780BE524DEFFF0EC0000000FFD6
+:100600001765FF2029000000FF1FD6001908090AFE
+:100610000B0C0D0E171A181411100F151B160000D5
+:100620000047000000E400E03E142B04291D8B3538
+:100630001E1A3916641B8A3A1F083C073D06883B80
+:10064000201517090A19052221181C0D0B1011235A
+:10065000240C300E3F36872E2512400F003765419F
+:1006600026132F333432382D274600AFE200E60040
+:1006700048892A3144284542435F5C592C53514CE8
+:1006800000605D5A62544F4900615E5B6355564B92
+:100690004E57855852F7504A4D00E1E5FCF7F6F801
+:1006A000F1FAE3D1D3D2D4F8D591D0E7F9F3F9D662
+:1006B00090000000000000000000000000000001A9
+:1006C0000100904CC5E0B403037F01227F0022901B
+:1006D0004DE2E064026002E195904CE9E06002E1E5
+:1006E00095904CEEE06002E195904CD5E0B40204A8
+:1006F000F1A88028904CD5E0B40114904CF7E0703C
+:100700001B904CE27404F0904CF77401F0800D9053
+:100710004CF7E0B40106E4F0904CE2F0D3904CE4E6
+:10072000E09428904CE3E094004008904CD5E064BD
+:10073000016008904CD5E06401605A904CE5E0708F
+:1007400054D1C2EF603D904CB7E030E008C2017F69
+:100750001CF1968006D2017F1CF196904CB7E030D8
+:10076000E108C2017F1DF1968006D2017F1DF1963E
+:10077000904CB7E030E206C2017F1E8019D2017FA3
+:100780001E8013D2017F1CF196D2017F1DF196D2FB
+:10079000017F1EF19622EFF4600D7B017A8079745F
+:1007A000A201920012126722E4904D38F07F199056
+:1007B0004E72EFF078737C4E7D017BFF7A0679BF35
+:1007C0007E007F037190904E72E0904E75F07B0139
+:1007D0007A4E79737D03904E47EBF0A3EAF0A3E9DC
+:1007E000F0A3EDF0904B9CE0FFA3E0904E4BCFF0D8
+:1007F000A3EFF0904B9AE0FEA3E0FF904B9CE0FC4F
+:10080000A3E0FD7B64116A904E4AE0FEEFC39E4078
+:10081000E2904E4AE0FF14F0EF603F904E47E0FB5D
+:10082000A3E475F001120424A9F0FA1203B6FF90B4
+:100830004E4BE475F00112042485F082F583EFF04D
+:10084000904E4BE0FEA3E0FFBE4BC6BF36C3904EBA
+:100850004B744AF0A374A0F080B7904E4BE0FFA316
+:10086000E0904B9CCFF0A3EFF022904E6EEEF0A301
+:10087000EFF0904E70ECF0A3EDF0904E70E0FEA320
+:10088000E0FFD3904E6FE09F904E6EE09E4016903A
+:100890004E70E0FEA3E0FF904E6FE09FFF904E6E23
+:1008A000E09EFE801E904E6EE0FEA3E0FFC3904EE1
+:1008B00071E09FFF904E70E09EFEAD03C3EB9FFF83
+:1008C000E49EFE22E4FF904CEEE0600122904CFAA0
+:1008D000E0B4010122904CC5E06403601D904CEF30
+:1008E000E0701E740AF0A3E07017904DE2E0B402CD
+:1008F000107F091216897F018007E4904CEBF07F8E
+:100900000122904E62EBF0A3EAF0A3E9F0A3EDF030
+:1009100011C4EF6077904CEBE07071904CC5E064CF
+:10092000037069904E62E0FBA3E0FAA3E0F91203C2
+:10093000B6FF6401702E9000011203CF701E90006C
+:10094000031203CF70169000041203CF700E9000B4
+:10095000051203CF7006904DD6F08028904DD674C6
+:1009600001F08020EFB4021C9000011203CF700E42
+:100970009000021203CF7006904DD6F08006904D85
+:10098000D67401F0904E65E0FD12254A22904E5338
+:10099000EBF0A3EAF0A3E9F0E4A3F0A3F0904DDBC1
+:1009A000F0904E57F0904E57E0FFC39405502C90B6
+:1009B0004E53E0FBA3E0FAA3E02401F9E43AFA7E07
+:1009C00000E92FF9EE3AFA1203B6B4AF06904DDB08
+:1009D0007401F0904E57E004F080CA904DDBE09037
+:1009E0004DE1F0904E53E0A3E0FAA3E04A700261BB
+:1009F000F6904DDE740AF0E4904CE3F0A3F07B0136
+:100A00007A4879007D09FC71F77B017A4D79E67DA2
+:100A1000097C0071F7904E53E0FBA3E0FAA3E0F9E4
+:100A20009000011203CFFFB40E0A9000021203CF10
+:100A30006429600FEF642970369000021203CF64BE
+:100A40000E702C904BEB7420F0A37415F0A374106F
+:100A5000F0A37405F0904CC5E064016009904CCEA1
+:100A6000E04410F08010904CCEE054EFF0800790FE
+:100A70004CCEE054EFF0904CB67401F0904CF4E0A2
+:100A8000FF6401700261F6EF6404700261F6EF64C6
+:100A900002700261F6904CC5E064037045904E57B9
+:100AA000F0904E57E0FFC394055037904E53E0FB53
+:100AB000A3E0FAA3E02401F9E43AFA7E00E92FF971
+:100AC000EE3AFA1203B6FF64396009EF645360042A
+:100AD000EFB44706904D477401F0904E57E004F094
+:100AE00080BF904E53E0FBA3E0FAA3E0F912181C7C
+:100AF000904DE5E0B401117402F0904DE6F07B01F9
+:100B00007A4D79E67D032102904DE5E0B40413743B
+:100B100002F0904DE67406F07B017A4D79E67D0394
+:100B20002102904DE5E064037025F0904DE4F090D3
+:100B30004DE0E0600AE4F0904DE67406F080069027
+:100B40004DE67402F07B017A4D79E67D0321029037
+:100B500048007401F0904E53E0FBA3E0FAA3E0F9E3
+:100B60001203B6904801F0904D47E0904802F0E43F
+:100B7000904DD8F09000011203CFB4AF1E7E487F95
+:100B800003904E53E0FBA3E0FAA3E02402F9E43A19
+:100B9000FA904E527405F0B1CD801C7E487F0390D0
+:100BA0004E53E0FBA3E0FAA3E02401F9E43AFA9003
+:100BB0004E527406F0B1CD904E577403F0904E57DC
+:100BC000E0FFC39409502574002FF582E43448F502
+:100BD00083E0B4AF0F904E57E02400F582E4344830
+:100BE000F583E4F0904E57E004F080D17B017A4821
+:100BF00079007D09310222904E82EBF0A3EAF0A346
+:100C0000E9F0ED1DAE0470011C4E6016904E82E0BE
+:100C1000FBA3E475F001120424A9F0FAE41203FC2A
+:100C200080E0227B017A4C79BF7D457C0071F77BA7
+:100C3000017A4D79937D147C0071F77B017A4D79AF
+:100C4000A87D147C0071F77B017A4D79BC7D147C02
+:100C50000071F77B017A4879007D097C0071F77B90
+:100C6000017A4D79E67D097C0071F7E4904DDEF064
+:100C7000904DE3F0904DE2F0904DD6F0904DD0F0D5
+:100C8000904DDCF0904DE5F0904DD5F0904DD8F0C2
+:100C9000904DDBF0904DE1F0904DD3F0904DDFF0B2
+:100CA000904DE4F0904DD9F0904D38F022904E8B5D
+:100CB000EFF0A3EDF07B017A4879007D097C0071AB
+:100CC000F79048007401F0A3E0FF904E8BE0FEEF38
+:100CD0004E904801F0904E8CE0904803F07B017AF2
+:100CE0004879007D092102904CF4E0FF600864031C
+:100CF0006004EFB405028065904CF4E0B4010EA3EB
+:100D0000E0FFE4FD91AD904CF47402F022904CF4BD
+:100D1000E0B4020B7403F0A3E0FFA3E0FD808E902B
+:100D20004CF4E0B4041AE4904CF6F0904CF5E0FF7B
+:100D3000E4FD91ADE4904CF5F0904CF47405F02294
+:100D4000904CF4E0B40615E4904CF6F0904CF5F0BD
+:100D5000A3E0FDE4FF91ADE4904CF4F022904E76D8
+:100D6000E4F0A3F0A3F01225585025121AD7904EA4
+:100D700076EBF0A3EAF0A3E9F04A7007904CB604D2
+:100D8000F0800E904E76E0FBA3E0FAA3E0F9318DFF
+:100D900022904D47E06035904DD6E0702F904CC5C5
+:100DA000E0B403287B017A4879007D097C0071F763
+:100DB000E4904DE5F090480004F0904D47E09048F5
+:100DC00002F07B017A4879007D09310222904E4D74
+:100DD000EEF0A3EFF0A3EBF0A3EAF0A3E9F0904E5E
+:100DE00052E0FF14F0EF6027904E4FE0FBA3E47554
+:100DF000F001120424A9F0FA1203B6FF904E4DE45C
+:100E000075F00112042485F082F583EFF080CF2283
+:100E1000904E5DECF0A3EDF0A3EBF0A3EAF0A3E9B4
+:100E2000F09080987404F0A3E4F0900CAF74A0F0FC
+:100E3000A3EEF0A3EFF0900CB274A1F07A0C79AFAE
+:100E40007E0C7FAF74AFFC740CFFECFEEF90809AC9
+:100E5000EEF0A3EFF0904E5DE0FCA3E0FAECFFEAC9
+:100E6000FEEF90809EEEF0A3EFF07A0B79837E0B7D
+:100E70007F837483FC740BFFECFEEF90809CEEF09C
+:100E8000A3EFF09080907402F090809CA3E020E7A4
+:100E900007908090E04401F0908006E04404F01256
+:100EA00023C1904E5FE0A3E0FAA3E0AE02FF7B0116
+:100EB0007A0B7983904E5DE0A3E0904E52F0A1CD85
+:100EC000904E97EFF024D16066147002E1601470C8
+:100ED00002E162147002E1AC24F67002E1622409BE
+:100EE0006002E1DA7F0A12146F904CFAE0F97A009E
+:100EF0007B007D017C007FF97E3FD110904CFAE0B1
+:100F0000B4012CE4904131F0904C95E07002A3E0E4
+:100F100060F69041317401F0904CE0E0FEA3E0FFF8
+:100F2000C3904C96E09F904C95E09E5002E1DA12FF
+:100F3000124F121FAD7B017A4C79007D047C007F3B
+:100F4000F27E3FD1107F0A12146F904CC1E0F97A03
+:100F5000007B007D017C007FF87E3FD1100217B33B
+:100F6000807F904CC57403F0E4A3F0F1DBE4904C77
+:100F7000EEF0904CEBF0904CC074FEF0904CC3F04F
+:100F8000904E97E064317052904CE5740AF0904BAB
+:100F9000EBE0B40F10A3E0B40F0BA3E0B40F06A373
+:100FA000E0640F6035904CBF7401F022E4904CC5B2
+:100FB000F0A3F0904CE3F0A3F0904CEB04F0904CD5
+:100FC000EDE0600AF1DB904CEDE0FF021689904CF9
+:100FD000ECE0B40105E4F01207A822E4904CF0F034
+:100FE00022908080E4F0A3F0A3F01217C9E4904EA1
+:100FF00095F0F0904E95E090060C93FF600CC205C2
+:10100000110B904E95E004F080E922AC07ECF460FF
+:1010100017AF04A20592035156AF04A205B3920282
+:101020001129AF04C204512822EFF4600C7B017A2D
+:10103000807978A2029200516722AC07ECF4601527
+:10104000AF04D2045128AF04A2069201120796AF52
+:1010500004C202112922D2067F1C113AD2067F1D3A
+:10106000113AD2067F1E113AE4FF904E7CEFF070E9
+:10107000085139D2067F1380C1904E7CE0FFB40145
+:1010800009A3E4F0A37414F0801BEFB4020B904E9C
+:101090007DE4F0A37442F0800CEFB403085139C230
+:1010A000067F13809551C8904E7DE0A3E0FFC37486
+:1010B000649F9080A0F09080A2EFF0908085E04443
+:1010C00040F022904E8DEFF0E4A3F0EDF0904DDB78
+:1010D000E06401600221E6ED24AF606714603B2408
+:1010E00018B40C00400221E69010F675F003A4C578
+:1010F0008325F0C58373021160021168021170022A
+:10110000117802118A0211920211A40211B6021181
+:10111000BE0211D00211D80211E0904E8DE030E0F5
+:101120001B904CF9E0C394035005E004F080069056
+:101130004CF97403F0904CF9E0FF116AE4904E8E84
+:10114000F021E6904E8DE030E00F904CF9E0600227
+:1011500014F0904CF9E0FF116AE4904E8EF021E615
+:10116000904E8E74DEF0807E904E8E74D6F0807637
+:10117000904E8E74D0F0806E904E8DE0FF7B0B7D94
+:10118000085103E4904E8EF0805C904E8E74FBF01C
+:101190008054904E8DE0FF7B2B7D085103E4904EF0
+:1011A0008EF08042904E8DE0FF7B0C7D085103E471
+:1011B000904E8EF08030904E8E74D5F08028904EF8
+:1011C0008DE0FF7B047D085103E4904E8EF0801685
+:1011D000904E8E74F2F0800E904E8E74F4F0800675
+:1011E000904E8E74F5F0904E8EE0B4FC10904E8DC3
+:1011F000E0FF7B0F7D085103E4904E8EF0904E8E01
+:10120000E0FF22904CF5EDF0A3EBF0EF30E0129010
+:101210004CF4E0B403047402F022904CF47401F036
+:1012200022904CF47404F022EFF4600C7B017A807D
+:101230007970A2049200516722908051E04420F01E
+:10124000908082E054EFF0908085E054BFF022124D
+:101250000FE151C80156EFF4600C7B017A80797C74
+:10126000A2039200516722904E88EBF0A3EAF0A30C
+:10127000E9F0E4FEFDEF5407FEEF1313135403FDF2
+:10128000300022904E88E0FBA3E0FAA3E02DF9E4C1
+:101290003AFA1203B6FF7401A806088002C333D8D5
+:1012A000FC4F0203FC904E88E0FBA3E0FAA3E02D84
+:1012B000F9E43AFA1203B6FF7401A806088002C3E3
+:1012C00033D8FCF45F0203FC908042E0F090805140
+:1012D000E054DFF0908082E04410F022B1771224D5
+:1012E0005D120CE791871206CF900B7EE014600C24
+:1012F00024FE70EA712C1156916480FE904CEAE055
+:10130000701D904CECE07017904CE5E07011904C23
+:10131000F8E0700BA3E0FF64016004EFB40204F195
+:10132000BD80BB712C916480B580B322E4FF904EE8
+:1013300096F0FEFDEF90060C936049EF93FD1313BA
+:1013400013541FFEED5407FD7401A805088002C365
+:1013500033D8FCFDEE2478FBE434808B82F583E007
+:10136000FCEDF4FBEC5BF0EE2470F582E43480F5E8
+:1013700083E04DF0EE2474F582E43480F583E05B85
+:10138000F00F80B01225E390811CE0904E96F09013
+:101390004DD5E06020E4FF71C57F0171C57F02710A
+:1013A000C57F0371C57F0471C57F0571C57F067157
+:1013B000C57F078010904E96E0FF9000A3F0EFF4F9
+:1013C0009000A7F022904E9AEFF0B18A9208904ECA
+:1013D0009AE0FFA208B39207EFF470028163EF5422
+:1013E00007FEEF1313135403FF30074324A3F582C2
+:1013F000E43400F583C083C082E0FD7401A80608D0
+:101400008002C333D8FCF45DD082D083F074A72F60
+:10141000F582E43400F583C083C082E0FF7401A844
+:1014200006088002C333D8FC4FD082D083F02274E8
+:10143000A32FF582E43400F583C083C082E0FD74FD
+:1014400001A806088002C333D8FCFC4DD082D083AB
+:10145000F074A72FF582E43400F583E0FFECF4FE8E
+:10146000EF5EF022E4900B7FF0900B7EF07F01EFB7
+:10147000D394004011E4FDFC0DBD00010CBC04F848
+:10148000BDA6F51F80E922904CBFE0603B7FC8916C
+:101490006FC2017F1F1207967B017A4C79007D0491
+:1014A0007C007FF27E3F91C97B017A4C79C17D013E
+:1014B0007C007FF87E3F91C9D2017F1F1207967F83
+:1014C0000A916FE4904CBFF022904E21EEF0A3EF12
+:1014D000F0A3ECF0A3EDF0A3EBF0A3EAF0A3E9F0A6
+:1014E000904E23E07002A3E07002A176904E21E0BE
+:1014F000FEA3E0FF440F2401FDE43EFCC3ED9FFF8B
+:10150000EC9EFE904E28F0A3EFF0904E23E0FCA35B
+:10151000E0FDD39FEC9E400A904E28E0FEA3E0FF42
+:101520008004AE04AF05904E28EEF0FCA3EFF0FD72
+:10153000C3904E24E09DF0904E23E09CF0904E210D
+:10154000E0FEA3E0FF904E25E0FBA3E0FAA3E0F964
+:101550001223297F0A916F904E28E0FEA3E0FF90AE
+:101560004E26EE8FF012040E904E22E02FF0904E99
+:1015700021E03EF081E0227B017A4D79EF78017C19
+:101580004E7D017E007F120203907B017A81791CDF
+:10159000AD07E4904E99F0FEEF5407F0EF131313EC
+:1015A0005403FEF5827583001203CFFD3395E0FCF2
+:1015B000904E99E0FF74017E00A807088005C333B0
+:1015C000CE33CED8F9FFEE5CFEEF5D4E24FF2290C5
+:1015D0004E9BEFF07B017A807974B1909209904E26
+:1015E0009BE0FFA209B39201020796904DE2E0B49E
+:1015F0000212904CEEE0600C7F1CB1CF7F1DB1CF8A
+:101600007F1EB1CF22904CCEE030E13E904CD0E036
+:10161000C394FA5003E004F0904CD0E064B4702F0F
+:10162000904DDCE004F0E0D394025007E4904CD0FD
+:10163000F0801C904DDCE0B40315904DD57401F0A2
+:10164000E4904CD0F01207A88005E4904DDCF090B7
+:101650004CCEE030E42D904CEA740AF0904CD1E08E
+:10166000C394FA5003E004F0904CD1E0B406199012
+:101670004CC3E0FF6003B4FE0FF14D7F0A916F7F12
+:101680000A8006E4904CD1F022904E93EFF024F7BC
+:10169000600914606324026002E147E4904CF0F0BA
+:1016A000F14DEF6009904E93E0904CEDF0227B01FC
+:1016B0007A4C79007D047C007FF27E3F120E107F11
+:1016C0000A916F904C00E0B4FF1BA3E0B4FF16A397
+:1016D000E0B4FF11A3E0B4FF0C904C00740FF0A332
+:1016E000F0A3F0A3F07F211207AF904CC57402F075
+:1016F000E4A3F0904CEDF022E4904CF0F0F14DEFCB
+:101700006009904E93E0904CEDF022904CC5E0645F
+:1017100001602E7F231207AF904CC57401F0E4A343
+:10172000F0904CEE743CF0E4904CE9F0D2017F1C58
+:10173000120796D2017F1D120796D2017F1E120753
+:1017400096E4904CEDF022E4904CEDF022904CC5E4
+:10175000E0FF64036004EFB402087F221207AF7F4A
+:1017600001227F0022B1EB904CE4E004F07006907F
+:101770004CE3E004F0F19F121FE6D105904CEEE03F
+:10178000601CE4904CE3F0A3F0904CEEE014F0E029
+:10179000700C7F221207AF7F0A916F1207A8229068
+:1017A0004CD3E0600B14F0E070067405F01221CD0C
+:1017B0002241DC904DE27402F07F08C189900B7FDA
+:1017C0007401F0E4900B7EF022E4904E94F0F090DF
+:1017D0004E94E0FFC39408500CC205110B904E9438
+:1017E000E004F080EA22AD07AC06904DE5E064022B
+:1017F000600E7401F0904DE604F0EFA3F0EEA3F05C
+:1018000022904DE5E0640260127404F0904DE074A3
+:1018100001F0904DE67406F0A3EFF022904E66EBD7
+:10182000F0A3EAF0A3E9F0E4A3F0F0904E69E0FF42
+:10183000C39406400241C8904E66E0FBA3E0FAA3C1
+:10184000E02401F9E43AFA7E00E92FF9EE3AFA12BF
+:1018500003B6FF54F064F06009EF54D064D0600226
+:1018600041C01203B6FBB4F1097F837E011217E673
+:101870004195EBB4F2097FCD7E001217E6419590B9
+:101880004E66E0FBA3E0FAA3E02401F9E43AFAA3F0
+:10189000E07E0029F9EE3AFA1203B6FBB4F3077FB3
+:1018A000B71217E64195EBB4F4097FB67E00121724
+:1018B000E64195904E66E0FBA3E0FAA3E02401F92F
+:1018C000E43AFAA3E07E0029F9EE3AFA1203B6FBF5
+:1018D000B4F5077FB51217E64195EBB4F6097FEA38
+:1018E0007E001217E64195904E66E0FBA3E0FAA356
+:1018F000E02401F9E43AFAA3E07E0029F9EE3AFA8D
+:101900001203B6FBB4F7077FE91217E64195EBB473
+:10191000F8097FE27E001217E64195904E66E0FBE3
+:10192000A3E0FAA3E02401F9E43AFAA3E07E002957
+:10193000F9EE3AFA1203B6FBB4F9087F940E1217C7
+:10194000E64195EBB4FA097F8A7E011217E64195CC
+:10195000904E66E0FBA3E0FAA3E02401F9E43AFA32
+:10196000A3E07E0029F9EE3AFA1203B6FBB4FB08B5
+:101970007F920E1217E64195EBB4D0097F2A7E02C2
+:101980001217E64195904E66E0FBA3E0FAA3E0242F
+:1019900001F9E43AFAA3E07E0029F9EE3AFA1203DB
+:1019A000B6FBB4D1097F257E021217E64195EBB450
+:1019B000D3097F267E021217E64195904E66E0FB22
+:1019C000A3E0FAA3E02401F9E43AFAA3E07E0029B7
+:1019D000F9EE3AFA1203B6FBB4D2097F247E021262
+:1019E00017E64195EBB4D4097F277E021217E64132
+:1019F00095904E66E0FBA3E0FAA3E02401F9E43AF7
+:101A0000FAA3E07E0029F9EE3AFA1203B6FBB4D548
+:101A1000097F217E021217E6807BEBB4D6097F2373
+:101A20007E021217E6806E904E66E0FBA3E0FAA3FA
+:101A3000E02401F9E43AFAA3E07E0029F9EE3AFA4B
+:101A40001203B6FBB4D7077F701217E68047EBB4DA
+:101A5000D8097F6F7E001217E6803A904E66E0FB51
+:101A6000A3E0FAA3E02401F9E43AFAA3E07E002916
+:101A7000F9EE3AFA1203B6FEB4DD067F01110180D9
+:101A800014EEB4DE067F021101800A1203B6B4DF41
+:101A9000047F041101904DE5E0B40224904E66E00D
+:101AA000FBA3E0FAA3E02401F9E43AFAA3E07E0004
+:101AB00029F9EE3AFA1203B6904DE4F0E41203FC71
+:101AC000904E69E004F0012B22E4FEEF6006145F03
+:101AD000FF0E80F7AF0622E4904E13F0A3F0A3F0C0
+:101AE000A3F0A3F0A3F0A3F0A3F0A3F0A3F0A3F05E
+:101AF000A3F0A3F0A3F0D14D7A4D79A8904E3C7499
+:101B000001F0A3744DF0A374A8F0A37414F07B014A
+:101B10007A4D79BCB104EF60167B017A4D79BC7DBA
+:101B20001491D4EF7009904CCEE04402F0800C90F8
+:101B30004CCEE054FDF0E4904CD0F0E4904E13F025
+:101B4000904E13E0FF90060C93602F74BC2FF5822B
+:101B5000E4344DF583E0904E15F0E0FD6014904EB6
+:101B600019E004F0A3E0FEED4EF0AF0551C9A3E08B
+:101B70002FF0904E13E004F080C6904E1BE0904E84
+:101B800020F0904E19E0904E1FF0904E1AE0FF5159
+:101B9000C9904E1EEFF0904E20E0FFD39402401DFE
+:101BA000904E1EE0FEA3E0FDD39E4004AE058000F3
+:101BB000EFD39E4008904E1D7401F08005E4904ED6
+:101BC0001DF0E4904E13F0904E13E0FF90060C933E
+:101BD000700281A874932FF582E4344DF583E0FE02
+:101BE00074BC2FF582E4344DF583E06E904E15F011
+:101BF000904E13E0FF24BCF582E4344DF583E09071
+:101C00004E18F0904E15E0700481A081A0904E1DFA
+:101C1000E060077B007A0079002274BC2FF582E433
+:101C2000344DF583E0FE74932FF582E4344DF58353
+:101C3000EEF0E4904E14F0904E14E0FFC394085080
+:101C400059A3E030E03C904E13E0FE33333354F8B8
+:101C5000FEEF4E904E17F0A3E0FF904E17E0900677
+:101C60002193FD1210C3904E1CEFF0904E18E030FF
+:101C7000E009904E1CE0FFB14E8007904E1CE0FF43
+:101C8000B1A4904E15E0FFC313F0904E18E0FFC3CF
+:101C900013F0904E14E004F0809D904E167401F005
+:101CA000904E13E004F061C7904DE5E0B4030A9054
+:101CB0004DD8E0B401037402F0904E16E070079026
+:101CC0004DD8E0B402077B017A4E7932227B007A4C
+:101CD00000790022904E79EBF0A3EAF0A3E9F0E45A
+:101CE000FFEFC39D501B904E79E0FBA3E0FAA3E009
+:101CF000F98F827583001203CF60037F00220F806B
+:101D0000E07F0122904E39EBF0A3EAF0A3E9F0E482
+:101D1000FF904E3FE0FEEFC39E5030904E3CE0FB04
+:101D2000A3E0FAA3E0F98F827583001203CFFE903F
+:101D30004E39E0FBA3E0FAA3E0F98F82758300122D
+:101D400003CF6E60037F00220F80C67F0122E4FE76
+:101D5000EFC394E04020EFD394E7501A904E32E066
+:101D6000FEEF5407FF7401A807088002C333D8FCB4
+:101D70004E904E32F022E4FE74332EF582E4344E5F
+:101D8000F583E0FD6F601CED7014904DE4E06F6032
+:101D90001274332EF582E4344EF583EFF0220EEE0A
+:101DA000B406D522E4FEFDEF54F064F06007EF5472
+:101DB000D0FCBCD00C904DE5E0B4020B7403F08075
+:101DC00006904DD87401F0EFC394E04020EFD39417
+:101DD000E7501A904E32E0FEEF5407FF74FEA8075A
+:101DE000088002C333D8FC5E904E32F022E4FEED50
+:101DF000702174332EF582E4344EF583E06F704722
+:101E0000EEB4050B2433F582E4344EF583E4F07D23
+:101E100001803474332EF582E4344EF583E0FC7493
+:101E2000322EF582E4344EF583ECF074332EF582D5
+:101E3000E4344EF583E06014EEB4050B2433F582F0
+:101E4000E4344EF583E4F00EEEB406A322E4FF90F2
+:101E50004E6AF0FEFDA3F0A3F0A3F0EF90060C9302
+:101E6000607CEF93FD131313541FFEED5407FD74B4
+:101E700001A805088002C333D8FCFDEE2478FBE4FA
+:101E800034808B82F583E0FCEDF4FBEC5BF0EE2418
+:101E900070F582E43480F583E04DF0EE2474F58231
+:101EA000E43480F583E05BF090811CE0F4FC74BCCA
+:101EB0002FF582E4344DF583ECF0EE2478FBE43426
+:101EC000808B82F583E04DF0EE2470FBE434808B50
+:101ED00082F583E0FCEDF4FBEC5BF00FC15BE4FF0B
+:101EE000EF90060C93607CEF93FD131313541FFEC9
+:101EF000ED5407FD7401A805088002C333D8FCFD2A
+:101F0000EE2478FBE434808B82F583E0FCEDF4FB77
+:101F1000EC5BF0EE2470F582E43480F583E04DF064
+:101F2000EE2474F582E43480F583E05BF090811C4C
+:101F3000E0F4FC74A82FF582E4344DF583ECF0EE68
+:101F40002478FBE434808B82F583E04DF0EE24703E
+:101F5000FBE434808B82F583E0FCEDF4FBEC5BF07A
+:101F60000FC1E0E4FFEF90060C93604074BC2FF5C6
+:101F700082E4344DF583E0FE74A82FF582E4344DFD
+:101F8000F583E06E602374BC2FF582E4344DF58355
+:101F9000C083C082E0FE74A82FF582E4344DF5833F
+:101FA000E0FDEE5DD082D083F00F80B922120C23C9
+:101FB000122109904CEB7401F0904CE5740AF0E4A6
+:101FC000904CF0F0904D0374FFF02290801074015B
+:101FD000F080FE2280F5904E8FEDF090000112030C
+:101FE000CF904E90F022904CC5E0B40311904CE39A
+:101FF000E064027004A3E06458702D0207A8904CBE
+:10200000C5E0B40114904CE3E07004A3E0643C70BC
+:10201000177F221207AF0207A8904CE3E07004A3D9
+:10202000E0641470031207A822904CEAE0600214E6
+:10203000F0904CEFE0600214F0904CE5E060341456
+:10204000F0C2017F1C120796C2017F1D120796C2C3
+:10205000017F1E120796904CE5E07070D2017F1C44
+:10206000120796D2017F1D120796D2017F1E12071A
+:10207000968059904CEEE07053904CE2E0604D1425
+:10208000F0D3904CE4E09428904CE3E0940050337B
+:10209000904CE2E030E117C2017F1C120796C201AA
+:1020A0007F1D120796C2017F1E1207968015D2016E
+:1020B0007F1C120796D2017F1D120796D2017F1E48
+:1020C000120796904CE2E070037404F0904DD5E056
+:1020D000702D904DD6E064017025F0904DE6E060E3
+:1020E0000D7B017A4D79E67D03120902801190483B
+:1020F00000E0600B7B017A4879007D0912090290AB
+:102100004DDEE06003E014F022904CD37405F0E45F
+:10211000A3F0904C907433F0E4FFEF25E024D6F563
+:1021200082E4344CF5837466F0A3F00FEFB404EA54
+:10213000904C91E0FEA3E0FFC3904C94E09FFD9093
+:102140004C93E09EFCE41202067B1F7A8579EB78C3
+:102150003E1200FBC004C005C006C007904C91E0D1
+:10216000FCA3E0FDE4120206D003D002D001D000AF
+:1021700012000A12023F904CDEEEF0A3EFF0904CFA
+:1021800091E0FEA3E0FFC3904C94E09FFD904C9340
+:10219000E09EFCE41202067BEC7A5179B8783E129C
+:1021A00000FBC004C005C006C007904C91E0FCA332
+:1021B000E0FDE4120206D003D002D001D0001200EC
+:1021C0000A12023F904CE0EEF0A3EFF022904E593D
+:1021D00012053300000000904C95E0FEA3E0FF9054
+:1021E0004CD4E0FD04F0ED25E024D6F582E4344C37
+:1021F000F583EEF0A3EFF0904CD4E0C394044002DA
+:10220000E4F0E4904E58F0904E59E0F8A3E0F9A3C2
+:10221000E0FAA3E0FB904E58E025E024D6F582E4F6
+:10222000344CF583E0FEA3E0FFE4FCFDEB2FFFEA76
+:102230003EFEED39FDEC38FC904E59120527904ECC
+:1022400058E004F0E0B404BF904E59E0FCA3E0FD78
+:10225000A3E0FEA3E0FFE47B04FAF9F81204769011
+:102260004E59120527904CE0E0FEA3E0FFC3904CCE
+:10227000D7E09F904CD6E09E5049904CD57402F028
+:10228000904CFAE0F97A007B007D017C007FF97EBA
+:102290003F120E10904CFAE0640170026128740144
+:1022A000F0C2017F1F120796904CFAE0F97A007B8A
+:1022B000007D017C007FF97E3F1214C9D2017F1F8F
+:1022C000020796904CDEE0FEA3E0FFE4FCFD904E9A
+:1022D00059E0F8A3E0F9A3E0FAA3E0FBC312051666
+:1022E000500E904CD57401F0904D3F7412F0800B5D
+:1022F000E4904CD5F0904D3F745DF0904CFAE0F9CD
+:102300007A007B007D017C007FF97E3F120E1090E9
+:102310004CFAE0B40112E4F0E0F97A007B007D01B0
+:102320007C007FF97E3F712922904E40EEF0A3EFB2
+:10233000F0904E44EBF0A3EAF0A3E9F0904E42ECAB
+:10234000F0A3EDF0A3E0F9A3E0FAA3E0904E2DC9CD
+:10235000F0A3EAF0A3E9F0A3ECF0A3EDF07B017A9F
+:102360000B798671C9900B8374A0F0904E40E0FF0A
+:10237000A3E0900B84CFF0A3EFF0904E43E0240352
+:10238000FD904E42E03400FCEDFAECFFEAFEEF90E7
+:102390008098EEF0A3EFF07A0B79837E0B7F837445
+:1023A00083FC740BFFECFEEFA3EEF0A3EFF0908044
+:1023B0009EE4F0A3F090809004F0908006E0440446
+:1023C000F090812CE030E5F922904E2AEBF0A3EA60
+:1023D000F0A3E9F0904E3074FFF5F012042445F0BC
+:1023E000602A904E2DE0FBA3E475F001120424A9AD
+:1023F000F0FA1203B6FF904E2AE0FBA3E475F00159
+:10240000120424A9F0FAEF1203FC80C822904E9126
+:10241000EEF0A3EFF0A905904B9EE0FEA3E0FFAD28
+:102420000119ED602F0FEFAC0670010E14F5828CD0
+:1024300083E0FD904E91E475F00112042485F08252
+:10244000F583EDF0AD07AC06BC4BD4BD9AD17E4B05
+:102450007F3680CB904B9EEEF0A3EFF0227A0C7982
+:102460004B904E7F7401F0A3740CF0A3744BF0906A
+:102470004BA0E0FEA3E0FF904B9EE06E7003A3E054
+:102480006F60467E0C7F4B7D03910D904E7FE0FB8D
+:10249000A3E0FAA3E0F91203B6B4022B904E80E455
+:1024A00075F00212040E904E7FE0FBA3E0FAA3E069
+:1024B000F91203B6FF904E01E0A3E0FAA3E0F58223
+:1024C0008A83120568800280FE904BA5E0FEA3E09F
+:1024D000FF904C5EE06E7003A3E06F6022904E07A9
+:1024E000E0FBA3E0FAA3E0F94A6037120564904BE1
+:1024F000A5E0FFA3E0904C5ECFF0A3EFF080CA9080
+:102500004C8DE0FFA3E06F6019904E0AE0FBA3E062
+:10251000FAA3E0F94A600B120564904C8DE0A3F039
+:1025200080DD22904E98EDF0E0FD900BE8F07E0B00
+:102530007FE9904E52EDF0120DCD7B017A0B79E7D9
+:10254000904E98E02402FD0207D6900BE77406F047
+:1025500080D1900446E0FF22904B9CE0FEA3E0FF78
+:10256000904B9AE0B50607A3E0B50702D322C32239
+:102570009082807401F022904E85EBF0A3EAF0A3E4
+:10258000E9F0ED1DAE0470011C4E6017904E85E021
+:10259000FBA3E475F001120424A9F0FA74FF1203FE
+:1025A000FC80DF22EFF4603AEF5407FEEF131313C1
+:1025B0005403FF24A3F582E43400F583C083C08272
+:1025C000E0FD7401A806088002C333D8FCF4FC5D6A
+:1025D000D082D083F074A72FF582E43400F583E035
+:1025E0005CF022E4FFEFFD7C002478FBEC34808B70
+:1025F00082F583E0FEED2470FDEC34808D82F5835E
+:10260000E04EF4FEEF247CFDEC34808D82F583EE09
+:07261000F00FEFB404CF222C
+:00000001FF
Index: KG9013/c51/output/fwram.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/fwram.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/fwram.rom	(working copy)
@@ -0,0 +1,9751 @@
+02
+05
+6a
+02
+02
+ab
+e8
+64
+80
+f8
+e9
+33
+e8
+33
+60
+11
+04
+60
+f0
+ed
+33
+ec
+33
+70
+09
+e8
+fc
+e9
+fd
+ea
+fe
+eb
+ff
+22
+04
+60
+de
+d3
+eb
+9f
+ea
+9e
+e9
+9d
+e8
+c2
+e7
+8c
+f0
+c2
+f7
+95
+f0
+40
+0c
+e8
+cc
+f8
+e9
+cd
+f9
+ea
+ce
+fa
+eb
+cf
+fb
+12
+02
+76
+85
+d0
+f0
+58
+04
+70
+03
+20
+d5
+b3
+e8
+04
+70
+07
+50
+02
+b2
+d5
+02
+02
+b5
+92
+d5
+ec
+04
+60
+f7
+e4
+cc
+c0
+e0
+c3
+98
+f8
+60
+3b
+94
+18
+60
+08
+40
+0d
+d0
+e0
+fb
+02
+02
+8d
+e4
+fb
+fa
+c9
+fc
+80
+28
+e8
+30
+e4
+06
+e4
+c9
+fb
+e4
+ca
+fc
+e8
+30
+e3
+05
+e4
+c9
+ca
+cb
+fc
+e8
+54
+07
+60
+10
+f8
+c3
+e9
+13
+f9
+ea
+13
+fa
+eb
+13
+fb
+ec
+13
+fc
+d8
+f1
+30
+f5
+2f
+c3
+e4
+9c
+fc
+ef
+9b
+ff
+ee
+9a
+fe
+ed
+99
+fd
+d0
+e0
+fb
+ef
+4e
+4d
+4c
+70
+12
+22
+db
+03
+02
+02
+b2
+ec
+2c
+fc
+ef
+33
+ff
+ee
+33
+fe
+ed
+33
+fd
+ed
+30
+e7
+eb
+02
+02
+8d
+ef
+2b
+ff
+ee
+3a
+fe
+ed
+39
+fd
+d0
+e0
+fb
+50
+13
+0b
+bb
+00
+03
+02
+02
+b5
+ed
+13
+fd
+ee
+13
+fe
+ef
+13
+ff
+ec
+13
+fc
+02
+02
+8d
+ec
+4d
+60
+11
+e8
+49
+70
+17
+ed
+33
+ec
+33
+04
+60
+0d
+e4
+fc
+ff
+fe
+fd
+22
+e9
+33
+e8
+33
+04
+70
+f8
+02
+02
+ab
+12
+02
+76
+58
+04
+60
+09
+e4
+cc
+24
+81
+50
+06
+28
+50
+09
+02
+02
+b5
+28
+40
+03
+02
+02
+b2
+c0
+e0
+eb
+4a
+70
+44
+b9
+80
+06
+d0
+e0
+fb
+02
+02
+a1
+ef
+4e
+70
+1c
+bd
+80
+08
+eb
+ff
+ea
+fe
+e9
+fd
+80
+eb
+e9
+8d
+f0
+a4
+fe
+e5
+f0
+02
+01
+e4
+e9
+cd
+f9
+ea
+fe
+eb
+ff
+ef
+89
+f0
+a4
+fc
+e5
+f0
+ce
+89
+f0
+a4
+2e
+ff
+e4
+35
+f0
+cd
+89
+f0
+a4
+2d
+fe
+e4
+35
+f0
+80
+67
+ef
+4e
+70
+05
+bd
+80
+d7
+80
+c3
+ef
+8b
+f0
+a4
+ac
+f0
+ee
+8b
+f0
+a4
+2c
+fc
+e4
+35
+f0
+f8
+ef
+8a
+f0
+a4
+2c
+e5
+f0
+38
+fc
+e4
+33
+cb
+8d
+f0
+a4
+2c
+fc
+e5
+f0
+3b
+f8
+ee
+8a
+f0
+a4
+2c
+fc
+e5
+f0
+38
+f8
+e4
+33
+cf
+89
+f0
+a4
+2c
+fc
+e5
+f0
+38
+cf
+34
+00
+ce
+89
+f0
+a4
+2f
+ff
+e5
+f0
+3e
+fe
+e4
+33
+c9
+8d
+f0
+a4
+2e
+fe
+e5
+f0
+39
+cd
+8a
+f0
+a4
+2f
+ff
+e5
+f0
+3e
+fe
+e4
+3d
+fd
+33
+d0
+e0
+fb
+50
+07
+0b
+bb
+00
+0f
+02
+02
+b5
+ec
+2c
+fc
+ef
+33
+ff
+ee
+33
+fe
+ed
+33
+fd
+02
+02
+8d
+75
+f0
+20
+80
+0e
+75
+f0
+10
+80
+05
+75
+f0
+08
+7d
+00
+7e
+00
+7f
+00
+33
+92
+d5
+30
+d5
+03
+12
+05
+08
+ec
+33
+40
+10
+ef
+33
+ff
+ee
+33
+fe
+ed
+33
+fd
+ec
+33
+fc
+d5
+f0
+ed
+22
+e5
+f0
+24
+7e
+a2
+d5
+13
+cc
+92
+e7
+cd
+ce
+ff
+22
+ed
+d2
+e7
+cd
+33
+ec
+33
+92
+d5
+24
+81
+40
+06
+e4
+ff
+fe
+fd
+fc
+22
+fc
+e4
+cf
+ce
+cd
+cc
+24
+e0
+50
+11
+74
+ff
+80
+ed
+c3
+cc
+13
+cc
+cd
+13
+cd
+ce
+13
+ce
+cf
+13
+cf
+04
+70
+f0
+30
+d5
+de
+02
+05
+08
+e9
+d2
+e7
+c9
+33
+e8
+33
+f8
+92
+d5
+ed
+d2
+e7
+cd
+33
+ec
+33
+fc
+50
+02
+b2
+d5
+22
+ec
+30
+e7
+10
+0f
+bf
+00
+0c
+0e
+be
+00
+08
+0d
+bd
+00
+04
+0b
+eb
+60
+14
+a2
+d5
+eb
+13
+fc
+ed
+92
+e7
+fd
+22
+74
+ff
+fc
+fd
+fe
+ff
+22
+e4
+80
+f8
+a2
+d5
+74
+ff
+13
+fc
+7d
+80
+e4
+80
+ef
+e7
+09
+f6
+08
+df
+fa
+80
+46
+e7
+09
+f2
+08
+df
+fa
+80
+3e
+88
+82
+8c
+83
+e7
+09
+f0
+a3
+df
+fa
+80
+32
+e3
+09
+f6
+08
+df
+fa
+80
+78
+e3
+09
+f2
+08
+df
+fa
+80
+70
+88
+82
+8c
+83
+e3
+09
+f0
+a3
+df
+fa
+80
+64
+89
+82
+8a
+83
+e0
+a3
+f6
+08
+df
+fa
+80
+58
+89
+82
+8a
+83
+e0
+a3
+f2
+08
+df
+fa
+80
+4c
+80
+d2
+80
+fa
+80
+c6
+80
+d4
+80
+69
+80
+f2
+80
+33
+80
+10
+80
+a6
+80
+ea
+80
+9a
+80
+a8
+80
+da
+80
+e2
+80
+ca
+80
+33
+89
+82
+8a
+83
+ec
+fa
+e4
+93
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+f0
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+df
+e9
+de
+e7
+80
+0d
+89
+82
+8a
+83
+e4
+93
+a3
+f6
+08
+df
+f9
+ec
+fa
+a9
+f0
+ed
+fb
+22
+89
+82
+8a
+83
+ec
+fa
+e0
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+f0
+a3
+c8
+c5
+82
+c8
+cc
+c5
+83
+cc
+df
+ea
+de
+e8
+80
+db
+89
+82
+8a
+83
+e4
+93
+a3
+f2
+08
+df
+f9
+80
+cc
+88
+f0
+ef
+60
+01
+0e
+4e
+60
+c3
+88
+f0
+ed
+24
+02
+b4
+04
+00
+50
+b9
+f5
+82
+eb
+24
+02
+b4
+04
+00
+50
+af
+23
+23
+45
+82
+23
+90
+03
+10
+73
+bb
+01
+06
+89
+82
+8a
+83
+e0
+22
+50
+02
+e7
+22
+bb
+fe
+02
+e3
+22
+89
+82
+8a
+83
+e4
+93
+22
+bb
+01
+0c
+e5
+82
+29
+f5
+82
+e5
+83
+3a
+f5
+83
+e0
+22
+50
+06
+e9
+25
+82
+f8
+e6
+22
+bb
+fe
+06
+e9
+25
+82
+f8
+e2
+22
+e5
+82
+29
+f5
+82
+e5
+83
+3a
+f5
+83
+e4
+93
+22
+bb
+01
+06
+89
+82
+8a
+83
+f0
+22
+50
+02
+f7
+22
+bb
+fe
+01
+f3
+22
+c5
+f0
+f8
+a3
+e0
+28
+f0
+c5
+f0
+f8
+e5
+82
+15
+82
+70
+02
+15
+83
+e0
+38
+f0
+22
+a3
+f8
+e0
+c5
+f0
+25
+f0
+f0
+e5
+82
+15
+82
+70
+02
+15
+83
+e0
+c8
+38
+f0
+e8
+22
+75
+f0
+08
+75
+82
+00
+ef
+2f
+ff
+ee
+33
+fe
+cd
+33
+cd
+cc
+33
+cc
+c5
+82
+33
+c5
+82
+9b
+ed
+9a
+ec
+99
+e5
+82
+98
+40
+0c
+f5
+82
+ee
+9b
+fe
+ed
+9a
+fd
+ec
+99
+fc
+0f
+d5
+f0
+d6
+e4
+ce
+fb
+e4
+cd
+fa
+e4
+cc
+f9
+a8
+82
+22
+b8
+00
+c1
+b9
+00
+59
+ba
+00
+2d
+ec
+8b
+f0
+84
+cf
+ce
+cd
+fc
+e5
+f0
+cb
+f9
+78
+18
+ef
+2f
+ff
+ee
+33
+fe
+ed
+33
+fd
+ec
+33
+fc
+eb
+33
+fb
+10
+d7
+03
+99
+40
+04
+eb
+99
+fb
+0f
+d8
+e5
+e4
+f9
+fa
+22
+78
+18
+ef
+2f
+ff
+ee
+33
+fe
+ed
+33
+fd
+ec
+33
+fc
+c9
+33
+c9
+10
+d7
+05
+9b
+e9
+9a
+40
+07
+ec
+9b
+fc
+e9
+9a
+f9
+0f
+d8
+e0
+e4
+c9
+fa
+e4
+cc
+fb
+22
+75
+f0
+10
+ef
+2f
+ff
+ee
+33
+fe
+ed
+33
+fd
+cc
+33
+cc
+c8
+33
+c8
+10
+d7
+07
+9b
+ec
+9a
+e8
+99
+40
+0a
+ed
+9b
+fd
+ec
+9a
+fc
+e8
+99
+f8
+0f
+d5
+f0
+da
+e4
+cd
+fb
+e4
+cc
+fa
+e4
+c8
+f9
+22
+c3
+e4
+9f
+ff
+e4
+9e
+fe
+e4
+9d
+fd
+e4
+9c
+fc
+22
+eb
+9f
+f5
+f0
+ea
+9e
+42
+f0
+e9
+9d
+42
+f0
+e8
+9c
+45
+f0
+22
+ec
+f0
+a3
+ed
+f0
+a3
+ee
+f0
+a3
+ef
+f0
+22
+a8
+82
+85
+83
+f0
+d0
+83
+d0
+82
+12
+05
+4a
+12
+05
+4a
+12
+05
+4a
+12
+05
+4a
+e4
+73
+e4
+93
+a3
+c5
+83
+c5
+f0
+c5
+83
+c8
+c5
+82
+c8
+f0
+a3
+c5
+83
+c5
+f0
+c5
+83
+c8
+c5
+82
+c8
+22
+8a
+83
+89
+82
+e4
+73
+78
+7f
+e4
+f6
+d8
+fd
+75
+81
+cf
+02
+05
+b1
+02
+17
+b1
+e4
+93
+a3
+f8
+e4
+93
+a3
+40
+03
+f6
+80
+01
+f2
+08
+df
+f4
+80
+29
+e4
+93
+a3
+f8
+54
+07
+24
+0c
+c8
+c3
+33
+c4
+54
+0f
+44
+20
+c8
+83
+40
+04
+f4
+56
+80
+01
+46
+f6
+df
+e4
+80
+0b
+01
+02
+04
+08
+10
+20
+40
+80
+90
+05
+f6
+e4
+7e
+01
+93
+60
+bc
+a3
+ff
+54
+3f
+30
+e5
+09
+54
+1f
+fe
+e4
+93
+a3
+60
+01
+0e
+cf
+54
+c0
+25
+e0
+60
+a8
+40
+b8
+e4
+93
+a3
+fa
+e4
+93
+a3
+f8
+e4
+93
+a3
+c8
+c5
+82
+c8
+ca
+c5
+83
+ca
+f0
+a3
+c8
+c5
+82
+c8
+ca
+c5
+83
+ca
+df
+e9
+de
+e7
+80
+be
+52
+4d
+ef
+ff
+0e
+c0
+00
+00
+00
+ff
+17
+65
+ff
+20
+29
+00
+00
+00
+ff
+1f
+d6
+00
+19
+08
+09
+0a
+0b
+0c
+0d
+0e
+17
+1a
+18
+14
+11
+10
+0f
+15
+1b
+16
+00
+00
+00
+47
+00
+00
+00
+e4
+00
+e0
+3e
+14
+2b
+04
+29
+1d
+8b
+35
+1e
+1a
+39
+16
+64
+1b
+8a
+3a
+1f
+08
+3c
+07
+3d
+06
+88
+3b
+20
+15
+17
+09
+0a
+19
+05
+22
+21
+18
+1c
+0d
+0b
+10
+11
+23
+24
+0c
+30
+0e
+3f
+36
+87
+2e
+25
+12
+40
+0f
+00
+37
+65
+41
+26
+13
+2f
+33
+34
+32
+38
+2d
+27
+46
+00
+af
+e2
+00
+e6
+00
+48
+89
+2a
+31
+44
+28
+45
+42
+43
+5f
+5c
+59
+2c
+53
+51
+4c
+00
+60
+5d
+5a
+62
+54
+4f
+49
+00
+61
+5e
+5b
+63
+55
+56
+4b
+4e
+57
+85
+58
+52
+f7
+50
+4a
+4d
+00
+e1
+e5
+fc
+f7
+f6
+f8
+f1
+fa
+e3
+d1
+d3
+d2
+d4
+f8
+d5
+91
+d0
+e7
+f9
+f3
+f9
+d6
+90
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+01
+01
+00
+90
+4c
+c5
+e0
+b4
+03
+03
+7f
+01
+22
+7f
+00
+22
+90
+4d
+e2
+e0
+64
+02
+60
+02
+e1
+95
+90
+4c
+e9
+e0
+60
+02
+e1
+95
+90
+4c
+ee
+e0
+60
+02
+e1
+95
+90
+4c
+d5
+e0
+b4
+02
+04
+f1
+a8
+80
+28
+90
+4c
+d5
+e0
+b4
+01
+14
+90
+4c
+f7
+e0
+70
+1b
+90
+4c
+e2
+74
+04
+f0
+90
+4c
+f7
+74
+01
+f0
+80
+0d
+90
+4c
+f7
+e0
+b4
+01
+06
+e4
+f0
+90
+4c
+e2
+f0
+d3
+90
+4c
+e4
+e0
+94
+28
+90
+4c
+e3
+e0
+94
+00
+40
+08
+90
+4c
+d5
+e0
+64
+01
+60
+08
+90
+4c
+d5
+e0
+64
+01
+60
+5a
+90
+4c
+e5
+e0
+70
+54
+d1
+c2
+ef
+60
+3d
+90
+4c
+b7
+e0
+30
+e0
+08
+c2
+01
+7f
+1c
+f1
+96
+80
+06
+d2
+01
+7f
+1c
+f1
+96
+90
+4c
+b7
+e0
+30
+e1
+08
+c2
+01
+7f
+1d
+f1
+96
+80
+06
+d2
+01
+7f
+1d
+f1
+96
+90
+4c
+b7
+e0
+30
+e2
+06
+c2
+01
+7f
+1e
+80
+19
+d2
+01
+7f
+1e
+80
+13
+d2
+01
+7f
+1c
+f1
+96
+d2
+01
+7f
+1d
+f1
+96
+d2
+01
+7f
+1e
+f1
+96
+22
+ef
+f4
+60
+0d
+7b
+01
+7a
+80
+79
+74
+a2
+01
+92
+00
+12
+12
+67
+22
+e4
+90
+4d
+38
+f0
+7f
+19
+90
+4e
+72
+ef
+f0
+78
+73
+7c
+4e
+7d
+01
+7b
+ff
+7a
+06
+79
+bf
+7e
+00
+7f
+03
+71
+90
+90
+4e
+72
+e0
+90
+4e
+75
+f0
+7b
+01
+7a
+4e
+79
+73
+7d
+03
+90
+4e
+47
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+a3
+ed
+f0
+90
+4b
+9c
+e0
+ff
+a3
+e0
+90
+4e
+4b
+cf
+f0
+a3
+ef
+f0
+90
+4b
+9a
+e0
+fe
+a3
+e0
+ff
+90
+4b
+9c
+e0
+fc
+a3
+e0
+fd
+7b
+64
+11
+6a
+90
+4e
+4a
+e0
+fe
+ef
+c3
+9e
+40
+e2
+90
+4e
+4a
+e0
+ff
+14
+f0
+ef
+60
+3f
+90
+4e
+47
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+12
+03
+b6
+ff
+90
+4e
+4b
+e4
+75
+f0
+01
+12
+04
+24
+85
+f0
+82
+f5
+83
+ef
+f0
+90
+4e
+4b
+e0
+fe
+a3
+e0
+ff
+be
+4b
+c6
+bf
+36
+c3
+90
+4e
+4b
+74
+4a
+f0
+a3
+74
+a0
+f0
+80
+b7
+90
+4e
+4b
+e0
+ff
+a3
+e0
+90
+4b
+9c
+cf
+f0
+a3
+ef
+f0
+22
+90
+4e
+6e
+ee
+f0
+a3
+ef
+f0
+90
+4e
+70
+ec
+f0
+a3
+ed
+f0
+90
+4e
+70
+e0
+fe
+a3
+e0
+ff
+d3
+90
+4e
+6f
+e0
+9f
+90
+4e
+6e
+e0
+9e
+40
+16
+90
+4e
+70
+e0
+fe
+a3
+e0
+ff
+90
+4e
+6f
+e0
+9f
+ff
+90
+4e
+6e
+e0
+9e
+fe
+80
+1e
+90
+4e
+6e
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4e
+71
+e0
+9f
+ff
+90
+4e
+70
+e0
+9e
+fe
+ad
+03
+c3
+eb
+9f
+ff
+e4
+9e
+fe
+22
+e4
+ff
+90
+4c
+ee
+e0
+60
+01
+22
+90
+4c
+fa
+e0
+b4
+01
+01
+22
+90
+4c
+c5
+e0
+64
+03
+60
+1d
+90
+4c
+ef
+e0
+70
+1e
+74
+0a
+f0
+a3
+e0
+70
+17
+90
+4d
+e2
+e0
+b4
+02
+10
+7f
+09
+12
+16
+89
+7f
+01
+80
+07
+e4
+90
+4c
+eb
+f0
+7f
+01
+22
+90
+4e
+62
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+a3
+ed
+f0
+11
+c4
+ef
+60
+77
+90
+4c
+eb
+e0
+70
+71
+90
+4c
+c5
+e0
+64
+03
+70
+69
+90
+4e
+62
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+ff
+64
+01
+70
+2e
+90
+00
+01
+12
+03
+cf
+70
+1e
+90
+00
+03
+12
+03
+cf
+70
+16
+90
+00
+04
+12
+03
+cf
+70
+0e
+90
+00
+05
+12
+03
+cf
+70
+06
+90
+4d
+d6
+f0
+80
+28
+90
+4d
+d6
+74
+01
+f0
+80
+20
+ef
+b4
+02
+1c
+90
+00
+01
+12
+03
+cf
+70
+0e
+90
+00
+02
+12
+03
+cf
+70
+06
+90
+4d
+d6
+f0
+80
+06
+90
+4d
+d6
+74
+01
+f0
+90
+4e
+65
+e0
+fd
+12
+25
+4a
+22
+90
+4e
+53
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+a3
+f0
+a3
+f0
+90
+4d
+db
+f0
+90
+4e
+57
+f0
+90
+4e
+57
+e0
+ff
+c3
+94
+05
+50
+2c
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+7e
+00
+e9
+2f
+f9
+ee
+3a
+fa
+12
+03
+b6
+b4
+af
+06
+90
+4d
+db
+74
+01
+f0
+90
+4e
+57
+e0
+04
+f0
+80
+ca
+90
+4d
+db
+e0
+90
+4d
+e1
+f0
+90
+4e
+53
+e0
+a3
+e0
+fa
+a3
+e0
+4a
+70
+02
+61
+f6
+90
+4d
+de
+74
+0a
+f0
+e4
+90
+4c
+e3
+f0
+a3
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+fc
+71
+f7
+7b
+01
+7a
+4d
+79
+e6
+7d
+09
+7c
+00
+71
+f7
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+90
+00
+01
+12
+03
+cf
+ff
+b4
+0e
+0a
+90
+00
+02
+12
+03
+cf
+64
+29
+60
+0f
+ef
+64
+29
+70
+36
+90
+00
+02
+12
+03
+cf
+64
+0e
+70
+2c
+90
+4b
+eb
+74
+20
+f0
+a3
+74
+15
+f0
+a3
+74
+10
+f0
+a3
+74
+05
+f0
+90
+4c
+c5
+e0
+64
+01
+60
+09
+90
+4c
+ce
+e0
+44
+10
+f0
+80
+10
+90
+4c
+ce
+e0
+54
+ef
+f0
+80
+07
+90
+4c
+ce
+e0
+54
+ef
+f0
+90
+4c
+b6
+74
+01
+f0
+90
+4c
+f4
+e0
+ff
+64
+01
+70
+02
+61
+f6
+ef
+64
+04
+70
+02
+61
+f6
+ef
+64
+02
+70
+02
+61
+f6
+90
+4c
+c5
+e0
+64
+03
+70
+45
+90
+4e
+57
+f0
+90
+4e
+57
+e0
+ff
+c3
+94
+05
+50
+37
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+7e
+00
+e9
+2f
+f9
+ee
+3a
+fa
+12
+03
+b6
+ff
+64
+39
+60
+09
+ef
+64
+53
+60
+04
+ef
+b4
+47
+06
+90
+4d
+47
+74
+01
+f0
+90
+4e
+57
+e0
+04
+f0
+80
+bf
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+18
+1c
+90
+4d
+e5
+e0
+b4
+01
+11
+74
+02
+f0
+90
+4d
+e6
+f0
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+21
+02
+90
+4d
+e5
+e0
+b4
+04
+13
+74
+02
+f0
+90
+4d
+e6
+74
+06
+f0
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+21
+02
+90
+4d
+e5
+e0
+64
+03
+70
+25
+f0
+90
+4d
+e4
+f0
+90
+4d
+e0
+e0
+60
+0a
+e4
+f0
+90
+4d
+e6
+74
+06
+f0
+80
+06
+90
+4d
+e6
+74
+02
+f0
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+21
+02
+90
+48
+00
+74
+01
+f0
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+90
+48
+01
+f0
+90
+4d
+47
+e0
+90
+48
+02
+f0
+e4
+90
+4d
+d8
+f0
+90
+00
+01
+12
+03
+cf
+b4
+af
+1e
+7e
+48
+7f
+03
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+02
+f9
+e4
+3a
+fa
+90
+4e
+52
+74
+05
+f0
+b1
+cd
+80
+1c
+7e
+48
+7f
+03
+90
+4e
+53
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+90
+4e
+52
+74
+06
+f0
+b1
+cd
+90
+4e
+57
+74
+03
+f0
+90
+4e
+57
+e0
+ff
+c3
+94
+09
+50
+25
+74
+00
+2f
+f5
+82
+e4
+34
+48
+f5
+83
+e0
+b4
+af
+0f
+90
+4e
+57
+e0
+24
+00
+f5
+82
+e4
+34
+48
+f5
+83
+e4
+f0
+90
+4e
+57
+e0
+04
+f0
+80
+d1
+7b
+01
+7a
+48
+79
+00
+7d
+09
+31
+02
+22
+90
+4e
+82
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+ed
+1d
+ae
+04
+70
+01
+1c
+4e
+60
+16
+90
+4e
+82
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+e4
+12
+03
+fc
+80
+e0
+22
+7b
+01
+7a
+4c
+79
+bf
+7d
+45
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+93
+7d
+14
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+a8
+7d
+14
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+bc
+7d
+14
+7c
+00
+71
+f7
+7b
+01
+7a
+48
+79
+00
+7d
+09
+7c
+00
+71
+f7
+7b
+01
+7a
+4d
+79
+e6
+7d
+09
+7c
+00
+71
+f7
+e4
+90
+4d
+de
+f0
+90
+4d
+e3
+f0
+90
+4d
+e2
+f0
+90
+4d
+d6
+f0
+90
+4d
+d0
+f0
+90
+4d
+dc
+f0
+90
+4d
+e5
+f0
+90
+4d
+d5
+f0
+90
+4d
+d8
+f0
+90
+4d
+db
+f0
+90
+4d
+e1
+f0
+90
+4d
+d3
+f0
+90
+4d
+df
+f0
+90
+4d
+e4
+f0
+90
+4d
+d9
+f0
+90
+4d
+38
+f0
+22
+90
+4e
+8b
+ef
+f0
+a3
+ed
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+7c
+00
+71
+f7
+90
+48
+00
+74
+01
+f0
+a3
+e0
+ff
+90
+4e
+8b
+e0
+fe
+ef
+4e
+90
+48
+01
+f0
+90
+4e
+8c
+e0
+90
+48
+03
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+21
+02
+90
+4c
+f4
+e0
+ff
+60
+08
+64
+03
+60
+04
+ef
+b4
+05
+02
+80
+65
+90
+4c
+f4
+e0
+b4
+01
+0e
+a3
+e0
+ff
+e4
+fd
+91
+ad
+90
+4c
+f4
+74
+02
+f0
+22
+90
+4c
+f4
+e0
+b4
+02
+0b
+74
+03
+f0
+a3
+e0
+ff
+a3
+e0
+fd
+80
+8e
+90
+4c
+f4
+e0
+b4
+04
+1a
+e4
+90
+4c
+f6
+f0
+90
+4c
+f5
+e0
+ff
+e4
+fd
+91
+ad
+e4
+90
+4c
+f5
+f0
+90
+4c
+f4
+74
+05
+f0
+22
+90
+4c
+f4
+e0
+b4
+06
+15
+e4
+90
+4c
+f6
+f0
+90
+4c
+f5
+f0
+a3
+e0
+fd
+e4
+ff
+91
+ad
+e4
+90
+4c
+f4
+f0
+22
+90
+4e
+76
+e4
+f0
+a3
+f0
+a3
+f0
+12
+25
+58
+50
+25
+12
+1a
+d7
+90
+4e
+76
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+4a
+70
+07
+90
+4c
+b6
+04
+f0
+80
+0e
+90
+4e
+76
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+31
+8d
+22
+90
+4d
+47
+e0
+60
+35
+90
+4d
+d6
+e0
+70
+2f
+90
+4c
+c5
+e0
+b4
+03
+28
+7b
+01
+7a
+48
+79
+00
+7d
+09
+7c
+00
+71
+f7
+e4
+90
+4d
+e5
+f0
+90
+48
+00
+04
+f0
+90
+4d
+47
+e0
+90
+48
+02
+f0
+7b
+01
+7a
+48
+79
+00
+7d
+09
+31
+02
+22
+90
+4e
+4d
+ee
+f0
+a3
+ef
+f0
+a3
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+52
+e0
+ff
+14
+f0
+ef
+60
+27
+90
+4e
+4f
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+12
+03
+b6
+ff
+90
+4e
+4d
+e4
+75
+f0
+01
+12
+04
+24
+85
+f0
+82
+f5
+83
+ef
+f0
+80
+cf
+22
+90
+4e
+5d
+ec
+f0
+a3
+ed
+f0
+a3
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+80
+98
+74
+04
+f0
+a3
+e4
+f0
+90
+0c
+af
+74
+a0
+f0
+a3
+ee
+f0
+a3
+ef
+f0
+90
+0c
+b2
+74
+a1
+f0
+7a
+0c
+79
+af
+7e
+0c
+7f
+af
+74
+af
+fc
+74
+0c
+ff
+ec
+fe
+ef
+90
+80
+9a
+ee
+f0
+a3
+ef
+f0
+90
+4e
+5d
+e0
+fc
+a3
+e0
+fa
+ec
+ff
+ea
+fe
+ef
+90
+80
+9e
+ee
+f0
+a3
+ef
+f0
+7a
+0b
+79
+83
+7e
+0b
+7f
+83
+74
+83
+fc
+74
+0b
+ff
+ec
+fe
+ef
+90
+80
+9c
+ee
+f0
+a3
+ef
+f0
+90
+80
+90
+74
+02
+f0
+90
+80
+9c
+a3
+e0
+20
+e7
+07
+90
+80
+90
+e0
+44
+01
+f0
+90
+80
+06
+e0
+44
+04
+f0
+12
+23
+c1
+90
+4e
+5f
+e0
+a3
+e0
+fa
+a3
+e0
+ae
+02
+ff
+7b
+01
+7a
+0b
+79
+83
+90
+4e
+5d
+e0
+a3
+e0
+90
+4e
+52
+f0
+a1
+cd
+90
+4e
+97
+ef
+f0
+24
+d1
+60
+66
+14
+70
+02
+e1
+60
+14
+70
+02
+e1
+62
+14
+70
+02
+e1
+ac
+24
+f6
+70
+02
+e1
+62
+24
+09
+60
+02
+e1
+da
+7f
+0a
+12
+14
+6f
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+d1
+10
+90
+4c
+fa
+e0
+b4
+01
+2c
+e4
+90
+41
+31
+f0
+90
+4c
+95
+e0
+70
+02
+a3
+e0
+60
+f6
+90
+41
+31
+74
+01
+f0
+90
+4c
+e0
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+96
+e0
+9f
+90
+4c
+95
+e0
+9e
+50
+02
+e1
+da
+12
+12
+4f
+12
+1f
+ad
+7b
+01
+7a
+4c
+79
+00
+7d
+04
+7c
+00
+7f
+f2
+7e
+3f
+d1
+10
+7f
+0a
+12
+14
+6f
+90
+4c
+c1
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f8
+7e
+3f
+d1
+10
+02
+17
+b3
+80
+7f
+90
+4c
+c5
+74
+03
+f0
+e4
+a3
+f0
+f1
+db
+e4
+90
+4c
+ee
+f0
+90
+4c
+eb
+f0
+90
+4c
+c0
+74
+fe
+f0
+90
+4c
+c3
+f0
+90
+4e
+97
+e0
+64
+31
+70
+52
+90
+4c
+e5
+74
+0a
+f0
+90
+4b
+eb
+e0
+b4
+0f
+10
+a3
+e0
+b4
+0f
+0b
+a3
+e0
+b4
+0f
+06
+a3
+e0
+64
+0f
+60
+35
+90
+4c
+bf
+74
+01
+f0
+22
+e4
+90
+4c
+c5
+f0
+a3
+f0
+90
+4c
+e3
+f0
+a3
+f0
+90
+4c
+eb
+04
+f0
+90
+4c
+ed
+e0
+60
+0a
+f1
+db
+90
+4c
+ed
+e0
+ff
+02
+16
+89
+90
+4c
+ec
+e0
+b4
+01
+05
+e4
+f0
+12
+07
+a8
+22
+e4
+90
+4c
+f0
+f0
+22
+90
+80
+80
+e4
+f0
+a3
+f0
+a3
+f0
+12
+17
+c9
+e4
+90
+4e
+95
+f0
+f0
+90
+4e
+95
+e0
+90
+06
+0c
+93
+ff
+60
+0c
+c2
+05
+11
+0b
+90
+4e
+95
+e0
+04
+f0
+80
+e9
+22
+ac
+07
+ec
+f4
+60
+17
+af
+04
+a2
+05
+92
+03
+51
+56
+af
+04
+a2
+05
+b3
+92
+02
+11
+29
+af
+04
+c2
+04
+51
+28
+22
+ef
+f4
+60
+0c
+7b
+01
+7a
+80
+79
+78
+a2
+02
+92
+00
+51
+67
+22
+ac
+07
+ec
+f4
+60
+15
+af
+04
+d2
+04
+51
+28
+af
+04
+a2
+06
+92
+01
+12
+07
+96
+af
+04
+c2
+02
+11
+29
+22
+d2
+06
+7f
+1c
+11
+3a
+d2
+06
+7f
+1d
+11
+3a
+d2
+06
+7f
+1e
+11
+3a
+e4
+ff
+90
+4e
+7c
+ef
+f0
+70
+08
+51
+39
+d2
+06
+7f
+13
+80
+c1
+90
+4e
+7c
+e0
+ff
+b4
+01
+09
+a3
+e4
+f0
+a3
+74
+14
+f0
+80
+1b
+ef
+b4
+02
+0b
+90
+4e
+7d
+e4
+f0
+a3
+74
+42
+f0
+80
+0c
+ef
+b4
+03
+08
+51
+39
+c2
+06
+7f
+13
+80
+95
+51
+c8
+90
+4e
+7d
+e0
+a3
+e0
+ff
+c3
+74
+64
+9f
+90
+80
+a0
+f0
+90
+80
+a2
+ef
+f0
+90
+80
+85
+e0
+44
+40
+f0
+22
+90
+4e
+8d
+ef
+f0
+e4
+a3
+f0
+ed
+f0
+90
+4d
+db
+e0
+64
+01
+60
+02
+21
+e6
+ed
+24
+af
+60
+67
+14
+60
+3b
+24
+18
+b4
+0c
+00
+40
+02
+21
+e6
+90
+10
+f6
+75
+f0
+03
+a4
+c5
+83
+25
+f0
+c5
+83
+73
+02
+11
+60
+02
+11
+68
+02
+11
+70
+02
+11
+78
+02
+11
+8a
+02
+11
+92
+02
+11
+a4
+02
+11
+b6
+02
+11
+be
+02
+11
+d0
+02
+11
+d8
+02
+11
+e0
+90
+4e
+8d
+e0
+30
+e0
+1b
+90
+4c
+f9
+e0
+c3
+94
+03
+50
+05
+e0
+04
+f0
+80
+06
+90
+4c
+f9
+74
+03
+f0
+90
+4c
+f9
+e0
+ff
+11
+6a
+e4
+90
+4e
+8e
+f0
+21
+e6
+90
+4e
+8d
+e0
+30
+e0
+0f
+90
+4c
+f9
+e0
+60
+02
+14
+f0
+90
+4c
+f9
+e0
+ff
+11
+6a
+e4
+90
+4e
+8e
+f0
+21
+e6
+90
+4e
+8e
+74
+de
+f0
+80
+7e
+90
+4e
+8e
+74
+d6
+f0
+80
+76
+90
+4e
+8e
+74
+d0
+f0
+80
+6e
+90
+4e
+8d
+e0
+ff
+7b
+0b
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+5c
+90
+4e
+8e
+74
+fb
+f0
+80
+54
+90
+4e
+8d
+e0
+ff
+7b
+2b
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+42
+90
+4e
+8d
+e0
+ff
+7b
+0c
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+30
+90
+4e
+8e
+74
+d5
+f0
+80
+28
+90
+4e
+8d
+e0
+ff
+7b
+04
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+80
+16
+90
+4e
+8e
+74
+f2
+f0
+80
+0e
+90
+4e
+8e
+74
+f4
+f0
+80
+06
+90
+4e
+8e
+74
+f5
+f0
+90
+4e
+8e
+e0
+b4
+fc
+10
+90
+4e
+8d
+e0
+ff
+7b
+0f
+7d
+08
+51
+03
+e4
+90
+4e
+8e
+f0
+90
+4e
+8e
+e0
+ff
+22
+90
+4c
+f5
+ed
+f0
+a3
+eb
+f0
+ef
+30
+e0
+12
+90
+4c
+f4
+e0
+b4
+03
+04
+74
+02
+f0
+22
+90
+4c
+f4
+74
+01
+f0
+22
+90
+4c
+f4
+74
+04
+f0
+22
+ef
+f4
+60
+0c
+7b
+01
+7a
+80
+79
+70
+a2
+04
+92
+00
+51
+67
+22
+90
+80
+51
+e0
+44
+20
+f0
+90
+80
+82
+e0
+54
+ef
+f0
+90
+80
+85
+e0
+54
+bf
+f0
+22
+12
+0f
+e1
+51
+c8
+01
+56
+ef
+f4
+60
+0c
+7b
+01
+7a
+80
+79
+7c
+a2
+03
+92
+00
+51
+67
+22
+90
+4e
+88
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+fe
+fd
+ef
+54
+07
+fe
+ef
+13
+13
+13
+54
+03
+fd
+30
+00
+22
+90
+4e
+88
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+2d
+f9
+e4
+3a
+fa
+12
+03
+b6
+ff
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+4f
+02
+03
+fc
+90
+4e
+88
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+2d
+f9
+e4
+3a
+fa
+12
+03
+b6
+ff
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+f4
+5f
+02
+03
+fc
+90
+80
+42
+e0
+f0
+90
+80
+51
+e0
+54
+df
+f0
+90
+80
+82
+e0
+44
+10
+f0
+22
+b1
+77
+12
+24
+5d
+12
+0c
+e7
+91
+87
+12
+06
+cf
+90
+0b
+7e
+e0
+14
+60
+0c
+24
+fe
+70
+ea
+71
+2c
+11
+56
+91
+64
+80
+fe
+90
+4c
+ea
+e0
+70
+1d
+90
+4c
+ec
+e0
+70
+17
+90
+4c
+e5
+e0
+70
+11
+90
+4c
+f8
+e0
+70
+0b
+a3
+e0
+ff
+64
+01
+60
+04
+ef
+b4
+02
+04
+f1
+bd
+80
+bb
+71
+2c
+91
+64
+80
+b5
+80
+b3
+22
+e4
+ff
+90
+4e
+96
+f0
+fe
+fd
+ef
+90
+06
+0c
+93
+60
+49
+ef
+93
+fd
+13
+13
+13
+54
+1f
+fe
+ed
+54
+07
+fd
+74
+01
+a8
+05
+08
+80
+02
+c3
+33
+d8
+fc
+fd
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+ee
+24
+70
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+4d
+f0
+ee
+24
+74
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+5b
+f0
+0f
+80
+b0
+12
+25
+e3
+90
+81
+1c
+e0
+90
+4e
+96
+f0
+90
+4d
+d5
+e0
+60
+20
+e4
+ff
+71
+c5
+7f
+01
+71
+c5
+7f
+02
+71
+c5
+7f
+03
+71
+c5
+7f
+04
+71
+c5
+7f
+05
+71
+c5
+7f
+06
+71
+c5
+7f
+07
+80
+10
+90
+4e
+96
+e0
+ff
+90
+00
+a3
+f0
+ef
+f4
+90
+00
+a7
+f0
+22
+90
+4e
+9a
+ef
+f0
+b1
+8a
+92
+08
+90
+4e
+9a
+e0
+ff
+a2
+08
+b3
+92
+07
+ef
+f4
+70
+02
+81
+63
+ef
+54
+07
+fe
+ef
+13
+13
+13
+54
+03
+ff
+30
+07
+43
+24
+a3
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+fd
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+f4
+5d
+d0
+82
+d0
+83
+f0
+74
+a7
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+ff
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+4f
+d0
+82
+d0
+83
+f0
+22
+74
+a3
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+fd
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+fc
+4d
+d0
+82
+d0
+83
+f0
+74
+a7
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+e0
+ff
+ec
+f4
+fe
+ef
+5e
+f0
+22
+e4
+90
+0b
+7f
+f0
+90
+0b
+7e
+f0
+7f
+01
+ef
+d3
+94
+00
+40
+11
+e4
+fd
+fc
+0d
+bd
+00
+01
+0c
+bc
+04
+f8
+bd
+a6
+f5
+1f
+80
+e9
+22
+90
+4c
+bf
+e0
+60
+3b
+7f
+c8
+91
+6f
+c2
+01
+7f
+1f
+12
+07
+96
+7b
+01
+7a
+4c
+79
+00
+7d
+04
+7c
+00
+7f
+f2
+7e
+3f
+91
+c9
+7b
+01
+7a
+4c
+79
+c1
+7d
+01
+7c
+00
+7f
+f8
+7e
+3f
+91
+c9
+d2
+01
+7f
+1f
+12
+07
+96
+7f
+0a
+91
+6f
+e4
+90
+4c
+bf
+f0
+22
+90
+4e
+21
+ee
+f0
+a3
+ef
+f0
+a3
+ec
+f0
+a3
+ed
+f0
+a3
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+23
+e0
+70
+02
+a3
+e0
+70
+02
+a1
+76
+90
+4e
+21
+e0
+fe
+a3
+e0
+ff
+44
+0f
+24
+01
+fd
+e4
+3e
+fc
+c3
+ed
+9f
+ff
+ec
+9e
+fe
+90
+4e
+28
+f0
+a3
+ef
+f0
+90
+4e
+23
+e0
+fc
+a3
+e0
+fd
+d3
+9f
+ec
+9e
+40
+0a
+90
+4e
+28
+e0
+fe
+a3
+e0
+ff
+80
+04
+ae
+04
+af
+05
+90
+4e
+28
+ee
+f0
+fc
+a3
+ef
+f0
+fd
+c3
+90
+4e
+24
+e0
+9d
+f0
+90
+4e
+23
+e0
+9c
+f0
+90
+4e
+21
+e0
+fe
+a3
+e0
+ff
+90
+4e
+25
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+23
+29
+7f
+0a
+91
+6f
+90
+4e
+28
+e0
+fe
+a3
+e0
+ff
+90
+4e
+26
+ee
+8f
+f0
+12
+04
+0e
+90
+4e
+22
+e0
+2f
+f0
+90
+4e
+21
+e0
+3e
+f0
+81
+e0
+22
+7b
+01
+7a
+4d
+79
+ef
+78
+01
+7c
+4e
+7d
+01
+7e
+00
+7f
+12
+02
+03
+90
+7b
+01
+7a
+81
+79
+1c
+ad
+07
+e4
+90
+4e
+99
+f0
+fe
+ef
+54
+07
+f0
+ef
+13
+13
+13
+54
+03
+fe
+f5
+82
+75
+83
+00
+12
+03
+cf
+fd
+33
+95
+e0
+fc
+90
+4e
+99
+e0
+ff
+74
+01
+7e
+00
+a8
+07
+08
+80
+05
+c3
+33
+ce
+33
+ce
+d8
+f9
+ff
+ee
+5c
+fe
+ef
+5d
+4e
+24
+ff
+22
+90
+4e
+9b
+ef
+f0
+7b
+01
+7a
+80
+79
+74
+b1
+90
+92
+09
+90
+4e
+9b
+e0
+ff
+a2
+09
+b3
+92
+01
+02
+07
+96
+90
+4d
+e2
+e0
+b4
+02
+12
+90
+4c
+ee
+e0
+60
+0c
+7f
+1c
+b1
+cf
+7f
+1d
+b1
+cf
+7f
+1e
+b1
+cf
+22
+90
+4c
+ce
+e0
+30
+e1
+3e
+90
+4c
+d0
+e0
+c3
+94
+fa
+50
+03
+e0
+04
+f0
+90
+4c
+d0
+e0
+64
+b4
+70
+2f
+90
+4d
+dc
+e0
+04
+f0
+e0
+d3
+94
+02
+50
+07
+e4
+90
+4c
+d0
+f0
+80
+1c
+90
+4d
+dc
+e0
+b4
+03
+15
+90
+4d
+d5
+74
+01
+f0
+e4
+90
+4c
+d0
+f0
+12
+07
+a8
+80
+05
+e4
+90
+4d
+dc
+f0
+90
+4c
+ce
+e0
+30
+e4
+2d
+90
+4c
+ea
+74
+0a
+f0
+90
+4c
+d1
+e0
+c3
+94
+fa
+50
+03
+e0
+04
+f0
+90
+4c
+d1
+e0
+b4
+06
+19
+90
+4c
+c3
+e0
+ff
+60
+03
+b4
+fe
+0f
+f1
+4d
+7f
+0a
+91
+6f
+7f
+0a
+80
+06
+e4
+90
+4c
+d1
+f0
+22
+90
+4e
+93
+ef
+f0
+24
+f7
+60
+09
+14
+60
+63
+24
+02
+60
+02
+e1
+47
+e4
+90
+4c
+f0
+f0
+f1
+4d
+ef
+60
+09
+90
+4e
+93
+e0
+90
+4c
+ed
+f0
+22
+7b
+01
+7a
+4c
+79
+00
+7d
+04
+7c
+00
+7f
+f2
+7e
+3f
+12
+0e
+10
+7f
+0a
+91
+6f
+90
+4c
+00
+e0
+b4
+ff
+1b
+a3
+e0
+b4
+ff
+16
+a3
+e0
+b4
+ff
+11
+a3
+e0
+b4
+ff
+0c
+90
+4c
+00
+74
+0f
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+7f
+21
+12
+07
+af
+90
+4c
+c5
+74
+02
+f0
+e4
+a3
+f0
+90
+4c
+ed
+f0
+22
+e4
+90
+4c
+f0
+f0
+f1
+4d
+ef
+60
+09
+90
+4e
+93
+e0
+90
+4c
+ed
+f0
+22
+90
+4c
+c5
+e0
+64
+01
+60
+2e
+7f
+23
+12
+07
+af
+90
+4c
+c5
+74
+01
+f0
+e4
+a3
+f0
+90
+4c
+ee
+74
+3c
+f0
+e4
+90
+4c
+e9
+f0
+d2
+01
+7f
+1c
+12
+07
+96
+d2
+01
+7f
+1d
+12
+07
+96
+d2
+01
+7f
+1e
+12
+07
+96
+e4
+90
+4c
+ed
+f0
+22
+e4
+90
+4c
+ed
+f0
+22
+90
+4c
+c5
+e0
+ff
+64
+03
+60
+04
+ef
+b4
+02
+08
+7f
+22
+12
+07
+af
+7f
+01
+22
+7f
+00
+22
+b1
+eb
+90
+4c
+e4
+e0
+04
+f0
+70
+06
+90
+4c
+e3
+e0
+04
+f0
+f1
+9f
+12
+1f
+e6
+d1
+05
+90
+4c
+ee
+e0
+60
+1c
+e4
+90
+4c
+e3
+f0
+a3
+f0
+90
+4c
+ee
+e0
+14
+f0
+e0
+70
+0c
+7f
+22
+12
+07
+af
+7f
+0a
+91
+6f
+12
+07
+a8
+22
+90
+4c
+d3
+e0
+60
+0b
+14
+f0
+e0
+70
+06
+74
+05
+f0
+12
+21
+cd
+22
+41
+dc
+90
+4d
+e2
+74
+02
+f0
+7f
+08
+c1
+89
+90
+0b
+7f
+74
+01
+f0
+e4
+90
+0b
+7e
+f0
+22
+e4
+90
+4e
+94
+f0
+f0
+90
+4e
+94
+e0
+ff
+c3
+94
+08
+50
+0c
+c2
+05
+11
+0b
+90
+4e
+94
+e0
+04
+f0
+80
+ea
+22
+ad
+07
+ac
+06
+90
+4d
+e5
+e0
+64
+02
+60
+0e
+74
+01
+f0
+90
+4d
+e6
+04
+f0
+ef
+a3
+f0
+ee
+a3
+f0
+22
+90
+4d
+e5
+e0
+64
+02
+60
+12
+74
+04
+f0
+90
+4d
+e0
+74
+01
+f0
+90
+4d
+e6
+74
+06
+f0
+a3
+ef
+f0
+22
+90
+4e
+66
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+a3
+f0
+f0
+90
+4e
+69
+e0
+ff
+c3
+94
+06
+40
+02
+41
+c8
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+7e
+00
+e9
+2f
+f9
+ee
+3a
+fa
+12
+03
+b6
+ff
+54
+f0
+64
+f0
+60
+09
+ef
+54
+d0
+64
+d0
+60
+02
+41
+c0
+12
+03
+b6
+fb
+b4
+f1
+09
+7f
+83
+7e
+01
+12
+17
+e6
+41
+95
+eb
+b4
+f2
+09
+7f
+cd
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f3
+07
+7f
+b7
+12
+17
+e6
+41
+95
+eb
+b4
+f4
+09
+7f
+b6
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f5
+07
+7f
+b5
+12
+17
+e6
+41
+95
+eb
+b4
+f6
+09
+7f
+ea
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f7
+07
+7f
+e9
+12
+17
+e6
+41
+95
+eb
+b4
+f8
+09
+7f
+e2
+7e
+00
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+f9
+08
+7f
+94
+0e
+12
+17
+e6
+41
+95
+eb
+b4
+fa
+09
+7f
+8a
+7e
+01
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+fb
+08
+7f
+92
+0e
+12
+17
+e6
+41
+95
+eb
+b4
+d0
+09
+7f
+2a
+7e
+02
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d1
+09
+7f
+25
+7e
+02
+12
+17
+e6
+41
+95
+eb
+b4
+d3
+09
+7f
+26
+7e
+02
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d2
+09
+7f
+24
+7e
+02
+12
+17
+e6
+41
+95
+eb
+b4
+d4
+09
+7f
+27
+7e
+02
+12
+17
+e6
+41
+95
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d5
+09
+7f
+21
+7e
+02
+12
+17
+e6
+80
+7b
+eb
+b4
+d6
+09
+7f
+23
+7e
+02
+12
+17
+e6
+80
+6e
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fb
+b4
+d7
+07
+7f
+70
+12
+17
+e6
+80
+47
+eb
+b4
+d8
+09
+7f
+6f
+7e
+00
+12
+17
+e6
+80
+3a
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+fe
+b4
+dd
+06
+7f
+01
+11
+01
+80
+14
+ee
+b4
+de
+06
+7f
+02
+11
+01
+80
+0a
+12
+03
+b6
+b4
+df
+04
+7f
+04
+11
+01
+90
+4d
+e5
+e0
+b4
+02
+24
+90
+4e
+66
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+24
+01
+f9
+e4
+3a
+fa
+a3
+e0
+7e
+00
+29
+f9
+ee
+3a
+fa
+12
+03
+b6
+90
+4d
+e4
+f0
+e4
+12
+03
+fc
+90
+4e
+69
+e0
+04
+f0
+01
+2b
+22
+e4
+fe
+ef
+60
+06
+14
+5f
+ff
+0e
+80
+f7
+af
+06
+22
+e4
+90
+4e
+13
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+a3
+f0
+d1
+4d
+7a
+4d
+79
+a8
+90
+4e
+3c
+74
+01
+f0
+a3
+74
+4d
+f0
+a3
+74
+a8
+f0
+a3
+74
+14
+f0
+7b
+01
+7a
+4d
+79
+bc
+b1
+04
+ef
+60
+16
+7b
+01
+7a
+4d
+79
+bc
+7d
+14
+91
+d4
+ef
+70
+09
+90
+4c
+ce
+e0
+44
+02
+f0
+80
+0c
+90
+4c
+ce
+e0
+54
+fd
+f0
+e4
+90
+4c
+d0
+f0
+e4
+90
+4e
+13
+f0
+90
+4e
+13
+e0
+ff
+90
+06
+0c
+93
+60
+2f
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+90
+4e
+15
+f0
+e0
+fd
+60
+14
+90
+4e
+19
+e0
+04
+f0
+a3
+e0
+fe
+ed
+4e
+f0
+af
+05
+51
+c9
+a3
+e0
+2f
+f0
+90
+4e
+13
+e0
+04
+f0
+80
+c6
+90
+4e
+1b
+e0
+90
+4e
+20
+f0
+90
+4e
+19
+e0
+90
+4e
+1f
+f0
+90
+4e
+1a
+e0
+ff
+51
+c9
+90
+4e
+1e
+ef
+f0
+90
+4e
+20
+e0
+ff
+d3
+94
+02
+40
+1d
+90
+4e
+1e
+e0
+fe
+a3
+e0
+fd
+d3
+9e
+40
+04
+ae
+05
+80
+00
+ef
+d3
+9e
+40
+08
+90
+4e
+1d
+74
+01
+f0
+80
+05
+e4
+90
+4e
+1d
+f0
+e4
+90
+4e
+13
+f0
+90
+4e
+13
+e0
+ff
+90
+06
+0c
+93
+70
+02
+81
+a8
+74
+93
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fe
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+6e
+90
+4e
+15
+f0
+90
+4e
+13
+e0
+ff
+24
+bc
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+90
+4e
+18
+f0
+90
+4e
+15
+e0
+70
+04
+81
+a0
+81
+a0
+90
+4e
+1d
+e0
+60
+07
+7b
+00
+7a
+00
+79
+00
+22
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fe
+74
+93
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+ee
+f0
+e4
+90
+4e
+14
+f0
+90
+4e
+14
+e0
+ff
+c3
+94
+08
+50
+59
+a3
+e0
+30
+e0
+3c
+90
+4e
+13
+e0
+fe
+33
+33
+33
+54
+f8
+fe
+ef
+4e
+90
+4e
+17
+f0
+a3
+e0
+ff
+90
+4e
+17
+e0
+90
+06
+21
+93
+fd
+12
+10
+c3
+90
+4e
+1c
+ef
+f0
+90
+4e
+18
+e0
+30
+e0
+09
+90
+4e
+1c
+e0
+ff
+b1
+4e
+80
+07
+90
+4e
+1c
+e0
+ff
+b1
+a4
+90
+4e
+15
+e0
+ff
+c3
+13
+f0
+90
+4e
+18
+e0
+ff
+c3
+13
+f0
+90
+4e
+14
+e0
+04
+f0
+80
+9d
+90
+4e
+16
+74
+01
+f0
+90
+4e
+13
+e0
+04
+f0
+61
+c7
+90
+4d
+e5
+e0
+b4
+03
+0a
+90
+4d
+d8
+e0
+b4
+01
+03
+74
+02
+f0
+90
+4e
+16
+e0
+70
+07
+90
+4d
+d8
+e0
+b4
+02
+07
+7b
+01
+7a
+4e
+79
+32
+22
+7b
+00
+7a
+00
+79
+00
+22
+90
+4e
+79
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+ff
+ef
+c3
+9d
+50
+1b
+90
+4e
+79
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+8f
+82
+75
+83
+00
+12
+03
+cf
+60
+03
+7f
+00
+22
+0f
+80
+e0
+7f
+01
+22
+90
+4e
+39
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+e4
+ff
+90
+4e
+3f
+e0
+fe
+ef
+c3
+9e
+50
+30
+90
+4e
+3c
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+8f
+82
+75
+83
+00
+12
+03
+cf
+fe
+90
+4e
+39
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+8f
+82
+75
+83
+00
+12
+03
+cf
+6e
+60
+03
+7f
+00
+22
+0f
+80
+c6
+7f
+01
+22
+e4
+fe
+ef
+c3
+94
+e0
+40
+20
+ef
+d3
+94
+e7
+50
+1a
+90
+4e
+32
+e0
+fe
+ef
+54
+07
+ff
+74
+01
+a8
+07
+08
+80
+02
+c3
+33
+d8
+fc
+4e
+90
+4e
+32
+f0
+22
+e4
+fe
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+fd
+6f
+60
+1c
+ed
+70
+14
+90
+4d
+e4
+e0
+6f
+60
+12
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+ef
+f0
+22
+0e
+ee
+b4
+06
+d5
+22
+e4
+fe
+fd
+ef
+54
+f0
+64
+f0
+60
+07
+ef
+54
+d0
+fc
+bc
+d0
+0c
+90
+4d
+e5
+e0
+b4
+02
+0b
+74
+03
+f0
+80
+06
+90
+4d
+d8
+74
+01
+f0
+ef
+c3
+94
+e0
+40
+20
+ef
+d3
+94
+e7
+50
+1a
+90
+4e
+32
+e0
+fe
+ef
+54
+07
+ff
+74
+fe
+a8
+07
+08
+80
+02
+c3
+33
+d8
+fc
+5e
+90
+4e
+32
+f0
+22
+e4
+fe
+ed
+70
+21
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+6f
+70
+47
+ee
+b4
+05
+0b
+24
+33
+f5
+82
+e4
+34
+4e
+f5
+83
+e4
+f0
+7d
+01
+80
+34
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+fc
+74
+32
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+ec
+f0
+74
+33
+2e
+f5
+82
+e4
+34
+4e
+f5
+83
+e0
+60
+14
+ee
+b4
+05
+0b
+24
+33
+f5
+82
+e4
+34
+4e
+f5
+83
+e4
+f0
+0e
+ee
+b4
+06
+a3
+22
+e4
+ff
+90
+4e
+6a
+f0
+fe
+fd
+a3
+f0
+a3
+f0
+a3
+f0
+ef
+90
+06
+0c
+93
+60
+7c
+ef
+93
+fd
+13
+13
+13
+54
+1f
+fe
+ed
+54
+07
+fd
+74
+01
+a8
+05
+08
+80
+02
+c3
+33
+d8
+fc
+fd
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+ee
+24
+70
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+4d
+f0
+ee
+24
+74
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+5b
+f0
+90
+81
+1c
+e0
+f4
+fc
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+ec
+f0
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+4d
+f0
+ee
+24
+70
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+0f
+c1
+5b
+e4
+ff
+ef
+90
+06
+0c
+93
+60
+7c
+ef
+93
+fd
+13
+13
+13
+54
+1f
+fe
+ed
+54
+07
+fd
+74
+01
+a8
+05
+08
+80
+02
+c3
+33
+d8
+fc
+fd
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+ee
+24
+70
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+4d
+f0
+ee
+24
+74
+f5
+82
+e4
+34
+80
+f5
+83
+e0
+5b
+f0
+90
+81
+1c
+e0
+f4
+fc
+74
+a8
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+ec
+f0
+ee
+24
+78
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+4d
+f0
+ee
+24
+70
+fb
+e4
+34
+80
+8b
+82
+f5
+83
+e0
+fc
+ed
+f4
+fb
+ec
+5b
+f0
+0f
+c1
+e0
+e4
+ff
+ef
+90
+06
+0c
+93
+60
+40
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fe
+74
+a8
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+6e
+60
+23
+74
+bc
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+c0
+83
+c0
+82
+e0
+fe
+74
+a8
+2f
+f5
+82
+e4
+34
+4d
+f5
+83
+e0
+fd
+ee
+5d
+d0
+82
+d0
+83
+f0
+0f
+80
+b9
+22
+12
+0c
+23
+12
+21
+09
+90
+4c
+eb
+74
+01
+f0
+90
+4c
+e5
+74
+0a
+f0
+e4
+90
+4c
+f0
+f0
+90
+4d
+03
+74
+ff
+f0
+22
+90
+80
+10
+74
+01
+f0
+80
+fe
+22
+80
+f5
+90
+4e
+8f
+ed
+f0
+90
+00
+01
+12
+03
+cf
+90
+4e
+90
+f0
+22
+90
+4c
+c5
+e0
+b4
+03
+11
+90
+4c
+e3
+e0
+64
+02
+70
+04
+a3
+e0
+64
+58
+70
+2d
+02
+07
+a8
+90
+4c
+c5
+e0
+b4
+01
+14
+90
+4c
+e3
+e0
+70
+04
+a3
+e0
+64
+3c
+70
+17
+7f
+22
+12
+07
+af
+02
+07
+a8
+90
+4c
+e3
+e0
+70
+04
+a3
+e0
+64
+14
+70
+03
+12
+07
+a8
+22
+90
+4c
+ea
+e0
+60
+02
+14
+f0
+90
+4c
+ef
+e0
+60
+02
+14
+f0
+90
+4c
+e5
+e0
+60
+34
+14
+f0
+c2
+01
+7f
+1c
+12
+07
+96
+c2
+01
+7f
+1d
+12
+07
+96
+c2
+01
+7f
+1e
+12
+07
+96
+90
+4c
+e5
+e0
+70
+70
+d2
+01
+7f
+1c
+12
+07
+96
+d2
+01
+7f
+1d
+12
+07
+96
+d2
+01
+7f
+1e
+12
+07
+96
+80
+59
+90
+4c
+ee
+e0
+70
+53
+90
+4c
+e2
+e0
+60
+4d
+14
+f0
+d3
+90
+4c
+e4
+e0
+94
+28
+90
+4c
+e3
+e0
+94
+00
+50
+33
+90
+4c
+e2
+e0
+30
+e1
+17
+c2
+01
+7f
+1c
+12
+07
+96
+c2
+01
+7f
+1d
+12
+07
+96
+c2
+01
+7f
+1e
+12
+07
+96
+80
+15
+d2
+01
+7f
+1c
+12
+07
+96
+d2
+01
+7f
+1d
+12
+07
+96
+d2
+01
+7f
+1e
+12
+07
+96
+90
+4c
+e2
+e0
+70
+03
+74
+04
+f0
+90
+4d
+d5
+e0
+70
+2d
+90
+4d
+d6
+e0
+64
+01
+70
+25
+f0
+90
+4d
+e6
+e0
+60
+0d
+7b
+01
+7a
+4d
+79
+e6
+7d
+03
+12
+09
+02
+80
+11
+90
+48
+00
+e0
+60
+0b
+7b
+01
+7a
+48
+79
+00
+7d
+09
+12
+09
+02
+90
+4d
+de
+e0
+60
+03
+e0
+14
+f0
+22
+90
+4c
+d3
+74
+05
+f0
+e4
+a3
+f0
+90
+4c
+90
+74
+33
+f0
+e4
+ff
+ef
+25
+e0
+24
+d6
+f5
+82
+e4
+34
+4c
+f5
+83
+74
+66
+f0
+a3
+f0
+0f
+ef
+b4
+04
+ea
+90
+4c
+91
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+94
+e0
+9f
+fd
+90
+4c
+93
+e0
+9e
+fc
+e4
+12
+02
+06
+7b
+1f
+7a
+85
+79
+eb
+78
+3e
+12
+00
+fb
+c0
+04
+c0
+05
+c0
+06
+c0
+07
+90
+4c
+91
+e0
+fc
+a3
+e0
+fd
+e4
+12
+02
+06
+d0
+03
+d0
+02
+d0
+01
+d0
+00
+12
+00
+0a
+12
+02
+3f
+90
+4c
+de
+ee
+f0
+a3
+ef
+f0
+90
+4c
+91
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+94
+e0
+9f
+fd
+90
+4c
+93
+e0
+9e
+fc
+e4
+12
+02
+06
+7b
+ec
+7a
+51
+79
+b8
+78
+3e
+12
+00
+fb
+c0
+04
+c0
+05
+c0
+06
+c0
+07
+90
+4c
+91
+e0
+fc
+a3
+e0
+fd
+e4
+12
+02
+06
+d0
+03
+d0
+02
+d0
+01
+d0
+00
+12
+00
+0a
+12
+02
+3f
+90
+4c
+e0
+ee
+f0
+a3
+ef
+f0
+22
+90
+4e
+59
+12
+05
+33
+00
+00
+00
+00
+90
+4c
+95
+e0
+fe
+a3
+e0
+ff
+90
+4c
+d4
+e0
+fd
+04
+f0
+ed
+25
+e0
+24
+d6
+f5
+82
+e4
+34
+4c
+f5
+83
+ee
+f0
+a3
+ef
+f0
+90
+4c
+d4
+e0
+c3
+94
+04
+40
+02
+e4
+f0
+e4
+90
+4e
+58
+f0
+90
+4e
+59
+e0
+f8
+a3
+e0
+f9
+a3
+e0
+fa
+a3
+e0
+fb
+90
+4e
+58
+e0
+25
+e0
+24
+d6
+f5
+82
+e4
+34
+4c
+f5
+83
+e0
+fe
+a3
+e0
+ff
+e4
+fc
+fd
+eb
+2f
+ff
+ea
+3e
+fe
+ed
+39
+fd
+ec
+38
+fc
+90
+4e
+59
+12
+05
+27
+90
+4e
+58
+e0
+04
+f0
+e0
+b4
+04
+bf
+90
+4e
+59
+e0
+fc
+a3
+e0
+fd
+a3
+e0
+fe
+a3
+e0
+ff
+e4
+7b
+04
+fa
+f9
+f8
+12
+04
+76
+90
+4e
+59
+12
+05
+27
+90
+4c
+e0
+e0
+fe
+a3
+e0
+ff
+c3
+90
+4c
+d7
+e0
+9f
+90
+4c
+d6
+e0
+9e
+50
+49
+90
+4c
+d5
+74
+02
+f0
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+12
+0e
+10
+90
+4c
+fa
+e0
+64
+01
+70
+02
+61
+28
+74
+01
+f0
+c2
+01
+7f
+1f
+12
+07
+96
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+12
+14
+c9
+d2
+01
+7f
+1f
+02
+07
+96
+90
+4c
+de
+e0
+fe
+a3
+e0
+ff
+e4
+fc
+fd
+90
+4e
+59
+e0
+f8
+a3
+e0
+f9
+a3
+e0
+fa
+a3
+e0
+fb
+c3
+12
+05
+16
+50
+0e
+90
+4c
+d5
+74
+01
+f0
+90
+4d
+3f
+74
+12
+f0
+80
+0b
+e4
+90
+4c
+d5
+f0
+90
+4d
+3f
+74
+5d
+f0
+90
+4c
+fa
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+12
+0e
+10
+90
+4c
+fa
+e0
+b4
+01
+12
+e4
+f0
+e0
+f9
+7a
+00
+7b
+00
+7d
+01
+7c
+00
+7f
+f9
+7e
+3f
+71
+29
+22
+90
+4e
+40
+ee
+f0
+a3
+ef
+f0
+90
+4e
+44
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+42
+ec
+f0
+a3
+ed
+f0
+a3
+e0
+f9
+a3
+e0
+fa
+a3
+e0
+90
+4e
+2d
+c9
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+a3
+ec
+f0
+a3
+ed
+f0
+7b
+01
+7a
+0b
+79
+86
+71
+c9
+90
+0b
+83
+74
+a0
+f0
+90
+4e
+40
+e0
+ff
+a3
+e0
+90
+0b
+84
+cf
+f0
+a3
+ef
+f0
+90
+4e
+43
+e0
+24
+03
+fd
+90
+4e
+42
+e0
+34
+00
+fc
+ed
+fa
+ec
+ff
+ea
+fe
+ef
+90
+80
+98
+ee
+f0
+a3
+ef
+f0
+7a
+0b
+79
+83
+7e
+0b
+7f
+83
+74
+83
+fc
+74
+0b
+ff
+ec
+fe
+ef
+a3
+ee
+f0
+a3
+ef
+f0
+90
+80
+9e
+e4
+f0
+a3
+f0
+90
+80
+90
+04
+f0
+90
+80
+06
+e0
+44
+04
+f0
+90
+81
+2c
+e0
+30
+e5
+f9
+22
+90
+4e
+2a
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+90
+4e
+30
+74
+ff
+f5
+f0
+12
+04
+24
+45
+f0
+60
+2a
+90
+4e
+2d
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+12
+03
+b6
+ff
+90
+4e
+2a
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+ef
+12
+03
+fc
+80
+c8
+22
+90
+4e
+91
+ee
+f0
+a3
+ef
+f0
+a9
+05
+90
+4b
+9e
+e0
+fe
+a3
+e0
+ff
+ad
+01
+19
+ed
+60
+2f
+0f
+ef
+ac
+06
+70
+01
+0e
+14
+f5
+82
+8c
+83
+e0
+fd
+90
+4e
+91
+e4
+75
+f0
+01
+12
+04
+24
+85
+f0
+82
+f5
+83
+ed
+f0
+ad
+07
+ac
+06
+bc
+4b
+d4
+bd
+9a
+d1
+7e
+4b
+7f
+36
+80
+cb
+90
+4b
+9e
+ee
+f0
+a3
+ef
+f0
+22
+7a
+0c
+79
+4b
+90
+4e
+7f
+74
+01
+f0
+a3
+74
+0c
+f0
+a3
+74
+4b
+f0
+90
+4b
+a0
+e0
+fe
+a3
+e0
+ff
+90
+4b
+9e
+e0
+6e
+70
+03
+a3
+e0
+6f
+60
+46
+7e
+0c
+7f
+4b
+7d
+03
+91
+0d
+90
+4e
+7f
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+b4
+02
+2b
+90
+4e
+80
+e4
+75
+f0
+02
+12
+04
+0e
+90
+4e
+7f
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+12
+03
+b6
+ff
+90
+4e
+01
+e0
+a3
+e0
+fa
+a3
+e0
+f5
+82
+8a
+83
+12
+05
+68
+80
+02
+80
+fe
+90
+4b
+a5
+e0
+fe
+a3
+e0
+ff
+90
+4c
+5e
+e0
+6e
+70
+03
+a3
+e0
+6f
+60
+22
+90
+4e
+07
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+4a
+60
+37
+12
+05
+64
+90
+4b
+a5
+e0
+ff
+a3
+e0
+90
+4c
+5e
+cf
+f0
+a3
+ef
+f0
+80
+ca
+90
+4c
+8d
+e0
+ff
+a3
+e0
+6f
+60
+19
+90
+4e
+0a
+e0
+fb
+a3
+e0
+fa
+a3
+e0
+f9
+4a
+60
+0b
+12
+05
+64
+90
+4c
+8d
+e0
+a3
+f0
+80
+dd
+22
+90
+4e
+98
+ed
+f0
+e0
+fd
+90
+0b
+e8
+f0
+7e
+0b
+7f
+e9
+90
+4e
+52
+ed
+f0
+12
+0d
+cd
+7b
+01
+7a
+0b
+79
+e7
+90
+4e
+98
+e0
+24
+02
+fd
+02
+07
+d6
+90
+0b
+e7
+74
+06
+f0
+80
+d1
+90
+04
+46
+e0
+ff
+22
+90
+4b
+9c
+e0
+fe
+a3
+e0
+ff
+90
+4b
+9a
+e0
+b5
+06
+07
+a3
+e0
+b5
+07
+02
+d3
+22
+c3
+22
+90
+82
+80
+74
+01
+f0
+22
+90
+4e
+85
+eb
+f0
+a3
+ea
+f0
+a3
+e9
+f0
+ed
+1d
+ae
+04
+70
+01
+1c
+4e
+60
+17
+90
+4e
+85
+e0
+fb
+a3
+e4
+75
+f0
+01
+12
+04
+24
+a9
+f0
+fa
+74
+ff
+12
+03
+fc
+80
+df
+22
+ef
+f4
+60
+3a
+ef
+54
+07
+fe
+ef
+13
+13
+13
+54
+03
+ff
+24
+a3
+f5
+82
+e4
+34
+00
+f5
+83
+c0
+83
+c0
+82
+e0
+fd
+74
+01
+a8
+06
+08
+80
+02
+c3
+33
+d8
+fc
+f4
+fc
+5d
+d0
+82
+d0
+83
+f0
+74
+a7
+2f
+f5
+82
+e4
+34
+00
+f5
+83
+e0
+5c
+f0
+22
+e4
+ff
+ef
+fd
+7c
+00
+24
+78
+fb
+ec
+34
+80
+8b
+82
+f5
+83
+e0
+fe
+ed
+24
+70
+fd
+ec
+34
+80
+8d
+82
+f5
+83
+e0
+4e
+f4
+fe
+ef
+24
+7c
+fd
+ec
+34
+80
+8d
+82
+f5
+83
+ee
+f0
+0f
+ef
+b4
+04
+cf
+22
Index: KG9013/c51/output/geneep.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/output/geneep.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/output/otp.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/otp.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/otp.dat	(working copy)
@@ -0,0 +1,12 @@
+00
+02
+aa
+55
+00
+00
+aa
+55
+00
+00
+82
+78
Index: KG9013/c51/output/ramcode.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/ramcode.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/ramcode.rom	(working copy)
@@ -0,0 +1,909 @@
+c512800f
+c0000017
+c001801b
+c002801f
+c048015c
+c0490126
+c04a012c
+c04a8116
+c05800d8
+c05880da
+c05900ee
+c0598108
+c05b0111
+c05c80e2
+20203bf1
+c01f01cf
+c01f81d3
+c04380b6
+c04681e1
+c04781d7
+c0668166
+c06800c2
+20203bf1
+6810813b
+60008b81
+70800608
+20203003
+20400051
+20400043
+20400024
+20203015
+20403392
+20403407
+20403024
+204001f4
+20203022
+204000b1
+20740000
+1ff0fe00
+1fe20c00
+20400092
+6000cba7
+c0008037
+c0030041
+1fe20400
+18c22200
+6800c040
+c3000034
+1a220c00
+c6848000
+18427e00
+20600000
+1a220c00
+d8a000f8
+2020008a
+20400092
+20400092
+60008b7d
+2040003c
+20207c33
+20400095
+18c20400
+18508400
+60094b9a
+20600000
+d8a00cd5
+2020008a
+680a4d4c
+1c427e00
+98467e00
+68094d50
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4d4c
+6800cd52
+1fe0fe01
+6000cd52
+20600000
+680a4c59
+1c427e00
+98467e00
+d8400640
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4c59
+68094ba5
+18508400
+9840fe00
+1ff0fe00
+60014ba5
+1ff0fe00
+1fe17e03
+c1800000
+6800cc8f
+c280006e
+c2808070
+da200000
+20400081
+7089718f
+6800cc90
+60108973
+20400071
+da200001
+20200081
+708971bf
+20200071
+708971af
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+18508400
+60094c95
+20600000
+d8400021
+6800cc90
+98460400
+1a227e00
+79200407
+243a0088
+793f8407
+d8a08078
+202069f4
+20400092
+1fe27200
+2040008e
+2020003c
+20400092
+e0a08000
+c200008e
+20600000
+20400095
+e8c08000
+20600000
+58004b36
+98c67c00
+24628000
+d8c04aa0
+20600000
+df200003
+d8c04ba2
+18c22200
+68014ba0
+1ff0fe00
+1fe20a00
+1a220c00
+e8c08000
+e0a08000
+204000a9
+c20000a1
+18a27e00
+1ff0fe00
+60014ba0
+20600000
+58004b9a
+98a67c00
+24628000
+d8a04b36
+20600000
+68014b9e
+68094ba0
+202000b3
+68014b9a
+68094b9c
+98467c00
+2022e9b1
+2020320b
+1c427e00
+60024d48
+6808c7ef
+6800cd4b
+98467c00
+244100bd
+20207c06
+680a4d48
+600a47ec
+600a4c59
+600a4d4c
+20600000
+60088259
+6800cc8d
+1fe0fe01
+6000cc8d
+68008259
+207a0000
+1fe0ffff
+60008259
+204000cc
+202000c6
+6800cc15
+207a0000
+1fe0ffff
+6000cc15
+20600000
+1a627e00
+1fe17ef0
+c1280000
+1a627e00
+207a0000
+6000cba4
+2020009a
+20403b36
+20203cdc
+70416e7f
+20403cf3
+6800cc97
+207a0000
+704c9700
+1c427e00
+60024c59
+20600000
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+20001388
+20203d9d
+c6118000
+680147f4
+c284bd1e
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+2040527e
+247a0000
+20403dca
+247a0000
+20403b36
+6800c7dc
+203a3d25
+6800c793
+207a0000
+20203d25
+204000b1
+24740000
+204000ae
+24740000
+700b7f01
+700b7e01
+2040010d
+202000b1
+20400100
+24740000
+68008b7f
+247a0000
+20203d2d
+68008b7e
+2000000a
+c080010d
+20600000
+20400100
+24740000
+68008b7f
+247a0000
+20203d4f
+20400118
+20203aaf
+6800c219
+243a011e
+20403d91
+20007530
+20007530
+20007530
+20403b0a
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+60088017
+1840a204
+20203a86
+60088017
+1840a200
+20203ab6
+20400129
+58000500
+20403bf3
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+6800cbef
+c0ff8144
+6802ca91
+e0a28000
+e8c28000
+e0a28000
+708956df
+2040014b
+708955df
+20600000
+6802ca87
+e0a28000
+e8c28000
+e0a28000
+708956c2
+708955d0
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20000004
+20600000
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+708955d0
+708956c0
+20600000
+2030ba6f
+20400153
+20203a6f
+78347c00
+68120138
+79347e1a
+6012004c
+20403db0
+7000a201
+20600000
+700b7e00
+70017706
+20403fa4
+58000165
+6001428a
+580000d1
+60014292
+580001d6
+60014290
+58000024
+6001428c
+5800015f
+60014288
+58004aa0
+1ff0fe00
+60014b9a
+60014b9c
+20403e0b
+58004b36
+1ff0fe00
+60014b9e
+60014ba0
+6800cc97
+c02d0194
+20358192
+68014c91
+1ff0fe00
+60014c91
+68014c93
+1ff0fe00
+60014c93
+2040019f
+680402a0
+243a018c
+68014ad4
+1ff0fe00
+203a018c
+60014c93
+204001f1
+704ba42f
+2040009a
+704c9700
+70828003
+20600000
+704ba430
+2020018e
+1ce27e00
+203a01d9
+20405b63
+20404d99
+58000000
+60044040
+600147f4
+1c427e00
+60024c59
+704ba433
+2020018e
+2040688a
+580007e2
+da2002a0
+d840000c
+204068d3
+2040688d
+680402a0
+207a0000
+6800cc8f
+c28001b1
+c28081bf
+680102a0
+1ff0fe00
+60014c91
+680102a6
+1ff0fe00
+60014c93
+20600000
+680902a4
+680102aa
+18422400
+1fe22200
+1ff0fe00
+60014c93
+1a227e00
+98462600
+1a63a600
+1a427e00
+9a667e00
+1ff0fe00
+60014c91
+20600000
+680902a2
+680102a8
+18422400
+1fe22200
+98462600
+1a6b2600
+1a427e00
+9a667e00
+1ff0fe00
+60014c91
+1a63a600
+1a227e00
+9a667e00
+1ff0fe00
+60014c93
+20600000
+70001627
+70890f36
+70890b5f
+202053d4
+70890f2e
+70890bff
+202053d9
+20600000
+700b7e03
+2040010d
+704c975a
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+20203cda
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c01081ec
+c01101ee
+c011827c
+20207c5a
+704befff
+202002af
+793f8023
+704befff
+2020026a
+58000000
+60024ba9
+20600000
+c6918000
+20400218
+2434020b
+704c150a
+20400235
+6800cbef
+c1ff8000
+704c3d02
+6800cd46
+247a0000
+20400100
+24740000
+68008b7f
+247a0000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+5800e290
+20407e8a
+600a41fc
+20203cda
+20400100
+24740000
+68008b7f
+247a0000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+6800cc15
+243a0207
+68044d3d
+20200208
+6800cbef
+c0ff8285
+2040021e
+204002f4
+704be601
+20600000
+78547c00
+704be202
+68008cd5
+c0008228
+c001022b
+c0018231
+c003022e
+6800cd46
+245a34df
+20600000
+700cd500
+704be10a
+20200233
+700cd503
+704be104
+20200233
+700cd502
+704be103
+20200233
+704be201
+704be108
+704be700
+202034df
+704be800
+d9600d00
+34730200
+2040025e
+24378245
+2040026d
+6800cbe0
+1fe0fe01
+6000cbe0
+704d4600
+6800cbef
+c0ff825d
+20400257
+704be700
+704be600
+20600000
+704d4601
+6800cbe7
+1fe0fe01
+6000cbe7
+6800cbef
+c0ff8269
+6800cbe7
+c07f826a
+6800cbe7
+d8400010
+98467c00
+20210313
+6800cbe8
+1fe0fe01
+6000cbe8
+2000000a
+c0838236
+20200313
+58000000
+60048cd5
+20600000
+c591f2b9
+68040cd5
+20600000
+2020029f
+7857fc00
+2040036c
+18002a00
+68024c00
+98001200
+68088017
+20403a82
+20403a87
+2040032b
+20578366
+20600000
+20600000
+704d4600
+700b7d32
+20207c27
+204002d4
+6800cbdf
+207a0000
+98007200
+20400275
+d8c00cb5
+d8a00d17
+20207e45
+68008cb4
+2fe1f008
+24608000
+68088cb5
+6008ccb7
+704d4700
+20600000
+79200023
+20400281
+20400241
+704bef01
+20600000
+704be000
+704be94e
+68024beb
+202002e6
+20400281
+6800cbe6
+c000b4df
+6800cbef
+c000828d
+c0010290
+c0018293
+20203bf1
+704bef11
+700d37aa
+20200295
+704bef12
+700d3755
+20200295
+704bef13
+700d3722
+700d3802
+68024c06
+60020d39
+700d3d00
+da200d37
+d8400007
+204002cf
+204002f4
+2040021c
+202034df
+6800cbef
+c17f8000
+c00882a5
+c00902a7
+c00982a9
+20600000
+704bef02
+20200241
+704bef03
+20200241
+704befff
+700b7d31
+20407c27
+68020d19
+204002e6
+20200241
+c6118000
+204002e7
+20400313
+6800cbef
+c1ff8000
+204002c1
+58000000
+60014c04
+20403cab
+200007d0
+6800cc04
+c07f826a
+2040025e
+243782ca
+20400257
+79200023
+700b7d3c
+20207c27
+700d37ff
+6800cbe2
+60008d38
+68024c06
+60020d39
+d8400006
+da200d37
+204002cf
+202002f4
+68014c04
+1fe0fe01
+60014c04
+20400313
+202002b7
+6008cbe1
+18427200
+d8a00cd5
+1a220c00
+20207e45
+68008cb4
+1fe97e00
+6000cbdf
+1fe0fe01
+d8c00cb4
+98c08c00
+e8c18000
+6001cc0b
+20600000
+6808cc3c
+58004c2b
+98408a00
+1a227e00
+e0a08000
+18408401
+18410407
+6008cc3c
+20600000
+60024c00
+da200000
+df200004
+d8c04c00
+e8c08000
+9a20a200
+c20002ea
+1a227e00
+60014c16
+6800cc16
+6808cc17
+9840fe00
+6000cc18
+20600000
+6800cbe1
+1fe0fe02
+6000cbe3
+6800cbe2
+60008cf5
+6800cbe1
+1fe9fe00
+6808cbe0
+18410403
+18438400
+9841fe00
+6808cc0a
+9840fe00
+e0a08000
+6800cbef
+c0ff8306
+6800cbe2
+e0a08000
+6800cbe1
+98007200
+6800cbe2
+c0008311
+d8c00cd5
+20407e45
+68008cd5
+c001830f
+20600000
+700cd502
+20600000
+d8c00cd6
+20207e45
+6808cbea
+20400319
+18408401
+18410403
+6008cbea
+20600000
+6800cc00
+1fe17e03
+1fefa204
+58004bf0
+9a20fe00
+98408c00
+e8c08000
+6000cbe9
+20600000
+7844fc00
+7843fc00
+58555555
+98001e00
+6800cbe9
+1fed8400
+79200401
+18431c00
+20600000
+20400322
+7826fc00
+7830fc00
+78507c00
+78287c00
+68014be4
+98003600
+37c18400
+242c0366
+7846fc00
+7825fc00
+7823fc00
+7824fc00
+09800008
+19897e00
+6000cc19
+6808cc18
+98467c00
+24228366
+09800008
+19897e00
+60008cb3
+68008cb3
+6808cbe2
+a8400e00
+24208366
+09800008
+19897e00
+e0a08000
+1fe97e00
+1fe1721f
+2022834f
+09800008
+19897e00
+e0a08000
+c200034b
+18a22200
+09800008
+19897e00
+6000cc2a
+1a220a00
+09800018
+78287c00
+db600664
+1fef7e00
+1ff17e00
+e0a18000
+7845fc00
+20230366
+7837fc00
+68008017
+1fe0a200
+20403ab6
+7846fc00
+20403a7a
+6800cc2a
+1fe22200
+204002dd
+20600000
+784dfc00
+7845fc00
+2020375c
+20403a7a
+6808cbe9
+20203a91
+204053d2
+68024c00
+98001200
+20400322
+20400369
+79202a00
+782efc00
+78307c00
+7850fc00
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+784efc00
+782dfc00
+7823fc00
+7824fc00
+6800cc18
+08008608
+6800cbe3
+98007200
+d8c00cf5
+e8c08000
+08008608
+c2000382
+78247c00
+08008618
+78447c00
+37d38200
+20000064
+784efc00
+784dfc00
+20600000
Index: KG9013/c51/output/sched.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/sched.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/output/sched.rom	(working copy)
@@ -0,0 +1,671 @@
+0016:27
+
+00a2:00
+00a3:00 00 00 00 00 00 00 00
+07dc:00
+07dd:00
+0d37:00 00 00 00 00 00 00 00 00 00
+4000:
+29   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+35   
+00   
+00   
+00   
+4f   
+02   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+c0   
+00   
+00   
+00   
+00   
+00   
+00  
+00   
+00   
+80   
+a0   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+20   
+01   
+00   
+00   
+00   
+00   
+00   
+
+
+4131:01
+43
+4138:
+ff
+ff
+8f
+f8	
+83	
+9d
+59
+82
+
+
+36 08 c2 08 66 22    
+414a: 40 25 00
+
+12 00
+00 02
+12 00
+00 02
+00 00 
+20 00
+00 20
+20 00
+02
+24
+80 03
+00 06
+70 4f
+
+416e:80
+
+
+00 00 00 
+01
+
+41f5:10 00
+0a
+4213:40
+03
+00 00 00 00 
+00 0a 0b ef 0f
+4280:0e 00
+01
+00 
+01
+429b:30 3f
+42aa:20
+
+43d9:1f
+
+
+02 01 05 03 19 c1 03 03 03 12 18
+'\09BT4.2 Keyboard
+
+43f9:1f
+
+'\09BT4.2 Keyboard
+
+4419:
+'BT4.2 Keyboard
+
+44c2:14
+44dd:01
+
+44e4:07 
+44f9:11 46 34 54 77 dd
+
+
+4504:
+
+
+01 00 00 28 02 01 18
+
+02 00 03 28 01 20
+03 00 05 2a 01 00
+
+04 00 02 29 02 00 00
+
+
+05 00 00 28 02 00 18 
+
+06 00 03 28 01 02 
+07 00 00 2a 
+'BT4.2 Keyboard
+
+
+08 00 03 28 01 02 
+09 00 01 2a 02 c1 03 
+
+0a 00 03 28 01 02
+0b 00 04 2a 08 06 00 06 00 64 00 2c 01 
+
+
+0c 00 00 28 02 0a 18 
+
+0d 00 03 28 01 02
+0e 00 50 2a 07 02 e8 04 21 70 01 00		
+
+
+0f 00 00 28 02 12 18
+
+10 00 03 28 01 06
+11 00 4e 2a 01 01
+
+12 00 03 28 01 12   
+13 00 4d 2a 08 00 00 00 00 00 00 00 00	
+14 00 02 29 02 00 00	
+15 00 08 29 02 01 01	
+
+16 00 03 28 01 12   
+17 00 4d 2a 02 00 00 	
+18 00 02 29 02 00 00	
+19 00 08 29 02 02 01	
+
+
+1a 00 03 28 01 12  
+1b 00 4d 2a 05 00 00 00 00 00
+1c 00 02 29 02 00 00
+1d 00 08 29 02 03 01	
+
+
+1e 00 03 28 01 0e   
+1f 00 4d 2a 02 00	00	
+20 00 02 29 02 00 00	
+21 00 08 29 02 01 02	
+
+
+22 00 03 28 01 0a
+23 00 4b 2a a0
+
+05 01
+09 06
+a1 01
+85 01
+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 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+05 01 
+09 02 
+a1 01 
+85 03 
+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 80  
+26 FF 7F 
+75 10 
+95 02 
+81 06 
+09 38 
+15 81 
+25 7f 
+75 08 
+95 01 
+81 06 
+
+05 0c  
+0a 38 02
+95 01   
+81 06  
+
+c0 
+c0 
+
+
+24 00 03 28 01 02
+25 00 4a 2a 04 11 01 00 01        
+
+26 00 03 28 01 04
+27 00 4c 2a 01 00
+
+
+28 00 00 28 02 0f 18 
+
+29 00 03 28 01 12 
+2a 00 19 2a 01 64 
+
+2b 00 02 29 02 00 00 
+
+00 00
+
+
+46f9:50
+4702:
+'BT3.0 Keyboard
+4747:0a
+4759:11 48
+
+
+06
+03
+1100 0001 0210 2411  0012  0100
+
+47f6:01
+
+ff
+
+47fd:ff
+4811:
+
+04 0011 0100 1002 1124
+
+
+00010000
+
+
+3601b6
+
+
+090000 0a 00010000
+090001 3503 191124
+090004 350d 3506 190100 090011 3503 190011
+090005 3503 191002
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191124 090100
+09000d 350f 350d 3506 190100 090013 3503 190011
+
+
+
+
+
+
+090100 253d
+
+4272 6f61 6463 6f6d 2042 6c75 6574 6f6f 7468 2057 6972 656c 6573 7320 204b 6579 626f 6172 6420 
+2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 20
+
+
+090101 2508
+
+4b6579626f617264
+
+
+
+
+
+
+090102 2510
+
+4272 6f61 6463 6f6d 2043 6f72 702e 2020
+
+090200 090100
+090201 090111
+090202 0840
+090203 0821
+090204 2801
+090205 2801
+090206 35a5 35a3 0822 259f
+
+
+0501 
+0906 
+a101 
+8501 
+7501 
+9508 
+0507 
+19e0 
+29e7 
+1500 
+2501 
+8102 
+9501 
+7508 
+8103 
+9505 
+7501 
+0508 
+1901 
+2905 
+9102 
+9501 
+7503 
+9103 
+9506 
+7508 
+1500 
+25ff 
+0507 
+1900 
+29ff 
+8100 
+c0 
+
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+05 01 
+09 02 
+a1 01 
+85 03 
+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 80  
+26 FF 7F 
+75 10 
+95 02 
+81 06 
+09 38 
+15 81 
+25 7f 
+75 08 
+95 01 
+81 06 
+
+05 0c  
+0a 38 02
+95 01   
+81 06  
+
+c0 
+c0 
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 090c80
+09020d 2800
+09020e 2801
+09020f 090318
+090210 090000
+
+
+
+03 1002 1200 0001
+
+
+00010001
+
+
+3600a1
+
+
+090000 0a00010001
+090001 3503 191200
+090004 350d 3506 190100 090001 3503 190001
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191200 090100
+090100 252f42726f6164636f6d20426c7565746f6f746820576972656c657373204b6579626f61726420506e5020536572766572
+090101 25084b6579626f617264
+090200 090103
+090201
+0904e8
+090202
+097021
+090203 090001
+090204 2801
+090205 090002
+
+
+00
+
+
+
+
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+4ba2:02 01
+
+
+
+
+
+4be2:02        
+00 
+c0 12     
+4beb:20 15 10 05
+ff
+00 13 2c 42
+06 15 36 48
+0f 1a 3a 4c
+11 23 31 4d
+4c0f:4
+00 
+01
+4c60:50
+
+4c6a:17
+00 
+
+0c 00 
+05 00 
+12 b4 
+08 00 
+10 00 
+10 00 
+00 00 
+2c 01 
+
+4c8f:04    
+
+
+00 
+9f 3e
+cd 4d
+00 00 00 
+00 13
+
+4cb8:13 00
+17 00
+1b 00
+4d3d:00 48 5d 00 00 00 00 00
+4d50:  20 00		
+
+00 
+20 20 08 21		
+
+4f70:
+07 ff 
+0a fb
+0b ff 
+
+
+1a fb
+1b fb
+1c fb
+1d f6
+1e f2
+1f ee
+20 ea
+21 e6
+22 e2
+23 de
+24 da
+25 d6
+26 d2
+27 ce
+28 ca
+29 c6
+2a c2
+2b bd
+2c b9
+2d b5
+2e b1
+2f ad
+30 a9
+31 80
+32 80
+33 80
+34 c0
+35 c1
+36 c2
+37 c3
+38 c4
+39 c5
+3a c6
+3b c7
+3c 06
+3d 07
+3e 46
+3f 85
+40 86
+41 87
+42 c6
+43 c7
+44 d6
+45 d7
+46 e6
+47 f5
+48 00
+49 f8
+4a 7f
+4e ec
+4f 5e
+
+
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+
+68 e4
+69 00
+6a 00
+6b 30
+ff
Index: KG9013/c51/patch/adc.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/adc.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/bluetooth.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/bluetooth.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/geneep.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/geneep.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/global_variable.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/global_variable.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/gpio.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/gpio.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/iic.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/iic.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/ipc.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/ipc.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/kb.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/kb.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/kb.dat	(working copy)
@@ -0,0 +1,566 @@
+mem_patch00:
+29   #mem_patch00
+00   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+00   #mem_patch04
+00   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+00   #mem_patch08
+00   #mem_patch09
+00   #mem_patch0A
+00   #mem_patch0B
+00   #mem_patch0C
+00   #mem_patch0D
+00   #mem_patch0E
+00   #mem_patch0F
+00   #mem_patch10
+00   #mem_patch11
+35   #mem_patch12
+00   #mem_patch13
+00   #mem_patch14
+00   #mem_patch15
+4f   #mem_patch16
+02   #mem_patch17
+00   #mem_patch18
+00   #mem_patch19
+00   #mem_patch1A
+00   #mem_patch1B
+00   #mem_patch1C
+00   #mem_patch1D
+00   #mem_patch1E
+00   #mem_patch1F
+00   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+00   #mem_patch23
+00   #mem_patch24
+00   #mem_patch25
+00   #mem_patch26
+c0   #mem_patch27
+00   #mem_patch28
+00   #mem_patch29
+00   #mem_patch2A
+00   #mem_patch2B
+00   #mem_patch2C
+00  #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+a0   #mem_patch31
+00   #mem_patch32
+00   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+20   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+00   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
+
+
+mem_customize_timer_setup:  20 00		# 20:10ms  30:15ms
+
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:0a
+mem_lpm_interval:10 00
+mem_scan_mode:00
+mem_test:00 00
+
+mem_class: 40 25 00
+
+mem_lap:36 08 c2 08 66 22    
+mem_local_name_length:
+'BT3.0 Keyboard
+mem_sniff_param_interval:0e 00
+mem_sniff_param_attempt:01
+mem_sniff_param_timeout:01
+mem_unsniff2sniff_timer:0a
+mem_ssp_enable:00
+mem_ui_profile_supported:01
+
+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
+
+#keyboard uuid
+mem_kb_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601b6
+
+#attribute start, first 4 digit is attribute ID
+090000 0a 00010000
+090001 3503 191124
+090004 350d 3506 190100 090011 3503 190011
+090005 3503 191002
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191124 090100
+09000d 350f 350d 3506 190100 090013 3503 190011
+
+#Service Name
+#090100 2517
+#'Apple Wireless Keyboard
+#41 70 70 6c 65 20 57 69 72 65 6c 65 73 73 20 4b 65 79 62 6f 61 72 64
+#Service Name
+090100 253d
+#'Broadcom Bluetooth Wireless  Keyboard                        
+4272 6f61 6463 6f6d 2042 6c75 6574 6f6f 7468 2057 6972 656c 6573 7320 204b 6579 626f 6172 6420 
+2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 20
+
+#Service Description
+090101 2508
+#'Keyboard
+4b6579626f617264
+
+#Provider Name
+#090102 250a
+#'Apple Inc.
+#41 70 70 6c 65 20 49 6e 63 2e
+#Provider Name
+090102 2510
+#'Broadcom Corp.  
+4272 6f61 6463 6f6d 2043 6f72 702e 2020
+
+090200 090100
+090201 090111
+090202 0840
+090203 0821
+090204 2801
+090205 2801
+090206 35a5 35a3 0822 259f
+
+# hid descriptor
+0501 # Usage Page(Generic Desktop)
+0906 # Usage(Keyboard)
+a101 # Collection(Application)
+8501 # Report ID(1)
+7501 # Report Size(1)
+9508 # Report Count(8)
+0507 # Usage Page(Keyboard/Keypad)
+19e0 # Usage Minimum(224)
+29e7 # Usage Maximum(231)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+8102 # Input(Data Variable Absolute) ; Modifier byte
+9501 # Report Count(1)
+7508 # Report Size(8)
+8103 # Input(Constant Variable Absolute) ; 
+9505 # Report Count(5)
+7501 # Report Size(1)
+0508 # Usage Page(LEDs)
+1901 # Usage Minimum(1)
+2905 # Usage Maximum(5)
+9102 # Output(Data Variable Absolute) ; LED report
+9501 # Report Count(1)
+7503 # Report Size(3)
+9103 # Output(Constant Variable Absolute) ; 
+9506 # Report Count(6)
+7508 # Report Size(8)
+1500 # Logical Minimum(0)
+25ff # Logical Maximum(255)
+0507 # Usage Page(Keyboard/Keypad)
+1900 # Usage Minimum(0)
+29ff # Usage Maximum(255)
+8100 # Input(Data Array) ; Key arrarys 6 bytes
+c0 # End Collection
+
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#69
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 090c80
+09020d 2800
+09020e 2801
+09020f 090318
+090210 090000
+#attribute end
+
+#uuids for pnpInformation	
+03 1002 1200 0001
+
+#handle
+00010001
+
+#total length 90 bytes
+3600a1
+
+#attribute list
+090000 0a00010001
+090001 3503 191200
+090004 350d 3506 190100 090001 3503 190001
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191200 090100
+090100 252f42726f6164636f6d20426c7565746f6f746820576972656c657373204b6579626f61726420506e5020536572766572
+090101 25084b6579626f617264
+090200 090103
+090201# VendorID
+0904e8
+090202#ProductID
+097021
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+#Auto reconnection after power on
+
+memui_uuid_table:mem_kb_uuid_list
+#Auto reconnection after power on
+mem_device_option:43
+mem_ptt:0
+mem_features:
+ff
+ff
+8f
+f8	#fe--EDR  F8--BR
+83	#AFHclose 83
+9d
+59
+82
+
+#bluetootch param init
+mem_sp_flag:00
+mem_lpm_current_mult:00
+mem_master_sp_flag:00
+mem_le_ch_mapped:27
+
+mem_ui_button_gpio:ff
+mem_led_gpio:ff
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+
+
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service: GATT
+01 00 00 28 02 01 18
+#Characteristic: Service changed
+02 00 03 28 01 20
+03 00 05 2a 01 00
+#Client Characteristic Configuration
+04 00 02 29 02 00 00
+
+#Primary Service: GAP
+05 00 00 28 02 00 18 
+#Characteristic: Device Name
+06 00 03 28 01 02 
+07 00 00 2a 
+'BT4.2 Keyboard
+
+#Characteristic: Appearance
+08 00 03 28 01 02 
+09 00 01 2a 02 c1 03 
+#Characteristic: Peripheral Preferred Connection Parameters
+0a 00 03 28 01 02
+0b 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary Service: Device Information
+0c 00 00 28 02 0a 18 
+#Characteristic: pnp id
+0d 00 03 28 01 02
+0e 00 50 2a 07 02 e8 04 21 70 01 00		# SAMSUNG soft keyboard,setup shortcuts
+
+#Primary service: HID
+0f 00 00 28 02 12 18
+#Characteristic:Protocol mode
+10 00 03 28 01 06
+11 00 4e 2a 01 01
+#Characteristic: hid report
+12 00 03 28 01 12   
+13 00 4d 2a 08 00 00 00 00 00 00 00 00	#hid report	led handle write
+14 00 02 29 02 00 00	
+15 00 08 29 02 01 01	#Report ID: 1	Report Type: Input
+#Characteristic:hid report
+16 00 03 28 01 12   
+17 00 4d 2a 02 00 00 	#hid report	led handle write
+18 00 02 29 02 00 00	
+19 00 08 29 02 02 01	#Report ID: 2	Report Type: Input
+
+#Characteristic:hid report
+1a 00 03 28 01 12  
+1b 00 4d 2a 05 00 00 00 00 00
+1c 00 02 29 02 00 00
+1d 00 08 29 02 03 01	#Report ID: 3	Report Type: Input
+
+#Characteristic:hid report
+1e 00 03 28 01 0e   
+1f 00 4d 2a 02 00	00	#hid report	led handle write
+20 00 02 29 02 00 00	
+21 00 08 29 02 01 02	#Report ID: 1	Report Type: Output
+
+#Characteristic:Report map
+22 00 03 28 01 0a
+23 00 4b 2a a0
+#66
+05 01
+09 06
+a1 01
+85 01
+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 
+
+#25
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#60
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+#Characteristic:Hid information
+24 00 03 28 01 02
+25 00 4a 2a 04 11 01 00 01        
+#Characteristic
+26 00 03 28 01 04
+27 00 4c 2a 01 00
+
+#Primary Service: BAS
+28 00 00 28 02 0f 18 
+#Characteristic: Battery Level
+29 00 03 28 01 12 
+2a 00 19 2a 01 64 
+#Client Characteristic Configuration
+2b 00 02 29 02 00 00 
+#End of Attribute list
+00 00
+
+
+mem_le_local_mtu:17
+mem_le_transmit_window:50
+mem_le_notify_handle:14
+mem_le_lap:11 46 34 54 77 dd
+
+
+mem_empty_count:00
+mem_att_report1:13 00
+mem_att_report2:17 00
+mem_att_report3:1b 00
+mem_le_rx_window:50
+
+mem_le_connection_updata_param:
+0c 00 #Length
+05 00 #CID
+12 b4 
+08 00 
+10 00 #min interval
+10 00 #max interval
+00 00 #latency
+2c 01 #timeout
+
+mem_le_name_len:
+'BT4.2 Keyboard
+
+mem_le_adv_channel_map:07 
+mem_le_adv_direct_addr_type:01
+#mem_le_adv_interval_max:00 01
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#02 01 05 05 02 12 18 0f 18 03 19 c1 03
+02 01 05 03 19 c1 03 03 03 12 18
+'\09BT4.2 Keyboard
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+'\09BT4.2 Keyboard
+
+mem_version_yy_mm_dd:20 20 08 21		#version data 20200821
+
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+mem_adc_config_flag:04    #01 VINLPM      #02 HVIN      #04 GPIO
+
+#24g init
+mem_24g_mode:01#tx
+mem_24g_data_type:02        #mouse 1,kb 2
+mem_24g_max_retry:4#max tx retry
+mem_24g_no_ack:00#with ack
+mem_24g_rx_window:c0 12     #400us 
+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 5d 00 00 00 00 00#10 min
\ No newline at end of file
Index: KG9013/c51/patch/kb_process.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/kb_process.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/keyboard.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/keyboard.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/keyboard.format	(working copy)
@@ -0,0 +1,334 @@
+
+omemalloc(
+//Keyboard Work Area
+2 mem_kb_state
+6 mem_kb_report_data
+1 mem_kb_keys
+1 mem_kb_rcv_led_data
+4 mem_kb_fast_wake_last
+//Keyboard Config Area
+1 mem_led_cap_gpio
+1 mem_led_num_gpio
+1 mem_led_scl_gpio
+0 mem_kb_map
+630 mem_kb_uuid_list
+
+// patch area
+10 mem_24g_paring_tx_power_param
+10 mem_5db_tx_power_param
+
+//c51
+1 mem_current_event
+1 mem_ipc_lock_rx_data_bt
+1 mem_ipc_lock_rx_data_c51
+1 mem_ipc_lock_tx_data_bt
+1 mem_ipc_lock_tx_data_c51
+
+
+150 mem_ipc_2bt_fifo_head
+0	mem_ipc_2bt_fifo_end
+100 mem_ipc_2C51_fifo_head
+0	mem_ipc_2C51_fifo_end
+2	mem_ipc_2bt_read_index
+2	mem_ipc_2bt_write_index
+2	mem_ipc_2C51_read_index
+2	mem_ipc_2C51_write_index
+
+2 mem_ipc_tx_evt_buff
+1 mem_ipc_tx_evt
+
+2 mem_ipc_bt_timer
+1 mem_ipc_rx_type
+
+0 mem_rfcomm_tx_buff
+
+1 mem_queue_ele_num
+2 mem_queue_write
+2 mem_queue_read
+0 mem_queue_start
+12 mem_uart_packet
+12 mem_data_ele0
+12 mem_data_ele1
+12 mem_data_ele2
+0 mem_queue_end
+2 mem_queue_temp
+
+
+// patch allocated
+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
+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_addr
+2 mem_24g_check_dongle_times
+4 mem_24g_device_addr
+1 mem_24g_no_ack
+3 mem_24g_sta_crc
+1 mem_24g_sta_pid
+1 mem_24g_max_retry
+1 mem_24g_mode
+1 mem_24g_hop_pac_retry
+1 mem_24g_idle_timeout
+1 mem_24g_idle_cnt
+1 mem_24g_auto_paring_switch
+1 mem_24g_enter_lpm_timer
+2 mem_24g_syncword
+1 mem_24g_syncword_crc8
+1 mem_24g_get_syncword_crc8
+2 mem_24g_discard_cnt
+2 mem_cb_24g_data
+9 mem_24g_lasttx
+
+1 mem_power_ctrl_pac_succ_cnt
+1 mem_power_ctrl_level
+
+1 mem_rssi_avg_received
+1 mem_rssi_hex_received
+8 mem_rssi_signal_buf
+8 mem_rssi_noise_buf
+1 mem_rssi_noise_index
+1 mem_rssi_signal_index
+
+1 mem_tx_power
+1 mem_tx_power_temp
+3 mem_cnt
+1 mem_last_txlch
+2 mem_last_txlen
+20 mem_last_txdata
+
+//le
+4 mem_ipc_last_check_timer
+1 mem_prepare_write_len
+2 mem_ipc_c51_timer
+1 mem_le_rx_window
+2 mem_le_find_type_value_start_handle
+2 mem_le_find_type_value_end_handle
+2 mem_le_cur_att_type
+1 mem_le_search_len
+1 mem_le_ll_unknown_type
+1 mem_le_pairing_state
+2 mem_le_local_mtu
+16 mem_le_connection_updata_param
+1 mem_ltk_states
+1 mem_pair_state
+1 mem_empty_count
+1 mem_shutter_find_type_value_flag
+
+1 mem_le51_payload_len
+1 mem_le51_cmd
+
+1 mem_le51_tx_length
+1 mem_le51_txbuff_inuse
+9 mem_le51_txbuf
+
+1 mem_ipc_bt_100ms_timer
+1 mem_ipc_c51_100ms_timer
+
+1 mem_adc_config_flag
+1 mem_adc_channel
+2 mem_adc_0v
+2 mem_adc_3v
+2 mem_adc_current_value
+
+1 mem_hibernate_flag
+2 mem_new_supervision_to
+1 mem_kb_wake_timer
+20 mem_kb_last_data
+1 mem_kb_keycount
+1 mem_led_cap_delay_timer
+3 mem_test
+1 mem_seq
+1 mem_recon_index
+1 mem_power_on_flag
+1 mem_caps_num_lock
+2 mem_att_report1
+2 mem_att_report2
+2 mem_att_report3
+1 mem_suspend_flag
+120 mem_32asm_data_end
+1 mem_store_ltk_timer
+1 mem_reconnect_continue
+4 mem_le_pin_code
+8 mem_24g_enter_hibernate
+1 mem_24g_txfail_cnt
+1 mem_mouse_retry_flag
+1 mem_24g_led_flag
+4 mem_ui_timer_last_btclk_temp
+4 mem_ui_check_timer_setup
+2 mem_customize_timer_setup
+1 mem_customize_timer
+4 mem_version_yy_mm_dd
+)
+
+//C51 synchronous task
+(
+3 START_C51_CORE
+)
+
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+(
+0 P24G_PAIRING_REQ_HEAD
+1 P24G_PAIRING_COMPLETE_HEAD
+)
+
+(
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+0x4e G24_PAIR_CH
+)
+
+(
+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
+)
+
+(//bluetooth tx power
+0 TX_POWER_0DB
+1 TX_POWER_3DB
+2 TX_POWER_5DB
+3 TX_POWER_f3DB
+4 TX_POWER_f5DB
+)
+
+/* 24g */
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+7 retry_24g
+0xaaf08e acc_24g
+0x15c4 crc_data_3byte
+0xbb81 crc_data_6byte
+0x4160 crc_ack
+41390 crc_ack_4byte
+)
+
+(
+1 NO_ACK_24g
+0 with_ack_24g
+)
+
+(
+0 disable_24g
+1 tx_24g
+2 rx_24g
+
+0 bit_ack_24g
+)
+
+
+//mem_24g_data_type
+(
+0x07 bits_data
+//0-2 data type
+3 bit_abort
+4 bit_hop
+5 bit_sync
+//6-7 channel offset
+)
+
+// ble
+(
+0 FLAG_LE_PAIRING_NULL
+1 FLAG_LE_PAIRING_START
+2 FLAG_LE_PAIRING_AFTER_AUTH
+3 FLAG_LE_PAIRING_END
+)
+
+(
+0 PAIR_UNKNOWN
+1 PAIR_ING
+2 PAIR_DONE
+)
+
+(
+0 DEFAULT_STATES
+1 IPHONE_LOST_LTK
+2 MODULE_LOST_LTK
+3 LTK_NOT_LOST
+)
+
+(
+3 QUEUE_ELE_COUNT
+12 QUEUE_ELE_LENGTH
+)
+
+
+8 KB_KSCAN_ROW 
+7 KB_KSCAN_ROW_1
+20 KB_KSCAN_COL
+19 KB_KSCAN_COL_1
+
+/* ks_ctrl */
+(
+0x01 KB_KSCAN_CTRL_ENABLE					
+0x02 KB_KSCAN_CTRL_FREEZE					
+0x04 KB_KSCAN_CTRL_GHOST					
+0x08 KB_KSCAN_CTRL_INT						
+0x10 KB_KSCAN_CTRL_CLKON					
+0x20 KB_KSCAN_CTRL_FIFO_CLR				
+                  
+0 KB_KSCAN_STAT_EMPTY
+1 KB_KSCAN_STAT_FULL 					
+2 KB_KSCAN_STAT_OVERFLOW				
+6 KB_KSCAN_STAT_GHOST 
+
+0 KB_KSCAN_KEY_EVENT_STAT
+0 KB_KSCAN_KEY_PRESS	
+1 KB_KSCAN_KEY_RELEASE
+
+)
+
+
+/* special key codes */
+(
+0x1d KB_KCODE_1_M1
+0x27 KB_KCODE_0
+0x28 KB_KCODE_ENTER
+0x2a KB_KCODE_BKSP
+)
+
+
+0x01 HID_REPORTID_1
+0x02 HID_REPORTID_2
+0x03 HID_REPORTID_3
+0x04 HID_REPORTID_4
+
+/*DATA OUTPUT report id = 1*/
+0 KB_NUM_LOCK_SELECTED
+1 KB_CAPS_LOCK_SELECTED
+2 KB_SCROLL_LOCK_SELECTED
+
+
+0x1f  KB_UI_BUTTON_GPIO
+
+
+
Index: KG9013/c51/patch/keyscan.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/keyscan.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/led.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/led.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/memmap.format
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/memmap.format	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/memmap.format	(working copy)
@@ -0,0 +1,1114 @@
+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_nfreq_index_inq
+0x008d mem_nfreq_index_page
+0x008e mem_ninqy_index
+0x008f mem_fhs_misc
+0x0090 mem_tx_lch
+0x0091 mem_tx_len
+0x0093 mem_subsniff_instant
+0x0097 mem_subsniff_rate
+0x0098 mem_subsniff_tcmax
+0x009a mem_subsniff_tsniff
+0x009b mem_lpm_adjust
+0x009c mem_sync_clke
+0x00a2 mem_lpm_current_mult
+0x00a3 mem_gpio_wakeup_low
+0x00a7 mem_gpio_wakeup_high
+0x00ab mem_air_mode
+0x00ac mem_sco_asso_handle
+0x00ad mem_sco_handle
+0x00af mem_esco_desco
+0x00b0 mem_esco_type
+0x00b1 mem_neogotiation_state
+0x00b2 mem_saved_amaddr
+0x00b3 mem_esco_arq
+0x00b4 mem_esco_saved_arq
+0x00b5 mem_sco_obuf
+0x00d3 mem_sco_ibuf
+0x00f1 mem_sco_poll
+0x00f2 mem_npage_index
+0x00f3 mem_page_mode
+0x00f4 mem_page_clk
+0x00f8 mem_tst_pktcnt_sync
+0x00fa mem_tst_pktcnt_hec
+0x00fc mem_tst_pktcnt_crc
+0x00fe mem_tst_pktcnt_dmh
+0x0100 mem_tmp_buffer_head
+0x0103 mem_tmp_buffer
+0x0153 mem_tester_emulate
+0x0154 mem_temp_payload
+0x0154 test_mode_scenario
+0x0155 test_mode_hopping_mode
+0x0156 test_mode_tx_freq
+0x0157 test_mode_rx_freq
+0x0158 test_mode_power_mode
+0x0159 test_mode_poll_period
+0x015a test_mode_packet_type
+0x015b test_mode_data_length
+0x015d mem_test_mode_old_debug_config
+0x015e mem_tester_cnt
+0x015f mem_temp_am_addr
+0x0160 mem_temp_arq
+0x0161 mem_pdatatemp
+0x0169 mem_len
+0x016b mem_clkn_bt
+0x016f mem_clke_bt
+0x0173 mem_dpll_clkn
+0x0177 mem_connection_options
+0x0178 mem_nameres_cnt
+0x0179 mem_txptr
+0x017b mem_slot_offset
+0x017d extm_fhs_misc
+0x017e extm_newconn_am_addr
+0x017f extm_class
+0x0182 extm_lap
+0x0185 extm_uap
+0x0186 extm_nap
+0x0189 mem_debug_config
+0x018a mem_lch_code
+0x018b mem_fhs_am_addr
+0x018c mem_dpll_error
+0x018e mem_bdaddr_list_buff
+0x01b2 mem_select_list_item
+0x01b3 mem_temp_reconn_record
+0x01b3 mem_record_bt_mode
+0x01b4 mem_temp_lap
+0x01ba mem_list_item_ptr
+0x01bc mem_eir
+0x0220 mem_ucode_status
+0x0221 mem_otp_ucode_flag
+0x0223 mem_spid_tbuf/* spid buf: 03 addr[23:16] addr[15:8] addr[7:0] */
+0x0224 mem_iicd_tbuf/* iicd buf: iic_adr addr[15:8] addr[7:0] iic_adr */
+0x0224 mem_addr_hi
+0x0225 mem_addr_mi
+0x0226 mem_addr_lo
+0x0227 mem_iicd_addr
+0x0228 mem_spid_rbuf
+0x022c mem_ucode_buf
+0x022e mem_ucode_len
+0x0230 mem_sched_addr
+0x0232 mem_ucode_ptr
+0x0234 mem_ucode_keybuf
+0x0244 mem_check_plap_temp
+0x0256 mem_sensor_id
+0x0257 mem_reconnect_flag
+0x0258 mem_switch_fail_master_count
+0x0259 mem_app_evt_timer_count
+0x025a mem_dongle_count
+0x025b mem_le_addr_slave1
+0x0261 mem_le_addr_slave2
+0x0267 mem_le_peer_state
+0x0268 mem_app_peer_addr
+0x026e mem_dongle_peers
+0x026f mem_dongle_pairing_cnt
+0x0270 mem_dongle_signature
+0x0272 mem_h5rx_ackcnt
+0x0273 mem_check_err_acl_cont
+0x0274 mem_rp_packets
+0x0275 mem_packet_type
+0x0277 mem_hci_sniff_conn_handle
+0x0279 mem_hci_sniff_max_interval
+0x027b mem_hci_sniff_min_interval
+0x027d mem_hci_sniff_attempt
+0x027f mem_hci_sniff_timeout
+0x0281 mem_voice_setting
+0x0283 mem_retransmission_effort
+0x0284 mem_sco_ptype
+0x0286 mem_extm_uap_restore
+0x0289 mem_h5rx_rptr
+0x028b mem_h5rx_ack
+0x028c mem_h5tx_ack
+0x028d mem_h5tx_rptr
+0x028f mem_h5tx_wptr
+0x0291 mem_h5tx_free
+0x0293 mem_h5rx_tmp
+0x0294 mem_h5tx_seq
+0x0295 mem_hci_acl_queue_wptr
+0x0297 mem_hci_acl_queue_rptr
+0x0299 mem_hci_acl_queue_end
+0x029b mem_hci_acl_queue_wcnt
+0x029c mem_hci_acl_cnt
+0x029d mem_hci_acl_tx_trigger_wptr//tx via uart
+0x029f mem_ucode_id_local
+0x02a0 mem_temp//8 bytes
+0x02a8 mem_timeup// 4 bytes
+0x02ac mem_rega//4 bytes
+0x02b0 mem_regb//4 bytes
+0x02b4 mem_regc//3 bytes
+0x02b7 mem_contr//2 bytes
+0x02b9 mem_contw//2 bytes
+0x02bb mem_ucode_id_remote
+0x02bc mem_check_sum
+0x02bd mem_ucode_temp
+0x02be mem_ucode_temp1
+0x02bf mem_lock_in_enc//boolean
+0x02c0 mem_hci_disconn_reason
+0x02c1 mem_hci_curr_len
+0x02c2 mem_hci_curr_target
+0x02c4 mem_l2cap_mem_start
+0x02c4 mem_l2cap_rxbuff1_len
+0x02c6 mem_l2cap_rxbuff2_len
+0x02c8 mem_l2cap_rxbuff_new
+0x02ca mem_l2cap_rxbuff_inuse
+0x02cb mem_l2cap_payload_ptr
+0x02cd mem_l2cap_rx_pkt_length
+0x02cf mem_l2cap_rx_cid
+0x02d1 mem_l2cap_rx_done
+0x02d2 mem_l2cap_signal_tx_buff_ptr
+0x02d4 mem_l2cap_signal_tx_payload_ptr
+0x02d6 mem_l2cap_signal_tx_length
+0x02d8 mem_sdp_tx_buff_ptr
+0x02da mem_sdp_tx_payload_ptr
+0x02dc mem_sdp_tx_pkt_length
+0x02de mem_rfcomm_tx_buff_ptr
+0x02e0 mem_rfcomm_tx_payload_ptr
+0x02e2 mem_rfcomm_tx_pkt_length
+0x02e4 memL2CAP_T1
+0x02e6 mem_CONTROL_tasks
+0x02e7 mem_send_config_req
+0x02e8 mem_config_identifier
+0x02e9 mem_config_req_dest_CID
+0x02eb mem_rfcomm_malloc_fail_flag
+0x02ec mem_message_to_uppersm
+0x02ed mem_upper_sm_remote_page
+0x02ee mem_upper_sm_reconn
+0x02ef mem_upper_sm_ss
+0x02f0 mem_tx_malloc_log
+0x0330 mem_l2cap_mem_end
+0x0330 mem_scid
+0x0332 mem_cmd_length
+0x0334 mem_tt2
+0x0336 mem_tt3
+0x0338 mem_id
+0x033a mem_psm
+0x033c mem_l2cap_sdpres_delay_time
+0x0340 mem_le_rxbuf
+0x0378 mem_le_mic
+0x037c mem_le_peer_mic
+0x0380 mem_le_skdm
+0x0388 mem_le_skds
+0x0390 mem_le_peer_ltk
+0x03a0 mem_le_my_ltk
+0x03b0 mem_le_mrand
+0x03c0 mem_le_state
+0x03c1 mem_le_mode
+0x03c2 mem_le_tsniff
+0x03c4 mem_le_anchor
+0x03c8 mem_le_clk_offset
+0x03ce mem_le_receive_window
+0x03d0 mem_le_plap
+0x03d6 mem_le_conn_handle
+0x03d7 mem_le_arq
+0x03d8 mem_le_ch
+0x03d9 mem_le_hop
+0x03da mem_le_event_count
+0x03dc mem_le_supervision_timer
+0x03e0 mem_le_instant
+0x03e2 mem_le_channels
+0x03e3 mem_le_conn_sm
+0x03e4 mem_le_op
+0x03e5 mem_le_access
+0x03e9 mem_le_crcinit
+0x03ec mem_le_window_size
+0x03ed mem_le_slave_latency
+0x03ef mem_le_superto
+0x03f1 mem_le_channel_map
+0x03f6 mem_le_no_using
+0x03f8 mem_le_peer_sca
+0x03f9 mem_le_att_opcode
+0x03fa mem_le_att_handle
+0x03fc mem_le_err_code
+0x03fd mem_le_sk
+0x040d mem_le_testtype
+0x040e mem_le_test_sync
+0x0410 mem_le_test_pcnt
+0x0412 mem_le_rxon_ts
+0x0418 mem_le_rx_ll_opcode
+0x0419 mem_le_notify_attr_start
+0x041b mem_le_notify_len
+0x041c mem_cmd_le_create_conn
+0x041d mem_le_adv_temp
+0x0431 mem_24g_id
+0x0432 mem_lmo_header_length
+0x0433 mem_lmo_header_opcode
+0x0434 mem_lmo_payload
+0x0445 mem_lmi_accepted_opcode
+0x0446 mem_disconn_reason_send
+0x0447 mem_tx_fixed_freq
+0x0448 mem_rx_fixed_freq
+0x0449 mem_ext_features_page
+0x044a mem_lmpext_ssp_enable
+0x044c mem_remote_sppcap
+0x044d mem_lmp_conn_state
+0x044e mem_soft_timer
+0x0450 mem_pincode_state
+0x0451 mem_sres_tid
+0x0452 mem_accptsco_tid
+0x0453 mem_auth_enable
+0x0454 mem_wait_encryption
+0x0455 mem_sniff_payload
+0x0465 mem_aurand_send_delay_time
+0x0469 mem_module_temp_len
+0x046b mem_init_cnt
+0x046d mem_prcp_data
+0x0481 mem_prcp
+0x0482 mem_prcp_tx_len
+0x0483 rx_buf_data_ptr
+0x0485 memRemoteRPNBitRate
+0x0486 memRemotePRNDataBits
+0x0487 memRemotePRNStopBit
+0x0488 memRemotePRNParity
+0x0489 memRemotePRNFlowControl
+0x048a memRemotePRNXon
+0x048b memRemotePRNXoff
+0x048c mem_mod2div_temp
+0x048f mem_contw_temp
+0x0491 mem_attrib_list
+0x0493 mem_current_adss
+0x0494 mem_current_channel
+0x0495 mem_current_frame_type
+0x0496 mem_current_fcs
+0x0497 mem_current_length
+0x0499 mem_rfcomm_uih_payload_ptr
+0x049b mem_uih_cmd_type
+0x049c mem_uih_length
+0x049e mem_param_payload_ptr
+0x04a0 mem_ms_param
+0x04a1 mem_pn_credit_flow_type_info
+0x04a2 mem_pn_priority
+0x04a3 mem_pn_acknowledg_timer
+0x04a4 mem_pn_max_retrans
+0x04a5 mem_rfcomm_send_adss
+0x04a6 mem_rfcomm_send_frame_type
+0x04a7 mem_rfcomm_send_fcs
+0x04a8 mem_rfcomm_send_offset
+0x04a9 mem_sdp_mem_start
+0x04a9 mem_uuid_search_pat
+0x04ad mem_sdp_continue_byte
+0x04af mem_sdp_pduid
+0x04b0 mem_sdp_transactionid
+0x04b2 mem_sdp_attribute_maxbyte
+0x04b4 mem_sdp_record_maxcnt
+0x04b6 mem_sdp_error_code
+0x04be mem_sdp_record_handle
+0x04c2 mem_sdp_search_failed
+0x04c3 mem_sdp_LACAP_found
+0x04c4 mem_sdp_RFCOMM_found
+0x04c5 mem_handle_list
+0x04dd mem_handle_humber
+0x04de mem_sdp_mem_end
+0x04de mem_rxbuf
+0x04ef mem_random_number
+0x04ff mem_round_key
+0x050f mem_kinit
+0x051f mem_input_store
+0x052f mem_x
+0x053f mem_y
+0x054e mem_y15
+0x054f mem_pin_length
+0x0550 mem_pin
+0x0560 mem_key_store
+0x0571 mem_key_store_end
+0x0572 memp_ar_key
+0x0574 memp_ar_input
+0x0576 mem_ar_hround
+0x0580 mem_ec_infinite
+0x0581 mem_ec_loopc
+0x0582 memdat
+0x0582 mem_ax
+0x059a mem_ay
+0x05b2 mem_az
+0x05ca mem_bx
+0x05e2 mem_by
+0x05fa mem_bz
+0x0612 mem_cx
+0x062a mem_cy
+0x0641 mem_cy5
+0x0642 mem_cz
+0x065a mem_k
+0x0672 mem_align
+0x0682 mem_tmp1
+0x0682 memahbak
+0x069a mem_tmp5
+0x06a2 memahsave
+0x06b2 mem_tmp2
+0x06c2 memahsave_end
+0x06c2 mem_addr_padding
+0x06c3 mem_addr_value/* 12 bytes     */ 
+0x06ca mem_tmp3
+0x06ca mem_t1
+0x06cf mem_addr_value_end
+0x06d2 mem_addr_iocap_end
+0x06e2 mem_tmp0
+0x06e2 mem_t0
+0x06ea mem_tmp0a
+0x06fa mem_t2
+0x0712 mem_t3
+0x072a mem_t7
+0x0742 mem_p
+0x075a mem_a
+0x0772 mem_b
+0x078a mem_gx
+0x07a2 mem_gy
+0x07ba memh0
+0x07da mem_sp_state_start
+0x07da mem_sp_state
+0x07db mem_master_sp_state
+0x07dc mem_sp_flag
+0x07dd mem_master_sp_flag
+0x07de mem_sp_calc
+0x07df mem_sp_dh_ready
+0x07e0 mem_sp_localsm
+0x07e1 mem_pairing_auth
+0x07e2 mem_sp_flag_start
+0x07e2 mem_sp_local_key_send_count
+0x07e3 mem_sp_remote_key_recv_count
+0x07e4 mem_sp_remote_key_invalid
+0x07e5 mem_sp_dhkey_invalid
+0x07e6 mem_sp_iocap_local
+0x07e9 mem_sp_iocap_remote
+0x07ec mem_sp_gkey
+0x07f0 mem_sp_pubkey_remote
+0x07f0 mem_sp_pubkey_remote_x
+0x0808 mem_sp_pubkey_remote_x_end
+0x0808 mem_sp_pubkey_remote_y
+0x0820 mem_sp_dhkey
+0x0838 mem_sp_dhkey_end
+0x0838 mem_sp_random_local
+0x0848 mem_sp_random_local_end
+0x0848 mem_sp_random_remote
+0x0858 mem_sp_random_remote_end
+0x0858 memresult
+0x0858 mem_sp_calc_result
+0x0858 memh
+0x085c memg
+0x0860 memf
+0x0864 meme
+0x0868 mem_sp_calc_result_high
+0x0868 memd
+0x086c memc
+0x0870 memb
+0x0874 mema
+0x0878 mem_sp_check_result
+0x0888 mem_sp_confirm_remote
+0x0898 mem_sp_prarm_stack
+0x08a8 mem_UI_data_txbuff_length
+0x08aa mem_ipc_skip_continue_proc
+0x08ab mem_ui_timer_temp//length 4
+0x08ab mem_ipc_rega_temp
+0x08af mem_usb_status
+0x08b0 mem_usb_fifo_empty
+0x08b1 mem_usb_read_len
+0x08b2 mem_usb_rxbuf
+0x08f2 mem_usb_cnt
+0x08f4 mem_usb_tx_enable
+0x08f5 mem_usb_tx_count
+0x08f6 mem_usb_set_protocol_count
+0x08f7 mem_usb_desc
+0x08f8 mem_usb_state
+0x08f9 mem_usb_idle_cnt
+0x08fb mem_usb_idle_timeout
+0x08fd mem_usb_trig_timeout
+0x08ff mem_usb_setup
+0x08ff mem_usb_setup_bmRequestType
+0x0900 mem_usb_setup_bRequest
+0x0901 mem_usb_setup_bValue
+0x0902 mem_usb_setup_bValueH
+0x0903 mem_usb_setup_wIndex
+0x0905 mem_usb_setup_bLength
+0x0906 mem_usb_setup_bLengthH
+0x0907 mem_usb0_setup
+0x090f mem_bufptr
+0x0911 mem_remain
+0x0912 mem_devicedesc
+0x0926 mem_hidreportdesc_kb
+0x09ee mem_hidreportdesc_m
+0x0ab6 mem_confdesc
+0x0b1a mem_string0
+0x0b1f mem_string1
+0x0b3d mem_string2
+0x0b5b mem_string3
+0x0b79 mem_hold_contr
+0x0b7b mem_hold_contw
+0x0b7d mem_fifo_temp
+0x0b7e mem_c51_flag
+0x0b7f mem_c51_lpm_lock
+0x0b80 mem_c51_wait_lpm
+0x0b81 mem_wakup_from_power_flag
+0x0b82 mem_lmp_bb_disconnect_reason
+0x0b83 mem_c51_eeprom_buf
+0x0be7 mem_c51_ipc_txbuf
+0x0c4b mem_c51_ipc_rxbuf
+0x0caf mem_c51_iicd_buf
+0x0cb3 mem_24g_rxbuf
+0x0cd5 mem_24g_txbuf
+0x0cf5 mem_24g_txpayload
+0x0d17 mem_24g_rxpayload
+0x0d37 mem_24g_common_temp
+0x0d57 mem_packet_length_temp
+0x0d58 mem_le_cur_handle_start
+0x0d5a mem_le_cur_handle_end
+0x0d5c mem_le_search_res
+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
+0x4130 mem_current_amaddr
+0x4131 mem_lpm_mode
+0x4132 mem_device_option
+0x4133 mem_scan_mode
+0x4134 mem_last_clkn
+0x4138 mem_features
+0x4140 mem_lap
+0x4143 mem_uap
+0x4144 mem_nap
+0x4146 mem_npage
+0x4147 mem_glap
+0x414a mem_class
+0x414d mem_iscan_window
+0x414f mem_iscan_interval
+0x4151 mem_pscan_window
+0x4153 mem_pscan_interval
+0x4155 mem_page_interval
+0x4157 mem_page_window
+0x4159 mem_page_to
+0x415b mem_inq_window
+0x415d mem_fcomp_mul
+0x415e mem_fcomp_div
+0x415f mem_rx_window_init
+0x4161 mem_rx_window_sniff
+0x4163 mem_rf_init_ptr
+0x4165 mem_last_type
+0x4166 mem_last_type_esco
+0x4167 mem_last_type_saved
+0x4168 mem_retransmission_cnt
+0x416a mem_next_btclk
+0x416e mem_seqi
+0x416f mem_rf_rccal
+0x4170 mem_handle_num
+0x4171 mem_max_slot
+0x4172 mem_eir_enable
+0x4173 mem_afh_instant
+0x4177 mem_afh_error_total
+0x4179 mem_afh_cfg
+0x417a mem_afh_new_mod
+0x417b mem_afh_map_lo
+0x4180 mem_afh_map_hi
+0x4185 mem_afh_used
+0x4186 mem_afh_index
+0x4188 mem_afh_map_new
+0x4193 mem_afh_map
+0x41e3 mem_afh_timer
+0x41e7 mem_afh_classify_channel_map
+0x41f1 mem_chip_functions
+0x41f3 mem_lpm_wake_lock
+0x41f5 mem_lpm_interval
+0x41f7 mem_lpm_overhead
+0x41f8 mem_lpm_hibernate_switch
+0x41f9 mem_esco_addr
+0x41fa mem_sniff_unint_lost
+0x41fb mem_ptt
+0x41fc mem_sleep_counter//should be 0x41fc in REVC
+0x4200 mem_sleep_counter_all
+0x4204 mem_sleep_clkn
+0x420a mem_sniff_rcv
+0x420d mem_sniff_lost
+0x4210 mem_clks_per_lpo
+0x4213 mem_lpm_mult
+0x4214 mem_lpm_mult_timeout
+0x4215 mem_lpm_mult_cnt
+0x4216 mem_lpm_config
+0x4219 mem_lpm_xtalcnt
+0x421a mem_lpm_buckcnt
+0x421b mem_lpm_ldocnt
+0x421c mem_lpm_isogate
+0x421d mem_lpm_isogate_final
+0x421e mem_saved_gpio// should be 0x421e in REVC
+0x422e mem_saved_gsel
+0x4231 mem_saved_mark
+0x4239 mem_saved_spidctrl
+0x423a mem_patch_ptr
+0x423c mem_patch_len
+0x423e mem_timers
+0x425e mem_link_key_exists
+0x425f mem_link_key_eeprom_head
+0x4262 mem_link_key
+0x4272 mem_hci_cmd
+0x4273 mem_hci_conn_handle
+0x4274 mem_hci_plap
+0x4277 mem_hci_puap
+0x4278 mem_hci_pnap
+0x427a mem_uartd_rxitems_got_data
+0x427b mem_uartd_rxitems_threshold
+0x427c mem_uartd_rx_timeout
+0x427e mem_app_state
+0x427f mem_app_handshake_flag
+0x4280 mem_sniff_param_interval
+0x4282 mem_sniff_param_attempt
+0x4284 mem_sniff_param_timeout
+0x4286 mem_cb_check_wakelock
+0x4288 mem_cb_before_hibernate
+0x428a mem_cb_before_lpm
+0x428c mem_cb_le_process
+0x428e mem_cb_bt_process
+0x4290 mem_cb_idle_process
+0x4292 mem_cb_bb_event_process
+0x4294 mem_cb_discovry_timeout
+0x4296 mem_cb_att_write
+0x4298 mem_cb_update_notify_value
+0x429a mem_device_nums
+0x429b mem_eeprom_base
+0x429d mem_unsniff2sniff_timer_count
+0x429e mem_wake_up_delay_timer
+0x429f mem_app_connection_options
+0x42a0 mem_app_disconn_reason
+0x42a2 mem_app_disconn_reason_flag
+0x42a4 mem_at_using_flag
+0x42a5 mem_lpm_delay_after_sniff
+0x42a9 mem_xrecord_mode
+0x42aa mem_eeprom_block_size
+0x42ac mem_baud
+0x42ae mem_hci_lt_rx_state
+0x42af mem_l2cap_xmem_start
+0x42af mem_l2cap_tx_multi_offset//0 means single packet
+0x42b1 mem_sdp_remote_cid
+0x42b3 mem_rfcomm_remote_cid
+0x42b5 mem_hid_ctrl_remote_cid
+0x42b7 mem_hid_int_remote_cid
+0x42b9 mem_sdp_state
+0x42ba mem_rfcomm_state
+0x42bb mem_hid_control_state
+0x42bc mem_hid_interrupt_state
+0x42bd mem_spp_state
+0x42be mem_ML2CAP_comm_id
+0x42bf mem_used_map
+0x42c0 mem_tx_fifo0
+0x42c0 mem_tx_fifo0_map
+0x42c1 mem_tx_fifo0_ptr
+0x42c3 mem_tx_fifo1
+0x42c3 mem_tx_fifo1_map
+0x42c4 mem_tx_fifo1_ptr
+0x42c6 mem_tx_fifo2
+0x42c6 mem_tx_fifo2_map
+0x42c7 mem_tx_fifo2_ptr
+0x42c9 mem_tx_fifo3
+0x42c9 mem_tx_fifo3_map
+0x42ca mem_tx_fifo3_ptr
+0x42cc mem_tx_fifo_end
+0x42cc mem_l2cap_lpm_txbuf
+0x43cc mem_l2cap_flow_ctrl_flag
+0x43cd mem_l2cap_pending_item
+0x43ce mem_l2cap_xmem_end
+0x43ce mem_le_dsniff
+0x43d0 mem_le_conn_interval
+0x43d2 mem_le_scan_enable
+0x43d3 mem_le_scan_interval
+0x43d5 mem_le_scan_window
+0x43d7 mem_le_adv_led
+0x43d8 mem_le_adv_enable
+0x43d9 mem_le_adv_data_len
+0x43da mem_le_adv_data
+0x43f9 mem_le_scan_data_len
+0x43fa mem_le_scan_data
+0x4419 mem_le_name_len
+0x441a mem_le_name
+0x442e mem_le_led_on_time
+0x442f mem_le_new_map
+0x4434 mem_le_new_param
+0x4434 mem_le_new_window
+0x4435 mem_le_new_offset
+0x4437 mem_le_new_interval
+0x4439 mem_le_new_latency
+0x443b mem_le_new_timeout
+0x443d mem_le_temp
+0x443e mem_le_txheader
+0x443f mem_le_txlen
+0x4440 mem_le_txpayload
+0x4442 mem_le_txcid
+0x4444 mem_le_l2cap
+0x4445 mem_le_l2cap_response
+0x4446 mem_le_txbdy
+0x4465 mem_le_pcnt_tx
+0x446a mem_le_pcnt_rx
+0x446f mem_le_last_mic
+0x4473 mem_le_ivm
+0x4477 mem_le_ivs
+0x447b mem_le_ltk
+0x448b mem_ltk_exists
+0x448c mem_le_rconfirm
+0x449c mem_le_srand
+0x44ac mem_le_iat
+0x44ad mem_le_rat
+0x44ae mem_le_preq
+0x44b5 mem_le_pres
+0x44bc mem_le_search_handle_start
+0x44be mem_le_search_handle_end
+0x44c0 mem_le_att_offset
+0x44c0 mem_le_search_att_type
+0x44c2 mem_le_notify_handle
+0x44c4 mem_le_uuid
+0x44c6 mem_le_handle_data_len
+0x44c7 mem_le_handle_data
+0x44d7 mem_le_adv_param
+0x44d7 mem_le_adv_interval_min
+0x44d9 mem_le_adv_interval_max
+0x44db mem_le_adv_type
+0x44dc mem_le_adv_own_addr_type
+0x44dd mem_le_adv_direct_addr_type
+0x44de mem_le_adv_direct_addr
+0x44e4 mem_le_adv_channel_map
+0x44e5 mem_le_adv_filter_policy
+0x44e6 mem_le_conn_param
+0x44e6 mem_le_conn_peer_addr_type
+0x44e7 mem_le_conn_peer_addr
+0x44ed mem_le_conn_own_addr_type
+0x44ee mem_le_conn_interval_min
+0x44f0 mem_le_conn_interval_max
+0x44f2 mem_le_conn_latency
+0x44f4 mem_le_conn_superto
+0x44f6 mem_le_scan_params
+0x44f6 mem_le_scan_type
+0x44f7 mem_le_scan_own_addr_type
+0x44f8 mem_le_scan_filter_policy
+0x44f9 mem_le_lap
+0x44fc mem_le_uap
+0x44fd mem_le_nap
+0x44ff mem_le_xtype_fifo
+0x4504 mem_le_att_list
+0x46f8 mem_le_switch_send_data
+0x46f9 mem_le_transmit_window
+0x46fd mem_lmp_version
+0x4700 mem_lmp_subversion
+0x4702 mem_local_name_length
+0x4703 mem_local_name
+0x4706 mem_local_name2
+0x4746 mem_local_name_end
+0x4747 mem_unsniff2sniff_timer
+0x4748 mem_switch_flag
+0x4749 mem_eeprom_ota_base_addr/*the start- writing addr in eeprom  */
+0x474b mem_pn_dlci
+0x474c mem_pn_max_frame_size
+0x474e memFCStemp1
+0x474f memFCStemp2
+0x4750 memFCStemp3
+0x4751 mem_rfcomm_initiator
+0x4752 mem_remote_spp_channel
+0x4753 mem_HIUfcs_SPP
+0x4754 mem_HIUfcs_SPP_WCredits
+0x4755 mem_rfcomm_send_more_pkt
+0x4756 mem_remote_credits
+0x4757 mem_credit_given
+0x4758 mem_ms_channel
+0x4759 memui_uuid_table
+0x475b mem_all_uuid_16bits
+0x4771 mem_all_uuid_128bits
+0x4793 mem_sp_local_key_invalid
+0x4794 mem_sp_private_key
+0x47ac mem_sp_pubkey_local
+0x47ac mem_sp_pubkey_local_x
+0x47c4 mem_sp_pubkey_local_x_end
+0x47c4 mem_sp_pubkey_local_y
+0x47dc mem_ssp_enable
+0x47dd mem_ipc_lock_bt
+0x47de mem_ipc_lock_c51
+0x47df mem_ipc_fifo_bt2c51
+0x47e4 mem_ipc_fifo_c512bt
+0x47e9 mem_led_switch
+0x47ea mem_ui_button_timer
+0x47eb mem_ui_button_last_state
+0x47ec mem_ui_timer_last_btclk
+0x47f0 mem_discovery_timeout_timer_count
+0x47f2 mem_hid_handshake_timer_count
+0x47f3 memui_reconnect_mode
+0x47f4 mem_ui_state_map
+0x47f6 mem_ui_profile_supported
+0x47f7 mem_led_gpio
+0x47f8 mem_led_dark_time
+0x47fa mem_led_light_time
+0x47fc mem_ui_button_timeout
+0x47fd mem_ui_button_gpio
+0x47fe mem_discovery_timeout
+0x4800 mem_ir_ptr
+0x4802 mem_ir_type
+0x4803 mem_ir_cmd
+0x4804 mem_ir_play_count
+0x4805 mem_ir_report_len
+0x4807 mem_ir_pulse_zero
+0x4808 mem_ir_pulse_one
+0x4809 mem_ir_pulses
+0x4825 mem_ir_sequence_len
+0x4826 mem_ir_sequence
+0x4800 mem_acl_credits
+0x4802 mem_allow_switch
+0x4803 mem_hci_acl_queue_start/*param_acl_pktcnt+2 byte*/
+0x4807 mem_hci_wake_clk
+0x4800 mem_kb_state
+0x4802 mem_kb_report_data
+0x4808 mem_kb_keys
+0x4809 mem_kb_rcv_led_data
+0x480a mem_kb_fast_wake_last
+0x480e mem_led_cap_gpio
+0x480f mem_led_num_gpio
+0x4810 mem_led_scl_gpio
+0x4811 mem_kb_map
+0x4811 mem_kb_uuid_list
+0x4a87 mem_24g_paring_tx_power_param
+0x4a91 mem_5db_tx_power_param
+0x4a9b mem_current_event
+0x4a9c mem_ipc_lock_rx_data_bt
+0x4a9d mem_ipc_lock_rx_data_c51
+0x4a9e mem_ipc_lock_tx_data_bt
+0x4a9f mem_ipc_lock_tx_data_c51
+0x4aa0 mem_ipc_2bt_fifo_head
+0x4b36 mem_ipc_2bt_fifo_end
+0x4b36 mem_ipc_2C51_fifo_head
+0x4b9a mem_ipc_2C51_fifo_end
+0x4b9a mem_ipc_2bt_read_index
+0x4b9c mem_ipc_2bt_write_index
+0x4b9e mem_ipc_2C51_read_index
+0x4ba0 mem_ipc_2C51_write_index
+0x4ba2 mem_ipc_tx_evt_buff
+0x4ba4 mem_ipc_tx_evt
+0x4ba5 mem_ipc_bt_timer
+0x4ba7 mem_ipc_rx_type
+0x4ba8 mem_rfcomm_tx_buff
+0x4ba8 mem_queue_ele_num
+0x4ba9 mem_queue_write
+0x4bab mem_queue_read
+0x4bad mem_queue_start
+0x4bad mem_uart_packet
+0x4bb9 mem_data_ele0
+0x4bc5 mem_data_ele1
+0x4bd1 mem_data_ele2
+0x4bdd mem_queue_end
+0x4bdd mem_queue_temp
+0x4bdf mem_24g_rxdata_length
+0x4be0 mem_24g_pid
+0x4be1 mem_24g_datalen
+0x4be2 mem_24g_data_type
+0x4be3 mem_24g_txlen
+0x4be4 mem_24g_rx_window
+0x4be6 mem_24g_ensure
+0x4be7 mem_24g_get_ack_fail
+0x4be8 mem_24g_retry
+0x4be9 mem_24g_ch
+0x4bea mem_24g_current_ch_number
+0x4beb mem_24g_paring_addr
+0x4bef mem_24g_pairing_sm
+0x4bf0 mem_24g_ch_map1
+0x4bf4 mem_24g_ch_map2
+0x4bf8 mem_24g_ch_map3
+0x4bfc mem_24g_ch_map4
+0x4c00 mem_24g_addr
+0x4c04 mem_24g_check_dongle_times
+0x4c06 mem_24g_device_addr
+0x4c0a mem_24g_no_ack
+0x4c0b mem_24g_sta_crc
+0x4c0e mem_24g_sta_pid
+0x4c0f mem_24g_max_retry
+0x4c10 mem_24g_mode
+0x4c11 mem_24g_hop_pac_retry
+0x4c12 mem_24g_idle_timeout
+0x4c13 mem_24g_idle_cnt
+0x4c14 mem_24g_auto_paring_switch
+0x4c15 mem_24g_enter_lpm_timer
+0x4c16 mem_24g_syncword
+0x4c18 mem_24g_syncword_crc8
+0x4c19 mem_24g_get_syncword_crc8
+0x4c1a mem_24g_discard_cnt
+0x4c1c mem_cb_24g_data
+0x4c1e mem_24g_lasttx
+0x4c27 mem_power_ctrl_pac_succ_cnt
+0x4c28 mem_power_ctrl_level
+0x4c29 mem_rssi_avg_received
+0x4c2a mem_rssi_hex_received
+0x4c2b mem_rssi_signal_buf
+0x4c33 mem_rssi_noise_buf
+0x4c3b mem_rssi_noise_index
+0x4c3c mem_rssi_signal_index
+0x4c3d mem_tx_power
+0x4c3e mem_tx_power_temp
+0x4c3f mem_cnt
+0x4c42 mem_last_txlch
+0x4c43 mem_last_txlen
+0x4c45 mem_last_txdata
+0x4c59 mem_ipc_last_check_timer
+0x4c5d mem_prepare_write_len
+0x4c5e mem_ipc_c51_timer
+0x4c60 mem_le_rx_window
+0x4c61 mem_le_find_type_value_start_handle
+0x4c63 mem_le_find_type_value_end_handle
+0x4c65 mem_le_cur_att_type
+0x4c67 mem_le_search_len
+0x4c68 mem_le_ll_unknown_type
+0x4c69 mem_le_pairing_state
+0x4c6a mem_le_local_mtu
+0x4c6c mem_le_connection_updata_param
+0x4c7c mem_ltk_states
+0x4c7d mem_pair_state
+0x4c7e mem_empty_count
+0x4c7f mem_shutter_find_type_value_flag
+0x4c80 mem_le51_payload_len
+0x4c81 mem_le51_cmd
+0x4c82 mem_le51_tx_length
+0x4c83 mem_le51_txbuff_inuse
+0x4c84 mem_le51_txbuf
+0x4c8d mem_ipc_bt_100ms_timer
+0x4c8e mem_ipc_c51_100ms_timer
+0x4c8f mem_adc_config_flag
+0x4c90 mem_adc_channel
+0x4c91 mem_adc_0v
+0x4c93 mem_adc_3v
+0x4c95 mem_adc_current_value
+0x4c97 mem_hibernate_flag
+0x4c98 mem_new_supervision_to
+0x4c9a mem_kb_wake_timer
+0x4c9b mem_kb_last_data
+0x4caf mem_kb_keycount
+0x4cb0 mem_led_cap_delay_timer
+0x4cb1 mem_test
+0x4cb4 mem_seq
+0x4cb5 mem_recon_index
+0x4cb6 mem_power_on_flag
+0x4cb7 mem_caps_num_lock
+0x4cb8 mem_att_report1
+0x4cba mem_att_report2
+0x4cbc mem_att_report3
+0x4cbe mem_suspend_flag
+0x4cbf mem_32asm_data_end
+0x4d37 mem_store_ltk_timer
+0x4d38 mem_reconnect_continue
+0x4d39 mem_le_pin_code
+0x4d3d mem_24g_enter_hibernate
+0x4d45 mem_24g_txfail_cnt
+0x4d46 mem_mouse_retry_flag
+0x4d47 mem_24g_led_flag
+0x4d48 mem_ui_timer_last_btclk_temp
+0x4d4c mem_ui_check_timer_setup
+0x4d50 mem_customize_timer_setup
+0x4d52 mem_customize_timer
+0x4d53 mem_version_yy_mm_dd
+0x4800 mem_at_gpio
+0x4801 mem_module_wake_up_gpio
+0x4802 mem_module_state_gpio
+0x4803 mem_module_connect_state_gpio
+0x4804 mem_module_version
+0x480a mem_last_uart_clock
+0x480e mem_current_packet_length
+0x4810 mem_module_prepare_tx_len
+0x4812 mem_module_state
+0x4813 mem_module_task
+0x4814 mem_cmode_addr
+0x481a mem_at_scan_time
+0x481c mem_prarm_pswd
+0x4820 mem_prarm_uart
+0x4824 mem_prarm_blename
+0x4827 mem_prarm_name
+0x482b mem_prarm_bleadss
+0x482e mem_prarm_adss
+0x4832 mem_prarm_vers
+0x4836 mem_prarm_class
+0x483b mem_prarm_clrflg
+0x4841 mem_prarm_reconn
+0x4847 mem_prarm_bledis
+0x4849 mem_prarm_dis
+0x484c mem_prarm_stsn
+0x4850 mem_prarm_atp
+0x4853 mem_prarm_list
+0x4857 mem_prarm_role
+0x485b mem_prarm_sniff
+0x4860 mem_prarm_ldev
+0x4864 mem_prarm_rssi
+0x4868 mem_prarm_cdev
+0x486c mem_prarm_bleinqr
+0x486f mem_prarm_inqr
+0x4873 mem_prarm_cmode
+0x4878 mem_prarm_mode
+0x487c mem_prarm_dmstate
+0x4883 mem_prarm_discov
+0x4889 mem_prarm_ota
+0x488c mem_prarm_bleconn
+0x488e mem_prarm_conn
+0x4892 mem_prarm_pageout
+0x4899 mem_prarm_recfail
+0x48a0 mem_module_uuid_list
+0x4800 mem_mouse_x
+0x4802 mem_mouse_y
+0x4804 mem_mouse_z
+0x4805 mem_mouse_key
+0x4806 mem_mouse_z_last
+0x4807 mem_mouse_z_before
+0x4808 mem_mouse_z_now
+0x4809 mem_mouse_z_data
+0x480a mem_mouse_move_flag
+0x480b mem_reconnect_timeout
+0x480c mem_mouse_direct_timeout
+0x480e mem_mouse_no_data_timeout
+0x4810 mem_mouse_blank_data_timeout
+0x4812 mem_mouse_discovery_timer
+0x4814 mem_mouse_direct_timer
+0x4816 mem_mouse_no_data_timer
+0x4818 mem_mouse_blank_data_timer
+0x481a mem_mouse_send_blank_timer
+0x481b mem_mouse_dpi
+0x481c mem_mouse_dpi_button_state
+0x481d mem_mouse_test_cnt
+0x481e mem_le_hibernate_timer
+0x4820 mem_mouse_mode_state
+0x4821 mem_sensor_type
+0x4822 mem_lbutton_gpio
+0x4823 mem_rbutton_gpio
+0x4824 mem_mbutton_gpio
+0x4825 mem_dpi_button_gpio
+0x4826 mem_sensor_data_gpio
+0x4827 mem_whee_a_data_gpio
+0x4828 mem_whee_b_data_gpio
+0x4829 mem_conn_cnt
+0x482a mem_mouse_uuid_list
+0x4800 mem_shutter_send_data
+0x4804 mem_shutter_key_temp
+0x4805 mem_shutter_send_length
+0x4806 mem_shutter_clkn_bt_last
+0x480a mem_shutter_key
+0x480b mem_shutter_flag
+0x480c mem_shutter_cable_unplug_conut
+0x480d mem_shutter_hid_disconn_count
+0x480e mem_shutter_1key_send_sm
+0x480f mem_shutter_iphonekey_gpio
+0x4810 mem_shutter_androidkey_gpio
+0x4811 mem_shutter_key_number
+0x4812 mem_shutter_uuid_list
Index: KG9013/c51/patch/pwm.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/pwm.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/ram.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/ram.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/ramcode.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/ramcode.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/ramcode.rom	(working copy)
@@ -0,0 +1,909 @@
+c512800f
+c0000017
+c001801b
+c002801f
+c048015c
+c0490126
+c04a012c
+c04a8116
+c05800d8
+c05880da
+c05900ee
+c0598108
+c05b0111
+c05c80e2
+20203bf1
+c01f01cf
+c01f81d3
+c04380b6
+c04681e1
+c04781d7
+c0668166
+c06800c2
+20203bf1
+6810813b
+60008b81
+70800608
+20203003
+20400051
+20400043
+20400024
+20203015
+20403392
+20403407
+20403024
+204001f4
+20203022
+204000b1
+20740000
+1ff0fe00
+1fe20c00
+20400092
+6000cba7
+c0008037
+c0030041
+1fe20400
+18c22200
+6800c040
+c3000034
+1a220c00
+c6848000
+18427e00
+20600000
+1a220c00
+d8a000f8
+2020008a
+20400092
+20400092
+60008b7d
+2040003c
+20207c33
+20400095
+18c20400
+18508400
+60094b9a
+20600000
+d8a00cd5
+2020008a
+680a4d4c
+1c427e00
+98467e00
+68094d50
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4d4c
+6800cd52
+1fe0fe01
+6000cd52
+20600000
+680a4c59
+1c427e00
+98467e00
+d8400640
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4c59
+68094ba5
+18508400
+9840fe00
+1ff0fe00
+60014ba5
+1ff0fe00
+1fe17e03
+c1800000
+6800cc8f
+c280006e
+c2808070
+da200000
+20400081
+7089718f
+6800cc90
+60108973
+20400071
+da200001
+20200081
+708971bf
+20200071
+708971af
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+18508400
+60094c95
+20600000
+d8400021
+6800cc90
+98460400
+1a227e00
+79200407
+243a0088
+793f8407
+d8a08078
+202069f4
+20400092
+1fe27200
+2040008e
+2020003c
+20400092
+e0a08000
+c200008e
+20600000
+20400095
+e8c08000
+20600000
+58004b36
+98c67c00
+24628000
+d8c04aa0
+20600000
+df200003
+d8c04ba2
+18c22200
+68014ba0
+1ff0fe00
+1fe20a00
+1a220c00
+e8c08000
+e0a08000
+204000a9
+c20000a1
+18a27e00
+1ff0fe00
+60014ba0
+20600000
+58004b9a
+98a67c00
+24628000
+d8a04b36
+20600000
+68014b9e
+68094ba0
+202000b3
+68014b9a
+68094b9c
+98467c00
+2022e9b1
+2020320b
+1c427e00
+60024d48
+6808c7ef
+6800cd4b
+98467c00
+244100bd
+20207c06
+680a4d48
+600a47ec
+600a4c59
+600a4d4c
+20600000
+60088259
+6800cc8d
+1fe0fe01
+6000cc8d
+68008259
+207a0000
+1fe0ffff
+60008259
+204000cc
+202000c6
+6800cc15
+207a0000
+1fe0ffff
+6000cc15
+20600000
+1a627e00
+1fe17ef0
+c1280000
+1a627e00
+207a0000
+6000cba4
+2020009a
+20403b36
+20203cdc
+70416e7f
+20403cf3
+6800cc97
+207a0000
+704c9700
+1c427e00
+60024c59
+20600000
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+20001388
+20203d9d
+c6118000
+680147f4
+c284bd1e
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+2040527e
+247a0000
+20403dca
+247a0000
+20403b36
+6800c7dc
+203a3d25
+6800c793
+207a0000
+20203d25
+204000b1
+24740000
+204000ae
+24740000
+700b7f01
+700b7e01
+2040010d
+202000b1
+20400100
+24740000
+68008b7f
+247a0000
+20203d2d
+68008b7e
+2000000a
+c080010d
+20600000
+20400100
+24740000
+68008b7f
+247a0000
+20203d4f
+20400118
+20203aaf
+6800c219
+243a011e
+20403d91
+20007530
+20007530
+20007530
+20403b0a
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+60088017
+1840a204
+20203a86
+60088017
+1840a200
+20203ab6
+20400129
+58000500
+20403bf3
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+6800cbef
+c0ff8144
+6802ca91
+e0a28000
+e8c28000
+e0a28000
+708956df
+2040014b
+708955df
+20600000
+6802ca87
+e0a28000
+e8c28000
+e0a28000
+708956c2
+708955d0
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20000004
+20600000
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+708955d0
+708956c0
+20600000
+2030ba6f
+20400153
+20203a6f
+78347c00
+68120138
+79347e1a
+6012004c
+20403db0
+7000a201
+20600000
+700b7e00
+70017706
+20403fa4
+58000165
+6001428a
+580000d1
+60014292
+580001d6
+60014290
+58000024
+6001428c
+5800015f
+60014288
+58004aa0
+1ff0fe00
+60014b9a
+60014b9c
+20403e0b
+58004b36
+1ff0fe00
+60014b9e
+60014ba0
+6800cc97
+c02d0194
+20358192
+68014c91
+1ff0fe00
+60014c91
+68014c93
+1ff0fe00
+60014c93
+2040019f
+680402a0
+243a018c
+68014ad4
+1ff0fe00
+203a018c
+60014c93
+204001f1
+704ba42f
+2040009a
+704c9700
+70828003
+20600000
+704ba430
+2020018e
+1ce27e00
+203a01d9
+20405b63
+20404d99
+58000000
+60044040
+600147f4
+1c427e00
+60024c59
+704ba433
+2020018e
+2040688a
+580007e2
+da2002a0
+d840000c
+204068d3
+2040688d
+680402a0
+207a0000
+6800cc8f
+c28001b1
+c28081bf
+680102a0
+1ff0fe00
+60014c91
+680102a6
+1ff0fe00
+60014c93
+20600000
+680902a4
+680102aa
+18422400
+1fe22200
+1ff0fe00
+60014c93
+1a227e00
+98462600
+1a63a600
+1a427e00
+9a667e00
+1ff0fe00
+60014c91
+20600000
+680902a2
+680102a8
+18422400
+1fe22200
+98462600
+1a6b2600
+1a427e00
+9a667e00
+1ff0fe00
+60014c91
+1a63a600
+1a227e00
+9a667e00
+1ff0fe00
+60014c93
+20600000
+70001627
+70890f36
+70890b5f
+202053d4
+70890f2e
+70890bff
+202053d9
+20600000
+700b7e03
+2040010d
+704c975a
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+20203cda
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c01081ec
+c01101ee
+c011827c
+20207c5a
+704befff
+202002af
+793f8023
+704befff
+2020026a
+58000000
+60024ba9
+20600000
+c6918000
+20400218
+2434020b
+704c150a
+20400235
+6800cbef
+c1ff8000
+704c3d02
+6800cd46
+247a0000
+20400100
+24740000
+68008b7f
+247a0000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+5800e290
+20407e8a
+600a41fc
+20203cda
+20400100
+24740000
+68008b7f
+247a0000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+6800cc15
+243a0207
+68044d3d
+20200208
+6800cbef
+c0ff8285
+2040021e
+204002f4
+704be601
+20600000
+78547c00
+704be202
+68008cd5
+c0008228
+c001022b
+c0018231
+c003022e
+6800cd46
+245a34df
+20600000
+700cd500
+704be10a
+20200233
+700cd503
+704be104
+20200233
+700cd502
+704be103
+20200233
+704be201
+704be108
+704be700
+202034df
+704be800
+d9600d00
+34730200
+2040025e
+24378245
+2040026d
+6800cbe0
+1fe0fe01
+6000cbe0
+704d4600
+6800cbef
+c0ff825d
+20400257
+704be700
+704be600
+20600000
+704d4601
+6800cbe7
+1fe0fe01
+6000cbe7
+6800cbef
+c0ff8269
+6800cbe7
+c07f826a
+6800cbe7
+d8400010
+98467c00
+20210313
+6800cbe8
+1fe0fe01
+6000cbe8
+2000000a
+c0838236
+20200313
+58000000
+60048cd5
+20600000
+c591f2b9
+68040cd5
+20600000
+2020029f
+7857fc00
+2040036c
+18002a00
+68024c00
+98001200
+68088017
+20403a82
+20403a87
+2040032b
+20578366
+20600000
+20600000
+704d4600
+700b7d32
+20207c27
+204002d4
+6800cbdf
+207a0000
+98007200
+20400275
+d8c00cb5
+d8a00d17
+20207e45
+68008cb4
+2fe1f008
+24608000
+68088cb5
+6008ccb7
+704d4700
+20600000
+79200023
+20400281
+20400241
+704bef01
+20600000
+704be000
+704be94e
+68024beb
+202002e6
+20400281
+6800cbe6
+c000b4df
+6800cbef
+c000828d
+c0010290
+c0018293
+20203bf1
+704bef11
+700d37aa
+20200295
+704bef12
+700d3755
+20200295
+704bef13
+700d3722
+700d3802
+68024c06
+60020d39
+700d3d00
+da200d37
+d8400007
+204002cf
+204002f4
+2040021c
+202034df
+6800cbef
+c17f8000
+c00882a5
+c00902a7
+c00982a9
+20600000
+704bef02
+20200241
+704bef03
+20200241
+704befff
+700b7d31
+20407c27
+68020d19
+204002e6
+20200241
+c6118000
+204002e7
+20400313
+6800cbef
+c1ff8000
+204002c1
+58000000
+60014c04
+20403cab
+200007d0
+6800cc04
+c07f826a
+2040025e
+243782ca
+20400257
+79200023
+700b7d3c
+20207c27
+700d37ff
+6800cbe2
+60008d38
+68024c06
+60020d39
+d8400006
+da200d37
+204002cf
+202002f4
+68014c04
+1fe0fe01
+60014c04
+20400313
+202002b7
+6008cbe1
+18427200
+d8a00cd5
+1a220c00
+20207e45
+68008cb4
+1fe97e00
+6000cbdf
+1fe0fe01
+d8c00cb4
+98c08c00
+e8c18000
+6001cc0b
+20600000
+6808cc3c
+58004c2b
+98408a00
+1a227e00
+e0a08000
+18408401
+18410407
+6008cc3c
+20600000
+60024c00
+da200000
+df200004
+d8c04c00
+e8c08000
+9a20a200
+c20002ea
+1a227e00
+60014c16
+6800cc16
+6808cc17
+9840fe00
+6000cc18
+20600000
+6800cbe1
+1fe0fe02
+6000cbe3
+6800cbe2
+60008cf5
+6800cbe1
+1fe9fe00
+6808cbe0
+18410403
+18438400
+9841fe00
+6808cc0a
+9840fe00
+e0a08000
+6800cbef
+c0ff8306
+6800cbe2
+e0a08000
+6800cbe1
+98007200
+6800cbe2
+c0008311
+d8c00cd5
+20407e45
+68008cd5
+c001830f
+20600000
+700cd502
+20600000
+d8c00cd6
+20207e45
+6808cbea
+20400319
+18408401
+18410403
+6008cbea
+20600000
+6800cc00
+1fe17e03
+1fefa204
+58004bf0
+9a20fe00
+98408c00
+e8c08000
+6000cbe9
+20600000
+7844fc00
+7843fc00
+58555555
+98001e00
+6800cbe9
+1fed8400
+79200401
+18431c00
+20600000
+20400322
+7826fc00
+7830fc00
+78507c00
+78287c00
+68014be4
+98003600
+37c18400
+242c0366
+7846fc00
+7825fc00
+7823fc00
+7824fc00
+09800008
+19897e00
+6000cc19
+6808cc18
+98467c00
+24228366
+09800008
+19897e00
+60008cb3
+68008cb3
+6808cbe2
+a8400e00
+24208366
+09800008
+19897e00
+e0a08000
+1fe97e00
+1fe1721f
+2022834f
+09800008
+19897e00
+e0a08000
+c200034b
+18a22200
+09800008
+19897e00
+6000cc2a
+1a220a00
+09800018
+78287c00
+db600664
+1fef7e00
+1ff17e00
+e0a18000
+7845fc00
+20230366
+7837fc00
+68008017
+1fe0a200
+20403ab6
+7846fc00
+20403a7a
+6800cc2a
+1fe22200
+204002dd
+20600000
+784dfc00
+7845fc00
+2020375c
+20403a7a
+6808cbe9
+20203a91
+204053d2
+68024c00
+98001200
+20400322
+20400369
+79202a00
+782efc00
+78307c00
+7850fc00
+19317e00
+1fecfe00
+1ff1fe00
+08008628
+784efc00
+782dfc00
+7823fc00
+7824fc00
+6800cc18
+08008608
+6800cbe3
+98007200
+d8c00cf5
+e8c08000
+08008608
+c2000382
+78247c00
+08008618
+78447c00
+37d38200
+20000064
+784efc00
+784dfc00
+20600000
Index: KG9013/c51/patch/rf.dat
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/rf.dat	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/rf.dat	(working copy)
@@ -0,0 +1,108 @@
+mem_lpm_config:8f 10 ce
+mem_lpm_xtalcnt:00 0a 0b ef 0f
+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 20
+mem_rx_window_init:80 03
+mem_rx_window_sniff:00 06
+mem_new_supervision_to:00 13
+
+mem_eeprom_base:30 3f
+mem_eeprom_block_size:20
+#pointers to tail space of mem_le_att_list
+4f70:
+07 ff #2M_IF
+0a fb
+0b ff 
+
+#agc table
+1a fb
+1b fb
+1c fb
+1d f6
+1e f2
+1f ee
+20 ea
+21 e6
+22 e2
+23 de
+24 da
+25 d6
+26 d2
+27 ce
+28 ca
+29 c6
+2a c2
+2b bd
+2c b9
+2d b5
+2e b1
+2f ad
+30 a9
+31 80
+32 80
+33 80
+34 c0
+35 c1
+36 c2
+37 c3
+38 c4
+39 c5
+3a c6
+3b c7
+3c 06
+3d 07
+3e 46
+3f 85
+40 86
+41 87
+42 c6
+43 c7
+44 d6
+45 d7
+46 e6
+47 f5
+48 00
+49 f8
+4a 7f
+4e ec
+4f 5e
+
+# tx power
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+#dpll
+68 e4
+69 00
+6a 00
+6b 30
+ff
+mem_rf_init_ptr:70 4f
+
+mem_le_att_list+490:
+mem_5db_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+mem_24g_paring_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
Index: KG9013/c51/patch/sch.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/sch.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/sch.rom	(working copy)
@@ -0,0 +1,673 @@
+mem_patch00:
+29   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+35   
+00   
+00   
+00   
+4f   
+02   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+c0   
+00   
+00   
+00   
+00   
+00   
+00  
+00   
+00   
+80   
+a0   
+00   
+00   
+00   
+00   
+00   
+00   
+00   
+20   
+01   
+00   
+00   
+00   
+00   
+00   
+
+
+mem_customize_timer_setup:  20 00		
+
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:0a
+mem_lpm_interval:10 00
+mem_scan_mode:00
+mem_test:00 00
+
+mem_class: 40 25 00
+
+mem_lap:36 08 c2 08 66 22    
+mem_local_name_length:
+'BT3.0 Keyboard
+mem_sniff_param_interval:0e 00
+mem_sniff_param_attempt:01
+mem_sniff_param_timeout:01
+mem_unsniff2sniff_timer:0a
+mem_ssp_enable:00
+mem_ui_profile_supported:01
+
+mem_eir_enable:01
+
+mem_all_uuid_16bits:
+06
+03
+1100 0001 0210 2411  0012  0100
+
+mem_all_uuid_128bits:00
+
+
+mem_kb_uuid_list:
+
+04 0011 0100 1002 1124
+
+
+00010000
+
+
+3601b6
+
+
+090000 0a 00010000
+090001 3503 191124
+090004 350d 3506 190100 090011 3503 190011
+090005 3503 191002
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191124 090100
+09000d 350f 350d 3506 190100 090013 3503 190011
+
+
+
+
+
+
+090100 253d
+
+4272 6f61 6463 6f6d 2042 6c75 6574 6f6f 7468 2057 6972 656c 6573 7320 204b 6579 626f 6172 6420 
+2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 20
+
+
+090101 2508
+
+4b6579626f617264
+
+
+
+
+
+
+090102 2510
+
+4272 6f61 6463 6f6d 2043 6f72 702e 2020
+
+090200 090100
+090201 090111
+090202 0840
+090203 0821
+090204 2801
+090205 2801
+090206 35a5 35a3 0822 259f
+
+
+0501 
+0906 
+a101 
+8501 
+7501 
+9508 
+0507 
+19e0 
+29e7 
+1500 
+2501 
+8102 
+9501 
+7508 
+8103 
+9505 
+7501 
+0508 
+1901 
+2905 
+9102 
+9501 
+7503 
+9103 
+9506 
+7508 
+1500 
+25ff 
+0507 
+1900 
+29ff 
+8100 
+c0 
+
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+05 01 
+09 02 
+a1 01 
+85 03 
+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 80  
+26 FF 7F 
+75 10 
+95 02 
+81 06 
+09 38 
+15 81 
+25 7f 
+75 08 
+95 01 
+81 06 
+
+05 0c  
+0a 38 02
+95 01   
+81 06  
+
+c0 
+c0 
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 090c80
+09020d 2800
+09020e 2801
+09020f 090318
+090210 090000
+
+
+
+03 1002 1200 0001
+
+
+00010001
+
+
+3600a1
+
+
+090000 0a00010001
+090001 3503 191200
+090004 350d 3506 190100 090001 3503 190001
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191200 090100
+090100 252f42726f6164636f6d20426c7565746f6f746820576972656c657373204b6579626f61726420506e5020536572766572
+090101 25084b6579626f617264
+090200 090103
+090201
+0904e8
+090202
+097021
+090203 090001
+090204 2801
+090205 090002
+
+
+00
+
+
+
+memui_uuid_table:mem_kb_uuid_list
+
+mem_device_option:43
+mem_ptt:0
+mem_features:
+ff
+ff
+8f
+f8	
+83	
+9d
+59
+82
+
+
+mem_sp_flag:00
+mem_lpm_current_mult:00
+mem_master_sp_flag:00
+mem_le_ch_mapped:27
+
+mem_ui_button_gpio:ff
+mem_led_gpio:ff
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+
+
+
+
+mem_le_att_list:
+
+
+01 00 00 28 02 01 18
+
+02 00 03 28 01 20
+03 00 05 2a 01 00
+
+04 00 02 29 02 00 00
+
+
+05 00 00 28 02 00 18 
+
+06 00 03 28 01 02 
+07 00 00 2a 
+'BT4.2 Keyboard
+
+
+08 00 03 28 01 02 
+09 00 01 2a 02 c1 03 
+
+0a 00 03 28 01 02
+0b 00 04 2a 08 06 00 06 00 64 00 2c 01 
+
+
+0c 00 00 28 02 0a 18 
+
+0d 00 03 28 01 02
+0e 00 50 2a 07 02 e8 04 21 70 01 00		
+
+
+0f 00 00 28 02 12 18
+
+10 00 03 28 01 06
+11 00 4e 2a 01 01
+
+12 00 03 28 01 12   
+13 00 4d 2a 08 00 00 00 00 00 00 00 00	
+14 00 02 29 02 00 00	
+15 00 08 29 02 01 01	
+
+16 00 03 28 01 12   
+17 00 4d 2a 02 00 00 	
+18 00 02 29 02 00 00	
+19 00 08 29 02 02 01	
+
+
+1a 00 03 28 01 12  
+1b 00 4d 2a 05 00 00 00 00 00
+1c 00 02 29 02 00 00
+1d 00 08 29 02 03 01	
+
+
+1e 00 03 28 01 0e   
+1f 00 4d 2a 02 00	00	
+20 00 02 29 02 00 00	
+21 00 08 29 02 01 02	
+
+
+22 00 03 28 01 0a
+23 00 4b 2a a0
+
+05 01
+09 06
+a1 01
+85 01
+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 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+05 01 
+09 02 
+a1 01 
+85 03 
+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 80  
+26 FF 7F 
+75 10 
+95 02 
+81 06 
+09 38 
+15 81 
+25 7f 
+75 08 
+95 01 
+81 06 
+
+05 0c  
+0a 38 02
+95 01   
+81 06  
+
+c0 
+c0 
+
+
+24 00 03 28 01 02
+25 00 4a 2a 04 11 01 00 01        
+
+26 00 03 28 01 04
+27 00 4c 2a 01 00
+
+
+28 00 00 28 02 0f 18 
+
+29 00 03 28 01 12 
+2a 00 19 2a 01 64 
+
+2b 00 02 29 02 00 00 
+
+00 00
+
+
+mem_le_local_mtu:17
+mem_le_transmit_window:50
+mem_le_notify_handle:14
+mem_le_lap:11 46 34 54 77 dd
+
+
+mem_empty_count:00
+mem_att_report1:13 00
+mem_att_report2:17 00
+mem_att_report3:1b 00
+mem_le_rx_window:50
+
+mem_le_connection_updata_param:
+0c 00 
+05 00 
+12 b4 
+08 00 
+10 00 
+10 00 
+00 00 
+2c 01 
+
+mem_le_name_len:
+'BT4.2 Keyboard
+
+mem_le_adv_channel_map:07 
+mem_le_adv_direct_addr_type:01
+
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+
+02 01 05 03 19 c1 03 03 03 12 18
+'\09BT4.2 Keyboard
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+'\09BT4.2 Keyboard
+
+mem_version_yy_mm_dd:20 20 08 21		
+
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+mem_adc_config_flag:04    
+
+
+mem_24g_mode:01
+mem_24g_data_type:02        
+mem_24g_max_retry:4
+mem_24g_no_ack:00
+mem_24g_rx_window:c0 12     
+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 5d 00 00 00 00 00
+mem_lpm_xtalcnt:00 0a 0b ef 0f
+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 20
+mem_rx_window_init:80 03
+mem_rx_window_sniff:00 06
+mem_new_supervision_to:00 13
+
+mem_eeprom_base:30 3f
+mem_eeprom_block_size:20
+
+4f70:
+07 ff 
+0a fb
+0b ff 
+
+
+1a fb
+1b fb
+1c fb
+1d f6
+1e f2
+1f ee
+20 ea
+21 e6
+22 e2
+23 de
+24 da
+25 d6
+26 d2
+27 ce
+28 ca
+29 c6
+2a c2
+2b bd
+2c b9
+2d b5
+2e b1
+2f ad
+30 a9
+31 80
+32 80
+33 80
+34 c0
+35 c1
+36 c2
+37 c3
+38 c4
+39 c5
+3a c6
+3b c7
+3c 06
+3d 07
+3e 46
+3f 85
+40 86
+41 87
+42 c6
+43 c7
+44 d6
+45 d7
+46 e6
+47 f5
+48 00
+49 f8
+4a 7f
+4e ec
+4f 5e
+
+
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+
+68 e4
+69 00
+6a 00
+6b 30
+ff
+mem_rf_init_ptr:70 4f
+
+mem_le_att_list+490:
+mem_5db_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+mem_24g_paring_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
Index: KG9013/c51/patch/sched.rom
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/sched.rom	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/patch/sched.rom	(working copy)
@@ -0,0 +1,673 @@
+mem_patch00:
+29   #mem_patch00
+00   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+00   #mem_patch04
+00   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+00   #mem_patch08
+00   #mem_patch09
+00   #mem_patch0A
+00   #mem_patch0B
+00   #mem_patch0C
+00   #mem_patch0D
+00   #mem_patch0E
+00   #mem_patch0F
+00   #mem_patch10
+00   #mem_patch11
+35   #mem_patch12
+00   #mem_patch13
+00   #mem_patch14
+00   #mem_patch15
+4f   #mem_patch16
+02   #mem_patch17
+00   #mem_patch18
+00   #mem_patch19
+00   #mem_patch1A
+00   #mem_patch1B
+00   #mem_patch1C
+00   #mem_patch1D
+00   #mem_patch1E
+00   #mem_patch1F
+00   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+00   #mem_patch23
+00   #mem_patch24
+00   #mem_patch25
+00   #mem_patch26
+c0   #mem_patch27
+00   #mem_patch28
+00   #mem_patch29
+00   #mem_patch2A
+00   #mem_patch2B
+00   #mem_patch2C
+00  #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+a0   #mem_patch31
+00   #mem_patch32
+00   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+20   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+00   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
+
+
+mem_customize_timer_setup:  20 00		# 20:10ms  30:15ms
+
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:0a
+mem_lpm_interval:10 00
+mem_scan_mode:00
+mem_test:00 00
+
+mem_class: 40 25 00
+
+mem_lap:36 08 c2 08 66 22    
+mem_local_name_length:
+'BT3.0 Keyboard
+mem_sniff_param_interval:0e 00
+mem_sniff_param_attempt:01
+mem_sniff_param_timeout:01
+mem_unsniff2sniff_timer:0a
+mem_ssp_enable:00
+mem_ui_profile_supported:01
+
+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
+
+#keyboard uuid
+mem_kb_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601b6
+
+#attribute start, first 4 digit is attribute ID
+090000 0a 00010000
+090001 3503 191124
+090004 350d 3506 190100 090011 3503 190011
+090005 3503 191002
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191124 090100
+09000d 350f 350d 3506 190100 090013 3503 190011
+
+#Service Name
+#090100 2517
+#'Apple Wireless Keyboard
+#41 70 70 6c 65 20 57 69 72 65 6c 65 73 73 20 4b 65 79 62 6f 61 72 64
+#Service Name
+090100 253d
+#'Broadcom Bluetooth Wireless  Keyboard                        
+4272 6f61 6463 6f6d 2042 6c75 6574 6f6f 7468 2057 6972 656c 6573 7320 204b 6579 626f 6172 6420 
+2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 2020 20
+
+#Service Description
+090101 2508
+#'Keyboard
+4b6579626f617264
+
+#Provider Name
+#090102 250a
+#'Apple Inc.
+#41 70 70 6c 65 20 49 6e 63 2e
+#Provider Name
+090102 2510
+#'Broadcom Corp.  
+4272 6f61 6463 6f6d 2043 6f72 702e 2020
+
+090200 090100
+090201 090111
+090202 0840
+090203 0821
+090204 2801
+090205 2801
+090206 35a5 35a3 0822 259f
+
+# hid descriptor
+0501 # Usage Page(Generic Desktop)
+0906 # Usage(Keyboard)
+a101 # Collection(Application)
+8501 # Report ID(1)
+7501 # Report Size(1)
+9508 # Report Count(8)
+0507 # Usage Page(Keyboard/Keypad)
+19e0 # Usage Minimum(224)
+29e7 # Usage Maximum(231)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+8102 # Input(Data Variable Absolute) ; Modifier byte
+9501 # Report Count(1)
+7508 # Report Size(8)
+8103 # Input(Constant Variable Absolute) ; 
+9505 # Report Count(5)
+7501 # Report Size(1)
+0508 # Usage Page(LEDs)
+1901 # Usage Minimum(1)
+2905 # Usage Maximum(5)
+9102 # Output(Data Variable Absolute) ; LED report
+9501 # Report Count(1)
+7503 # Report Size(3)
+9103 # Output(Constant Variable Absolute) ; 
+9506 # Report Count(6)
+7508 # Report Size(8)
+1500 # Logical Minimum(0)
+25ff # Logical Maximum(255)
+0507 # Usage Page(Keyboard/Keypad)
+1900 # Usage Minimum(0)
+29ff # Usage Maximum(255)
+8100 # Input(Data Array) ; Key arrarys 6 bytes
+c0 # End Collection
+
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#69
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 090c80
+09020d 2800
+09020e 2801
+09020f 090318
+090210 090000
+#attribute end
+
+#uuids for pnpInformation	
+03 1002 1200 0001
+
+#handle
+00010001
+
+#total length 90 bytes
+3600a1
+
+#attribute list
+090000 0a00010001
+090001 3503 191200
+090004 350d 3506 190100 090001 3503 190001
+090006 3509 09656e 09006a 090100
+090009 3508 3506 191200 090100
+090100 252f42726f6164636f6d20426c7565746f6f746820576972656c657373204b6579626f61726420506e5020536572766572
+090101 25084b6579626f617264
+090200 090103
+090201# VendorID
+0904e8
+090202#ProductID
+097021
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+#Auto reconnection after power on
+
+memui_uuid_table:mem_kb_uuid_list
+#Auto reconnection after power on
+mem_device_option:43
+mem_ptt:0
+mem_features:
+ff
+ff
+8f
+f8	#fe--EDR  F8--BR
+83	#AFHclose 83
+9d
+59
+82
+
+#bluetootch param init
+mem_sp_flag:00
+mem_lpm_current_mult:00
+mem_master_sp_flag:00
+mem_le_ch_mapped:27
+
+mem_ui_button_gpio:ff
+mem_led_gpio:ff
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+
+
+
+#attribute list: handle 2bytes, uuid 2bytes, length 1bytes, attribute Nbytes
+mem_le_att_list:
+
+#Primary service: GATT
+01 00 00 28 02 01 18
+#Characteristic: Service changed
+02 00 03 28 01 20
+03 00 05 2a 01 00
+#Client Characteristic Configuration
+04 00 02 29 02 00 00
+
+#Primary Service: GAP
+05 00 00 28 02 00 18 
+#Characteristic: Device Name
+06 00 03 28 01 02 
+07 00 00 2a 
+'BT4.2 Keyboard
+
+#Characteristic: Appearance
+08 00 03 28 01 02 
+09 00 01 2a 02 c1 03 
+#Characteristic: Peripheral Preferred Connection Parameters
+0a 00 03 28 01 02
+0b 00 04 2a 08 06 00 06 00 64 00 2c 01 # interval 6ms, latency 100, timeout 300
+
+#Primary Service: Device Information
+0c 00 00 28 02 0a 18 
+#Characteristic: pnp id
+0d 00 03 28 01 02
+0e 00 50 2a 07 02 e8 04 21 70 01 00		# SAMSUNG soft keyboard,setup shortcuts
+
+#Primary service: HID
+0f 00 00 28 02 12 18
+#Characteristic:Protocol mode
+10 00 03 28 01 06
+11 00 4e 2a 01 01
+#Characteristic: hid report
+12 00 03 28 01 12   
+13 00 4d 2a 08 00 00 00 00 00 00 00 00	#hid report	led handle write
+14 00 02 29 02 00 00	
+15 00 08 29 02 01 01	#Report ID: 1	Report Type: Input
+#Characteristic:hid report
+16 00 03 28 01 12   
+17 00 4d 2a 02 00 00 	#hid report	led handle write
+18 00 02 29 02 00 00	
+19 00 08 29 02 02 01	#Report ID: 2	Report Type: Input
+
+#Characteristic:hid report
+1a 00 03 28 01 12  
+1b 00 4d 2a 05 00 00 00 00 00
+1c 00 02 29 02 00 00
+1d 00 08 29 02 03 01	#Report ID: 3	Report Type: Input
+
+#Characteristic:hid report
+1e 00 03 28 01 0e   
+1f 00 4d 2a 02 00	00	#hid report	led handle write
+20 00 02 29 02 00 00	
+21 00 08 29 02 01 02	#Report ID: 1	Report Type: Output
+
+#Characteristic:Report map
+22 00 03 28 01 0a
+23 00 4b 2a a0
+#66
+05 01
+09 06
+a1 01
+85 01
+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 
+
+#25
+05 0c  		
+09 01  		
+a1 01	
+85 02			
+19 00  		
+2a ff 03 
+15 00 
+26 ff 03		
+95 01  		
+75 10  			
+81 00  		
+c0
+
+#29
+#05 01
+#09 80
+#A1 01
+#85 03
+#15 00
+#25 01
+#75 01
+#95 03
+#19 81
+#29 83
+#81 02
+#95 01
+#75 05
+#81 03
+#C0
+
+#60
+05 01 # Usage Page(Generic Desktop)
+09 02 # Usage(Mouse)
+a1 01 # Collection(Application)
+85 03 # Report ID(3)
+09 01 # Usage(Pointer)
+a1 00 # Collection(Physical)
+05 09 # Usage Page(Buttons)
+19 01 # Usage Minimum(1)
+29 08 # Usage Maximum(8)
+15 00 # Logical Minimum(0)
+25 01 # Logical Maximum(1)
+75 01 # Report Size(1)
+95 08 # Report Count(8)
+81 02 # Input(Data Variable Absolute)
+05 01 # Usage Page(Generic Desktop)
+09 30 # Usage(X)
+09 31 # Usage(Y)
+16 01 80  #Logical Minimum (-32767)
+26 FF 7F #Logical Maximum (32767) 
+75 10 # Report Size(16)
+95 02 # Report Count(2)
+81 06 # Input(Data Variable Relative)
+09 38 # Usage(Wheel)
+15 81 # Logical Minimum(-127)
+25 7f # Logical Maximum(127)
+75 08 # Report Size(8)
+95 01 # Report Count(1)
+81 06 # Input(Data Variable Relative)
+
+05 0c  #USAGE_PAGE(Consumer Devices)
+0a 38 02
+95 01   #REPORT_COUNT (1)	
+81 06  #INPUT (Data,Var,Rel)
+
+c0 # End Collection
+c0 # End Collection
+
+#Characteristic:Hid information
+24 00 03 28 01 02
+25 00 4a 2a 04 11 01 00 01        
+#Characteristic
+26 00 03 28 01 04
+27 00 4c 2a 01 00
+
+#Primary Service: BAS
+28 00 00 28 02 0f 18 
+#Characteristic: Battery Level
+29 00 03 28 01 12 
+2a 00 19 2a 01 64 
+#Client Characteristic Configuration
+2b 00 02 29 02 00 00 
+#End of Attribute list
+00 00
+
+
+mem_le_local_mtu:17
+mem_le_transmit_window:50
+mem_le_notify_handle:14
+mem_le_lap:11 46 34 54 77 dd
+
+
+mem_empty_count:00
+mem_att_report1:13 00
+mem_att_report2:17 00
+mem_att_report3:1b 00
+mem_le_rx_window:50
+
+mem_le_connection_updata_param:
+0c 00 #Length
+05 00 #CID
+12 b4 
+08 00 
+10 00 #min interval
+10 00 #max interval
+00 00 #latency
+2c 01 #timeout
+
+mem_le_name_len:
+'BT4.2 Keyboard
+
+mem_le_adv_channel_map:07 
+mem_le_adv_direct_addr_type:01
+#mem_le_adv_interval_max:00 01
+mem_le_adv_data_len:1f
+mem_le_adv_data:
+#02 01 05 05 02 12 18 0f 18 03 19 c1 03
+02 01 05 03 19 c1 03 03 03 12 18
+'\09BT4.2 Keyboard
+
+mem_le_scan_data_len:1f
+mem_le_scan_data:
+'\09BT4.2 Keyboard
+
+mem_version_yy_mm_dd:20 20 08 21		#version data 20200821
+
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+mem_adc_config_flag:04    #01 VINLPM      #02 HVIN      #04 GPIO
+
+#24g init
+mem_24g_mode:01#tx
+mem_24g_data_type:02        #mouse 1,kb 2
+mem_24g_max_retry:4#max tx retry
+mem_24g_no_ack:00#with ack
+mem_24g_rx_window:c0 12     #400us 
+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 5d 00 00 00 00 00#10 minmem_lpm_config:8f 10 ce
+mem_lpm_xtalcnt:00 0a 0b ef 0f
+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 20
+mem_rx_window_init:80 03
+mem_rx_window_sniff:00 06
+mem_new_supervision_to:00 13
+
+mem_eeprom_base:30 3f
+mem_eeprom_block_size:20
+#pointers to tail space of mem_le_att_list
+4f70:
+07 ff #2M_IF
+0a fb
+0b ff 
+
+#agc table
+1a fb
+1b fb
+1c fb
+1d f6
+1e f2
+1f ee
+20 ea
+21 e6
+22 e2
+23 de
+24 da
+25 d6
+26 d2
+27 ce
+28 ca
+29 c6
+2a c2
+2b bd
+2c b9
+2d b5
+2e b1
+2f ad
+30 a9
+31 80
+32 80
+33 80
+34 c0
+35 c1
+36 c2
+37 c3
+38 c4
+39 c5
+3a c6
+3b c7
+3c 06
+3d 07
+3e 46
+3f 85
+40 86
+41 87
+42 c6
+43 c7
+44 d6
+45 d7
+46 e6
+47 f5
+48 00
+49 f8
+4a 7f
+4e ec
+4f 5e
+
+# tx power
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+#dpll
+68 e4
+69 00
+6a 00
+6b 30
+ff
+mem_rf_init_ptr:70 4f
+
+mem_le_att_list+490:
+mem_5db_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
+mem_24g_paring_tx_power_param:
+55 d0
+56 c0
+57 4c
+58 6c
+59 50
+
Index: KG9013/c51/patch/sys.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/sys.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/patch/utilities.obj
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/patch/utilities.obj
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/pwm.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/pwm.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/pwm.h	(working copy)
@@ -0,0 +1,13 @@
+#ifndef _PWM_H
+#define _PWM_H
+#include "common.h"
+
+void YC_PWM_init();
+void YC_PWM_set_duty(byte pwm_duty);
+void YC_PWM_disable();
+
+
+
+#endif /* YC_PWM_H */
+
+
Index: KG9013/c51/pwm.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/pwm.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/pwm.c	(working copy)
@@ -0,0 +1,55 @@
+#include "pwm.h"
+
+/*
+			0x00:select system clock 12M;
+			0x40:select undivied system clock 24M/48M;
+			0x80:select lpo clock:33K
+*/			
+
+void YC_PWM_init()
+{
+	REG_PWM_CLK_SEL |= 0x00;	// select system clock
+	REG_CLK_OFF(1)  &= ~0x20;	//turn on PWM clock
+	REG_GPIO_SEL(2)  |= 0x10;	//set gpio19 to PWM
+}
+
+
+void YC_PWM_set_duty(byte pwm_duty_level)
+{
+	word pwm_duty;
+	if(pwm_duty_level == 0)
+	{
+		YC_PWM_disable();
+		GPIO_SetOutput(BACKLIGHT_LED_GPIO,LED_OFF);
+		return;
+	}
+	else if(pwm_duty_level == 1)
+		pwm_duty = 20;
+	else if(pwm_duty_level == 2)
+		pwm_duty = 66;
+	else if(pwm_duty_level == 3)
+	{
+		YC_PWM_disable();
+		GPIO_SetOutput(BACKLIGHT_LED_GPIO,LED_ON);
+		return;
+	}
+
+
+	YC_PWM_init();
+	REG_PWM_PCOUNT(0) = (100 - pwm_duty );
+	REG_PWM_NCOUNT(0) = pwm_duty;
+	
+	REG_PWM_ENABLE |= 0x40;
+		
+}
+
+
+void YC_PWM_disable()
+{
+	REG_CLK_OFF(1)  |= 0x20;	//turn on PWM clock
+	REG_GPIO_SEL(2)  &= ~0x10;	//set gpio19 to PWM
+
+	REG_PWM_ENABLE &= ~0x40;
+}
+
+
Index: KG9013/c51/ram.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/ram.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/ram.c	(working copy)
@@ -0,0 +1,8 @@
+
+extern void YC_System_Main(void);
+
+
+void main()
+{
+	YC_System_Main();
+}
Index: KG9013/c51/sys.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/sys.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/sys.h	(working copy)
@@ -0,0 +1,74 @@
+#ifndef _YC_SYSTEM_H_
+#define _YC_SYSTEM_H_
+#include "common.h"
+
+#define SYSTEM_CONTROL_ENABLE
+#define STANDBY_TIMER_30MIN				3600		// 500ms*3600 = 30min
+#define STANDBY_TIMER_10MIN				1200		// 500ms*1200 = 10min
+#define STANDBY_TIMER_5MIN				600			// 500ms*600 = 5min
+#define RECONNECT_TIMER_5S				10			// 500ms*10 = 5s
+#define RECONNECT_TIMER_10S			20			// 500ms*20 = 10s
+
+#define BT_PAIRING_TIME_OUT_30S			60			// 500ms*60 = 30s
+#define BT_PAIRING_TIME_OUT_1MIN		120			// 500ms*120 = 1min
+#define G24_PAIRING_TIME_OUT_30S		60			// 500ms*60 = 30s
+
+#define LOW_BATTARY_FLASH_20S			40
+
+#define KB_NUM_CAPS_LED_ON_TIMER    	12			// 500ms*12 = 6s
+
+#define KB_POWERON_LED_ON_TIMER		10			// 100ms*10 = 1s
+
+
+typedef enum c51_ble_state_enum
+{
+	CHANGE_TO_BLE_DISCONNECT =0,
+	CHANGE_TO_BLE_INDIR_ADV = 1,
+	CHANGE_TO_BLE_DIRECT_ADV,
+	CHANGE_TO_BLE_CONNECTING,
+	CHANGE_TO_BLE_CONNECTED,
+}C51_BLE_STATE;
+
+typedef enum c51_br_state_enum{
+	CHANGE_TO_BR_DISCONNECT =0,
+	CHANGE_TO_BR_DISCOVERY = 1,
+	CHANGE_TO_BR_RECONNECT,
+	CHANGE_TO_BR_CONNECTING,
+	CHANGE_TO_BR_CONNECTED,
+}C51_BR_STATE;
+
+typedef enum c51_24g_state_enum{
+	CHANGE_TO_24G_DISCONNECTED =0,
+	CHANGE_TO_24G_PAIRING= 1,
+	CHANGE_TO_24G_CONNECTING,
+	CHANGE_TO_24G_CONNECTED,
+}C51_24G_STATE;
+
+typedef enum c51_ble_connecting_substate_enum
+{
+	CHANGE_TO_BLE_SUB_NONE=0,
+	CHANGE_TO_BLE_SUB_INIT,
+	CHANGE_TO_BLE_SUB_PINCODE,
+	CHANGE_TO_BLE_SUB_PINCODE_OK,
+}C51_BLE_CONNECTING_SUBSTATE;
+
+typedef enum c51_br_connecting_substate_enum
+{
+	CHANGE_TO_BR_SUB_NONE =0,
+	CHANGE_TO_BR_SUB_INIT,
+	CHANGE_TO_BR_SUB_PINCODE,
+	CHANGE_TO_BR_SUB_PINCODE_OK,
+}C51_BR_CONNECTING_SUBSTATE;
+
+typedef enum c51_24g_connecting_substate_enum
+{
+	CHANGE_TO_24G_SUB_NONE=0,
+	CHANGE_TO_24G_SUB_INIT ,
+}C51_24G_CONNECTING_SUBSTATE;
+
+void System_long_sleep();
+void System_Reset_Connect();
+void YC_adc_init();
+
+
+#endif
Index: KG9013/c51/sys.c
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/sys.c	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/sys.c	(working copy)
@@ -0,0 +1,410 @@
+#include "sys.h"
+#include "gpio.h"
+#include "kbhid.h"
+#include "ipc.h"
+#include "iic.h"
+#include "keyscan.h"
+#include "global_variable.h"
+#include "kb_process.h"
+
+/////////////////////////////////////////////////////////////////
+static void System_clear_mem()
+{
+	xmemclear((byte *)&g_variable,sizeof(G_VARIABLE_MAP));
+	xmemclear(ksSelMapOld,KB_KSCAN_COL_NUM);
+	xmemclear(ksSelMapCheck,KB_KSCAN_COL_NUM);
+	xmemclear(ksSelMapCurr,KB_KSCAN_COL_NUM);
+	xmemclear(hidBuff,9);
+	xmemclear(multikey,9);
+ 
+	delayChgInvTimer = 0;
+	action_timeout = 0;
+
+
+	power_on_flag = 0;
+	repeat_send_24g = 0;
+	get_24g_led_send = 0;
+	press_long_time_flag = 0;
+	mult_key_status = 0;
+	long_press_flag = 0;
+	standard_key_release_flag = 0;
+	fn_flag = 0;
+	fn_flag_last = 0;
+	fn_tx_flag = 0;
+	fn_lock_flag = 0;
+
+	mult_key_value = 0;
+	m_caps_num_lock_last = 0; 
+	m_reconnect_continue = 0;
+}
+
+static void System_Hardware_init()
+{
+	KS_Initialize();
+	YC_PWM_init();
+	LED_all_shutdown();
+}
+
+
+void System_Software_init()
+{
+	System_clear_mem();
+	YC_adc_init();
+	g_variable.release_data =1;
+	g_variable.powerOn_timer = KB_POWERON_LED_ON_TIMER;
+	g_variable.recon_count = 0;
+	g_variable.test_buff = 0xff;
+}
+
+static void System_Hardware_reset()
+{
+	m_reset_reg = 1;
+	while(1);
+}
+
+void System_long_sleep()
+{ 
+	m_reconnect_continue = 0;
+	IPC_TxControlCmd(IPC_CMD_ENTER_HIBERNATE);
+}
+
+void System_Reset_Connect()
+{
+	System_Hardware_reset();
+}
+/////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////
+static void kb_cb_Hid(byte *p,byte len) {
+	//p[0] is hid type,always is 1(kb) now
+	byte temp = p[1];
+
+	if (len<2) {
+		return;
+	}
+}
+
+static void kb_cb_event(byte evt)
+{
+	switch (evt) 
+	{
+	case IPC_EVT_HIBERNATE_WAKE:
+		Delay1ms(10);
+		IIC_Read(EEPROM_BATTERY_SHUT_DOWN,1 , (byte *)g_variable.battary_shutdown_flag);
+		if(g_variable.battary_shutdown_flag == 1)
+		{
+			m_lpm_mode = 0;
+			while(!m_adcCurrentValue);
+			m_lpm_mode = 1;
+			if(m_adcCurrentValue < g_variable.battery_level_shutdown)
+			{
+				return;
+			}
+		}
+	case IPC_EVT_RESET:
+		System_Hardware_init();
+		System_Software_init();	
+		IIC_Read(EEPROM_RECON_INFO_BASE_6+2,4 , (byte *)m_24g_addr);
+		Delay1ms(10);
+		IIC_Read(EEPROM_RECON_INFO_SYTEM_MODE,1 , (byte *)g_variable.system_mode);
+		YC_start_reconnect();
+		break;
+	case IPC_EVT_WAKEUP:
+		KS_Initialize();
+		break;
+
+		
+// 2.4G event	
+	case IPC_EVT_24G_PAIRING_COMPLETE:
+	case IPC_EVT_24G_ATTEMPT_SUCCESS:
+		g_variable.g24_currentState =  CHANGE_TO_24G_CONNECTED;
+		g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+		YC_clear_reconnect_flag();
+		g_variable.pairing_g24_timeout = 0;
+		g_variable.release_data = 0;
+		g_variable.last_device_num = 0xfe;
+		g_variable.current_device_num = 0xfe;
+
+		if(evt == IPC_EVT_24G_PAIRING_COMPLETE)
+		{
+			g_variable.powerOn_timer = KB_POWERON_LED_ON_TIMER;
+			if(m_24g_paring_addr[0] != 0x0f || m_24g_paring_addr[1] != 0x0f ||
+				m_24g_paring_addr[2] != 0x0f || m_24g_paring_addr[3] != 0x0f)
+				g_variable.update_eeprom_flag = 1;
+		}
+		break;
+	
+	case IPC_EVT_24G_ATTEMPT_FAIL:	
+		g_variable.g24_currentState =  CHANGE_TO_24G_DISCONNECTED;
+		g_variable.g24_currentSubState = CHANGE_TO_24G_SUB_NONE;
+		g_variable.sleepTimer = 0;
+		g_variable.release_data = 1;
+
+		if (g_variable.key_action != KEY_NONE)
+		{
+			YC_clear_reconnect_flag();
+			YC_key_action_handle(g_variable.key_action);
+			break;
+		}
+
+		if (g_variable.lockLpm == 1)
+		{
+			g_variable.lockLpm =0;
+			System_long_sleep();
+			break;
+		}
+		break;
+	}
+}
+
+
+void LED_timer500ms()
+{
+	if (power_on_flag != 2)
+		return;
+ 	if (g_variable.pairing_g24_timeout != 0)
+	{
+		GPIO_FlipOutBit(NUM_LOCK_LED_GPIO);
+		GPIO_FlipOutBit(CAPS_LED_GPIO);
+		GPIO_FlipOutBit(SCROLL_LED_GPIO);
+	}
+}
+
+void YC_connect_timeout_500ms()
+{
+	
+//system long sleep timer
+	if(g_variable.g24_currentState == CHANGE_TO_24G_CONNECTED)
+	{
+		if (g_variable.sleepTimer == STANDBY_TIMER_5MIN)
+			System_long_sleep();
+	}
+	else if(g_variable.g24_currentState == CHANGE_TO_24G_PAIRING)
+	{
+		if (g_variable.sleepTimer == G24_PAIRING_TIME_OUT_30S)
+		{
+			IPC_TxControlCmd(IPC_CMD_STOP_24G);
+			System_long_sleep();
+		}
+	}
+	else
+	{
+		if (g_variable.sleepTimer == RECONNECT_TIMER_10S)
+		{
+			System_long_sleep();
+		}
+	}
+}
+
+
+
+void YC_pairing_timerout_500ms()
+{
+//pairing timer
+	if (g_variable.pairing_g24_timeout != 0)
+	{
+		g_variable.sleepTimer = 0;
+		g_variable.pairing_g24_timeout--;
+		if (g_variable.pairing_g24_timeout == 0)
+		{
+			IPC_TxControlCmd(IPC_CMD_STOP_24G);
+			Delay1ms(10);
+			System_long_sleep();
+		}
+	}
+}
+
+void kb_button_press_timer500ms()
+{
+	
+//key status 
+	if (g_variable.button_flag & KEY_FLAG_SAME_KEY_PRESS)
+	{
+		if (g_variable.button_timer[1] < 250)
+			g_variable.button_timer[1]++;
+		if (g_variable.button_timer[1] == 180)			// 500ms*180*3 = 4min30s
+		{
+			press_long_time_flag++;
+			if(press_long_time_flag <= 2)
+			{
+				g_variable.button_timer[1] = 0;
+			}
+			else if(press_long_time_flag == 3)
+			{
+				long_press_flag = 1;
+				g_variable.button_timer[1] = 0;
+				System_long_sleep();
+			}
+		}
+	}
+	else
+		press_long_time_flag = 0;
+		
+	if (g_variable.button_flag & KEY_FLAG_FN_24G_DEVICE_BUTTON)		// G24 pairing
+	{
+		g_variable.delay_enter_lpm_timer = 10;
+		if (g_variable.button_timer[2] < 250)
+			g_variable.button_timer[2]++;
+		if (g_variable.button_timer[2] == 6)
+		{
+			if( !g_variable.current_device_num || (g_variable.current_device_num == 0xfe))
+			{
+				YC_disconnect_all_link();
+				Delay1ms(10);
+				YC_key_action_handle(KEY_PAIRING_24G);
+			}
+		}
+	}
+	else
+		g_variable.button_timer[2] = 0;
+	
+}
+
+
+
+static void kb_cb_Timer500ms()
+{
+	LED_timer500ms();	
+
+	g_variable.sleepTimer++;
+
+	YC_adc_check_timer500ms();
+	YC_connect_timeout_500ms();
+	kb_button_press_timer500ms();
+	YC_pairing_timerout_500ms();
+	
+	return;
+}
+
+
+static void kb_cb_Timer100ms()
+{
+
+	if (g_variable.delay_enter_lpm_timer) 
+	{
+		g_variable.delay_enter_lpm_timer --;
+	}
+
+	if(g_variable.recon_delay)
+		g_variable.recon_delay--;
+
+	if (g_variable.powerOn_timer != 0)
+	{	
+		g_variable.powerOn_timer--;
+		GPIO_Setout(NUM_LOCK_LED_GPIO,LED_ON);
+		GPIO_Setout(CAPS_LED_GPIO,LED_ON);
+		GPIO_Setout(SCROLL_LED_GPIO,LED_ON);
+		if (!g_variable.powerOn_timer)
+		{
+			GPIO_Setout(NUM_LOCK_LED_GPIO,LED_OFF);
+			GPIO_Setout(CAPS_LED_GPIO,LED_OFF);
+			GPIO_Setout(SCROLL_LED_GPIO,LED_OFF);
+		}
+	}
+	else if (g_variable.pairing_g24_timeout == 0) //bt  pairing
+	{
+		if(g_variable.battery_low_led_flash_interval)
+		{
+			g_variable.battery_low_led_flash_interval--;
+			if(g_variable.sleepTimer <= LOW_BATTARY_FLASH_20S)
+			{
+				if(g_variable.battery_low_led_flash_interval & 0x02)
+				{
+					GPIO_Setout(NUM_LOCK_LED_GPIO,LED_ON);
+					GPIO_Setout(CAPS_LED_GPIO,LED_ON);
+					GPIO_Setout(SCROLL_LED_GPIO,LED_ON);
+				}
+				else
+				{
+					GPIO_Setout(NUM_LOCK_LED_GPIO,LED_OFF);
+					GPIO_Setout(CAPS_LED_GPIO,LED_OFF);
+					GPIO_Setout(SCROLL_LED_GPIO,LED_OFF);
+				}
+			}
+			if(!g_variable.battery_low_led_flash_interval)
+				g_variable.battery_low_led_flash_interval = LOW_BATTERY_FLASH_INTERVAL;
+		}
+	}
+	
+// The dongle must receive data within 200ms, otherwise it will be forced to lift
+	if(!long_press_flag)
+	{
+		if (repeat_send_24g == 1)
+		{
+			repeat_send_24g = 0;
+
+			 if (multikey[0] != 0)
+			{
+				IPC_TxHidData(multikey, 3);
+			}
+			else if (hidBuff[0] != 0)
+			{
+
+				IPC_TxHidData(hidBuff,9);
+			}
+		}
+	}
+
+	if (delayChgInvTimer != 0){
+		delayChgInvTimer--;
+	}
+}
+
+
+
+static tIPCControlBlock cb = 
+{
+	kb_cb_event,
+	NULL,
+	kb_cb_Timer500ms,
+	kb_cb_Timer100ms,
+	NULL,
+	kb_cb_Hid
+};
+
+static void kb_cb_init()
+{
+	IPC_Initialize(&cb);
+}
+/////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////
+void YC_System_Main(void)
+{
+	kb_cb_init();
+	while(1) {
+		IPC_DealSingleStep();
+		kb_need_keyscan();
+		YC_update_eeprom_data();
+		LED_handle();
+	//	m_lpm_mode = 0;		//debug
+		
+		switch (current_task) {
+		case FIX_ENTER_HIBERNATE:
+			KS_Unistall();
+			//GPIO_SetWakeupByCurrentState(BT_BUTTON_GPIO);
+			LED_all_shutdown();
+			IPC_WaitLpm();	/*<wait enter lpm,do nothing*/
+			while(1);
+			break;
+			
+		case FIX_ENTER_LPM:
+			if (g_variable.delay_enter_lpm_timer ||g_variable.lockLpm ||g_variable.powerOn_timer ||g_variable.one_key_press_wait_release_timer
+			||g_variable.backlight_level == 1 || g_variable.backlight_level == 2) 
+			{
+				IPC_AbandonLpm();
+				break;
+			}
+			else
+			{
+				KS_Unistall();
+				IPC_WaitLpm();	/*<wait enter lpm,do nothing*/
+				break;
+			}
+		}
+	}
+}
+
Index: KG9013/c51/type.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/type.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/type.h	(working copy)
@@ -0,0 +1,25 @@
+#ifndef _YC_DEFINE_H_
+#define _YC_DEFINE_H_
+
+#define PUBLIC 
+#define LOCAL static
+
+typedef unsigned char byte;
+typedef unsigned char idata ibyte;
+typedef volatile unsigned char xdata xbyte;
+typedef volatile unsigned short xdata xword;
+typedef unsigned char xdata * pxbyte;
+typedef unsigned char xdata * data pxdbyte;
+typedef unsigned   short   word;
+typedef unsigned   long    ulong;
+typedef signed     long    s32_t;
+typedef bit bool;
+
+#define true 1
+#define false 0
+#ifndef NULL
+#define NULL (0)
+#endif
+
+#endif
+
Index: KG9013/c51/util/DeleteNote.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/DeleteNote.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/DeleteNote.pl	(working copy)
@@ -0,0 +1,27 @@
+
+#print "输入注释的标志:";
+
+#chomp ($text = <STDIN>);
+
+#print $text;
+
+###########################
+#该脚本的功能为删除，#为注释的注释代码。
+
+$Sched_path=$ARGV[0];
+
+open(Sched,$Sched_path)||die("Cannot open files\n");
+@sched=<Sched>;
+close(Sched);
+
+foreach $sched(@sched)
+{
+	$sched_begin = $sched;
+	@Sched = split(/[#]+/, $sched);
+	chomp @Sched[0];
+	$sched = @Sched[0]."\n";
+}
+
+open(Sched,">$Sched_path")||die("Cannot open files\n");
+print Sched @sched;
+close(Sched);
Index: KG9013/c51/util/crc16.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

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

Property changes on: KG9013/c51/util/eeprom2fulleeprom.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/util/eeprom2fulleeprom.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/eeprom2fulleeprom.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/eeprom2fulleeprom.pl	(working copy)
@@ -0,0 +1,18 @@
+
+
+
+$source_file = $ARGV[0];
+$eeprom_size = $ARGV[1];
+
+open(EEP,"$source_file") or die("cannot open files");
+for ($i = 1 ;$i<=$eeprom_size*128-2;$i++)
+{
+
+    while (<EEP>) { 
+        $c = hex();
+        printf "%02x\n", $c;
+        $i++;
+    }
+
+	printf "FF\n";
+}
Index: KG9013/c51/util/hex2mif.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/util/hex2mif.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/util/hex2mif.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/hex2mif.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/hex2mif.pl	(working copy)
@@ -0,0 +1,103 @@
+#!/usr/bin/perl
+# 2005 - David Grant.
+# Take an ihex input from STDIN, and write a .mif file to STDOUT
+# This script could probably be implemented with something like:
+#    $#!@_%^$@%$@%$_!^$@#^@%$#@_%$@^&!%$_!%!%&$*(#^#@%^) 
+# But I perfer the somewhat readable version.
+
+# Flow from within the Nios2 SDK Shell:
+# nios2-elf-as file.asm -o file.o
+# nios2-elf-objcopy file.o --target ihex file.hex
+# cat file.hex | perl hex2mif.pl > file.mif
+
+my @rom = ();
+my @ram = ();
+
+sub conv {
+	my ($in) = @_;
+	$out = substr($in,6,2).substr($in,4,2).substr($in,2,2).substr($in,0,2);
+	return hex $out;
+}
+
+sub writeromfile {
+	my (@buf) = @_;
+	my($x);
+
+	for($x=0; $x<@buf; $x++) {
+		printf ("%02x\n", $buf[$x]);
+	}
+}
+
+sub writebinfile {
+	my (@buf) = @_;
+	my($x);
+
+	for($x=0; $x<@buf; $x++) {
+		for($y=0;$y<8;$y++) {
+			printf ("%d", $buf[$x] & 1<<(7-$y) ? 1 : 0);
+		}
+		printf "\n" if(($x & 3) == 3);
+	}
+}
+
+sub writemiffile {
+	my (@buf) = @_;
+	my($x);
+	print  ("WIDTH=8;\n");
+	print ("DEPTH=".@buf.";\n");
+	print ("CONTENT BEGIN\n");
+	for($x=0; $x<@buf; $x++) {
+		printf ("\t%04x : %02x;\n", $x, $buf[$x]);
+	}
+	print ("END;\n");
+}
+
+if($ARGV[0] eq "ram" || $ARGV[0] eq "rammif")
+{
+	$org = 0x8000;
+	$limit = 0xffff;
+} elsif($ARGV[0] eq "rom" || $ARGV[0] eq "bin" || $ARGV[0] eq "mif" || $ARGV[0] eq "rommif" ) {
+	$org = 0;
+	$limit = 0x7fff;
+} else {
+	$org = 0;
+	$limit = 0xffffff;
+}
+
+
+$org = 0;
+$limit = 0x7fff;
+
+while (<STDIN>) {
+	$l = $_;
+	next if(!/\w/);
+	$count = (hex substr($l, 1, 2));
+	$addr = (hex substr($l, 3, 4));
+	$type = (hex substr($l, 7, 2));
+	last if $type eq 1;
+	if($type == 4) {
+		$org = -(hex substr($l, 9, 4))*0x10000;
+	}
+	if($addr >= $org && $addr <= $limit) 
+	{
+		$addr*=4 if($ARGV[0] eq "bin");
+		$addr -= $org;
+		for($x=0; $x<$count; $x++) {
+			$rom[$addr + $x] = (hex substr($l, 9+2*$x, 2)) ; 
+		}
+	}
+}
+
+if($ARGV[0] eq "rom" || $ARGV[0] eq "ram" || $ARGV[0] eq "mem")
+{
+	writeromfile(@rom);
+}
+elsif($ARGV[0] eq "bin")
+{
+	writebinfile(@rom);
+}
+else
+{
+	writemiffile(@rom);
+}
+
Index: KG9013/c51/util/memalloc.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/memalloc.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/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: KG9013/c51/util/mergepatch.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/mergepatch.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/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");
+
+
Index: KG9013/c51/util/sortsched.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/sortsched.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/sortsched.pl	(working copy)
@@ -0,0 +1,163 @@
+
+
+$Sched_path=$ARGV[0];
+$Sched_test_path=$ARGV[1];
+
+open(Sched,"$Sched_path")||die("Cannot open files1\n");
+@sched=<Sched>;
+@sched[-1] = "";
+close(Sched);
+#open(Sched_test,">ResultsFile.rom")||die("Cannot open files2\n");
+#print Sched_test ("");
+#close (Sched_test);
+#open(Sched_test,">ResultsFile.rom")||die("Cannot open file3s\n");
+open(Sched_test1,">$Sched_test_path")||die("Cannot open files4\n");
+#@Sched_test=<Sched_test>;
+@Data[0]="";
+$Data_num=0;
+@Address_num;
+@OriginalRecord;
+foreach $sched (@sched)
+{
+	if($sched=~/[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]:/)
+	{
+		#$lap_flag = 0;
+		#$le_lap_flag = 0;
+		#if($sched=~/40a0:/)
+		#{
+		#	$lap_data = $sched;
+		#	$lap_flag = 1;
+		#}
+		#elsif($sched =~ /44a0:/)
+		#{
+		#	$le_lap_data = $sched;
+		#	$le_lap_flag = 1;
+		#}
+		#else
+		#{
+			$Data_num++;
+			@OriginalRecord[$Data_num]=$sched;
+			@snap_variable=split(/[#\n]/,$sched);
+			@Data[$Data_num]=@snap_variable[0]."\n";
+		#}
+	}
+	else
+	{
+		#if($lap_flag == 1)
+		#{
+		#	$lap_data .= $sched;
+		#}
+		#elsif($le_lap_flag == 1)
+		#{
+		#	$le_lap_data .= $sched;
+		#}
+		#else
+		#{
+			@OriginalRecord[$Data_num].=$sched;
+			@snap_variable=split(/[#\n]/,$sched);
+			@Data[$Data_num].=@snap_variable[0]."\n";
+		#}
+	}
+}
+@sort_Data = sort(@Data);
+@OriginalRecord=sort(@OriginalRecord);
+$PreviousADDR=0;
+$CurrentADDR=0;
+$PreviousData="";
+$CurrentData="";
+$I=0;
+$len_sort_Data=@sort_Data;
+$NextADDR="";
+for($i=0;$i<$len_sort_Data;$i++)
+{
+	$sort_Data=@sort_Data[$i];
+	@snap_variable=split(/:/,$sort_Data);
+	$WData=@snap_variable[1];
+	
+	if($WData =~ /[1-9a-fA-F]/ && hex(@snap_variable[0]) >= 16384){
+	$WADDR=@snap_variable[0];
+	@sort_Data[$i]=@OriginalRecord[$i];
+	@LLL[$i]=0;
+	if($NextADDR eq $WADDR){
+		@snap_variable=split(/[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]:/,@OriginalRecord[$i]);
+		@sort_Data[$i]=@snap_variable[1];
+		@LLL[$i]=1;
+	}
+	if(@LLL[$i]==0 && hex($PreviousADDR)+6>hex($WADDR)){
+		$LEN=hex($WADDR) - hex($NextADDR);
+		#print $LEN;
+		for($j=0;$j<$LEN;$j++)
+		{
+			@sort_Data[$i-1].="00 "
+		}
+		@sort_Data[$i-1].="\n";
+		@snap_variable=split(/[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]:/,@OriginalRecord[$i]);
+		@sort_Data[$i]=@snap_variable[1];
+		@LLL[$i]=1;
+	}
+	if($PreviousADDR eq $WADDR){
+		@sort_Data[$i-1]="";
+		if(@LLL[$i-1]==1){
+			@snap_variable=split(/[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]:/,@OriginalRecord[$i]);
+			@sort_Data[$i]=@snap_variable[1];
+			@LLL[$i]=1;
+		}
+	}
+	else{
+		@DataNum=split(/[0-9a-fA-F][0-9a-fA-F]/,$WData);
+		$DataNum=@DataNum;
+		$PreviousADDR=$WADDR;
+		#@sort_Data[$i].="      ".$DataNum."\n";
+		$NextADDR = &hex_add($WADDR,$DataNum);
+	}
+	}
+	else{
+		if(hex(@snap_variable[0]) >= 16384)
+		{
+			@sort_Data[$i]="";
+		}
+	}
+	#@sort_Data[$i].="      ".$NextADDR."\n";
+	#$sort_Data =~ s/\n//;
+	#$sort_Data.="\n";
+}
+#print Sched_test @OriginalRecord;
+#print Sched_test1 $lap_data;
+#print Sched_test1 $le_lap_data;
+print Sched_test1 @sort_Data;
+#print  $lap_data;
+#print  $le_lap_data;
+#for($i=0;$i<$len_sort_Data;$i++)
+#foreach $sort_Data (@sort_Data)
+#{	
+	#$sort_Data=@sort_Data[$i];
+	#print Sched_test $PreviousData;
+	#@snap_variable=split(/:/,$sort_Data);
+	#$CurrentADDR=@snap_variable[0];
+	#$CurrentData=$sort_Data;
+	#print ($CurrentADDR);
+	#if($CurrentADDR-$PreviousADDR==1)
+	#{
+	#	$CurrentVal=@snap_variable[1];
+	#	@snap_variable=split(/\n/,$PreviousData);
+		
+	#	$PreviousData.=" ".$CurrentVal;
+	#	$CurrentData=$PreviousData;
+	#	@sort_Data[$i]="";
+	#	@sort_Data[$i-1]=$CurrentData;
+		#print ($CurrentData."\n");
+	#}
+	#$PreviousADDR=$CurrentADDR;
+	#$PreviousData=$CurrentData;
+	#print Sched_test $CurrentData;
+#}
+#print Sched_test @sort_Data;
+#close(Sched_test);
+close(Sched_test1);
+
+sub hex_add{
+	my($ADDR,$Len)=@_;
+	$data=hex($ADDR);
+	$data=$data+$Len-1;
+	return(sprintf("%04x",$data));
+}
\ No newline at end of file
Index: KG9013/c51/util/transform_memmap2btreg.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/transform_memmap2btreg.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/transform_memmap2btreg.pl	(working copy)
@@ -0,0 +1,45 @@
+$memmap_path=$ARGV[0];
+$memblocks_path=$ARGV[1];
+$btreg_path=$ARGV[2];
+open(btreg,">$btreg_path");
+print btreg ("");#reset file
+close(btreg);
+open(memmap,$memmap_path);
+open(memblocks,$memblocks_path);
+open(btreg,">>$btreg_path");
+@text = <memmap>;
+print btreg ("#ifndef _BT_REG_H_\n");
+print btreg ("#define _BT_REG_H_\n");
+foreach $text (@text){
+	@word = split (/[\t ]+/,$text);
+	$reg_addr = @word[0];
+	if ($reg_addr =~ /0x[0-9abcdef]*/){#Is 0x0000~0xffff
+		$word1 = @word[1];
+		@reg_name = split(/\/[\/\*]/,$word1);#delete // or /*  */
+		$reg_name = @reg_name[0];
+		$reg_name =~ s/[\r\n]//;#delete Carriage return
+		
+		printf btreg ("#define\t%-40s\t%s\n",$reg_name,$reg_addr);
+		#print btreg ("#define \t $reg_name \t\t\t $reg_addr \n");
+		#print btreg ("@word[1]\n");
+	}
+}
+@text = <memblocks>;
+foreach $text (@text){
+	@word = split (/[\t ]+/,$text);
+	$reg_addr = @word[0];
+	if ($reg_addr =~ /0x[0-9abcdef]*/){
+		$word1 = @word[1];
+		@reg_name = split(/\/[\/\*]/,$word1);
+		$reg_name = @reg_name[0];
+		$reg_name =~ s/[\r\n]//;
+		printf btreg ("#define\t%-40s\t%s\n",$reg_name,$reg_addr);
+		#print btreg ("#define \t $reg_name \t\t\t\t $reg_addr \n");
+		#print btreg ("@word[1]\n");
+	}
+}
+print btreg ("#endif\n");
+close(memblocks);
+close(memmap);
+close(btreg);
+
Index: KG9013/c51/util/transform_name2addr.exe
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

Property changes on: KG9013/c51/util/transform_name2addr.exe
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: KG9013/c51/util/transform_name2addr.pl
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/transform_name2addr.pl	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/util/transform_name2addr.pl	(working copy)
@@ -0,0 +1,103 @@
+$Sched_path=$ARGV[0];
+$Sched_test_path=$ARGV[1];
+$Memmap_path=$ARGV[2];
+open(Sched,$Sched_path)||die("Cannot open files\n");
+@sched=<Sched>;
+close(Sched);
+open(Sched_test,">$Sched_test_path");
+print Sched_test ("");
+close(Sched_test);
+open(Sched_test,">$Sched_test_path");
+open(Memmap,$Memmap_path)||die("Cannot open files\n");
+@memmap=<Memmap>;
+close(Memmap);
+$type_add=0;
+$type_exchange=0;
+foreach $sched(@sched)
+{
+	$sched_begin = $sched;
+	@Sched = split(/[#]+/, $sched);
+	$sched = @Sched[0];
+	@Sched[0] = "";
+	if($sched =~ /mem[\w]+/)
+	{
+		@memmap_name = split(/[\W]+/, $sched);
+		foreach $memmap_name(@memmap_name)
+		{
+			if($memmap_name =~ /mem[\w]+/)
+			{
+				$Memmap_name=$memmap_name;
+				$type_add = 0;
+				$type_exchange = 0;
+				if($sched =~ /$Memmap_name[+]/)
+				{
+					$type_add = 1;#修改的类型第一种，加
+					@ADD_Num=split(/[^0-9\+xa-fA-F]/,$sched);
+					foreach $ADD_Num(@ADD_Num)
+					{
+						if($ADD_Num =~ /\+/)
+						{
+							if($ADD_Num =~ /0x/)
+							{
+								@add_num = split(/\+0x/,$ADD_Num);
+								$add_num1 =@add_num[1];
+								$add_num_begin = "0x".$add_num1;
+								$add_num = hex($add_num1);
+							}
+							else
+							{
+								@add_num = split(/\+/,$ADD_Num);
+								$add_num1 =@add_num[1];
+								$add_num_begin = $add_num1;
+								$add_num = int($add_num1);
+							}
+						}#$add_num是匹配出的需要加的数值，字符串形式
+					}
+				}
+				if($sched =~ /[:] *\t*$Memmap_name/)
+				{
+					$type_exchange = 1;#修改的类型第二种，高低位交换
+				}
+				foreach $memmap(@memmap)
+				{
+					if($memmap =~ /$Memmap_name/ && $memmap !~ /$Memmap_name[\w]+/)
+					{
+						@Memmap=split(/[ \t\n]/,$memmap);
+						$memmap_address=@Memmap[0];
+						$memmap_address =~ s/0x//;
+						if($type_add==1)
+						{
+							$memmap_address_D = hex($memmap_address);
+							$memmap_address_D = $memmap_address_D+$add_num;
+							$memmap_address_H = sprintf("%x", $memmap_address_D);
+							$memmap_address = $memmap_address_H;
+							$memmap_address_add_finish = $memmap_address;
+							$sched_begin =~ s/$Memmap_name\+$add_num_begin/$memmap_address/;
+						}
+						if($type_exchange==1)
+						{
+							$memmap_address_High = substr($memmap_address,0,2);
+							$memmap_address_Low = substr($memmap_address,2,2);
+							$memmap_address = $memmap_address_Low." ".$memmap_address_High;
+							if($type_add==0)
+							{
+								$sched_begin =~ s/$Memmap_name/$memmap_address/;
+							}
+							else
+							{
+								$sched_begin =~ s/$memmap_address_add_finish/$memmap_address/;
+							}
+						}
+					}
+				}
+				$sched_begin =~ s/$Memmap_name/$memmap_address/;
+			}
+		}
+		printf Sched_test ("%s",$sched_begin);
+	}
+	else
+	{
+		printf Sched_test ("%s",$sched_begin);
+	}	
+}
+close(Sched_test);
Index: KG9013/c51/utilities.h
===================================================================
--- /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/utilities.h	(nonexistent)
+++ /branch/mouse_project/LeXiang/Keyboard/KG9013/c51/utilities.h	(working copy)
@@ -0,0 +1,24 @@
+#ifndef _YC_UTILITIES_H_
+#define _YC_UTILITIES_H_
+#include "common.h"
+
+#define MAX(a,b) ((a)>(b)?(a):(b))
+
+/*==============Set a breakpoint function
+no input:
+no output
+====================*/
+void YC_Ice_break();
+
+void dmemcpy(byte *dest, byte* src, word len) ;
+
+void xmemcpy(pxbyte dest, byte* src, byte len);
+
+void Delay1ms(byte Time);
+
+void YC_DelayNOP(byte num);
+
+void xmemclear(byte *dest, word len);
+void xmemclear_ff(byte *dest, word len);
+byte compare_str(byte * str1,byte * str2,byte len);
+#endif
